diff --git "a/manual1903/0. \341\204\206\341\205\242\341\204\202\341\205\262\341\204\213\341\205\245\341\206\257 \341\204\200\341\205\256\341\204\214\341\205\251\341\204\203\341\205\251.png" "b/manual1903/0. \341\204\206\341\205\242\341\204\202\341\205\262\341\204\213\341\205\245\341\206\257 \341\204\200\341\205\256\341\204\214\341\205\251\341\204\203\341\205\251.png" new file mode 100644 index 0000000000000000000000000000000000000000..668e52e2e1c116396ed7e7b098cfc6d901218312 Binary files /dev/null and "b/manual1903/0. \341\204\206\341\205\242\341\204\202\341\205\262\341\204\213\341\205\245\341\206\257 \341\204\200\341\205\256\341\204\214\341\205\251\341\204\203\341\205\251.png" differ diff --git a/manual1903/1.1.IntroductionFramework.md b/manual1903/1.1.IntroductionFramework.md new file mode 100644 index 0000000000000000000000000000000000000000..149808af14db23a18d7919ddb329fcf94dad40a7 --- /dev/null +++ b/manual1903/1.1.IntroductionFramework.md @@ -0,0 +1,99 @@ +--- +html: + toc: true + offline: true + +export_on_save: + html: true +--- +# KSB 인공지능 프레임워크 개요 +--- + +KSB 인공지능 프레임워크는 다양한 학습모델과 지식/경험을 선택조합하여 서비스를 생성할 수 있는 DIY 자가학습형 지식융합 인공지능 서비스 프레임워크를 지향합니다. +분산병렬 인프라를 기반으로, 다양한 데이터 소스로부터 도메인의 응용서비스를 제공하기까지의 전주기적 솔루션을 지향합니다. 데이터의 수집-적재-처리-분석-서빙에 이르는 시스템을 구성할 수 있는 프레임워크 기능과 이를 실행하고 운영할 수 있는 플랫폼 기능을 제공합니다. + +KSB 인공지능 프레임워크는 프레임워크 개발자들이 기능을 확장할 수 있도록 컴퍼넌트와 API를 개발할 수 있는 인터페이스를 제공합니다. 또한 개발자들에 의해서 만들어진 컴퍼넌트나 API 들을 이용하여 응용을 개발하고 실행하도록 하는 사용자 인터페이스를 제공합니다. + + +KSB 인공지능 프레임워크의 **주요 이해관계자** 는 다음과 같습니다. + +- **응용 개발자** KSB 인공지능 프레임워크에 탑재된 모듈 및 소프트웨어 컴퍼넌트를 이용하여 응용을 개발하고 이를 실행하여 최종사용자에게 응용을 이용한 서비스를 제공하고자 하는 자 +- **개발자** 프레임워크 기능을 확장할 수 있도록 컴퍼넌트와 API를 개발하는 자로서 **소프트웨어 컴퍼넌트 개발자**, **파이썬 모듈 개발자**, **지식전문가** 가 포함됩니다. + - **소프트웨어 컴퍼넌트 개발자** 프레임워크의 개발자 인터페이스를 통하여 새로운 소프트웨어 컴퍼넌트를 개발하여 프레임워크에 탑재하는 자 + - **파이썬 모듈 개발자** 프레임워크에서 제시하는 인터페이스를 만족하는 파이썬 모듈을 개발하여 프레임워크에 탑재하는 자 + - **지식 전문가** 경험이나 지식을 구조화하여 저장하고 이를 활용할 수 있도록 인터페이스를 생성하여 탑재하는 자 + +- **운용자** 프레임워크를 통해 실행된 시스템(엔진)들을 중단없이 안정적으로 실행되도록 자원을 할당하고 운영하고자 하는 자 +- **관리자** 프레임워크 및 웹툴킷 사용자에 대한 관리 및 시스템 전반적인 관리를 담당하는 자 +- **최종사용자** 프레임워크를 통해 실행된 응용 시스템으로부터 제공되는 서비스를 최종적으로 제공받는 자 + + +--- +## 주요개념 +KSB 인공지능 프레임워크는 유기적인 관계에 있는 일련의 작업의 흐름을 **워크플로우** 라는 개념으로 정의합니다. 워크플로우는 독립적인 실행 시스템에 해당하는 단위인 **엔진** 을 하나 이상 선언함으로써 정의될 수 있습니다. 독립적인 논리 배포단위인 **엔진** 은 엔진의 틀에 해당하는 **엔진 컨테이너** 에 필요한 **컴퍼넌트** 를 선언함으로써 정의됩니다. 이러한 과정에 의해 정의된 워크플로우 스펙에 따라 프레임워크는 실행시스템을 동적으로 구성하고, 이를 도메인의 응용에 필요한 서비스를 제공하도록 클러스터 상에 실행합니다. + +### 워크플로우 +일련의 작업을 정의하고 실행하기 위한 단위입니다. 하나의 워크플로우는 하나 이상의 엔진컨테이너의 정의로 구성될 수 있으며, 워크플로우를 구성하는 각각의 엔진들은 배치실행과 동시실행 방식으로 구동될 수 있습니다. +- **배치실행 방식** 엔진의 순서정보에 의해 순차적으로 일련의 엔진이 실행되고 종료되는 방식 +- **동시실행 방식** 워크플로우에 정의된 엔진이 동시에 실행되는 방식 + +### 엔진컨테이너 +엔진컨테이너는 워크플로우 상에서 필요한 목적에 맞게 구성할 수 있는 하나의 실행 시스템인 엔진에 대한 틀로서, 엔진컨터이너 상에 컴퍼넌트들을 탑재하여 각 컴퍼넌트의 값을 설정하여 엔진에 대한 정의를 합니다. 엔진의 유형은 현재 총 12 종이 제공되고 있으며, 자세한 내용은 엔진 유형 목록을 참조하시기 바랍니다. + +### 컴퍼넌트 +엔진컨테이너를 구성하는 구성체로서, 5가지의 컴퍼넌트의 유형이 존재하며 각각 다음과 같은 역할을 수행합니다. + +- **Reader** 데이터 발생지로부터 데이터를 읽어오기 위한 컴퍼넌트 유형 +- **Writer** 데이터 저장소로 데이터를 출력하기 위한 컴퍼넌트의 유형 +- **Operator** 데이터를 처리하기 위한 컴퍼넌트의 유형 +- **Runner** 실행 런타임을 실행하기 위한 컴퍼넌트 유형 +- **Controller** 엔진컨테이너 내의 처리절차를 구성하고 실행을 주관하는 컴퍼넌트의 유형 + +현재 프레임워크 상에는 데이터처리/학습/서빙 관련 총 73종의 컴퍼넌트가 탑재되어 있으며, 자세한 내용은 컴퍼넌트 목록을 참조하시기 바랍니다. 개략적인 분류는 다음과 같습니다. +- **데이터 수집/처리 컴퍼넌트 (62종)**: 수집/적재 17종, 미니배치 32종, 실시간 처리 13종 +- **학습 SW (2종)**: 분산텐서플로우 스케툴러(CoDDL), AutoSparkML +- **모델서빙 관련 컴퍼넌트 (3종)**: 온디맨드 DL 모델 서빙, 스트림 DL 모델서빙, 스트림 ML모델서빙 +- **융합서빙 관련 컴퍼넌트 (6종)**: 컨트롤러 1종, 오퍼레이터 5종 + + +------ +## KSB 인공지능 프레임워크 SW v19.03 구성요소 + +### KSB 클라이언트 +**KSB 클라이언트** 는 워크플로우를 작성하고, 이를 **KSB 프레임워크** 에서 구동하도록 지시하기 위해 **KSB 프론트엔드** 로 요청하는 역할을 수행하는 도구입니다. **KSB 프레임워크** 의 클라이언트 모듈은 웹기반의 클라이언트 모듈인 **KSB 웹툴킷** 과 스칼라 기반의 클라이언트 모듈인 **KSB Client SDK** 두 가지 형태로 제공됩니다. + +#### KSB 웹툴킷 +**KSB 웹툴킷** 은 워크플로우를 정의할 수 있는 편집기, 워크플로우를 실행하고 제어하기 위한 모니터링, 데이터의 업로드 및 시각화 등을 웹 방식의 그래픽 환경에서 수행할 수 있도록 제공되는 클라이언트 모듈입니다. 자세한 내용은 KSB 웹툴킷 소개 를 참조하시기 바랍니다. + +#### KSB Client SDK +**KSB Client SDK** 는 스칼라(자바) 기반의 클라이언트 개발도구로서, 개발자가 **KSB 프레임워크** 상에서 실행하고자 하는 워크플로우를 개발할 수 있는 환경과 작성한 워크플로우를 실행할 수 있는 API 를 함께 제공합니다 (자세한 설명은 KSB 프레임워크 SW 개발환경 구성을 참조). 또한 **KSB 프레임워크** 상에 실행가능한 다양한 종류의 워크플로우 예제를 포함하고 있으므로, 이를 참조하여 다양한 워크플로우 시나리오 예제를 작성할 수 있습니다. + +### KSB 프론트엔드 +**KSB 프론트엔드** 는 **KSB 웹툴킷** 이나 **KSB Client SDK** 를 이용하여 작성된 워크플로우 스펙을 받아서 **KSB 오케스트레이터** 로 넘겨 줌으로써 워크플로우를 수행하도록 하는 매개역할을 수행합니다. 이 외에도 사용자 관리나 저장소 관리 등의 다양한 요청에 대해 대응하는 front-end 로서의 역할을 수행합니다. + +### KSB 메세지 인터페이스 +**KSB 메세지 인터페이스** 는 각 컴퍼넌트들에 대한 속성값을 정의하고 값을 전달하기 위한 **KSB 메세지 인터페이스** 객체에 해당합니다. + +### KSB 오케스트레이터 +**KSB 프론트엔드** 로부터 넘겨받은 워크플로우 사양에 따라 필요한 엔진을 구성하여 실행하도록 요청하고, 각각의 엔진에 대한 구동과 종료 및 제어를 수행하는 등의 역할을 수행합니다. + +### KSB 엔진 컴퍼넌트 +엔진컨테이너를 구성하는 구성체로서 5가지 유형이 있으며, 이들 5가지의 컴퍼넌트의 조합에 의해 엔진이 생성됩니다. 현재 **KSB 프레임워크** 에는 약 73종 이상의 컴퍼넌트가 구현되어 있습니다. ( 상기 **컴퍼넌트** 설명 참조 ) + +### KSB 연동플랫폼 +**KSB 프레임워크** 는 목적에 따른 다양한 외부 실행 플랫폼과 연동할 수 있는 인터페이스를 제공합니다. 각각의 **KSB 연동플랫폼** 은 **엔진컴퍼넌트** 중 **Runner** 에 의해 연동과 실행이 제어됩니다. 현재 **KSB 프레임워크** 에는 Spark, Tensorflow, Tensorflow Serving, Jena Knowledge Base 등을 연동하기 위한 모듈이 각각의 **Runner 컴퍼넌트** 로 구현되어 있습니다. + +### KSB 저장소 +**KSB 프레임워크** 는 수집한 데이터를 적재하기 위한 저장소인 **데이터 저장소**, 자원이나 응용에 필요한 자원이나 룰, 컨텍스트 정보 등을 저장할 수 있는 **자원/룰 저장소**, 프레임워크 자체적인 워크플로우를 보관하기 위한 **워크플로우 저장소**, 크게 3가지 유형의 저장소 기능을 제공합니다. + + +------ +## KSB 배포 + +**KSB 인공지능 프레임워크** 는 KSB 인공지능 프레임워크 웹페이지 를 통해 **툴박스 버전**과 **클러스터 버전**, 두 가지의 배포버전에 대한 설치방법을 제공하고 있습니다. + +### KSB 툴박스 +**KSB 툴박스** 는 **KSB 웹툴킷** 과 stand-alone 버전의 **KSB 런타임(실행환경)** 을 지원하는 툴박스 형태의 **KSB 프레임워크** 로서, 사용자의 로컬환경에서 KSB 프레임워크 실행환경을 쉽고 빠르게 구성하여 사용하기 위한 환경을 제공합니다. + +### KSB 클러스터 +**KSB 클러스터** 는 실제 클러스터 환경에서 운영하기 위한 배포 형태로서 **KSB 웹툴킷** 과 분산병렬 버전의 **KSB 런타임** 을 지원하는 **KSB 프레임워크** 로 구성되어 있습니다. 설치와 사용에 관한 자세한 사항은 KSB 인공지능 프레임워크 설치 매뉴얼을 참조하시기 바랍니다. diff --git a/manual1903/1.2.HowToInstallKsbToolBox-backup.md b/manual1903/1.2.HowToInstallKsbToolBox-backup.md new file mode 100644 index 0000000000000000000000000000000000000000..81bfd86fa6b162d24709aceb0ecfb7058aef0db9 --- /dev/null +++ b/manual1903/1.2.HowToInstallKsbToolBox-backup.md @@ -0,0 +1,352 @@ +--- +html: + toc: true + offline: true +export_on_save: + html: true +--- +# KSB 툴박스 설치하기 +--- +KSB 프레임워크를 쉽게 사용하기 위한 KSB 툴박스 1.0 버전 설치 방법을 설명합니다. + +## 설치 요구사항 + +- Ubuntu 16.04가 설치된 메모리 16GB 이상 데스트탑이나 노트북이 요구됩니다. +- KSB 툴박스는 Hadoop, hbase, kafka, zookeeper, spark 등 빅데이터 처리 프레임워크과 연동합니다. 따라서 다양한 워크플로우 예제를 실행하기 위해서는 16GB 이상의 메모리와 cpu 코어 8개이상의 PC 사양이 요구됩니다. + (메모리 8GB 및 cpu 코어 4개 사양 PC에서는 제한적으로 워크플로우 예제 실행이 가능합니다.) + +## 설치 순서 + +Host PC에 KSB 툴박스를 설치하기 위해서 아래와 같은 절차로 설치합니다. +- [Host PC] csle 사용자 계정(권한: administrator) 생성하기 +- [Host PC] hostname을 csle1으로 변경하기 +- [Host PC] java-8-oracle 설치하기 +- [Host PC] KSB 툴박스 관련 프로그램 설치하기 +- [Host PC] SSH port 변경 및 root 로그인 가능하도도록 SSHD config 수정하기 +- [Host PC] SSH config 수정하기 +- [Host PC] Docker 설치하기 +- [Host PC] /etc/hosts 수정하기 +- [Host PC] bashrc 설정 추가하기 +- [Host PC] 크롬 설치하기 +- [Host PC] KSB 툴박스 설치 및 docker image 다운받기 +- [Host PC] KSB 툴박스 docker 이미지내 SSH 키를 host pc에 복사하기 +- [Host PC] SSH 재시작하기 +- [Host PC] ksb-csle 폴더 권한 변경하기 + +## [Host PC] csle 사용자 계정(권한 : administrator) 생성하기 + +Host PC에 기존 Ubuntu 사용자와 설치환경을 분리하기 위해 아래의 명령으로 csle 계정을 추가 생성합니다. + +```sh +sudo adduser csle + Adding user 'csle' ... + Adding new group 'csle' (1001) ... + Adding new user 'csle' (1001) with group 'csle' ... + Creating home directory '/home/csle' ... + Copying files from '/etc/skel' ... + 새 UNIX 암호 입력: + 새 UNIX 암호 재입력: + passwd: password updated successfully + Changing the user information for csle + Enter the new value, or press ENTER for the default + Full Name []: + Room Number []: + Work Phone []: + Home Phone []: + Other []: + Is the information correct? [Y/n] Y +``` +/etc/sudoers를 열어 csle 계정에 administrator 권한을 추가합니다. +"경고: 읽기 전용 파일을 고치고 있습니다" 경고는 무시하고 저장하고 나옵니다. +```sh +sudo vi /etc/sudoers + # User privilege specification + root ALL=(ALL:ALL) ALL + # 맨 아래줄에 내용을 추가합니다. + #includedir /etc/sudoers.d + csle ALL=(ALL) NOPASSWD: ALL +``` + +## [Host PC] hostname을 csle1으로 변경하기 + +docker 컨테이너가 호스트 pc의 네트워크를 동일하게 사용하는 host 모드로 동작하기 위해 docker 컨테이너와 호스트 pc의 호스트네임을 동일하게 합니다. + +```sh +sudo vi /etc/hostname +csle1 +``` +PC를 재부팅하여 csle 계정으로 로그인합니다. + +## [Host PC] java-8-oracle 설치하기 + +Host PC에 Ubuntu 16.04를 처음 설치한 경우 java 8을 설치합니다. 아래의 내용을 터미널에 복사하여 설정가능합니다. + +```sh +sudo apt-get update && \ +sudo apt-get install -y python-software-properties && \ +sudo add-apt-repository -y ppa:webupd8team/java && \ +sudo apt-get update && \ +echo "oracle-java8-installer \ +shared/accepted-oracle-license-v1-1 select true" \ +| sudo debconf-set-selections && \ +sudo apt-get install -y oracle-java8-installer +``` + +터미널을 다시 시작한 후, 아래의 명령으로 java 설치 여부를 확인합니다. + +```sh +csle@csle1:~$ java -version +java version "1.8.0_181" +Java(TM) SE Runtime Environment (build 1.8.0_181-b13) +Java HotSpot(TM) 64-Bit Server VM (build 25.181-b13, mixed mode) +``` + +가끔 오라클에서 jdk 버전을 업데이트 하면 아래와 같은 에러가 발생하며 jdk가 설치되지 않는 경우가 있습니다. +```sh +접속 download.oracle.com (download.oracle.com)|23.35.220.157|:80... 접속됨. +HTTP request sent, awaiting response... 404 Not Found +2018-10-17 11:08:56 ERROR 404: Not Found. + +download failed +Oracle JDK 8 is NOT installed. +dpkg: error processing package oracle-java8-installer (--configure): + 설치한 post-installation 스크립트 하위 프로세스가 오류 1번을 리턴했습니다 +처리하는데 오류가 발생했습니다: + oracle-java8-installer +E: Sub-process /usr/bin/dpkg returned an error code (1) +``` + +해결방법은 오라클 사이트에 방문하여 최신 버전(2018.10.21. 기준 : 8u191)을 jdk-8u191-linux-x64.tar.gz 파일을 다운받습니다. +https://www.oracle.com/technetwork/java/javase/downloads/jdk8-downloads-2133151.html + +그리고, 아래의 스크립트에서 다운받은 파일의 위치와 버전 부분만을 수정한 후, 터미널에 복사하면 직접 설치가능합니다. +```sh +sudo mkdir /usr/lib/jvm +cd /usr/lib/jvm +sudo tar -xvzf /home/csle/jdk-8u191-linux-x64.tar.gz # 수정 필요 +sudo mv jdk1.8.0_191/ java-8-oracle/ # 수정 필요 + +sudo truncate -s0 /etc/environment +echo "PATH=/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:\ +/sbin:/bin:/usr/games:/usr/local/games:/usr/lib/jvm/java-8-oracle/bin:\ +/usr/lib/jvm/java-8-oracle/db/bin:/usr/lib/jvm/java-8-oracle/jre/bin" |\ +sudo tee -a /etc/environment >/dev/null && \ +echo "J2SDKDIR=/usr/lib/jvm/java-8-oracle" | \ +sudo tee -a /etc/environment >/dev/null && \ +echo "J2REDIR=/usr/lib/jvm/java-8-oracle/jre*" | \ +sudo tee -a /etc/environment >/dev/null && \ +echo "JAVA_HOME=/usr/lib/jvm/java-8-oracle" | \ +sudo tee -a /etc/environment >/dev/null && \ +echo "DERBY_HOME=/usr/lib/jvm/java-8-oracle/db" | \ +sudo tee -a /etc/environment >/dev/null + +sudo update-alternatives --install \ +"/usr/bin/java" "java" "/usr/lib/jvm/java-8-oracle/bin/java" 0 +sudo update-alternatives --install \ +"/usr/bin/javac" "javac" "/usr/lib/jvm/java-8-oracle/bin/javac" 0 +sudo update-alternatives --set java /usr/lib/jvm/java-8-oracle/bin/java +sudo update-alternatives --set javac /usr/lib/jvm/java-8-oracle/bin/javac +update-alternatives --list java +update-alternatives --list javac +``` + +## [Host PC] KSB 툴박스 관련 프로그램 설치하기 + +Host PC에 아래의 명령으로 KSB 툴박스 관련 프로그램을 설치합니다. 아래의 내용을 터미널에 복사하여 설정가능합니다. + +```sh +sudo apt-get update && \ +sudo apt-get install -y --no-install-recommends apt-utils curl bc jq && \ +sudo apt-get install -y ssh locales wget git vim rsync locales \ +filezilla python3-pip && \ +sudo apt-get install -y net-tools && \ +pip3 install kafka-python +``` + +## [Host PC] SSH port 변경 및 root 로그인 가능하도록 SSHD config 수정하기 +아래의 명령을 수행하여 포트 정보를 2243로 수정하고, root 로그인을 허용합니다. + +```sh +sudo sed -ri 's/^Port 22/Port 2243/g' /etc/ssh/sshd_config +sudo sed -ri \ +'s/^PermitRootLogin prohibit-password/PermitRootLogin yes/g' \ +/etc/ssh/sshd_config +``` + +## [Host PC] SSH config 수정하기 (known_hosts에 호스트 저장 질문을 하지 않도록 설정) +아래의 명령을 수행하여 ssh_config의 기존 내용을 모두 삭제하고 설정을 추가합니다. 아래의 내용을 터미널에 복사하여 설정가능합니다. + +```sh +sudo truncate -s0 /etc/ssh/ssh_config +echo "Host localhost" \ +| sudo tee -a /etc/ssh/ssh_config >/dev/null +echo "StrictHostKeyChecking no" \ +| sudo tee -a /etc/ssh/ssh_config >/dev/null +echo "Host 0.0.0.0" \ +| sudo tee -a /etc/ssh/ssh_config >/dev/null +echo "StrictHostKeyChecking no" \ +| sudo tee -a /etc/ssh/ssh_config >/dev/null +echo "Host 127.0.0.1" \ +| sudo tee -a /etc/ssh/ssh_config >/dev/null +echo "StrictHostKeyChecking no" \ +| sudo tee -a /etc/ssh/ssh_config >/dev/null +echo "Host csle*" \ +| sudo tee -a /etc/ssh/ssh_config >/dev/null +echo "StrictHostKeyChecking no" \ +| sudo tee -a /etc/ssh/ssh_config >/dev/null +echo "UserKnownHostsFile=/dev/null" \ +| sudo tee -a /etc/ssh/ssh_config >/dev/null +echo "Host master" \ +| sudo tee -a /etc/ssh/ssh_config >/dev/null +echo "StrictHostKeyChecking no" \ +| sudo tee -a /etc/ssh/ssh_config >/dev/null +echo "UserKnownHostsFile=/dev/null" \ +| sudo tee -a /etc/ssh/ssh_config >/dev/null +sudo service ssh restart +``` + + +## [Host PC] Docker 설치하기 + +Host PC에 docker-ce 프로그램을 설치하기 위해 아래 명령어를 순차적으로 입력합니다. 아래의 내용을 터미널에 복사하여 설정가능합니다. + +```sh +curl -fsSL https://download.docker.com/linux/ubuntu/gpg | \ +sudo apt-key add - && \ +sudo add-apt-repository \ +"deb [arch=amd64] +https://download.docker.com/linux/ubuntu $(lsb_release -cs) stable" && \ +sudo apt-get update && \ +apt-cache policy docker-ce && \ +sudo apt-get install -y docker-ce=18.06.1~ce~3-0~ubuntu && \ +sudo systemctl status docker +``` + +#### [참고사항] 기존 docker-engine 삭제 +```sh +sudo apt-get purge -y docker docker-engine docker.io +``` + +Docker 명령시 root 권한이 필요합니다. root가 아닌 사용자가 sudo 없이 사용하려면 해당 사용자를 docker 그룹에 추가합니다. + +```sh +sudo usermod -aG docker csle +# 사용자가 로그인 중이라면 다시 로그인 후 권한이 적용됩니다. +# 단, 현재 터미널에서만 적용됩니다. +sudo su csle +PC 재부팅 +``` +PC 재부팅을 통해서 sudo 명령없이 docker 명령을 사용할 수 있습니다. + +## [Host PC] /etc/hosts 수정하기 + +KSB 툴박스의 docker 컨테이너 주소에 쉽게 접근하기 위해 아래와 같이 /etc/hosts 내용을 수정합니다. (host pc의 IP는 192.168.0.5로 가정합니다. 자신의 PC IP에 맞게 설정합니다.) + +```sh +127.0.0.1 localhost +# 아래 주석처리. Hdfs 연동시 문제가 생김. +#127.0.1.1 csle1 + +# The following lines are desirable for IPv6 capable hosts +::1 ip6-localhost ip6-loopback +fe00::0 ip6-localnet +ff00::0 ip6-mcastprefix +ff02::1 ip6-allnodes +ff02::2 ip6-allrouters + +# 아래의 내용 추가 +192.168.0.5 csle1 master +``` + +## [Host PC] bashrc 설정 추가하기 +csle 계정의 bashrc 파일을 업데이트 합니다. 아래의 내용을 터미널에 복사하여 설정가능합니다. + +```sh +cat <> ~/.bashrc +export JAVA_HOME=/usr/lib/jvm/java-8-oracle +export PATH=\$PATH:\$JAVA_HOME/bin +export KSB_HOME=/home/csle/ksb-csle +export PYTHONPATH=/home/csle/ksb-csle/pyML/:\$PYTHONPATH +export PYTHONPATH=./:/home/csle/ksb-csle/ksblib:\$PYTHONPATH +EOT +source ~/.bashrc +``` + +## [Host PC] 크롬 설치하기 (optional) +KSB 툴박스의 웹툴킷을 안정적으로 사용하기 위해서 크롬 브라우저를 설치합니다. 아래의 내용을 터미널에 복사하여 설정가능합니다. + +```sh +cd && \ +wget \ +https://dl.google.com/linux/direct/google-chrome-stable_current_amd64.deb +sudo apt-get update && \ +sudo apt-get install -y libxss1 libappindicator1 libindicator7 && \ +sudo dpkg -i google-chrome-stable_current_amd64.deb +``` + +## [Host PC] KSB 툴박스 설치 및 docker image 다운받기 + + 다운로드 페이지로부터 KSB 툴박스(docker image 별도) 파일을 다운로드합니다. + - ksb_toolbox_v1.tar.gz : KSB 툴박스 파일 +
+ +csle 사용자 계정의 home에 ksb_toolbox_v1.tar.gz 압축을 해제합니다. 결과적으로 /home/csle/ksb-csle 폴더가 생성됩니다. + +```sh +tar zxvf ksb_toolbox_v1.tar.gz -C /home/csle/ +``` + +/home/csle/ksb-csle 폴더는 다음의 하위 폴더들로 구성됩니다. + - /bin : KSB 프레임워크 shell 스크립트 파일 저장 폴더 + - /components : tensorflow train 예제 프로그램 저장 폴더 + - /conf : KSB 프레임워크 환경설정 파일 저장 폴더 + - /docker : KSB 툴박스 docker 컨테이너 실행 스크립트 저장 폴더 + - /examples : CLI(Command Line Interface)를 통해 워크플로우 생성 및 submit 할 수 있는 프로젝트 폴더 + - /jars : KSB 프레임워크 1.0 버전의 jar 파일 저장 폴더 + - /ksblib : python 전처리 라이브러리 폴더 + - /kubernetes : 쿠버네티스 환경설정 폴더 + - /logs : log 저장 폴더 + - /pyML : autoML python 프로젝트 폴더 + - /tools: 예제 테스트를 위한 프로그램(jmeter, hadoop, kafka, maven, .ssh, webToolkit_db) +
+ +Host PC에서 다음 명령으로 KSB 툴박스 docker image를 docker hub로부터 pull 합니다. + +```sh +docker pull ksbframework/ksb_toolbox:1.0.0 +``` + +Host PC에서 다음 명령으로 KSB 툴박스 docker image를 확인합니다. +(참고사항: 현재 docker image 버전은 1.0.0 버전이며, 추후 TAG 정보 및 SIZE 정보는 배포 버전에 따라 다를 수 있습니다) + +```sh +csle@csle1:~/ksb-csle$ docker images +REPOSITORY TAG IMAGE ID CREATED SIZE +ksbframework/ksb_toolbox 1.0.0 01f760746a56 7 hours ago 15.4GB +``` + +## [Host PC] KSB 툴박스 docker 이미지내 SSH 키를 host pc에 복사하기 +KSB 툴박스 docker 컨테이너의 인증키를 공유하기 위해 ksb-csle/tools 폴더에 있는 .ssh 폴더를 csle 홈에 카피합니다. + +```sh +cp -r ~/ksb-csle/tools/.ssh/ /home/csle/ +``` +authorized_keys를 다른 계정이 읽고 쓸 수 없게 600 mode(소유자만 rw 가능)로 변경합니다. +``` +chmod 700 ~/.ssh +chmod 600 ~/.ssh/authorized_keys +``` + +## [Host PC] SSH 재시작하기 +```sh +sudo service ssh restart +``` + +## [Host PC] ksb-csle 폴더 권한 변경하기 +KSB 툴박스 docker 컨테이너에서 Host PC의 ksb-csle 폴더를 엑세스 할 수 있도록 폴더 권한을 변경합니다. +```sh +sudo chmod 777 -R /home/csle/ksb-csle/ +``` + +이상으로 KSB 툴박스를 구동하기 위해 필요한 프로그램 설치 및 설정 변경을 완료하였습니다. +KSB 인공지능 프레임워크 실행하기 페이지로 이동하여 KSB 프레임워크를 구동하도록 하겠습니다. diff --git a/manual1903/1.2.HowToInstallKsbToolBox-nvidia-1903.md b/manual1903/1.2.HowToInstallKsbToolBox-nvidia-1903.md new file mode 100644 index 0000000000000000000000000000000000000000..eed294c2fb551aa06ec6f25e9ea0e4ea95f6c55f --- /dev/null +++ b/manual1903/1.2.HowToInstallKsbToolBox-nvidia-1903.md @@ -0,0 +1,465 @@ +--- +html: + toc: true + offline: true +export_on_save: + html: true +--- +# KSB 툴박스 설치하기(nvidia-docker버전) +--- +KSB 프레임워크를 쉽게 사용하기 위한 KSB 툴박스 v19.03 nvidia-docker 버전 설치 방법을 설명합니다. + +## 설치 요구사항 + +- Ubuntu 16.04가 설치된 메모리 16GB 이상 데스트탑이나 노트북이 요구됩니다. +- KSB 툴박스는 Hadoop, hbase, kafka, zookeeper, spark 등 빅데이터 처리 프레임워크과 연동합니다. 따라서 다양한 워크플로우 예제를 실행하기 위해서는 16GB 이상의 메모리와 cpu 코어 8개이상의 PC 사양이 요구됩니다. + (메모리 8GB 및 cpu 코어 4개 사양 PC에서는 제한적으로 워크플로우 예제 실행이 가능합니다.) + +## 사용시 유의사항 +- 제한된 GPU 카드에 대해서만 테스트 되어 있습니다.(Titanx, 1080Ti). 따라서 저사양 GPU 카드나 최신 GPU 카드를 사용하는 경우 동작하지 않을 수 있습니다. +- 현재 KSB 툴박스 nvidia-docker 버전은 CUDA 9.0, CUDNN 7.3.1 이 포함되어 있습니다. + ```sh + cat /usr/local/cuda/version.txt + CUDA Version 9.0.176 + cat /usr/include/cudnn.h | grep CUDNN_MAJOR -A 2 + #define CUDNN_MAJOR 7 + #define CUDNN_MINOR 3 + #define CUDNN_PATCHLEVEL 1 + ``` + +## 설치 순서 + +Host PC에 KSB 툴박스를 설치하기 위해서 아래와 같은 절차로 설치합니다. +- [Host PC] csle 사용자 계정(권한: administrator) 생성하기 +- [Host PC] hostname을 csle1으로 변경하기 +- [Host PC] NVIDIA 그래픽카드 드라이버 설치하기 +- [Host PC] openjdk-8 설치하기 +- [Host PC] KSB 툴박스 관련 프로그램 설치하기 +- [Host PC] SSH port 변경 및 root 로그인 가능하도록 SSHD config 수정하기 +- [Host PC] SSH config 수정하기 +- [Host PC] Docker 설치하기 +- [Host PC] nvidia-docker 2.0 설치하기 +- [Host PC] /etc/hosts 수정하기 +- [Host PC] bashrc 설정 추가하기 +- [Host PC] 크롬 설치하기 +- [Host PC] KSB 툴박스 설치 및 docker image 다운받기 +- [Host PC] KSB 툴박스 docker 이미지내 SSH 키를 host pc에 복사하기 +- [Host PC] SSH 재시작하기 +- [Host PC] ksb-csle 폴더 권한 변경하기 +- [Host PC] startDockerCsle.sh, stopDockerCsle.sh 추가하기 + +## [Host PC] csle 사용자 계정(권한 : administrator) 생성하기 + +Host PC에 기존 Ubuntu 사용자와 설치환경을 분리하기 위해 아래의 명령으로 csle 계정을 추가 생성합니다. + +```sh +sudo adduser csle + Adding user 'csle' ... + Adding new group 'csle' (1001) ... + Adding new user 'csle' (1001) with group 'csle' ... + Creating home directory '/home/csle' ... + Copying files from '/etc/skel' ... + 새 UNIX 암호 입력: + 새 UNIX 암호 재입력: + passwd: password updated successfully + Changing the user information for csle + Enter the new value, or press ENTER for the default + Full Name []: + Room Number []: + Work Phone []: + Home Phone []: + Other []: + Is the information correct? [Y/n] Y +``` +/etc/sudoers를 열어 csle 계정에 administrator 권한을 추가합니다. +"경고: 읽기 전용 파일을 고치고 있습니다" 경고는 무시하고 저장하고 나옵니다. +```sh +sudo vi /etc/sudoers + # User privilege specification + root ALL=(ALL:ALL) ALL + # 맨 아래줄에 내용을 추가합니다. + #includedir /etc/sudoers.d + csle ALL=(ALL) NOPASSWD: ALL +``` + +## [Host PC] hostname을 csle1으로 변경하기 + +docker 컨테이너가 호스트 pc의 네트워크를 동일하게 사용하는 host 모드로 동작하기 위해 docker 컨테이너와 호스트 pc의 호스트네임을 동일하게 합니다. + +```sh +sudo vi /etc/hostname +csle1 +``` +PC를 재부팅하여 csle 계정으로 로그인합니다. + + +## [Host PC] NVIDIA 그래픽카드 드라이버 설치하기 + +```sh +sudo add-apt-repository ppa:graphics-drivers +sudo apt-get update + +왼쪽 우분투 "시스템설정" 아이콘 클릭 --> "자세히 보기" 아이콘 클릭 --> +하단의 "업데이트 설치" 버튼 클릭 + +왼쪽 우분투 "시스템설정" 아이콘 클릭 --> "소프트웨어&업데이터" 아이콘 클릭 --> +상단 메뉴에서 "추가 드라이버" 메뉴 선택 --> +NVIDIA 드라이버 사용 선택(예:NVIDIA binary driver-version 396.54(독점,확인함)) --> +"바뀐 내용 적용" 후 컴퓨터 재부팅 +``` +```sh +csle@csle1:~$ nvidia-smi +Sat Oct 24 13:17:41 2018 ++----------------------------------------------------------------------------+ +| NVIDIA-SMI 396.54 Driver Version: 396.54 | +|------------------------------+----------------------+----------------------+ +| GPU Name Persistence-M| Bus-Id Disp.A | Volatile Uncorr. ECC | +| Fan Temp Perf Pwr:Usage/Cap| Memory-Usage | GPU-Util Compute M. | +|==============================+======================+======================| +| 0 TITAN X (Pascal) Off | 00000000:01:00.0 On | N/A | +| 25% 40C P8 17W / 250W | 1186MiB / 12190MiB | 0% Default | ++------------------------------+----------------------+----------------------+ + ++----------------------------------------------------------------------------+ +| Processes: GPU Memory | +| GPU PID Type Process name Usage | +|============================================================================| +| 0 1021 G /usr/lib/jvm/java-8-oracle/bin/java 632MiB | ++----------------------------------------------------------------------------+ +``` +PC를 재부팅합니다. + +## [Host PC] openjdk-8 설치하기 +Host PC에 Ubuntu 16.04를 처음 설치한 경우 java openjdk 8을 설치합니다. 아래의 내용을 터미널에 복사하여 설정 가능합니다. +```sh +sudo apt-get update && \ +sudo apt-get -y install openjdk-8-jre && \ +sudo apt-get -y install openjdk-8-jdk +``` + +터미널을 다시 시작한 후, 아래의 명령으로 java 설치 여부를 확인합니다. + +```sh +csle@csle1:~$ java -version +java version "1.8.0_212" +Java(TM) SE Runtime Environment (build 1.8.0_212-b13) +Java HotSpot(TM) 64-Bit Server VM (build 25.181-b13, mixed mode) +``` + +## [Host PC] KSB 툴박스 관련 프로그램 설치하기 + +Host PC에 아래의 명령으로 KSB 툴박스 관련 프로그램을 설치합니다. 아래의 내용을 터미널에 복사하여 설정가능합니다. + +```sh +sudo apt-get update && \ +sudo apt-get install -y --no-install-recommends apt-utils curl bc jq && \ +sudo apt-get install -y ssh locales wget git vim rsync locales \ +filezilla python3-pip && \ +sudo apt-get install -y net-tools && \ +pip3 install kafka-python +``` + +## [Host PC] SSH port 변경 및 root 로그인 가능하도록 SSHD config 수정하기 +아래의 명령을 수행하여 포트 정보를 2243로 수정하고, root 로그인을 허용합니다. + +```sh +sudo sed -ri 's/^Port 22/Port 2243/g' /etc/ssh/sshd_config +sudo sed -ri \ +'s/^PermitRootLogin prohibit-password/PermitRootLogin yes/g' \ +/etc/ssh/sshd_config +``` + +## [Host PC] SSH config 수정하기 (known_hosts에 호스트 저장 질문을 하지 않도록 설정) +아래의 명령을 수행하여 ssh_config의 기존 내용을 모두 삭제하고 설정을 추가합니다. 아래의 내용을 터미널에 복사하여 설정가능합니다. + +```sh +sudo truncate -s0 /etc/ssh/ssh_config +echo "Host localhost" \ +| sudo tee -a /etc/ssh/ssh_config >/dev/null +echo "StrictHostKeyChecking no" \ +| sudo tee -a /etc/ssh/ssh_config >/dev/null +echo "Host 0.0.0.0" \ +| sudo tee -a /etc/ssh/ssh_config >/dev/null +echo "StrictHostKeyChecking no" \ +| sudo tee -a /etc/ssh/ssh_config >/dev/null +echo "Host 127.0.0.1" \ +| sudo tee -a /etc/ssh/ssh_config >/dev/null +echo "StrictHostKeyChecking no" \ +| sudo tee -a /etc/ssh/ssh_config >/dev/null +echo "Host csle*" \ +| sudo tee -a /etc/ssh/ssh_config >/dev/null +echo "StrictHostKeyChecking no" \ +| sudo tee -a /etc/ssh/ssh_config >/dev/null +echo "UserKnownHostsFile=/dev/null" \ +| sudo tee -a /etc/ssh/ssh_config >/dev/null +echo "Host master" \ +| sudo tee -a /etc/ssh/ssh_config >/dev/null +echo "StrictHostKeyChecking no" \ +| sudo tee -a /etc/ssh/ssh_config >/dev/null +echo "UserKnownHostsFile=/dev/null" \ +| sudo tee -a /etc/ssh/ssh_config >/dev/null +sudo service ssh restart +``` + +## [Host PC] Docker 설치하기 + +Host PC에 docker-ce 프로그램을 설치하기 위해 아래 명령어를 순차적으로 입력합니다. 아래의 내용을 터미널에 복사하여 설정가능합니다. +현재 2018년 10월 최신 버전은 18.06.1\~ce\~3-0\~ubuntu 입니다. + +```sh +curl -fsSL https://download.docker.com/linux/ubuntu/gpg | \ +sudo apt-key add - && \ +sudo add-apt-repository \ +"deb [arch=amd64] +https://download.docker.com/linux/ubuntu $(lsb_release -cs) stable" && \ +sudo apt-get update && \ +apt-cache policy docker-ce && \ +sudo apt-get install -y docker-ce=18.06.1~ce~3-0~ubuntu && \ +sudo systemctl status docker +``` + +#### [참고사항] 기존 docker-engine 삭제 방법 +```sh +sudo apt-get purge -y docker docker-engine docker.io +``` + +Docker 명령시 root 권한이 필요합니다. root가 아닌 사용자가 sudo 없이 사용하려면 해당 사용자를 docker 그룹에 추가합니다. + +```sh +sudo usermod -aG docker csle +# 사용자가 로그인 중이라면 다시 로그인 후 권한이 적용됩니다. +# 단, 현재 터미널에서만 적용됩니다. +sudo su csle +PC 재부팅 +``` + +PC 재부팅을 통해서 sudo 명령없이 docker 명령을 사용할 수 있습니다. + +## [Host PC] nvidia-docker 2.0 설치하기 +```sh +curl -s -L https://nvidia.github.io/nvidia-docker/gpgkey | \ +sudo apt-key add - && \ +curl -s -L \ +https://nvidia.github.io/nvidia-docker/\ +ubuntu16.04/amd64/nvidia-docker.list | \ +sudo tee /etc/apt/sources.list.d/nvidia-docker.list && \ +sudo apt-get update && \ +sudo apt-get install -y nvidia-docker2 && \ +sudo pkill -SIGHUP dockerd +``` + +아래의 질의에 대해서 Y를 누르면 설치가 완료됩니다. + +```sh +Configuration file '/etc/docker/daemon.json' + ==> File on system created by you or by a script. + ==> File also in package provided by package maintainer. + 어떻게 하시겠습니까? 다음 중에 하나를 선택할 수 있습니다: + Y 또는 I : 패키지 관리자의 버전을 설치합니다 + N 또는 O : 현재 설치된 버전을 유지합니다 + D : 버전 간의 차이점을 표시합니다 + Z : 프로세스를 백그라운드로 하고 상황을 알아봅니다 +기본값으로 현재 버전을 그대로 유지합니다. +*** daemon.json (Y/I/N/O/D/Z) [기본값=N] ? Y +``` + +```sh +csle@csle1:~$ nvidia-docker version +NVIDIA Docker: 2.0.3 +Client: + Version: 18.06.1-ce + API version: 1.38 + Go version: go1.10.3 + Git commit: e68fc7a + Built: Tue Aug 21 17:24:56 2018 + OS/Arch: linux/amd64 + Experimental: false +``` +```sh +Server: + Engine: + Version: 18.06.1-ce + API version: 1.38 (minimum version 1.12) + Go version: go1.10.3 + Git commit: e68fc7a + Built: Tue Aug 21 17:23:21 2018 + OS/Arch: linux/amd64 + Experimental: false + +``` +### [참고사항] 기존 nvidia-docker 1.0 버전을 삭제 방법 +```sh +docker volume ls -q -f driver=nvidia-docker | \ +xargs -r -I{} -n1 docker ps -q -a -f volume={} | xargs -r docker rm -f +sudo apt-get purge nvidia-docker +``` + +## [Host PC] /etc/hosts 수정하기 + +KSB 툴박스의 docker 컨테이너 주소에 쉽게 접근하기 위해 아래와 같이 /etc/hosts 내용을 수정합니다. (host pc의 IP는 192.168.0.5로 가정합니다. 자신의 PC IP에 맞게 설정합니다.) + +```sh +127.0.0.1 localhost +# 아래 주석처리. Hdfs 연동시 문제가 생김. +#127.0.1.1 csle1 + +# The following lines are desirable for IPv6 capable hosts +::1 ip6-localhost ip6-loopback +fe00::0 ip6-localnet +ff00::0 ip6-mcastprefix +ff02::1 ip6-allnodes +ff02::2 ip6-allrouters + +# 아래의 내용 추가 +192.168.0.5 csle1 master +``` + +## [Host PC] bashrc 설정 추가하기 +csle 계정의 bashrc 파일을 업데이트 합니다. 아래의 내용을 터미널에 복사하여 설정가능합니다. + +```sh +cat <> ~/.bashrc +export JAVA_HOME=/usr/lib/jvm/java-8-openjdk-amd64 +export PATH=\$PATH:\$JAVA_HOME/bin +export KSB_HOME=/home/csle/ksb-csle +export PYTHONPATH=/home/csle/ksb-csle/pyML/:\$PYTHONPATH +export PYTHONPATH=./:/home/csle/ksb-csle/ksblib:\$PYTHONPATH +EOT +source ~/.bashrc +``` + +## [Host PC] 크롬 설치하기 (optional) +KSB 툴박스의 웹툴킷을 안정적으로 사용하기 위해서 크롬 브라우저를 설치합니다. 아래의 내용을 터미널에 복사하여 설정가능합니다. + +```sh +cd && \ +wget \ +https://dl.google.com/linux/direct/google-chrome-stable_current_amd64.deb +sudo apt-get update && \ +sudo apt-get install -y libxss1 libappindicator1 libindicator7 && \ +sudo dpkg -i google-chrome-stable_current_amd64.deb +``` + +## [Host PC] KSB 프레임워크 설치 및 docker image 다운받기 + + 다운로드 페이지로부터 KSB 툴박스(docker image 별도) 파일을 다운로드합니다. + - ksb_toolbox_v1903.tar.gz : KSB 툴박스 파일 +
+ +csle 사용자 계정의 home에 ksb_toolbox_v1903.tar.gz 압축을 해제합니다. 결과적으로 /home/csle/ksb-csle 폴더가 생성됩니다. + +```sh +tar zxvf ksb_toolbox_v1903.tar.gz -C /home/csle/ +``` + +/home/csle/ksb-csle 폴더는 다음의 하위 폴더들로 구성됩니다. + - /bin : KSB 프레임워크 shell 스크립트 파일 저장 폴더 + - /components : tensorflow train 예제 프로그램 저장 폴더 + - /conf : KSB 프레임워크 환경설정 파일 저장 폴더 + - /docker : KSB 툴박스 docker 컨테이너 실행 스크립트 저장 폴더 + - /examples : CLI(Command Line Interface)를 통해 워크플로우 생성 및 submit 할 수 있는 프로젝트 폴더 + - /jars : KSB 프레임워크 19.03 버전의 jar 파일 저장 폴더 + - /ksblib : python 전처리 라이브러리 폴더 + - /kubernetes : 쿠버네티스 환경설정 폴더 + - /logs : log 저장 폴더 + - /pyML : autoML python 프로젝트 폴더 + - /tools: 예제 테스트를 위한 프로그램(jmeter, hadoop, kafka, maven, .ssh, webToolkit_db) +
+ +Host PC에서 다음 명령으로 KSB 툴박스 docker image를 docker hub로부터 pull 합니다. + +```sh +docker pull ksbframework/ksb_toolbox_nvidia:19.03.5-cuda9.0-cudnn7 +``` + +Host PC에서 다음 명령으로 KSB 툴박스 docker image를 확인합니다. +(참고사항: 2019.05.24일 docker image 버전은 19.03.5-cuda9.0-cudnn7 버전이며, 추후 TAG 정보 및 SIZE 정보는 배포 버전에 따라 다를 수 있습니다) + +```sh +csle@csle1:~/ksb-csle$ docker images +REPOSITORY TAG IMAGE ID CREATED SIZE +ksbframework/ksb_toolbox_nvidia 19.03.5-cuda9.0-cudnn7 4b0ba4b5b184 5 hours ago 9.48GB +``` + +## [Host PC] KSB 툴박스 docker 이미지내 SSH 키를 host pc에 복사하기 +KSB 툴박스 docker 컨테이너의 인증키를 공유하기 위해 ksb-csle/tools 폴더에 있는 .ssh 폴더를 csle 홈에 카피합니다. + +```sh +cp -r ~/ksb-csle/tools/.ssh/ /home/csle/ +``` +authorized_keys를 다른 계정이 읽고 쓸 수 없게 600 mode(소유자만 rw 가능)로 변경합니다. +``` +chmod 700 ~/.ssh +chmod 600 ~/.ssh/authorized_keys +``` + +## [Host PC] SSH 재시작하기 +```sh +sudo service ssh restart +``` +## [Host PC] ksb.conf 수정하기 +KSB 툴박스 nvidia 이미지 버전은 tensorflow 1.6 gpu 버전과 cpu 버전이 설치되어있습니다. 따라서, 아래와 같이 ksb.conf 파일을 수정합니다. + +```sh +tensorflow { + enable = "true" +# python_path = "/anaconda3/envs/tensorflow/bin/python" + python_path = "/anaconda3/envs/tensorflow16_gpu/bin/python" + python_code_project_path = "/analysis" +} + +``` +## [Host PC] ksb-csle 폴더 권한 변경하기 +KSB 툴박스 docker 컨테이너에서 Host PC의 ksb-csle 폴더를 엑세스 할 수 있도록 폴더 권한을 변경합니다. +```sh +sudo chmod 777 -R /home/csle/ksb-csle/ +``` + +## [Host PC] startDockerCsle.sh stopDockerCsle.sh 추가하기 +아래의 스크립트를 복사하여 터미널에서 실행하면 startDockerCsle.sh 파일이 생성됩니다. + +```sh +mkdir -p /home/csle/ksb-csle/docker/19.03-nvidia +cat <> /home/csle/ksb-csle/docker/19.03-nvidia/startDockerCsle.sh +#!/bin/bash +sudo service postgresql stop + +docker network rm csle_cluster csle_standalone + +docker rm -f csle1 +echo "start csle1 slave container..." +docker run --rm -itd \\ + --runtime=nvidia \\ + --net=host \\ + -v /home/csle/ksb-csle:/home/csle/ksb-csle \\ + -v /etc/localtime:/etc/localtime:ro \\ + -v /etc/timezone:/etc/timezone \\ + --user=csle \\ + --name=csle1 \\ + --hostname=csle1\\ + ksbframework/ksb_toolbox_nvidia:19.03.5-cuda9.0-cudnn7 bash + +docker exec -it csle1 bash +EOT +chmod +x /home/csle/ksb-csle/docker/19.03-nvidia/startDockerCsle.sh +cat <> /home/csle/ksb-csle/docker/19.03-nvidia/stopDockerCsle.sh +#!/bin/bash +docker rm -f csle1 +EOT +chmod +x /home/csle/ksb-csle/docker/19.03-nvidia/stopDockerCsle.sh +``` + +KSB 인공지능 프레임워크 실행하기 위해 KSB 인공지능 프레임워크 실행하기 페이지로 이동하여 KSB 프레임워크를 구동합니다. +단, nvidia-docker 버전 KSB 프레임워크 구동시 기존 cpu버전 툴박스와의 차이점은 위에서 생성한 /home/csle/ksb-csle/docker/19.03-nvidia/startDockerCsle.sh을 실행하여 KSB 툴박스 docker 컨테이너를 실행하고 접속하는 것일 뿐 모두 동일합니다. + +```sh +csle@csle1:~/ksb-csle/docker/19.03-nvidia$ ./startDockerCsle.sh +Error response from daemon: network csle_cluster not found +Error response from daemon: network csle_standalone not found +csle1 +start csle1 slave container... +4918997cd2dac93fe0b52f3df3a45a46db6df1f3f052854061696695451d2f22 +csle@csle1:/$ +``` +이상으로 nvidia-docker 버전 KSB 툴박스를 구동하기 위해 준비가 완료되었습니다. +KSB 인공지능 프레임워크 실행하기 페이지로 이동하여 KSB 프레임워크를 구동하도록 하겠습니다. diff --git a/manual1903/1.2.HowToInstallKsbToolBox-nvidia.md b/manual1903/1.2.HowToInstallKsbToolBox-nvidia.md new file mode 100644 index 0000000000000000000000000000000000000000..1048f14a1eab536de8e6b0835589095b6cdab878 --- /dev/null +++ b/manual1903/1.2.HowToInstallKsbToolBox-nvidia.md @@ -0,0 +1,468 @@ +--- +html: + toc: true + offline: true +export_on_save: + html: true +--- +# KSB 툴박스 설치하기(nvidia-docker버전) +--- +KSB 프레임워크를 쉽게 사용하기 위한 KSB 툴박스 1.0 nvidia-docker 버전 설치 방법을 설명합니다. + +## 설치 요구사항 + +- Ubuntu 16.04가 설치된 메모리 16GB 이상 데스트탑이나 노트북이 요구됩니다. +- KSB 툴박스는 Hadoop, hbase, kafka, zookeeper, spark 등 빅데이터 처리 프레임워크과 연동합니다. 따라서 다양한 워크플로우 예제를 실행하기 위해서는 16GB 이상의 메모리와 cpu 코어 8개이상의 PC 사양이 요구됩니다. + (메모리 8GB 및 cpu 코어 4개 사양 PC에서는 제한적으로 워크플로우 예제 실행이 가능합니다.) + +## 사용시 유의사항 +- 제한된 GPU 카드에 대해서만 테스트 되어 있습니다.(Titanx, 1080Ti). 따라서 저사양 GPU 카드나 최신 GPU 카드를 사용하는 경우 동작하지 않을 수 있습니다. +- 현재 KSB 툴박스 nvidia-docker 버전은 CUDA 9.0, CUDNN 7.3.1 이 포함되어 있습니다. + ```sh + cat /usr/local/cuda/version.txt + CUDA Version 9.0.176 + cat /usr/include/cudnn.h | grep CUDNN_MAJOR -A 2 + #define CUDNN_MAJOR 7 + #define CUDNN_MINOR 3 + #define CUDNN_PATCHLEVEL 1 + ``` + +## 설치 순서 + +Host PC에 KSB 툴박스를 설치하기 위해서 아래와 같은 절차로 설치합니다. +- [Host PC] csle 사용자 계정(권한: administrator) 생성하기 +- [Host PC] hostname을 csle1으로 변경하기 +- [Host PC] NVIDIA 그래픽카드 드라이버 설치하기 +- [Host PC] openjdk-8 설치하기 +- [Host PC] KSB 툴박스 관련 프로그램 설치하기 +- [Host PC] SSH port 변경 및 root 로그인 가능하도도록 SSHD config 수정하기 +- [Host PC] SSH config 수정하기 +- [Host PC] Docker 설치하기 +- [Host PC] nvidia-docker 2.0 설치하기 +- [Host PC] /etc/hosts 수정하기 +- [Host PC] bashrc 설정 추가하기 +- [Host PC] 크롬 설치하기 +- [Host PC] KSB 툴박스 설치 및 docker image 다운받기 +- [Host PC] KSB 툴박스 docker 이미지내 SSH 키를 host pc에 복사하기 +- [Host PC] SSH 재시작하기 +- [Host PC] ksb-csle 폴더 권한 변경하기 +- [Host PC] startDockerCsle.sh, stopDockerCsle.sh 추가하기 + +## [Host PC] csle 사용자 계정(권한 : administrator) 생성하기 + +Host PC에 기존 Ubuntu 사용자와 설치환경을 분리하기 위해 아래의 명령으로 csle 계정을 추가 생성합니다. + +```sh +sudo adduser csle + Adding user 'csle' ... + Adding new group 'csle' (1001) ... + Adding new user 'csle' (1001) with group 'csle' ... + Creating home directory '/home/csle' ... + Copying files from '/etc/skel' ... + 새 UNIX 암호 입력: + 새 UNIX 암호 재입력: + passwd: password updated successfully + Changing the user information for csle + Enter the new value, or press ENTER for the default + Full Name []: + Room Number []: + Work Phone []: + Home Phone []: + Other []: + Is the information correct? [Y/n] Y +``` +/etc/sudoers를 열어 csle 계정에 administrator 권한을 추가합니다. +"경고: 읽기 전용 파일을 고치고 있습니다" 경고는 무시하고 저장하고 나옵니다. +```sh +sudo vi /etc/sudoers + # User privilege specification + root ALL=(ALL:ALL) ALL + # 맨 아래줄에 내용을 추가합니다. + #includedir /etc/sudoers.d + csle ALL=(ALL) NOPASSWD: ALL +``` + +## [Host PC] hostname을 csle1으로 변경하기 + +docker 컨테이너가 호스트 pc의 네트워크를 동일하게 사용하는 host 모드로 동작하기 위해 docker 컨테이너와 호스트 pc의 호스트네임을 동일하게 합니다. + +```sh +sudo vi /etc/hostname +csle1 +``` +PC를 재부팅하여 csle 계정으로 로그인합니다. + + +## [Host PC] NVIDIA 그래픽카드 드라이버 설치하기 + +```sh +sudo add-apt-repository ppa:graphics-drivers +sudo apt-get update + +왼쪽 우분투 "시스템설정" 아이콘 클릭 --> "자세히 보기" 아이콘 클릭 --> +하단의 "업데이트 설치" 버튼 클릭 + +왼쪽 우분투 "시스템설정" 아이콘 클릭 --> "소프트웨어&업데이터" 아이콘 클릭 --> +상단 메뉴에서 "추가 드라이버" 메뉴 선택 --> +NVIDIA 드라이버 사용 선택(예:NVIDIA binary driver-version 396.54(독점,확인함)) --> +"바뀐 내용 적용" 후 컴퓨터 재부팅 +``` +```sh +csle@csle1:~$ nvidia-smi +Sat Oct 24 13:17:41 2018 ++----------------------------------------------------------------------------+ +| NVIDIA-SMI 396.54 Driver Version: 396.54 | +|------------------------------+----------------------+----------------------+ +| GPU Name Persistence-M| Bus-Id Disp.A | Volatile Uncorr. ECC | +| Fan Temp Perf Pwr:Usage/Cap| Memory-Usage | GPU-Util Compute M. | +|==============================+======================+======================| +| 0 TITAN X (Pascal) Off | 00000000:01:00.0 On | N/A | +| 25% 40C P8 17W / 250W | 1186MiB / 12190MiB | 0% Default | ++------------------------------+----------------------+----------------------+ + ++----------------------------------------------------------------------------+ +| Processes: GPU Memory | +| GPU PID Type Process name Usage | +|============================================================================| +| 0 1021 G /usr/lib/jvm/java-8-oracle/bin/java 632MiB | ++----------------------------------------------------------------------------+ +``` +PC를 재부팅합니다. + + +## [Host PC] openjdk-8 설치하기 +Host PC에 Ubuntu 16.04를 처음 설치한 경우 java openjdk 8을 설치합니다. 아래의 내용을 터미널에 복사하여 설정 가능합니다. +```sh +sudo apt-get update && \ +sudo apt-get -y install openjdk-8-jre && \ +sudo apt-get -y install openjdk-8-jdk +``` + +터미널을 다시 시작한 후, 아래의 명령으로 java 설치 여부를 확인합니다. + +```sh +csle@csle1:~$ java -version +java version "1.8.0_212" +Java(TM) SE Runtime Environment (build 1.8.0_212-b13) +Java HotSpot(TM) 64-Bit Server VM (build 25.181-b13, mixed mode) +``` + +## [Host PC] KSB 툴박스 관련 프로그램 설치하기 + +Host PC에 아래의 명령으로 KSB 툴박스 관련 프로그램을 설치합니다. 아래의 내용을 터미널에 복사하여 설정가능합니다. + +```sh +sudo apt-get update && \ +sudo apt-get install -y --no-install-recommends apt-utils curl bc jq && \ +sudo apt-get install -y ssh locales wget git vim rsync locales \ +filezilla python3-pip && \ +sudo apt-get install -y net-tools && \ +pip3 install kafka-python +``` + +## [Host PC] SSH port 변경 및 root 로그인 가능하도록 SSHD config 수정하기 +아래의 명령을 수행하여 포트 정보를 2243로 수정하고, root 로그인을 허용합니다. + +```sh +sudo sed -ri 's/^Port 22/Port 2243/g' /etc/ssh/sshd_config +sudo sed -ri \ +'s/^PermitRootLogin prohibit-password/PermitRootLogin yes/g' \ +/etc/ssh/sshd_config +``` +만약 사용자가 openSSH를 사용한다면, 위의 스크립트이 적용되지 않습니다. 따라서, 직접 port 번호와 PermitRootLogin를 수정합니다. + + +## [Host PC] SSH config 수정하기 (known_hosts에 호스트 저장 질문을 하지 않도록 설정) +아래의 명령을 수행하여 ssh_config의 기존 내용을 모두 삭제하고 설정을 추가합니다. 아래의 내용을 터미널에 복사하여 설정가능합니다. + +```sh +sudo truncate -s0 /etc/ssh/ssh_config +echo "Host localhost" \ +| sudo tee -a /etc/ssh/ssh_config >/dev/null +echo "StrictHostKeyChecking no" \ +| sudo tee -a /etc/ssh/ssh_config >/dev/null +echo "Host 0.0.0.0" \ +| sudo tee -a /etc/ssh/ssh_config >/dev/null +echo "StrictHostKeyChecking no" \ +| sudo tee -a /etc/ssh/ssh_config >/dev/null +echo "Host 127.0.0.1" \ +| sudo tee -a /etc/ssh/ssh_config >/dev/null +echo "StrictHostKeyChecking no" \ +| sudo tee -a /etc/ssh/ssh_config >/dev/null +echo "Host csle*" \ +| sudo tee -a /etc/ssh/ssh_config >/dev/null +echo "StrictHostKeyChecking no" \ +| sudo tee -a /etc/ssh/ssh_config >/dev/null +echo "UserKnownHostsFile=/dev/null" \ +| sudo tee -a /etc/ssh/ssh_config >/dev/null +echo "Host master" \ +| sudo tee -a /etc/ssh/ssh_config >/dev/null +echo "StrictHostKeyChecking no" \ +| sudo tee -a /etc/ssh/ssh_config >/dev/null +echo "UserKnownHostsFile=/dev/null" \ +| sudo tee -a /etc/ssh/ssh_config >/dev/null +sudo service ssh restart +``` + +## [Host PC] Docker 설치하기 + +Host PC에 docker-ce 프로그램을 설치하기 위해 아래 명령어를 순차적으로 입력합니다. 아래의 내용을 터미널에 복사하여 설정가능합니다. +현재 2018년 10월 최신 버전은 18.06.1\~ce\~3-0\~ubuntu 입니다. + +```sh +curl -fsSL https://download.docker.com/linux/ubuntu/gpg | \ +sudo apt-key add - && \ +sudo add-apt-repository \ +"deb [arch=amd64] +https://download.docker.com/linux/ubuntu $(lsb_release -cs) stable" && \ +sudo apt-get update && \ +apt-cache policy docker-ce && \ +sudo apt-get install -y docker-ce=18.06.1~ce~3-0~ubuntu && \ +sudo systemctl status docker +``` + +#### [참고사항] 기존 docker-engine 삭제 방법 +```sh +sudo apt-get purge -y docker docker-engine docker.io +``` + +Docker 명령시 root 권한이 필요합니다. root가 아닌 사용자가 sudo 없이 사용하려면 해당 사용자를 docker 그룹에 추가합니다. + +```sh +sudo usermod -aG docker csle +# 사용자가 로그인 중이라면 다시 로그인 후 권한이 적용됩니다. +# 단, 현재 터미널에서만 적용됩니다. +sudo su csle +PC 재부팅 +``` + +PC 재부팅을 통해서 sudo 명령없이 docker 명령을 사용할 수 있습니다. + +## [Host PC] nvidia-docker 2.0 설치하기 +```sh +curl -s -L https://nvidia.github.io/nvidia-docker/gpgkey | \ +sudo apt-key add - && \ +curl -s -L \ +https://nvidia.github.io/nvidia-docker/\ +ubuntu16.04/amd64/nvidia-docker.list | \ +sudo tee /etc/apt/sources.list.d/nvidia-docker.list && \ +sudo apt-get update && \ +sudo apt-get install -y nvidia-docker2 && \ +sudo pkill -SIGHUP dockerd +``` + +아래의 질의에 대해서 Y를 누르면 설치가 완료됩니다. + +```sh +Configuration file '/etc/docker/daemon.json' + ==> File on system created by you or by a script. + ==> File also in package provided by package maintainer. + 어떻게 하시겠습니까? 다음 중에 하나를 선택할 수 있습니다: + Y 또는 I : 패키지 관리자의 버전을 설치합니다 + N 또는 O : 현재 설치된 버전을 유지합니다 + D : 버전 간의 차이점을 표시합니다 + Z : 프로세스를 백그라운드로 하고 상황을 알아봅니다 +기본값으로 현재 버전을 그대로 유지합니다. +*** daemon.json (Y/I/N/O/D/Z) [기본값=N] ? Y +``` + +```sh +csle@csle1:~$ nvidia-docker version +NVIDIA Docker: 2.0.3 +Client: + Version: 18.06.1-ce + API version: 1.38 + Go version: go1.10.3 + Git commit: e68fc7a + Built: Tue Aug 21 17:24:56 2018 + OS/Arch: linux/amd64 + Experimental: false +``` +```sh +Server: + Engine: + Version: 18.06.1-ce + API version: 1.38 (minimum version 1.12) + Go version: go1.10.3 + Git commit: e68fc7a + Built: Tue Aug 21 17:23:21 2018 + OS/Arch: linux/amd64 + Experimental: false + +``` +### [참고사항] 기존 nvidia-docker 1.0 버전을 삭제 방법 +```sh +docker volume ls -q -f driver=nvidia-docker | \ +xargs -r -I{} -n1 docker ps -q -a -f volume={} | xargs -r docker rm -f +sudo apt-get purge nvidia-docker +``` + +## [Host PC] /etc/hosts 수정하기 + +KSB 툴박스의 docker 컨테이너 주소에 쉽게 접근하기 위해 아래와 같이 /etc/hosts 내용을 수정합니다. (host pc의 IP는 192.168.0.5로 가정합니다. 자신의 PC IP에 맞게 설정합니다.) + +```sh +127.0.0.1 localhost +# 아래 주석처리. Hdfs 연동시 문제가 생김. +#127.0.1.1 csle1 + +# The following lines are desirable for IPv6 capable hosts +::1 ip6-localhost ip6-loopback +fe00::0 ip6-localnet +ff00::0 ip6-mcastprefix +ff02::1 ip6-allnodes +ff02::2 ip6-allrouters + +# 아래의 내용 추가 +192.168.0.5 csle1 master +``` + +## [Host PC] bashrc 설정 추가하기 +csle 계정의 bashrc 파일을 업데이트 합니다. 아래의 내용을 터미널에 복사하여 설정가능합니다. + +```sh +cat <> ~/.bashrc +export JAVA_HOME=/usr/lib/jvm/java-8-openjdk-amd64 +export PATH=\$PATH:\$JAVA_HOME/bin +export KSB_HOME=/home/csle/ksb-csle +export PYTHONPATH=/home/csle/ksb-csle/pyML/:\$PYTHONPATH +export PYTHONPATH=./:/home/csle/ksb-csle/ksblib:\$PYTHONPATH +EOT +source ~/.bashrc +``` + +## [Host PC] 크롬 설치하기 (optional) +KSB 툴박스의 웹툴킷을 안정적으로 사용하기 위해서 크롬 브라우저를 설치합니다. 아래의 내용을 터미널에 복사하여 설정가능합니다. + +```sh +cd && \ +wget \ +https://dl.google.com/linux/direct/google-chrome-stable_current_amd64.deb +sudo apt-get update && \ +sudo apt-get install -y libxss1 libappindicator1 libindicator7 && \ +sudo dpkg -i google-chrome-stable_current_amd64.deb +``` + +## [Host PC] KSB 프레임워크 설치 및 docker image 다운받기 + + 다운로드 페이지로부터 KSB 툴박스(docker image 별도) 파일을 다운로드합니다. + - ksb_toolbox_v1.tar.gz : KSB 툴박스 파일 +
+ +csle 사용자 계정의 home에 ksb_toolbox_v1.tar.gz 압축을 해제합니다. 결과적으로 /home/csle/ksb-csle 폴더가 생성됩니다. + +```sh +tar zxvf ksb_toolbox_v1.tar.gz -C /home/csle/ +``` + +/home/csle/ksb-csle 폴더는 다음의 하위 폴더들로 구성됩니다. + - /bin : KSB 프레임워크 shell 스크립트 파일 저장 폴더 + - /components : tensorflow train 예제 프로그램 저장 폴더 + - /conf : KSB 프레임워크 환경설정 파일 저장 폴더 + - /docker : KSB 툴박스 docker 컨테이너 실행 스크립트 저장 폴더 + - /examples : CLI(Command Line Interface)를 통해 워크플로우 생성 및 submit 할 수 있는 프로젝트 폴더 + - /jars : KSB 프레임워크 1.0 버전의 jar 파일 저장 폴더 + - /ksblib : python 전처리 라이브러리 폴더 + - /kubernetes : 쿠버네티스 환경설정 폴더 + - /logs : log 저장 폴더 + - /pyML : autoML python 프로젝트 폴더 + - /tools: 예제 테스트를 위한 프로그램(jmeter, hadoop, kafka, maven, .ssh, webToolkit_db) +
+ +Host PC에서 다음 명령으로 KSB 툴박스 docker image를 docker hub로부터 pull 합니다. + +```sh +docker pull ksbframework/ksb_toolbox_nvidia:1.0.1-cuda9.0-cudnn7 +``` + +Host PC에서 다음 명령으로 KSB 툴박스 docker image를 확인합니다. +(참고사항: 2019.05.24일 docker image 버전은 1.0.1 버전이며, 추후 TAG 정보 및 SIZE 정보는 배포 버전에 따라 다를 수 있습니다) + +```sh +csle@csle1:~/ksb-csle$ docker images +REPOSITORY TAG IMAGE ID CREATED SIZE +ksbframework/ksb_toolbox_nvidia 1.0.1-cuda9.0-cudnn7 e3661c94fd07 7 hours ago 9.39GB +``` + +## [Host PC] KSB 툴박스 docker 이미지내 SSH 키를 host pc에 복사하기 +KSB 툴박스 docker 컨테이너의 인증키를 공유하기 위해 ksb-csle/tools 폴더에 있는 .ssh 폴더를 csle 홈에 카피합니다. + +```sh +cp -r ~/ksb-csle/tools/.ssh/ /home/csle/ +``` +authorized_keys를 다른 계정이 읽고 쓸 수 없게 600 mode(소유자만 rw 가능)로 변경합니다. +``` +chmod 700 ~/.ssh +chmod 600 ~/.ssh/authorized_keys +``` + +## [Host PC] SSH 재시작하기 +```sh +sudo service ssh restart +``` +## [Host PC] ksb.conf 수정하기 +KSB 툴박스 nvidia 이미지 버전은 tensorflow 1.6 gpu 버전과 cpu 버전이 설치되어있습니다. 따라서, 아래와 같이 ksb.conf 파일을 수정합니다. + +```sh +tensorflow { + enable = "true" +# python_path = "/anaconda3/envs/tensorflow/bin/python" + python_path = "/anaconda3/envs/tensorflow16_gpu/bin/python" + python_code_project_path = "/analysis" +} + +``` +## [Host PC] ksb-csle 폴더 권한 변경하기 +KSB 툴박스 docker 컨테이너에서 Host PC의 ksb-csle 폴더를 엑세스 할 수 있도록 폴더 권한을 변경합니다. +```sh +sudo chmod 777 -R /home/csle/ksb-csle/ +``` + +## [Host PC] startDockerCsle.sh stopDockerCsle.sh 추가하기 +아래의 스크립트를 복사하여 터미널에서 실행하면 startDockerCsle.sh 파일이 생성됩니다. + +```sh +mkdir -p /home/csle/ksb-csle/docker/1.0-nvidia +cat <> /home/csle/ksb-csle/docker/1.0-nvidia/startDockerCsle.sh +#!/bin/bash +sudo service postgresql stop + +docker network rm csle_cluster csle_standalone + +docker rm -f csle1 +echo "start csle1 slave container..." +docker run --rm -itd \\ + --runtime=nvidia \\ + --net=host \\ + -v /home/csle/ksb-csle:/home/csle/ksb-csle \\ + -v /etc/localtime:/etc/localtime:ro \\ + -v /etc/timezone:/etc/timezone \\ + --user=csle \\ + --name=csle1 \\ + --hostname=csle1\\ + ksbframework/ksb_toolbox_nvidia:1.0.1-cuda9.0-cudnn7 bash + +docker exec -it csle1 bash +EOT +chmod +x /home/csle/ksb-csle/docker/1.0-nvidia/startDockerCsle.sh +cat <> /home/csle/ksb-csle/docker/1.0-nvidia/stopDockerCsle.sh +#!/bin/bash +docker rm -f csle1 +EOT +chmod +x /home/csle/ksb-csle/docker/1.0-nvidia/stopDockerCsle.sh +``` + +KSB 인공지능 프레임워크 실행하기 위해 KSB 인공지능 프레임워크 실행하기 페이지로 이동하여 KSB 프레임워크를 구동합니다. +단, nvidia-docker 버전 KSB 프레임워크 구동시 기존 cpu버전 툴박스와의 차이점은 위에서 생성한 /home/csle/ksb-csle/docker/1.0-nvidia/startDockerCsle.sh을 실행하여 KSB 툴박스 docker 컨테이너를 실행하고 접속하는 것일 뿐 모두 동일합니다. + +```sh +csle@csle1:~/ksb-csle/docker/1.0-nvidia$ ./startDockerCsle.sh +Error response from daemon: network csle_cluster not found +Error response from daemon: network csle_standalone not found +csle1 +start csle1 slave container... +4918997cd2dac93fe0b52f3df3a45a46db6df1f3f052854061696695451d2f22 +csle@csle1:/$ +``` +이상으로 nvidia-docker 버전 KSB 툴박스를 구동하기 위해 준비가 완료되었습니다. +KSB 인공지능 프레임워크 실행하기 페이지로 이동하여 KSB 프레임워크를 구동하도록 하겠습니다. diff --git a/manual1903/1.2.HowToInstallKsbToolBox-nvidia.pdf b/manual1903/1.2.HowToInstallKsbToolBox-nvidia.pdf new file mode 100644 index 0000000000000000000000000000000000000000..9859307127caa37463acd2186d4847f3605d4e1c Binary files /dev/null and b/manual1903/1.2.HowToInstallKsbToolBox-nvidia.pdf differ diff --git a/manual1903/1.2.HowToInstallKsbToolBox-old.md b/manual1903/1.2.HowToInstallKsbToolBox-old.md new file mode 100644 index 0000000000000000000000000000000000000000..49046f1c1066e6a71842e7e10223093ca9c1ac7f --- /dev/null +++ b/manual1903/1.2.HowToInstallKsbToolBox-old.md @@ -0,0 +1,316 @@ +--- + +html: + + toc: true + + offline: true + + + +export_on_save: + + html: true + +--- +# KSB 툴박스 설치하기 +--- +KSB 프레임워크를 쉽게 사용하기 위한 KSB 툴박스 1.0 버전 설치 방법을 설명합니다. + +## 설치 요구사항 + +- Ubuntu 16.04가 설치된 메모리 16GB 이상 데스트탑이나 노트북이 요구됩니다. +- KSB 툴박스는 Hadoop, hbase, kafka, zookeeper, spark 등 빅데이터 처리 프레임워크과 연동합니다. 따라서 다양한 워크플로우 예제를 실행하기 위해서는 메모리 16GB 이상이 요구됩니다. + (메모리 8GB 사양 PC에서는 제한적으로 워크플로우 예제 실행이 가능합니다.) + +## 설치 순서 + +Host PC에 KSB 툴박스를 설치하기 위해서 아래와 같은 절차로 설치합니다. +- [Host PC] csle 사용자 계정(권한: administrator) 생성하기 +- [Host PC] hostname을 csle1으로 변경하기 +- [Host PC] java-8-oracle 설치하기 +- [Host PC] KSB 툴박스 관련 프로그램 설치하기 +- [Host PC] SSH port 변경 및 root 로그인 가능하도도록 SSHD config 수정하기 +- [Host PC] SSH config 수정하기 +- [Host PC] Docker 설치하기 +- [Host PC] /etc/hosts 수정하기 +- [Host PC] bashrc 설정 추가하기 +- [Host PC] 크롬 설치하기 +- [Host PC] KSB 툴박스 설치 및 docker image 다운받기 +- [Host PC] KSB 툴박스 docker 이미지내 SSH 키를 host pc에 복사하기 +- [Host PC] SSH 재시작하기 +- [Host PC] ksb-csle 폴더 권한 변경하기 + +## [Host PC] csle 사용자 계정(권한 : administrator) 생성하기 + +Host PC에 기존 Ubuntu 사용자와 설치환경을 분리하기 위해 아래의 명령으로 csle 계정을 추가 생성합니다. + +```sh +sudo adduser csle + Adding user 'csle' ... + Adding new group 'csle' (1001) ... + Adding new user 'csle' (1001) with group 'csle' ... + Creating home directory '/home/csle' ... + Copying files from '/etc/skel' ... + 새 UNIX 암호 입력: + 새 UNIX 암호 재입력: + passwd: password updated successfully + Changing the user information for csle + Enter the new value, or press ENTER for the default + Full Name []: + Room Number []: + Work Phone []: + Home Phone []: + Other []: + Is the information correct? [Y/n] Y +``` +/etc/sudoers를 열어 csle 계정에 administrator 권한을 추가합니다. +"경고: 읽기 전용 파일을 고치고 있습니다" 경고는 무시하고 저장하고 나옵니다. +```sh +sudo vi /etc/sudoers + # User privilege specification + root ALL=(ALL:ALL) ALL + # 맨 아래줄에 내용을 추가합니다. + #includedir /etc/sudoers.d + csle ALL=(ALL) NOPASSWD: ALL +``` + +## [Host PC] hostname을 csle1으로 변경하기 + +docker 컨테이너가 호스트 pc의 네트워크를 동일하게 사용하는 host 모드로 동작하기 위해 docker 컨테이너와 호스트 pc의 호스트네임을 동일하게 합니다. + +```sh +sudo vi /etc/hostname +csle1 +``` +PC를 재부팅하여 csle 계정으로 로그인합니다. + +## [Host PC] java-8-oracle 설치하기 + +Host PC에 Ubuntu 16.04를 처음 설치한 경우 java 8을 설치합니다. 아래의 내용을 터미널에 복사하여 설정가능합니다. + +```sh +sudo apt-get update && \ +sudo apt-get install -y python-software-properties && \ +sudo add-apt-repository -y ppa:webupd8team/java && \ +sudo apt-get update && \ +echo "oracle-java8-installer shared/accepted-oracle-license-v1-1 select true" | sudo debconf-set-selections && \ +sudo apt-get install -y oracle-java8-installer +``` + +터미널을 다시 시작한 후, 아래의 명령으로 java 설치 여부를 확인합니다. + +```sh +csle@csle1:~$ java -version +java version "1.8.0_181" +Java(TM) SE Runtime Environment (build 1.8.0_181-b13) +Java HotSpot(TM) 64-Bit Server VM (build 25.181-b13, mixed mode) +``` + +가끔 오라클에서 jdk 버전을 업데이트 하면 아래와 같은 에러가 발생하며 jdk가 설치되지 않는 경우가 있습니다. +```sh +접속 download.oracle.com (download.oracle.com)|23.35.220.157|:80... 접속됨. +HTTP request sent, awaiting response... 404 Not Found +2018-10-17 11:08:56 ERROR 404: Not Found. + +download failed +Oracle JDK 8 is NOT installed. +dpkg: error processing package oracle-java8-installer (--configure): + 설치한 post-installation 스크립트 하위 프로세스가 오류 1번을 리턴했습니다 +처리하는데 오류가 발생했습니다: + oracle-java8-installer +E: Sub-process /usr/bin/dpkg returned an error code (1) +``` + +해결방법은 오라클 사이트에 방문하여 최신 버전(2018.10.21. 기준 : 8u191)을 jdk-8u191-linux-x64.tar.gz 파일을 다운받습니다. +https://www.oracle.com/technetwork/java/javase/downloads/jdk8-downloads-2133151.html + +그리고, 아래의 스크립트에서 다운받은 파일의 위치와 버전 부분만을 수정한 후, 터미널에 복사하면 직접 설치가능합니다. +```sh +sudo mkdir /usr/lib/jvm +cd /usr/lib/jvm +sudo tar -xvzf /home/csle/jdk-8u191-linux-x64.tar.gz # 수정 필요 +sudo mv jdk1.8.0_191/ java-8-oracle/ # 수정 필요 + +sudo truncate -s0 /etc/environment +echo "PATH=/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/usr/lib/jvm/java-8-oracle/bin:/usr/lib/jvm/java-8-oracle/db/bin:/usr/lib/jvm/java-8-oracle/jre/bin" | sudo tee -a /etc/environment >/dev/null +echo "J2SDKDIR=/usr/lib/jvm/java-8-oracle" | sudo tee -a /etc/environment >/dev/null +echo "J2REDIR=/usr/lib/jvm/java-8-oracle/jre*" | sudo tee -a /etc/environment >/dev/null +echo "JAVA_HOME=/usr/lib/jvm/java-8-oracle" | sudo tee -a /etc/environment >/dev/null +echo "DERBY_HOME=/usr/lib/jvm/java-8-oracle/db" | sudo tee -a /etc/environment >/dev/null + +sudo update-alternatives --install "/usr/bin/java" "java" "/usr/lib/jvm/java-8-oracle/bin/java" 0 +sudo update-alternatives --install "/usr/bin/javac" "javac" "/usr/lib/jvm/java-8-oracle/bin/javac" 0 +sudo update-alternatives --set java /usr/lib/jvm/java-8-oracle/bin/java +sudo update-alternatives --set javac /usr/lib/jvm/java-8-oracle/bin/javac +update-alternatives --list java +update-alternatives --list javac +``` + +## [Host PC] KSB 툴박스 관련 프로그램 설치하기 + +Host PC에 아래의 명령으로 KSB 툴박스 관련 프로그램을 설치합니다. 아래의 내용을 터미널에 복사하여 설정가능합니다. + +```sh +sudo apt-get update && \ +sudo apt-get install -y --no-install-recommends apt-utils curl bc jq && \ +sudo apt-get install -y ssh locales wget git vim rsync locales filezilla python3-pip && \ +sudo apt-get install -y net-tools && \ +pip3 install kafka-python +``` + +## [Host PC] SSH port 변경 및 root 로그인 가능하도록 SSHD config 수정하기 +아래의 명령을 수행하여 포트 정보를 2243로 수정하고, root 로그인을 허용합니다. + +```sh +sudo sed -ri 's/^Port 22/Port 2243/g' /etc/ssh/sshd_config +sudo sed -ri 's/^PermitRootLogin prohibit-password/PermitRootLogin yes/g' /etc/ssh/sshd_config +``` + +## [Host PC] SSH config 수정하기 (known_hosts에 호스트 저장 질문을 하지 않도록 설정) +아래의 명령을 수행하여 ssh_config의 기존 내용을 모두 삭제하고 설정을 추가합니다. 아래의 내용을 터미널에 복사하여 설정가능합니다. + +```sh +sudo truncate -s0 /etc/ssh/ssh_config +echo "Host localhost" | sudo tee -a /etc/ssh/ssh_config >/dev/null +echo "StrictHostKeyChecking no" | sudo tee -a /etc/ssh/ssh_config >/dev/null +echo "Host 0.0.0.0" | sudo tee -a /etc/ssh/ssh_config >/dev/null +echo "StrictHostKeyChecking no" | sudo tee -a /etc/ssh/ssh_config >/dev/null +echo "Host 127.0.0.1" | sudo tee -a /etc/ssh/ssh_config >/dev/null +echo "StrictHostKeyChecking no" | sudo tee -a /etc/ssh/ssh_config >/dev/null +echo "Host csle*" | sudo tee -a /etc/ssh/ssh_config >/dev/null +echo "StrictHostKeyChecking no" | sudo tee -a /etc/ssh/ssh_config >/dev/null +echo "UserKnownHostsFile=/dev/null" | sudo tee -a /etc/ssh/ssh_config >/dev/null +echo "Host master" | sudo tee -a /etc/ssh/ssh_config >/dev/null +echo "StrictHostKeyChecking no" | sudo tee -a /etc/ssh/ssh_config >/dev/null +echo "UserKnownHostsFile=/dev/null" | sudo tee -a /etc/ssh/ssh_config >/dev/null +``` + +## [Host PC] Docker 설치하기 + +Host PC에 docker 프로그램을 설치하기 위해 아래 명령어를 순차적으로 입력합니다. 아래의 내용을 터미널에 복사하여 설정가능합니다. + +```sh +sudo curl -fsSL https://apt.dockerproject.org/gpg | sudo apt-key add - && \ +sudo apt-key fingerprint 58118E89F3A912897C070ADBF76221572C52609D && \ +sudo add-apt-repository -y "deb https://apt.dockerproject.org/repo/ ubuntu-xenial main" && \ +sudo apt-get update && \ +sudo apt-get -y install docker-engine && \ +sudo systemctl enable docker +``` + +Docker 명령시 root 권한이 필요합니다. root가 아닌 사용자가 sudo 없이 사용하려면 해당 사용자를 docker 그룹에 추가합니다. + +```sh +sudo usermod -aG docker csle +# 사용자가 로그인 중이라면 다시 로그인 후 권한이 적용됩니다. 단, 현재 터미널에서만 적용됩니다. +sudo su csle +PC 재부팅 +``` +PC 재부팅을 통해서 sudo 명령없이 docker 명령을 사용할 수 있습니다. + +## [Host PC] /etc/hosts 수정하기 + +KSB 툴박스의 docker 컨테이너 주소에 쉽게 접근하기 위해 아래와 같이 /etc/hosts 내용을 수정합니다. (host pc의 IP는 192.168.0.5로 가정합니다. 자신의 PC IP에 맞게 설정합니다.) + +```sh +127.0.0.1 localhost +# 아래 주석처리. Hdfs 연동시 문제가 생김. +#127.0.1.1 csle1 + +# The following lines are desirable for IPv6 capable hosts +::1 ip6-localhost ip6-loopback +fe00::0 ip6-localnet +ff00::0 ip6-mcastprefix +ff02::1 ip6-allnodes +ff02::2 ip6-allrouters + +# 아래의 내용 추가 +192.168.0.5 csle1 master +``` + +## [Host PC] bashrc 설정 추가하기 +csle 계정의 bashrc 파일을 업데이트 합니다. 아래의 내용을 터미널에 복사하여 설정가능합니다. + +```sh +cat <> ~/.bashrc +export JAVA_HOME=/usr/lib/jvm/java-8-oracle +export PATH=\$PATH:\$JAVA_HOME/bin +export KSB_HOME=/home/csle/ksb-csle +export PYTHONPATH=/home/csle/ksb-csle/pyML/:\$PYTHONPATH +export PYTHONPATH=./:/home/csle/ksb-csle/ksblib:\$PYTHONPATH +EOT +source ~/.bashrc +``` + +## [Host PC] 크롬 설치하기 (optional) +KSB 툴박스의 웹툴킷을 안정적으로 사용하기 위해서 크롬 브라우저를 설치합니다. 아래의 내용을 터미널에 복사하여 설정가능합니다. + +```sh +wget https://dl.google.com/linux/direct/google-chrome-stable_current_amd64.deb && \ +sudo apt-get update && \ +sudo apt-get install -y libxss1 libappindicator1 libindicator7 && \ +sudo dpkg -i google-chrome-stable_current_amd64.deb +``` + +## [Host PC] KSB 프레임워크 설치 및 docker image 다운받기 + + 다운로드 페이지로부터 KSB 툴박스(docker image 별도) 파일을 다운로드합니다. + - ksb_toolbox_v1.tar.gz : KSB 툴박스 파일 +
+ +csle 사용자 계정의 home에 ksb_toolbox_v1.tar.gz 압축을 해제합니다. 결과적으로 /home/csle/ksb-csle 폴더가 생성됩니다. + +```sh +tar zxvf ksb_toolbox_v1.tar.gz -C /home/csle/ +``` + +/home/csle/ksb-csle 폴더는 다음의 하위 폴더들로 구성됩니다. + - /bin : KSB 프레임워크 shell 스크립트 파일 저장 폴더 + - /components : tensorflow train 예제 프로그램 저장 폴더 + - /conf : KSB 프레임워크 환경설정 파일 저장 폴더 + - /docker : KSB 툴박스 docker 컨테이너 실행 스크립트 저장 폴더 + - /examples : CLI(Command Line Interface)를 통해 워크플로우 생성 및 submit 할 수 있는 프로젝트 폴더 + - /jars : KSB 프레임워크 1.0 버전의 jar 파일 저장 폴더 + - /ksblib : python 전처리 라이브러리 폴더 + - /kubernetes : 쿠버네티스 환경설정 폴더 + - /logs : log 저장 폴더 + - /pyML : autoML python 프로젝트 폴더 + - /tools: 예제 테스트를 위한 프로그램(jmeter, hadoop, kafka, maven, .ssh, webToolkit_db) +
+ +Host PC에서 다음 명령으로 KSB 툴박스 docker image를 docker hub로부터 pull 합니다. + +```sh +docker pull ksbframework/ksb_toolbox:1.0.0 +``` + +Host PC에서 다음 명령으로 KSB 툴박스 docker image를 확인합니다. +(참고사항: 현재 docker image 버전은 1.0.0 버전이며, 추후 TAG 정보 및 SIZE 정보는 배포 버전에 따라 다를 수 있습니다) + +```sh +csle@csle1:~/ksb-csle$ docker images +REPOSITORY TAG IMAGE ID CREATED SIZE +ksbframework/ksb_toolbox 1.0.0 01f760746a56 7 hours ago 15.4GB +``` + +## [Host PC] KSB 툴박스 docker 이미지내 SSH 키를 host pc에 복사하기 +KSB 툴박스 docker 컨테이너의 인증키를 공유하기 위해 ksb-csle/tools 폴더에 있는 .ssh 폴더를 csle 홈에 카피합니다. + +```sh +cp -r ~/ksb-csle/tools/.ssh/ /home/csle/ +``` + +## [Host PC] SSH 재시작하기 +```sh +sudo service ssh restart +``` + +## [Host PC] ksb-csle 폴더 권한 변경하기 +KSB 툴박스 docker 컨테이너에서 Host PC의 ksb-csle 폴더를 엑세스 할 수 있도록 폴더 권한을 변경합니다. +```sh +sudo chmod 777 -R /home/csle/ksb-csle/ +``` + +이상으로 KSB 툴박스를 구동하기 위해 필요한 프로그램 설치 및 설정 변경을 완료하였습니다. +KSB 인공지능 프레임워크 실행하기 페이지로 이동하여 KSB 프레임워크를 구동하도록 하겠습니다. diff --git a/manual1903/1.2.HowToInstallKsbToolBox.md b/manual1903/1.2.HowToInstallKsbToolBox.md new file mode 100644 index 0000000000000000000000000000000000000000..7ecd0d5a73b31027b2c596eb727a473c88fa8bc8 --- /dev/null +++ b/manual1903/1.2.HowToInstallKsbToolBox.md @@ -0,0 +1,299 @@ +--- +html: + toc: true + offline: true +export_on_save: + html: true +--- +# KSB 툴박스 설치하기 +--- +KSB 프레임워크를 쉽게 사용하기 위한 KSB 툴박스 1.0 버전 설치 방법을 설명합니다. + +## 설치 요구사항 + +- Ubuntu 16.04가 설치된 메모리 16GB 이상 데스트탑이나 노트북이 요구됩니다. +- KSB 툴박스는 Hadoop, hbase, kafka, zookeeper, spark 등 빅데이터 처리 프레임워크과 연동합니다. 따라서 다양한 워크플로우 예제를 실행하기 위해서는 16GB 이상의 메모리와 cpu 코어 8개이상의 PC 사양이 요구됩니다. + (메모리 8GB 및 cpu 코어 4개 사양 PC에서는 제한적으로 워크플로우 예제 실행이 가능합니다.) + +## 설치 순서 + +Host PC에 KSB 툴박스를 설치하기 위해서 아래와 같은 절차로 설치합니다. +- [Host PC] csle 사용자 계정(권한: administrator) 생성하기 +- [Host PC] hostname을 csle1으로 변경하기 +- [Host PC] openjdk-8 설치하기 +- [Host PC] KSB 툴박스 관련 프로그램 설치하기 +- [Host PC] SSH port 변경 및 root 로그인 가능하도도록 SSHD config 수정하기 +- [Host PC] SSH config 수정하기 +- [Host PC] Docker 설치하기 +- [Host PC] /etc/hosts 수정하기 +- [Host PC] bashrc 설정 추가하기 +- [Host PC] 크롬 설치하기 +- [Host PC] KSB 툴박스 설치 및 docker image 다운받기 +- [Host PC] KSB 툴박스 docker 이미지내 SSH 키를 host pc에 복사하기 +- [Host PC] SSH 재시작하기 +- [Host PC] ksb-csle 폴더 권한 변경하기 + +## [Host PC] csle 사용자 계정(권한 : administrator) 생성하기 + +Host PC에 기존 Ubuntu 사용자와 설치환경을 분리하기 위해 아래의 명령으로 csle 계정을 추가 생성합니다. + +```sh +sudo adduser csle + Adding user 'csle' ... + Adding new group 'csle' (1001) ... + Adding new user 'csle' (1001) with group 'csle' ... + Creating home directory '/home/csle' ... + Copying files from '/etc/skel' ... + 새 UNIX 암호 입력: + 새 UNIX 암호 재입력: + passwd: password updated successfully + Changing the user information for csle + Enter the new value, or press ENTER for the default + Full Name []: + Room Number []: + Work Phone []: + Home Phone []: + Other []: + Is the information correct? [Y/n] Y +``` +/etc/sudoers를 열어 csle 계정에 administrator 권한을 추가합니다. +"경고: 읽기 전용 파일을 고치고 있습니다" 경고는 무시하고 저장하고 나옵니다. +```sh +sudo vi /etc/sudoers + # User privilege specification + root ALL=(ALL:ALL) ALL + # 맨 아래줄에 내용을 추가합니다. + #includedir /etc/sudoers.d + csle ALL=(ALL) NOPASSWD: ALL +``` + +## [Host PC] hostname을 csle1으로 변경하기 + +docker 컨테이너가 호스트 pc의 네트워크를 동일하게 사용하는 host 모드로 동작하기 위해 docker 컨테이너와 호스트 pc의 호스트네임을 동일하게 합니다. + +```sh +sudo vi /etc/hostname +csle1 +``` +PC를 재부팅하여 csle 계정으로 로그인합니다. + +## [Host PC] openjdk-8 설치하기 + +Host PC에 Ubuntu 16.04를 처음 설치한 경우 java openjdk 8을 설치합니다. 아래의 내용을 터미널에 복사하여 설정 가능합니다. + +```sh +sudo apt-get update && \ +sudo apt-get -y install openjdk-8-jre && \ +sudo apt-get -y install openjdk-8-jdk +``` + +터미널을 다시 시작한 후, 아래의 명령으로 java 설치 여부를 확인합니다. + +```sh +csle@csle1:~$ java -version +java version "1.8.0_212" +Java(TM) SE Runtime Environment (build 1.8.0_212-b13) +Java HotSpot(TM) 64-Bit Server VM (build 25.181-b13, mixed mode) +``` + +## [Host PC] KSB 툴박스 관련 프로그램 설치하기 + +Host PC에 아래의 명령으로 KSB 툴박스 관련 프로그램을 설치합니다. 아래의 내용을 터미널에 복사하여 설정가능합니다. + +```sh +sudo apt-get update && \ +sudo apt-get install -y --no-install-recommends apt-utils curl bc jq && \ +sudo apt-get install -y ssh locales wget git vim rsync locales \ +filezilla python3-pip && \ +sudo apt-get install -y net-tools && \ +pip3 install kafka-python +``` + +## [Host PC] SSH port 변경 및 root 로그인 가능하도록 SSHD config 수정하기 +아래의 명령을 수행하여 포트 정보를 2243로 수정하고, root 로그인을 허용합니다. + +```sh +sudo sed -ri 's/^Port 22/Port 2243/g' /etc/ssh/sshd_config +sudo sed -ri \ +'s/^PermitRootLogin prohibit-password/PermitRootLogin yes/g' \ +/etc/ssh/sshd_config +``` +만약 사용자가 openSSH를 사용한다면, 위의 스크립트이 적용되지 않습니다. 따라서, 직접 port 번호와 PermitRootLogin를 수정합니다. + +## [Host PC] SSH config 수정하기 (known_hosts에 호스트 저장 질문을 하지 않도록 설정) +아래의 명령을 수행하여 ssh_config의 기존 내용을 모두 삭제하고 설정을 추가합니다. 아래의 내용을 터미널에 복사하여 설정가능합니다. + +```sh +sudo truncate -s0 /etc/ssh/ssh_config +echo "Host localhost" \ +| sudo tee -a /etc/ssh/ssh_config >/dev/null +echo "StrictHostKeyChecking no" \ +| sudo tee -a /etc/ssh/ssh_config >/dev/null +echo "Host 0.0.0.0" \ +| sudo tee -a /etc/ssh/ssh_config >/dev/null +echo "StrictHostKeyChecking no" \ +| sudo tee -a /etc/ssh/ssh_config >/dev/null +echo "Host 127.0.0.1" \ +| sudo tee -a /etc/ssh/ssh_config >/dev/null +echo "StrictHostKeyChecking no" \ +| sudo tee -a /etc/ssh/ssh_config >/dev/null +echo "Host csle*" \ +| sudo tee -a /etc/ssh/ssh_config >/dev/null +echo "StrictHostKeyChecking no" \ +| sudo tee -a /etc/ssh/ssh_config >/dev/null +echo "UserKnownHostsFile=/dev/null" \ +| sudo tee -a /etc/ssh/ssh_config >/dev/null +echo "Host master" \ +| sudo tee -a /etc/ssh/ssh_config >/dev/null +echo "StrictHostKeyChecking no" \ +| sudo tee -a /etc/ssh/ssh_config >/dev/null +echo "UserKnownHostsFile=/dev/null" \ +| sudo tee -a /etc/ssh/ssh_config >/dev/null +sudo service ssh restart +``` + + +## [Host PC] Docker 설치하기 + +Host PC에 docker-ce 프로그램을 설치하기 위해 아래 명령어를 순차적으로 입력합니다. 아래의 내용을 터미널에 복사하여 설정가능합니다. + +```sh +curl -fsSL https://download.docker.com/linux/ubuntu/gpg | \ +sudo apt-key add - && \ +sudo add-apt-repository \ +"deb [arch=amd64] +https://download.docker.com/linux/ubuntu $(lsb_release -cs) stable" && \ +sudo apt-get update && \ +apt-cache policy docker-ce && \ +sudo apt-get install -y docker-ce=18.06.1~ce~3-0~ubuntu && \ +sudo systemctl status docker +``` + +#### [참고사항] 기존 docker-engine 삭제 +```sh +sudo apt-get purge -y docker docker-engine docker.io +``` + +Docker 명령시 root 권한이 필요합니다. root가 아닌 사용자가 sudo 없이 사용하려면 해당 사용자를 docker 그룹에 추가합니다. + +```sh +sudo usermod -aG docker csle +# 사용자가 로그인 중이라면 다시 로그인 후 권한이 적용됩니다. +# 단, 현재 터미널에서만 적용됩니다. +sudo su csle +PC 재부팅 +``` +PC 재부팅을 통해서 sudo 명령없이 docker 명령을 사용할 수 있습니다. + +## [Host PC] /etc/hosts 수정하기 + +KSB 툴박스의 docker 컨테이너 주소에 쉽게 접근하기 위해 아래와 같이 /etc/hosts 내용을 수정합니다. (host pc의 IP는 192.168.0.5로 가정합니다. 자신의 PC IP에 맞게 설정합니다.) + +```sh +127.0.0.1 localhost +# 아래 주석처리. Hdfs 연동시 문제가 생김. +#127.0.1.1 csle1 + +# The following lines are desirable for IPv6 capable hosts +::1 ip6-localhost ip6-loopback +fe00::0 ip6-localnet +ff00::0 ip6-mcastprefix +ff02::1 ip6-allnodes +ff02::2 ip6-allrouters + +# 아래의 내용 추가 +192.168.0.5 csle1 master +``` + +## [Host PC] bashrc 설정 추가하기 +csle 계정의 bashrc 파일을 업데이트 합니다. 아래의 내용을 터미널에 복사하여 설정가능합니다. + +```sh +cat <> ~/.bashrc +export JAVA_HOME=/usr/lib/jvm/java-8-openjdk-amd64 +export PATH=\$PATH:\$JAVA_HOME/bin +export KSB_HOME=/home/csle/ksb-csle +export PYTHONPATH=/home/csle/ksb-csle/pyML/:\$PYTHONPATH +export PYTHONPATH=./:/home/csle/ksb-csle/ksblib:\$PYTHONPATH +EOT +source ~/.bashrc +``` + +## [Host PC] 크롬 설치하기 (optional) +KSB 툴박스의 웹툴킷을 안정적으로 사용하기 위해서 크롬 브라우저를 설치합니다. 아래의 내용을 터미널에 복사하여 설정가능합니다. + +```sh +cd && \ +wget \ +https://dl.google.com/linux/direct/google-chrome-stable_current_amd64.deb +sudo apt-get update && \ +sudo apt-get install -y libxss1 libappindicator1 libindicator7 && \ +sudo dpkg -i google-chrome-stable_current_amd64.deb +``` + +## [Host PC] KSB 툴박스 설치 및 docker image 다운받기 + + 다운로드 페이지로부터 KSB 툴박스(docker image 별도) 파일을 다운로드합니다. + - ksb_toolbox_v1.tar.gz : KSB 툴박스 파일 +
+ +csle 사용자 계정의 home에 ksb_toolbox_v1.tar.gz 압축을 해제합니다. 결과적으로 /home/csle/ksb-csle 폴더가 생성됩니다. + +```sh +tar zxvf ksb_toolbox_v1.tar.gz -C /home/csle/ +``` + +/home/csle/ksb-csle 폴더는 다음의 하위 폴더들로 구성됩니다. + - /bin : KSB 프레임워크 shell 스크립트 파일 저장 폴더 + - /components : tensorflow train 예제 프로그램 저장 폴더 + - /conf : KSB 프레임워크 환경설정 파일 저장 폴더 + - /docker : KSB 툴박스 docker 컨테이너 실행 스크립트 저장 폴더 + - /examples : CLI(Command Line Interface)를 통해 워크플로우 생성 및 submit 할 수 있는 프로젝트 폴더 + - /jars : KSB 프레임워크 1.0 버전의 jar 파일 저장 폴더 + - /ksblib : python 전처리 라이브러리 폴더 + - /kubernetes : 쿠버네티스 환경설정 폴더 + - /logs : log 저장 폴더 + - /pyML : autoML python 프로젝트 폴더 + - /tools: 예제 테스트를 위한 프로그램(jmeter, hadoop, kafka, maven, .ssh, webToolkit_db) +
+ +Host PC에서 다음 명령으로 KSB 툴박스 docker image를 docker hub로부터 pull 합니다. + +```sh +docker pull ksbframework/ksb_toolbox:1.0.1-miniconda3 +``` + +Host PC에서 다음 명령으로 KSB 툴박스 docker image를 확인합니다. +(참고사항: 2019.05.24일 docker image 버전은 1.0.1 버전이며, 추후 TAG 정보 및 SIZE 정보는 배포 버전에 따라 다를 수 있습니다) + +```sh +csle@csle1:~/ksb-csle$ docker images +REPOSITORY TAG IMAGE ID CREATED SIZE +ksbframework/ksb_toolbox 1.0.1-miniconda3 1b49af6336c7 7 hours ago 7.54GB +``` + +## [Host PC] KSB 툴박스 docker 이미지내 SSH 키를 host pc에 복사하기 +KSB 툴박스 docker 컨테이너의 인증키를 공유하기 위해 ksb-csle/tools 폴더에 있는 .ssh 폴더를 csle 홈에 카피합니다. + +```sh +cp -r ~/ksb-csle/tools/.ssh/ /home/csle/ +``` +authorized_keys를 다른 계정이 읽고 쓸 수 없게 600 mode(소유자만 rw 가능)로 변경합니다. +``` +chmod 700 ~/.ssh +chmod 600 ~/.ssh/authorized_keys +``` + +## [Host PC] SSH 재시작하기 +```sh +sudo service ssh restart +``` + +## [Host PC] ksb-csle 폴더 권한 변경하기 +KSB 툴박스 docker 컨테이너에서 Host PC의 ksb-csle 폴더를 엑세스 할 수 있도록 폴더 권한을 변경합니다. +```sh +sudo chmod 777 -R /home/csle/ksb-csle/ +``` + +이상으로 KSB 툴박스를 구동하기 위해 필요한 프로그램 설치 및 설정 변경을 완료하였습니다. +KSB 인공지능 프레임워크 실행하기 페이지로 이동하여 KSB 프레임워크를 구동하도록 하겠습니다. diff --git a/manual1903/1.2.HowToInstallKsbToolBox.pdf b/manual1903/1.2.HowToInstallKsbToolBox.pdf new file mode 100644 index 0000000000000000000000000000000000000000..77493f74e4373af66f615c2f516154c0228b6393 Binary files /dev/null and b/manual1903/1.2.HowToInstallKsbToolBox.pdf differ diff --git a/manual1903/1.3.HowToInstallKsbFrameWork-old.md b/manual1903/1.3.HowToInstallKsbFrameWork-old.md new file mode 100644 index 0000000000000000000000000000000000000000..9c853c2e967ffd1eadc453d5ce93b391db0a486a --- /dev/null +++ b/manual1903/1.3.HowToInstallKsbFrameWork-old.md @@ -0,0 +1,497 @@ +--- +html: + toc: true + offline: true +export_on_save: + html: true +--- +# KSB 인공지능 프레임워크 설치 +----------- +제공된 KSB 툴박스를 사용하지 않고, 직접 Host PC에 KSB 인공지능 프레임워크를 설치하기 위해서 아래의 오픈소스 프레임워크들을 설치합니다. 사용자 csle 계정을 생성한 후 아래 프로그램들을 설치합니다. + +## csle 사용자 계정(권한 : administrator) 생성하기 +KSB 툴박스 설치의 csle 사용자 계정 생성 부분을 참고합니다. + +## java-8-oracle 설치하기 +KSB 툴박스 설치의 java-8-oracle 설치 부분을 참고합니다. + +## Apache Hadoop 2.7.3 설치하기 +아래 링크를 참고하여 사용자의 PC 혹은 클러스터 환경에 맞게 설치합니다. + +참고링크 : https://hadoop.apache.org/docs/r2.7.3/ +다운로드 링크 : https://archive.apache.org/dist/hadoop/common/hadoop-2.7.3/ + +## spark-2.3.0-bin-hadoop2.7 설치하기 +아래 링크를 참고하여 사용자의 PC 혹은 클러스터 환경에 맞게 설치합니다. + +참고링크 : https://spark.apache.org/downloads.html +다운로드 링크 : https://spark.apache.org/downloads.html + +## hbase 1.2.4(optional) 설치하기 +아래 링크를 참고하여 사용자의 PC 혹은 클러스터 환경에 맞게 설치합니다. + +참고링크 : https://hbase.apache.org/book.html +다운로드 링크 : https://archive.apache.org/dist/hbase/1.2.4/ + +## kafka 2.11-0.10.0.1(optional) 설치하기 +아래 링크를 참고하여 사용자의 PC 혹은 클러스터 환경에 맞게 설치합니다. + +참고링크 : https://kafka.apache.org/ +다운로드 링크 : https://kafka.apache.org/downloads + +## zookeeper 3.4.9(optional) 설치하기 +아래 링크를 참고하여 사용자의 PC 혹은 클러스터 환경에 맞게 설치합니다. + +참고링크 : https://zookeeper.apache.org/ +다운로드 링크 : https://archive.apache.org/dist/zookeeper/zookeeper-3.4.9/ + +## KSB 프레임워크 설치하기 + + 다운로드 페이지로부터 KSB 툴박스 파일을 다운로드합니다. + - ksb_toolbox_v1.tar.gz : KSB 툴박스 파일 +
+ +csle 사용자 계정의 home에 ksb_toolbox_v1.tar.gz 압축을 해제합니다. 결과적으로 /home/csle/ksb-csle 폴더가 생성됩니다. +```sh + csle@csle1:~$ tar zxvf ksb_toolbox_v1.tar.gz -C /home/csle/ +``` + +/home/csle/ksb-csle 폴더는 다음의 하위 폴더들로 구성됩니다. + - /bin : KSB 프레임워크 shell 스크립트 파일 저장 폴더 + - /components : tensorflow train 예제 프로그램 저장 폴더 + - /conf : KSB 프레임워크 환경설정 파일 저장 폴더 + - /docker : KSB 툴박스 docker 컨테이너 실행 스크립트 저장 폴더 + - /examples : CLI(Command Line Interface)를 통해 워크플로우 생성 및 submit 할 수 있는 프로젝트 폴더 + - /jars : KSB 프레임워크 1.0 버전의 jar 파일 저장 폴더 + - /ksblib : python 전처리 라이브러리 폴더 + - /kubernetes : 쿠버네티스 환경설정 폴더 + - /logs : log 저장 폴더 + - /pyML : autoML python 프로젝트 폴더 + - /tools: 예제 테스트를 위한 프로그램(jmeter, hadoop, kafka, maven, .ssh) +
+ + +## ksb-csle conf 파일 설정하기 +/home/csle/ksb-csle/conf/ksb.conf 파일을 사용자 PC에 맞게 수정합니다. + +```sh +csle { + user { + home = "/home/csle" # 사용자 home 디렉토리를 지정합니다. + } + home = "/home/csle/ksb-csle" # KSB home 디렉토리를 지정합니다. + submit.cli = "true" + scheduler.initialization = "false" +} + +servers { + gateway { + baseUrl = "http://KSB_GATEWAY:SERVICEPORT" + } + kubernetes { + enable = "false" + baseUrl = "http://SERVICENAME.ksb.local:30100" + imgRepositoryUrl = "docker.io" + kubernetes_yaml_path = "/kubernetes" + masterIp = "csle1" # Kubernetes 마스터 도메인 이름 혹은 IP를 지정합니다. + masterPort = "2243" # Kubernetes SSH 포트 번호를 지정합니다. + nodesIp = "csle2, csle3" # Kubernetes 노드들의 도메인 이름 혹은 IP들을 지정합니다. + user = "csle" # Kubernetes 서버의 사용자 ID를 지정합니다. + externalKafka { + brokerHostName = "csle1" # 외부 Kafka broker서버 도메인 이름을 지정합니다. + brokerHostIp = "192.168.0.xxx" # 외부 Kafka broker서버 IP을 지정합니다. + } + } + tensorflow { + enable = "true" + python_path = "/anaconda3/envs/tensorflow/bin/python" # 사용자 PC의 tensorflow python 위치를 지정합니다. + python_code_project_path = "/analysis" + } + pyspark { + python_path = "/anaconda3/bin/python" # 사용자 PC의 python 위치를 지정합니다. + python_code_project_path = "/pyML" + } + spark { + home = "/spark" # 사용자 PC의 spark home 위치를 지정합니다. + bin = "/spark/bin/spark-submit" + master = "local[*]" # spark master 모드를 지정합니다. + deploy = "client" # spark deploy 모드를 지정합니다. + logging = "true" + autoIncreaseModelPath = "true" + } + yarn { + home = "/hadoop/bin" # 사용자 PC의 yarn 위치를 지정합니다. + } + postgres { + db = "csledb" + uri = "jdbc:postgresql://localhost:5432/csledb" + user = "csle" + password = "csle1234" + } + hadoop { + home = "/hadoop/" # 사용자 PC의 hadoop 위치를 지정합니다. + master = "csle1" # 사용자 PC의 hadoop master 이름을 지정합니다. + port = "9000" # 사용자 PC의 hadoop master port를 지정합니다. + hdfs { + activated = "true" + baseDir = "/user/" + modelPath = "/model" + datasetPath = "/dataset" + } + webhdfs { + port = "50070" + baseDir = "/webhdfs/v1" + } + } + hbase.zookeeper.quorum = "localhost" + kbe { + serverIp = "localhost" + serverPort = "9876" + serverType = "jena" + } +} +``` + +## bashrc 설정 추가하기 +csle 계정의 bashrc 파일을 업데이트 합니다. + +```sh +cat <> ~/.bashrc + export JAVA_HOME=/usr/lib/jvm/java-8-oracle + export PATH=$PATH:$JAVA_HOME/bin + export KSB_HOME=/home/csle/ksb-csle + export PYTHONPATH=/home/csle/ksb-csle/pyML/:$PYTHONPATH + export PYTHONPATH=./:/home/csle/ksb-csle/ksblib:$PYTHONPATH +EOT +source ~/.bashrc +``` + +## KSB 웹툴킷을 사용하기 위한 사용자 계정 추가하기 +KSB 웹툴킷에 저장된 다양한 예제를 사용하기 위해서는 웹툴킷 사용자(id: ksbuser@etri.re.kr)에 대한 Ubuntu 및 Hadoop hdfs 계정 추가가 필요합니다. + +### Ubuntu 사용자 계정 추가하기 +```sh +csle$myHostName: sudo adduser ksbuser_etri_re_kr + +[sudo] password for csle: +'ksbuser_etri_re_kr' 사용자를 추가 중... +새 그룹 'ksbuser_etri_re_kr' (1011) 추가 ... +새 사용자 'ksbuser_etri_re_kr' (1011) 을(를) 그룹 'ksbuser_etri_re_kr' (으)로 추가 ... +'/home/ksbuser_etri_re_kr' 홈 디렉터리를 생성하는 중... +'/etc/skel'에서 파일들을 복사하는 중... + +새 UNIX 암호 입력: # ksbuser_etri_re_kr를 입력하세요 +새 UNIX 암호 재입력: # ksbuser_etri_re_kr를 입력하세요 +passwd: 암호를 성공적으로 업데이트했습니다 + +새로운 값을 넣거나, 기본값을 원하시면 엔터를 치세요 +이름 []: +방 번호 []: +직장 전화번호 []: +집 전화번호 []: +기타 []: +정보가 올바릅니까? [Y/n] Y +``` + +### sudo 권한 부여하기 +```sh +csle$myHostName: sudo usermod -aG sudo ksbuser_etri_re_kr +``` + +### 계정 추가 확인하기 +```sh +csle$myHostName: su - ksbuser_etri_re_kr + +ksbuser_etri_re_kr$myHostName: sudo ll +합계 32 +drwxr-xr-x 2 ksbuser_etri_re_kr ksbuser_etri_re_kr 4096 6월 30 08:37 ./ +drwxr-xr-x 14 root root 4096 6월 30 08:36 ../ +-rw-r--r-- 1 ksbuser_etri_re_kr ksbuser_etri_re_kr 220 6월 30 08:36 .bash_logout +-rw-r--r-- 1 ksbuser_etri_re_kr ksbuser_etri_re_kr 3771 6월 30 08:36 .bashrc +-rw-r--r-- 1 ksbuser_etri_re_kr ksbuser_etri_re_kr 655 6월 30 08:36 .profile +-rw-r--r-- 1 ksbuser_etri_re_kr ksbuser_etri_re_kr 0 6월 30 08:37 .sudo_as_admin_successful +-rw-r--r-- 1 ksbuser_etri_re_kr ksbuser_etri_re_kr 8980 6월 30 08:36 examples.desktop +``` + +### Hadoop Hdfs 사용자 계정 추가하기 +사용자 환경에 맞게 설치되어 있는 Hadoop Hdfs를 가동한 후, 아래 명령을 이용하여 hdfs에 ksbuser_etri_re_kr 사용자 폴더를 추가합니다. + +```sh +csle$myHostName: su - csle +csle$myHostName: hdfs dfs -mkdir -p /user/ksbuser_etri_re_kr/dataset +csle$myHostName: hdfs dfs -mkdir -p /user/ksbuser_etri_re_kr/model + +csle$myHostName: hdfs dfs -chown ksbuser_etri_re_kr:supergroup /user/ksbuser_etri_re_kr/ +csle$myHostName: hdfs dfs -chown ksbuser_etri_re_kr:supergroup /user/ksbuser_etri_re_kr/dataset +csle$myHostName: hdfs dfs -chown ksbuser_etri_re_kr:supergroup /user/ksbuser_etri_re_kr/model +``` + +## KSB 웹툴킷 설치하기 + KSB 웹툴킷 설치하기 페이지를 통해 KSB 웹툴킷을 설치합니다. + + +## KSB 지식베이스 엔진 설치하기 + +KSB 지식베이스엔진(KSB-Knowledge Engine)을 사용하기 위한 절차 및 예제를 소개합니다. + +### Play framework Activator 설치하기 +KSB 지식베이스 엔진은 Play framework 기반 엔진이며, 이를 실행하기 위해서는 [Play framework Activator][8580869d]를 사전에 설치해야 합니다. + +[8580869d]: +https://downloads.typesafe.com/typesafe-activator/1.3.12/typesafe-activator-1.3.12.zip "Play framework Activator" + +```sh +# Play framework Activator 다운로드 +wget https://downloads.typesafe.com/typesafe-activator/1.3.12/typesafe-activator-1.3.12.zip + +# 압축해제 +unzip typesafe-activator-1.3.12.zip + +# Activator bin 경로를 환경변수에 등록 +export PATH="/home/csle/activator-dist-1.3.12/bin:$PATH" +``` + +### KSB 지식베이스 엔진 시작 및 종료 하기 +KSB 지식베이스 엔진을 시작하려면, 해당폴더 (/home/csle/ksb-csle/bin)로 이동하여, startknowledge_service.sh 스크립트를 ip address와 port 번호와 함께 실행합니다. + +```sh +# KSB 지식베이스 실행 스크립트가 있는 경로로 이동 +cd /home/csle/ksb-csle/bin +# KSB 지식베이스 엔진 시작 (./startknowledge_service.sh ip_address port_number) +./startknowledge_service.sh 127.0.0.1 9876 +``` + +KSB 지식베이스 엔진을 종료하려면, 해당폴더 (/home/csle/ksb-csle/bin)로 이동하여, stopKnowledge_service.sh 스크립트를 실행합니다. + +```sh +# KSB 지식베이스 엔진 종료 +./stopKnowledge_service.sh +``` + +### 온톨로지 파일 Upload 하기 + +KSB 지식베이스 엔진이 Start 되어 있는 상황에서, 사용자가 로컬 파일에 작성된 온톨로지 파일(.owl, .rdf, .rdfs)을 KSB 지식베이스 엔진에 Upload 하는 기능을 설명합니다. 본 예제에서는 KSB 지식베이스 엔진 내부 폴더에 제공하는 공통 온톨로지 파일을 이용합니다. + +```sh +# 예제 수행 온톨로지 확인을 위해 해당 경로로 이동 +cd /home/csle/ksb-knowledge/KBE/ontologies +``` + +![KSB 공통 온톨로지](./images/1.3_HowToInstallKsbFrameWork_02.png "KSB 공통 온톨로지") + +```sh +# Curl 명령어 restful request 수행 (url: /loadOntologies, parameter: 온톨로지 경로) +curl -X POST http://127.0.0.1:9876/loadOntologies -H 'Cache-Control: no-cache' -H 'Content-Type: text/plain' -d ./ontologies +``` + +![KSB 지식베이스 엔진 온톨로지 upload 화면](./images/1.3_HowToInstallKsbFrameWork_03.png "KSB 지식베이스 엔진 온톨로지 upload 화면") + +KSB 지식베이스 엔진에 Upload된 온톨로지는 KSB 지식베이스 엔진이 제공하는 쿼리 Restful API(``http://127.0.0.1:9876/query``)를 통해 확인할 수 있습니다. 이를 위해 Restful Client(본 예제에서는 Postman)를 실행하고, URL과 질의 쿼리 내용을 아래와 같이 입력하여 실행합니다. + +```sh +# 본 쿼리는 SPAQRL 1.1의 형태의 질의이며, 이는 온톨로지 thing:Thing 클래스의 서브 클래스를 검색하기 위한 쿼리입니다. +PPREFIX rdfs: +PREFIX owl: +PREFIX workflow: +PREFIX thing: +select * where { + ?s rdfs:subClassOf thing:Thing. + FILTER (!isBlank(?s)) +} +``` + +![온톨로지 Upload 결과 확인 화면](./images/1.3_HowToInstallKsbFrameWork_04.png "온톨로지 Upload 결과 학인 화면") + + +## IoE 사물 등록 +KSB 지식베이스 엔진은 IoE 정보를 지식화하여 정보의 연계, 추론을 통한 지식정보를 사용자에게 제공하는 기능이 있습니다. IoE 표준(oneM2M)의 사물 스펙을 지식화하는 기능을 제공합니다. + +본 예제에서는 Json 포맷의 사물 스펙을 사용합니다. + +```sh +# Json 포맷의 사물 스펙(예제로 사용한 IoE 사물의 id는 a1234이며, indoor temperature and humidity 센서입니다.) +{ + "version": "1.0", + "id": "a1234", + "registrationTime": "20170102112233", + "properties": { + "name": "indoor_env_1", + "owner": "foo@gmail.com", + "description": "indoor temperature and humidity", + "gid": "global_unique_id_1", + "model": "modelA", + "coordinates": { + "latitude": 33.3, + "longitude": 122.2, + "altitude": 0 + }, + "location": "seoul korea", + "users": ["bar@gmail.com"], + "tag": ["my room", "temperature", "humidity"], + "madeBy": "companyA", + "hostedBy": "companyB" + }, + "resources": [ + { + "name": "sensors", + "description": "temperature and humidity in my room", + "attributes": [ + { + "name": "temperature", + "dataType": "double", + "unit": "celsius", + "min": "-80", + "max": "80", + "description": "temperature in my room" + }, + { + "name": "humidity", + "dataType": "double", + "unit": "percent", + "min": "0", + "max": "100", + "description": "humidity in my room" + } + ], + "operations": [ + { + "opType": "get", + "args": ["temperature", "humidity"], + "description": "get current temperature and humidity" + } + ] + } + ] + } +``` +KSB 지식베이스 엔진이 제공하는 사물등록 Restful API (``http://127.0.0.1:9876/registThing``)를 통해 KSB 지식베이스 엔진에 사물 스펙정보를 등록 할 수 있습니다. + +![사물등록 화면](./images/1.3_HowToInstallKsbFrameWork_05.png "사물등록 화면") + +다음과 같은 쿼리 Restful API을 수행하여 결과를 확인합니다. + +```sh +# 본 쿼리는 SPAQRL 1.1의 형태의 질의이며, 이는 온톨로지 thing:Thing 클래스의 인스턴스를 검색하기 위한 쿼리입니다. +PPREFIX rdfs: +PREFIX owl: +PREFIX workflow: +PREFIX thing: +select * where { + ?s rdf:type thing:Thing. +} +``` +![사물등록확인화면](./images/1.3_HowToInstallKsbFrameWork_06.png "사물등록확인화면") + +## IoE 사물 센서데이터를 통해 지식추론하기 + +KSB 지식베이스 엔진은 IoE 디바이스의 센서데이터를 이용하여, 상황을 추론할 수 있는 기능을 제공합니다. +본 예제의 시나리오는 앞에서 등록된 온도센서(thing id : a1234)로부터 온도가 28도 이상이면 더운 상황(HotContext)을 추론하고, +추론된 정보를 통해 Hue(thing id : S_HUE_light_3)를 파란색으로 켜는 동작을 하는 간단한 시나리오 입니다. + +이를 위해 Hue의 제어 명령을 등록합니다. (Restful API: ``http://127.0.0.1:9876/addDeviceControl``) + +```sh +# Json 포맷의 사물제어 스펙(id S_HUE_light_3의 Hue) +[ + {"id":"hue_turnon_Blue", + "thingId":"S_HUE_light_3", + "resourceId":"controller", + "operationId":"setState", + "controlContents":[ + {"name":"on","value":"true"}, + {"name":"bri","value":"254"}, + {"name":"hue","value":"46920"}, + {"name":"sat","value":"254"} + ] + }, + {"id":"hue_turnon_Red", + "thingId":"S_HUE_light_3", + "resourceId":"controller", + "operationId":"setState", + "controlContents":[ + {"name":"on","value":"true"}, + {"name":"bri","value":"254"}, + {"name":"hue","value":"65535"}, + {"name":"sat","value":"254"} + ] + }, + {"id":"hue_turnon_Green", + "thingId":"S_HUE_light_3", + "resourceId":"controller", + "operationId":"setState", + "controlContents":[ + {"name":"on","value":"true"}, + {"name":"bri","value":"254"}, + {"name":"hue","value":"25500"}, + {"name":"sat","value":"254"} + ] + } +] +``` + +추론 규칙을 적용하기 위해, KSB-Knowledge/KBE/rules 폴더의 "KBE.rues" 파일을 열고 아래와 같이 추론 규칙을 추가합니다. + +```sh +# 온도센서의 센싱값이 28이상이면 이벤트 Temp_HOT을 생성합니다. +[domain_temperature_hot: + (?e event:hasEventValue ?v), + (?v thing:hasType ?t), + (?t thing:attributeName ?name), + equal(?name, "temperature"), + (?v thing:hasValue ?value), + ge(?value, 28) + -> + (?e event:hasEventStatus domain:Temp_HOT) + ] + # 이벤트 Temp_HOT이면 더운 상황(HotContext)을 생성합니다. + [HotContext_context: + (?e event:hasEventStatus domain:Temp_HOT) + -> (?e rdf:type domain:HotContext) + ] + # 더운 상황(HotContext)이면 Hue를 파란색으로 켭니다. + [HotContext_service: + (?e rdf:type domain:HotContext) + -> + (?e service:derives domain:hue_turnon_Blue) + ] +``` + +본 예제를 실행하기 위해 온도센서(thing id: a1234)의 값을 32.6으로 설정하고, Restful API(``http://127.0.0.1:9876/recommendDeviceControl``)를 실행합니다. + +```sh +# 온도센서(thingId : a1234)의 센싱값이 32.6으로 설정합니다. +{ + "thingId": "a1234", + "resourceId": "sensors", + "time": "20170330103347", + "values": [ + { + "name": "temperature", + "value": "32.6" + } + ] + } +``` + +Restful API를 실행한 결과는 다음과 같습니다. + +```sh +# 상황(context)가 "HotContext"이고, 상황에 따른 서비스(service)가 "hue_turnon_Blue"이며 그것에 해당하는 사물 제어정보를 리턴합니다. +[ + { + "thingId": "S_HUE_light_3", + "resourceId": "controller", + "context": [ + "HotContext" + ], + "service": "hue_turnon_Blue", + "controls": { + "sat": "254", + "hue": "46920", + "bri": "254", + "on": "true" + } + } +] +``` +![사물추론 확인화면](./images/1.3_HowToInstallKsbFrameWork_07.png "사물추론 확인화면") diff --git a/manual1903/1.3.HowToInstallKsbFrameWork.md b/manual1903/1.3.HowToInstallKsbFrameWork.md new file mode 100644 index 0000000000000000000000000000000000000000..a5e67e0f90b067b5af401ecb1191d9aab14e7ca1 --- /dev/null +++ b/manual1903/1.3.HowToInstallKsbFrameWork.md @@ -0,0 +1,860 @@ +--- +html: + toc: true + offline: true +export_on_save: + html: true +--- +# KSB 인공지능 프레임워크 설치 +----------- +제공된 KSB 툴박스 docker image를 사용하지 않고, 직접 Host PC에 KSB 인공지능 프레임워크를 설치하기 위해서 아래의 오픈소스 프레임워크들을 설치합니다. 사용자 csle 계정을 생성한 후 아래 프로그램들을 설치합니다. + +## [Host PC] csle 사용자 계정(권한 : administrator) 생성하기 + +Host PC에 기존 Ubuntu 사용자와 설치환경을 분리하기 위해 아래의 명령으로 csle 계정을 추가 생성합니다. + +```sh +sudo adduser csle + Adding user 'csle' ... + Adding new group 'csle' (1001) ... + Adding new user 'csle' (1001) with group 'csle' ... + Creating home directory '/home/csle' ... + Copying files from '/etc/skel' ... + 새 UNIX 암호 입력: + 새 UNIX 암호 재입력: + passwd: password updated successfully + Changing the user information for csle + Enter the new value, or press ENTER for the default + Full Name []: + Room Number []: + Work Phone []: + Home Phone []: + Other []: + Is the information correct? [Y/n] Y +``` +/etc/sudoers를 열어 csle 계정에 administrator 권한을 추가합니다. +"경고: 읽기 전용 파일을 고치고 있습니다" 경고는 무시하고 저장하고 나옵니다. +```sh +sudo vi /etc/sudoers + # User privilege specification + root ALL=(ALL:ALL) ALL + # 맨 아래줄에 내용을 추가합니다. + #includedir /etc/sudoers.d + csle ALL=(ALL) NOPASSWD: ALL +``` + +## [Host PC] hostname을 csle1으로 변경하기 + +docker 컨테이너가 호스트 pc의 네트워크를 동일하게 사용하는 host 모드로 동작하기 위해 docker 컨테이너와 호스트 pc의 호스트네임을 동일하게 합니다. + +```sh +sudo vi /etc/hostname +csle1 +``` +PC를 재부팅하여 csle 계정으로 로그인합니다. + +## [Host PC] /etc/hosts 수정하기 + +KSB 웹툴킷에 쉽게 접근하기 위해 아래와 같이 /etc/hosts 내용을 수정합니다. (host pc의 IP는 10.0.2.15로 가정합니다. 자신의 PC IP에 맞게 설정합니다.) + +```sh +127.0.0.1 localhost +# 아래 주석처리. Hdfs 연동시 문제가 생김. +#127.0.1.1 csle1 + +# The following lines are desirable for IPv6 capable hosts +::1 ip6-localhost ip6-loopback +fe00::0 ip6-localnet +ff00::0 ip6-mcastprefix +ff02::1 ip6-allnodes +ff02::2 ip6-allrouters + +# 아래의 내용 추가 +10.0.2.15 csle1 master +``` + +## [Host PC] java-8-oracle 설치하기 + +Host PC에 Ubuntu 16.04를 처음 설치한 경우 java 8을 설치합니다. 아래의 내용을 터미널에 복사하여 설정가능합니다. + +```sh +sudo apt-get update && \ +sudo apt-get install -y python-software-properties && \ +sudo add-apt-repository -y ppa:webupd8team/java && \ +sudo apt-get update && \ +echo "oracle-java8-installer \ +shared/accepted-oracle-license-v1-1 select true" \ +| sudo debconf-set-selections && \ +sudo apt-get install -y oracle-java8-installer +``` + +터미널을 다시 시작한 후, 아래의 명령으로 java 설치 여부를 확인합니다. + +```sh +csle@csle1:~$ java -version +java version "1.8.0_181" +Java(TM) SE Runtime Environment (build 1.8.0_181-b13) +Java HotSpot(TM) 64-Bit Server VM (build 25.181-b13, mixed mode) +``` + +가끔 오라클에서 jdk 버전을 업데이트 하면 아래와 같은 에러가 발생하며 jdk가 설치되지 않는 경우가 있습니다. +```sh +접속 download.oracle.com (download.oracle.com)|23.35.220.157|:80... 접속됨. +HTTP request sent, awaiting response... 404 Not Found +2018-10-17 11:08:56 ERROR 404: Not Found. + +download failed +Oracle JDK 8 is NOT installed. +dpkg: error processing package oracle-java8-installer (--configure): + 설치한 post-installation 스크립트 하위 프로세스가 오류 1번을 리턴했습니다 +처리하는데 오류가 발생했습니다: + oracle-java8-installer +E: Sub-process /usr/bin/dpkg returned an error code (1) +``` + +해결방법은 오라클 사이트에 방문하여 최신 버전(2018.10.21. 기준 : 8u191)을 jdk-8u191-linux-x64.tar.gz 파일을 다운받습니다. +https://www.oracle.com/technetwork/java/javase/downloads/jdk8-downloads-2133151.html + +그리고, 아래의 스크립트에서 다운받은 파일의 위치와 버전 부분만을 수정한 후, 터미널에 복사하면 직접 설치가능합니다. +```sh +sudo mkdir /usr/lib/jvm +cd /usr/lib/jvm +sudo tar -xvzf /home/csle/jdk-8u191-linux-x64.tar.gz # 수정 필요 +sudo mv jdk1.8.0_191/ java-8-oracle/ # 수정 필요 + +sudo truncate -s0 /etc/environment +echo "PATH=/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:\ +/sbin:/bin:/usr/games:/usr/local/games:/usr/lib/jvm/java-8-oracle/bin:\ +/usr/lib/jvm/java-8-oracle/db/bin:/usr/lib/jvm/java-8-oracle/jre/bin" |\ +sudo tee -a /etc/environment >/dev/null && \ +echo "J2SDKDIR=/usr/lib/jvm/java-8-oracle" | \ +sudo tee -a /etc/environment >/dev/null && \ +echo "J2REDIR=/usr/lib/jvm/java-8-oracle/jre*" | \ +sudo tee -a /etc/environment >/dev/null && \ +echo "JAVA_HOME=/usr/lib/jvm/java-8-oracle" | \ +sudo tee -a /etc/environment >/dev/null && \ +echo "DERBY_HOME=/usr/lib/jvm/java-8-oracle/db" | \ +sudo tee -a /etc/environment >/dev/null + +sudo update-alternatives --install \ +"/usr/bin/java" "java" "/usr/lib/jvm/java-8-oracle/bin/java" 0 +sudo update-alternatives --install \ +"/usr/bin/javac" "javac" "/usr/lib/jvm/java-8-oracle/bin/javac" 0 +sudo update-alternatives --set java /usr/lib/jvm/java-8-oracle/bin/java +sudo update-alternatives --set javac /usr/lib/jvm/java-8-oracle/bin/javac +update-alternatives --list java +update-alternatives --list javac +``` +## [Host PC] KSB 관련 프로그램 설치하기 + +Host PC에 아래의 명령으로 KSB 관련 프로그램을 설치합니다. 아래의 내용을 터미널에 복사하여 설정가능합니다. + +```sh +sudo apt-get update && \ +sudo apt-get install -y --no-install-recommends apt-utils curl bc jq && \ +sudo apt-get install -y ssh locales wget git vim rsync locales \ +filezilla python3-pip && \ +sudo apt-get install -y net-tools && \ +pip3 install kafka-python +``` + +## [Host PC] SSH port 변경 및 root 로그인 가능하도록 SSHD config 수정하기 +아래의 명령을 수행하여 포트 정보를 2243로 수정하고, root 로그인을 허용합니다. + +```sh +sudo sed -ri 's/^Port 22/Port 2243/g' /etc/ssh/sshd_config +sudo sed -ri \ +'s/^PermitRootLogin prohibit-password/PermitRootLogin yes/g' \ +/etc/ssh/sshd_config +``` + +## [Host PC] SSH config 수정하기 (known_hosts에 호스트 저장 질문을 하지 않도록 설정) +아래의 명령을 수행하여 ssh_config의 기존 내용을 모두 삭제하고 설정을 추가합니다. 아래의 내용을 터미널에 복사하여 설정가능합니다. + +```sh +sudo truncate -s0 /etc/ssh/ssh_config +echo "Host localhost" \ +| sudo tee -a /etc/ssh/ssh_config >/dev/null +echo "StrictHostKeyChecking no" \ +| sudo tee -a /etc/ssh/ssh_config >/dev/null +echo "Host 0.0.0.0" \ +| sudo tee -a /etc/ssh/ssh_config >/dev/null +echo "StrictHostKeyChecking no" \ +| sudo tee -a /etc/ssh/ssh_config >/dev/null +echo "Host 127.0.0.1" \ +| sudo tee -a /etc/ssh/ssh_config >/dev/null +echo "StrictHostKeyChecking no" \ +| sudo tee -a /etc/ssh/ssh_config >/dev/null +echo "Host csle*" \ +| sudo tee -a /etc/ssh/ssh_config >/dev/null +echo "StrictHostKeyChecking no" \ +| sudo tee -a /etc/ssh/ssh_config >/dev/null +echo "UserKnownHostsFile=/dev/null" \ +| sudo tee -a /etc/ssh/ssh_config >/dev/null +echo "Host master" \ +| sudo tee -a /etc/ssh/ssh_config >/dev/null +echo "StrictHostKeyChecking no" \ +| sudo tee -a /etc/ssh/ssh_config >/dev/null +echo "UserKnownHostsFile=/dev/null" \ +| sudo tee -a /etc/ssh/ssh_config >/dev/null +sudo service ssh restart +``` + +## [Host PC] Hadoop 2.7.3 설치하기 +아래 링크를 참고하여 사용자의 PC 혹은 클러스터 환경에 맞게 설치합니다. + +참고링크 : https://hadoop.apache.org/docs/r2.7.3/ +다운로드 링크 : https://archive.apache.org/dist/hadoop/common/hadoop-2.7.3/ + +**[KSB 툴박스를 이용한 설치 방법]** +KSB 툴박스를 동작시킨 상태에서 docker 컨테이너로부터 hadoop 설정 파일을 복사하여 설치할 수도 있습니다. +먼저 도커에 접속하는 방법을 참고하여 접속합니다. ( Filezilla를 이용하여 KSB 툴박스 docker 컨테이너에 접속하기 ) +도커에 있는 hadoop-2.7.3 폴더를 Host PC의 /home/csle 폴더에 복사합니다. +또한, /home/csle/data 폴더의 hdfs 관련 정보저장 폴더를 /home/csle 폴더에 복사합니다. +그리고, ssh 포트 정보를 'hadoop-env.sh'파일에 추가합니다. + +```sh +vi /home/csle/hadoop-2.7.3/etc/hadoop/hadoop-env.sh +export HADOOP_SSH_OPTS="-p 2243" +``` +마지막으로 심볼릭링크을 설정합니다. + +```sh +ln -s /home/csle/hadoop-2.7.3 /home/csle/hadoop +``` + +## [Host PC] spark-2.3.0-bin-hadoop2.7 설치하기 +아래 링크를 참고하여 사용자의 PC 혹은 클러스터 환경에 맞게 설치합니다. + +참고링크 : https://spark.apache.org/downloads.html +다운로드 링크 : https://spark.apache.org/downloads.html + +**[KSB 툴박스를 이용한 설치 방법]** +KSB 툴박스를 동작시킨 상태에서 docker 컨테이너로부터 spark 설정 파일을 복사하여 설치할 수도 있습니다. +먼저 도커에 접속하는 방법을 참고하여 접속합니다. ( Filezilla를 이용하여 KSB 툴박스 docker 컨테이너에 접속하기 ) +도커에 있는 spark-2.3.0-bin-hadoop2.7 폴더를 /home/csle 폴더에 복사합니다. + +그리고 심볼릭링크을 설정합니다. + +```sh +ln -s /home/csle/spark-2.3.0-bin-hadoop2.7 /home/csle/spark +``` + +## [Host PC] hbase 1.2.4(optional) 설치하기 +아래 링크를 참고하여 사용자의 PC 혹은 클러스터 환경에 맞게 설치합니다. + +참고링크 : https://hbase.apache.org/book.html +다운로드 링크 : https://archive.apache.org/dist/hbase/1.2.4/ + +**[KSB 툴박스를 이용한 설치 방법]** +KSB 툴박스를 동작시킨 상태에서 docker 컨테이너로부터 hbase 설정 파일을 복사하여 설치할 수도 있습니다. +먼저 도커에 접속하는 방법을 참고하여 접속합니다. ( Filezilla를 이용하여 KSB 툴박스 docker 컨테이너에 접속하기 ) +도커에 있는 hbase-1.2.4 폴더를 /home/csle 폴더에 폴더에 복사합니다. +그리고, ssh 포트 정보를 'hbase-env.sh'파일에 추가합니다. + +```sh +vi /home/csle/hbase-1.2.4/conf/hbase-env.sh +export HBASE_SSH_OPTS="-p 2243" +``` +그리고 심볼릭링크을 설정합니다. + +```sh +ln -s /home/csle/hbase-1.2.4 /home/csle/hbase +``` + +## [Host PC] kafka 2.11-0.10.0.1(optional) 설치하기 +아래 링크를 참고하여 사용자의 PC 혹은 클러스터 환경에 맞게 설치합니다. + +참고링크 : https://kafka.apache.org/ +다운로드 링크 : https://kafka.apache.org/downloads + +**[KSB 툴박스를 이용한 설치 방법]** +KSB 툴박스를 동작시킨 상태에서 docker 컨테이너로부터 kafka 설정 파일을 복사하여 설치할 수도 있습니다. +먼저 도커에 접속하는 방법을 참고하여 접속합니다. ( Filezilla를 이용하여 KSB 툴박스 docker 컨테이너에 접속하기 ) +도커에 있는 kafka_2.11-0.10.0.1 폴더를 /home/csle 폴더에 복사합니다. +그리고 심볼릭링크을 설정합니다. + +```sh +ln -s /home/csle/kafka_2.11-0.10.0.1 /home/csle/kafka +``` + +## [Host PC] zookeeper 3.4.9(optional) 설치하기 +아래 링크를 참고하여 사용자의 PC 혹은 클러스터 환경에 맞게 설치합니다. + +참고링크 : https://zookeeper.apache.org/ +다운로드 링크 : https://archive.apache.org/dist/zookeeper/zookeeper-3.4.9/ + +**[KSB 툴박스를 이용한 설치 방법]** +KSB 툴박스를 동작시킨 상태에서 docker 컨테이너로부터 zookeeper 설정 파일을 복사하여 설치할 수도 있습니다. +먼저 도커에 접속하는 방법을 참고하여 접속합니다. ( Filezilla를 이용하여 KSB 툴박스 docker 컨테이너에 접속하기 ) +도커에 있는 zookeeper-3.4.9 폴더를 /home/csle 폴더에 복사합니다. +그리고 심볼릭링크을 설정합니다. + +```sh +ln -s /home/csle/zookeeper-3.4.9 /home/csle/zookeeper +``` + +## [Host PC] bashrc 설정 추가하기 +csle 계정의 bashrc 파일을 업데이트 합니다. + +```sh +echo "export JAVA_HOME=/usr/lib/jvm/java-8-oracle" >> ~/.bashrc +echo "export PATH=\$PATH:\$JAVA_HOME/bin" >> ~/.bashrc +echo "export PATH=/opt/apache-maven-3.3.9/bin:\$PATH" >> ~/.bashrc +echo "export HADOOP_HOME=/home/csle/hadoop-2.7.3" >> ~/.bashrc +echo "export HADOOP_PREFIX=\$HADOOP_HOME" >> ~/.bashrc +echo "export PATH=\$PATH:\$HADOOP_PREFIX/bin" >> ~/.bashrc +echo "export PATH=\$PATH:\$HADOOP_PREFIX/sbin" >> ~/.bashrc +echo "export HADOOP_CONF_DIR=\$HADOOP_HOME/etc/hadoop" >> ~/.bashrc +echo "export YARN_CONF_DIR=\$HADOOP_HOME/etc/hadoop" >> ~/.bashrc +echo "export HADOOP_MAPRED_HOME=\${HADOOP_PREFIX}" >> ~/.bashrc +echo "export HADOOP_COMMON_HOME=\${HADOOP_PREFIX}" >> ~/.bashrc +echo "export HADOOP_HDFS_HOME=\${HADOOP_PREFIX}" >> ~/.bashrc +echo "export YARN_HOME=\${HADOOP_PREFIX}" >> ~/.bashrc +echo "export HADOOP_COMMON_LIB_NATIVE_DIR=\${YARN_HOME}/lib/native">>\ +~/.bashrc +echo \ +"export HADOOP_OPTS="-Djava.library.path=\$YARN_HOME/lib/native"" >>\ +~/.bashrc +echo "export ZOOKEEPER_HOME=/home/csle/zookeeper-3.4.9" >> ~/.bashrc +echo "export ZOOKEEPER_PREFIX=\$ZOOKEEPER_HOME" >> ~/.bashrc +echo "export ZOO_LOG_DIR=\$ZOOKEEPER_HOME/logs" >> ~/.bashrc +echo "export PATH=\$PATH:\$ZOOKEEPER_HOME/bin" >> ~/.bashrc +echo "export SPARK_HOME=/home/csle/spark-2.3.0-bin-hadoop2.7" >>\ +~/.bashrc +echo "export PATH=\$PATH:\$SPARK_HOME/bin" >> ~/.bashrc +echo "export HBASE_HOME=/home/csle/hbase-1.2.4" >> ~/.bashrc +echo "export PATH=\$PATH:\$HBASE_HOME/bin" >> ~/.bashrc +echo "export KAFKA_HOME=/home/csle/kafka_2.11-0.10.0.1" >> ~/.bashrc +echo "export PATH=\$PATH:\$KAFKA_HOME/bin" >> ~/.bashrc +echo "export \ +MONGODB_HOME=/home/csle/mongodb-linux-x86_64-ubuntu1404-3.4.1" >>\ +~/.bashrc +echo "export PATH=\$PATH:\$MONGODB_HOME/bin" >> ~/.bashrc +echo "export LANGUAGE=ko_KR.UTF-8" >> ~/.bashrc +echo "export LANG=ko_KR.UTF-8" >> ~/.bashrc +echo "export PATH=/home/csle/anaconda3/bin:\$PATH" >> ~/.bashrc +echo "export ACTIVATOR_HOME=/home/csle/activator-dist-1.3.12" >>\ +~/.bashrc +echo "export PATH=\$PATH:\$ACTIVATOR_HOME/bin" >> ~/.bashrc +echo "export PATH=\$PATH:/home/csle/KBE" >> ~/.bashrc +echo "export KSB_HOME=/home/csle/ksb-csle" >> ~/.bashrc +echo "export PYTHONPATH=/home/csle/ksb-csle/pyML/:\$PYTHONPATH" >>\ +~/.bashrc +echo "export PYTHONPATH=./:/home/csle/ksb-csle/ksblib:\$PYTHONPATH" >>\ +~/.bashrc +echo "export PYSPARK_PYTHON=/home/csle/anaconda3/bin/python" >>\ +~/.bashrc +echo "export PYSPARK_DRIVER_PYTHON=/home/csle/anaconda3/bin/python" >>\ +~/.bashrc +echo "export PATH=\$PATH:/home/csle/anaconda3/bin/" >> ~/.bashrc +source ~/.bashrc +``` + +## [Host PC] Anaconda3 설치하기 +가상환경을 이용하여 tensorflow cpu버전을 설치하기 위해 anaconda3를 홈페이지(https://repo.anaconda.com/archive/)에서 + "Anaconda3-4.2.0-Linux-x86_64.sh"버전을 다운받습니다. +아래의 명령을 이용하여 csle 홈 폴더에 anaconda3를 설치합니다. + +```sh +bash Anaconda3-4.2.0-Linux-x86_64.sh -b -p /home/csle/anaconda3 +``` + +### [Host PC] 기타 라이브러리 설치하기 +pyspark에서 사용하는 python에 관련 라이브러리를 설치합니다. + +```sh +conda update -y conda && \ +conda install -c conda-forge protobuf && \ +pip install py4j && \ +pip install --upgrade pip && \ +pip install hdfs && \ +conda install -y hdfs3 libhdfs3 -c conda-forge +``` +## [Host PC] tensorflow 설치하기 (cpu버전) +tensorflow 설치를 위한 가상환경을 설치합니다. + +```sh +conda update -y conda && \ +conda create -y -n tensorflow python=3.5 +``` + +```sh +source activate tensorflow +pip install "tensorflow==1.6.0" && \ +pip install setuptools && \ +pip install matplotlib && \ +pip install pandas && \ +pip install scikit-optimize && \ +pip install hdfs && \ +conda install -y hdfs3 libhdfs3 -c conda-forge +source deactivate +``` +## [Host PC] KSB 툴박스 파일 설치하기 +KSB 프레임워크를 호스트 서버에 직접 설치하는 경우에도 ksb_toolbox_v1.tar.gz 파일이 필요합니다. + 다운로드 페이지로부터 KSB 툴박스 파일을 다운로드합니다. + - ksb_toolbox_v1.tar.gz : KSB 툴박스 파일 +
+ +csle 사용자 계정의 home에 ksb_toolbox_v1.tar.gz 압축을 해제합니다. 결과적으로 /home/csle/ksb-csle 폴더가 생성됩니다. +```sh + csle@csle1:~$ tar zxvf ksb_toolbox_v1.tar.gz -C /home/csle/ +``` + +/home/csle/ksb-csle 폴더는 다음의 하위 폴더들로 구성됩니다. + - /bin : KSB 프레임워크 shell 스크립트 파일 저장 폴더 + - /components : tensorflow train 예제 프로그램 저장 폴더 + - /conf : KSB 프레임워크 환경설정 파일 저장 폴더 + - /docker : KSB 툴박스 docker 컨테이너 실행 스크립트 저장 폴더 + - /examples : CLI(Command Line Interface)를 통해 워크플로우 생성 및 submit 할 수 있는 프로젝트 폴더 + - /jars : KSB 프레임워크 1.0 버전의 jar 파일 저장 폴더 + - /ksblib : python 전처리 라이브러리 폴더 + - /kubernetes : 쿠버네티스 환경설정 폴더 + - /logs : log 저장 폴더 + - /pyML : autoML python 프로젝트 폴더 + - /tools: 예제 테스트를 위한 프로그램(jmeter, hadoop, kafka, maven, .ssh) +
+ + +## [Host PC] ksb-csle config 파일 설정하기 +/home/csle/ksb-csle/conf/ksb.conf 파일을 사용자 PC에 맞게 수정합니다. + +```sh +csle { + user { + home = "/home/csle" # 사용자 home 디렉토리를 지정합니다. + } + home = "/home/csle/ksb-csle" # KSB home 디렉토리를 지정합니다. + submit.cli = "true" + scheduler.initialization = "false" +} + +servers { + gateway { + baseUrl = "http://KSB_GATEWAY:SERVICEPORT" + } + kubernetes { + enable = "false" + baseUrl = "http://SERVICENAME.ksb.local:30100" + imgRepositoryUrl = "docker.io" + kubernetes_yaml_path = "/kubernetes" + masterIp = "csle1" # Kubernetes 마스터 도메인 이름 혹은 IP를 지정합니다. + masterPort = "2243" # Kubernetes SSH 포트 번호를 지정합니다. + nodesIp = "csle2, csle3" + # Kubernetes 노드들의 도메인 이름 혹은 IP들을 지정합니다. + user = "csle" # Kubernetes 서버의 사용자 ID를 지정합니다. + externalKafka { + brokerHostName = "csle1" + # 외부 Kafka broker서버 도메인 이름을 지정합니다. + brokerHostIp = "192.168.0.5" + # 외부 Kafka broker서버 IP을 지정합니다. + } + } +``` +```sh + tensorflow { + enable = "true" + python_path = "/anaconda3/envs/tensorflow/bin/python" + # 사용자 PC의 tensorflow python 위치를 지정합니다. + python_code_project_path = "/analysis" + } + pyspark { + python_path = "/anaconda3/bin/python" + # 사용자 PC의 python 위치를 지정합니다. + python_code_project_path = "/pyML" + } + spark { + home = "/spark" # 사용자 PC의 spark home 위치를 지정합니다. + bin = "/spark/bin/spark-submit" + master = "local[*]" # spark master 모드를 지정합니다. + deploy = "client" # spark deploy 모드를 지정합니다. + logging = "true" + autoIncreaseModelPath = "true" + } + yarn { + home = "/hadoop/bin" # 사용자 PC의 yarn 위치를 지정합니다. + } + postgres { + db = "csledb" + uri = "jdbc:postgresql://localhost:5432/csledb" + user = "csle" + password = "csle1234" + } + webtoolkit { + db = "ui" + uri = "jdbc:postgresql://localhost:5432/uidb" + user = "csle" + password = "csle1234" + } + hadoop { + home = "/hadoop/" # 사용자 PC의 hadoop 위치를 지정합니다. + master = "csle1" # 사용자 PC의 hadoop master 이름을 지정합니다. + port = "9000" # 사용자 PC의 hadoop master port를 지정합니다. + hdfs { + activated = "true" + baseDir = "/user/" + modelPath = "/model" + datasetPath = "/dataset" + } + webhdfs { + port = "50070" + baseDir = "/webhdfs/v1" + } + } + hbase.zookeeper.quorum = "localhost" + kbe { + serverIp = "localhost" + serverPort = "9876" + serverType = "jena" + } +} +``` + +## [Host PC] startService.sh, stopService.sh 생성하기 +/home/csle에 startService.sh, stopService.sh 파일을 생성합니다. + +```sh +cat <> ~/startService.sh +#!/bin/bash +sudo service ssh restart +sudo service postgresql restart + +bash /home/csle/zookeeper-3.4.9/bin/zkServer.sh start +ssh csle@master -p 2243 "cd /home/csle/zookeeper-3.4.9/bin; \ +./zkServer.sh start" +ssh csle@csle1 -p 2243 "cd /home/csle/zookeeper-3.4.9/bin; \ +./zkServer.sh start" +start-dfs.sh +start-yarn.sh +start-hbase.sh +/home/csle/kafka/bin/kafka-server-start.sh \ +/home/csle/kafka/config/server.properties & +/home/csle/ui_of_csle/apache-tomcat-7.0.81/bin/catalina.sh start & +/home/csle/start-mongo.sh & +sleep 5 +cd /home/csle/ksb-csle/bin +/home/csle/ksb-csle/bin/startKnowledge_service.sh localhost 9876 +EOT +chmod +x /home/csle/startService.sh +cat <> ~/stopService.sh +#!/bin/bash +stop-hbase.sh +bash /home/csle/kafka/bin/kafka-server-stop.sh +stop-yarn.sh +stop-dfs.sh +bash /home/csle/zookeeper-3.4.9/bin/zkServer.sh stop +/home/csle/ui_of_csle/apache-tomcat-7.0.81/bin/catalina.sh stop +/home/csle/stop-mongo.sh +cd /home/csle/ksb-csle/bin +/home/csle/ksb-csle/bin/stopKnowledge_service.sh +sudo service postgresql stop +EOT +chmod +x /home/csle/stopService.sh +``` + +## [Host PC] KSB 툴박스 docker 이미지내 SSH 키를 host pc에 복사하기 +KSB 툴박스 docker 컨테이너의 인증키를 공유하기 위해 ksb-csle/tools 폴더에 있는 .ssh 폴더를 csle 홈에 카피합니다. + +```sh +cp -r ~/ksb-csle/tools/.ssh/ /home/csle/ +``` + +## [Host PC] SSH 재시작하기 +```sh +sudo service ssh restart +``` + +## [Host PC] Hadoop Hdfs 사용자 계정 추가하기 +사용자 환경에 맞게 설치되어 있는 Hadoop Hdfs를 가동한 후, 아래 명령을 이용하여 hdfs에 ksbuser_etri_re_kr 사용자 폴더를 추가합니다. +만약 Hadoop 2.7.3 설치하기에서 도커 컨테이너로부터 /home/csle/data 폴더를 복사한 경우, 이미 사용자 폴더가 생성된 hdfs을 복사한 상태이므로 이 절차를 생략합니다. + +```sh +su - csle +hdfs dfs -mkdir -p /user/ksbuser_etri_re_kr/dataset +hdfs dfs -mkdir -p /user/ksbuser_etri_re_kr/model + +hdfs dfs -chown ksbuser_etri_re_kr:supergroup /user/ksbuser_etri_re_kr/ +hdfs dfs -chown ksbuser_etri_re_kr:supergroup \ +/user/ksbuser_etri_re_kr/dataset +hdfs dfs -chown ksbuser_etri_re_kr:supergroup \ +/user/ksbuser_etri_re_kr/model +``` + +## [Host PC] KSB 지식베이스 엔진 설치하기 + +KSB 지식베이스엔진(KSB-Knowledge Engine)을 사용하기 위한 절차 및 예제를 소개합니다. + +### 지식베이스 엔진 가져오기 +KSB 지식베이스엔진은 현재 Docker 컨테이너에 포함되어 배포 되고 있습니다. + +도커에 접속하는 방법을 참고하여 접속합니다. ( Filezilla를 이용하여 KSB 툴박스 docker 컨테이너에 접속하기 ) +도커에 있는 ksb-knowledge 폴더를 Host PC의 /home/csle 폴더에 복사합니다. + +### Play framework Activator 설치하기 +KSB 지식베이스 엔진은 Play framework 기반 엔진이며, 이를 실행하기 위해서는 [Play framework Activator][8580869d]를 사전에 설치해야 합니다. + +[8580869d]: +https://downloads.typesafe.com/typesafe-activator/1.3.12/typesafe-activator-1.3.12.zip "Play framework Activator" + +```sh +# Play framework Activator 다운로드 +wget https://downloads.typesafe.com/typesafe-activator/1.3.12/\ +typesafe-activator-1.3.12.zip + +# 압축해제 +unzip typesafe-activator-1.3.12.zip + +# Activator bin 경로를 환경변수에 등록 +export PATH="/home/csle/activator-dist-1.3.12/bin:$PATH" +``` + +### KSB 지식베이스 엔진 시작 및 종료 하기 +KSB 지식베이스 엔진을 시작하려면, 해당폴더 (/home/csle/ksb-csle/bin)로 이동하여, startknowledge_service.sh 스크립트를 ip address와 port 번호와 함께 실행합니다. + +```sh +# KSB 지식베이스 실행 스크립트가 있는 경로로 이동 +cd /home/csle/ksb-csle/bin +# KSB 지식베이스 엔진 시작 +#(./startknowledge_service.sh ip_address port_number) +./startknowledge_service.sh 127.0.0.1 9876 +``` + +KSB 지식베이스 엔진을 종료하려면, 해당폴더 (/home/csle/ksb-csle/bin)로 이동하여, stopKnowledge_service.sh 스크립트를 실행합니다. + +```sh +# KSB 지식베이스 엔진 종료 +./stopKnowledge_service.sh +``` + +### 온톨로지 파일 Upload 하기 + +KSB 지식베이스 엔진이 Start 되어 있는 상황에서, 사용자가 로컬 파일에 작성된 온톨로지 파일(.owl, .rdf, .rdfs)을 KSB 지식베이스 엔진에 Upload 하는 기능을 설명합니다. 본 예제에서는 KSB 지식베이스 엔진 내부 폴더에 제공하는 공통 온톨로지 파일을 이용합니다. + +```sh +# 예제 수행 온톨로지 확인을 위해 해당 경로로 이동 +cd /home/csle/ksb-knowledge/KBE/ontologies +``` + +![KSB 공통 온톨로지](./images/1.3_HowToInstallKsbFrameWork_02.png "KSB 공통 온톨로지") + +```sh +# Curl 명령어 restful request 수행 (url: /loadOntologies, parameter: 온톨로지 경로) +curl -X POST http://127.0.0.1:9876/loadOntologies -H 'Cache-Control: \ +no-cache' -H 'Content-Type: text/plain' -d ./ontologies +``` + +![KSB 지식베이스 엔진 온톨로지 upload 화면](./images/1.3_HowToInstallKsbFrameWork_03.png "KSB 지식베이스 엔진 온톨로지 upload 화면") + +KSB 지식베이스 엔진에 Upload된 온톨로지는 KSB 지식베이스 엔진이 제공하는 쿼리 Restful API(``http://127.0.0.1:9876/query``)를 통해 확인할 수 있습니다. 이를 위해 Restful Client(본 예제에서는 Postman)를 실행하고, URL과 질의 쿼리 내용을 아래와 같이 입력하여 실행합니다. + +```sh +# 본 쿼리는 SPAQRL 1.1의 형태의 질의이며, +# 이는 온톨로지 thing:Thing 클래스의 서브 클래스를 검색하기 위한 쿼리입니다. +PREFIX rdfs: +PREFIX owl: +PREFIX workflow: +PREFIX thing: +select * where { + ?s rdfs:subClassOf thing:Thing. + FILTER (!isBlank(?s)) +} +``` + +![온톨로지 Upload 결과 확인 화면](./images/1.3_HowToInstallKsbFrameWork_04.png "온톨로지 Upload 결과 학인 화면") + + +## IoE 사물 등록 +KSB 지식베이스 엔진은 IoE 정보를 지식화하여 정보의 연계, 추론을 통한 지식정보를 사용자에게 제공하는 기능이 있습니다. IoE 표준(oneM2M)의 사물 스펙을 지식화하는 기능을 제공합니다. + +본 예제에서는 Json 포맷의 사물 스펙을 사용합니다. + +```sh +# Json 포맷의 사물 스펙(예제로 사용한 IoE 사물의 id는 a1234이며, +# indoor temperature and humidity 센서입니다.) +{ + "version": "1.0", + "id": "a1234", + "registrationTime": "20170102112233", + "properties": { + "name": "indoor_env_1", + "owner": "foo@gmail.com", + "description": "indoor temperature and humidity", + "gid": "global_unique_id_1", + "model": "modelA", + "coordinates": { + "latitude": 33.3, + "longitude": 122.2, + "altitude": 0 + }, + "location": "seoul korea", + "users": ["bar@gmail.com"], + "tag": ["my room", "temperature", "humidity"], + "madeBy": "companyA", + "hostedBy": "companyB" + }, + "resources": [ + { + "name": "sensors", + "description": "temperature and humidity in my room", + "attributes": [ + { + "name": "temperature", + "dataType": "double", + "unit": "celsius", + "min": "-80", + "max": "80", + "description": "temperature in my room" + }, + { + "name": "humidity", + "dataType": "double", + "unit": "percent", + "min": "0", + "max": "100", + "description": "humidity in my room" + } + ], + "operations": [ + { + "opType": "get", + "args": ["temperature", "humidity"], + "description": "get current temperature and humidity" + } + ] + } + ] + } +``` +KSB 지식베이스 엔진이 제공하는 사물등록 Restful API (``http://127.0.0.1:9876/registThing``)를 통해 KSB 지식베이스 엔진에 사물 스펙정보를 등록 할 수 있습니다. + +![사물등록 화면](./images/1.3_HowToInstallKsbFrameWork_05.png "사물등록 화면") + +다음과 같은 쿼리 Restful API을 수행하여 결과를 확인합니다. + +```sh +# 본 쿼리는 SPAQRL 1.1의 형태의 질의이며, +# 이는 온톨로지 thing:Thing 클래스의 인스턴스를 검색하기 위한 쿼리입니다. +PREFIX rdf: +PREFIX owl: +PREFIX workflow: +PREFIX thing: +select * where { + ?s rdf:type thing:Thing. +} +``` +![사물등록확인화면](./images/1.3_HowToInstallKsbFrameWork_06.png "사물등록확인화면") + +## IoE 사물 센서데이터를 통해 지식추론하기 + +KSB 지식베이스 엔진은 IoE 디바이스의 센서데이터를 이용하여, 상황을 추론할 수 있는 기능을 제공합니다. +본 예제의 시나리오는 앞에서 등록된 온도센서(thing id : a1234)로부터 온도가 28도 이상이면 더운 상황(HotContext)을 추론하고, +추론된 정보를 통해 Hue(thing id : S_HUE_light_3)를 파란색으로 켜는 동작을 하는 간단한 시나리오 입니다. + +이를 위해 Hue의 제어 명령을 등록합니다. (Restful API: ``http://127.0.0.1:9876/addDeviceControl``) + +```sh +# Json 포맷의 사물제어 스펙(id S_HUE_light_3의 Hue) +[ + {"id":"hue_turnon_Blue", + "thingId":"S_HUE_light_3", + "resourceId":"controller", + "operationId":"setState", + "controlContents":[ + {"name":"on","value":"true"}, + {"name":"bri","value":"254"}, + {"name":"hue","value":"46920"}, + {"name":"sat","value":"254"} + ] + }, + {"id":"hue_turnon_Red", + "thingId":"S_HUE_light_3", + "resourceId":"controller", + "operationId":"setState", + "controlContents":[ + {"name":"on","value":"true"}, + {"name":"bri","value":"254"}, + {"name":"hue","value":"65535"}, + {"name":"sat","value":"254"} + ] + }, + {"id":"hue_turnon_Green", + "thingId":"S_HUE_light_3", + "resourceId":"controller", + "operationId":"setState", + "controlContents":[ + {"name":"on","value":"true"}, + {"name":"bri","value":"254"}, + {"name":"hue","value":"25500"}, + {"name":"sat","value":"254"} + ] + } +] +``` + +추론 규칙을 적용하기 위해, KSB-Knowledge/KBE/rules 폴더의 "KBE.rues" 파일을 열고 아래와 같이 추론 규칙을 추가합니다. + +```sh +# 온도센서의 센싱값이 28이상이면 이벤트 Temp_HOT을 생성합니다. +[domain_temperature_hot: + (?e event:hasEventValue ?v), + (?v thing:hasType ?t), + (?t thing:attributeName ?name), + equal(?name, "temperature"), + (?v thing:hasValue ?value), + ge(?value, 28) + -> + (?e event:hasEventStatus domain:Temp_HOT) + ] + # 이벤트 Temp_HOT이면 더운 상황(HotContext)을 생성합니다. + [HotContext_context: + (?e event:hasEventStatus domain:Temp_HOT) + -> (?e rdf:type domain:HotContext) + ] + # 더운 상황(HotContext)이면 Hue를 파란색으로 켭니다. + [HotContext_service: + (?e rdf:type domain:HotContext) + -> + (?e service:derives domain:hue_turnon_Blue) + ] +``` + +본 예제를 실행하기 위해 온도센서(thing id: a1234)의 값을 32.6으로 설정하고, Restful API(``http://127.0.0.1:9876/recommendDeviceControl``)를 실행합니다. + +```sh +# 온도센서(thingId : a1234)의 센싱값이 32.6으로 설정합니다. +{ + "thingId": "a1234", + "resourceId": "sensors", + "time": "20170330103347", + "values": [ + { + "name": "temperature", + "value": "32.6" + } + ] + } +``` + +Restful API를 실행한 결과는 다음과 같습니다. + +```sh +# 상황(context)가 "HotContext"이고, 상황에 따른 서비스(service)가 +# "hue_turnon_Blue"이며 그것에 해당하는 사물 제어정보를 리턴합니다. +[ + { + "thingId": "S_HUE_light_3", + "resourceId": "controller", + "context": [ + "HotContext" + ], + "service": "hue_turnon_Blue", + "controls": { + "sat": "254", + "hue": "46920", + "bri": "254", + "on": "true" + } + } +] +``` +![사물추론 확인화면](./images/1.3_HowToInstallKsbFrameWork_07.png "사물추론 확인화면") diff --git a/manual1903/1.3.HowToInstallKsbFrameWork.pdf b/manual1903/1.3.HowToInstallKsbFrameWork.pdf new file mode 100644 index 0000000000000000000000000000000000000000..3b3fb6bd5888a7dc065bde78d24674f713bd693f Binary files /dev/null and b/manual1903/1.3.HowToInstallKsbFrameWork.pdf differ diff --git a/manual1903/1.4.HowToInstallKsbWebToolkit.html.old b/manual1903/1.4.HowToInstallKsbWebToolkit.html.old new file mode 100644 index 0000000000000000000000000000000000000000..175b5d5aea5b7efb6e836ecc9f594ecb4657a480 --- /dev/null +++ b/manual1903/1.4.HowToInstallKsbWebToolkit.html.old @@ -0,0 +1,486 @@ + + + + 1.4.HowToInstallKsbWebToolkit + + + + + + + + + + + + + + + + + + +
+

KSB 웹툴킷 설치

+ +
+

UI 기반으로 KSB 인공지능 프레임워크를 사용할 수 있는 KSB 웹툴킷 설치 과정을 설명합니다.

+

설치 요구사항

+ +
    +
  • Docker 기반 KSB 툴박스 환경에서는, KSB 웹툴킷 실행을 위한 기능들이 사전에 설치 되어 있거나 설치 과정에 포함 되어 있으므로, 본 과정이 필요하지 않습니다.
  • +
  • Ubuntu 16.04가 설치된 메모리 16GB 이상 데스트탑이나 노트북이 요구됩니다.
  • +
  • KSB 웹툴킷은 KSB 인공지능 프레임워크를 기반으로 구동됩니다. 따라서 소스를 빌드하고 startKsbApiServing.sh 를 실행하여 KSB 인공지능 프레임워크를 구동하고 있어야 합니다.
  • +
  • KSB 웹툴킷은 저장소로 HDFS를 사용합니다. 따라서, 저장소로 사용할 PC에 Hadoop 및 관련 소프트웨어가 설치 되어 있어야 합니다. Hadoop을 설치한 후에는 ksb-csle/conf/ksb.conf 파일에서 hadoop.master 정보를 설치한 호스트명으로 설정해 주어야 합니다. 또한 hadoop.hdfs.activated 도 true로 설정해야 정상적으로 HDFS 를 저장소로 이용할 수 있습니다.(기본적으로 true로 설정 되어 있습니다.)
  • +
  • DB에서 한글을 정상적으로 사용하기 위해, 호스트 운영체제의 언어를 한글로 설정 합니다. 변경 하는 방법은 다음 링크를 참고 합니다.
    +Ubuntu 언어 변경
  • +
  • Postgresql 9.6.8 이상이 설치되어야 합니다.
  • +
  • Pgadmin3 1.22.2 이상이 설치되어야 합니다.
  • +
+

KSB 인공지능 프레임워크 DB 설치하기

+ +

KSB 인공지능 프레임워크는 프레임워크 사용자 정보, 생성 및 구동된 워크플로우 정보, KSB 웹툴킷에서 이용하는 UI Component 관련 정보를 관리하기 위해 Postgresql DB를 사용 합니다.
+Postgresql 설치 버전은 9.6.8 이상를 권장하며, 다음과 같이 설치한 후 재시작합니다.

+
$ sudo apt-get update
+
+$ sudo apt-get install -y software-properties-common
+
+$ sudo add-apt-repository "deb http://apt.postgresql.org/pub/repos/apt/ xenial-pgdg main"
+
+$ wget --quiet -O - https://www.postgresql.org/media/keys/ACCC4CF8.asc | sudo apt-key add -
+
+$ sudo apt-get update
+
+$ sudo apt-get install -y postgresql-9.6
+
+$ sudo service postgresql restart
+

또한 Postgresql DB 접근 및 이용을 편리하게 하기 위해 Pgadmin을 설치하여 사용합니다. pgadmin3는 1.22.2 이상을 설치합니다. (ostgresql 9.6.8 이상을 설치해야 잘 동작합니다.)

+
$ sudo apt-get update
+
+$ sudo apt-get install -y pgadmin3
+

KSB 인공지능 프레임워크 DB 정의

+ +

Postgresql 설치가 완료되면, DB에 접속하여 DB 사용자 계정과 권한을 생성하고, SDK 압축파일에 포함된 백업파일(csledb_v1.0.backup)을 이용하여 KSB 인공지능 프레임워크 DB 정보를 restore 합니다.

+
$ sudo -u postgres bash -c "psql -c \"CREATE USER csle password '사용자암호' superuser;\""
+
+$ sudo -u postgres bash -c "psql -c \"CREATE DATABASE csledb WITH OWNER = csle ENCODING = 'UTF-8' CONNECTION LIMIT = -1;\""
+
+$ PGPASSWORD=사용자암호 pg_restore -h localhost -U csle -C -d csledb /home/csle/ksb-csle/tools/webToolkit_db/csledb_v1.0.backup
+

postgresql 에 접속하여 정상적으로 복구 되었는지 확인 합니다.

+
$ sudo -su postgres
+
+$ psql
+
+postgres=# \c csledb;
+
+csledb=# select * from "UIEngineComponent" where "MsgVersion" = '1.0'
+
+               EngineID               |          EngineName           |         EngineType          |            MsgComponentID            | MsgVersion
+--------------------------------------+-------------------------------+-----------------------------+--------------------------------------+------------
+ 49dd0271-e7a9-b43e-f1c0-698d42372e2f | BatchEngine                   | BATCHENGINE                 | 2b2fa4ec-7cd3-3cc1-1e7c-b11ab3d3ac1b | 1.0
+ 6536ab61-9f9f-1119-6cbf-a3c25e8cb350 | StreamToStreamEngine          | STREAMTOSTREAMENGINE        | 3819b564-a79e-394d-7bbe-ddc2380f5f68 | 1.0
+ 6f3d98a1-2b69-c711-f8f1-e5336eee2957 | StreamToBatchEngine           | STREAMTOBATCHENGINE         | 0abe3dab-c535-edcb-141b-a0d9e7746a6d | 1.0
+ c1ea8c60-afd7-1c75-4686-af114173775e | OnDemandStreamEngine          | ONDEMANDSTREAMENGINE        | 1bfc7496-d2d3-2140-c137-af09b423a2fe | 1.0
+ 1bfe0c14-7257-b56b-683c-7eb2c7f38fa4 | OnDemandServingEngine         | ONDEMANDSERVINGENGINE       | cfb9b524-7457-b910-0261-587c5bfe74de | 1.0
+ aa301492-6d85-2aae-cbf7-ee640d5a2c1d | ExternalEngine                | EXTERNALENGINE              | e960e289-54df-1790-6e4a-05a75b326cec | 1.0
+ 69686c51-3a70-29bf-608c-7721ac37d98d | GenericEngine                 | GENERICENGINE               | 1dfb7769-8a34-304e-d9d5-00b2cffbbca7 | 1.0
+ a52ccda4-c59a-01a2-af7d-025cb03fff10 | BatchToBatchStreamEngine      | BATCHTOBATCHSTREAMENGINE    | cd0758ae-b150-850a-9d73-b29152e820ce | 1.0
+ 5da27056-c880-7917-5e6f-d7db44083e92 | OnDemandStreamServingEngine   | ONDEMANDSTREAMSERVINGENGINE | 03ecfbd2-1a3d-2e6c-2448-06f3f2dcfe89 | 1.0
+ 7b4e13dd-bb5d-289e-6022-9c651f2ca1c1 | StreamPipeEngine              | STREAMTOSTREAMENGINE        | 58b47983-3a49-386a-6403-b6a0ec5c4c67 | 1.0
+ 790be3d3-4f2c-0318-021c-999b8ab59db3 | StreamJoinEngine              | INOUTTWIGS2SENGINE          | 50f1fd26-49e0-5d70-3ff0-0d14f0c6d19a | 1.0
+ 2043f861-2298-4cd8-7633-97fc06f6f1ab | OnDemandPipeServingEngine     | ONDEMANDCOMPOSITEENGINE     | 4aff5c80-8b63-527a-7fe9-0e12e8c21735 | 1.0
+ 8f8a4039-46c1-acc5-c425-4e2688b2eb84 | BatchDummyEngine              | BATCHDUMMYENGINE            | d625a81a-ad0f-0822-3752-c040c1d4ebf6 | 1.0
+ 05761a24-af7e-eda6-428d-fba552ef1cf7 | OnDemandExternalServingEngine | EXTERNALENGINE              | fe67950b-aadb-0094-186d-797ad573c84c | 1.0
+(14개 행)
+
+
+

KSB 웹툴킷 DB 정의

+ +

SDK 압축파일에 포함된 백업파일(uidb_v1.0.backup)을 이용하여 KSB 웹툴 DB 정보를 restore 합니다.

+
$ sudo -u postgres bash -c "psql -c \"CREATE DATABASE uidb WITH OWNER = csle ENCODING = 'UTF-8' CONNECTION LIMIT = -1;\""
+
+$ PGPASSWORD=사용자암호 pg_restore -h localhost -U csle -C -d uidb /home/csle/ksb-csle/webToolkit_db/uidb_v1.0.backup
+

postgresql 에 접속하여 정상적으로 복구 되었는지 확인 합니다.

+
$ sudo -su postgres
+
+$ psql
+
+postgres=# \c uidb;
+
+uidb=# SELECT count(*) FROM template where msg_version = '1.0';
+
+ count
+-------
+    23
+(1개 행)
+
+

KSB 웹툴킷 회원 가입 기능 활성화를 위한 설정

+ +

KSB 웹툴킷은 이메일을 통해 사용자 가입을 처리하도록 되어 있습니다. 이를 위해 관리자의 메일 계정을 설정 하도록 되어 있으며, Gmail 계정을 통해 설정할 수 있습니다. 관리자는 uidb 의 system_configuration 테이블에 자신의 Gmail 계정을 설정할 수 있으며, 사용자가 회원 가입을 신청하면 관련 메일이 관리자의 Gmail 계정을 통해 발송 됩니다.
+설정 방법은, KSB 웹툴킷에 관리자 계정(ksbuser@etri.re.kr)으로 로그인 하여 Management 메뉴의 System Configuration 탭에서 'javax.mail.session.prop.id' property에서 수정아이콘을 클릭하여 Gmail 계정(aaa@gmail.com 이면 aaa)을 'javax.mail.session.prop.password' 에 Gmail 암호를 입력하고 저장 아이콘을 클릭하여 수정한 사항을 저장 합니다.

+

이메일의 발송 시, 사용자에게 메일로 안내되는 링크의 ip는 KSB 웹툴킷이 구동중인 서버의 설정을 따릅니다. 만약 localhost로 구동 하였다면, KSB 웹툴킷이 구동중인 서버에서만 가입 절차를 진행할 수 있으므로, 외부에서 접속 가능한 ip로 실행 하시기 바랍니다.

+

Apache Tomcat 다운로드

+ +

KSB 웹툴킷은 웹컨테이너로 Apache tomcat 7을 이용합니다. https://tomcat.apache.org/download-70.cgi 사이트에서 binary distribution을 다운로드 받아, 적당한 위치에 압축을 해제 합니다.

+

본 매뉴얼 에서는 '/home/csle/ui_of_csle/apache-tomcat-7.0.88/' 에
+압축을 해제 한 것으로 가정합니다.

+

Tomcat 설정 업데이트

+ +

web.xml 파일 업데이트

+ +

/home/csle/ui_of_csle/apache-tomcat-7.0.88/conf/ 디렉토리에 있는 web.xml 파일을 열어 UTF-8 설정 및 Session timeout을 조정합니다.

+
<filter>
+    <filter-name>setCharacterEncodingFilter</filter-name>
+    <filter-class>org.apache.catalina.filters.SetCharacterEncodingFilter</filter-class>
+    <init-param>
+        <param-name>encoding</param-name>
+        <param-value>UTF-8</param-value>
+    </init-param>
+    <async-supported>true</async-supported>
+</filter>
+
+.....
+
+<filter-mapping>
+    <filter-name>setCharacterEncodingFilter</filter-name>
+    <url-pattern>/*</url-pattern>
+</filter-mapping>
+
+.....
+
+<session-config>
+    <session-timeout>360</session-timeout> <!-- minutes -->
+</session-config>
+

server.xml 파일 업데이트

+ +

다음으로, server.xml 파일을 열어 UTF-8 설정을 조정 합니다.

+
<Connector port="8080" protocol="HTTP/1.1"
+           connectionTimeout="2000000"
+           redirectPort="8443" disableUploadTimeout="true" URIEncoding="UTF-8"/>
+
+.....
+
+<Connector port="8009" protocol="AJP/1.3" redirectPort="8443" URIEncoding="UTF-8"/>
+

웹파일 설치 및 KSB 인공지능 프레임워크 DB 접속정보 설정

+ +

압축된 SDK에서 /home/csle/ksb-csle/tools/webToolkit_db/csle-web_20181025.war 파일을 /home/csle/ui_of_csle/apache-tomcat-7.0.88/webapps 디렉토리로 복사 합니다.

+

그리고, csle-web_20181025.war 파일의 이름을 ROOT.war로 변경 합니다.

+

Tomcat 서버 구동

+ +

/home/csle/ui_of_csle/apache-tomcat-7.0.88/bin 디렉토리에 있는
+catalina.sh 파일을 통해 Tomcat을 구동하면 웹파일이 압축해제 되어
+/home/csle/ui_of_csle/apache-tomcat-7.0.88/webapps/ROOT 폴더가 생성되고, 서버가 구동 됩니다.

+
$ cd /home/csle/ui_of_csle/apache-tomcat-7.0.88/bin
+$ ./catalina.sh start -Dfile.encoding=UTF-8
+
+(2018-06-30 12:22:37) <localhost-startStop-1> [DEBUG] SQL: SELECT * FROM system_configuration WHERE name = ?, name: [csle.gw.host] (SystemConfigurationDao.java:130)
+(2018-06-30 12:22:37) <localhost-startStop-1> [DEBUG] SQL: SELECT * FROM system_configuration WHERE name = ?, name: [csle.gw.port] (SystemConfigurationDao.java:130)
+6월 30, 2018 12:22:38 오후 org.apache.catalina.startup.HostConfig deployWAR
+정보: Deployment of web application archive /home/kbe/ui_of_csle/apache-tomcat-7.0.81/webapps/ROOT.war has finished in 5,246 ms
+6월 30, 2018 12:22:38 오후 org.apache.coyote.AbstractProtocol start
+정보: Starting ProtocolHandler ["http-bio-8080"]
+6월 30, 2018 12:22:38 오후 org.apache.coyote.AbstractProtocol start
+정보: Starting ProtocolHandler ["ajp-bio-8009"]
+6월 30, 2018 12:22:38 오후 org.apache.catalina.startup.Catalina start
+정보: Server startup in 5339 ms
+

Tomcat 로그 보기

+ +

Tomcat 이 잘 구동되고 있는지 확인하기 위해 Tomcat 로그 파일을 엽니다.

+
$ tail -f ../logs/catalina.out
+

KSB 인공지능 프레임워크 구동

+ +

KSB 인공지능 프레임워크 툴박스를 설치하거나 소스를 빌드한 후,
+ksb-csle/bin 디렉토리에 있는 startKsbApiServing.sh 파일을 실행 합니다.
+파일 실행 전에 ls와 같이 간단한 명령을 sudo를 통해 한 번 실행 합니다.

+
$ sudo ls
+$ ./startKsbApiServing.sh
+

구동이 성공적으로 이루어지면, 다음과 같은 로그가 생성되며,
+[akka://KsbApi-serving/user/IO-HTTP/listener-0] Bound to /0.0.0.0:19999
+위 메시지를 통해 현재 호스트 PC의 19999 포트를 통해 구동 되는 것을 확인할 수 있습니다.

+
2018-10-22 16:51:12.113 [INFO] [ConfigUtils$] KSB config file path :/home/csle/ksb-csle/conf/ksb.conf (ConfigUtils.scala:29)
+2018-10-22 16:51:13.355 [INFO] [KsbApiServing$] [Local mode] Update status of incompletely terminated [0] job(s) in previous operation (KsbApiServing.scala:60)
+2018-10-22 16:51:13.644 [INFO] [ApiServingActor] KSB ApiServingActor has been started. (ApiServingActor.scala:820)
+2018-10-22 16:51:13.644 [INFO] [ApiServingActor] KSB ApiServingActor has been started. (ApiServingActor.scala:820)
+2018-10-22 16:51:13.644 [INFO] [ApiServingActor] KSB ApiServingActor has been started. (ApiServingActor.scala:820)
+2018-10-22 16:51:13.644 [INFO] [ApiServingActor] KSB ApiServingActor has been started. (ApiServingActor.scala:820)
+2018-10-22 16:51:13.644 [INFO] [ApiServingActor] KSB ApiServingActor has been started. (ApiServingActor.scala:820)
+2018-10-22 16:51:13,905 INFO StdSchedulerFactory: Using default implementation for ThreadExecutor
+2018-10-22 16:51:13,910 INFO SimpleThreadPool: Job execution threads will use class loader of thread: main
+2018-10-22 16:51:13,923 INFO SchedulerSignalerImpl: Initialized Scheduler Signaller of type: class org.quartz.core.SchedulerSignalerImpl
+2018-10-22 16:51:13,923 INFO QuartzScheduler: Quartz Scheduler v.2.3.0 created.
+2018-10-22 16:51:13,924 INFO RAMJobStore: RAMJobStore initialized.
+2018-10-22 16:51:13,925 INFO QuartzScheduler: Scheduler meta-data: Quartz Scheduler (v2.3.0) 'DefaultQuartzScheduler' with instanceId 'NON_CLUSTERED'
+  Scheduler class: 'org.quartz.core.QuartzScheduler' - running locally.
+  NOT STARTED.
+  Currently in standby mode.
+  Number of jobs executed: 0
+  Using thread pool 'org.quartz.simpl.SimpleThreadPool' - with 10 threads.
+  Using job-store 'org.quartz.simpl.RAMJobStore' - which does not support persistence. and is not clustered.
+
+2018-10-22 16:51:13,925 INFO StdSchedulerFactory: Quartz scheduler 'DefaultQuartzScheduler' initialized from default resource file in Quartz package: 'quartz.properties'
+2018-10-22 16:51:13,925 INFO StdSchedulerFactory: Quartz scheduler version: 2.3.0
+2018-10-22 16:51:13,925 INFO QuartzScheduler: Scheduler DefaultQuartzScheduler_$_NON_CLUSTERED started.
+[INFO] [10/22/2018 16:51:13.979] [KsbApi-serving-akka.actor.default-dispatcher-2] [akka://KsbApi-serving/user/IO-HTTP/listener-0] Bound to /0.0.0.0:19999
+[INFO] [10/22/2018 16:51:13.981] [KsbApi-serving-akka.actor.default-dispatcher-3] [akka://KsbApi-serving/deadLetters] Message [akka.io.Tcp$Bound] from Actor[akka://KsbApi-serving/user/IO-HTTP/listener-0#1547261392] to Actor[akka://KsbApi-serving/deadLetters] was not delivered. [1] dead letters encountered. This logging can be turned off or adjusted with configuration settings 'akka.log-dead-letters' and 'akka.log-dead-letters-during-shutdown'.
+2018-10-23 08:22:18,351 WARN NativeCodeLoader: Unable to load native-hadoop library for your platform... using builtin-java classes where applicable
+

KSB 웹툴킷 설정 업데이트

+ +

KSB 웹툴킷과 KSB 인공지능 프레임워크는 다음 사용자 정보가 저장되어 있습니다.

+

    User ID: ksbuser@etri.re.kr / User Password: ksbuser@etri.re.kr

+

Chrome 브라우저(또는 HTML5 표준 호환 브라우저)를 열고 위 사용자 정보를 입력하여 로그인합니다.

+
http://localhost:8080
+

login

+

정상적으로 로그인에 성공하면, Management 메뉴를 클릭해서 KSB 인공지능 프레임워크가 구동되고 있는 환경 정보를 csle.gw.host 와 csle.gw.port 정보에 반영 합니다.
+본 매뉴얼에서는 localhost 와 19999 포트가 되겠습니다.

+

management

+

설정이 완료되면, Tomcat 서버를 재구동 하고, KSB 웹툴킷을 이용 합니다.

+
+$ ./catalina.sh stop
+
+$ ./catalina.sh start
+
+
+
+ + + + + + + + + + + + + \ No newline at end of file diff --git a/manual1903/1.4.HowToInstallKsbWebToolkit.md b/manual1903/1.4.HowToInstallKsbWebToolkit.md new file mode 100755 index 0000000000000000000000000000000000000000..e44f49acaae0db37c94bfa0525e73ae9f1b39fe9 --- /dev/null +++ b/manual1903/1.4.HowToInstallKsbWebToolkit.md @@ -0,0 +1,324 @@ +--- +html: + toc: true + offline: true +export_on_save: + html: true +--- +# KSB 웹툴킷 설치 +--- + +UI 기반으로 KSB 인공지능 프레임워크를 사용할 수 있는 KSB 웹툴킷 설치 과정을 설명합니다. + +## 설치 요구사항 + +- Docker 기반 KSB 툴박스 환경에서는, KSB 웹툴킷 실행을 위한 기능들이 사전에 설치 되어 있거나 설치 과정에 포함 되어 있으므로, 본 과정이 필요하지 않습니다. +- Ubuntu 16.04가 설치된 메모리 16GB 이상 데스트탑이나 노트북이 요구됩니다. +- KSB 웹툴킷은 KSB 인공지능 프레임워크를 기반으로 구동됩니다. 따라서 startKsbApiServing 을 실행하여 KSB 인공지능 프레임워크를 구동하고 있어야 합니다. +- KSB 웹툴킷은 저장소로 HDFS를 사용합니다. 따라서, 저장소로 사용할 PC에 Hadoop 및 관련 소프트웨어가 설치 되어 있어야 합니다. Hadoop을 설치한 후에는 ksb-csle/conf/ksb.conf 파일에서 hadoop.master 정보를 설치한 호스트명으로 설정해 주어야 합니다. 또한 hadoop.hdfs.activated 도 true로 설정해야 정상적으로 HDFS 를 저장소로 이용할 수 있습니다.(기본적으로 true로 설정 되어 있습니다.) +- DB에서 한글을 정상적으로 사용하기 위해, 호스트 운영체제의 언어를 한글로 설정 합니다. 변경 하는 방법은 다음 링크를 참고 합니다. +[Ubuntu 언어 변경](https://askubuntu.com/questions/509174/how-can-i-change-the-language-from-english-to-spanish) +- Postgresql 9.6.8 이상이 설치되어야 합니다. +- Pgadmin3 1.22.2 이상이 설치되어야 합니다. +- JDK 8 이 설치되어야 합니다. 설치 방법은 다음 링크를 참고 합니다. [JDK 8 설치](https://csleoss.etri.re.kr/images/contents/manual_1.0/1.2.HowToInstallKsbToolBox.html#host-pc-java-8-oracle-%EC%84%A4%EC%B9%98%ED%95%98%EA%B8%B0) +- Apache Tomcat 7.x가 설치되어야 합니다. + +## KSB 인공지능 프레임워크 DB 설치하기 + +KSB 인공지능 프레임워크는 프레임워크 사용자 정보, 생성 및 구동된 워크플로우 정보, KSB 웹툴킷에서 이용하는 UI Component 관련 정보를 관리하기 위해 Postgresql DB를 사용 합니다. +Postgresql 설치 버전은 9.6.8 이상를 권장하며, 다음과 같이 설치한 후 재시작합니다. + +```sh +$ sudo apt-get update + +$ sudo apt-get install -y software-properties-common + +$ sudo add-apt-repository "deb http://apt.postgresql.org/pub/repos/apt/ xenial-pgdg main" + +$ wget --quiet -O - https://www.postgresql.org/media/keys/ACCC4CF8.asc | sudo apt-key add - + +$ sudo apt-get update + +$ sudo apt-get install -y postgresql-9.6 + +$ sudo service postgresql restart +``` + +또한 Postgresql DB 접근 및 이용을 편리하게 하기 위해 Pgadmin을 설치하여 사용합니다. pgadmin3는 1.22.2 이상을 설치합니다. (Postgresql 9.6.8 이상을 설치해야 잘 동작합니다.) 툴박스 내에서 제공하는 DB restore 파일 등도 위 두 버전을 통해 백업 되었습니다. + +```sh +$ sudo apt-get update + +$ sudo apt-get install -y pgadmin3 +``` + +## 외부에서 DB 접근 가능하도록 수정하기 + +설치된 Postgresql은 기본적으로는 localhost에서만 사용 가능합니다. 외부에서도 접근 가능하도록 하기 위해서는 다음 두 파일을 수정해야 합니다. + +```sh +** postgresql remote access + +$ sudo vi /etc/postgresql/9.6/main/pg_hba.conf/pg_hba.conf + +host all all 0.0.0.0/0 md5 + +$ sudo vi /etc/postgresql/9.6/main/postgresql.conf + +listen_addresses = '*' + +$ sudo service postgresql restart +``` + +## KSB 인공지능 프레임워크 DB 정의 + +Postgresql 설치가 완료되면, DB에 접속하여 DB 사용자 계정과 권한을 생성하고, SDK 압축파일에 포함된 백업파일(csledb_v1.0.backup)을 이용하여 KSB 인공지능 프레임워크 DB 정보를 restore 합니다. + +```sh +# create user csle +$ sudo -u postgres bash -c "psql -c \"CREATE USER csle password '사용자암호' superuser;\"" + +# alter csle as a superuser +$ sudo -u postgres bash -c "psql -c \"ALTER USER csle WITH CREATEROLE REPLICATION CREATEDB SUPERUSER;\"" + +# create database csledb +$ sudo -u postgres bash -c "psql -c \"CREATE DATABASE csledb WITH OWNER = csle ENCODING = 'UTF-8' CONNECTION LIMIT = -1;\"" + +$ PGPASSWORD=사용자암호 pg_restore -h localhost -U csle -C -d csledb /home/csle/ksb-csle/tools/webToolkit_db/csledb_v1.0.backup +``` + +postgresql 에 접속하여 정상적으로 복구 되었는지 확인 합니다. + +```sh +$ sudo -su postgres + +$ psql + +postgres=# \c csledb; + +csledb=# select * from "UIEngineComponent" where "MsgVersion" = '1.0' + + EngineID | EngineName | EngineType | MsgComponentID | MsgVersion +--------------------------------------+-------------------------------+-----------------------------+--------------------------------------+------------ + 49dd0271-e7a9-b43e-f1c0-698d42372e2f | BatchEngine | BATCHENGINE | 2b2fa4ec-7cd3-3cc1-1e7c-b11ab3d3ac1b | 1.0 + 6536ab61-9f9f-1119-6cbf-a3c25e8cb350 | StreamToStreamEngine | STREAMTOSTREAMENGINE | 3819b564-a79e-394d-7bbe-ddc2380f5f68 | 1.0 + 6f3d98a1-2b69-c711-f8f1-e5336eee2957 | StreamToBatchEngine | STREAMTOBATCHENGINE | 0abe3dab-c535-edcb-141b-a0d9e7746a6d | 1.0 + c1ea8c60-afd7-1c75-4686-af114173775e | OnDemandStreamEngine | ONDEMANDSTREAMENGINE | 1bfc7496-d2d3-2140-c137-af09b423a2fe | 1.0 + 1bfe0c14-7257-b56b-683c-7eb2c7f38fa4 | OnDemandServingEngine | ONDEMANDSERVINGENGINE | cfb9b524-7457-b910-0261-587c5bfe74de | 1.0 + aa301492-6d85-2aae-cbf7-ee640d5a2c1d | ExternalEngine | EXTERNALENGINE | e960e289-54df-1790-6e4a-05a75b326cec | 1.0 + 69686c51-3a70-29bf-608c-7721ac37d98d | GenericEngine | GENERICENGINE | 1dfb7769-8a34-304e-d9d5-00b2cffbbca7 | 1.0 + a52ccda4-c59a-01a2-af7d-025cb03fff10 | BatchToBatchStreamEngine | BATCHTOBATCHSTREAMENGINE | cd0758ae-b150-850a-9d73-b29152e820ce | 1.0 + 5da27056-c880-7917-5e6f-d7db44083e92 | OnDemandStreamServingEngine | ONDEMANDSTREAMSERVINGENGINE | 03ecfbd2-1a3d-2e6c-2448-06f3f2dcfe89 | 1.0 + 7b4e13dd-bb5d-289e-6022-9c651f2ca1c1 | StreamPipeEngine | STREAMTOSTREAMENGINE | 58b47983-3a49-386a-6403-b6a0ec5c4c67 | 1.0 + 790be3d3-4f2c-0318-021c-999b8ab59db3 | StreamJoinEngine | INOUTTWIGS2SENGINE | 50f1fd26-49e0-5d70-3ff0-0d14f0c6d19a | 1.0 + 2043f861-2298-4cd8-7633-97fc06f6f1ab | OnDemandPipeServingEngine | ONDEMANDCOMPOSITEENGINE | 4aff5c80-8b63-527a-7fe9-0e12e8c21735 | 1.0 + 8f8a4039-46c1-acc5-c425-4e2688b2eb84 | BatchDummyEngine | BATCHDUMMYENGINE | d625a81a-ad0f-0822-3752-c040c1d4ebf6 | 1.0 + 05761a24-af7e-eda6-428d-fba552ef1cf7 | OnDemandExternalServingEngine | EXTERNALENGINE | fe67950b-aadb-0094-186d-797ad573c84c | 1.0 +(14개 행) + + +``` + +## KSB 웹툴킷 DB 정의 + +SDK 압축파일에 포함된 백업파일(uidb_v1.0.backup)을 이용하여 KSB 웹툴 DB 정보를 restore 합니다. + +```sh +$ sudo -u postgres bash -c "psql -c \"CREATE DATABASE uidb WITH OWNER = csle ENCODING = 'UTF-8' CONNECTION LIMIT = -1;\"" + +$ PGPASSWORD=사용자암호 pg_restore -h localhost -U csle -C -d uidb /home/csle/ksb-csle/webToolkit_db/uidb_v1.0.backup +``` + +postgresql 에 접속하여 정상적으로 복구 되었는지 확인 합니다. + +```sh +$ sudo -su postgres + +$ psql + +postgres=# \c uidb; + +uidb=# SELECT count(*) FROM template where msg_version = '1.0'; + + count +------- + 23 +(1개 행) + +``` + +## Apache Tomcat 다운로드 + +KSB 웹툴킷은 웹컨테이너로 Apache tomcat 7을 이용합니다. https://tomcat.apache.org/download-70.cgi 사이트에서 binary distribution을 다운로드 받아, 적당한 위치에 압축을 해제 합니다. + +본 매뉴얼 에서는 '/home/csle/ui_of_csle/apache-tomcat-7.0.88/' 에 +압축을 해제 한 것으로 가정합니다. + +## Tomcat 설정 업데이트 + +### web.xml 파일 업데이트 +/home/csle/ui_of_csle/apache-tomcat-7.0.88/conf/ 디렉토리에 있는 web.xml 파일을 열어 UTF-8 설정 및 Session timeout을 조정합니다. + +```xml + + setCharacterEncodingFilter + org.apache.catalina.filters.SetCharacterEncodingFilter + + encoding + UTF-8 + + true + + +..... + + + setCharacterEncodingFilter + /* + + +..... + + + 360 + +``` + +### server.xml 파일 업데이트 +다음으로, server.xml 파일을 열어 UTF-8 설정을 조정 합니다. + +```xml + + +..... + + +``` + + + +## 웹파일 설치 및 KSB 인공지능 프레임워크 DB 접속정보 설정 + +압축된 SDK에서 /home/csle/ksb-csle/tools/webToolkit_db/csle-web_20181025.war 파일을 /home/csle/ui_of_csle/apache-tomcat-7.0.88/webapps 디렉토리로 복사 합니다. + +그리고, csle-web_20181025.war 파일의 이름을 ROOT.war로 변경 합니다. + +### Tomcat 서버 구동 +/home/csle/ui_of_csle/apache-tomcat-7.0.88/bin 디렉토리에 있는 +``catalina.sh`` 파일을 통해 Tomcat을 구동하면 웹파일이 압축해제 되어 +/home/csle/ui_of_csle/apache-tomcat-7.0.88/webapps/ROOT 폴더가 생성되고, 서버가 구동 됩니다. + +```sh +$ cd /home/csle/ui_of_csle/apache-tomcat-7.0.88/bin +$ ./catalina.sh start -Dfile.encoding=UTF-8 + +(2018-06-30 12:22:37) [DEBUG] SQL: SELECT * FROM system_configuration WHERE name = ?, name: [csle.gw.host] (SystemConfigurationDao.java:130) +(2018-06-30 12:22:37) [DEBUG] SQL: SELECT * FROM system_configuration WHERE name = ?, name: [csle.gw.port] (SystemConfigurationDao.java:130) +6월 30, 2018 12:22:38 오후 org.apache.catalina.startup.HostConfig deployWAR +정보: Deployment of web application archive /home/kbe/ui_of_csle/apache-tomcat-7.0.81/webapps/ROOT.war has finished in 5,246 ms +6월 30, 2018 12:22:38 오후 org.apache.coyote.AbstractProtocol start +정보: Starting ProtocolHandler ["http-bio-8080"] +6월 30, 2018 12:22:38 오후 org.apache.coyote.AbstractProtocol start +정보: Starting ProtocolHandler ["ajp-bio-8009"] +6월 30, 2018 12:22:38 오후 org.apache.catalina.startup.Catalina start +정보: Server startup in 5339 ms +``` + +### Tomcat 로그 보기 +Tomcat 이 잘 구동되고 있는지 확인하기 위해 Tomcat 로그 파일을 엽니다. + +```sh +$ tail -f ../logs/catalina.out +``` + +## 구글 Chrome 브라우저 설치하기 +KSB 웹툴킷은 기본적으로 HTML5 호환 브라우저에서 동작하도록 개발 되었으나, 일부 기능은 Chrome 브라우저에서만 이용 가능합니다. 따라서, Chrome 브라우저를 이용하기를 권장 합니다. 다음 절차를 통해 Chrome 브라우저 최신 버전을 설치 합니다. + +```sh +# 운영체제와 CPU 아키텍처에 따라 별도의 링크를 통해 다운 받아야 할 수도 있습니다. +$ wget https://dl.google.com/linux/direct/google-chrome-stable_current_amd64.deb + +$ sudo apt-get install -y libxss1 libgconf2-4 libappindicator1 libindicator7 + +$ sudo dpkg -i google-chrome-stable_current_amd64.deb +``` + +## KSB 인공지능 프레임워크 구동 + +KSB 인공지능 프레임워크 툴박스를 설치하거나 소스를 빌드한 후, +ksb-csle/bin 디렉토리에 있는 startKsbApiServing.sh 파일을 실행 합니다. +파일 실행 전에 ls와 같이 간단한 명령을 sudo를 통해 한 번 실행 합니다. + +```sh +$ sudo ls +$ ./startKsbApiServing.sh +``` + +구동이 성공적으로 이루어지면, 다음과 같은 로그가 생성되며, +[akka://KsbApi-serving/user/IO-HTTP/listener-0] Bound to /0.0.0.0:19999 +위 메시지를 통해 현재 호스트 PC의 19999 포트를 통해 구동 되는 것을 확인할 수 있습니다. + +```sh +2018-10-22 16:51:12.113 [INFO] [ConfigUtils$] KSB config file path :/home/csle/ksb-csle/conf/ksb.conf (ConfigUtils.scala:29) +2018-10-22 16:51:13.355 [INFO] [KsbApiServing$] [Local mode] Update status of incompletely terminated [0] job(s) in previous operation (KsbApiServing.scala:60) +2018-10-22 16:51:13.644 [INFO] [ApiServingActor] KSB ApiServingActor has been started. (ApiServingActor.scala:820) +2018-10-22 16:51:13.644 [INFO] [ApiServingActor] KSB ApiServingActor has been started. (ApiServingActor.scala:820) +2018-10-22 16:51:13.644 [INFO] [ApiServingActor] KSB ApiServingActor has been started. (ApiServingActor.scala:820) +2018-10-22 16:51:13.644 [INFO] [ApiServingActor] KSB ApiServingActor has been started. (ApiServingActor.scala:820) +2018-10-22 16:51:13.644 [INFO] [ApiServingActor] KSB ApiServingActor has been started. (ApiServingActor.scala:820) +2018-10-22 16:51:13,905 INFO StdSchedulerFactory: Using default implementation for ThreadExecutor +2018-10-22 16:51:13,910 INFO SimpleThreadPool: Job execution threads will use class loader of thread: main +2018-10-22 16:51:13,923 INFO SchedulerSignalerImpl: Initialized Scheduler Signaller of type: class org.quartz.core.SchedulerSignalerImpl +2018-10-22 16:51:13,923 INFO QuartzScheduler: Quartz Scheduler v.2.3.0 created. +2018-10-22 16:51:13,924 INFO RAMJobStore: RAMJobStore initialized. +2018-10-22 16:51:13,925 INFO QuartzScheduler: Scheduler meta-data: Quartz Scheduler (v2.3.0) 'DefaultQuartzScheduler' with instanceId 'NON_CLUSTERED' + Scheduler class: 'org.quartz.core.QuartzScheduler' - running locally. + NOT STARTED. + Currently in standby mode. + Number of jobs executed: 0 + Using thread pool 'org.quartz.simpl.SimpleThreadPool' - with 10 threads. + Using job-store 'org.quartz.simpl.RAMJobStore' - which does not support persistence. and is not clustered. + +2018-10-22 16:51:13,925 INFO StdSchedulerFactory: Quartz scheduler 'DefaultQuartzScheduler' initialized from default resource file in Quartz package: 'quartz.properties' +2018-10-22 16:51:13,925 INFO StdSchedulerFactory: Quartz scheduler version: 2.3.0 +2018-10-22 16:51:13,925 INFO QuartzScheduler: Scheduler DefaultQuartzScheduler_$_NON_CLUSTERED started. +[INFO] [10/22/2018 16:51:13.979] [KsbApi-serving-akka.actor.default-dispatcher-2] [akka://KsbApi-serving/user/IO-HTTP/listener-0] Bound to /0.0.0.0:19999 +[INFO] [10/22/2018 16:51:13.981] [KsbApi-serving-akka.actor.default-dispatcher-3] [akka://KsbApi-serving/deadLetters] Message [akka.io.Tcp$Bound] from Actor[akka://KsbApi-serving/user/IO-HTTP/listener-0#1547261392] to Actor[akka://KsbApi-serving/deadLetters] was not delivered. [1] dead letters encountered. This logging can be turned off or adjusted with configuration settings 'akka.log-dead-letters' and 'akka.log-dead-letters-during-shutdown'. +2018-10-23 08:22:18,351 WARN NativeCodeLoader: Unable to load native-hadoop library for your platform... using builtin-java classes where applicable +``` + +## KSB 웹툴킷 설정 업데이트 + +KSB 웹툴킷과 KSB 인공지능 프레임워크는 다음 사용자 정보가 저장되어 있습니다. + +    User ID: ksbuser@etri.re.kr / User Password: ksbuser@etri.re.kr + +Chrome 브라우저(또는 HTML5 표준 호환 브라우저)를 열고 위 사용자 정보를 입력하여 로그인합니다. + +```sh +http://localhost:8080 +``` +![login](./images/1.4_01.png) + +정상적으로 로그인에 성공하면, Management 메뉴를 클릭해서 KSB 인공지능 프레임워크가 구동되고 있는 환경 정보를 csle.gw.host 와 csle.gw.port 정보에 반영 합니다. +본 매뉴얼에서는 localhost 와 19999 포트가 되겠습니다. + +![management](./images/1.4_02.png) + +설정이 완료되면, Tomcat 서버를 재구동 하고, KSB 웹툴킷을 이용 합니다. +```sh + +$ ./catalina.sh stop + +$ ./catalina.sh start + +``` + +## KSB 웹툴킷 회원 가입 기능 활성화를 위한 설정 + +KSB 웹툴킷은 이메일을 통해 사용자 가입을 처리하도록 되어 있습니다. 이를 위해 관리자의 메일 계정을 설정 하도록 되어 있으며, Gmail 계정을 통해 설정할 수 있습니다. 관리자는 uidb 의 system_configuration 테이블에 자신의 Gmail 계정을 설정할 수 있으며, 사용자가 회원 가입을 신청하면 관련 메일이 관리자의 Gmail 계정을 통해 발송 됩니다. +설정 방법은, KSB 웹툴킷에 관리자 계정(ksbuser@etri.re.kr)으로 로그인 하여 Management 메뉴의 System Configuration 탭에서 'javax.mail.session.prop.id' property에서 수정아이콘을 클릭하여 Gmail 계정(aaa@gmail.com 이면 aaa)을 'javax.mail.session.prop.password' 에 Gmail 암호를 입력하고 저장 아이콘을 클릭하여 수정한 사항을 저장 합니다. + +이메일의 발송 시, 사용자에게 메일로 안내 되는 링크의 ip는 KSB 웹툴킷이 구동 중인 서버의 설정을 따릅니다. 만약 localhost로 구동 하였다면, KSB 웹툴킷이 구동 중인 서버에서만 가입 절차를 진행할 수 있으므로, 외부에서 접속 가능한 ip로 실행 하시기 바랍니다. diff --git a/manual1903/1.4.HowToInstallKsbWebToolkit.md.old b/manual1903/1.4.HowToInstallKsbWebToolkit.md.old new file mode 100755 index 0000000000000000000000000000000000000000..0c8a3c70c4a2729fb889b9b87eed857f2b33f3e6 --- /dev/null +++ b/manual1903/1.4.HowToInstallKsbWebToolkit.md.old @@ -0,0 +1,294 @@ +--- +html: + toc: true + offline: true +export_on_save: + html: true +--- +# KSB 웹툴킷 설치 +--- + +UI 기반으로 KSB 인공지능 프레임워크를 사용할 수 있는 KSB 웹툴킷 설치 과정을 설명합니다. + +## 설치 요구사항 + +- Docker 기반 KSB 툴박스 환경에서는, KSB 웹툴킷 실행을 위한 기능들이 사전에 설치 되어 있거나 설치 과정에 포함 되어 있으므로, 본 과정이 필요하지 않습니다. +- Ubuntu 16.04가 설치된 메모리 16GB 이상 데스트탑이나 노트북이 요구됩니다. +- KSB 웹툴킷은 KSB 인공지능 프레임워크를 기반으로 구동됩니다. 따라서 소스를 빌드하고 startKsbApiServing.sh 를 실행하여 KSB 인공지능 프레임워크를 구동하고 있어야 합니다. +- KSB 웹툴킷은 저장소로 HDFS를 사용합니다. 따라서, 저장소로 사용할 PC에 Hadoop 및 관련 소프트웨어가 설치 되어 있어야 합니다. Hadoop을 설치한 후에는 ksb-csle/conf/ksb.conf 파일에서 hadoop.master 정보를 설치한 호스트명으로 설정해 주어야 합니다. 또한 hadoop.hdfs.activated 도 true로 설정해야 정상적으로 HDFS 를 저장소로 이용할 수 있습니다.(기본적으로 true로 설정 되어 있습니다.) +- DB에서 한글을 정상적으로 사용하기 위해, 호스트 운영체제의 언어를 한글로 설정 합니다. 변경 하는 방법은 다음 링크를 참고 합니다. +[Ubuntu 언어 변경](https://askubuntu.com/questions/509174/how-can-i-change-the-language-from-english-to-spanish) +- Postgresql 9.6.8 이상이 설치되어야 합니다. +- Pgadmin3 1.22.2 이상이 설치되어야 합니다. + +## KSB 인공지능 프레임워크 DB 설치하기 + +KSB 인공지능 프레임워크는 프레임워크 사용자 정보, 생성 및 구동된 워크플로우 정보, KSB 웹툴킷에서 이용하는 UI Component 관련 정보를 관리하기 위해 Postgresql DB를 사용 합니다. +Postgresql 설치 버전은 9.6.8 이상를 권장하며, 다음과 같이 설치한 후 재시작합니다. + +```sh +$ sudo apt-get update + +$ sudo apt-get install -y software-properties-common + +$ sudo add-apt-repository "deb http://apt.postgresql.org/pub/repos/apt/ xenial-pgdg main" + +$ wget --quiet -O - https://www.postgresql.org/media/keys/ACCC4CF8.asc | sudo apt-key add - + +$ sudo apt-get update + +$ sudo apt-get install -y postgresql-9.6 + +$ sudo service postgresql restart +``` + +또한 Postgresql DB 접근 및 이용을 편리하게 하기 위해 Pgadmin을 설치하여 사용합니다. pgadmin3는 1.22.2 이상을 설치합니다. (ostgresql 9.6.8 이상을 설치해야 잘 동작합니다.) + +```sh +$ sudo apt-get update + +$ sudo apt-get install -y pgadmin3 +``` + + +## KSB 인공지능 프레임워크 DB 정의 + +Postgresql 설치가 완료되면, DB에 접속하여 DB 사용자 계정과 권한을 생성하고, SDK 압축파일에 포함된 백업파일(csledb_v1.0.backup)을 이용하여 KSB 인공지능 프레임워크 DB 정보를 restore 합니다. + +```sh +$ sudo -u postgres bash -c "psql -c \"CREATE USER csle password '사용자암호' superuser;\"" + +$ sudo -u postgres bash -c "psql -c \"CREATE DATABASE csledb WITH OWNER = csle ENCODING = 'UTF-8' CONNECTION LIMIT = -1;\"" + +$ PGPASSWORD=사용자암호 pg_restore -h localhost -U csle -C -d csledb /home/csle/ksb-csle/tools/webToolkit_db/csledb_v1.0.backup +``` + +postgresql 에 접속하여 정상적으로 복구 되었는지 확인 합니다. + +```sh +$ sudo -su postgres + +$ psql + +postgres=# \c csledb; + +csledb=# select * from "UIEngineComponent" where "MsgVersion" = '1.0' + + EngineID | EngineName | EngineType | MsgComponentID | MsgVersion +--------------------------------------+-------------------------------+-----------------------------+--------------------------------------+------------ + 49dd0271-e7a9-b43e-f1c0-698d42372e2f | BatchEngine | BATCHENGINE | 2b2fa4ec-7cd3-3cc1-1e7c-b11ab3d3ac1b | 1.0 + 6536ab61-9f9f-1119-6cbf-a3c25e8cb350 | StreamToStreamEngine | STREAMTOSTREAMENGINE | 3819b564-a79e-394d-7bbe-ddc2380f5f68 | 1.0 + 6f3d98a1-2b69-c711-f8f1-e5336eee2957 | StreamToBatchEngine | STREAMTOBATCHENGINE | 0abe3dab-c535-edcb-141b-a0d9e7746a6d | 1.0 + c1ea8c60-afd7-1c75-4686-af114173775e | OnDemandStreamEngine | ONDEMANDSTREAMENGINE | 1bfc7496-d2d3-2140-c137-af09b423a2fe | 1.0 + 1bfe0c14-7257-b56b-683c-7eb2c7f38fa4 | OnDemandServingEngine | ONDEMANDSERVINGENGINE | cfb9b524-7457-b910-0261-587c5bfe74de | 1.0 + aa301492-6d85-2aae-cbf7-ee640d5a2c1d | ExternalEngine | EXTERNALENGINE | e960e289-54df-1790-6e4a-05a75b326cec | 1.0 + 69686c51-3a70-29bf-608c-7721ac37d98d | GenericEngine | GENERICENGINE | 1dfb7769-8a34-304e-d9d5-00b2cffbbca7 | 1.0 + a52ccda4-c59a-01a2-af7d-025cb03fff10 | BatchToBatchStreamEngine | BATCHTOBATCHSTREAMENGINE | cd0758ae-b150-850a-9d73-b29152e820ce | 1.0 + 5da27056-c880-7917-5e6f-d7db44083e92 | OnDemandStreamServingEngine | ONDEMANDSTREAMSERVINGENGINE | 03ecfbd2-1a3d-2e6c-2448-06f3f2dcfe89 | 1.0 + 7b4e13dd-bb5d-289e-6022-9c651f2ca1c1 | StreamPipeEngine | STREAMTOSTREAMENGINE | 58b47983-3a49-386a-6403-b6a0ec5c4c67 | 1.0 + 790be3d3-4f2c-0318-021c-999b8ab59db3 | StreamJoinEngine | INOUTTWIGS2SENGINE | 50f1fd26-49e0-5d70-3ff0-0d14f0c6d19a | 1.0 + 2043f861-2298-4cd8-7633-97fc06f6f1ab | OnDemandPipeServingEngine | ONDEMANDCOMPOSITEENGINE | 4aff5c80-8b63-527a-7fe9-0e12e8c21735 | 1.0 + 8f8a4039-46c1-acc5-c425-4e2688b2eb84 | BatchDummyEngine | BATCHDUMMYENGINE | d625a81a-ad0f-0822-3752-c040c1d4ebf6 | 1.0 + 05761a24-af7e-eda6-428d-fba552ef1cf7 | OnDemandExternalServingEngine | EXTERNALENGINE | fe67950b-aadb-0094-186d-797ad573c84c | 1.0 +(14개 행) + + +``` + +## KSB 웹툴킷 DB 정의 + +SDK 압축파일에 포함된 백업파일(uidb_v1.0.backup)을 이용하여 KSB 웹툴 DB 정보를 restore 합니다. + +```sh +$ sudo -u postgres bash -c "psql -c \"CREATE DATABASE uidb WITH OWNER = csle ENCODING = 'UTF-8' CONNECTION LIMIT = -1;\"" + +$ PGPASSWORD=사용자암호 pg_restore -h localhost -U csle -C -d uidb /home/csle/ksb-csle/webToolkit_db/uidb_v1.0.backup +``` + +postgresql 에 접속하여 정상적으로 복구 되었는지 확인 합니다. + +```sh +$ sudo -su postgres + +$ psql + +postgres=# \c uidb; + +uidb=# SELECT count(*) FROM template where msg_version = '1.0'; + + count +------- + 23 +(1개 행) + +``` + + +## KSB 웹툴킷 회원 가입 기능 활성화를 위한 설정 + +KSB 웹툴킷은 이메일을 통해 사용자 가입을 처리하도록 되어 있습니다. 이를 위해 관리자의 메일 계정을 설정 하도록 되어 있으며, Gmail 계정을 통해 설정할 수 있습니다. 관리자는 uidb 의 system_configuration 테이블에 자신의 Gmail 계정을 설정할 수 있으며, 사용자가 회원 가입을 신청하면 관련 메일이 관리자의 Gmail 계정을 통해 발송 됩니다. +설정 방법은, KSB 웹툴킷에 관리자 계정(ksbuser@etri.re.kr)으로 로그인 하여 Management 메뉴의 System Configuration 탭에서 'javax.mail.session.prop.id' property에서 수정아이콘을 클릭하여 Gmail 계정(aaa@gmail.com 이면 aaa)을 'javax.mail.session.prop.password' 에 Gmail 암호를 입력하고 저장 아이콘을 클릭하여 수정한 사항을 저장 합니다. + +이메일의 발송 시, 사용자에게 메일로 안내되는 링크의 ip는 KSB 웹툴킷이 구동중인 서버의 설정을 따릅니다. 만약 localhost로 구동 하였다면, KSB 웹툴킷이 구동중인 서버에서만 가입 절차를 진행할 수 있으므로, 외부에서 접속 가능한 ip로 실행 하시기 바랍니다. + + +## Apache Tomcat 다운로드 + +KSB 웹툴킷은 웹컨테이너로 Apache tomcat 7을 이용합니다. https://tomcat.apache.org/download-70.cgi 사이트에서 binary distribution을 다운로드 받아, 적당한 위치에 압축을 해제 합니다. + +본 매뉴얼 에서는 '/home/csle/ui_of_csle/apache-tomcat-7.0.88/' 에 +압축을 해제 한 것으로 가정합니다. + +## Tomcat 설정 업데이트 + +### web.xml 파일 업데이트 +/home/csle/ui_of_csle/apache-tomcat-7.0.88/conf/ 디렉토리에 있는 web.xml 파일을 열어 UTF-8 설정 및 Session timeout을 조정합니다. + +```xml + + setCharacterEncodingFilter + org.apache.catalina.filters.SetCharacterEncodingFilter + + encoding + UTF-8 + + true + + +..... + + + setCharacterEncodingFilter + /* + + +..... + + + 360 + +``` + +### server.xml 파일 업데이트 +다음으로, server.xml 파일을 열어 UTF-8 설정을 조정 합니다. + +```xml + + +..... + + +``` + + + +## 웹파일 설치 및 KSB 인공지능 프레임워크 DB 접속정보 설정 + +압축된 SDK에서 /home/csle/ksb-csle/tools/webToolkit_db/csle-web_20181025.war 파일을 /home/csle/ui_of_csle/apache-tomcat-7.0.88/webapps 디렉토리로 복사 합니다. + +그리고, csle-web_20181025.war 파일의 이름을 ROOT.war로 변경 합니다. + +### Tomcat 서버 구동 +/home/csle/ui_of_csle/apache-tomcat-7.0.88/bin 디렉토리에 있는 +``catalina.sh`` 파일을 통해 Tomcat을 구동하면 웹파일이 압축해제 되어 +/home/csle/ui_of_csle/apache-tomcat-7.0.88/webapps/ROOT 폴더가 생성되고, 서버가 구동 됩니다. + +```sh +$ cd /home/csle/ui_of_csle/apache-tomcat-7.0.88/bin +$ ./catalina.sh start -Dfile.encoding=UTF-8 + +(2018-06-30 12:22:37) [DEBUG] SQL: SELECT * FROM system_configuration WHERE name = ?, name: [csle.gw.host] (SystemConfigurationDao.java:130) +(2018-06-30 12:22:37) [DEBUG] SQL: SELECT * FROM system_configuration WHERE name = ?, name: [csle.gw.port] (SystemConfigurationDao.java:130) +6월 30, 2018 12:22:38 오후 org.apache.catalina.startup.HostConfig deployWAR +정보: Deployment of web application archive /home/kbe/ui_of_csle/apache-tomcat-7.0.81/webapps/ROOT.war has finished in 5,246 ms +6월 30, 2018 12:22:38 오후 org.apache.coyote.AbstractProtocol start +정보: Starting ProtocolHandler ["http-bio-8080"] +6월 30, 2018 12:22:38 오후 org.apache.coyote.AbstractProtocol start +정보: Starting ProtocolHandler ["ajp-bio-8009"] +6월 30, 2018 12:22:38 오후 org.apache.catalina.startup.Catalina start +정보: Server startup in 5339 ms +``` + +### Tomcat 로그 보기 +Tomcat 이 잘 구동되고 있는지 확인하기 위해 Tomcat 로그 파일을 엽니다. + +```sh +$ tail -f ../logs/catalina.out +``` + +## KSB 인공지능 프레임워크 구동 + +KSB 인공지능 프레임워크 툴박스를 설치하거나 소스를 빌드한 후, +ksb-csle/bin 디렉토리에 있는 startKsbApiServing.sh 파일을 실행 합니다. +파일 실행 전에 ls와 같이 간단한 명령을 sudo를 통해 한 번 실행 합니다. + +```sh +$ sudo ls +$ ./startKsbApiServing.sh +``` + +구동이 성공적으로 이루어지면, 다음과 같은 로그가 생성되며, +[akka://KsbApi-serving/user/IO-HTTP/listener-0] Bound to /0.0.0.0:19999 +위 메시지를 통해 현재 호스트 PC의 19999 포트를 통해 구동 되는 것을 확인할 수 있습니다. + +```sh +2018-10-22 16:51:12.113 [INFO] [ConfigUtils$] KSB config file path :/home/csle/ksb-csle/conf/ksb.conf (ConfigUtils.scala:29) +2018-10-22 16:51:13.355 [INFO] [KsbApiServing$] [Local mode] Update status of incompletely terminated [0] job(s) in previous operation (KsbApiServing.scala:60) +2018-10-22 16:51:13.644 [INFO] [ApiServingActor] KSB ApiServingActor has been started. (ApiServingActor.scala:820) +2018-10-22 16:51:13.644 [INFO] [ApiServingActor] KSB ApiServingActor has been started. (ApiServingActor.scala:820) +2018-10-22 16:51:13.644 [INFO] [ApiServingActor] KSB ApiServingActor has been started. (ApiServingActor.scala:820) +2018-10-22 16:51:13.644 [INFO] [ApiServingActor] KSB ApiServingActor has been started. (ApiServingActor.scala:820) +2018-10-22 16:51:13.644 [INFO] [ApiServingActor] KSB ApiServingActor has been started. (ApiServingActor.scala:820) +2018-10-22 16:51:13,905 INFO StdSchedulerFactory: Using default implementation for ThreadExecutor +2018-10-22 16:51:13,910 INFO SimpleThreadPool: Job execution threads will use class loader of thread: main +2018-10-22 16:51:13,923 INFO SchedulerSignalerImpl: Initialized Scheduler Signaller of type: class org.quartz.core.SchedulerSignalerImpl +2018-10-22 16:51:13,923 INFO QuartzScheduler: Quartz Scheduler v.2.3.0 created. +2018-10-22 16:51:13,924 INFO RAMJobStore: RAMJobStore initialized. +2018-10-22 16:51:13,925 INFO QuartzScheduler: Scheduler meta-data: Quartz Scheduler (v2.3.0) 'DefaultQuartzScheduler' with instanceId 'NON_CLUSTERED' + Scheduler class: 'org.quartz.core.QuartzScheduler' - running locally. + NOT STARTED. + Currently in standby mode. + Number of jobs executed: 0 + Using thread pool 'org.quartz.simpl.SimpleThreadPool' - with 10 threads. + Using job-store 'org.quartz.simpl.RAMJobStore' - which does not support persistence. and is not clustered. + +2018-10-22 16:51:13,925 INFO StdSchedulerFactory: Quartz scheduler 'DefaultQuartzScheduler' initialized from default resource file in Quartz package: 'quartz.properties' +2018-10-22 16:51:13,925 INFO StdSchedulerFactory: Quartz scheduler version: 2.3.0 +2018-10-22 16:51:13,925 INFO QuartzScheduler: Scheduler DefaultQuartzScheduler_$_NON_CLUSTERED started. +[INFO] [10/22/2018 16:51:13.979] [KsbApi-serving-akka.actor.default-dispatcher-2] [akka://KsbApi-serving/user/IO-HTTP/listener-0] Bound to /0.0.0.0:19999 +[INFO] [10/22/2018 16:51:13.981] [KsbApi-serving-akka.actor.default-dispatcher-3] [akka://KsbApi-serving/deadLetters] Message [akka.io.Tcp$Bound] from Actor[akka://KsbApi-serving/user/IO-HTTP/listener-0#1547261392] to Actor[akka://KsbApi-serving/deadLetters] was not delivered. [1] dead letters encountered. This logging can be turned off or adjusted with configuration settings 'akka.log-dead-letters' and 'akka.log-dead-letters-during-shutdown'. +2018-10-23 08:22:18,351 WARN NativeCodeLoader: Unable to load native-hadoop library for your platform... using builtin-java classes where applicable +``` + +## KSB 웹툴킷 설정 업데이트 + +KSB 웹툴킷과 KSB 인공지능 프레임워크는 다음 사용자 정보가 저장되어 있습니다. + +    User ID: ksbuser@etri.re.kr / User Password: ksbuser@etri.re.kr + +Chrome 브라우저(또는 HTML5 표준 호환 브라우저)를 열고 위 사용자 정보를 입력하여 로그인합니다. + +```sh +http://localhost:8080 +``` +![login](./images/1.4_01.png) + +정상적으로 로그인에 성공하면, Management 메뉴를 클릭해서 KSB 인공지능 프레임워크가 구동되고 있는 환경 정보를 csle.gw.host 와 csle.gw.port 정보에 반영 합니다. +본 매뉴얼에서는 localhost 와 19999 포트가 되겠습니다. + +![management](./images/1.4_02.png) + +설정이 완료되면, Tomcat 서버를 재구동 하고, KSB 웹툴킷을 이용 합니다. +```sh + +$ ./catalina.sh stop + +$ ./catalina.sh start + +``` + + diff --git a/manual1903/1.5.HowToRunFirst.md b/manual1903/1.5.HowToRunFirst.md new file mode 100644 index 0000000000000000000000000000000000000000..ec5a89b281269eece550c24a06a609813cb3be17 --- /dev/null +++ b/manual1903/1.5.HowToRunFirst.md @@ -0,0 +1,175 @@ +--- +html: + toc: true + offline: true +export_on_save: + html: true +--- +# KSB 인공지능 프레임워크 실행하기 +--- +KSB 인공지능 프레임워크를 실행하는 방법에 대해서 설명합니다. +아래와 같은 절차로 KSB 프레임워크를 구동합니다. +. [Host PC] KSB 툴박스 docker 컨테이너 실행하기 +. [Docker 컨테이너] KSB 툴박스 docker 컨테이너 초기화 +. [Docker 컨테이너] KSB 인공지능 프레임워크 API serving 구동 + +## [Host PC] KSB 툴박스 docker 컨테이너 실행하기 + + 다운로드 페이지에서 KSB 툴박스 (ksb_toolbox_v1_0.tar.gz 파일)를 다운받아 압축을 해제하여 생성된 ```/home/csle/ksb_csle/docker/1.0-host```로 이동합니다. +아래의 명령을 통해 KSB 툴박스 docker 컨테이너를 실행하고 접속합니다. + +```sh +csle@csle1:~/ksb-csle/docker/1.0-host$ ./startDockerCsle.sh +Error response from daemon: network csle_standalone not found +csle1 +start csle1 slave container... +4918997cd2dac93fe0b52f3df3a45a46db6df1f3f052854061696695451d2f22 +csle@csle1:/$ +``` +. (참고사항) KSB 툴박스 docker 컨테이너를 실행할 경우, Host pc의 /home/csle/ksb-csle 폴더를 volume 마운트해서 사용합니다. 따라서 예제 파일이나 모델 파일 등 사용자 파일은 ksb-csle 폴더를 통해 docker 컨테이너에서 접근 할 수 있습니다. + +## [Docker 컨테이너] KSB 툴박스 docker 컨테이너 초기화하기 +KSB 툴박스 docker 컨테이너 접속한 후, 다양한 KSB 툴박스 예제들을 실행하기 위해서 아래 명령을 통해 docker 컨테이너를 초기화 합니다. Zookeeper/Hadoop/Kafka/Hbase/웹툴킷 등 초기화를 진행합니다. PC사양에 따라 다소 시간이 걸릴 수 있습니다. 아래와 같은 메세지가 나오면 초기화가 완료된 상태입니다. (host pc의 IP는 192.168.0.5로 가정합니다. 자신의 Host PC IP가 출력되면 정상입니다.) + +```sh +csle@csle1: cd +csle@csle1:~$ ./startService.sh +* Restarting OpenBSD Secure Shell server sshd [ OK ] +* Restarting PostgreSQL 9.6 database server [ OK ] +ZooKeeper JMX enabled by default +Using config: /home/csle/zookeeper-3.4.9/bin/../conf/zoo.cfg +Starting zookeeper ... STARTED +Warning: Permanently added 'master,192.168.0.5' (ECDSA) to the list of +known hosts. +ZooKeeper JMX enabled by default +Using config: /home/csle/zookeeper-3.4.9/bin/../conf/zoo.cfg +Starting zookeeper ... already running as process 174. +Warning: Permanently added 'csle1,192.168.0.5' (ECDSA) to the list of +known hosts. +ZooKeeper JMX enabled by default +Using config: /home/csle/zookeeper-3.4.9/bin/../conf/zoo.cfg +Starting zookeeper ... already running as process 174. +Starting namenodes on [csle1] +csle1: Warning: Permanently added 'csle1,192.168.0.5' (ECDSA) to the +list of known hosts. + +< 중간 생략 > + +[info] Loading project definition from +/home/csle/ksb-knowledge/KBE/project +[info] Set current project to KBE +(in build file:/home/csle/ksb-knowledge/KBE/) +[warn] The start command is deprecated, and will be removed in a +future version of Play. +[warn] To run Play in production mode, run 'stage' instead, and then + execute the generated start script in target/universal/stage/bin. +[warn] To test your application using production mode, run 'testProd' +instead. +[info] Wrote /home/csle/ksb-knowledge/KBE/target/scala-2.11/ +kbe_2.11-1.0-SNAPSHOT.pom +Warning: node.js detection failed, sbt will use the Rhino based +Trireme JavaScript engine instead to run JavaScript assets compilation, +which in some cases may be orders of magnitude slower than using +node.js. + +(Starting server. Type Ctrl+D to exit logs, the server will remain in +background) + + + + + + + Select inference rules + + + + + + +< 중간 생략 > + + + + + + Welcome to Play + + + + + + +

addDeviceControl

+ + + +csle@csle1:~$ +``` + +jps명령을 이용하여 초기화 상태를 확인합니다. + +```sh +csle@csle1:~$ jps +2336 HRegionServer +2161 HMaster +3681 Jps +1890 NodeManager +1219 DataNode +885 QuorumPeerMain +1413 SecondaryNameNode +1078 NameNode +3542 ProdServerStart +2475 Kafka +3228 Bootstrap +1597 ResourceManager +``` + +## [Docker 컨테이너] KSB Base Ontology 로드하기 +KSB 툴박스에 포함된 RealtimeIngestToServingWithKbInTwoEngines 예제를 실행하기 위해 온톨로지를 로드합니다. + +```sh +cd ~/ksb-csle/bin/ +./loadKnowledge_BaseOntologies.sh localhost 9876 +``` + +## [Docker 컨테이너] KSB 인공지능 프레임워크 구동하기 +KSB 툴박스의 다양한 예제를 실행하기 위해 아래 명령으로 KSB 인공지능 프레임워크 API serving을 실행합니다. + +```sh +csle@csle1:~/ksb-csle/bin$ ./startKsbApiServing.sh +``` + +KSB 인공지능 프레임워크 사용을 위한 모든 준비가 완료되었습니다. + +이제 사용자 가이드로 이동하셔서 워크플로우 예제들을 실행해 보시기 바랍니다. + +## FAQ + +#### 1. 호스트 PC에서 sudo 명령을 할때 sudo: could not resolve host 에러가 날때 +. [Host PC] 호스트 PC의 hostname이 csle1으로 설정되었는지 확인합니다. +. sudo vi /etc/hosts 명령을 통해 아래의 줄이 추가되었는지 확인합니다. + <자신의 IP> csle1 master + +#### 2. 웹툴킷 홈페이지(csle1:8080)에 접속이 안될때 +. [Docker 컨테이너] tomcat이 제대로 구동되지 않았을 경우가 있습니다. 따라서 docker내에서 아래의 명령으로 tomcat을 재구동한 후 재접속합니다. + +```sh +csle@csle1:/$ ~/ui_of_csle/apache-tomcat-7.0.81/bin/catalina.sh stop +csle@csle1:/$ ~/ui_of_csle/apache-tomcat-7.0.81/bin/catalina.sh start +``` + +#### 3. 크롬을 이용해서 웹툴킷에 잘 접속 되었으나, 아래와 같이 웹페이지가 업데이트 되지 않고 멈춰있을때 + +![](./images/1.5.HowToRunFirst_01.png) + +Host PC에 기존의 웹툴킷 버전이 캐쉬에 남아있어서 문제가 되는 경우입니다. +먼저, 크롬 브라우저에서 F12를 클릭합니다. 그리고, 아래 그림과 같이 '새로고침' 아이콘에서 마우스 오른쪽 버튼을 클릭하면 '캐시 비우기 및 강력 새로고침'을 클릭합니다. 그리고 F12를 클릭해서 디버깅 모드를 빠져나옵니다. + +![](./images/1.5.HowToRunFirst_02.png) diff --git a/manual1903/1.5.HowToRunFirst.pdf b/manual1903/1.5.HowToRunFirst.pdf new file mode 100644 index 0000000000000000000000000000000000000000..62ef712e57f417b78802517fb42e740775cbd699 Binary files /dev/null and b/manual1903/1.5.HowToRunFirst.pdf differ diff --git a/manual1903/1.6.KSB_K8s_install_Guide-old.md b/manual1903/1.6.KSB_K8s_install_Guide-old.md new file mode 100644 index 0000000000000000000000000000000000000000..777bfda181215b221d4c5ad53e4c8f0677fa5f22 --- /dev/null +++ b/manual1903/1.6.KSB_K8s_install_Guide-old.md @@ -0,0 +1,570 @@ +--- +html: + toc: true + offline: true +export_on_save: + html: true +--- +# Kubernetes 클러스터 설치하기 +--- +3대 서버에 마스터 1개, 노드1, 노도2의 쿠버네티스 클러스터를 구성하기 위한 설치 방법을 설명합니다. +각 서버의 호스트 이름 및 IP 는 아래와 같이 가정합니다. +csle1 : 192.168.0.5 (master) +csle2 : 192.168.0.6 (node1) +csle3 : 192.168.0.7 (node2) + +## 모든 서버에 공통으로 설치하기 + +### [모든 서버 공통] java 8 설치하기 +KSB 툴박스 설치의 java-8-oracle 설치 부분을 참고합니다. + +### [모든 서버 공통] 기타 우분투 프로그램 설치하기 +```sh +sudo apt-get update && \ +sudo apt-get install -y --no-install-recommends apt-utils curl bc jq && \ +sudo apt-get install -y ssh locales wget git vim rsync locales filezilla python3-pip && \ +sudo apt-get install -y net-tools && \ +pip3 install kafka-python +``` + +### [모든 서버 공통] SSHD port 변경 및 root 로그인 가능하게 SSHD config 수정하기 +아래의 명령을 수행하여 포트 정보를 2243로 수정하고, root 로그인을 허용합니다. + +```sh +sudo sed -ri 's/^Port 22/Port 2243/g' /etc/ssh/sshd_config +sudo sed -ri 's/^PermitRootLogin prohibit-password/PermitRootLogin yes/g' /etc/ssh/sshd_config +``` + +### [모든 서버 공통] SSH config 수정하기 +SSH 접속시 known_hosts에 호스트 정보 저장 질문을 하지 않도록 설정합니다. +아래의 명령을 수행하여 ssh_config의 기존 내용을 모두 삭제하고 설정을 추가합니다. + +```sh +sudo truncate -s0 /etc/ssh/ssh_config +echo "Host localhost" | sudo tee -a /etc/ssh/ssh_config >/dev/null +echo "StrictHostKeyChecking no" | sudo tee -a /etc/ssh/ssh_config >/dev/null +echo "Host 0.0.0.0" | sudo tee -a /etc/ssh/ssh_config >/dev/null +echo "StrictHostKeyChecking no" | sudo tee -a /etc/ssh/ssh_config >/dev/null +echo "Host 127.0.0.1" | sudo tee -a /etc/ssh/ssh_config >/dev/null +echo "StrictHostKeyChecking no" | sudo tee -a /etc/ssh/ssh_config >/dev/null +echo "Host csle*" | sudo tee -a /etc/ssh/ssh_config >/dev/null +echo "StrictHostKeyChecking no" | sudo tee -a /etc/ssh/ssh_config >/dev/null +echo "UserKnownHostsFile=/dev/null" | sudo tee -a /etc/ssh/ssh_config >/dev/null +echo "Host master" | sudo tee -a /etc/ssh/ssh_config >/dev/null +echo "StrictHostKeyChecking no" | sudo tee -a /etc/ssh/ssh_config >/dev/null +echo "UserKnownHostsFile=/dev/null" | sudo tee -a /etc/ssh/ssh_config >/dev/null +``` + +### [모든 서버 공통] SSH 서비스 재시작하기 +```sh +sudo service ssh restart +``` + +### [모든 서버 공통] docker 설치하기 +```sh +curl -fsSL https://apt.dockerproject.org/gpg | sudo apt-key add - +apt-key fingerprint 58118E89F3A912897C070ADBF76221572C52609D +add-apt-repository "deb https://apt.dockerproject.org/repo/ ubuntu-xenial main" +apt-get update +apt-get -y install docker-engine +systemctl enable docker +``` +#### [참고사항] 기존 docker-engine 삭제 +sudo apt-get purge -y docker docker-engine docker.io + +### [모든 서버 공통] docker sudo 명령없이 사용하기 위한 설정하기 + +Docker 명령시 root 권한이 필요합니다. root가 아닌 사용자가 sudo 없이 사용하려면 해당 사용자를 docker 그룹에 추가합니다. + +```sh +sudo usermod -aG docker csle +# 사용자가 로그인 중이라면 다시 로그인 후 권한이 적용됩니다. 단, 현재 터미널에서만 적용됩니다. +sudo su csle +PC 재부팅 +``` + +PC 재부팅을 통해서 sudo 명령없이 docker 명령을 사용할 수 있습니다. + +### [모든 서버 공통] Kubernetes 설치하기 +```sh +curl -s https://packages.cloud.google.com/apt/doc/apt-key.gpg | sudo apt-key add - && \ +echo "deb http://apt.kubernetes.io/ kubernetes-xenial main" | sudo tee /etc/apt/sources.list.d/kubernetes.list && \ +sudo apt-get update -q && \ +sudo apt-get install -qy kubelet=1.9.6-00 kubectl=1.9.6-00 kubeadm=1.9.6-00 +kubectl version +``` +#### [모든 서버 공통] (참고사항) 기존 Kubernetes 버전 삭제 방법 +```sh +sudo su - +kubeadm reset +rm /usr/local/bin/kubectl +rm -r /etc/kubernetes +rm -r /var/lib/etcd +rm -rf /var/lib/cni/ +ifconfig cni0 down && ip link delete cni0 +ifconfig flannel.1 down && ip link delete flannel.1 +apt-get autoremove --purge -y kubelet kubeadm kubectl kubernetes-cni +``` + +### [모든 서버 공통] /etc/fstab 수정 후 재부팅하기 +쿠버네티스가 Swap 기능을 관리해야 하므로, 아래의 swap이 적용된 file 시스템 부분을 주석 처리한다. + +```sh +sudo vi /etc/fstab + +UUID=c3ec283e-682f-4e8c-b822-43eef87a725f / ext4 errors=remount-ro 0 1 +# /boot/efi was on /dev/nvme0n1p1 during installation +UUID=7D67-73C7 /boot/efi vfat umask=0077 0 1 +# swap was on /dev/nvme0n1p3 during installation + +# (주의!!!) swap 설정 해제 +#UUID=257a989b-d1fa-4a7c-8ae7-9ccad9b9c0c6 none swap sw 0 0 +``` + +### [모든 서버 공통] Kubernetes master /etc/hosts 변경하기 + +```sh +sudo vi /etc/hosts + +127.0.0.1 localhost +# 아래 주석처리. Hdfs 연동시 문제가 생김. +#127.0.1.1 csle1 + +# The following lines are desirable for IPv6 capable hosts +::1 ip6-localhost ip6-loopback +fe00::0 ip6-localnet +ff00::0 ip6-mcastprefix +ff02::1 ip6-allnodes +ff02::2 ip6-allrouters + +# 쿠버네티스 master, node1, node2 정보 등록 +192.168.0.5 csle1 master +192.168.0.6 csle2 +192.168.0.7 csle3 +``` + +### [모든 서버 공통] sysctl kernel parameter값 수정하기 +커널 차원에서 보안 및 최적화 관련 설정을 변경합니다. + +먼저 root계정으로 변경합니다. + +```sh +csle@csle1:~# sudo su - +root@csle1:~# +``` + +아래와 같이 설정 후 반영합니다. + +```sh +root@csle1:~# vi /etc/sysctl.conf +# 아래의 내용을 마지막에 추가합니다. +net.bridge.bridge-nf-call-iptables=1 +net.bridge.bridge-nf-call-ip6tables=1 +net.ipv4.ip_forward=1 +net.netfilter.nf_conntrack_max = 786432 + +root@csle1:~# sysctl -p +``` + +### [모든 서버 공통] kubectl 명령 옵션의 자동 완성 기능 설정하기 +```sh +root@csle1:~# source /etc/profile.d/bash_completion.sh +root@csle1:~# source <(kubectl completion bash) +root@csle1:~# echo "source /etc/profile.d/bash_completion.sh" | tee -a ~/.bashrc +root@csle1:~# echo "source <(kubectl completion bash)" | tee -a ~/.bashrc +``` + +### [모든 서버 공통] Security Enhanced Linux 모드 disable 하기 +갑작스러운 리부팅 이후에 apiserver, etcd 등이 정상 기동되지 않는 경우가 자주 발생을 막기 위해 permissive로 설정합니다. + +```sh +root@csle1:~# apt install -y selinux-utils +root@csle1:~# setenforce 0 +``` + +### [모든 서버 공통] 10-kubeadm.conf 수정하기 +ExecStart= 위의 라인에 Environment 설정값을 추가합니다. + +```sh +root@csle1:~$ vi /etc/systemd/system/kubelet.service.d/10-kubeadm.conf + +[Service] +Environment="KUBELET_KUBECONFIG_ARGS=--bootstrap-kubeconfig=/etc/kubernetes/bootstrap-kubelet.conf --kubeconfig=/etc/kubernetes/kubelet.conf" +Environment="KUBELET_SYSTEM_PODS_ARGS=--pod-manifest-path=/etc/kubernetes/manifests --allow-privileged=true" +Environment="KUBELET_NETWORK_ARGS=--network-plugin=cni --cni-conf-dir=/etc/cni/net.d --cni-bin-dir=/opt/cni/bin" +Environment="KUBELET_DNS_ARGS=--cluster-dns=10.96.0.10 --cluster-domain=cluster.local" +Environment="KUBELET_AUTHZ_ARGS=--authorization-mode=Webhook --client-ca-file=/etc/kubernetes/pki/ca.crt" +Environment="KUBELET_CADVISOR_ARGS=--cadvisor-port=0" +Environment="KUBELET_CERTIFICATE_ARGS=--rotate-certificates=true --cert-dir=/var/lib/kubelet/pki" + +# 아래의 내용을 추가합니다. +Environment="KUBELET_EXTRA_ARGS=--fail-swap-on=false --runtime-cgroups=/systemd/system.slice --kubelet-cgroups=/systemd/system.slice" + +ExecStart= +ExecStart=/usr/bin/kubelet $KUBELET_KUBECONFIG_ARGS $KUBELET_SYSTEM_PODS_ARGS $KUBELET_NETWORK_ARGS $KUBELET_DNS_ARGS $KUBELET_AUTHZ_ARGS $KUBELET_CADVISOR_ARGS $KUBELET_CERTIFICATE_ARGS $KUBELET_EXTRA_ARGS +``` + +아래의 명령을 통해 kubelet을 재시작 합니다. + +```sh +root@csle1:~$ swapoff -a +root@csle1:~$ sudo systemctl daemon-reload +root@csle1:~$ sudo systemctl restart kubelet +root@csle1:~$ sudo systemctl status kubelet + +● kubelet.service - kubelet: The Kubernetes Node Agent + Loaded: loaded (/lib/systemd/system/kubelet.service; enabled; vendor preset: enabled) + Drop-In: /etc/systemd/system/kubelet.service.d + └─10-kubeadm.conf + Active: activating (auto-restart) (Result: exit-code) since 수 2018-07-25 09:55:44 KST; 3s ago + Docs: http://kubernetes.io/docs/ + Process: 10517 ExecStart=/usr/bin/kubelet $KUBELET_KUBECONFIG_ARGS $KUBELET_SYSTEM_PODS_ARGS $KUBELET_NETWORK_ARGS $KUBELET_DNS_ARGS $KUBELET_AUTHZ_ARGS $KUBELET_CADVISOR + Main PID: 10517 (code=exited, status=1/FAILURE) + 7월 25 09:55:44 csle4 systemd[1]: kubelet.service: Unit entered failed state. + 7월 25 09:55:44 csle4 systemd[1]: kubelet.service: Failed with result 'exit-code'. +``` +systemctl status kubelet 실행시 status=1/FAILURE로 나타나지만 무시해도 됩니다. +kubeadm이 정상 실행 되면 정상화됩니다. + +모든 노드에 대해 동일하게 설정하는 부분을 완료하였습니다. + +master와 node들 각각에 대한 설정 방법을 설명합니다. + +## Kubernetes master (csle1) 설정하기 + +### [Master: csle1] kubeadm 초기화하기 + +자신의 ip에 맞도록 수정하고 kubeadm으로 초기화합니다. (예: master ip : 192.168.0.5) + +```sh +root@csle1:~$ kubeadm init --apiserver-advertise-address=192.168.0.5 --pod-network-cidr=10.244.0.0/16 --service-cidr 10.96.0.0/12 --token-ttl 0 +``` + +아래와 같은 로그가 나오면서 초기화 되면 정상입니다. + +``` +[init] Using Kubernetes version: v1.9.9 +[init] Using Authorization modes: [Node RBAC] +[preflight] Running pre-flight checks. + [WARNING FileExisting-crictl]: crictl not found in system path +[certificates] Generated ca certificate and key. +[certificates] Generated apiserver certificate and key. +[certificates] apiserver serving cert is signed for DNS names [csle1 kubernetes kubernetes.default kubernetes.default.svc kubernetes.default.svc.cluster.local] and IPs [10.96.0.1 129.254.xxx.xxx] +[certificates] Generated apiserver-kubelet-client certificate and key. +[certificates] Generated sa key and public key. +[certificates] Generated front-proxy-ca certificate and key. +[certificates] Generated front-proxy-client certificate and key. +[certificates] Valid certificates and keys now exist in "/etc/kubernetes/pki" +[kubeconfig] Wrote KubeConfig file to disk: "admin.conf" +[kubeconfig] Wrote KubeConfig file to disk: "kubelet.conf" +[kubeconfig] Wrote KubeConfig file to disk: "controller-manager.conf" +[kubeconfig] Wrote KubeConfig file to disk: "scheduler.conf" +[controlplane] Wrote Static Pod manifest for component kube-apiserver to "/etc/kubernetes/manifests/kube-apiserver.yaml" +[controlplane] Wrote Static Pod manifest for component kube-controller-manager to "/etc/kubernetes/manifests/kube-controller-manager.yaml" +[controlplane] Wrote Static Pod manifest for component kube-scheduler to "/etc/kubernetes/manifests/kube-scheduler.yaml" +[etcd] Wrote Static Pod manifest for a local etcd instance to "/etc/kubernetes/manifests/etcd.yaml" +[init] Waiting for the kubelet to boot up the control plane as Static Pods from directory "/etc/kubernetes/manifests". +[init] This might take a minute or longer if the control plane images have to be pulled. +[apiclient] All control plane components are healthy after 46.007752 seconds +[uploadconfig] Storing the configuration used in ConfigMap "kubeadm-config" in the "kube-system" Namespace +[markmaster] Will mark node csle1 as master by adding a label and a taint +[markmaster] Master csle1 tainted and labelled with key/value: node-role.kubernetes.io/master="" +[bootstraptoken] Using token: a96953.b5d1418a5099b5de +[bootstraptoken] Configured RBAC rules to allow Node Bootstrap tokens to post CSRs in order for nodes to get long term certificate credentials +[bootstraptoken] Configured RBAC rules to allow the csrapprover controller automatically approve CSRs from a Node Bootstrap Token +[bootstraptoken] Configured RBAC rules to allow certificate rotation for all node client certificates in the cluster +[bootstraptoken] Creating the "cluster-info" ConfigMap in the "kube-public" namespace +[addons] Applied essential addon: kube-dns +[addons] Applied essential addon: kube-proxy + +Your Kubernetes master has initialized successfully! + +To start using your cluster, you need to run the following as a regular user: + + mkdir -p $HOME/.kube + sudo cp -i /etc/kubernetes/admin.conf $HOME/.kube/config + sudo chown $(id -u):$(id -g) $HOME/.kube/config + +You should now deploy a pod network to the cluster. +Run "kubectl apply -f [podnetwork].yaml" with one of the options listed at: + https://kubernetes.io/docs/concepts/cluster-administration/addons/ + +You can now join any number of machines by running the following on each node +as root: + + kubeadm join --token a96953.b5d1418a5099b5de 129.254.xxx.xxx:6443 --discovery-token-ca-cert-hash sha256:648c1dd27c51edc0e90ff356f47599e1a8bee800f77ada9f23fdacd8d69e62a0 + +``` + +다른 노드에서 master에 접속하기 위해서 아래의 부분을 저장해 둡니다. +```sh + kubeadm join --token a96953.b5d1418a5099b5de 192.168.0.5:6443 --discovery-token-ca-cert-hash sha256:648c1dd27c51edc0e90ff356f47599e1a8bee800f77ada9f23fdacd8d69e62a0 +``` + +### [Master: csle1] K8s master 노드 kubectl 실행환경 설정하기 + +```sh +root@csle1:~$ sudo su csle +csle@csle1:~$ mkdir -p $HOME/.kube +csle@csle1:~$ yes | sudo cp -i /etc/kubernetes/admin.conf $HOME/.kube/config +csle@csle1:~$ sudo chown $(id -u):$(id -g) $HOME/.kube/config +csle@csle1:~$ export KUBECONFIG=$HOME/.kube/config +csle@csle1:~$ echo "export KUBECONFIG=$HOME/.kube/config" | tee -a ~/.bashrc +csle@csle1:~$ kubectl get componentstatus +``` + + +## Kubernetes node1, node2 설정하기 (csle2, csle3) + +먼저 root계정으로 변경합니다. + +```sh +csle@csle2:~$ sudo su - +root@csle2:~$ +``` + +### [csle2, csle3] kubernetes master에 join 하기 +kublet을 재부팅합니다. + +```sh +root@csle2:~$ swapoff -a +root@csle2:~$ sudo systemctl daemon-reload +root@csle2:~$ sudo systemctl restart kubelet +root@csle2:~$ sudo systemctl status kubelet +``` + +kubernetes master에서 init시 생성된 script와 추가 옵션을 이용해 master에 join 합니다. + +```sh +kubeadm join --token c8908d.5dc02f87aca87415 192.168.0.5:6443 --discovery-token-ca-cert-hash sha256:756ac632e63878260dc6b3a3497b8ba69d29087ba0428beaea061e4f5241b29d --ignore-preflight-errors=all --discovery-token-unsafe-skip-ca-verification +``` + +## kubernetes master에서 확인하기 (csle1) + +### [Master: csle1] node 및 pod 동작 확인하기 + +node1, node2가 join이 성공했는지 아래의 명령을 이용해서 확인합니다. +```sh +root@csle1:~$ sudo su csle +csle@csle1:~$ kubectl get nodes +NAME STATUS ROLES AGE VERSION +csle1 NotReady master 5m v1.9.6 +csle2 NotReady 1m v1.9.6 +csle3 NotReady 1m v1.9.6 +``` + +### [Master: csle1] kubernetes 클러스터 환경 구성을 위한 yaml 환경 설정하기 + +kubernetes master에서 클러스터 환경 구성을 위한 yaml 파일들을 이용해서 서비스를 생성합니다. + +```sh +csle@csle1:~$ cd /home/csle/ksb-csle/kubernetes/env_set +csle@csle1:~/ksb-csle/kubernetes/env_set$ kubectl create -f kube-flannel.yml +csle@csle1:~/ksb-csle/kubernetes/env_set$ kubectl create -f kubernetes-dashboard.yaml +csle@csle1:~/ksb-csle/kubernetes/env_set$ kubectl create -f kubernetes-dashboard-admin-rbac.yaml +csle@csle1:~/ksb-csle/kubernetes/env_set$ kubectl create -f ServiceAccount.yml +csle@csle1:~/ksb-csle/kubernetes/env_set$ kubectl create -f ClusterRoleBinding.yml +csle@csle1:~/ksb-csle/kubernetes/env_set$ kubectl create -f k8s-heapster/ + +``` +```sh +csle@csle1:~$ kubectl get nodes +NAME STATUS ROLES AGE VERSION +csle1 Ready master 5m v1.9.6 +csle2 Ready 1m v1.9.6 +csle3 Ready 1m v1.9.6 +``` +```sh +csle@csle1:~$ kubectl get pods --all-namespaces +kube-system etcd-csle1 1/1 Running 2 1d +kube-system kube-apiserver-csle1 1/1 Running 2 1d +kube-system kube-controller-manager-csle1 1/1 Running 2 1d +kube-system kube-dns-6f4fd4bdf-vtqbt 3/3 Running 6 1d +kube-system kube-proxy-vwp26 1/1 Running 2 1d +kube-system kube-proxy-zs2sw 1/1 Running 2 1d +kube-system kube-scheduler-csle1 1/1 Running 2 1d +``` + + +클러스터 환경 구성을 위한 pod가 정상적으로 구동되었는지 확인합니다. +```sh +csle@csle1:~/ksb-csle/kubernetes/env_set$ kubectl get pods --all-namespaces +NAMESPACE NAME READY STATUS RESTARTS AGE +kube-system etcd-csle1 1/1 Running 2 1d +kube-system heapster-dfd674df9-bz45s 1/1 Running 2 1d +kube-system kube-apiserver-csle1 1/1 Running 2 1d +kube-system kube-controller-manager-csle1 1/1 Running 2 1d +kube-system kube-dns-6f4fd4bdf-vtqbt 3/3 Running 6 1d +kube-system kube-flannel-ds-c6mpq 1/1 Running 2 1d +kube-system kube-flannel-ds-rc74q 1/1 Running 2 1d +kube-system kube-proxy-vwp26 1/1 Running 2 1d +kube-system kube-proxy-zs2sw 1/1 Running 2 1d +kube-system kube-scheduler-csle1 1/1 Running 2 1d +kube-system kubernetes-dashboard-5bd6f767c7-4qzj7 1/1 Running 2 1d +kube-system monitoring-grafana-76848b566c-4n4xj 1/1 Running 2 1d +kube-system monitoring-influxdb-6c4b84d695-ts7dk 1/1 Running 2 1d +``` + +### [Master: csle1] Ingress 환경 설정하기 + +kubernetes master에서 ingress를 설정합니다. + +```sh +csle@csle1:~$ cd /home/csle/ksb-csle/kubernetes/env_set +csle@csle1:~/ksb-csle/kubernetes/env_set$ kubectl create -f default-backend-for-ingress.yaml +csle@csle1:~/ksb-csle/kubernetes/env_set$ kubectl create -f configmap-nginx-ingress-controller.yaml +csle@csle1:~/ksb-csle/kubernetes/env_set$ kubectl create -f deploy-nginx-ingress-controller.yaml +csle@csle1:~/ksb-csle/kubernetes/env_set$ kubectl create -f ingress-rule.yaml +csle@csle1:~/ksb-csle/kubernetes/env_set$ kubectl create -f svc-expose-by-nodeport.yaml +``` + +### [Master: csle1] Dashboard URL에 접속하기 + +아래의 명령으로 dashboard 프록시를 동작시킵니다. + +```sh +csle@csle1:~/ksb-csle/kubernetes/env_set$ kubectl create clusterrolebinding add-on-cluster-admin --clusterrole=cluster-admin --serviceaccount=kube-system:kubernetes-dashboard + +csle@csle1:~/ksb-csle/kubernetes/env_set$ kubectl proxy --port=9999 --address='192.168.0.5' --accept-hosts="^*$" + +``` + +크롬을 열어 아래의 주소로 쿠버네티스 dashboard에 접속한다. + +http://192.168.0.5:9999/ui + +아래에서 skip을 선택하여 dashboard에 접속합니다. + +![Dashboard 접속하기](./images/1.6.KSB_K8s_install_Guide_01.png) + +![Dashboard 접속화면](./images/1.6.KSB_K8s_install_Guide_02.png) + + +## KSB 프레임워크와 연동을 위한 환경설정하기 + + +### [모든 서버 공통] KSB 툴박스에 포함된 SSH 인증키 공유하기 +KSB 프레임워크의 엔진이 Kubernetes 마스터에 접속할때 인증 키를 묻지않도록 배포된 KSB 툴박스에 포함된 .ssh 폴더를 쿠버네티스 서버의 홈에 복사합니다. + +```sh +cp -r ~/ksb-csle/tools/.ssh/ /home/csle/ +``` + +### [모든 서버 공통] hadoop 프로그램을 설치하기 + +~/ksb-csle/tools/hadoop-2.7.3 폴더를 master, node1, node2의 csle 홈 폴더에 복사합니다. + +```sh +cp -r ~/ksb-csle/tools/hadoop-2.7.3 /home/csle/ +``` +그리고 아래와 같이 설정합니다. + +```sh +ln -s hadoop-2.7.3 hadoop +``` + +### [모든 서버 공통] ~/.bashrc 수정하기 + +```sh +sudo vi ~/.bashrc + +export JAVA_HOME=/usr/lib/jvm/java-8-oracle +export PATH=$PATH:$JAVA_HOME/bin +export KSB_HOME=/home/csle/ksb-csle +export PYTHONPATH=/home/csle/ksb-csle/pyML/:$PYTHONPATH +export PYTHONPATH=./:/home/csle/ksb-csle/ksblib:$PYTHONPATH +export KUBECONFIG=/home/csle/.kube/config + +export HADOOP_HOME=/home/csle/hadoop-2.7.3 +export HADOOP_PREFIX=$HADOOP_HOME +export PATH=$PATH:$HADOOP_PREFIX/bin +export PATH=$PATH:$HADOOP_PREFIX/sbin +export HADOOP_CONF_DIR=$HADOOP_HOME/etc/hadoop +export HADOOP_MAPRED_HOME=${HADOOP_PREFIX} +export HADOOP_COMMON_HOME=${HADOOP_PREFIX} +export HADOOP_HDFS_HOME=${HADOOP_PREFIX} +export YARN_HOME=${HADOOP_PREFIX} +export HADOOP_COMMON_LIB_NATIVE_DIR=${YARN_HOME}/lib/native +export HADOOP_OPTS="-Djava.library.path=$YARN_HOME/lib/native" + + +source ~/.bashrc +``` + +이상으로 쿠버네티스와 KSB 툴박스와 연동을 하기 위한 모든 준비가 완료되었습니다. + + +# FAQ + +###1. 서버 재부팅 후, connection 에러가 발생하는 경우 +```sh +csle@csle1:~$ kubectl get nodes +The connection to the server 192.168.0.5:6443 was refused - did you specify the right host or port? +``` +- 해결 방법 +```sh +csle@csle1:~$ sudo -i +root@csle1:~# swapoff -a +root@csle1:~# exit +csle@csle1:~$ strace -eopenat kubectl version +``` + + +###2. 서버 재부팅 후, dashboard가 ContainerCreating 상태로 에러가 발생한 경우 +```sh +csle@csle1:~/ksb-csle/kubernetes/env_set$ kubectl get pods --all-namespaces +NAMESPACE NAME READY STATUS RESTARTS AGE +default default-http-backend-66fbbd8844-5dn62 1/1 Running 1 56m +default default-http-backend-66fbbd8844-b2xld 1/1 Running 1 56m +default nginx-ingress-controller-6857676bb9-9569x 1/1 Running 1 56m +default nginx-ingress-controller-6857676bb9-k46f4 1/1 Running 1 56m +kube-system etcd-csle1 1/1 Running 3 1d +kube-system kube-apiserver-csle1 1/1 Running 3 1d +kube-system kube-controller-manager-csle1 1/1 Running 3 1d +kube-system kube-dns-6f4fd4bdf-2b6px 3/3 Running 3 1d +kube-system kube-proxy-9cfj8 1/1 Running 3 1d +kube-system kube-proxy-dvdkx 1/1 Running 3 1d +kube-system kube-scheduler-csle1 1/1 Running 3 1d +kube-system kubernetes-dashboard-6c664cf6c5-pmpjr 1/1 ContainerCreating 1 22 +``` + +dashboard 관련 설정파일을 이용해서 pod를 delete 후, 재생성합니다. +```sh +cd /home/csle/ksb-csle/kubernetes/env_set +kubectl delete -f kube-flannel.yml +kubectl delete -f kubernetes-dashboard.yaml +kubectl delete -f kubernetes-dashboard-admin-rbac.yaml +kubectl delete -f ServiceAccount.yml +kubectl delete -f ClusterRoleBinding.yml +kubectl delete -f k8s-heapster/ + +kubectl create -f kube-flannel.yml +kubectl create -f kubernetes-dashboard.yaml +kubectl create -f kubernetes-dashboard-admin-rbac.yaml +kubectl create -f ServiceAccount.yml +kubectl create -f ClusterRoleBinding.yml +kubectl create -f k8s-heapster/ +``` + +###3. KSB 툴박스 docker 컨테이너에서 host pc에 ssh 접속시 password를 묻는지 확인하는 방법 +KSB 툴박스 docker 컨테이너에서 아래의 명령을 수행하여 각 kubernete 마스터와 노드에 접속시 password를 묻는지 확인합니다. +```sh +csle@csle1:~$ ssh -l csle csle1 -p 2243 mkdir -p /home/csle/ksb-csle/kubernetes/modelDB/kangnam/0001 +Warning: Permanently added '[csle1]:2243,[192.168.0.5]:2243' (ECDSA) to the list of known hosts. +csle@csle1:~$ +csle@csle1:~$ ssh -l csle csle2 -p 2243 mkdir -p /home/csle/ksb-csle/kubernetes/modelDB/kangnam/0001 +Warning: Permanently added '[csle2]:2243,[192.168.0.6]:2243' (ECDSA) to the list of known hosts. +csle@csle1:~$ +``` +만약 password를 묻는다면, .ssh 폴더의 인증키가 공유되지 않은 상태입니다. password를 묻는 마스터 혹은 노드 HOST에서 대해서 아래의 절차대로 인증키를 복사하시기 바랍니다. + +#### [Host PC] KSB 툴박스 docker 이미지내 SSH 키를 host pc에 복사하기 +KSB 툴박스 docker 컨테이너의 인증키를 공유하기 위해 ksb-csle/tools 폴더에 있는 .ssh 폴더를 csle 홈에 카피합니다. +```sh +cp -r ~/ksb-csle/tools/.ssh/ /home/csle/ +chmod 600 ~/.ssh/authorized_keys +chmod 600 ~/.ssh/id_rsa +chmod 700 ~/.ssh/ +rm ~/.ssh/known_hosts +sudo service ssh restart +``` diff --git a/manual1903/1.6.KSB_K8s_install_Guide.md b/manual1903/1.6.KSB_K8s_install_Guide.md new file mode 100644 index 0000000000000000000000000000000000000000..ef0b8606eac6a6735a344b630e178d65f1825851 --- /dev/null +++ b/manual1903/1.6.KSB_K8s_install_Guide.md @@ -0,0 +1,738 @@ +--- +html: + toc: true + offline: true +export_on_save: + html: true +--- +# Kubernetes 클러스터 설치하기 +--- +3대 서버에 마스터 1개, 노드1, 노도2의 쿠버네티스 클러스터를 구성하기 위한 설치 방법을 설명합니다. +각 서버의 호스트 이름 및 IP 는 아래와 같이 가정합니다. 사용자의 클러스터 환경에 맞게 IP를 수정하시기 바랍니다. +csle1 : 192.168.0.5 (master) +csle2 : 192.168.0.6 (node1) +csle3 : 192.168.0.7 (node2) + +## 모든 서버에 공통으로 설치하기 + +### [모든 서버 공통] java 8 설치하기 +KSB 툴박스 설치의 java-8-oracle 설치 부분을 참고합니다. + +### [모든 서버 공통] 기타 우분투 프로그램 설치하기 +```sh +sudo apt-get update && \ +sudo apt-get install -y python-software-properties && \ +sudo add-apt-repository -y ppa:webupd8team/java && \ +sudo apt-get update && \ +echo "oracle-java8-installer \ +shared/accepted-oracle-license-v1-1 select true" \ +| sudo debconf-set-selections && \ +sudo apt-get install -y oracle-java8-installer +``` + +### [모든 서버 공통] SSHD port 변경 및 root 로그인 가능하게 SSHD config 수정하기 +아래의 명령을 수행하여 포트 정보를 2243로 수정하고, root 로그인을 허용합니다. + +```sh +sudo sed -ri 's/^Port 22/Port 2243/g' /etc/ssh/sshd_config +sudo sed -ri \ +'s/^PermitRootLogin prohibit-password/PermitRootLogin yes/g' \ +/etc/ssh/sshd_config +``` + +### [모든 서버 공통] SSH config 수정하기 +SSH 접속시 known_hosts에 호스트 정보 저장 질문을 하지 않도록 설정합니다. +아래의 명령을 수행하여 ssh_config의 기존 내용을 모두 삭제하고 설정을 추가합니다. + +```sh +sudo truncate -s0 /etc/ssh/ssh_config +echo "Host localhost" \ +| sudo tee -a /etc/ssh/ssh_config >/dev/null +echo "StrictHostKeyChecking no" \ +| sudo tee -a /etc/ssh/ssh_config >/dev/null +echo "Host 0.0.0.0" \ +| sudo tee -a /etc/ssh/ssh_config >/dev/null +echo "StrictHostKeyChecking no" \ +| sudo tee -a /etc/ssh/ssh_config >/dev/null +echo "Host 127.0.0.1" \ +| sudo tee -a /etc/ssh/ssh_config >/dev/null +echo "StrictHostKeyChecking no" \ +| sudo tee -a /etc/ssh/ssh_config >/dev/null +echo "Host csle*" \ +| sudo tee -a /etc/ssh/ssh_config >/dev/null +echo "StrictHostKeyChecking no" \ +| sudo tee -a /etc/ssh/ssh_config >/dev/null +echo "UserKnownHostsFile=/dev/null" \ +| sudo tee -a /etc/ssh/ssh_config >/dev/null +echo "Host master" \ +| sudo tee -a /etc/ssh/ssh_config >/dev/null +echo "StrictHostKeyChecking no" \ +| sudo tee -a /etc/ssh/ssh_config >/dev/null +echo "UserKnownHostsFile=/dev/null" \ +| sudo tee -a /etc/ssh/ssh_config >/dev/null +sudo service ssh restart +``` + +### [모든 서버 공통] SSH 서비스 재시작하기 +```sh +sudo service ssh restart +``` + +### [모든 서버 공통] docker 설치하기 + +아래의 명령으로 docker-ce을 설치합니다. 현재 최신 버전은 18.06.1\~ce\~3-0\~ubuntu 입니다. + +```sh +curl -fsSL https://download.docker.com/linux/ubuntu/gpg | \ +sudo apt-key add - && \ +sudo add-apt-repository \ +"deb [arch=amd64] +https://download.docker.com/linux/ubuntu $(lsb_release -cs) stable" && \ +sudo apt-get update && \ +apt-cache policy docker-ce && \ +sudo apt-get install -y docker-ce=18.06.1~ce~3-0~ubuntu && \ +sudo systemctl status docker +``` +#### [참고사항] 기존 docker-engine 삭제 +```sh +sudo apt-get purge -y docker docker-engine docker.io +``` + +### [모든 서버 공통] docker sudo 명령없이 사용하기 위한 설정하기 + +Docker 명령시 root 권한이 필요합니다. root가 아닌 사용자가 sudo 없이 사용하려면 해당 사용자를 docker 그룹에 추가합니다. + +```sh +sudo usermod -aG docker csle +# 사용자가 로그인 중이라면 다시 로그인 후 권한이 적용됩니다. +# 단, 현재 터미널에서만 적용됩니다. +sudo su csle +PC 재부팅 +``` +PC 재부팅을 통해서 sudo 명령없이 docker 명령을 사용할 수 있습니다. + + +## [모든 서버 공통] nvidia-docker 2.0 설치 +```sh +curl -s -L https://nvidia.github.io/nvidia-docker/gpgkey | \ +sudo apt-key add - && \ +curl -s -L \ +https://nvidia.github.io/nvidia-docker/\ +ubuntu16.04/amd64/nvidia-docker.list | \ +sudo tee /etc/apt/sources.list.d/nvidia-docker.list && \ +sudo apt-get update && \ +sudo apt-get install -y nvidia-docker2 && \ +sudo pkill -SIGHUP dockerd +``` +아래의 질의에 대해서 Y를 누르면 설치가 완료됩니다. + +```sh +Configuration file '/etc/docker/daemon.json' + ==> File on system created by you or by a script. + ==> File also in package provided by package maintainer. + 어떻게 하시겠습니까? 다음 중에 하나를 선택할 수 있습니다: + Y 또는 I : 패키지 관리자의 버전을 설치합니다 + N 또는 O : 현재 설치된 버전을 유지합니다 + D : 버전 간의 차이점을 표시합니다 + Z : 프로세스를 백그라운드로 하고 상황을 알아봅니다 +기본값으로 현재 버전을 그대로 유지합니다. +*** daemon.json (Y/I/N/O/D/Z) [기본값=N] ? Y +``` +nvidia-docker 버전을 확인합니다. +```sh +csle@csle1:~$ nvidia-docker version +NVIDIA Docker: 2.0.3 +Client: + Version: 18.06.1-ce + API version: 1.38 + Go version: go1.10.3 + Git commit: e68fc7a + Built: Tue Aug 21 17:24:56 2018 + OS/Arch: linux/amd64 + Experimental: false +``` +```sh +Server: + Engine: + Version: 18.06.1-ce + API version: 1.38 (minimum version 1.12) + Go version: go1.10.3 + Git commit: e68fc7a + Built: Tue Aug 21 17:23:21 2018 + OS/Arch: linux/amd64 + Experimental: false +``` +#### [참고사항] 기존 1.0 버전을 삭제하기 위해서는 아래의 명령을 수행합니다. +```sh +docker volume ls -q -f driver=nvidia-docker | \ +xargs -r -I{} -n1 docker ps -q -a -f volume={} | xargs -r docker rm -f +sudo apt-get purge nvidia-docker +``` + +### [모든 서버 공통] Kubernetes 설치하기 +```sh +curl -s https://packages.cloud.google.com/apt/doc/apt-key.gpg | \ +sudo apt-key add - && \ +echo "deb http://apt.kubernetes.io/ kubernetes-xenial main" | \ +sudo tee /etc/apt/sources.list.d/kubernetes.list && \ +sudo apt-get update -q && \ +sudo apt-get install -qy kubelet=1.9.6-00 kubectl=1.9.6-00 kubeadm=1.9.6-00 +kubectl version +``` +#### [참고사항] 기존 Kubernetes 버전 삭제 방법 +```sh +sudo su - +kubeadm reset +rm /usr/local/bin/kubectl +rm -r /etc/kubernetes +rm -r /var/lib/etcd +rm -rf /var/lib/cni/ +ifconfig cni0 down && ip link delete cni0 +ifconfig flannel.1 down && ip link delete flannel.1 +apt-get autoremove --purge -y kubelet kubeadm kubectl kubernetes-cni +``` + +### [모든 서버 공통] /etc/fstab 수정 후 재부팅하기 +쿠버네티스가 Swap 기능을 관리해야 하므로, 아래의 swap이 적용된 file 시스템 부분을 주석 처리한다. + +```sh +sudo vi /etc/fstab + +UUID=c3ec283e-682f-4e8c-b822-43eef87a725f / ext4 errors=remount-ro 0 1 +# /boot/efi was on /dev/nvme0n1p1 during installation +UUID=7D67-73C7 /boot/efi vfat umask=0077 0 1 +# swap was on /dev/nvme0n1p3 during installation + +# (주의!!!) swap 설정 해제 +#UUID=257a989b-d1fa-4a7c-8ae7-9ccad9b9c0c6 none swap sw 0 0 +``` + +### [모든 서버 공통] Kubernetes master /etc/hosts 변경하기 + +```sh +sudo vi /etc/hosts + +127.0.0.1 localhost +# 아래 주석처리. Hdfs 연동시 문제가 생김. +#127.0.1.1 csle1 + +# The following lines are desirable for IPv6 capable hosts +::1 ip6-localhost ip6-loopback +fe00::0 ip6-localnet +ff00::0 ip6-mcastprefix +ff02::1 ip6-allnodes +ff02::2 ip6-allrouters + +# 쿠버네티스 master, node1, node2 정보 등록 +192.168.0.5 csle1 master +192.168.0.6 csle2 +192.168.0.7 csle3 +``` + +### [모든 서버 공통] sysctl kernel parameter값 수정하기 +커널 차원에서 보안 및 최적화 관련 설정을 변경합니다. + +먼저 root계정으로 변경합니다. + +```sh +csle@csle1:~# sudo su - +root@csle1:~# +``` + +아래와 같이 설정 후 반영합니다. + +```sh +root@csle1:~# vi /etc/sysctl.conf +# 아래의 내용을 마지막에 추가합니다. +net.bridge.bridge-nf-call-iptables=1 +net.bridge.bridge-nf-call-ip6tables=1 +net.ipv4.ip_forward=1 +net.netfilter.nf_conntrack_max = 786432 + +root@csle1:~# sysctl -p +``` + +### [모든 서버 공통] kubectl 명령 옵션의 자동 완성 기능 설정하기 +```sh +source /etc/profile.d/bash_completion.sh +source <(kubectl completion bash) +echo "source /etc/profile.d/bash_completion.sh" | tee -a ~/.bashrc +echo "source <(kubectl completion bash)" | tee -a ~/.bashrc +``` + +### [모든 서버 공통] Security Enhanced Linux 모드 disable 하기 +갑작스러운 리부팅 이후에 apiserver, etcd 등이 정상 기동되지 않는 경우가 자주 발생을 막기 위해 permissive로 설정합니다. + +```sh +apt install -y selinux-utils +setenforce 0 +``` + +### [모든 서버 공통] 10-kubeadm.conf 수정하기 +ExecStart= 위의 라인에 Environment 설정값을 추가합니다. + +```sh +root@csle1:~$ vi /etc/systemd/system/kubelet.service.d/10-kubeadm.conf + +[Service] +Environment="KUBELET_KUBECONFIG_ARGS=--bootstrap-kubeconfig=\ +/etc/kubernetes/bootstrap-kubelet.conf --kubeconfig=\ +/etc/kubernetes/kubelet.conf" +Environment="KUBELET_SYSTEM_PODS_ARGS=--pod-manifest-path=\ +/etc/kubernetes/manifests --allow-privileged=true" +Environment="KUBELET_NETWORK_ARGS=--network-plugin=\ +cni --cni-conf-dir=/etc/cni/net.d --cni-bin-dir=/opt/cni/bin" +Environment="KUBELET_DNS_ARGS=--cluster-dns=10.96.0.10 \ +--cluster-domain=cluster.local" +Environment="KUBELET_AUTHZ_ARGS=--authorization-mode=Webhook \ +--client-ca-file=/etc/kubernetes/pki/ca.crt" +Environment="KUBELET_CADVISOR_ARGS=--cadvisor-port=0" +Environment="KUBELET_CERTIFICATE_ARGS=--rotate-certificates=true \ +--cert-dir=/var/lib/kubelet/pki" + +# 아래의 내용을 추가합니다. +Environment="KUBELET_EXTRA_ARGS=--fail-swap-on=false \ +--runtime-cgroups=/systemd/system.slice \ +--kubelet-cgroups=/systemd/system.slice" + +ExecStart= +ExecStart=/usr/bin/kubelet \ +$KUBELET_KUBECONFIG_ARGS $KUBELET_SYSTEM_PODS_ARGS \ +$KUBELET_NETWORK_ARGS $KUBELET_DNS_ARGS $KUBELET_AUTHZ_ARGS \ +$KUBELET_CADVISOR_ARGS $KUBELET_CERTIFICATE_ARGS $KUBELET_EXTRA_ARGS +``` + +아래의 명령을 통해 kubelet을 재시작 합니다. + +```sh +root@csle1:~$ swapoff -a +root@csle1:~$ sudo systemctl daemon-reload +root@csle1:~$ sudo systemctl restart kubelet +root@csle1:~$ sudo systemctl status kubelet +``` +```sh +● kubelet.service - kubelet: The Kubernetes Node Agent + Loaded: loaded (/lib/systemd/system/kubelet.service; enabled; + vendor preset: enabled) + Drop-In: /etc/systemd/system/kubelet.service.d + └─10-kubeadm.conf + Active: activating (auto-restart) (Result: exit-code) since + 수 2018-07-25 09:55:44 KST; 3s ago + Docs: http://kubernetes.io/docs/ + Process: 10517 ExecStart=/usr/bin/kubelet $KUBELET_KUBECONFIG_ARGS + $KUBELET_SYSTEM_PODS_ARGS $KUBELET_NETWORK_ARGS $KUBELET_DNS_ARGS + $KUBELET_AUTHZ_ARGS $KUBELET_CADVISOR + Main PID: 10517 (code=exited, status=1/FAILURE) + 7월 25 09:55:44 csle4 systemd[1]: kubelet.service: Unit entered failed state. + 7월 25 09:55:44 csle4 systemd[1]: kubelet.service: Failed with result + 'exit-code'. +``` +systemctl status kubelet 실행시 status=1/FAILURE로 나타나지만 무시해도 됩니다. +kubeadm이 정상 실행 되면 정상화됩니다. + +모든 노드에 대해 동일하게 설정하는 부분을 완료하였습니다. + +master와 node들 각각에 대한 설정 방법을 설명합니다. + +## Kubernetes master (csle1) 설정하기 + +### [Master: csle1] kubeadm 초기화하기 + +자신의 ip에 맞도록 수정하고 kubeadm으로 초기화합니다. (예: master ip : 192.168.0.5) + +```sh +kubeadm init --apiserver-advertise-address=192.168.0.5 \ +--pod-network-cidr=10.244.0.0/16 --service-cidr 10.96.0.0/12 --token-ttl 0 +``` + +아래와 같은 로그가 나오면서 초기화 되면 정상입니다. + +``` +[init] Using Kubernetes version: v1.9.9 +[init] Using Authorization modes: [Node RBAC] +[preflight] Running pre-flight checks. + [WARNING FileExisting-crictl]: crictl not found in system path +[certificates] Generated ca certificate and key. +[certificates] Generated apiserver certificate and key. +[certificates] apiserver serving cert is signed for DNS names [csle1 +kubernetes kubernetes.default kubernetes.default.svc kubernetes.default. +svc.cluster.local] and IPs [10.96.0.1 129.254.xxx.xxx] +[certificates] Generated apiserver-kubelet-client certificate and key. +[certificates] Generated sa key and public key. +[certificates] Generated front-proxy-ca certificate and key. +[certificates] Generated front-proxy-client certificate and key. +[certificates] Valid certificates and keys now exist in "/etc/kubernetes/pki" +[kubeconfig] Wrote KubeConfig file to disk: "admin.conf" +[kubeconfig] Wrote KubeConfig file to disk: "kubelet.conf" +[kubeconfig] Wrote KubeConfig file to disk: "controller-manager.conf" +[kubeconfig] Wrote KubeConfig file to disk: "scheduler.conf" +[controlplane] Wrote Static Pod manifest for component kube-apiserver to +"/etc/kubernetes/manifests/kube-apiserver.yaml" +[controlplane] Wrote Static Pod manifest for component kube-controller-manager +to "/etc/kubernetes/manifests/kube-controller-manager.yaml" +[controlplane] Wrote Static Pod manifest for component kube-scheduler to +"/etc/kubernetes/manifests/kube-scheduler.yaml" +[etcd] Wrote Static Pod manifest for a local etcd instance to +"/etc/kubernetes/manifests/etcd.yaml" +[init] Waiting for the kubelet to boot up the control plane as Static Pods +from directory "/etc/kubernetes/manifests". +[init] This might take a minute or longer if the control plane images have +to be pulled. +[apiclient] All control plane components are healthy after 46.007752 seconds +[uploadconfig] Storing the configuration used in ConfigMap "kubeadm-config" +in the "kube-system" Namespace +[markmaster] Will mark node csle1 as master by adding a label and a taint +[markmaster] Master csle1 tainted and labelled with key/value: +node-role.kubernetes.io/master="" +[bootstraptoken] Using token: a96953.b5d1418a5099b5de +[bootstraptoken] Configured RBAC rules to allow Node Bootstrap tokens to +post CSRs in order for nodes to get long term certificate credentials +[bootstraptoken] Configured RBAC rules to allow the csrapprover controller +automatically approve CSRs from a Node Bootstrap Token +[bootstraptoken] Configured RBAC rules to allow certificate rotation for +all node client certificates in the cluster +[bootstraptoken] Creating the "cluster-info" ConfigMap in the "kube-public" +namespace +[addons] Applied essential addon: kube-dns +[addons] Applied essential addon: kube-proxy + +Your Kubernetes master has initialized successfully! + +To start using your cluster, you need to run the following as a regular user: + + mkdir -p $HOME/.kube + sudo cp -i /etc/kubernetes/admin.conf $HOME/.kube/config + sudo chown $(id -u):$(id -g) $HOME/.kube/config + +You should now deploy a pod network to the cluster. +Run "kubectl apply -f [podnetwork].yaml" with one of the options listed at: + https://kubernetes.io/docs/concepts/cluster-administration/addons/ + +You can now join any number of machines by running the following on each node +as root: + + kubeadm join --token a96953.b5d1418a5099b5de 129.254.xxx.xxx:6443 + --discovery-token-ca-cert-hash sha256:648c1dd27c51edc0e90ff356f47599e1 + a8bee800f77ada9f23fdacd8d69e62a0 + +``` + +다른 노드에서 master에 접속하기 위해서 아래의 부분을 저장해 둡니다. +```sh +kubeadm join --token a96953.b5d1418a5099b5de 192.168.0.5:6443 \ + --discovery-token-ca-cert-hash \ + sha256:648c1dd27c51edc0e90ff356f47599e1a8bee800f77ada9f23fdacd8d69e62a0 +``` + +### [Master: csle1] K8s master 노드 kubectl 실행환경 설정하기 +먼저 사용자 계정을 csle로 변경합니다. +```sh +sudo su csle +csle@csle1:~$ +``` + +``` +mkdir -p $HOME/.kube +yes | sudo cp -i /etc/kubernetes/admin.conf $HOME/.kube/config +sudo chown $(id -u):$(id -g) $HOME/.kube/config +export KUBECONFIG=$HOME/.kube/config +echo "export KUBECONFIG=$HOME/.kube/config" | tee -a ~/.bashrc +kubectl get componentstatus +``` + + +## Kubernetes node1, node2 설정하기 (csle2, csle3) + +먼저 root 계정으로 변경합니다. + +```sh +sudo su - +root@csle2:~$ +``` + +### [csle2, csle3] kubernetes master에 join 하기 +kublet을 재부팅합니다. + +```sh +swapoff -a +systemctl daemon-reload +systemctl restart kubelet +systemctl status kubelet +``` + +kubernetes master에서 init시 생성된 script와 추가 옵션을 이용해 master에 join 합니다. + +```sh +kubeadm join --token c8908d.5dc02f87aca87415 192.168.0.5:6443 \ +--discovery-token-ca-cert-hash \ +sha256:756ac632e63878260dc6b3a3497b8ba69d29087ba0428beaea061e4f5241b29d \ +--ignore-preflight-errors=all --discovery-token-unsafe-skip-ca-verification +``` + +## kubernetes master에서 확인하기 (csle1) + +### [Master: csle1] node 및 pod 동작 확인하기 + +node1, node2가 join이 성공했는지 아래의 명령을 이용해서 확인합니다. +```sh +root@csle1:~$ sudo su csle +csle@csle1:~$ kubectl get nodes +NAME STATUS ROLES AGE VERSION +csle1 NotReady master 5m v1.9.6 +csle2 NotReady 1m v1.9.6 +csle3 NotReady 1m v1.9.6 +``` + +### [Master: csle1] kubernetes 클러스터 환경 구성을 위한 yaml 환경 설정하기 + +kubernetes master에서 클러스터 환경 구성을 위한 yaml 파일들을 이용해서 서비스를 생성합니다. + +```sh +cd /home/csle/ksb-csle/kubernetes/env_set +kubectl create -f kube-flannel.yml +kubectl create -f kubernetes-dashboard.yaml +kubectl create -f kubernetes-dashboard-admin-rbac.yaml +kubectl create -f ServiceAccount.yml +kubectl create -f ClusterRoleBinding.yml +kubectl create -f k8s-heapster/ + +``` +```sh +csle@csle1:~$ kubectl get nodes +NAME STATUS ROLES AGE VERSION +csle1 Ready master 5m v1.9.6 +csle2 Ready 1m v1.9.6 +csle3 Ready 1m v1.9.6 +``` +```sh +csle@csle1:~$ kubectl get pods --all-namespaces +kube-system etcd-csle1 1/1 Running 2 1d +kube-system kube-apiserver-csle1 1/1 Running 2 1d +kube-system kube-controller-manager-csle1 1/1 Running 2 1d +kube-system kube-dns-6f4fd4bdf-vtqbt 3/3 Running 6 1d +kube-system kube-proxy-vwp26 1/1 Running 2 1d +kube-system kube-proxy-zs2sw 1/1 Running 2 1d +kube-system kube-scheduler-csle1 1/1 Running 2 1d +``` + +클러스터 환경 구성을 위한 pod가 정상적으로 구동되었는지 확인합니다. +```sh +csle@csle1:~/ksb-csle/kubernetes/env_set$ kubectl get pods --all-namespaces +NAMESPACE NAME READY STATUS RESTARTS AGE +kube-system etcd-csle1 1/1 Running 2 1d +kube-system heapster-dfd674df9-bz45s 1/1 Running 2 1d +kube-system kube-apiserver-csle1 1/1 Running 2 1d +kube-system kube-controller-manager-csle1 1/1 Running 2 1d +kube-system kube-dns-6f4fd4bdf-vtqbt 3/3 Running 6 1d +kube-system kube-flannel-ds-c6mpq 1/1 Running 2 1d +kube-system kube-flannel-ds-rc74q 1/1 Running 2 1d +kube-system kube-proxy-vwp26 1/1 Running 2 1d +kube-system kube-proxy-zs2sw 1/1 Running 2 1d +kube-system kube-scheduler-csle1 1/1 Running 2 1d +kube-system kubernetes-dashboard-5bd6f767c7-4qzj7 1/1 Running 2 1d +kube-system monitoring-grafana-76848b566c-4n4xj 1/1 Running 2 1d +kube-system monitoring-influxdb-6c4b84d695-ts7dk 1/1 Running 2 1d +``` + +### [Master: csle1] Ingress 환경 설정하기 + +kubernetes master에서 ingress를 설정합니다. + +```sh +cd /home/csle/ksb-csle/kubernetes/env_set +kubectl create -f default-backend-for-ingress.yaml +kubectl create -f configmap-nginx-ingress-controller.yaml +kubectl create -f deploy-nginx-ingress-controller.yaml +kubectl create -f ingress-rule.yaml +kubectl create -f svc-expose-by-nodeport.yaml +``` + +### [Master: csle1] Dashboard URL에 접속하기 + +아래의 명령으로 dashboard 프록시를 동작시킵니다. + +```sh +kubectl create clusterrolebinding add-on-cluster-admin \ +--clusterrole=cluster-admin \ +--serviceaccount=kube-system:kubernetes-dashboard + +kubectl proxy --port=9999 --address='192.168.0.5' --accept-hosts="^*$" + +``` + +크롬을 열어 아래의 주소로 쿠버네티스 dashboard에 접속한다. + +http://192.168.0.5:9999/ui + +아래에서 skip을 선택하여 dashboard에 접속합니다. + +![Dashboard 접속하기](./images/1.6.KSB_K8s_install_Guide_01.png) + +![Dashboard 접속화면](./images/1.6.KSB_K8s_install_Guide_02.png) + + +## KSB 프레임워크와 연동을 위한 환경설정하기 + + +### [모든 서버 공통] KSB 툴박스에 포함된 SSH 인증키 공유하기 +KSB 프레임워크의 엔진이 Kubernetes 마스터에 접속할때 인증 키를 묻지않도록 배포된 KSB 툴박스에 포함된 .ssh 폴더를 쿠버네티스 서버의 홈에 복사합니다. + +```sh +cp -r ~/ksb-csle/tools/.ssh/ /home/csle/ +``` + +### [모든 서버 공통] hadoop 프로그램을 설치하기 + +~/ksb-csle/tools/hadoop-2.7.3 폴더를 master, node1, node2의 csle 홈 폴더에 복사합니다. + +```sh +cp -r ~/ksb-csle/tools/hadoop-2.7.3 /home/csle/ +``` +그리고 아래와 같이 설정합니다. + +```sh +ln -s hadoop-2.7.3 hadoop +``` + +### [모든 서버 공통] ~/.bashrc 수정하기 + +```sh +sudo vi ~/.bashrc + +export JAVA_HOME=/usr/lib/jvm/java-8-oracle +export PATH=$PATH:$JAVA_HOME/bin +export KSB_HOME=/home/csle/ksb-csle +export PYTHONPATH=/home/csle/ksb-csle/pyML/:$PYTHONPATH +export PYTHONPATH=./:/home/csle/ksb-csle/ksblib:$PYTHONPATH +export KUBECONFIG=/home/csle/.kube/config + +export HADOOP_HOME=/home/csle/hadoop-2.7.3 +export HADOOP_PREFIX=$HADOOP_HOME +export PATH=$PATH:$HADOOP_PREFIX/bin +export PATH=$PATH:$HADOOP_PREFIX/sbin +export HADOOP_CONF_DIR=$HADOOP_HOME/etc/hadoop +export HADOOP_MAPRED_HOME=${HADOOP_PREFIX} +export HADOOP_COMMON_HOME=${HADOOP_PREFIX} +export HADOOP_HDFS_HOME=${HADOOP_PREFIX} +export YARN_HOME=${HADOOP_PREFIX} +export HADOOP_COMMON_LIB_NATIVE_DIR=${YARN_HOME}/lib/native +export HADOOP_OPTS="-Djava.library.path=$YARN_HOME/lib/native" + +source ~/.bashrc +``` + +이상으로 쿠버네티스와 KSB 툴박스와 연동을 하기 위한 모든 준비가 완료되었습니다. + +# FAQ + +###1. 서버 재부팅 후, connection 에러가 발생하는 경우 +```sh +csle@csle1:~$ kubectl get nodes +The connection to the server 192.168.0.5:6443 was refused +- did you specify the right host or port? +``` +- 해결 방법 +```sh +csle@csle1:~$ sudo -i +root@csle1:~# swapoff -a +root@csle1:~# exit +csle@csle1:~$ strace -eopenat kubectl version +``` + + +###2. 서버 재부팅 후, dashboard가 ContainerCreating 상태로 에러가 발생한 경우 +```sh +csle@csle1:~/ksb-csle/kubernetes/env_set$ kubectl get pods --all-namespaces +NAMESPACE NAME READY STATUS RESTARTS AGE +kube-system etcd-csle1 1/1 Running 2 1d +kube-system heapster-dfd674df9-bz45s 1/1 Running 2 1d +kube-system kube-apiserver-csle1 1/1 Running 2 1d +kube-system kube-controller-manager-csle1 1/1 Running 2 1d +kube-system kube-dns-6f4fd4bdf-vtqbt 3/3 Running 6 1d +kube-system kube-flannel-ds-c6mpq 1/1 Running 2 1d +kube-system kube-flannel-ds-rc74q 1/1 Running 2 1d +kube-system kube-proxy-vwp26 1/1 Running 2 1d +kube-system kube-proxy-zs2sw 1/1 Running 2 1d +kube-system kube-scheduler-csle1 1/1 Running 2 1d +kube-system kubernetes-dashboard-5bd6f767c7-4qzj7 1/1 ContainerCreating 1d +kube-system monitoring-grafana-76848b566c-4n4xj 1/1 Running 2 1d +kube-system monitoring-influxdb-6c4b84d695-ts7dk 1/1 Running 2 1d +``` + +dashboard 관련 설정파일을 이용해서 pod를 delete 후, 재생성합니다. +```sh +cd /home/csle/ksb-csle/kubernetes/env_set +kubectl delete -f kube-flannel.yml +kubectl delete -f kubernetes-dashboard.yaml +kubectl delete -f kubernetes-dashboard-admin-rbac.yaml +kubectl delete -f ServiceAccount.yml +kubectl delete -f ClusterRoleBinding.yml +kubectl delete -f k8s-heapster/ + +kubectl create -f kube-flannel.yml +kubectl create -f kubernetes-dashboard.yaml +kubectl create -f kubernetes-dashboard-admin-rbac.yaml +kubectl create -f ServiceAccount.yml +kubectl create -f ClusterRoleBinding.yml +kubectl create -f k8s-heapster/ +``` + +###3. KSB 툴박스 docker 컨테이너에서 host pc에 ssh 접속시 password를 묻는지 확인하는 방법 +KSB 툴박스 docker 컨테이너에서 아래의 명령을 수행하여 각 kubernete 마스터와 노드에 접속시 password를 묻는지 확인합니다. +```sh +csle@csle1:~$ ssh -l csle csle1 -p 2243 mkdir -p \ +/home/csle/ksb-csle/kubernetes/modelDB/kangnam/0001 +Warning: Permanently added '[csle1]:2243,[192.168.0.5]:2243' +(ECDSA) to the list of known hosts. +csle@csle1:~$ +csle@csle1:~$ ssh -l csle csle2 -p 2243 mkdir -p \ +/home/csle/ksb-csle/kubernetes/modelDB/kangnam/0001 +Warning: Permanently added '[csle2]:2243,[192.168.0.6]:2243' +(ECDSA) to the list of known hosts. +csle@csle1:~$ +``` +만약 password를 묻는다면, .ssh 폴더의 인증키가 공유되지 않은 상태입니다. +password를 묻는 마스터 혹은 노드 HOST에서 대해서 아래의 절차대로 인증키를 복사하시기 바랍니다. + +#### [Host PC] KSB 툴박스 docker 이미지내 SSH 키를 host pc에 복사하기 +KSB 툴박스 docker 컨테이너의 인증키를 공유하기 위해 ksb-csle/tools 폴더에 있는 .ssh 폴더를 csle 홈에 카피합니다. +```sh +cp -r ~/ksb-csle/tools/.ssh/ /home/csle/ +chmod 600 ~/.ssh/authorized_keys +chmod 600 ~/.ssh/id_rsa +chmod 700 ~/.ssh/ +rm ~/.ssh/known_hosts +sudo service ssh restart +``` + +###4. 쿠버네티스 설치 후, KSB 프레임워크 동작시 namenode가 동작하지 않을 경우 +거의 드물게 발생하는 에러로 jps 명령을 통해 KSB 툴박스에서 프로세스를 확인했을때 namenode가 검색되지 않는 경우가 있습니다. +쿠버네티스의 etcd 가 사용하는 port와 hadoop이 사용하는 port 충돌로 인해 namenode가 초기화되지 않을 경우가 있습니다. +확인하는 방법은 다음과 같습니다. 이러한 문제를 해결하는 방법은 kubernetes를 삭제하고 다시 설치하는 것이 가장 쉬운 방법입니다. +위에서 설명한 삭제 및 설치를 다시 하고, 바로 10-kubeadm.conf 수정하기 부분을 수행하시고, kubeadm init을 하시면 쉽게 재설치가 됩니다. +또한 node들에서도 kuberet 후, kubejoin으로 다시 클러스터를 설정하시면 됩니다. + +#### [Host PC] etcd 사용 port 확인하기 +netstat -tnlpa | grep 2379 + +#### [Host PC] 프로세스 port사용 확인 +ps aux | grep 2379 + +#### [Host PC] 열려있는 파일 목록 확인하기 +sudo lsof -i TCP:2379 + +#### hadoop에서 사용하는 default port 목록 +Daemon | Default Port | Configuration Parameter +--|---|-- +Namenode | 50070 | dfs.http.address +Datanodes | 50075 | dfs.datanode.http.address +Secondarynamenode | 50090 | dfs.secondary.http.address +Backup/Checkpoint node | 50105 | dfs.backup.http.address +Tasktrackers | 50060 | mapred.task.tracker.http.address +Jobracker | 50030 | mapred.job.tracker.http.address + +###5. 쿠버네티스 kubectl 명령 alias 방법 +``` +echo "alias k=kubectl" >> ~/.bashrc +source <(kubectl completion bash | sed s/kubectl/k/g) +``` diff --git a/manual1903/1.6.KSB_K8s_install_Guide.pdf b/manual1903/1.6.KSB_K8s_install_Guide.pdf new file mode 100644 index 0000000000000000000000000000000000000000..ed9cc971b3087edd67c5058d22275bec71f7c735 Binary files /dev/null and b/manual1903/1.6.KSB_K8s_install_Guide.pdf differ diff --git a/manual1903/2.1.IntroductionWebToolkit.md b/manual1903/2.1.IntroductionWebToolkit.md new file mode 100644 index 0000000000000000000000000000000000000000..bc37d1163e76a652723be371da735d2a1457d5bb --- /dev/null +++ b/manual1903/2.1.IntroductionWebToolkit.md @@ -0,0 +1,70 @@ +--- +html: + toc: true + offline: true +export_on_save: + html: true +--- +# KSB 웹툴킷 개요 +--- +**KSB 웹툴킷** 은 사용자가 프레임워크를 효과적으로 사용할 수 있도록 지원하는 웹기반의 저작 도구입니다. **KSB 웹툴킷** 은 워크플로우를 정의하고 실행하는 기능과 실행 과정을 모니터링하는 기능, 그리고 관련 데이터를 업로드하고 결과를 시각화하는 기능 등을 지원합니다. **KSB 웹툴킷** 은 회원가입을 통해 로그인을 하여 사용하며 사용자별로 워크플로우를 관리합니다. + +## 웹을 통한 접속 및 로그인 +먼저 KSB 인공지능 프레임워크 실행하기 매뉴얼을 참고하여 KSB 프레임워크를 구동합니다. +Chrome 브라우저(또는 HTML5 표준 호환 브라우저)를 열고 http://localhost:8080 에 접속합니다. 로그인 페이지를 볼 수 있으며, 다음과 같이 기본적으로 제공하는 사용자 정보(수퍼관리자)가 저장되어 있습니다. +- User ID : `ksbuser@etri.re.kr` +- User Password : `ksbuser@etri.re.kr` + +사용자 ID 와 암호를 입력한 후 로그인 합니다. 위 아이디로 로그인할 경우 워크플로우 예제가 저장되어 있습니다. + +![Figure](images/2.1_signin.png) + + +## 기능 및 메뉴 구성 +KSB 웹툴킷에 로그인을 하면 대시보드 화면이 보이고, 화면 상단에 다음과 같은 메뉴가 있습니다. + +### Dashboard + +대시보드에서는 KSB 웹툴킷에 로그인 한 사용자가 작성하여 저장하거나 실행한 워크플로우 정보 및 현재 서비스 되고 있는 정보를 한 눈에 파악할 수 있습니다. (다른 사용자가 작성하여 저장하거나 실행한 워크플로우는 나타나지 않습니다.) *Workflow TOP 10* 에서는 수행된 워크플로우의 통계 정보(수행 횟수, 수행 결과, 수행 경과시간)를 보여줍니다. *Workflow* 에서는 사용자가 작성하여 저장한 워크플로우의 리스트를 보여줍니다. 삭제() 버튼을 눌러 해당 워크플로우를 삭제할 수 있습니다. 또한 특정 기간에 작성된 워크플로우를 검색하여 볼 수 있습니다. *Services* 에서는 현재 서비스 되고 있는 서빙 엔진들(온디맨드방식 처리 엔진들)의 세부 정보를 보여줍니다. + +![dashboard Figure](images/2.1_dashboard.png) + +### Workflow Editor +워크플로우 편집기에서는 그래픽 기반의 워크플로우 편집 기능을 사용하여 워크플로우를 작성하고 실행할 수 있습니다. 또한 워크플로우를 저장하고 로딩할 수 있으며 별도의 Json 파일로 Import/Export 할 수 있습니다. 워크플로우 편집기는 별도의 창으로 생성되며, 여러 개의 창을 동시에 띄워서 워크플로우를 각각 편집하고 실행할 수 있습니다. 구체적인 사용 방법은 워크플로우 편집기 소개 를 참조합니다. + +![workflow Figure](images/2.1_workflow.png) + +### Repository +KSB 인공지능 프레임워크는 **하둡파일시스템(HDFS)** 을 기본적으로 사용합니다. 데이터 저장소 관리에서는 사용자가 HDFS에 파일을 업로드 하거나 다운로드 하기 위한 인터페이스를 제공합니다. 워크플로우에서 사용하는 데이터 파일, 모델 파일, 결과 파일 등을 관리할 수 있습니다. 사용자가 원하는 파일 내용을 확인하거나 신규 디렉토리를 생성하고 파일을 업로드할 수 있는 기능을 제공합니다. 구체적인 사용 방법은 데이터 저장소 관리 를 참조합니다. + +![repository Figure](images/2.1_repository.png) + +### Monitoring + 진행내역/상태 모니터링에서는 KSB 프레임워크에 제출된 워크플로우(워크플로우에 속한 엔진 포함)의 목록 및 상태를 확인할 수 있습니다. 또한 워크플로우 및 엔진의 Status에 따라 실행 중인 워크플로우 및 엔진을 종료()하거나, 재실행()할 수 있습니다. 또한 *Workflow Histroy* 탭에서 엔진이 실행 되어 생성된 결과파일을 확인하고 그래프로 시각화 하거나 로그 기록을 볼 수 있습니다. 구체적인 사용 방법은 모니터링 소개 를 참조합니다. + +![monitoring Figure](images/2.1_monitoring.png) + + +### Component (관리자 메뉴) +컴퍼넌트 관리는 관리자 권한을 가진 사용자만 접근할 수 있습니다. 컴퍼넌트 관리에서는 SW 개발자가 만든 신규 컴퍼넌트를 **KSB 웹툴킷** 에서 사용할 수 있도록 등록하거나, 기존의 컴퍼넌트 동작이 변경되어었을 경우 수정하는 기능을 제공합니다. 또한 웹툴킷 컴퍼넌트들의 버전을 관리할 수 있습니다. 자세한 설명은 KSB 웹툴킷에 컴퍼넌트 등록하기 를 참조합니다. + +![component Figure](images/2.1_component.png) + + +### Management (관리자 메뉴) +시스템 설정 관리는 관리자 권한을 가진 사용자만 접근할 수 있습니다. 시스템 설정 관리에서는 웹툴킷 관리자가 쉽게 웹툴킷 정보(게이트웨이 Ip, Port, 버전 정보 등)를 확인하고 수정할 수 있습니다. *User Configuration* 탭에서는 회원 목록을 확인하고 회원 가입 승인, 관리자 권한 부여, 회원 삭제 등을 수행할 수 있습니다. + +![management Figure](images/2.1_management.png) + + +## 회원 가입 +KSB 웹툴킷은 회원가입을 통해 로그인을 하여 사용하며 사용자별로 워크플로우를 관리합니다. 자신의 계정을 생성하려면 로그인 화면에서 "신규 회원가입" 버튼을 클릭하여 이메일 인증을 통해 회원가입을 수행 합니다. + +![Figure](images/2.1_joinin.png) + +회원 가입 절차를 위해서는 이메일 인증을 할 메일 계정이 요구되며, **Management** 메뉴의 *System Configuration* 탭에서 설정할 수 있습니다. `javax.mail.session.prop.id` 와 `javax.mail.session.prop.password` 를 통해 각각 메일 계정과 메일 암호를 설정하여 이용할 수 있습니다. 메일은 Gmail 등을 사용하면 됩니다. +또한, 회원 가입을 위해서는 이메일 인증절차를 수행하는 PC에서 KSB 웹툴킷이 운용중인 서버에 접근할 수 있어야 합니다. + + +## 회원 관리 +KSB 웹툴킷은 회원을 **일반사용자/관리자/수퍼관리자** 로 권한을 나누어 관리합니다. 일반사용자 계정은 Component 메뉴와 Management 메뉴에 접근할 수 없습니다. 관리자 및 수퍼관리자 계정은 Component 메뉴와 Management 메뉴에 접근 가능하고 기능을 사용할 수 있습니다. 다만, 관리자 계정은 **Management** 메뉴의 *User Configuration* 탭에서 일반사용자의 회원 가입 승인, 관리자 권한 부여, 회원 삭제 등을 수행할 수 있습니다. 관리자의 권한을 일반사용자로 바꾸거나 관리자 회원을 삭제하는 것은 수퍼관리자 계정만 가능합니다. diff --git a/manual1903/2.2.WebToolkit_Workflow.md b/manual1903/2.2.WebToolkit_Workflow.md new file mode 100644 index 0000000000000000000000000000000000000000..a5387740b78b3be04e875e030f2ad4b8191a8e84 --- /dev/null +++ b/manual1903/2.2.WebToolkit_Workflow.md @@ -0,0 +1,180 @@ +--- +html: + toc: true + offline: true +export_on_save: + html: true +--- +# 워크플로우 편집기 소개 +--- +워크플로우 편집기는 사용자가 워크플로우를 쉽게 정의할 수 있도록 그래픽 기반의 워크플로우 편집 기능과 실행 기능을 제공합니다. 워크플로우 편집 화면은 다음 그림과 같이 7가지 영역으로 구성되어 있습니다. + +![워크플로우 편집 화면 (Workflow editor)](./images/2.2_workflow.png) + +## 메뉴바 + +워크플로우의 생성/로딩/저장/실행/불러오기/내보내기/마법사 기능을 선택할 수 있는 화면입니다. 구체적인 메뉴 설명은 아래와 같습니다. + +### New Workflow +새로운 워크플로우를 생성합니다. 하나의 워크플로우를 생성할 때는 버전을 선택하여 생성하며, 생성된 워크플로우의 버전은 변경할 수 없습니다. 해당 워크플로우가 생성될 때 선택한 버전으로 항상 로딩 되고 실행됩니다. + +![워크플로우 편집 화면 (New)](./images/2.2_WorkflowVersion.png) + +### Load Workflow +DB에 저장된 워크플로우를 불러옵니다. 삭제() 버튼을 눌러 해당 워크플로우를 삭제할 수 있습니다. 이전에 실행한 이력이 있는 워크플로우를 삭제 하는 경우, 해당 워크플로우의 실행 이력 및 로그파일도 모두 삭제 됩니다. 또한 표의 헤더 부분을 클릭하여 정렬할 수 있습니다. + +![워크플로우 편집 화면 (Load)](./images/2.2_WorkflowLoad.png) + +### Save Workflow +작성 중인 워크플로우를 DB에 저장합니다. 워크플로우를 처음 저장할 경우 워크플로우의 이름과 설명을 입력한 후 저장합니다. 기존에 저장한 워크플로우를 수정했을 때는 저장 버튼을 누른 후 *Update* 를 통해 워크플로우를 갱신하거나 *Save As* 를 통해 새로운 워크를로우로 저장할 수 있습니다. +저장한 워크플로우의 이름은 왼쪽 메뉴 상단에 나타납니다. +워크플로우 편집 창의 빈 공간에서 마우스 오른쪽 버튼을 눌렀을 때도 워크플로우 이름 및 설명 정보를 확인 및 수정할 수 있습니다. + +![워크플로우 편집 화면 (Save)](./images/2.2_WorkflowSave.png) + +### Run Workflow +작성한 워크플로우 Spec 을 KSB 프레임워크로 제출합니다. 워크플로우의 이름과 설명을 입력하지 않았을 경우 이를 입력해야 합니다. 또한 Batch 여부 (배치처리일 경우 Batch 를 체크함) 와 Verbose (디버깅을 위해 상세 로그 정보를 확인 할 경우 체크함. 로그 정보가 상세하게 기록 됨.) 를 선택한 후 제출합니다. KSB 프레임워크는 Json 형태의 워크플로우 Spec 을 해석하여 엔진을 동적으로 구성하여 실행합니다. + +![워크플로우 편집 화면 (Run)](./images/2.2_WorkflowRun.png) + +### Import from file +Export 된 Json 포맷의 워크플로우 파일을 불러옵니다. "파일선택" 버튼을 클릭하여 워크플로우 파일을 선택한 후 "Import" 버튼을 클릭하여 워크플로우를 불러옵니다. + +![워크플로우 편집 화면 (Import)](./images/2.2_WorkflowImport.png) + +### Export to file +작성한 워크플로우 Spec 을 Json 포맷의 파일로 내보냅니다. Json 파일에 작성한 워크플로우의 spec이 저장되므로 Import 기능을 통해 워크플로우를 불러올 수 있습니다. 다른 사용자에게 내가 작성한 워크플로우를 공유하고자 할 때 사용합니다. + +### Wizard +사용자가 작성하고자 하는 워크플로우와 가장 적합한 워크플로우 템플릿을 찾아주는 기능입니다. +다음과 같이 질문에 답변을 함으로써 사용자의 목적에 가장 부합하는 워크플로우를 찾아서 불러옵니다. +현재는, 개발자가 사전에 지식베이스에 저장한 예제 워크플로우에 대해서만 검색 됩니다. + +![Wizard](./images/2.2_wizard1.png) +![Wizard](./images/2.2_wizard2.png) +![Wizard](./images/2.2_wizard3.png) + + +## 엔진 선택 창 + +사용자가 다양한 서비스를 만들 수 있도록 여러가지 엔진 타입을 제공합니다. 사용자가 원하는 엔진 타입을 선택한 후 **워크플로우 편집 창** 으로 drag & drop 하면 엔진 선택이 쉽게 완료됩니다. 각 엔진 타입에 대한 자세한 내용은 엔진 유형 목록 을 참조 하시기 바랍니다. + +![워크플로우 편집 화면 (Engine)](./images/2.2_container.png) + +## 컴퍼넌트 선택 창 + +엔진을 구성하는데 필요한 컴퍼넌트를 5종으로 구분하여 관련 컴퍼넌트 리스트를 제공하는 화면입니다. 사용자는 원하는 컴퍼넌트를 선택하여 **엔진 컨테이너** 으로 drag & drop 하면 자동으로 엔진 컨테이너에 탑재되어 손쉽게 엔진을 구성할 수 있습니다. 5종의 컴퍼넌트는 아래와 같으며 구체적인 컴퍼넌트 리스트는 컴퍼넌트 목록 을 참조하시기 바랍니다. + +- **Reader**: 데이터를 읽어오기 위한 입력 컴퍼넌트들을 보여줍니다. +- **Writer**: 데이터를 보내기 위한 출력 컴퍼넌트들을 보여줍니다. +- **Operator**: 데이터 처리를 위한 처리 컴퍼넌트들을 보여줍니다. +- **Runner**: 실행을 지원하기 위한 실행 컴퍼넌트들을 보여줍니다. +- **Controller**: 선택된 컴퍼넌트들을 제어하기 위한 제어 컴퍼넌트들을 보여줍니다. + +각 엔진마다 사용할 수 있는 컴퍼넌트들이 매핑되어 있으며, 각 컴퍼넌트에 마우스를 오버하면 간단한 툴팁 설명을 볼 수 있습니다. + +![워크플로우 편집 화면 (Component)](./images/2.2_component.png) + +## 속성 창 +탑재된 컴퍼넌트의 속성을 설정하는 화면을 제공합니다. 사용자가 **탑재된 컴퍼넌트** 를 클릭하면, 컴퍼넌트 속성 창에 해당 컴퍼넌트의 속성이 표시됩니다. + +![워크플로우 편집 화면 (Property)](./images/2.2_property.png) + +속성 창에서 별표() 표시는 반드시 입력해야 하는 필드를 나타냅니다. 해당 필드의 속성을 입력하지 않으면 워크플로우가 실행되지 않습니다. +반복적으로 입력하는 필드일 경우, 버튼을 반복적으로 클릭하여 입력합니다. +하위에 여러 필드를 가지는 속성일 경우, `세부 설정 내용 ...` 으로 표시되며 클릭하면 별도의 팝업창이 나타나서 입력할 수 있습니다. + +### Help 참조 +속성 창에서는 별도의 Help를 제공하여 사용자가 이를 참조하여 속성 값을 입력할 수 있도록 지원합니다. Help 버튼(?)을 클릭하면 팝업창이 나타납니다. 구체적인 속성 입력 방법은 워크플로우 예제 만들기를 참조합니다. + +![워크플로우 편집 화면 (Property)](./images/2.2_property_help.png) + +### 파일 경로 선택 +입력파일, 출력파일, 학습모델 등의 경로에 관한 속성 설정은 **하둡파일시스템(HDFS)** 을 사용할 것인지 **로컬파일시스템** 을 사용할 것이지에 따라 주의해서 입력해야 합니다. 파일 시스템에 대한 설정은 KSB 프레임워크 설정파일인 ksb.conf에 설정된 **hdfs.Activated** 값이 *true* 인지 *false* 인지에 따라 하둡파일시스템(HDFS)의 상대경로인지 로컬파일 시스템의 상대경로인지가 결정되며, **기본 값은 하둡파일시스템** 으로 설정이 되어 있습니다. + +또한 상대경로를 사용할 경우 다음과 같이 **사용자 기본 파일경로** 가 상대경로 앞에 적용됩니다. +- 하둡파일시스템 기본경로: hdfs://{host}:{port}/user/{user_id}/ + - Writer 일 경우: hdfs://{host}:{port}/user/{user_id}/applications/{workflow_instance_id}_{engine_id}/output/ +- 로컬파일시스템 상의 기본경로: file://{KSB_HOME}/ + +하둡파일시스템으로 설정된 경우, 하둡파일시스템에 대한 상대경로로 설정이 되며, **Repository** 와 `File` 버튼을 클릭 했을 때 보이는 파일시스템은 하둡파일시스템 입니다. + +파일 경로 속성을 입력하는 방법은 두 가지를 제공합니다. + +#### 1) 파일탐색기 버튼을 이용하는 방법 +filePath, pyEntryPath 등과 같이 Path로 끝나는 필드 이름을 가지는 속성은 입력창 옆에 `File` 버튼이 있습니다. 이 버튼을 클릭하여 탐색기 창을 통해 하둡파일시스템(HDFS)의 파일 또는 경로를 선택하는 것이 가능합니다. + +![워크플로우 편집 화면 (Property)](./images/2.2_property_file.png) + +`File` 버튼을 통해서 선택한 경로는 **하둡파일시스템의 상대경로** 이며, KSB 프레임워크로 제출 되면, 시스템에서 자동으로 **사용자 기본 파일경로** 를 추가하여 처리합니다. + +#### 2) 직접 입력하는 방법 +- `File` 버튼 옆의 입력란에, 사용자가 파일시스템 정보(*hdfs://* 또는 *file://*)를 포함한 전체경로를 직접 설정한 경우, KSB 프레임워크는 해당 경로에 대해 기본 파일경로 추가 등의 처리를 하지 않으며, 입력한 파일시스템 상의 경로가 그대로 KSB 프레임워크 내부에서 사용됩니다. +- */home/csle/...* 와 같이 최상위 경로정보 *'/'* 로 시작하는 경우, 해당파일시스템의 최상위로 시작하는 경로로 인식합니다. +- *'dataset/...'* 와 같이 상대경로를 지정한 경우, 상기에 설명한 **사용자 기본 파일경로** 가 상대경로 앞에 적용됩니다. 예를 들면, *'dataset/...'* 을 입력한 경우, *'hdfs://{host}:{port}/user/{user_id}/dataset/...'* 로 변경되어 KSB 프레임워크 상에서 처리됩니다. + + +## 워크플로우 편집 창 +사용자가 직관적으로 엔진이나 컴퍼넌트를 편집할 수 있도록 워크플로우 편집 화면을 제공합니다. 사용자는 편집하고자 하는 엔진을 선택하거나 위치를 조정할 수 있습니다. 또한 필요한 컴퍼넌트들을 탑재하거나 삭제할 수 있습니다. + +또한 엔진을 선택하고 마우스 오른쪽 버튼을 클릭하면 다음과 같은 메뉴를 사용할 수 있습니다. + +- Engine 순서 설정 +- Engine 순서 수정 +- Engine 순서 보기 +- Engine 복제 +- Engine 삭제 + +워크플로우 편집창의 빈 공간에서 마우스 오른쪽 버튼을 클릭하여 다음과 같은 메뉴를 사용할 수도 있습니다. + +- Engine 순서 설정 +- Engine 순서 수정 +- Engine 순서 보기 + +두 개 이상의 엔진을 구성하였을 경우, **선 연결** 및 **선 삭제** 기능을 이용할 수 있습니다. + +### 엔진 복제 +선택한 엔진과 동일한 엔진을 하나 만듭니다. + +### 엔진 삭제 +선택한 엔진을 삭제합니다. + +### 엔진 순서 설정 +엔진들 간의 순서를 설정합니다. "Engine 순서 설정" 을 클릭하면 워크플로우 편집 창이 비활성화 됩니다. 이 때 엔진을 차례대로 클릭하여 순서를 지정하고, Apply 버튼을 누릅니다. + +![워크플로우 편집 화면 (Ordering)](./images/2.2_EngineOrdering.png) + +### 엔진 순서 수정 +엔진들 간의 순서를 수정합니다. "Engine 순서 수정" 을 클릭하면 워크플로우 편집창이 비활성화 되고, 현재 엔진들의 순서가 표시됩니다. 엔진 위의 숫자를 drag 하여 순서를 수정하고 Apply 버튼을 누릅니다. + +![워크플로우 편집 화면 (Ordering)](./images/2.2_EngineOrdering2.png) + +### 엔진 순서 보기 +엔진 순서를 확인합니다. +"Engine 순서 보기" 를 클릭하면 워크플로우 편집창이 비활성화 되고, 현재 엔진들의 순서가 표시됩니다. 확인이 끝났으면 마우스 오른쪽 버튼을 클릭하여 "Engine 순서 보기 닫기" 를 클릭합니다. + +![워크플로우 편집 화면 (Ordering)](./images/2.2_EngineOrdering3.png) + +### 선 연결 +워크플로우 편집 화면에서 선은 데이터 패스를 의미하며, 두 엔진을 선으로 연결하는 것이 가능합니다. 앞 엔진의 Writer 부분의 반달 모양에서 마우스를 클릭한 후 뒤에 있는 엔진의 Reader 부분의 반달 모양으로 drag & drop 하여 선을 연결합니다. Writer 와 Reader 의 이름이 다를 경우 다음과 같은 안내문이 나오며, 그래도 연결하고자 할 경우 연결하면 됩니다. + +![워크플로우 편집 화면 (Link)](./images/2.2_WorkflowLink.png) + +Writer 와 Reader 의 이름이 같을 경우에는 다음과 같이 Writer 의 속성값을 Reader 의 속성값으로 덮어쓸지를 선택하는 안내창이 나옵니다. "확인"을 클릭할 경우 Writer 의 속성값을 Reader 의 속성값으로 덮어쓰고, "취소"를 클릭할 경우 덮어쓰지 않습니다. 동일한 속성을 가지지 않았을 경우 (Writer 와 Reader 가 동일한 Component Property 를 가지지 않을 경우) 덮어쓰지 않을 것을 권장합니다. + +![워크플로우 편집 화면 (Link)](./images/2.2_WorkflowLink2.png) + +### 선 삭제 +두 엔진을 연결한 선을 삭제하고자 할 경우 선이 있는 곳에서 마우스 오른쪽 버튼을 클릭하여 "Link 삭제"를 선택합니다. + +![워크플로우 편집 화면 (Link)](./images/2.2_WorkflowLink3.png) + + +## 엔진 상세보기 창 +엔진의 이름을 클릭하면 편집창 하단에 엔진 상세보기 창이 나타나며 엔진이 가진 Reader, Operator, Writer 들을 보여줍니다. 하나의 엔진에서 Reader, Operator, Writer는 여러 개를 가질 수 있습니다 (엔진 타입에 따라 하나만 가지거나 없는 경우도 있을 수 있음). 반면 Controller, Runner 는 반드시 하나만 가질 수 있습니다. 엔진 상세보기 창에서 각 컴퍼넌트를 drag & drop 하여 순서를 변경할 수 있습니다. + +## 워크플로우 선택 창 +KSB 웹툴킷에서 워크플로우 Spec 을 작성하여 KSB 프레임워크로 제출된 워크플로우의 목록 (워크플로우에 속한 엔진 목록 포함) 을 보여줍니다. +워크플로우 또는 엔진 이름을 선택한 후 **워크플로우 편집창** 으로 Drag & Drop 하면, 해당 워크플로우 또는 엔진을 불러옵니다. 따라서 이미 작성한 워크플로우 또는 엔진을 재사용하여 새로운 워크플로우를 작성할 수 있습니다. + +![워크플로우 재사용하기](./images/2.2_WorkflowInstances.png) diff --git a/manual1903/2.3.1.WebToolkit_Repository.md b/manual1903/2.3.1.WebToolkit_Repository.md new file mode 100644 index 0000000000000000000000000000000000000000..9847d02e544b3dbacc6ffc6b94efb1eff2475393 --- /dev/null +++ b/manual1903/2.3.1.WebToolkit_Repository.md @@ -0,0 +1,106 @@ +--- +html: + toc: true + offline: true +export_on_save: + html: true +--- +# 데이터 저장소 관리 +--- +KSB 인공지능 프레임워크는 **하둡파일시스템(HDFS)** 을 기본적으로 사용합니다. KSB 웹툴킷에서는 **Repository** 메뉴를 통해 HDFS에 파일을 업로드 하거나 다운로드 하기 위한 인터페이스를 제공합니다. + +## 사용자 기본 파일경로 +파일 시스템에 대한 설정은 ksb.conf (KSB 인공지능 프레임워크 설정파일) 에 설정된 **hdfs.Activated** 값에 따라 결정됩니다. **hdfs.Activated** 가 *true* 일 경우 HDFS의 상대경로로 설정합니다. **hdfs.Activated** 가 *false* 일 경우 로컬파일 시스템의 상대경로로 설정합니다. 기본 값은 HDFS의 상대경로로 설정이 되어 있습니다 (**hdfs.Activated** 가 *true*). + +- 하둡파일시스템 기본경로: hdfs://{host}:{port}/user/{user_id}/선택한 경로 + - Writer 일 경우: hdfs://{host}:{port}/user/{user_id}/applications/{workflow_instance_id}_{engine_id}/output/선택한 경로 +- 로컬파일시스템 상의 기본경로: file://{KSB_HOME}/선택한 경로 + +KSB 웹툴킷의 Repository에서 사용하는 경로는 **사용자 기본 파일경로** 를 생략하여 보여줍니다. 따라서 *'dataset/...'* 을 입력한 경우, *'hdfs://{host}:{port}/user/{user_id}/dataset/...'* 로 변경되어 KSB 인공지능 프레임워크 상에서 처리됩니다. + +## 데이터 업로드 + +KSB 인공지능 프레임워크는 HDFS에 업로드 할 데이터 타입을 크게 세 가지로 분류하도록 권장합니다. +- dataset : 입력 데이터 파일 및 사용자 파이썬 코드 파일 +- model : 학습된 기계학습 모델의 파라미터가 저장된 파일 +- applications : 엔진의 Writer 가 생성한 결과 파일 + +따라서 KSB 인공지능 프레임워크를 설치하면 HDFS에 기본적으로 "dataset" 폴더와 "model" 폴더가 생성되어 있습니다. "applications" 폴더는 엔진 실행 시 생성됩니다. 업로드할 파일의 타입에 따라 상위 디렉토리를 먼저 선택한 후 하위 디렉토리를 선택하고 해당 위치에 파일을 업로드 합니다. "Filename", "FileSize", "Last Modified" 을 클릭하면 해당 속성을 기준으로 오름차순 또는 내림차순으로 정렬할 수 있습니다. + +![Repository](./images/2.3.1_repository.png) + +상위 디렉토리를 선택하면, 하위 디렉토리 구조가 왼쪽 창에 나타납니다. 파일을 업로드 하고자 하는 위치로 마우스를 클릭하여 이동한 후, File Upload 버튼을 클릭하여 파일을 업로드 합니다. +이 때 입력파일의 이름(Name)과 설명(Description)을 함께 입력할 수 있습니다 (입력을 생략해도 됨). 이 정보는 입력 파일의 메타정보로 DB에 저장됩니다. +또한 파일 단위로 업로드 하거나 폴더 단위로 업로드 할 수 있습니다. 모델의 경우 주로 폴더 단위로 업로드 합니다. +구조가 복잡한 파일 및 디렉토리는 ZIP 파일로 압축한 다음, 파일 입력에서 폴더(압축파일)을 선택하여 업로드 할 수도 있습니다. + +![파일 등록](./images/2.3.1_FileUpload.png) + +새로운 폴더를 생성하고자 할 경우 New Directory 버튼을 클릭하여 폴더명, *메타정보 [(이름(Name), 설명(Description)]* 를 입력한 후 생성 버튼을 클릭합니다. + +![폴더 생성](./images/2.3.1_NewDirectory.png) + +*메타정보 [이름(Name), 설명(Description)]* 는 **워크플로우 편집기** 의 **속성창** 에서 파일 경로를 선택할 경우 이용됩니다. 즉 파일탐색기 버튼 (filePath, pyEntryPath 등과 같이 Path로 끝나는 필드 이름을 가지는 속성의 입력창 옆에 있는 `File` 버튼) 을 클릭했을 때 사용할 파일을 검색하기 위해 이용되며, 입력이 필수 사항은 아닙니다. + + +## 파일 삭제 및 다운로드 +파일 또는 폴더를 클릭한 후 마우스 오른쪽 버튼을 클릭하면 다음과 같은 메뉴가 나타납니다. 메타정보는 dataset, model 의 하위 경로에 포함된 파일에 대해서만 설정 및 이용할 수 있습니다. + +- 삭제 +- 복사 +- 잘라내기 +- 붙여넣기 (복사 또는 잘라내기 한 경우에만 활성화 됨) +- 이름 변경 +- 다운로드 +- 메타정보 + +![Repository](./images/2.3.1_FileSelect.png) + +폴더를 선택하고 다운로드 메뉴를 클릭할 경우, 폴더를 압축하여 다운로드 합니다. + +메타정보 메뉴를 클릭할 경우, 이름, 설명 등의 메타정보를 입력할 수 있는 팝업창이 나타납니다. + +![Repository](./images/2.3.1_meta.png) + + +## 결과 파일 확인 + +사용자가 작성한 워크플로우에 상대경로로 파일을 저장하는 **FileWriter** 를 사용한 엔진이 있을 경우, 워크플로우 실행이 종료된 후 Repository 메뉴에서 결과 파일을 확인할 수 있습니다. 결과 파일은 기본적으로 아래 위치에 저장이 됩니다. + +- hdfs://{host}:{port}/user/{user_id}/applications/{workflow_instance_id}_{engine_id}/ouput/ + +![Repository](./images/2.3.1_Output.png) + +워크플로우 생성 및 실행은 배치방식으로 데이터 처리하기 (KMeansExample) 를 참조합니다. + +### CSV 결과 파일 보기 (차트) +CSV 파일 형식일 경우, 파일이름 옆에 나타나는 차트 보기 버튼을 클릭하면 다음과 같은 팝업창이 나타납니다. 오른쪽 "File list" 창에서 파일명을 클릭한 후 구분자 등을 입력하고 "OK" 버튼을 클릭하면 데이터를 확인할 수 있습니다. + +![Repository](./images/2.3.1_chart.png) + +"Statistics" 버튼을 클릭하여 통계 정보를 볼 수 있습니다. + +![Repository](./images/2.3.1_chart2.png) + +"Charts" 버튼을 클릭하여 그래프를 그려볼 수 있습니다. + +![Repository](./images/2.3.1_chart3.png) + +### TEXT 결과 파일 보기 +파일이름 옆에 나타나는 텍스트 보기 버튼을 클릭하면 파일의 내용을 보여주는 창이 팝업됩니다. 화면 우측에서 파일명을 선택하고 최대로 보고자 하는 사이즈 (Max Length) 를 바이트 단위로 입력합니다. 디폴트로 1000 바이트가 설정되어 있습니다. + +![Repository](images/2.3.1_text.png) + +### 파일 비교 +두 개의 파일을 동시에 띄워서 비교할 때 사용합니다. +파일이름 옆에 나타나는 파일 비교 버튼을 클릭합니다. 화면 아래쪽에 선택된 파일명이 나타납니다. 잘못 선택한 경우 x 버튼을 클릭하여 삭제합니다. + +![Repository](./images/2.3.1_Compare1.png) + +두 번째 파일이 있는 곳으로 디렉토리를 옮긴 후, 파일이름 옆에 나타나는 파일 비교 버튼을 클릭합니다. 잘못 선택한 경우 x 버튼을 클릭하여 삭제합니다. 두 개의 파일이 모두 선택된 경우 "Compare" 버튼이 나타납니다. + +![Repository](./images/2.3.1_Compare2.png) + +"Compare" 버튼을 클릭하면 아래와 같은 팝업창이 나타나며, **파일 보기** 와 동일하게 사용합니다. + +![Repository](./images/2.3.1_Compare3.png) diff --git a/manual1903/2.3.2.WebToolkit_Monitoring.md b/manual1903/2.3.2.WebToolkit_Monitoring.md new file mode 100644 index 0000000000000000000000000000000000000000..f2b7c95504c62b7dc643187b46df9669d8dc1450 --- /dev/null +++ b/manual1903/2.3.2.WebToolkit_Monitoring.md @@ -0,0 +1,107 @@ +--- +html: + toc: true + offline: true +export_on_save: + html: true +--- +# 모니터링 소개 +--- +KSB 프레임워크에 제출된 워크플로우(워크플로우에 속한 엔진 포함)의 목록 및 상태를 확인하고 제어합니다. + + +각 엔진은 다음과 같은 상태를 가질 수 있습니다. +Engine Status | 설명 +--|--- +Accepted | API 게이트웨이로 엔진이 제출(submit) 된 경우 +InProgress | 엔진이 실행 중인 경우 +Completed | 엔진이 에러없이 완료된 경우 +Failed | 엔진 실행 중 에러가 발생하여 종료된 경우 +Killed | 사용자가 엔진 실행 중 종료한 경우 + +워크플로우는 워크플로우에 속한 엔진들의 상태에 따라 다음과 같은 두 가지 상태를 가질 수 있습니다. +- Inprogress + - 한 엔진이라도 Inprogress 또는 Accpted 의 상태를 가지는 경우 +- Finished + - 모든 엔진이 Completed / Failed / Killed 중 하나의 상태를 가지는 경우 + - 엔진 정보를 검색할 수 없는 경우 + +
+ +워크플로우 편집기 소개 를 참고하여 작성한 워크플로우를 실행한 뒤, KSB 웹툴킷 상단의 **Monitoring** 메뉴를 선택하여 "진행내역/상태모니터링" 화면으로 이동합니다. + +## Workflow 탭 +진행내역/상태 모니터링의 *workflow* 탭에서는 KSB 프레임워크에 제출된 워크플로우(워크플로우에 속한 엔진 포함)의 목록 및 상태를 확인할 수 있습니다. 또한 실행 중인 워크플로우를 종료()하거나, 다시 실행()할 수 있습니다. + +![monitoring Figure](images/2.3.2_monitoring.png) + +**➀ 워크플로우 필터링** +워크플로우의 목록을 필터링 하여 볼 수 있습니다. 콤보박스를 클릭하여 필터링 하고자 하는 항목을 선택하고, 값을 입력한 후 돋보기 모양의 버튼을 누르면 필터링 된 워크플로우 목록을 보여줍니다. + +**➁ 워크플로우 개수 조절** +화면에 보여지는 워크플로우의 개수를 조절할 수 있습니다. 콤보박스를 클릭하여 한 화면에서 보고자 하는 워크플로우 개수를 선택합니다. + +**➂ 펼쳐보기/줄여보기** +"펼쳐보기" 를 선택하면 워크플로우에 속한 엔진들의 목록을 일괄적으로 펼쳐서 모두 보여줍니다. "줄여보기" 를 선택하면 워크플로우에 속한 엔진들의 목록을 일괄적으로 접고 워크플로우 목록만 보여줍니다. +각 워크플로우를 개별적으로 "펼쳐보기" 하려면 워크플로우 이름 앞의 () 버튼을 클릭합니다. 각 워크플로우를 개별적으로 "줄여보기" 하려면 워크플로우 이름 앞의 () 버튼을 클릭합니다. + +**➃ 새로고침 ** +워크플로우 및 엔진의 현재 상태(Status) 를 업데이트 합니다. 상태 정보는 KSB 프레임워크에 요청하여 응답 받은 결과를 보여주는 것입니다. 기본적으로는 모니터링 페이지를 열 때 마다 새로운 정보를 수신하여 표시 합니다. + +**➄ 자동 새로고침 ** +"Auto Reload" 를 체크할 경우 워크플로우 및 엔진의 상태(Status) 를 주기적으로 업데이트 합니다. +참고로, 업데이트 할 주기는 **Management** 메뉴의 **System Configuration** 탭에서 `monitoring.auto.reload.interval` 를 통해 설정합니다. 기본 값은 5000 (5초) 으로 설정되어 있습니다. + +**➅ 개별 펼쳐보기/줄여보기 ** +워크플로우 이름 앞의 () 버튼을 클릭하면 워크플로우에 속한 엔진의 상세 정보를 확인할 수 있습니다 ("펼쳐보기"). 워크플로우 이름 앞의 () 버튼을 클릭하면 워크플로우에 속한 엔진의 목록을 숨깁니다 ("줄여보기"). + +**➆ 워크플로우 세부 Spec 보기 ** +KSB 웹툴킷에서 워크플로우 Spec 을 작성하여 KSB 프레임워크로 제출한 워크플로우일 경우에 "세부 Speck 보기" 버튼이 활성화 됩니다. (이클립스와 같이 개발자 환경 환경을 통해 워크플로우 Spec 을 작성하여 KSB 프레임워크로 제출하거나, 클라이언트 라이브러리를 이용한 경우 "세부 Speck 보기" 버튼이 보이지 않습니다.) +"세부 Speck 보기" 버튼을 클릭하면 **워크플로우 편집기** 화면을 열어서 작성한 워크플로우의 Spec 을 보여줍니다. 이 경우, 해당 워크플로우는 새로운 워크플로우로 열리며, 수정 및 재제출 시 다른 워크플로우로 인식 됩니다. +참고로, 이 기능은 추후 json 형태의 워크플로우 Spec 을 보여주는 것으로 변경될 예정입니다. + +**➇ 워크플로우/엔진 실행/종료 ** +워크플로우 및 엔진의 Status에 따라 실행 중인 워크플로우 및 엔진을 종료()하거나, 재실행()할 수 있습니다. + +**➈ 워크플로우 삭제** +워크플로우를 목록에서 삭제합니다. + + +## Workflow History 탭 +진행내역/상태 모니터링의 *Workflow Histroy* 탭에서는 최근에 수행한 워크플로우 이력을 엔진 단위로 보여줍니다. (각 엔진은 재실행 될 때 마다 새로운 history id를 부여 받으며, 각 실행이력은 본 Workflow History 탭에서 확인할 수 있습니다.) + +![monitoring Figure](images/2.3.2_monitoring_history.png) + +**➀ 필터링** +엔진 목록을 필터링 하여 볼 수 있습니다. 콤보박스를 클릭하여 필터링 하고자 하는 항목을 선택하고, 값을 입력한 후 돋보기 모양의 버튼을 누르면 필터링 된 목록을 보여줍니다. + +**➁ 목록 개수 조절** +화면에 보여지는 목록의 개수를 조절할 수 있습니다. 콤보박스를 클릭하여 한 화면에서 보고자 하는 목록의 개수를 선택합니다. + +**➂ 새로고침 ** +엔진의 상태(Status) 를 업데이트 합니다. 상태 정보는 KSB 프레임워크에 요청하여 응답 받은 결과를 보여주는 것입니다. + +**➃ CSV 결과 파일 보기 (차트) ** +FileWriter 를 포함하고 있는 엔진일 경우에 "CSV 결과 파일 보기(차트)" 버튼이 활성화 됩니다. CSV 파일로 결과를 출력한 경우, 결과 파일의 내용을 확인하고 그래프로 시각화 할 수 있습니다. +"CSV 결과 파일 보기(차트)" 버튼을 클릭하면 차트보기 창이 팝업됩니다. 화면 우측에서 파일명을 선택하고 구분자, 헤더 포함 유무 등을 체크한 후 "OK" 버튼을 누릅니다. + +![monitoring Figure](images/2.3.2_monitoring_chart.png) + +화면 좌측에서 "Data" 는 파일의 내용을 표로 보여줍니다. "Statistics" 는 통계 정보를 보여줍니다. "Chart" 는 "Chart Style" 을 선택하여 그래프를 그려줍니다. + +**➂ TEXT 결과 파일 보기 ** +FileWriter 를 포함하고 있는 엔진일 경우에 "TEXT 결과 파일 보기" 버튼이 활성화 됩니다. "TEXT 결과 파일 보기" 버튼을 클릭하면 파일의 내용을 보여주는 창이 팝업됩니다. 화면 우측에서 파일명을 선택하고 최대로 보고자 하는 길이 (Max Length) 를 입력합니다. 디폴트로 1000 바이트가 설정되어 있습니다. + +![monitoring Figure](images/2.3.2_monitoring_text.png) + +**➂ 로그 보기 ** +"Show log" 버튼()을 클릭하면 로그 기록을 보여주는 창이 팝업됩니다. Line 수를 지정하여 보거나 전체 로그 보기가 가능합니다. + +![monitoring Figure](images/2.3.2_monitoring_log.png) + +### 결과 파일 확인 +워크플로우 실행 결과 생성된 파일은 **Monitoring** 메뉴의 *Workflow Histroy* 탭의 "CSV 결과 파일 보기 (차트)" 버튼과 "TEXT 결과 파일 보기" 버튼을 이용하여 확인할 수 있습니다. + +또한 **Repository** 메뉴의 데이터저장소 관리 화면에서 결과 파일이 있는 위치로 이동하여 파일 이름 옆에 나타나는 "CSV 결과 파일 보기 (차트)" 버튼과 "TEXT 결과 파일 보기" 버튼을 이용하여 확인할 수 있습니다. + +![monitoring Figure](images/2.3.2_repository.png) diff --git a/manual1903/2.4.1.EngineTypeList.md b/manual1903/2.4.1.EngineTypeList.md new file mode 100644 index 0000000000000000000000000000000000000000..3539242bcadc9d3bd4952f5224548e0f25f229ab --- /dev/null +++ b/manual1903/2.4.1.EngineTypeList.md @@ -0,0 +1,84 @@ +--- +html: + toc: true + offline: true +export_on_save: + html: true +--- +# 엔진유형 목록 (v19.03) +--- + +KSB 인공지능 프레임워크가 기본적으로 제공하는 엔진 유형으로서 크게 배치방식, 스트림방식, 실시간 스트림 방식, 온디맨드 방식으로 동작하는 엔진들과 기타 외부연동용 엔진, GenericType의 엔진 유형이 존재합니다. + +## 배치방식 처리엔진 +엔진 타입 | 설명 | 사용 예제 +--|--|-- +**Batch** | 배치성 처리에 사용되는 엔진컨테이너로서 배치저장소로부터 데이터를 읽어 일괄처리 후 배치저장소로 출력하기 위한 용도로 활용가능.
BatchReader, BatchWriter, BatchOperator, BatchRunner, BatchController로 구성.
대표적으로 딥러닝학습용 엔진컨테이너를 구성하고자 하는 경우 이 엔진을 활용 | • 텐서플로우 모델 주기적으로 학습하기 +**Batchcd Dummy** | Deprecated by Batch
삭제예정 | +**BatchToBatchStream** | 배치성 데이터 처리에 사용되는 컨테이너로서 배치저장소로부터 많은 데이터를 읽어 미니배치 형태의 다양한 처리를 수행한 후 배치저장소에 적재하는데 사용.
BatchReader, BatchWriter, StreamOperator, StreamRunner, StreamController로 구성 | • 배치방식으로 데이터 처리하기
• 비식별 처리하기 + +배치처리 방식의 엔진들은 파일, DB 등의 배치저장소로부터 데이터를 한번 읽은 후 데이터를 가공하고, 배치저장소로 출력합니다. 따라서 엔진이 실행되면 데이터 처리가 끝난 후 자동으로 종료됩니다. 배치방식 처리 엔진들은 한번 실행하거나 주기적으로 실행할 수 있습니다 (엔진의 RUNTYPE 속성 지정). + +배치방식 처리 엔진들이 두 개 이상 포함된 워크플로우의 경우, 워크플로우의 속성 값 중 Batch 를 true 로 선택할 경우, 맨 앞의 엔진부터 실행과 종료가 순차적으로 실행이 됩니다. 반대로 Batch 를 false 로 설정할 경우 동시에 엔진이 실행됩니다. 따라서 앞의 엔진의 처리 결과를 이용해 뒤에 엔진이 처리해야하는 순차적인 실행을 하고자하는 워크플로우는 반드시 Batch 를 true 로 설정하시고 실행하여야 합니다. + + +## 스트림방식 처리엔진 +엔진 타입 | 설명 | 사용 예제 +--|--|-- +**StreamToBatch** | 스트림을 입력받아 처리한 후 배치저장소에 출력하기 위한 엔진컨테이너.
StreamReader, BatchWriter, StreamOperator, StreamRunner, StreamController로 구성 | • 스트림 데이터 적재하기
• 교통속도 스트림 데이터 전처리하기 +**StreamToStream** | 스트림 데이터처리에 사용되는 엔진컨테이너.
StreamReader, StreamWriter, StreamOperator, StreamRunner, StreamController로 구성 | • 스트림 방식으로 MNIST 모델 서빙하기
• 스트림방식으로 ML모델 예측결과 얻기 + +스트림방식 처리 엔진들은 카프카, HTTP 등을 이용해 스트림 데이터를 입력받은 후 일정한 주기 (Mini batch 주기)로 깨어나 미니배치 형태로 동작합니다. 스트림 데이터를 들어온 순서대로 일정한 개수만큼 잘라서 가공하고, 배치저장소에 출력하거나 또는 스트림 형태로 출력합니다. 스트림 처리 엔진은 계속해서 스트림 데이터를 받고 있으므로 사용자가 종료 명령을 내릴 경우 종료됩니다. 종료는 **KSB 웹툴킷** 의 모니터링 화면에서 할 수 있습니다. + +현재 프레임워크 상에 구현되어 있는 대부분의 스트림 처리용 컴퍼넌트들은 Spark Streaming (참고사이트 바로가기) 기반으로 구현되었습니다. + + +스트림방식 처리 엔진들은 데이터를 처리하는 시간이 길 경우 (데이터 처리 오퍼레이터가 많을 경우) delay 가 발생할 수 있습니다. 실시간 처리가 필요할 경우 실시간 스트림방식 처리 엔진을 사용할 것을 권장합니다. + +스트림방식 처리 엔진들이 두 개 이상 포함된 워크플로우의 경우, 워크플로우의 속성 값 중 Batch 를 반드시 false 로 설정하셔야 합니다. Batch 를 true 로 설정할 경우 앞의 엔진이 종료되기 전까지 뒤에 엔진이 실행되지 않습니다. + +## 실시간 스트림방식 처리엔진 +엔진 타입 | 설명 | 사용 예제 +--|--|-- +**StreamJoin** | 실시간 스트림처리를 제공하기 위한 엔진컨테이너로서 하나 이상의 Reader와 Writer 탑재 가능.
StreamController, StreamPipeReader, StreamPipeWriter, StreamPipeOperator, StreamRunner로 구성.
Spark structed-streaming 처리에 사용 | • 실시간 시계열 교통속도 센서스트림 처리 하기 +**StreamPipe** | Deprecated by StreamJoin
삭제예정 | + +실시간 스트림방식 처리 엔진은 카프카 등을 이용해 시간정보가 포함된 스트림 데이터를 계속해서 받고 있고 (입력 테이블은 새로 들어온 데이터를 append 함), trigger 시 입력 테이블에서 데이터를 가져와 쿼리를 수행하고 결과 테이블을 출력하는 방식의 실시간 처리를 합니다. + +현재 프레임워크 상에 구현되어 있는 대부분의 실시간 스트림 컴퍼넌트들은 Spark의 Structred Streaming (참고사이트 바로가기) 기반으로 구현되었습니다. +실시간 스트림방식 처리 엔진은 데이터에 포함된 시간 정보를 기반으로 처리합니다. 현재 시간은 받은 데이터의 시간 중 가장 늦은 시간이 됩니다. 이 시간을 기준으로 늦게 들어오는 데이터를 얼마동안 고려해서 처리할 것인지를 watermark 설정을 통해 할 수 있습니다 (watermark 는 Reader 의 속성으로 설정합니다). 따라서 실시간 스트림방식 처리 엔진에서는 시간 순으로 들어오지 않는 데이터도 처리 가능합니다. +실시간 스트림방식 처리 엔진에서 결과 테이블을 출력하는 방식은 3가지가 존재합니다 (Writer 의 mode 속성으로 설정합니다). "complete" 모드는 결과 테이블의 전체 row 들을 모두 출력합니다. "update" 모드는 결과 테이블에서 쿼리 수행 결과 변화가 있는 row들을 모두 출력합니다. "append" 모드는 변화가 있는 row들 중 앞으로 변화가 더 이상 일어나지 않을 row 들을 출력합니다. "update" 모드와 "append" 모드는 watermark 설정과 관련이 있으며, watermark 설정을 하지 않았을 경우 출력값이 동일합니다. 현재는 "append" 모드를 사용할 것을 권장합니다. + +실시간 스트림방식 처리 엔진은 single 쿼리를 수행하므로 복잡한 가공을 하기는 어렵습니다. window 설정을 통한 총계처리 등을 통해 무작위로 들어오는 데이터를 시간순으로 처리하고, 잡음을 스무딩하고, missing 데이터를 채우는 용도로 사용하고, 복잡한 가공은 스트림 처리 엔진을 통해 미니배치 형태로 수행하는 것을 권장합니다. + +실시간 스트림방식 처리 엔진은 계속해서 데이터를 받고 있으므로 사용자가 종료 명령을 내릴 경우 종료됩니다. 종료는 **KSB 웹툴킷** 의 모니터링 화면에서 할 수 있습니다. 따라서 실시간 스트림 방식 처리 엔진들은 한번 실행할 수 있습니다 (엔진의 RUNTYPE 속성 지정). + +실시간 스트림방식 처리 엔진들이 두 개 이상 포함된 워크플로우의 경우, 워크플로우의 속성 값 중 Batch 를 반드시 false 로 설정하셔야 합니다. Batch 를 true 로 설정할 경우 앞의 엔진이 종료되기 전까지 뒤에 엔진이 실행되지 않습니다. + +## 온디맨드방식 처리엔진 +엔진 타입 | 설명 | 사용 예제 +--|--|-- +**OnDemandServing** | OnDemand 요청에 응답을 제공하기 위한 엔진컨테이너로서, OnDemandOperator, OnDemandRunner, OnDemandController로 구성 | • 온디맨드 방식으로 Inception 모델 서빙하기
• 온디맨드 방식으로 교통속도예측 모델 서빙하기 +**OnDemandStream** | 삭제예정 | +**OnDemandPipeServing** | OnDemand 요청에 하나 이상의 오퍼레이터를 파이프라인 처리하여 응답을 제공하는 엔진으로서 OnDemandPipeReader, OnDemandPipeOperator, OnDemandRunner, OnDemandController로 구성.
주로 **융합서빙** 에 사용 | • 융합 REST API 만들기 +**OnDemandStreamServing** | OnDemand 요청에 서비스를 제공하기 위한 엔진컨테이너로서, OnDemandReader, OnDemandOperator, OnDemandRunner, OnDemandController로 구성 | • 스트림 예측하여 REST 방식으로 서빙하기 +**OnDemandExternalServing** | OnDemand 요청에 서비스를 제공하기 위한 엔진컨테이너로서, OnDemandExternalRunner로 구성.
주로 사용자가 작성한 Python 모듈을 API화 하기 위한 엔진 구성시 사용 | • 융합 REST API 만들기 + +온디맨드방식 처리 엔진들은 텐서플로우 기반 딥러닝 모델, 사용자가 작성한 Python 모듈 등을 REST API 형태로 서비스 하는 용도로 사용합니다. 사용자 (클라이언트) 는 프레임워크 외부에서 쿼리를 요청하고, 결과를 응답받는 방식으로 사용합니다. Reader 를 통해 데이터를 받지 않는 경우 데이터를 쿼리에 포함하여 요청합니다. + +텐서플로우 기반 딥러닝 모델은 TensorFlow Serving (참고사이트 바로가기) 을 통해 서비스 합니다. 따라서 사용자는 학습한 딥러닝 모델을 텐서플로우 서빙용으로 export 한 후 프레임워크에서 모델을 서빙합니다. 프레임워크와 연동하고 서빙을 하기 위해 파이썬 기반 텐서플로우 모델을 코딩하는 방법은 KSB 프레임워크와 연동을 위한 tensorflow 학습코드 작성하기 를 참고합니다. + +사용자가 작성한 Python 모듈은 프레임워크에서 제공하는 KSB Dockerize (참고자료 바로가기) 를 이용하여 REST API로 만들고 서비스 합니다. KSB Dockerize 라이브러리는 사용자가 프로그래밍한 Python 함수를 Docker 이미지로 자동 변환할 뿐만 아니라 REST API 기능을 자동으로 추가하여, 사용자 Python 함수로 입력 데이터를 보내고 결과를 받을 수 있게 합니다. + +또한 내부적으로 여러 개의 REST API 를 파이프라인하여 새로운 융합 REST API 를 만드는 것이 가능합니다. 사용자 (클라이언트) 는 프레임워크 외부에서 융합서빙 엔진으로 한번만 쿼리를 요청하면, 내부적으로 여러 개의 REST API 로 쿼리를 보내고 응답받은 결과를 총계처리 하여 사용자 (클라이언트) 에게 보내줍니다. 또는 REST API 로 쿼리를 보내고 응답받은 결과에 따라 다음 REST API 주소를 결정하여 (라우팅 기능) 쿼리를 보내고 응답받은 결과를 사용자 (클라이언트) 에게 보내줍니다. + +온디맨드방식 처리 엔진은 계속해서 쿼리 요청을 대기하고 있으므로 사용자가 종료 명령을 내릴 경우 종료됩니다. 종료는 **KSB 웹툴킷** 의 모니터링 화면에서 할 수 있습니다. 따라서 온디맨드방식 처리 엔진들은 한번 실행할 수 있습니다 (엔진의 RUNTYPE 속성 지정). + +온디맨드 방식 처리 엔진들이 두 개 이상 포함된 워크플로우의 경우, 워크플로우의 속성 값 중 Batch 를 반드시 false 로 설정하셔야 합니다. Batch 를 true 로 설정할 경우 앞의 엔진이 종료되기 전까지 뒤에 엔진이 실행되지 않습니다. + + +## 기타 엔진 +엔진 타입 | 설명 | 사용 예제 +--|--|-- +**External** | 외부 실행플랫폼을 연동하기 위한 엔진컨테이너로서, BatchReader, BatchWriter, 하나 이상의 BatchOperator, BatchRunner, BatchController로 구성.
대표적으로 파이썬 기반 딥러닝학습용 엔진컨테이너의 경우 이 엔진을 활용 | • ML 모델 학습하기
• AutoML 학습하기 +**Generic** | 사용자가 정의할 수 있는 모든 요소를 이용 가능한 엔진컨테이너로서, 모든 종류의 Reader, Writer, Operator, Runner, Controller로 구성.
Generic 타입이므로 자유도가 높은 반면, 개발자가 오류를 범하지 않도록 응용을 만들때 신중히 구성해야 함. diff --git a/manual1903/2.4.2.ComponentList.md b/manual1903/2.4.2.ComponentList.md new file mode 100644 index 0000000000000000000000000000000000000000..5176a965314a1146aaea8aebd1a7c74fc4d785b7 --- /dev/null +++ b/manual1903/2.4.2.ComponentList.md @@ -0,0 +1,272 @@ +--- +html: + toc: true + offline: true +export_on_save: + html: true +--- +# Component List (v19.03) +--- + +KSB 인공지능 프레임워크가 기본적으로 제공하는 컴포넌트의 목록입니다. + +## Reader + +###ksb.csle.component.reader + +| 컴포넌트 이름 | 구현 클래스명 | 설명 | +|-------------|-------------|------------| +| FileReader | ksb.csle.component.reader.
FileReader | 파일 입력기 | | +| HttpClientReader |ksb.csle.component.reader.
HttpClientReader |HTTP 클라이언트 기반 데이터 입력기 | | +| HttpServerReader |ksb.csle.component.reader.
HttpServerReader |HTTP 서버 기반 데이터 입력기 | | +| HttpWeatherClientReader |ksb.csle.component.reader.
HttpWeatherClientReader |HTTP 클라이언트 기반 동네기상 데이터 입력기 | | +| KafkaOnDemandReader |ksb.csle.component.reader.
KafkaOnDemandReader | Kafka 데이터 입력기 | | +| KafkaReader |ksb.csle.component.reader.
KafkaReader | Kafka용 데이터 입력기 | | +| MongodbReader |ksb.csle.component.reader.
MongodbReader |Mongodb 데이터 입력기 | | +| MultipleReaders |ksb.csle.component.reader.
MultipleReaders |다중입력기 | | +| Onem2mHttpReader |ksb.csle.component.reader.
Onem2mHttpReader |OneM2M 데이터 입력기 | | +| PhoenixReader |ksb.csle.component.reader.
PhoenixReader |Phoenix 기반의 HBase 데이터 입력기 | | +| TableReader |ksb.csle.component.reader.
TableReader |JDBC 기반 데이터 입력기 | | + + +###ksb.csle.component.pipe.stream.reader + +| 컴포넌트 이름 | 구현 클래스명 | 설명 | +|-------------|-------------|------------| +| FilePipeReader |ksb.csle.component.pipe.stream.reader.
FilePipeReader | 스트림 처리용 파일 입력기 | | +| KafkaContextQueryPipeReader | ksb.csle.component.pipe.stream.reader.
KafkaContextQueryPipeReader | Kafka 토픽 쿼리 파이프라인 입력기 | | +| KafkaPipeReader | ksb.csle.component.pipe.stream.reader.
KafkaPipeReader |카프카 스트림 입력기 | | + + +
+ +## writer + +###ksb.csle.component.writer + +|컴포넌트 이름 | 구현 클래스명 | 설명 | +|---|---|---| +|FileWriter |ksb.csle.component.writer.
FileWriter |파일 출력기| | +|HttpClientWriter | ksb.csle.component.writer.
HttpClientWriter | HTTP 클라이언트 기반 데이터 출력기 | | +|KafkaWriter |ksb.csle.component.writer.
KafkaWriter | Kafka 데이터 출력기 | | +|MongodbWriter |ksb.csle.component.writer.
MongodbWriter |Mongodb 데이터 출력기| | +|PhoenixWriter |ksb.csle.component.writer.
PhoenixWriter |Phoenix 기반의 HBase 데이터 출력기| | +|StdoutWriter |ksb.csle.component.writer.
StdoutWriter |표준출력(콘솔화면) 데이터 출력기| | +|TableWriter |ksb.csle.component.writer.
TableWriter |JDBC 기반 데이터 출력기 | | + + +###ksb.csle.component.pipe.stream.writer + +|컴포넌트 이름 | 구현 클래스명 | 설명 | +|---|---|---| +|ConsolePipeWriter |ksb.csle.component.pipe.stream.writer.
ConsolePipeWriter |콘솔 스트림 출력기 | | +|FilePipeWriter |ksb.csle.component.pipe.stream.writer.
FilePipeWriter |파일 스트림 출력기 | | +|HBasePipeWriter |ksb.csle.component.pipe.stream.writer.
HBasePipeWriter |HBase 스트림 출력기| | +|KafkaPipeWriter|ksb.csle.component.pipe.stream.writer.
KafkaPipeWriter |카프카 스트림 출력기 | | +|MemoryPipeWriter| ksb.csle.component.pipe.stream.writer.
MemoryPipeWriter |스트림 출력기 | | + + + +
+ +## Operator + +###ksb.csle.component.operator.analysis + +|컴포넌트 이름 | 구현 클래스명 | 설명 | +|---|---|---| +|DLTrainOperator |ksb.csle.component.operator.analysis.
DLTrainOperator |텐서플로우 딥러닝 학습용 처리기 | | +|RandomForestClassifierPredictOperator |ksb.csle.component.operator.analysis.
RandomForestClassifierPredictOperator |RandomForest 분류 모델을 이용하여 label 예측 | | +|RandomForestClassifierTrainOperator |ksb.csle.component.operator.analysis.
RandomForestClassifierTrainOperator |RandomForest 분류 모델 생성 | | +|SparkMLPredictOperator |ksb.csle.component.operator.analysis.
SparkMLPredictOperator |SparkML 예측 처리기 | | +|TensorflowPredictOperator |ksb.csle.component.operator.analysis.
TensorflowPredictOperator |텐서플로우 예측용 오퍼레이터 | | +|AutoSparkMLOperator| -| 기계학습모델 자동학습기| | +|DecisionTreeClassifier | - |Decision Tree Classifier 학습기 | | +|DecisionTreeRegressor | - |Decision Tree Regressor 학습기 | | +|LinearRegressionRegressor | - |Linear Regression Regressor 학습기 | | +|NaiveBayesClassifier | - |Naive Bayes Classifier 학습기 | | +|RandomForestClassifier | - |Random Forests Classifier 학습기 | | +|RandomForestRegressor | - |Random Forests Regressor 학습기 | | + + + +### ksb.csle.component.operator.cleaning + +|컴포넌트 이름 | 구현 클래스명 | 설명 | 관련 링크| +|---|---|---|---| +|AgglomerativeClusteringOperator |ksb.csle.component.operator.cleaning.
AgglomerativeClusteringOperator |Agglomerative 클러스터링 처리기 | Link | +|DBScanOperator |ksb.csle.component.operator.cleaning.
DBScanOperator |DBSCAN 클러스터링 처리기 | Link | +|EMClusteringOperator |ksb.csle.component.operator.cleaning.
EMClusteringOperator |EM 클러스터링 처리기 | Link | +|EqualDepthBinningOperator |ksb.csle.component.operator.cleaning.
EqualDepthBinningOperator |동일 빈도수 이산화 처리기 | Link | +|EqualWidthBinningOperator |ksb.csle.component.operator.cleaning.
EqualWidthBinningOperator |동일 폭 이산화 처리기 | Link | +|GeneralizedLinearRegressionOperator |ksb.csle.component.operator.cleaning.
GeneralizedLinearRegressionOperator |Generalized Linear Regression 처리기 | Link | +|KMeansOperator |ksb.csle.component.operator.cleaning.
KMeansOperator |Kmeans 클러스터링 처리기 | Link | +|KMedoidsOperator |ksb.csle.component.operator.cleaning.
KMedoidsOperator |KMedoids 클러스터링 처리기 | Link +|LinearRegressionOperator |ksb.csle.component.operator.cleaning.
LinearRegressionOperator |Linear Regression 처리기 | Link | +|MissingValueImputeOperator |ksb.csle.component.operator.cleaning.
MissingValueImputeOperator |데이터 공백 처리기 | Link | + + + +###ksb.csle.component.operator.integration + +|컴포넌트 이름 | 구현 클래스명 | 설명 | 관련 링크| +|---|---|---|---| +|ConcatAndReshapeOperator |ksb.csle.component.operator.integration.
ConcatAndReshapeOperator |다수의 column을 조합하여 새로운 column 생성기| Link | +|GroupByOperator |ksb.csle.component.operator.integration.
GroupByOperator |특정 조건에 따른 해당 column의 grouping 처리기 | Link | +|OrderByOperator |ksb.csle.component.operator.integration.
OrderByOperator |오름차순, 내림차순에 따라 row 정렬 처리기 | Link | +|TimeIndexAddOperator |ksb.csle.component.operator.integration.
TimeIndexAddOperator |Unix timestamp column 삽입 처리기 | Link | +|VectorAssembleColumnAddOperator |ksb.csle.component.operator.integration.
VectorAssembleColumnAddOperator |Spark ML 동작을 위한 Vector assemble 처리기 | | + + +###ksb.csle.component.operator.reduction +|컴포넌트 이름 | 구현 클래스명 | 설명 | 관련 링크| +|---|---|---|---| +|AggregateOperator |ksb.csle.component.operator.reduction.
AggregateOperator |숫자형 데이터 통계값 (min, max, avg, std, count) 대체 | Link | +|ChiSquareSelectOperator |ksb.csle.component.operator.reduction.
ChiSquareSelectOperator |Chi-Square test를 이용한 column 선택처리기 | Link | +|ColumnRemoveOperator |ksb.csle.component.operator.reduction.
ColumnRemoveOperator |선택한 column들 삭제 처리기 | Link | +|ColumnSelectOperator |ksb.csle.component.operator.reduction.
ColumnSelectOperator |column 선택 및 재배열 처리기 | Link | +|ColumnSelectWithFileOperator |ksb.csle.component.operator.reduction.
ColumnSelectWithFileOperator |파일로부터 칼럼 선택 및 재배열 처리기 | | +|DecisionTreeInductOperator |ksb.csle.component.operator.reduction.
DecisionTreeInductOperator |Decision Tree Induction을 이용한 column 선택처리기 | Link | +|FilterOperator |ksb.csle.component.operator.reduction.
FilterOperator |특정 조건에 따른 row 필터 처리기 | Link | +|FilterUsingSqlOperator |ksb.csle.component.operator.reduction.
FilterUsingSqlOperator |SQL을 이용한 row 필터 처리기 | Link | +|GroupByFilterOperator |ksb.csle.component.operator.reduction.
GroupByFilterOperator |총계처리 후 필터링 | | +|OrderByFilterOperator |ksb.csle.component.operator.reduction.
OrderByFilterOperator |정렬 후 필터링 | | +|PCAOperator |ksb.csle.component.operator.reduction.
PCAOperator |PCA를 이용한 column 생성 처리기 | Link | +|RandomSamplingOperator |ksb.csle.component.operator.reduction.
RandomSamplingOperator |단순 무작위 표본 추출 처리기 | Link | +|StepwiseBackwardEliminateOperator |ksb.csle.component.operator.reduction.
StepwiseBackwardEliminateOperator |Stepwise Backward Elimination를 이용한 column 선택처리기 | Link | +|StepwiseForwardSelectOperator |ksb.csle.component.operator.reduction.
StepwiseForwardSelectOperator |Stepwise Forward Selection를 이용한 column 선택처리기 | Link | +|StratifiedSamplingOperator |ksb.csle.component.operator.reduction.
StratifiedSamplingOperator |계층화된 샘플에서 표본 추출 처리기 | Link | +|TimeWindowAggregateOperator |ksb.csle.component.operator.reduction.
TimeWindowAggregateOperator |Unit timestamp 정보를 이용하여 시간정보에 따라 aggregation 처리기 | | + + +###ksb.csle.component.operator.service +|컴포넌트 이름 | 구현 클래스명 | 설명 | +|---|---|---| +|ControlContextQueryOperator |ksb.csle.component.operator.service.
ControlContextQueryOperator |컨텍스트 및 제어 쿼리 처리기 | | +|TensorflowServingOperator |ksb.csle.component.operator.service.
TensorflowServingOperator |텐서플로우 모델 예측 처리기 | | +|WeatherQueryOperator |ksb.csle.component.operator.service.
WeatherQueryOperator |지식베이스 엔진 쿼리 처리기 | | + + + +###ksb.csle.component.operator.transformation +|컴포넌트 이름 | 구현 클래스명 | 설명 | 관련 링크| +|---|---|---|---| +|AddConditionalColumnOperator |ksb.csle.component.operator.transformation.
AddConditionalColumnOperator |주어진 조건에 의해 새로운 column 생성 | | +|ChangeColumnDataTypeOperator |ksb.csle.component.operator.transformation.
ChangeColumnDataTypeOperator |column의 데이터 타입 변경 | | +|ExplodeColumnOperator |ksb.csle.component.operator.transformation.
ExplodeColumnOperator |array/map 타입 column의 각 element로부터 새로운 row 생성 | | +|FlattenOperator |ksb.csle.component.operator.transformation.
FlattenOperator |선택한 column의 모든 row을 하나의 row로 합치는 처리기 | | +|InterpolateOperator |ksb.csle.component.operator.transformation.
InterpolateOperator |일정한 간격으로 데이터를 보간하여 새로운 데이터프레임 생성 | Link | +|MinMaxScalingOperator |ksb.csle.component.operator.transformation.
MinMaxScalingOperator |최소/최대값을 기준으로 스케일링 처리기 | Link | +|NullReplaceOperator |ksb.csle.component.operator.transformation.
NullReplaceOperator |공백문자나 Zero 값 Null 대체기 | | +|OneHotEncodingOperator |ksb.csle.component.operator.transformation.
OneHotEncodingOperator |One-Hot-Encoding 처리기 | Link | +|PivotOperator |ksb.csle.component.operator.transformation.
PivotOperator | 특정 column 내 값을 row의 schema 정보로 변환 처리기 | Link | +|RenameColumnOperator |ksb.csle.component.operator.transformation.
RenameColumnOperator |column 이름 변경 | | | +|ReshapeWithTimeWindowOperator |ksb.csle.component.operator.transformation.
ReshapeWithTimeWindowOperator |Time window 값에 따라 shift된 row 생성 처리기 || +|SelectWithTimeWindowOperator |ksb.csle.component.operator.transformation.
SelectWithTimeWindowOperator |Time window 값에 따라 shift된 row 선택 처리기 | Link | +|SplitColumnOperator |ksb.csle.component.operator.transformation.
SplitColumnOperator |array/map 타입 column의 element를 각 column으로 분리 | | +|StringIndexOperator |ksb.csle.component.operator.transformation.
StringIndexOperator |문자열 타입의 컬럼에 대한 색인 컬럼을 생성 | | +|TimeSynchronizeOperator |ksb.csle.component.operator.transformation.
TimeSynchronizeOperator |시간(timestamp)을 동기화하여 두 개의 데이터프레임 join | | +|TransposeOperator |ksb.csle.component.operator.transformation.
TransposeOperator |하나의 dataframe column을 row로 변환 처리기| Link | +|VectorizeColumnOperator |ksb.csle.component.operator.transformation.
VectorizeColumnOperator |여러 column들을 모아서 하나의 vector 타입 column을 생성 | | + + +###ksb.csle.component.pipe.query.operator +|컴포넌트 이름 | 구현 클래스명 | 설명 | +|---|---|---| +|KafkaContextQueryPipeOperator |ksb.csle.component.pipe.query.operator.
KafkaContextQueryPipeOperator |카프카 OnDemand 쿼리용 | | +|OutputAggregatePipeOperator |ksb.csle.component.pipe.query.operator.
OutputAggregatePipeOperator |하나 이상의 질의결과를 축약하는 축약 오퍼레이터 | | +|OutputCumulativePipeOperator |ksb.csle.component.pipe.query.operator.
OutputCumulativePipeOperator |질의를 수행하고 전달되는 결과를 append하여 전달하는 질의 오퍼레이터 | | +|OutputRestfulContextQueryPipeOperator |ksb.csle.component.pipe.query.operator.
OutputRestfulContextQueryPipeOperator |질의를 수행하고 전달되는 결과를 단순전달하는 질의 오퍼레이터 | | +|RouteMappingPipeOperator |ksb.csle.component.pipe.query.operator.
RouteMappingPipeOperator |매핑 기반 경로 변환 오퍼레이터 | | +|RouteRestfulContextQueryPipeOperator |ksb.csle.component.pipe.query.operator.
RouteRestfulContextQueryPipeOperator |쿼리 기반 경로 컨텍스트 변환 오퍼레이터 | | + + + +###ksb.csle.component.pipe.stream.operator +|컴포넌트 이름 | 구현 클래스명 | 설명 | +|---|---|---| +|FilterOperator |ksb.csle.component.pipe.stream.operator.
FilterOperator |스트림 파이프라인용 필터 | | +|GroupByOperator |ksb.csle.component.pipe.stream.operator.
GroupByOperator |스트림 파이프라인용 그룹 처리기 | | +|OrderByOperator |ksb.csle.component.pipe.stream.operator.
OrderByOperator |스트림 파이프라인용 row 정렬 처리기 | | +|RenameColumnsPipeOperator |ksb.csle.component.pipe.stream.operator.
RenameColumnsPipeOperator |칼럼 이름 및 타입 변경 오퍼레이터 | | +|SelectColumnsPipeOperator |ksb.csle.component.pipe.stream.operator.
SelectColumnsPipeOperator |스트림 파이프라인용 칼럼 선택기 | | +|SparkMLPredictPipeOperator |ksb.csle.component.pipe.stream.operator.
SparkMLPredictPipeOperator | Pipeline기반 ML prediction용 operator | | +|StreamAllJoinOperator |ksb.csle.component.pipe.stream.operator.
StreamAllJoinOperator |스트림 key기반 칼럼결합기 | | +|StreamJoinOperator |ksb.csle.component.pipe.stream.operator.
StreamJoinOperator | 두 개 이상의 입력데이터로부터 같은 keyword의 데이터 결합| | +|StreamTimeJoinOperator |ksb.csle.component.pipe.stream.operator.
StreamTimeJoinOperator |스트림 방식의 시간 조인 파이프라인 오퍼레이터 | | + + +###ksb.csle.didentification.privacy +|컴포넌트 이름 | 구현 클래스명 | 설명 | +|---|---|---| +|AggregationOperator |ksb.csle.didentification.privacy.
AggregationOperator |선택한 column들에 대한 aggregation 처리기 | | +|BlankImputeOperator |ksb.csle.didentification.privacy.
BlankImputeOperator |특정 위치에 공백 및 별표 처리 | | +|DataRangeOperator |ksb.csle.didentification.privacy.
DataRangeOperator |사용자 입력 기반 범주화 처리 | | +|EncryptionOperator |ksb.csle.didentification.privacy.
EncryptionOperator |SHA-1기반 암호화기 | | +|HeuristicOperator | ksb.csle.didentification.privacy.
HeuristicOperator |랜덤 스트링 기반 가명 처리기 | | +|HidingOperator |ksb.csle.didentification.privacy.
HidingOperator |문자열 데이터 통계값(최빈문자열 또는 ....) 대체 | | +|IdenReductionOperator |ksb.csle.didentification.privacy.
IdenReductionOperator |식별자 제거기 | | +|PartialAggregateOperator | ksb.csle.didentification.privacy.
PartialAggregateOperator |outlier값 갖는 cell 통계값 대체 | | +|PartialIdenReductionOperator |ksb.csle.didentification.privacy.
PartialIdenReductionOperator |식별자 중 ouliter값을 갖는 cell 값 대체 | | +|QuasiReductionOperator |ksb.csle.didentification.privacy.
QuasiReductionOperator |준식별자 제거 | | +|RandomNoiseOperator |ksb.csle.didentification.privacy.
RandomNoiseOperator |특정 위치에 잡음(랜덤값) 삽입 | | +|RandomRoundingOperator |ksb.csle.didentification.privacy.
RandomRoundingOperator |숫자형, 문자열 데이터 올림, 반올림, 내림 | | +|RearrangeOperator |ksb.csle.didentification.privacy.
RearrangeOperator |레코드 교환기 | | +|RecordReductionOperator |ksb.csle.didentification.privacy.
RecordReductionOperator |outlier값 갖는 레코드 전체 값 대체 | | +|RoundingOperator |ksb.csle.didentification.privacy.
RoundingOperator |숫자형 데이터 올림, 반올림, 내림 | | +|SwappingOperator |ksb.csle.didentification.privacy.
SwappingOperator |레코드를 특정 값으로 변환 | | + +
+ +## Runner + +###ksb.csle.component.runner + +|컴포넌트 이름 | 구현 클래스명 | 설명 | +|---|---|---| +|KBEServingRunner |ksb.csle.component.runner.
KBEServingRunner | 지식베이스 엔진 쿼리 서빙 실행기| | +|PySparkRunner |ksb.csle.component.runner.
PySparkRunner |Spark MLlib을 이용한 training과 prediction을 위한 AutoML용 Spark 실행기 | | +|ServingRunner| ksb.csle.component.runner.
ServingRunner |Akka 기반의 REST API Service 용 REST 서버 실행기| | +|SimpleSparkRunner |ksb.csle.component.runner.
SimpleSparkRunner |Spark 범용 실행기| | +|TensorflowServingRunner |ksb.csle.component.runner.
TensorflowServingRunner|텐서플로우 모델 서빙 실행기| | + + +###ksb.csle.component.runner.analysis + +|컴포넌트 이름 | 구현 클래스명 | 설명 | +|---|---|---| +|TensorflowRunner |ksb.csle.component.runner.analysis.
TensorflowRunner |Train과 predict을 위한 텐서플로우 실행기| | + +###ksb.csle.component.pipe.runner + +|컴포넌트 이름 | 구현 클래스명 | 설명 | +|---|---|---| +|ServingPipeRunner |ksb.csle.component.pipe.runner.
ServingPipeRunner |온디멘드 오퍼레이터 파이프라인용 Rest 서버 실행기 | | + + +
+ +## Controller +###ksb.csle.component.controller + +|컴포넌트 이름 | 구현 클래스명 | 설명 | +|---|---|---| +|BatchDummyController|ksb.csle.component.controller.
BatchDummyController|배치 입출력용 컨트롤러| | +|ExternalAnalysisController|ksb.csle.component.controller.
ExternalAnalysisController|데이터 분석기 컨트롤러 (텐서플로우 학습)| | +|KBEServingController|ksb.csle.component.controller.
KBEServingController|지식베이스 엔진 기반 서빙 컨트롤러| | +|ServingWithKbController|ksb.csle.component.controller.
ServingWithKbController | ML/Context 융합 Serving 컨트롤러 | | +|SparkSessionController | ksb.csle.component.controller.
SparkSessionController | Spark기반 제어용 컨트롤러 | | +|SparkSessionOrStreamController |ksb.csle.component.controller.
SparkSessionOrStreamController |SparkSession/Stream 통합 컨트롤러 | | +|SparkStreamController |ksb.csle.component.controller.
SparkStreamController |스트림 데이터 처리를 위한 제어기 | | +|TensorflowServingController |ksb.csle.component.controller.
TensorflowServingController |텐서플로우 기반 서빙 컨트롤러 | | +|WindowedSparkSessionOr
StreamController |ksb.csle.component.controller.
WindowedSparkSessionOrStreamController |윈도우 기능이 있는 Spark과 스트림 데이터 컨트롤러 | | +|PySparkMLTrainer| - |Spark ML 학습용 컨트롤러| | + + +###ksb.csle.component.pipe.controller + +|컴포넌트 이름 | 구현 클래스명 | 설명 | +|---|---|---| +|OnDemandCompositeServingRestfulController |ksb.csle.component.pipe.controller.
OnDemandCompositeServingRestfulController |온디멘드 Rest 방식의 API 융합서빙 컨트롤러 | +|OnDemandGenericController |ksb.csle.component.pipe.controller.
OnDemandGenericController |OnDemand 복합 컨트롤러 | | +|StreamingGenericController |ksb.csle.component.pipe.controller.
StreamingGenericController |스트림 파이프라인용 컨트롤러 | | diff --git a/manual1903/2.5.1.HttpToMongodbExample.md b/manual1903/2.5.1.HttpToMongodbExample.md new file mode 100755 index 0000000000000000000000000000000000000000..2f30179a06ce59d4b348ae88d567e6ed0873e8fa --- /dev/null +++ b/manual1903/2.5.1.HttpToMongodbExample.md @@ -0,0 +1,163 @@ +--- +html: + toc: true + offline: true +export_on_save: + html: true +--- +# 스트림 데이터 적재하기 (HttpToMongodbExample) +--- + +HTTP restful 인터페이스를 통해서 스트림으로 입력되는 데이터를 MongoDB에 저장하는 예제를 설명합니다. + +## 입력 데이터 준비하기 +본 예제에서는 스트림 데이터를 생성해야 합니다. 이를 위해 **KSB 클라이언트 SDK** 를 다운로드 하십시오. 프로젝트에 포함된 테스트 스크립트를 이용하여 시뮬레이션 할 수 있습니다. + +- 테스트 스크립트에서 사용하는 ubuntu utility를 설치합니다. +```sh +$ sudo apt-get install curl +``` + +- 테스트 스트립트가 위치한 디렉터리로 이동합니다. +```sh +$ cd ~/ksb-csle/examples +``` + +- HTTP 스트림 데이터를 생성합니다. + - HTTP_IP: KSB 인공지능 프레임워크 IP 주소 + - HTTP_PORT: 워크플로우 작성시, 입력한 HTTP 서버 포트번호 +```sh +$ ./send-data-via-http.sh ${HTTP_IP}:${HTTP_PORT} +``` + + +##워크플로우 생성하기 +워크플로우 편집화면을 이용하여 아래의 과정을 통해 워크플로우를 생성합니다. + +- 워크플로우 속성 + +속성 | 값 | 비고 +--|---|-- +name | HttpToMongodbExample | 워크플로우 이름 +description | 스트림 데이터를 MongoDB에 적재하는 예제 | 워크플로우를 설명하는 글 +isBatch | false | 스트림 처리를 하는 워크플로우 이므로, false 로 지정 +verbose | false | 디버깅을 위해 로그정보를 보고자할 경우, true 로 지정 + +###엔진 선택 +본 예제에서는 스트림 데이터를 입력받아 처리한 뒤 MongoDB에 적재하므로 **StreamToBatch** 엔진을 드래그앤 드롭합니다. + +- 엔진 속성 + +순번 | 엔진 Type | NickName | RunType | 설명 +--|---|---|---|-- +1 | StreamToBatch | ProcessingEngine | 즉시실행 | 스트림 데이터를 MongoDB에 적재 + +####Reader +HTTP 서버로부터 전달되어 오는 데이터를 입력 받기 위해 **HttpServerReader** 를 드래그 앤 드롭한 후 아래표와 같은 속성을 지정합니다. + +field |value | 설명 +--|---|-- +ip | 0.0.0.0 | HTTP 서버의 주소를 입력합니다. +port | 53001 | HTTP 서버의 포트번호를 입력합니다. + + +####Writer +**MongodbWriter** 를 드래그앤 드롭한 후 아래표와 같은 속성을 지정합니다. + +field |value | 설명 +--|---|-- +serverAddress | localhost:27017 | MongoDB 서버 주소 및 포트 +dbName | examples | DB 명 +collectionName | data_from_http | 생성할 테이블 명 +cleaningDataInconsistency | true | 기존 테이블 삭제 및 재생성 여부 + +####Controller +**SparkSessionOrStreamController** 를 드래그앤 드롭한 후 아래 표와 같은 속성을 지정합니다. + +field |value | 설명 +--|---|-- +setOperationPeriod | 3 | 스트리밍 처리 주기 (초 단위) + +####Runner +**SimpleSparkRunner** 를 드래그앤 드롭합니다. 디폴트 속성값을 사용합니다. + + +####Operator +본 예제에서는 스트림 입력을 그대로 MongoDB에 적재하므로 Operator를 사용하지 않습니다. 만약 스트림 입력 데이터를 가공해야 할 경우, 필요한 Operator를 드래그앤 드롭하여 속성값을 지정한 후 사용할 수 있습니다. + +
+ +![워크플로우 완성 화면](./images/2.5.1_workflow.png) + +ksbuser@etri.re.kr 계정으로 접속하면 예제 워크플로우가 만들어져있습니다. **HttpToMongodbExample** 을 불러오기하여 사용할 수 있습니다. + +![워크플로우 불러오기](./images/2.5.1_workflowLoad.png) + +##워크플로우 실행 및 모니터링하기 +### 워크플로우 실행하기 +위에서 작성한 워크플로우를 실행하기 위해서는 워크플로우 편집기 상단의 실행 버튼()을 클릭합니다. 본 예제는 스트림 데이터를 처리하므로 **Batch** 체크 박스를 해제하고 워크플로우를 실행합니다. + +![워크플로우 실행화면](./images/2.5.1_workflowStart.png) + + +### 워크플로우 모니터링 하기 + +#### 워크플로우 상태 확인 +KSB 웹툴킷 상단의 **Monitoring** 메뉴를 클릭하여 진행내역/상태모니터링 화면으로 이동합니다. **Workflow** 탭에서 작성한 워크플로우가 실행 중 (Inprogress)인 것을 확인할 수 있습니다. 이 화면에서 실행 중인 워크플로우를 종료()하거나, 다시 실행()할 수 있습니다. + +![워크플로우 동작 상태 확인](./images/2.5.1_workflowMonitoring.png) + +#### 워크플로우 로그 보기 +**WorkFlow History** 탭을 선택하면, KSB 인공지능 프레임워크에서 워크플로우가 동작하며 발생시킨 로그 정보를 확인 할 수 있습니다. + +![워크플로우 히스토리](./images/2.5.1_workflowHistory.png) + +![워크플로우 동작 로그](./images/2.5.1_workflowLog.png) + +## 데이터 적재 결과 확인하기 +**입력 데이터 준비하기** 에서 설명한 방법대로 +./send-data-via-http.sh를 이용하여 http로 데이터를 전송합니다. +```sh +csle@csle1:~/ksb-csle/examples$ ./send-data-via-http.sh localhost:53001 +send data to: localhost:53001 +OK! I got it. +``` + +MongoDB 클라이언트 프로그램을 이용하여, 위에서 발생한 스트림 데이터가 MongoDB에 적재되었는지 확인합니다. + + - 먼저 새로운 터미널을 열어 docker 컨테이너에 추가로 접속합니다. + - 그리고, MongoDB 클라이언트 프로그램이 설치된 디렉터리로 이동합니다. + +```sh +docker exec -it csle1 bash +csle@csle1:/$ cd /home/csle/mongodb/bin +``` + - MongoDB에 접속합니다. +```sh +$ mongo +``` +![MongoDB](./images/2.5.1_mongoDB.png) + + - 데이터베이스를 확인한 후 선택합니다. +```sh +> show dbs +> use examples +``` +![MongoDB](./images/2.5.1_mongoDB3.png) + + - 테이블 생성을 확인합니다. +```sh +> show collections +``` +![MongoDB](./images/2.5.1_mongoDB4.png) + + - 적재된 데이터를 확인합니다. +```sh +> db.data_from_http.find() +``` +![MongoDB](./images/2.5.1_mongoDB5.png) + + +## 워크플로우 종료하기 +본 예제는 지속적으로 스트림데이터가 입력되므로 사용자가 워크플로우를 종료해야 합니다. +KSB 웹툴킷 상단의 **Monitoring** 메뉴를 클릭하여 진행내역/상태모니터링 화면으로 이동합니다. **Workflow** 탭에서 실행 중인 워크플로우를 종료()합니다. diff --git a/manual1903/2.5.10.HourlyTensorflowTraining.md b/manual1903/2.5.10.HourlyTensorflowTraining.md new file mode 100755 index 0000000000000000000000000000000000000000..335de65a34c62db5d9f8147373fa68861ab850dc --- /dev/null +++ b/manual1903/2.5.10.HourlyTensorflowTraining.md @@ -0,0 +1,151 @@ +--- +html: + toc: true + offline: true + +export_on_save: + html: true +--- +# 텐서플로우 모델 주기적으로 학습하기 (HourlyTensorflowTraining) +--- +매분, 매시간, 매일, 매주, 매월, 매년 등 주기적으로 파일로부터 데이터셋을 읽어 딥러닝 학습을 수행하고, 그 결과로 새롭게 학습된 모델의 신규버전이 담긴 디렉토리와 파일을 생성하는 예제입니다. + +## 입력 데이터 준비하기 +본 예제에서는 KSB 프레임워크 웹툴킷 화면에서 Repository 탭을 클릭하여 dataset/input 디렉토리를 선택합니다. 해당 디렉토리에 trainset.csv 파일이 있는지 확인합니다. +만약 없다면 /home/csle/ksb-csle/examples/input 폴더에 존재하는 trainset.csv 파일을 사용자 HDFS repository dataset/input 폴더에 등록하여 사용합니다. + +![학습 데이터셋 저장소 위치 및 파일 선택하기 ](./images/2.5.10_DataRepository.png) + +## 사용자 파이썬 코드 준비하기 +텐서플로우 기반 딥러닝 모델이 구현된 사용자 파이썬 코드가 있어야 합니다. 사용자 파이썬 코드는 프레임워크와 연동하기 위해 프레임워크에서 전달하는 파라미터를 받는 부분, 학습된 모델을 텐서플로우 서빙용으로 export 하는 부분 등이 구현되어야 합니다. 자세한 내용은 KSB 프레임워크와 연동을 위한 tensorflow 학습코드 작성하기 를 참고합니다. +main 함수를 포함한 사용자 파이썬 코드에서 사용하는 라이브러리 파일 등은 동일한 폴더에 위치 시키거나 1 depth의 하위 폴더까지 작성 가능합니다. + + +##워크플로우 생성하기 +워크플로우 편집화면을 이용하여 아래의 과정을 통해 워크플로우를 생성합니다. + +- 워크플로우 속성 + +속성 | 값 | 비고 +--|---|-- +name | HourlyTensorflowTraining | 워크플로우 이름 +description | 텐서플로우 기반 딥러닝 모델을 주기적으로 학습하는 예제 | 워크플로우를 설명하는 글 +isBatch | true | 배치 처리를 하는 워크플로우 이므로, true 로 지정 +verbose | false | 디버깅을 위해 로그정보를 보고자할 경우, true 로 지정 + +###엔진 선택 +본 예제는 텐서플로우를 이용하여 배치 형태로 딥러닝 모델을 생성하는 워크플로우이므로 배치 엔진을 선택합니다. 그리고 딥러닝 모델을 주기적으로 생성하기 위해 **RUNTYPE** 을 **반복실행** 으로 설정합니다. **주기** 는 한번, 매분, 매시간, 매일, 매주, 매월, 매년 중에 하나로 설정합니다. 본 예제에서는 테스트를 위해 **매분** 으로 설정합니다. 매분은 테스트용으로 5분 단위로 엔진이 submit 되어 실행됩니다. + + +- 엔진 속성 + +순번 | 엔진 Type | NickName | RunType | 설명 +--|---|---|---|-- +1 | Batch | TrainEngine | 반복 실행 | 텐서플로우 모델 학습 + +####Reader +FileReader를 선택하고 아래표와 같은 속성을 지정합니다. filePath 에 입력 파일의 경로 및 파일명을 지정합니다. 이 값은 사용자 파이썬 코드(텐서플로우 모델을 정의하고 학습하는 코드)의 `--input` 파라미터로 전달됩니다. + +field |value | 설명 +--|---|-- +filePath| dataset/input/trainset.csv | 파일 경로 +fileType | CSV | 파일 타입 +delimiter | , | 구분자 +header | false | header 포함 유무 +saveMode | | 사용 하지 않음 + + +filePath는 경로 입력창 옆의 "File" 버튼을 클릭하여 아래 그림과 같이 HDFS repository 탐색창을 통해 파일을 선택하여 입력할 수 있습니다. + +![학습 데이터셋 파일 위치 및 선택하기 ](./images/2.5.10_DataFile.png) + +####Writer +FileWriter를 선택하고 아래표와 같은 속성을 지정합니다. filePath 에 학습한 딥러닝 모델이 최종 저장될 폴더를 지정합니다. 해당 폴더에 자동으로 최신버전의 폴더를 생성한 후 모델이 저장됩니다. 모델의 버전은 0000 부터 시작하여 1씩 증가합니다. filePath 에 입력한 값은 사용자 파이썬 코드(텐서플로우 모델을 정의하고 학습하는 코드)의 `--output` 파라미터로 전달됩니다. + +본 예제에서는 다른 엔진에서 학습한 딥러닝 모델을 사용하도록 하기 위해 HDFS 절대경로를 지정합니다. 상대경로를 지정할 경우, 동적으로 생성한 **사용자 기본 파일경로** 가 앞에 추가되므로 다른 엔진에서 정확한 파일 경로를 지정하는 것이 어렵습니다. + +field |value | 설명 +--|---|-- +filePath | hdfs://csle1:9000/user/ksbuser_etri_re_kr/model/rnn | 모델 저장 경로 +fileType | CSV | 파일 타입 +delimeter | , | 구분자 +header | false | header 포함 여부 +saveMode | | 사용하지 않음 + +####Controller +텐서플로우와 같은 외부시스템를 제어하기 위한 ExternalAnalysisController를 선택합니다. + +####Runner +TensorflowRunner 를 선택하고 아래표와 같은 속성을 지정합니다. pyEntryPath 에 main 함수를 포함하는 사용자 파이썬 코드(텐서플로우 모델을 정의하고 학습하는 코드)의 경로 및 파일명을 지정합니다. + +field |value | 설명 +--|---|-- +pyEntryPath | file:///home/csle/ksb-csle/components/src/main/python/recurrent/rnn_saved_model_new.py | 텐서플로우 모델 학습을 위한 파이썬 코드 경로 +cluster | false | cluster 환경 실행 여부 +inJson | false | Json 형태 파라미터 전달 여부 +tfVersion | r1.3 | 텐서플로우의 버전 + + +####Operator +DLTrainOperator를 선택하고 아래표와 같은 속성을 지정합니다. modelPath 에 내부적으로 학습된 모델을 저장할 경로를 지정합니다. 이 값은 사용자 파이썬 코드(텐서플로우 모델을 정의하고 학습하는 코드)의 `--modelPath` 파라미터로 전달됩니다. 로컬 파일시스템 절대경로로 입력합니다. +또한, modelPath를 기준으로 최신버전의 폴더를 자동으로 생성하여 사용자 파이썬 코드의 `--model` 파라미터로 전달합니다. 모델의 버전은 0000 부터 시작하여 1씩 증가합니다. 따라서 예를 들면: + +- (modelPath) file:///home/csle/ksb-csle/{선택한 경로} +- (자동생성되는 model) file:///home/csle/ksb-csle/{선택한 경로}/{모델버전} + +field |value | 설명 +--|---|-- +modelPath | file:///home/csle/ksb-csle/models/rnn/model | 내부적으로 학습된 모델을 저장할 경로
반드시 로컬 시스템 경로만 지정 +addtionalParams | 아래 설정 참고 | + +additionalParams 설정은 [+] 버튼을 두 번 클릭하여 다음과 같이 합니다. 사용자가 필요한 파라미터의 이름과 값을 세팅하여 사용자 파이썬 코드로 전달합니다. + +field |value | 설명 +--|---|-- +paramName | isTrain | 새롭게 학습할 경우에는 True, 그 외의 경우에는 False. +paramValue | True | + +field |value | 설명 +--|---|-- +paramName | num_epochs | 학습 반복 횟수 +paramValue | 2 | + +
+
+ +![워크플로우 완성 화면](./images/2.5.10_workflow.png) + +ksbuser@etri.re.kr 계정으로 접속하면 예제 워크플로우가 만들어져있습니다. 불러오기해서도 돌려볼 수 있습니다. + +##워크플로우 실행 및 모니터링하기 +### 워크플로우 실행하기 +엔진의 RUNTYPE 을 설정한 후, 워크플로우 편집기 상단의 실행 버튼을 누릅니다. 이 때, 본 예제는 Batch 형태로 실행되는 엔진이므로 Batch 체크 박스를 선택하고 워크플로우를 실행합니다. + +![RUNTYPE 설정](./images/2.5.10_runTypeSetting.png) + +![Batch 체크 박스 선택](./images/2.5.10_workflow_start.png) + + +### 워크플로우 모니터링 하기 +KSB 웹툴킷 상단 메뉴의 Monitoring 탭을 클릭하면 Workflow 탭이 선택되어있습니다. Workflow 탭에서는 실행한 워크플로우들의 목록 및 동작 상태를 확인하고 제어할 수 있습니다. 위에서 실행한 워크플로우 이름을 클릭하면 워크플로우의 각 엔진들의 동작 상태 (status) 를 확인할 수 있습니다. + +![워크플로우 동작 상태 확인](./images/2.5.10_monitoring.png) + +주기적으로 (5분 마다) 실행되므로, 동작 상태(status) 가 완료(Completed)였다가 실행 중일 때는 실행 중(Inprogress) 으로 바뀌는 것을 확인할 수 있습니다. + +![워크플로우 동작 상태 확인](./images/2.5.10_monitoring2.png) + +WorkFlow History 탭을 선택하면, 프레임워크에서 워크플로우가 동작하며 발생시킨 로그 정보를 확인 할 수 있습니다. 본 예제에서는 엔진이 5분 마다 동작한 내역을 확인할 수 있습니다. + +![워크플로우 히스토리](./images/2.5.10_monitoring_history.png) + + +### 학습한 후 export 된 모델 확인하기 +엔진의 FileWriter 에서 지정한 위치 (hdfs://csle1:9000/user/ksbuser_etri_re_kr/model/rnn) 에 학습된 모델이 생성된 것을 확인합니다. +KSB 웹툴킷 상단의 Repository 메뉴에서 model/rnn 위치에 엔진이 5분 마다 실행되어 모델을 주기적으로 생성한 것을 확인할 수 있습니다. 모델의 버전은 0000 부터 자동으로 1씩 증가합니다. + +![학습된 모델 확인](./images/2.5.10_modelSave.png) + + +## 워크플로우 종료하기 +Monitoring 탭에서 동작중(Inprogress)인 상태의 HourlyTensorflowTraining 워크플로우의 정지() 버튼을 눌러 종료시킵니다. diff --git a/manual1903/2.5.11.InceptionServingExample.md b/manual1903/2.5.11.InceptionServingExample.md new file mode 100755 index 0000000000000000000000000000000000000000..1b4928a376f8b0960caed447a576ec429e61b64c --- /dev/null +++ b/manual1903/2.5.11.InceptionServingExample.md @@ -0,0 +1,114 @@ +--- +html: + toc: true + offline: true +export_on_save: + html: true +--- +# 온디맨드 방식으로 Inception 모델 서빙하기 (InceptionServingExample) +--- +텐서플로우 기반 Inception 모델을 이용한 이미지 분류 RESTful 서비스 예제를 소개합니다. + +## 모델 등록하기 +웹툴킷 화면에서 [Repository] 탭을 클릭하여, Inception 모델을 등록합니다. + +### 모델 폴더 생성하기 +웹툴킷 화면에서 [New Directory] 메뉴를 클릭하여, Inception 모델을 등록할 폴더를 생성합니다. +![모델 폴더 생성화면](images/2.5.11_1_01.png) + +### 모델 업로드 +웹툴킷 화면에서 [File Upload] 메뉴를 클릭하여, 모델을 등록합니다. + +[파일 입력] 콤보 박스에서 '폴더'를 선택합니다. +![모델 업로드 메뉴](images/2.5.11_1_02.png) +[파일 선택] 버튼을 클릭하여, 등록할 모델을 선택합니다. +![모델 업로드 선택](images/2.5.11_1_03.png) + +### 모델 등록 완료 +웹툴킷 화면에서 모델이 등록된 것을 확인할 수 있습니다. +![모델 등록 완료](images/2.5.11_1_04.png) + +## 워크플로우 생성하기 +워크플로우 편집기를 이용하여, 다음의 절차에 따라 워크플로우를 생성합니다. + +### 엔진 선택 +본 예제는 온 디맨드 타입의 분류 서비스를 제공하므로, OnDemandServing 엔진을 선택합니다. + +#### Reader +본 예제에서는 Reader를 사용하지 않습니다. + +#### Writer +본 예제에서는 Writer를 사용하지 않습니다. + +#### Controller +본 예제의 Controller는 TensorflowServingController를 사용하고, 속성을 기본 값으로 설정합니다. + +#### Runner +본 예제의 Runner는 TensorflowServingRunner를 사용하고, 속성을 다음과 같이 설정합니다. +field |value | 설명 +--|---|-- +modelBasePath | models/inception | 모델 경로 +port | 8002 | 이미지 분류 결과를 서비스할 포트 번호 +modelName | inception | 서비스에 사용할 inception 모델의 이름 + +'modelBasePath' 설정은 위에서 등록한 Inception 모델을 선택합니다. +![모델 경로 설정](images/2.5.11_2_01.png) + +#### Operator +본 예제의 Operator는 TensorflowServingOperator를 사용하고, 속성을 기본 값으로 설정합니다. + +완성된 워크플로우는 다음과 같습니다. +![워크플로우 완성 화면](images/2.5.11_2_02.png) + +웹툴킷에 ksbuser@etri.re.kr 계정으로 로그인하면, 본 예제 워크플로우가 이미 만들어져 있는 것을 확인할 수 있습니다. +워크플로우 편집기의 불러오기 메뉴를 통해 본 예제를 실행할 수 있습니다. + +## 워크플로우 실행 및 모니터링하기 + +### 워크플로우 실행하기 +워크플로우 편집기 화면 상단의 실행 버튼을 클릭하여, 위에서 작성한 워크플로우를 실행합니다. +본 예제는 온 디맨드 타입의 엔진이므로, Batch 체크박스를 해제하고 Run 버튼을 클릭합니다. +![워크플로우 실행](images/2.5.11_3_01.png) + +### 워크플로우 모니터링 하기 + +#### 워크플로우 상태 확인 +웹툴킷 [Monitoring] 화면에서 [Workflow] 탭을 선택하여, 위에서 실행한 워크플로우와 엔진의 동작 상태를 확인할 수 있습니다. +정상적으로 실행되어 Status 값이 Inprogress인 것을 확인할 수 있습니다. +![워크플로우 동작 상태 확인](images/2.5.11_3_02.png) + +#### 워크플로우 로그 보기 +[Workflow History] 탭을 선택하여, 현재 동작 중인 워크플로우의 로그 정보를 확인할 수 있습니다. +![워크플로우 히스토리](images/2.5.11_3_03.png) + +#### 서빙 서비스 상태 보기 +웹툴킷 [Dashboard] 탭을 선택하면, 화면 하단의 'Services' 테이블에서 위에서 실행한 온 디멘드 서빙 서비스에 대한 정보를 확인할 수 있습니다. +![서비스 정보 확인](images/2.5.11_3_04.png) + +## 결과 확인하기 +Postman 프로그램을 이용하여, 본 예제의 이미지 분류 서비스의 기능을 확인하는 과정입니다. + +#### Inception 모델의 메타데이터 조회 +- 웹툴킷 [Dashboard] 화면 'Services' 테이블의 'URL' 정보를 이용하여 Inceptin 모델의 메타데이터를 조회할 수 있습니다. +- 좌측 상단의 콤보박스에서 'GET'을 선택하고, Request-URL 값을 ``http://0.0.0.0:8002/model``로 설정합니다. +- [Send] 버튼을 클릭하여 메타데이터 조회를 요청을 하면, 다음과 같이 모델의 메타데이터를 확인할 수 있습니다. +![모델 메타데이터 조회](images/2.5.11_4_01.png) + +#### 이미지 분류 질의 결과 보기 +- 위에서 조회한 메타데이터를 이용하여 이미지 분류 질의 요청과 그에 대한 결과를 확인할 수 있습니다. +- 좌측 상단의 콤보박스에서 'POST'를 선택하고, Request-URL 값을 ``http://0.0.0.0:8002/model/predict_images/images`` 로 설정합니다. + - predict_images: 이미지 분류 signature 이름 + - images: 입력 tensor의 이름 +- [Headers] 메뉴에서 KEY 필드에서 'Content-Type'"'을 VALUE 필드에서 'image/jpeg'을 입력합니다. +![이미지 분류 질의 요청 설정 1](images/2.5.11_4_02.png) +- [Body] 메뉴에서 [binary] 버튼을 선택하고, [파일 선택] 버튼을 클릭하여 분류하고자 하는 이미지 파일을 선택합니다. +![이미지 분류 질의 요청 설정 2](images/2.5.11_4_03.png) +- [Send] 버튼을 클릭하여 이미지 분류 질의 요청을 하면, 다음과 같이 이미지 분류 결과를 확인할 수 있습니다. +(Inception 모델의 경우, score가 가장 높은 순서로 5개의 분류 카테고리를 알려줍니다.) +![이미지 분류 질의 요청 결과](images/2.5.11_4_04.png) + +## 워크플로우 종료하기 +웹툴킷 [Monitoring] 화면의 [Workflow] 탭에서, 현재 Status가 Inprogress인 InceptionServingExample 워크플로우의 정지() 버튼을 클릭하여 종료시킵니다. + +## 워크플로우 저장하기 +워크플로우 편집기에서 작성한 워크플로우를 "Save Workflow" 메뉴를 이용하여 저장합니다. diff --git a/manual1903/2.5.12.TfStreamPredictionMnist.md b/manual1903/2.5.12.TfStreamPredictionMnist.md new file mode 100755 index 0000000000000000000000000000000000000000..c9d55f8224359ea1abc3140da77aa451da9c86e6 --- /dev/null +++ b/manual1903/2.5.12.TfStreamPredictionMnist.md @@ -0,0 +1,145 @@ +--- +html: + toc: true + offline: true +export_on_save: + html: true +--- +# 스트림 방식으로 MNIST 모델 서빙하기 (TfStreamPredictionMnist) +--- + +Kafka 스트림으로 입력받은 이미지 데이터를 텐서플로우 기반의 MNIST 모델을 이용하여 분류한 결과를 Kafka 스트림으로 출력하는 예제를 설명합니다. + +## 모델 등록하기 +웹툴킷 화면에서 [Repository] 탭을 클릭하여, MNIST 모델을 등록합니다. + +### 모델 폴더 생성하기 +웹툴킷 화면에서 [New Directory] 메뉴를 클릭하여, MNIST 모델을 등록할 폴더를 생성합니다. +![모델 폴더 생성화면](images/2.5.12_1_01.png) + +### 모델 업로드 +웹툴킷 화면에서 [File Upload] 메뉴를 클릭하여, 모델을 등록합니다. + +[파일 입력] 콤보 박스에서 '폴더'를 선택합니다. +![모델 업로드 메뉴](images/2.5.12_1_02.png) +[파일 선택] 버튼을 클릭하여, 등록할 모델을 선택합니다. +![모델 업로드 선택](images/2.5.12_1_03.png) + +### 모델 등록 완료 +웹툴킷 화면에서 모델이 등록된 것을 확인할 수 있습니다. +![모델 등록 완료](images/2.5.12_1_04.png) + +## 워크플로우 생성하기 +워크플로우 편집기를 이용하여, 다음의 절차에 따라 워크플로우를 생성합니다. + +### 엔진 선택 +본 예제는 스트림 타입의 모델 서빙 서비스를 제공하므로, StreamToStream 엔진을 선택합니다. + +#### Reader +Kafka 스트림을 입력받기 위해 KafkaReader를 선택하고, 아래 표와 같이 속성을 설정합니다. +field | value | 설명 +--|---|-- +topic | mnist_input | 이미지 데이터를 입력받기 위한 Kafka Topic 이름 +zooKeeperConnect | csle1:2181 | Zookeeper 접속주소 (IP, 포트번호) +groupId | mnist_input | Kafka 통신을 위한 그룹 아이디 +bootStrapServer | csle1:9092 | Kafka 서버 접속주소 (IP, 포트번호) + +#### Writer +이미지 분류 결과를 Kafka 스트림으로 출력하기 위해 KafkaWriter를 선택하고, 아래 표와 같이 속성을 설정합니다. +field | value | 설명 +--|---|-- +topic | mnist_output | 이미지 분류 결과를 출력하기 위한 Kafka Topic 이름 +zooKeeperConnect | csle1:2181 | Zookeeper 접속주소 (IP, 포트번호) +groupId | mnist_output | Kafka 통신을 위한 그룹 아이디 +bootStrapServer | csle1:9092 | Kafka 서버 접속주소 (IP, 포트번호) + +#### Controller +Spark 기반의 스트림 데이터 처리를 위해 SparkSessionOrStreamController를 선택하고, 아래 표와 같이 속성을 설정합니다. +field | value | 설명 +--|---|-- +operationPeriod | 1 | 스트림 데이터를 처리하는 주기 (초 단위) + +#### Runner +Spark 환경 설정을 위해 SimpleSparkRunner를 선택하고, 아래 표와 같이 속성을 설정합니다. +field | value | 설명 +--|---|-- +inJason | false | false로 설정하는 경우 json 형태의 파라메타를 커맨드라인 파라미터 형태로 변환하여 호출되는 외부 시스템에 전달. True 이면 json 형태의 파라메타 형태 그대로 외부시스템에 전달 +sparkArgs | 아래 표 참고 | Spark Application 설정 + +sparkArgs 설정은 다음과 같이 합니다. +field | value | 설명 +--|---|-- +master | local[\*] | 마스터 +numExecutors | 4 | Spark Executor 개수 +excuterCores | 2 | 각 Spark Executor의 core 개수 +executerMemory | 1g | 각 Spark Executor의 메모리 크기 +driverMemory | 1g | Spark Driver 메모리 + +#### Operator +본 예제의 경우, 데이터 전처리가 필요 없기에 아래 1개의 Operator를 이용합니다. + +1. **TensorflowPredictOperator** +텐서플로우 기반의 MNIST 모델을 이용하여, 입력 이미지의 분류 결과를 출력합니다. + +field | value | 설명 +--|---|-- +modelServerUri | model/mnist | MNIST 모델 경로 +modelName | mnist | 모델 이름 +signatureName | predict_images | 이미지 분류 signature 이름 + +완성된 워크플로우는 다음과 같습니다. +![워크플로우 완성 화면](images/2.5.12_2_01.png) + +웹툴킷에 ksbuser@etri.re.kr 계정으로 로그인하면, 본 예제 워크플로우가 이미 만들어져 있는 것을 확인할 수 있습니다. +워크플로우 편집기의 불러오기 메뉴를 통해 본 예제를 실행할 수 있습니다. + +## 워크플로우 실행 및 모니터링하기 + +### 워크플로우 실행하기 +워크플로우 편집기 화면 상단의 실행 버튼을 클릭하여, 위에서 작성한 워크플로우를 실행합니다. +본 예제는 스트림 타입의 엔진이므로, Batch 체크박스를 해제하고 Run 버튼을 클릭합니다. +![워크플로우 실행](images/2.5.12_3_01.png) + +### 워크플로우 모니터링 하기 + +#### 워크플로우 상태 확인 +웹툴킷 [Monitoring] 화면에서 [Workflow] 탭을 선택하여, 위에서 실행한 워크플로우와 엔진의 동작 상태를 확인할 수 있습니다. +정상적으로 실행되어 Status 값이 Inprogress인 것을 확인할 수 있습니다. +![워크플로우 동작 상태 확인](images/2.5.12_3_02.png) + +#### 워크플로우 로그 보기 +[Workflow History] 탭을 선택하여, 현재 동작 중인 워크플로우의 로그 정보를 확인할 수 있습니다. +![워크플로우 히스토리](images/2.5.12_3_03.png) + +## 결과 확인하기 +KSB 툴박스에 포함된 테스트 스크립트를 이용하여, 스트림 방식의 모델 서빙 기능을 확인하는 과정입니다. + +#### (1) 이미지 분류 결과 수신 대기 +KSB 툴박스에 포함된 ```consume-mnist-output.sh``` 스크립트를 실행하여, MNIST 이미지 분류 결과를 Kafka 서버로부터 수신할 수 있도록 대기합니다. +호스트 PC에서 터미널 창을 열어, 아래의 명령을 수행합니다. +```bash +$ docker exec -it csle1 bash +$ cd ~/ksb-csle/examples/models/mnist/client/kafka-json +$ ./consume-mnist-output.sh +``` +![이미지 분류 결과 수신 대기](images/2.5.12_4_01.png) + +#### (2) 분류할 이미지 데이터 전송 +KSB 툴박스에 포함된 ```publish-mnist-input.sh``` 스크립트를 실행하여, MNIST 이미지 데이터를 Kafka 서버로 전송합니다. +호스트 PC에서 터미널 창을 열어, 아래의 명령을 수행합니다. +```bash +$ docker exec -it csle1 bash +$ cd ~/ksb-csle/examples/models/mnist/client/kafka-json +$ ./publish-mnist-input.sh +``` +![분류할 이미지 데이터 전송](images/2.5.12_4_02.png) + +#### (3) 이미지 분류 결과 수신 확인 +위 (1)번 과정에서 실행한 터미널 창에서, MNIST 이미지 데이터와 분류 결과를 확인할 수 있습니다. +![이미지 분류 결과 수신 확인](images/2.5.12_4_03.png) + +## 워크플로우 종료하기 +웹툴킷 [Monitoring] 화면의 [Workflow] 탭에서, 현재 Status가 Inprogress인 '2.5.12.TfStreamPredictionMnist' 워크플로우의 정지() 버튼을 클릭하여 종료시킵니다. + +## 워크플로우 저장하기 +워크플로우 편집기에서 작성한 워크플로우를 "Save Workflow" 메뉴를 이용하여 저장합니다. diff --git a/manual1903/2.5.13.ConvergedServingEndToEndExample.md b/manual1903/2.5.13.ConvergedServingEndToEndExample.md new file mode 100755 index 0000000000000000000000000000000000000000..c3bd2fa2455fa275a5ea72df4ad360ef0daccca6 --- /dev/null +++ b/manual1903/2.5.13.ConvergedServingEndToEndExample.md @@ -0,0 +1,394 @@ +--- +html: + toc: true + offline: true +export_on_save: + html: true +--- +# REST API를 파이프라인하여 새로운 융합 REST API 만들기 (ConvergedServingEndToEndExample) +--- +본 예제에서는 사용자가 프로그래밍한 Python 함수를 KSB Dockerize를 이용하여 REST API로 만들고, 이러한 API 들을 연결하여 서빙하는 융합서빙 예제를 설명합니다. +KSB Dockerize 라이브러리는 사용자가 프로그래밍한 Python 함수를 Docker 이미지로 자동 변환할 뿐만 아니라 REST API 기능을 자동으로 추가하여, 사용자 Python 함수로 입력 데이터를 보내고 결과를 받을 수 있게 합니다. + + +## 입력 데이터 준비하기 +본 예제에서는 다음과 같은 챗봇 시나리오를 가정합니다. + 1. 입력한 문장의 topic 분류 + 2. topic이 일상적 대화일 경우, 일상적 대화들을 학습한 모델로 응답 문장 생성
topic이 여행과 관련된 대화일 경우, 여행 관련 대화들을 학습한 모델로 응답 문장 생성 + +따라서 topic 분류 모델(이하 classify로 칭함), 일상적 대화들을 학습한 모델(이하 chitchat으로 칭함), 여행 관련 대화들을 학습한 모델(이하 travel로 칭함)이 필요합니다. 이러한 모델들을 KSB Dockerize를 이용하여 프레임워크에서 서빙하기 위해 Python 모듈 사용하기 (KSB Dockerize) 매뉴얼에서 제공하는 방법대로 `base.py` 와 `main_func`을 생성해야 합니다. + +### 사용자 파이썬 코드 업로드 +Host PC의 /home/csle/ksb-csle/examples/pyModules/ChatbotServing 폴더에 있는 사용자가 프로그래밍한 파이썬 함수를 HDFS repository에 웹툴킷을 이용하여 업로드 합니다. +dataset/pyModules 위치에 ChatbotServing 폴더를 업로드 합니다. + +![코드 업로드](./images/2.5.13_codeUpload.png) + +파이썬 코드가 아래 폴더 구조로 업로드 되어야 합니다. KSB Dockerize를 이용하기 위해서 `__init.py` 파일과 `base.py` 파일을 작성합니다. `base.py` 는 `main_func` 이라는 함수를 포함하고 있어야 합니다. KSB Dockerize 라이브러리는 이 `main_func`을 불러 수행합니다. + +![코드 업로드](./images/2.5.13_codeUpload2.png) + + +다음은 chitchat 폴더 내의 `base.py` 의 `main_func` 을 보여줍니다. + +```python +def main_func(x): + + # get input + input = x + text = tune_text(input) + + # call your function + output_text = predict(text) + + return str(output_text) +``` + + +## 워크플로우 생성하기 +워크플로우 편집 화면에서 워크플로우를 작성합니다. 본 예제에서는 네 개의 엔진을 생성합니다. + +- 워크플로우 속성 + +속성 | 값 | 비고 +--|---|-- +name | ConvergedServingEndToEndExample | 워크플로우 이름 +description | 융합서빙 예제 | 워크플로우를 설명하는 글 +isBatch | false | 융합서빙을 위한 워크플로우 이므로, false 로 지정 +verbose | false | 디버깅을 위해 로그정보를 보고자할 경우, true 로 지정 + +- 엔진 속성 + +순번 | 엔진 Type | NickName | RunType | 설명 +--|---|---|---|-- +1 | OnDemandExternalServing | ClassifyDockerizeEngine | 즉시실행 | classify 함수 Dockerize +2 | OnDemandExternalServing | ChitchatDockerizeEngine | 즉시실행 | chitchat 함수 Dockerize +3 | OnDemandExternalServing | TravelDockerizeEngine | 즉시실행 | travel 함수 Dockerize +4 | OnDemandPipeServing | ChatbotServingEngine | 즉시실행 | API들을 연결하여 챗봇 서빙 + +### 첫 번째 엔진 작성하기 +topic 분류 모델(classify) 을 구현한 파이썬 코드를 Dockerize 하고 REST API 로 만들기 위해 OnDemandExternalServing엔진을 선택합니다. 본 예제의 OnDemandExternalServing 엔진은 Runner 만 가집니다. + +#### Runner +PyContainerRunner를 선택하고 아래표와 같은 속성을 지정합니다. + +field |value | 설명 +--|---|-- +port | 18001 | REST API 포트 번호 +imgName | classify_image | 생성할 도커 이미지 이름 +codePath | dataset/pyModules/ChatbotServing/classify | 파이썬 코드가 있는 경로 + + +### 두 번째 엔진 작성하기 +일상적 대화들을 학습한 모델(chitchat) 을 구현한 파이썬 코드를 Dockerize 하고 REST API 로 만들기 위해 OnDemandExternalServing엔진을 선택합니다. 본 예제의 OnDemandExternalServing 엔진은 Runner 만 가집니다. + +#### Runner +PyContainerRunner를 선택하고 아래표와 같은 속성을 지정합니다. + +field |value | 설명 +--|---|-- +port | 18002 | REST API 포트 번호 +imgName | chitchat_image | 생성할 도커 이미지 이름 +codePath | dataset/pyModules/ChatbotServing/chitchat | 파이썬 코드가 있는 경로 + +### 세 번째 엔진 작성하기 +여행 관련 대화들을 학습한 모델(travel) 을 구현한 파이썬 코드를 Dockerize 하고 REST API 로 만들기 위해 OnDemandExternalServing엔진을 선택합니다. 본 예제의 OnDemandExternalServing 엔진은 Runner 만 가집니다. + +#### Runner +PyContainerRunner를 선택하고 아래표와 같은 속성을 지정합니다. + +field |value | 설명 +--|---|-- +port | 18003 | REST API 포트 번호 +imgName | travel_image | 생성할 도커 이미지 이름 +codePath | dataset/pyModules/ChatbotServing/travel | 파이썬 코드가 있는 경로 + +### 네 번째 엔진 작성하기 +여기에서는 하나 이상의 REST API들을 연결하여 상위의 REST API를 제공하기 위한 엔진을 정의합니다. 이를 위해서 융합서빙엔진을 정의하기 위한 과정을 설명합니다. +먼저 융합서빙엔진을 구성하기 위한 엔진컨터이너로서 OnDemandPipeServing 엔진컨테이너를 선택합니다. 참고로 OnDemandPipeServing 엔진은 REST API를 통해서 request를 받아 일련의 오퍼레이터를 거치면서 처리한 결과를 response에 실어서 보냅니다. 따라서 데이터를 입출력하기 위한 Reader 와 Writer는 별도로 필요로 하지 않습니다. + +#### Controller +하나 이상의 REST API를 하나의 로직으로 연결하여 서빙하기 위한, 하나 이상의 오퍼레이터들의 호출흐름을 제어하기 위한 컨트롤러로서 OnDemandCompositeServingRestfulController를 선택합니다. +(OnDemandCompositeServingRestfulController는 restfulActorName과 uri정보를 설정할 수 있으며, 본 예제에서는 별도의 설정없이 기본값을 사용합니다. 요청 uri를 변경하고자 할 경우, 값을 입력하면 됩니다.) + +#### Runner +REST 서비스를 실행하기 위한 Runner로써 ServingPipeRunner를 선택합니다. 사용자가 챗봇 서비스를 받기 위한 REST API에 대한 접근 주소와 포트번호를 설정합니다. (아래 표 참조) + +field | value | 설명 +--|---|-- +host | 0.0.0.0 | 융합 서빙 주소 +port | 18080 | 융합 서빙 포트 번호 + + +#### Operator +본 챗봇 예제에서는 문장으로부터 topic을 분류하기 위한 REST API와 분류된 topic 내에서 문장에 대한 응답을 생성하는 REST API를 엮기 위해 총 3개의 오퍼레이터를 사용합니다. +각각의 오퍼레이터의 역할은 다음과 같습니다: +- **RouteRestfulContextQueryPipeOperator** + - topic 분류기 서비스 REST API (상기 첫번째 엔진을 통해서 생성될 API)를 호출하여 문장에 대한 topic 분류값을 얻어내기위한 질의 오퍼레이터 +- **RouteMappingPipeOperator** + - 얻어낸 topic 분류값을 응답을 질의할 REST 서비스의 주소로 변환하는 매핑 오퍼레이터 +- **OutputRestfulContextQueryPipeOperator** + - 매핑된 REST API 주소로 질의하여 최종 응답문구를 얻어내기위한 질의 오퍼레이터 + +1. **RouteRestfulContextQueryPipeOperator** + +field |value | 설명 +--|---|-- +url | http://SERVER_IP:18001 | REST API 주소 +method | POST | REST API 방식 +header | | 아래의 표 참고 + +header 설정은 다음과 같이 합니다. + +field |value | 설명 +--|---|-- +paramValue | Content-Type | +paramName | text/plain; charset=utf-8 | + + +2. **RouteMappingPipeOperator** + +field |value | 설명 +--|---|-- +routeMap | | 아래의 표 참고 + +routeMap 설정은 [+] 버튼을 두 번 클릭하여 다음과 같이 합니다. + +field |value | 설명 +--|---|-- +idx | 0 | +route | http://SERVER_IP:18002 | '0' 인덱스값에 대한 호출할 REST API 주소 + +field |value | 설명 +--|---|-- +idx | 1 | +route | http://SERVER_IP:18003 | '1' 인덱스값에 대한 호출할 REST API 주소 + +3. **OutputRestfulContextQueryPipeOperator** + +field |value | 설명 +--|---|-- +url | http://SERVER_IP:18002 | route 정보가 넘어오지 않을 경우 디폴트로 호출할 REST API 주소 +method | POST | REST API 방식 +header | | 아래의 표 참고 + +header 설정은 다음과 같이 합니다. + +field |value | 설명 +--|---|-- +paramValue | Content-Type | +paramName | text/plain; charset=utf-8 | + + +
+
+ +![워크플로우 완성 화면](./images/2.5.13_workflow.png) + +ksbuser@etri.re.kr 계정으로 로그인하면, 본 예제 워크플로우가 이미 만들어져 있는 것을 확인할 수 있습니다. 불러오기 메뉴를 통해 본 예제를 실행할 수 있습니다. + +## 워크플로우 실행 및 모니터링하기 +### 워크플로우 실행하기 +워크플로우 편집기 화면 상단의 실행 버튼을 눌러서, 위에서 작성한 워크플로우를 실행합니다. REST API를 서빙하는 워크플로우 이므로 Batch 체크박스를 해제하고 Run 버튼을 클릭합니다. + + +### 워크플로우 모니터링 하기 +KSB 웹툴킷 상단 메뉴의 Monitoring 탭을 클릭하면 Workflow 탭이 선택되어 있습니다. Workflow 탭 화면에서 실행한 워크플로우와 엔진의 동작 상태를 확인할 수 있습니다. 정상적으로 실행되어 Status 값이 Inprogress(실행중)인 것을 확인할 수 있습니다. + +![워크플로우 동작 상태 확인](./images/2.5.13_monitoring.png) + + +Workflow History 탭을 선택하면 워크플로우가 동작하며 발생시킨 각 엔진의 로그 정보를 확인할 수 있습니다. + +![워크플로우 히스토리](./images/2.5.13_monitoring_history.png) + + + +## 클라이언트에서 융합 REST API 로 쿼리 요청하기 +프레임워크에서 서빙하고 있는 융합 REST API (`http://0.0.0.0:18080`) 로 클라이언트에서 쿼리를 요청하는 방법은 다음과 같습니다. + +**◼ 약속된 Json 형태 : {"input" : "???"}** +"input" 키워드와 함께 보내고자 하는 데이터를 `{"input" : "???"}` 형태의 Json 으로 보냅니다. 이 경우 응답도 json 으로 옵니다. 약속된 Json 형태로 쿼리를 요청하는 것을 권장합니다. + +- **문자열을 보내고자 하는 경우**: + 보내고자 하는 데이터 (예: `aaa`) 를 다음과 같은 형태로 보냅니다. + + ```Json + {"input" : "aaa"} + ``` + 이 경우 내부적으로 쿼리를 해석하여 KSB Dockerize 라이브러리의 `base.py` 의 `main_func` 으로 데이터를 문자열 형태로 보냅니다. 즉 문자열 `'aaa'`를 보냅니다. + 따라서 사용자 파이썬 코드에서는 아래와 같이 입력데이터를 읽을 수 있습니다. + + ```Python + def main_func(x): + # In this example, x is Python string. + input = x + + ... + + ``` + +- **Json 문자열을 보내고자 하는 경우**: + 보내고자 하는 데이터 (예: `{"key1":"aaa", "key2":"bbb", "key3":"ccc"}`) 를 다음과 같은 형태로 보냅니다. + + ```JSON + {"input": "{\"key1\":\"aaa\", \"key2\":\"bbb\", \"key3\":\"ccc\"}"} + ``` + 이 경우 내부적으로 쿼리를 해석하여 KSB Dockerize 라이브러리의 `base.py` 의 `main_func` 으로 Json 문자열 데이터를 Json 문자열 형태로 보냅니다. 즉 `'{"key1":"aaa", "key2":"bbb", "key3":"ccc"}'` 를 보냅니다. + 따라서 사용자 파이썬 코드에서는 아래와 같이 입력데이터를 읽을 수 있습니다. + + ```Python + import json + + def main_func(x): + # In this example, x is Python string containing Json data. + x = json.loads(x) + input1 = x['key1'] + input2 = x['key2'] + input3 = x['key3'] + + ... + + ``` + +**◼ 문자열 형태 ** +보내고자 하는 데이터를 문자열로 보냅니다 (예를 들면, `"aaa"`). 이 경우 응답도 문자열로 옵니다. +문자열 형태로 쿼리를 보낼 경우, 사용자가 작성한 그대로의 문자열을 KSB Dockerize 라이브러리의 `base.py` 의 `main_func` 으로 보냅니다. (예를 들면, `'aaa'` ) +따라서 사용자 파이썬 코드에서는 아래와 같이 입력데이터를 읽을 수 있습니다. + +```Python +def main_func(x): + # In this example, x is Python string. + input = x + + ... + +``` +### 클라이언트 프로그램 구현 가이드 (파이썬) +융합 REST API 로 쿼리를 보내는 클라이언트 프로그램을 파이썬으로 구현한 예제 코드입니다. + +**◼ 약속된 Json 형태 : {"input" : "???"}** + +```Python +import requests + +url = 'http://0.0.0.0:18080' +userId = 'ksbuser@etri.re.kr' +query_str = '{0}/postQuery?userId={1}&password="pw"&key="key"' +query_str = query_str.format(url, userId) + +# data_str = {"input": "hellow"} +# data_str = {"input": "{\"key1\":\"aaa\", \"key2\":\"bbb\", \"key3\":\"ccc\"}"} +data_str = {"input": '{"key1":"aaa", "key2":"bbb", "key3":"ccc"}'} + +r = requests.post(query_str, json=data_str) +print('Status: ', r.status_code) +print('Response: ', r.text) + +``` + +**◼ 문자열 형태 ** + +```Python +import requests + +url = 'http://0.0.0.0:18080' +userId = 'ksbuser@etri.re.kr' +query_str = '{0}/postQuery?userId={1}&password="pw"&key="key"' +query_str = query_str.format(url, userId) + +data_str = 'I want to go LA' + +r = requests.post(query_str, data=data_str) +print('Status: ', r.status_code) +print('Response: ', r.text) + +``` + + +## 융합서빙 서비스 확인하기 +본 예제에서는 클라이언트로 Postman 프로그램을 활용하여 융합서빙 엔진이 제공하는 챗봇 서비스(융합 REST API)를 테스트 합니다. Postman을 실행하여 아래와 같이 설정합니다. (Postman 설명 바로가기) + +- 좌측 상단의 콤보 박스에서 **POST** 를 선택하고, 질의 선택할 URL을 입력합니다. 본 예제에서의 URL은 융합 서빙 엔진이 제공하는 URL (``http://0.0.0.0:18080/postQuery?userId=ksbuser@etri.re.kr&password="pw"&key="key"``)을 사용합니다. +- **Headers** 메뉴에서 Key 필드에 "Content-Type"을, Value 필드에 "text/plain; charset=utf-8" 을 입력합니다. + +![Postman 설정](./images/2.5.13_postmanSetting.png) + +- **Body** 메뉴에서 **raw** 라디오 버튼을 선택한 후, ``{"input": "TEXT"}`` 형태로 입력 문장을 작성합니다. 약속된 Json 형태로 융합 REST API 에 쿼리를 요청합니다. +- 우측 상단의 **Send** 버튼을 클릭하면 쿼리 요청이 제출되고, 결과가 화면 하단에 표시됩니다. 입력 문장에 대한 응답 문장이 표시 됩니다. + +![챗봇 서비스 확인하기](./images/2.5.13_servingResult1.png) + +
+ +![챗봇 서비스 확인하기](./images/2.5.13_servingResult2.png) + + +## 생성된 Docker 이미지 확인하기 +커맨드 창에서 아래 명령어를 실행합니다. + +```sh +docker container ls +``` + +아래 그림과 같이 Docker 이미지가 생성된 것을 확인할 수 있습니다. + +![Docker 이미지 생성](./images/2.5.13_dockerImage.png) + + +## KSB Dockerize를 통해 생성된 REST API 동작 확인하기 +커맨드 창에서 아래 명령어를 실행하여 KSB Dockerize를 통해 생성된 REST API 가 잘 동작하는 지 테스트할 수 있습니다. + +```sh +curl -d '{"input": "TEXT"}' http://0.0.0.0:PORT +``` +![Docker 이미지 테스트](./images/2.5.13_dockerTest.png) + +- topic 분류 모델(classify) + - PORT 번호 : 18001 + - 입력 문장의 topic을 분류한 결과 리턴 (0: chitchat, 1: travel) + - 본 예제에서는 dummy 코드로 입력 문장에 'go' 가 포함될 경우 1, 그 밖에는 0을 리턴함 +- 일상적 대화들을 학습한 모델(chitchat) + - PORT 번호 : 18002 + - 입력 문장에 대응하는 문장 리턴 + - 본 예제에서는 dummy 코드로 'Hi, I am chitchat'을 리턴함 +- 여행 관련 대화들을 학습한 모델(travel) + - PORT 번호 : 18003 + - 입력 문장에 대응하는 문장 리턴 + - 본 예제에서는 dummy 코드로 'Hi, I am travel agency'를 리턴함 + +## 워크플로우 종료하기 +KSB 웹툴킷 Monitoring 화면의 Workflow 탭에서, 현재 Status가 Inprogress인 ConvergedServingEndToEndExample 워크플로우의 정지() 버튼을 눌러 종료 시킵니다. + + +## 워크플로우 재실행 시 유의사항 +동일한 워크플로우를 재실행하기 위해서 기존 생성된 chitchat_image, classify_image, travel_image 도커 이미지와 컨테이너를 지운 후 워크플로우를 재실행 합니다. + +아래 명령어를 이용하여 Docker 이미지 목록을 확인합니다. + +```sh +docker images +``` + +아래 명령어를 이용하여 Docker 컨테이너를 삭제합니다. + +```sh +docker rm -f {IMAGE_ID} +``` + +아래 명령어를 이용하여 Docker 이미지를 삭제합니다. + +```sh +docker rmi {IMAGE_ID} +``` + +```sh +csle@csle1:~$ docker images +REPOSITORY TAG IMAGE ID CREATED SIZE +chitchat_image latest 054e56309341 2 hours ago 221MB +classify_image latest a4fd33bd0ba6 2 hours ago 221MB +travel_image latest 6c3bff27b0f5 2 hours ago 221MB + +csle@csle1:~$ docker rm -f chitchat_image classify_image travel_image +csle@csle1:~$ docker rmi chitchat_image classify_image travel_image +``` diff --git a/manual1903/2.5.14.TrafficPeriodicTrainAndK8sServingExample.md b/manual1903/2.5.14.TrafficPeriodicTrainAndK8sServingExample.md new file mode 100644 index 0000000000000000000000000000000000000000..235f5f40a73ae4a50081c581930286882b54c777 --- /dev/null +++ b/manual1903/2.5.14.TrafficPeriodicTrainAndK8sServingExample.md @@ -0,0 +1,268 @@ +--- +html: + toc: true + offline: true +export_on_save: + html: true +--- +# 쿠버네티스를 이용한 주기적인 모델학습 및 예측모델 서빙하기 (TrafficPeriodicTrainAndK8sServingExample) +--- +교통센서 데이터 파일을 이용하여 주기적으로 텐서플로우 모델을 학습한 후, 쿠버네티스를 이용해 최신 모델을 서빙하는 예제를 설명합니다. + +## 쿠버네티스와 연동 환경 준비하기 + 쿠버네티스 클러스터 설치하기를 참고하여 쿠버네티스 클러스터를 구성합니다. + +## 입력 데이터 준비하기 +본 예제에서는 KSB 프레임워크 웹툴킷 화면에서 Repository 탭을 클릭하여 dataset/input 디렉토리를 선택합니다. 해당 디렉토리에 traffic_processing.csv 파일이 있는지 확인합니다. + +만약 없다면 /home/csle/ksb-csle/examples/input 폴더에 존재하는 traffic_processing.csv 파일을 사용자 HDFS repository dataset/input 폴더에 등록하여 사용합니다. + +![파일 업로드](./images/2.5.14.TrafficPeriodicTrainAndK8sServingExample_01.png) + +## 사용자 파이썬 코드 준비하기 +텐서플로우 기반 딥러닝 모델이 구현된 사용자 파이썬 코드가 있어야 합니다. 사용자 파이썬 코드는 프레임워크와 연동하기 위해 프레임워크에서 전달하는 파라미터를 받는 부분, 학습된 모델을 텐서플로우 서빙용으로 export 하는 부분 등이 구현되어야 합니다. 자세한 내용은 KSB 프레임워크와 연동을 위한 tensorflow 학습코드 작성하기 를 참고합니다. +main 함수를 포함한 사용자 파이썬 코드에서 사용하는 라이브러리 파일 등은 동일한 폴더에 위치 시키거나 1 depth의 하위 폴더까지 작성 가능합니다. + +##워크플로우 생성하기 +워크플로우 편집화면에서 워크플로우를 작성합니다. 본 예제에서는 두 개의 엔진을 생성합니다. + +- 워크플로우 속성 + +속성 | 값 | 비고 +--|---|-- +name | TrafficPeriodicTrainAndK8sServingExample | 워크플로우 이름 +description | 강남교통데이터에 대한 주기적 학습 및 쿠버네티스를 이용한 서빙 예제 | 워크플로우를 설명하는 글 +isBatch | true | 배치 처리를 하는 워크플로우이므로, true 로 지정 +verbose | false | 디버깅을 위해 로그정보를 보고자할 경우, true 로 지정 + +- 엔진 속성 + +순번 | 엔진 Type | NickName | RunType | 설명 +--|---|---|---|-- +1 | Batch | TrainEngine | 반복실행 | 딥러닝 모델 학습 +2 | OnDemandServing | K8sServingEngine | 반복실행 | 최신 모델을 이용한 쿠버네티스 서빙 + +### 첫 번째 엔진 생성하기 + +텐서플로우를 이용하여 딥러닝 학습을 위해 Batch 엔진을 선택합니다. + +####Reader +FileReader를 선택하고 아래표와 같은 속성을 지정합니다. filePath 에 입력 파일의 경로 및 파일명을 지정합니다. 이 값은 사용자 파이썬 코드(텐서플로우 모델을 정의하고 학습하는 코드)의 `--input` 파라미터로 전달됩니다. + +field |value | 설명 +--|---|-- +filePath| dataset/input/traffic/traffic_processing.csv | 파일 경로 +fileType | CSV | 파일 형태 + + +filePath의 경로 입력창 옆의 "File" 버튼을 클릭하여 HDFS repository 탐색창을 통해 파일을 선택하여 업로드할 수 있습니다. 아래의 그림은 업로드된 후 결과 화면을 나타냅니다. + +![학습 데이터셋 파일 위치 및 선택하기 ](./images/2.5.14.TrafficPeriodicTrainAndK8sServingExample_02.png) + +####Writer +처리 결과를 파일 형태로 저장할 것이므로 FileWriter를 선택합니다. filePath 에 학습한 딥러닝 모델이 최종 저장될 폴더를 지정합니다. 해당 폴더에 자동으로 최신버전의 폴더를 생성한 후 모델이 저장됩니다. 모델의 버전은 0000 부터 시작하여 1씩 증가합니다. filePath 에 입력한 값은 사용자 파이썬 코드(텐서플로우 모델을 정의하고 학습하는 코드)의 `--output` 파라미터로 전달됩니다. + +본 예제에서는 두번째 엔진인 OnDemandServing 엔진에서 쿠버네티스를 이용한 모델 서빙을 하기 위해 HDFS 절대경로를 지정합니다. 상대경로를 지정할 경우, 동적으로 생성한 **사용자 기본 파일경로** 가 앞에 추가되므로 OnDemandServing 엔진에서 정확한 파일 경로를 지정하는 것이 어렵습니다. + +field |value | 설명 +--|---|-- +filePath | hdfs://csle1:9000/user/ksbuser_etri_re_kr/model/kangnam | 모델 저장 경로 +fileType | CSV | 파일 타입 +delimeter | , | 구분자 +header | false | header 포함 여부 +saveMode | | 사용하지 않음 + +####Controller +본 예제에서 Controller는 텐서플로우와 같은 외부시스템를 제어하기 위한 ExternalAnalysisController를 선택합니다. + +####Runner +tensorflowRunner 를 선택합니다. pyEntryPath 에 main 함수를 포함하는 사용자 파이썬 코드(강남 교통 데이터를 학습하기 위한 코드)의 경로 및 파일명을 지정합니다. + +field |value | 설명 +--|---|-- +pyEntryPath | file:///home/csle/ksb-csle/components/src/main/python/kangnam/tensorflow_train.py | 텐서플로우 모델 학습을 위한 파이썬 코드 경로 +cluster | false | cluster 환경 실행 여부 +inJson | false | Json 형태 파라미터 전달 여부 +tfVersion | r1.6 | 텐서플로우의 버전 + + +pyEntryPath 에는 아래와 같이 3가지 경로가 입력 가능합니다. + +1. 로컬 파일시스템 절대경로 지정 + file:///home/csle/ksb-csle/components/src/main/python/kangnam/tensorflow_train.py +2. hdfs 절대경로 지정 + hdfs://csle1:9000/user/ksbuser_etri_re_kr/dataset/tensorflowTrainSource/kangnam/tensorflow_train.py +3. hdfs 상대경로 지정 + dataset/tensorflowTrainSource/kangnam/tensorflow_train.py + +사용자는 로컬 파일시스템에 원하는 이름(예: kangnam) 폴더를 생성하고 해당 폴더 내에 main 함수를 포함하는 사용자 python 파일(예:tensorflow_train.py)을 작성합니다. +그리고, 관련된 라이브러리 파일 등은 동일한 폴더에 위치 시키거나 1 depth의 하위 폴더까지 작성 가능합니다. + +이렇게 작성된 kangnam 폴더를 KSB 웹툴킷 repository내 dataset/tensorflowTrainSource 폴더내에 업로드합니다. + +![](./images/2.5.14.TrafficPeriodicTrainAndK8sServingExample_20.png) + +![](./images/2.5.14.TrafficPeriodicTrainAndK8sServingExample_19.png) + +결과적으로 KSB 인공지능 프레임워크는 엔진 실행시, 로컬 파일시스템의 사용자 repository에 있는 kangnam 폴더 및 하위 1 depth 폴더를 file:///home/csle/ksb-csle/components/src/main/python/로 copy 후 tensorflow를 실행합니다. + +####Operator +DLTrainOperator를 선택하고 아래표와 같은 속성을 지정합니다. modelPath 에 내부적으로 학습된 모델을 저장할 경로를 지정합니다. 이 값은 사용자 파이썬 코드(텐서플로우 모델을 정의하고 학습하는 코드)의 `--modelPath` 파라미터로 전달됩니다. 로컬 파일시스템 절대경로로 입력합니다. +또한, modelPath를 기준으로 최신버전의 폴더를 자동으로 생성하여 사용자 파이썬 코드의 `--model` 파라미터로 전달합니다. 모델의 버전은 0000 부터 시작하여 1씩 증가합니다. 따라서 예를 들면: + +- (modelPath) file:///home/csle/ksb-csle/models/kangnam/model +- (자동생성되는 model) file:///home/csle/ksb-csle/models/kangnam/model/0000 + +field |value | 설명 +--|---|-- +modelPath | file:///home/csle/ksb-csle/models/kangnam/model | 학습모델 저장 경로 +addtionalParams | 아래 설정 참고 | + +addtionalParams 를 클릭하여 아래의 값을 추가 설정합니다. 사용자가 필요한 파라미터의 이름과 값을 세팅하여 사용자 파이썬 코드로 전달합니다. + +field |value | 설명 +--|---|-- +isTrain | True | 새롭게 학습할 경우에는 True, 그 외의 경우에는 False. +num_epochs | 1 | 학습 반복 횟수 + +####엔진 RunType +매분 주기적으로 실행하기 위해 해당 파라미터를 설정하고 Apply를 누릅니다. 현재 테스트를 위해 주기 : '매분' 설정은 내부적으로 5분 단위의 주기적 실행을 하게 설정되어 있습니다. + +![](./images/2.5.14.TrafficPeriodicTrainAndK8sServingExample_15.png) + +
+ +### 두 번째 엔진 생성하기 +두번째 엔진은 강남교통속도 예측모델을 이용하여 텐서플로우 서빙을 동작하기 위한 엔진입니다. 또한 쿠버네티스를 이용하여 온디맨드 서비스를 제공하기 위해 OnDemandServing 엔진을 선택합니다. +OnDemandServing 엔진에서는 데이터를 입출력하기 위한 Reader 와 Writer를 사용하지 않습니다. 데이터는 request 에 실어서 보냅니다. + +#### Controller +본 예제의 Controller는 TensorflowServingController를 사용합니다. + +#### Runner +본 예제의 Runner는 TensorflowServingRunner를 사용합니다. + +field |value | 설명 +--|---|-- +modelBasePath | hdfs://csle1:9000/user/ksbuser_etri_re_kr/model/kangnam| 학습 모델 경로 +port | 8001 | 교통속도 예측 RESTful 서비스 포트번호 +modelName | kangnam| 교통속도 예측 모델의 이름 + +쿠버네티스를 이용하여 엔진을 구동하는 경우, 8001번 포트는 쿠버네티스 동작에 의해 외부로 노출되지 않으며, 외부에서 엔진에 접속하기 위해서는 쿠버네티스 마스터에 ingress에 할당된 30100번 포트를 이용합니다. + +#### Operator +본 예제의 Operator는 TensorflowServingOperator를 사용합니다. + +![워크플로우 완성 화면](./images/2.5.14.TrafficPeriodicTrainAndK8sServingExample_04.png) + +ksbuser@etri.re.kr 계정으로 접속하면 예제 워크플로우가 만들어져있습니다. 불러오기해서도 돌려볼 수 있습니다. + +####엔진 RunType + +매분 주기적으로 실행하기 위해 해당 파라미터를 설정하고 Apply를 누릅니다. 단, 첫번째 엔진에서 생성된 모델을 이용하여 서빙을 하기 때문에 첫번째 엔진의 시작시간에서 5분 후에 tensorflow 서빙 엔진을 시작하도록 설정합니다. +![](./images/2.5.14.TrafficPeriodicTrainAndK8sServingExample_18.png) + + +## 워크플로우 실행 및 모니터링하기 + +### ksb.conf 수정하기 +쿠버네티스를 이용하기 위해 ksb.conf 파일에 쿠버네티스 환경설정 정보를 수정합니다. 그리고 enable을 true로 설정한 후, ./startKsbApiServing.sh 를 실행합니다. + +```sh +vi /home/csle/ksb-csle/conf/ksb.conf +``` +``` +kubernetes { + enable = "true" # 수정필요 + baseUrl = "http://SERVICENAME.ksb.local:30100" + imgRepositoryUrl = "docker.io" + kubernetes_yaml_path = "/kubernetes" + masterIp = "csle1" + masterPort = "2243" + nodesIp = "csle2,csle3" + user = "csle" + externalKafka { + brokerHostName = "csle1" + brokerHostIp = "192.168.0.5" + } +``` + +### 워크플로우 실행하기 +위에서 작성한 워크플로우를 실행하기 위해서는 워크플로우 편집기 상단의 실행 버튼을 누릅니다. 주기적으로 엔진을 배치방식으로 처리하므로 Batch 체크 박스는 체크하고 워크플로우를 제출합니다. + +![워크플로우 제출](./images/2.5.14.TrafficPeriodicTrainAndK8sServingExample_05.png) + +### 워크플로우 모니터링 하기 + +KSB 웹툴킷 상단 메뉴의 Monitoring 탭을 클릭하면 Workflow 탭이 선택되어있습니다. Workflow 탭에는 위에서 실행한 두 엔진들의 동작 상태 (status) 가 실행 중(Inprogress)인 것을 확인 할 수 있습니다. Batch엔진은 주기적으로 동작하는 시점에만 Ingress 상태를 확인할 수 있으며 OnDemandServing 엔진인 경우 항상 Ingress 상태에서 주기적으로 서빙모델을 업데이트 합니다. + +![워크플로우 동작 상태 확인](./images/2.5.14.TrafficPeriodicTrainAndK8sServingExample_06.png) + +### 주기적으로 학습한 모델 확인하기 +첫 번째 엔진의 FileWriter 에서 지정한 위치에 학습된 모델이 생성된 것을 확인합니다. 첫 번째 엔진이 5분 마다 실행되어 모델을 주기적으로 생성하는 것을 확인할 수 있습니다. 모델의 버전은 0000 부터 자동으로 1씩 증가합니다. + +![학습 모델 저장 위치 설정하기 ](./images/2.5.14.TrafficPeriodicTrainAndK8sServingExample_03.png) + +![학습된 모델 확인](./images/2.5.14.TrafficPeriodicTrainAndK8sServingExample_07.png) + +### 쿠버네티스 서빙엔진 동작 확인하기 + +쿠버네티스 Dashboard에 접속하여 서빙 엔진 pod들이 동작하는지 확인합니다. Dashboad에 접속하는 방법은 Kubernetes 클러스터 설치하기를 참고합니다. +Dashboaddml Pod 부분에 kangnam-server의 pod가 2개 생성되는지 확인합니다. +![](./images/2.5.14.TrafficPeriodicTrainAndK8sServingExample_10.png) +또한, Pode의 로그 아이콘을 콜릭하여 현재 쿠버네티스가 서빙하고 있는 모델의 버전을 확인합니다. 그림에서는 0010 폴더의 모델을 이용해서 텐서플로우 서빙을 하고 있는 것을 확인합니다. +![](./images/2.5.14.TrafficPeriodicTrainAndK8sServingExample_08.png) + +5분 후 자동적으로 OnDemandServing 엔진을 다시 실행하게 되므로 기존은 pod들은 점차 삭제되고 새로 생기는 pod들은 다시 새로운 모델 버전을 이용해서 서빙을 하게 됩니다. +![](./images/2.5.14.TrafficPeriodicTrainAndK8sServingExample_11.png) +아래 그림과 같이 0011 폴더의 새로운 모델을 이용해서 서빙을 하는 것을 확인할 수 있습니다. +![](./images/2.5.14.TrafficPeriodicTrainAndK8sServingExample_12.png) + + +### 결과 확인하기 + +#### /etc/hosts 에 dns 이름 등록하기 +쿠버네티스의 ingress는 도메인 주소와 포트를 이용해 쿠버네티스 내부의 pod로 데이터를 전달합니다. +OnDemandServing 엔진 생성시, TensorflowServingRunner에서 지정한 modelname : "kangnam" 정보를 이용하여 kangnam.ksb.local 주소로 자동 proxy 되도록 설정됩니다. +따라서, host pc의 /etc/hosts를 아래와 같이 수정한 후, 쿠버네티스에서 동작하는 tensorflow 서빙에게 query를 전달하여야 합니다. (쿠버네티스 마스터의 IP는 192.168.0.5로 가정합니다. 자신의 쿠버네티스 클러스터 IP에 맞게 설정합니다.) + +```sh +sudo vi /etc/hosts + +127.0.0.1 localhost +# 아래 주석처리. Hdfs 연동시 문제가 생김. +#127.0.1.1 csle1 + +# The following lines are desirable for IPv6 capable hosts +::1 ip6-localhost ip6-loopback +fe00::0 ip6-localnet +ff00::0 ip6-mcastprefix +ff02::1 ip6-allnodes +ff02::2 ip6-allrouters + +# 쿠버네티스 master, node1, node2 정보 +192.168.0.5 csle1 master +192.168.0.6 csle2 +192.168.0.7 csle3 +# 쿠버네티스 kangnam 서빙 주소 설정 +192.168.0.5 kangnam.ksb.local +``` + +#### 교통속도 예측 질의 및 서비스 결과 보기 +클라이언트 SDK 내의 아래의 디렉터리로 이동합니다. 테스트 스트립트를 실행하여 교통속도 예측 질의를 요청합니다. + +```sh +cd /home/csle/ksb-csle/examples/models/kangnam/client/rest-csv +./predict-speed.sh kangnam.ksb.local:30100 in1.csv +``` + +![](./images/2.5.14.TrafficPeriodicTrainAndK8sServingExample_09.png) + +테스트 스크립트를 실행한 결과로 교통속도 예측값을 확인할 수 있습니다. + +## 워크플로우 종료하기 +KSB 웹툴킷 상단 "Monitoring" 메뉴의 "Workflow" 탭에서 실행 중인 TrafficPeriodicTrainAndK8sServingExample 워크플로우를 종료()할 수 있습니다. + +![](./images/2.5.14.TrafficPeriodicTrainAndK8sServingExample_16.png) + +![](./images/2.5.14.TrafficPeriodicTrainAndK8sServingExample_17.png) diff --git a/manual1903/2.5.15.EdgexDemoSimpleHue.md b/manual1903/2.5.15.EdgexDemoSimpleHue.md new file mode 100755 index 0000000000000000000000000000000000000000..eee2e6976fb1d289bbe75bb667eb2907a47c0b08 --- /dev/null +++ b/manual1903/2.5.15.EdgexDemoSimpleHue.md @@ -0,0 +1,205 @@ +--- +html: + toc: true + offline: true +export_on_save: + html: true +--- +# EdgeX 연동을 통한 장치 제어하기 +--- +EdgeX로부터 센싱 데이터를 수집하고, 이를 전처리한 후, 규칙 기반으로 장치를 제어하는 예제를 소개합니다. + +## EdgeX 연동 환경 +아래 그림과 같이, EdgeX에는 온도 센서 장치와 스마트 전구가 등록되어 있습니다. +EdgeX에 등록된 온도 센서 장치로부터 온도 센서 데이터를 수집한 후, 온도 값에 따라 스마트 전구를 제어하는 메시지를 EdgeX로 전송하는 워크플로우를 작성해보도록 하겠습니다. + +![EdgeX 연동 환경](images/2.5.15_1_01.png) + + +### 온도 센서 데이터 +EdgeX로부터 수신하는 센싱 데이터 메시지는 다음과 같습니다. +```json +{ + "pushed": 0, + "device": "dht22-virtual", + "readings": [ + { + "pushed": 0, + "name": "temperature", + "value": "22", + "device": "dht22-virtual", + "id": "5b6a81b9e4b0e3fa2f07d372", + "created": 1533706681767, + "modified": 1533706681767, + "origin": 0 + }, + { + "pushed": 0, + "name": "packetcount", + "value": 22, + "device": "dht22-virtual", + "id": "5b6a81b9e4b0e3fa2f07d373", + "created": 1533706681832, + "modified": 1533706681832, + "origin": 0 + } + ], + "id": "5b6a81b9e4b0e3fa2f07d374", + "created": 1533706681841, + "modified": 1533706681841, + "origin": 0 +} +``` + +### 스마트 전구 제어 메시지 +EdgeX로 전송할 스마트 전구 제어 메시지는 다음과 같습니다. +```json +{ + "id": "2", + "state": { + "on": true, + "hue": 21845 + } +} +``` + +## 워크플로우 생성하기 +워크플로우 편집기를 이용하여, 다음의 절차에 따라 워크플로우를 생성합니다. + +### 엔진 선택 +본 예제는 EdgeX로부터 발생되는 센서 스트림 데이터를 처리하므로, StreamToStream 엔진을 선택합니다. + +### Reader +HttpServerReader를 선택하고, 아래 표와 같이 속성을 설정합니다. +field |value | 설명 +--|---|-- +port | 57071 | EdgeX로부터 HTTP 스트림 데이터를 수신할 서버의 포트번호를 입력합니다. + +### Writer +HttpClientWriter를 선택하고, 아래 표와 같이 속성을 설정합니다. +field | value | 설명 +--|---|-- +url | http://{EdgeX-IP}:{EdgeX-Port}}/api/v1/device/5b8756529f8fc2000183fe08/
command/5b8752139f8fc2000183fded | 스마트 전구 제어 메시지를 전달할 URL +method | PUT | HTTP Method 유형 +SrcColumnName | hueCommand | 스마트 전구 제어 메시지를 담고 있는 컬럼의 이름 +headr | 아래 표 참고 | HTTP header 설정 + +header 속성을 아래 표와 같이 설정합니다. +field | value | 설명 +--|---|-- +key | Content-Type | HTTP Content-Type header 이름 +value | application/json | 스마트 전구 제어 메시지의 타입 + +#### Controller +SparkStreamController를 선택하고, 아래 표와 같이 속성을 설정합니다. +field | value | 설명 +--|---|-- +operationPeriod | 1 | 스트림 데이터를 처리하는 주기 (초 단위) + +#### Runner +SimpleSparkRunner를 선택하고, 아래 표와 같이 속성을 설정합니다. +field | value | 설명 +--|---|-- +inJason | false | false로 설정하는 경우 json 형태의 파라메타를 커맨드라인 파라미터 형태로 변환하여 호출되는 외부 시스템에 전달. True 이면 json 형태의 파라메타 형태 그대로 외부시스템에 전달 +sparkArgs | 아래 표 참고 | Spark Application 설정 + +sparkArgs 설정은 다음과 같이 합니다. +field | value | 설명 +--|---|-- +master | local[\*] | 마스터 +numExecutors | 4 | Spark Executor 개수 +excuterCores | 2 | 각 Spark Executor의 core 개수 +executerMemory | 1g | 각 Spark Executor의 메모리 크기 +driverMemory | 1g | Spark Driver 메모리 + +#### Operator +아래의 5개의 Operator를 이용하여, 스트림 데이터를 처리하여 스마트 전구를 제어할 메시지를 생성합니다. + +1. **ExplodeColumnOperator** +온도 센서 메시지를 추출하기 위해, Array 타입의 "readings" 컬럼의 각 요소를 row로 변환합니다. + +field | value | 설명 +--|---|-- +srcColumnName | readings | 온도 센서 메시지를 포함하는 컬럼의 이름 + +2. **SplitColumnOperator** +온도 센서 값을 추출하기 위해, Array 타입의 "readings" 컬럼을 분해합니다. + +field | value | 설명 +--|---|-- +srcColumnName | readings | 온도 센서 값을 포함하는 컬럼의 이름 + +3. **FilterOperator** +온도 센서 값을 제외한 나머지 데이터를 제거합니다. + +field | value | 설명 +--|---|-- +colName | name | 컬럼명 +condition | EXIST | 필터 조건 +pattern | temperature | 온도 센서 키 값 + +4. **ChangeColumnDataTypeOperator** +string 타입의 온도 센서 컬럼을 double 타입을로 변환합니다. + +field | value | 설명 +--|---|-- +columnName | value | 변환할 컬럼의 이름 +dataType | DOUBLE | 변환할 데이터 타입 + +5. **AddConditionalColumnOperator** +온도 센서 값에 따라 스마트 전구 제어 메시지에 대한 규칙을 설정합니다. + +field | value | 설명 +--|---|-- +newColumnName | hueCommand | 스마트 전구 제어 메시지 컬럼의 이름 +rules | 아래 표 참고 | 스마트 전구 제어 규칙 설정 + +rules 설정은 아래와 같이, 3가지 규칙을 입력합니다. +rule | field | value | 설명 +--|--|---|-- +1 | condition | name = 'temperature' and value >= 30 | 첫번째 규칙의 조건 +1 | value | {"id":"2","state":{"on":true,"hue":65535}} | 첫번째 규칙을 만족하는 경우의 스마트 전구 제어 메시지 +2 | condition | name = 'temperature' and (value > 15 and value < 30) | 두번째 규칙의 조건 +2 | value | {"id":"2","state":{"on":true,"hue":21845}} | 두번째 규칙을 만족하는 경우의 스마트 전구 제어 메시지 +3 | condition | name = 'temperature' and value <= 15 | 세번째 규칙의 조건 +3 | value | {"id":"2","state":{"on":true,"hue":43690}} | 세번째 규칙을 만족하는 경우의 스마트 전구 제어 메시지 +![스마트 전구 제어 규칙](images/2.5.15_2_01.png) + +완성된 워크플로우는 다음과 같습니다. +![워크플로우 완성 화면](images/2.5.15_2_02.png) + +웹툴킷에 ksbuser@etri.re.kr 계정으로 로그인하면, 본 예제 워크플로우가 이미 만들어져 있는 것을 확인할 수 있습니다. +워크플로우 편집기의 불러오기 메뉴를 통해 본 예제를 실행할 수 있습니다. + +## 워크플로우 실행 및 모니터링하기 + +### 워크플로우 실행하기 +워크플로우 편집기 화면 상단의 실행 버튼을 클릭하여, 위에서 작성한 워크플로우를 실행합니다. +본 예제는 스트림 타입의 엔진이므로, Batch 체크박스를 해제하고 Run 버튼을 클릭합니다. +![워크플로우 실행](images/2.5.15_3_01.png) + +### 워크플로우 모니터링 하기 + +#### 워크플로우 상태 확인 +웹툴킷 [Monitoring] 화면에서 [Workflow] 탭을 선택하여, 위에서 실행한 워크플로우와 엔진의 동작 상태를 확인할 수 있습니다. +정상적으로 실행되어 Status 값이 Inprogress인 것을 확인할 수 있습니다. +![워크플로우 동작 상태 확인](images/2.5.15_3_02.png) + +#### 워크플로우 로그 보기 +[Workflow History] 탭을 선택하여, 현재 동작 중인 워크플로우의 로그 정보를 확인할 수 있습니다. +![워크플로우 히스토리](images/2.5.15_3_03.png) + +## 결과 확인하기 +위에서 작성한 워크플로우를 테스트하기 위해, Postman을 이용하여 온도 센서 데이터를 전송하고 워크플로우 로그 정보를 통해 스마트 전구 제어 메시지가 EdgeX로 전송되는지를 확인하도록 하겠습니다. + +1. Postman 프로그램을 이용하여, EdgeX로부터 발생하는 온도 센서 메시지를 전송합니다. +![결과 확인](images/2.5.15_4_01.png) + +2. 위에서 설정한 규칙에 따라, 스마트 전구 제어 메시지를 EdgeX로 전송하는지를 로그 정보를 통해 확인합니다. +![결과 확인](images/2.5.15_4_02.png) + +## 워크플로우 종료하기 +웹툴킷 [Monitoring] 화면의 [Workflow] 탭에서, 현재 Status가 Inprogress인 EdgexDemoSimpleHue 워크플로우의 정지() 버튼을 클릭하여 종료시킵니다. + +## 워크플로우 저장하기 +워크플로우 편집기에서 작성한 워크플로우를 "Save Workflow" 메뉴를 이용하여 저장합니다. diff --git a/manual1903/2.5.2.KMeansExample.md b/manual1903/2.5.2.KMeansExample.md new file mode 100755 index 0000000000000000000000000000000000000000..55dfa0ef1a81a1e399c737e3587991328e057745 --- /dev/null +++ b/manual1903/2.5.2.KMeansExample.md @@ -0,0 +1,127 @@ +--- +html: + toc: true + offline: true +export_on_save: + html: true +--- +# 배치방식으로 데이터 처리하기 (KMeansExample) +--- + +KMeans 클러스터링을 수행하는 배치데이터 처리 예제를 설명합니다. + +## 입력 데이터 준비하기 + +본 예제에서는 Host PC의 /home/csle/ksb-csle/examples/input 폴더에 존재하는 input_kmeans.csv 파일을 사용자 HDFS repository에 등록하여 사용합니다. KSB 웹툴킷 상단의 **Repository** 메뉴를 클릭하여 데이터 저장소 관리화면으로 이동합니다. 파일을 업로드할 폴더(dataset/input)에서 File Upload 버튼을 클릭하여 input_kmeans.csv 파일을 업로드 합니다. 이 때 입력파일을 설명하는 이름(Name)과 설명(Description)을 함께 입력할 수 있습니다. + +![파일 등록](./images/2.5.2_FileUpload.png) + +dataset/input 폴더에 파일이 업로드 된 것을 확인할 수 있습니다. 최상위 폴더는 콤보박스로 선택하여 이동할 수 있습니다. + +![파일 등록 완료](./images/2.5.2_Repository.png) + +## 워크플로우 생성하기 +워크플로우 편집화면을 이용하여 아래의 과정을 통해 워크플로우를 생성합니다. + +- 워크플로우 속성 + +속성 | 값 | 비고 +--|---|-- +name | KMeansExample | 워크플로우 이름 +description | KMeans 클러스터링을 수행하는 배치데이터 처리 예제 | 워크플로우를 설명하는 글 +isBatch | true | 배치 처리를 하는 워크플로우 이므로, true 로 지정 +verbose | false | 디버깅을 위해 로그정보를 보고자할 경우, true 로 지정 + +### 엔진 선택 +KSB 인공지능 프레임워크 저장소에 등록된 파일을 입력 받아 전처리를 수행한 후 로컬 파일에 저장하기 위해 **BatchToBatchStream** 엔진을 드래그앤 드롭합니다. + +- 엔진 속성 + +순번 | 엔진 Type | NickName | RunType | 설명 +--|---|---|---|-- +1 | BatchToBatchStream | ProcessingEngine | 즉시실행 | KMeans 클러스터링 수행 + + +##### Reader +KSB 인공지능 프레임워크 데이터 저장소에 등록된 파일을 읽기 위해 **FileReader** 를 드래그 앤 드롭한 후 아래표와 같은 속성을 지정합니다. + +field |value | 설명 +--|---|-- +filePath | dataset/input/input_kmeans.csv | 입력 파일 경로 +fileType | CSV | 입력 파일 타입 +delimiter | , | 구분자 +header | false | header 포함 유무 +filed | DATA1 / DOUBLE
DATA2 / DOUBLE
DATA3 / INTEGER
DATA4 / DOUBLE
DATA5 / DOUBLE | 파일에서 읽을 칼럼(key)과 타입(type) + +- filePath 입력방법 +File 버튼을 클릭하여 사용자 HDFS repository에 등록된 파일을 선택합니다. + +![파일 경로 지정](./images/2.5.2_fileSelection.png) + + +##### Writer +**FileWriter** 를 드래그 앤 드롭한 후 아래표와 같은 속성을 지정합니다. + +field |value | 설명 +--|---|-- +filePath | output/result_kmeans | 저장 파일 경로 +fileType | CSV | 저장 파일 타입 +delimiter | , | 구분자 +header | false | header 포함 유무 +saveMode | OVERWRITE | 파일 저장 방식 + +##### Controller +**SparkSessionOrStreamController** 를 선택합니다. +**SparkSessionOrStreamController** 는 Spark 환경에서 배치 처리나 스트림 처리에 범용적으로 사용하는 컨트롤러입니다. + +field |value | 설명 +--|---|-- +operationPeriod | 0 | 컨트롤러 실행 주기. 배치처리일 경우, 0. stream 처리의 경우, 실행 주기값 (초단위). + +##### Runner +**SimpleSparkRunner** 를 선택한 후 디폴트 속성값을 사용합니다. + +field |value | 설명 +--|---|-- +master | local [ * ] | Spark 모드. +executerMemory | 1g | Spark의 executor 메모리 +totalCores | 2 | Spark 전체 할당 가능 코어수 +cores | 2 | Spark 현재 할당 코어수 +numExecutors | 2 | Spark의 executor 갯수 +sparkVersion | 2.3.0 | Spark 버전 정보 +driverMemory | 1g | Spark 드라이버에 할당할 메모리 정보 + + +##### Operator +KMeans 클러스터링을 수행하기 위하여 **KMeansOperator** 를 선택한 후 아래표와 같은 속성을 지정합니다. + +field |value | 설명 +--|---|-- +k_value | 2 | 클러스터 개수 +maxIterations | 100 | 최대 반복 회수 +maxRuns | 1 | + +
+ +![워크플로우 완성 화면](./images/2.5.2_workflow.png) + +ksbuser@etri.re.kr 계정으로 접속하면 예제 워크플로우가 KMeansExample 이름으로 저장되어 있으며, 워크플로우를 불러올 수 있습니다. + + +##워크플로우 실행 및 모니터링하기 +### 워크플로우 실행하기 +위에서 작성한 워크플로우를 실행하기 위해서는 워크플로우 편집기 상단의 실행 버튼()을 클릭합니다. 본 예제는 배치형태로 실행되는 엔진을 사용하였으므로 **Batch** 체크 박스를 체크하고 워크플로우를 실행합니다. + +![워크플로우 실행화면](./images/2.5.2_workflowStart.png) + + +### 워크플로우 모니터링 하기 + +#### 워크플로우 상태 확인 +KSB 웹툴킷 상단의 **Monitoring** 메뉴를 클릭하여 진행내역/상태모니터링 화면으로 이동합니다. **Workflow** 탭에서 작성한 워크플로우 및 각 엔진의 상태를 확인할 수 있습니다. 또한 실행 중인 워크플로우를 종료()하거나, 다시 실행()할 수 있습니다. + +![워크플로우 동작 상태 확인](./images/2.5.2_monitoring.png) + + +## 결과 확인하기 +KSB 웹툴킷 데이터 저장소 관리 메뉴에서 해당 폴더에 결과 파일이 생성된 것을 확인 할 수 있습니다. diff --git a/manual1903/2.5.3.DeidentificationExample.md b/manual1903/2.5.3.DeidentificationExample.md new file mode 100644 index 0000000000000000000000000000000000000000..ade0e03bbf5069974c20f2f1372ecb37d2a622f8 --- /dev/null +++ b/manual1903/2.5.3.DeidentificationExample.md @@ -0,0 +1,256 @@ +--- +html: + toc: true + offline: true +export_on_save: + html: true +--- +# 비식별 처리하기 (DeidentificationExample) +--- + +2016년 6월 정부합동부처는 개인 정보 보호 및 활용성 증대를 위해 '개인정보비식별 조치 가이드라인'을 발간하여, 가명처리, 총계처리, 데이터삭제, 데이터범주화, 잡음추가로 분류되는 총 17가지의 비식별 처리 기능을 정의하고 이를 활용하여 개인정보 데이터를 비식별 처리할 것을 권고하고 있습니다. + +본 예제에서는 위의 가이드라인에 기반하여, 개인정보 및 개인민감정보가 담겨있는 데이터에 다양한 비식별 처리 기능을 적용하여 개인 정보를 보호하는 방법을 보여줍니다. + +## 입력 데이터 준비하기 +실행을 위해서 Host PC의 /home/csle/ksb-csle/examples/input 폴더에 존재하는 `adult.csv` 파일(성별, 나이 등의 개인정보가 담겨 있습니다)을 사용자 HDFS repository에 웹툴킷을 이용하여 dataset/input 폴더에 등록합니다. + +## 워크플로우 생성하기 +워크플로우 편집화면을 이용하여 아래의 과정을 통해 개인정보를 비식별처리하는 워크플로우를 생성합니다. + +- 워크플로우 속성 + +속성 | 값 | 비고 +--|---|-- +name | DeidentificationExample | 워크플로우 이름 +description | 원본 데이터에 총계처리, 가명처리, 부분식별자삭제, 암호화 비식별화 기능을 적용한 예제 | 워크플로우를 설명하는 글 +isBatch | true | 배치 처리를 하는 워크플로우 이므로, true 로 지정 +verbose | false | 디버깅을 위해 로그정보를 보고자할 경우, true 로 지정 + +### 엔진 선택 +비식별 처리는 기본적으로 파일 및 대용량의 데이터를 한꺼번에 읽어 들여 비식별 처리 및 적정성 검증을 수행한 후 그 결과를 파일 및 기타 저장공간에 저장하는 형식으로 이루어집니다. 모든 작업이 배치성으로 동작하기에, 배치성 작업을 수행할 수 있는 BatchToBatchStream 엔진을 드래그앤 드롭합니다. + +각 엔진에는 어떤 데이터를 읽어올 것인지 (reader), 읽은 데이터를 어떤 방법으로 처리할 건지 (operator), 처리된 데이터는 어디에 저장할 것인지 (writer), 전체적인 작업을 어떤 식으로 제어하며 (controller), 구동할 것인지 (runner) 등의 정보를 입력해야 합니다. + +- 엔진 속성 + +순번 | 엔진 Type | NickName | RunType | 설명 +--|---|---|---|-- +1 | BatchToBatchStream | DeIdentificationEngine | 즉시실행 | 비식별 처리 + +#### Reader + +KSB 프레임워크 데이터 저장소에 등록된 성별, 주소 등의 개인정보가 담겨있는 `adult.csv` 파일을 읽어들입니다. 파일을 읽어들이기에, FileReader를 선택하고 아래와 같이 속성을 지정해줍니다. + +field |value | 설명 +--|---|-- +filePath | dataset/input/adult.csv | 입력 파일 경로를 입력합니다. +fileType | CSV | 읽을 파일의 타입을 입력합니다. +delimiter | ; | 컬럼간 구분자를 지정합니다. +filed | 입력없음 | 컬럼의 정보를 입력합니다 (헤더를 포함하여 읽어들였기에 여기선 입력을 안합니다). +header | true | 파일의 header 포함 유무를 입력합니다. +saveMode | OVERWRITE | 사용하지 않음 + + +#### Writer +최종 비식별 처리된 결과를 어떻게 저장할 건지 지정합니다. 여기선 파일로 저장할 것이기에, FileWriter를 선택하고 아래와 같이 속성을 지정합니다. + +field |value | 설명 +--|---|-- +filePath | output/didentification.csv | 결과 파일의 저장경로를 입력합니다. +fileType | CSV | 저장파일의 타입을 입력합니다. +delimiter | , | 컬럼간 구분자를 지정합니다. +header | true | 저장파일의 header 포함 유무를 입력합니다. +saveMode | OVERWRITE | 파일 저장 방식을 선택합니다. + +#### Controller +Controller 로는 SparkSessionOrStreamController 를 선택합니다. +SparkSessionOrStreamController는 Spark 환경에서 배치 처리나 스트림 처리에 범용적으로 사용하는 컨트롤러입니다. +field |value | 설명 +--|---|-- +operationPeriod | 0 | 컨트롤러 실행 주기를 입력합니다. 배치처리이므로 0 을 입력합니다. stream 처리의 경우 실행 주기값을 입력합니다. + +#### Runner +SimpleSparkRunner를 선택합니다. +field |value | 설명 +--|---|-- +master | local [ * ] | Spark local 모드를 입력합니다. +numExecutors | 2 | Spark의 executor 갯수를 입력합니다. +executorCores | 2 | Spark의 현재 할당된 코어수를 입력합니다. +executerMemory | 1g | Spark의 executor 메모리 정보를 입력합니다. +driverMemory | 1g | Spark 드라이버에 할당할 메모리 정보를 입력합니다. +totalCores | 2 | Spark의전체 할당 가능한 코어수를 입력합니다. +sparkVersion | 2.3.0 | Spark 버전 정보를 입력합니다. + +#### Operator +`adult.csv` 파일은 sex, age, race, marital-status, education, native-country, workclass, occupation, salary-class, 이렇게 총 9개의 컬럼으로 이루어져 있습니다. + +본 예제에서는 위의 컬럼 중 age 컬럼에는 총계처리 기법(AggregationOperator)을, race 컬럼에는 휴리스틱 가명화 기법(HeuristicOperator)을, marital-status 컬럼에는 데이터 삭제 기법 중 식별자 부분 삭제 기법(PartialIdenReductionOperator)을, occupation 컬럼에는 가명처리 기법 중 암호화 기법(EncryptionOperator)을 적용하여 비식별 처리하는 방법을 보여줍니다. + +비식별 처리 관련 모든 Operator에는 필수적으로 1) 처리할 컬럼에 대한 속성정보와, 2) 비식별 처리 후 적정성을 검증할 방법에 대한 정보를 포함하게 됩니다. + +먼저, 데이터 컬럼에 대한 속성정보는 Operator의 fieldInfo를 클릭하여 설정합니다. fieldInfo는 아래와 같은 형식으로 정의되며, 여기서는 총계처리를 예제로 들어 설명합니다. +field |value | 설명 +--|---|-- +key | 1 | 총계처리 기능을 적용할 칼럼 ID를 입력합니다. +type | INTEGER | 컬럼의 타입을 명시합니다 (ex., STRING, DOUBLE, ...). +value | age | 컬럼의 이름을 입력합니다. +attrType | SENSITIVE | 컬럼의 속성을 정의합니다 (IDENTIFIER,QUASI-IDENTIFIER, ...). +autoConfigured | true | 컬럼의 hierarchy를 자동으로 생성할건지, 파일로 읽어올것인지 결정합니다. +nLevels | 5 | 자동으로 컬럼 hierarchy 생성시 최대 level을 몇으로 할건지 정의합니다. +filePath | 입력없음 | 컬럼 내 데이터 hierarchy를 파일로 읽어올 경우, 그 파일의 위치를 명시해줍니다. + +컬럼의 hierarchy는 데이터를 어떤 형식으로 일반화할건지 나타내는 것으로, 일반화 기법 적용시 필수적으로 정의되어야 합니다. 가령, '55132'라는 zip code 데이터가 주어진 경우 한번 일반화를 수행하면 '5514*'로 변경될 수 있습니다. 일반화 후에도 적정성 평가를 통과 못하면 추가적으로 일반화를 더 수행하여 '551**''와 같은 데이터로 변경을 하게 됩니다. 일반화 단계에 따른 데이터의 변화를 일반화 단계 정보라 하며, 이 정보는 사용자가 직접 파일 형식으로 저장하여 그 파일로부터 읽어들이게 됩니다. 또는 autoConfigured true 설정을 통해 자동적으로 일반화 단계 정보를 구성할 수도 있습니다 (자동 구성시, 데이터의 syntatic 정보는 고려되지 않은 채, 숫자 값의 크기 또는 문자열의 길이를 기반으로 단순히 일반화 단계가 정의됩니다) + +데이터 처리자는 비식별 처리 후 개인정보 및 민감정보 제거여부에 대해 적정성 검증을 수행해야 합니다 (6월 발간된 비식별 조치가이드라인에서는 k-익명성 기반 적정성 검증만이라도 필수적으로 수행하길 권고하고 있습니다). 적정성 검증에 대한 정보는 다음과 같은 형식으로 정의됩니다. Operator 내 check라는 버튼을 클릭한 후 아래와 같이 설정합니다. +field |value | 설명 +--|---|-- +measureLoss | AECS | 원본 데이터 대비 비식별 처리된 데이터의 데이터 손실량을 측정합니다. +measureRisk | UNIQUENESS | 비식별 처리된 데이터의 재식별 위험성을 측정합니다. +checkAnonymity | KANONYMITYCHECK | 적정성 검증 수행 방법을 정의합니다. + +비식별 처리 Operator들은 위의 컬럼 속성 정보와 적정성 검증 방법을 필수적으로 설정해야 합니다. + + 1. **AggregationOperator** +age 컬럼은 개인의 속성을 나타내는 민감정보에 해당하기에, 다음의 설정을 통해 총계 처리 기능을 적용합니다. + +field |value | 설명 +--|---|-- +selectedColumnId | 1 | 총계처리 기능을 적용할 칼럼 ID를 입력합니다. +method | AVG | 어떤방법으로 총계처리할지를 입력합니다 (ex., MIN, MAX, AVG...). +fieldInfo | 아래의 표 참고 | 컬럼의 속성을 정의합니다. +check | 위의 공통 설정 | 적정성 평가를 어떻게 수행할지 정의합니다. + +fieldInfo 설정은 다음과 같이 합니다. + +field |value | 설명 +--|---|-- +key | 1 | 총계처리 기능을 적용할 칼럼 ID를 입력합니다. +type | INTEGER | 컬럼의 타입을 명시합니다 (ex., STRING, DOUBLE, ...). +value | age | 컬럼의 이름을 입력합니다. +attrType | SENSITIVE | 컬럼의 속성을 정의합니다 (IDENTIFIER,QUASI-IDENTIFIER, ...). +autoConfigured | true | 컬럼의 hierarchy를 자동으로 생성할건지, 파일로 읽어올것인지 결정합니다. +nLevels | 5 | 자동으로 컬럼 hierarchy 생성시 최대 level을 몇으로 할건지 정의합니다. +filePath | 입력없음 | 컬럼 내 데이터 hierarchy를 파일로 읽어올 경우, 그 파일의 위치를 명시해줍니다. + +위와 같이 설정하면 age 컬럼은 평균값으로 대체됩니다. + + 2. **HeuristicOperator** +race 컬럼을 개인 민감정보로 가정하고, 다음의 설정을 통해 휴리스틱 가명처리 기능을 적용할 수 있습니다. 가명처리는 데이터 처리자가 manually 입력하거나, 랜덤문자열로 대체할 수 있습니다. + +field |value | 설명 +--|---|-- +selectedColumnId | 2 | 가명처리 기능을 적용할 칼럼 ID를 입력합니다. +method | HEUR_RANDOM | 가명처리 방법을 선택합니다 (HEUR_RANDOM, HEUR_MANUAL, HEUR_FILE). +manualInfo | - | 특정 데이터를 원하는 값으로 변경합니다. +randInfo | 아래의 표 참고 | 데이터를 랜덤 문자열로 변경합니다. +fieldInfo | 아래의 표 참고 | 컬럼의 속성을 정의합니다. +check | 위의 공통 설정 | 적정성 평가를 어떻게 수행할지 정의합니다. + +본 예제에서는 데이터를 랜덤 문자열로 변경합니다. 랜덤 문자열을 생성을 위해, randInfo 클릭 후 다음과 같이 설정합니다. +field |value | 설명 +--|---|-- +randMethod | MIXED | 숫자, 문자를 섞어서 랜덤문자를 생성합니다. +length | 5 | 랜덤 문자열의 길이는 5로 정합니다. + +fieldInfo 설정은 다음과 같이 합니다. + +field |value | 설명 +--|---|-- +key | 2 | 기능을 적용할 칼럼 ID를 입력합니다. +type | STRING | 컬럼의 타입을 명시합니다. +value | race | 컬럼의 이름을 입력합니다. +attrType | SENSITIVE | 컬럼의 속성을 정의합니다. +autoConfigured | true | 컬럼의 hierarchy를 자동으로 생성할건지, 파일로 읽어올것인지 결정합니다. +nLevels | 5 | 자동으로 컬럼 hierarchy 생성시 최대 level을 몇으로 할건지 정의합니다. +filePath | 입력없음 | 컬럼 내 데이터 hierarchy를 파일로 읽어올 경우, 그 파일의 위치를 명시해줍니다. + + +위와 같이 설정하면 race 컬럼의 각 데이터는 숫자, 문자 5글자로 이루어진 랜덤 문자로 대체되게 됩니다. + + 3. **PartialIdenReductionOperator** +marital-status 컬럼에 식별자 부분 삭제 기능을 적용합니다. 가이드라인에 제시된 예시 ('서울특별시 송파구 가락본동 78번지 → 서울시 송파구'로 변경)에 기반하여 이 기능을 외국에서 사용하는 일반화 기법으로 간주합니다. + +field |value | 설명 +--|---|-- +method | DELETE | 삭제할건지 대체할 건지를 나타내는 필드이지만, 현재는 사용되지 않습니다. +columnHandlePolicy | ONEBYONE | 식별자 컬럼 각각에 적용합니다. +generalizedColumnInfo | 아래의 표 참고 | 일반화를 어떻게 수행할건지 정의합니다. +fieldInfo | 아래의 표 참고 | 컬럼의 속성을 정의합니다. +check | 위의 공통 설정 | 적정성 평가를 어떻게 수행할지 정의합니다. + +일반화 기법 적용시 일반화 단계에 대한 정보가 제공되어야 합니다. generalizedColumnInfo 를 다음과 같이 입력합니다. + +field |value | 설명 +--|---|-- +selectedColumnId | 3 | 일반화 기능을 적용할 칼럼 ID를 입력합니다. +numLevels | 4 | 컬럼 hierarchy 생성시 최대 level을 몇으로 할건지 정의합니다. +curLevel | 2 | 수행하고자 하는 일반화 단계를 입력합니다. + +fieldInfo 설정은 다음과 같이 합니다. + +field |value | 설명 +--|---|-- +key | 3 | 기능을 적용할 칼럼 ID를 입력합니다. +type | STRING | 컬럼의 타입을 명시합니다. +value | marital-status | 컬럼의 이름을 입력합니다. +attrType | IDENTIFIER | 컬럼의 속성을 정의합니다. +autoConfigured | true | 컬럼의 hierarchy를 자동으로 생성할건지, 파일로 읽어올것인지 결정합니다. +nLevels | 5 | 자동으로 컬럼 hierarchy 생성시 최대 level을 몇으로 할건지 정의합니다. +filePath | 입력없음 | 컬럼 내 데이터 hierarchy를 파일로 읽어올 경우, 그 파일의 위치를 명시해줍니다. + +위와 같이 설정시, marital-status의 데이터를 총 4단계로 구분하여 2단계로 일반화 기법을 적용하게 됩니다. 가령 marital-status내의 한 데이터가 8자리 문자열로 이루어진 'abcdefgh'라면, 1단계 일반화는 'abcdef*', 2단계 일반화는 'abcd*', 3단계 일반화는 'ab*'가 됩니다. + + 4. **EncryptionOperator** +occupation 컬럼에 암호화 기법을 적용합니다. + +field |value | 설명 +--|---|-- +selectedColumnId | 7 | 암호화 기능을 적용할 칼럼 ID를 입력합니다. +key | SHA1 | key 생성시 사용할 알고리즘을 선택합니다. +method | AES | 암호화 방법을 선택합니다. +fieldInfo | 아래의 표 참고 | 컬럼의 속성을 정의합니다. +check | 위의 공통 설정 | 적정성 평가를 어떻게 수행할지 정의합니다. + +fieldInfo 설정은 다음과 같이 합니다. + +field |value | 설명 +--|---|-- +key | 7 | 기능을 적용할 칼럼 ID를 입력합니다. +type | STRING | 컬럼의 타입을 명시합니다. +value | occupation | 컬럼의 이름을 입력합니다. +attrType | IDENTIFIER | 컬럼의 속성을 정의합니다. +autoConfigured | true | 컬럼의 hierarchy를 자동으로 생성할건지, 파일로 읽어올것인지 결정합니다. +nLevels | 5 | 자동으로 컬럼 hierarchy 생성시 최대 level을 몇으로 할건지 정의합니다. +filePath | 입력없음 | 컬럼 내 데이터 hierarchy를 파일로 읽어올 경우, 그 파일의 위치를 명시해줍니다. + +
+ +![워크플로우 완성 화면](./images/2.5.3_workflow.png) + +ksbuser@etri.re.kr 계정으로 접속하면 DeidentificationExample의 이름의 예제 워크플로우를 불러올 수 있습니다. + +##워크플로우 실행 및 모니터링하기 +### 워크플로우 실행하기 +위에서 작성한 워크플로우를 실행하기 위해서는 워크플로우 편집기 상단의 실행 버튼을 누릅니다. 이 때, BatchToBatchStream 엔진은 배치형태로 실행되는 엔진이므로 Batch 체크 박스를 체크하고 워크플로우를 제출합니다. + + +### 워크플로우 모니터링 하기 +KSB 웹툴킷 상단 "Monitoring" 메뉴의 "Workflow" 탭에서 작성한 워크플로우가 실행 중 (Inprogress)인 것을 확인할 수 있습니다. 이 화면에서 실행 중인 워크플로우를 종료()하거나, 다시 실행()할 수 있습니다. 워크플로우 이름을 클릭하면 워크플로우의 각 엔진들의 동작 상태 (status) 를 확인할 수 있습니다. + + +![워크플로우 동작 상태 확인](./images/2.5.3_monitoring.png) + + +"WorkFlow History" 탭을 선택하면, 프레임워크에서 워크플로우가 동작하며 발생시킨 로그 정보를 확인 할 수 있습니다. + +![워크플로우 히스토리](./images/2.5.3_monitoring_history.png) + +### 결과 파일 확인하기 +"WorkFlow History" 탭에서 "TEXT 결과 파일 보기" 버튼을 클릭하여 didentification.csv 파일이 생성된 것을 확인할 수 있습니다. + +![결과 확인 화면](./images/2.5.3_result.png) + +KSB 웹툴킷 데이터 저장소 관리 메뉴에서도 FileWriter 에서 지정한 위치에 didentification.csv 파일이 생성된 것을 확인할 수 있습니다. + +![결과 확인 화면](./images/2.5.3_result2.png) diff --git a/manual1903/2.5.4.BatchMLTrainInSingleEngine.md b/manual1903/2.5.4.BatchMLTrainInSingleEngine.md new file mode 100755 index 0000000000000000000000000000000000000000..2b17c4f5179cbdeb6f0d4995a413bf0f6eb6078f --- /dev/null +++ b/manual1903/2.5.4.BatchMLTrainInSingleEngine.md @@ -0,0 +1,139 @@ +--- +html: + toc: true + offline: true +export_on_save: + html: true +--- +# ML 모델 학습하기 (BatchMLTrainInSingleEngine) +--- + +이 예제에서는 기계학습모델을 학습하는 방법을 설명합니다. + +KSB 프레임워크는 다수의 기계학습모델 학습기능을 제공합니다. 제공하는 모델은 Classification 3종, Regression 3종으로 각각 아래와 같습니다. + +Type | 기계학습모델 +--|-- +Classification | +  | Naive Bayes | +  | Decision Tree | +  | Random Forests | +Regression | +  | Decision Tree +  | Linear Regression +  | Random Forests + +이 예제에서는 Decision Tree 모델을 학습하는 과정을 보여줍니다. + +## 입력 데이터 준비하기 + +입력데이터는 Apache Spark이 제공하는 DataFrame 을 저장하고 있는 parquet 파일이어야 합니다. 이 때 DataFrame은 "features" 칼럼과 "label" 칼럼을 반드시 포함하고 있어야 합니다. "features" 칼럼은 VectorAssembler 형태의 자료여야 합니다 (참고: https://spark.apache.org/docs/latest/ml-features.html#vectorassembler). "label" 칼럼은 Classification의 경우에는 수치 혹은 문자열이어야 하며 (예: "cat", "dog"), Regression의 경우에는 수치값이어야 합니다. + +본 예제에서는 Host PC의 "/home/csle/ksb-csle/pyML/autosparkml/datasets/iris_dataset" 폴더를 사용자 HDFS repository 의 "dataset/iris_dataset" 로 업로드하여 사용합니다. 이 자료는 DataFrame 을 저장하고 있는 parquet 형태의 자료입니다. + +참고: 입력데이터가 CSV 형태일 때 parquet로 변환하는 예제는 이 매뉴얼을 참고하면 됩니다: CSV 파일 Parquet 변환 + +## 워크플로우 생성하기 +워크플로우 편집화면을 이용하여, 아래 과정을 거쳐 워크플로우를 생성합니다. + +### 엔진 선택 +기계학습모델 학습기능을 사용하기 위해 External 엔진을 드래그앤 드롭합니다. "Workflow Property"는 아래와 같이 지정합니다. + +field |value | 설명 +--|---|-- +name | BatchMLTrainInSingleEngine | 워크플로우 이름 +description | DecisionTree 분류 예제 | 워크플로우 설명 +isBatch | true | Batch 실행여부 + +#### Reader +파일형태의 입력자료를 읽기위해 FileReader를 드래그앤 드롭하고, 아래표와 같이 속성을 지정합니다. + +field |value | 설명 +--|---|-- +filePath | dataset/iris_dataset | 파일경로 +fileType | CSV | 파일형태 +delimiter | , | 구분자 +field | | 상세설정 +header | false | 헤더포함여부 + +filePath는 직접 입력할 수도 있으며, 아래 화면처럼 GUI를 이용해 선택할 수도 있습니다 (filePath 속성에 "File" 버튼 클릭). 기타 속성은 기본값으로 두면 됩니다. 참고: 상기하였듯이, 입력파일 형태는 parquet 만 지원하기 때문에 기타 속성을 변경하여도 적용되지 않습니다. + +![파일 읽기](images/2.5.4_read.png) + +#### Writer +학습결과물을 파일형태로 저장하기 위해 FileWriter를 드래그앤 드롭합니다. + +field |value | 설명 +--|---|-- +filePath | autosparkml | 저장경로 +fileType | CSV | 파일형태 +delimiter | , | 구분자 +field | | 상세설정 +header | false | 헤더포함여부 + +Reader의 경우와 마찬가지로 filePath는 직접 입력할 수도 있으며, GUI를 이용해 선택할 수도 있습니다. 이 외의 속성은 기본값으로 설정합니다. + +#### Controller +Controller로는 PySparkMLTrainer를 드래그앤 드롭합니다. + +#### Runner +PySparkRunner를 드래그앤 드롭합니다. + +field |value | 설명 +--|---|-- +pyEntry | file:////home/csle/ksb-csle/pyML/autosparkml/bridge/call_trainer.py | 실행 Python 스크립트 +sparkArgs | | Spark 상세설정 +inJason | false | Jason 형태 파라미터 전달여부 + +sparkArgs 버튼을 누르면 아래와 같이 Apache Spark 실행환경을 설정할 수 있는 창이 뜹니다. 이 예제에서는 기본값을 사용합니다. + +![Spark 세부 설정](images/2.5.4_spark_args.png) + +#### Operator +Decision Tree 모델을 학습하기 위해 DecisionTreeClassifier를 드래그앤 드롭합니다. 속성값은 따로 설정하지 않아도 KSB 프레임워크가 자동으로 최적의 값을 찾아 최적모델을 학습합니다. 이는 위 테이블에서 나열한 Classification 3종 및 Regression 3종 모델의 경우에도 마찬가지입니다. + +field |value | 설명 +--|---|-- +maxDepth | 0 보다 큰 값 | Tree node의 최대 깊이 +maxBins | 0 보다 큰 값 | Tree 최대 Bin 개수 + +maxDepth 값이 클수록 좋은 성능의 모델이 학습될 가능성은 높아지지만 학습속도는 느려집니다. maxBins은 입력자료값을 이산화하는 최대 개수를 나타냅니다. 입력샘플 수보다는 작아야 합니다. maxBins 값이 클수록 모델성능이 높아질 가능성이 있지만, 학습속도는 느려집니다. + +### 워크플로우 완성 화면 + +아래 그림은 위 과정을 거쳐 완성된 워크플로우 화면입니다. ksbuser@etri.re.kr 계정으로 접속하면 동일한 이름의 워크플로우가 이미 만들어져있으며 (BatchMLTrainInSingleEngine), 이 워크플로우를 불러와 실행해 볼 수도 있습니다. + + 참고: 이미 만들어진 워크플로우를 사용할 때에도, iris_dataset 은 HDFS 에 따로 업로드해야 합니다. + +![워크플로우 완성 화면](images/2.5.4_workflow.png) + +## 워크플로우 실행 및 모니터링하기 + +### 워크플로우 실행하기 +위에서 작성한 워크플로우를 실행하기 위해서는 워크플로우 편집기 상단의 실행버튼 ()을 누릅니다. 이 예제의 엔진은 배치형태로 실행되므로 "Batch" 체크박스를 체크하고 워크플로우를 제출합니다. + +![Batch 체크](images/2.5.4_run_workflow.png) + +### 워크플로우 모니터링 하기 + +#### 워크플로우 상태 확인 +KSB 웹툴킷 상단 "Monitoring" 메뉴의 "Workflow" 탭에서 작성한 워크플로우가 실행 중 (Inprogress)인 것을 확인할 수 있습니다. 이 화면에서 실행 중인 워크플로우를 종료()할 수 있으며, 종료된 워크를로우를 다시 실행()할 수도 있습니다. + +![워크플로우 동작 상태 확인](images/2.5.4_monitor.png) + +#### 워크플로우 로그 보기 +위 화면에서 "WorkFlow History" 탭을 선택하면, KSB 프레임워크가 수행한 워크플로우들의 목록 및 각각의 로그 (목록 최우측의 i 버튼 클릭)를 확인할 수 있습니다. + +![워크플로우 히스토리](images/2.5.4_history.png) + +위 화면에서 "Text 결과 파일 보기" 버튼을 누르면 학습성능 파일을 아래처럼 열어볼 수 있습니다. Classification 경우에는 $F_1$ 스코어가 기록됩니다. Regression의 경우에는 MAE (Mean Absolute Error), MSE (Mean Squared Error) 및 MAPE (Mean Absolute Percentage Error)가 기록됩니다. + + +![워크플로우 히스토리](images/2.5.4_metric.png) + +## 결과 확인하기 + +### 최적학습모델 확인하기 +워크플로우 실행의 결과물인 최적학습모델은 FileWriter 속성에서 설정한 저장경로에 저장되어 있으며, KSB 웹툴킷 상단의 "Repository" 메뉴에서 확인할 수 있습니다. 먼저 "applications" 폴더 안의 워크플로우 ID 폴더로 들어갑니다 (워크플로우 ID는 Monitoring 메뉴에서 확인 가능합니다). 해당 저장경로 ("autosparkml") 안에 모델을 포함하는 폴더 및 파일이 생성되어 있으면 워크플로우가 성공적으로 수행된 것입니다 (아래 그림 참조). 동일한 폴더 아래에 있는 "acc.csv" 파일은 위에서 설명한 "Text 결과 파일 보기" 버튼을 눌러 보이는 결과를 포함하는 파일입니다. + +![결과확인](images/2.5.4_output.png) diff --git a/manual1903/2.5.5.BatchAutoMLTrainInSingleEngine.md b/manual1903/2.5.5.BatchAutoMLTrainInSingleEngine.md new file mode 100755 index 0000000000000000000000000000000000000000..ead0279baf8c13031110b62785a2940036dceefb --- /dev/null +++ b/manual1903/2.5.5.BatchAutoMLTrainInSingleEngine.md @@ -0,0 +1,123 @@ +--- +html: + toc: true + offline: true +export_on_save: + html: true +--- +# AutoML 학습하기 (BatchAutoMLTrainInSingleEngine) +--- + +이 예제에서는 자동기계학습 (**AutoML**: Automated Machine Learning)을 이용하여 최적모델을 학습하는 방법을 설명합니다. + +자동기계학습은 기계학습 전문가의 도움없이 주어진 입력자료에 대해 최적의 기계학습모델을 자동으로 찾아내는 기술입니다. KSB 프레임워크는 독자적으로 개발된 Auto-SparkML (Automated Machine Learning for Apache Spark)을 통해 Big-Data 분석용 AutoML 기능을 제공합니다. + +## 입력 데이터 준비하기 + +입력데이터는 Apache Spark이 제공하는 DataFrame 을 저장하고 있는 parquet 파일이어야 합니다. 이 때 DataFrame은 "features" 칼럼과 "label" 칼럼을 반드시 포함하고 있어야 합니다. "features" 칼럼은 VectorAssembler 형태의 자료여야 합니다 (참고: https://spark.apache.org/docs/latest/ml-features.html#vectorassembler). "label" 칼럼은 Classification의 경우에는 수치 혹은 문자열이어야 하며 (예: "cat", "dog"), Regression의 경우에는 수치값이어야 합니다. + +본 예제에서는 Host PC의 "/home/csle/ksb-csle/pyML/autosparkml/datasets/iris_dataset" 폴더를 사용자 HDFS repository 의 "dataset/iris_dataset" 로 업로드하여 사용합니다. 이 자료는 DataFrame 을 저장하고 있는 parquet 형태의 자료입니다. + +참고: 입력데이터가 CSV 형태일 때 parquet로 변환하는 예제는 이 매뉴얼을 참고하면 됩니다: CSV 파일 Parquet 변환 + +## 워크플로우 생성하기 +워크플로우 편집화면을 이용하여 아래 과정을 거쳐 워크플로우를 생성합니다. + +### 엔진 선택 +AutoML 기능을 사용하기 위해 External 엔진을 드래그앤 드롭합니다. "Workflow Property"는 아래와 같이 지정합니다. + +field |value | 설명 +--|---|-- +name | BatchAutoMLTrainInSingleEngine | 워크플로우 이름 +description | AutoML 학습 예제 | 워크플로우 설명 +isBatch | true | Batch 실행여부 + +#### Reader +파일형태의 입력자료를 읽기위해 FileReader를 드래그앤 드롭하고, 아래표와 같이 속성을 지정합니다. + +field |value | 설명 +--|---|-- +filePath | dataset/iris_dataset | 파일경로 +fileType | CSV | 파일형태 +delimiter | , | 구분자 +field | | 상세설정 +header | false | 헤더포함여부 + +filePath는 직접 입력할 수도 있으며, 아래 화면처럼 GUI를 이용해 선택할 수도 있습니다 (filePath 속성에 "File" 버튼 클릭). 기타 속성은 기본값으로 두면 됩니다. 참고: 상기하였듯이, 입력파일 형태는 parquet 만 지원하기 때문에 기타 속성을 변경하여도 적용되지 않습니다. + +![파일 읽기](images/2.5.5_read.png) + +#### Writer +학습결과물을 파일형태로 저장하기 위해 FileWriter를 드래그앤 드롭합니다. + +field |value | 설명 +--|---|-- +filePath | autosparkml | 저장경로 +fileType | CSV | 파일형태 +delimiter | , | 구분자 +field | | 상세설정 +header | false | 헤더포함여부 + +Reader의 경우와 마찬가지로 filePath는 직접 입력할 수도 있으며, GUI를 이용해 선택할 수도 있습니다. 이 외의 속성은 기본값으로 설정합니다. + +#### Controller +Controller는 PySparkMLTrainer를 사용합니다. + +#### Runner +PySparkRunner를 드래그앤 드롭합니다. + +field |value | 설명 +--|---|-- +pyEntry | file:////home/csle/ksb-csle/pyML/autosparkml/bridge/call_trainer.py | 실행 Python 스크립트 +sparkArgs | | Spark 상세설정 +inJason | false | Jason 형태 파라미터 전달여부 + +sparkArgs 버튼을 누르면 아래와 같이 Apache Spark 실행환경을 설정할 수 있는 창이 뜹니다. 이 예제에서는 기본값을 사용합니다. + +![Spark 세부 설정](images/2.5.5_spark_args.png) + +#### Operator +AutoML 기능을 사용하기 위해 AutoSparkMLOperator를 드래그앤 드롭합니다. AutoML은 모든 과정이 자동으로 수행되지만 기계학습 유형은 선택해야 합니다 (예: Classification 혹은 Regression). + +field |value | 설명 +--|---|-- +type | Classification | 기계학습 유형 + +### 워크플로우 완성 화면 + +아래 그림은 위 과정을 거쳐 완성된 워크플로우 화면입니다. ksbuser@etri.re.kr 계정으로 접속하면 동일한 이름의 워크플로우가 이미 만들어져있으며 (BatchAutoMLTrainInSingleEngine), 이 워크플로우를 불러와 실행해 볼 수도 있습니다. + +참고: 이미 만들어진 워크플로우를 사용할 때에도, iris_dataset 은 HDFS 에 따로 업로드하여야 합니다. + +![워크플로우 완성 화면](images/2.5.5_workflow.png) + +## 워크플로우 실행 및 모니터링하기 + +### 워크플로우 실행하기 +위에서 작성한 워크플로우를 실행하기 위해서는 워크플로우 편집기 상단의 실행버튼 ()을 누릅니다. 이 예제의 엔진은 배치형태로 실행되므로 "Batch" 체크박스를 체크하고 워크플로우를 제출합니다. + +![Batch 체크](images/2.5.5_run_workflow.png) + +### 워크플로우 모니터링 하기 + +#### 워크플로우 상태 확인 +KSB 웹툴킷 상단 "Monitoring" 메뉴의 "Workflow" 탭에서 작성한 워크플로우가 실행 중 (Inprogress)인 것을 확인할 수 있습니다. 이 화면에서 실행 중인 워크플로우를 종료()할 수 있으며, 종료된 워크를로우를 다시 실행()할 수도 있습니다. + +![워크플로우 동작 상태 확인](images/2.5.5_monitor.png) + +#### 워크플로우 로그 보기 +위 화면에서 "WorkFlow History" 탭을 선택하면, KSB 프레임워크가 수행한 워크플로우들의 목록 및 각각의 로그 (목록 최우측의 i 버튼 클릭)를 확인할 수 있습니다. + +![워크플로우 히스토리](images/2.5.5_history.png) + +위 화면에서 "Text 결과 파일 보기" 버튼을 누르면 학습성능 파일을 아래처럼 열어볼 수 있습니다. Classification 경우에는 $F_1$ 스코어가 기록됩니다. Regression의 경우에는 MAE (Mean Absolute Error), MSE (Mean Squared Error) 및 MAPE (Mean Absolute Percentage Error)가 기록됩니다. + + +![워크플로우 히스토리](images/2.5.5_metric.png) + +## 결과 확인하기 + +### 최적학습모델 확인하기 +워크플로우 실행의 결과물인 최적학습모델은 FileWriter 속성에서 설정한 저장경로에 저장되어 있으며, KSB 웹툴킷 상단의 "Repository" 메뉴에서 확인할 수 있습니다. 먼저 "applications" 폴더 안의 워크플로우 ID 폴더로 들어갑니다 (워크플로우 ID는 Monitoring 메뉴에서 확인 가능합니다). 해당 저장경로 ("autosparkml") 안에 모델을 포함하는 폴더 및 파일이 생성되어 있으면 워크플로우가 성공적으로 수행된 것입니다 (아래 그림 참조). 동일한 폴더 아래에 있는 "acc.csv" 파일은 위에서 설명한 "Text 결과 파일 보기" 버튼을 눌러 보이는 결과를 포함하는 파일입니다. + +![결과확인](images/2.5.5_output.png) diff --git a/manual1903/2.5.6.BatchMLPredictInSingleEngine.md b/manual1903/2.5.6.BatchMLPredictInSingleEngine.md new file mode 100755 index 0000000000000000000000000000000000000000..acceca60b09e145470989e27ac2c14b2b0877680 --- /dev/null +++ b/manual1903/2.5.6.BatchMLPredictInSingleEngine.md @@ -0,0 +1,118 @@ +--- +html: + toc: true + offline: true +export_on_save: + html: true +--- +# 배치방식으로 ML 모델 예측결과 얻기 (BatchMLPredictInSingleEngine) +--- + +KSB 프레임워크는 기존에 학습된 모델을 이용하여, 예측하는 기능을 제공합니다. 이 예제에서는 자료를 Batch 형태로 입력받아 예측하는 과정을 설명합니다. + +## 입력 데이터 준비하기 +입력데이터는 Apache Spark이 제공하는 DataFrame 을 저장하고 있는 parquet 파일이어야 합니다. 이 때 DataFrame은 "features" 칼럼과 "label" 칼럼을 반드시 포함하고 있어야 합니다. "features" 칼럼은 VectorAssembler 형태의 자료여야 합니다 (참고: https://spark.apache.org/docs/latest/ml-features.html#vectorassembler). "label" 칼럼은 Classification의 경우에는 수치 혹은 문자열이어야 하며 (예: "cat", "dog"), Regression의 경우에는 수치값이어야 합니다. + +본 예제에서는 Host PC의 "/home/csle/ksb-csle/pyML/autosparkml/datasets/iris_dataset" 폴더를 사용자 HDFS repository 의 "dataset/iris_dataset" 로 업로드하여 사용합니다. + +## 워크플로우 생성하기 +워크플로우 편집화면을 이용하여, 아래 과정을 거쳐 워크플로우를 생성합니다. + +### 엔진 선택 +기계학습모델 학습기능을 사용하기 위해 BatchToBatchStream 엔진을 드래그앤 드롭합니다. "Workflow Property"는 아래와 같이 지정합니다. + +field |value | 설명 +--|---|-- +name | BatchMLPredictInSingleEngine | 워크플로우 이름 +description | AutoML로 학습된 모델로부터 예측하는 예제 | 워크플로우 설명 +isBatch | true | Batch 실행여부 + +#### Reader +파일을 읽기위해 FileReader를 드래그앤 드롭하고, 아래표와 같이 속성을 지정합니다. + +field |value | 설명 +--|---|-- +filePath | dataset/iris_dataset | 파일경로 +fileType | PARQUET | 파일형태 +delimiter | , | 구분자 +field | | 상세설정 +header | false | 헤더포함여부 + +filePath는 직접 입력할 수도 있으며, 아래 화면처럼 GUI를 이용해 선택할 수도 있습니다 (filePath 속성에 "File" 버튼 클릭). 기타 속성은 기본값으로 두면 됩니다. 참고: 상기하였듯이, 입력파일 형태는 parquet 만 지원하기 때문에 기타 속성을 변경하여도 적용되지 않습니다. + +![파일 읽기](images/2.5.6_read.png) + +#### Writer +예측결과물을 파일형태로 저장하기 위해 FileWriter를 드래그앤 드롭합니다. + +field |value | 설명 +--|---|-- +filePath | autosparkml | 저장경로 +fileType | CSV | 파일형태 +delimiter | , | 구분자 +field | | 상세설정 +header | false | 헤더포함여부 + +Reader의 경우와 마찬가지로 filePath는 직접 입력할 수도 있으며, GUI를 이용해 선택할 수도 있습니다. + +#### Controller +Controller 로는 SparkSessionOrStreamController를 드래그앤 드롭합니다. + +#### Runner +SimpleSparkRunner 를 드래그앤 드롭합니다. + +field |value | 설명 +--|---|-- +inJason | false | Jason 형태 파라미터 전달여부 +sparkArgs | | Spark 상세설정 + +sparkArgs 버튼을 누르면 아래와 같이 Apache Spark 실행환경을 세부설정할 수 있는 창이 뜹니다. 이 예제에서는 기본값을 사용합니다. + +![Spark 세부 설정](images/2.5.6_spark_args.png) + +#### Operator +SparkMLPredictOperator 를 드래그앤 드롭합니다. 속성값을 아래와 같이 설정합니다. + +field |value | 설명 +--|---|-- +modelPath | 모델 Path | 학습된 모델 경로 +clsNameForModel | org.apache.spark.ml.PipelineModel | 모델 Class 명 + +modelPath는 모델경로입니다. 따라서 반드시 기존에 학습된 모델이 존재해야 합니다. 이 예쩨에서는 BatchMLTrainInSingleEngine 혹은 BatchAutoMLTrainInSingleEngine 예제에서 생성된 모델의 경로를 지정합니다 (예: applications/ksbuser_etri_re_kr-ffc6cf5e-b929-4acc-9527-a6d78d2fd026_1/model/autosparkml/0000). 수동으로 입력할 수도 있고, "File" 버튼을 눌러 GUI를 이용해 선택할 수도 있습니다. + +### 워크플로우 완성 화면 + +아래 그림은 위 과정을 거쳐 완성된 워크플로우 화면입니다. ksbuser@etri.re.kr 계정으로 접속하면 동일한 이름의 워크플로우가 이미 만들어져있으며 (BatchMLPredictInSingleEngine), 이 워크플로우를 불러올 수도 있습니다. 참고: 이미 만들어진 워크플로우를 사용할 때에도, iris_dataset 은 HDFS 에 따로 업로드하여야 합니다. 또한 예측에 사용할 모델이 미리 학습되어 있어야 합니다. + +![워크플로우 완성 화면](images/2.5.6_workflow.png) + +## 워크플로우 실행 및 모니터링하기 + +### 워크플로우 실행하기 +위에서 작성한 워크플로우를 실행하기 위해서는 워크플로우 편집기 상단의 실행버튼 ()을 누릅니다. 이 예제의 엔진은 배치형태로 실행되므로 "Batch" 체크박스를 체크하고 워크플로우를 제출해야합니다. + +![Batch 체크](images/2.5.6_run_workflow.png) + +### 워크플로우 모니터링 하기 + +#### 워크플로우 상태 확인 +KSB 웹툴킷 상단 "Monitoring" 메뉴의 "Workflow" 탭에서 작성한 워크플로우가 실행 중 (Inprogress)인 것을 확인할 수 있습니다. 이 화면에서 실행 중인 워크플로우를 종료()할 수 있으며, 종료된 워크를로우를 다시 실행()할 수도 있습니다. + +![워크플로우 동작 상태 확인](images/2.5.6_monitor.png) + +#### 워크플로우 로그 보기 +위 화면에서 "WorkFlow History" 탭을 선택하면, KSB 프레임워크가 수행한 워크플로우들의 목록 및 각각의 로그 (목록 최우측의 i 버튼 클릭)를 확인할 수 있습니다. + +![워크플로우 히스토리](images/2.5.6_history.png) + +위 화면에서 "Text 결과 파일 보기" 버튼을 누르면 학습성능 파일을 아래처럼 열어볼 수 있습니다. Classification 경우에는 $F_1$ 스코어가 기록됩니다. Regression의 경우에는 MAE (Mean Absolute Error), MSE (Mean Squared Error) 및 MAPE (Mean Absolute Percentage Error)가 기록됩니다. + + +![워크플로우 히스토리](images/2.5.6_metric.png) + +## 결과 확인하기 + +### 최적학습모델 확인하기 +워크플로우 실행의 결과물은 KSB 웹툴킷 상단의 "Repository" 메뉴에서 확인할 수 있습니다. 먼저 "applications" 폴더 안의 워크플로우 ID 폴더로 들어갑니다 (워크플로우 ID는 Monitoring 메뉴에서 확인 가능합니다). 해당 경로안에 "output" 폴더가 생성되어 있고 FileWriter 에서 설정한 "autosparkml" 파일이 생성되어 있으면 워크플로우가 성공적으로 수행된 것입니다 (아래 그림 참조). 생성된 파일은 파일은 위에서 설명한 "Text 결과 파일 보기" 버튼을 눌러 보이는 결과를 포함하는 파일입니다. + +![결과확인](images/2.5.6_output.png) diff --git a/manual1903/2.5.7.RealtimeIngestToPredictInSingleEngine.md b/manual1903/2.5.7.RealtimeIngestToPredictInSingleEngine.md new file mode 100755 index 0000000000000000000000000000000000000000..627f219c5516cd83e5df349fc6e9c42697f0f6dc --- /dev/null +++ b/manual1903/2.5.7.RealtimeIngestToPredictInSingleEngine.md @@ -0,0 +1,171 @@ +--- +html: + toc: true + offline: true +export_on_save: + html: true +--- +# 스트림 방식으로 ML모델 예측결과 얻기 (RealtimeIngestToPredictInSingleEngine) +--- + +온도센서 데이터를 수집한 후 전처리를 수행하여 Kafka 스트림으로 내보내는 예제를 설명합니다. + +## 입력 데이터 준비하기 +본 예제에서는 온도 센서 스트림 데이터를 HTTP로 입력 받는 것을 가정합니다. 이를 위해 Jmeter 도구를 활용합니다. + +Jmeter 설명 바로가기 + + +### 온도 스트림데이터 생성하기 +워크플로우 실행 결과를 확인하기 위해서는 온도데이터를 스트림 형태로 발생시켜야 합니다. Jmeter를 활용한 온도 스트림 데이터 생성 방법은 메뉴얼 하단의 "결과 확인하기" 를 확인해 주시기 바랍니다. + + +##워크플로우 생성하기 +워크플로우 편집 화면을 이용하여 아래의 과정을 통해 워크플로우를 생성합니다. + +### 엔진 생성하기 +####엔진 선택 +본 예제에서는 스트림형태로 입력되는 온도 데이터를 입력받아 실시간 온도를 예측해서 스트림 형태로 출력하므로 StreamToStream엔진을 선택합니다. + +#####Reader +HTTP 서버로부터 전달되어 오는 센서데이터를 입력 받기 위해 HttpServerReader를 선택하고 아래표와 같은 속성을 지정합니다. +field |value | 설명 +--|---|-- +ip | 0.0.0.0 | HTTP 서버의 IP 주소 +path | / | HTTP 서버의 URL +port | 53002 | HTTP 서버의 포트 번호 + + +#####Writer +StreamToStream엔진에서 처리된 결과를 Kafka topic 으로 출력 할 것이므로 KafkaWriter를 선택합니다. +field |value | 설명 +--|---|-- +topic | test3 | 온도 예측 결과를 받아서 저장할 때 사용할 Kafka 큐의 이름 +zooKeeperConnect | csle1:2181 | zookeeper의 접속주소(IP, 포트번호) +groupId | group3 | Kafka writer topic 그룹 아이디 +bootStrapServer | csle1:9092 | Kafka 접속 주소(IP, 포트번호) + + +#####Controller +Controller 로는 WindowedSparkSessionOrStreamController 를 선택합니다. WindowedSparkSessionOrStreamController 는 스트림으로 입력되는 데이터를 큐에 저장하고, 일정 주기 마다 정해진 윈도우 크기로 잘라서 operator 에게 전달합니다. +field |value | 설명 +--|---|-- +operationPeriod | 2 | Reader로 부터 데이터를 읽어올 주기 | 53002 | HTTP 서버의 포트번호 +inputQueSize | 1 | 입력큐의 크기 | | +selectedColumnName | temperature | Spark dataframe에서 추출할 컬럼의 이름 | | +windowSize | 10 | 큐에서 사용할 윈도우의 크기 | | + +#####Runner +SimpleSparkRunner 를 선택합니다. +field |value | 설명 +--|---|-- +inJason | false | false로 설정하는 경우 json 형태의 파라메타를 커맨드라인 파라미터 형태로 변환하여 호출되는 외부 시스템에 전달. True 이면 json 형태의 파라메타 형태 그대로 외부시스템에 전달. +sparkArgs | master | 아래의 표 참고 + +sparkArgs 설정은 다음과 같이 합니다. +field |value | 설명 +--|---|-- +master | local[\*] | YARN 의 마스터 +executerMemory | 1g | Spark 의 익스큐터 메모리 +numExecutors | 4 | 익스큐터 개수 +sparkVersion | 2.3.0 | KSB프레임워크의 현재 Spark 버전 +driverMemory | 1g | Spark 드라이버 메모리 + + + +#####Operator +센서로부터 입력되는 온도 데이터를 여섯가지 전처리 기법을 적용하여 정제합니다. 본 예제에서 사용한 전처리 기법은 ColumnSelectOperator, MinMaxScalingOperator, TransposeOperator, SparkMLPredictOperator, MinMaxScalingOperator, ColumnSelectOperator 입니다. + +- ColumnSelectOperator + +field |value | 설명 +--|---|-- +selectedColumnId | 1 | 선택할 칼럼 ID + +- MinMaxScalingOperator + +field |value | 설명 +--|---|-- +selectedColumnId | 0 | 선택할 칼럼 ID +max | 0.5 | 입력되는 값이 scaling 될 때 최대값 +min | -0.5 | 입력되는 값이 scaling 될 때 최소값 +withMinMaxRange | true | 위에서 설정한 max, min 값 사용 여부 +minRealValue | -20 | 온도 값에서 정상 범위로 사용할 최소값 +maxRealValue | 50 | 온도 값에서 정상 범위로 사용할 최대값 + +- TransposeOperator + +field |value | 설명 +--|---|-- +selectedColumnName | temperature | transpose 연산을 적용할 컬럼의 이름 + +- SparkMLPredictOperator + +field |value | 설명 +--|---|-- +modelPath | file:///home/csle/ksb-csle/examples/autosparkml/test/automl_test | 학습 모델의 모델 경로 +clsNameForModel | org.apache.spark.ml.PipelineModel | 학습 모델의 형식 + + + +- MinMaxScalingOperator + +field |value | 설명 +--|---|-- +selectedColumnId | 13 | 선택할 칼럼 ID +max | 50 | 입력되는 값이 rescaling 될 때 최대값 +min | -20 | 입력되는 값이 rescaling 될 때 최소값 +withMinMaxRange | true | 위에서 설정한 max, min 값 사용 여부 +minRealValue | -0.5 | 온도값에서 정상 범위로 사용할 최소값 +maxRealValue | 0.5 | 온도값에서 정상 범위로 사용할 최대값 + + +- ColumnSelectOperator + +field |value | 설명 +--|---|-- +selectedColumnId | 13 | 선택할 칼럼 ID + + + +
+
+ +![워크플로우 완성 화면](./images/2.5.7_01.png) + +ksbuser@etri.re.kr 계정으로 접속하면 예제 워크플로우가 만들어져있습니다. 불러오기해서도 돌려볼 수 있습니다. + +##워크플로우 실행 및 모니터링하기 +### 워크플로우 실행하기 +위에서 작성한 워크플로우를 실행하기 위해서는 워크플로우 편집기 상단의 실행 버튼을 누릅니다. 이 때, StreamToStream 엔진은 배치형태로 실행되지 않는 엔진들이므로 Batch 체크 박스는 해제하고 워크플로우를 실행해야합니다. + +![Batch체크 해제로 변경할것](./images/2.5.7_02.png) + + +### 워크플로우 모니터링 하기 + +#### 워크플로우 상태 확인 +KSB 웹툴킷 상단 메뉴의 Monitoring 탭을 클릭하면 Workflow 탭이 선택되어있습니다. Workflow 탭에는 위에서 실행한 두 엔진의 동작 상태 (status) 가 실행 중(Inprogress)인 것을 확인 할 수 있습니다. + +![워크플로우 동작 상태 확인](./images/2.5.7_03.png) + +#### 워크플로우 로그 보기 +WorkFlow History 탭을 선택하면, KSB프레임워크에서 워크플로우가 동작하며 발생시킨 로그 정보를 확인 할 수 있습니다. + +![워크플로우 동작 로그](./images/2.5.7_04.png) + +##결과 확인하기 +#### 온도 스트림데이터 생성하기 +워크플로우 실행 결과를 확인하기 위해서는 온도데이터를 스트림 형태로 발생시켜야 합니다. 이를 위해 위에서 설명한 Jmeter 도구를 활용합니다. + +![Jmeter로 온도 스트림데이터 입력하기](./images/2.5.7_05.png) + + +#### 스트림 형태의 온도 예측결과 받아오기 +Kafka writer를 통해서 예측 결과가 Kafka topic 에 잘 저장되었는지 확인하기 위해서는 Kafka consumer를 이용합니다. Kafka consumer 명령은 아래와 같습니다. + +![Kafka consumer 로 결과 받아오기](./images/2.5.7_06.png) + +## 워크플로우 종료하기 + +KSB 웹툴킷 상단 "Monitoring" 메뉴의 "Workflow" 탭에서 실행 중인 RealtimeIngestToPredictInSingleEngine 워크플로우를 종료()할 수 있습니다. diff --git a/manual1903/2.5.8.RealtimeIngestToServingInTwoEngines.md b/manual1903/2.5.8.RealtimeIngestToServingInTwoEngines.md new file mode 100755 index 0000000000000000000000000000000000000000..cd21d93ba2415c12a1604bdfba9cb12aa7511b8a --- /dev/null +++ b/manual1903/2.5.8.RealtimeIngestToServingInTwoEngines.md @@ -0,0 +1,221 @@ +--- +html: + toc: true + offline: true +export_on_save: + html: true +--- +# 스트림 방식으로 예측하여 REST 방식으로 서빙하기 (RealtimeIngestToServingInTwoEngines) +--- +온도센서 데이터를 수집한 후 전처리를 수행하고, 기계학습 모델에 의해 예측된 온도값을 클라이언트로 전달하는 예제를 설명합니다. + +## 입력 데이터 준비하기 +본 예제에서는 온도 센서 스트림 데이터를 HTTP로 입력 받는 것을 가정합니다. 이를 위해 Jmeter 도구를 활용합니다. + +Jmeter 설명 바로가기 + +### 온도 스트림데이터 생성하기 +워크플로우 실행 결과를 확인하기 위해서는 온도데이터를 스트림 형태로 발생시켜야합니다. Jmeter를 활용한 온도 스트림데이터 생성하는 방법은 메뉴얼 하단의 "결과 확인하기" 를 확인해 주시기 바랍니다. + + + +##워크플로우 생성하기 +워크플로우 편집화면에서 워크플로우를 작성합니다. 본 예제에서는 두 개의 엔진을 생성합니다. + +### 첫 번째 엔진 생성하기 +####엔진 선택 +본 예제에서는 스트림형태로 입력되는 온도 데이터를 입력받아 실시간 온도 예측을 하는 서빙 엔진으로 전달하기 위해 Streamtostream 엔진을 선택합니다. +#####Reader +HTTP 서버로부터 전달되어 오는 센서데이터를 입력 받기 위해 HttpServerReader를 선택하고 아래표와 같은 속성을 지정합니다. +field |value | 설명 +--|---|-- +ip | 0.0.0.0 | HTTP 서버의 IP 주소 +path | / | HTTP 서버의 URL +port | 53002 | HTTP 서버의 포트 번호 + + +#####Writer +StreamToStream엔진에서 처리된 결과를 다음 엔진에게 Stream 형태로 전달할 것이므로, KafkaWriter를 선택합니다. +field |value | 설명 +--|---|-- +topic | test3 | 온도 예측 결과를 받아 올때 사용할 Kafka 큐의 이름 +zooKeeperConnect | csle1:2181 | zookeeper의 접속주소(IP, 포트번호) +groupId | group3 | Kafka writer topic 그룹 아이디 +bootStrapServer | csle1:9092 | Kafka 접속 주소(IP, 포트번호) + + +#####Controller +Controller 로는 WindowedSparkSessionOrStreamController 를 선택합니다. WindowedSparkSessionOrStreamController 는 스트림으로 입력되는 데이터를 큐에 저장하고, 일정 주기 마다 정해진 윈도우 크기로 잘라서 operator 에게 전달합니다. +field |value | 설명 +--|---|-- +operationPeriod | 2 | Reader로 부터 데이터를 읽어올 주기 | 53002 | HTTP 서버의 포트번호 +inputQueSize | 1 | 입력 큐의 크기 | | +selectedColumnName | temperature | Spark dataframe에서 추출할 컬럼의 이름 | | +windowSize | 10 | 큐에서 사용할 윈도우의 크기 | | + +#####Runner +SimpleSparkRunner 를 선택합니다. +field |value | 설명 +--|---|-- +inJason | false | false로 설정하는 경우 json 형태의 파라메타를 커맨드라인 파라미터 형태로 변환하여 호출되는 외부 시스템에 전달. True 이면 json 형태의 파라메타 형태 그대로 외부시스템에 전달. +sparkArgs | master | 아래의 표 참고 + +sparkArgs 설정은 다음과 같이 합니다. +field |value | 설명 +--|---|-- +master | local[\*] | YARN 의 마스터 +executerMemory | 1g | Spark 의 익스큐터 메모리 +numExecutors | 4 | 익스큐터 개수 +sparkVersion | 2.3.0 | KSB프레임워크의 Spark 버전 +driverMemory | 1g | Spark 드라이버 메모리 + + + +#####Operator +첫번째 엔진에서는 센서로부터 입력되는 온도 데이터를 여섯가지 전처리 기법을 적용하여 정제합니다. 본 예제에서 사용한 전처리 기법은 ColumnSelectOperator, MinMaxScalingOperator, TransposeOperator, SparkMLPredictOperator, MinMaxScalingOperator, ColumnSelectOperator 입니다. + +- ColumnSelectOperator + +field |value | 설명 +--|---|-- +selectedColumnId | 1 | 선택할 칼럼 ID + +- MinMaxScalingOperator + +field |value | 설명 +--|---|-- +selectedColumnId | 0 | 선택할 칼럼 ID +max | 0.5 | 입력되는 값이 scaling 될 때 최대값 +min | -0.5 | 입력되는 값이 scaling 될 때 최소값 +withMinMaxRange | true | 위에서 설정한 max, min값 사용 여부 +minRealValue | -20 | 온도 값에서 정상 범위로 사용할 실제 최소값 +maxRealValue | 50 | 온도 값에서 정상 범위로 사용할 실제 최대값 + +- TransposeOperator + +field |value | 설명 +--|---|-- +selectedColumnName | temperature | transpose 연산을 적용할 컬럼의 이름 + +- SparkMLPredictOperator + +field |value | 설명 +--|---|-- +modelPath | file:///home/csle/ksb-csle/examples/autosparkml/test/automl_test | 학습 모델 경로 +clsNameForModel | org.apache.spark.ml.PipelineModel | 학습 모델 형식 + + + +- MinMaxScalingOperator + +field |value | 설명 +--|---|-- +selectedColumnId | 13 | 선택할 칼럼 ID +max | 50 | 입력되는 값이 rescaling 될 때 최대값 +min | -20 | 입력되는 값이 rescaling 될 때 최소값 +withMinMaxRange | true | 실제 최대/최소값 범위를 이용하여 rescaling 합니다. +minRealValue | -0.5 | 온도값에서 정상범위로 사용할 최소값 +maxRealValue | 0.5 | 온도값에서 정상범위로 사용할 최대값 + + +- ColumnSelectOperator + +field |value | 설명 +--|---|-- +selectedColumnId | 13 | 선택할 칼럼 ID + +### 두 번째 엔진 생성하기 +####엔진 선택 +스트림 형태로 전달되는 온도 예측값의 온디맨드 서빙을 하기 위해 OnDemandStreamServing 엔진을 선택합니다. (KSB프레임워크에서는 도커 컨테이너 내부의 지식베이스(KB)가 실행되고 있습니다.) + +#####Reader +첫번째 엔진에서 입력되는 실시간 온도 예측값을 입력 받기 위해 KafkaOnDemandReader 를 선택합니다. +field |value | 설명 +--|---|-- +topic | test3 | 실시간 온도 예측값을 받아올때 사용할 Kafka 큐의 이름 +zooKeeperConnect | csle1:2181 | zookeeper의 접속주소(IP, 포트번호)를 +groupId | group3 | Kafka writer topic 그룹 아이디 +bootStrapServer | csle1:9092 | Kafka 접속 주소(IP, 포트번호) + + +#####Writer +이 엔진에서는 별도의 Writer를 사용하지 않습니다. + + + +#####Controller +Controller 로는 servingWithkbController를 선택합니다. ServingWithkbController는 추가적인 속성을 설정하지 않습니다. +field |value | 설명 +--|---|-- +restfulActorName | ksb.csle.component.pipe.controller.actor.CompositiveServingActor | +url | postQuery | + +#####Runner +REST 방식으로 엔진을 실행 하기위해서 ServingRunner를 선택합니다. +field |value | 설명 +--|---|-- | +port | 18080 | 최적의 제어값을 서빙할 포트번호 | +host | 0.0.0.0 | 최적의 제어값을 서빙할 IP | + + + +#####Operator +이 엔진에서는 별도의 Operator를 설정하지 않습니다. + + +
+
+ +![워크플로우 완성 화면](./images/2.5.8_01.png) + +ksbuser@etri.re.kr 계정으로 접속하면 예제 워크플로우가 만들어져있습니다. 불러오기해서도 돌려볼 수 있습니다. + +##워크플로우 실행 및 모니터링하기 +### 워크플로우 실행하기 +위에서 작성한 워크플로우를 실행하기 위해서는 워크플로우 편집기 상단의 실행 버튼을 누릅니다. 이 때, StreamToStream 엔진과 OnDemandStreamServing 엔진은 배치형태로 실행되지 않는 엔진들이므로 Batch 체크 박스는 해제하고 워크플로우를 제출해야합니다. + +![Batch체크 해제로 변경할것](./images/2.5.8_02.png) + + +#### 서빙 URL 확인하기 +Dashboard 탭으로 이동하면, 위에서 실행한 OnDemandStreamServing엔진이 서비스 하고있는 URL을 확인할 수 있습니다. +![서빙 URL 확인](./images/2.5.8_03.png) + + + +### 워크플로우 모니터링 하기 + +#### 워크플로우 상태 확인 +KSB 웹툴킷 상단 메뉴의 Monitoring 탭을 클릭하면 Workflow 탭이 선택되어있습니다. Workflow 탭에는 위에서 실행한 두 엔진의 동작 상태 (status) 가 실행 중(Inprogress)인 것을 확인 할 수 있습니다. + +![워크플로우 동작 상태 확인](./images/2.5.8_04.png) + +#### 워크플로우 로그 보기 +WorkFlow History 탭을 선택하면, KSB프레임워크에서 워크플로우가 동작하며 발생시킨 로그 정보를 확인 할 수 있습니다. + +![워크플로우 히스토리](./images/2.5.8_05.png) + +![워크플로우 동작 로그](./images/2.5.8_06.png) + +##결과 확인하기 +#### 온도 스트림데이터 생성하기 +워크플로우 실행 결과를 확인하기 위해서는 온도데이터를 스트림 형태로 발생시켜야 합니다. 이를 위해 위에서 설명한 Jmeter 도구를 활용합니다. + +![Jmeter로 온도 스트림데이터 입력하기](./images/2.5.8_07.png) + + +#### 서빙 기능을 이용해 예측결과 받아오기 +실시간으로 예측된 온도값을 받아오기 위해서는 예측 모델이 서빙 되고 있는 서버에 접근하여 예측결과를 받아와야합니다. REST 형태로 실시간 서빙되고 있는 모델에 접근하기 위해 Postman을 이용합니다. +서빙 중인 모델의 URL 은 "서빙 URL 확인하기" 에서 확인할 수 있습니다. +``` +Method: GET +URL: http://localhost:18080/query +``` + +Postman 설명 바로가기 + +![Jmeter로 온도 스트림데이터 입력하기](./images/2.5.8_08.png) + +## 워크플로우 종료하기 + +KSB 웹툴킷 상단 "Monitoring" 메뉴의 "Workflow" 탭에서 실행 중인 RealtimeIngestToServingInTwoEngines 워크플로우를 종료()할 수 있습니다. diff --git a/manual1903/2.5.9.RealtimeIngestToServingWithKbInTwoEngines.md b/manual1903/2.5.9.RealtimeIngestToServingWithKbInTwoEngines.md new file mode 100755 index 0000000000000000000000000000000000000000..772a9246410a772f7ce12c190eb01c90309be3a2 --- /dev/null +++ b/manual1903/2.5.9.RealtimeIngestToServingWithKbInTwoEngines.md @@ -0,0 +1,238 @@ +--- +html: + toc: true + offline: true +export_on_save: + html: true +--- +# 스트림 예측결과를 지식추론하여 REST 방식으로 서빙하기 (RealtimeIngestToServingWithKbInTwoEngines) +--- + +온도센서 데이터를 수집한 후 전처리를 수행하고, 기계학습 모델에 의해 예측된 온도 값으로부터 최적의 제어를 추론하여 제어 메세지를 클라이언트로 전달하는 예제를 설명합니다. + +## 입력 데이터 준비하기 +본 예제에서는 온도 센서 스트림 데이터를 HTTP로 입력 받는 것을 가정합니다. 이를 위해 Jmeter 도구를 활용합니다. + +Jmeter 설명 바로가기 + +### 온도 스트림데이터 생성하기 +워크플로우 실행 결과를 확인하기 위해서는 온도데이터를 스트림 형태로 발생시켜야합니다. Jmeter를 활용한 온도 스트림데이터 생성하는 방법은 메뉴얼 하단의 "결과 확인하기" 를 확인해주시기 바랍니다. + + + +##워크플로우 생성하기 +워크플로우 편집화면에서 워크플로우를 작성합니다. 본 예제에서는 두 개의 엔진을 생성합니다. + +### 첫 번째 엔진 생성하기 +####엔진 선택 +스트림형태로 제공되는 온도 데이터를 입력받아 실시간 온도 예측을 하는 서빙 엔진으로 전달하기 위해 Streamtostream 엔진을 선택합니다. +#####Reader +HTTP 서버로부터 전달되어 오는 센서데이터를 입력 받기 위해 HttpServerReader를 선택하고 아래표와 같은 속성을 지정합니다. +field |value | 설명 +--|---|-- +ip | 0.0.0.0 | HTTP 서버의 IP 주소 +path | / | HTTP 서버의 URL +port | 53002 | HTTP 서버의 포트 번호 + + +#####Writer +StreamToStream엔진에서 처리된 결과를 다음 엔진에게 Stream 형태로 전달해야 하므로 KafkaWriter를 선택합니다. +field |value | 설명 +--|---|-- +topic | test3 | 온도 예측 결과를 받아 올때 사용할 Kafka 큐의 이름 +zooKeeperConnect | csle1:2181 | zookeeper의 접속주소(IP, 포트번호) +groupId | group3 | Kafka writer topic 그룹 아이디 +bootStrapServer | csle1:9092 | Kafka 접속 주소(IP, 포트번호) + + +#####Controller +Controller 로는 WindowedSparkSessionOrStreamController 를 선택합니다. WindowedSparkSessionOrStreamController 는 스트림으로 입력되는 데이터를 큐에 저장하고, 일정 주기 마다 정해진 윈도우 크기로 잘라서 operator 에게 전달합니다. +field |value | 설명 +--|---|-- +operationPeriod | 2 | Reader로 부터 데이터를 읽어올 주기 | 53002 | HTTP 서버의 포트번호를 입력합니다. +inputQueSize | 1 | 입력 큐의 크기 | | +selectedColumnName | temperature | Spark dataframe에서 추출할 컬럼의 이름 | | +windowSize | 10 | 큐에서 사용할 윈도우의 크기 | | + +#####Runner +SimpleSparkRunner 를 선택합니다. +field |value | 설명 +--|---|-- +inJason | false | false로 설정하는 경우 json 형태의 파라메타를 커맨드 라인 파라미터 형태로 변환하여 호출되는 외부 시스템에 전달. True 이면 json 형태의 파라메타 형태 그대로 외부시스템에 전달. +sparkArgs | master | 아래의 표 참고 + +sparkArgs 설정은 다음과 같이 합니다. +field |value | 설명 +--|---|-- +master | local[\*] | YARN 의 마스터 +executerMemory | 1g | Spark 의 익스큐터 메모리 +numExecutors | 4 | 익스큐터 개수. +sparkVersion | 2.3.0 | KSB프레임워크의 Spark 버전 +driverMemory | 1g | Spark 드라이버 메모리 + + + +#####Operator +첫번째 엔진에서는 센서로부터 입력되는 온도 데이터를 여섯가지 전처리 기법을 적용하여 정제합니다. 본 예제에서 사용한 전처리 기법은 ColumnSelectOperator, MinMaxScalingOperator, TransposeOperator, SparkMLPredictOperator, MinMaxScalingOperator, ColumnSelectOperator 입니다. + +- ColumnSelectOperator + +field |value | 설명 +--|---|-- +selectedColumnId | 1 | 선택할 칼럼 ID + +- MinMaxScalingOperator + +field |value | 설명 +--|---|-- +selectedColumnId | 0 | 선택할 칼럼 ID +max | 0.5 | 입력되는 값이 scaling 될 때 최대값 +min | -0.5 | 입력되는 값이 scaling 될 때 최소값 +withMinMaxRange | true | 위에서 설정한 mxx, min값 사용 여부 +minRealValue | -20 | 온도 값의 정상 범위로 사용할 실제 최소값 +maxRealValue | 50 | 온도 값의 정상 범위로 사용할 실제 최대값 + +- TransposeOperator + +field |value | 설명 +--|---|-- +selectedColumnName | temperature | transpose 연산을 적용할 컬럼의 이름을 입력합니다. + +- SparkMLPredictOperator + +field |value | 설명 +--|---|-- +modelPath | file:///home/csle/ksb-csle/examples/autosparkml/test/automl_test | 학습 모델 경로 +clsNameForModel | org.apache.spark.ml.PipelineModel | 학습 모델 형식 + + + +- MinMaxScalingOperator + +field |value | 설명 +--|---|-- +selectedColumnId | 13 | 선택할 칼럼 ID +max | 50 | 입력되는 값이 rescaling 될 때 최대값 +min | -20 | 입력되는 값이 rescaling 될 때 최소값 +withMinMaxRange | true | 위에서 설정한 max, min 값 사용 여부 +minRealValue | -0.5 | 온도 값의 정상 범위로 사용할 최소값 +maxRealValue | 0.5 | 온도 값의 정상 범위로 사용할 최대값 + + +- ColumnSelectOperator + +field |value | 설명 +--|---|-- +selectedColumnId | 13 | 선택할 칼럼 ID + +### 두 번째 엔진 생성하기 +####엔진 선택 +스트림 형태로 전달되는 온도 예측값을 온디맨드 서빙을 하기 위해 OnDemandStreamServing 엔진을 선택합니다. (KSB프레임워크에서는 도커 컨테이너 내부의 지식베이스(KB)가 실행되고 있습니다.) + +#####Reader +첫번째 엔진에서 입력되는 실시간 온도 예측값을 입력 받기 위해 KafkaOnDemandReader 를 선택합니다. +field |value | 설명 +--|---|-- +topic | test3 | 실시간 온도 예측값을 받아올때 사용할 Kafka 큐의 이름 +zooKeeperConnect | csle1:2181 | zookeeper의 접속주소(IP, 포트번호) +groupId | group3 | Kafka writer topic 그룹 아이디 +bootStrapServer | csle1:9092 | Kafka 접속 주소(IP, 포트번호) + + +#####Writer +이 엔진에서는 Writer를 사용하지 않습니다. + + + +#####Controller +Controller 로는 servingWithkbController를 선택합니다. servingWithkbController는 추가적인 속성을 설정하지 않습니다. + + + +#####Runner +REST 방식으로 엔진을 실행 하기위해서는 ServingRunner를 선택합니다. +field |value | 설명 +--|---|-- | +port | 18080 | 최적의 제어값을 서빙할 포트번호 | +host | 0.0.0.0 | 최적의 제어값을 서빙할 IP | + + + +#####Operator +두 번째 엔진에서는 ControlContextQueryOperator를 사용합니다. + +field |value | 설명 +--|---|-- | +controlQuery | 18080 | 세부 설정 아래 참고 | +URI | recommendDeviceControl | 최적의 제어값을 서빙할 URI | + +ControlQuery 의 세부 설정은 아래와 같이 합니다. + +field |value | 설명 +--|---|-- | +resourceID | temperature | 센서의 리소스명 | +thingId | a1234 | 센서의 아이디 | +values(name) | temperature | 질의 속성 | +|values(value) | ? | 예측된 센서 온도가 계속 변경되므로 물음표를 입력 +|values(time) | ? | 예측된 센서 데이터값이 입력되는 시간이 계속 변경되므로 물음표를 입력 | + + +
+
+ +![워크플로우 완성 화면](./images/2.5.9_01.png) + +ksbuser@etri.re.kr 계정으로 접속하면 예제 워크플로우가 만들어져있습니다. 불러오기해서도 돌려볼 수 있습니다. + +##워크플로우 실행 및 모니터링하기 +### 워크플로우 실행하기 +위에서 작성한 워크플로우를 실행하기 위해서는 워크플로우 편집기 상단의 실행 버튼을 누릅니다. 이 때, StreamToStream 엔진과 OnDemandStreamServing 엔진은 배치형태로 실행되지 않는 엔진들이므로 Batch 체크 박스는 해제하고 워크플로우를 제출해야합니다. + +![Batch체크 해제로 변경할것](./images/2.5.9_02.png) + + + +#### 서빙 URL 확인하기 +Dashboard 탭으로 이동하면, 위에서 실행한 OnDemandStreamServing엔진이 서비스 하고있는 URL을 확인할 수 있습니다. +![서빙 URL 확인](./images/2.5.9_03.png) + + + + +### 워크플로우 모니터링 하기 + +#### 워크플로우 상태 확인 +KSB 웹툴킷 상단 메뉴의 Monitoring 탭을 클릭하면, Workflow 탭이 선택되어 있습니다. Workflow 탭에는 위에서 실행한 두 엔진의 동작 상태 (status) 가 실행 중(Inprogress)인 것을 확인 할 수 있습니다. + +![워크플로우 동작 상태 확인](./images/2.5.9_04.png) + +#### 워크플로우 로그 보기 +WorkFlow History 탭을 선택하면, KSB프레임워크에서 워크플로우가 동작하며 발생시킨 로그 정보를 확인 할 수 있습니다. + +![워크플로우 히스토리](./images/2.5.9_05.png) + +![워크플로우 동작 로그](./images/2.5.9_06.png) + +##결과 확인하기 +#### 온도 스트림데이터 생성하기 +워크플로우 실행 결과를 확인하기 위해서는 온도데이터를 스트림 형태로 발생시켜야 합니다. 이를 위해 위에서 설명한 Jmeter 도구를 활용합니다. + +![Jmeter로 온도 스트림데이터 입력하기](./images/2.5.9_07.png) + + +#### 서빙 기능 이용해 예측결과 받아오기 +실시간으로 예측된 온도값을 받아오기 위해서는 예측 모델이 서빙 되고 있는 서버에 접근하여 예측결과를 받아와야합니다. REST 형태로 실시간 서빙되고 있는 모델에 접근하기 위해 Postman 을 이용합니다. +서빙 중인 모델의 URL 은 "서빙 URL 확인하기" 에서 확인할 수 있습니다. + +``` +Method: GET +URL: http://localhost:18080/query +``` + +Postman 설명 바로가기 + +![Jmeter로 온도 스트림데이터 입력하기](./images/2.5.9_08.png) + +## 워크플로우 종료하기 + +KSB 웹툴킷 상단 "Monitoring" 메뉴의 "Workflow" 탭에서 실행 중인 RealtimeIngestToServingWithKbInTwoEngines 워크플로우를 종료()할 수 있습니다. diff --git a/manual1903/2.6.1.TrafficPreprocessing.md b/manual1903/2.6.1.TrafficPreprocessing.md new file mode 100755 index 0000000000000000000000000000000000000000..2aeeba6f3b7b1e07bf8b8f24c9b668fed47889f0 --- /dev/null +++ b/manual1903/2.6.1.TrafficPreprocessing.md @@ -0,0 +1,234 @@ +--- +html: + toc: true + offline: true +export_on_save: + html: true +--- +# 교통속도 스트림 데이터 전처리하기 (TrafficPreprocessing) +--- +교통센서로부터 시계열 속도 데이터를 수집하여 전처리를 수행하고, 파일로 저장하는 예제를 설명합니다. + +## 입력 데이터 준비하기 +본 예제에서는 교통센서로부터 시계열 속도 데이터(LINK_ID, 속도, 날짜)를 Kafka로 입력 받는 것을 가정합니다. 5분 단위로 측정된 센서 데이터가 시간 순으로 들어온다고 가정합니다. + +### 시계열 속도 스트림데이터 생성하기 +본 예제를 위해 준비된 파일로부터 시계열 속도 데이터를 한줄씩 읽어 Kafka로 보내주는 파이썬 프로그램을 제공합니다. + +입력파일은 Host PC의 /home/csle/ksb-csle/examples/input 폴더에 존재하는 ``201601_kangnam.csv`` 파일입니다. 5분 단위로 LINK_ID 와 속도가 시간순으로 정렬되어 있습니다. + +- 입력파일 형태 및 내용 + +PRCS_DATE | LINK_ID | PRCS_SPD +--|---|-- +2016-01-01 00:00:00 | 1210006200 | 61 +2016-01-01 00:00:00 | 1210006300 | 66.8 +2016-01-01 00:00:00 | 1210011200 | 49.8 +... | ... | ... + + +파이썬 프로그램은 Host PC의 /home/csle/ksb-csle/examples 폴더에 존재하는 kangnam_producer.py 입니다. 파이썬 프로그램이 있는 폴더로 이동하여 아래 명령어를 실행합니다. + +``` +cd /home/csle/ksb-csle/examples +python3 kangnam_producer.py ./input/201601_kangnam.csv localhost:9092 traffic 0.01 + +첫번째 arg: 보내려는 csv 파일 경로 +두번째 arg: 카프카 서버 접속 주소 +세번째 arg: 토픽명 +네번째 arg: 각 row 를 전송하는 주기 (초 단위) +``` + +아래 그림과 같이 파일로 부터 데이터를 한줄씩 읽어 Kafka로 보내는 것을 확인할 수 있습니다. + +![스트림 데이터 생성](./images/2.6_kafkaInput_sorted.png) + + +### 기타 입력파일 업로드 +전처리에 필요한 파일들을 HDFS repository에 웹툴킷을 이용하여 dataset/input/traffic 위치에 업로드 합니다. 아래 파일들은 Host PC의 /home/csle/ksb-csle/examples/input 폴더에 있습니다. +- traffic_kangnam_clos2.txt + + +![파일 업로드](./images/2.6_fileUpload.png) + + +##워크플로우 생성하기 +워크플로우 편집화면에서 워크플로우를 작성합니다. 본 예제에서는 하나의 엔진을 생성합니다. + +- 워크플로우 속성 + +속성 | 값 | 비고 +--|---|-- +name | TrafficPreprocessing | 워크플로우 이름 +description | 강남 교통 전처리 예제 | 워크플로우를 설명하는 글 +isBatch | false | 스트림 처리를 하는 워크플로우 이므로, false 로 지정 +verbose | false | 디버깅을 위해 로그정보를 보고자할 경우, true 로 지정 + + +### 엔진 생성하기 +스트림형태로 입력되는 속도 데이터를 입력 받아 가공한 뒤 배치형태의 파일로 내보내므로 StreamToBatch엔진을 선택합니다. + +- 엔진 속성 + +순번 | 엔진 Type | NickName | RunType | 설명 +--|---|---|---|-- +1 | StreamToBatch | PreprocessingEngine | 즉시실행 | 딥러닝 모델 학습을 위한 전처리 + + +#### Reader +KafkaReader를 선택하고 아래표와 같은 속성을 지정합니다. + +field |value | 설명 +--|---|-- +bootStrapServers | localhost:9092 | Kafka 접속 주소(IP, 포트번호) +zooKeeperConnect | csle1:2181 | zookeeper의 접속주소(IP, 포트번호) +groupId | traffic | Kafka topic 그룹 아이디 +topic | traffic | Kafka 큐의 이름 + + +#### Writer +FileWriter를 선택하고 아래표와 같은 속성을 지정합니다. + +field |value | 설명 +--|---|-- +filePath | file:///home/csle/ksb-csle/examples/output/traffic_processing.csv | 출력 파일 경로 +fileType | CSV | 출력 파일 타입 +delimiter | , | 구분자 +header | false | 헤더 포함 유무 +saveMode | APPEND | 파일 저장 방식 + +- 출력 파일 경로 지정 +HDFS 의 상대경로를 지정할 경우, 상대경로 앞에 **사용자 기본 파일경로** 가 워크플로우 실행 시 동적으로 생성되어 적용됩니다. **사용자 기본 파일경로** 는 ``hdfs://{host}:{port}/user/{user_id}/applications/{workflow_id}/output/`` 입니다. +스트림 처리를 통해 주기적으로 파일을 생성하는 경우 HDFS 를 지원하지 않습니다. 따라서 본 예제에서는 로컬파일 시스템 경로를 사용합니다. 로컬파일 시스템 경로를 지정할 경우, ``file:///`` 키워드를 앞에 붙여서 사용합니다. + +#### Controller +SparkStreamController를 선택하고 아래표와 같은 속성을 지정합니다. +SparkStreamController는 스트림으로 입력되는 데이터를 큐에 저장하고, 일정 주기 마다 정해진 윈도우 크기로 잘라서 operator 에게 전달합니다. + +field |value | 설명 +--|---|-- +operationPeriod | 10 | Reader로 부터 데이터를 읽어올 주기, 초 단위 +windowSize | 1530 | 큐에서 사용할 윈도우 크기
170 x 9 +slidingSize | 1360 | 윈도우를 sliding 하는 크기
170 x 8 + +본 예제에서는 10초 주기마다 1530 개의 데이터를 잘라서 operator에게 전달합니다. 입력데이터는 총 170개의 LINK_ID 를 가집니다. 따라서 5분 간격으로 170개의 데이터가 들어오는 셈입니다. 그런데 스트림 데이터는 계속해서 들어오고 있으므로 첫 시작 데이터가 어디일지 가늠하기 어렵습니다. 따라서 필요한 8 주기 보다 한 주기를 더 가져와서 처리하고 (170 x 9 = 1530 개), 8 주기 씩 슬라이딩 합니다 (170 x 8 = 1360 개). 아래에서 설명할 GroupByFilterOperator 및 OrderByFilterOperator 를 이용하여 170 x 8 = 1360 개 데이터를 필터링해서 사용합니다. + +#### Runner +SimpleSparkRunner 를 선택합니다. +field |value | 설명 +--|---|-- +inJason | false | false로 설정하는 경우 json 형태의 파라메타를 커맨드라인 파라미터 형태로 변환하여 호출되는 외부 시스템에 전달. True 이면 json 형태의 파라메타 형태 그대로 외부시스템에 전달. +sparkArgs | | 아래의 표 참고 + +sparkArgs 설정은 다음과 같이 합니다. +field |value | 설명 +--|---|-- +master | local[\*] | YARN 의 마스터 +numExecutors | 2 | 익스큐터 개수 +excuterCores | 2 | 익스큐터 코어 개수 +executerMemory | 1g | Spark 의 익스큐터 메모리 +driverMemory | 1g | Spark 드라이버 메모리 +totalCores | 2 | Spark 전체 할당 가능 코어수 +sparkVersion | 2.3.0 | KSB프레임워크의 Spark 버전 + + + +#### Operator +총 6 개의 Operator를 사용하여 입력데이터를 가공합니다. + + +1. **ColumnSelectOperator** + +field |value | 설명 +--|---|-- +selectedColumnName | PRCS_DATE
LINK_ID
PRCS_SPD | 선택할 칼럼 이름 + +2. **GroupByFilterOperator** + +field |value | 설명 +--|---|-- +keyColName | PRCS_DATE | 총계처리를 할 key 칼럼 이름 +groupby | COUNT | 총계처리 방법 선택 +condition | EQUAL | 총계처리 후 Filter 방법 선택 +value | 170 | Filter 의 값 입력 + +1530 개 데이터에서 LINK_ID 가 170 개가 되지 않는 시간의 데이터를 버리기 위해서, PRCS_DATE 칼럼을 COUNT 하여 170 이 되는 조건의 데이터만 남깁니다. 그러면 170 x 8 = 1360 개의 데이터만 남습니다. 그런데 우연히 데이터를 시작시점부터 잘 받았을 경우, 170 x 9 = 1530 개의 데이터가 남습니다. + +3. **OrderByFilterOperator** + +field |value | 설명 +--|---|-- +keyColName | PRCS_DATE | 정렬을 할 key 칼럼 이름 +method | ASC | 정렬 방법 선택 (ASC: 오름차순, DESC: 내림차순) +value | 1360 | 선택할 Row 의 개수 + +PRCS_DATE 칼럼을 정렬하여 8 주기의 데이터 (170 x 8 = 1360 개) 만 남깁니다. + +4. **MinMaxScalingOperator** + +field |value | 설명 +--|---|-- +selectedColumnId | 2 | 선택할 칼럼 ID, PRCS_SPD 선택 (0부터 시작) +max | 0.5 | 데이터가 scaling 될 때 최대값 +min | -0.5 | 데이터가 scaling 될 때 최소값 +withMinMaxRange | true | 위에서 설정한 max, min 값 사용 여부 +maxRealValue | 100 | 데이터에서 정상 범위로 사용할 최소값 +minRealValue | 0 | 데이터에서 정상 범위로 사용할 최대값 + + +5. **PivotOerator** + +field |value | 설명 +--|---|-- +selectedColumnId | 1 | Pivot 할 칼럼 ID, LINK_ID 선택 (0부터 시작) +groupByColumn | 0 | 총계처리를 할 key 칼럼 ID, PRCS_DATE 선택 (0부터 시작) +valueColumn | 2 | 총계처리를 할 칼럼 ID, PRCS_SPD 선택 (0부터 시작) +method | AVG | 총계처리 방법 선택 + +시간 및 170 개의 LINK_ID 값을 칼럼으로 가지고, 시간에 따른 평균속도를 행으로 가지도록 DataFrame 을 변경합니다. + +![Pivot 결과](./images/2.6_pivotResult.png) + +6. **ColumnSelectWithFileOperator** + +field |value | 설명 +--|---|-- +columnIdPath | dataset/input/traffic/
traffic_kangnam_cols2.txt | 선택할 칼럼 이름이 정의된 텍스트파일 경로 및 이름 입력 + +텐서플로우 기반 속도 예측 모델의 입력 순서에 맞도록 칼럼을 선택합니다. 본 예제에서는 칼럼의 개수가 많으므로 ColumnSelectOperator 를 사용하여 선택할 칼럼 이름을 일일이 입력하는 것이 매우 번거로우므로 ColumnSelectWithFileOperator 를 사용합니다. 칼럼 이름을 쉼표(,) 로 구분하여 입력한 텍스트파일로 부터 칼럼 이름을 읽어들여 칼럼을 선택합니다. + +
+ +![워크플로우 완성 화면](./images/2.6.1_workflow.png) + +ksbuser@etri.re.kr 계정으로 접속하면 예제 워크플로우가 만들어져있습니다. 불러오기해서도 돌려볼 수 있습니다. + +## 워크플로우 실행 및 모니터링하기 +### 워크플로우 실행하기 +위에서 작성한 워크플로우를 실행하기 위해서는 워크플로우 편집기 상단의 실행 버튼을 누릅니다. 스트림 데이터를 처리하므로 Batch 체크 박스는 해제하고 워크플로우를 제출합니다. + + +### 워크플로우 모니터링 하기 + +KSB 웹툴킷 상단 메뉴의 Monitoring 탭을 클릭하면 Workflow 탭이 선택되어있습니다. Workflow 탭에서는 실행한 워크플로우들의 목록 및 동작 상태를 확인하고 제어할 수 있습니다. 위에서 실행한 워크플로우 이름을 클릭하면 워크플로우의 각 엔진들의 동작 상태 (status) 를 확인할 수 있습니다. + +![워크플로우 동작 상태 확인](./images/2.6.1_monitoring.png) + + +WorkFlow History 탭을 선택하면, 프레임워크에서 워크플로우가 동작하며 발생시킨 로그 정보를 확인 할 수 있습니다. + +![워크플로우 히스토리](./images/2.6.1_monitoring_history.png) + +### 결과 파일 확인 + +FileWriter 에서 지정한 위치(home/csle/ksb-csle/examples/output)에 결과 파일이 생성된 것을 확인할 수 있습니다. + +![결과 파일 확인](./images/2.6.1_resultFile.png) + +"APPEND" 모드로 파일을 저장하는 경우, 기존의 데이터에 새로 가공한 데이터가 추가되어 저장됩니다. 그러나 시간 순으로 정렬이 되어 추가되지 않으므로 데이터를 활용할 때 주의가 필요합니다. + +## 워크플로우 종료하기 +KSB 웹툴킷 상단 "Monitoring" 메뉴의 "Workflow" 탭에서 실행 중인 TrafficPreprocessing 워크플로우를 종료()할 수 있습니다. + +## 워크플로우 저장하기 +워크플로우 편집 화면에서 작성한 워크플로우를 "Save Workflow" 메뉴를 이용하여 저장합니다. diff --git a/manual1903/2.6.2.TrafficTraining.md b/manual1903/2.6.2.TrafficTraining.md new file mode 100755 index 0000000000000000000000000000000000000000..e480c87ae2c11266e1c9b8eb2e6476669c1689c0 --- /dev/null +++ b/manual1903/2.6.2.TrafficTraining.md @@ -0,0 +1,187 @@ +--- +html: + toc: true + offline: true +export_on_save: + html: true +--- +# 교통속도예측 텐서플로우 모델 학습하기 (TrafficTraining) +--- +일정 기간 수집하여 전처리한 시계열 속도 데이터를 이용하여 텐서플로우 기반 딥러닝 모델을 학습하여 서빙용 모델을 만드는 예제를 설명합니다. + +## 입력 데이터 준비하기 +교통속도 스트림 데이터 전처리하기 매뉴얼에서 만든 결과 파일(``traffic_processing.csv``) 이 있다고 가정합니다. 또한 텐서플로우 기반의 15분 뒤 속도를 예측하는 모델이 파이썬 코드로 구현되어 있다고 가정합니다. + + +### 입력파일 업로드 +``traffic_processing.csv`` 파일을 HDFS repository에 웹툴킷을 이용하여 dataset/input/traffic 위치에 업로드 합니다. + +![파일 업로드](./images/2.6.2_fileUpload.png) + +### 사용자 파이썬 코드 업로드 +Host PC의 /home/csle/ksb-csle/components/src/main/python/kangnam 폴더를 HDFS repository에 웹툴킷을 이용하여 업로드 합니다. +dataset/tensorflowTrainSource 위치에 폴더를 업로드 합니다. + +![코드 업로드](./images/2.6.2_codeUpload.png) + +![코드 업로드](./images/2.6.2_codeUpload2.png) + +`tensorflow_train.py` 파일은 텐서플로우 기반의 15분 뒤 속도를 예측하는 모델을 학습하는 코드가 구현되어 있는 파일입니다. (본 예제에서는 LSTM 알고리즘을 이용하여 15분 뒤 속도를 예측하는 모델을 사용합니다.) 프레임워크와 연동하여 학습이 되도록 파이썬 코드에 input 과 output 경로 등을 argument 로 받는 부분이 코딩되어야 합니다. 자세한 내용은 KSB 프레임워크와 연동을 위한 tensorflow 학습코드 작성하기 를 참고합니다. +main 함수를 포함한 사용자 파이썬 코드에서 사용하는 라이브러리 파일 등은 동일한 폴더에 위치 시키거나 1 depth의 하위 폴더까지 작성 가능합니다. + + +##워크플로우 생성하기 +워크플로우 편집화면에서 워크플로우를 작성합니다. 본 예제에서는 하나의 엔진을 생성합니다. + +- 워크플로우 속성 + +속성 | 값 | 비고 +--|---|-- +name | TrafficTraining | 워크플로우 이름 +description | 강남 교통 학습 예제 | 워크플로우를 설명하는 글 +isBatch | true | 배치 처리를 하는 워크플로우 이므로, true 로 지정 +verbose | false | 디버깅을 위해 로그정보를 보고자할 경우, true 로 지정 + + +### 엔진 생성하기 +텐서플로우를 이용하여 배치 형태로 딥러닝 모델을 생성하기 위해 Batch 엔진을 선택합니다. + + +- 엔진 속성 + +순번 | 엔진 Type | NickName | RunType | 설명 +--|---|---|---|-- +1 | Batch | TrainEngine | 즉시실행 | 딥러닝 모델 학습 + + +#### Reader +FileReader를 선택하고 아래표와 같은 속성을 지정합니다. filePath 에 입력 파일의 경로 및 파일명을 지정합니다. 이 값은 사용자 파이썬 코드(텐서플로우 모델을 정의하고 학습하는 코드)의 `--input` 파라미터로 전달됩니다. + +field |value | 설명 +--|---|-- +filePath | dataset/input/traffic/traffic_processing.csv | 파일 경로 +fileType | CSV | 파일 타입 +delimiter | , | 구분자 +header | false | header 포함 유무 +saveMode | | 사용 하지 않음 + +filePath 에는 아래와 같이 3가지 경로가 입력 가능합니다. + +1) 로컬 파일시스템 절대경로 + file:///home/csle/ksb-csle/examples/input/{선택한 경로 및 파일명} +2) hdfs 절대경로 + hdfs://{host}:{port}/user/{user_id}/dataset/{선택한 경로 및 파일명} +3) Hdfs 상대경로 + dataset/{선택한 경로 및 파일명} + +#### Writer +FileWriter를 선택하고 아래표와 같은 속성을 지정합니다. filePath 에 학습한 딥러닝 모델이 최종 저장될 폴더를 지정합니다. 해당 폴더에 자동으로 최신버전의 폴더를 생성한 후 모델이 저장됩니다. 모델의 버전은 0000 부터 시작하여 1씩 증가합니다. filePath 에 입력한 값은 사용자 파이썬 코드(텐서플로우 모델을 정의하고 학습하는 코드)의 `--output` 파라미터로 전달됩니다. + + +field |value | 설명 +--|---|-- +filePath | hdfs://csle1:9000/user/ksbuser_etri_re_kr/model/kangnam | 저장 경로 +fileType | CSV | 파일 타입 +delimiter | , | 구분자 +header | false | header 포함 유무 +saveMode | | 사용 하지 않음 + +filePath 에는 아래와 같이 3가지 경로가 입력 가능합니다. + +1) 로컬 파일시스템 절대경로 + file:///home/csle/ksb-csle/{선택한 경로} +2) hdfs 절대경로 + hdfs://{host}:{port}/user/{user_id}/model/{선택한 경로} +3) hdfs 상대경로 + model/{선택한 경로} + 위와 같이 입력하는 경우, 자동으로 **사용자 기본 파일경로** 가 앞에 추가됩니다. 따라서 아래와 같은 위치에 모델이 저장됩니다. hdfs://{host}:{port}/user/{user_id}/applications/{workflow_id}/output/model/{선택한 경로} + +그러나, 본 예제에서는 다른 엔진에서 학습한 딥러닝 모델을 사용하도록 하기 위해 HDFS 절대경로를 지정합니다. 상대경로를 지정할 경우, 동적으로 생성한 **사용자 기본 파일경로** 가 앞에 추가되므로 다른 엔진에서 정확한 파일 경로를 지정하는 것이 어렵습니다. + +#### Controller +Controller는 외부 Tensorflow 호출하기 위해 ExternalAnalysisController을 선택합니다. + +#### Runner +TensorflowRunner를 선택합니다. pyEntryPath 에 main 함수를 포함하는 사용자 파이썬 코드(텐서플로우 모델을 정의하고 학습하는 코드)의 경로 및 파일명을 지정합니다. + +field |value | 설명 +--|---|-- +pyEntryPath | dataset/tensorflowTrainSource/kangnam/tensorflow_train.py | 사용자 파이썬 코드 경로 +cluster | false | cluster 환경 실행 여부 +inJson | false | Json 형태 파라미터 전달 유무 +tfVersion | r1.6 | Tensorflow 버전 정보 + +pyEntryPath 에는 아래와 같이 3가지 경로가 입력 가능합니다. + +1) 로컬 파일시스템 절대경로 + file:///home/csle/ksb-csle/{선택한 경로 및 파일명} +2) hdfs 절대경로 + hdfs://{host}:{port}/user/{user_id}/{선택한 경로 및 파일명} +3) hdfs 상대경로 + {선택한 경로 및 파일명} + +사용자는 로컬 파일시스템에 원하는 이름(예: kangnam) 폴더를 생성하고 해당 폴더 내에 main 함수를 포함하는 사용자 python 파일(예:tensorflow_train.py)을 작성합니다. +그리고, 관련된 라이브러리 파일 등은 동일한 폴더에 위치 시키거나 1 depth의 하위 폴더까지 작성 가능합니다. + +결과적으로 KSB 인공지능 프레임워크는 엔진 실행시, 로컬 파일시스템의 사용자 repository에 있는 kangnam 폴더 및 하위 1 depth 폴더를 file:///home/csle/ksb-csle/components/src/main/python/로 copy 후 tensorflow를 실행합니다. + +#### Operator +DLTrainOperator를 선택하고 아래표와 같은 속성을 지정합니다. modelPath 에 내부적으로 학습된 모델을 저장할 경로를 지정합니다. 이 값은 사용자 파이썬 코드(텐서플로우 모델을 정의하고 학습하는 코드)의 `--modelPath` 파라미터로 전달됩니다. 로컬 파일시스템 절대경로로 입력합니다. +또한, modelPath를 기준으로 최신버전의 폴더를 자동으로 생성하여 사용자 파이썬 코드의 `--model` 파라미터로 전달합니다. 모델의 버전은 0000 부터 시작하여 1씩 증가합니다. 따라서 예를 들면: + +- (modelPath) file:///home/csle/ksb-csle/{선택한 경로} +- (자동생성되는 model) file:///home/csle/ksb-csle/{선택한 경로}/{모델버전} + +field |value | 설명 +--|---|-- +modelPath | file:///home/csle/ksb-csle/examples/output/kangnam/model | 내부적으로 학습된 모델을 저장할 경로
반드시 로컬 시스템 경로만 지정 +additionalParams | | 아래의 표 참고 + +additionalParams 설정은 [+] 버튼을 두 번 클릭하여 다음과 같이 합니다. 사용자가 필요한 파라미터의 이름과 값을 세팅하여 사용자 파이썬 코드로 전달합니다. + +field |value | 설명 +--|---|-- +paramName | isTrain | 학습 유무 +paramValue | True | + +field |value | 설명 +--|---|-- +paramName | num_epochs | 학습 반복 횟수 +paramValue | 2 | + +
+ +![워크플로우 완성 화면](./images/2.6.2_workflow.png) + +ksbuser@etri.re.kr 계정으로 접속하면 예제 워크플로우가 만들어져있습니다. 불러오기해서도 돌려볼 수 있습니다. + +## 워크플로우 실행 및 모니터링하기 +### 워크플로우 실행하기 +위에서 작성한 워크플로우를 실행하기 위해서는 워크플로우 편집기 상단의 실행 버튼을 누릅니다. + + +### 워크플로우 모니터링 하기 + +KSB 웹툴킷 상단 메뉴의 Monitoring 탭을 클릭하면 Workflow 탭이 선택되어있습니다. Workflow 탭에서는 실행한 워크플로우들의 목록 및 동작 상태를 확인하고 제어할 수 있습니다. 위에서 실행한 워크플로우 이름을 클릭하면 워크플로우의 각 엔진들의 동작 상태 (status) 를 확인할 수 있습니다. + +![워크플로우 동작 상태 확인](./images/2.6.2_monitoring.png) + + +WorkFlow History 탭을 선택하면, 프레임워크에서 워크플로우가 동작하며 발생시킨 로그 정보를 확인 할 수 있습니다. + +![워크플로우 히스토리](./images/2.6.2_monitoring_history.png) + +### 학습한 후 export 된 모델 확인하기 +FileWriter 에서 지정한 위치 (hdfs://csle1:9000/user/ksbuser_etri_re_kr/model/kangnam) 에 학습된 모델이 생성된 것을 확인합니다. +KSB 웹툴킷 상단의 Repository 메뉴에서 model/kangnam 위치에 최신버전인 0000 폴더를 만들고 학습된 모델(saved_model.pb 파일 및 variables 폴더)이 저장된 것을 확인할 수 있습니다. 만약 0000 폴더가 이미 있었다면, 0001 폴더를 만들고 학습된 모델이 저장됩니다. + +![학습된 모델 확인](./images/2.6.2_modelSave.png) + +**❖ 참고** +학습 후 export 한 모델을 프레임워크에서 REST API 서비스가 가능하도록 띄우고, 클라이언트는 쿼리를 통해 예측 결과를 받을 수 있습니다. 사용자는 온디맨드 방식으로 서비스를 구성하거나 (온디맨드 방식으로 교통속도예측 모델 서빙하기 참고) 스트림 방식으로 서비스를 구성할 수 있습니다 (스트림 방식으로 교통속도예측 모델 서빙하기 참고). + +## 워크플로우 종료하기 +KSB 웹툴킷 상단 "Monitoring" 메뉴의 "Workflow" 탭에서 실행 중인 TrafficTraining 워크플로우를 종료()할 수 있습니다. + +## 워크플로우 저장하기 +워크플로우 편집 화면에서 작성한 워크플로우를 "Save Workflow" 메뉴를 이용하여 저장합니다. diff --git a/manual1903/2.6.3.TrafficOnDemandServing.md b/manual1903/2.6.3.TrafficOnDemandServing.md new file mode 100755 index 0000000000000000000000000000000000000000..a5974ed16626b40d629b83a8ebf5d9341c0033e7 --- /dev/null +++ b/manual1903/2.6.3.TrafficOnDemandServing.md @@ -0,0 +1,101 @@ +--- +html: + toc: true + offline: true +export_on_save: + html: true +--- +# 온디맨드 방식으로 교통속도예측 모델 서빙하기 (TrafficOnDemandServing) +--- +텐서플로우 기반 딥러닝 모델을 이용한 교통 속도 예측 RESTful 서비스 예제를 설명합니다. + +## 입력 데이터 준비하기 +교통속도예측 텐서플로우 모델 학습하기 매뉴얼에서 학습한 후 export 된 모델이 ``hdfs://csle1:9000/user/ksbuser_etri_re_kr/model/kangnam`` 위치에 저장되어 있다고 가정합니다. + + + +##워크플로우 생성하기 +워크플로우 편집화면에서 워크플로우를 작성합니다. 하나의 엔진을 생성합니다. + +- 워크플로우 속성 + +속성 | 값 | 비고 +--|---|-- +name | TrafficOnDemandServing | 워크플로우 이름 +description | 강남 교통 RESTful 서비스 예제 | 워크플로우를 설명하는 글 +isBatch | false | RESTful 서비스를 하는 워크플로우 이므로, false 로 지정 +verbose | false | 디버깅을 위해 로그정보를 보고자할 경우, true 로 지정 + + +### 엔진 생성하기 +텐서플로우를 이용하여 온 디맨드 형태로 교통속도 예측 서비스를 생성하는 워크플로우이므로, OnDemandServing 엔진을 선택합니다. OnDemandServing 엔진에서는 데이터를 입출력하기 위한 Reader 와 Writer를 사용하지 않습니다. 데이터는 request 에 실어서 보냅니다. + + +- 엔진 속성 + +순번 | 엔진 Type | NickName | RunType | 설명 +--|---|---|---|-- +1 | OnDemandServing | ServingEngine | 즉시실행 | Restful 서비스 제공 + + +#### Controller +TensorflowServingController 를 선택합니다. + + +#### Runner +TensorflowServingRunner 를 선택하고 아래표와 같은 속성을 지정합니다. +field |value | 설명 +--|---|-- +port | 8001 | RESTful 서비스 포트번호 +modelName | kangnam_traffic | 모델의 이름 +modelBasePath | model/kangnam | 모델 경로 + + +#### Operator +TensorflowServingOperator 를 선택합니다. + + +
+ +![워크플로우 완성 화면](./images/2.6.3_workflow.png) + +ksbuser@etri.re.kr 계정으로 접속하면 예제 워크플로우가 만들어져있습니다. 불러오기해서도 돌려볼 수 있습니다. + +## 워크플로우 실행 및 모니터링하기 +### 워크플로우 실행하기 +위에서 작성한 워크플로우를 실행하기 위해서는 워크플로우 편집기 상단의 실행 버튼을 누릅니다. + + +### 워크플로우 모니터링 하기 + +KSB 웹툴킷 상단 메뉴의 Monitoring 탭을 클릭하면 Workflow 탭이 선택되어있습니다. Workflow 탭에서는 실행한 워크플로우들의 목록 및 동작 상태를 확인하고 제어할 수 있습니다. 위에서 실행한 워크플로우 이름을 클릭하면 워크플로우의 각 엔진들의 동작 상태 (status) 를 확인할 수 있습니다. + +![워크플로우 동작 상태 확인](./images/2.6.3_monitoring.png) + + +WorkFlow History 탭을 선택하면, 프레임워크에서 워크플로우가 동작하며 발생시킨 로그 정보를 확인 할 수 있습니다. + +![워크플로우 히스토리](./images/2.6.3_monitoring_history.png) + +### 서빙 서비스 상태 보기 +KSB 웹툴킷 Dashboard 화면을 선택하면, 화면 하단의 Services 테이블에서 본 예제에서 실행한 서빙 서비스에 대한 정보를 확인할 수 있습니다. + +![서빙 서비스 상태](./images/2.6.3_services.png) + +### 서빙 서비스 확인하기 +Postman 프로그램을 활용하여 서빙 엔진이 제공하는 RESTful 서비스를 테스트할 수 있습니다. Postman을 실행하여 아래와 같이 설정합니다. +- 좌측 상단의 콤보 박스에서 **POST** 를 선택하고, 질의 선택할 URL을 입력합니다. 본 예제에서의 URL은 서빙 엔진이 제공하는 URL (``http://0.0.0.0:8001/model/predict_speed/in1``)을 사용합니다. "predict_speed" 는 모델 export 시 정의한 signature 이름이고, "in1" 은 입력 tensor 로 정의한 이름입니다. +- **Headers** 메뉴에서 Key 필드에 "Content-Type"을, Value 필드에 "text/csv" 을 입력합니다. + +![Postman 설정](./images/2.6.3_postmanSetting.png) + +- **Body** 메뉴에서 **binary** 라디오 버튼을 선택한 후, **파일 선택** 버튼을 클릭하여 입력 파일을 선택합니다. 입력파일은 Host PC의 /home/csle/ksb-csle/examples/input 폴더에 있는 ``traffic_serving_input1.csv`` 또는 ``traffic_serving_input2.csv`` 를 사용합니다. +- 우측 상단의 **Send** 버튼을 클릭하면 질의 요청이 제출되고, 결과가 화면 하단에 표시됩니다. 입력 데이터에 대한 15분 뒤 예측된 교통 속도가 리턴됩니다. + +![챗봇 서비스 확인하기](./images/2.6.3_servingResult1.png) + +## 워크플로우 종료하기 +KSB 웹툴킷 상단 "Monitoring" 메뉴의 "Workflow" 탭에서 실행 중인 TrafficOnDemandServing 워크플로우를 종료()할 수 있습니다. + +## 워크플로우 저장하기 +워크플로우 편집 화면에서 작성한 워크플로우를 "Save Workflow" 메뉴를 이용하여 저장합니다. diff --git a/manual1903/2.6.4.TrafficStreamServing.md b/manual1903/2.6.4.TrafficStreamServing.md new file mode 100755 index 0000000000000000000000000000000000000000..8b41576df7885bd4fdee1142aba1c49079d256da --- /dev/null +++ b/manual1903/2.6.4.TrafficStreamServing.md @@ -0,0 +1,264 @@ +--- +html: + toc: true + offline: true +export_on_save: + html: true +--- +# 스트림 방식으로 교통속도예측 모델 서빙하기 (TrafficStreamServing) +--- +교통센서로부터 시계열 속도 데이터를 수집한 후 전처리를 수행하고, 텐서플로우 기반 딥러닝 모델에 의해 예측된 속도를 클라이언트로 전달하는 예제를 설명합니다. + +## 입력 데이터 준비하기 +본 예제에서는 교통센서로부터 시계열 속도 데이터(LINK_ID, 속도, 날짜)를 Kafka로 입력 받는 것을 가정합니다. 5분 단위로 측정된 센서 데이터가 시간 순으로 들어온다고 가정합니다. 또한, 교통속도예측 텐서플로우 모델 학습하기 매뉴얼에서 학습한 후 export 된 모델이 ``hdfs://csle1:9000/user/ksbuser_etri_re_kr/model/kangnam`` 위치에 저장되어 있다고 가정합니다. + +### 시계열 속도 스트림데이터 생성하기 +본 예제를 위해 준비된 파일로부터 시계열 속도 데이터를 한줄씩 읽어 Kafka로 보내주는 파이썬 프로그램을 제공합니다. + +입력파일은 Host PC의 /home/csle/ksb-csle/examples/input 폴더에 존재하는 ``201601_kangnam.csv`` 파일입니다. 5분 단위로 LINK_ID 와 속도가 시간순으로 정렬되어 있습니다. + +- 입력파일 형태 및 내용 + +PRCS_DATE | LINK_ID | PRCS_SPD +--|---|-- +2016-01-01 00:00:00 | 1210006200 | 61 +2016-01-01 00:00:00 | 1210006300 | 66.8 +2016-01-01 00:00:00 | 1210011200 | 49.8 +... | ... | ... + + +파이썬 프로그램은 Host PC의 /home/csle/ksb-csle/examples 폴더에 존재하는 kangnam_producer.py 입니다. 파이썬 프로그램이 있는 폴더로 이동하여 아래 명령어를 실행합니다. + +``` +cd /home/csle/ksb-csle/examples +python3 kangnam_producer.py ./input/201601_kangnam.csv localhost:9092 traffic 0.01 + +첫번째 arg: 보내려는 csv 파일 경로 +두번째 arg: 카프카 서버 접속 주소 +세번째 arg: 토픽명 +네번째 arg: 각 row 를 전송하는 주기 (초 단위) +``` + +아래 그림과 같이 파일로 부터 데이터를 한줄씩 읽어 Kafka로 보내는 것을 확인할 수 있습니다. + +![스트림 데이터 생성](./images/2.6_kafkaInput_sorted.png) + + +### 기타 입력파일 업로드 +전처리에 필요한 파일들을 HDFS repository에 웹툴킷을 이용하여 dataset/input/traffic 위치에 업로드 합니다. 아래 파일들은 Host PC의 /home/csle/ksb-csle/examples/input 폴더에 있습니다. + +- traffic_kangnam_clos.txt + + +![파일 업로드](./images/2.6_fileUpload.png) + + +##워크플로우 생성하기 +워크플로우 편집화면에서 워크플로우를 작성합니다. 본 예제에서는 하나의 엔진을 생성합니다. + +- 워크플로우 속성 + +속성 | 값 | 비고 +--|---|-- +name | TrafficStreamServing | 워크플로우 이름 +description | 강남 교통 스트림 서빙 예제 | 워크플로우를 설명하는 글 +isBatch | false | 스트림 처리를 하는 워크플로우 이므로, false 로 지정 +verbose | false | 디버깅을 위해 로그정보를 보고자할 경우, true 로 지정 + + +### 엔진 생성하기 +스트림형태로 입력되는 속도 데이터를 입력 받아 전처리 한 후, 15분 뒤 속도를 예측해서 스트림 형태로 내보내므로 StreamToStream엔진을 선택합니다. + +- 엔진 속성 + +순번 | 엔진 Type | NickName | RunType | 설명 +--|---|---|---|-- +1 | StreamToStream | PredictEngine | 즉시실행 | 데이터 전처리 후 딥러닝 모델 기반 예측 + + +#### Reader +KafkaReader를 선택하고 아래표와 같은 속성을 지정합니다. + +field |value | 설명 +--|---|-- +bootStrapServers | localhost:9092 | Kafka 접속 주소(IP, 포트번호) +zooKeeperConnect | csle1:2181 | zookeeper의 접속주소(IP, 포트번호) +groupId | traffic | Kafka topic 그룹 아이디 +topic | traffic | Kafka 큐의 이름 + + +#### Writer +KafkaWriter를 선택하고 아래표와 같은 속성을 지정합니다. + +field |value | 설명 +--|---|-- +bootStrapServers | localhost:9092 | Kafka 접속 주소(IP, 포트번호) +zooKeeperConnect | csle1:2181 | zookeeper의 접속주소(IP, 포트번호) +groupId | traffic | Kafka topic 그룹 아이디 +topic | kangnam_output | Kafka 큐의 이름 + + +#### Controller +SparkStreamController를 선택하고 아래표와 같은 속성을 지정합니다. +SparkStreamController는 스트림으로 입력되는 데이터를 큐에 저장하고, 일정 주기 마다 정해진 윈도우 크기로 잘라서 operator 에게 전달합니다. + +field |value | 설명 +--|---|-- +operationPeriod | 5 | Reader로 부터 데이터를 읽어올 주기, 초 단위 +windowSize | 1530 | 큐에서 사용할 윈도우 크기
170 x 9 +slidingSize | 170 | 윈도우를 sliding 하는 크기 + +본 예제에서는 5초 주기마다 1530 개의 데이터를 잘라서 operator에게 전달합니다. 입력데이터는 총 170개의 LINK_ID 를 가집니다. 따라서 5분 간격으로 170개의 데이터가 들어오는 셈입니다. 그런데 스트림 데이터는 계속해서 들어오고 있으므로 첫 시작 데이터가 어디일지 가늠하기 어렵습니다. 따라서 필요한 8 주기 보다 한 주기를 더 가져와서 처리하고 (170 x 9 = 1530 개), 1 주기 씩 슬라이딩 합니다. 아래에서 설명할 GroupByFilterOperator 및 OrderByFilterOperator 를 이용하여 170 x 8 = 1360 개 데이터를 필터링해서 사용합니다. + +#### Runner +SimpleSparkRunner 를 선택합니다. +field |value | 설명 +--|---|-- +inJason | false | false로 설정하는 경우 json 형태의 파라메타를 커맨드라인 파라미터 형태로 변환하여 호출되는 외부 시스템에 전달. True 이면 json 형태의 파라메타 형태 그대로 외부시스템에 전달. +sparkArgs | | 아래의 표 참고 + +sparkArgs 설정은 다음과 같이 합니다. +field |value | 설명 +--|---|-- +master | local[\*] | YARN 의 마스터 +numExecutors | 2 | 익스큐터 개수 +excuterCores | 2 | 익스큐터 코어 개수 +executerMemory | 1g | Spark 의 익스큐터 메모리 +driverMemory | 1g | Spark 드라이버 메모리 +totalCores | 2 | Spark 전체 할당 가능 코어수 +sparkVersion | 2.3.0 | KSB프레임워크의 Spark 버전 + + + +#### Operator +총 9개의 Operator를 사용하여 입력데이터를 가공합니다. + + +1. **ColumnSelectOperator** + +field |value | 설명 +--|---|-- +selectedColumnName | PRCS_DATE
LINK_ID
PRCS_SPD | 선택할 칼럼 이름 + +2. **GroupByFilterOperator** + +field |value | 설명 +--|---|-- +keyColName | PRCS_DATE | 총계처리를 할 key 칼럼 이름 +groupby | COUNT | 총계처리 방법 선택 +condition | EQUAL | 총계처리 후 Filter 방법 선택 +value | 170 | Filter 의 값 입력 + +1530 개 데이터에서 LINK_ID 가 170 개가 되지 않는 시간의 데이터를 버리기 위해서, PRCS_DATE 칼럼을 COUNT 하여 170 이 되는 조건의 데이터만 남깁니다. 그러면 170 x 8 = 1360 개의 데이터만 남습니다. 그런데 우연히 데이터를 시작시점부터 잘 받았을 경우, 170 x 9 = 1530 개의 데이터가 남습니다. + +3. **OrderByFilterOperator** + +field |value | 설명 +--|---|-- +keyColName | PRCS_DATE | 정렬을 할 key 칼럼 이름 +method | ASC | 정렬 방법 선택 (ASC: 오름차순, DESC: 내림차순) +value | 1360 | 선택할 Row 의 개수 + +PRCS_DATE 칼럼을 정렬하여 8 주기의 데이터 (170 x 8 = 1360 개) 만 남깁니다. + +4. **MinMaxScalingOperator** + +field |value | 설명 +--|---|-- +selectedColumnId | 2 | 선택할 칼럼 ID, PRCS_SPD 선택 (0부터 시작) +max | 0.5 | 데이터가 scaling 될 때 최대값 +min | -0.5 | 데이터가 scaling 될 때 최소값 +withMinMaxRange | true | 위에서 설정한 max, min 값 사용 여부 +maxRealValue | 100 | 데이터에서 정상 범위로 사용할 최소값 +minRealValue | 0 | 데이터에서 정상 범위로 사용할 최대값 + + +5. **PivotOerator** + +field |value | 설명 +--|---|-- +selectedColumnId | 1 | Pivot 할 칼럼 ID, LINK_ID 선택 (0부터 시작) +groupByColumn | 0 | 총계처리를 할 key 칼럼 ID, PRCS_DATE 선택 (0부터 시작) +valueColumn | 2 | 총계처리를 할 칼럼 ID, PRCS_SPD 선택 (0부터 시작) +method | AVG | 총계처리 방법 선택 + +시간 및 170 개의 LINK_ID 값을 칼럼으로 가지고, 시간에 따른 평균속도를 행으로 가지도록 DataFrame 을 변경합니다. + +![Pivot 결과](./images/2.6_pivotResult.png) + +6. **ColumnSelectWithFileOperator** + +field |value | 설명 +--|---|-- +columnIdPath | dataset/input/traffic/
traffic_kangnam_cols.txt | 선택할 칼럼 이름이 정의된 텍스트파일 경로 및 이름 입력 + +텐서플로우 기반 속도 예측 모델의 입력 순서에 맞도록 칼럼을 선택합니다. 본 예제에서는 칼럼의 개수가 많으므로 ColumnSelectOperator 를 사용하여 선택할 칼럼 이름을 일일이 입력하는 것이 매우 번거로우므로 ColumnSelectWithFileOperator 를 사용합니다. 칼럼 이름을 쉼표(,) 로 구분하여 입력한 텍스트파일로 부터 칼럼 이름을 읽어들여 칼럼을 선택합니다. + +7. **VectorAssembleColumnAddOperator** + +field |value | 설명 +--|---|-- +vectorAssembleColumnName | in1 | 추가할 벡터 칼럼 이름 입력 + +DataFrame의 모든 칼럼을 하나의 벡터로 만들어서 벡터타입의 칼럼을 마지막에 추가합니다. + +8. **FlattenOperator** + +field |value | 설명 +--|---|-- +columnName | in1 | 칼럼 이름 입력 + +선택한 칼럼의 데이터를 하나의 벡터로 만들어서 벡터 값만 남깁니다. 텐서플로우 모델의 입력형태로 데이터를 변환하는 과정입니다. + +9. **TensorflowPredictOperator** + +field |value | 설명 +--|---|-- +modelServerUri | model/kangnam | 모델 경로 +modelName | kangnam_traffic | 모델 이름 +signatureName | predict_speed | 모델 시그네쳐 이름 + +텐서플로우 서빙용으로 export한 모델의 경로, TensorflowPredictOperator를 정의할때 내부적으로 모델을 구분하기 위한 이름, 텐서플로우 모델을 export할때 정의한 시그네쳐 이름에 대한 정보를 입력하여 텐서플로우 모델을 서빙용으로 띄웁니다 (처음에 한번만 수행함). 그리고 서빙용 모델에 데이터를 보내고 예측된 속도 값을 리턴받아서 내부적으로 DataFrame 형태로 변환합니다. + +
+ +![워크플로우 완성 화면](./images/2.6.4_workflow.png) + +ksbuser@etri.re.kr 계정으로 접속하면 예제 워크플로우가 만들어져있습니다. 불러오기해서도 돌려볼 수 있습니다. + +## 워크플로우 실행 및 모니터링하기 +### 워크플로우 실행하기 +위에서 작성한 워크플로우를 실행하기 위해서는 워크플로우 편집기 상단의 실행 버튼을 누릅니다. 스트림 데이터를 처리하므로 Batch 체크 박스는 해제하고 워크플로우를 제출합니다. + + +### 워크플로우 모니터링 하기 + +KSB 웹툴킷 상단 메뉴의 Monitoring 탭을 클릭하면 Workflow 탭이 선택되어있습니다. Workflow 탭에서는 실행한 워크플로우들의 목록 및 동작 상태를 확인하고 제어할 수 있습니다. 위에서 실행한 워크플로우 이름을 클릭하면 워크플로우의 각 엔진들의 동작 상태 (status) 를 확인할 수 있습니다. + +![워크플로우 동작 상태 확인](./images/2.6.4_monitoring.png) + + +WorkFlow History 탭을 선택하면, 프레임워크에서 워크플로우가 동작하며 발생시킨 로그 정보를 확인 할 수 있습니다. + +![워크플로우 히스토리](./images/2.6.4_monitoring_history.png) + + + +### 속도 예측 결과 확인하기 +Kafka의 consumer를 이용하여 속도 예측 결과를 확인합니다. 이를 위해 카프카가 설치된 폴더로 이동하여 아래 명령어를 실행합니다. 카프카는 ``home/csle/ksb-csle/tools/kafka_2.11-0.10.0.1`` 위치에 설치되어 있습니다. + +``` +cd /home/csle/ksb-csle/tools/kafka_2.11-0.10.0.1 +./bin/kafka-console-consumer.sh --zookeeper localhost:2181 --bootstrap-server localhost:9092 --topic kangnam_output +``` + +아래 그림과 같이 예측된 속도값을 Kafka로 보내는 것을 확인할 수 있습니다. + +![예측 결과 확인](./images/2.6_predictResult.png) + + +## 워크플로우 종료하기 +KSB 웹툴킷 상단 "Monitoring" 메뉴의 "Workflow" 탭에서 실행 중인 TrafficStreamServing 워크플로우를 종료()할 수 있습니다. + +## 워크플로우 저장하기 +워크플로우 편집 화면에서 작성한 워크플로우를 "Save Workflow" 메뉴를 이용하여 저장합니다. diff --git a/manual1903/2.6.5.TrafficTimeseriesProcessing.md b/manual1903/2.6.5.TrafficTimeseriesProcessing.md new file mode 100755 index 0000000000000000000000000000000000000000..2dcf22c409d185c7db021f27864209de645da4de --- /dev/null +++ b/manual1903/2.6.5.TrafficTimeseriesProcessing.md @@ -0,0 +1,346 @@ +--- +html: + toc: true + offline: true +export_on_save: + html: true +--- +# 실시간 시계열 교통속도 센서스트림 처리 하기 (TrafficTimeseriesProcessing) +--- +교통센서로부터 동시에 무작위로 들어오는 시계열 속도 데이터를 수집하여 시간 순으로 데이터를 처리해서 내보내는 예제를 설명합니다. + +## 입력 데이터 준비하기 +본 예제에서는 교통센서로부터 시계열 속도 데이터(LINK_ID, 속도, 날짜)를 Kafka로 입력 받는 것을 가정합니다. 초 단위로 측정된 센서 데이터가 무작위로 들어온다고 가정합니다. + +### 시계열 속도 스트림데이터 생성하기 +본 예제를 위해 준비된 파일로부터 시계열 속도 데이터를 한줄씩 읽어 Kafka로 보내주는 파이썬 프로그램을 제공합니다. + +입력파일은 Host PC의 /home/csle/ksb-csle/examples/input 폴더에 존재하는 ``201601_kangnam_orgarnized_new.csv`` 파일입니다. 초 단위로 측정한 LINK_ID 와 속도가 무작위로 섞여있습니다. + +- 입력파일 형태 및 내용 + +PRCS_DATE | LINK_ID | PRCS_SPD +--|---|-- +2016-01-01 00:00:27 | 1220034700 | 32.8 +2016-01-01 00:00:12 | 1220019900 | 15.9 +2016-01-01 00:00:08 | 1220025800 | 21.1 +... | ... | ... + + +파이썬 프로그램은 Host PC의 /home/csle/ksb-csle/examples 폴더에 존재하는 kangnam_producer.py 입니다. 파이썬 프로그램이 있는 폴더로 이동하여 아래 명령어를 실행합니다. + +``` +cd /home/csle/ksb-csle/examples +python3 kangnam_producer.py ./input/201601_kangnam_orgarnized_new.csv localhost:9092 traffic 0.01 + +첫번째 arg: 보내려는 csv 파일 경로 +두번째 arg: 카프카 서버 접속 주소 +세번째 arg: 토픽명 +네번째 arg: 각 row 를 전송하는 주기 (초 단위) +``` + +아래 그림과 같이 파일로 부터 데이터를 한줄씩 읽어 Kafka로 보내는 것을 확인할 수 있습니다. + +![스트림 데이터 생성](./images/2.6_kafkaInput.png) + + +### 기타 입력파일 업로드 +전처리에 필요한 파일들을 HDFS repository에 웹툴킷을 이용하여 dataset/input/traffic 위치에 업로드 합니다. 아래 파일들은 Host PC의 /home/csle/ksb-csle/examples/input 폴더에 있습니다. + +- trafficStreamingSplitSample.json + +![파일 업로드](./images/2.6_fileUpload.png) + + +##워크플로우 생성하기 +워크플로우 편집화면에서 워크플로우를 작성합니다. 본 예제에서는 두 개의 엔진을 생성합니다. + +- 워크플로우 속성 + +속성 | 값 | 비고 +--|---|-- +name | TrafficTimeseriesProcessing | 워크플로우 이름 +description | 강남 교통 실시간 센서스트림 처리 예제 | 워크플로우를 설명하는 글 +isBatch | false | 스트림 처리를 하는 워크플로우 이므로, false 로 지정 +verbose | false | 디버깅을 위해 로그정보를 보고자할 경우, true 로 지정 + + +### 첫 번째 엔진 생성하기 +스트림형태로 입력되는 교통 데이터를 입력받아 실시간으로 전처리를 수행하기 위해 StreamJoin 엔진을 선택합니다. StreamJoin 엔진은 내부적으로 Spark의 Structured Streaming을 사용합니다. +시간이 순차적으로 들어오지 않아도 처리 가능하고, 입력데이터의 누락없이 데이터를 실시간으로 처리합니다. Trigger는 Writer에 있으며, Trigger 시점에 들어와있는 입력데이터를 가공하여 내보냅니다. + +카프카로부터 속도 데이터를 입력받아서 LINK_ID 별로 1분 동안의 속도를 평균하여 내보냅니다. 30초 단위로 오버랩하여 missing value를 채우고, 잡음을 smoothing 하는 역할을 합니다. + +- 엔진 속성 + +순번 | 엔진 Type | NickName | RunType | 설명 +--|---|---|---|-- +1 | StreamJoin | StreamProcessingEngine | 즉시실행 | 1분 단위로 속도 aggregation + + +#### Reader +KafkaPipeReader를 선택하고 아래표와 같은 속성을 지정합니다. +field |value | 설명 +--|---|-- +bootStrapServers | localhost:9092 | Kafka 접속 주소(IP, 포트번호) +zooKeeperConnect | localhost:2181 | zookeeper의 접속주소(IP, 포트번호) +topic | traffic | Kafka 큐의 이름 +addTimestamp | false | 입력데이터를 받은 시간을 DataFrame 에 추가하고 싶을 경우, true 로 지정 +timestampName | PRCS_DATE | 윈도우, watermark 등을 설정할 시간 정보가 들어있는 칼럼 이름 입력 +watermark | 2 minutes | 늦게 들어오는 입력데이터를 얼마동안 기다릴 것인지 입력 +sampleJsonPath | dataset/input/traffic/
trafficStreamingSplitSample.json | 입력데이터 형태 지정 +failOnDataLoss | false | + + + +#### Writer +KafkaPipeWriter를 선택하고 아래표와 같은 속성을 지정합니다. +field |value | 설명 +--|---|-- +mode | append | 새로 들어온 입력데이터에 대해서 처리함 +trigger | 5 seconds | 5초 동안 들어온 입력데이터에 대해서 처리함 +bootStrapServers | localhost:9092 | Kafka 접속 주소(IP, 포트번호) +zooKeeperConnect | localhost:2181 | zookeeper의 접속주소(IP, 포트번호) +topic | traffic_output1 | Kafka 큐의 이름 +checkpointLocation | file:///home/csle/ksb-csle/examples/
output/kangnam/checkpoint/kafka1 | checkpoint 파일을 저장할 폴더 지정 +failOnDataLoss | true | + + +#### Controller +StreamingGenericController 를 선택합니다. + + +#### Runner +SimpleSparkRunner 를 선택합니다. +field |value | 설명 +--|---|-- +inJason | false | false로 설정하는 경우 json 형태의 파라메타를 커맨드라인 파라미터 형태로 변환하여 호출되는 외부 시스템에 전달. True 이면 json 형태의 파라메타 형태 그대로 외부시스템에 전달. +sparkArgs | | 아래의 표 참고 + +sparkArgs 설정은 다음과 같이 합니다. +field |value | 설명 +--|---|-- +master | local[\*] | YARN 의 마스터 +numExecutors | 2 | 익스큐터 개수 +excuterCores | 2 | 익스큐터 코어 개수 +executerMemory | 1g | Spark 의 익스큐터 메모리 +driverMemory | 1g | Spark 드라이버 메모리 +totalCores | 2 | Spark 전체 할당 가능 코어수 +sparkVersion | 2.3.0 | KSB프레임워크의 Spark 버전 + + + +#### Operator +첫번째 엔진에서는 3개의 Operator를 사용하여 입력데이터를 가공합니다. + + +1. **GroupByOperator** + +field |value | 설명 +--|---|-- +timeColName | PRCS_DATE | 시간정보가 들어있는 칼럼 이름 +keyColName | LINK_ID | key 칼럼 이름 +valColName | PRCS_SPD | 계산할 칼럼 이름 +groupby | AVG | 평균 계산 +window | | 아래의 표 참고 + +window 설정은 다음과 같이 합니다. +field |value | 설명 +--|---|-- +key | PRCS_DATE | 윈도우를 사용할 칼럼 이름 +windowLength | 1 minutes | 1분 단위 윈도우 설정 +slidingInterval | 30 seconds | 30초 오버랩 설정 + + +1분 단위의 윈도우(30초 오버랩)로 LINK_ID 별 평균 속도를 계산합니다. +LINK_ID, window (start, end), PRCS_SPD 로 칼럼이 나옵니다. + + +2. **SelectColumnsPipeOperator** + +field |value | 설명 +--|---|-- +colName | LINK_ID
window.start
PRCS_SPD | 선택할 칼럼 이름 +isRename | false | + +LINK_ID, window.start, PRCS_SPD 칼럼을 선택합니다. + + +3. **RenameColumnsPipeOperator** + +field |value | 설명 +--|---|-- +selectedColumn | | 아래의 표 참고 + +selectedColumn 설정은 다음과 같이 합니다. +field |value | 설명 +--|---|-- +selectedColIndex | 1 | window.start 칼럼 선택 (0번부터 시작함) +newColName | PRCS_DATE | 변경할 칼럼 이름 +newFieldType | STRING | 변경할 칼럼 타입 + +GroupByOperator 에 의해 window로 변경된 칼럼 이름을 원래대로 바꾸고, 카프카로 시간 정보를 제대로 내보내기 위해 타입을 STRING 으로 변경합니다. + + +### 두 번째 엔진 생성하기 +missing value를 채우고 잡음을 smoothing 하기 위해, 한번 더 카프카로부터 속도 데이터를 입력받아서 LINK_ID 별로 5분 동안의 속도를 평균하여 내보냅니다. + +첫 번째 엔진과 동일하게 구성하여 속성만 다르게 지정합니다. 이를 위해 **Engine 복제** 기능을 사용하여 첫번째 엔진을 복사합니다. 첫번째 엔진을 클릭한 후 마우스 오른쪽 버튼을 클릭하면 세부메뉴가 나타납니다. 이 세부메뉴에서 **Engine 복제** 메뉴를 클릭하면 동일한 엔진이 생성됩니다. + +- 엔진 속성 + +순번 | 엔진 Type | NickName | RunType | 설명 +--|---|---|---|-- +2 | StreamJoin | StreamProcessing2Engine | 즉시실행 | 5분 단위로 속도 aggregation + + +#### Reader +KafkaPipeReader를 선택하고 아래표와 같은 속성을 지정합니다. +field |value | 설명 +--|---|-- +bootStrapServers | localhost:9092 | Kafka 접속 주소(IP, 포트번호) +zooKeeperConnect | localhost:2181 | zookeeper의 접속주소(IP, 포트번호) +topic | traffic_output1 | Kafka 큐의 이름 +addTimestamp | false | 입력데이터를 받은 시간을 DataFrame 에 추가하고 싶을 경우, true 로 지정 +timestampName | PRCS_DATE | 윈도우, watermark 등을 설정할 시간 정보가 들어있는 칼럼 이름 입력 +watermark | 2 minutes | 늦게 들어오는 입력데이터를 얼마동안 기다릴 것인지 입력 +sampleJsonPath | dataset/input/traffic/
trafficStreamingSplitSample.json | 입력데이터 형태 지정 +failOnDataLoss | false | + + +#### Writer +KafkaPipeWriter를 선택하고 아래표와 같은 속성을 지정합니다. +field |value | 설명 +--|---|-- +mode | append | 새로 들어온 입력데이터에 대해서 처리함 +trigger | 5 seconds | 5초 동안 들어온 입력데이터에 대해서 처리함 +bootStrapServers | localhost:9092 | Kafka 접속 주소(IP, 포트번호) +zooKeeperConnect | localhost:2181 | zookeeper의 접속주소(IP, 포트번호) +topic | traffic_output2 | Kafka 큐의 이름 +checkpointLocation | file:///home/csle/ksb-csle/examples/
output/kangnam/checkpoint/kafka2 | checkpoint 파일을 저장할 폴더 지정 +failOnDataLoss | true | + + +#### Controller +StreamingGenericController 를 선택합니다. + + +#### Runner +SimpleSparkRunner 를 선택합니다. +field |value | 설명 +--|---|-- +inJason | false | false로 설정하는 경우 json 형태의 파라메타를 커맨드라인 파라미터 형태로 변환하여 호출되는 외부 시스템에 전달. True 이면 json 형태의 파라메타 형태 그대로 외부시스템에 전달. +sparkArgs | | 아래의 표 참고 + +sparkArgs 설정은 다음과 같이 합니다. +field |value | 설명 +--|---|-- +master | local[\*] | YARN 의 마스터 +numExecutors | 2 | 익스큐터 개수 +excuterCores | 2 | 익스큐터 코어 개수 +executerMemory | 1g | Spark 의 익스큐터 메모리 +driverMemory | 1g | Spark 드라이버 메모리 +totalCores | 2 | Spark 전체 할당 가능 코어수 +sparkVersion | 2.3.0 | KSB프레임워크의 Spark 버전 + + + +#### Operator +두 번째 엔진에서는 3개의 Operator를 사용하여 입력데이터를 가공합니다. + + +1. **GroupByOperator** + +field |value | 설명 +--|---|-- +timeColName | PRCS_DATE | 시간정보가 들어있는 칼럼 이름 +keyColName | LINK_ID | key 칼럼 이름 +valColName | PRCS_SPD | 계산할 칼럼 이름 +groupby | AVG | 평균 계산 +window | | 아래의 표 참고 + +window 설정은 다음과 같이 합니다. +field |value | 설명 +--|---|-- +key | PRCS_DATE | 윈도우를 사용할 칼럼 이름 +windowLength | 5 minutes | 5분 단위 윈도우 설정 +slidingInterval | 5 minutes | 오버랩 없도록 설정 + + +5분 단위의 윈도우(오버랩 없음)로 LINK_ID 별 평균 속도를 계산합니다. +LINK_ID, window (start, end), PRCS_SPD 로 칼럼이 나옵니다. + + +2. **SelectColumnsPipeOperator** + +field |value | 설명 +--|---|-- +colName | LINK_ID
window.start
PRCS_SPD | 선택할 칼럼 이름 +isRename | false | + +LINK_ID, window.start, PRCS_SPD 칼럼을 선택합니다. + + +3. **RenameColumnsPipeOperator** + +field |value | 설명 +--|---|-- +selectedColumn | | 아래의 표 참고 + +selectedColumn 설정은 다음과 같이 합니다. +field |value | 설명 +--|---|-- +selectedColIndex | 1 | window.start 칼럼 선택 (0번부터 시작함) +newColName | PRCS_DATE | 변경할 칼럼 이름 +newFieldType | STRING | 변경할 칼럼 타입 + +GroupByOperator 에 의해 window로 변경된 칼럼 이름을 원래대로 바꾸고, 카프카로 시간 정보를 제대로 내보내기 위해 타입을 STRING 으로 변경합니다. + + +
+ +![워크플로우 완성 화면](./images/2.6.5_workflow.png) + +ksbuser@etri.re.kr 계정으로 접속하면 예제 워크플로우가 만들어져있습니다. 불러오기해서도 돌려볼 수 있습니다. + +## 워크플로우 실행 및 모니터링하기 +### 워크플로우 실행하기 +위에서 작성한 워크플로우를 실행하기 위해서는 워크플로우 편집기 상단의 실행 버튼을 누릅니다. 스트림 데이터를 처리하므로 Batch 체크 박스는 해제하고 워크플로우를 제출합니다. + + +### 워크플로우 모니터링 하기 + +KSB 웹툴킷 상단 메뉴의 Monitoring 탭을 클릭하면 Workflow 탭이 선택되어있습니다. Workflow 탭에서는 실행한 워크플로우들의 목록 및 동작 상태를 확인하고 제어할 수 있습니다. 위에서 실행한 워크플로우 이름을 클릭하면 워크플로우의 각 엔진들의 동작 상태 (status) 를 확인할 수 있습니다. + +![워크플로우 동작 상태 확인](./images/2.6.5_monitoring.png) + + +WorkFlow History 탭을 선택하면, 프레임워크에서 워크플로우가 동작하며 발생시킨 로그 정보를 확인 할 수 있습니다. + +![워크플로우 히스토리](./images/2.6.5_monitoring_history.png) + +### 체크포인트 파일 확인 + +첫 번째 엔진과 두 번째 엔진의 KafkaPipeWriter 가 생성한 체크포인트 파일이 지정한 위치에 생성된 것을 확인할 수 있습니다. +워크플로우 종료 후 재시작 할 경우에는 체크포인트 파일을 삭제하고 실행해야 원하는 결과를 얻을 수 있습니다. + +![체크포인트 파일 확인](./images/2.6.5_checkpoint.png) + +### 속도 전처리 결과 확인하기 +Kafka의 consumer를 이용하여 속도 전처리 결과를 확인합니다. 이를 위해 카프카가 설치된 폴더로 이동하여 아래 명령어를 실행합니다. 카프카는 ``home/csle/ksb-csle/tools/kafka_2.11-0.10.0.1`` 위치에 설치되어 있습니다. + +``` +cd /home/csle/ksb-csle/tools/kafka_2.11-0.10.0.1 +./bin/kafka-console-consumer.sh --zookeeper localhost:2181 --bootstrap-server localhost:9092 --topic traffic_output2 +``` + +아래 그림과 같이 전처리한 속도값을 Kafka로 보내는 것을 확인할 수 있습니다. + +![전처리 결과 확인](./images/2.6.5_predictResult.png) + + +## 워크플로우 종료하기 +KSB 웹툴킷 상단 "Monitoring" 메뉴의 "Workflow" 탭에서 실행 중인 TrafficTimeseriesProcessing 워크플로우를 종료()할 수 있습니다. + +## 워크플로우 저장하기 +워크플로우 편집 화면에서 작성한 워크플로우를 "Save Workflow" 메뉴를 이용하여 저장합니다. diff --git a/manual1903/2.6.6.TrafficStreamingPredict.md b/manual1903/2.6.6.TrafficStreamingPredict.md new file mode 100755 index 0000000000000000000000000000000000000000..15491c4fa53bdf01f68ea2e04e26ffbc547012f0 --- /dev/null +++ b/manual1903/2.6.6.TrafficStreamingPredict.md @@ -0,0 +1,514 @@ +--- +html: + toc: true + offline: true +export_on_save: + html: true +--- +# 실시간 시계열 교통속도 센서스트림 처리 및 텐서플로우 모델 서빙하기 (TrafficStreamingPredict) +--- +교통센서로부터 시계열 속도 데이터를 수집한 후 전처리를 수행하고, 텐서플로우 기반 딥러닝 모델에 의해 예측된 속도를 클라이언트로 전달하는 예제를 설명합니다. + +## 입력 데이터 준비하기 +본 예제에서는 교통센서로부터 시계열 속도 데이터(LINK_ID, 속도, 날짜)를 Kafka로 입력 받는 것을 가정합니다. 초 단위로 측정된 센서 데이터가 무작위로 들어온다고 가정합니다. 또한 텐서플로우 기반의 15분 뒤 속도를 예측하는 모델이 미리 학습되어 export 되어 있다고 가정합니다. + +### 시계열 속도 스트림데이터 생성하기 +본 예제를 위해 준비된 파일로부터 시계열 속도 데이터를 한줄씩 읽어 Kafka로 보내주는 파이썬 프로그램을 제공합니다. + +입력파일은 Host PC의 /home/csle/ksb-csle/examples/input 폴더에 존재하는 ``201601_kangnam_orgarnized_new.csv`` 파일입니다. 초 단위로 측정한 LINK_ID 와 속도가 무작위로 섞여있습니다. + +- 입력파일 형태 및 내용 + +PRCS_DATE | LINK_ID | PRCS_SPD +--|---|-- +2016-01-01 00:00:27 | 1220034700 | 32.8 +2016-01-01 00:00:12 | 1220019900 | 15.9 +2016-01-01 00:00:08 | 1220025800 | 21.1 +... | ... | ... + + +파이썬 프로그램은 Host PC의 /home/csle/ksb-csle/examples 폴더에 존재하는 kangnam_producer.py 입니다. 파이썬 프로그램이 있는 폴더로 이동하여 아래 명령어를 실행합니다. + +``` +cd /home/csle/ksb-csle/examples +python3 kangnam_producer.py ./input/201601_kangnam_orgarnized_new.csv localhost:9092 traffic 0.01 + +첫번째 arg: 보내려는 csv 파일 경로 +두번째 arg: 카프카 서버 접속 주소 +세번째 arg: 토픽명 +네번째 arg: 각 row 를 전송하는 주기 (초 단위) +``` + +아래 그림과 같이 파일로 부터 데이터를 한줄씩 읽어 Kafka로 보내는 것을 확인할 수 있습니다. + +![스트림 데이터 생성](./images/2.6_kafkaInput.png) + + +### 학습된 모델 업로드 +교통속도예측 텐서플로우 모델 학습하기 매뉴얼에서 학습한 후 export 된 모델이 ``hdfs://csle1:9000/user/ksbuser_etri_re_kr/model/kangnam`` 위치에 저장되어 있을 경우, 아래 과정을 생략합니다. +그렇지 않을 경우, Host PC의 /home/csle/ksb-csle/examples/models/kangnam/model 폴더에 있는 텐서플로우 서빙용으로 export 한 모델을 HDFS repository에 웹툴킷을 이용하여 업로드합니다. +model/kangnam 위치에 model 폴더를 업로드 합니다. + +![모델 업로드](./images/2.6.6_modelUpload.png) + +모델이 아래 폴더 구조로 업로드 되어야 합니다. + +![모델 업로드](./images/2.6.6_modelUpload2.png) + + +### 기타 입력파일 업로드 +그 밖에 필요한 파일들을 HDFS repository에 웹툴킷을 이용하여 dataset/input/traffic 위치에 업로드 합니다. 아래 파일들은 Host PC의 /home/csle/ksb-csle/examples/input 폴더에 있습니다. +- traffic_kangnam_cols.txt +- trafficStreamingSplitSample.json + +![파일 업로드](./images/2.6_fileUpload.png) + + +##워크플로우 생성하기 +워크플로우 편집화면에서 워크플로우를 작성합니다. 본 예제에서는 세 개의 엔진을 생성합니다. + +- 워크플로우 속성 + +속성 | 값 | 비고 +--|---|-- +name | TrafficStreamingPredict | 워크플로우 이름 +description | 강남 교통 예측 시나리오 | 워크플로우를 설명하는 글 +isBatch | false | 스트림 처리를 하는 워크플로우 이므로, false 로 지정 +verbose | false | 디버깅을 위해 로그정보를 보고자할 경우, true 로 지정 + + +### 첫 번째 엔진 생성하기 +스트림형태로 입력되는 교통 데이터를 입력받아 실시간으로 전처리를 수행하기 위해 StreamJoin 엔진을 선택합니다. StreamJoin 엔진은 내부적으로 Spark의 Structured Streaming을 사용합니다. +시간이 순차적으로 들어오지 않아도 처리 가능하고, 입력데이터의 누락없이 데이터를 실시간으로 처리합니다. Trigger는 Writer에 있으며, Trigger 시점에 들어와있는 입력데이터를 가공하여 내보냅니다. + +카프카로부터 속도 데이터를 입력받아서 LINK_ID 별로 1분 동안의 속도를 평균하여 내보냅니다. 30초 단위로 오버랩하여 missing value를 채우고, 잡음을 smoothing 하는 역할을 합니다. + +- 엔진 속성 + +순번 | 엔진 Type | NickName | RunType | 설명 +--|---|---|---|-- +1 | StreamJoin | StreamProcessingEngine | 즉시실행 | 1분 단위로 속도 aggregation + + +#### Reader +KafkaPipeReader를 선택하고 아래표와 같은 속성을 지정합니다. +field |value | 설명 +--|---|-- +bootStrapServers | localhost:9092 | Kafka 접속 주소(IP, 포트번호) +zooKeeperConnect | localhost:2181 | zookeeper의 접속주소(IP, 포트번호) +topic | traffic | Kafka 큐의 이름 +addTimestamp | false | 입력데이터를 받은 시간을 DataFrame 에 추가하고 싶을 경우, true 로 지정 +timestampName | PRCS_DATE | 윈도우, watermark 등을 설정할 시간 정보가 들어있는 칼럼 이름 입력 +watermark | 2 minutes | 늦게 들어오는 입력데이터를 얼마동안 기다릴 것인지 입력 +sampleJsonPath | dataset/input/traffic/
trafficStreamingSplitSample.json | 입력데이터 형태 지정 +failOnDataLoss | false | + + + +#### Writer +KafkaPipeWriter를 선택하고 아래표와 같은 속성을 지정합니다. +field |value | 설명 +--|---|-- +mode | append | 새로 들어온 입력데이터에 대해서 처리함 +trigger | 5 seconds | 5초 동안 들어온 입력데이터에 대해서 처리함 +bootStrapServers | localhost:9092 | Kafka 접속 주소(IP, 포트번호) +zooKeeperConnect | localhost:2181 | zookeeper의 접속주소(IP, 포트번호) +topic | traffic_output1 | Kafka 큐의 이름 +checkpointLocation | file:///home/csle/ksb-csle/examples/
output/kangnam/checkpoint/kafka1 | checkpoint 파일을 저장할 폴더 지정 +failOnDataLoss | true | + + +#### Controller +StreamingGenericController 를 선택합니다. + + +#### Runner +SimpleSparkRunner 를 선택합니다. +field |value | 설명 +--|---|-- +inJason | false | false로 설정하는 경우 json 형태의 파라메타를 커맨드라인 파라미터 형태로 변환하여 호출되는 외부 시스템에 전달. True 이면 json 형태의 파라메타 형태 그대로 외부시스템에 전달. +sparkArgs | | 아래의 표 참고 + +sparkArgs 설정은 다음과 같이 합니다. +field |value | 설명 +--|---|-- +master | local[\*] | YARN 의 마스터 +numExecutors | 2 | 익스큐터 개수 +excuterCores | 2 | 익스큐터 코어 개수 +executerMemory | 1g | Spark 의 익스큐터 메모리 +driverMemory | 1g | Spark 드라이버 메모리 +totalCores | 2 | Spark 전체 할당 가능 코어수 +sparkVersion | 2.3.0 | KSB프레임워크의 Spark 버전 + + + +#### Operator +첫번째 엔진에서는 3개의 Operator를 사용하여 입력데이터를 가공합니다. + + +1. **GroupByOperator** + +field |value | 설명 +--|---|-- +timeColName | PRCS_DATE | 시간정보가 들어있는 칼럼 이름 +keyColName | LINK_ID | key 칼럼 이름 +valColName | PRCS_SPD | 계산할 칼럼 이름 +groupby | AVG | 평균 계산 +window | | 아래의 표 참고 + +window 설정은 다음과 같이 합니다. +field |value | 설명 +--|---|-- +key | PRCS_DATE | 윈도우를 사용할 칼럼 이름 +windowLength | 1 minutes | 1분 단위 윈도우 설정 +slidingInterval | 30 seconds | 30초 오버랩 설정 + + +1분 단위의 윈도우(30초 오버랩)로 LINK_ID 별 평균 속도를 계산합니다. +LINK_ID, window (start, end), PRCS_SPD 로 칼럼이 나옵니다. + + +2. **SelectColumnsPipeOperator** + +field |value | 설명 +--|---|-- +colName | LINK_ID
window.start
PRCS_SPD | 선택할 칼럼 이름 +isRename | false | + +LINK_ID, window.start, PRCS_SPD 칼럼을 선택합니다. + + +3. **RenameColumnsPipeOperator** + +field |value | 설명 +--|---|-- +selectedColumn | | 아래의 표 참고 + +selectedColumn 설정은 다음과 같이 합니다. +field |value | 설명 +--|---|-- +selectedColIndex | 1 | window.start 칼럼 선택 (0번부터 시작함) +newColName | PRCS_DATE | 변경할 칼럼 이름 +newFieldType | STRING | 변경할 칼럼 타입 + +GroupByOperator 에 의해 window로 변경된 칼럼 이름을 원래대로 바꾸고, 카프카로 시간 정보를 제대로 내보내기 위해 타입을 STRING 으로 변경합니다. + + +### 두 번째 엔진 생성하기 +missing value를 채우고 잡음을 smoothing 하기 위해, 한번 더 카프카로부터 속도 데이터를 입력받아서 LINK_ID 별로 5분 동안의 속도를 평균하여 내보냅니다. + +첫 번째 엔진과 동일하게 구성하여 속성만 다르게 지정합니다. 이를 위해 **Engine 복제** 기능을 사용하여 첫번째 엔진을 복사합니다. 첫번째 엔진을 클릭한 후 마우스 오른쪽 버튼을 클릭하면 세부메뉴가 나타납니다. 이 세부메뉴에서 **Engine 복제** 메뉴를 클릭하면 동일한 엔진이 생성됩니다. + +- 엔진 속성 + +순번 | 엔진 Type | NickName | RunType | 설명 +--|---|---|---|-- +2 | StreamJoin | StreamProcessing2Engine | 즉시실행 | 5분 단위로 속도 aggregation + + +#### Reader +KafkaPipeReader를 선택하고 아래표와 같은 속성을 지정합니다. +field |value | 설명 +--|---|-- +bootStrapServers | localhost:9092 | Kafka 접속 주소(IP, 포트번호) +zooKeeperConnect | localhost:2181 | zookeeper의 접속주소(IP, 포트번호) +topic | traffic_output1 | Kafka 큐의 이름 +addTimestamp | false | 입력데이터를 받은 시간을 DataFrame 에 추가하고 싶을 경우, true 로 지정 +timestampName | PRCS_DATE | 윈도우, watermark 등을 설정할 시간 정보가 들어있는 칼럼 이름 입력 +watermark | 2 minutes | 늦게 들어오는 입력데이터를 얼마동안 기다릴 것인지 입력 +sampleJsonPath | dataset/input/traffic/
trafficStreamingSplitSample.json | 입력데이터 형태 지정 +failOnDataLoss | false | + + +#### Writer +KafkaPipeWriter를 선택하고 아래표와 같은 속성을 지정합니다. +field |value | 설명 +--|---|-- +mode | append | 새로 들어온 입력데이터에 대해서 처리함 +trigger | 5 seconds | 5초 동안 들어온 입력데이터에 대해서 처리함 +bootStrapServers | localhost:9092 | Kafka 접속 주소(IP, 포트번호) +zooKeeperConnect | localhost:2181 | zookeeper의 접속주소(IP, 포트번호) +topic | traffic_output2 | Kafka 큐의 이름 +checkpointLocation | file:///home/csle/ksb-csle/examples/
output/kangnam/checkpoint/kafka2 | checkpoint 파일을 저장할 폴더 지정 +failOnDataLoss | true | + + +#### Controller +StreamingGenericController 를 선택합니다. + + +#### Runner +SimpleSparkRunner 를 선택합니다. +field |value | 설명 +--|---|-- +inJason | false | false로 설정하는 경우 json 형태의 파라메타를 커맨드라인 파라미터 형태로 변환하여 호출되는 외부 시스템에 전달. True 이면 json 형태의 파라메타 형태 그대로 외부시스템에 전달. +sparkArgs | | 아래의 표 참고 + +sparkArgs 설정은 다음과 같이 합니다. +field |value | 설명 +--|---|-- +master | local[\*] | YARN 의 마스터 +numExecutors | 2 | 익스큐터 개수 +excuterCores | 2 | 익스큐터 코어 개수 +executerMemory | 1g | Spark 의 익스큐터 메모리 +driverMemory | 1g | Spark 드라이버 메모리 +totalCores | 2 | Spark 전체 할당 가능 코어수 +sparkVersion | 2.3.0 | KSB프레임워크의 Spark 버전 + + + +#### Operator +두 번째 엔진에서는 3개의 Operator를 사용하여 입력데이터를 가공합니다. + + +1. **GroupByOperator** + +field |value | 설명 +--|---|-- +timeColName | PRCS_DATE | 시간정보가 들어있는 칼럼 이름 +keyColName | LINK_ID | key 칼럼 이름 +valColName | PRCS_SPD | 계산할 칼럼 이름 +groupby | AVG | 평균 계산 +window | | 아래의 표 참고 + +window 설정은 다음과 같이 합니다. +field |value | 설명 +--|---|-- +key | PRCS_DATE | 윈도우를 사용할 칼럼 이름 +windowLength | 5 minutes | 5분 단위 윈도우 설정 +slidingInterval | 5 minutes | 오버랩 없도록 설정 + + +5분 단위의 윈도우(오버랩 없음)로 LINK_ID 별 평균 속도를 계산합니다. +LINK_ID, window (start, end), PRCS_SPD 로 칼럼이 나옵니다. + + +2. **SelectColumnsPipeOperator** + +field |value | 설명 +--|---|-- +colName | LINK_ID
window.start
PRCS_SPD | 선택할 칼럼 이름 +isRename | false | + +LINK_ID, window.start, PRCS_SPD 칼럼을 선택합니다. + + +3. **RenameColumnsPipeOperator** + +field |value | 설명 +--|---|-- +selectedColumn | | 아래의 표 참고 + +selectedColumn 설정은 다음과 같이 합니다. +field |value | 설명 +--|---|-- +selectedColIndex | 1 | window.start 칼럼 선택 (0번부터 시작함) +newColName | PRCS_DATE | 변경할 칼럼 이름 +newFieldType | STRING | 변경할 칼럼 타입 + +GroupByOperator 에 의해 window로 변경된 칼럼 이름을 원래대로 바꾸고, 카프카로 시간 정보를 제대로 내보내기 위해 타입을 STRING 으로 변경합니다. + + + +### 세 번째 엔진 생성하기 +스트림형태로 입력되는 속도 데이터를 입력 받아 전처리 한 후, 15분 뒤 속도를 예측해서 스트림 형태로 내보내므로 StreamToStream엔진을 선택합니다. + +- 엔진 속성 + +순번 | 엔진 Type | NickName | RunType | 설명 +--|---|---|---|-- +3 | StreamToStream | PredictEngine | 즉시실행| 속도 전처리 후 딥러닝 모델 기반 예측 + + +#### Reader +KafkaReader를 선택하고 아래표와 같은 속성을 지정합니다. + +field |value | 설명 +--|---|-- +bootStrapServers | localhost:9092 | Kafka 접속 주소(IP, 포트번호) +zooKeeperConnect | csle1:2181 | zookeeper의 접속주소(IP, 포트번호) +groupId | traffic | Kafka topic 그룹 아이디 +topic | traffic_output2 | Kafka 큐의 이름 + + +#### Writer +KafkaWriter를 선택하고 아래표와 같은 속성을 지정합니다. + +field |value | 설명 +--|---|-- +bootStrapServers | localhost:9092 | Kafka 접속 주소(IP, 포트번호) +zooKeeperConnect | csle1:2181 | zookeeper의 접속주소(IP, 포트번호) +groupId | traffic | Kafka topic 그룹 아이디 +topic | kangnam_output | Kafka 큐의 이름 + + +#### Controller +SparkStreamController를 선택하고 아래표와 같은 속성을 지정합니다. +SparkStreamController는 스트림으로 입력되는 데이터를 큐에 저장하고, 일정 주기 마다 정해진 윈도우 크기로 잘라서 operator 에게 전달합니다. + +field |value | 설명 +--|---|-- +operationPeriod | 5 | Reader로 부터 데이터를 읽어올 주기, 초 단위 +windowSize | 1530 | 큐에서 사용할 윈도우 크기
170 x 9 +slidingSize | 170 | 윈도우를 sliding 하는 크기 + +본 예제에서는 5초 주기마다 1530 개의 데이터를 잘라서 operator에게 전달합니다. 입력데이터는 총 170개의 LINK_ID 를 가집니다. 따라서 5분 간격으로 170개의 데이터가 들어오는 셈입니다. 그런데 170개 데이터의 순서는 무작위로 들어옵니다. 또한 스트림 데이터는 계속해서 들어오고 있으므로 첫 시작 데이터가 어디일지 가늠하기 어렵습니다. 따라서 필요한 8 주기 보다 한 주기를 더 가져와서 처리하고 (170 x 9 = 1530 개), 1 주기 씩 슬라이딩 합니다. 아래에서 설명할 GroupByFilterOperator 및 OrderByFilterOperator 를 이용하여 170 x 8 = 1360 개 데이터를 필터링해서 사용합니다. + +#### Runner +SimpleSparkRunner 를 선택합니다. +field |value | 설명 +--|---|-- +inJason | false | false로 설정하는 경우 json 형태의 파라메타를 커맨드라인 파라미터 형태로 변환하여 호출되는 외부 시스템에 전달. True 이면 json 형태의 파라메타 형태 그대로 외부시스템에 전달. +sparkArgs | | 아래의 표 참고 + +sparkArgs 설정은 다음과 같이 합니다. +field |value | 설명 +--|---|-- +master | local[\*] | YARN 의 마스터 +numExecutors | 2 | 익스큐터 개수 +excuterCores | 2 | 익스큐터 코어 개수 +executerMemory | 1g | Spark 의 익스큐터 메모리 +driverMemory | 1g | Spark 드라이버 메모리 +totalCores | 2 | Spark 전체 할당 가능 코어수 +sparkVersion | 2.3.0 | KSB프레임워크의 Spark 버전 + + + +#### Operator +세 번째 엔진에서는 9개의 Operator를 사용하여 입력데이터를 가공합니다. + + +1. **ColumnSelectOperator** + +field |value | 설명 +--|---|-- +selectedColumnName | PRCS_DATE
LINK_ID
PRCS_SPD | 선택할 칼럼 이름 + +2. **GroupByFilterOperator** + +field |value | 설명 +--|---|-- +keyColName | PRCS_DATE | 총계처리를 할 key 칼럼 이름 +groupby | COUNT | 총계처리 방법 선택 +condition | EQUAL | 총계처리 후 Filter 방법 선택 +value | 170 | Filter 의 값 입력 + +1530 개 데이터에서 LINK_ID 가 170 개가 되지 않는 시간의 데이터를 버리기 위해서, PRCS_DATE 칼럼을 COUNT 하여 170 이 되는 조건의 데이터만 남깁니다. 그러면 170 x 8 = 1360 개의 데이터만 남습니다. 그런데 우연히 데이터를 시작시점부터 잘 받았을 경우, 170 x 9 = 1530 개의 데이터가 남습니다. + +3. **OrderByFilterOperator** + +field |value | 설명 +--|---|-- +keyColName | PRCS_DATE | 정렬을 할 key 칼럼 이름 +method | ASC | 정렬 방법 선택 (ASC: 오름차순, DESC: 내림차순) +value | 1360 | 선택할 Row 의 개수 + +PRCS_DATE 칼럼을 정렬하여 8 주기의 데이터 (170 x 8 = 1360 개) 만 남깁니다. + +4. **MinMaxScalingOperator** + +field |value | 설명 +--|---|-- +selectedColumnId | 2 | 선택할 칼럼 ID, PRCS_SPD 선택 (0부터 시작) +max | 0.5 | 데이터가 scaling 될 때 최대값 +min | -0.5 | 데이터가 scaling 될 때 최소값 +withMinMaxRange | true | 위에서 설정한 max, min 값 사용 여부 +maxRealValue | 100 | 데이터에서 정상 범위로 사용할 최소값 +minRealValue | 0 | 데이터에서 정상 범위로 사용할 최대값 + + +5. **PivotOerator** + +field |value | 설명 +--|---|-- +selectedColumnId | 1 | Pivot 할 칼럼 ID, LINK_ID 선택 (0부터 시작) +groupByColumn | 0 | 총계처리를 할 key 칼럼 ID, PRCS_DATE 선택 (0부터 시작) +valueColumn | 2 | 총계처리를 할 칼럼 ID, PRCS_SPD 선택 (0부터 시작) +method | AVG | 총계처리 방법 선택 + +시간 및 170 개의 LINK_ID 값을 칼럼으로 가지고, 시간에 따른 평균속도를 행으로 가지도록 DataFrame 을 변경합니다. + +![Pivot 결과](./images/2.6_pivotResult.png) + +6. **ColumnSelectWithFileOperator** + +field |value | 설명 +--|---|-- +columnIdPath | dataset/input/traffic/
traffic_kangnam_cols.txt | 선택할 칼럼 이름이 정의된 텍스트파일 경로 및 이름 입력 + +텐서플로우 기반 속도 예측 모델의 입력 순서에 맞도록 칼럼을 선택합니다. 본 예제에서는 칼럼의 개수가 많으므로 ColumnSelectOperator 를 사용하여 선택할 칼럼 이름을 일일이 입력하는 것이 매우 번거로우므로 ColumnSelectWithFileOperator 를 사용합니다. 칼럼 이름을 쉼표(,) 로 구분하여 입력한 텍스트파일로 부터 칼럼 이름을 읽어들여 칼럼을 선택합니다. + +7. **VectorAssembleColumnAddOperator** + +field |value | 설명 +--|---|-- +vectorAssembleColumnName | in1 | 추가할 벡터 칼럼 이름 입력 + +DataFrame의 모든 칼럼을 하나의 벡터로 만들어서 벡터타입의 칼럼을 마지막에 추가합니다. + +8. **FlattenOperator** + +field |value | 설명 +--|---|-- +columnName | in1 | 칼럼 이름 입력 + +선택한 칼럼의 데이터를 하나의 벡터로 만들어서 벡터 값만 남깁니다. 텐서플로우 모델의 입력형태로 데이터를 변환하는 과정입니다. + +9. **TensorflowPredictOperator** + +field |value | 설명 +--|---|-- +modelServerUri | model/kangnam | 모델 경로 +modelName | kangnam_traffic | 모델 이름 +signatureName | predict_speed | 모델 시그네쳐 이름 + +텐서플로우 서빙용으로 export 한 모델의 경로 및 export 할 때 정의한 모델 이름과 시그네쳐 이름을 이용하여 텐서플로우 모델을 서빙용으로 띄웁니다 (처음에 한번만 수행함). 그리고 서빙용 모델에 데이터를 보내고 예측된 속도 값을 리턴받아서 내부적으로 DataFrame 형태로 변환합니다. + +
+
+ +![워크플로우 완성 화면](./images/2.6.6_workflow.png) + +ksbuser@etri.re.kr 계정으로 접속하면 예제 워크플로우가 만들어져있습니다. 불러오기해서도 돌려볼 수 있습니다. + +## 워크플로우 실행 및 모니터링하기 +### 워크플로우 실행하기 +위에서 작성한 워크플로우를 실행하기 위해서는 워크플로우 편집기 상단의 실행 버튼을 누릅니다. 스트림 데이터를 처리하므로 Batch 체크 박스는 해제하고 워크플로우를 제출합니다. + + +### 워크플로우 모니터링 하기 + +KSB 웹툴킷 상단 메뉴의 Monitoring 탭을 클릭하면 Workflow 탭이 선택되어있습니다. Workflow 탭에서는 실행한 워크플로우들의 목록 및 동작 상태를 확인하고 제어할 수 있습니다. 위에서 실행한 워크플로우 이름을 클릭하면 워크플로우의 각 엔진들의 동작 상태 (status) 를 확인할 수 있습니다. + +![워크플로우 동작 상태 확인](./images/2.6.6_monitoring.png) + + +WorkFlow History 탭을 선택하면, 프레임워크에서 워크플로우가 동작하며 발생시킨 로그 정보를 확인 할 수 있습니다. + +![워크플로우 히스토리](./images/2.6.6_monitoring_history.png) + +### 체크포인트 파일 확인 + +첫 번째 엔진과 두 번째 엔진의 KafkaPipeWriter 가 생성한 체크포인트 파일이 지정한 위치에 생성된 것을 확인할 수 있습니다. +워크플로우 종료 후 재시작 할 경우에는 체크포인트 파일을 삭제하고 실행해야 원하는 결과를 얻을 수 있습니다. + +![체크포인트 파일 확인](./images/2.6.6_checkpoint.png) + +### 속도 예측 결과 확인하기 +Kafka의 consumer를 이용하여 속도 예측 결과를 확인합니다. 이를 위해 카프카가 설치된 폴더로 이동하여 아래 명령어를 실행합니다. 카프카는 ``home/csle/ksb-csle/tools/kafka_2.11-0.10.0.1`` 위치에 설치되어 있습니다. + +``` +cd /home/csle/ksb-csle/tools/kafka_2.11-0.10.0.1 +./bin/kafka-console-consumer.sh --zookeeper localhost:2181 --bootstrap-server localhost:9092 --topic kangnam_output +``` + +아래 그림과 같이 예측된 속도값을 Kafka로 보내는 것을 확인할 수 있습니다. + +![예측 결과 확인](./images/2.6_predictResult.png) + + +## 워크플로우 종료하기 +KSB 웹툴킷 상단 "Monitoring" 메뉴의 "Workflow" 탭에서 실행 중인 TrafficStreamingPredict 워크플로우를 종료()할 수 있습니다. + +## 워크플로우 저장하기 +워크플로우 편집 화면에서 작성한 워크플로우를 "Save Workflow" 메뉴를 이용하여 저장합니다. diff --git a/manual1903/2.6.7.TrafficEndToEnd.md b/manual1903/2.6.7.TrafficEndToEnd.md new file mode 100755 index 0000000000000000000000000000000000000000..02977deccc1f264b71122c44bf49d8c1592fbff4 --- /dev/null +++ b/manual1903/2.6.7.TrafficEndToEnd.md @@ -0,0 +1,380 @@ +--- +html: + toc: true + offline: true +export_on_save: + html: true +--- +# 실시간 시계열 교통속도 센서스트림 처리/학습/예측 및 주기적 모델 갱신하기 (TrafficEndToEnd) +--- +교통센서로부터 시계열 속도 데이터를 수집한 후 전처리를 수행하고, 텐서플로우 기반 딥러닝 모델에 의해 예측된 속도를 클라이언트로 전달하는 한편, 전처리한 속도 데이터를 계속해서 파일에 저장한 후 텐서플로우 기반 딥러닝 모델을 주기적으로 학습하는 예제를 설명합니다. + +
+ +![교통 시나리오](./images/2.6.7_TrafficSenario.png) + +
+ +본 예제는 실시간 시계열 교통속도 센서스트림 처리 및 텐서플로우 모델 서빙하기 매뉴얼에 따라 워크플로우를 작성하였다고 가정하고 이어서 설명을 합니다. + + +## 입력 데이터 준비하기 +본 예제에서는 교통센서로부터 시계열 속도 데이터(LINK_ID, 속도, 날짜)를 Kafka로 입력 받는 것을 가정합니다. 초 단위로 측정된 센서 데이터가 무작위로 들어온다고 가정합니다. 또한 텐서플로우 기반의 15분 뒤 속도를 예측하는 모델이 파이썬 코드로 구현되어 있다고 가정합니다. + +### 시계열 속도 스트림데이터 생성하기 +본 예제를 위해 준비된 파일로부터 시계열 속도 데이터를 한줄씩 읽어 Kafka로 보내주는 파이썬 프로그램을 제공합니다. + +입력파일은 Host PC의 /home/csle/ksb-csle/examples/input 폴더에 존재하는 ``201601_kangnam_orgarnized_new.csv`` 파일입니다. 초 단위로 측정한 LINK_ID 와 속도가 무작위로 섞여있습니다. + +- 입력파일 형태 및 내용 + +PRCS_DATE | LINK_ID | PRCS_SPD +--|---|-- +2016-01-01 00:00:27 | 1220034700 | 32.8 +2016-01-01 00:00:12 | 1220019900 | 15.9 +2016-01-01 00:00:08 | 1220025800 | 21.1 +... | ... | ... + + +파이썬 프로그램은 Host PC의 /home/csle/ksb-csle/examples 폴더에 존재하는 kangnam_producer.py 입니다. 파이썬 프로그램이 있는 폴더로 이동하여 아래 명령어를 실행합니다. + +``` +cd /home/csle/ksb-csle/examples +python3 kangnam_producer.py ./input/201601_kangnam_orgarnized_new.csv localhost:9092 traffic 0.01 + +첫번째 arg: 보내려는 csv 파일 경로 +두번째 arg: 카프카 서버 접속 주소 +세번째 arg: 토픽명 +네번째 arg: 각 row 를 전송하는 주기 (초 단위) +``` + +아래 그림과 같이 파일로 부터 데이터를 한줄씩 읽어 Kafka로 보내는 것을 확인할 수 있습니다. + +![스트림 데이터 생성](./images/2.6_kafkaInput.png) + +### 파이썬 코드 업로드 +Host PC의 /home/csle/ksb-csle/components/src/main/python/kangnam 폴더를 HDFS repository에 웹툴킷을 이용하여 업로드 합니다. +dataset/tensorflowTrainSource 위치에 폴더를 업로드 합니다. + +![코드 업로드](./images/2.6.2_codeUpload.png) + +![코드 업로드](./images/2.6.2_codeUpload2.png) + +`tensorflow_train.py` 파일은 텐서플로우 기반의 15분 뒤 속도를 예측하는 모델을 학습하는 코드가 구현되어 있는 파일입니다. (본 예제에서는 LSTM 알고리즘을 이용하여 15분 뒤 속도를 예측하는 모델을 사용합니다.) 프레임워크와 연동하여 학습이 되도록 파이썬 코드에 input 과 output 경로 등을 argument 로 받는 부분이 코딩되어야 합니다. 자세한 내용은 KSB 프레임워크과 연동을 위한 tensorflow 학습코드 작성하기 를 참고합니다. + +### 학습된 모델 업로드 +교통속도예측 텐서플로우 모델 학습하기 매뉴얼에서 학습한 후 export 된 모델이 ``hdfs://csle1:9000/user/ksbuser_etri_re_kr/model/kangnam`` 위치에 저장되어 있을 경우, 아래 과정을 생략합니다. +그렇지 않을 경우, Host PC의 /home/csle/ksb-csle/examples/models/kangnam/model 폴더에 있는 텐서플로우 서빙용으로 export 한 모델을 HDFS repository에 웹툴킷을 이용하여 업로드합니다. +model/kangnam 위치에 model 폴더를 업로드 합니다. + +![모델 업로드](./images/2.6.6_modelUpload.png) + +모델이 아래 폴더 구조로 업로드 되어야 합니다. + +![모델 업로드](./images/2.6.6_modelUpload2.png) + + +### 기타 입력파일 업로드 +그 밖에 필요한 파일들을 HDFS repository에 웹툴킷을 이용하여 dataset/input/traffic 위치에 업로드 합니다. 아래 파일들은 Host PC의 /home/csle/ksb-csle/examples/input 폴더에 있습니다. +- traffic_kangnam_cols.txt +- traffic_kangnam_clos2.txt +- trafficStreamingSplitSample.json + +![파일 업로드](./images/2.6_fileUpload.png) + + +##워크플로우 생성하기 +워크플로우 편집화면에서 워크플로우를 작성합니다. 본 예제에서는 다섯 개의 엔진을 생성합니다. + +- 워크플로우 속성 + +속성 | 값 | 비고 +--|---|-- +name | TrafficEndToEnd | 워크플로우 이름 +description | 강남 교통 예측 및 학습 시나리오 | 워크플로우를 설명하는 글 +isBatch | false | 스트림 처리를 하는 워크플로우 이므로, false 로 지정 +verbose | false | 디버깅을 위해 로그정보를 보고자할 경우, true 로 지정 + +- 엔진 속성 + +순번 | 엔진 Type | NickName | RunType | 설명 +--|---|---|---|-- +1 | StreamJoin | StreamProcessingEngine | 즉시실행 | 1분 단위로 속도 aggregation +2 | StreamJoin | StreamProcessing2Engine | 즉시실행 | 5분 단위로 속도 aggregation +3 | StreamToStream | PredictEngine | 즉시실행| 속도 전처리 후 딥러닝 모델 기반 예측 +4 | StreamToBatch | PreprocessingEngine | 즉시실행 | 딥러닝 모델 학습을 위한 전처리 +5 | Batch | TrainEngine | 반복실행 | 딥러닝 모델 학습 + +앞의 세 개 엔진은 실시간 시계열 교통속도 센서스트림 처리 및 텐서플로우 모델 서빙하기 매뉴얼을 참고하여 생성합니다. 워크플로우 편집화면 상단의 **Load Workflow** 메뉴를 이용하여 *TrafficStreamingPredict* 워크플로우를 불러옵니다. + +![워크플로우 불러오기](./images/2.6.7_workflowLoad.png) + +또는 **Workflow instances** 화면에서 *TrafficStreamingPredict* 워크플로우를 선택한 후 편집화면으로 드래그하여 워크플로우를 재사용할 수도 있습니다. + +![워크플로우 재사용하기](./images/2.6.7_workflowInstances.png) + + + +### 두 번째 엔진 수정하기 +KafkaPipeWriter를 하나 더 추가합니다. StreamJoin 엔진은 여러 개의 Reader 와 Writer 를 가질 수 있습니다. + + +#### Writer +KafkaPipeWriter를 선택하고 아래표와 같은 속성을 지정합니다. +field |value | 설명 +--|---|-- +mode | append | 새로 들어온 입력데이터에 대해서 처리함 +trigger | 5 seconds | 5초 동안 들어온 입력데이터에 대해서 처리함 +bootStrapServers | localhost:9092 | Kafka 접속 주소(IP, 포트번호) +zooKeeperConnect | localhost:2181 | zookeeper의 접속주소(IP, 포트번호) +topic | traffic_output2_copy | Kafka 큐의 이름 +checkpointLocation | file:///home/csle/ksb-csle/examples/output/
kangnam/checkpoint/kafka2_copy | checkpoint 파일을 저장할 폴더 지정 +failOnDataLoss | true | + + + +### 네 번째 엔진 생성하기 +스트림형태로 입력되는 속도 데이터를 입력 받아 가공한 뒤 배치형태의 파일로 내보내므로 StreamToBatch엔진을 선택합니다. + +#### Reader +KafkaReader를 선택하고 아래표와 같은 속성을 지정합니다. + +field |value | 설명 +--|---|-- +bootStrapServers | localhost:9092 | Kafka 접속 주소(IP, 포트번호) +zooKeeperConnect | csle1:2181 | zookeeper의 접속주소(IP, 포트번호) +groupId | traffic | Kafka topic 그룹 아이디 +topic | traffic_output2_copy | Kafka 큐의 이름 + + +#### Writer +FileWriter를 선택하고 아래표와 같은 속성을 지정합니다. + +field |value | 설명 +--|---|-- +filePath | file:///home/csle/ksb-csle/examples/output/traffic_processing.csv | 출력 파일 경로 +fileType | CSV | 출력 파일 타입 +delimiter | , | 구분자 +header | false | 헤더 포함 유무 +saveMode | APPEND | 파일 저장 방식 + +- 출력 파일 경로 지정 +HDFS 의 상대경로를 지정할 경우, 상대경로 앞에 **사용자 기본 파일경로** 가 워크플로우 실행 시 동적으로 생성되어 적용됩니다. **사용자 기본 파일경로** 는 ``hdfs://{host}:{port}/user/{user_id}/applications/{workflow_id}/output/`` 입니다. +스트림 처리를 통해 주기적으로 파일을 생성하는 경우 HDFS 를 지원하지 않습니다. 따라서 본 예제에서는 로컬파일 시스템 경로를 사용합니다. 로컬파일 시스템 경로를 지정할 경우, ``file:///`` 키워드를 앞에 붙여서 사용합니다. + +#### Controller +SparkStreamController를 선택하고 아래표와 같은 속성을 지정합니다. +SparkStreamController는 스트림으로 입력되는 데이터를 큐에 저장하고, 일정 주기 마다 정해진 윈도우 크기로 잘라서 operator 에게 전달합니다. + +field |value | 설명 +--|---|-- +operationPeriod | 10 | Reader로 부터 데이터를 읽어올 주기, 초 단위 +windowSize | 1530 | 큐에서 사용할 윈도우 크기
170 x 9 +slidingSize | 1360 | 윈도우를 sliding 하는 크기
170 x 8 + +본 예제에서는 10초 주기마다 1530 개의 데이터를 잘라서 operator에게 전달합니다. 입력데이터는 총 170개의 LINK_ID 를 가집니다. 따라서 5분 간격으로 170개의 데이터가 들어오는 셈입니다. 그런데 스트림 데이터는 계속해서 들어오고 있으므로 첫 시작 데이터가 어디일지 가늠하기 어렵습니다. 따라서 필요한 8 주기 보다 한 주기를 더 가져와서 처리하고 (170 x 9 = 1530 개), 8 주기 씩 슬라이딩 합니다 (170 x 8 = 1360 개). 아래에서 설명할 GroupByFilterOperator 및 OrderByFilterOperator 를 이용하여 170 x 8 = 1360 개 데이터를 필터링해서 사용합니다. + +#### Runner +SimpleSparkRunner 를 선택합니다. +field |value | 설명 +--|---|-- +inJason | false | false로 설정하는 경우 json 형태의 파라메타를 커맨드라인 파라미터 형태로 변환하여 호출되는 외부 시스템에 전달. True 이면 json 형태의 파라메타 형태 그대로 외부시스템에 전달. +sparkArgs | | 아래의 표 참고 + +sparkArgs 설정은 다음과 같이 합니다. +field |value | 설명 +--|---|-- +master | local[\*] | YARN 의 마스터 +numExecutors | 2 | 익스큐터 개수 +excuterCores | 2 | 익스큐터 코어 개수 +executerMemory | 1g | Spark 의 익스큐터 메모리 +driverMemory | 1g | Spark 드라이버 메모리 +totalCores | 2 | Spark 전체 할당 가능 코어수 +sparkVersion | 2.3.0 | KSB프레임워크의 Spark 버전 + + + +#### Operator +세 번째 엔진에서는 6개의 Operator를 사용하여 입력데이터를 가공합니다. + + +1. **ColumnSelectOperator** + +field |value | 설명 +--|---|-- +selectedColumnName | PRCS_DATE
LINK_ID
PRCS_SPD | 선택할 칼럼 이름 + +2. **GroupByFilterOperator** + +field |value | 설명 +--|---|-- +keyColName | PRCS_DATE | 총계처리를 할 key 칼럼 이름 +groupby | COUNT | 총계처리 방법 선택 +condition | EQUAL | 총계처리 후 Filter 방법 선택 +value | 170 | Filter 의 값 입력 + +1530 개 데이터에서 LINK_ID 가 170 개가 되지 않는 시간의 데이터를 버리기 위해서, PRCS_DATE 칼럼을 COUNT 하여 170 이 되는 조건의 데이터만 남깁니다. 그러면 170 x 8 = 1360 개의 데이터만 남습니다. 그런데 우연히 데이터를 시작시점부터 잘 받았을 경우, 170 x 9 = 1530 개의 데이터가 남습니다. + +3. **OrderByFilterOperator** + +field |value | 설명 +--|---|-- +keyColName | PRCS_DATE | 정렬을 할 key 칼럼 이름 +method | ASC | 정렬 방법 선택 (ASC: 오름차순, DESC: 내림차순) +value | 1360 | 선택할 Row 의 개수 + +PRCS_DATE 칼럼을 정렬하여 8 주기의 데이터 (170 x 8 = 1360 개) 만 남깁니다. + +4. **MinMaxScalingOperator** + +field |value | 설명 +--|---|-- +selectedColumnId | 2 | 선택할 칼럼 ID, PRCS_SPD 선택 (0부터 시작) +max | 0.5 | 데이터가 scaling 될 때 최대값 +min | -0.5 | 데이터가 scaling 될 때 최소값 +withMinMaxRange | true | 위에서 설정한 max, min 값 사용 여부 +maxRealValue | 100 | 데이터에서 정상 범위로 사용할 최소값 +minRealValue | 0 | 데이터에서 정상 범위로 사용할 최대값 + + +5. **PivotOerator** + +field |value | 설명 +--|---|-- +selectedColumnId | 1 | Pivot 할 칼럼 ID, LINK_ID 선택 (0부터 시작) +groupByColumn | 0 | 총계처리를 할 key 칼럼 ID, PRCS_DATE 선택 (0부터 시작) +valueColumn | 2 | 총계처리를 할 칼럼 ID, PRCS_SPD 선택 (0부터 시작) +method | AVG | 총계처리 방법 선택 + +시간 및 170 개의 LINK_ID 값을 칼럼으로 가지고, 시간에 따른 평균속도를 행으로 가지도록 DataFrame 을 변경합니다. + +![Pivot 결과](./images/2.6_pivotResult.png) + +6. **ColumnSelectWithFileOperator** + +field |value | 설명 +--|---|-- +columnIdPath | dataset/input/traffic/
traffic_kangnam_cols2.txt | 선택할 칼럼 이름이 정의된 텍스트파일 경로 및 이름 입력 + +텐서플로우 기반 속도 예측 모델의 입력 순서에 맞도록 칼럼을 선택합니다. 본 예제에서는 칼럼의 개수가 많으므로 ColumnSelectOperator 를 사용하여 선택할 칼럼 이름을 일일이 입력하는 것이 매우 번거로우므로 ColumnSelectWithFileOperator 를 사용합니다. 칼럼 이름을 쉼표(,) 로 구분하여 입력한 텍스트파일로 부터 칼럼 이름을 읽어들여 칼럼을 선택합니다. + + +### 다섯 번째 엔진 생성하기 +텐서플로우를 이용하여 배치 형태로 딥러닝 모델을 생성하기 위해 Batch 엔진을 선택합니다. 다섯 번째 엔진은 딥러닝 모델을 주기적으로 생성하기 위해 **RUNTYPE** 을 **반복 실행** 으로 설정합니다. **주기** 는 **매분** 으로 설정합니다. 매분은 테스트용으로 5분 단위로 엔진이 submit 되어 실행됩니다. + +![RunType 설정](./images/2.6.7_runTypeSetting.png) + +#### Reader +FileReader를 선택하고 아래표와 같은 속성을 지정합니다. 앞의 엔진에서 출력한 파일을 지정합니다. + +field |value | 설명 +--|---|-- +filePath | file:///home/csle/ksb-csle/examples/output/traffic_processing.csv | 파일 경로 +fileType | CSV | 파일 타입 +delimiter | , | 구분자 +header | false | header 포함 유무 +saveMode | | 사용 하지 않음 + + +#### Writer +FileWriter를 선택하고 아래표와 같은 속성을 지정합니다. 학습한 딥러닝 모델이 최종 저장될 폴더를 지정합니다. 다른 엔진에서 학습한 딥러닝 모델을 사용하도록 하기 위해 HDFS 절대경로를 지정합니다. 상대경로를 지정할 경우, 동적으로 생성한 **사용자 기본 파일경로** 가 앞에 추가되므로 다른 엔진에서 정확한 파일 경로를 지정하는 것이 어렵습니다. + +field |value | 설명 +--|---|-- +filePath | hdfs://csle1:9000/user/ksbuser_etri_re_kr/model/kangnam | 저장 경로 +fileType | CSV | 파일 타입 +delimiter | , | 구분자 +header | false | header 포함 유무 +saveMode | | 사용 하지 않음 + +#### Controller +Controller는 외부 Tensorflow 호출하기 위해 ExternalAnalysisController을 선택합니다. + +#### Runner +TensorflowRunner를 선택합니다. + +field |value | 설명 +--|---|-- +pyEntryPath | dataset/tensorflowTrainSource/kangnam/tensorflow_train.py | 파이썬 코드 경로 +cluster | false | cluster 환경 실행 여부 +inJson | false | Json 형태 파라미터 전달 유무 +tfVersion | r1.6 | Tensorflow 버전 정보 + + +#### Operator +DLTrainOperator를 선택하고 아래표와 같은 속성을 지정합니다. + +field |value | 설명 +--|---|-- +modelPath | file:///home/csle/ksb-csle/examples/output/kangnam/model | 내부적으로 학습된 모델을 저장할 경로
반드시 로컬 경로만 지정 +additionalParams | | 아래의 표 참고 + +additionalParams 설정은 [+] 버튼을 두 번 클릭하여 다음과 같이 합니다. 파이썬 코드에서 argument 로 받는 부분입니다. + +field |value | 설명 +--|---|-- +paramName | isTrain | 학습 유무 +paramValue | True | + +field |value | 설명 +--|---|-- +paramName | num_epochs | 학습 반복 횟수 +paramValue | 2 | + +
+
+ +![워크플로우 완성 화면](./images/2.6.7_workflow.png) + +ksbuser@etri.re.kr 계정으로 접속하면 예제 워크플로우가 만들어져있습니다. 불러오기해서도 돌려볼 수 있습니다. + +## 워크플로우 실행 및 모니터링하기 +### 워크플로우 실행하기 +위에서 작성한 워크플로우를 실행하기 위해서는 워크플로우 편집기 상단의 실행 버튼을 누릅니다. 스트림 데이터를 처리하므로 Batch 체크 박스는 해제하고 워크플로우를 제출합니다. + + +### 워크플로우 모니터링 하기 + +KSB 웹툴킷 상단 메뉴의 Monitoring 탭을 클릭하면 Workflow 탭이 선택되어있습니다. Workflow 탭에서는 실행한 워크플로우들의 목록 및 동작 상태를 확인하고 제어할 수 있습니다. 위에서 실행한 워크플로우 이름을 클릭하면 워크플로우의 각 엔진들의 동작 상태 (status) 를 확인할 수 있습니다. + +![워크플로우 동작 상태 확인](./images/2.6.7_monitoring.png) + +다섯 번째 엔진은 주기적으로 (5분 마다) 실행되므로, 동작 상태(status) 가 완료(Completed)였다가 실행 중일 때는 실행 중(Inprogress) 으로 바뀌는 것을 확인할 수 있습니다. + +![워크플로우 동작 상태 확인](./images/2.6.7_monitoring2.png) + + +WorkFlow History 탭을 선택하면, 프레임워크에서 워크플로우가 동작하며 발생시킨 로그 정보를 확인 할 수 있습니다. +그리고 본 예제에서는 다섯 번째 엔진이 5분 마다 동작한 내역을 확인할 수 있습니다. + +![워크플로우 히스토리](./images/2.6.7_monitoring_history.png) + + +### 학습한 후 export 된 모델 확인하기 +다섯 번째 엔진의 FileWriter 에서 지정한 위치에 학습된 모델이 생성된 것을 확인합니다. 다섯 번째 엔진이 5분 마다 실행되어 모델을 주기적으로 생성하는 것을 확인할 수 있습니다. 모델의 버전은 0000 부터 자동으로 1씩 증가합니다. +본 예제에서는 **학습된 모델 업로드** 에서 올려둔 0001 버전 이후부터 자동으로 모델이 생성된 것을 확인할 수 있습니다. + +![학습된 모델 확인](./images/2.6.7_modelSave.png) + +### 체크포인트 파일 확인 + +첫 번째 엔진과 두 번째 엔진의 KafkaPipeWriter 가 생성한 체크포인트 파일이 지정한 위치에 생성된 것을 확인할 수 있습니다. +워크플로우 종료 후 재시작 할 경우에는 체크포인트 파일을 삭제하고 실행해야 원하는 결과를 얻을 수 있습니다. + +![체크포인트 파일 확인](./images/2.6.7_checkpoint.png) + +### 속도 예측 결과 확인하기 +Kafka의 consumer를 이용하여 속도 예측 결과를 확인합니다. 이를 위해 카프카가 설치된 폴더로 이동하여 아래 명령어를 실행합니다. 카프카는 ``home/csle/ksb-csle/tools/kafka_2.11-0.10.0.1`` 위치에 설치되어 있습니다. + +``` +cd /home/csle/ksb-csle/tools/kafka_2.11-0.10.0.1 +./bin/kafka-console-consumer.sh --zookeeper localhost:2181 --bootstrap-server localhost:9092 --topic kangnam_output +``` + +아래 그림과 같이 예측된 속도값을 Kafka로 보내는 것을 확인할 수 있습니다. + +![예측 결과 확인](./images/2.6_predictResult.png) + + +## 워크플로우 종료하기 +KSB 웹툴킷 상단 "Monitoring" 메뉴의 "Workflow" 탭에서 실행 중인 TrafficEndToEnd 워크플로우를 종료()할 수 있습니다. diff --git a/manual1903/2.7.1.KSB_Dockerize.md b/manual1903/2.7.1.KSB_Dockerize.md new file mode 100644 index 0000000000000000000000000000000000000000..29737d41ae0b3010f1b851568992ffa5fd6f2d13 --- /dev/null +++ b/manual1903/2.7.1.KSB_Dockerize.md @@ -0,0 +1,186 @@ +--- +html: + toc: true + offline: true +export_on_save: + html: true +--- +# Python 모듈 사용하기: KSB Dockerize +--- + +`ksblib.dockerize` 라이브러리는 사용자가 프로그래밍한 Python 코드를 Docker 이미지로 자동변환하는 기능을 제공합니다. 또한 REST API 기능을 자동으로 추가하여, 사용자 Python 코드로 입력자료를 보내고 결과를 받을 수 있도록 해줍니다. + +## 필요 라이브러리 + +- Python 3.5+ +- Docker 18+ + - 명령창에서 `docker` 명령어가 실행되는지 확인 + +## 테스트 환경 +- Ubuntu 16.04 및 Mac OS X +- Windows 에서는 테스트되지 않음 + +## 사용방법 + +### 1. 설치하기 + +`ksblib.dockerize`를 설치하기 위해, KSB 프레임워크 소스코드 폴더 안의 "ksblib" 폴더로 이동해 아래 명령어를 입력합니다. + +```sh +$> python setup.py install +``` + +KSB 프레임워크가 설치되어있지 않다면 설치매뉴얼 (https://csleoss.etri.re.kr/kor/sub05_01.do)을 참고하여 KSB 프레임워크를 설치합니다. + +### 2. base.py 와 main_func 생성하기 + +사용자 Python 코드들이 아래처럼 "modules" 폴더 안에 들어있다고 가정합니다. 참고: 아래 구조는 하나의 예이고, 폴더이름 및 구조는 사용자 임의로 생성할 수 있습니다. + +```sh +# Example of user-provided folder structure. +-+ modules + - __init__.py + - base.py + - requirements.txt + - user_python_file_01.py + - datafile01.pkl + - ... + -+ libraries + - library01.py + - ... +``` + +`ksb.dockerize` 라이브러리를 이용하기위해서는 반드시 두개의 파일이 "modules" 폴더 안에 들어있어야 합니다. 하나는 `__init__.py` 이고 다른 하나는 `base.py` 입니다. `__init.py__` 는 비어있는 Python 파일이어도 상관없습니다 . `base.py` 는 `main_func` 이라는 함수를 포함하고 있어야 합니다. 예를 들면 아래와 같습니다. + +`ksb.dockerize` 라이브러리는 이 `main_func` 을 불러 수행합니다. `x` 는 REST API를 통해 입력받을 데이터로, 문자열형태입니다. `x` 는 단순한 Python 문자열이어도 되고 (예: `'Hello World'`), 혹은 Json 문자열이어도 됩니다 (예: `'{"input": 4}'`). 아래 보이는 예제코드는 입력값 `x`가 Json 문자열이라고 가정하고 작성된 코드입니다. + +```python +import json + +def main_func(x): + # In this example, x is Python string containing Json data. + x = json.loads(x) + input = x['input'] + + # Do some work with the input data. + added_input = input + input + + # Return results in Python string type. + return str(added_input) +``` + +아래 코드는 `x` 가 단순 문자열이라고 가정하고 작성된 코드입니다. + +```python +def main_func(x): + # In this example, x is Python string. + input = x + + # Do some work with the input data. + added_input = input + input + + # Return results in Python string type. + return str(added_input) +``` + +`x` 를 어떤 형태로 정의하고, 이를 `main_func` 에서 어떻게 사용할지는 전적으로 사용자 자유입니다. 물론, 입력으로 오는 `x`의 형태와 그를 처리하는 방식이 잘 맞아야만 합니다. 또한, `main_func` 은 마지막 줄에 보이는 것처럼, 반드시 문자열형태의 결과를 `return` 해야합니다. + +아래에서 설명하는 모든 내용들은 `x` 가 Json 문자열이라고 가정하고 작성된 코드를 사용합니다. + +### 3. main_func 수행 실험하기 + +`ksb.dockerize` 를 이용하기 전에 `main_func` 이 성공적으로 수행되는지 반드시 테스트되야 합니다. 이를 위해, "modules"의 상위 폴더에서 Python console을 열고 (e.g. `$> python` 혹은 `$> ipython`), 아래와 같이 입력합니다. + +```python +from modules.base import main_func + +x = '{"input": 4}' +main_func(x) +``` + +작성한 `main_func` 이 에러없이 수행되도록 `main_func` 및 사용자 Python 코드들을 수정해야합니다. + +참고: 실험 중 발생하는 에러는 주로, 1) 해당 모듈이 없다거나 혹은 2) 해당 파일이 없다는 에러일 것입니다. 두 에러 모두 기본적인 Python 프로그래밍 에러로, Google 검색을 통해 해결할 수 있습니다. 간단하게 예를 들면, +- 해당 모듈이 없는 경우 + `import` 시에 "modules" (즉, 최상위 폴더이름) 로부터 시작하면 대부분 해결됩니다. 즉, `from modules.xxx import xxx` 혹은 `import modules.xxx.xxx` 와 같은 식이 됩니다. + +- 해당 파일이 없는 경우 + `os.path.dirname(__file__)` 을 파일경로 앞에 붙여주면 대부분 해결됩니다. + + +### 4. Docker 이미지 생성하기 + +위 과정까지 문제없이 끝났다면, 아래 Python 코드와 같이 `ksb.dockerize` 를 실행합니다. + +```python +from ksblib.dockerize import Dockerize + +drize = Dockerize('docker_image_name', '/path/to/modules', + requirements=['numpy:scipy>=1.1.0'], + user_args='any_string_values') +drize.build() +drize.run() +``` + +위 명령어는 "modules" 폴더에 있는 Python 코드들을 Docker 이미지로 만듭니다. 폴더경로 (`/path/to/modules`) 는 절대경로입니다. 생성되는 이미지의 이름을 변경하려면 `docker_image_name` 를 바꾸면 됩니다. `ksblib.dockerize` 는 8080 포트로 REST API를 제공합니다. 다른 포트로 변경하려면, 마지막 줄을 `drize.run(port=9090)` 처럼 변경하면 됩니다. + +사용자 Python 코드에서 사용하는 Python 라이브러리가 있다면 Docker 이미지 생성시에 `requirements` 옵션을 이용해 설치할 수 있습니다. 각각의 라이브러리는 `:` 로 구분하면 되며, 버전 정보도 명시할 수 있습니다. + +라이브러리를 설치하는 또 다른 방법은, "modules" 폴더 안에 "requirements.txt" 파일을 생성하는 것입니다. "requirements.txt" 의 내용은 아래처럼 작성하면 됩니다. + +```sh +numpy +scipy>=1.1.0 +``` + +`ksb.dockerize` 는 "requirements.txt" 안의 라이브러리를 먼저 설치하고, 그 후에 `requirements` 로 명시된 라이브러리들을 설치합니다. 따라서 동일한 라이브러리가 두 곳에 모두 명시되었다면, `requirements` 에 명시된 라이브러리가 최종설치됩니다. + +만일 이미 생성된 Docker 이미지가 있고, 다시 만들고 싶지 않다면 위 예제 코드에서 `drize.build()` 부분을 주석처리하면 됩니다. + + +#### 사용자 변수사용 + +만일, 특수한 이유로, 입력값 (예: `x`) 에 정보를 담아보내지 않고 따로 전달하고 싶은 파라미터가 있다면, `user_args` 를 사용하면 됩니다. `user_args` 로 전달된 문자열값은 Docker 이미지 생성시에 "ksb_user_args.pkl" 파일로 저장되며, "modules" 폴더에 위치한 Python 코드에서 읽어올 수 있습니다. 예를 들면: + +```python +# Any python script in the "modules" folder. +def read_user_args(): + import os + import pickle + + # Read the pickle file. + dir_name = os.path.dirname(__file__) + user_args = pickle.load(open(os.path.join(dir_name, + 'ksb_user_args.pkl'), 'rb')) + + return user_args +``` + +"ksb_user_args.pkl" 은 최상위 폴더 (이 예제에서는 "modules")에 저장됩니다. 참고: 이 기능은 실험중인 기능으로, 차후에 다른 형태로 변경될 수 있습니다. + + +### 5. 생성된 Docker 이미지 실험하기 + +위 과정에 따라 Docker 이미지가 성공적으로 만들어지고 실행되었다면, 아래처럼 실험해 볼 수 있습니다. + +``` +$> curl -d '{"input": 4}' http://localhost:8080 +``` + +위 명령어를 실행하면, 아래와 같은 작업이 순차적으로 수행됩니다. + +1. `curl` 명령어가 문자열 `'{"input": 4}'` 를 REST API를 통해 Docker image 로 전송 +2. `ksb.dockerize` 가 입력값을 `main_func` 에 전달 +3. `main_func` 이 문자열 `16` 을 반환 + +혹은, 아래처럼 Python 명령어를 이용해 테스트해볼 수도 있습니다. + +```python +import requests + +r = requests.post('http://localhost:8080', data='{"input": 4}') +status_code = r.status_code +response = r.text +``` + +반환되는 값 `response` 의 형식은 Python 문자열입니다. diff --git a/manual1903/2.7.2.KSB_TfPyCoding_Guide.md b/manual1903/2.7.2.KSB_TfPyCoding_Guide.md new file mode 100644 index 0000000000000000000000000000000000000000..84fa6f9b31bd15ee5aa01bf82a3a2b77c17579cc --- /dev/null +++ b/manual1903/2.7.2.KSB_TfPyCoding_Guide.md @@ -0,0 +1,502 @@ +--- +html: + toc: true + offline: true +export_on_save: + html: true +--- +# KSB 프레임워크와 연동을 위한 tensorflow 학습코드 작성하기 +--- +KSB 인공지능 프레임워크는 파이썬 기반 사용자의 tensorflow 코드로 파라미터를 전달하고, 텐서플로우 모델 서빙용으로 export된 모델을 하둡파일시스템(HDFS)으로 복사해오는 방식으로 연동이 됩니다. + +![Overview](images/2.7.2_introduction.png) + +따라서 사용자는 tensorflow 모델 학습을 위한 코드 작성 시, 프레임워크에서 전달하는 파라미터(입력파일 경로, 모델 저장 경로 등)를 받는 부분, 학습된 모델을 텐서플로우 서빙용으로 export 하는 부분을 구현해야 합니다. + +KSB 인공지능 프레임워크에서 텐서플로우 기반 모델을 학습하고 서빙하는 절차는 아래와 같습니다. **교통속도 예측 튜토리얼** 을 참고합니다. +1. KSB 인공지능 프레임워크에서 모델 입력 데이터 (모델 출력 데이터, 즉 lable 포함) 를 가공하여 csv 파일로 저장합니다. 하나의 파일에 입력 데이터와 학습을 위한 target 이 같이 저장되어야 합니다. 교통속도 스트림 데이터 전처리하기 를 참고합니다. + +2. 사용자 파이썬 코드에서 앞에서 가공한 csv 파일을 읽고 딥러닝 모델 학습을 합니다. 프레임워크와 사용자 파이썬 코드는 입력 파일 경로, 모델 export 경로 등의 파라미터를 전달할 수 있도록 연동되어 있습니다. 교통속도예측 텐서플로우 모델 학습하기 를 참고합니다. + +3. 학습 후 export 한 모델을 프레임워크에서 REST API 서비스가 가능하도록 띄우고, 클라이언트는 쿼리를 통해 예측 결과를 받을 수 있습니다. 사용자는 온디맨드 방식으로 서비스를 구성하거나 (온디맨드 방식으로 교통속도예측 모델 서빙하기 참고) 스트림 방식으로 서비스를 구성할 수 있습니다 (스트림 방식으로 교통속도예측 모델 서빙하기 참고). + + +## 프레임워크에서 전달하는 파라미터를 받는 부분 작성 +사용자 tensorflow 코드를 KSB 인공지능 프레임워크와 연동하기 위해서는 기본적으로 4개의 path를 KSB 인공지능 프레임워크로부터 전달 받아야 합니다. 그 밖에 사용자가 필요한 파라미터도 선언하여 전달 받을 수 있습니다. + +```python +import argparse + +if __name__ == '__main__': + parser = argparse.ArgumentParser(description='Train a model on tensorflow.') + + ## 기본적인 4개의 argument 선언 + parser.add_argument('--input', type=str, default='traffic_processing.csv', help='input path') + parser.add_argument('--model', type=str, default='file:///home/csle/kangnam/model/0000', + help='model path') + parser.add_argument('--modelPath', type=str, default='file:///home/csle/kangnam/model', + help='model base path') + parser.add_argument('--output', type=str, default='file:///home/csle/kangnam/output', + help='output path') + + ## 사용자가 필요한 argument 선언 + parser.add_argument('--isTrain', type=bool, default=True, + help='If true, train model. If not, predict with model') + parser.add_argument('--num_epochs', type=int, default=3, help='# of epochs') + + ## FLAGS 는 전역 변수 + ## FLAGS 변수를 사용해서 파라미터 사용 + FLAGS, unparsed = parser.parse_known_args() + +``` + +
+KSB 인공지능 프레임워크에서 전달하는 파라미터는 웹툴킷에서 설정한 컴퍼넌트의 속성 값입니다. + +### --input : FileReader의 filePath + +FileReader의 속성 중 filePath 에 입력 파일의 경로 및 파일명을 지정합니다. 이 값은 사용자 tensorflow 코드의 --input 파라미터로 전달됩니다. +아래와 같이 3가지 경로가 입력 가능합니다. + +![FileReader](images/2.7.2_FileReader.png) + +1) 로컬 파일시스템 절대경로 + file:///home/csle/ksb-csle/examples/input/{선택한 경로 및 파일명} +2) hdfs 절대경로 + hdfs://{host}:{port}/user/{user_id}/dataset/{선택한 경로 및 파일명} +3) Hdfs 상대경로 + dataset/{선택한 경로 및 파일명} + + +### --output : FileWriter의 filePath + +FileWriter의 속성 중 filePath에 모델이 저장될 경로를 지정합니다. 이 값은 사용자 tensorflow 코드의 --output 파라미터로 전달됩니다. 폴더명까지만 입력합니다. 해당 폴더에 자동으로 최신버전의 폴더를 생성한 후 모델이 저장됩니다. +아래와 같이 3가지 경로가 입력 가능합니다. + +![FileWriter](images/2.7.2_FileWriter.png) + +1) 로컬 파일시스템 절대경로 + file:///home/csle/ksb-csle/{선택한 경로} +2) hdfs 절대경로 + hdfs://{host}:{port}/user/{user_id}/model/{선택한 경로} +3) hdfs 상대경로 + model/{선택한 경로} + 위와 같이 입력하는 경우, 자동으로 **사용자 기본 파일경로** 가 앞에 추가됩니다. 따라서 아래와 같은 위치에 모델이 저장됩니다. hdfs://{host}:{port}/user/{user_id}/applications/{workflow_id}/output/model/{선택한 경로} + +### --modelPath (--model 포함) : DLTrainOperator의 modelPath + +DLTrainOperator의 속성 중 modelPath에 내부적으로 모델을 저장할 경로를 지정합니다. 이 값은 사용자 tensorflow 코드의 --modelPath 파라미터로 전달됩니다. 폴더명까지만 입력합니다. +아래와 같이 로컬 file system만 지원합니다. + +![DLTrainOperator](images/2.7.2_DLTrainOperator1.png) + +1) 로컬 파일시스템 절대경로 + file:///home/csle/ksb-csle/{선택한 경로} + +--model 파라미터는 위에서 지정한 modelPath를 기준으로 모델버전 폴더 path를 자동생성하여 전달합니다. 모델 버전은 0000 부터 1씩 자동으로 증가합니다. +- (modelPath) file:///home/csle/ksb-csle/{선택한 경로} +- (자동생성되는 model) file:///home/csle/ksb-csle/{선택한 경로}/{모델버전} + +### 그 밖의 파라미터 : DLTrainOperator의 additionalParams + +DLTrainOperator의 속성 중 additionalParams에 사용자가 필요한 파라미터의 이름 및 값을 설정합니다. + +![DLTrainOperator](images/2.7.2_DLTrainOperator2.png) + +paramName 에 파라미터 이름을 입력하고, paramValue 에 전달할 값을 입력합니다. + + +## 입력파일을 전처리 하는 부분 작성 + +KSB 인공지능 프레임워크에서 전달한 입력파일로부터 텐서플로우 모델의 배치 입력 데이터를 생성하기 쉽도록 path를 자동으로 획득하기 위한 pathResolver package 및 DataLoader 클래스를 제공합니다. + +```python +## import pathresolver package +import pathResolver as pathRes + +def main(): + # Preparation of data. + pathresolver = pathRes.PathResolver(FLAGS.input, FLAGS.modelPath, + FLAGS.model, FLAGS.output) + _, local_model_path, local_checkpoint_file, _ = pathresolver.get_paths() + data = pathresolver.get_input_dataframe() + loader = DataLoader(data) + +``` + +KSB 인공지능 프레임워크로부터 받은 4가지 path 정보를 이용하여 PathResolver 인스턴스를 생성합니다. + +```python +## Initiate pathresolver +pathresolver = pathRes.PathResolver(FLAGS.input, FLAGS.modelPath, FLAGS.model, FLAGS.output) +``` + +get_paths 함수를 호출하여 4개의 path를 리턴받습니다. +local_model_path 위치에 tensorflow serving용 모델을 저장합니다. 그리고 local_checkpoint_file 위치에 텐서플로우 모델의 체크포인트 파일을 저장합니다. local_model_base_path 및 output_file_path 는 참고용으로 사용하지 않습니다. + +```python +## Get paths from pathresolver +local_model_base_path, local_model_path, local_checkpoint_file, output_file_path = \ + pathresolver.get_paths() +``` + +입력 파일로부터 pandas dataframe을 리턴받습니다. 그리고 DataLoader 클래스를 이용하여 입력 데이터를 가공합니다. + +```python +## get dataframe from input path +data = pathresolver.get_input_dataframe() +loader = DataLoader(data) +``` + +```python +class DataLoader: + def __init__(self, data): + + def prepare_data(self): + """ + Prepare data for training a graph. + + Returns: + Input/output data in numpy array. + """ + + self.inputs = input #모델 입력 데이터 변수 + self.outputs = output #모델 출력 데이터 변수 + + + def get_batch(self, batch_size=64, shuffle=True): + +``` + +prepare_data 함수에서 사용자의 텐서플로우 모델 입력에 적합한 데이터로 가공하는 코드를 작성합니다. 모델의 입력 데이터는 self.inputs 변수로 저장하고, 모델의 출력 데이터는 self.outputs 변수로 저장합니다. + +## 텐서플로우 모델을 학습하고, 학습된 모델을 서빙용으로 export 하는 부분 작성 +텐서플로우 모델을 정의하고 학습한 후, 학습된 모델을 텐서플로우 서빙용으로 export 하는 코드를 작성합니다. TensorFlowModel 클래스의 각 함수 부분에 필요한 코드를 작성합니다. + +```python +tf_model = TensorFlowModel(local_model_path, local_checkpoint_file) +tf_model.build_graph() +tf_model.train_graph(loader) +# Store model to target Hdfs +pathresolver.store_output_model() + +``` + +```python +class TensorFlowModel(): + def __init__(self, local_model_path, local_checkpoint_file): + + def build_graph(self): + + def train_graph(self, loader): + + # checkpoint save + saver.save(sess, self.local_checkpoint_file) + # tensorflow serving model export + self.export(sess) + + def export(self, session): + +``` + +위에서 할당받은 local_checkpoint_file 위치에 모델 checkpoint 파일을 저장합니다. + +```python +saver.save(sess, self.local_checkpoint_file) +``` + +위에서 할당받은 local_model_path 위치에 tensorflow serving용 모델을 저장합니다. 텐서플로우 그래프의 입력 tensor 이름, 출력 tensor 이름, signature 이름 등을 정의합니다. + +```python +# tensorflow serving model export +self.export(sess) +``` + +```python +def export(self, session): + """ + Export a model. + """ + export_dir_path = self.local_model_path + + if os.path.exists(export_dir_path): + shutil.rmtree(export_dir_path) + + ## 모델 export path 받기 + builder = tf.saved_model.builder.SavedModelBuilder(export_dir_path) + + signature = tf.saved_model.signature_def_utils.build_signature_def( + ## 그래프 input tensor 정의 + inputs={ + "in1": tf.saved_model.utils.build_tensor_info(self.X) + }, + ## 그래프 output tensor 정의 + outputs={ + "out1": tf.saved_model.utils.build_tensor_info(self.output) + }, + method_name=tf.saved_model.signature_constants.PREDICT_METHOD_NAME + ) + builder.add_meta_graph_and_variables( + session, + tags=[tf.saved_model.tag_constants.SERVING], + signature_def_map={"predict_speed": signature}, ## Signature 이름 정의 + assets_collection=None, + legacy_init_op=None, + clear_devices=None, + main_op=None) + builder.save() + print('exported model in ', export_dir_path) +``` + +output_file_path에 모델을 저장합니다. + +```python +## Store model to target file system +pathresolver.store_output_model() +``` + +## 전체 코드 예제 +15분 뒤 교통속도를 예측하는 텐서플로우 모델을 구현한 예제 입니다. 기본적인 LSTM 을 사용하여 구현하였습니다. 프레임워크에서 코드를 연동하여 실행하는 방법은 교통속도예측 텐서플로우 모델 학습하기 를 참고합니다. +main 함수를 포함한 사용자 코드에서 사용하는 라이브러리 파일 등은 동일한 폴더에 위치 시키거나 1 depth의 하위 폴더까지 작성 가능합니다. + +```python +import os +import sys +import shutil +import argparse + +import numpy as np +import pandas as pd +import tensorflow as tf +import pathResolver as pathRes + + +class DataLoader: + def __init__(self, data): + """ + DataLoader class. + + Args: + data (pandas.DataFrame): Data in Pandas DataFrame format. + """ + + self.data = data + + # User-customized data. + self.inputs = None + self.outputs = None + self.prepare_data() + + def prepare_data(self): + """ + Prepare data for training a graph. + + Returns: + Input/output data in numpy array. + """ + + # Convert the first column to datetime type. + self.data.ix[:, 0] = pd.to_datetime(self.data.ix[:, 0]) + + # Sort by the date. + self.data = self.data.sort_values(0) + + # Get 8 rows as input, and set the row three after as output. + data_np = self.data.values[::, 1:] + inputs = [] + outputs = [] + for i in range(len(data_np) - 8 - 3): + input = data_np[i:i + 8].flatten() + output = data_np[i + 8 + 3].flatten() + + inputs.append(input) + outputs.append(output) + + inputs = np.array(inputs) + outputs = np.array(outputs) + inputs = inputs.reshape(-1, 8, 170) + + self.inputs = inputs + self.outputs = outputs + + def get_batch(self, batch_size=64, shuffle=True): + """ + Get batch samples of the shuffled dataset. + + Args: + batch_size (int): Batch size. + shuffle (boolean): If shuffle or not. + + Returns: + Sample of batch size. + """ + + # Shuffle data. + if shuffle: + shuffle_index = np.arange(len(self.inputs)) + np.random.shuffle(shuffle_index) + + shuffled_inputs = self.inputs[shuffle_index] + shuffled_outputs = self.outputs[shuffle_index] + else: + shuffled_inputs = self.inputs + shuffled_outputs = self.outputs + + # Enumerate. + n_iter = int(shuffled_inputs.shape[0] / batch_size) + for i in range(n_iter): + yield shuffled_inputs[i * batch_size: (i + 1) * batch_size], \ + shuffled_outputs[i * batch_size: (i + 1) * batch_size] + + +class TensorFlowModel(): + def __init__(self, local_model_path, local_checkpoint_file): + """ + Build graph and export a model. + """ + self.X = None + self.Y = None + self.loss = None + self.train = None + self.output = None + self.local_model_path = local_model_path + self.local_checkpoint_file = local_checkpoint_file + + def build_graph(self): + """ + Build a graph + """ + + # Define inputs and outputs + seq_length = 8 + num_links = 170 + hidden_size = 128 + learning_rate = 0.01 + self.X = tf.placeholder(tf.float32, shape = [None, seq_length, num_links]) + self.Y = tf.placeholder(tf.float32, shape = [None, num_links]) + + # build a LSTM network + cell = tf.contrib.rnn.BasicLSTMCell( + num_units=hidden_size, state_is_tuple=True, activation=tf.tanh) + outputs, _states = tf.nn.dynamic_rnn(cell, self.X, dtype=tf.float32) + Y_pred = tf.contrib.layers.fully_connected( + outputs[:, -1], num_links, activation_fn=None) # We use the last cell's output + + # cost/loss + self.loss = tf.reduce_sum(tf.square(Y_pred - self.Y)) # sum of the squares + + # optimizer + optimizer = tf.train.AdamOptimizer(learning_rate) + self.train = optimizer.minimize(self.loss) + + self.output = Y_pred + + + def train_graph(self, loader): + """ + Train a graph + """ + + saver = tf.train.Saver() + + with tf.Session() as sess: + init = tf.global_variables_initializer() + sess.run(init) + + # restore from checkpoint file + if os.path.exists(self.local_checkpoint_file): + ckpt_path = tf.train.latest_checkpoint(self.local_checkpoint_file) + saver.restore(sess, ckpt_path) + print("Model Restored from ", ckpt_path) + + + num_epochs = FLAGS.num_epochs + num_batch = 10 + for i in range(num_epochs): + batch_loader = loader.get_batch(batch_size=num_batch, shuffle=False) + for inputs, outputs in batch_loader: + _, loss = sess.run([self.train, self.loss], + feed_dict={self.X: inputs, self.Y: outputs}) + + print("train lose: ", loss) + + # checkpoint save + saver.save(sess, self.local_checkpoint_file) + # tensorflow serving model export + self.export(sess) + sess.close() + + tf.reset_default_graph() + + + def export(self, session): + """ + Export a model. + """ + export_dir_path = self.local_model_path + + if os.path.exists(export_dir_path): + shutil.rmtree(export_dir_path) + + builder = tf.saved_model.builder.SavedModelBuilder(export_dir_path) + + signature = tf.saved_model.signature_def_utils.build_signature_def( + inputs={ + "in1": tf.saved_model.utils.build_tensor_info(self.X) + }, + outputs={ + "out1": tf.saved_model.utils.build_tensor_info(self.output) + }, + method_name=tf.saved_model.signature_constants.PREDICT_METHOD_NAME + ) + builder.add_meta_graph_and_variables( + session, + tags=[tf.saved_model.tag_constants.SERVING], + signature_def_map={"predict_speed": signature}, + assets_collection=None, + legacy_init_op=None, + clear_devices=None, + main_op=None) + builder.save() + print('exported model in ', export_dir_path) + + +def main(): + # Preparation of data. + pathresolver = pathRes.PathResolver(FLAGS.input, FLAGS.modelPath, + FLAGS.model, FLAGS.output) + _, local_model_path, local_checkpoint_file, _ = pathresolver.get_paths() + data = pathresolver.get_input_dataframe() + loader = DataLoader(data) + + if FLAGS.isTrain: + # Train a model and export. + tf_model = TensorFlowModel(local_model_path, local_checkpoint_file) + tf_model.build_graph() + tf_model.train_graph(loader) + # Store model to target Hdfs + pathresolver.store_output_model() + else: + pass + + + +if __name__ == '__main__': + parser = argparse.ArgumentParser(description='Train a model on tensorflow.') + + parser.add_argument('--input', type=str, default='traffic_processing.csv', help='input path') + parser.add_argument('--model', type=str, default='file:///home/csle/kangnam/model/0000', + help='model path') + parser.add_argument('--modelPath', type=str, default='file:///home/csle/kangnam/model', + help='model base path') + parser.add_argument('--output', type=str, default='file:///home/csle/kangnam/output', + help='output path') + + parser.add_argument('--isTrain', type=bool, default=True, + help='If true, train model. If not, predict with model') + parser.add_argument('--num_epochs', type=int, default=3, help='# of epochs') + + FLAGS, unparsed = parser.parse_known_args() + + main() +``` diff --git a/manual1903/2.7.3.CSV2Parquet.md b/manual1903/2.7.3.CSV2Parquet.md new file mode 100644 index 0000000000000000000000000000000000000000..9033eed37fcc55c21f240acd2703806df4c139da --- /dev/null +++ b/manual1903/2.7.3.CSV2Parquet.md @@ -0,0 +1,136 @@ +--- +html: + toc: true + offline: true +export_on_save: + html: true +--- +# CSV 파일 Parquet로 저장하기 +--- + +이 예제에서는 CSV 자료를 Batch 형태로 입력받아 Parquet 파일로 저장하는 방법에 대해 설명합니다. + +참고: Parquet 파일은 KSB 프레임워크가 제공하는 AutoML 기능 혹은 ML학습 기능을 사용하기 위해 필요한 입력자료 형태입니다. + +## 입력 데이터 준비하기 +입력데이터는 헤더 정보를 포함하는 CSV 파일이어야 합니다. 본 예제에서는 Host PC의 "/home/csle/ksb-csle/examples/input/iris.csv" 를 사용자 HDFS repository 의 "dataset/input" 폴더에 업로드하여 사용합니다. + +참고: 이전 버전의 KSB 프레임워크를 사용하고 있다면 iris.csv 가 없을 수도 있습니다. 이 경우 여기에서 다운받으면 됩니다. + +iris.csv 는 다음과 같은 값을 저장하고 있습니다. + +```sh +sepal_length,sepal_width,petal_length,petal_width,species +5.1,3.5,1.4,0.2,setosa +4.9,3.0,1.4,0.2,setosa +4.7,3.2,1.3,0.2,setosa +4.6,3.1,1.5,0.2,setosa +5.0,3.6,1.4,0.2,setosa +5.4,3.9,1.7,0.4,setosa +``` + +첫번째 줄은 헤더이고, 두번째 줄부터 자료값입니다. 각각의 값은 "," 로 분리되어 있어야 합니다. + +## 워크플로우 생성하기 +워크플로우 편집화면을 이용하여, 아래 과정을 거쳐 워크플로우를 생성합니다. + +### 엔진 선택 +기계학습모델 학습기능을 사용하기 위해 BatchToBatchStream 엔진을 드래그앤 드롭합니다. 속성값을 아래와 같이 지정합니다. + +field |value | 설명 +--|---|-- +name | 2.7.3.CSV2Parquet | 워크플로우 이름 +description | CSV 파일 Parquet로 변환하기 | 워크플로우 설명 +isBatch | true | Batch 실행여부 + +#### Reader +파일을 읽기위해 FileReader를 드래그앤 드롭하고, 아래표와 같이 속성을 지정합니다. + +field |value | 설명 +--|---|-- +filePath | dataset/input/iris.csv | 파일경로 +fileType | CSV | 파일형태 +delimiter | , | 구분자 +field | | 상세설정 +header | true | 헤더포함여부 + +filePath는 직접 입력할 수도 있으며, 아래 화면처럼 GUI를 이용해 선택할 수도 있습니다 (filePath 속성에 "File" 버튼 클릭). 기타 속성은 기본값으로 두면 됩니다. + +![파일 읽기](images/2.7.3_read.png) + +#### Writer +Parquet 파일을 저장하기 위해 FileWriter를 드래그앤 드롭합니다. + +field |value | 설명 +--|---|-- +filePath | dataset/input/iris.parquet | 저장경로 및 파일이름 +fileType | PARQUET | 파일형태 +delimiter | , | 구분자 +field | | 상세설정 +header | true | 헤더포함여부 + +Reader의 경우와 마찬가지로 filePath는 직접 입력할 수도 있으며, GUI를 이용해 선택할 수도 있습니다. + +#### Controller +Controller 로는 SparkSessionOrStreamController를 드래그앤 드롭합니다. + +#### Runner +SimpleSparkRunner 를 드래그앤 드롭합니다. + +field |value | 설명 +--|---|-- +inJason | false | Jason 형태 파라미터 전달여부 +sparkArgs | | Spark 상세설정 + +sparkArgs 버튼을 누르면 아래와 같이 Apache Spark 실행환경을 세부설정할 수 있는 창이 뜹니다. 이 예제에서는 기본값을 사용합니다. + +#### Operator + +이 예제에서는 CSV 파일의 칼럼들을 제어하기 위해 두개의 Operator를 사용합니다. 첫번째 Operator 는 VectorizeColumnOperator 입니다. 이 Operator 는 CSV 의 특정 칼럼을 선택해 Vector 로 합쳐 하나의 칼럼에 할당합니다. 속성값을 아래와 같이 설정합니다. + +field |value | 설명 +--|---|-- +srcColumnNames | sepal_length,sepal_width,petal_length,petal_width | Vectorize 할 칼럼이름. "," 로 구분. +destColumnNames | features | Vectorize 된 칼럼 이름 +keepSrcColumns | true | 기존 칼럼 유지 여부 + +두번째로 사용할 Operator 는 RenameColumnOperator 입니다. 이 Operator 는 CSV의 특정칼럼 이름을 원하는 이름으로 변경해줍니다. 속성값을 아래와 같이 설정합니다. + +field |value | 설명 +--|---|-- +existingName | species | 기존 칼럼 이름 +newName | label | 새로운 칼럼 이름 + +위 두 과정을 거치게 되면, 1) `sepal_length,sepal_width,petal_length,petal_width` 총 4개의 칼럼을 Vectorize 한 칼럼이 "features" 라는 이름으로 생성되고, 2) `species` 라는 이름을 가졌던 칼럼이 `label` 이라는 이름의 칼럼으로 변경됩니다. + +### 워크플로우 완성 화면 + +아래 그림은 위 과정을 거쳐 완성된 워크플로우 화면입니다. + +![워크플로우 완성 화면](images/2.7.3_workflow.png) + +## 워크플로우 실행 및 모니터링하기 + +### 워크플로우 실행하기 +위에서 작성한 워크플로우를 실행하기 위해서는 워크플로우 편집기 상단의 실행버튼 ()을 누릅니다. 이 예제의 엔진은 배치형태로 실행되므로 "Batch" 체크박스를 체크하고 워크플로우를 제출해야합니다. + +![Batch 체크](images/2.7.3_run_workflow.png) + +### 워크플로우 모니터링 하기 + +#### 워크플로우 상태 확인 +KSB 웹툴킷 상단 "Monitoring" 메뉴의 "Workflow" 탭에서 작성한 워크플로우의 상태를 확인할 수 있습니다. 이 화면에서 실행 중인 워크플로우를 종료()할 수 있으며, 종료된 워크를로우를 다시 실행()할 수도 있습니다. + +![워크플로우 동작 상태 확인](images/2.7.3_monitor.png) + +#### 워크플로우 로그 보기 +위 화면에서 "WorkFlow History" 탭을 선택하면, KSB 프레임워크가 수행한 워크플로우들의 목록 및 각각의 로그 (목록 최우측의 i 버튼 클릭)를 확인할 수 있습니다. + +![워크플로우 히스토리](images/2.7.3_history.png) + +## 변환된 Parquet 파일 확인하기 +실행결과물은 KSB 웹툴킷 상단의 "Repository" 메뉴에서 확인할 수 있습니다. 먼저 "applications" 폴더 안의 워크플로우 ID 폴더로 들어갑니다 (워크플로우 ID는 Monitoring 메뉴에서 확인 가능). 해당 경로안에 "output" 폴더가 생성되어 있고 FileWriter 에서 설정한 "dataset/input/iris.parquet" 파일이 생성되어 있으면 워크플로우가 성공적으로 수행된 것입니다. "iris.parquet" 파일 내부는 "Text 결과 파일 보기"를 클릭해 확인할 수 있습니다 (아래 그림 참조). + +![결과확인](images/2.7.3_output.png) + +참고: 생성된 파일은 parquet 파일로 일반 텍스트 형태가 아닙니다. 따라서 제대로 된 내용확인을 위해서는 Spark 프로그래밍이 필요합니다 (https://spark.apache.org/docs/latest/sql-programming-guide.html#parquet-files). diff --git a/manual1903/2019-03-05-hadoop-2243-ssh-2243-test.md b/manual1903/2019-03-05-hadoop-2243-ssh-2243-test.md new file mode 100644 index 0000000000000000000000000000000000000000..48d34a350281d8f65096c52ef3a7c5317ec135ab --- /dev/null +++ b/manual1903/2019-03-05-hadoop-2243-ssh-2243-test.md @@ -0,0 +1,392 @@ +--- +html: + toc: true + offline: true +export_on_save: + html: true +--- +# KSB 웹툴킷 사용시, 호스트 PC의 SSH 포트 변경 및 hostname 변경 방법 +--- + +만약 자신의 PC 환경 아래와 같다고 가정한 경우, KSB 웹툴킷 docker 이미지 변경 방법에 대해서 알려드립니다. + +hostname은 소문자로 설정하시기 바랍니다. hadoop을 사용하려고 할때 uppercase 사용시 문제가 됩니다 +``` +HOST PC hostname : csleserver +HOST PC IP : 192.168.1.102 +HOST PC SSH PORT : 22 +HOST PC 사용자 계정 : csle +``` + +# [HOST PC] vi etc/hosts에 추가 +아래와 같이 설정합니다. +``` +127.0.0.1 localhost +#127.0.1.1 csle1 + +# The following lines are desirable for IPv6 capable hosts +::1 ip6-localhost ip6-loopback +fe00::0 ip6-localnet +ff00::0 ip6-mcastprefix +ff02::1 ip6-allnodes +ff02::2 ip6-allrouters + +192.168.1.102 csleserver master +``` + +# [HOST PC] sshd_config port 변경 혹은 확인 +``` +Port 22 +# Authentication: +LoginGraceTime 120 +PermitRootLogin yes +StrictModes yes +``` + +# [HOST PC] sudo vi /etc/ssh/ssh_config +Host localhost +StrictHostKeyChecking no + +Host 0.0.0.0 +StrictHostKeyChecking no + +Host 127.0.0.1 +StrictHostKeyChecking no + +Host csle* +StrictHostKeyChecking no +UserKnownHostsFile=/dev/null + +Host master +StrictHostKeyChecking no +UserKnownHostsFile=/dev/null + + +# [HOST PC] startDockerCsle.sh 수정 +``` +cd ~/ksb-csle/docker/1.0-host +vi startDockerCsle.sh +``` + +``` +#!/bin/bash +sudo service postgresql stop + +docker network rm csle_cluster csle_standalone +docker rm -f csle1 + +echo "csle1 slave container..." +echo "start csle1 slave container..." +docker run --rm -itd \ + --net=host \ + -v /home/csle/ksb-csle:/home/csle/ksb-csle \ + -v /etc/localtime:/etc/localtime:ro \ + -v /etc/timezone:/etc/timezone \ + --user=csle \ + --name=csle1 \ +[수정] --hostname=$HOSTNAME \ + ksbframework/ksb_toolbox:1.0.0 bash + +docker exec -it csle1 bash +``` + +# [HOST PC] ksb 웹툴킷 실행 +``` +./startDockerCsle.sh +``` + +# [docker 컨테이너] Hadoop 수정 +``` +cd +cd hadoop/etc/hadoop +``` + +## core-site.xml 수정 +``` +vi core-site.xml +:%s/csle1/csleserver/g +``` + +## master 수정 +``` +vi masters +:%s/csle1/csleserver/g +``` + +## slaves 수정 +``` +vi slaves +:%s/csle1/csleserver/g +``` + +## yarn-site.xml 수정 +``` +vi yarn-site.xml +:%s/csle1/csleserver/g +``` + +## hadoop-env.sh 추가 +``` +vi hadoop-env.sh +export HADOOP_SSH_OPTS="-p 2243" +``` + +# [docker 컨테이너] Hbase 수정 +## hbase-site.xml 수정 +``` +cd ~/hbase/conf +vi hbase-site.xml +:%s/csle1/csleserver/g +``` + +## regionservers 수정 +``` +vi regionservers +:%s/csle1/csleserver/g +``` +## hbase-env.sh 수정 +``` +vi hbase-env.sh +export HBASE_SSH_OPTS="-p 2243" +``` + + +# [docker 컨테이너] startService.sh 수정 +cd +vi startService.sh +``` +#!/bin/bash +export TERM=xterm +stty rows 36 cols 150 +sudo service ssh restart +sudo service postgresql restart + +bash /home/csle/zookeeper-3.4.9/bin/zkServer.sh start +[수정] ssh csle@master -p 2243 "cd /home/csle/zookeeper-3.4.9/bin; ./zkServer.sh start" +[수정] ssh csle@csleserver -p 2243 "cd /home/csle/zookeeper-3.4.9/bin; ./zkServer.sh start" +start-dfs.sh +start-yarn.sh +start-hbase.sh +/home/csle/kafka/bin/kafka-server-start.sh /home/csle/kafka/config/server.properties & +/home/csle/ui_of_csle/apache-tomcat-7.0.81/bin/catalina.sh start & +/home/csle/start-mongo.sh & +sleep 5 +cd /home/csle/ksb-csle/bin +/home/csle/ksb-csle/bin/startKnowledge_service.sh localhost 9876 +``` + +# [docker 컨테이너] sshd_config port 변경 +sudo vi /etc/ssh/sshd_config +``` +Port 2243 +# Authentication: +LoginGraceTime 120 +PermitRootLogin yes +StrictModes yes +``` + +# [docker 컨테이너] zookeeper 수정 +vi ~/zookeeper/conf/zoo.cfg +``` +server.1=csleserver:2888:3888 +``` + +# [docker 컨테이너] kafka 수정 +vi ~/kafka/config/server.properties +``` +advertised.listeners=PLAINTEXT://csleserver:9092 +zookeeper.connect=csleserver:2181 +``` + +# initHdfs.sh 수정 +vi ~/ksb-csle/bin/initHdfs.sh +``` +#!/bin/bash +hdfs dfs -mkdir -p /user/ksbuser_etri_re_kr/dataset/ +hdfs dfs -mkdir -p /user/ksbuser_etri_re_kr/model +hdfs dfs -chown ksbuser_etri_re_kr:supergroup /user/ksbuser_etri_re_kr/ +hdfs dfs -chown ksbuser_etri_re_kr:supergroup /user/ksbuser_etri_re_kr/dataset +hdfs dfs -chown ksbuser_etri_re_kr:supergroup /user/ksbuser_etri_re_kr/model + +hdfs dfs -mkdir -p /user/ksbuser_etri_re_kr/dataset/input +hdfs dfs -put /home/csle/ksb-csle/examples/input/input_kmeans.csv /user/ksbuser_etri_re_kr/dataset/input/ +hdfs dfs -put /home/csle/ksb-csle/examples/input/201509_2.csv /user/ksbuser_etri_re_kr/dataset/input/ +hdfs dfs -put /home/csle/ksb-csle/examples/input/adult.csv /user/ksbuser_etri_re_kr/dataset/input/ +hdfs dfs -put /home/csle/ksb-csle/examples/input/input.csv /user/ksbuser_etri_re_kr/dataset/input/ +hdfs dfs -put /home/csle/ksb-csle/examples/input/trainset.csv /user/ksbuser_etri_re_kr/dataset/input/ +hdfs dfs -mkdir -p /user/ksbuser_etri_re_kr/dataset/BatchAutoMLTrainInSingleEngine/hue_train_dataset +hdfs dfs -put /home/csle/ksb-csle/examples/dataset/BatchAutoMLTrainInSingleEngine/hue_train_dataset/*.* /user/ksbuser_etri_re_kr/dataset/BatchAutoMLTrainInSingleEngine/hue_train_dataset +hdfs dfs -mkdir -p /user/ksbuser_etri_re_kr/model/autosparkml/test/0000 +hdfs dfs -put /home/csle/ksb-csle/examples/autosparkml/test/automl_test/0000/* /user/ksbuser_etri_re_kr/model/autosparkml/test/0000 + +hdfs dfs -mkdir -p /user/ksbuser_etri_re_kr/dataset/tensorflowTrainSource/recurrent +hdfs dfs -put /home/csle/ksb-csle/components/src/main/python/recurrent/* /user/ksbuser_etri_re_kr/dataset/tensorflowTrainSource/recurrent +hdfs dfs -chown -R ksbuser_etri_re_kr:supergroup /user/ksbuser_etri_re_kr/dataset/tensorflowTrainSource/ +hdfs dfs -chown -R ksbuser_etri_re_kr:supergroup /user/ksbuser_etri_re_kr/model/autosparkml/ + +hdfs dfs -mkdir -p /user/ksbuser_etri_re_kr/dataset/pyModules/ChatbotServing +hdfs dfs -put /home/csle/ksb-csle/examples/pyModules/ChatbotServing/* /user/ksbuser_etri_re_kr/dataset/pyModules/ChatbotServing + +hdfs dfs -mkdir -p /user/ksbuser_etri_re_kr/model/kangnam +hdfs dfs -put /home/csle/ksb-csle/examples/models/kangnam/model/0001 /user/ksbuser_etri_re_kr/model/kangnam + +hdfs dfs -mkdir -p /user/ksbuser_etri_re_kr/dataset/input/traffic/ +hdfs dfs -put /home/csle/ksb-csle/examples/input/traffic_kangnam_cols.txt /user/ksbuser_etri_re_kr/dataset/input/traffic/ +hdfs dfs -put /home/csle/ksb-csle/examples/input/traffic_kangnam_cols2.txt /user/ksbuser_etri_re_kr/dataset/input/traffic/ +hdfs dfs -put /home/csle/ksb-csle/examples/input/trafficStreamingSplitSample.json /user/ksbuser_etri_re_kr/dataset/input/traffic/ +hdfs dfs -put /home/csle/ksb-csle/examples/input/traffic_processing.csv /user/ksbuser_etri_re_kr/dataset/input/traffic/ + +hdfs dfs -mkdir -p /user/ksbuser_etri_re_kr/dataset/tensorflowTrainSource/kangnam +hdfs dfs -put /home/csle/ksb-csle/components/src/main/python/kangnam/* /user/ksbuser_etri_re_kr/dataset/tensorflowTrainSource/kangnam + +hdfs dfs -mkdir -p /user/ksbuser_etri_re_kr/dataset/iris_dataset +hdfs dfs -put /home/csle/ksb-csle/examples/dataset/iris_dataset/*.* /user/ksbuser_etri_re_kr/dataset/iris_dataset +hdfs dfs -chown -R ksbuser_etri_re_kr:supergroup /user/ksbuser_etri_re_kr/dataset/iris_dataset +``` + +# [docker 컨테이너] hdfs 초기화 +hostname이 변경되었으므로 hdfs namenode를 초기화해야 합니다. +``` +cd +sudo rm -rf data +hdfs namenode -format +sudo service ssh start +start-dfs.sh +cd ksb-csle/bin/ +./initHdfs.sh +stop-dfs.sh +sudo service ssh stop +``` + +# [docker 컨테이너] ksb-csle/conf/ksb.conf 수정 +vi ~/ksb-csle/conf/ksb.conf +``` +hadoop { + home = "/hadoop/" +[수정] master = "csleserver" + port = "9000" + hdfs { + activated = "true" + baseDir = "/user/" + modelPath = "/model" + datasetPath = "/dataset" + } + webhdfs { + port = "50070" + baseDir = "/webhdfs/v1" + } +``` + +# [docker 컨테이너] UI 웹툴킷 설정 수정 +``` +sudo service postgresql start +/home/csle/ui_of_csle/apache-tomcat-7.0.81/bin/catalina.sh start & + +csleserver:8080 접속 및 로그인 합니다.에러는 무시해도 됩니다. + +Management - system configuration- webhdfs.host : csleserver 수정 + +/home/csle/ui_of_csle/apache-tomcat-7.0.81/bin/catalina.sh stop +sudo service postgresql stop +``` + +# [HOST PC] docker 이미지 저장 +docker commit csle1 ksbframework/ksb_toolbox:1.0.1 + +# [HOST PC] startDockerCsle.sh 수정 +``` +#!/bin/bash +sudo service postgresql stop + +docker network rm csle_cluster csle_standalone +docker rm -f csle1 + +echo "csle1 slave container..." + +docker run --rm -itd \ + --net=host \ + -v /home/csle/ksb-csle:/home/csle/ksb-csle \ + -v /etc/localtime:/etc/localtime:ro \ + -v /etc/timezone:/etc/timezone \ + --user=csle \ + --name=csle1 \ + --hostname=$HOSTNAME \ +[수정] ksbframework/ksb_toolbox:1.0.1 bash + +docker exec -it csle1 bash +``` + +# [HOST PC] ksb 웹툴킷 실행 +``` +cd ~/ksb-csle/docker/1.0-host$ +./startDockerCsle.sh +``` + +# [docker 컨테이너] KSB 툴박스 초기화 및 예제 실행시 주의사항 + +``` +cd +./startService.sh +cd ~/ksb-csle/bin +./startKsbApiServing.sh +``` + +###[주의사항] +탑재되어 있는 예제에는 csle1 주소를 기준으로 작성되어 있습니다. +따라서, kafka reader / writer 예제에서 다음의 파라미터들의 변경이 필요합니다. +``` +bootStrapServer 주소 : csleserver:9092 +zooKeeperConnect 주소: csleserver:2181 +``` + +아래 예제들에서 kafka reader/writer를 사용하므로 파라미터의 수정이 필요합니다. +``` +2.5.7.RealtimeIngestToPredictInSingleEngine +2.5.8.RealtimeIngestToServingInTwoEngines +2.5.9.RealtimeIngestToServingWithKbInTwoEngines +2.5.12.TfStreamPredictionMnist +2.6.1.TrafficPreprocessing +2.6.6.TrafficStreamingPredict +2.6.7.TrafficEndToEnd +``` + +또한, hdfs://csle1:9000 주소에 file write 하는 예제들도 hdfs://csleserver:9000로 자신의 hostname에 맞도록 수정되어야 합니다. +``` +아래 예제들의 파라미터의 수정이 필요합니다. +2.5.10.HourlyTensorflowTraining +2.5.14.TrafficPeriodicTrainAndK8sServingExample +2.6.2.TrafficTraining +2.6.4.TrafficStreamServing +``` + +2.5.12.TfStreamPredictionMnist 예제의 경우, 테스트 코드를 수정한 후 테스트 합니다. + +vi ~/ksb-csle/examples/models/mnist/client/kafka-json/consume-mnist-output.sh +``` +#!/bin/bash + +KAFKA_CONSUMER=$KSB_HOME/tools/kafka_2.11-0.10.0.1/bin/kafka-console-consumer.sh +SERVER=csleserver:9092 +TOPIC=mnist_output + +$KAFKA_CONSUMER --zookeeper csleserver:2181 --bootstrap-server $SERVER --topic $TOPIC +``` + +vi ~/ksb-csle/examples/models/mnist/client/kafka-json/publish-mnist-input.sh +``` +#!/bin/bash + +INPUT_FILE=mnist_input.json +KAFKA_PRODUCER=/home/csle/ksb-csle/tools/kafka_2.11-0.10.0.1/bin/kafka-console-producer.sh +[수정] BROKERS=csleserver:9092 +TOPIC=mnist_input + +cat $INPUT_FILE | $KAFKA_PRODUCER --broker-list $BROKERS --topic $TOPIC +``` + +2.5.13.ConvergedServingEndToEndExample 예제를 실행하기 전, 아래와 같이 수정 후 실행합니다. +``` +vi ~/ksb-csle/ksblib/ksblib/dockerize/base.py +:%s/csle1/csleserver/g +:%s/2243/22/g +``` diff --git a/manual1903/2019-03-05-ksbwebtoolkit-ssh-hostname-modify-manual.md b/manual1903/2019-03-05-ksbwebtoolkit-ssh-hostname-modify-manual.md new file mode 100644 index 0000000000000000000000000000000000000000..5c9857878e86541b18bf28641cdc86284c275d87 --- /dev/null +++ b/manual1903/2019-03-05-ksbwebtoolkit-ssh-hostname-modify-manual.md @@ -0,0 +1,447 @@ +--- +html: + toc: true + offline: true +export_on_save: + html: true +--- +# 호스트 PC의 SSH 포트와 hostname을 사용자가 원하는 설정으로 변경하기 위한 KSB 웹툴킷 설정 방법 +--- + +현재 배포한 KSB 웹툴킷은 호스트 PC의 SSH 포트를 2243으로 변경해서 사용합니다. +왜냐하면 KSB 웹툴킷의 도커 컨테이너에서 SSH 22번을 사용하기 때문에 포트 충돌을 피하기 위함입니다. + +만약 사용자가 호스트 PC의 SSH 포트를 22번을 유지하고 KSB 웹툴킷의 SSH 포트를 2243번으로 변경하여 사용하기를 원하는 경우를 위해 아래의 메뉴얼을 제공합니다. +또한 호스트 PC의 hostname을 csle1으로 사용하지 않고 사용자가 원하는 이름으로 사용하는 설정 방법도 함께 설명합니다. + +만약 자신의 PC 환경이 아래와 같다고 가정한 경우, HOST PC에서 수정해야 하는 사항과 KSB 웹툴킷 docker 이미지를 변경하는 방법에 대해서 알려드립니다. + +[중요] hostname은 소문자로 설정하시기 바랍니다. hadoop을 사용한다면 uppercase 사용시 문제가 됩니다. +``` +HOST PC hostname : csleserver +HOST PC IP : 192.168.1.102 +HOST PC SSH PORT : 22 +HOST PC 사용자 계정 : csle +``` + +## [Host PC] csle 사용자 계정(권한: administrator) 생성하기 +기존 메뉴얼 참고 +## [Host PC] hostname을 csle1으로 변경하기 +기존 메뉴얼 참고 +## [Host PC] java-8-oracle 설치하기 +기존 메뉴얼 참고 +## [Host PC] KSB 툴박스 관련 프로그램 설치하기 +기존 메뉴얼 참고 + +## [Host PC] SSH port 변경 및 root 로그인 가능하도록 SSHD config 수정하기 +sudo vi /etc/ssh/sshd_config 명령을 이용해서 자신이 원하는 port로 수정합니다. +``` +Port 22 +# Authentication: +LoginGraceTime 120 +PermitRootLogin yes +StrictModes yes +``` + +## [Host PC] SSH config 수정하기 (known_hosts에 호스트 저장 질문을 하지 않도록 설정) +기존 메뉴얼 참고 + +## [Host PC] Docker 설치하기 +기존 메뉴얼 참고 + +## [Host PC] /etc/hosts 수정하기 +아래와 같이 자신의 hostname을 추가 설정합니다. +``` +127.0.0.1 localhost +# 아래 주석처리. Hdfs 연동시 문제가 생김. +#127.0.1.1 csleserver + +# The following lines are desirable for IPv6 capable hosts +::1 ip6-localhost ip6-loopback +fe00::0 ip6-localnet +ff00::0 ip6-mcastprefix +ff02::1 ip6-allnodes +ff02::2 ip6-allrouters + +192.168.1.102 csleserver master +``` + +## [Host PC] bashrc 설정 추가하기 +기존 메뉴얼 참고 + +## [Host PC] 크롬 설치하기 (optional) +기존 메뉴얼 참고 + +## [Host PC] KSB 툴박스 설치 및 docker image 다운받기 +기존 메뉴얼 참고 + +## [Host PC] KSB 툴박스 docker 이미지내 SSH 키를 host pc에 복사하기 +기존 메뉴얼 참고 + +## [Host PC] SSH 재시작하기 +기존 메뉴얼 참고 + +## [Host PC] ksb-csle 폴더 권한 변경하기 +기존 메뉴얼 참고 + +## [HOST PC] startDockerCsle.sh 수정하기 +바뀐 hostname을 이용하여 KSB 웹툴킷 docker 컨테이너를 실행하기 위해서 아래와 같이 수정합니다. +``` +cd ~/ksb-csle/docker/1.0-host +vi startDockerCsle.sh +``` + +``` +#!/bin/bash +sudo service postgresql stop + +docker network rm csle_cluster csle_standalone +docker rm -f csle1 + +echo "csle1 slave container..." +echo "start csle1 slave container..." +docker run --rm -itd \ + --net=host \ + -v /home/csle/ksb-csle:/home/csle/ksb-csle \ + -v /etc/localtime:/etc/localtime:ro \ + -v /etc/timezone:/etc/timezone \ + --user=csle \ + --name=csle1 \ +[수정] --hostname=$HOSTNAME \ + ksbframework/ksb_toolbox:1.0.0 bash + +docker exec -it csle1 bash +``` + +## [HOST PC] ksb 웹툴킷 실행하기 +``` +./startDockerCsle.sh +``` + +아래 부분은 docker 컨테이너 내부에서 환경설정을 수정하는 방법을 설명합니다. +먼저 docker 컨테이너의 ssh 포트를 변경합니다. + +## [Docker 컨테이너] sshd_config port 변경하기 +``` +sudo vi /etc/ssh/sshd_config +``` +``` +Port 2243 +# Authentication: +LoginGraceTime 120 +PermitRootLogin yes +StrictModes yes +``` + +## [Docker 컨테이너] Hadoop 수정하기 +바뀐 docker 컨테이너의 ssh 포트 (2243)을 이용해서 hadoop을 사용하기 위해 아래와 같이 환경설정 파일을 수정합니다. + +``` +cd +cd hadoop/etc/hadoop +``` + +### core-site.xml 수정하기 +``` +vi core-site.xml +:%s/csle1/csleserver/g +``` + +### master 수정하기 +``` +vi masters +:%s/csle1/csleserver/g +``` + +### slaves 수정하기 +``` +vi slaves +:%s/csle1/csleserver/g +``` + +### yarn-site.xml 수정하기 +``` +vi yarn-site.xml +:%s/csle1/csleserver/g +``` + +### hadoop-env.sh 추가하기 +``` +vi hadoop-env.sh +export HADOOP_SSH_OPTS="-p 2243" +``` + +## [Docker 컨테이너] Hbase 수정하기 +### hbase-site.xml 수정하기 +``` +cd ~/hbase/conf +vi hbase-site.xml +:%s/csle1/csleserver/g +``` + +### regionservers 수정하기 +``` +vi regionservers +:%s/csle1/csleserver/g +``` +### hbase-env.sh 수정하기 +``` +vi hbase-env.sh +export HBASE_SSH_OPTS="-p 2243" +``` + +## [Docker 컨테이너] startService.sh 수정하기 +``` +cd +vi startService.sh +``` +``` +#!/bin/bash +export TERM=xterm +stty rows 36 cols 150 +sudo service ssh restart +sudo service postgresql restart + +bash /home/csle/zookeeper-3.4.9/bin/zkServer.sh start +[수정] ssh csle@master -p 2243 "cd /home/csle/zookeeper-3.4.9/bin; ./zkServer.sh start" +[수정] ssh csle@csleserver -p 2243 "cd /home/csle/zookeeper-3.4.9/bin; ./zkServer.sh start" +start-dfs.sh +start-yarn.sh +start-hbase.sh +/home/csle/kafka/bin/kafka-server-start.sh /home/csle/kafka/config/server.properties & +/home/csle/ui_of_csle/apache-tomcat-7.0.81/bin/catalina.sh start & +/home/csle/start-mongo.sh & +sleep 5 +cd /home/csle/ksb-csle/bin +/home/csle/ksb-csle/bin/startKnowledge_service.sh localhost 9876 +``` + +## [Docker 컨테이너] zookeeper 수정하기 +``` +vi ~/zookeeper/conf/zoo.cfg +``` +``` +server.1=csleserver:2888:3888 +``` + +## [Docker 컨테이너] kafka 수정하기 +``` +vi ~/kafka/config/server.properties +``` +``` +advertised.listeners=PLAINTEXT://csleserver:9092 +zookeeper.connect=csleserver:2181 +``` + +## [Docker 컨테이너] initHdfs.sh 수정하기 +사용자 편의를 위해서 예제를 실행하기 위한 파일들을 hadoop 파일시스템에 등록합니다. +``` +vi ~/ksb-csle/bin/initHdfs.sh +``` +``` +#!/bin/bash +hdfs dfs -mkdir -p /user/ksbuser_etri_re_kr/dataset/ +hdfs dfs -mkdir -p /user/ksbuser_etri_re_kr/model +hdfs dfs -chown ksbuser_etri_re_kr:supergroup /user/ksbuser_etri_re_kr/ +hdfs dfs -chown ksbuser_etri_re_kr:supergroup /user/ksbuser_etri_re_kr/dataset +hdfs dfs -chown ksbuser_etri_re_kr:supergroup /user/ksbuser_etri_re_kr/model + +hdfs dfs -mkdir -p /user/ksbuser_etri_re_kr/dataset/input +hdfs dfs -put /home/csle/ksb-csle/examples/input/input_kmeans.csv /user/ksbuser_etri_re_kr/dataset/input/ +hdfs dfs -put /home/csle/ksb-csle/examples/input/201509_2.csv /user/ksbuser_etri_re_kr/dataset/input/ +hdfs dfs -put /home/csle/ksb-csle/examples/input/adult.csv /user/ksbuser_etri_re_kr/dataset/input/ +hdfs dfs -put /home/csle/ksb-csle/examples/input/input.csv /user/ksbuser_etri_re_kr/dataset/input/ +hdfs dfs -put /home/csle/ksb-csle/examples/input/trainset.csv /user/ksbuser_etri_re_kr/dataset/input/ +hdfs dfs -mkdir -p /user/ksbuser_etri_re_kr/dataset/BatchAutoMLTrainInSingleEngine/hue_train_dataset +hdfs dfs -put /home/csle/ksb-csle/examples/dataset/BatchAutoMLTrainInSingleEngine/hue_train_dataset/*.* /user/ksbuser_etri_re_kr/dataset/BatchAutoMLTrainInSingleEngine/hue_train_dataset +hdfs dfs -mkdir -p /user/ksbuser_etri_re_kr/model/autosparkml/test/0000 +hdfs dfs -put /home/csle/ksb-csle/examples/autosparkml/test/automl_test/0000/* /user/ksbuser_etri_re_kr/model/autosparkml/test/0000 + +hdfs dfs -mkdir -p /user/ksbuser_etri_re_kr/dataset/tensorflowTrainSource/recurrent +hdfs dfs -put /home/csle/ksb-csle/components/src/main/python/recurrent/* /user/ksbuser_etri_re_kr/dataset/tensorflowTrainSource/recurrent +hdfs dfs -chown -R ksbuser_etri_re_kr:supergroup /user/ksbuser_etri_re_kr/dataset/tensorflowTrainSource/ +hdfs dfs -chown -R ksbuser_etri_re_kr:supergroup /user/ksbuser_etri_re_kr/model/autosparkml/ + +hdfs dfs -mkdir -p /user/ksbuser_etri_re_kr/dataset/pyModules/ChatbotServing +hdfs dfs -put /home/csle/ksb-csle/examples/pyModules/ChatbotServing/* /user/ksbuser_etri_re_kr/dataset/pyModules/ChatbotServing + +hdfs dfs -mkdir -p /user/ksbuser_etri_re_kr/model/kangnam +hdfs dfs -put /home/csle/ksb-csle/examples/models/kangnam/model/0001 /user/ksbuser_etri_re_kr/model/kangnam + +hdfs dfs -mkdir -p /user/ksbuser_etri_re_kr/dataset/input/traffic/ +hdfs dfs -put /home/csle/ksb-csle/examples/input/traffic_kangnam_cols.txt /user/ksbuser_etri_re_kr/dataset/input/traffic/ +hdfs dfs -put /home/csle/ksb-csle/examples/input/traffic_kangnam_cols2.txt /user/ksbuser_etri_re_kr/dataset/input/traffic/ +hdfs dfs -put /home/csle/ksb-csle/examples/input/trafficStreamingSplitSample.json /user/ksbuser_etri_re_kr/dataset/input/traffic/ +hdfs dfs -put /home/csle/ksb-csle/examples/input/traffic_processing.csv /user/ksbuser_etri_re_kr/dataset/input/traffic/ + +hdfs dfs -mkdir -p /user/ksbuser_etri_re_kr/dataset/tensorflowTrainSource/kangnam +hdfs dfs -put /home/csle/ksb-csle/components/src/main/python/kangnam/* /user/ksbuser_etri_re_kr/dataset/tensorflowTrainSource/kangnam + +hdfs dfs -mkdir -p /user/ksbuser_etri_re_kr/dataset/iris_dataset +hdfs dfs -put /home/csle/ksb-csle/examples/dataset/iris_dataset/*.* /user/ksbuser_etri_re_kr/dataset/iris_dataset +hdfs dfs -chown -R ksbuser_etri_re_kr:supergroup /user/ksbuser_etri_re_kr/dataset/iris_dataset +``` + +### [Docker 컨테이너] hdfs 초기화하기 +hostname이 변경되었으므로 hdfs namenode를 초기화해야 합니다. + +``` +cd +sudo rm -rf data +hdfs namenode -format +sudo service ssh start +start-dfs.sh +cd ksb-csle/bin/ +./initHdfs.sh +stop-dfs.sh +sudo service ssh stop +``` + +### [Docker 컨테이너] ksb-csle/conf/ksb.conf 수정하기 +``` +vi ~/ksb-csle/conf/ksb.conf +``` +``` +hadoop { + home = "/hadoop/" +[수정] master = "csleserver" + port = "9000" + hdfs { + activated = "true" + baseDir = "/user/" + modelPath = "/model" + datasetPath = "/dataset" + } + webhdfs { + port = "50070" + baseDir = "/webhdfs/v1" + } +``` + +### [Docker 컨테이너] UI 웹툴킷 설정 수정하기 +바뀐 hostname을 UI 웹툴킷에 적용하기 위해 아래와 같이 웹툴킷 UI에서 관련 정보를 수정합니다. + +``` +sudo service postgresql start +/home/csle/ui_of_csle/apache-tomcat-7.0.81/bin/catalina.sh start & + +csleserver:8080 접속 및 로그인 합니다. 에러는 무시해도 됩니다. + +Management - system configuration- webhdfs.host : csleserver 수정 + +/home/csle/ui_of_csle/apache-tomcat-7.0.81/bin/catalina.sh stop +sudo service postgresql stop +``` + +### [HOST PC] docker 이미지 저장하기 +위에서 지금까지 수정한 docker 컨테이너의 수정내용을 이미지로 저장합니다. +HOST PC의 터미널에서 실행하여야 합니다. + +``` +docker commit csle1 ksbframework/ksb_toolbox:1.0.1 +``` + +### [HOST PC] startDockerCsle.sh 수정하기 +바뀐 이미지를 이용하여 KSB 웹툴킷 docker 컨테이너를 실행하기 위해 아래와 같이 수정합니다. +``` +#!/bin/bash +sudo service postgresql stop + +docker network rm csle_cluster csle_standalone +docker rm -f csle1 + +echo "csle1 slave container..." + +docker run --rm -itd \ + --net=host \ + -v /home/csle/ksb-csle:/home/csle/ksb-csle \ + -v /etc/localtime:/etc/localtime:ro \ + -v /etc/timezone:/etc/timezone \ + --user=csle \ + --name=csle1 \ + --hostname=$HOSTNAME \ +[수정] ksbframework/ksb_toolbox:1.0.1 bash + +docker exec -it csle1 bash +``` + +### [HOST PC] ksb 웹툴킷 실행하기 +``` +cd ~/ksb-csle/docker/1.0-host$ +./startDockerCsle.sh +``` + +### [Docker 컨테이너] KSB 툴박스 초기화하기 + +``` +cd +./startService.sh +cd ~/ksb-csle/bin +./startKsbApiServing.sh +``` + +## [주의사항] 탑재되어 있는 예제를 실행하는 경우 수정해야 하는 사항 +탑재되어 있는 예제에는 csle1 주소를 기준으로 작성되어 있습니다. +따라서, kafka reader / writer 예제에서 다음의 파라미터들의 변경이 필요합니다. +``` +bootStrapServer 주소 : csleserver:9092 +zooKeeperConnect 주소: csleserver:2181 +``` + +아래 예제들에서 kafka reader/writer를 사용하므로 파라미터의 수정이 필요합니다. +``` +2.5.7.RealtimeIngestToPredictInSingleEngine +2.5.8.RealtimeIngestToServingInTwoEngines +2.5.9.RealtimeIngestToServingWithKbInTwoEngines +2.5.12.TfStreamPredictionMnist +2.6.1.TrafficPreprocessing +2.6.6.TrafficStreamingPredict +2.6.7.TrafficEndToEnd +``` + +또한, hdfs://csle1:9000 주소에 file write 하는 예제들도 hdfs://csleserver:9000로 자신의 hostname에 맞도록 수정되어야 합니다. +``` +아래 예제들의 파라미터의 수정이 필요합니다. +2.5.10.HourlyTensorflowTraining +2.5.14.TrafficPeriodicTrainAndK8sServingExample +2.6.2.TrafficTraining +2.6.4.TrafficStreamServing +``` + +2.5.12.TfStreamPredictionMnist 예제의 경우, 테스트 코드를 수정한 후 테스트 합니다. +아래의 스크립트를 수정합니다. +``` +vi ~/ksb-csle/examples/models/mnist/client/kafka-json/consume-mnist-output.sh +``` +``` +#!/bin/bash +KAFKA_CONSUMER=$KSB_HOME/tools/kafka_2.11-0.10.0.1/bin/kafka-console-consumer.sh +SERVER=csleserver:9092 +TOPIC=mnist_output + +$KAFKA_CONSUMER --zookeeper csleserver:2181 --bootstrap-server $SERVER --topic $TOPIC +``` + +아래의 스크립트를 수정합니다. +``` +vi ~/ksb-csle/examples/models/mnist/client/kafka-json/publish-mnist-input.sh +``` + +``` +#!/bin/bash + +INPUT_FILE=mnist_input.json +KAFKA_PRODUCER=/home/csle/ksb-csle/tools/kafka_2.11-0.10.0.1/bin/kafka-console-producer.sh +[수정] BROKERS=csleserver:9092 +TOPIC=mnist_input + +cat $INPUT_FILE | $KAFKA_PRODUCER --broker-list $BROKERS --topic $TOPIC +``` + +2.5.13.ConvergedServingEndToEndExample 예제를 실행하기 전, 아래와 같이 수정 후 실행합니다. + +``` +vi ~/ksb-csle/ksblib/ksblib/dockerize/base.py +:%s/csle1/csleserver/g +:%s/2243/22/g +``` diff --git a/manual1903/2019-03-07-k8s-1.13-upgrade-manual.md b/manual1903/2019-03-07-k8s-1.13-upgrade-manual.md new file mode 100644 index 0000000000000000000000000000000000000000..88ec3ac6bdd6ad8db2f2e799a613a438bdd6e248 --- /dev/null +++ b/manual1903/2019-03-07-k8s-1.13-upgrade-manual.md @@ -0,0 +1,342 @@ +--- +html: + toc: true + offline: true +export_on_save: + html: true +--- +# kubernetes 1.13 upgrade +--- +3대 서버에 마스터 1개, 노드1, 노도2의 쿠버네티스 클러스터를 구성하기 위한 설치 방법을 설명합니다. +각 서버의 호스트 이름 및 IP 는 아래와 같이 가정합니다. 사용자의 클러스터 환경에 맞게 IP를 수정하시기 바랍니다. +csle1 : 192.168.0.5 (master) +csle2 : 192.168.0.6 (node1) +csle3 : 192.168.0.7 (node2) + +## 모든 서버에 공통으로 설치하기 + +### [모든 서버 공통] 기존 k8s 삭제 +``` +sudo su - +kubeadm reset +``` +``` +systemctl stop kubelet +systemctl stop docker +rm -rf /var/lib/cni/ +rm -rf /var/lib/kubelet/* +# rm -rf /etc/cni/ +rm -rf /run/flannel +ifconfig cni0 down +ifconfig flannel.1 down +ifconfig docker0 down +ip link delete cni0 +ip link delete flannel.1 +apt-get purge -y kubeadm kubectl kubelet kubernetes-cni kube* +apt-get autoremove +sudo rm -rf ~/.kube +systemctl start docker +``` + +### [모든 서버 공통] kubernetes 최신 버전 install (2019.03.10일 기준 1.13.4) +``` +curl -s https://packages.cloud.google.com/apt/doc/apt-key.gpg | sudo apt-key add - +cat << EOF | sudo tee /etc/apt/sources.list.d/kubernetes.list +deb https://apt.kubernetes.io/ kubernetes-xenial main +EOF +sudo apt-get update && \ +sudo apt-get install -y kubelet=1.13.4-00 kubeadm=1.13.4-00 kubectl=1.13.4-00 kubernetes-cni=0.6.0-00 +``` + +### [모든 서버 공통] docker daemon.json 파일 수정 +https://kubernetes.io/docs/setup/cri/ +``` +cat > /etc/docker/daemon.json < 3m20s v1.13.4 +csle3 Ready 3m10s v1.13.4 +csle4 Ready 2m17s v1.13.4 +``` + +``` +kubectl create clusterrolebinding add-on-cluster-admin --clusterrole=cluster-admin --serviceaccount=kube-system:kubernetes-dashboard +kubectl proxy --port=9999 --address='192.168.0.5' --accept-hosts="^*$" & +``` + +### [Master: csle1] Dashboard URL에 접속하기 +http://192.168.0.5:9999/api/v1/namespaces/kube-system/services/https:kubernetes-dashboard:/proxy/ + +# FAQ +## [ERROR] coredns stuck at ContainerCreating +### kubernetes 홈페이지의 FAQ 참조 +https://kubernetes.io/docs/setup/independent/troubleshooting-kubeadm/ + +업그레드를 하고 coredns가 ContainerCreating되는 경우, +``` +csle@csle1:~/ksb-csle/kubernetes/env_set$ kubectl get pods --all-namespaces +NAMESPACE NAME READY STATUS RESTARTS AGE +kube-system coredns-86c58d9df4-8vtpz 0/1 ContainerCreating 0 23m +kube-system coredns-86c58d9df4-w46t5 1/1 Running 0 23m +kube-system etcd-csle1 1/1 Running 0 22m +kube-system heapster-6cc9489ff-nfw2g 1/1 Running 0 119s +kube-system kube-apiserver-csle1 1/1 Running 0 22m +kube-system kube-controller-manager-csle1 1/1 Running 0 22m +kube-system kube-flannel-ds-amd64-htfdm 1/1 Running 0 2m3s +kube-system kube-flannel-ds-amd64-hwt4q 1/1 Running 0 2m3s +kube-system kube-flannel-ds-amd64-m74ll 1/1 Running 0 2m3s +kube-system kube-flannel-ds-amd64-p7lds 1/1 Running 0 2m3s +kube-system kube-proxy-bzjvj 1/1 Running 0 9m21s +kube-system kube-proxy-gskr7 1/1 Running 0 22m +kube-system kube-proxy-np85l 1/1 Running 0 9m11s +kube-system kube-proxy-zvnf4 1/1 Running 0 23m +kube-system kube-scheduler-csle1 1/1 Running 0 22m +kube-system kubernetes-dashboard-79ff88449c-x6vn7 1/1 Running 0 2m3s +kube-system monitoring-grafana-b575bb8ff-zv6bm 1/1 Running 0 2m +kube-system monitoring-influxdb-6d65f866f5-hrbg7 1/1 Running 0 2m +``` +kubectl describe po coredns-86c58d9df4-8vtpz -n kube-system +``` +Events: + Type Reason Age From Message + ---- ------ ---- ---- ------- + Warning FailedScheduling 35m (x2 over 35m) default-scheduler 0/1 nodes are available: 1 node(s) had taints that the pod didn't tolerate. + Warning FailedScheduling 22m (x17 over 35m) default-scheduler 0/2 nodes are available: 2 node(s) had taints that the pod didn't tolerate. + Warning FailedScheduling 21m (x4 over 21m) default-scheduler 0/3 nodes are available: 3 node(s) had taints that the pod didn't tolerate. + Warning FailedScheduling 15m (x18 over 21m) default-scheduler 0/4 nodes are available: 4 node(s) had taints that the pod didn't tolerate. + Warning FailedCreatePodSandBox 14m kubelet, csle4 Failed create pod sandbox: rpc error: code = Unknown desc = failed to set up sandbox container "e3d5c11d149862e9363fe99f6e9c13437940b9e5b3ec7b2f067217703ec25667" network for pod "coredns-86c58d9df4-8vtpz": NetworkPlugin cni failed to set up pod "coredns-86c58d9df4-8vtpz_kube-system" network: failed to set bridge addr: could not add IP address to "cni0": file exists + Warning FailedCreatePodSandBox 14m kubelet, csle4 Failed create pod sandbox: rpc error: code = Unknown desc = failed to set up sandbox container "6acb551f701e76652d6d1e4fdb061ba9e28daaa7f079d3c88c318487463d4ac8" network for pod "coredns-86c58d9df4-8vtpz": NetworkPlugin cni failed to set up pod "coredns-86c58d9df4-8vtpz_kube-system" network: failed to set bridge addr: "cni0" already has an IP address different from 10.244.3.1/24 + Warning FailedCreatePodSandBox 14m kubelet, csle4 Failed create pod sandbox: rpc error: code = Unknown desc = failed to set up sandbox container "b260044185b610f182bd124fa09e280b75ba3bd7ca2b0bcfb312f85c4b0aab9c" network for pod "coredns-86c58d9df4-8vtpz": NetworkPlugin cni failed to set up pod "coredns-86c58d9df4-8vtpz_kube-system" network: failed to set bridge addr: "cni0" already has an IP address different from 10.244.3.1/24 + Warning FailedCreatePodSandBox 14m kubelet, csle4 Failed create pod sandbox: rpc error: code = Unknown desc = failed to set up sandbox container "398151b2054f7568246fad677992018367d086e192ff5418aacffa34bf242b04" network for pod "coredns-86c58d9df4-8vtpz": NetworkPlugin cni failed to set up pod "coredns-86c58d9df4-8vtpz_kube-system" network: failed to set bridge addr: "cni0" already has an IP address different from 10.244.3.1/24 + Warning FailedCreatePodSandBox 14m kubelet, csle4 Failed create pod sandbox: rpc error: code = Unknown desc = failed to set up sandbox container "bdb5f14dd25285df5e59d0eebb9784952fbf3d776d2c8050ee72344a0028259c" network for pod "coredns-86c58d9df4-8vtpz": NetworkPlugin cni failed to set up pod "coredns-86c58d9df4-8vtpz_kube-system" network: failed to set bridge addr: "cni0" already has an IP address different from 10.244.3.1/24 + Warning FailedCreatePodSandBox 14m kubelet, csle4 Failed create pod sandbox: rpc error: code = Unknown desc = failed to set up sandbox container "f65c994064131557062e70b17569f51aebb5494d97002281ddbf5296e5f543cd" network for pod "coredns-86c58d9df4-8vtpz": NetworkPlugin cni failed to set up pod "coredns-86c58d9df4-8vtpz_kube-system" network: failed to set bridge addr: "cni0" already has an IP address different from 10.244.3.1/24 + Warning FailedCreatePodSandBox 14m kubelet, csle4 Failed create pod sandbox: rpc error: code = Unknown desc = failed to set up sandbox container "b65fd62d9544d5f713f98d40d5089421e7c206eba1ed5e19c8e56cb65e32a74d" network for pod "coredns-86c58d9df4-8vtpz": NetworkPlugin cni failed to set up pod "coredns-86c58d9df4-8vtpz_kube-system" network: failed to set bridge addr: "cni0" already has an IP address different from 10.244.3.1/24 + Warning FailedCreatePodSandBox 14m kubelet, csle4 Failed create pod sandbox: rpc error: code = Unknown desc = failed to set up sandbox container "caf0985a7467322508e3447f35a02985692e944969cbfe082899cfa0ea0c8cae" network for pod "coredns-86c58d9df4-8vtpz": NetworkPlugin cni failed to set up pod "coredns-86c58d9df4-8vtpz_kube-system" network: failed to set bridge addr: "cni0" already has an IP address different from 10.244.3.1/24 + Warning FailedCreatePodSandBox 14m kubelet, csle4 Failed create pod sandbox: rpc error: code = Unknown desc = failed to set up sandbox container "4c771f07e241ae1564854c65f48c53afa6166e3231fbc4c356b70753cba33585" network for pod "coredns-86c58d9df4-8vtpz": NetworkPlugin cni failed to set up pod "coredns-86c58d9df4-8vtpz_kube-system" network: failed to set bridge addr: "cni0" already has an IP address different from 10.244.3.1/24 + Normal SandboxChanged 14m (x12 over 14m) kubelet, csle4 Pod sandbox changed, it will be killed and re-created. + Warning FailedCreatePodSandBox 4m28s (x266 over 14m) kubelet, csle4 (combined from similar events): Failed create pod sandbox: rpc error: code = Unknown desc = failed to set up sandbox container "01c5bc76700598fb67bd2fda4694f1992556b73afb9389955639ec1b2c08dda7" network for pod "coredns-86c58d9df4-8vtpz": NetworkPlugin cni failed to set up pod "coredns-86c58d9df4-8vtpz_kube-system" network: failed to set bridge addr: "cni0" already has an IP address different from 10.244.3.1/24 +``` + +### [해결방법] + +https://kubernetes.io/docs/setup/independent/troubleshooting-kubeadm/#coredns-pods-have-crashloopbackoff-or-error-state + +https://coredns.io/plugins/loop/#troubleshooting + +/etc/resolv.conf 파일내에 nameserver 127.0.1.1 만 존재하는 경우 발생한다. +따라서, 아래와 같이 실행하여야 함. + +``` +vi /etc/resolvconf/resolv.conf.d/tail +nameserver 8.8.8.8 +``` + +``` +sudo service resolvconf restart +``` +vi /etc/resolv.conf + +``` +# Dynamic resolv.conf(5) file for glibc resolver(3) generated by resolvconf(8) +# DO NOT EDIT THIS FILE BY HAND -- YOUR CHANGES WILL BE OVERWRITTEN +nameserver 127.0.1.1 +nameserver 8.8.8.8 +``` diff --git a/manual1903/2019-04-25-beeai-toolbox-miniconda3-manual.md b/manual1903/2019-04-25-beeai-toolbox-miniconda3-manual.md new file mode 100644 index 0000000000000000000000000000000000000000..f47168b088840e44d5bc7467afa26d3612bb06f1 --- /dev/null +++ b/manual1903/2019-04-25-beeai-toolbox-miniconda3-manual.md @@ -0,0 +1,349 @@ +--- +html: + toc: true + offline: true +export_on_save: + html: true +--- +# KSB 툴박스 설치하기 (miniconda3 버전, 용량 7.4G) +--- +https://csleoss.etri.re.kr/images/contents/manual_1.0/2019-04-25-beeai-toolbox-miniconda3-manual.html + +KSB 프레임워크를 쉽게 사용하기 위한 KSB 툴박스 1.0 버전 설치 방법을 설명합니다. + +## 설치 요구사항 + +- Ubuntu 16.04가 설치된 메모리 16GB 이상 데스트탑이나 노트북이 요구됩니다. +- KSB 툴박스는 Hadoop, hbase, kafka, zookeeper, spark 등 빅데이터 처리 프레임워크과 연동합니다. 따라서 다양한 워크플로우 예제를 실행하기 위해서는 16GB 이상의 메모리와 cpu 코어 8개이상의 PC 사양이 요구됩니다. + (메모리 8GB 및 cpu 코어 4개 사양 PC에서는 제한적으로 워크플로우 예제 실행이 가능합니다.) + +## 설치 순서 + +Host PC에 KSB 툴박스를 설치하기 위해서 아래와 같은 절차로 설치합니다. +- [Host PC] csle 사용자 계정(권한: administrator) 생성하기 +- [Host PC] hostname을 csle1으로 변경하기 +- [Host PC] java-8-oracle 설치하기 +- [Host PC] KSB 툴박스 관련 프로그램 설치하기 +- [Host PC] SSH port 변경 및 root 로그인 가능하도록 SSHD config 수정하기 +- [Host PC] SSH config 수정하기 +- [Host PC] Docker 설치하기 +- [Host PC] /etc/hosts 수정하기 +- [Host PC] bashrc 설정 추가하기 +- [Host PC] 크롬 설치하기 +- [Host PC] KSB 툴박스 설치 및 docker image 다운받기 +- [Host PC] KSB 툴박스 docker 이미지내 SSH 키를 host pc에 복사하기 +- [Host PC] SSH 재시작하기 +- [Host PC] ksb-csle 폴더 권한 변경하기 + +## [Host PC] csle 사용자 계정(권한 : administrator) 생성하기 + +Host PC에 기존 Ubuntu 사용자와 설치환경을 분리하기 위해 아래의 명령으로 csle 계정을 추가 생성합니다. + +```sh +sudo adduser csle + Adding user 'csle' ... + Adding new group 'csle' (1001) ... + Adding new user 'csle' (1001) with group 'csle' ... + Creating home directory '/home/csle' ... + Copying files from '/etc/skel' ... + 새 UNIX 암호 입력: + 새 UNIX 암호 재입력: + passwd: password updated successfully + Changing the user information for csle + Enter the new value, or press ENTER for the default + Full Name []: + Room Number []: + Work Phone []: + Home Phone []: + Other []: + Is the information correct? [Y/n] Y +``` +/etc/sudoers를 열어 csle 계정에 administrator 권한을 추가합니다. +"경고: 읽기 전용 파일을 고치고 있습니다" 경고는 무시하고 저장하고 나옵니다. +```sh +sudo vi /etc/sudoers + # User privilege specification + root ALL=(ALL:ALL) ALL + # 맨 아래줄에 내용을 추가합니다. + #includedir /etc/sudoers.d + csle ALL=(ALL) NOPASSWD: ALL +``` + +## [Host PC] hostname을 csle1으로 변경하기 + +docker 컨테이너가 호스트 pc의 네트워크를 동일하게 사용하는 host 모드로 동작하기 위해 docker 컨테이너와 호스트 pc의 호스트네임을 동일하게 합니다. + +```sh +sudo vi /etc/hostname +csle1 +``` +PC를 재부팅하여 csle 계정으로 로그인합니다. + +## [Host PC] java-8-oracle 설치하기 + +Host PC에 Ubuntu 16.04를 처음 설치한 경우 java 8을 설치합니다. 아래의 내용을 터미널에 복사하여 설정가능합니다. + +```sh +sudo apt-get update && \ +sudo apt-get install -y python-software-properties && \ +sudo add-apt-repository -y ppa:webupd8team/java && \ +sudo apt-get update && \ +echo "oracle-java8-installer \ +shared/accepted-oracle-license-v1-1 select true" \ +| sudo debconf-set-selections && \ +sudo apt-get install -y oracle-java8-installer +``` + +터미널을 다시 시작한 후, 아래의 명령으로 java 설치 여부를 확인합니다. + +```sh +csle@csle1:~$ java -version +java version "1.8.0_181" +Java(TM) SE Runtime Environment (build 1.8.0_181-b13) +Java HotSpot(TM) 64-Bit Server VM (build 25.181-b13, mixed mode) +``` + +가끔 오라클에서 jdk 버전을 업데이트 하면 아래와 같은 에러가 발생하며 jdk가 설치되지 않는 경우가 있습니다. +```sh +접속 download.oracle.com (download.oracle.com)|23.35.220.157|:80... 접속됨. +HTTP request sent, awaiting response... 404 Not Found +2018-10-17 11:08:56 ERROR 404: Not Found. + +download failed +Oracle JDK 8 is NOT installed. +dpkg: error processing package oracle-java8-installer (--configure): + 설치한 post-installation 스크립트 하위 프로세스가 오류 1번을 리턴했습니다 +처리하는데 오류가 발생했습니다: + oracle-java8-installer +E: Sub-process /usr/bin/dpkg returned an error code (1) +``` + +해결방법은 오라클 사이트에 방문하여 최신 버전(2018.10.21. 기준 : 8u191)을 jdk-8u191-linux-x64.tar.gz 파일을 다운받습니다. +https://www.oracle.com/technetwork/java/javase/downloads/jdk8-downloads-2133151.html + +그리고, 아래의 스크립트에서 다운받은 파일의 위치와 버전 부분만을 수정한 후, 터미널에 복사하면 직접 설치가능합니다. +```sh +sudo mkdir /usr/lib/jvm +cd /usr/lib/jvm +sudo tar -xvzf /home/csle/jdk-8u191-linux-x64.tar.gz # 수정 필요 +sudo mv jdk1.8.0_191/ java-8-oracle/ # 수정 필요 + +sudo truncate -s0 /etc/environment +echo "PATH=/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:\ +/sbin:/bin:/usr/games:/usr/local/games:/usr/lib/jvm/java-8-oracle/bin:\ +/usr/lib/jvm/java-8-oracle/db/bin:/usr/lib/jvm/java-8-oracle/jre/bin" |\ +sudo tee -a /etc/environment >/dev/null && \ +echo "J2SDKDIR=/usr/lib/jvm/java-8-oracle" | \ +sudo tee -a /etc/environment >/dev/null && \ +echo "J2REDIR=/usr/lib/jvm/java-8-oracle/jre*" | \ +sudo tee -a /etc/environment >/dev/null && \ +echo "JAVA_HOME=/usr/lib/jvm/java-8-oracle" | \ +sudo tee -a /etc/environment >/dev/null && \ +echo "DERBY_HOME=/usr/lib/jvm/java-8-oracle/db" | \ +sudo tee -a /etc/environment >/dev/null + +sudo update-alternatives --install \ +"/usr/bin/java" "java" "/usr/lib/jvm/java-8-oracle/bin/java" 0 +sudo update-alternatives --install \ +"/usr/bin/javac" "javac" "/usr/lib/jvm/java-8-oracle/bin/javac" 0 +sudo update-alternatives --set java /usr/lib/jvm/java-8-oracle/bin/java +sudo update-alternatives --set javac /usr/lib/jvm/java-8-oracle/bin/javac +update-alternatives --list java +update-alternatives --list javac +``` + +## [Host PC] KSB 툴박스 관련 프로그램 설치하기 + +Host PC에 아래의 명령으로 KSB 툴박스 관련 프로그램을 설치합니다. 아래의 내용을 터미널에 복사하여 설정가능합니다. + +```sh +sudo apt-get update && \ +sudo apt-get install -y --no-install-recommends apt-utils curl bc jq && \ +sudo apt-get install -y ssh locales wget git vim rsync locales \ +filezilla python3-pip && \ +sudo apt-get install -y net-tools && \ +pip3 install kafka-python +``` + +## [Host PC] SSH port 변경 및 root 로그인 가능하도록 SSHD config 수정하기 +아래의 명령을 수행하여 포트 정보를 2243로 수정하고, root 로그인을 허용합니다. + +```sh +sudo sed -ri 's/^Port 22/Port 2243/g' /etc/ssh/sshd_config +sudo sed -ri \ +'s/^PermitRootLogin prohibit-password/PermitRootLogin yes/g' \ +/etc/ssh/sshd_config +``` + +## [Host PC] SSH config 수정하기 (known_hosts에 호스트 저장 질문을 하지 않도록 설정) +아래의 명령을 수행하여 ssh_config의 기존 내용을 모두 삭제하고 설정을 추가합니다. 아래의 내용을 터미널에 복사하여 설정가능합니다. + +```sh +sudo truncate -s0 /etc/ssh/ssh_config +echo "Host localhost" \ +| sudo tee -a /etc/ssh/ssh_config >/dev/null +echo "StrictHostKeyChecking no" \ +| sudo tee -a /etc/ssh/ssh_config >/dev/null +echo "Host 0.0.0.0" \ +| sudo tee -a /etc/ssh/ssh_config >/dev/null +echo "StrictHostKeyChecking no" \ +| sudo tee -a /etc/ssh/ssh_config >/dev/null +echo "Host 127.0.0.1" \ +| sudo tee -a /etc/ssh/ssh_config >/dev/null +echo "StrictHostKeyChecking no" \ +| sudo tee -a /etc/ssh/ssh_config >/dev/null +echo "Host csle*" \ +| sudo tee -a /etc/ssh/ssh_config >/dev/null +echo "StrictHostKeyChecking no" \ +| sudo tee -a /etc/ssh/ssh_config >/dev/null +echo "UserKnownHostsFile=/dev/null" \ +| sudo tee -a /etc/ssh/ssh_config >/dev/null +echo "Host master" \ +| sudo tee -a /etc/ssh/ssh_config >/dev/null +echo "StrictHostKeyChecking no" \ +| sudo tee -a /etc/ssh/ssh_config >/dev/null +echo "UserKnownHostsFile=/dev/null" \ +| sudo tee -a /etc/ssh/ssh_config >/dev/null +sudo service ssh restart +``` + + +## [Host PC] Docker 설치하기 + +Host PC에 docker-ce 프로그램을 설치하기 위해 아래 명령어를 순차적으로 입력합니다. 아래의 내용을 터미널에 복사하여 설정가능합니다. + +```sh +curl -fsSL https://download.docker.com/linux/ubuntu/gpg | \ +sudo apt-key add - && \ +sudo add-apt-repository \ +"deb [arch=amd64] +https://download.docker.com/linux/ubuntu $(lsb_release -cs) stable" && \ +sudo apt-get update && \ +apt-cache policy docker-ce && \ +sudo apt-get install -y docker-ce=18.06.1~ce~3-0~ubuntu && \ +sudo systemctl status docker +``` + +#### [참고사항] 기존 docker-engine 삭제 +```sh +sudo apt-get purge -y docker docker-engine docker.io +``` + +Docker 명령시 root 권한이 필요합니다. root가 아닌 사용자가 sudo 없이 사용하려면 해당 사용자를 docker 그룹에 추가합니다. + +```sh +sudo usermod -aG docker csle +# 사용자가 로그인 중이라면 다시 로그인 후 권한이 적용됩니다. +# 단, 현재 터미널에서만 적용됩니다. +sudo su csle +PC 재부팅 +``` +PC 재부팅을 통해서 sudo 명령없이 docker 명령을 사용할 수 있습니다. + +## [Host PC] /etc/hosts 수정하기 + +KSB 툴박스의 docker 컨테이너 주소에 쉽게 접근하기 위해 아래와 같이 /etc/hosts 내용을 수정합니다. (host pc의 IP는 192.168.0.5로 가정합니다. 자신의 PC IP에 맞게 설정합니다.) + +```sh +127.0.0.1 localhost +# 아래 주석처리. Hdfs 연동시 문제가 생김. +#127.0.1.1 csle1 + +# The following lines are desirable for IPv6 capable hosts +::1 ip6-localhost ip6-loopback +fe00::0 ip6-localnet +ff00::0 ip6-mcastprefix +ff02::1 ip6-allnodes +ff02::2 ip6-allrouters + +# 아래의 내용 추가 +192.168.0.5 csle1 master +``` + +## [Host PC] bashrc 설정 추가하기 +csle 계정의 bashrc 파일을 업데이트 합니다. 아래의 내용을 터미널에 복사하여 설정가능합니다. + +```sh +cat <> ~/.bashrc +export JAVA_HOME=/usr/lib/jvm/java-8-oracle +export PATH=\$PATH:\$JAVA_HOME/bin +export KSB_HOME=/home/csle/ksb-csle +export PYTHONPATH=/home/csle/ksb-csle/pyML/:\$PYTHONPATH +export PYTHONPATH=./:/home/csle/ksb-csle/ksblib:\$PYTHONPATH +EOT +source ~/.bashrc +``` + +## [Host PC] 크롬 설치하기 (optional) +KSB 툴박스의 웹툴킷을 안정적으로 사용하기 위해서 크롬 브라우저를 설치합니다. 아래의 내용을 터미널에 복사하여 설정가능합니다. + +```sh +cd && \ +wget \ +https://dl.google.com/linux/direct/google-chrome-stable_current_amd64.deb +sudo apt-get update && \ +sudo apt-get install -y libxss1 libappindicator1 libindicator7 && \ +sudo dpkg -i google-chrome-stable_current_amd64.deb +``` + +## [Host PC] KSB 툴박스 설치 및 docker image 다운받기 + + 다운로드 페이지로부터 KSB 툴박스(docker image 별도) 파일을 다운로드합니다. + - ksb_toolbox_v1-miniconda3.tar.gz : KSB 툴박스 파일 +
+ +csle 사용자 계정의 home에 ksb_toolbox_v1-miniconda3.tar.gz 압축을 해제합니다. 결과적으로 /home/csle/ksb-csle 폴더가 생성됩니다. + +```sh +tar zxvf ksb_toolbox_v1-miniconda3.tar.gz -C /home/csle/ +``` + +/home/csle/ksb-csle 폴더는 다음의 하위 폴더들로 구성됩니다. + - /bin : KSB 프레임워크 shell 스크립트 파일 저장 폴더 + - /components : tensorflow train 예제 프로그램 저장 폴더 + - /conf : KSB 프레임워크 환경설정 파일 저장 폴더 + - /docker : KSB 툴박스 docker 컨테이너 실행 스크립트 저장 폴더 + - /examples : CLI(Command Line Interface)를 통해 워크플로우 생성 및 submit 할 수 있는 프로젝트 폴더 + - /jars : KSB 프레임워크 1.0 버전의 jar 파일 저장 폴더 + - /ksblib : python 전처리 라이브러리 폴더 + - /kubernetes : 쿠버네티스 환경설정 폴더 + - /logs : log 저장 폴더 + - /pyML : autoML python 프로젝트 폴더 + - /tools: 예제 테스트를 위한 프로그램(jmeter, hadoop, kafka, maven, .ssh, webToolkit_db) +
+ +Host PC에서 다음 명령으로 KSB 툴박스 docker image를 docker hub로부터 pull 합니다. + +```sh +docker pull ksbframework/ksb_toolbox:1.0.0-miniconda3 +``` + +Host PC에서 다음 명령으로 KSB 툴박스 docker image를 확인합니다. +(참고사항: 현재 docker image 버전은 1.0.0 버전이며, 추후 TAG 정보 및 SIZE 정보는 배포 버전에 따라 다를 수 있습니다) + +```sh +csle@csle1:~/ksb-csle$ docker images +REPOSITORY TAG IMAGE ID CREATED SIZE +ksbframework/ksb_toolbox 1.0.0-miniconda3 371754e0c686 4 months ago 7.32GB +``` + +## [Host PC] KSB 툴박스 docker 이미지내 SSH 키를 host pc에 복사하기 +KSB 툴박스 docker 컨테이너의 인증키를 공유하기 위해 ksb-csle/tools 폴더에 있는 .ssh 폴더를 csle 홈에 복사합니다. + +```sh +cp -r ~/ksb-csle/tools/.ssh/ /home/csle/ +``` + +## [Host PC] SSH 재시작하기 +```sh +sudo service ssh restart +``` + +## [Host PC] ksb-csle 폴더 권한 변경하기 +KSB 툴박스 docker 컨테이너에서 Host PC의 ksb-csle 폴더를 엑세스 할 수 있도록 폴더 권한을 변경합니다. +```sh +sudo chmod 777 -R /home/csle/ksb-csle/ +``` + +이상으로 KSB 툴박스를 구동하기 위해 필요한 프로그램 설치 및 설정 변경을 완료하였습니다. +KSB 인공지능 프레임워크 실행하기 페이지로 이동하여 KSB 프레임워크를 구동하도록 하겠습니다. diff --git a/manual1903/3.1.HowToConfigureDevelopEnvironment.md b/manual1903/3.1.HowToConfigureDevelopEnvironment.md new file mode 100755 index 0000000000000000000000000000000000000000..7cc0eb43d1d97d7635b3708ec309f3cdb29d15bd --- /dev/null +++ b/manual1903/3.1.HowToConfigureDevelopEnvironment.md @@ -0,0 +1,189 @@ +--- +html: + toc: true + offline: true +export_on_save: + html: true +--- +# KSB 프레임워크 SW 개발환경 구성 +--- +KSB 프레임워크를 이용한 신규 컴퍼넌트의 개발과 scala clientSDK를 이용한 워크플로우 실행 시나리오 작성 및 실행을 요청하기 위한 개발환경 구성방법을 설명합니다. + +KSB 프레임워크 SW 개발을 위한 환경을 구성하기 위한 절차는 다음과 같습니다. + +- KSB 프레임워크 실행 및 테스트 환경구성 ( 툴박스 설치 참조 ) +- Scala IDE 설치 +- Java8 sdk 설치 +- Maven 빌드도구 설치 +- ksb-oss_dist(KSB ClientSDK 포함) 설치 +- Eclipse 프로젝트 Import +- Maven을 이용한 ksb-oss_dist(KSB Client SDK 포함) 프로젝트 빌드 + + + + +## KSB 프레임워크 실행(테스트) 환경구성 +[KSB 툴박스 설치][c87a2fc0] 에서 제시하는 절차에 따라 KSB 프레임워크 실행(테스트) 환경을 구성합니다. + + [c87a2fc0]: https://csleoss.etri.re.kr/images/contents/manual_1903/1.2.HowToInstallKsbToolBox-1903.html "KSB 툴박스 설치" + +## Scala IDE (개발도구) 설치 + +운영체제 (Ubuntu 또는 Mac osx)에 따라서 아래의 방법에 따라 Scala IDE를 설치합니다. 운영체제가 아래의 두 가지에 해당하지 않는 경우에는 +[Eclipse scala IDE 사이트][8580869d] 에 접속하여 직접 Eclipse scala IDE 를 다운로드합니다. 이때 Scala의 버전이 2.12로 구성된 버전을 다운로드 하면 됩니다. +적당한 곳에 압축을 풀면 Eclipse 실행파일이 해제되어 나타나는데 이 파일을 실행하면 Eclipse SDK가 실행됩니다. +이 파일을 적당한 위치에 옮겨둡니다.(optional) + + [8580869d]: http://scala-ide.org/ "scala IDE" + +### Ubuntu 예제: + +```sh +# Scala IDE 다운로드 +wget http://downloads.typesafe.com/scalaide-pack/4.7.0-vfinal-oxygen-212-20170929/scala-SDK-4.7.0-vfinal-2.12-linux.gtk.x86_64.tar.gz + +# 압축해제 +unzip scala-SDK-4.7.0-vfinal-2.12-linux.gtk.x86_64.tar.gz + +# 적당한 위치에 옮겨둡니다. +cd scala-SDK-4.7.0-vfinal-2.12-linux.gtk.x86_64 +``` + +### Mac Osx 예제: + +```sh +# Scala IDE 다운로드 +wget http://downloads.typesafe.com/scalaide-pack/4.7.0-vfinal-oxygen-212-20170929/scala-SDK-4.7.0-vfinal-2.12-macosx.cocoa.x86_64.zip + +# 압축해제 +unzip scala-SDK-4.7.0-vfinal-2.12-macosx.cocoa.x86_64.zip + +# 적당한 위치에 이동. Mac의 경우 Application 폴더에 넣어 줍니다. +cd scala-SDK-4.7.0-vfinal-2.12-macosx.cocoa.x86_64 +mv ./eclipse.app /Applications/ # Mac의 경우 왼쪽처럼 Applications 폴더에 넣어두면 편리합니다. +``` + +설치가 완료된 후, 커맨드라인 상에 아래의 명령을 입력하여 현재 설치된 Scala 버전을 확인합니다. + +```sh +$ scala -vsersion +Scala code runner version 2.12.2 -- Copyright 2002-2017, LAMP/EPFL and Lightbend, Inc. +``` + + +## Java8 sdk 설치 +[Oracle Java SDK 배포 사이트][753654a8] 에 접속하여 Java sdk를 다운로드하여 실행하면 설치가 완료됩니다. +아래 명령을 입력하여 설치가 잘 설치되었는지 확인합니다. + + [753654a8]: http://www.oracle.com/technetwork/java/javase/downloads/jdk8-downloads-2133151.html "Oracle Java SDK 배포 사이트" + +```sh +$ java -version +java version "1.8.0_121" +Java(TM) SE Runtime Environment (build 1.8.0_121-b13) +Java HotSpot(TM) 64-Bit Server VM (build 25.121-b13, mixed mode) +``` + +## Maven 빌드도구 설치 + +### Ubuntu 예제: +Host PC의 터미널에서 아래의 명령으로 maven 3.3.9를 설치합니다. +```sh +$ sudo wget --no-verbose -O /tmp/apache-maven-3.3.9.tar.gz http://archive.apache.org/dist/maven/maven-3/3.3.9/binaries/apache-maven-3.3.9-bin.tar.gz +echo "516923b3955b6035ba6b0a5b031fbd8b /tmp/apache-maven-3.3.9.tar.gz" | md5sum -c +$ sudo tar xzf /tmp/apache-maven-3.3.9.tar.gz -C /opt/ +$ sudo ln -s /opt/apache-maven-3.3.9 /opt/maven +$ sudo ln -s /opt/maven/bin/mvn /usr/local/bin +$ sudo rm -f /tmp/apache-maven-3.3.9.tar.gz +$ sudo apt-get clean +``` + +maven 버전을 확인합니다. +```sh +$ csle@csle1:~$ mvn -v +Apache Maven 3.3.9 (bb52d8502b132ec0a5a3f4c09453c07478323dc5; 2015-11-11T01:41:47+09:00) +Maven home: /opt/apache-maven-3.3.9 +Java version: 1.8.0_161, vendor: Oracle Corporation +Java home: /usr/lib/jvm/java-8-oracle/jre +Default locale: ko_KR, platform encoding: UTF-8 +OS name: "linux", version: "4.13.0-26-generic", arch: "amd64", family: "unix" +``` + + +### Mac Osx 예제: +보다 편리한 설치를 위해서 아래의 방법으로 Home brew를 설치합니다(optional). +Mac의 경우 설치 툴이 brew를 설치하면 편리하게 패키지를 설치할 수 있습니다. ( 추가적인 자세한 설치 방법은 [설치방법 참고][13f64dda] ) +```sh +$ /usr/bin/ruby -e "$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/master/install)" +``` + +Home brew를 설치하고 나면 brew 명령을 이용해서 최신의 Maven을 쉽게 설치할 수 있습니다.. +```sh +$ brew intall maven +``` + + [13f64dda]: https://brew.sh/index_ko.html "Home brew 설치" + +## KSB 인공지능 프레임워크 오픈소스 설치 +[다운로드][3c996289] 에 로그인하여 KSB 인공지능 프레임워크 오픈소스인 ksb-oss_dist (실행 바이너리 포함)를 다운로드 합니다. +- ksb_oss_v1_0.tar.gz : KSB 인공지능 프레임워크 오픈소스 압축파일 + + + [3c996289]: https://csleoss.etri.re.kr/kor/sub02_01.do "KSB 프레임워크 다운로드 페이지" + +다운로드한 파일을 압축해제하면 ksb-oss_dist 디렉토리가 생성되며, 다음과 같이 출력되는 것을 확인합니다. + + +```sh +$ tar -zxvf ksb_oss_v1_0.tar.gz +$ cd ksb-oss_dist +$ ls -al + +3rd_Party_Libraries.txt +3rd_Party_Library_Licenses.txt +LICENSE.txt +Notice.txt +component-pipe +libs +components +pom.xml +InsightSwitch +conf +project +didentification +pyML +examples +scalastyle-output.xml +bin +jars +src +codeInspection-ruleSets +ksb-core +component-custom +ksb-knowledge +``` + +## Eclipse 프로젝트 Import +다운로드 받은 ksb-oss_dist를 임포트하여 이클립스 프로젝트 환경을 구성하는 것을 설명합니다. +### 프로젝트 임포트 +* Package explorer 창에서 오른쪽 클릭> Import 단축메뉴을 선택하여 디렉토리 탐색버튼을 통해 ksb-oss_dist 프로젝트 디렉토리를 선택한 후 pom.xml 이 있는지 확인하고 임포트를 실행하여 아래의 그림과 같이 프로젝트가 생성되는 것이 확인합니다. + + 이클립스 프로젝트 화면 (Eclipse Project) + + +* ksb-core-digest_2.11 프로젝트는 다음 과정을 따라 별도로 임포트 합니다. + - (Optional) Package explorer> 아랫방향 화살표 클릭> Top Level Element> Working Set 선택 ( *최상위에 ksb-parent 가 표시됨* ) + Working Set + - ksb-parent 오른쪽 클릭> Import 선택> Import> General> Existing Projects into Workspace> Next> ksb-core 프로젝트 경로 선택> Finish +import ksb-core + +### 스칼라 (Scala) 버전 동기화 +Maven 빌드에서 사용하는 Scala 버전은 2.11 이므로 이클립스 프로젝트 상에서도 2.11 라이브러리가 사용되도록 동기화 합니다. + +각 프로젝트 구조로 들어가면 그림과 같이 Scala 라이브러리 2.12.3이 기본 라이브러리로 설정되어 있습니다.(다운로드한 이클립스 ScalaIDE 버전에 따라 상이할 수 있음.) +* Scala Library container 오른쪽 클릭> Properties> 2.11 또는 2.11.11 선택> Apply and Close + +import ksb-core + + +이 것으로 이클립스 개발환경 구성은 완료되었습니다. 수고 많으셨습니다. diff --git a/manual1903/3.2.1.HowToDevelopOperator.md b/manual1903/3.2.1.HowToDevelopOperator.md new file mode 100644 index 0000000000000000000000000000000000000000..d66845c16e0a00f2244e5807c0984bfffe1a93f9 --- /dev/null +++ b/manual1903/3.2.1.HowToDevelopOperator.md @@ -0,0 +1,175 @@ +--- +html: + toc: true + offline: true +export_on_save: + html: true +--- +# Operator 컴퍼넌트 개발하기 +--- + +데이터 처리용 Operator 컴퍼넌트을 만들기 위한 절차는 다음과 같습니다. + +- 신규 컴퍼넌트용 Protocol Buffer 메세지 작성 +- 새로 작성한 메세지를 포함한 프레임워크 코어 새로 빌드 +- Operator 컴퍼넌트 스칼라 코드 작성 +- 컴퍼넌트 빌드하여 프레임워크에 배포 + +아래에는 Operator 컴퍼넌트를 개발하고 이를 실행 중인 KSB 프레임워크 상에 배포하는 과정을 설명합니다. 자세한 설명을 위해서 column selection을 수행하는 간단한 오퍼레이터인 *ColumnSelectWithFileOperator* 개발을 대상으로 설명을 하도록 하겠습니다. 단, 이미 *ColumnSelectWithFileOperator*이 등록되어 있으므로, 여기서는 **MyColumnSelectWithFileOperator**로 변경해서 신규 컴퍼넌트로 작성하여 등록하는 과정을 진행해 보도록 하겠습니다. + +## 컴퍼넌트용 Protocol Buffer 메세지 작성 +우선, 개발할 MyColumnSelectWithFileOperator에 전달될 파라메터를 Google의 Protocol buffer 메세지 방식으로 작성해야 합니다. 이를 위해서 다운로드한 KSB 프레임워크 오픈소스를 ScalaIDE를 이용하여 프로젝트를 열어 **ksb-core-digest_2.11** 프로젝트가 있는지 확인합니다. +**ksb-core-digest_2.11** 모듈은 엔진을 생성하고 구동하기 위한 컴퍼넌트들의 파라메터를 정의한 Protocol buffer 메시지들을 모아놓은 모듈이며, 다음과 같은 구조를 같습니다. + +protofiles + +예제로 작성할 MyColumnSelectWithFileOperator 오퍼레이터는 table 형태의 dataframe의 필드 중 특정 필드를 선택하는 오퍼레이터로서 선택하고자 하는 필드명을 파라메터로 입력받는 대신 미리 작성해 둔 필드명을 정의한 파일을 읽어 해당 필드만 선택하여 추출하는 오퍼레이터입니다. ksb.csle.common.custom.proto 패키지 내에 있는 **custom_operator_proto.proto** 파일을 열어 아래와 같이 **MySelectColumnsWithFileInfo** 메세지를 작성합니다. + +```protobuf +syntax = "proto2"; + +// 아래 ksb.csle.common.custom.proto 가 아니라 ksb.csle.common.proto 임을 유의 !!!! +package ksb.csle.common.proto; + +message MySelectColumnsWithFileInfo { + required string columnIdPath = 1; +} +``` + +작성한 Protocol Buffer 메세지가 스트림 처리용으로 사용될 예정이므로 **stream_control_proto.proto** 을 열어 StreamOperatorInfo 내에 oneof_operators 필드 내에 MySelectColumnsWithFileInfo 유형의 mySelectColumnsWithFile 필드로 등록합니다. + +```protobuf +message StreamOperatorInfo { + required int32 id = 1; + required int32 prevId = 2; + required string clsName = 4; + + oneof oneof_operators { + FilterInfo filter = 10; + MissingValueImputationInfo missingValueImputation= 11; + GroupbyInfo groupby = 12; + ReshapeWithConcatInfo reshapeWithConcat = 13; + PivotInfo pivot = 14; + AddTimeIndexColumnInfo addTimeIndexColumn = 15; + + ... + + // for MyColumnSelectWithFileOperator. + MySelectColumnsWithFileInfo mySelectColumnsWithFile = 1000; } +} +``` + + + + + + + +## 새로운 프레임워크 코어 빌드하기 + +신규 컴퍼넌트를 추가하기 위해서는 본 페이지를 통해 신규 컴퍼넌트를 인식할 수 있도록 Core에 대한 바이너리를 신규로 빌드하여 사용해야 합니다. + +**매뉴얼 > Core 빌드** 페이지로 이동합니다. +우리가 수정한 proto 파일(**stream_control_proto.proto** 와 **custom_operator_proto**)을 아래 그림과 같이 선택하고 빌드요청 버튼을 클릭한다. 요청 후 약 20분 정도가 경과하면 자신의 로그인 계정의 메일로 신규 빌드된 core 바이너리가 도착합니다(참고: 요청은 순차적으로 처리되므로 미리 대기중인 요청이 있다면 20분 이상 걸릴 수 있음). + +## 새로운 프레임워크 코어로 프로젝트 빌드하기 +메일에서 바이너리를 다운로드한 후, 확장자를 .jar로 변경하고, KSB 개발 프로젝트 디렉토리의 최상위 디렉토리아래 libs 디렉토리 (ksb-oss_dist/libs)에  ksb-core_2.11-${project.version}-SNAPSHOT.jar 파일을 업데이트 합니다. +아래와 같이 Maven 명령을 실행하여 전체 프로젝트를 새로 빌드한다. + +```sh +$ mvn generate-sources package install -P gpu -DskipTests -Drat.skip=true +``` + + + +## 신규 컴퍼넌트 스칼라 코드 작성 +다음으로 작성된 메시지를 이용하여 신규컴퍼넌트 클래스를 개발합니다. +**ksb-components-custom_2.11** 모듈을 열어 아래와 같이 MyColumnSelectWithFileOperator 오퍼레이터를 구현합니다. 이 오퍼레이터는 BaseDataOperator 추상클래스를 상속받아 operator 메소드를 구현해야 합니다. BaseDataOperator 클래스의 정의에 따라 operate(df: DataFrame)를 반드시 override 해야 프레임워크 상에서 Controller에 의해 수행이 가능합니다. 자세한 사항은 KSB 프레임워크 Scala API를 참조하시기 바랍니다. + +```scala +package ksb.csle.component.operator.custom + +import scala.collection.JavaConversions._ +import org.apache.spark.sql.DataFrame + +import ksb.csle.common.base.operator.BaseDataOperator +import ksb.csle.common.proto.StreamOperatorProto._ + +// 새로 만든 메세지 객체 임포트 +import ksb.csle.common.proto.CustomOperatorProto.MySelectColumnsWithFileInfo +import ksb.csle.common.proto.StreamControlProto.StreamOperatorInfo + +class MyColumnSelectWithFileOperator( + o: StreamOperatorInfo + ) extends BaseDataOperator[StreamOperatorInfo, DataFrame](o) { + + private val p = o.getMySelectColumnsWithFile + private val path = p.getColumnIdPath + private var columnNames: Array[String] = null + + private def selectColumns(df: DataFrame): DataFrame = { + logger.debug(s"OpId ${o.getId} : SelectColumns") + + if (columnNames == null) { + columnNames = df.sparkSession.sparkContext.textFile(path) + .map(_.split(",")).collect.flatten + } + val result = df.select(columnNames.head, columnNames.tail:_*) + + logger.debug(result.show.toString) + logger.debug(result.printSchema.toString) + + result + } + + override def operate(df: DataFrame): DataFrame = selectColumns(df) +} + +object MyColumnSelectWithFileOperator { + def apply(o: StreamOperatorInfo): MyColumnSelectWithFileOperator = + new MyColumnSelectWithFileOperator(o) +} +``` + +## 신규 컴퍼넌트 빌드하여 jar 파일 생성하기 +작성한 스칼라 오퍼레이터 클래스를 빌드하여 새로운 .jar를 생성하기 위하여 component-custom 프로젝트 위치에서 maven 명령(아래)을 이용하여 새로운 오퍼레이터가 포함된 바이너리(jar)를 빌드합니다. + + +```sh +$ cd component-custom +$ mvn generate-sources package install -P gpu -DskipTests -Drat.skip=true +``` + + + +결과로 target 디렉토리에 **ksb-component-custom_2.11-{version}.jar** 가 생성된 것을 확인합니다. + +## 신규 컴퍼넌트를 실행 프레임워크에 배포 + +새로 작성한 메세제와 오퍼레이터가 포함된 바이너리를 KSB 프레임워크 실행바이너리가 있는 위치에 배포합니다. (레파지토리에 배포가 완료됨과 동시에 별도의 설치과정 없이 클라이언트의 요청 시 KSB 프레임워크에 의해 동적으로 클러스터 상의 노드들에 배포되어 엔진을 생성하고 구동하는데 적용이 됩니다.) +새로 배포해야할 KSB 프레임워크의 패키지는 아래와 같이 두 개의 jar에 해당합니다. + +- ksb-csle/libs/**ksb-core_2.11-{version}.jar** +-- 신규메세지 포함된 core 바이너리로서 core 빌드 요청결과로 받은 파일 +- ksb-csle/component-custom/target/**ksb-component-custom_2.11-{version}.jar** +-- 새로 작성한 컴퍼넌트 포함. 콘솔창에서 아래와 같이 maven 명령을 실행 위의 ksb-component-custom_2.11 빌드파일을 생성할 수 있습니다. + + +상기의 빌드된 패키지를 KSB 프레임워크 상에서 지정한 아카이브 디렉토리에 복사해서 넣어줌으로써 배포가 완료가 완료됩니다. +참고로, 아카이브 위치는 별도의 설정이 없다면 내부적으로 ```${KSB_HOME}/jars/${ksb-vsersion}``` 디렉토리를 기본값으로 사용합니다. diff --git a/manual1903/3.2.2.HowToDevelopReader.md b/manual1903/3.2.2.HowToDevelopReader.md new file mode 100755 index 0000000000000000000000000000000000000000..0830ffc94a5b2b46a5eae6b532491bb450a1e009 --- /dev/null +++ b/manual1903/3.2.2.HowToDevelopReader.md @@ -0,0 +1,252 @@ +--- +html: + toc: true + offline: true +export_on_save: + html: true +--- +# Reader 컴퍼넌트 개발하기 +--- + +Reader 컴퍼넌트을 만들기 위한 절차는 다음과 같습니다. + +- 신규 컴퍼넌트용 Protocol Buffer 메세지 작성 +- 새로 작성한 메세지를 포함한 프레임워크 코어 새로 빌드 +- Reader 컴퍼넌트 스칼라 코드 작성 +- 컴퍼넌트 빌드하여 프레임워크에 배포 + +아래에는 Reader 컴퍼넌트를 개발하고 이를 실행 중인 KSB 프레임워크 상에 배포하는 과정을 설명합니다. 자세한 설명을 위해서 파일을 읽어 DataFrame을 생성하는 간단한 Reader인 *MyFileReader* 개발을 대상으로 설명을 하도록 하겠습니다. 단, 이미 *MyFileReader*가 등록되어 있으므로, 여기서는 **MyFileReader**로 변경해서 신규 컴퍼넌트로 작성하여 등록하는 과정을 진행해 보도록 하겠습니다. + +## 컴퍼넌트용 Protocol Buffer 메세지 작성 +우선, 개발할 MyFileReader에 전달될 파라메터를 Google의 Protocol buffer 메세지 방식으로 작성해야 합니다. 이를 위해서 다운로드한 KSB 프레임워크 오픈소스를 ScalaIDE를 이용하여 프로젝트를 열어 **ksb-core-digest_2.11** 프로젝트가 있는지 확인합니다. +**ksb-core-digest_2.11** 모듈은 엔진을 생성하고 구동하기 위한 컴퍼넌트들의 파라메터를 정의한 Protocol buffer 메시지들을 모아놓은 모듈이며, 다음과 같은 구조를 같습니다. + +protofiles + +예제로 작성할 MyFileReader는 파일시스템으로부터 특정 경로의 파일을 읽어 DataFrame 형태의 데이터를 생성하는 컴퍼넌트입니다. ksb.csle.common.custom.proto 패키지 내에 있는 **custom_datasource_proto.proto** 파일을 열어 아래와 같이 **MyFileInfo** 메세지를 작성합니다. + +```protobuf +message MyFileInfo { + repeated string filePath = 1; + optional FileType fileType = 2 [default = JSON]; + optional string delimiter = 3 [default = ","]; + repeated FieldInfo field = 4; + optional bool header = 5 [default = false]; + optional SaveMode saveMode = 6 [default = OVERWRITE]; + enum FileType { + CSV = 0; + JSON = 1; + PARQUET = 2; + TEXT = 3; + } + enum SaveMode { + APPEND = 0; + OVERWRITE = 1; + ERROR_IF_EXISTS = 2; + IGNORE = 3; + } + + // Defines the schema of input data. + message FieldInfo { + required string key = 1; + required FieldType type = 2 [default=STRING]; + optional string value = 3; + optional AttrType attrType = 4; + optional bool autoConfigured = 5 [default=true]; + optional int32 nLevels = 6 [default = 5]; + optional string filePath = 7; + + enum AttrType { + IDENTIFIER = 0; + QUASIIDENTIFIER = 1; + SENSITIVE = 2; + NONSENSETIVE = 3; + } + + enum FieldType { + STRING = 0; + INTEGER = 1; + DOUBLE = 2; + BOOLEAN = 3; + BYTE = 4; + FLOAT = 5; + LONG = 6; + TIMESTAMP = 7; + } + } +} +``` + +작성한 Protocol Buffer 메세지가 배치 처리용으로 사용될 예정이므로 **datasource_proto.proto** 내의 BatchReaderInfo 내에 oneof_operators 필드 내에 MySelectColumnsWithFileInfo 유형의 mySelectColumnsWithFile 필드로 등록합니다. + +```protobuf +message BatchReaderInfo { + required int32 id = 1; + required int32 prevId = 2 [default = 0]; + required string clsName = 4; + oneof oneof_readers { + MyFileInfo fileReader = 11; + TableInfo tableReader = 12; + PhoenixInfo phoenixReader = 14; + HttpServerInfo httpServerReader = 15; + MongodbInfo mongodbReader = 16; + MultipleReadersInfo multipleReaders = 50; + + MyFileInfo myFileReader = 100; + } +} +``` + + + + +## 새로운 프레임워크 코어 빌드하기 + +신규 컴퍼넌트를 추가하기 위해서는 본 페이지를 통해 신규 컴퍼넌트를 인식할 수 있도록 Core에 대한 바이너리를 신규로 빌드하여 사용해야 합니다. + +**매뉴얼 > Core 빌드** 페이지로 이동합니다. +우리가 수정한 proto 파일(**datasource_proto.proto** ,**custom_datasource_proto.proto** )을 아래 그림과 같이 선택하고 빌드요청 버튼을 클릭합니다. 요청 후 약 20분 정도가 경과하면 자신의 로그인 계정의 메일로 신규 빌드된 core 바이너리가 도착합니다(참고: 요청은 순차적으로 처리되므로 미리 대기중인 요청이 있다면 20분 이상 걸릴 수 있음). + +## 새로운 프레임워크 코어로 프로젝트 빌드하기 +메일에서 바이너리를 다운로드한 후, 확장자를 .jar로 변경하고, KSB 개발 프로젝트 디렉토리의 최상위 디렉토리아래 libs 디렉토리 (ksb-oss_dist/libs)에  ksb-core_2.11-${project.version}-SNAPSHOT.jar 파일을 업데이트 합니다. +아래와 같이 Maven 명령을 실행하여 전체 프로젝트를 새로 빌드한다. + +```sh +$ mvn generate-sources package install -P gpu -DskipTests -Drat.skip=true +``` + +## 신규 컴퍼넌트 스칼라 코드 작성 +다음으로 작성된 메시지를 이용하여 신규컴퍼넌트 클래스를 개발합니다. +**ksb-components-custom_2.11** 모듈을 열어 아래와 같이 MyFileReader를 구현합니다. 이 Reader는 . BaseDataOperator 클래스의 정의에 따라 operate(df: DataFrame)를 반드시 override 해야 프레임워크 상에서 Controller에 의해 수행이 가능합니다. 자세한 사항은 KSB 프레임워크 Scala API를 참조하시기 바랍니다. + +```scala +package ksb.csle.component.reader.custom + +import scala.collection.JavaConversions._ +import java.io._ + +import org.apache.spark.sql.{DataFrame, SparkSession} +import org.apache.spark.sql.types._ +import ksb.csle.common.base.reader.BaseReader +import ksb.csle.common.utils.SparkUtils.getSchema +import ksb.csle.common.proto.DatasourceProto.BatchReaderInfo +import ksb.csle.common.proto.CustomDatasourceProto.MyFileInfo +import ksb.csle.common.proto.CustomDatasourceProto.MyFileInfo.FieldInfo + +class MyFileReader( + val o: BatchReaderInfo + ) extends BaseReader[DataFrame, BatchReaderInfo, SparkSession](o) { + + private val myFileReaderInfo: MyFileInfo = o.getMyFileReader + + // TODO: Adds all kinds of type casting. + def getSchema(ts: List[FieldInfo]): StructType = + StructType( + ts.map { t => + t.getType match { + case FieldInfo.FieldType.INTEGER => + StructField(t.getKey, IntegerType, true) + case FieldInfo.FieldType.STRING => + StructField(t.getKey, StringType, true) + case FieldInfo.FieldType.DOUBLE => + StructField(t.getKey, DoubleType, true) + case FieldInfo.FieldType.BOOLEAN => + StructField(t.getKey, BooleanType, true) + case FieldInfo.FieldType.BYTE => + StructField(t.getKey, ByteType, true) + case FieldInfo.FieldType.FLOAT => + StructField(t.getKey, FloatType, true) + case FieldInfo.FieldType.LONG => + StructField(t.getKey, LongType, true) + case FieldInfo.FieldType.TIMESTAMP => + StructField(t.getKey, TimestampType, true) + case _ => + StructField(t.getKey, StringType, true) + } + }) + + override def read(spark: SparkSession): DataFrame = { + import spark.implicits._ + try { + logger.debug("Operation: MyFileReader") + + if(myFileReaderInfo.getFileType.toString().toLowerCase() != "csv"){ + if (myFileReaderInfo.getFieldList.toList.size() > 0) { + spark.sqlContext.read + .format(myFileReaderInfo.getFileType.toString().toLowerCase()) + .option("header", myFileReaderInfo.getHeader()) // Use first line of all files as header + .option("sep", myFileReaderInfo.getDelimiter) + .schema(getSchema(myFileReaderInfo.getFieldList.toList)) + .load(myFileReaderInfo.getFilePathList.toList.mkString(",")) + }else{ + spark.sqlContext.read + .format(myFileReaderInfo.getFileType.toString().toLowerCase()) + .option("header", myFileReaderInfo.getHeader()) // Use first line of all files as header + .option("inferSchema", "true") + .option("sep", myFileReaderInfo.getDelimiter) + .load(myFileReaderInfo.getFilePathList.toList.mkString(",")) + } + }else{ + if (myFileReaderInfo.getFieldList.toList.size() > 0) { + spark.read + .option("header", myFileReaderInfo.getHeader()) + .option("sep", myFileReaderInfo.getDelimiter) + .schema(getSchema(myFileReaderInfo.getFieldList.toList)) + .csv(myFileReaderInfo.getFilePathList.toList.mkString(",")) + }else{ + spark.read + .option("header", myFileReaderInfo.getHeader()) + .option("inferSchema", "true") + .option("sep", myFileReaderInfo.getDelimiter) + .csv(myFileReaderInfo.getFilePathList.toList.mkString(",")) + } + } + } catch { + case e: ClassCastException => + logger.error(s"Unsupported type cast error: ${e.getMessage}") + throw e + case e: UnsupportedOperationException => + logger.error(s"Unsupported file reading error: ${e.getMessage}") + throw e + case e: Throwable => + logger.error(s"Unknown file reading error: ${e.getMessage}") + throw e + } + } + + override def close: Unit = () +} + +object MyFileReader { + def apply(o: BatchReaderInfo): MyFileReader = new MyFileReader(o) +} +``` + +## 새 컴퍼넌트 빌드하여 jar 파일 생성하기 +작성한 스칼라 오퍼레이터 클래스를 빌드하여 새로운 .jar를 생성하기 위하여 component-custom 프로젝트 위치에서 maven 명령(아래)을 이용하여 새로운 오퍼레이터가 포함된 바이너리(jar)를 빌드합니다. +```sh +$ cd component-custom +$ mvn generate-sources package install -P gpu -DskipTests -Drat.skip=true +``` + +결과로 target 디렉토리에 **ksb-component-custom_2.11-{version}.jar** 가 생성된 것을 확인합니다. + +## 새로운 컴퍼넌트를 실행 프레임워크에 배포 + +새로 작성한 메세제와 오퍼레이터가 포함된 바이너리를 KSB 프레임워크 실행바이너리가 있는 위치에 배포합니다. (레파지토리에 배포가 완료됨과 동시에 별도의 설치과정 없이 클라이언트의 요청 시 KSB 프레임워크에 의해 동적으로 클러스터 상의 노드들에 배포되어 엔진을 생성하고 구동하는데 적용이 됩니다.) +새로 배포해야할 KSB 프레임워크의 패키지는 아래와 같이 두 개의 jar에 해당합니다. + +- ksb-csle/libs/**ksb-core_2.11-{version}.jar** +-- 신규메세지 포함된 core 바이너리로서 core 빌드 요청결과로 받은 파일 +- ksb-csle/component-custom/target/**ksb-component-custom_2.11-{version}.jar** +-- 새로 작성한 컴퍼넌트 포함. 콘솔창에서 아래와 같이 maven 명령을 실행 위의 ksb-component-custom_2.11 빌드파일을 생성할 수 있습니다. + + +상기의 빌드된 패키지를 KSB 프레임워크 상에서 지정한 아카이브 디렉토리에 복사해서 넣어줌으로써 배포가 완료가 완료됩니다. +참고로, 아카이브 위치는 별도의 설정이 없다면 내부적으로 ```${KSB_HOME}/jars/${ksb-vsersion}``` 디렉토리를 기본값으로 사용합니다. diff --git a/manual1903/3.3.1.HowToMakeScenarioWithNewOperator.md b/manual1903/3.3.1.HowToMakeScenarioWithNewOperator.md new file mode 100644 index 0000000000000000000000000000000000000000..1be7b168dd9fb4d3fa418e2bd672cd671e210093 --- /dev/null +++ b/manual1903/3.3.1.HowToMakeScenarioWithNewOperator.md @@ -0,0 +1,161 @@ +--- +html: + toc: true + offline: true +export_on_save: + html: true +--- +# 새로 개발한 Operator 컴퍼넌트를 이용하여 워크플로우 작성 및 실행하기 +--- + +여기에서는 만들어진 컴펀너트를 사용하여 워크플로우를 작성하고 실행하는 방법을 설명합니다. +KSB 웹툴킷을 이용하지 않고, KSBClientSDK를 이용하여 워크플로우를 작성하는 방법을 중심으로, 워크플로우의 시나리오를 작성하고 실행하기 위한 코드를 작성하고 이를 실행하는 과정을 설명합니다. 전체 순서는 다음과 같습니다. + +- 데이터셋 업로드 (Optional) +- 워크플로우 작성하기 +- 작성한 워크플로우 실행하기 + + +## 데이터 업로드 +데이터의 업로드는 KSB 웹툴킷 인터페이스를 이용하여 업로드 하는 방법과 command-line 인터페이스를 통해 업로드하는 방법이 있습니다. KSB 웹툴킷을 이용한 방법은 사용자 가이드에 있는 방법과 동일합니다. 본 예제에서는 개발환경과 함께 배포된 **ksb-csle/examples/input/adult.csv** 파일을 입력으로, **ksb-csle/examples/input/columnSelection_adult.csv** 파일을 column selection을 위한 오퍼레이터의 파라메터로 사용할 것이므로 별도로 업로드 하지 않고 진행하도록 하겠습니다. + + +## 워크플로우 작성 및 제출하기 +KSB 프레임워크는 워크플로우 작성 및 실행 요청을 위한 방법으로 scala 기반의 KSB clientSDK환경과 그래픽(GUI) 기반의 환경을 제공합니다. + +본 예제 코드는 csv 파일을 입력받아 필터링 오퍼레이션과 그룹핑하는 오퍼레이션을 거쳐 파일로 저장하는 데이터처리 엔진의 사양을 작성하고 하나의 워크플로우로 구성한 예제입니다. (자세한 내용은 아래 예제 커맨트 참조) + +- KSB ClientSDK와 ScalaIDE를 이용한 워크플로우 작성: +다음은 scala 기반의 clientSDK를 이용하여 신규로 개발한 포함하는 워크플로우를 정의하는 구문의 일부를 보여줍니다. 각각의 reader, writer, operator, runner, controller의 구체적인 정의는 아래 전체 예제의 주석을 참고하시기 바랍니다. + +```scala +package ksb.examples.custom + +import org.apache.logging.log4j.scala.Logging +import com.google.protobuf.Message + +// 새로 만든 메세지 객체 임포트 !!! +import ksb.csle.common.proto.CustomOperatorProto._ +import ksb.csle.common.proto.DatasourceProto._ +import ksb.csle.common.proto.RunnerProto._ +import ksb.csle.common.proto.WorkflowProto._ +import ksb.csle.common.proto.StreamControlProto._ +import ksb.csle.common.proto.OndemandControlProto._ +import ksb.csle.common.proto.SharedProto._ +import ksb.csle.common.utils.ProtoUtils +import ksb.csle.common.utils.config.ConfigUtils + +import ksb.csle.tools.client._ + +object MyColumnSelectionWithFileExample extends Logging { + val appId: String = "Data-TrafficExample" + + def main(args: Array[String]) { + val workflowJson = ProtoUtils.msgToJson(workflow.asInstanceOf[Message]) + + logger.info("workflow: " + workflowJson) + + // KSB framework API gateway 주소와 포트 설정 + val client = new SimpleCsleClient("csle1", 19999) + client.submit(workflowJson) + client.close() + } + + // ClientSDK를 이용한 워크플로우 사양 작성 + private def workflow = { + val infileInfo = FileInfo.newBuilder() + //.addFilePath( + // s"file:///home/csle/ksb-csle/examples/input/adult.csv" + // .replaceAll("\\\\", "/")) + + .addFilePath( + "hdfs://csle1:9000/user/ksbuser_etri_re_kr/dataset/input/adult.csv" + .replaceAll("\\\\", "/")) + + .setFileType(FileInfo.FileType.CSV) + .setDelimiter(";") + .setHeader(true) + .build + val reader = BatchReaderInfo.newBuilder() + .setId(1) + .setPrevId(0) + .setClsName("ksb.csle.component.reader.FileReader") + .setFileReader(infileInfo) + + // 새로 개발한 MyColumnSelectWithFileOperator를 이용하기 위하여 proto 메세지 인스턴스를 생성하고 이를 MyColumnSelectWithFileOperator 클래스에 바인딩하기 위한 사양을 정의한다. + val selectedColumnsWithFileInfo = + + MySelectColumnsWithFileInfo.newBuilder().setColumnIdPath( + //s"file:///home/csle/ksb-csle/examples/input/columnSelection_adult.csv") + "hdfs://csle1:9000/user/ksbuser_etri_re_kr/dataset/input/columnSelection_adult.csv") + + .build + val operator = StreamOperatorInfo.newBuilder() + .setId(1) + .setPrevId(0) + .setClsName("ksb.csle.component.operator.custom.MyColumnSelectWithFileOperator") + .setMySelectColumnsWithFile(selectedColumnsWithFileInfo) + .build + + val outfileInfo = FileInfo.newBuilder() + //.addFilePath( + // s"file:///home/csle/ksb-csle/examples/output/output_columnSelect_adult.csv" + // .replaceAll("\\\\", "/")) + + .addFilePath( + "hdfs://csle1:9000/user/ksbuser_etri_re_kr/output/output_columnSelect_adult.csv" + .replaceAll("\\\\", "/")) + + + + .setFileType(FileInfo.FileType.CSV) + .setDelimiter(",") + .setHeader(true) + .build + val writer = BatchWriterInfo.newBuilder() + .setId(11) + .setPrevId(10) + .setClsName("ksb.csle.component.writer.FileWriter") + .setFileWriter(outfileInfo) + + val runner = StreamRunnerInfo.newBuilder() + .setClsName("ksb.csle.component.runner.SimpleSparkRunner") + .setSparkRunner( + SparkRunnerInfo.getDefaultInstance) + + val controller = StreamControllerInfo.newBuilder() + .setClsName("ksb.csle.component.controller.SparkSessionOrStreamController") + .setSparkSessionOrStreamController(SimpleBatchOrStreamControllerInfo.getDefaultInstance) + + // 각 컴퍼넌트 사양을 조합하여 하나의 엔진 사양을 구성 + val dataEngineInfo = BatchToBatchStreamEngineInfo.newBuilder() + .setController(controller) + .setReader(reader) + .setWriter(writer) + .addOperator(operator) + .setRunner(runner) + .build + + val runType = RunType.newBuilder() + .setId(1) + .setPeriodic(Periodic.ONCE) + .build() + + // 작성한 엔진사양들을 이용하여 하나의 워크플로우 흐름 조합 + WorkflowInfo.newBuilder() + .setBatch(true) + .setMsgVersion("v1.0") + .setKsbVersion("v19.03") + .addRuntypes(runType) + .addEngines( + EngineInfo.newBuilder() + .setId(1) + .setPrevId(0) + .setEngineNickName("DataEngine") + .setBatchToBatchStreamEngine(dataEngineInfo)) + .build + } +} +``` + +마지막으로 위의 예제를 이클립스 상에서 실행하고 writer 출력경로 상에 파일을 열어 column selection 결과를 확인합니다. diff --git a/manual1903/3.3.2.HowToMakeScenarioWithNewReader.md b/manual1903/3.3.2.HowToMakeScenarioWithNewReader.md new file mode 100644 index 0000000000000000000000000000000000000000..26e2706df1954ecc10d34a8a75dbdd94e44569da --- /dev/null +++ b/manual1903/3.3.2.HowToMakeScenarioWithNewReader.md @@ -0,0 +1,161 @@ +--- +html: + toc: true + offline: true +export_on_save: + html: true +--- +# 새로 개발한 Reader 컴퍼넌트를 이용하여 워크플로우 작성 및 실행하기 +--- + +여기에서는 만들어진 컴펀너트를 사용하여 워크플로우를 작성하고 실행하는 방법을 설명합니다. +KSB 웹툴킷을 이용하지 않고, KSBClientSDK를 이용하여 워크플로우를 작성하는 방법을 중심으로, 워크플로우의 시나리오를 작성하고 실행하기 위한 코드를 작성하고 이를 실행하는 과정을 설명합니다. 전체 순서는 다음과 같습니다. + +- 데이터셋 업로드 (Optional) +- 워크플로우 작성하기 +- 작성한 워크플로우 실행하기 + + +## 데이터 업로드 +데이터의 업로드는 KSB 웹툴킷 인터페이스를 이용하여 업로드 하는 방법과 command-line 인터페이스를 통해 업로드하는 방법이 있습니다. KSB 웹툴킷을 이용한 방법은 사용자 가이드에 있는 방법과 동일합니다. 본 예제에서는 개발환경과 함께 배포된 **ksb-csle/examples/input/adult.csv** 파일을 입력으로, **ksb-csle/examples/input/columnSelection_adult.csv** 파일을 column selection을 위한 오퍼레이터의 파라메터로 사용할 것이므로 HDFS에 업로드 후 진행하도록 하겠습니다. + + +## 워크플로우 작성 및 제출하기 +KSB 프레임워크는 워크플로우 작성 및 실행 요청을 위한 방법으로 scala 기반의 KSB clientSDK환경과 그래픽(GUI) 기반의 환경을 제공합니다. + +본 예제 코드는 csv 파일을 입력받아 필터링 오퍼레이션과 그룹핑하는 오퍼레이션을 거쳐 파일로 저장하는 데이터처리 엔진의 사양을 작성하고 하나의 워크플로우로 구성한 예제입니다. (자세한 내용은 아래 예제 커맨트 참조) + +- KSB ClientSDK와 ScalaIDE를 이용한 워크플로우 작성: +다음은 scala 기반의 clientSDK를 이용하여 신규로 개발한 포함하는 워크플로우를 정의하는 구문의 일부를 보여줍니다. 각각의 reader, writer, operator, runner, controller의 구체적인 정의는 아래 전체 예제의 주석을 참고하시기 바랍니다. + +```scala + +package ksb.examples.custom + +import scala.util.{Try, Success, Failure} + +import org.apache.logging.log4j.scala.Logging +import com.google.protobuf.Message + +import ksb.csle.common.proto.CustomDatasourceProto._ +import ksb.csle.common.proto.StreamOperatorProto._ +import ksb.csle.common.proto.DatasourceProto._ +import ksb.csle.common.proto.RunnerProto._ +import ksb.csle.common.proto.WorkflowProto._ +import ksb.csle.common.proto.CustomOperatorProto._ +import ksb.csle.common.proto.StreamControlProto._ +import ksb.csle.common.proto.OndemandControlProto._ +import ksb.csle.common.proto.SharedProto._ +import ksb.csle.common.utils.ProtoUtils +import ksb.csle.common.utils.config.ConfigUtils + +import ksb.csle.tools.client._ + +object MyFileReaderExample extends Logging { + val appId: String = "Data-TrafficExample" + + def main(args: Array[String]) { + val workflowJson = ProtoUtils.msgToJson(workflow.asInstanceOf[Message]) + println(workflowJson) + val client = new SimpleCsleClient("csle1", 19999) + Try (client.submit( + workflowJson, + "ksbuser@etri.re.kr", + this.getClass.getSimpleName.replace("$",""), + this.getClass.getSimpleName.replace("$",""))) match { + case Success(id) => logger.info("submit success:" + id) + case Failure(e) => logger.error("submit error", e) + } + client.close() + } + + // ClientSDK를 이용한 워크플로우 사양 작성 + private def workflow = { + + // 새로 개발한 MyFileReader를 이용하기 위하여 proto 메세지 인스턴스를 생성하고 이를 MyFileReader를 클래스에 바인딩하기 위한 사양을 정의한다. + val infileInfo = MyFileInfo.newBuilder() + .addFilePath( + //s"file:///home/csle/ksb-csle/examples/input/adult.csv" + "hdfs://csle1:9000/user/ksbuser_etri_re_kr/dataset/input/adult.csv" + .replaceAll("\\\\", "/")) + .setFileType(MyFileInfo.FileType.CSV) + .setDelimiter(";") + .setHeader(true) + .build + val reader = BatchReaderInfo.newBuilder() + .setId(1) + .setPrevId(0) + .setClsName("ksb.csle.component.reader.custom.MyFileReader") + .setMyFileReader(infileInfo) + + val selectedColumnsWithFileInfo = + SelectColumnsWithFileInfo.newBuilder() + .setColumnIdPath( + //s"file:///home/csle/ksb-csle/examples/input/columnSelection_adult.csv") + "hdfs://csle1:9000/user/ksbuser_etri_re_kr/dataset/input/columnSelection_adult.csv") + .build + val operator = StreamOperatorInfo.newBuilder() + .setId(1) + .setPrevId(0) + .setClsName("ksb.csle.component.operator.reduction.ColumnSelectWithFileOperator") + .setSelectColumnsWithFile(selectedColumnsWithFileInfo) + .build + + val outfileInfo = FileInfo.newBuilder() + .addFilePath( + //s"file:///home/csle/ksb-csle/examples/output/output_columnSelect_adult.csv" + "hdfs://csle1:9000/user/ksbuser_etri_re_kr/output/output_columnSelect_adult.csv" + .replaceAll("\\\\", "/")) + .setFileType(FileInfo.FileType.CSV) + .setDelimiter(",") + .setHeader(true) + .build + val writer = BatchWriterInfo.newBuilder() + .setId(11) + .setPrevId(10) + .setClsName("ksb.csle.component.writer.FileWriter") + .setFileWriter(outfileInfo) + + val runner = StreamRunnerInfo.newBuilder() + .setClsName("ksb.csle.component.runner.SimpleSparkRunner") + .setSparkRunner( + SparkRunnerInfo.getDefaultInstance) + + val controller = StreamControllerInfo.newBuilder() + .setClsName("ksb.csle.component.controller.SparkSessionOrStreamController") + .setSparkSessionOrStreamController(SimpleBatchOrStreamControllerInfo.getDefaultInstance) + + // 각 컴퍼넌트 사양을 조합하여 하나의 엔진 사양을 구성 + val dataEngineInfo = BatchToBatchStreamEngineInfo.newBuilder() + .setController(controller) + .setReader(reader) + .setWriter(writer) + .addOperator(operator) + .setRunner(runner) + .build + + val runType = RunType.newBuilder() + .setId(1) + .setPeriodic(Periodic.ONCE) + .build() + + // 작성한 엔진사양들을 이용하여 하나의 워크플로우 흐름 조합 + WorkflowInfo.newBuilder() + .setBatch(true) + .setMsgVersion("v1.0") + .setKsbVersion("v19.03") + .setVerbose(true) + .addRuntypes(runType) + .addEngines( + EngineInfo.newBuilder() + .setId(1) + .setPrevId(0) + .setEngineNickName("DataEngine") + .setBatchToBatchStreamEngine(dataEngineInfo)) + .build + } +} + +``` + +마지막으로 위의 예제를 이클립스 상에서 실행하고 writer 출력경로 상에 파일을 열어 column selection 결과를 확인합니다. diff --git a/manual1903/3.3.HowToMakeScenarioWithNewComponent.md b/manual1903/3.3.HowToMakeScenarioWithNewComponent.md new file mode 100755 index 0000000000000000000000000000000000000000..b18806ada71782b9ba9590408f264167a3a74071 --- /dev/null +++ b/manual1903/3.3.HowToMakeScenarioWithNewComponent.md @@ -0,0 +1,147 @@ +--- +html: + toc: true + offline: true +export_on_save: + html: true +--- +# 신규 컴퍼넌트를 이용한 워크플로우 작성 및 실행하기 +--- + +여기에서는 만들어진 컴펀너트를 사용하여 워크플로우를 작성하고 실행하는 방법을 설명합니다. +KSB 웹툴킷을 이용하지 않고, KSBClientSDK를 이용하여 워크플로우를 작성하는 방법을 중심으로, 워크플로우의 시나리오를 작성하고 실행하기 위한 코드를 작성하고 이를 실행하는 과정을 설명합니다. 전체 순서는 다음과 같습니다. + +- 데이터셋 업로드 (Optional) +- 워크플로우 작성하기 +- 작성한 워크플로우 실행하기 + + +## 데이터 업로드 +데이터의 업로드는 KSB 웹툴킷 인터페이스를 이용하여 업로드 하는 방법과 command-line 인터페이스를 통해 업로드하는 방법이 있습니다. KSB 웹툴킷을 이용한 방법은 사용자 가이드에 있는 방법과 동일합니다. 본 예제에서는 개발환경과 함께 배포된 **ksb-csle/examples/input/adult.csv** 파일을 입력으로, **ksb-csle/examples/input/columnSelection_adult.csv** 파일을 column selection을 위한 오퍼레이터의 파라메터로 사용할 것이므로 별도로 업로드 하지 않고 진행하도록 하겠습니다. + + +## 워크플로우 작성 및 제출하기 +KSB 프레임워크는 워크플로우 작성 및 실행 요청을 위한 방법으로 scala 기반의 KSB clientSDK환경과 그래픽(GUI) 기반의 환경을 제공합니다. + +본 예제 코드는 csv 파일을 입력받아 필터링 오퍼레이션과 그룹핑하는 오퍼레이션을 거쳐 파일로 저장하는 데이터처리 엔진의 사양을 작성하고 하나의 워크플로우로 구성한 예제입니다. (자세한 내용은 아래 예제 커맨트 참조) + +- KSB ClientSDK와 ScalaIDE를 이용한 워크플로우 작성: +다음은 scala 기반의 clientSDK를 이용하여 신규로 개발한 포함하는 워크플로우를 정의하는 구문의 일부를 보여줍니다. 각각의 reader, writer, operator, runner, controller의 구체적인 정의는 아래 전체 예제의 주석을 참고하시기 바랍니다. + +```scala +package ksb.examples.custom + +import org.apache.logging.log4j.scala.Logging +import com.google.protobuf.Message + +import ksb.csle.common.proto.CustomDatasourceProto._ +import ksb.csle.common.proto.CustomOperatorProto._ +import ksb.csle.common.proto.StreamOperatorProto._ +import ksb.csle.common.proto.DatasourceProto._ +import ksb.csle.common.proto.RunnerProto._ +import ksb.csle.common.proto.WorkflowProto._ +import ksb.csle.common.proto.StreamControlProto._ +import ksb.csle.common.proto.OndemandControlProto._ +import ksb.csle.common.proto.SharedProto._ +import ksb.csle.common.utils.ProtoUtils +import ksb.csle.common.utils.config.ConfigUtils + +import ksb.csle.tools.client._ + +object MyColumnSelectionWithFileExample extends Logging { + val appId: String = "Data-TrafficExample" + + def main(args: Array[String]) { + val workflowJson = ProtoUtils.msgToJson(workflow.asInstanceOf[Message]) + + logger.info("workflow: " + workflowJson) + + // KSB framework API gateway 주소와 포트 설정 + val client = new SimpleCsleClient("localhost", 19999) + client.submit(workflowJson) + client.close() + } + + // ClientSDK를 이용한 워크플로우 사양 작성 + private def workflow = { + val infileInfo = MyFileInfo.newBuilder() + .addFilePath( + s"file:///home/csle/ksb-csle/examples/input/adult.csv" + .replaceAll("\\\\", "/")) + .setFileType(MyFileInfo.FileType.CSV) + .setDelimiter(";") + .setHeader(true) + .build + val reader = BatchReaderInfo.newBuilder() + .setId(1) + .setPrevId(0) + .setClsName("ksb.csle.component.reader.custom.MyFileReader") + .setMyFileReader(infileInfo) + + // 새로 개발한 MyColumnSelectWithFileOperator를 이용하기 위하여 proto 메세지 인스턴스를 생성하고 이를 MyColumnSelectWithFileOperator 클래스에 바인딩하기 위한 사양을 정의한다. + val selectedColumnsWithFileInfo = + MySelectColumnsWithFileInfo.newBuilder().setColumnIdPath( + s"file:///home/csle/ksb-csle/examples/input/columnSelection_adult.csv") + .build + val operator = StreamOperatorInfo.newBuilder() + .setId(1) + .setPrevId(0) + .setClsName("ksb.csle.component.operator.custom.MyColumnSelectWithFileOperator") + .setMySelectColumnsWithFile(selectedColumnsWithFileInfo) + .build + + val outfileInfo = FileInfo.newBuilder() + .addFilePath( + s"file:///home/csle/ksb-csle/examples/output/output_columnSelect_adult.csv" + .replaceAll("\\\\", "/")) + .setFileType(FileInfo.FileType.CSV) + .setDelimiter(",") + .setHeader(true) + .build + val writer = BatchWriterInfo.newBuilder() + .setId(11) + .setPrevId(10) + .setClsName("ksb.csle.component.writer.FileWriter") + .setFileWriter(outfileInfo) + + val runner = StreamRunnerInfo.newBuilder() + .setClsName("ksb.csle.component.runner.SimpleSparkRunner") + .setSparkRunner( + SparkRunnerInfo.getDefaultInstance) + + val controller = StreamControllerInfo.newBuilder() + .setClsName("ksb.csle.component.controller.SparkSessionOrStreamController") + .setSparkSessionOrStreamController(SimpleBatchOrStreamControllerInfo.getDefaultInstance) + + // 각 컴퍼넌트 사양을 조합하여 하나의 엔진 사양을 구성 + val dataEngineInfo = BatchToBatchStreamEngineInfo.newBuilder() + .setController(controller) + .setReader(reader) + .setWriter(writer) + .addOperator(operator) + .setRunner(runner) + .build + + val runType = RunType.newBuilder() + .setId(1) + .setPeriodic(Periodic.ONCE) + .build() + + // 작성한 엔진사양들을 이용하여 하나의 워크플로우 흐름 조합 + WorkflowInfo.newBuilder() + .setBatch(true) + .setMsgVersion("v1.0") + .setKsbVersion("v1.0") + .addRuntypes(runType) + .addEngines( + EngineInfo.newBuilder() + .setId(1) + .setPrevId(0) + .setEngineNickName("DataEngine") + .setBatchToBatchStreamEngine(dataEngineInfo)) + .build + } +} +``` + +마지막으로 위의 예제를 이클립스 상에서 실행하고 writer 출력경로 상에 파일을 열어 column selection 결과를 확인합니다. diff --git a/manual1903/3.4.1.HowToUseOperatorComponent.md b/manual1903/3.4.1.HowToUseOperatorComponent.md new file mode 100755 index 0000000000000000000000000000000000000000..99e9d7c168be3ed234fb4b69fa920116d6f37bb0 --- /dev/null +++ b/manual1903/3.4.1.HowToUseOperatorComponent.md @@ -0,0 +1,88 @@ +--- +html: + toc: true + offline: true +export_on_save: + html: true +--- +# KSB 웹툴킷에 새로 개발한 Operator 컴퍼넌트 등록하기 +--- +Operator 컴퍼넌트 개발하기 매뉴얼 에서 SW 개발자가 만든 **MyColumnSelectWithFileOperator** 를 웹툴킷에서 사용할 수 있도록 등록하는 방법을 설명합니다. **Component** 메뉴를 클릭하여 Component 관리화면 으로 이동합니다. 컴포넌트를 등록하기 위한 절차는 다음과 같습니다. + +1. 컴퍼넌트를 등록할 버전 선택 +2. Enum Component 등록하기 +3. Component Property 등록하기 +4. UI Component 등록하기 +5. 엔진과 매핑관계 만들기 + + +## 컴퍼넌트를 등록할 버전 선택 +**Revision** 탭으로 이동합니다. *Version Map* 표에서 웹툴킷의 *Component Version* 과 프레임워크의 *KSB Version* 목록을 확인할 수 있습니다. 본 예제에서는 SW 개발자가 만든 신규 컴퍼넌트를 웹툴킷의 *Component Version* = 1.0.1 에 등록합니다. 따라서 1.0.1 버전을 *Working version* 으로 선택합니다. 1.0.1 버전이 없을 경우, KSB 웹툴킷 컴퍼넌트 등록 매뉴얼을 참고하여 생성합니다 (복제 기능 이용). + +![버전 선택](./images/3.4.1_revision.png) + +## Enum Component 등록하기 +본 예제에서는 Enum Component 를 작성하지 않았으므로 DB 에 입력하지 않습니다. + + +## Component Property 등록하기 +**Component Property** 탭으로 이동합니다. **MyColumnSelectWithFileOperator** 에서 사용한 Protocol Buffer 메세지의 필드 값을 입력합니다. + +```protobuf +syntax = "proto2"; + +package ksb.csle.common.proto; + +message MySelectColumnsWithFileInfo { + required string columnIdPath = 1; +} +``` + + KSB 웹툴킷 컴퍼넌트 등록 매뉴얼을 참고하여 입력합니다. + +![메세지 입력화면](./images/3.4.1_component.png) + + +## UI Component 등록하기 +**UI Component** 탭으로 이동하여 입력합니다. + +![UI Component](./images/3.4.1_ui.png) + +- Component Property 에 "MySelectColumnsWithFileInfo" 를 입력합니다. +- Type 은 "Operator" 를 선택합니다. +- Class Name 에 "ksb.csle.component.operator.custom.MyColumnSelectWithFileOperator" 를 입력합니다. +- Nickname 에 "MyColumnSelectWithFileOperator" 를 입력합니다. Nickname은 워크플로우 편집 화면의 컴퍼넌트 선택창에서 표시할 이름입니다. +- Description 에 "파일로부터 칼럼 선택 및 재배열 처리기" 를 입력합니다. Description은 워크플로우 편집 화면의 컴퍼넌트 선택창에서 컴퍼넌트 이름에 마우스 오버 시 표출할 툴팁 설명입니다. +- DB+ 버튼을 클릭하여 입력한 내용을 DB에 추가합니다. + + +## 엔진과 매핑관계 만들기 +위에서 입력한 **MyColumnSelectWithFileOperator** 를 스트림 처리용 엔진에서 사용할 수 있도록 매핑 정보를 입력합니다. + +![UI Component Map](./images/3.4.1_ui_mapping.png) + +- UIComponent 는 위에서 입력한 "[Operator] MyColumnSelectWithFileOperator" 를 선택합니다. +- Engine 은 스트림 처리용 엔진인 "StreamToStreamEngine" 을 선택합니다. +- 선택된 StreamToStreamEngine 이 가지고 있는 StreamOperatorInfo 의 oneof_operators 에 Field Name을 입력합니다. Field Name 에 "mySelectColumnsWithFile" 을 입력한 후 Add a new field! 버튼을 클릭하여 리스트에 추가합니다. +- Save to Entry! 버튼을 클릭하여 Mapping Entries 리스트에 추가합니다. +- DB+ 버튼을 클릭하여 Mapping Entries 리스트에 있는 내용을 DB에 입력합니다. + +DB에 입력한 후, UIComponent Mapping Relations! 버튼을 클릭하면 아래 그림과 같이 매핑 정보를 확인할 수 있습니다. StreamOperatorInfo 를 가지는 엔진들(BatchToBatchStreamEngine, OnDemandStreamEngine, StreamToBatchEngine, StreamToStreamEngine)에 일괄적으로 매핑되는 것을 확인할 수 있습니다. + +![UI Component Map](./images/3.4.1_ui_mapping2.png) + +## 워크플로우 편집기에서 확인 +**Workflow Editor** 메뉴를 클릭하여 워크플로우 편집 화면으로 이동합니다. *Component Version* 이 1.0.1 인 워크플로우를 작성합니다. StreamToStream 엔진을 선택한 후, 위에서 등록한 MyColumnSelectWithFileOperator 가 컴퍼넌트 선택창에 나타나는지 확인합니다. +컴퍼넌트 선택창에 표출되는 이름은 UI Component 등록 시 입력한 Nickname 이며, 마우스 오버 시 출력되는 툴팁 설명은 Description 인 것을 확인할 수 있습니다. + + +![New Component](./images/3.4.1_result.png) + +등록한 컴퍼넌트를 엔진으로 드래그 앤 드롭한 후 Properties 창에서 Component Property 를 설정할 수 있는지 확인합니다. + +![New Component](./images/3.4.1_result2.png) + +도움말 버튼을 클릭하면 Component Property 등록 시 입력한 Help 가 출력되는 것을 확인할 수 있습니다. +- (1) Component Property Help 표에서 입력한 Short Help 표시 +- (2) Component Property Help 표에서 입력한 Help 표시 +- (3) Component Property 표에서 입력한 Help 표시 diff --git a/manual1903/3.4.2.HowToUseReaderComponent.md b/manual1903/3.4.2.HowToUseReaderComponent.md new file mode 100755 index 0000000000000000000000000000000000000000..5c4f69fb230545b45fbd1191092cf919882f6e8f --- /dev/null +++ b/manual1903/3.4.2.HowToUseReaderComponent.md @@ -0,0 +1,106 @@ +--- +html: + toc: true + offline: true +export_on_save: + html: true +--- +# KSB 웹툴킷에 새로 개발한 Reader 컴퍼넌트 등록하기 +--- +Reader 컴퍼넌트 개발하기 매뉴얼 에서 SW 개발자가 만든 **MyFileReader** 를 웹툴킷에서 사용할 수 있도록 등록하는 방법을 설명합니다. **Component** 메뉴를 클릭하여 Component 관리화면 으로 이동합니다. 컴포넌트를 등록하기 위한 절차는 다음과 같습니다. + +1. 컴퍼넌트를 등록할 버전 선택 +2. Enum Component 등록하기 +3. Component Property 등록하기 +4. UI Component 등록하기 +5. 엔진과 매핑관계 만들기 + + +## 컴퍼넌트를 등록할 버전 선택 +**Revision** 탭으로 이동합니다. *Version Map* 표에서 웹툴킷의 *Component Version* 과 프레임워크의 *KSB Version* 목록을 확인할 수 있습니다. 본 예제에서는 SW 개발자가 만든 신규 컴퍼넌트를 웹툴킷의 *Component Version* = 1.0.1 에 등록합니다. 따라서 1.0.1 버전을 *Working version* 으로 선택합니다. 1.0.1 버전이 없을 경우, KSB 웹툴킷 컴퍼넌트 등록 매뉴얼을 참고하여 생성합니다 (복제 기능 이용). + +![버전 선택](./images/3.4.1_revision.png) + +## Enum Component 등록하기 +본 예제에서는 Enum Component 를 작성하지 않았으므로 DB 에 입력하지 않습니다. + + +## Component Property 등록하기 +**Component Property** 탭으로 이동합니다. **MyFileReader** 에서 사용한 Protocol Buffer 메세지의 필드 값을 입력합니다. + +```protobuf +syntax = "proto2"; + +package ksb.csle.common.utils.proto; + +message MyFileInfo { + repeated string filePath = 1; + optional FileType fileType = 2 [default = JSON]; + optional string delimiter = 3 [default = ","]; + repeated FieldInfo field = 4; + optional bool header = 5 [default = false]; + optional SaveMode saveMode = 6 [default = OVERWRITE]; + enum FileType { + CSV = 0; + JSON = 1; + PARQUET = 2; + TEXT = 3; + } + enum SaveMode { + APPEND = 0; + OVERWRITE = 1; + ERROR_IF_EXISTS = 2; + IGNORE = 3; + } +} +``` + + KSB 웹툴킷 컴퍼넌트 등록 매뉴얼을 참고하여 입력합니다. + +![메세지 입력화면](./images/3.4.2_component.png) + + + +## UI Component 등록하기 +**UI Component** 탭으로 이동하여 입력합니다. + +![UI Component](./images/3.4.2_ui.png) + +- Component Property 에 "MyFileInfo" 를 입력합니다. +- Type 은 "Reader" 를 선택합니다. +- Class Name 에 "ksb.csle.component.reader.custom.MyFileReader" 를 입력합니다. +- Nickname 에 "MyFileReader" 를 입력합니다. Nickname은 워크플로우 편집 화면의 컴퍼넌트 선택창에서 표시할 이름입니다. +- Description 에 "파일 입력기" 를 입력합니다. Description은 워크플로우 편집 화면의 컴퍼넌트 선택창에서 컴퍼넌트 이름에 마우스 오버 시 표출할 툴팁 설명입니다. +- DB+ 버튼을 클릭하여 입력한 내용을 DB에 추가합니다. + + +## 엔진과 매핑관계 만들기 +위에서 입력한 **MyFileReader** 를 배치 처리용 엔진에서 사용할 수 있도록 매핑 정보를 입력합니다. + +![UI Component Map](./images/3.4.2_ui_mapping.png) + +- UIComponent 는 위에서 입력한 "[Reader] MyFileReader" 를 선택합니다. +- Engine 은 배치 처리용 엔진인 "BatchToBatchStreamEngine" 을 선택합니다. +- 선택된 BatchToBatchStreamEngine 이 가지고 있는 BatchReaderInfo 의 oneof_readers 에 Field Name을 입력합니다. Field Name 에 "myFileReader" 을 입력한 후 Add a new field! 버튼을 클릭하여 리스트에 추가합니다. +- Save to Entry! 버튼을 클릭하여 Mapping Entries 리스트에 추가합니다. +- DB+ 버튼을 클릭하여 Mapping Entries 리스트에 있는 내용을 DB에 입력합니다. + +DB에 입력한 후, UIComponent Mapping Relations! 버튼을 클릭하면 아래 그림과 같이 매핑 정보를 확인할 수 있습니다. BatchReaderInfo 를 가지는 엔진들(BatchDummyEngine, BatchEngine, BatchToBatchStreamEngine, ExternalEngine)에 일괄적으로 매핑되는 것을 확인할 수 있습니다. + +![UI Component Map](./images/3.4.2_ui_mapping2.png) + +## 워크플로우 편집기에서 확인 +**Workflow Editor** 메뉴를 클릭하여 워크플로우 편집 화면으로 이동합니다. *Component Version* 이 1.0.1 인 워크플로우를 작성합니다. BatchToBatchStreamEngine 엔진을 선택한 후, 위에서 등록한 MyFileReader 가 컴퍼넌트 선택창에 나타나는지 확인합니다. +컴퍼넌트 선택창에 표출되는 이름은 UI Component 등록 시 입력한 Nickname 이며, 마우스 오버 시 출력되는 툴팁 설명은 Description 인 것을 확인할 수 있습니다. + + +![New Component](./images/3.4.2_result.png) + +등록한 컴퍼넌트를 엔진으로 드래그 앤 드롭한 후 Properties 창에서 Component Property 를 설정할 수 있는지 확인합니다. + +![New Component](./images/3.4.2_result2.png) + +도움말 버튼을 클릭하면 Component Property 등록 시 입력한 Help 가 출력되는 것을 확인할 수 있습니다. +- (1) Component Property Help 표에서 입력한 Short Help 표시 +- (2) Component Property Help 표에서 입력한 Help 표시 +- (3) Component Property 표에서 입력한 Help 표시 diff --git a/manual1903/3.4.HowToUseComponent.md b/manual1903/3.4.HowToUseComponent.md new file mode 100755 index 0000000000000000000000000000000000000000..b4cd0d49bafd0f193b623fe63b9f0eac81d31e1b --- /dev/null +++ b/manual1903/3.4.HowToUseComponent.md @@ -0,0 +1,157 @@ +--- +html: + toc: true + offline: true +export_on_save: + html: true +--- +# KSB 웹툴킷에 컴퍼넌트 등록하기 +--- +SW 개발자가 만든 신규 컴퍼넌트를 웹툴킷에서 사용할 수 있도록 등록하는 방법을 설명합니다. 웹툴킷 상단의 **Component** 메뉴를 클릭하여 Component 관리화면 으로 이동합니다. 컴포넌트를 등록하기 위한 절차는 다음과 같습니다. + + 1. 컴퍼넌트를 등록할 버전 선택 + 2. Enum Component 등록하기 + 3. Component Property 등록하기 + 4. UI Component 등록하기 + 5. 엔진과 매핑관계 만들기 + + +## 컴퍼넌트를 등록할 버전 선택 +**Revision** 탭으로 이동합니다. *Version Map* 표에서 웹툴킷의 *Component Version* 과 프레임워크의 *KSB Version* 목록을 확인할 수 있습니다. SW 개발자가 만든 신규 컴퍼넌트를 웹툴킷의 어떤 버전(*Component Version*)에 추가할지 선택한 후, 해당 버전에 컴퍼넌트를 등록합니다. 웹툴킷에서는 *Component Version* 을 관리하며, *KSB Version* 은 매핑만 시켜줍니다. + +또한 *Working version* 은 Component 관리 화면에서 컴퍼넌트를 추가할 버전을 의미하고, *Current version* 은 워크플로우 편집 화면에서 워크플로우를 작성할 default 버전을 의미합니다. + +![버전 선택](./images/3.4_revision.png) + +사용자의 실수로 인한 에러를 막기 위해, 기본적으로 배포되는 *Component Version* 은 컴퍼넌트 수정/삭제/신규등록 등의 기능을 제공하지 않습니다. 따라서 *Component Version* 복제 기능을 이용하여 새로운 버전을 생성하고, 여기에 신규 컴퍼넌트를 등록하길 권장합니다. + +본 예제에서는 *Component Version* = 1.0 을 복제하여 1.0.1 버전을 생성합니다. *Component Version* = 1.0 에서 "Clone" 버튼을 클릭하여 신규 버전 정보를 입력합니다 (*Component Version* = 1.0.1; *KSB Version* = 1.0). 그리고 "Clone to DB" 버튼을 클릭하여 적용합니다. + +![버전 복제](./images/3.4_clone.png) + +그리고 1.0.1 버전을 *Working version* 으로 선택합니다. + +![버전 선택](./images/3.4_clone2.png) + + +## Enum Component 등록하기 +Protocol Buffer 메세지 작성 시 독립적으로 작성한 Enum Component가 있다면, 이를 가장 먼저 입력합니다. **Enum Component** 탭으로 이동하여 입력합니다. + +![Enum Component](./images/3.4_enum.png) + + 1. Name(1) 을 입력한 후 Check Duplication 버튼(2) 을 클릭하여 중복된 이름이 있는 지 검사합니다. 중복된 이름이 있을 경우, 가급적 다른 이름을 사용합니다. + 2. FieldName(3) 을 입력한 후, Add a new field! 버튼(4) 을 클릭하여 리스트에 추가합니다. + 3. 2번 과정을 반복하여 리스트에 값을 추가합니다. + 4. DB+ 버튼(5) 을 클릭하여 리스트에 있는 내용을 DB에 입력합니다. + +- Enum Component 작성 예시 + + ```protobuf + enum FieldType { + STRING = 0; + INTEGER = 1; + DOUBLE = 2; + BOOLEAN = 3; + BYTE = 4; + FLOAT = 5; + LONG = 6; + TIMESTAMP = 7; + } + ``` +- Enum Component 등록 예시 + +![Enum Component](./images/3.4_enum2.png) + +## Component Property 등록하기 +Protocol Buffer 메세지의 필드 값을 입력합니다. Protocol Buffer 메세지에 포함되어 있는 Enum Component 와 Oneof Component 를 함께 입력합니다. **Component Property** 탭으로 이동하여 입력합니다. + + +![Component Property](./images/3.4_component.png) + +**[ Component Property ]** + 1. Name 을 입력한 후 Check Duplication 버튼(1) 을 클릭하여 중복된 이름이 있는 지 검사합니다. 중복된 이름이 있을 경우, 가급적 다른 이름을 사용합니다. + 2. Oneof Component 또는 Enum Component 가 메세지 안에 정의되어 있을 경우, 이를 먼저 입력합니다. <아래 글 참조> + 3. Required, FieldType, FieldComponent, FieldName, DefaultValue, Help 를 차례대로 입력한 후, Add a field! 버튼(2) 을 클릭하여 리스트에 추가합니다. Order는 자동으로 증가합니다. Help는 해당 필드값의 의미 및 사용자가 어떻게 값을 세팅해야 하는지에 관한 도움말을 입력합니다. + 4. FieldType 이 MESSAGETYPE, ENUMTYPE, ONEOFTYPE 중 하나일 경우, FieldComponent 를 선택합니다. + 5. DefaultValue 가 없을 경우, 이 필드는 입력하지 않아도 됩니다. + 6. FieldName은 웹툴킷 워크플로우 편집화면의 Properties 창에 나타나는 이름이므로, 사용자 친화적인 이름으로 작성합니다. (직관적인 이름 사용) + 7. 3번 과정을 반복하여 리스트에 값을 추가합니다. (3) 버튼을 클릭하면 Help 정보를 확인할 수 있고, 한번 더 클릭하면 Help 정보를 감출 수 있습니다. + +**[ OneofGroups ]** + 1. Name 을 입력한 후, Add a OneofGroup! 버튼(4) 을 클릭하여 리스트에 이름을 추가합니다. + 2. Component Property, FieldName 을 차례대로 입력한 후, Add a field! 버튼을 클릭하여 리스트에 추가합니다. Order는 자동으로 증가합니다. + 3. 2번 과정을 반복하여 리스트에 값을 추가합니다. + 4. Oneof Component 가 2개 이상일 경우, 1 - 3번 과정을 반복하여 리스트에 값을 추가합니다. + +**[ EnumComponent ]** + 1. Name 입력한 후 Add a EnumComponent! 버튼(5) 을 클릭하여 리스트에 이름을 추가합니다. + 2. FieldName 을 입력한 후, Add a field! 버튼을 클릭하여 리스트에 추가합니다. Order는 자동으로 증가합니다. + 3. 2번 과정을 반복하여 리스트에 값을 추가합니다. + 4. Enum Component 가 2개 이상일 경우, 1 - 3번 과정을 반복하여 리스트에 값을 추가합니다. + +DB+ 버튼(6) 을 클릭하여 리스트에 있는 내용을 DB에 입력합니다. 그 다음 Component Property Help 를 입력합니다. Edit! 버튼을 클릭하여 입력합니다. + +![Component Property](./images/3.4_component2.png) + +**[ Component Property Help ]** + 1. Short Help를 입력합니다. 개략적인 설명을 입력합니다. + 2. 도움말을 입력합니다. 사용자가 이해할 수 있도록 자세하게 도움말을 입력합니다. + +Modify! 버튼을 클릭한 후, DB+ 버튼(6) 을 클릭하여 리스트에 있는 내용을 DB에 입력합니다. + + +- Protocol Buffer 메세지 작성 예시 + +```protobuf +message FilePipeReaderInfo { + required string filePath = 1; + required FileType fileType = 2 [default = JSON]; + optional int32 maxFilesPerTrigger = 3; + optional string timeColName = 5 [default = "timestamp"]; + optional string watermark = 6 [default = "1 seconds"]; + repeated FieldInfo field = 7; + optional string delimiter = 8 [default = ","]; + optional bool header = 9 [default = false]; + + enum FileType { + CSV = 0; + JSON = 1; + PARQUET = 2; + TEXT = 3; + } +} +``` + +- Protocol Buffer 메세지 등록 예시 + +![Component Property](./images/3.4_component3.png) + + +## UI Component 등록하기 +위에서 입력한 메세지가 Reader, Writer, Runner, Controller, Operator 와 같은 UI Component 로 등록되어야 할 경우, **UI Component** 탭으로 이동하여 입력합니다. + +본 예제에서는 SW 개발자가 이클립스 환경에서 스트림 처리용 파일 입력기(ksb.csle.component.pipe.stream.reader.FilePipeReader.scala +)를 구현하였다고 가정하고, StreamJoinEngine 의 Reader 중 하나로 등록하는 방법을 설명합니다. + + +![UI Component](./images/3.4_ui.png) + + 1. Component Property, Type, Class Name, Nickname, Description을 차례대로 입력합니다. Nickname은 워크플로우 편집 화면의 컴퍼넌트 선택창에서 표시할 이름입니다. Description은 워크플로우 편집 화면의 컴퍼넌트 선택창에서 컴퍼넌트 이름에 마우스 오버 시 표출할 툴팁 설명입니다. + 2. DB+ 버튼을 클릭하여 입력한 내용을 DB에 추가합니다. + + +## 엔진과 매핑관계 만들기 +위에서 입력한 UI Component 를 어떤 Engine에서 사용할 것인지 매핑 정보를 입력합니다. + +![UI Component Map](./images/3.4_ui_mapping.png) + + 1. UIComponent 는 위에서 입력한 컴퍼넌트를 선택합니다. + 2. Engine 은 컴퍼넌트가 추가될 엔진을 선택합니다. + 3. 선택된 엔진이 가지고 있는 OneofGroup 에 Field Name을 입력한 후 Add a new field! 버튼(2) 을 클릭하여 리스트에 추가합니다. + 4. Save to Entry! 버튼(3) 을 클릭하여 Mapping Entries 리스트에 추가합니다. + 5. UI Component를 여러 개의 엔진에 추가하고 싶은 경우, 1 - 4번 과정을 반복하여 Mapping Entries 리스트에 추가합니다. 동일한 OneofGroup 을 참조하는 엔진들은 일괄적으로 추가가 되므로 Mapping Entries 리스트에 추가하지 않아도 됩니다. + 6. DB+ 버튼(4) 을 클릭하여 Mapping Entries 리스트에 있는 내용을 DB에 입력합니다. + +DB에 입력한 후, UIComponent Mapping Relations! 버튼(1) 을 클릭하면 아래 그림과 같이 매핑 정보를 확인할 수 있습니다. 동일한 OneofGroup 을 참조하는 엔진들에 모두 매핑이 된 것을 확인할 수 있습니다. + +![UI Component Map](./images/3.4_ui_mapping2.png) diff --git a/manual1903/Filezilla.md b/manual1903/Filezilla.md new file mode 100644 index 0000000000000000000000000000000000000000..9ea0ce0ba91bd25d0783ff7ca25c80eb39c609c1 --- /dev/null +++ b/manual1903/Filezilla.md @@ -0,0 +1,33 @@ +--- +html: + toc: true + offline: true +export_on_save: + html: true +--- +# Filezilla를 이용하여 KSB 툴박스 docker 컨테이너에 접속하기 +--- + KSB 인공지능 프레임워크 실행하기를 참고하여 KSB 툴박스 docker 컨테이너 실행합니다. + +```sh +csle@csle1:~/ksb-csle/docker/1.0-host$ ./startDockerCsle.sh +Error response from daemon: network csle_cluster not found +Error response from daemon: network csle_standalone not found +csle1 +start csle1 slave container... +4918997cd2dac93fe0b52f3df3a45a46db6df1f3f052854061696695451d2f22 +csle@csle1:/$ +``` + +ssh 서버를 구동합니다. + +```sh +csle@csle1:/$ sudo service ssh start +``` + +HOST 에서 filezilla를 이용하여 KSB 툴박스 docker 컨테이너에 접속합니다. +사용자/비밀번호 : csle/csle + +![](./images/Filezilla01.png) +Filezilla를 이용해서 KSB 툴박스 docker 컨테이너에 접속한 화면입니다. +![](./images/Filezilla02.png) diff --git a/manual1903/api_reference/component-pipe/scaladocs/akka/package.html b/manual1903/api_reference/component-pipe/scaladocs/akka/package.html new file mode 100644 index 0000000000000000000000000000000000000000..8161f1910b5c9607afe34a68d4f87b75531ca5bd --- /dev/null +++ b/manual1903/api_reference/component-pipe/scaladocs/akka/package.html @@ -0,0 +1,118 @@ + + + + akka - KSB COMPONENT-PIPE Scala App Project 1.0-SNAPSHOT API - akka + + + + + + + + + + + + + + + +
+ Package + +

akka

+ + Permalink + + +
+ +

+ + + package + + + akka + +

+ +
+ + +
+
+ + +
+ Visibility +
  1. Public
  2. All
+
+
+ +
+
+ + + + + + +
+

Value Members

+
  1. + + +

    + + + package + + + pattern + +

    + + Permalink + + + +
+
+ + + + +
+ +
+ + +
+ +
+
+

Ungrouped

+ +
+
+ +
+ +
+ + + + + + diff --git a/manual1903/api_reference/component-pipe/scaladocs/akka/pattern/package.html b/manual1903/api_reference/component-pipe/scaladocs/akka/pattern/package.html new file mode 100644 index 0000000000000000000000000000000000000000..4c430884a77d80671526cc12afc1eec8a59a9a6c --- /dev/null +++ b/manual1903/api_reference/component-pipe/scaladocs/akka/pattern/package.html @@ -0,0 +1,359 @@ + + + + pattern - KSB COMPONENT-PIPE Scala App Project 1.0-SNAPSHOT API - akka.pattern + + + + + + + + + + + + + + + +
+ Package +

akka

+

pattern

+ + Permalink + + +
+ +

+ + + package + + + pattern + +

+ +
+ Linear Supertypes +
FutureTimeoutSupport, GracefulStopSupport, AskSupport, PipeToSupport, AnyRef, Any
+
+ + +
+
+
+ Ordering +
    + +
  1. Alphabetic
  2. +
  3. By Inheritance
  4. +
+
+
+ Inherited
+
+
    +
  1. pattern
  2. FutureTimeoutSupport
  3. GracefulStopSupport
  4. AskSupport
  5. PipeToSupport
  6. AnyRef
  7. Any
  8. +
+
+ +
    +
  1. Hide All
  2. +
  3. Show All
  4. +
+
+
+ Visibility +
  1. Public
  2. All
+
+
+ +
+
+ + +
+

Type Members

+
  1. + + +

    + + final + class + + + PipeableCompletionStage[T] extends AnyRef + +

    + + Permalink + + +
    Definition Classes
    PipeToSupport
    +
  2. + + +

    + + final + class + + + PipeableFuture[T] extends AnyRef + +

    + + Permalink + + +
    Definition Classes
    PipeToSupport
    +
+
+ + + +
+

Value Members

+
  1. + + +

    + + + def + + + after[T](duration: FiniteDuration, using: Scheduler)(value: ⇒ Future[T])(implicit ec: ExecutionContext): Future[T] + +

    + + Permalink + + +
    Definition Classes
    FutureTimeoutSupport
    +
  2. + + +

    + + + def + + + afterCompletionStage[T](duration: FiniteDuration, using: Scheduler)(value: ⇒ CompletionStage[T])(implicit ec: ExecutionContext): CompletionStage[T] + +

    + + Permalink + + +
    Definition Classes
    FutureTimeoutSupport
    +
  3. + + +

    + + + def + + + ask(actorSelection: ActorSelection, message: Any, sender: ActorRef)(implicit timeout: Timeout): Future[Any] + +

    + + Permalink + + +
    Definition Classes
    AskSupport
    +
  4. + + +

    + + + def + + + ask(actorSelection: ActorSelection, message: Any)(implicit timeout: Timeout): Future[Any] + +

    + + Permalink + + +
    Definition Classes
    AskSupport
    +
  5. + + +

    + + implicit + def + + + ask(actorSelection: ActorSelection): AskableActorSelection + +

    + + Permalink + + +
    Definition Classes
    AskSupport
    +
  6. + + +

    + + + def + + + ask(actorRef: ActorRef, message: Any, sender: ActorRef)(implicit timeout: Timeout): Future[Any] + +

    + + Permalink + + +
    Definition Classes
    AskSupport
    +
  7. + + +

    + + + def + + + ask(actorRef: ActorRef, message: Any)(implicit timeout: Timeout): Future[Any] + +

    + + Permalink + + +
    Definition Classes
    AskSupport
    +
  8. + + +

    + + implicit + def + + + ask(actorRef: ActorRef): AskableActorRef + +

    + + Permalink + + +
    Definition Classes
    AskSupport
    +
  9. + + +

    + + + def + + + gracefulStop(target: ActorRef, timeout: FiniteDuration, stopMessage: Any): Future[Boolean] + +

    + + Permalink + + +
    Definition Classes
    GracefulStopSupport
    +
  10. + + +

    + + implicit + def + + + pipe[T](future: Future[T])(implicit executionContext: ExecutionContext): PipeableFuture[T] + +

    + + Permalink + + +
    Definition Classes
    PipeToSupport
    +
  11. + + +

    + + implicit + def + + + pipeCompletionStage[T](future: CompletionStage[T])(implicit executionContext: ExecutionContext): PipeableCompletionStage[T] + +

    + + Permalink + + +
    Definition Classes
    PipeToSupport
    +
+
+ + + + +
+ +
+
+

Inherited from FutureTimeoutSupport

+
+

Inherited from GracefulStopSupport

+
+

Inherited from AskSupport

+
+

Inherited from PipeToSupport

+
+

Inherited from AnyRef

+
+

Inherited from Any

+
+ +
+ +
+
+

Ungrouped

+ +
+
+ +
+ +
+ + + + + + diff --git a/manual1903/api_reference/component-pipe/scaladocs/index.html b/manual1903/api_reference/component-pipe/scaladocs/index.html new file mode 100644 index 0000000000000000000000000000000000000000..f8eec761eeb8bb4c3f95290a22eaee1499a02fc6 --- /dev/null +++ b/manual1903/api_reference/component-pipe/scaladocs/index.html @@ -0,0 +1,108 @@ + + + + KSB COMPONENT-PIPE Scala App Project 1.0-SNAPSHOT API + + + + + + + + + + + + + +
+ class icon + trait icon + trait icon + trait icon +
+
+
+
+
+
#ABCDEFGHIJKLMNOPQRSTUVWXYZdeprecated
+
+
+ +
    +
    1. + akka +
        +
        1. + akka.pattern +
            +
            +
          +
        2. + ksb +
            +
            1. + ksb.csle +
                +
                1. + ksb.csle.component +
                    +
                    1. + ksb.csle.component.pipe +
                        +
                        1. + ksb.csle.component.pipe.controller +
                          1. (class)AbstractGenericOnDemandRestfulController
                          2. (class)OnDemandCompositeServingRestfulController
                          3. (class)OnDemandGenericController
                          4. (class)StreamingGenericController
                          +
                          1. + ksb.csle.component.pipe.controller.actor +
                            1. (class)AbstractGenericOnDemandRestfulControlActor
                            2. (class)CompositeServingActor
                            3. (class)EnsembleServingActor
                            4. (object)(class)KafkaSender
                            5. (class)OnDemandGenericControlActor
                            +
                            +
                          2. + ksb.csle.component.pipe.controller.vo +
                            1. (trait)BaseCase
                            2. (trait)BaseCumulativeCase
                            3. (class)CumulativeContext
                            4. (case class)EnsembleCase
                            5. (object)
                              MyJsonProtocol
                            6. (object)
                              MyRouteJsonProtocol
                            7. (object)(class)RouteContext
                            8. (case class)RouteCtxCase
                            +
                            +
                          +
                        2. + ksb.csle.component.pipe.query +
                            +
                            1. + ksb.csle.component.pipe.query.operator +
                              1. (class)GenericRestfulContextQueryPipeOperator
                              2. (class)OutputAggregatePipeOperator
                              3. (class)OutputCumulativePipeOperator
                              4. (class)OutputRestfulContextQueryPipeOperator
                              5. (class)RouteMappingPipeOperator
                              6. (class)RouteRestfulContextQueryPipeOperator
                              +
                              +
                            2. + ksb.csle.component.pipe.query.parser +
                              1. (class)MyDLParser
                              2. (class)MyMLParser
                              +
                              +
                            +
                          1. + ksb.csle.component.pipe.runner +
                            1. (case class)BindServing
                            2. (case class)ReloadServing
                            3. (class)ServingMaster
                            4. (object)(class)ServingPipeRunner
                            5. (case class)StartServing
                            6. (case class)StopServing
                            +
                            +
                          2. + ksb.csle.component.pipe.stream +
                              +
                              1. + ksb.csle.component.pipe.stream.operator +
                                1. (class)FilterOperator
                                2. (class)GroupByOperator
                                3. (class)OrderByOperator
                                4. (object)
                                  RenameColumns
                                5. (class)RenameColumnsPipeOperator
                                6. (object)
                                  SelectColumns
                                7. (class)SelectColumnsPipeOperator
                                8. (class)SparkMLPredictPipeOperator
                                9. (class)StreamAllJoinOperator
                                10. (class)StreamJoinOperator
                                11. (class)StreamTimeJoinOperator
                                +
                                +
                              2. + ksb.csle.component.pipe.stream.reader +
                                1. (class)FilePipeReader
                                2. (object)(class)KafkaContextQueryPipeReader
                                3. (class)KafkaPipeReader
                                +
                                +
                              3. + ksb.csle.component.pipe.stream.writer +
                                1. (class)ConsolePipeWriter
                                2. (class)FilePipeWriter
                                3. (class)HBasePipeWriter
                                4. (class)KafkaPipeWriter
                                5. (class)MemoryPipeWriter
                                +
                                +
                              +
                            +
                          +
                        +
                      +
                    +
                    +
                    +
                    + +
                    + + diff --git a/manual1903/api_reference/component-pipe/scaladocs/index.js b/manual1903/api_reference/component-pipe/scaladocs/index.js new file mode 100644 index 0000000000000000000000000000000000000000..5529682b6b11cf19a93fb1701f705db6e0314206 --- /dev/null +++ b/manual1903/api_reference/component-pipe/scaladocs/index.js @@ -0,0 +1 @@ +Index.PACKAGES = {"ksb.csle.component" : [], "ksb.csle.component.pipe.stream.reader" : [{"class" : "ksb\/csle\/component\/pipe\/stream\/reader\/FilePipeReader.html", "name" : "ksb.csle.component.pipe.stream.reader.FilePipeReader"}, {"object" : "ksb\/csle\/component\/pipe\/stream\/reader\/KafkaContextQueryPipeReader$.html", "class" : "ksb\/csle\/component\/pipe\/stream\/reader\/KafkaContextQueryPipeReader.html", "name" : "ksb.csle.component.pipe.stream.reader.KafkaContextQueryPipeReader"}, {"class" : "ksb\/csle\/component\/pipe\/stream\/reader\/KafkaPipeReader.html", "name" : "ksb.csle.component.pipe.stream.reader.KafkaPipeReader"}], "akka.pattern" : [], "ksb.csle.component.pipe.controller.actor" : [{"class" : "ksb\/csle\/component\/pipe\/controller\/actor\/AbstractGenericOnDemandRestfulControlActor.html", "name" : "ksb.csle.component.pipe.controller.actor.AbstractGenericOnDemandRestfulControlActor"}, {"class" : "ksb\/csle\/component\/pipe\/controller\/actor\/CompositeServingActor.html", "name" : "ksb.csle.component.pipe.controller.actor.CompositeServingActor"}, {"class" : "ksb\/csle\/component\/pipe\/controller\/actor\/EnsembleServingActor.html", "name" : "ksb.csle.component.pipe.controller.actor.EnsembleServingActor"}, {"object" : "ksb\/csle\/component\/pipe\/controller\/actor\/KafkaSender$.html", "class" : "ksb\/csle\/component\/pipe\/controller\/actor\/KafkaSender.html", "name" : "ksb.csle.component.pipe.controller.actor.KafkaSender"}, {"class" : "ksb\/csle\/component\/pipe\/controller\/actor\/OnDemandGenericControlActor.html", "name" : "ksb.csle.component.pipe.controller.actor.OnDemandGenericControlActor"}], "akka" : [], "ksb.csle.component.pipe.stream.writer" : [{"class" : "ksb\/csle\/component\/pipe\/stream\/writer\/ConsolePipeWriter.html", "name" : "ksb.csle.component.pipe.stream.writer.ConsolePipeWriter"}, {"class" : "ksb\/csle\/component\/pipe\/stream\/writer\/FilePipeWriter.html", "name" : "ksb.csle.component.pipe.stream.writer.FilePipeWriter"}, {"class" : "ksb\/csle\/component\/pipe\/stream\/writer\/HBasePipeWriter.html", "name" : "ksb.csle.component.pipe.stream.writer.HBasePipeWriter"}, {"class" : "ksb\/csle\/component\/pipe\/stream\/writer\/KafkaPipeWriter.html", "name" : "ksb.csle.component.pipe.stream.writer.KafkaPipeWriter"}, {"class" : "ksb\/csle\/component\/pipe\/stream\/writer\/MemoryPipeWriter.html", "name" : "ksb.csle.component.pipe.stream.writer.MemoryPipeWriter"}], "ksb.csle.component.pipe.runner" : [{"case class" : "ksb\/csle\/component\/pipe\/runner\/BindServing.html", "name" : "ksb.csle.component.pipe.runner.BindServing"}, {"case class" : "ksb\/csle\/component\/pipe\/runner\/ReloadServing.html", "name" : "ksb.csle.component.pipe.runner.ReloadServing"}, {"class" : "ksb\/csle\/component\/pipe\/runner\/ServingMaster.html", "name" : "ksb.csle.component.pipe.runner.ServingMaster"}, {"object" : "ksb\/csle\/component\/pipe\/runner\/ServingPipeRunner$.html", "class" : "ksb\/csle\/component\/pipe\/runner\/ServingPipeRunner.html", "name" : "ksb.csle.component.pipe.runner.ServingPipeRunner"}, {"case class" : "ksb\/csle\/component\/pipe\/runner\/StartServing.html", "name" : "ksb.csle.component.pipe.runner.StartServing"}, {"case class" : "ksb\/csle\/component\/pipe\/runner\/StopServing.html", "name" : "ksb.csle.component.pipe.runner.StopServing"}], "ksb.csle.component.pipe.controller" : [{"class" : "ksb\/csle\/component\/pipe\/controller\/AbstractGenericOnDemandRestfulController.html", "name" : "ksb.csle.component.pipe.controller.AbstractGenericOnDemandRestfulController"}, {"class" : "ksb\/csle\/component\/pipe\/controller\/OnDemandCompositeServingRestfulController.html", "name" : "ksb.csle.component.pipe.controller.OnDemandCompositeServingRestfulController"}, {"class" : "ksb\/csle\/component\/pipe\/controller\/OnDemandGenericController.html", "name" : "ksb.csle.component.pipe.controller.OnDemandGenericController"}, {"class" : "ksb\/csle\/component\/pipe\/controller\/StreamingGenericController.html", "name" : "ksb.csle.component.pipe.controller.StreamingGenericController"}], "ksb.csle.component.pipe.query.parser" : [{"class" : "ksb\/csle\/component\/pipe\/query\/parser\/MyDLParser.html", "name" : "ksb.csle.component.pipe.query.parser.MyDLParser"}, {"class" : "ksb\/csle\/component\/pipe\/query\/parser\/MyMLParser.html", "name" : "ksb.csle.component.pipe.query.parser.MyMLParser"}], "ksb" : [], "ksb.csle.component.pipe.stream.operator" : [{"class" : "ksb\/csle\/component\/pipe\/stream\/operator\/FilterOperator.html", "name" : "ksb.csle.component.pipe.stream.operator.FilterOperator"}, {"class" : "ksb\/csle\/component\/pipe\/stream\/operator\/GroupByOperator.html", "name" : "ksb.csle.component.pipe.stream.operator.GroupByOperator"}, {"class" : "ksb\/csle\/component\/pipe\/stream\/operator\/OrderByOperator.html", "name" : "ksb.csle.component.pipe.stream.operator.OrderByOperator"}, {"object" : "ksb\/csle\/component\/pipe\/stream\/operator\/RenameColumns$.html", "name" : "ksb.csle.component.pipe.stream.operator.RenameColumns"}, {"class" : "ksb\/csle\/component\/pipe\/stream\/operator\/RenameColumnsPipeOperator.html", "name" : "ksb.csle.component.pipe.stream.operator.RenameColumnsPipeOperator"}, {"object" : "ksb\/csle\/component\/pipe\/stream\/operator\/SelectColumns$.html", "name" : "ksb.csle.component.pipe.stream.operator.SelectColumns"}, {"class" : "ksb\/csle\/component\/pipe\/stream\/operator\/SelectColumnsPipeOperator.html", "name" : "ksb.csle.component.pipe.stream.operator.SelectColumnsPipeOperator"}, {"class" : "ksb\/csle\/component\/pipe\/stream\/operator\/SparkMLPredictPipeOperator.html", "name" : "ksb.csle.component.pipe.stream.operator.SparkMLPredictPipeOperator"}, {"class" : "ksb\/csle\/component\/pipe\/stream\/operator\/StreamAllJoinOperator.html", "name" : "ksb.csle.component.pipe.stream.operator.StreamAllJoinOperator"}, {"class" : "ksb\/csle\/component\/pipe\/stream\/operator\/StreamJoinOperator.html", "name" : "ksb.csle.component.pipe.stream.operator.StreamJoinOperator"}, {"class" : "ksb\/csle\/component\/pipe\/stream\/operator\/StreamTimeJoinOperator.html", "name" : "ksb.csle.component.pipe.stream.operator.StreamTimeJoinOperator"}], "ksb.csle.component.pipe.stream" : [], "ksb.csle.component.pipe.controller.vo" : [{"trait" : "ksb\/csle\/component\/pipe\/controller\/vo\/BaseCase.html", "name" : "ksb.csle.component.pipe.controller.vo.BaseCase"}, {"trait" : "ksb\/csle\/component\/pipe\/controller\/vo\/BaseCumulativeCase.html", "name" : "ksb.csle.component.pipe.controller.vo.BaseCumulativeCase"}, {"class" : "ksb\/csle\/component\/pipe\/controller\/vo\/CumulativeContext.html", "name" : "ksb.csle.component.pipe.controller.vo.CumulativeContext"}, {"case class" : "ksb\/csle\/component\/pipe\/controller\/vo\/EnsembleCase.html", "name" : "ksb.csle.component.pipe.controller.vo.EnsembleCase"}, {"object" : "ksb\/csle\/component\/pipe\/controller\/vo\/MyJsonProtocol$.html", "name" : "ksb.csle.component.pipe.controller.vo.MyJsonProtocol"}, {"object" : "ksb\/csle\/component\/pipe\/controller\/vo\/MyRouteJsonProtocol$.html", "name" : "ksb.csle.component.pipe.controller.vo.MyRouteJsonProtocol"}, {"object" : "ksb\/csle\/component\/pipe\/controller\/vo\/RouteContext$.html", "class" : "ksb\/csle\/component\/pipe\/controller\/vo\/RouteContext.html", "name" : "ksb.csle.component.pipe.controller.vo.RouteContext"}, {"case class" : "ksb\/csle\/component\/pipe\/controller\/vo\/RouteCtxCase.html", "name" : "ksb.csle.component.pipe.controller.vo.RouteCtxCase"}], "ksb.csle.component.pipe.query" : [], "ksb.csle.component.pipe.query.operator" : [{"class" : "ksb\/csle\/component\/pipe\/query\/operator\/GenericRestfulContextQueryPipeOperator.html", "name" : "ksb.csle.component.pipe.query.operator.GenericRestfulContextQueryPipeOperator"}, {"class" : "ksb\/csle\/component\/pipe\/query\/operator\/OutputAggregatePipeOperator.html", "name" : "ksb.csle.component.pipe.query.operator.OutputAggregatePipeOperator"}, {"class" : "ksb\/csle\/component\/pipe\/query\/operator\/OutputCumulativePipeOperator.html", "name" : "ksb.csle.component.pipe.query.operator.OutputCumulativePipeOperator"}, {"class" : "ksb\/csle\/component\/pipe\/query\/operator\/OutputRestfulContextQueryPipeOperator.html", "name" : "ksb.csle.component.pipe.query.operator.OutputRestfulContextQueryPipeOperator"}, {"class" : "ksb\/csle\/component\/pipe\/query\/operator\/RouteMappingPipeOperator.html", "name" : "ksb.csle.component.pipe.query.operator.RouteMappingPipeOperator"}, {"class" : "ksb\/csle\/component\/pipe\/query\/operator\/RouteRestfulContextQueryPipeOperator.html", "name" : "ksb.csle.component.pipe.query.operator.RouteRestfulContextQueryPipeOperator"}], "ksb.csle" : [], "ksb.csle.component.pipe" : []}; \ No newline at end of file diff --git a/manual1903/api_reference/component-pipe/scaladocs/index/index-a.html b/manual1903/api_reference/component-pipe/scaladocs/index/index-a.html new file mode 100644 index 0000000000000000000000000000000000000000..bcb10d123353ae438a7efd2fd9764404872d2504 --- /dev/null +++ b/manual1903/api_reference/component-pipe/scaladocs/index/index-a.html @@ -0,0 +1,59 @@ + + + + KSB COMPONENT-PIPE Scala App Project 1.0-SNAPSHOT API + + + + + + + + +
                    +
                    AbstractGenericOnDemandRestfulControlActor
                    + +
                    +
                    AbstractGenericOnDemandRestfulController
                    + +
                    +
                    actor
                    + +
                    +
                    actorRefFactory
                    + +
                    +
                    aggregateAnd
                    + +
                    +
                    aggregateAvg
                    + +
                    +
                    aggregateMax
                    + +
                    +
                    aggregateMin
                    + +
                    +
                    aggregateOr
                    + +
                    +
                    aggregateOutput
                    + +
                    +
                    aggregateSum
                    + +
                    +
                    akka
                    + +
                    +
                    appendOutput
                    + +
                    +
                    apply
                    + +
                    +
                    applyPipes
                    + +
                    + diff --git a/manual1903/api_reference/component-pipe/scaladocs/index/index-b.html b/manual1903/api_reference/component-pipe/scaladocs/index/index-b.html new file mode 100644 index 0000000000000000000000000000000000000000..954317f5cdc4006d3f8e63c912295eab35144bb6 --- /dev/null +++ b/manual1903/api_reference/component-pipe/scaladocs/index/index-b.html @@ -0,0 +1,23 @@ + + + + KSB COMPONENT-PIPE Scala App Project 1.0-SNAPSHOT API + + + + + + + + +
                    +
                    BaseCase
                    + +
                    +
                    BaseCumulativeCase
                    + +
                    +
                    BindServing
                    + +
                    + diff --git a/manual1903/api_reference/component-pipe/scaladocs/index/index-c.html b/manual1903/api_reference/component-pipe/scaladocs/index/index-c.html new file mode 100644 index 0000000000000000000000000000000000000000..e6ec9aa32f9173c2a2364ac7f4f94df7b49d3819 --- /dev/null +++ b/manual1903/api_reference/component-pipe/scaladocs/index/index-c.html @@ -0,0 +1,53 @@ + + + + KSB COMPONENT-PIPE Scala App Project 1.0-SNAPSHOT API + + + + + + + + +
                    +
                    CompositeServingActor
                    + +
                    +
                    ConsolePipeWriter
                    + +
                    +
                    CumulativeContext
                    + +
                    +
                    cachedQueryCtx
                    + +
                    +
                    close
                    + +
                    +
                    command
                    + +
                    +
                    component
                    + +
                    +
                    controlActor
                    + +
                    +
                    controller
                    + +
                    +
                    copy
                    + +
                    +
                    createConsumerConfig
                    + +
                    +
                    csle
                    + +
                    +
                    currentServingActor
                    + +
                    + diff --git a/manual1903/api_reference/component-pipe/scaladocs/index/index-d.html b/manual1903/api_reference/component-pipe/scaladocs/index/index-d.html new file mode 100644 index 0000000000000000000000000000000000000000..ca777d6a032d1a07b2fc1a49ea7ac100897ecf3f --- /dev/null +++ b/manual1903/api_reference/component-pipe/scaladocs/index/index-d.html @@ -0,0 +1,35 @@ + + + + KSB COMPONENT-PIPE Scala App Project 1.0-SNAPSHOT API + + + + + + + + +
                    +
                    data
                    + +
                    +
                    df
                    + +
                    +
                    df2_keyCol
                    + +
                    +
                    df2_timeCol
                    + +
                    +
                    df_keyCol
                    + +
                    +
                    df_timeCol
                    + +
                    +
                    doQuery
                    + +
                    + diff --git a/manual1903/api_reference/component-pipe/scaladocs/index/index-e.html b/manual1903/api_reference/component-pipe/scaladocs/index/index-e.html new file mode 100644 index 0000000000000000000000000000000000000000..b187404f40135dc44006c39bce033de48bd05e2f --- /dev/null +++ b/manual1903/api_reference/component-pipe/scaladocs/index/index-e.html @@ -0,0 +1,23 @@ + + + + KSB COMPONENT-PIPE Scala App Project 1.0-SNAPSHOT API + + + + + + + + +
                    +
                    EnsembleCase
                    + +
                    +
                    EnsembleCaseFormat
                    + +
                    +
                    EnsembleServingActor
                    + +
                    + diff --git a/manual1903/api_reference/component-pipe/scaladocs/index/index-f.html b/manual1903/api_reference/component-pipe/scaladocs/index/index-f.html new file mode 100644 index 0000000000000000000000000000000000000000..fd9ae094d404c620a6b71e1b2a0618afa5411bef --- /dev/null +++ b/manual1903/api_reference/component-pipe/scaladocs/index/index-f.html @@ -0,0 +1,26 @@ + + + + KSB COMPONENT-PIPE Scala App Project 1.0-SNAPSHOT API + + + + + + + + +
                    +
                    FilePipeReader
                    + +
                    +
                    FilePipeWriter
                    + +
                    +
                    FilterOperator
                    + +
                    +
                    fileType
                    + +
                    + diff --git a/manual1903/api_reference/component-pipe/scaladocs/index/index-g.html b/manual1903/api_reference/component-pipe/scaladocs/index/index-g.html new file mode 100644 index 0000000000000000000000000000000000000000..d9d994d0f8f9268548f025f403432a93fc5ebe93 --- /dev/null +++ b/manual1903/api_reference/component-pipe/scaladocs/index/index-g.html @@ -0,0 +1,38 @@ + + + + KSB COMPONENT-PIPE Scala App Project 1.0-SNAPSHOT API + + + + + + + + +
                    +
                    GenericRestfulContextQueryPipeOperator
                    + +
                    +
                    GroupByOperator
                    + +
                    +
                    getData
                    + +
                    +
                    getInput
                    + +
                    +
                    getOutput
                    + +
                    +
                    getOutputList
                    + +
                    +
                    getRoute
                    + +
                    +
                    getSession
                    + +
                    + diff --git a/manual1903/api_reference/component-pipe/scaladocs/index/index-h.html b/manual1903/api_reference/component-pipe/scaladocs/index/index-h.html new file mode 100644 index 0000000000000000000000000000000000000000..9ffff0c6f75f72f39d28a26f31315b46b9c4194f --- /dev/null +++ b/manual1903/api_reference/component-pipe/scaladocs/index/index-h.html @@ -0,0 +1,17 @@ + + + + KSB COMPONENT-PIPE Scala App Project 1.0-SNAPSHOT API + + + + + + + + +
                    +
                    HBasePipeWriter
                    + +
                    + diff --git a/manual1903/api_reference/component-pipe/scaladocs/index/index-i.html b/manual1903/api_reference/component-pipe/scaladocs/index/index-i.html new file mode 100644 index 0000000000000000000000000000000000000000..d870019486e27fae60351163ffbbcdeb64da3a34 --- /dev/null +++ b/manual1903/api_reference/component-pipe/scaladocs/index/index-i.html @@ -0,0 +1,32 @@ + + + + KSB COMPONENT-PIPE Scala App Project 1.0-SNAPSHOT API + + + + + + + + +
                    +
                    info
                    + +
                    +
                    init
                    + +
                    +
                    input
                    + +
                    +
                    ins
                    + +
                    +
                    ip
                    + +
                    +
                    isRename
                    + +
                    + diff --git a/manual1903/api_reference/component-pipe/scaladocs/index/index-j.html b/manual1903/api_reference/component-pipe/scaladocs/index/index-j.html new file mode 100644 index 0000000000000000000000000000000000000000..15ad07c1112d6c65ce9624c54649fb0e610dff91 --- /dev/null +++ b/manual1903/api_reference/component-pipe/scaladocs/index/index-j.html @@ -0,0 +1,17 @@ + + + + KSB COMPONENT-PIPE Scala App Project 1.0-SNAPSHOT API + + + + + + + + +
                    +
                    joinOp
                    + +
                    + diff --git a/manual1903/api_reference/component-pipe/scaladocs/index/index-k.html b/manual1903/api_reference/component-pipe/scaladocs/index/index-k.html new file mode 100644 index 0000000000000000000000000000000000000000..8be2b749765a166a24259a72a3f5473465b9710d --- /dev/null +++ b/manual1903/api_reference/component-pipe/scaladocs/index/index-k.html @@ -0,0 +1,29 @@ + + + + KSB COMPONENT-PIPE Scala App Project 1.0-SNAPSHOT API + + + + + + + + +
                    +
                    KafkaContextQueryPipeReader
                    + +
                    +
                    KafkaPipeReader
                    + +
                    +
                    KafkaPipeWriter
                    + +
                    +
                    KafkaSender
                    + +
                    +
                    ksb
                    + +
                    + diff --git a/manual1903/api_reference/component-pipe/scaladocs/index/index-l.html b/manual1903/api_reference/component-pipe/scaladocs/index/index-l.html new file mode 100644 index 0000000000000000000000000000000000000000..5ec1171cc2c20e3a5c6710035603a7edb18df907 --- /dev/null +++ b/manual1903/api_reference/component-pipe/scaladocs/index/index-l.html @@ -0,0 +1,17 @@ + + + + KSB COMPONENT-PIPE Scala App Project 1.0-SNAPSHOT API + + + + + + + + +
                    +
                    loadModel
                    + +
                    + diff --git a/manual1903/api_reference/component-pipe/scaladocs/index/index-m.html b/manual1903/api_reference/component-pipe/scaladocs/index/index-m.html new file mode 100644 index 0000000000000000000000000000000000000000..1a9fd7089d30db81b872000ede4171c2fe20ea1a --- /dev/null +++ b/manual1903/api_reference/component-pipe/scaladocs/index/index-m.html @@ -0,0 +1,38 @@ + + + + KSB COMPONENT-PIPE Scala App Project 1.0-SNAPSHOT API + + + + + + + + +
                    +
                    MemoryPipeWriter
                    + +
                    +
                    MyDLParser
                    + +
                    +
                    MyJsonProtocol
                    + +
                    +
                    MyMLParser
                    + +
                    +
                    MyRouteJsonProtocol
                    + +
                    +
                    maxFiles
                    + +
                    +
                    model
                    + +
                    +
                    myCtxCase
                    + +
                    + diff --git a/manual1903/api_reference/component-pipe/scaladocs/index/index-n.html b/manual1903/api_reference/component-pipe/scaladocs/index/index-n.html new file mode 100644 index 0000000000000000000000000000000000000000..d3693f18368354e990cbce3e35cc617c07ee59fe --- /dev/null +++ b/manual1903/api_reference/component-pipe/scaladocs/index/index-n.html @@ -0,0 +1,17 @@ + + + + KSB COMPONENT-PIPE Scala App Project 1.0-SNAPSHOT API + + + + + + + + +
                    +
                    newCols
                    + +
                    + diff --git a/manual1903/api_reference/component-pipe/scaladocs/index/index-o.html b/manual1903/api_reference/component-pipe/scaladocs/index/index-o.html new file mode 100644 index 0000000000000000000000000000000000000000..6ca4fe50aa66b78fe5eec89adb847d89d4e72387 --- /dev/null +++ b/manual1903/api_reference/component-pipe/scaladocs/index/index-o.html @@ -0,0 +1,53 @@ + + + + KSB COMPONENT-PIPE Scala App Project 1.0-SNAPSHOT API + + + + + + + + +
                    +
                    OnDemandCompositeServingRestfulController
                    + +
                    +
                    OnDemandGenericControlActor
                    + +
                    +
                    OnDemandGenericController
                    + +
                    +
                    OrderByOperator
                    + +
                    +
                    OutputAggregatePipeOperator
                    + +
                    +
                    OutputCumulativePipeOperator
                    + +
                    +
                    OutputRestfulContextQueryPipeOperator
                    + +
                    +
                    o
                    + +
                    +
                    operate
                    + +
                    +
                    operator
                    + +
                    +
                    ops
                    + +
                    +
                    output
                    + +
                    +
                    outs
                    + +
                    + diff --git a/manual1903/api_reference/component-pipe/scaladocs/index/index-p.html b/manual1903/api_reference/component-pipe/scaladocs/index/index-p.html new file mode 100644 index 0000000000000000000000000000000000000000..135d064788acfd1898a4ee3c683f209c8915ca38 --- /dev/null +++ b/manual1903/api_reference/component-pipe/scaladocs/index/index-p.html @@ -0,0 +1,56 @@ + + + + KSB COMPONENT-PIPE Scala App Project 1.0-SNAPSHOT API + + + + + + + + +
                    +
                    p
                    + +
                    +
                    parse
                    + +
                    +
                    parser
                    + +
                    +
                    pattern
                    + +
                    +
                    pipe
                    + +
                    +
                    pipes
                    + +
                    +
                    port
                    + +
                    +
                    postStop
                    + +
                    +
                    preStart
                    + +
                    +
                    predict
                    + +
                    +
                    producer
                    + +
                    +
                    progress
                    + +
                    +
                    props
                    + +
                    +
                    protocol
                    + +
                    + diff --git a/manual1903/api_reference/component-pipe/scaladocs/index/index-q.html b/manual1903/api_reference/component-pipe/scaladocs/index/index-q.html new file mode 100644 index 0000000000000000000000000000000000000000..d63067b555f8c65612e722cc84b684601106605e --- /dev/null +++ b/manual1903/api_reference/component-pipe/scaladocs/index/index-q.html @@ -0,0 +1,20 @@ + + + + KSB COMPONENT-PIPE Scala App Project 1.0-SNAPSHOT API + + + + + + + + +
                    +
                    query
                    + +
                    +
                    queryUrl
                    + +
                    + diff --git a/manual1903/api_reference/component-pipe/scaladocs/index/index-r.html b/manual1903/api_reference/component-pipe/scaladocs/index/index-r.html new file mode 100644 index 0000000000000000000000000000000000000000..1ff5b9c1fba11b7331f619970f06b9f780250112 --- /dev/null +++ b/manual1903/api_reference/component-pipe/scaladocs/index/index-r.html @@ -0,0 +1,59 @@ + + + + KSB COMPONENT-PIPE Scala App Project 1.0-SNAPSHOT API + + + + + + + + +
                    +
                    ReloadServing
                    + +
                    +
                    RenameColumns
                    + +
                    +
                    RenameColumnsPipeOperator
                    + +
                    +
                    RouteContext
                    + +
                    +
                    RouteCtxCase
                    + +
                    +
                    RouteCtxCaseFormat
                    + +
                    +
                    RouteMappingPipeOperator
                    + +
                    +
                    RouteRestfulContextQueryPipeOperator
                    + +
                    +
                    read
                    + +
                    +
                    reader
                    + +
                    +
                    receive
                    + +
                    +
                    retry
                    + +
                    +
                    route
                    + +
                    +
                    run
                    + +
                    +
                    runner
                    + +
                    + diff --git a/manual1903/api_reference/component-pipe/scaladocs/index/index-s.html b/manual1903/api_reference/component-pipe/scaladocs/index/index-s.html new file mode 100644 index 0000000000000000000000000000000000000000..b9fbd2b943ccb1595aa1403c5422c7ea11ac60da --- /dev/null +++ b/manual1903/api_reference/component-pipe/scaladocs/index/index-s.html @@ -0,0 +1,95 @@ + + + + KSB COMPONENT-PIPE Scala App Project 1.0-SNAPSHOT API + + + + + + + + +
                    +
                    SelectColumns
                    + +
                    +
                    SelectColumnsPipeOperator
                    + +
                    +
                    ServingMaster
                    + +
                    +
                    ServingPipeRunner
                    + +
                    +
                    SparkMLPredictPipeOperator
                    + +
                    +
                    StartServing
                    + +
                    +
                    StopServing
                    + +
                    +
                    StreamAllJoinOperator
                    + +
                    +
                    StreamJoinOperator
                    + +
                    +
                    StreamTimeJoinOperator
                    + +
                    +
                    StreamingGenericController
                    + +
                    +
                    schema
                    + +
                    +
                    selectedCols
                    + +
                    +
                    serverUrl
                    + +
                    +
                    serviceStartTime
                    + +
                    +
                    servingMaster
                    + +
                    +
                    session
                    + +
                    +
                    setData
                    + +
                    +
                    setInput
                    + +
                    +
                    setOutput
                    + +
                    +
                    setRoute
                    + +
                    +
                    sprayHttpListener
                    + +
                    +
                    ssl
                    + +
                    +
                    stop
                    + +
                    +
                    stream
                    + +
                    +
                    streamReader
                    + +
                    +
                    system
                    + +
                    + diff --git a/manual1903/api_reference/component-pipe/scaladocs/index/index-t.html b/manual1903/api_reference/component-pipe/scaladocs/index/index-t.html new file mode 100644 index 0000000000000000000000000000000000000000..3b75ec8ae837f49510e52e82cfd7b273753f2081 --- /dev/null +++ b/manual1903/api_reference/component-pipe/scaladocs/index/index-t.html @@ -0,0 +1,26 @@ + + + + KSB COMPONENT-PIPE Scala App Project 1.0-SNAPSHOT API + + + + + + + + +
                    +
                    timeout
                    + +
                    +
                    toCase
                    + +
                    +
                    toJsonString
                    + +
                    +
                    topic
                    + +
                    + diff --git a/manual1903/api_reference/component-pipe/scaladocs/index/index-u.html b/manual1903/api_reference/component-pipe/scaladocs/index/index-u.html new file mode 100644 index 0000000000000000000000000000000000000000..0f87bfe587ea28c33f11b77d75438a1758af7aea --- /dev/null +++ b/manual1903/api_reference/component-pipe/scaladocs/index/index-u.html @@ -0,0 +1,17 @@ + + + + KSB COMPONENT-PIPE Scala App Project 1.0-SNAPSHOT API + + + + + + + + +
                    +
                    userSchema
                    + +
                    + diff --git a/manual1903/api_reference/component-pipe/scaladocs/index/index-v.html b/manual1903/api_reference/component-pipe/scaladocs/index/index-v.html new file mode 100644 index 0000000000000000000000000000000000000000..190dd367f95684c3af26a0e902fed288f21906e0 --- /dev/null +++ b/manual1903/api_reference/component-pipe/scaladocs/index/index-v.html @@ -0,0 +1,17 @@ + + + + KSB COMPONENT-PIPE Scala App Project 1.0-SNAPSHOT API + + + + + + + + +
                    +
                    vo
                    + +
                    + diff --git a/manual1903/api_reference/component-pipe/scaladocs/index/index-w.html b/manual1903/api_reference/component-pipe/scaladocs/index/index-w.html new file mode 100644 index 0000000000000000000000000000000000000000..88914343a84735b8252cc9e7d5546d380000cdf9 --- /dev/null +++ b/manual1903/api_reference/component-pipe/scaladocs/index/index-w.html @@ -0,0 +1,20 @@ + + + + KSB COMPONENT-PIPE Scala App Project 1.0-SNAPSHOT API + + + + + + + + +
                    +
                    write
                    + +
                    +
                    writer
                    + +
                    + diff --git a/manual1903/api_reference/component-pipe/scaladocs/ksb/csle/component/package.html b/manual1903/api_reference/component-pipe/scaladocs/ksb/csle/component/package.html new file mode 100644 index 0000000000000000000000000000000000000000..d25402eff95b0e164e8e7461bc087d55087b6860 --- /dev/null +++ b/manual1903/api_reference/component-pipe/scaladocs/ksb/csle/component/package.html @@ -0,0 +1,118 @@ + + + + component - KSB COMPONENT-PIPE Scala App Project 1.0-SNAPSHOT API - ksb.csle.component + + + + + + + + + + + + + + + +
                    + Package +

                    ksb.csle

                    +

                    component

                    + + Permalink + + +
                    + +

                    + + + package + + + component + +

                    + +
                    + + +
                    +
                    + + +
                    + Visibility +
                    1. Public
                    2. All
                    +
                    +
                    + +
                    +
                    + + + + + + +
                    +

                    Value Members

                    +
                    1. + + +

                      + + + package + + + pipe + +

                      + + Permalink + + + +
                    +
                    + + + + +
                    + +
                    + + +
                    + +
                    +
                    +

                    Ungrouped

                    + +
                    +
                    + +
                    + +
                    + + + + + + diff --git a/manual1903/api_reference/component-pipe/scaladocs/ksb/csle/component/pipe/controller/AbstractGenericOnDemandRestfulController.html b/manual1903/api_reference/component-pipe/scaladocs/ksb/csle/component/pipe/controller/AbstractGenericOnDemandRestfulController.html new file mode 100644 index 0000000000000000000000000000000000000000..217e993e27b2365478b350b58e48ef9f9f331942 --- /dev/null +++ b/manual1903/api_reference/component-pipe/scaladocs/ksb/csle/component/pipe/controller/AbstractGenericOnDemandRestfulController.html @@ -0,0 +1,690 @@ + + + + AbstractGenericOnDemandRestfulController - KSB COMPONENT-PIPE Scala App Project 1.0-SNAPSHOT API - ksb.csle.component.pipe.controller.AbstractGenericOnDemandRestfulController + + + + + + + + + + + + + + + +
                    + Class +

                    ksb.csle.component.pipe.controller

                    +

                    AbstractGenericOnDemandRestfulController

                    Related Doc: + package controller +

                    + + Permalink + + +
                    + +

                    + + abstract + class + + + AbstractGenericOnDemandRestfulController[T] extends BaseQueryWoReaderPipeController[(BaseRouteContext[T]) ⇒ BaseRouteContext[T], BaseRouteContext[T], BaseRouteContext[T], OnDemandControllerInfo, ActorSystem] + +

                    + +
                    + Linear Supertypes +
                    BaseQueryWoReaderPipeController[(BaseRouteContext[T]) ⇒ BaseRouteContext[T], BaseRouteContext[T], BaseRouteContext[T], OnDemandControllerInfo, ActorSystem], BaseController[BaseRouteContext[T], BaseResult], BaseDoer, Logging, Serializable, Serializable, AnyRef, Any
                    +
                    + + +
                    +
                    +
                    + Ordering +
                      + +
                    1. Alphabetic
                    2. +
                    3. By Inheritance
                    4. +
                    +
                    +
                    + Inherited
                    +
                    +
                      +
                    1. AbstractGenericOnDemandRestfulController
                    2. BaseQueryWoReaderPipeController
                    3. BaseController
                    4. BaseDoer
                    5. Logging
                    6. Serializable
                    7. Serializable
                    8. AnyRef
                    9. Any
                    10. +
                    +
                    + +
                      +
                    1. Hide All
                    2. +
                    3. Show All
                    4. +
                    +
                    +
                    + Visibility +
                    1. Public
                    2. All
                    +
                    +
                    + +
                    +
                    +
                    +

                    Instance Constructors

                    +
                    1. + + +

                      + + + new + + + AbstractGenericOnDemandRestfulController(runner: BaseRunner[ActorSystem, OnDemandRunnerInfo, Any], p: OnDemandControllerInfo, ops: Seq[BaseGenericPipeOperator[(BaseRouteContext[T]) ⇒ BaseRouteContext[T], BaseRouteContext[T], BaseRouteContext[T], _, ActorSystem]]) + +

                      + + Permalink + + + +
                    +
                    + + + +
                    +

                    Abstract Value Members

                    +
                    1. + + +

                      + + abstract + def + + + controlActor: ActorRef + +

                      + + Permalink + + +
                      Attributes
                      protected
                      +
                    +
                    + +
                    +

                    Concrete Value Members

                    +
                    1. + + +

                      + + final + def + + + !=(arg0: Any): Boolean + +

                      + + Permalink + + +
                      Definition Classes
                      AnyRef → Any
                      +
                    2. + + +

                      + + final + def + + + ##(): Int + +

                      + + Permalink + + +
                      Definition Classes
                      AnyRef → Any
                      +
                    3. + + +

                      + + final + def + + + ==(arg0: Any): Boolean + +

                      + + Permalink + + +
                      Definition Classes
                      AnyRef → Any
                      +
                    4. + + +

                      + + final + def + + + asInstanceOf[T0]: T0 + +

                      + + Permalink + + +
                      Definition Classes
                      Any
                      +
                    5. + + +

                      + + + def + + + clone(): AnyRef + +

                      + + Permalink + + +
                      Attributes
                      protected[java.lang]
                      Definition Classes
                      AnyRef
                      Annotations
                      + @throws( + + ... + ) + +
                      +
                    6. + + +

                      + + final + def + + + eq(arg0: AnyRef): Boolean + +

                      + + Permalink + + +
                      Definition Classes
                      AnyRef
                      +
                    7. + + +

                      + + + def + + + equals(arg0: Any): Boolean + +

                      + + Permalink + + +
                      Definition Classes
                      AnyRef → Any
                      +
                    8. + + +

                      + + + def + + + finalize(): Unit + +

                      + + Permalink + + +
                      Attributes
                      protected[java.lang]
                      Definition Classes
                      AnyRef
                      Annotations
                      + @throws( + + classOf[java.lang.Throwable] + ) + +
                      +
                    9. + + +

                      + + final + def + + + getClass(): Class[_] + +

                      + + Permalink + + +
                      Definition Classes
                      AnyRef → Any
                      +
                    10. + + +

                      + + + def + + + getPipes(inPipes: (BaseRouteContext[T]) ⇒ BaseRouteContext[T]): Seq[(Any) ⇒ BaseRouteContext[T]] + +

                      + + Permalink + + +
                      Definition Classes
                      BaseQueryWoReaderPipeController
                      +
                    11. + + +

                      + + + def + + + hashCode(): Int + +

                      + + Permalink + + +
                      Definition Classes
                      AnyRef → Any
                      +
                    12. + + +

                      + + + def + + + init(): Any + +

                      + + Permalink + + +
                      Definition Classes
                      AbstractGenericOnDemandRestfulController → BaseController
                      +
                    13. + + +

                      + + final + def + + + isInstanceOf[T0]: Boolean + +

                      + + Permalink + + +
                      Definition Classes
                      Any
                      +
                    14. + + +

                      + + + val + + + logger: Logger + +

                      + + Permalink + + +
                      Attributes
                      protected
                      Definition Classes
                      Logging
                      +
                    15. + + +

                      + + final + def + + + ne(arg0: AnyRef): Boolean + +

                      + + Permalink + + +
                      Definition Classes
                      AnyRef
                      +
                    16. + + +

                      + + final + def + + + notify(): Unit + +

                      + + Permalink + + +
                      Definition Classes
                      AnyRef
                      +
                    17. + + +

                      + + final + def + + + notifyAll(): Unit + +

                      + + Permalink + + +
                      Definition Classes
                      AnyRef
                      +
                    18. + + +

                      + + + val + + + ops: Seq[BaseGenericPipeOperator[(BaseRouteContext[T]) ⇒ BaseRouteContext[T], BaseRouteContext[T], BaseRouteContext[T], _, ActorSystem]] + +

                      + + Permalink + + +
                      Definition Classes
                      AbstractGenericOnDemandRestfulController → BaseQueryWoReaderPipeController
                      +
                    19. + + +

                      + + + val + + + p: OnDemandControllerInfo + +

                      + + Permalink + + +
                      Definition Classes
                      AbstractGenericOnDemandRestfulController → BaseQueryWoReaderPipeController
                      +
                    20. + + +

                      + + + val + + + pipes: Seq[(Any) ⇒ BaseRouteContext[T]] + +

                      + + Permalink + + +
                      Attributes
                      protected
                      +
                    21. + + +

                      + + + def + + + progress(): BaseResult + +

                      + + Permalink + + +
                      Definition Classes
                      AbstractGenericOnDemandRestfulController → BaseQueryWoReaderPipeController → BaseController
                      +
                    22. + + +

                      + + + val + + + runner: BaseRunner[ActorSystem, OnDemandRunnerInfo, Any] + +

                      + + Permalink + + +
                      Definition Classes
                      AbstractGenericOnDemandRestfulController → BaseQueryWoReaderPipeController
                      +
                    23. + + +

                      + + + def + + + stop(): Any + +

                      + + Permalink + + +
                      Definition Classes
                      AbstractGenericOnDemandRestfulController → BaseQueryWoReaderPipeController → BaseController
                      +
                    24. + + +

                      + + final + def + + + synchronized[T0](arg0: ⇒ T0): T0 + +

                      + + Permalink + + +
                      Definition Classes
                      AnyRef
                      +
                    25. + + +

                      + + + def + + + toString(): String + +

                      + + Permalink + + +
                      Definition Classes
                      AnyRef → Any
                      +
                    26. + + +

                      + + final + def + + + wait(): Unit + +

                      + + Permalink + + +
                      Definition Classes
                      AnyRef
                      Annotations
                      + @throws( + + ... + ) + +
                      +
                    27. + + +

                      + + final + def + + + wait(arg0: Long, arg1: Int): Unit + +

                      + + Permalink + + +
                      Definition Classes
                      AnyRef
                      Annotations
                      + @throws( + + ... + ) + +
                      +
                    28. + + +

                      + + final + def + + + wait(arg0: Long): Unit + +

                      + + Permalink + + +
                      Definition Classes
                      AnyRef
                      Annotations
                      + @throws( + + ... + ) + +
                      +
                    +
                    + + + + +
                    + +
                    +
                    +

                    Inherited from BaseQueryWoReaderPipeController[(BaseRouteContext[T]) ⇒ BaseRouteContext[T], BaseRouteContext[T], BaseRouteContext[T], OnDemandControllerInfo, ActorSystem]

                    +
                    +

                    Inherited from BaseController[BaseRouteContext[T], BaseResult]

                    +
                    +

                    Inherited from BaseDoer

                    +
                    +

                    Inherited from Logging

                    +
                    +

                    Inherited from Serializable

                    +
                    +

                    Inherited from Serializable

                    +
                    +

                    Inherited from AnyRef

                    +
                    +

                    Inherited from Any

                    +
                    + +
                    + +
                    +
                    +

                    Ungrouped

                    + +
                    +
                    + +
                    + +
                    + + + + + + diff --git a/manual1903/api_reference/component-pipe/scaladocs/ksb/csle/component/pipe/controller/OnDemandCompositeServingRestfulController.html b/manual1903/api_reference/component-pipe/scaladocs/ksb/csle/component/pipe/controller/OnDemandCompositeServingRestfulController.html new file mode 100644 index 0000000000000000000000000000000000000000..bb9fed1352dc157ce46ff075bde2893644c6c5d8 --- /dev/null +++ b/manual1903/api_reference/component-pipe/scaladocs/ksb/csle/component/pipe/controller/OnDemandCompositeServingRestfulController.html @@ -0,0 +1,687 @@ + + + + OnDemandCompositeServingRestfulController - KSB COMPONENT-PIPE Scala App Project 1.0-SNAPSHOT API - ksb.csle.component.pipe.controller.OnDemandCompositeServingRestfulController + + + + + + + + + + + + + + + +
                    + Class +

                    ksb.csle.component.pipe.controller

                    +

                    OnDemandCompositeServingRestfulController

                    Related Doc: + package controller +

                    + + Permalink + + +
                    + +

                    + + + class + + + OnDemandCompositeServingRestfulController[T] extends AbstractGenericOnDemandRestfulController[T] + +

                    + +

                    :: Experimental ::

                    Controller that manipulates restful query operators. +

                    + Linear Supertypes +
                    AbstractGenericOnDemandRestfulController[T], BaseQueryWoReaderPipeController[(BaseRouteContext[T]) ⇒ BaseRouteContext[T], BaseRouteContext[T], BaseRouteContext[T], OnDemandControllerInfo, ActorSystem], BaseController[BaseRouteContext[T], BaseResult], BaseDoer, Logging, Serializable, Serializable, AnyRef, Any
                    +
                    + + +
                    +
                    +
                    + Ordering +
                      + +
                    1. Alphabetic
                    2. +
                    3. By Inheritance
                    4. +
                    +
                    +
                    + Inherited
                    +
                    +
                      +
                    1. OnDemandCompositeServingRestfulController
                    2. AbstractGenericOnDemandRestfulController
                    3. BaseQueryWoReaderPipeController
                    4. BaseController
                    5. BaseDoer
                    6. Logging
                    7. Serializable
                    8. Serializable
                    9. AnyRef
                    10. Any
                    11. +
                    +
                    + +
                      +
                    1. Hide All
                    2. +
                    3. Show All
                    4. +
                    +
                    +
                    + Visibility +
                    1. Public
                    2. All
                    +
                    +
                    + +
                    +
                    +
                    +

                    Instance Constructors

                    +
                    1. + + +

                      + + + new + + + OnDemandCompositeServingRestfulController(runner: BaseRunner[ActorSystem, OnDemandRunnerInfo, Any], p: OnDemandControllerInfo, ops: Seq[BaseGenericPipeOperator[(BaseRouteContext[T]) ⇒ BaseRouteContext[T], BaseRouteContext[T], BaseRouteContext[T], _, ActorSystem]]) + +

                      + + Permalink + + + +
                    +
                    + + + + + +
                    +

                    Value Members

                    +
                    1. + + +

                      + + final + def + + + !=(arg0: Any): Boolean + +

                      + + Permalink + + +
                      Definition Classes
                      AnyRef → Any
                      +
                    2. + + +

                      + + final + def + + + ##(): Int + +

                      + + Permalink + + +
                      Definition Classes
                      AnyRef → Any
                      +
                    3. + + +

                      + + final + def + + + ==(arg0: Any): Boolean + +

                      + + Permalink + + +
                      Definition Classes
                      AnyRef → Any
                      +
                    4. + + +

                      + + final + def + + + asInstanceOf[T0]: T0 + +

                      + + Permalink + + +
                      Definition Classes
                      Any
                      +
                    5. + + +

                      + + + def + + + clone(): AnyRef + +

                      + + Permalink + + +
                      Attributes
                      protected[java.lang]
                      Definition Classes
                      AnyRef
                      Annotations
                      + @throws( + + ... + ) + +
                      +
                    6. + + +

                      + + + def + + + controlActor: ActorRef + +

                      + + Permalink + + + +
                    7. + + +

                      + + final + def + + + eq(arg0: AnyRef): Boolean + +

                      + + Permalink + + +
                      Definition Classes
                      AnyRef
                      +
                    8. + + +

                      + + + def + + + equals(arg0: Any): Boolean + +

                      + + Permalink + + +
                      Definition Classes
                      AnyRef → Any
                      +
                    9. + + +

                      + + + def + + + finalize(): Unit + +

                      + + Permalink + + +
                      Attributes
                      protected[java.lang]
                      Definition Classes
                      AnyRef
                      Annotations
                      + @throws( + + classOf[java.lang.Throwable] + ) + +
                      +
                    10. + + +

                      + + final + def + + + getClass(): Class[_] + +

                      + + Permalink + + +
                      Definition Classes
                      AnyRef → Any
                      +
                    11. + + +

                      + + + def + + + getPipes(inPipes: (BaseRouteContext[T]) ⇒ BaseRouteContext[T]): Seq[(Any) ⇒ BaseRouteContext[T]] + +

                      + + Permalink + + +
                      Definition Classes
                      BaseQueryWoReaderPipeController
                      +
                    12. + + +

                      + + + def + + + hashCode(): Int + +

                      + + Permalink + + +
                      Definition Classes
                      AnyRef → Any
                      +
                    13. + + +

                      + + + def + + + init(): Any + +

                      + + Permalink + + +
                      Definition Classes
                      AbstractGenericOnDemandRestfulController → BaseController
                      +
                    14. + + +

                      + + final + def + + + isInstanceOf[T0]: Boolean + +

                      + + Permalink + + +
                      Definition Classes
                      Any
                      +
                    15. + + +

                      + + + val + + + logger: Logger + +

                      + + Permalink + + +
                      Attributes
                      protected
                      Definition Classes
                      Logging
                      +
                    16. + + +

                      + + final + def + + + ne(arg0: AnyRef): Boolean + +

                      + + Permalink + + +
                      Definition Classes
                      AnyRef
                      +
                    17. + + +

                      + + final + def + + + notify(): Unit + +

                      + + Permalink + + +
                      Definition Classes
                      AnyRef
                      +
                    18. + + +

                      + + final + def + + + notifyAll(): Unit + +

                      + + Permalink + + +
                      Definition Classes
                      AnyRef
                      +
                    19. + + +

                      + + + val + + + ops: Seq[BaseGenericPipeOperator[(BaseRouteContext[T]) ⇒ BaseRouteContext[T], BaseRouteContext[T], BaseRouteContext[T], _, ActorSystem]] + +

                      + + Permalink + + +
                      Definition Classes
                      OnDemandCompositeServingRestfulControllerAbstractGenericOnDemandRestfulController → BaseQueryWoReaderPipeController
                      +
                    20. + + +

                      + + + val + + + p: OnDemandControllerInfo + +

                      + + Permalink + + +
                      Definition Classes
                      OnDemandCompositeServingRestfulControllerAbstractGenericOnDemandRestfulController → BaseQueryWoReaderPipeController
                      +
                    21. + + +

                      + + + val + + + pipes: Seq[(Any) ⇒ BaseRouteContext[T]] + +

                      + + Permalink + + +
                      Attributes
                      protected
                      Definition Classes
                      AbstractGenericOnDemandRestfulController
                      +
                    22. + + +

                      + + + def + + + progress(): BaseResult + +

                      + + Permalink + + +
                      Definition Classes
                      AbstractGenericOnDemandRestfulController → BaseQueryWoReaderPipeController → BaseController
                      +
                    23. + + +

                      + + + val + + + runner: BaseRunner[ActorSystem, OnDemandRunnerInfo, Any] + +

                      + + Permalink + + +
                      Definition Classes
                      OnDemandCompositeServingRestfulControllerAbstractGenericOnDemandRestfulController → BaseQueryWoReaderPipeController
                      +
                    24. + + +

                      + + + def + + + stop(): Any + +

                      + + Permalink + + +
                      Definition Classes
                      AbstractGenericOnDemandRestfulController → BaseQueryWoReaderPipeController → BaseController
                      +
                    25. + + +

                      + + final + def + + + synchronized[T0](arg0: ⇒ T0): T0 + +

                      + + Permalink + + +
                      Definition Classes
                      AnyRef
                      +
                    26. + + +

                      + + + def + + + toString(): String + +

                      + + Permalink + + +
                      Definition Classes
                      AnyRef → Any
                      +
                    27. + + +

                      + + final + def + + + wait(): Unit + +

                      + + Permalink + + +
                      Definition Classes
                      AnyRef
                      Annotations
                      + @throws( + + ... + ) + +
                      +
                    28. + + +

                      + + final + def + + + wait(arg0: Long, arg1: Int): Unit + +

                      + + Permalink + + +
                      Definition Classes
                      AnyRef
                      Annotations
                      + @throws( + + ... + ) + +
                      +
                    29. + + +

                      + + final + def + + + wait(arg0: Long): Unit + +

                      + + Permalink + + +
                      Definition Classes
                      AnyRef
                      Annotations
                      + @throws( + + ... + ) + +
                      +
                    +
                    + + + + +
                    + +
                    +
                    +

                    Inherited from BaseQueryWoReaderPipeController[(BaseRouteContext[T]) ⇒ BaseRouteContext[T], BaseRouteContext[T], BaseRouteContext[T], OnDemandControllerInfo, ActorSystem]

                    +
                    +

                    Inherited from BaseController[BaseRouteContext[T], BaseResult]

                    +
                    +

                    Inherited from BaseDoer

                    +
                    +

                    Inherited from Logging

                    +
                    +

                    Inherited from Serializable

                    +
                    +

                    Inherited from Serializable

                    +
                    +

                    Inherited from AnyRef

                    +
                    +

                    Inherited from Any

                    +
                    + +
                    + +
                    +
                    +

                    Ungrouped

                    + +
                    +
                    + +
                    + +
                    + + + + + + diff --git a/manual1903/api_reference/component-pipe/scaladocs/ksb/csle/component/pipe/controller/OnDemandGenericController.html b/manual1903/api_reference/component-pipe/scaladocs/ksb/csle/component/pipe/controller/OnDemandGenericController.html new file mode 100644 index 0000000000000000000000000000000000000000..b774d32c53b33c7aefe9b2782933165d8d050f11 --- /dev/null +++ b/manual1903/api_reference/component-pipe/scaladocs/ksb/csle/component/pipe/controller/OnDemandGenericController.html @@ -0,0 +1,686 @@ + + + + OnDemandGenericController - KSB COMPONENT-PIPE Scala App Project 1.0-SNAPSHOT API - ksb.csle.component.pipe.controller.OnDemandGenericController + + + + + + + + + + + + + + + +
                    + Class +

                    ksb.csle.component.pipe.controller

                    +

                    OnDemandGenericController

                    Related Doc: + package controller +

                    + + Permalink + + +
                    + +

                    + + + class + + + OnDemandGenericController extends BaseQueryPipeController[DeviceCtxCtlCase, DeviceCtxCtlCase, DeviceCtxCtlCase, OnDemandControllerInfo, ActorSystem] + +

                    + +

                    :: Experimental ::

                    Controller that manipulate reader, operator, and writer handles +when it is requested. +

                    + Linear Supertypes +
                    BaseQueryPipeController[DeviceCtxCtlCase, DeviceCtxCtlCase, DeviceCtxCtlCase, OnDemandControllerInfo, ActorSystem], BaseController[DeviceCtxCtlCase, BaseResult], BaseDoer, Logging, Serializable, Serializable, AnyRef, Any
                    +
                    + + +
                    +
                    +
                    + Ordering +
                      + +
                    1. Alphabetic
                    2. +
                    3. By Inheritance
                    4. +
                    +
                    +
                    + Inherited
                    +
                    +
                      +
                    1. OnDemandGenericController
                    2. BaseQueryPipeController
                    3. BaseController
                    4. BaseDoer
                    5. Logging
                    6. Serializable
                    7. Serializable
                    8. AnyRef
                    9. Any
                    10. +
                    +
                    + +
                      +
                    1. Hide All
                    2. +
                    3. Show All
                    4. +
                    +
                    +
                    + Visibility +
                    1. Public
                    2. All
                    +
                    +
                    + +
                    +
                    +
                    +

                    Instance Constructors

                    +
                    1. + + +

                      + + + new + + + OnDemandGenericController(runner: BaseRunner[ActorSystem, OnDemandRunnerInfo, Any], ins: Seq[BasePipeReader[DeviceCtxCtlCase, OnDemandReaderInfo, ActorSystem]], p: OnDemandControllerInfo, ops: Seq[BaseGenericPipeOperator[_, _, DeviceCtxCtlCase, DeviceCtxCtlCase, ActorSystem]]) + +

                      + + Permalink + + + +
                    +
                    + + + + + +
                    +

                    Value Members

                    +
                    1. + + +

                      + + final + def + + + !=(arg0: Any): Boolean + +

                      + + Permalink + + +
                      Definition Classes
                      AnyRef → Any
                      +
                    2. + + +

                      + + final + def + + + ##(): Int + +

                      + + Permalink + + +
                      Definition Classes
                      AnyRef → Any
                      +
                    3. + + +

                      + + final + def + + + ==(arg0: Any): Boolean + +

                      + + Permalink + + +
                      Definition Classes
                      AnyRef → Any
                      +
                    4. + + +

                      + + + val + + + applyPipes: () ⇒ DeviceCtxCtlCase + +

                      + + Permalink + + +
                      Definition Classes
                      BaseQueryPipeController
                      +
                    5. + + +

                      + + final + def + + + asInstanceOf[T0]: T0 + +

                      + + Permalink + + +
                      Definition Classes
                      Any
                      +
                    6. + + +

                      + + + def + + + clone(): AnyRef + +

                      + + Permalink + + +
                      Attributes
                      protected[java.lang]
                      Definition Classes
                      AnyRef
                      Annotations
                      + @throws( + + ... + ) + +
                      +
                    7. + + +

                      + + final + def + + + eq(arg0: AnyRef): Boolean + +

                      + + Permalink + + +
                      Definition Classes
                      AnyRef
                      +
                    8. + + +

                      + + + def + + + equals(arg0: Any): Boolean + +

                      + + Permalink + + +
                      Definition Classes
                      AnyRef → Any
                      +
                    9. + + +

                      + + + def + + + finalize(): Unit + +

                      + + Permalink + + +
                      Attributes
                      protected[java.lang]
                      Definition Classes
                      AnyRef
                      Annotations
                      + @throws( + + classOf[java.lang.Throwable] + ) + +
                      +
                    10. + + +

                      + + final + def + + + getClass(): Class[_] + +

                      + + Permalink + + +
                      Definition Classes
                      AnyRef → Any
                      +
                    11. + + +

                      + + + def + + + hashCode(): Int + +

                      + + Permalink + + +
                      Definition Classes
                      AnyRef → Any
                      +
                    12. + + +

                      + + + def + + + init(): Any + +

                      + + Permalink + + +
                      Definition Classes
                      OnDemandGenericController → BaseController
                      +
                    13. + + +

                      + + + val + + + ins: Seq[BasePipeReader[DeviceCtxCtlCase, OnDemandReaderInfo, ActorSystem]] + +

                      + + Permalink + + +
                      Definition Classes
                      OnDemandGenericController → BaseQueryPipeController
                      +
                    14. + + +

                      + + final + def + + + isInstanceOf[T0]: Boolean + +

                      + + Permalink + + +
                      Definition Classes
                      Any
                      +
                    15. + + +

                      + + + val + + + logger: Logger + +

                      + + Permalink + + +
                      Attributes
                      protected
                      Definition Classes
                      Logging
                      +
                    16. + + +

                      + + final + def + + + ne(arg0: AnyRef): Boolean + +

                      + + Permalink + + +
                      Definition Classes
                      AnyRef
                      +
                    17. + + +

                      + + final + def + + + notify(): Unit + +

                      + + Permalink + + +
                      Definition Classes
                      AnyRef
                      +
                    18. + + +

                      + + final + def + + + notifyAll(): Unit + +

                      + + Permalink + + +
                      Definition Classes
                      AnyRef
                      +
                    19. + + +

                      + + + val + + + ops: Seq[BaseGenericPipeOperator[_, _, DeviceCtxCtlCase, DeviceCtxCtlCase, ActorSystem]] + +

                      + + Permalink + + +
                      Definition Classes
                      OnDemandGenericController → BaseQueryPipeController
                      +
                    20. + + +

                      + + + val + + + p: OnDemandControllerInfo + +

                      + + Permalink + + +
                      Definition Classes
                      OnDemandGenericController → BaseQueryPipeController
                      +
                    21. + + +

                      + + + def + + + progress(): BaseResult + +

                      + + Permalink + + +
                      Definition Classes
                      OnDemandGenericController → BaseQueryPipeController → BaseController
                      +
                    22. + + +

                      + + + var + + + query: DeviceCtxCtlCase + +

                      + + Permalink + + +
                      Attributes
                      protected
                      Definition Classes
                      BaseQueryPipeController
                      +
                    23. + + +

                      + + + val + + + runner: BaseRunner[ActorSystem, OnDemandRunnerInfo, Any] + +

                      + + Permalink + + +
                      Definition Classes
                      OnDemandGenericController → BaseQueryPipeController
                      +
                    24. + + +

                      + + + def + + + stop(): Any + +

                      + + Permalink + + +
                      Definition Classes
                      OnDemandGenericController → BaseQueryPipeController → BaseController
                      +
                    25. + + +

                      + + final + def + + + synchronized[T0](arg0: ⇒ T0): T0 + +

                      + + Permalink + + +
                      Definition Classes
                      AnyRef
                      +
                    26. + + +

                      + + + def + + + toString(): String + +

                      + + Permalink + + +
                      Definition Classes
                      AnyRef → Any
                      +
                    27. + + +

                      + + final + def + + + wait(): Unit + +

                      + + Permalink + + +
                      Definition Classes
                      AnyRef
                      Annotations
                      + @throws( + + ... + ) + +
                      +
                    28. + + +

                      + + final + def + + + wait(arg0: Long, arg1: Int): Unit + +

                      + + Permalink + + +
                      Definition Classes
                      AnyRef
                      Annotations
                      + @throws( + + ... + ) + +
                      +
                    29. + + +

                      + + final + def + + + wait(arg0: Long): Unit + +

                      + + Permalink + + +
                      Definition Classes
                      AnyRef
                      Annotations
                      + @throws( + + ... + ) + +
                      +
                    +
                    + + + + +
                    + +
                    +
                    +

                    Inherited from BaseQueryPipeController[DeviceCtxCtlCase, DeviceCtxCtlCase, DeviceCtxCtlCase, OnDemandControllerInfo, ActorSystem]

                    +
                    +

                    Inherited from BaseController[DeviceCtxCtlCase, BaseResult]

                    +
                    +

                    Inherited from BaseDoer

                    +
                    +

                    Inherited from Logging

                    +
                    +

                    Inherited from Serializable

                    +
                    +

                    Inherited from Serializable

                    +
                    +

                    Inherited from AnyRef

                    +
                    +

                    Inherited from Any

                    +
                    + +
                    + +
                    +
                    +

                    Ungrouped

                    + +
                    +
                    + +
                    + +
                    + + + + + + diff --git a/manual1903/api_reference/component-pipe/scaladocs/ksb/csle/component/pipe/controller/StreamingGenericController.html b/manual1903/api_reference/component-pipe/scaladocs/ksb/csle/component/pipe/controller/StreamingGenericController.html new file mode 100644 index 0000000000000000000000000000000000000000..8bfd6afe6e6fde8feab3247a2a2aaef22f174cbf --- /dev/null +++ b/manual1903/api_reference/component-pipe/scaladocs/ksb/csle/component/pipe/controller/StreamingGenericController.html @@ -0,0 +1,692 @@ + + + + StreamingGenericController - KSB COMPONENT-PIPE Scala App Project 1.0-SNAPSHOT API - ksb.csle.component.pipe.controller.StreamingGenericController + + + + + + + + + + + + + + + +
                    + Class +

                    ksb.csle.component.pipe.controller

                    +

                    StreamingGenericController

                    Related Doc: + package controller +

                    + + Permalink + + +
                    + +

                    + + + class + + + StreamingGenericController extends BasGenericePipeController[DataFrame, DataFrame, StreamingQuery, Message, SparkSession] + +

                    + +

                    :: ApplicationDeveloperApi ::

                    Controller that manipulate reader, operator, and writer handles +when engine starts. +

                    + Linear Supertypes +
                    BasGenericePipeController[DataFrame, DataFrame, StreamingQuery, Message, SparkSession], BaseController[DataFrame, BaseResult], BaseDoer, Logging, Serializable, Serializable, AnyRef, Any
                    +
                    + + +
                    +
                    +
                    + Ordering +
                      + +
                    1. Alphabetic
                    2. +
                    3. By Inheritance
                    4. +
                    +
                    +
                    + Inherited
                    +
                    +
                      +
                    1. StreamingGenericController
                    2. BasGenericePipeController
                    3. BaseController
                    4. BaseDoer
                    5. Logging
                    6. Serializable
                    7. Serializable
                    8. AnyRef
                    9. Any
                    10. +
                    +
                    + +
                      +
                    1. Hide All
                    2. +
                    3. Show All
                    4. +
                    +
                    +
                    + Visibility +
                    1. Public
                    2. All
                    +
                    +
                    + +
                    +
                    +
                    +

                    Instance Constructors

                    +
                    1. + + +

                      + + + new + + + StreamingGenericController(runner: BaseRunner[SparkSession, StreamRunnerInfo, Any], ins: Seq[BasePipeReader[DataFrame, StreamReaderInfo, SparkSession]], outs: Seq[BasePipeWriter[DataFrame, StreamingQuery, StreamWriterInfo, SparkSession]], p: StreamControllerInfo, ops: Seq[BaseGenericPipeOperator[_, _, DataFrame, StreamOperatorInfo, SparkSession]]) + +

                      + + Permalink + + +

                      runner

                      Runner object that gets spark session

                      ins

                      A series of reader objects that read data from data source

                      p

                      Message object that has one of messages object containing + attributes related to controlling process pipelining

                      ops

                      a series of BaseGenericPipeOperator objects + that returns pipeline handle to process.

                      +
                    +
                    + + + + + +
                    +

                    Value Members

                    +
                    1. + + +

                      + + final + def + + + !=(arg0: Any): Boolean + +

                      + + Permalink + + +
                      Definition Classes
                      AnyRef → Any
                      +
                    2. + + +

                      + + final + def + + + ##(): Int + +

                      + + Permalink + + +
                      Definition Classes
                      AnyRef → Any
                      +
                    3. + + +

                      + + final + def + + + ==(arg0: Any): Boolean + +

                      + + Permalink + + +
                      Definition Classes
                      AnyRef → Any
                      +
                    4. + + +

                      + + final + def + + + asInstanceOf[T0]: T0 + +

                      + + Permalink + + +
                      Definition Classes
                      Any
                      +
                    5. + + +

                      + + + def + + + clone(): AnyRef + +

                      + + Permalink + + +
                      Attributes
                      protected[java.lang]
                      Definition Classes
                      AnyRef
                      Annotations
                      + @throws( + + ... + ) + +
                      +
                    6. + + +

                      + + final + def + + + eq(arg0: AnyRef): Boolean + +

                      + + Permalink + + +
                      Definition Classes
                      AnyRef
                      +
                    7. + + +

                      + + + def + + + equals(arg0: Any): Boolean + +

                      + + Permalink + + +
                      Definition Classes
                      AnyRef → Any
                      +
                    8. + + +

                      + + + def + + + finalize(): Unit + +

                      + + Permalink + + +
                      Attributes
                      protected[java.lang]
                      Definition Classes
                      AnyRef
                      Annotations
                      + @throws( + + classOf[java.lang.Throwable] + ) + +
                      +
                    9. + + +

                      + + final + def + + + getClass(): Class[_] + +

                      + + Permalink + + +
                      Definition Classes
                      AnyRef → Any
                      +
                    10. + + +

                      + + + def + + + hashCode(): Int + +

                      + + Permalink + + +
                      Definition Classes
                      AnyRef → Any
                      +
                    11. + + +

                      + + + def + + + init(): Unit + +

                      + + Permalink + + +
                      Definition Classes
                      StreamingGenericController → BaseController
                      +
                    12. + + +

                      + + + val + + + ins: Seq[BasePipeReader[DataFrame, StreamReaderInfo, SparkSession]] + +

                      + + Permalink + + +

                      A series of reader objects that read data from data source

                      A series of reader objects that read data from data source

                      Definition Classes
                      StreamingGenericController → BasGenericePipeController
                      +
                    13. + + +

                      + + final + def + + + isInstanceOf[T0]: Boolean + +

                      + + Permalink + + +
                      Definition Classes
                      Any
                      +
                    14. + + +

                      + + + val + + + logger: Logger + +

                      + + Permalink + + +
                      Attributes
                      protected
                      Definition Classes
                      Logging
                      +
                    15. + + +

                      + + final + def + + + ne(arg0: AnyRef): Boolean + +

                      + + Permalink + + +
                      Definition Classes
                      AnyRef
                      +
                    16. + + +

                      + + final + def + + + notify(): Unit + +

                      + + Permalink + + +
                      Definition Classes
                      AnyRef
                      +
                    17. + + +

                      + + final + def + + + notifyAll(): Unit + +

                      + + Permalink + + +
                      Definition Classes
                      AnyRef
                      +
                    18. + + +

                      + + + val + + + ops: Seq[BaseGenericPipeOperator[_, _, DataFrame, StreamOperatorInfo, SparkSession]] + +

                      + + Permalink + + +

                      a series of BaseGenericPipeOperator objects + that returns pipeline handle to process.

                      a series of BaseGenericPipeOperator objects + that returns pipeline handle to process.

                      Definition Classes
                      StreamingGenericController → BasGenericePipeController
                      +
                    19. + + +

                      + + + val + + + outs: Seq[BasePipeWriter[DataFrame, StreamingQuery, StreamWriterInfo, SparkSession]] + +

                      + + Permalink + + +
                      Definition Classes
                      StreamingGenericController → BasGenericePipeController
                      +
                    20. + + +

                      + + + val + + + p: StreamControllerInfo + +

                      + + Permalink + + +

                      Message object that has one of messages object containing + attributes related to controlling process pipelining

                      Message object that has one of messages object containing + attributes related to controlling process pipelining

                      Definition Classes
                      StreamingGenericController → BasGenericePipeController
                      +
                    21. + + +

                      + + + def + + + progress(): BaseResult + +

                      + + Permalink + + +

                      Pipelines data from readers to writers via operators.

                      Pipelines data from readers to writers via operators.

                      returns

                      result

                      Definition Classes
                      StreamingGenericController → BasGenericePipeController → BaseController
                      +
                    22. + + +

                      + + + var + + + query: Seq[StreamingQuery] + +

                      + + Permalink + + +
                      Attributes
                      protected
                      Definition Classes
                      BasGenericePipeController
                      +
                    23. + + +

                      + + + val + + + runner: BaseRunner[SparkSession, StreamRunnerInfo, Any] + +

                      + + Permalink + + +

                      Runner object that gets spark session

                      Runner object that gets spark session

                      Definition Classes
                      StreamingGenericController → BasGenericePipeController
                      +
                    24. + + +

                      + + + def + + + stop(): Any + +

                      + + Permalink + + +
                      Definition Classes
                      StreamingGenericController → BasGenericePipeController → BaseController
                      +
                    25. + + +

                      + + final + def + + + synchronized[T0](arg0: ⇒ T0): T0 + +

                      + + Permalink + + +
                      Definition Classes
                      AnyRef
                      +
                    26. + + +

                      + + + def + + + toString(): String + +

                      + + Permalink + + +
                      Definition Classes
                      AnyRef → Any
                      +
                    27. + + +

                      + + final + def + + + wait(): Unit + +

                      + + Permalink + + +
                      Definition Classes
                      AnyRef
                      Annotations
                      + @throws( + + ... + ) + +
                      +
                    28. + + +

                      + + final + def + + + wait(arg0: Long, arg1: Int): Unit + +

                      + + Permalink + + +
                      Definition Classes
                      AnyRef
                      Annotations
                      + @throws( + + ... + ) + +
                      +
                    29. + + +

                      + + final + def + + + wait(arg0: Long): Unit + +

                      + + Permalink + + +
                      Definition Classes
                      AnyRef
                      Annotations
                      + @throws( + + ... + ) + +
                      +
                    +
                    + + + + +
                    + +
                    +
                    +

                    Inherited from BasGenericePipeController[DataFrame, DataFrame, StreamingQuery, Message, SparkSession]

                    +
                    +

                    Inherited from BaseController[DataFrame, BaseResult]

                    +
                    +

                    Inherited from BaseDoer

                    +
                    +

                    Inherited from Logging

                    +
                    +

                    Inherited from Serializable

                    +
                    +

                    Inherited from Serializable

                    +
                    +

                    Inherited from AnyRef

                    +
                    +

                    Inherited from Any

                    +
                    + +
                    + +
                    +
                    +

                    Ungrouped

                    + +
                    +
                    + +
                    + +
                    + + + + + + diff --git a/manual1903/api_reference/component-pipe/scaladocs/ksb/csle/component/pipe/controller/actor/AbstractGenericOnDemandRestfulControlActor.html b/manual1903/api_reference/component-pipe/scaladocs/ksb/csle/component/pipe/controller/actor/AbstractGenericOnDemandRestfulControlActor.html new file mode 100644 index 0000000000000000000000000000000000000000..b427abf6e13052d9935fb108fe256f0b255d2a74 --- /dev/null +++ b/manual1903/api_reference/component-pipe/scaladocs/ksb/csle/component/pipe/controller/actor/AbstractGenericOnDemandRestfulControlActor.html @@ -0,0 +1,918 @@ + + + + AbstractGenericOnDemandRestfulControlActor - KSB COMPONENT-PIPE Scala App Project 1.0-SNAPSHOT API - ksb.csle.component.pipe.controller.actor.AbstractGenericOnDemandRestfulControlActor + + + + + + + + + + + + + + + +
                    + Class +

                    ksb.csle.component.pipe.controller.actor

                    +

                    AbstractGenericOnDemandRestfulControlActor

                    Related Doc: + package actor +

                    + + Permalink + + +
                    + +

                    + + abstract + class + + + AbstractGenericOnDemandRestfulControlActor[T] extends Actor with Logging + +

                    + +
                    + Linear Supertypes +
                    Logging, Actor, AnyRef, Any
                    +
                    + + +
                    +
                    +
                    + Ordering +
                      + +
                    1. Alphabetic
                    2. +
                    3. By Inheritance
                    4. +
                    +
                    +
                    + Inherited
                    +
                    +
                      +
                    1. AbstractGenericOnDemandRestfulControlActor
                    2. Logging
                    3. Actor
                    4. AnyRef
                    5. Any
                    6. +
                    +
                    + +
                      +
                    1. Hide All
                    2. +
                    3. Show All
                    4. +
                    +
                    +
                    + Visibility +
                    1. Public
                    2. All
                    +
                    +
                    + +
                    +
                    +
                    +

                    Instance Constructors

                    +
                    1. + + +

                      + + + new + + + AbstractGenericOnDemandRestfulControlActor(p: SimpleOnDemandControllerInfo, pipes: List[(BaseRouteContext[T]) ⇒ BaseRouteContext[T]]) + +

                      + + Permalink + + + +
                    +
                    + +
                    +

                    Type Members

                    +
                    1. + + +

                      + + + type + + + Receive = PartialFunction[Any, Unit] + +

                      + + Permalink + + +
                      Definition Classes
                      Actor
                      +
                    +
                    + +
                    +

                    Abstract Value Members

                    +
                    1. + + +

                      + + abstract + def + + + doQuery(ctxStr: String): String + +

                      + + Permalink + + + +
                    +
                    + +
                    +

                    Concrete Value Members

                    +
                    1. + + +

                      + + final + def + + + !=(arg0: Any): Boolean + +

                      + + Permalink + + +
                      Definition Classes
                      AnyRef → Any
                      +
                    2. + + +

                      + + final + def + + + ##(): Int + +

                      + + Permalink + + +
                      Definition Classes
                      AnyRef → Any
                      +
                    3. + + +

                      + + final + def + + + ==(arg0: Any): Boolean + +

                      + + Permalink + + +
                      Definition Classes
                      AnyRef → Any
                      +
                    4. + + +

                      + + + def + + + actorRefFactory: ActorContext + +

                      + + Permalink + + + +
                    5. + + +

                      + + + def + + + applyPipes(ctx: BaseRouteContext[T]): BaseRouteContext[T] + +

                      + + Permalink + + +
                      Attributes
                      protected
                      +
                    6. + + +

                      + + + def + + + aroundPostRestart(reason: Throwable): Unit + +

                      + + Permalink + + +
                      Attributes
                      protected[akka]
                      Definition Classes
                      Actor
                      +
                    7. + + +

                      + + + def + + + aroundPostStop(): Unit + +

                      + + Permalink + + +
                      Attributes
                      protected[akka]
                      Definition Classes
                      Actor
                      +
                    8. + + +

                      + + + def + + + aroundPreRestart(reason: Throwable, message: Option[Any]): Unit + +

                      + + Permalink + + +
                      Attributes
                      protected[akka]
                      Definition Classes
                      Actor
                      +
                    9. + + +

                      + + + def + + + aroundPreStart(): Unit + +

                      + + Permalink + + +
                      Attributes
                      protected[akka]
                      Definition Classes
                      Actor
                      +
                    10. + + +

                      + + + def + + + aroundReceive(receive: akka.actor.Actor.Receive, msg: Any): Unit + +

                      + + Permalink + + +
                      Attributes
                      protected[akka]
                      Definition Classes
                      Actor
                      +
                    11. + + +

                      + + final + def + + + asInstanceOf[T0]: T0 + +

                      + + Permalink + + +
                      Definition Classes
                      Any
                      +
                    12. + + +

                      + + + val + + + cachedQueryCtx: AtomicReference[String] + +

                      + + Permalink + + +
                      Attributes
                      protected
                      +
                    13. + + +

                      + + + def + + + clone(): AnyRef + +

                      + + Permalink + + +
                      Attributes
                      protected[java.lang]
                      Definition Classes
                      AnyRef
                      Annotations
                      + @throws( + + ... + ) + +
                      +
                    14. + + +

                      + + implicit + val + + + context: ActorContext + +

                      + + Permalink + + +
                      Definition Classes
                      Actor
                      +
                    15. + + +

                      + + final + def + + + eq(arg0: AnyRef): Boolean + +

                      + + Permalink + + +
                      Definition Classes
                      AnyRef
                      +
                    16. + + +

                      + + + def + + + equals(arg0: Any): Boolean + +

                      + + Permalink + + +
                      Definition Classes
                      AnyRef → Any
                      +
                    17. + + +

                      + + + def + + + finalize(): Unit + +

                      + + Permalink + + +
                      Attributes
                      protected[java.lang]
                      Definition Classes
                      AnyRef
                      Annotations
                      + @throws( + + classOf[java.lang.Throwable] + ) + +
                      +
                    18. + + +

                      + + final + def + + + getClass(): Class[_] + +

                      + + Permalink + + +
                      Definition Classes
                      AnyRef → Any
                      +
                    19. + + +

                      + + + def + + + hashCode(): Int + +

                      + + Permalink + + +
                      Definition Classes
                      AnyRef → Any
                      +
                    20. + + +

                      + + final + def + + + isInstanceOf[T0]: Boolean + +

                      + + Permalink + + +
                      Definition Classes
                      Any
                      +
                    21. + + +

                      + + + val + + + logger: Logger + +

                      + + Permalink + + +
                      Attributes
                      protected
                      Definition Classes
                      Logging
                      +
                    22. + + +

                      + + final + def + + + ne(arg0: AnyRef): Boolean + +

                      + + Permalink + + +
                      Definition Classes
                      AnyRef
                      +
                    23. + + +

                      + + final + def + + + notify(): Unit + +

                      + + Permalink + + +
                      Definition Classes
                      AnyRef
                      +
                    24. + + +

                      + + final + def + + + notifyAll(): Unit + +

                      + + Permalink + + +
                      Definition Classes
                      AnyRef
                      +
                    25. + + +

                      + + + def + + + postRestart(reason: Throwable): Unit + +

                      + + Permalink + + +
                      Definition Classes
                      Actor
                      Annotations
                      + @throws( + + classOf[java.lang.Exception] + ) + +
                      +
                    26. + + +

                      + + + def + + + postStop(): Unit + +

                      + + Permalink + + +
                      Definition Classes
                      AbstractGenericOnDemandRestfulControlActor → Actor
                      +
                    27. + + +

                      + + + def + + + preRestart(reason: Throwable, message: Option[Any]): Unit + +

                      + + Permalink + + +
                      Definition Classes
                      Actor
                      Annotations
                      + @throws( + + classOf[java.lang.Exception] + ) + +
                      +
                    28. + + +

                      + + + def + + + preStart(): Unit + +

                      + + Permalink + + +
                      Definition Classes
                      AbstractGenericOnDemandRestfulControlActor → Actor
                      +
                    29. + + +

                      + + + def + + + receive: akka.actor.Actor.Receive + +

                      + + Permalink + + +
                      Definition Classes
                      AbstractGenericOnDemandRestfulControlActor → Actor
                      +
                    30. + + +

                      + + + val + + + route: Route + +

                      + + Permalink + + + +
                    31. + + +

                      + + implicit final + val + + + self: ActorRef + +

                      + + Permalink + + +
                      Definition Classes
                      Actor
                      +
                    32. + + +

                      + + final + def + + + sender(): ActorRef + +

                      + + Permalink + + +
                      Definition Classes
                      Actor
                      +
                    33. + + +

                      + + + def + + + supervisorStrategy: SupervisorStrategy + +

                      + + Permalink + + +
                      Definition Classes
                      Actor
                      +
                    34. + + +

                      + + final + def + + + synchronized[T0](arg0: ⇒ T0): T0 + +

                      + + Permalink + + +
                      Definition Classes
                      AnyRef
                      +
                    35. + + +

                      + + implicit + val + + + timeout: Timeout + +

                      + + Permalink + + + +
                    36. + + +

                      + + + def + + + toString(): String + +

                      + + Permalink + + +
                      Definition Classes
                      AnyRef → Any
                      +
                    37. + + +

                      + + + def + + + unhandled(message: Any): Unit + +

                      + + Permalink + + +
                      Definition Classes
                      Actor
                      +
                    38. + + +

                      + + final + def + + + wait(): Unit + +

                      + + Permalink + + +
                      Definition Classes
                      AnyRef
                      Annotations
                      + @throws( + + ... + ) + +
                      +
                    39. + + +

                      + + final + def + + + wait(arg0: Long, arg1: Int): Unit + +

                      + + Permalink + + +
                      Definition Classes
                      AnyRef
                      Annotations
                      + @throws( + + ... + ) + +
                      +
                    40. + + +

                      + + final + def + + + wait(arg0: Long): Unit + +

                      + + Permalink + + +
                      Definition Classes
                      AnyRef
                      Annotations
                      + @throws( + + ... + ) + +
                      +
                    +
                    + + + + +
                    + +
                    +
                    +

                    Inherited from Logging

                    +
                    +

                    Inherited from Actor

                    +
                    +

                    Inherited from AnyRef

                    +
                    +

                    Inherited from Any

                    +
                    + +
                    + +
                    +
                    +

                    Ungrouped

                    + +
                    +
                    + +
                    + +
                    + + + + + + diff --git a/manual1903/api_reference/component-pipe/scaladocs/ksb/csle/component/pipe/controller/actor/CompositeServingActor.html b/manual1903/api_reference/component-pipe/scaladocs/ksb/csle/component/pipe/controller/actor/CompositeServingActor.html new file mode 100644 index 0000000000000000000000000000000000000000..169b8bed03104045fc830503e9c0004d379308a5 --- /dev/null +++ b/manual1903/api_reference/component-pipe/scaladocs/ksb/csle/component/pipe/controller/actor/CompositeServingActor.html @@ -0,0 +1,914 @@ + + + + CompositeServingActor - KSB COMPONENT-PIPE Scala App Project 1.0-SNAPSHOT API - ksb.csle.component.pipe.controller.actor.CompositeServingActor + + + + + + + + + + + + + + + +
                    + Class +

                    ksb.csle.component.pipe.controller.actor

                    +

                    CompositeServingActor

                    Related Doc: + package actor +

                    + + Permalink + + +
                    + +

                    + + + class + + + CompositeServingActor[T] extends AbstractGenericOnDemandRestfulControlActor[T] + +

                    + +
                    + Linear Supertypes +
                    AbstractGenericOnDemandRestfulControlActor[T], Logging, Actor, AnyRef, Any
                    +
                    + + +
                    +
                    +
                    + Ordering +
                      + +
                    1. Alphabetic
                    2. +
                    3. By Inheritance
                    4. +
                    +
                    +
                    + Inherited
                    +
                    +
                      +
                    1. CompositeServingActor
                    2. AbstractGenericOnDemandRestfulControlActor
                    3. Logging
                    4. Actor
                    5. AnyRef
                    6. Any
                    7. +
                    +
                    + +
                      +
                    1. Hide All
                    2. +
                    3. Show All
                    4. +
                    +
                    +
                    + Visibility +
                    1. Public
                    2. All
                    +
                    +
                    + +
                    +
                    +
                    +

                    Instance Constructors

                    +
                    1. + + +

                      + + + new + + + CompositeServingActor(p: SimpleOnDemandControllerInfo, pipes: List[(BaseRouteContext[T]) ⇒ BaseRouteContext[T]]) + +

                      + + Permalink + + + +
                    +
                    + +
                    +

                    Type Members

                    +
                    1. + + +

                      + + + type + + + Receive = PartialFunction[Any, Unit] + +

                      + + Permalink + + +
                      Definition Classes
                      Actor
                      +
                    +
                    + + + +
                    +

                    Value Members

                    +
                    1. + + +

                      + + final + def + + + !=(arg0: Any): Boolean + +

                      + + Permalink + + +
                      Definition Classes
                      AnyRef → Any
                      +
                    2. + + +

                      + + final + def + + + ##(): Int + +

                      + + Permalink + + +
                      Definition Classes
                      AnyRef → Any
                      +
                    3. + + +

                      + + final + def + + + ==(arg0: Any): Boolean + +

                      + + Permalink + + +
                      Definition Classes
                      AnyRef → Any
                      +
                    4. + + +

                      + + + def + + + actorRefFactory: ActorContext + +

                      + + Permalink + + + +
                    5. + + +

                      + + + def + + + applyPipes(ctx: BaseRouteContext[T]): BaseRouteContext[T] + +

                      + + Permalink + + +
                      Attributes
                      protected
                      Definition Classes
                      AbstractGenericOnDemandRestfulControlActor
                      +
                    6. + + +

                      + + + def + + + aroundPostRestart(reason: Throwable): Unit + +

                      + + Permalink + + +
                      Attributes
                      protected[akka]
                      Definition Classes
                      Actor
                      +
                    7. + + +

                      + + + def + + + aroundPostStop(): Unit + +

                      + + Permalink + + +
                      Attributes
                      protected[akka]
                      Definition Classes
                      Actor
                      +
                    8. + + +

                      + + + def + + + aroundPreRestart(reason: Throwable, message: Option[Any]): Unit + +

                      + + Permalink + + +
                      Attributes
                      protected[akka]
                      Definition Classes
                      Actor
                      +
                    9. + + +

                      + + + def + + + aroundPreStart(): Unit + +

                      + + Permalink + + +
                      Attributes
                      protected[akka]
                      Definition Classes
                      Actor
                      +
                    10. + + +

                      + + + def + + + aroundReceive(receive: akka.actor.Actor.Receive, msg: Any): Unit + +

                      + + Permalink + + +
                      Attributes
                      protected[akka]
                      Definition Classes
                      Actor
                      +
                    11. + + +

                      + + final + def + + + asInstanceOf[T0]: T0 + +

                      + + Permalink + + +
                      Definition Classes
                      Any
                      +
                    12. + + +

                      + + + val + + + cachedQueryCtx: AtomicReference[String] + +

                      + + Permalink + + +
                      Attributes
                      protected
                      Definition Classes
                      AbstractGenericOnDemandRestfulControlActor
                      +
                    13. + + +

                      + + + def + + + clone(): AnyRef + +

                      + + Permalink + + +
                      Attributes
                      protected[java.lang]
                      Definition Classes
                      AnyRef
                      Annotations
                      + @throws( + + ... + ) + +
                      +
                    14. + + +

                      + + implicit + val + + + context: ActorContext + +

                      + + Permalink + + +
                      Definition Classes
                      Actor
                      +
                    15. + + +

                      + + + def + + + doQuery(ctxStr: String): String + +

                      + + Permalink + + + +
                    16. + + +

                      + + final + def + + + eq(arg0: AnyRef): Boolean + +

                      + + Permalink + + +
                      Definition Classes
                      AnyRef
                      +
                    17. + + +

                      + + + def + + + equals(arg0: Any): Boolean + +

                      + + Permalink + + +
                      Definition Classes
                      AnyRef → Any
                      +
                    18. + + +

                      + + + def + + + finalize(): Unit + +

                      + + Permalink + + +
                      Attributes
                      protected[java.lang]
                      Definition Classes
                      AnyRef
                      Annotations
                      + @throws( + + classOf[java.lang.Throwable] + ) + +
                      +
                    19. + + +

                      + + final + def + + + getClass(): Class[_] + +

                      + + Permalink + + +
                      Definition Classes
                      AnyRef → Any
                      +
                    20. + + +

                      + + + def + + + hashCode(): Int + +

                      + + Permalink + + +
                      Definition Classes
                      AnyRef → Any
                      +
                    21. + + +

                      + + final + def + + + isInstanceOf[T0]: Boolean + +

                      + + Permalink + + +
                      Definition Classes
                      Any
                      +
                    22. + + +

                      + + + val + + + logger: Logger + +

                      + + Permalink + + +
                      Attributes
                      protected
                      Definition Classes
                      Logging
                      +
                    23. + + +

                      + + final + def + + + ne(arg0: AnyRef): Boolean + +

                      + + Permalink + + +
                      Definition Classes
                      AnyRef
                      +
                    24. + + +

                      + + final + def + + + notify(): Unit + +

                      + + Permalink + + +
                      Definition Classes
                      AnyRef
                      +
                    25. + + +

                      + + final + def + + + notifyAll(): Unit + +

                      + + Permalink + + +
                      Definition Classes
                      AnyRef
                      +
                    26. + + +

                      + + + def + + + postRestart(reason: Throwable): Unit + +

                      + + Permalink + + +
                      Definition Classes
                      Actor
                      Annotations
                      + @throws( + + classOf[java.lang.Exception] + ) + +
                      +
                    27. + + +

                      + + + def + + + postStop(): Unit + +

                      + + Permalink + + +
                      Definition Classes
                      AbstractGenericOnDemandRestfulControlActor → Actor
                      +
                    28. + + +

                      + + + def + + + preRestart(reason: Throwable, message: Option[Any]): Unit + +

                      + + Permalink + + +
                      Definition Classes
                      Actor
                      Annotations
                      + @throws( + + classOf[java.lang.Exception] + ) + +
                      +
                    29. + + +

                      + + + def + + + preStart(): Unit + +

                      + + Permalink + + +
                      Definition Classes
                      AbstractGenericOnDemandRestfulControlActor → Actor
                      +
                    30. + + +

                      + + + def + + + receive: akka.actor.Actor.Receive + +

                      + + Permalink + + +
                      Definition Classes
                      AbstractGenericOnDemandRestfulControlActor → Actor
                      +
                    31. + + +

                      + + + val + + + route: Route + +

                      + + Permalink + + + +
                    32. + + +

                      + + implicit final + val + + + self: ActorRef + +

                      + + Permalink + + +
                      Definition Classes
                      Actor
                      +
                    33. + + +

                      + + final + def + + + sender(): ActorRef + +

                      + + Permalink + + +
                      Definition Classes
                      Actor
                      +
                    34. + + +

                      + + + def + + + supervisorStrategy: SupervisorStrategy + +

                      + + Permalink + + +
                      Definition Classes
                      Actor
                      +
                    35. + + +

                      + + final + def + + + synchronized[T0](arg0: ⇒ T0): T0 + +

                      + + Permalink + + +
                      Definition Classes
                      AnyRef
                      +
                    36. + + +

                      + + implicit + val + + + timeout: Timeout + +

                      + + Permalink + + + +
                    37. + + +

                      + + + def + + + toString(): String + +

                      + + Permalink + + +
                      Definition Classes
                      AnyRef → Any
                      +
                    38. + + +

                      + + + def + + + unhandled(message: Any): Unit + +

                      + + Permalink + + +
                      Definition Classes
                      Actor
                      +
                    39. + + +

                      + + final + def + + + wait(): Unit + +

                      + + Permalink + + +
                      Definition Classes
                      AnyRef
                      Annotations
                      + @throws( + + ... + ) + +
                      +
                    40. + + +

                      + + final + def + + + wait(arg0: Long, arg1: Int): Unit + +

                      + + Permalink + + +
                      Definition Classes
                      AnyRef
                      Annotations
                      + @throws( + + ... + ) + +
                      +
                    41. + + +

                      + + final + def + + + wait(arg0: Long): Unit + +

                      + + Permalink + + +
                      Definition Classes
                      AnyRef
                      Annotations
                      + @throws( + + ... + ) + +
                      +
                    +
                    + + + + +
                    + +
                    +
                    +

                    Inherited from Logging

                    +
                    +

                    Inherited from Actor

                    +
                    +

                    Inherited from AnyRef

                    +
                    +

                    Inherited from Any

                    +
                    + +
                    + +
                    +
                    +

                    Ungrouped

                    + +
                    +
                    + +
                    + +
                    + + + + + + diff --git a/manual1903/api_reference/component-pipe/scaladocs/ksb/csle/component/pipe/controller/actor/EnsembleServingActor.html b/manual1903/api_reference/component-pipe/scaladocs/ksb/csle/component/pipe/controller/actor/EnsembleServingActor.html new file mode 100644 index 0000000000000000000000000000000000000000..8f7b35d5c644cdc5831e3f0363ff78ac9099e027 --- /dev/null +++ b/manual1903/api_reference/component-pipe/scaladocs/ksb/csle/component/pipe/controller/actor/EnsembleServingActor.html @@ -0,0 +1,914 @@ + + + + EnsembleServingActor - KSB COMPONENT-PIPE Scala App Project 1.0-SNAPSHOT API - ksb.csle.component.pipe.controller.actor.EnsembleServingActor + + + + + + + + + + + + + + + +
                    + Class +

                    ksb.csle.component.pipe.controller.actor

                    +

                    EnsembleServingActor

                    Related Doc: + package actor +

                    + + Permalink + + +
                    + +

                    + + + class + + + EnsembleServingActor[T] extends AbstractGenericOnDemandRestfulControlActor[T] + +

                    + +
                    + Linear Supertypes +
                    AbstractGenericOnDemandRestfulControlActor[T], Logging, Actor, AnyRef, Any
                    +
                    + + +
                    +
                    +
                    + Ordering +
                      + +
                    1. Alphabetic
                    2. +
                    3. By Inheritance
                    4. +
                    +
                    +
                    + Inherited
                    +
                    +
                      +
                    1. EnsembleServingActor
                    2. AbstractGenericOnDemandRestfulControlActor
                    3. Logging
                    4. Actor
                    5. AnyRef
                    6. Any
                    7. +
                    +
                    + +
                      +
                    1. Hide All
                    2. +
                    3. Show All
                    4. +
                    +
                    +
                    + Visibility +
                    1. Public
                    2. All
                    +
                    +
                    + +
                    +
                    +
                    +

                    Instance Constructors

                    +
                    1. + + +

                      + + + new + + + EnsembleServingActor(p: SimpleOnDemandControllerInfo, pipes: List[(BaseRouteContext[T]) ⇒ BaseRouteContext[T]]) + +

                      + + Permalink + + + +
                    +
                    + +
                    +

                    Type Members

                    +
                    1. + + +

                      + + + type + + + Receive = PartialFunction[Any, Unit] + +

                      + + Permalink + + +
                      Definition Classes
                      Actor
                      +
                    +
                    + + + +
                    +

                    Value Members

                    +
                    1. + + +

                      + + final + def + + + !=(arg0: Any): Boolean + +

                      + + Permalink + + +
                      Definition Classes
                      AnyRef → Any
                      +
                    2. + + +

                      + + final + def + + + ##(): Int + +

                      + + Permalink + + +
                      Definition Classes
                      AnyRef → Any
                      +
                    3. + + +

                      + + final + def + + + ==(arg0: Any): Boolean + +

                      + + Permalink + + +
                      Definition Classes
                      AnyRef → Any
                      +
                    4. + + +

                      + + + def + + + actorRefFactory: ActorContext + +

                      + + Permalink + + + +
                    5. + + +

                      + + + def + + + applyPipes(ctx: BaseRouteContext[T]): BaseRouteContext[T] + +

                      + + Permalink + + +
                      Attributes
                      protected
                      Definition Classes
                      AbstractGenericOnDemandRestfulControlActor
                      +
                    6. + + +

                      + + + def + + + aroundPostRestart(reason: Throwable): Unit + +

                      + + Permalink + + +
                      Attributes
                      protected[akka]
                      Definition Classes
                      Actor
                      +
                    7. + + +

                      + + + def + + + aroundPostStop(): Unit + +

                      + + Permalink + + +
                      Attributes
                      protected[akka]
                      Definition Classes
                      Actor
                      +
                    8. + + +

                      + + + def + + + aroundPreRestart(reason: Throwable, message: Option[Any]): Unit + +

                      + + Permalink + + +
                      Attributes
                      protected[akka]
                      Definition Classes
                      Actor
                      +
                    9. + + +

                      + + + def + + + aroundPreStart(): Unit + +

                      + + Permalink + + +
                      Attributes
                      protected[akka]
                      Definition Classes
                      Actor
                      +
                    10. + + +

                      + + + def + + + aroundReceive(receive: akka.actor.Actor.Receive, msg: Any): Unit + +

                      + + Permalink + + +
                      Attributes
                      protected[akka]
                      Definition Classes
                      Actor
                      +
                    11. + + +

                      + + final + def + + + asInstanceOf[T0]: T0 + +

                      + + Permalink + + +
                      Definition Classes
                      Any
                      +
                    12. + + +

                      + + + val + + + cachedQueryCtx: AtomicReference[String] + +

                      + + Permalink + + +
                      Attributes
                      protected
                      Definition Classes
                      AbstractGenericOnDemandRestfulControlActor
                      +
                    13. + + +

                      + + + def + + + clone(): AnyRef + +

                      + + Permalink + + +
                      Attributes
                      protected[java.lang]
                      Definition Classes
                      AnyRef
                      Annotations
                      + @throws( + + ... + ) + +
                      +
                    14. + + +

                      + + implicit + val + + + context: ActorContext + +

                      + + Permalink + + +
                      Definition Classes
                      Actor
                      +
                    15. + + +

                      + + + def + + + doQuery(ctxStr: String): String + +

                      + + Permalink + + + +
                    16. + + +

                      + + final + def + + + eq(arg0: AnyRef): Boolean + +

                      + + Permalink + + +
                      Definition Classes
                      AnyRef
                      +
                    17. + + +

                      + + + def + + + equals(arg0: Any): Boolean + +

                      + + Permalink + + +
                      Definition Classes
                      AnyRef → Any
                      +
                    18. + + +

                      + + + def + + + finalize(): Unit + +

                      + + Permalink + + +
                      Attributes
                      protected[java.lang]
                      Definition Classes
                      AnyRef
                      Annotations
                      + @throws( + + classOf[java.lang.Throwable] + ) + +
                      +
                    19. + + +

                      + + final + def + + + getClass(): Class[_] + +

                      + + Permalink + + +
                      Definition Classes
                      AnyRef → Any
                      +
                    20. + + +

                      + + + def + + + hashCode(): Int + +

                      + + Permalink + + +
                      Definition Classes
                      AnyRef → Any
                      +
                    21. + + +

                      + + final + def + + + isInstanceOf[T0]: Boolean + +

                      + + Permalink + + +
                      Definition Classes
                      Any
                      +
                    22. + + +

                      + + + val + + + logger: Logger + +

                      + + Permalink + + +
                      Attributes
                      protected
                      Definition Classes
                      Logging
                      +
                    23. + + +

                      + + final + def + + + ne(arg0: AnyRef): Boolean + +

                      + + Permalink + + +
                      Definition Classes
                      AnyRef
                      +
                    24. + + +

                      + + final + def + + + notify(): Unit + +

                      + + Permalink + + +
                      Definition Classes
                      AnyRef
                      +
                    25. + + +

                      + + final + def + + + notifyAll(): Unit + +

                      + + Permalink + + +
                      Definition Classes
                      AnyRef
                      +
                    26. + + +

                      + + + def + + + postRestart(reason: Throwable): Unit + +

                      + + Permalink + + +
                      Definition Classes
                      Actor
                      Annotations
                      + @throws( + + classOf[java.lang.Exception] + ) + +
                      +
                    27. + + +

                      + + + def + + + postStop(): Unit + +

                      + + Permalink + + +
                      Definition Classes
                      AbstractGenericOnDemandRestfulControlActor → Actor
                      +
                    28. + + +

                      + + + def + + + preRestart(reason: Throwable, message: Option[Any]): Unit + +

                      + + Permalink + + +
                      Definition Classes
                      Actor
                      Annotations
                      + @throws( + + classOf[java.lang.Exception] + ) + +
                      +
                    29. + + +

                      + + + def + + + preStart(): Unit + +

                      + + Permalink + + +
                      Definition Classes
                      AbstractGenericOnDemandRestfulControlActor → Actor
                      +
                    30. + + +

                      + + + def + + + receive: akka.actor.Actor.Receive + +

                      + + Permalink + + +
                      Definition Classes
                      AbstractGenericOnDemandRestfulControlActor → Actor
                      +
                    31. + + +

                      + + + val + + + route: Route + +

                      + + Permalink + + + +
                    32. + + +

                      + + implicit final + val + + + self: ActorRef + +

                      + + Permalink + + +
                      Definition Classes
                      Actor
                      +
                    33. + + +

                      + + final + def + + + sender(): ActorRef + +

                      + + Permalink + + +
                      Definition Classes
                      Actor
                      +
                    34. + + +

                      + + + def + + + supervisorStrategy: SupervisorStrategy + +

                      + + Permalink + + +
                      Definition Classes
                      Actor
                      +
                    35. + + +

                      + + final + def + + + synchronized[T0](arg0: ⇒ T0): T0 + +

                      + + Permalink + + +
                      Definition Classes
                      AnyRef
                      +
                    36. + + +

                      + + implicit + val + + + timeout: Timeout + +

                      + + Permalink + + + +
                    37. + + +

                      + + + def + + + toString(): String + +

                      + + Permalink + + +
                      Definition Classes
                      AnyRef → Any
                      +
                    38. + + +

                      + + + def + + + unhandled(message: Any): Unit + +

                      + + Permalink + + +
                      Definition Classes
                      Actor
                      +
                    39. + + +

                      + + final + def + + + wait(): Unit + +

                      + + Permalink + + +
                      Definition Classes
                      AnyRef
                      Annotations
                      + @throws( + + ... + ) + +
                      +
                    40. + + +

                      + + final + def + + + wait(arg0: Long, arg1: Int): Unit + +

                      + + Permalink + + +
                      Definition Classes
                      AnyRef
                      Annotations
                      + @throws( + + ... + ) + +
                      +
                    41. + + +

                      + + final + def + + + wait(arg0: Long): Unit + +

                      + + Permalink + + +
                      Definition Classes
                      AnyRef
                      Annotations
                      + @throws( + + ... + ) + +
                      +
                    +
                    + + + + +
                    + +
                    +
                    +

                    Inherited from Logging

                    +
                    +

                    Inherited from Actor

                    +
                    +

                    Inherited from AnyRef

                    +
                    +

                    Inherited from Any

                    +
                    + +
                    + +
                    +
                    +

                    Ungrouped

                    + +
                    +
                    + +
                    + +
                    + + + + + + diff --git a/manual1903/api_reference/component-pipe/scaladocs/ksb/csle/component/pipe/controller/actor/KafkaSender$.html b/manual1903/api_reference/component-pipe/scaladocs/ksb/csle/component/pipe/controller/actor/KafkaSender$.html new file mode 100644 index 0000000000000000000000000000000000000000..dc30ed10caee61a38f4335c7a1483cb4cc6ff523 --- /dev/null +++ b/manual1903/api_reference/component-pipe/scaladocs/ksb/csle/component/pipe/controller/actor/KafkaSender$.html @@ -0,0 +1,501 @@ + + + + KafkaSender - KSB COMPONENT-PIPE Scala App Project 1.0-SNAPSHOT API - ksb.csle.component.pipe.controller.actor.KafkaSender + + + + + + + + + + + + + + + + + +

                    + + + object + + + KafkaSender + +

                    + +
                    + Linear Supertypes +
                    AnyRef, Any
                    +
                    + + +
                    +
                    +
                    + Ordering +
                      + +
                    1. Alphabetic
                    2. +
                    3. By Inheritance
                    4. +
                    +
                    +
                    + Inherited
                    +
                    +
                      +
                    1. KafkaSender
                    2. AnyRef
                    3. Any
                    4. +
                    +
                    + +
                      +
                    1. Hide All
                    2. +
                    3. Show All
                    4. +
                    +
                    +
                    + Visibility +
                    1. Public
                    2. All
                    +
                    +
                    + +
                    +
                    + + + + + + +
                    +

                    Value Members

                    +
                    1. + + +

                      + + final + def + + + !=(arg0: Any): Boolean + +

                      + + Permalink + + +
                      Definition Classes
                      AnyRef → Any
                      +
                    2. + + +

                      + + final + def + + + ##(): Int + +

                      + + Permalink + + +
                      Definition Classes
                      AnyRef → Any
                      +
                    3. + + +

                      + + final + def + + + ==(arg0: Any): Boolean + +

                      + + Permalink + + +
                      Definition Classes
                      AnyRef → Any
                      +
                    4. + + +

                      + + + def + + + apply(topic: String, key: String): KafkaSender + +

                      + + Permalink + + + +
                    5. + + +

                      + + final + def + + + asInstanceOf[T0]: T0 + +

                      + + Permalink + + +
                      Definition Classes
                      Any
                      +
                    6. + + +

                      + + + def + + + clone(): AnyRef + +

                      + + Permalink + + +
                      Attributes
                      protected[java.lang]
                      Definition Classes
                      AnyRef
                      Annotations
                      + @throws( + + ... + ) + +
                      +
                    7. + + +

                      + + final + def + + + eq(arg0: AnyRef): Boolean + +

                      + + Permalink + + +
                      Definition Classes
                      AnyRef
                      +
                    8. + + +

                      + + + def + + + equals(arg0: Any): Boolean + +

                      + + Permalink + + +
                      Definition Classes
                      AnyRef → Any
                      +
                    9. + + +

                      + + + def + + + finalize(): Unit + +

                      + + Permalink + + +
                      Attributes
                      protected[java.lang]
                      Definition Classes
                      AnyRef
                      Annotations
                      + @throws( + + classOf[java.lang.Throwable] + ) + +
                      +
                    10. + + +

                      + + final + def + + + getClass(): Class[_] + +

                      + + Permalink + + +
                      Definition Classes
                      AnyRef → Any
                      +
                    11. + + +

                      + + + def + + + hashCode(): Int + +

                      + + Permalink + + +
                      Definition Classes
                      AnyRef → Any
                      +
                    12. + + +

                      + + final + def + + + isInstanceOf[T0]: Boolean + +

                      + + Permalink + + +
                      Definition Classes
                      Any
                      +
                    13. + + +

                      + + final + def + + + ne(arg0: AnyRef): Boolean + +

                      + + Permalink + + +
                      Definition Classes
                      AnyRef
                      +
                    14. + + +

                      + + final + def + + + notify(): Unit + +

                      + + Permalink + + +
                      Definition Classes
                      AnyRef
                      +
                    15. + + +

                      + + final + def + + + notifyAll(): Unit + +

                      + + Permalink + + +
                      Definition Classes
                      AnyRef
                      +
                    16. + + +

                      + + final + def + + + synchronized[T0](arg0: ⇒ T0): T0 + +

                      + + Permalink + + +
                      Definition Classes
                      AnyRef
                      +
                    17. + + +

                      + + + def + + + toString(): String + +

                      + + Permalink + + +
                      Definition Classes
                      AnyRef → Any
                      +
                    18. + + +

                      + + final + def + + + wait(): Unit + +

                      + + Permalink + + +
                      Definition Classes
                      AnyRef
                      Annotations
                      + @throws( + + ... + ) + +
                      +
                    19. + + +

                      + + final + def + + + wait(arg0: Long, arg1: Int): Unit + +

                      + + Permalink + + +
                      Definition Classes
                      AnyRef
                      Annotations
                      + @throws( + + ... + ) + +
                      +
                    20. + + +

                      + + final + def + + + wait(arg0: Long): Unit + +

                      + + Permalink + + +
                      Definition Classes
                      AnyRef
                      Annotations
                      + @throws( + + ... + ) + +
                      +
                    +
                    + + + + +
                    + +
                    +
                    +

                    Inherited from AnyRef

                    +
                    +

                    Inherited from Any

                    +
                    + +
                    + +
                    +
                    +

                    Ungrouped

                    + +
                    +
                    + +
                    + +
                    + + + + + + diff --git a/manual1903/api_reference/component-pipe/scaladocs/ksb/csle/component/pipe/controller/actor/KafkaSender.html b/manual1903/api_reference/component-pipe/scaladocs/ksb/csle/component/pipe/controller/actor/KafkaSender.html new file mode 100644 index 0000000000000000000000000000000000000000..f44ad3134c893329b00c6b9bd29931df5c625cbf --- /dev/null +++ b/manual1903/api_reference/component-pipe/scaladocs/ksb/csle/component/pipe/controller/actor/KafkaSender.html @@ -0,0 +1,538 @@ + + + + KafkaSender - KSB COMPONENT-PIPE Scala App Project 1.0-SNAPSHOT API - ksb.csle.component.pipe.controller.actor.KafkaSender + + + + + + + + + + + + + + + + + +

                    + + final + class + + + KafkaSender extends AnyRef + +

                    + +
                    + Linear Supertypes +
                    AnyRef, Any
                    +
                    + + +
                    +
                    +
                    + Ordering +
                      + +
                    1. Alphabetic
                    2. +
                    3. By Inheritance
                    4. +
                    +
                    +
                    + Inherited
                    +
                    +
                      +
                    1. KafkaSender
                    2. AnyRef
                    3. Any
                    4. +
                    +
                    + +
                      +
                    1. Hide All
                    2. +
                    3. Show All
                    4. +
                    +
                    +
                    + Visibility +
                    1. Public
                    2. All
                    +
                    +
                    + +
                    +
                    +
                    +

                    Instance Constructors

                    +
                    1. + + +

                      + + + new + + + KafkaSender(topic: String, key: String) + +

                      + + Permalink + + + +
                    +
                    + + + + + +
                    +

                    Value Members

                    +
                    1. + + +

                      + + final + def + + + !=(arg0: Any): Boolean + +

                      + + Permalink + + +
                      Definition Classes
                      AnyRef → Any
                      +
                    2. + + +

                      + + final + def + + + ##(): Int + +

                      + + Permalink + + +
                      Definition Classes
                      AnyRef → Any
                      +
                    3. + + +

                      + + final + def + + + ==(arg0: Any): Boolean + +

                      + + Permalink + + +
                      Definition Classes
                      AnyRef → Any
                      +
                    4. + + +

                      + + final + def + + + asInstanceOf[T0]: T0 + +

                      + + Permalink + + +
                      Definition Classes
                      Any
                      +
                    5. + + +

                      + + + def + + + clone(): AnyRef + +

                      + + Permalink + + +
                      Attributes
                      protected[java.lang]
                      Definition Classes
                      AnyRef
                      Annotations
                      + @throws( + + ... + ) + +
                      +
                    6. + + +

                      + + final + def + + + eq(arg0: AnyRef): Boolean + +

                      + + Permalink + + +
                      Definition Classes
                      AnyRef
                      +
                    7. + + +

                      + + + def + + + equals(arg0: Any): Boolean + +

                      + + Permalink + + +
                      Definition Classes
                      AnyRef → Any
                      +
                    8. + + +

                      + + + def + + + finalize(): Unit + +

                      + + Permalink + + +
                      Attributes
                      protected[java.lang]
                      Definition Classes
                      AnyRef
                      Annotations
                      + @throws( + + classOf[java.lang.Throwable] + ) + +
                      +
                    9. + + +

                      + + final + def + + + getClass(): Class[_] + +

                      + + Permalink + + +
                      Definition Classes
                      AnyRef → Any
                      +
                    10. + + +

                      + + + def + + + hashCode(): Int + +

                      + + Permalink + + +
                      Definition Classes
                      AnyRef → Any
                      +
                    11. + + +

                      + + final + def + + + isInstanceOf[T0]: Boolean + +

                      + + Permalink + + +
                      Definition Classes
                      Any
                      +
                    12. + + +

                      + + final + def + + + ne(arg0: AnyRef): Boolean + +

                      + + Permalink + + +
                      Definition Classes
                      AnyRef
                      +
                    13. + + +

                      + + final + def + + + notify(): Unit + +

                      + + Permalink + + +
                      Definition Classes
                      AnyRef
                      +
                    14. + + +

                      + + final + def + + + notifyAll(): Unit + +

                      + + Permalink + + +
                      Definition Classes
                      AnyRef
                      +
                    15. + + +

                      + + + val + + + producer: KafkaProducer[String, String] + +

                      + + Permalink + + + +
                    16. + + +

                      + + + val + + + props: Properties + +

                      + + Permalink + + + +
                    17. + + +

                      + + final + def + + + synchronized[T0](arg0: ⇒ T0): T0 + +

                      + + Permalink + + +
                      Definition Classes
                      AnyRef
                      +
                    18. + + +

                      + + + def + + + toString(): String + +

                      + + Permalink + + +
                      Definition Classes
                      AnyRef → Any
                      +
                    19. + + +

                      + + final + def + + + wait(): Unit + +

                      + + Permalink + + +
                      Definition Classes
                      AnyRef
                      Annotations
                      + @throws( + + ... + ) + +
                      +
                    20. + + +

                      + + final + def + + + wait(arg0: Long, arg1: Int): Unit + +

                      + + Permalink + + +
                      Definition Classes
                      AnyRef
                      Annotations
                      + @throws( + + ... + ) + +
                      +
                    21. + + +

                      + + final + def + + + wait(arg0: Long): Unit + +

                      + + Permalink + + +
                      Definition Classes
                      AnyRef
                      Annotations
                      + @throws( + + ... + ) + +
                      +
                    +
                    + + + + +
                    + +
                    +
                    +

                    Inherited from AnyRef

                    +
                    +

                    Inherited from Any

                    +
                    + +
                    + +
                    +
                    +

                    Ungrouped

                    + +
                    +
                    + +
                    + +
                    + + + + + + diff --git a/manual1903/api_reference/component-pipe/scaladocs/ksb/csle/component/pipe/controller/actor/OnDemandGenericControlActor.html b/manual1903/api_reference/component-pipe/scaladocs/ksb/csle/component/pipe/controller/actor/OnDemandGenericControlActor.html new file mode 100644 index 0000000000000000000000000000000000000000..9bcb97879a0acff9f8d14cade6702b99e7fcab49 --- /dev/null +++ b/manual1903/api_reference/component-pipe/scaladocs/ksb/csle/component/pipe/controller/actor/OnDemandGenericControlActor.html @@ -0,0 +1,879 @@ + + + + OnDemandGenericControlActor - KSB COMPONENT-PIPE Scala App Project 1.0-SNAPSHOT API - ksb.csle.component.pipe.controller.actor.OnDemandGenericControlActor + + + + + + + + + + + + + + + +
                    + Class +

                    ksb.csle.component.pipe.controller.actor

                    +

                    OnDemandGenericControlActor

                    Related Doc: + package actor +

                    + + Permalink + + +
                    + +

                    + + + class + + + OnDemandGenericControlActor extends Actor with Logging + +

                    + +

                    :: Experimental ::

                    Actor that receives query and starts to control when it is requested. +

                    + Linear Supertypes +
                    Logging, Actor, AnyRef, Any
                    +
                    + + +
                    +
                    +
                    + Ordering +
                      + +
                    1. Alphabetic
                    2. +
                    3. By Inheritance
                    4. +
                    +
                    +
                    + Inherited
                    +
                    +
                      +
                    1. OnDemandGenericControlActor
                    2. Logging
                    3. Actor
                    4. AnyRef
                    5. Any
                    6. +
                    +
                    + +
                      +
                    1. Hide All
                    2. +
                    3. Show All
                    4. +
                    +
                    +
                    + Visibility +
                    1. Public
                    2. All
                    +
                    +
                    + +
                    +
                    +
                    +

                    Instance Constructors

                    +
                    1. + + +

                      + + + new + + + OnDemandGenericControlActor(pipes: () ⇒ DeviceCtxCtlCase) + +

                      + + Permalink + + + +
                    +
                    + +
                    +

                    Type Members

                    +
                    1. + + +

                      + + + type + + + Receive = PartialFunction[Any, Unit] + +

                      + + Permalink + + +
                      Definition Classes
                      Actor
                      +
                    +
                    + + + +
                    +

                    Value Members

                    +
                    1. + + +

                      + + final + def + + + !=(arg0: Any): Boolean + +

                      + + Permalink + + +
                      Definition Classes
                      AnyRef → Any
                      +
                    2. + + +

                      + + final + def + + + ##(): Int + +

                      + + Permalink + + +
                      Definition Classes
                      AnyRef → Any
                      +
                    3. + + +

                      + + final + def + + + ==(arg0: Any): Boolean + +

                      + + Permalink + + +
                      Definition Classes
                      AnyRef → Any
                      +
                    4. + + +

                      + + + def + + + actorRefFactory: ActorContext + +

                      + + Permalink + + + +
                    5. + + +

                      + + + def + + + aroundPostRestart(reason: Throwable): Unit + +

                      + + Permalink + + +
                      Attributes
                      protected[akka]
                      Definition Classes
                      Actor
                      +
                    6. + + +

                      + + + def + + + aroundPostStop(): Unit + +

                      + + Permalink + + +
                      Attributes
                      protected[akka]
                      Definition Classes
                      Actor
                      +
                    7. + + +

                      + + + def + + + aroundPreRestart(reason: Throwable, message: Option[Any]): Unit + +

                      + + Permalink + + +
                      Attributes
                      protected[akka]
                      Definition Classes
                      Actor
                      +
                    8. + + +

                      + + + def + + + aroundPreStart(): Unit + +

                      + + Permalink + + +
                      Attributes
                      protected[akka]
                      Definition Classes
                      Actor
                      +
                    9. + + +

                      + + + def + + + aroundReceive(receive: akka.actor.Actor.Receive, msg: Any): Unit + +

                      + + Permalink + + +
                      Attributes
                      protected[akka]
                      Definition Classes
                      Actor
                      +
                    10. + + +

                      + + final + def + + + asInstanceOf[T0]: T0 + +

                      + + Permalink + + +
                      Definition Classes
                      Any
                      +
                    11. + + +

                      + + + def + + + clone(): AnyRef + +

                      + + Permalink + + +
                      Attributes
                      protected[java.lang]
                      Definition Classes
                      AnyRef
                      Annotations
                      + @throws( + + ... + ) + +
                      +
                    12. + + +

                      + + implicit + val + + + context: ActorContext + +

                      + + Permalink + + +
                      Definition Classes
                      Actor
                      +
                    13. + + +

                      + + final + def + + + eq(arg0: AnyRef): Boolean + +

                      + + Permalink + + +
                      Definition Classes
                      AnyRef
                      +
                    14. + + +

                      + + + def + + + equals(arg0: Any): Boolean + +

                      + + Permalink + + +
                      Definition Classes
                      AnyRef → Any
                      +
                    15. + + +

                      + + + def + + + finalize(): Unit + +

                      + + Permalink + + +
                      Attributes
                      protected[java.lang]
                      Definition Classes
                      AnyRef
                      Annotations
                      + @throws( + + classOf[java.lang.Throwable] + ) + +
                      +
                    16. + + +

                      + + final + def + + + getClass(): Class[_] + +

                      + + Permalink + + +
                      Definition Classes
                      AnyRef → Any
                      +
                    17. + + +

                      + + + def + + + hashCode(): Int + +

                      + + Permalink + + +
                      Definition Classes
                      AnyRef → Any
                      +
                    18. + + +

                      + + final + def + + + isInstanceOf[T0]: Boolean + +

                      + + Permalink + + +
                      Definition Classes
                      Any
                      +
                    19. + + +

                      + + + val + + + logger: Logger + +

                      + + Permalink + + +
                      Attributes
                      protected
                      Definition Classes
                      Logging
                      +
                    20. + + +

                      + + final + def + + + ne(arg0: AnyRef): Boolean + +

                      + + Permalink + + +
                      Definition Classes
                      AnyRef
                      +
                    21. + + +

                      + + final + def + + + notify(): Unit + +

                      + + Permalink + + +
                      Definition Classes
                      AnyRef
                      +
                    22. + + +

                      + + final + def + + + notifyAll(): Unit + +

                      + + Permalink + + +
                      Definition Classes
                      AnyRef
                      +
                    23. + + +

                      + + + def + + + postRestart(reason: Throwable): Unit + +

                      + + Permalink + + +
                      Definition Classes
                      Actor
                      Annotations
                      + @throws( + + classOf[java.lang.Exception] + ) + +
                      +
                    24. + + +

                      + + + def + + + postStop(): Unit + +

                      + + Permalink + + +
                      Definition Classes
                      OnDemandGenericControlActor → Actor
                      +
                    25. + + +

                      + + + def + + + preRestart(reason: Throwable, message: Option[Any]): Unit + +

                      + + Permalink + + +
                      Definition Classes
                      Actor
                      Annotations
                      + @throws( + + classOf[java.lang.Exception] + ) + +
                      +
                    26. + + +

                      + + + def + + + preStart(): Unit + +

                      + + Permalink + + +
                      Definition Classes
                      OnDemandGenericControlActor → Actor
                      +
                    27. + + +

                      + + + def + + + receive: akka.actor.Actor.Receive + +

                      + + Permalink + + +
                      Definition Classes
                      OnDemandGenericControlActor → Actor
                      +
                    28. + + +

                      + + + val + + + route: Route + +

                      + + Permalink + + + +
                    29. + + +

                      + + implicit final + val + + + self: ActorRef + +

                      + + Permalink + + +
                      Definition Classes
                      Actor
                      +
                    30. + + +

                      + + final + def + + + sender(): ActorRef + +

                      + + Permalink + + +
                      Definition Classes
                      Actor
                      +
                    31. + + +

                      + + + val + + + serviceStartTime: DateTime + +

                      + + Permalink + + + +
                    32. + + +

                      + + + def + + + supervisorStrategy: SupervisorStrategy + +

                      + + Permalink + + +
                      Definition Classes
                      Actor
                      +
                    33. + + +

                      + + final + def + + + synchronized[T0](arg0: ⇒ T0): T0 + +

                      + + Permalink + + +
                      Definition Classes
                      AnyRef
                      +
                    34. + + +

                      + + implicit + val + + + timeout: Timeout + +

                      + + Permalink + + + +
                    35. + + +

                      + + + def + + + toString(): String + +

                      + + Permalink + + +
                      Definition Classes
                      AnyRef → Any
                      +
                    36. + + +

                      + + + def + + + unhandled(message: Any): Unit + +

                      + + Permalink + + +
                      Definition Classes
                      Actor
                      +
                    37. + + +

                      + + final + def + + + wait(): Unit + +

                      + + Permalink + + +
                      Definition Classes
                      AnyRef
                      Annotations
                      + @throws( + + ... + ) + +
                      +
                    38. + + +

                      + + final + def + + + wait(arg0: Long, arg1: Int): Unit + +

                      + + Permalink + + +
                      Definition Classes
                      AnyRef
                      Annotations
                      + @throws( + + ... + ) + +
                      +
                    39. + + +

                      + + final + def + + + wait(arg0: Long): Unit + +

                      + + Permalink + + +
                      Definition Classes
                      AnyRef
                      Annotations
                      + @throws( + + ... + ) + +
                      +
                    +
                    + + + + +
                    + +
                    +
                    +

                    Inherited from Logging

                    +
                    +

                    Inherited from Actor

                    +
                    +

                    Inherited from AnyRef

                    +
                    +

                    Inherited from Any

                    +
                    + +
                    + +
                    +
                    +

                    Ungrouped

                    + +
                    +
                    + +
                    + +
                    + + + + + + diff --git a/manual1903/api_reference/component-pipe/scaladocs/ksb/csle/component/pipe/controller/actor/package.html b/manual1903/api_reference/component-pipe/scaladocs/ksb/csle/component/pipe/controller/actor/package.html new file mode 100644 index 0000000000000000000000000000000000000000..bf1f415fdeedea8692774f1193d20bdae81023aa --- /dev/null +++ b/manual1903/api_reference/component-pipe/scaladocs/ksb/csle/component/pipe/controller/actor/package.html @@ -0,0 +1,207 @@ + + + + actor - KSB COMPONENT-PIPE Scala App Project 1.0-SNAPSHOT API - ksb.csle.component.pipe.controller.actor + + + + + + + + + + + + + + + + + +

                    + + + package + + + actor + +

                    + +
                    + + +
                    +
                    + + +
                    + Visibility +
                    1. Public
                    2. All
                    +
                    +
                    + +
                    +
                    + + +
                    +

                    Type Members

                    +
                    1. + + +

                      + + abstract + class + + + AbstractGenericOnDemandRestfulControlActor[T] extends Actor with Logging + +

                      + + Permalink + + + +
                    2. + + +

                      + + + class + + + CompositeServingActor[T] extends AbstractGenericOnDemandRestfulControlActor[T] + +

                      + + Permalink + + + +
                    3. + + +

                      + + + class + + + EnsembleServingActor[T] extends AbstractGenericOnDemandRestfulControlActor[T] + +

                      + + Permalink + + + +
                    4. + + +

                      + + final + class + + + KafkaSender extends AnyRef + +

                      + + Permalink + + + +
                    5. + + +

                      + + + class + + + OnDemandGenericControlActor extends Actor with Logging + +

                      + + Permalink + + +

                      :: Experimental ::

                      :: Experimental ::

                      Actor that receives query and starts to control when it is requested. +

                      +
                    +
                    + + + +
                    +

                    Value Members

                    +
                    1. + + +

                      + + + object + + + KafkaSender + +

                      + + Permalink + + + +
                    +
                    + + + + +
                    + +
                    + + +
                    + +
                    +
                    +

                    Ungrouped

                    + +
                    +
                    + +
                    + +
                    + + + + + + diff --git a/manual1903/api_reference/component-pipe/scaladocs/ksb/csle/component/pipe/controller/package.html b/manual1903/api_reference/component-pipe/scaladocs/ksb/csle/component/pipe/controller/package.html new file mode 100644 index 0000000000000000000000000000000000000000..1dc23388f0d7c5d822a310d03ffa93f3d7a3e832 --- /dev/null +++ b/manual1903/api_reference/component-pipe/scaladocs/ksb/csle/component/pipe/controller/package.html @@ -0,0 +1,211 @@ + + + + controller - KSB COMPONENT-PIPE Scala App Project 1.0-SNAPSHOT API - ksb.csle.component.pipe.controller + + + + + + + + + + + + + + + +
                    + Package +

                    ksb.csle.component.pipe

                    +

                    controller

                    + + Permalink + + +
                    + +

                    + + + package + + + controller + +

                    + +
                    + + +
                    +
                    + + +
                    + Visibility +
                    1. Public
                    2. All
                    +
                    +
                    + +
                    +
                    + + +
                    +

                    Type Members

                    +
                    1. + + +

                      + + abstract + class + + + AbstractGenericOnDemandRestfulController[T] extends BaseQueryWoReaderPipeController[(BaseRouteContext[T]) ⇒ BaseRouteContext[T], BaseRouteContext[T], BaseRouteContext[T], OnDemandControllerInfo, ActorSystem] + +

                      + + Permalink + + + +
                    2. + + +

                      + + + class + + + OnDemandCompositeServingRestfulController[T] extends AbstractGenericOnDemandRestfulController[T] + +

                      + + Permalink + + +

                      :: Experimental ::

                      :: Experimental ::

                      Controller that manipulates restful query operators. +

                      +
                    3. + + +

                      + + + class + + + OnDemandGenericController extends BaseQueryPipeController[DeviceCtxCtlCase, DeviceCtxCtlCase, DeviceCtxCtlCase, OnDemandControllerInfo, ActorSystem] + +

                      + + Permalink + + +

                      :: Experimental ::

                      :: Experimental ::

                      Controller that manipulate reader, operator, and writer handles +when it is requested. +

                      +
                    4. + + +

                      + + + class + + + StreamingGenericController extends BasGenericePipeController[DataFrame, DataFrame, StreamingQuery, Message, SparkSession] + +

                      + + Permalink + + +

                      :: ApplicationDeveloperApi ::

                      :: ApplicationDeveloperApi ::

                      Controller that manipulate reader, operator, and writer handles +when engine starts. +

                      +
                    +
                    + + + +
                    +

                    Value Members

                    +
                    1. + + +

                      + + + package + + + actor + +

                      + + Permalink + + + +
                    2. + + +

                      + + + package + + + vo + +

                      + + Permalink + + + +
                    +
                    + + + + +
                    + +
                    + + +
                    + +
                    +
                    +

                    Ungrouped

                    + +
                    +
                    + +
                    + +
                    + + + + + + diff --git a/manual1903/api_reference/component-pipe/scaladocs/ksb/csle/component/pipe/controller/vo/BaseCase.html b/manual1903/api_reference/component-pipe/scaladocs/ksb/csle/component/pipe/controller/vo/BaseCase.html new file mode 100644 index 0000000000000000000000000000000000000000..0a6f46a0b867a7e454b4238a027ebf2488f415d5 --- /dev/null +++ b/manual1903/api_reference/component-pipe/scaladocs/ksb/csle/component/pipe/controller/vo/BaseCase.html @@ -0,0 +1,583 @@ + + + + BaseCase - KSB COMPONENT-PIPE Scala App Project 1.0-SNAPSHOT API - ksb.csle.component.pipe.controller.vo.BaseCase + + + + + + + + + + + + + + + +
                    + Trait +

                    ksb.csle.component.pipe.controller.vo

                    +

                    BaseCase

                    Related Doc: + package vo +

                    + + Permalink + + +
                    + +

                    + + + trait + + + BaseCase extends BaseDoer with BaseParam + +

                    + +
                    + Linear Supertypes +
                    BaseParam, BaseDoer, Logging, Serializable, Serializable, AnyRef, Any
                    +
                    + Known Subclasses + +
                    + + +
                    +
                    +
                    + Ordering +
                      + +
                    1. Alphabetic
                    2. +
                    3. By Inheritance
                    4. +
                    +
                    +
                    + Inherited
                    +
                    +
                      +
                    1. BaseCase
                    2. BaseParam
                    3. BaseDoer
                    4. Logging
                    5. Serializable
                    6. Serializable
                    7. AnyRef
                    8. Any
                    9. +
                    +
                    + +
                      +
                    1. Hide All
                    2. +
                    3. Show All
                    4. +
                    +
                    +
                    + Visibility +
                    1. Public
                    2. All
                    +
                    +
                    + +
                    +
                    + + + + +
                    +

                    Abstract Value Members

                    +
                    1. + + +

                      + + abstract + def + + + data: Option[String] + +

                      + + Permalink + + + +
                    2. + + +

                      + + abstract + def + + + input: Option[String] + +

                      + + Permalink + + + +
                    3. + + +

                      + + abstract + def + + + output: Option[String] + +

                      + + Permalink + + + +
                    4. + + +

                      + + abstract + def + + + route: Option[String] + +

                      + + Permalink + + + +
                    +
                    + +
                    +

                    Concrete Value Members

                    +
                    1. + + +

                      + + final + def + + + !=(arg0: Any): Boolean + +

                      + + Permalink + + +
                      Definition Classes
                      AnyRef → Any
                      +
                    2. + + +

                      + + final + def + + + ##(): Int + +

                      + + Permalink + + +
                      Definition Classes
                      AnyRef → Any
                      +
                    3. + + +

                      + + final + def + + + ==(arg0: Any): Boolean + +

                      + + Permalink + + +
                      Definition Classes
                      AnyRef → Any
                      +
                    4. + + +

                      + + final + def + + + asInstanceOf[T0]: T0 + +

                      + + Permalink + + +
                      Definition Classes
                      Any
                      +
                    5. + + +

                      + + + def + + + clone(): AnyRef + +

                      + + Permalink + + +
                      Attributes
                      protected[java.lang]
                      Definition Classes
                      AnyRef
                      Annotations
                      + @throws( + + ... + ) + +
                      +
                    6. + + +

                      + + final + def + + + eq(arg0: AnyRef): Boolean + +

                      + + Permalink + + +
                      Definition Classes
                      AnyRef
                      +
                    7. + + +

                      + + + def + + + equals(arg0: Any): Boolean + +

                      + + Permalink + + +
                      Definition Classes
                      AnyRef → Any
                      +
                    8. + + +

                      + + + def + + + finalize(): Unit + +

                      + + Permalink + + +
                      Attributes
                      protected[java.lang]
                      Definition Classes
                      AnyRef
                      Annotations
                      + @throws( + + classOf[java.lang.Throwable] + ) + +
                      +
                    9. + + +

                      + + final + def + + + getClass(): Class[_] + +

                      + + Permalink + + +
                      Definition Classes
                      AnyRef → Any
                      +
                    10. + + +

                      + + + def + + + hashCode(): Int + +

                      + + Permalink + + +
                      Definition Classes
                      AnyRef → Any
                      +
                    11. + + +

                      + + final + def + + + isInstanceOf[T0]: Boolean + +

                      + + Permalink + + +
                      Definition Classes
                      Any
                      +
                    12. + + +

                      + + + val + + + logger: Logger + +

                      + + Permalink + + +
                      Attributes
                      protected
                      Definition Classes
                      Logging
                      +
                    13. + + +

                      + + final + def + + + ne(arg0: AnyRef): Boolean + +

                      + + Permalink + + +
                      Definition Classes
                      AnyRef
                      +
                    14. + + +

                      + + final + def + + + notify(): Unit + +

                      + + Permalink + + +
                      Definition Classes
                      AnyRef
                      +
                    15. + + +

                      + + final + def + + + notifyAll(): Unit + +

                      + + Permalink + + +
                      Definition Classes
                      AnyRef
                      +
                    16. + + +

                      + + final + def + + + synchronized[T0](arg0: ⇒ T0): T0 + +

                      + + Permalink + + +
                      Definition Classes
                      AnyRef
                      +
                    17. + + +

                      + + + def + + + toString(): String + +

                      + + Permalink + + +
                      Definition Classes
                      AnyRef → Any
                      +
                    18. + + +

                      + + final + def + + + wait(): Unit + +

                      + + Permalink + + +
                      Definition Classes
                      AnyRef
                      Annotations
                      + @throws( + + ... + ) + +
                      +
                    19. + + +

                      + + final + def + + + wait(arg0: Long, arg1: Int): Unit + +

                      + + Permalink + + +
                      Definition Classes
                      AnyRef
                      Annotations
                      + @throws( + + ... + ) + +
                      +
                    20. + + +

                      + + final + def + + + wait(arg0: Long): Unit + +

                      + + Permalink + + +
                      Definition Classes
                      AnyRef
                      Annotations
                      + @throws( + + ... + ) + +
                      +
                    +
                    + + + + +
                    + +
                    +
                    +

                    Inherited from BaseParam

                    +
                    +

                    Inherited from BaseDoer

                    +
                    +

                    Inherited from Logging

                    +
                    +

                    Inherited from Serializable

                    +
                    +

                    Inherited from Serializable

                    +
                    +

                    Inherited from AnyRef

                    +
                    +

                    Inherited from Any

                    +
                    + +
                    + +
                    +
                    +

                    Ungrouped

                    + +
                    +
                    + +
                    + +
                    + + + + + + diff --git a/manual1903/api_reference/component-pipe/scaladocs/ksb/csle/component/pipe/controller/vo/BaseCumulativeCase.html b/manual1903/api_reference/component-pipe/scaladocs/ksb/csle/component/pipe/controller/vo/BaseCumulativeCase.html new file mode 100644 index 0000000000000000000000000000000000000000..5c50eed698885f4ec31b5c1d3285d4563e93d150 --- /dev/null +++ b/manual1903/api_reference/component-pipe/scaladocs/ksb/csle/component/pipe/controller/vo/BaseCumulativeCase.html @@ -0,0 +1,583 @@ + + + + BaseCumulativeCase - KSB COMPONENT-PIPE Scala App Project 1.0-SNAPSHOT API - ksb.csle.component.pipe.controller.vo.BaseCumulativeCase + + + + + + + + + + + + + + + +
                    + Trait +

                    ksb.csle.component.pipe.controller.vo

                    +

                    BaseCumulativeCase

                    Related Doc: + package vo +

                    + + Permalink + + +
                    + +

                    + + + trait + + + BaseCumulativeCase extends BaseDoer with BaseParam + +

                    + +
                    + Linear Supertypes +
                    BaseParam, BaseDoer, Logging, Serializable, Serializable, AnyRef, Any
                    +
                    + Known Subclasses + +
                    + + +
                    +
                    +
                    + Ordering +
                      + +
                    1. Alphabetic
                    2. +
                    3. By Inheritance
                    4. +
                    +
                    +
                    + Inherited
                    +
                    +
                      +
                    1. BaseCumulativeCase
                    2. BaseParam
                    3. BaseDoer
                    4. Logging
                    5. Serializable
                    6. Serializable
                    7. AnyRef
                    8. Any
                    9. +
                    +
                    + +
                      +
                    1. Hide All
                    2. +
                    3. Show All
                    4. +
                    +
                    +
                    + Visibility +
                    1. Public
                    2. All
                    +
                    +
                    + +
                    +
                    + + + + +
                    +

                    Abstract Value Members

                    +
                    1. + + +

                      + + abstract + def + + + data: Option[Array[String]] + +

                      + + Permalink + + + +
                    2. + + +

                      + + abstract + def + + + input: Option[Array[String]] + +

                      + + Permalink + + + +
                    3. + + +

                      + + abstract + def + + + output: Option[Array[String]] + +

                      + + Permalink + + + +
                    4. + + +

                      + + abstract + def + + + route: Option[String] + +

                      + + Permalink + + + +
                    +
                    + +
                    +

                    Concrete Value Members

                    +
                    1. + + +

                      + + final + def + + + !=(arg0: Any): Boolean + +

                      + + Permalink + + +
                      Definition Classes
                      AnyRef → Any
                      +
                    2. + + +

                      + + final + def + + + ##(): Int + +

                      + + Permalink + + +
                      Definition Classes
                      AnyRef → Any
                      +
                    3. + + +

                      + + final + def + + + ==(arg0: Any): Boolean + +

                      + + Permalink + + +
                      Definition Classes
                      AnyRef → Any
                      +
                    4. + + +

                      + + final + def + + + asInstanceOf[T0]: T0 + +

                      + + Permalink + + +
                      Definition Classes
                      Any
                      +
                    5. + + +

                      + + + def + + + clone(): AnyRef + +

                      + + Permalink + + +
                      Attributes
                      protected[java.lang]
                      Definition Classes
                      AnyRef
                      Annotations
                      + @throws( + + ... + ) + +
                      +
                    6. + + +

                      + + final + def + + + eq(arg0: AnyRef): Boolean + +

                      + + Permalink + + +
                      Definition Classes
                      AnyRef
                      +
                    7. + + +

                      + + + def + + + equals(arg0: Any): Boolean + +

                      + + Permalink + + +
                      Definition Classes
                      AnyRef → Any
                      +
                    8. + + +

                      + + + def + + + finalize(): Unit + +

                      + + Permalink + + +
                      Attributes
                      protected[java.lang]
                      Definition Classes
                      AnyRef
                      Annotations
                      + @throws( + + classOf[java.lang.Throwable] + ) + +
                      +
                    9. + + +

                      + + final + def + + + getClass(): Class[_] + +

                      + + Permalink + + +
                      Definition Classes
                      AnyRef → Any
                      +
                    10. + + +

                      + + + def + + + hashCode(): Int + +

                      + + Permalink + + +
                      Definition Classes
                      AnyRef → Any
                      +
                    11. + + +

                      + + final + def + + + isInstanceOf[T0]: Boolean + +

                      + + Permalink + + +
                      Definition Classes
                      Any
                      +
                    12. + + +

                      + + + val + + + logger: Logger + +

                      + + Permalink + + +
                      Attributes
                      protected
                      Definition Classes
                      Logging
                      +
                    13. + + +

                      + + final + def + + + ne(arg0: AnyRef): Boolean + +

                      + + Permalink + + +
                      Definition Classes
                      AnyRef
                      +
                    14. + + +

                      + + final + def + + + notify(): Unit + +

                      + + Permalink + + +
                      Definition Classes
                      AnyRef
                      +
                    15. + + +

                      + + final + def + + + notifyAll(): Unit + +

                      + + Permalink + + +
                      Definition Classes
                      AnyRef
                      +
                    16. + + +

                      + + final + def + + + synchronized[T0](arg0: ⇒ T0): T0 + +

                      + + Permalink + + +
                      Definition Classes
                      AnyRef
                      +
                    17. + + +

                      + + + def + + + toString(): String + +

                      + + Permalink + + +
                      Definition Classes
                      AnyRef → Any
                      +
                    18. + + +

                      + + final + def + + + wait(): Unit + +

                      + + Permalink + + +
                      Definition Classes
                      AnyRef
                      Annotations
                      + @throws( + + ... + ) + +
                      +
                    19. + + +

                      + + final + def + + + wait(arg0: Long, arg1: Int): Unit + +

                      + + Permalink + + +
                      Definition Classes
                      AnyRef
                      Annotations
                      + @throws( + + ... + ) + +
                      +
                    20. + + +

                      + + final + def + + + wait(arg0: Long): Unit + +

                      + + Permalink + + +
                      Definition Classes
                      AnyRef
                      Annotations
                      + @throws( + + ... + ) + +
                      +
                    +
                    + + + + +
                    + +
                    +
                    +

                    Inherited from BaseParam

                    +
                    +

                    Inherited from BaseDoer

                    +
                    +

                    Inherited from Logging

                    +
                    +

                    Inherited from Serializable

                    +
                    +

                    Inherited from Serializable

                    +
                    +

                    Inherited from AnyRef

                    +
                    +

                    Inherited from Any

                    +
                    + +
                    + +
                    +
                    +

                    Ungrouped

                    + +
                    +
                    + +
                    + +
                    + + + + + + diff --git a/manual1903/api_reference/component-pipe/scaladocs/ksb/csle/component/pipe/controller/vo/CumulativeContext.html b/manual1903/api_reference/component-pipe/scaladocs/ksb/csle/component/pipe/controller/vo/CumulativeContext.html new file mode 100644 index 0000000000000000000000000000000000000000..f2180fdc0e867b8d6d23931950c41043a64fc1ac --- /dev/null +++ b/manual1903/api_reference/component-pipe/scaladocs/ksb/csle/component/pipe/controller/vo/CumulativeContext.html @@ -0,0 +1,926 @@ + + + + CumulativeContext - KSB COMPONENT-PIPE Scala App Project 1.0-SNAPSHOT API - ksb.csle.component.pipe.controller.vo.CumulativeContext + + + + + + + + + + + + + + + +
                    + Class +

                    ksb.csle.component.pipe.controller.vo

                    +

                    CumulativeContext

                    Related Doc: + package vo +

                    + + Permalink + + +
                    + +

                    + + + class + + + CumulativeContext extends BaseCumulativeContext[EnsembleCase, String, Double] + +

                    + +
                    + Linear Supertypes +
                    BaseCumulativeContext[EnsembleCase, String, Double], BaseRouteContext[EnsembleCase], BaseContext[EnsembleCase], BaseParam, BaseDoer, Logging, Serializable, Serializable, AnyRef, Any
                    +
                    + + +
                    +
                    +
                    + Ordering +
                      + +
                    1. Alphabetic
                    2. +
                    3. By Inheritance
                    4. +
                    +
                    +
                    + Inherited
                    +
                    +
                      +
                    1. CumulativeContext
                    2. BaseCumulativeContext
                    3. BaseRouteContext
                    4. BaseContext
                    5. BaseParam
                    6. BaseDoer
                    7. Logging
                    8. Serializable
                    9. Serializable
                    10. AnyRef
                    11. Any
                    12. +
                    +
                    + +
                      +
                    1. Hide All
                    2. +
                    3. Show All
                    4. +
                    +
                    +
                    + Visibility +
                    1. Public
                    2. All
                    +
                    +
                    + +
                    +
                    +
                    +

                    Instance Constructors

                    +
                    1. + + +

                      + + + new + + + CumulativeContext(yourCtxStr: String)(implicit ev: JsonReader[EnsembleCase]) + +

                      + + Permalink + + + +
                    2. + + +

                      + + + new + + + CumulativeContext(myCtxCase: EnsembleCase) + +

                      + + Permalink + + + +
                    +
                    + + + + + +
                    +

                    Value Members

                    +
                    1. + + +

                      + + final + def + + + !=(arg0: Any): Boolean + +

                      + + Permalink + + +
                      Definition Classes
                      AnyRef → Any
                      +
                    2. + + +

                      + + final + def + + + ##(): Int + +

                      + + Permalink + + +
                      Definition Classes
                      AnyRef → Any
                      +
                    3. + + +

                      + + final + def + + + ==(arg0: Any): Boolean + +

                      + + Permalink + + +
                      Definition Classes
                      AnyRef → Any
                      +
                    4. + + +

                      + + + def + + + aggregateAnd(items: Array[Double]): Double + +

                      + + Permalink + + +
                      Definition Classes
                      CumulativeContext → BaseCumulativeContext
                      +
                    5. + + +

                      + + + def + + + aggregateAvg(items: Array[Double]): Double + +

                      + + Permalink + + +
                      Definition Classes
                      CumulativeContext → BaseCumulativeContext
                      +
                    6. + + +

                      + + + def + + + aggregateData(data: Array[String], method: Method, parser: (String) ⇒ Array[Double])(implicit ev1: ClassTag[String], ev2: ClassTag[Double]): Array[String] + +

                      + + Permalink + + +
                      Attributes
                      protected
                      Definition Classes
                      BaseCumulativeContext
                      +
                    7. + + +

                      + + + def + + + aggregateMax(items: Array[Double]): Double + +

                      + + Permalink + + +
                      Definition Classes
                      CumulativeContext → BaseCumulativeContext
                      +
                    8. + + +

                      + + + def + + + aggregateMin(items: Array[Double]): Double + +

                      + + Permalink + + +
                      Definition Classes
                      CumulativeContext → BaseCumulativeContext
                      +
                    9. + + +

                      + + + def + + + aggregateOr(items: Array[Double]): Double + +

                      + + Permalink + + +
                      Definition Classes
                      CumulativeContext → BaseCumulativeContext
                      +
                    10. + + +

                      + + + def + + + aggregateOutput(method: Method, parser: (String) ⇒ Array[Double]): BaseCumulativeContext[EnsembleCase, String, Double] + +

                      + + Permalink + + +
                      Definition Classes
                      CumulativeContext → BaseCumulativeContext
                      +
                    11. + + +

                      + + + def + + + aggregateSum(items: Array[Double]): Double + +

                      + + Permalink + + +
                      Definition Classes
                      CumulativeContext → BaseCumulativeContext
                      +
                    12. + + +

                      + + + def + + + appendOutput(output: Option[String]): Unit + +

                      + + Permalink + + +
                      Definition Classes
                      CumulativeContext → BaseCumulativeContext
                      +
                    13. + + +

                      + + final + def + + + asInstanceOf[T0]: T0 + +

                      + + Permalink + + +
                      Definition Classes
                      Any
                      +
                    14. + + +

                      + + + def + + + clone(): AnyRef + +

                      + + Permalink + + +
                      Attributes
                      protected[java.lang]
                      Definition Classes
                      AnyRef
                      Annotations
                      + @throws( + + ... + ) + +
                      +
                    15. + + +

                      + + + def + + + copy: CumulativeContext + +

                      + + Permalink + + +
                      Definition Classes
                      CumulativeContext → BaseRouteContext
                      +
                    16. + + +

                      + + final + def + + + eq(arg0: AnyRef): Boolean + +

                      + + Permalink + + +
                      Definition Classes
                      AnyRef
                      +
                    17. + + +

                      + + + def + + + equals(arg0: Any): Boolean + +

                      + + Permalink + + +
                      Definition Classes
                      AnyRef → Any
                      +
                    18. + + +

                      + + + def + + + finalize(): Unit + +

                      + + Permalink + + +
                      Attributes
                      protected[java.lang]
                      Definition Classes
                      AnyRef
                      Annotations
                      + @throws( + + classOf[java.lang.Throwable] + ) + +
                      +
                    19. + + +

                      + + final + def + + + getClass(): Class[_] + +

                      + + Permalink + + +
                      Definition Classes
                      AnyRef → Any
                      +
                    20. + + +

                      + + + def + + + getData(): Option[String] + +

                      + + Permalink + + +
                      Definition Classes
                      CumulativeContext → BaseRouteContext
                      +
                    21. + + +

                      + + + def + + + getInput(): Some[String] + +

                      + + Permalink + + +
                      Definition Classes
                      CumulativeContext → BaseRouteContext
                      +
                    22. + + +

                      + + + def + + + getOutput(): Option[String] + +

                      + + Permalink + + +
                      Definition Classes
                      CumulativeContext → BaseRouteContext
                      +
                    23. + + +

                      + + + def + + + getOutputList(): Option[String] + +

                      + + Permalink + + +
                      Definition Classes
                      CumulativeContext → BaseRouteContext
                      +
                    24. + + +

                      + + + def + + + getRoute(): Option[String] + +

                      + + Permalink + + +
                      Definition Classes
                      CumulativeContext → BaseRouteContext
                      +
                    25. + + +

                      + + + def + + + hashCode(): Int + +

                      + + Permalink + + +
                      Definition Classes
                      AnyRef → Any
                      +
                    26. + + +

                      + + final + def + + + isInstanceOf[T0]: Boolean + +

                      + + Permalink + + +
                      Definition Classes
                      Any
                      +
                    27. + + +

                      + + + val + + + logger: Logger + +

                      + + Permalink + + +
                      Attributes
                      protected
                      Definition Classes
                      Logging
                      +
                    28. + + +

                      + + + val + + + myCtxCase: EnsembleCase + +

                      + + Permalink + + +
                      Definition Classes
                      CumulativeContext → BaseCumulativeContext → BaseRouteContext
                      +
                    29. + + +

                      + + final + def + + + ne(arg0: AnyRef): Boolean + +

                      + + Permalink + + +
                      Definition Classes
                      AnyRef
                      +
                    30. + + +

                      + + final + def + + + notify(): Unit + +

                      + + Permalink + + +
                      Definition Classes
                      AnyRef
                      +
                    31. + + +

                      + + final + def + + + notifyAll(): Unit + +

                      + + Permalink + + +
                      Definition Classes
                      AnyRef
                      +
                    32. + + +

                      + + + def + + + setData(data: Option[String]): Unit + +

                      + + Permalink + + +
                      Definition Classes
                      CumulativeContext → BaseRouteContext
                      +
                    33. + + +

                      + + + def + + + setInput(input: Option[String]): Unit + +

                      + + Permalink + + +
                      Definition Classes
                      CumulativeContext → BaseRouteContext
                      +
                    34. + + +

                      + + + def + + + setOutput(output: Option[String]): Unit + +

                      + + Permalink + + +
                      Definition Classes
                      CumulativeContext → BaseRouteContext
                      +
                    35. + + +

                      + + + def + + + setRoute(route: Option[String]): Unit + +

                      + + Permalink + + +
                      Definition Classes
                      CumulativeContext → BaseRouteContext
                      +
                    36. + + +

                      + + final + def + + + synchronized[T0](arg0: ⇒ T0): T0 + +

                      + + Permalink + + +
                      Definition Classes
                      AnyRef
                      +
                    37. + + +

                      + + + def + + + toCase(jsonStr: String): EnsembleCase + +

                      + + Permalink + + +
                      Definition Classes
                      CumulativeContext → BaseRouteContext
                      +
                    38. + + +

                      + + + def + + + toJsonString: String + +

                      + + Permalink + + +
                      Definition Classes
                      CumulativeContext → BaseRouteContext
                      +
                    39. + + +

                      + + + def + + + toString(): String + +

                      + + Permalink + + +
                      Definition Classes
                      AnyRef → Any
                      +
                    40. + + +

                      + + final + def + + + wait(): Unit + +

                      + + Permalink + + +
                      Definition Classes
                      AnyRef
                      Annotations
                      + @throws( + + ... + ) + +
                      +
                    41. + + +

                      + + final + def + + + wait(arg0: Long, arg1: Int): Unit + +

                      + + Permalink + + +
                      Definition Classes
                      AnyRef
                      Annotations
                      + @throws( + + ... + ) + +
                      +
                    42. + + +

                      + + final + def + + + wait(arg0: Long): Unit + +

                      + + Permalink + + +
                      Definition Classes
                      AnyRef
                      Annotations
                      + @throws( + + ... + ) + +
                      +
                    +
                    + + + + +
                    + +
                    +
                    +

                    Inherited from BaseCumulativeContext[EnsembleCase, String, Double]

                    +
                    +

                    Inherited from BaseRouteContext[EnsembleCase]

                    +
                    +

                    Inherited from BaseContext[EnsembleCase]

                    +
                    +

                    Inherited from BaseParam

                    +
                    +

                    Inherited from BaseDoer

                    +
                    +

                    Inherited from Logging

                    +
                    +

                    Inherited from Serializable

                    +
                    +

                    Inherited from Serializable

                    +
                    +

                    Inherited from AnyRef

                    +
                    +

                    Inherited from Any

                    +
                    + +
                    + +
                    +
                    +

                    Ungrouped

                    + +
                    +
                    + +
                    + +
                    + + + + + + diff --git a/manual1903/api_reference/component-pipe/scaladocs/ksb/csle/component/pipe/controller/vo/EnsembleCase.html b/manual1903/api_reference/component-pipe/scaladocs/ksb/csle/component/pipe/controller/vo/EnsembleCase.html new file mode 100644 index 0000000000000000000000000000000000000000..45c9c3ce15e4e85479f75039e5ea3ce459ee9e33 --- /dev/null +++ b/manual1903/api_reference/component-pipe/scaladocs/ksb/csle/component/pipe/controller/vo/EnsembleCase.html @@ -0,0 +1,552 @@ + + + + EnsembleCase - KSB COMPONENT-PIPE Scala App Project 1.0-SNAPSHOT API - ksb.csle.component.pipe.controller.vo.EnsembleCase + + + + + + + + + + + + + + + +
                    + Class +

                    ksb.csle.component.pipe.controller.vo

                    +

                    EnsembleCase

                    Related Doc: + package vo +

                    + + Permalink + + +
                    + +

                    + + sealed + case class + + + EnsembleCase(data: Option[Array[String]], route: Option[String], input: Option[Array[String]], output: Option[Array[String]]) extends BaseDoer with BaseCumulativeCase with Product with Serializable + +

                    + +
                    + Linear Supertypes +
                    Product, Equals, BaseCumulativeCase, BaseParam, BaseDoer, Logging, Serializable, Serializable, AnyRef, Any
                    +
                    + + +
                    +
                    +
                    + Ordering +
                      + +
                    1. Alphabetic
                    2. +
                    3. By Inheritance
                    4. +
                    +
                    +
                    + Inherited
                    +
                    +
                      +
                    1. EnsembleCase
                    2. Product
                    3. Equals
                    4. BaseCumulativeCase
                    5. BaseParam
                    6. BaseDoer
                    7. Logging
                    8. Serializable
                    9. Serializable
                    10. AnyRef
                    11. Any
                    12. +
                    +
                    + +
                      +
                    1. Hide All
                    2. +
                    3. Show All
                    4. +
                    +
                    +
                    + Visibility +
                    1. Public
                    2. All
                    +
                    +
                    + +
                    +
                    +
                    +

                    Instance Constructors

                    +
                    1. + + +

                      + + + new + + + EnsembleCase(data: Option[Array[String]], route: Option[String], input: Option[Array[String]], output: Option[Array[String]]) + +

                      + + Permalink + + + +
                    +
                    + + + + + +
                    +

                    Value Members

                    +
                    1. + + +

                      + + final + def + + + !=(arg0: Any): Boolean + +

                      + + Permalink + + +
                      Definition Classes
                      AnyRef → Any
                      +
                    2. + + +

                      + + final + def + + + ##(): Int + +

                      + + Permalink + + +
                      Definition Classes
                      AnyRef → Any
                      +
                    3. + + +

                      + + final + def + + + ==(arg0: Any): Boolean + +

                      + + Permalink + + +
                      Definition Classes
                      AnyRef → Any
                      +
                    4. + + +

                      + + final + def + + + asInstanceOf[T0]: T0 + +

                      + + Permalink + + +
                      Definition Classes
                      Any
                      +
                    5. + + +

                      + + + def + + + clone(): AnyRef + +

                      + + Permalink + + +
                      Attributes
                      protected[java.lang]
                      Definition Classes
                      AnyRef
                      Annotations
                      + @throws( + + ... + ) + +
                      +
                    6. + + +

                      + + + var + + + data: Option[Array[String]] + +

                      + + Permalink + + +
                      Definition Classes
                      EnsembleCaseBaseCumulativeCase
                      +
                    7. + + +

                      + + final + def + + + eq(arg0: AnyRef): Boolean + +

                      + + Permalink + + +
                      Definition Classes
                      AnyRef
                      +
                    8. + + +

                      + + + def + + + finalize(): Unit + +

                      + + Permalink + + +
                      Attributes
                      protected[java.lang]
                      Definition Classes
                      AnyRef
                      Annotations
                      + @throws( + + classOf[java.lang.Throwable] + ) + +
                      +
                    9. + + +

                      + + final + def + + + getClass(): Class[_] + +

                      + + Permalink + + +
                      Definition Classes
                      AnyRef → Any
                      +
                    10. + + +

                      + + + var + + + input: Option[Array[String]] + +

                      + + Permalink + + +
                      Definition Classes
                      EnsembleCaseBaseCumulativeCase
                      +
                    11. + + +

                      + + final + def + + + isInstanceOf[T0]: Boolean + +

                      + + Permalink + + +
                      Definition Classes
                      Any
                      +
                    12. + + +

                      + + + val + + + logger: Logger + +

                      + + Permalink + + +
                      Attributes
                      protected
                      Definition Classes
                      Logging
                      +
                    13. + + +

                      + + final + def + + + ne(arg0: AnyRef): Boolean + +

                      + + Permalink + + +
                      Definition Classes
                      AnyRef
                      +
                    14. + + +

                      + + final + def + + + notify(): Unit + +

                      + + Permalink + + +
                      Definition Classes
                      AnyRef
                      +
                    15. + + +

                      + + final + def + + + notifyAll(): Unit + +

                      + + Permalink + + +
                      Definition Classes
                      AnyRef
                      +
                    16. + + +

                      + + + var + + + output: Option[Array[String]] + +

                      + + Permalink + + +
                      Definition Classes
                      EnsembleCaseBaseCumulativeCase
                      +
                    17. + + +

                      + + + var + + + route: Option[String] + +

                      + + Permalink + + +
                      Definition Classes
                      EnsembleCaseBaseCumulativeCase
                      +
                    18. + + +

                      + + final + def + + + synchronized[T0](arg0: ⇒ T0): T0 + +

                      + + Permalink + + +
                      Definition Classes
                      AnyRef
                      +
                    19. + + +

                      + + final + def + + + wait(): Unit + +

                      + + Permalink + + +
                      Definition Classes
                      AnyRef
                      Annotations
                      + @throws( + + ... + ) + +
                      +
                    20. + + +

                      + + final + def + + + wait(arg0: Long, arg1: Int): Unit + +

                      + + Permalink + + +
                      Definition Classes
                      AnyRef
                      Annotations
                      + @throws( + + ... + ) + +
                      +
                    21. + + +

                      + + final + def + + + wait(arg0: Long): Unit + +

                      + + Permalink + + +
                      Definition Classes
                      AnyRef
                      Annotations
                      + @throws( + + ... + ) + +
                      +
                    +
                    + + + + +
                    + +
                    +
                    +

                    Inherited from Product

                    +
                    +

                    Inherited from Equals

                    +
                    +

                    Inherited from BaseCumulativeCase

                    +
                    +

                    Inherited from BaseParam

                    +
                    +

                    Inherited from BaseDoer

                    +
                    +

                    Inherited from Logging

                    +
                    +

                    Inherited from Serializable

                    +
                    +

                    Inherited from Serializable

                    +
                    +

                    Inherited from AnyRef

                    +
                    +

                    Inherited from Any

                    +
                    + +
                    + +
                    +
                    +

                    Ungrouped

                    + +
                    +
                    + +
                    + +
                    + + + + + + diff --git a/manual1903/api_reference/component-pipe/scaladocs/ksb/csle/component/pipe/controller/vo/MyJsonProtocol$.html b/manual1903/api_reference/component-pipe/scaladocs/ksb/csle/component/pipe/controller/vo/MyJsonProtocol$.html new file mode 100644 index 0000000000000000000000000000000000000000..92790c4d2a174d3b0186b53f2528b3974aa46bd2 --- /dev/null +++ b/manual1903/api_reference/component-pipe/scaladocs/ksb/csle/component/pipe/controller/vo/MyJsonProtocol$.html @@ -0,0 +1,2182 @@ + + + + MyJsonProtocol - KSB COMPONENT-PIPE Scala App Project 1.0-SNAPSHOT API - ksb.csle.component.pipe.controller.vo.MyJsonProtocol + + + + + + + + + + + + + + + +
                    + Object +

                    ksb.csle.component.pipe.controller.vo

                    +

                    MyJsonProtocol

                    Related Doc: + package vo +

                    + + Permalink + + +
                    + +

                    + + + object + + + MyJsonProtocol extends DefaultJsonProtocol + +

                    + +
                    + Linear Supertypes +
                    DefaultJsonProtocol, AdditionalFormats, ProductFormats, ProductFormatsInstances, CollectionFormats, StandardFormats, BasicFormats, AnyRef, Any
                    +
                    + + +
                    +
                    +
                    + Ordering +
                      + +
                    1. Alphabetic
                    2. +
                    3. By Inheritance
                    4. +
                    +
                    +
                    + Inherited
                    +
                    +
                      +
                    1. MyJsonProtocol
                    2. DefaultJsonProtocol
                    3. AdditionalFormats
                    4. ProductFormats
                    5. ProductFormatsInstances
                    6. CollectionFormats
                    7. StandardFormats
                    8. BasicFormats
                    9. AnyRef
                    10. Any
                    11. +
                    +
                    + +
                      +
                    1. Hide All
                    2. +
                    3. Show All
                    4. +
                    +
                    +
                    + Visibility +
                    1. Public
                    2. All
                    +
                    +
                    + +
                    +
                    + + +
                    +

                    Type Members

                    +
                    1. + + +

                      + + + class + + + OptionFormat[T] extends (StandardFormats.this)#JF[Option[T]] + +

                      + + Permalink + + +
                      Definition Classes
                      StandardFormats
                      +
                    +
                    + + + +
                    +

                    Value Members

                    +
                    1. + + +

                      + + final + def + + + !=(arg0: Any): Boolean + +

                      + + Permalink + + +
                      Definition Classes
                      AnyRef → Any
                      +
                    2. + + +

                      + + final + def + + + ##(): Int + +

                      + + Permalink + + +
                      Definition Classes
                      AnyRef → Any
                      +
                    3. + + +

                      + + final + def + + + ==(arg0: Any): Boolean + +

                      + + Permalink + + +
                      Definition Classes
                      AnyRef → Any
                      +
                    4. + + +

                      + + implicit + object + + + BigDecimalJsonFormat extends JsonFormat[BigDecimal] + +

                      + + Permalink + + +
                      Definition Classes
                      BasicFormats
                      +
                    5. + + +

                      + + implicit + object + + + BigIntJsonFormat extends JsonFormat[BigInt] + +

                      + + Permalink + + +
                      Definition Classes
                      BasicFormats
                      +
                    6. + + +

                      + + implicit + object + + + BooleanJsonFormat extends JsonFormat[Boolean] + +

                      + + Permalink + + +
                      Definition Classes
                      BasicFormats
                      +
                    7. + + +

                      + + implicit + object + + + ByteJsonFormat extends JsonFormat[Byte] + +

                      + + Permalink + + +
                      Definition Classes
                      BasicFormats
                      +
                    8. + + +

                      + + implicit + object + + + CharJsonFormat extends JsonFormat[Char] + +

                      + + Permalink + + +
                      Definition Classes
                      BasicFormats
                      +
                    9. + + +

                      + + implicit + object + + + DoubleJsonFormat extends JsonFormat[Double] + +

                      + + Permalink + + +
                      Definition Classes
                      BasicFormats
                      +
                    10. + + +

                      + + implicit + val + + + EnsembleCaseFormat: RootJsonFormat[EnsembleCase] + +

                      + + Permalink + + + +
                    11. + + +

                      + + implicit + object + + + FloatJsonFormat extends JsonFormat[Float] + +

                      + + Permalink + + +
                      Definition Classes
                      BasicFormats
                      +
                    12. + + +

                      + + implicit + object + + + IntJsonFormat extends JsonFormat[Int] + +

                      + + Permalink + + +
                      Definition Classes
                      BasicFormats
                      +
                    13. + + +

                      + + implicit + object + + + JsValueFormat extends JsonFormat[JsValue] + +

                      + + Permalink + + +
                      Definition Classes
                      AdditionalFormats
                      +
                    14. + + +

                      + + implicit + object + + + LongJsonFormat extends JsonFormat[Long] + +

                      + + Permalink + + +
                      Definition Classes
                      BasicFormats
                      +
                    15. + + +

                      + + implicit + object + + + RootJsArrayFormat extends RootJsonFormat[JsArray] + +

                      + + Permalink + + +
                      Definition Classes
                      AdditionalFormats
                      +
                    16. + + +

                      + + implicit + object + + + RootJsObjectFormat extends RootJsonFormat[JsObject] + +

                      + + Permalink + + +
                      Definition Classes
                      AdditionalFormats
                      +
                    17. + + +

                      + + implicit + object + + + ShortJsonFormat extends JsonFormat[Short] + +

                      + + Permalink + + +
                      Definition Classes
                      BasicFormats
                      +
                    18. + + +

                      + + implicit + object + + + StringJsonFormat extends JsonFormat[String] + +

                      + + Permalink + + +
                      Definition Classes
                      BasicFormats
                      +
                    19. + + +

                      + + implicit + object + + + SymbolJsonFormat extends JsonFormat[Symbol] + +

                      + + Permalink + + +
                      Definition Classes
                      BasicFormats
                      +
                    20. + + +

                      + + implicit + object + + + UnitJsonFormat extends JsonFormat[Unit] + +

                      + + Permalink + + +
                      Definition Classes
                      BasicFormats
                      +
                    21. + + +

                      + + implicit + def + + + arrayFormat[T](implicit arg0: JsonFormat[T], arg1: ClassManifest[T]): RootJsonFormat[Array[T]] { def write(array: Array[T]): spray.json.JsArray } + +

                      + + Permalink + + +
                      Definition Classes
                      CollectionFormats
                      +
                    22. + + +

                      + + final + def + + + asInstanceOf[T0]: T0 + +

                      + + Permalink + + +
                      Definition Classes
                      Any
                      +
                    23. + + +

                      + + + def + + + clone(): AnyRef + +

                      + + Permalink + + +
                      Attributes
                      protected[java.lang]
                      Definition Classes
                      AnyRef
                      Annotations
                      + @throws( + + ... + ) + +
                      +
                    24. + + +

                      + + implicit + def + + + eitherFormat[A, B](implicit arg0: JF[A], arg1: JF[B]): JF[Either[A, B]] + +

                      + + Permalink + + +
                      Definition Classes
                      StandardFormats
                      +
                    25. + + +

                      + + final + def + + + eq(arg0: AnyRef): Boolean + +

                      + + Permalink + + +
                      Definition Classes
                      AnyRef
                      +
                    26. + + +

                      + + + def + + + equals(arg0: Any): Boolean + +

                      + + Permalink + + +
                      Definition Classes
                      AnyRef → Any
                      +
                    27. + + +

                      + + + def + + + extractFieldNames(classManifest: ClassManifest[_]): Array[String] + +

                      + + Permalink + + +
                      Attributes
                      protected
                      Definition Classes
                      ProductFormats
                      +
                    28. + + +

                      + + + def + + + finalize(): Unit + +

                      + + Permalink + + +
                      Attributes
                      protected[java.lang]
                      Definition Classes
                      AnyRef
                      Annotations
                      + @throws( + + classOf[java.lang.Throwable] + ) + +
                      +
                    29. + + +

                      + + + def + + + fromField[T](value: JsValue, fieldName: String)(implicit reader: JsonReader[T]): T + +

                      + + Permalink + + +
                      Attributes
                      protected
                      Definition Classes
                      ProductFormats
                      +
                    30. + + +

                      + + final + def + + + getClass(): Class[_] + +

                      + + Permalink + + +
                      Definition Classes
                      AnyRef → Any
                      +
                    31. + + +

                      + + + def + + + hashCode(): Int + +

                      + + Permalink + + +
                      Definition Classes
                      AnyRef → Any
                      +
                    32. + + +

                      + + implicit + def + + + immIndexedSeqFormat[T](implicit arg0: JsonFormat[T]): RootJsonFormat[IndexedSeq[T]] + +

                      + + Permalink + + +
                      Definition Classes
                      CollectionFormats
                      +
                    33. + + +

                      + + implicit + def + + + immIterableFormat[T](implicit arg0: JsonFormat[T]): RootJsonFormat[Iterable[T]] + +

                      + + Permalink + + +
                      Definition Classes
                      CollectionFormats
                      +
                    34. + + +

                      + + implicit + def + + + immLinearSeqFormat[T](implicit arg0: JsonFormat[T]): RootJsonFormat[LinearSeq[T]] + +

                      + + Permalink + + +
                      Definition Classes
                      CollectionFormats
                      +
                    35. + + +

                      + + implicit + def + + + immSeqFormat[T](implicit arg0: JsonFormat[T]): RootJsonFormat[Seq[T]] + +

                      + + Permalink + + +
                      Definition Classes
                      CollectionFormats
                      +
                    36. + + +

                      + + implicit + def + + + immSetFormat[T](implicit arg0: JsonFormat[T]): RootJsonFormat[Set[T]] + +

                      + + Permalink + + +
                      Definition Classes
                      CollectionFormats
                      +
                    37. + + +

                      + + implicit + def + + + indexedSeqFormat[T](implicit arg0: JsonFormat[T]): RootJsonFormat[IndexedSeq[T]] + +

                      + + Permalink + + +
                      Definition Classes
                      CollectionFormats
                      +
                    38. + + +

                      + + final + def + + + isInstanceOf[T0]: Boolean + +

                      + + Permalink + + +
                      Definition Classes
                      Any
                      +
                    39. + + +

                      + + implicit + def + + + iterableFormat[T](implicit arg0: JsonFormat[T]): RootJsonFormat[Iterable[T]] + +

                      + + Permalink + + +
                      Definition Classes
                      CollectionFormats
                      +
                    40. + + +

                      + + + def + + + jsonFormat[T](reader: JsonReader[T], writer: JsonWriter[T]): JsonFormat[T] + +

                      + + Permalink + + +
                      Definition Classes
                      AdditionalFormats
                      +
                    41. + + +

                      + + + def + + + jsonFormat[P1, P2, P3, P4, P5, P6, P7, P8, P9, P10, P11, P12, P13, P14, P15, P16, P17, P18, P19, P20, P21, P22, T <: Product](construct: (P1, P2, P3, P4, P5, P6, P7, P8, P9, P10, P11, P12, P13, P14, P15, P16, P17, P18, P19, P20, P21, P22) ⇒ T, fieldName1: String, fieldName2: String, fieldName3: String, fieldName4: String, fieldName5: String, fieldName6: String, fieldName7: String, fieldName8: String, fieldName9: String, fieldName10: String, fieldName11: String, fieldName12: String, fieldName13: String, fieldName14: String, fieldName15: String, fieldName16: String, fieldName17: String, fieldName18: String, fieldName19: String, fieldName20: String, fieldName21: String, fieldName22: String)(implicit arg0: JF[P1], arg1: JF[P2], arg2: JF[P3], arg3: JF[P4], arg4: JF[P5], arg5: JF[P6], arg6: JF[P7], arg7: JF[P8], arg8: JF[P9], arg9: JF[P10], arg10: JF[P11], arg11: JF[P12], arg12: JF[P13], arg13: JF[P14], arg14: JF[P15], arg15: JF[P16], arg16: JF[P17], arg17: JF[P18], arg18: JF[P19], arg19: JF[P20], arg20: JF[P21], arg21: JF[P22]): RootJsonFormat[T] + +

                      + + Permalink + + +
                      Definition Classes
                      ProductFormatsInstances
                      +
                    42. + + +

                      + + + def + + + jsonFormat[P1, P2, P3, P4, P5, P6, P7, P8, P9, P10, P11, P12, P13, P14, P15, P16, P17, P18, P19, P20, P21, T <: Product](construct: (P1, P2, P3, P4, P5, P6, P7, P8, P9, P10, P11, P12, P13, P14, P15, P16, P17, P18, P19, P20, P21) ⇒ T, fieldName1: String, fieldName2: String, fieldName3: String, fieldName4: String, fieldName5: String, fieldName6: String, fieldName7: String, fieldName8: String, fieldName9: String, fieldName10: String, fieldName11: String, fieldName12: String, fieldName13: String, fieldName14: String, fieldName15: String, fieldName16: String, fieldName17: String, fieldName18: String, fieldName19: String, fieldName20: String, fieldName21: String)(implicit arg0: JF[P1], arg1: JF[P2], arg2: JF[P3], arg3: JF[P4], arg4: JF[P5], arg5: JF[P6], arg6: JF[P7], arg7: JF[P8], arg8: JF[P9], arg9: JF[P10], arg10: JF[P11], arg11: JF[P12], arg12: JF[P13], arg13: JF[P14], arg14: JF[P15], arg15: JF[P16], arg16: JF[P17], arg17: JF[P18], arg18: JF[P19], arg19: JF[P20], arg20: JF[P21]): RootJsonFormat[T] + +

                      + + Permalink + + +
                      Definition Classes
                      ProductFormatsInstances
                      +
                    43. + + +

                      + + + def + + + jsonFormat[P1, P2, P3, P4, P5, P6, P7, P8, P9, P10, P11, P12, P13, P14, P15, P16, P17, P18, P19, P20, T <: Product](construct: (P1, P2, P3, P4, P5, P6, P7, P8, P9, P10, P11, P12, P13, P14, P15, P16, P17, P18, P19, P20) ⇒ T, fieldName1: String, fieldName2: String, fieldName3: String, fieldName4: String, fieldName5: String, fieldName6: String, fieldName7: String, fieldName8: String, fieldName9: String, fieldName10: String, fieldName11: String, fieldName12: String, fieldName13: String, fieldName14: String, fieldName15: String, fieldName16: String, fieldName17: String, fieldName18: String, fieldName19: String, fieldName20: String)(implicit arg0: JF[P1], arg1: JF[P2], arg2: JF[P3], arg3: JF[P4], arg4: JF[P5], arg5: JF[P6], arg6: JF[P7], arg7: JF[P8], arg8: JF[P9], arg9: JF[P10], arg10: JF[P11], arg11: JF[P12], arg12: JF[P13], arg13: JF[P14], arg14: JF[P15], arg15: JF[P16], arg16: JF[P17], arg17: JF[P18], arg18: JF[P19], arg19: JF[P20]): RootJsonFormat[T] + +

                      + + Permalink + + +
                      Definition Classes
                      ProductFormatsInstances
                      +
                    44. + + +

                      + + + def + + + jsonFormat[P1, P2, P3, P4, P5, P6, P7, P8, P9, P10, P11, P12, P13, P14, P15, P16, P17, P18, P19, T <: Product](construct: (P1, P2, P3, P4, P5, P6, P7, P8, P9, P10, P11, P12, P13, P14, P15, P16, P17, P18, P19) ⇒ T, fieldName1: String, fieldName2: String, fieldName3: String, fieldName4: String, fieldName5: String, fieldName6: String, fieldName7: String, fieldName8: String, fieldName9: String, fieldName10: String, fieldName11: String, fieldName12: String, fieldName13: String, fieldName14: String, fieldName15: String, fieldName16: String, fieldName17: String, fieldName18: String, fieldName19: String)(implicit arg0: JF[P1], arg1: JF[P2], arg2: JF[P3], arg3: JF[P4], arg4: JF[P5], arg5: JF[P6], arg6: JF[P7], arg7: JF[P8], arg8: JF[P9], arg9: JF[P10], arg10: JF[P11], arg11: JF[P12], arg12: JF[P13], arg13: JF[P14], arg14: JF[P15], arg15: JF[P16], arg16: JF[P17], arg17: JF[P18], arg18: JF[P19]): RootJsonFormat[T] + +

                      + + Permalink + + +
                      Definition Classes
                      ProductFormatsInstances
                      +
                    45. + + +

                      + + + def + + + jsonFormat[P1, P2, P3, P4, P5, P6, P7, P8, P9, P10, P11, P12, P13, P14, P15, P16, P17, P18, T <: Product](construct: (P1, P2, P3, P4, P5, P6, P7, P8, P9, P10, P11, P12, P13, P14, P15, P16, P17, P18) ⇒ T, fieldName1: String, fieldName2: String, fieldName3: String, fieldName4: String, fieldName5: String, fieldName6: String, fieldName7: String, fieldName8: String, fieldName9: String, fieldName10: String, fieldName11: String, fieldName12: String, fieldName13: String, fieldName14: String, fieldName15: String, fieldName16: String, fieldName17: String, fieldName18: String)(implicit arg0: JF[P1], arg1: JF[P2], arg2: JF[P3], arg3: JF[P4], arg4: JF[P5], arg5: JF[P6], arg6: JF[P7], arg7: JF[P8], arg8: JF[P9], arg9: JF[P10], arg10: JF[P11], arg11: JF[P12], arg12: JF[P13], arg13: JF[P14], arg14: JF[P15], arg15: JF[P16], arg16: JF[P17], arg17: JF[P18]): RootJsonFormat[T] + +

                      + + Permalink + + +
                      Definition Classes
                      ProductFormatsInstances
                      +
                    46. + + +

                      + + + def + + + jsonFormat[P1, P2, P3, P4, P5, P6, P7, P8, P9, P10, P11, P12, P13, P14, P15, P16, P17, T <: Product](construct: (P1, P2, P3, P4, P5, P6, P7, P8, P9, P10, P11, P12, P13, P14, P15, P16, P17) ⇒ T, fieldName1: String, fieldName2: String, fieldName3: String, fieldName4: String, fieldName5: String, fieldName6: String, fieldName7: String, fieldName8: String, fieldName9: String, fieldName10: String, fieldName11: String, fieldName12: String, fieldName13: String, fieldName14: String, fieldName15: String, fieldName16: String, fieldName17: String)(implicit arg0: JF[P1], arg1: JF[P2], arg2: JF[P3], arg3: JF[P4], arg4: JF[P5], arg5: JF[P6], arg6: JF[P7], arg7: JF[P8], arg8: JF[P9], arg9: JF[P10], arg10: JF[P11], arg11: JF[P12], arg12: JF[P13], arg13: JF[P14], arg14: JF[P15], arg15: JF[P16], arg16: JF[P17]): RootJsonFormat[T] + +

                      + + Permalink + + +
                      Definition Classes
                      ProductFormatsInstances
                      +
                    47. + + +

                      + + + def + + + jsonFormat[P1, P2, P3, P4, P5, P6, P7, P8, P9, P10, P11, P12, P13, P14, P15, P16, T <: Product](construct: (P1, P2, P3, P4, P5, P6, P7, P8, P9, P10, P11, P12, P13, P14, P15, P16) ⇒ T, fieldName1: String, fieldName2: String, fieldName3: String, fieldName4: String, fieldName5: String, fieldName6: String, fieldName7: String, fieldName8: String, fieldName9: String, fieldName10: String, fieldName11: String, fieldName12: String, fieldName13: String, fieldName14: String, fieldName15: String, fieldName16: String)(implicit arg0: JF[P1], arg1: JF[P2], arg2: JF[P3], arg3: JF[P4], arg4: JF[P5], arg5: JF[P6], arg6: JF[P7], arg7: JF[P8], arg8: JF[P9], arg9: JF[P10], arg10: JF[P11], arg11: JF[P12], arg12: JF[P13], arg13: JF[P14], arg14: JF[P15], arg15: JF[P16]): RootJsonFormat[T] + +

                      + + Permalink + + +
                      Definition Classes
                      ProductFormatsInstances
                      +
                    48. + + +

                      + + + def + + + jsonFormat[P1, P2, P3, P4, P5, P6, P7, P8, P9, P10, P11, P12, P13, P14, P15, T <: Product](construct: (P1, P2, P3, P4, P5, P6, P7, P8, P9, P10, P11, P12, P13, P14, P15) ⇒ T, fieldName1: String, fieldName2: String, fieldName3: String, fieldName4: String, fieldName5: String, fieldName6: String, fieldName7: String, fieldName8: String, fieldName9: String, fieldName10: String, fieldName11: String, fieldName12: String, fieldName13: String, fieldName14: String, fieldName15: String)(implicit arg0: JF[P1], arg1: JF[P2], arg2: JF[P3], arg3: JF[P4], arg4: JF[P5], arg5: JF[P6], arg6: JF[P7], arg7: JF[P8], arg8: JF[P9], arg9: JF[P10], arg10: JF[P11], arg11: JF[P12], arg12: JF[P13], arg13: JF[P14], arg14: JF[P15]): RootJsonFormat[T] + +

                      + + Permalink + + +
                      Definition Classes
                      ProductFormatsInstances
                      +
                    49. + + +

                      + + + def + + + jsonFormat[P1, P2, P3, P4, P5, P6, P7, P8, P9, P10, P11, P12, P13, P14, T <: Product](construct: (P1, P2, P3, P4, P5, P6, P7, P8, P9, P10, P11, P12, P13, P14) ⇒ T, fieldName1: String, fieldName2: String, fieldName3: String, fieldName4: String, fieldName5: String, fieldName6: String, fieldName7: String, fieldName8: String, fieldName9: String, fieldName10: String, fieldName11: String, fieldName12: String, fieldName13: String, fieldName14: String)(implicit arg0: JF[P1], arg1: JF[P2], arg2: JF[P3], arg3: JF[P4], arg4: JF[P5], arg5: JF[P6], arg6: JF[P7], arg7: JF[P8], arg8: JF[P9], arg9: JF[P10], arg10: JF[P11], arg11: JF[P12], arg12: JF[P13], arg13: JF[P14]): RootJsonFormat[T] + +

                      + + Permalink + + +
                      Definition Classes
                      ProductFormatsInstances
                      +
                    50. + + +

                      + + + def + + + jsonFormat[P1, P2, P3, P4, P5, P6, P7, P8, P9, P10, P11, P12, P13, T <: Product](construct: (P1, P2, P3, P4, P5, P6, P7, P8, P9, P10, P11, P12, P13) ⇒ T, fieldName1: String, fieldName2: String, fieldName3: String, fieldName4: String, fieldName5: String, fieldName6: String, fieldName7: String, fieldName8: String, fieldName9: String, fieldName10: String, fieldName11: String, fieldName12: String, fieldName13: String)(implicit arg0: JF[P1], arg1: JF[P2], arg2: JF[P3], arg3: JF[P4], arg4: JF[P5], arg5: JF[P6], arg6: JF[P7], arg7: JF[P8], arg8: JF[P9], arg9: JF[P10], arg10: JF[P11], arg11: JF[P12], arg12: JF[P13]): RootJsonFormat[T] + +

                      + + Permalink + + +
                      Definition Classes
                      ProductFormatsInstances
                      +
                    51. + + +

                      + + + def + + + jsonFormat[P1, P2, P3, P4, P5, P6, P7, P8, P9, P10, P11, P12, T <: Product](construct: (P1, P2, P3, P4, P5, P6, P7, P8, P9, P10, P11, P12) ⇒ T, fieldName1: String, fieldName2: String, fieldName3: String, fieldName4: String, fieldName5: String, fieldName6: String, fieldName7: String, fieldName8: String, fieldName9: String, fieldName10: String, fieldName11: String, fieldName12: String)(implicit arg0: JF[P1], arg1: JF[P2], arg2: JF[P3], arg3: JF[P4], arg4: JF[P5], arg5: JF[P6], arg6: JF[P7], arg7: JF[P8], arg8: JF[P9], arg9: JF[P10], arg10: JF[P11], arg11: JF[P12]): RootJsonFormat[T] + +

                      + + Permalink + + +
                      Definition Classes
                      ProductFormatsInstances
                      +
                    52. + + +

                      + + + def + + + jsonFormat[P1, P2, P3, P4, P5, P6, P7, P8, P9, P10, P11, T <: Product](construct: (P1, P2, P3, P4, P5, P6, P7, P8, P9, P10, P11) ⇒ T, fieldName1: String, fieldName2: String, fieldName3: String, fieldName4: String, fieldName5: String, fieldName6: String, fieldName7: String, fieldName8: String, fieldName9: String, fieldName10: String, fieldName11: String)(implicit arg0: JF[P1], arg1: JF[P2], arg2: JF[P3], arg3: JF[P4], arg4: JF[P5], arg5: JF[P6], arg6: JF[P7], arg7: JF[P8], arg8: JF[P9], arg9: JF[P10], arg10: JF[P11]): RootJsonFormat[T] + +

                      + + Permalink + + +
                      Definition Classes
                      ProductFormatsInstances
                      +
                    53. + + +

                      + + + def + + + jsonFormat[P1, P2, P3, P4, P5, P6, P7, P8, P9, P10, T <: Product](construct: (P1, P2, P3, P4, P5, P6, P7, P8, P9, P10) ⇒ T, fieldName1: String, fieldName2: String, fieldName3: String, fieldName4: String, fieldName5: String, fieldName6: String, fieldName7: String, fieldName8: String, fieldName9: String, fieldName10: String)(implicit arg0: JF[P1], arg1: JF[P2], arg2: JF[P3], arg3: JF[P4], arg4: JF[P5], arg5: JF[P6], arg6: JF[P7], arg7: JF[P8], arg8: JF[P9], arg9: JF[P10]): RootJsonFormat[T] + +

                      + + Permalink + + +
                      Definition Classes
                      ProductFormatsInstances
                      +
                    54. + + +

                      + + + def + + + jsonFormat[P1, P2, P3, P4, P5, P6, P7, P8, P9, T <: Product](construct: (P1, P2, P3, P4, P5, P6, P7, P8, P9) ⇒ T, fieldName1: String, fieldName2: String, fieldName3: String, fieldName4: String, fieldName5: String, fieldName6: String, fieldName7: String, fieldName8: String, fieldName9: String)(implicit arg0: JF[P1], arg1: JF[P2], arg2: JF[P3], arg3: JF[P4], arg4: JF[P5], arg5: JF[P6], arg6: JF[P7], arg7: JF[P8], arg8: JF[P9]): RootJsonFormat[T] + +

                      + + Permalink + + +
                      Definition Classes
                      ProductFormatsInstances
                      +
                    55. + + +

                      + + + def + + + jsonFormat[P1, P2, P3, P4, P5, P6, P7, P8, T <: Product](construct: (P1, P2, P3, P4, P5, P6, P7, P8) ⇒ T, fieldName1: String, fieldName2: String, fieldName3: String, fieldName4: String, fieldName5: String, fieldName6: String, fieldName7: String, fieldName8: String)(implicit arg0: JF[P1], arg1: JF[P2], arg2: JF[P3], arg3: JF[P4], arg4: JF[P5], arg5: JF[P6], arg6: JF[P7], arg7: JF[P8]): RootJsonFormat[T] + +

                      + + Permalink + + +
                      Definition Classes
                      ProductFormatsInstances
                      +
                    56. + + +

                      + + + def + + + jsonFormat[P1, P2, P3, P4, P5, P6, P7, T <: Product](construct: (P1, P2, P3, P4, P5, P6, P7) ⇒ T, fieldName1: String, fieldName2: String, fieldName3: String, fieldName4: String, fieldName5: String, fieldName6: String, fieldName7: String)(implicit arg0: JF[P1], arg1: JF[P2], arg2: JF[P3], arg3: JF[P4], arg4: JF[P5], arg5: JF[P6], arg6: JF[P7]): RootJsonFormat[T] + +

                      + + Permalink + + +
                      Definition Classes
                      ProductFormatsInstances
                      +
                    57. + + +

                      + + + def + + + jsonFormat[P1, P2, P3, P4, P5, P6, T <: Product](construct: (P1, P2, P3, P4, P5, P6) ⇒ T, fieldName1: String, fieldName2: String, fieldName3: String, fieldName4: String, fieldName5: String, fieldName6: String)(implicit arg0: JF[P1], arg1: JF[P2], arg2: JF[P3], arg3: JF[P4], arg4: JF[P5], arg5: JF[P6]): RootJsonFormat[T] + +

                      + + Permalink + + +
                      Definition Classes
                      ProductFormatsInstances
                      +
                    58. + + +

                      + + + def + + + jsonFormat[P1, P2, P3, P4, P5, T <: Product](construct: (P1, P2, P3, P4, P5) ⇒ T, fieldName1: String, fieldName2: String, fieldName3: String, fieldName4: String, fieldName5: String)(implicit arg0: JF[P1], arg1: JF[P2], arg2: JF[P3], arg3: JF[P4], arg4: JF[P5]): RootJsonFormat[T] + +

                      + + Permalink + + +
                      Definition Classes
                      ProductFormatsInstances
                      +
                    59. + + +

                      + + + def + + + jsonFormat[P1, P2, P3, P4, T <: Product](construct: (P1, P2, P3, P4) ⇒ T, fieldName1: String, fieldName2: String, fieldName3: String, fieldName4: String)(implicit arg0: JF[P1], arg1: JF[P2], arg2: JF[P3], arg3: JF[P4]): RootJsonFormat[T] + +

                      + + Permalink + + +
                      Definition Classes
                      ProductFormatsInstances
                      +
                    60. + + +

                      + + + def + + + jsonFormat[P1, P2, P3, T <: Product](construct: (P1, P2, P3) ⇒ T, fieldName1: String, fieldName2: String, fieldName3: String)(implicit arg0: JF[P1], arg1: JF[P2], arg2: JF[P3]): RootJsonFormat[T] + +

                      + + Permalink + + +
                      Definition Classes
                      ProductFormatsInstances
                      +
                    61. + + +

                      + + + def + + + jsonFormat[P1, P2, T <: Product](construct: (P1, P2) ⇒ T, fieldName1: String, fieldName2: String)(implicit arg0: JF[P1], arg1: JF[P2]): RootJsonFormat[T] + +

                      + + Permalink + + +
                      Definition Classes
                      ProductFormatsInstances
                      +
                    62. + + +

                      + + + def + + + jsonFormat[P1, T <: Product](construct: (P1) ⇒ T, fieldName1: String)(implicit arg0: JF[P1]): RootJsonFormat[T] + +

                      + + Permalink + + +
                      Definition Classes
                      ProductFormatsInstances
                      +
                    63. + + +

                      + + + def + + + jsonFormat0[T](construct: () ⇒ T): RootJsonFormat[T] + +

                      + + Permalink + + +
                      Definition Classes
                      ProductFormats
                      +
                    64. + + +

                      + + + def + + + jsonFormat1[P1, T <: Product](construct: (P1) ⇒ T)(implicit arg0: JF[P1], arg1: ClassManifest[T]): RootJsonFormat[T] + +

                      + + Permalink + + +
                      Definition Classes
                      ProductFormatsInstances
                      +
                    65. + + +

                      + + + def + + + jsonFormat10[P1, P2, P3, P4, P5, P6, P7, P8, P9, P10, T <: Product](construct: (P1, P2, P3, P4, P5, P6, P7, P8, P9, P10) ⇒ T)(implicit arg0: JF[P1], arg1: JF[P2], arg2: JF[P3], arg3: JF[P4], arg4: JF[P5], arg5: JF[P6], arg6: JF[P7], arg7: JF[P8], arg8: JF[P9], arg9: JF[P10], arg10: ClassManifest[T]): RootJsonFormat[T] + +

                      + + Permalink + + +
                      Definition Classes
                      ProductFormatsInstances
                      +
                    66. + + +

                      + + + def + + + jsonFormat11[P1, P2, P3, P4, P5, P6, P7, P8, P9, P10, P11, T <: Product](construct: (P1, P2, P3, P4, P5, P6, P7, P8, P9, P10, P11) ⇒ T)(implicit arg0: JF[P1], arg1: JF[P2], arg2: JF[P3], arg3: JF[P4], arg4: JF[P5], arg5: JF[P6], arg6: JF[P7], arg7: JF[P8], arg8: JF[P9], arg9: JF[P10], arg10: JF[P11], arg11: ClassManifest[T]): RootJsonFormat[T] + +

                      + + Permalink + + +
                      Definition Classes
                      ProductFormatsInstances
                      +
                    67. + + +

                      + + + def + + + jsonFormat12[P1, P2, P3, P4, P5, P6, P7, P8, P9, P10, P11, P12, T <: Product](construct: (P1, P2, P3, P4, P5, P6, P7, P8, P9, P10, P11, P12) ⇒ T)(implicit arg0: JF[P1], arg1: JF[P2], arg2: JF[P3], arg3: JF[P4], arg4: JF[P5], arg5: JF[P6], arg6: JF[P7], arg7: JF[P8], arg8: JF[P9], arg9: JF[P10], arg10: JF[P11], arg11: JF[P12], arg12: ClassManifest[T]): RootJsonFormat[T] + +

                      + + Permalink + + +
                      Definition Classes
                      ProductFormatsInstances
                      +
                    68. + + +

                      + + + def + + + jsonFormat13[P1, P2, P3, P4, P5, P6, P7, P8, P9, P10, P11, P12, P13, T <: Product](construct: (P1, P2, P3, P4, P5, P6, P7, P8, P9, P10, P11, P12, P13) ⇒ T)(implicit arg0: JF[P1], arg1: JF[P2], arg2: JF[P3], arg3: JF[P4], arg4: JF[P5], arg5: JF[P6], arg6: JF[P7], arg7: JF[P8], arg8: JF[P9], arg9: JF[P10], arg10: JF[P11], arg11: JF[P12], arg12: JF[P13], arg13: ClassManifest[T]): RootJsonFormat[T] + +

                      + + Permalink + + +
                      Definition Classes
                      ProductFormatsInstances
                      +
                    69. + + +

                      + + + def + + + jsonFormat14[P1, P2, P3, P4, P5, P6, P7, P8, P9, P10, P11, P12, P13, P14, T <: Product](construct: (P1, P2, P3, P4, P5, P6, P7, P8, P9, P10, P11, P12, P13, P14) ⇒ T)(implicit arg0: JF[P1], arg1: JF[P2], arg2: JF[P3], arg3: JF[P4], arg4: JF[P5], arg5: JF[P6], arg6: JF[P7], arg7: JF[P8], arg8: JF[P9], arg9: JF[P10], arg10: JF[P11], arg11: JF[P12], arg12: JF[P13], arg13: JF[P14], arg14: ClassManifest[T]): RootJsonFormat[T] + +

                      + + Permalink + + +
                      Definition Classes
                      ProductFormatsInstances
                      +
                    70. + + +

                      + + + def + + + jsonFormat15[P1, P2, P3, P4, P5, P6, P7, P8, P9, P10, P11, P12, P13, P14, P15, T <: Product](construct: (P1, P2, P3, P4, P5, P6, P7, P8, P9, P10, P11, P12, P13, P14, P15) ⇒ T)(implicit arg0: JF[P1], arg1: JF[P2], arg2: JF[P3], arg3: JF[P4], arg4: JF[P5], arg5: JF[P6], arg6: JF[P7], arg7: JF[P8], arg8: JF[P9], arg9: JF[P10], arg10: JF[P11], arg11: JF[P12], arg12: JF[P13], arg13: JF[P14], arg14: JF[P15], arg15: ClassManifest[T]): RootJsonFormat[T] + +

                      + + Permalink + + +
                      Definition Classes
                      ProductFormatsInstances
                      +
                    71. + + +

                      + + + def + + + jsonFormat16[P1, P2, P3, P4, P5, P6, P7, P8, P9, P10, P11, P12, P13, P14, P15, P16, T <: Product](construct: (P1, P2, P3, P4, P5, P6, P7, P8, P9, P10, P11, P12, P13, P14, P15, P16) ⇒ T)(implicit arg0: JF[P1], arg1: JF[P2], arg2: JF[P3], arg3: JF[P4], arg4: JF[P5], arg5: JF[P6], arg6: JF[P7], arg7: JF[P8], arg8: JF[P9], arg9: JF[P10], arg10: JF[P11], arg11: JF[P12], arg12: JF[P13], arg13: JF[P14], arg14: JF[P15], arg15: JF[P16], arg16: ClassManifest[T]): RootJsonFormat[T] + +

                      + + Permalink + + +
                      Definition Classes
                      ProductFormatsInstances
                      +
                    72. + + +

                      + + + def + + + jsonFormat17[P1, P2, P3, P4, P5, P6, P7, P8, P9, P10, P11, P12, P13, P14, P15, P16, P17, T <: Product](construct: (P1, P2, P3, P4, P5, P6, P7, P8, P9, P10, P11, P12, P13, P14, P15, P16, P17) ⇒ T)(implicit arg0: JF[P1], arg1: JF[P2], arg2: JF[P3], arg3: JF[P4], arg4: JF[P5], arg5: JF[P6], arg6: JF[P7], arg7: JF[P8], arg8: JF[P9], arg9: JF[P10], arg10: JF[P11], arg11: JF[P12], arg12: JF[P13], arg13: JF[P14], arg14: JF[P15], arg15: JF[P16], arg16: JF[P17], arg17: ClassManifest[T]): RootJsonFormat[T] + +

                      + + Permalink + + +
                      Definition Classes
                      ProductFormatsInstances
                      +
                    73. + + +

                      + + + def + + + jsonFormat18[P1, P2, P3, P4, P5, P6, P7, P8, P9, P10, P11, P12, P13, P14, P15, P16, P17, P18, T <: Product](construct: (P1, P2, P3, P4, P5, P6, P7, P8, P9, P10, P11, P12, P13, P14, P15, P16, P17, P18) ⇒ T)(implicit arg0: JF[P1], arg1: JF[P2], arg2: JF[P3], arg3: JF[P4], arg4: JF[P5], arg5: JF[P6], arg6: JF[P7], arg7: JF[P8], arg8: JF[P9], arg9: JF[P10], arg10: JF[P11], arg11: JF[P12], arg12: JF[P13], arg13: JF[P14], arg14: JF[P15], arg15: JF[P16], arg16: JF[P17], arg17: JF[P18], arg18: ClassManifest[T]): RootJsonFormat[T] + +

                      + + Permalink + + +
                      Definition Classes
                      ProductFormatsInstances
                      +
                    74. + + +

                      + + + def + + + jsonFormat19[P1, P2, P3, P4, P5, P6, P7, P8, P9, P10, P11, P12, P13, P14, P15, P16, P17, P18, P19, T <: Product](construct: (P1, P2, P3, P4, P5, P6, P7, P8, P9, P10, P11, P12, P13, P14, P15, P16, P17, P18, P19) ⇒ T)(implicit arg0: JF[P1], arg1: JF[P2], arg2: JF[P3], arg3: JF[P4], arg4: JF[P5], arg5: JF[P6], arg6: JF[P7], arg7: JF[P8], arg8: JF[P9], arg9: JF[P10], arg10: JF[P11], arg11: JF[P12], arg12: JF[P13], arg13: JF[P14], arg14: JF[P15], arg15: JF[P16], arg16: JF[P17], arg17: JF[P18], arg18: JF[P19], arg19: ClassManifest[T]): RootJsonFormat[T] + +

                      + + Permalink + + +
                      Definition Classes
                      ProductFormatsInstances
                      +
                    75. + + +

                      + + + def + + + jsonFormat2[P1, P2, T <: Product](construct: (P1, P2) ⇒ T)(implicit arg0: JF[P1], arg1: JF[P2], arg2: ClassManifest[T]): RootJsonFormat[T] + +

                      + + Permalink + + +
                      Definition Classes
                      ProductFormatsInstances
                      +
                    76. + + +

                      + + + def + + + jsonFormat20[P1, P2, P3, P4, P5, P6, P7, P8, P9, P10, P11, P12, P13, P14, P15, P16, P17, P18, P19, P20, T <: Product](construct: (P1, P2, P3, P4, P5, P6, P7, P8, P9, P10, P11, P12, P13, P14, P15, P16, P17, P18, P19, P20) ⇒ T)(implicit arg0: JF[P1], arg1: JF[P2], arg2: JF[P3], arg3: JF[P4], arg4: JF[P5], arg5: JF[P6], arg6: JF[P7], arg7: JF[P8], arg8: JF[P9], arg9: JF[P10], arg10: JF[P11], arg11: JF[P12], arg12: JF[P13], arg13: JF[P14], arg14: JF[P15], arg15: JF[P16], arg16: JF[P17], arg17: JF[P18], arg18: JF[P19], arg19: JF[P20], arg20: ClassManifest[T]): RootJsonFormat[T] + +

                      + + Permalink + + +
                      Definition Classes
                      ProductFormatsInstances
                      +
                    77. + + +

                      + + + def + + + jsonFormat21[P1, P2, P3, P4, P5, P6, P7, P8, P9, P10, P11, P12, P13, P14, P15, P16, P17, P18, P19, P20, P21, T <: Product](construct: (P1, P2, P3, P4, P5, P6, P7, P8, P9, P10, P11, P12, P13, P14, P15, P16, P17, P18, P19, P20, P21) ⇒ T)(implicit arg0: JF[P1], arg1: JF[P2], arg2: JF[P3], arg3: JF[P4], arg4: JF[P5], arg5: JF[P6], arg6: JF[P7], arg7: JF[P8], arg8: JF[P9], arg9: JF[P10], arg10: JF[P11], arg11: JF[P12], arg12: JF[P13], arg13: JF[P14], arg14: JF[P15], arg15: JF[P16], arg16: JF[P17], arg17: JF[P18], arg18: JF[P19], arg19: JF[P20], arg20: JF[P21], arg21: ClassManifest[T]): RootJsonFormat[T] + +

                      + + Permalink + + +
                      Definition Classes
                      ProductFormatsInstances
                      +
                    78. + + +

                      + + + def + + + jsonFormat22[P1, P2, P3, P4, P5, P6, P7, P8, P9, P10, P11, P12, P13, P14, P15, P16, P17, P18, P19, P20, P21, P22, T <: Product](construct: (P1, P2, P3, P4, P5, P6, P7, P8, P9, P10, P11, P12, P13, P14, P15, P16, P17, P18, P19, P20, P21, P22) ⇒ T)(implicit arg0: JF[P1], arg1: JF[P2], arg2: JF[P3], arg3: JF[P4], arg4: JF[P5], arg5: JF[P6], arg6: JF[P7], arg7: JF[P8], arg8: JF[P9], arg9: JF[P10], arg10: JF[P11], arg11: JF[P12], arg12: JF[P13], arg13: JF[P14], arg14: JF[P15], arg15: JF[P16], arg16: JF[P17], arg17: JF[P18], arg18: JF[P19], arg19: JF[P20], arg20: JF[P21], arg21: JF[P22], arg22: ClassManifest[T]): RootJsonFormat[T] + +

                      + + Permalink + + +
                      Definition Classes
                      ProductFormatsInstances
                      +
                    79. + + +

                      + + + def + + + jsonFormat3[P1, P2, P3, T <: Product](construct: (P1, P2, P3) ⇒ T)(implicit arg0: JF[P1], arg1: JF[P2], arg2: JF[P3], arg3: ClassManifest[T]): RootJsonFormat[T] + +

                      + + Permalink + + +
                      Definition Classes
                      ProductFormatsInstances
                      +
                    80. + + +

                      + + + def + + + jsonFormat4[P1, P2, P3, P4, T <: Product](construct: (P1, P2, P3, P4) ⇒ T)(implicit arg0: JF[P1], arg1: JF[P2], arg2: JF[P3], arg3: JF[P4], arg4: ClassManifest[T]): RootJsonFormat[T] + +

                      + + Permalink + + +
                      Definition Classes
                      ProductFormatsInstances
                      +
                    81. + + +

                      + + + def + + + jsonFormat5[P1, P2, P3, P4, P5, T <: Product](construct: (P1, P2, P3, P4, P5) ⇒ T)(implicit arg0: JF[P1], arg1: JF[P2], arg2: JF[P3], arg3: JF[P4], arg4: JF[P5], arg5: ClassManifest[T]): RootJsonFormat[T] + +

                      + + Permalink + + +
                      Definition Classes
                      ProductFormatsInstances
                      +
                    82. + + +

                      + + + def + + + jsonFormat6[P1, P2, P3, P4, P5, P6, T <: Product](construct: (P1, P2, P3, P4, P5, P6) ⇒ T)(implicit arg0: JF[P1], arg1: JF[P2], arg2: JF[P3], arg3: JF[P4], arg4: JF[P5], arg5: JF[P6], arg6: ClassManifest[T]): RootJsonFormat[T] + +

                      + + Permalink + + +
                      Definition Classes
                      ProductFormatsInstances
                      +
                    83. + + +

                      + + + def + + + jsonFormat7[P1, P2, P3, P4, P5, P6, P7, T <: Product](construct: (P1, P2, P3, P4, P5, P6, P7) ⇒ T)(implicit arg0: JF[P1], arg1: JF[P2], arg2: JF[P3], arg3: JF[P4], arg4: JF[P5], arg5: JF[P6], arg6: JF[P7], arg7: ClassManifest[T]): RootJsonFormat[T] + +

                      + + Permalink + + +
                      Definition Classes
                      ProductFormatsInstances
                      +
                    84. + + +

                      + + + def + + + jsonFormat8[P1, P2, P3, P4, P5, P6, P7, P8, T <: Product](construct: (P1, P2, P3, P4, P5, P6, P7, P8) ⇒ T)(implicit arg0: JF[P1], arg1: JF[P2], arg2: JF[P3], arg3: JF[P4], arg4: JF[P5], arg5: JF[P6], arg6: JF[P7], arg7: JF[P8], arg8: ClassManifest[T]): RootJsonFormat[T] + +

                      + + Permalink + + +
                      Definition Classes
                      ProductFormatsInstances
                      +
                    85. + + +

                      + + + def + + + jsonFormat9[P1, P2, P3, P4, P5, P6, P7, P8, P9, T <: Product](construct: (P1, P2, P3, P4, P5, P6, P7, P8, P9) ⇒ T)(implicit arg0: JF[P1], arg1: JF[P2], arg2: JF[P3], arg3: JF[P4], arg4: JF[P5], arg5: JF[P6], arg6: JF[P7], arg7: JF[P8], arg8: JF[P9], arg9: ClassManifest[T]): RootJsonFormat[T] + +

                      + + Permalink + + +
                      Definition Classes
                      ProductFormatsInstances
                      +
                    86. + + +

                      + + + def + + + lazyFormat[T](format: ⇒ JsonFormat[T]): JsonFormat[T] { lazy val delegate: spray.json.JsonFormat[T] } + +

                      + + Permalink + + +
                      Definition Classes
                      AdditionalFormats
                      +
                    87. + + +

                      + + + def + + + lift[T <: AnyRef](reader: RootJsonReader[T]): RootJsonFormat[T] + +

                      + + Permalink + + +
                      Definition Classes
                      AdditionalFormats
                      +
                    88. + + +

                      + + + def + + + lift[T <: AnyRef](reader: JsonReader[T]): JsonFormat[T] + +

                      + + Permalink + + +
                      Definition Classes
                      AdditionalFormats
                      +
                    89. + + +

                      + + + def + + + lift[T](writer: RootJsonWriter[T]): RootJsonFormat[T] + +

                      + + Permalink + + +
                      Definition Classes
                      AdditionalFormats
                      +
                    90. + + +

                      + + + def + + + lift[T](writer: JsonWriter[T]): JsonFormat[T] { def read(value: spray.json.JsValue): Nothing } + +

                      + + Permalink + + +
                      Definition Classes
                      AdditionalFormats
                      +
                    91. + + +

                      + + implicit + def + + + linearSeqFormat[T](implicit arg0: JsonFormat[T]): RootJsonFormat[LinearSeq[T]] + +

                      + + Permalink + + +
                      Definition Classes
                      CollectionFormats
                      +
                    92. + + +

                      + + implicit + def + + + listFormat[T](implicit arg0: JsonFormat[T]): RootJsonFormat[List[T]] { def write(list: List[T]): spray.json.JsArray } + +

                      + + Permalink + + +
                      Definition Classes
                      CollectionFormats
                      +
                    93. + + +

                      + + implicit + def + + + mapFormat[K, V](implicit arg0: JsonFormat[K], arg1: JsonFormat[V]): RootJsonFormat[Map[K, V]] { def write(m: Map[K,V]): spray.json.JsObject } + +

                      + + Permalink + + +
                      Definition Classes
                      CollectionFormats
                      +
                    94. + + +

                      + + final + def + + + ne(arg0: AnyRef): Boolean + +

                      + + Permalink + + +
                      Definition Classes
                      AnyRef
                      +
                    95. + + +

                      + + final + def + + + notify(): Unit + +

                      + + Permalink + + +
                      Definition Classes
                      AnyRef
                      +
                    96. + + +

                      + + final + def + + + notifyAll(): Unit + +

                      + + Permalink + + +
                      Definition Classes
                      AnyRef
                      +
                    97. + + +

                      + + implicit + def + + + optionFormat[T](implicit arg0: JF[T]): JF[Option[T]] + +

                      + + Permalink + + +
                      Definition Classes
                      StandardFormats
                      +
                    98. + + +

                      + + + def + + + productElement2Field[T](fieldName: String, p: Product, ix: Int, rest: List[JsField])(implicit writer: JsonWriter[T]): List[JsField] + +

                      + + Permalink + + +
                      Attributes
                      protected
                      Definition Classes
                      ProductFormats
                      +
                    99. + + +

                      + + + def + + + rootFormat[T](format: JsonFormat[T]): RootJsonFormat[T] + +

                      + + Permalink + + +
                      Definition Classes
                      AdditionalFormats
                      +
                    100. + + +

                      + + + def + + + rootJsonFormat[T](reader: RootJsonReader[T], writer: RootJsonWriter[T]): RootJsonFormat[T] + +

                      + + Permalink + + +
                      Definition Classes
                      AdditionalFormats
                      +
                    101. + + +

                      + + + def + + + safeReader[A](implicit arg0: JsonReader[A]): JsonReader[Either[Exception, A]] + +

                      + + Permalink + + +
                      Definition Classes
                      AdditionalFormats
                      +
                    102. + + +

                      + + implicit + def + + + seqFormat[T](implicit arg0: JsonFormat[T]): RootJsonFormat[Seq[T]] + +

                      + + Permalink + + +
                      Definition Classes
                      CollectionFormats
                      +
                    103. + + +

                      + + implicit + def + + + setFormat[T](implicit arg0: JsonFormat[T]): RootJsonFormat[Set[T]] + +

                      + + Permalink + + +
                      Definition Classes
                      CollectionFormats
                      +
                    104. + + +

                      + + final + def + + + synchronized[T0](arg0: ⇒ T0): T0 + +

                      + + Permalink + + +
                      Definition Classes
                      AnyRef
                      +
                    105. + + +

                      + + + def + + + toString(): String + +

                      + + Permalink + + +
                      Definition Classes
                      AnyRef → Any
                      +
                    106. + + +

                      + + implicit + def + + + tuple1Format[A](implicit arg0: JF[A]): JF[(A)] + +

                      + + Permalink + + +
                      Definition Classes
                      StandardFormats
                      +
                    107. + + +

                      + + implicit + def + + + tuple2Format[A, B](implicit arg0: JF[A], arg1: JF[B]): RootJsonFormat[(A, B)] { def write(t: (A, B)): spray.json.JsArray } + +

                      + + Permalink + + +
                      Definition Classes
                      StandardFormats
                      +
                    108. + + +

                      + + implicit + def + + + tuple3Format[A, B, C](implicit arg0: JF[A], arg1: JF[B], arg2: JF[C]): RootJsonFormat[(A, B, C)] { def write(t: (A, B, C)): spray.json.JsArray } + +

                      + + Permalink + + +
                      Definition Classes
                      StandardFormats
                      +
                    109. + + +

                      + + implicit + def + + + tuple4Format[A, B, C, D](implicit arg0: JF[A], arg1: JF[B], arg2: JF[C], arg3: JF[D]): RootJsonFormat[(A, B, C, D)] { def write(t: (A, B, C, D)): spray.json.JsArray } + +

                      + + Permalink + + +
                      Definition Classes
                      StandardFormats
                      +
                    110. + + +

                      + + implicit + def + + + tuple5Format[A, B, C, D, E](implicit arg0: JF[A], arg1: JF[B], arg2: JF[C], arg3: JF[D], arg4: JF[E]): RootJsonFormat[(A, B, C, D, E)] { def write(t: (A, B, C, D, E)): spray.json.JsArray } + +

                      + + Permalink + + +
                      Definition Classes
                      StandardFormats
                      +
                    111. + + +

                      + + implicit + def + + + tuple6Format[A, B, C, D, E, F](implicit arg0: JF[A], arg1: JF[B], arg2: JF[C], arg3: JF[D], arg4: JF[E], arg5: JF[F]): RootJsonFormat[(A, B, C, D, E, F)] { def write(t: (A, B, C, D, E, F)): spray.json.JsArray } + +

                      + + Permalink + + +
                      Definition Classes
                      StandardFormats
                      +
                    112. + + +

                      + + implicit + def + + + tuple7Format[A, B, C, D, E, F, G](implicit arg0: JF[A], arg1: JF[B], arg2: JF[C], arg3: JF[D], arg4: JF[E], arg5: JF[F], arg6: JF[G]): RootJsonFormat[(A, B, C, D, E, F, G)] { def write(t: (A, B, C, D, E, F, G)): spray.json.JsArray } + +

                      + + Permalink + + +
                      Definition Classes
                      StandardFormats
                      +
                    113. + + +

                      + + implicit + def + + + vectorFormat[T](implicit arg0: JsonFormat[T]): RootJsonFormat[Vector[T]] + +

                      + + Permalink + + +
                      Definition Classes
                      CollectionFormats
                      +
                    114. + + +

                      + + + def + + + viaSeq[I <: Iterable[T], T](f: (Seq[T]) ⇒ I)(implicit arg0: JsonFormat[T]): RootJsonFormat[I] + +

                      + + Permalink + + +
                      Definition Classes
                      CollectionFormats
                      +
                    115. + + +

                      + + final + def + + + wait(): Unit + +

                      + + Permalink + + +
                      Definition Classes
                      AnyRef
                      Annotations
                      + @throws( + + ... + ) + +
                      +
                    116. + + +

                      + + final + def + + + wait(arg0: Long, arg1: Int): Unit + +

                      + + Permalink + + +
                      Definition Classes
                      AnyRef
                      Annotations
                      + @throws( + + ... + ) + +
                      +
                    117. + + +

                      + + final + def + + + wait(arg0: Long): Unit + +

                      + + Permalink + + +
                      Definition Classes
                      AnyRef
                      Annotations
                      + @throws( + + ... + ) + +
                      +
                    +
                    + + + + +
                    + +
                    +
                    +

                    Inherited from DefaultJsonProtocol

                    +
                    +

                    Inherited from AdditionalFormats

                    +
                    +

                    Inherited from ProductFormats

                    +
                    +

                    Inherited from ProductFormatsInstances

                    +
                    +

                    Inherited from CollectionFormats

                    +
                    +

                    Inherited from StandardFormats

                    +
                    +

                    Inherited from BasicFormats

                    +
                    +

                    Inherited from AnyRef

                    +
                    +

                    Inherited from Any

                    +
                    + +
                    + +
                    +
                    +

                    Ungrouped

                    + +
                    +
                    + +
                    + +
                    + + + + + + diff --git a/manual1903/api_reference/component-pipe/scaladocs/ksb/csle/component/pipe/controller/vo/MyRouteJsonProtocol$.html b/manual1903/api_reference/component-pipe/scaladocs/ksb/csle/component/pipe/controller/vo/MyRouteJsonProtocol$.html new file mode 100644 index 0000000000000000000000000000000000000000..7e3955ec8679fde39cc15cfe75e019db8e433db8 --- /dev/null +++ b/manual1903/api_reference/component-pipe/scaladocs/ksb/csle/component/pipe/controller/vo/MyRouteJsonProtocol$.html @@ -0,0 +1,2182 @@ + + + + MyRouteJsonProtocol - KSB COMPONENT-PIPE Scala App Project 1.0-SNAPSHOT API - ksb.csle.component.pipe.controller.vo.MyRouteJsonProtocol + + + + + + + + + + + + + + + +
                    + Object +

                    ksb.csle.component.pipe.controller.vo

                    +

                    MyRouteJsonProtocol

                    Related Doc: + package vo +

                    + + Permalink + + +
                    + +

                    + + + object + + + MyRouteJsonProtocol extends DefaultJsonProtocol + +

                    + +
                    + Linear Supertypes +
                    DefaultJsonProtocol, AdditionalFormats, ProductFormats, ProductFormatsInstances, CollectionFormats, StandardFormats, BasicFormats, AnyRef, Any
                    +
                    + + +
                    +
                    +
                    + Ordering +
                      + +
                    1. Alphabetic
                    2. +
                    3. By Inheritance
                    4. +
                    +
                    +
                    + Inherited
                    +
                    +
                      +
                    1. MyRouteJsonProtocol
                    2. DefaultJsonProtocol
                    3. AdditionalFormats
                    4. ProductFormats
                    5. ProductFormatsInstances
                    6. CollectionFormats
                    7. StandardFormats
                    8. BasicFormats
                    9. AnyRef
                    10. Any
                    11. +
                    +
                    + +
                      +
                    1. Hide All
                    2. +
                    3. Show All
                    4. +
                    +
                    +
                    + Visibility +
                    1. Public
                    2. All
                    +
                    +
                    + +
                    +
                    + + +
                    +

                    Type Members

                    +
                    1. + + +

                      + + + class + + + OptionFormat[T] extends (StandardFormats.this)#JF[Option[T]] + +

                      + + Permalink + + +
                      Definition Classes
                      StandardFormats
                      +
                    +
                    + + + +
                    +

                    Value Members

                    +
                    1. + + +

                      + + final + def + + + !=(arg0: Any): Boolean + +

                      + + Permalink + + +
                      Definition Classes
                      AnyRef → Any
                      +
                    2. + + +

                      + + final + def + + + ##(): Int + +

                      + + Permalink + + +
                      Definition Classes
                      AnyRef → Any
                      +
                    3. + + +

                      + + final + def + + + ==(arg0: Any): Boolean + +

                      + + Permalink + + +
                      Definition Classes
                      AnyRef → Any
                      +
                    4. + + +

                      + + implicit + object + + + BigDecimalJsonFormat extends JsonFormat[BigDecimal] + +

                      + + Permalink + + +
                      Definition Classes
                      BasicFormats
                      +
                    5. + + +

                      + + implicit + object + + + BigIntJsonFormat extends JsonFormat[BigInt] + +

                      + + Permalink + + +
                      Definition Classes
                      BasicFormats
                      +
                    6. + + +

                      + + implicit + object + + + BooleanJsonFormat extends JsonFormat[Boolean] + +

                      + + Permalink + + +
                      Definition Classes
                      BasicFormats
                      +
                    7. + + +

                      + + implicit + object + + + ByteJsonFormat extends JsonFormat[Byte] + +

                      + + Permalink + + +
                      Definition Classes
                      BasicFormats
                      +
                    8. + + +

                      + + implicit + object + + + CharJsonFormat extends JsonFormat[Char] + +

                      + + Permalink + + +
                      Definition Classes
                      BasicFormats
                      +
                    9. + + +

                      + + implicit + object + + + DoubleJsonFormat extends JsonFormat[Double] + +

                      + + Permalink + + +
                      Definition Classes
                      BasicFormats
                      +
                    10. + + +

                      + + implicit + object + + + FloatJsonFormat extends JsonFormat[Float] + +

                      + + Permalink + + +
                      Definition Classes
                      BasicFormats
                      +
                    11. + + +

                      + + implicit + object + + + IntJsonFormat extends JsonFormat[Int] + +

                      + + Permalink + + +
                      Definition Classes
                      BasicFormats
                      +
                    12. + + +

                      + + implicit + object + + + JsValueFormat extends JsonFormat[JsValue] + +

                      + + Permalink + + +
                      Definition Classes
                      AdditionalFormats
                      +
                    13. + + +

                      + + implicit + object + + + LongJsonFormat extends JsonFormat[Long] + +

                      + + Permalink + + +
                      Definition Classes
                      BasicFormats
                      +
                    14. + + +

                      + + implicit + object + + + RootJsArrayFormat extends RootJsonFormat[JsArray] + +

                      + + Permalink + + +
                      Definition Classes
                      AdditionalFormats
                      +
                    15. + + +

                      + + implicit + object + + + RootJsObjectFormat extends RootJsonFormat[JsObject] + +

                      + + Permalink + + +
                      Definition Classes
                      AdditionalFormats
                      +
                    16. + + +

                      + + implicit + val + + + RouteCtxCaseFormat: RootJsonFormat[RouteCtxCase] + +

                      + + Permalink + + + +
                    17. + + +

                      + + implicit + object + + + ShortJsonFormat extends JsonFormat[Short] + +

                      + + Permalink + + +
                      Definition Classes
                      BasicFormats
                      +
                    18. + + +

                      + + implicit + object + + + StringJsonFormat extends JsonFormat[String] + +

                      + + Permalink + + +
                      Definition Classes
                      BasicFormats
                      +
                    19. + + +

                      + + implicit + object + + + SymbolJsonFormat extends JsonFormat[Symbol] + +

                      + + Permalink + + +
                      Definition Classes
                      BasicFormats
                      +
                    20. + + +

                      + + implicit + object + + + UnitJsonFormat extends JsonFormat[Unit] + +

                      + + Permalink + + +
                      Definition Classes
                      BasicFormats
                      +
                    21. + + +

                      + + implicit + def + + + arrayFormat[T](implicit arg0: JsonFormat[T], arg1: ClassManifest[T]): RootJsonFormat[Array[T]] { def write(array: Array[T]): spray.json.JsArray } + +

                      + + Permalink + + +
                      Definition Classes
                      CollectionFormats
                      +
                    22. + + +

                      + + final + def + + + asInstanceOf[T0]: T0 + +

                      + + Permalink + + +
                      Definition Classes
                      Any
                      +
                    23. + + +

                      + + + def + + + clone(): AnyRef + +

                      + + Permalink + + +
                      Attributes
                      protected[java.lang]
                      Definition Classes
                      AnyRef
                      Annotations
                      + @throws( + + ... + ) + +
                      +
                    24. + + +

                      + + implicit + def + + + eitherFormat[A, B](implicit arg0: JF[A], arg1: JF[B]): JF[Either[A, B]] + +

                      + + Permalink + + +
                      Definition Classes
                      StandardFormats
                      +
                    25. + + +

                      + + final + def + + + eq(arg0: AnyRef): Boolean + +

                      + + Permalink + + +
                      Definition Classes
                      AnyRef
                      +
                    26. + + +

                      + + + def + + + equals(arg0: Any): Boolean + +

                      + + Permalink + + +
                      Definition Classes
                      AnyRef → Any
                      +
                    27. + + +

                      + + + def + + + extractFieldNames(classManifest: ClassManifest[_]): Array[String] + +

                      + + Permalink + + +
                      Attributes
                      protected
                      Definition Classes
                      ProductFormats
                      +
                    28. + + +

                      + + + def + + + finalize(): Unit + +

                      + + Permalink + + +
                      Attributes
                      protected[java.lang]
                      Definition Classes
                      AnyRef
                      Annotations
                      + @throws( + + classOf[java.lang.Throwable] + ) + +
                      +
                    29. + + +

                      + + + def + + + fromField[T](value: JsValue, fieldName: String)(implicit reader: JsonReader[T]): T + +

                      + + Permalink + + +
                      Attributes
                      protected
                      Definition Classes
                      ProductFormats
                      +
                    30. + + +

                      + + final + def + + + getClass(): Class[_] + +

                      + + Permalink + + +
                      Definition Classes
                      AnyRef → Any
                      +
                    31. + + +

                      + + + def + + + hashCode(): Int + +

                      + + Permalink + + +
                      Definition Classes
                      AnyRef → Any
                      +
                    32. + + +

                      + + implicit + def + + + immIndexedSeqFormat[T](implicit arg0: JsonFormat[T]): RootJsonFormat[IndexedSeq[T]] + +

                      + + Permalink + + +
                      Definition Classes
                      CollectionFormats
                      +
                    33. + + +

                      + + implicit + def + + + immIterableFormat[T](implicit arg0: JsonFormat[T]): RootJsonFormat[Iterable[T]] + +

                      + + Permalink + + +
                      Definition Classes
                      CollectionFormats
                      +
                    34. + + +

                      + + implicit + def + + + immLinearSeqFormat[T](implicit arg0: JsonFormat[T]): RootJsonFormat[LinearSeq[T]] + +

                      + + Permalink + + +
                      Definition Classes
                      CollectionFormats
                      +
                    35. + + +

                      + + implicit + def + + + immSeqFormat[T](implicit arg0: JsonFormat[T]): RootJsonFormat[Seq[T]] + +

                      + + Permalink + + +
                      Definition Classes
                      CollectionFormats
                      +
                    36. + + +

                      + + implicit + def + + + immSetFormat[T](implicit arg0: JsonFormat[T]): RootJsonFormat[Set[T]] + +

                      + + Permalink + + +
                      Definition Classes
                      CollectionFormats
                      +
                    37. + + +

                      + + implicit + def + + + indexedSeqFormat[T](implicit arg0: JsonFormat[T]): RootJsonFormat[IndexedSeq[T]] + +

                      + + Permalink + + +
                      Definition Classes
                      CollectionFormats
                      +
                    38. + + +

                      + + final + def + + + isInstanceOf[T0]: Boolean + +

                      + + Permalink + + +
                      Definition Classes
                      Any
                      +
                    39. + + +

                      + + implicit + def + + + iterableFormat[T](implicit arg0: JsonFormat[T]): RootJsonFormat[Iterable[T]] + +

                      + + Permalink + + +
                      Definition Classes
                      CollectionFormats
                      +
                    40. + + +

                      + + + def + + + jsonFormat[T](reader: JsonReader[T], writer: JsonWriter[T]): JsonFormat[T] + +

                      + + Permalink + + +
                      Definition Classes
                      AdditionalFormats
                      +
                    41. + + +

                      + + + def + + + jsonFormat[P1, P2, P3, P4, P5, P6, P7, P8, P9, P10, P11, P12, P13, P14, P15, P16, P17, P18, P19, P20, P21, P22, T <: Product](construct: (P1, P2, P3, P4, P5, P6, P7, P8, P9, P10, P11, P12, P13, P14, P15, P16, P17, P18, P19, P20, P21, P22) ⇒ T, fieldName1: String, fieldName2: String, fieldName3: String, fieldName4: String, fieldName5: String, fieldName6: String, fieldName7: String, fieldName8: String, fieldName9: String, fieldName10: String, fieldName11: String, fieldName12: String, fieldName13: String, fieldName14: String, fieldName15: String, fieldName16: String, fieldName17: String, fieldName18: String, fieldName19: String, fieldName20: String, fieldName21: String, fieldName22: String)(implicit arg0: JF[P1], arg1: JF[P2], arg2: JF[P3], arg3: JF[P4], arg4: JF[P5], arg5: JF[P6], arg6: JF[P7], arg7: JF[P8], arg8: JF[P9], arg9: JF[P10], arg10: JF[P11], arg11: JF[P12], arg12: JF[P13], arg13: JF[P14], arg14: JF[P15], arg15: JF[P16], arg16: JF[P17], arg17: JF[P18], arg18: JF[P19], arg19: JF[P20], arg20: JF[P21], arg21: JF[P22]): RootJsonFormat[T] + +

                      + + Permalink + + +
                      Definition Classes
                      ProductFormatsInstances
                      +
                    42. + + +

                      + + + def + + + jsonFormat[P1, P2, P3, P4, P5, P6, P7, P8, P9, P10, P11, P12, P13, P14, P15, P16, P17, P18, P19, P20, P21, T <: Product](construct: (P1, P2, P3, P4, P5, P6, P7, P8, P9, P10, P11, P12, P13, P14, P15, P16, P17, P18, P19, P20, P21) ⇒ T, fieldName1: String, fieldName2: String, fieldName3: String, fieldName4: String, fieldName5: String, fieldName6: String, fieldName7: String, fieldName8: String, fieldName9: String, fieldName10: String, fieldName11: String, fieldName12: String, fieldName13: String, fieldName14: String, fieldName15: String, fieldName16: String, fieldName17: String, fieldName18: String, fieldName19: String, fieldName20: String, fieldName21: String)(implicit arg0: JF[P1], arg1: JF[P2], arg2: JF[P3], arg3: JF[P4], arg4: JF[P5], arg5: JF[P6], arg6: JF[P7], arg7: JF[P8], arg8: JF[P9], arg9: JF[P10], arg10: JF[P11], arg11: JF[P12], arg12: JF[P13], arg13: JF[P14], arg14: JF[P15], arg15: JF[P16], arg16: JF[P17], arg17: JF[P18], arg18: JF[P19], arg19: JF[P20], arg20: JF[P21]): RootJsonFormat[T] + +

                      + + Permalink + + +
                      Definition Classes
                      ProductFormatsInstances
                      +
                    43. + + +

                      + + + def + + + jsonFormat[P1, P2, P3, P4, P5, P6, P7, P8, P9, P10, P11, P12, P13, P14, P15, P16, P17, P18, P19, P20, T <: Product](construct: (P1, P2, P3, P4, P5, P6, P7, P8, P9, P10, P11, P12, P13, P14, P15, P16, P17, P18, P19, P20) ⇒ T, fieldName1: String, fieldName2: String, fieldName3: String, fieldName4: String, fieldName5: String, fieldName6: String, fieldName7: String, fieldName8: String, fieldName9: String, fieldName10: String, fieldName11: String, fieldName12: String, fieldName13: String, fieldName14: String, fieldName15: String, fieldName16: String, fieldName17: String, fieldName18: String, fieldName19: String, fieldName20: String)(implicit arg0: JF[P1], arg1: JF[P2], arg2: JF[P3], arg3: JF[P4], arg4: JF[P5], arg5: JF[P6], arg6: JF[P7], arg7: JF[P8], arg8: JF[P9], arg9: JF[P10], arg10: JF[P11], arg11: JF[P12], arg12: JF[P13], arg13: JF[P14], arg14: JF[P15], arg15: JF[P16], arg16: JF[P17], arg17: JF[P18], arg18: JF[P19], arg19: JF[P20]): RootJsonFormat[T] + +

                      + + Permalink + + +
                      Definition Classes
                      ProductFormatsInstances
                      +
                    44. + + +

                      + + + def + + + jsonFormat[P1, P2, P3, P4, P5, P6, P7, P8, P9, P10, P11, P12, P13, P14, P15, P16, P17, P18, P19, T <: Product](construct: (P1, P2, P3, P4, P5, P6, P7, P8, P9, P10, P11, P12, P13, P14, P15, P16, P17, P18, P19) ⇒ T, fieldName1: String, fieldName2: String, fieldName3: String, fieldName4: String, fieldName5: String, fieldName6: String, fieldName7: String, fieldName8: String, fieldName9: String, fieldName10: String, fieldName11: String, fieldName12: String, fieldName13: String, fieldName14: String, fieldName15: String, fieldName16: String, fieldName17: String, fieldName18: String, fieldName19: String)(implicit arg0: JF[P1], arg1: JF[P2], arg2: JF[P3], arg3: JF[P4], arg4: JF[P5], arg5: JF[P6], arg6: JF[P7], arg7: JF[P8], arg8: JF[P9], arg9: JF[P10], arg10: JF[P11], arg11: JF[P12], arg12: JF[P13], arg13: JF[P14], arg14: JF[P15], arg15: JF[P16], arg16: JF[P17], arg17: JF[P18], arg18: JF[P19]): RootJsonFormat[T] + +

                      + + Permalink + + +
                      Definition Classes
                      ProductFormatsInstances
                      +
                    45. + + +

                      + + + def + + + jsonFormat[P1, P2, P3, P4, P5, P6, P7, P8, P9, P10, P11, P12, P13, P14, P15, P16, P17, P18, T <: Product](construct: (P1, P2, P3, P4, P5, P6, P7, P8, P9, P10, P11, P12, P13, P14, P15, P16, P17, P18) ⇒ T, fieldName1: String, fieldName2: String, fieldName3: String, fieldName4: String, fieldName5: String, fieldName6: String, fieldName7: String, fieldName8: String, fieldName9: String, fieldName10: String, fieldName11: String, fieldName12: String, fieldName13: String, fieldName14: String, fieldName15: String, fieldName16: String, fieldName17: String, fieldName18: String)(implicit arg0: JF[P1], arg1: JF[P2], arg2: JF[P3], arg3: JF[P4], arg4: JF[P5], arg5: JF[P6], arg6: JF[P7], arg7: JF[P8], arg8: JF[P9], arg9: JF[P10], arg10: JF[P11], arg11: JF[P12], arg12: JF[P13], arg13: JF[P14], arg14: JF[P15], arg15: JF[P16], arg16: JF[P17], arg17: JF[P18]): RootJsonFormat[T] + +

                      + + Permalink + + +
                      Definition Classes
                      ProductFormatsInstances
                      +
                    46. + + +

                      + + + def + + + jsonFormat[P1, P2, P3, P4, P5, P6, P7, P8, P9, P10, P11, P12, P13, P14, P15, P16, P17, T <: Product](construct: (P1, P2, P3, P4, P5, P6, P7, P8, P9, P10, P11, P12, P13, P14, P15, P16, P17) ⇒ T, fieldName1: String, fieldName2: String, fieldName3: String, fieldName4: String, fieldName5: String, fieldName6: String, fieldName7: String, fieldName8: String, fieldName9: String, fieldName10: String, fieldName11: String, fieldName12: String, fieldName13: String, fieldName14: String, fieldName15: String, fieldName16: String, fieldName17: String)(implicit arg0: JF[P1], arg1: JF[P2], arg2: JF[P3], arg3: JF[P4], arg4: JF[P5], arg5: JF[P6], arg6: JF[P7], arg7: JF[P8], arg8: JF[P9], arg9: JF[P10], arg10: JF[P11], arg11: JF[P12], arg12: JF[P13], arg13: JF[P14], arg14: JF[P15], arg15: JF[P16], arg16: JF[P17]): RootJsonFormat[T] + +

                      + + Permalink + + +
                      Definition Classes
                      ProductFormatsInstances
                      +
                    47. + + +

                      + + + def + + + jsonFormat[P1, P2, P3, P4, P5, P6, P7, P8, P9, P10, P11, P12, P13, P14, P15, P16, T <: Product](construct: (P1, P2, P3, P4, P5, P6, P7, P8, P9, P10, P11, P12, P13, P14, P15, P16) ⇒ T, fieldName1: String, fieldName2: String, fieldName3: String, fieldName4: String, fieldName5: String, fieldName6: String, fieldName7: String, fieldName8: String, fieldName9: String, fieldName10: String, fieldName11: String, fieldName12: String, fieldName13: String, fieldName14: String, fieldName15: String, fieldName16: String)(implicit arg0: JF[P1], arg1: JF[P2], arg2: JF[P3], arg3: JF[P4], arg4: JF[P5], arg5: JF[P6], arg6: JF[P7], arg7: JF[P8], arg8: JF[P9], arg9: JF[P10], arg10: JF[P11], arg11: JF[P12], arg12: JF[P13], arg13: JF[P14], arg14: JF[P15], arg15: JF[P16]): RootJsonFormat[T] + +

                      + + Permalink + + +
                      Definition Classes
                      ProductFormatsInstances
                      +
                    48. + + +

                      + + + def + + + jsonFormat[P1, P2, P3, P4, P5, P6, P7, P8, P9, P10, P11, P12, P13, P14, P15, T <: Product](construct: (P1, P2, P3, P4, P5, P6, P7, P8, P9, P10, P11, P12, P13, P14, P15) ⇒ T, fieldName1: String, fieldName2: String, fieldName3: String, fieldName4: String, fieldName5: String, fieldName6: String, fieldName7: String, fieldName8: String, fieldName9: String, fieldName10: String, fieldName11: String, fieldName12: String, fieldName13: String, fieldName14: String, fieldName15: String)(implicit arg0: JF[P1], arg1: JF[P2], arg2: JF[P3], arg3: JF[P4], arg4: JF[P5], arg5: JF[P6], arg6: JF[P7], arg7: JF[P8], arg8: JF[P9], arg9: JF[P10], arg10: JF[P11], arg11: JF[P12], arg12: JF[P13], arg13: JF[P14], arg14: JF[P15]): RootJsonFormat[T] + +

                      + + Permalink + + +
                      Definition Classes
                      ProductFormatsInstances
                      +
                    49. + + +

                      + + + def + + + jsonFormat[P1, P2, P3, P4, P5, P6, P7, P8, P9, P10, P11, P12, P13, P14, T <: Product](construct: (P1, P2, P3, P4, P5, P6, P7, P8, P9, P10, P11, P12, P13, P14) ⇒ T, fieldName1: String, fieldName2: String, fieldName3: String, fieldName4: String, fieldName5: String, fieldName6: String, fieldName7: String, fieldName8: String, fieldName9: String, fieldName10: String, fieldName11: String, fieldName12: String, fieldName13: String, fieldName14: String)(implicit arg0: JF[P1], arg1: JF[P2], arg2: JF[P3], arg3: JF[P4], arg4: JF[P5], arg5: JF[P6], arg6: JF[P7], arg7: JF[P8], arg8: JF[P9], arg9: JF[P10], arg10: JF[P11], arg11: JF[P12], arg12: JF[P13], arg13: JF[P14]): RootJsonFormat[T] + +

                      + + Permalink + + +
                      Definition Classes
                      ProductFormatsInstances
                      +
                    50. + + +

                      + + + def + + + jsonFormat[P1, P2, P3, P4, P5, P6, P7, P8, P9, P10, P11, P12, P13, T <: Product](construct: (P1, P2, P3, P4, P5, P6, P7, P8, P9, P10, P11, P12, P13) ⇒ T, fieldName1: String, fieldName2: String, fieldName3: String, fieldName4: String, fieldName5: String, fieldName6: String, fieldName7: String, fieldName8: String, fieldName9: String, fieldName10: String, fieldName11: String, fieldName12: String, fieldName13: String)(implicit arg0: JF[P1], arg1: JF[P2], arg2: JF[P3], arg3: JF[P4], arg4: JF[P5], arg5: JF[P6], arg6: JF[P7], arg7: JF[P8], arg8: JF[P9], arg9: JF[P10], arg10: JF[P11], arg11: JF[P12], arg12: JF[P13]): RootJsonFormat[T] + +

                      + + Permalink + + +
                      Definition Classes
                      ProductFormatsInstances
                      +
                    51. + + +

                      + + + def + + + jsonFormat[P1, P2, P3, P4, P5, P6, P7, P8, P9, P10, P11, P12, T <: Product](construct: (P1, P2, P3, P4, P5, P6, P7, P8, P9, P10, P11, P12) ⇒ T, fieldName1: String, fieldName2: String, fieldName3: String, fieldName4: String, fieldName5: String, fieldName6: String, fieldName7: String, fieldName8: String, fieldName9: String, fieldName10: String, fieldName11: String, fieldName12: String)(implicit arg0: JF[P1], arg1: JF[P2], arg2: JF[P3], arg3: JF[P4], arg4: JF[P5], arg5: JF[P6], arg6: JF[P7], arg7: JF[P8], arg8: JF[P9], arg9: JF[P10], arg10: JF[P11], arg11: JF[P12]): RootJsonFormat[T] + +

                      + + Permalink + + +
                      Definition Classes
                      ProductFormatsInstances
                      +
                    52. + + +

                      + + + def + + + jsonFormat[P1, P2, P3, P4, P5, P6, P7, P8, P9, P10, P11, T <: Product](construct: (P1, P2, P3, P4, P5, P6, P7, P8, P9, P10, P11) ⇒ T, fieldName1: String, fieldName2: String, fieldName3: String, fieldName4: String, fieldName5: String, fieldName6: String, fieldName7: String, fieldName8: String, fieldName9: String, fieldName10: String, fieldName11: String)(implicit arg0: JF[P1], arg1: JF[P2], arg2: JF[P3], arg3: JF[P4], arg4: JF[P5], arg5: JF[P6], arg6: JF[P7], arg7: JF[P8], arg8: JF[P9], arg9: JF[P10], arg10: JF[P11]): RootJsonFormat[T] + +

                      + + Permalink + + +
                      Definition Classes
                      ProductFormatsInstances
                      +
                    53. + + +

                      + + + def + + + jsonFormat[P1, P2, P3, P4, P5, P6, P7, P8, P9, P10, T <: Product](construct: (P1, P2, P3, P4, P5, P6, P7, P8, P9, P10) ⇒ T, fieldName1: String, fieldName2: String, fieldName3: String, fieldName4: String, fieldName5: String, fieldName6: String, fieldName7: String, fieldName8: String, fieldName9: String, fieldName10: String)(implicit arg0: JF[P1], arg1: JF[P2], arg2: JF[P3], arg3: JF[P4], arg4: JF[P5], arg5: JF[P6], arg6: JF[P7], arg7: JF[P8], arg8: JF[P9], arg9: JF[P10]): RootJsonFormat[T] + +

                      + + Permalink + + +
                      Definition Classes
                      ProductFormatsInstances
                      +
                    54. + + +

                      + + + def + + + jsonFormat[P1, P2, P3, P4, P5, P6, P7, P8, P9, T <: Product](construct: (P1, P2, P3, P4, P5, P6, P7, P8, P9) ⇒ T, fieldName1: String, fieldName2: String, fieldName3: String, fieldName4: String, fieldName5: String, fieldName6: String, fieldName7: String, fieldName8: String, fieldName9: String)(implicit arg0: JF[P1], arg1: JF[P2], arg2: JF[P3], arg3: JF[P4], arg4: JF[P5], arg5: JF[P6], arg6: JF[P7], arg7: JF[P8], arg8: JF[P9]): RootJsonFormat[T] + +

                      + + Permalink + + +
                      Definition Classes
                      ProductFormatsInstances
                      +
                    55. + + +

                      + + + def + + + jsonFormat[P1, P2, P3, P4, P5, P6, P7, P8, T <: Product](construct: (P1, P2, P3, P4, P5, P6, P7, P8) ⇒ T, fieldName1: String, fieldName2: String, fieldName3: String, fieldName4: String, fieldName5: String, fieldName6: String, fieldName7: String, fieldName8: String)(implicit arg0: JF[P1], arg1: JF[P2], arg2: JF[P3], arg3: JF[P4], arg4: JF[P5], arg5: JF[P6], arg6: JF[P7], arg7: JF[P8]): RootJsonFormat[T] + +

                      + + Permalink + + +
                      Definition Classes
                      ProductFormatsInstances
                      +
                    56. + + +

                      + + + def + + + jsonFormat[P1, P2, P3, P4, P5, P6, P7, T <: Product](construct: (P1, P2, P3, P4, P5, P6, P7) ⇒ T, fieldName1: String, fieldName2: String, fieldName3: String, fieldName4: String, fieldName5: String, fieldName6: String, fieldName7: String)(implicit arg0: JF[P1], arg1: JF[P2], arg2: JF[P3], arg3: JF[P4], arg4: JF[P5], arg5: JF[P6], arg6: JF[P7]): RootJsonFormat[T] + +

                      + + Permalink + + +
                      Definition Classes
                      ProductFormatsInstances
                      +
                    57. + + +

                      + + + def + + + jsonFormat[P1, P2, P3, P4, P5, P6, T <: Product](construct: (P1, P2, P3, P4, P5, P6) ⇒ T, fieldName1: String, fieldName2: String, fieldName3: String, fieldName4: String, fieldName5: String, fieldName6: String)(implicit arg0: JF[P1], arg1: JF[P2], arg2: JF[P3], arg3: JF[P4], arg4: JF[P5], arg5: JF[P6]): RootJsonFormat[T] + +

                      + + Permalink + + +
                      Definition Classes
                      ProductFormatsInstances
                      +
                    58. + + +

                      + + + def + + + jsonFormat[P1, P2, P3, P4, P5, T <: Product](construct: (P1, P2, P3, P4, P5) ⇒ T, fieldName1: String, fieldName2: String, fieldName3: String, fieldName4: String, fieldName5: String)(implicit arg0: JF[P1], arg1: JF[P2], arg2: JF[P3], arg3: JF[P4], arg4: JF[P5]): RootJsonFormat[T] + +

                      + + Permalink + + +
                      Definition Classes
                      ProductFormatsInstances
                      +
                    59. + + +

                      + + + def + + + jsonFormat[P1, P2, P3, P4, T <: Product](construct: (P1, P2, P3, P4) ⇒ T, fieldName1: String, fieldName2: String, fieldName3: String, fieldName4: String)(implicit arg0: JF[P1], arg1: JF[P2], arg2: JF[P3], arg3: JF[P4]): RootJsonFormat[T] + +

                      + + Permalink + + +
                      Definition Classes
                      ProductFormatsInstances
                      +
                    60. + + +

                      + + + def + + + jsonFormat[P1, P2, P3, T <: Product](construct: (P1, P2, P3) ⇒ T, fieldName1: String, fieldName2: String, fieldName3: String)(implicit arg0: JF[P1], arg1: JF[P2], arg2: JF[P3]): RootJsonFormat[T] + +

                      + + Permalink + + +
                      Definition Classes
                      ProductFormatsInstances
                      +
                    61. + + +

                      + + + def + + + jsonFormat[P1, P2, T <: Product](construct: (P1, P2) ⇒ T, fieldName1: String, fieldName2: String)(implicit arg0: JF[P1], arg1: JF[P2]): RootJsonFormat[T] + +

                      + + Permalink + + +
                      Definition Classes
                      ProductFormatsInstances
                      +
                    62. + + +

                      + + + def + + + jsonFormat[P1, T <: Product](construct: (P1) ⇒ T, fieldName1: String)(implicit arg0: JF[P1]): RootJsonFormat[T] + +

                      + + Permalink + + +
                      Definition Classes
                      ProductFormatsInstances
                      +
                    63. + + +

                      + + + def + + + jsonFormat0[T](construct: () ⇒ T): RootJsonFormat[T] + +

                      + + Permalink + + +
                      Definition Classes
                      ProductFormats
                      +
                    64. + + +

                      + + + def + + + jsonFormat1[P1, T <: Product](construct: (P1) ⇒ T)(implicit arg0: JF[P1], arg1: ClassManifest[T]): RootJsonFormat[T] + +

                      + + Permalink + + +
                      Definition Classes
                      ProductFormatsInstances
                      +
                    65. + + +

                      + + + def + + + jsonFormat10[P1, P2, P3, P4, P5, P6, P7, P8, P9, P10, T <: Product](construct: (P1, P2, P3, P4, P5, P6, P7, P8, P9, P10) ⇒ T)(implicit arg0: JF[P1], arg1: JF[P2], arg2: JF[P3], arg3: JF[P4], arg4: JF[P5], arg5: JF[P6], arg6: JF[P7], arg7: JF[P8], arg8: JF[P9], arg9: JF[P10], arg10: ClassManifest[T]): RootJsonFormat[T] + +

                      + + Permalink + + +
                      Definition Classes
                      ProductFormatsInstances
                      +
                    66. + + +

                      + + + def + + + jsonFormat11[P1, P2, P3, P4, P5, P6, P7, P8, P9, P10, P11, T <: Product](construct: (P1, P2, P3, P4, P5, P6, P7, P8, P9, P10, P11) ⇒ T)(implicit arg0: JF[P1], arg1: JF[P2], arg2: JF[P3], arg3: JF[P4], arg4: JF[P5], arg5: JF[P6], arg6: JF[P7], arg7: JF[P8], arg8: JF[P9], arg9: JF[P10], arg10: JF[P11], arg11: ClassManifest[T]): RootJsonFormat[T] + +

                      + + Permalink + + +
                      Definition Classes
                      ProductFormatsInstances
                      +
                    67. + + +

                      + + + def + + + jsonFormat12[P1, P2, P3, P4, P5, P6, P7, P8, P9, P10, P11, P12, T <: Product](construct: (P1, P2, P3, P4, P5, P6, P7, P8, P9, P10, P11, P12) ⇒ T)(implicit arg0: JF[P1], arg1: JF[P2], arg2: JF[P3], arg3: JF[P4], arg4: JF[P5], arg5: JF[P6], arg6: JF[P7], arg7: JF[P8], arg8: JF[P9], arg9: JF[P10], arg10: JF[P11], arg11: JF[P12], arg12: ClassManifest[T]): RootJsonFormat[T] + +

                      + + Permalink + + +
                      Definition Classes
                      ProductFormatsInstances
                      +
                    68. + + +

                      + + + def + + + jsonFormat13[P1, P2, P3, P4, P5, P6, P7, P8, P9, P10, P11, P12, P13, T <: Product](construct: (P1, P2, P3, P4, P5, P6, P7, P8, P9, P10, P11, P12, P13) ⇒ T)(implicit arg0: JF[P1], arg1: JF[P2], arg2: JF[P3], arg3: JF[P4], arg4: JF[P5], arg5: JF[P6], arg6: JF[P7], arg7: JF[P8], arg8: JF[P9], arg9: JF[P10], arg10: JF[P11], arg11: JF[P12], arg12: JF[P13], arg13: ClassManifest[T]): RootJsonFormat[T] + +

                      + + Permalink + + +
                      Definition Classes
                      ProductFormatsInstances
                      +
                    69. + + +

                      + + + def + + + jsonFormat14[P1, P2, P3, P4, P5, P6, P7, P8, P9, P10, P11, P12, P13, P14, T <: Product](construct: (P1, P2, P3, P4, P5, P6, P7, P8, P9, P10, P11, P12, P13, P14) ⇒ T)(implicit arg0: JF[P1], arg1: JF[P2], arg2: JF[P3], arg3: JF[P4], arg4: JF[P5], arg5: JF[P6], arg6: JF[P7], arg7: JF[P8], arg8: JF[P9], arg9: JF[P10], arg10: JF[P11], arg11: JF[P12], arg12: JF[P13], arg13: JF[P14], arg14: ClassManifest[T]): RootJsonFormat[T] + +

                      + + Permalink + + +
                      Definition Classes
                      ProductFormatsInstances
                      +
                    70. + + +

                      + + + def + + + jsonFormat15[P1, P2, P3, P4, P5, P6, P7, P8, P9, P10, P11, P12, P13, P14, P15, T <: Product](construct: (P1, P2, P3, P4, P5, P6, P7, P8, P9, P10, P11, P12, P13, P14, P15) ⇒ T)(implicit arg0: JF[P1], arg1: JF[P2], arg2: JF[P3], arg3: JF[P4], arg4: JF[P5], arg5: JF[P6], arg6: JF[P7], arg7: JF[P8], arg8: JF[P9], arg9: JF[P10], arg10: JF[P11], arg11: JF[P12], arg12: JF[P13], arg13: JF[P14], arg14: JF[P15], arg15: ClassManifest[T]): RootJsonFormat[T] + +

                      + + Permalink + + +
                      Definition Classes
                      ProductFormatsInstances
                      +
                    71. + + +

                      + + + def + + + jsonFormat16[P1, P2, P3, P4, P5, P6, P7, P8, P9, P10, P11, P12, P13, P14, P15, P16, T <: Product](construct: (P1, P2, P3, P4, P5, P6, P7, P8, P9, P10, P11, P12, P13, P14, P15, P16) ⇒ T)(implicit arg0: JF[P1], arg1: JF[P2], arg2: JF[P3], arg3: JF[P4], arg4: JF[P5], arg5: JF[P6], arg6: JF[P7], arg7: JF[P8], arg8: JF[P9], arg9: JF[P10], arg10: JF[P11], arg11: JF[P12], arg12: JF[P13], arg13: JF[P14], arg14: JF[P15], arg15: JF[P16], arg16: ClassManifest[T]): RootJsonFormat[T] + +

                      + + Permalink + + +
                      Definition Classes
                      ProductFormatsInstances
                      +
                    72. + + +

                      + + + def + + + jsonFormat17[P1, P2, P3, P4, P5, P6, P7, P8, P9, P10, P11, P12, P13, P14, P15, P16, P17, T <: Product](construct: (P1, P2, P3, P4, P5, P6, P7, P8, P9, P10, P11, P12, P13, P14, P15, P16, P17) ⇒ T)(implicit arg0: JF[P1], arg1: JF[P2], arg2: JF[P3], arg3: JF[P4], arg4: JF[P5], arg5: JF[P6], arg6: JF[P7], arg7: JF[P8], arg8: JF[P9], arg9: JF[P10], arg10: JF[P11], arg11: JF[P12], arg12: JF[P13], arg13: JF[P14], arg14: JF[P15], arg15: JF[P16], arg16: JF[P17], arg17: ClassManifest[T]): RootJsonFormat[T] + +

                      + + Permalink + + +
                      Definition Classes
                      ProductFormatsInstances
                      +
                    73. + + +

                      + + + def + + + jsonFormat18[P1, P2, P3, P4, P5, P6, P7, P8, P9, P10, P11, P12, P13, P14, P15, P16, P17, P18, T <: Product](construct: (P1, P2, P3, P4, P5, P6, P7, P8, P9, P10, P11, P12, P13, P14, P15, P16, P17, P18) ⇒ T)(implicit arg0: JF[P1], arg1: JF[P2], arg2: JF[P3], arg3: JF[P4], arg4: JF[P5], arg5: JF[P6], arg6: JF[P7], arg7: JF[P8], arg8: JF[P9], arg9: JF[P10], arg10: JF[P11], arg11: JF[P12], arg12: JF[P13], arg13: JF[P14], arg14: JF[P15], arg15: JF[P16], arg16: JF[P17], arg17: JF[P18], arg18: ClassManifest[T]): RootJsonFormat[T] + +

                      + + Permalink + + +
                      Definition Classes
                      ProductFormatsInstances
                      +
                    74. + + +

                      + + + def + + + jsonFormat19[P1, P2, P3, P4, P5, P6, P7, P8, P9, P10, P11, P12, P13, P14, P15, P16, P17, P18, P19, T <: Product](construct: (P1, P2, P3, P4, P5, P6, P7, P8, P9, P10, P11, P12, P13, P14, P15, P16, P17, P18, P19) ⇒ T)(implicit arg0: JF[P1], arg1: JF[P2], arg2: JF[P3], arg3: JF[P4], arg4: JF[P5], arg5: JF[P6], arg6: JF[P7], arg7: JF[P8], arg8: JF[P9], arg9: JF[P10], arg10: JF[P11], arg11: JF[P12], arg12: JF[P13], arg13: JF[P14], arg14: JF[P15], arg15: JF[P16], arg16: JF[P17], arg17: JF[P18], arg18: JF[P19], arg19: ClassManifest[T]): RootJsonFormat[T] + +

                      + + Permalink + + +
                      Definition Classes
                      ProductFormatsInstances
                      +
                    75. + + +

                      + + + def + + + jsonFormat2[P1, P2, T <: Product](construct: (P1, P2) ⇒ T)(implicit arg0: JF[P1], arg1: JF[P2], arg2: ClassManifest[T]): RootJsonFormat[T] + +

                      + + Permalink + + +
                      Definition Classes
                      ProductFormatsInstances
                      +
                    76. + + +

                      + + + def + + + jsonFormat20[P1, P2, P3, P4, P5, P6, P7, P8, P9, P10, P11, P12, P13, P14, P15, P16, P17, P18, P19, P20, T <: Product](construct: (P1, P2, P3, P4, P5, P6, P7, P8, P9, P10, P11, P12, P13, P14, P15, P16, P17, P18, P19, P20) ⇒ T)(implicit arg0: JF[P1], arg1: JF[P2], arg2: JF[P3], arg3: JF[P4], arg4: JF[P5], arg5: JF[P6], arg6: JF[P7], arg7: JF[P8], arg8: JF[P9], arg9: JF[P10], arg10: JF[P11], arg11: JF[P12], arg12: JF[P13], arg13: JF[P14], arg14: JF[P15], arg15: JF[P16], arg16: JF[P17], arg17: JF[P18], arg18: JF[P19], arg19: JF[P20], arg20: ClassManifest[T]): RootJsonFormat[T] + +

                      + + Permalink + + +
                      Definition Classes
                      ProductFormatsInstances
                      +
                    77. + + +

                      + + + def + + + jsonFormat21[P1, P2, P3, P4, P5, P6, P7, P8, P9, P10, P11, P12, P13, P14, P15, P16, P17, P18, P19, P20, P21, T <: Product](construct: (P1, P2, P3, P4, P5, P6, P7, P8, P9, P10, P11, P12, P13, P14, P15, P16, P17, P18, P19, P20, P21) ⇒ T)(implicit arg0: JF[P1], arg1: JF[P2], arg2: JF[P3], arg3: JF[P4], arg4: JF[P5], arg5: JF[P6], arg6: JF[P7], arg7: JF[P8], arg8: JF[P9], arg9: JF[P10], arg10: JF[P11], arg11: JF[P12], arg12: JF[P13], arg13: JF[P14], arg14: JF[P15], arg15: JF[P16], arg16: JF[P17], arg17: JF[P18], arg18: JF[P19], arg19: JF[P20], arg20: JF[P21], arg21: ClassManifest[T]): RootJsonFormat[T] + +

                      + + Permalink + + +
                      Definition Classes
                      ProductFormatsInstances
                      +
                    78. + + +

                      + + + def + + + jsonFormat22[P1, P2, P3, P4, P5, P6, P7, P8, P9, P10, P11, P12, P13, P14, P15, P16, P17, P18, P19, P20, P21, P22, T <: Product](construct: (P1, P2, P3, P4, P5, P6, P7, P8, P9, P10, P11, P12, P13, P14, P15, P16, P17, P18, P19, P20, P21, P22) ⇒ T)(implicit arg0: JF[P1], arg1: JF[P2], arg2: JF[P3], arg3: JF[P4], arg4: JF[P5], arg5: JF[P6], arg6: JF[P7], arg7: JF[P8], arg8: JF[P9], arg9: JF[P10], arg10: JF[P11], arg11: JF[P12], arg12: JF[P13], arg13: JF[P14], arg14: JF[P15], arg15: JF[P16], arg16: JF[P17], arg17: JF[P18], arg18: JF[P19], arg19: JF[P20], arg20: JF[P21], arg21: JF[P22], arg22: ClassManifest[T]): RootJsonFormat[T] + +

                      + + Permalink + + +
                      Definition Classes
                      ProductFormatsInstances
                      +
                    79. + + +

                      + + + def + + + jsonFormat3[P1, P2, P3, T <: Product](construct: (P1, P2, P3) ⇒ T)(implicit arg0: JF[P1], arg1: JF[P2], arg2: JF[P3], arg3: ClassManifest[T]): RootJsonFormat[T] + +

                      + + Permalink + + +
                      Definition Classes
                      ProductFormatsInstances
                      +
                    80. + + +

                      + + + def + + + jsonFormat4[P1, P2, P3, P4, T <: Product](construct: (P1, P2, P3, P4) ⇒ T)(implicit arg0: JF[P1], arg1: JF[P2], arg2: JF[P3], arg3: JF[P4], arg4: ClassManifest[T]): RootJsonFormat[T] + +

                      + + Permalink + + +
                      Definition Classes
                      ProductFormatsInstances
                      +
                    81. + + +

                      + + + def + + + jsonFormat5[P1, P2, P3, P4, P5, T <: Product](construct: (P1, P2, P3, P4, P5) ⇒ T)(implicit arg0: JF[P1], arg1: JF[P2], arg2: JF[P3], arg3: JF[P4], arg4: JF[P5], arg5: ClassManifest[T]): RootJsonFormat[T] + +

                      + + Permalink + + +
                      Definition Classes
                      ProductFormatsInstances
                      +
                    82. + + +

                      + + + def + + + jsonFormat6[P1, P2, P3, P4, P5, P6, T <: Product](construct: (P1, P2, P3, P4, P5, P6) ⇒ T)(implicit arg0: JF[P1], arg1: JF[P2], arg2: JF[P3], arg3: JF[P4], arg4: JF[P5], arg5: JF[P6], arg6: ClassManifest[T]): RootJsonFormat[T] + +

                      + + Permalink + + +
                      Definition Classes
                      ProductFormatsInstances
                      +
                    83. + + +

                      + + + def + + + jsonFormat7[P1, P2, P3, P4, P5, P6, P7, T <: Product](construct: (P1, P2, P3, P4, P5, P6, P7) ⇒ T)(implicit arg0: JF[P1], arg1: JF[P2], arg2: JF[P3], arg3: JF[P4], arg4: JF[P5], arg5: JF[P6], arg6: JF[P7], arg7: ClassManifest[T]): RootJsonFormat[T] + +

                      + + Permalink + + +
                      Definition Classes
                      ProductFormatsInstances
                      +
                    84. + + +

                      + + + def + + + jsonFormat8[P1, P2, P3, P4, P5, P6, P7, P8, T <: Product](construct: (P1, P2, P3, P4, P5, P6, P7, P8) ⇒ T)(implicit arg0: JF[P1], arg1: JF[P2], arg2: JF[P3], arg3: JF[P4], arg4: JF[P5], arg5: JF[P6], arg6: JF[P7], arg7: JF[P8], arg8: ClassManifest[T]): RootJsonFormat[T] + +

                      + + Permalink + + +
                      Definition Classes
                      ProductFormatsInstances
                      +
                    85. + + +

                      + + + def + + + jsonFormat9[P1, P2, P3, P4, P5, P6, P7, P8, P9, T <: Product](construct: (P1, P2, P3, P4, P5, P6, P7, P8, P9) ⇒ T)(implicit arg0: JF[P1], arg1: JF[P2], arg2: JF[P3], arg3: JF[P4], arg4: JF[P5], arg5: JF[P6], arg6: JF[P7], arg7: JF[P8], arg8: JF[P9], arg9: ClassManifest[T]): RootJsonFormat[T] + +

                      + + Permalink + + +
                      Definition Classes
                      ProductFormatsInstances
                      +
                    86. + + +

                      + + + def + + + lazyFormat[T](format: ⇒ JsonFormat[T]): JsonFormat[T] { lazy val delegate: spray.json.JsonFormat[T] } + +

                      + + Permalink + + +
                      Definition Classes
                      AdditionalFormats
                      +
                    87. + + +

                      + + + def + + + lift[T <: AnyRef](reader: RootJsonReader[T]): RootJsonFormat[T] + +

                      + + Permalink + + +
                      Definition Classes
                      AdditionalFormats
                      +
                    88. + + +

                      + + + def + + + lift[T <: AnyRef](reader: JsonReader[T]): JsonFormat[T] + +

                      + + Permalink + + +
                      Definition Classes
                      AdditionalFormats
                      +
                    89. + + +

                      + + + def + + + lift[T](writer: RootJsonWriter[T]): RootJsonFormat[T] + +

                      + + Permalink + + +
                      Definition Classes
                      AdditionalFormats
                      +
                    90. + + +

                      + + + def + + + lift[T](writer: JsonWriter[T]): JsonFormat[T] { def read(value: spray.json.JsValue): Nothing } + +

                      + + Permalink + + +
                      Definition Classes
                      AdditionalFormats
                      +
                    91. + + +

                      + + implicit + def + + + linearSeqFormat[T](implicit arg0: JsonFormat[T]): RootJsonFormat[LinearSeq[T]] + +

                      + + Permalink + + +
                      Definition Classes
                      CollectionFormats
                      +
                    92. + + +

                      + + implicit + def + + + listFormat[T](implicit arg0: JsonFormat[T]): RootJsonFormat[List[T]] { def write(list: List[T]): spray.json.JsArray } + +

                      + + Permalink + + +
                      Definition Classes
                      CollectionFormats
                      +
                    93. + + +

                      + + implicit + def + + + mapFormat[K, V](implicit arg0: JsonFormat[K], arg1: JsonFormat[V]): RootJsonFormat[Map[K, V]] { def write(m: Map[K,V]): spray.json.JsObject } + +

                      + + Permalink + + +
                      Definition Classes
                      CollectionFormats
                      +
                    94. + + +

                      + + final + def + + + ne(arg0: AnyRef): Boolean + +

                      + + Permalink + + +
                      Definition Classes
                      AnyRef
                      +
                    95. + + +

                      + + final + def + + + notify(): Unit + +

                      + + Permalink + + +
                      Definition Classes
                      AnyRef
                      +
                    96. + + +

                      + + final + def + + + notifyAll(): Unit + +

                      + + Permalink + + +
                      Definition Classes
                      AnyRef
                      +
                    97. + + +

                      + + implicit + def + + + optionFormat[T](implicit arg0: JF[T]): JF[Option[T]] + +

                      + + Permalink + + +
                      Definition Classes
                      StandardFormats
                      +
                    98. + + +

                      + + + def + + + productElement2Field[T](fieldName: String, p: Product, ix: Int, rest: List[JsField])(implicit writer: JsonWriter[T]): List[JsField] + +

                      + + Permalink + + +
                      Attributes
                      protected
                      Definition Classes
                      ProductFormats
                      +
                    99. + + +

                      + + + def + + + rootFormat[T](format: JsonFormat[T]): RootJsonFormat[T] + +

                      + + Permalink + + +
                      Definition Classes
                      AdditionalFormats
                      +
                    100. + + +

                      + + + def + + + rootJsonFormat[T](reader: RootJsonReader[T], writer: RootJsonWriter[T]): RootJsonFormat[T] + +

                      + + Permalink + + +
                      Definition Classes
                      AdditionalFormats
                      +
                    101. + + +

                      + + + def + + + safeReader[A](implicit arg0: JsonReader[A]): JsonReader[Either[Exception, A]] + +

                      + + Permalink + + +
                      Definition Classes
                      AdditionalFormats
                      +
                    102. + + +

                      + + implicit + def + + + seqFormat[T](implicit arg0: JsonFormat[T]): RootJsonFormat[Seq[T]] + +

                      + + Permalink + + +
                      Definition Classes
                      CollectionFormats
                      +
                    103. + + +

                      + + implicit + def + + + setFormat[T](implicit arg0: JsonFormat[T]): RootJsonFormat[Set[T]] + +

                      + + Permalink + + +
                      Definition Classes
                      CollectionFormats
                      +
                    104. + + +

                      + + final + def + + + synchronized[T0](arg0: ⇒ T0): T0 + +

                      + + Permalink + + +
                      Definition Classes
                      AnyRef
                      +
                    105. + + +

                      + + + def + + + toString(): String + +

                      + + Permalink + + +
                      Definition Classes
                      AnyRef → Any
                      +
                    106. + + +

                      + + implicit + def + + + tuple1Format[A](implicit arg0: JF[A]): JF[(A)] + +

                      + + Permalink + + +
                      Definition Classes
                      StandardFormats
                      +
                    107. + + +

                      + + implicit + def + + + tuple2Format[A, B](implicit arg0: JF[A], arg1: JF[B]): RootJsonFormat[(A, B)] { def write(t: (A, B)): spray.json.JsArray } + +

                      + + Permalink + + +
                      Definition Classes
                      StandardFormats
                      +
                    108. + + +

                      + + implicit + def + + + tuple3Format[A, B, C](implicit arg0: JF[A], arg1: JF[B], arg2: JF[C]): RootJsonFormat[(A, B, C)] { def write(t: (A, B, C)): spray.json.JsArray } + +

                      + + Permalink + + +
                      Definition Classes
                      StandardFormats
                      +
                    109. + + +

                      + + implicit + def + + + tuple4Format[A, B, C, D](implicit arg0: JF[A], arg1: JF[B], arg2: JF[C], arg3: JF[D]): RootJsonFormat[(A, B, C, D)] { def write(t: (A, B, C, D)): spray.json.JsArray } + +

                      + + Permalink + + +
                      Definition Classes
                      StandardFormats
                      +
                    110. + + +

                      + + implicit + def + + + tuple5Format[A, B, C, D, E](implicit arg0: JF[A], arg1: JF[B], arg2: JF[C], arg3: JF[D], arg4: JF[E]): RootJsonFormat[(A, B, C, D, E)] { def write(t: (A, B, C, D, E)): spray.json.JsArray } + +

                      + + Permalink + + +
                      Definition Classes
                      StandardFormats
                      +
                    111. + + +

                      + + implicit + def + + + tuple6Format[A, B, C, D, E, F](implicit arg0: JF[A], arg1: JF[B], arg2: JF[C], arg3: JF[D], arg4: JF[E], arg5: JF[F]): RootJsonFormat[(A, B, C, D, E, F)] { def write(t: (A, B, C, D, E, F)): spray.json.JsArray } + +

                      + + Permalink + + +
                      Definition Classes
                      StandardFormats
                      +
                    112. + + +

                      + + implicit + def + + + tuple7Format[A, B, C, D, E, F, G](implicit arg0: JF[A], arg1: JF[B], arg2: JF[C], arg3: JF[D], arg4: JF[E], arg5: JF[F], arg6: JF[G]): RootJsonFormat[(A, B, C, D, E, F, G)] { def write(t: (A, B, C, D, E, F, G)): spray.json.JsArray } + +

                      + + Permalink + + +
                      Definition Classes
                      StandardFormats
                      +
                    113. + + +

                      + + implicit + def + + + vectorFormat[T](implicit arg0: JsonFormat[T]): RootJsonFormat[Vector[T]] + +

                      + + Permalink + + +
                      Definition Classes
                      CollectionFormats
                      +
                    114. + + +

                      + + + def + + + viaSeq[I <: Iterable[T], T](f: (Seq[T]) ⇒ I)(implicit arg0: JsonFormat[T]): RootJsonFormat[I] + +

                      + + Permalink + + +
                      Definition Classes
                      CollectionFormats
                      +
                    115. + + +

                      + + final + def + + + wait(): Unit + +

                      + + Permalink + + +
                      Definition Classes
                      AnyRef
                      Annotations
                      + @throws( + + ... + ) + +
                      +
                    116. + + +

                      + + final + def + + + wait(arg0: Long, arg1: Int): Unit + +

                      + + Permalink + + +
                      Definition Classes
                      AnyRef
                      Annotations
                      + @throws( + + ... + ) + +
                      +
                    117. + + +

                      + + final + def + + + wait(arg0: Long): Unit + +

                      + + Permalink + + +
                      Definition Classes
                      AnyRef
                      Annotations
                      + @throws( + + ... + ) + +
                      +
                    +
                    + + + + +
                    + +
                    +
                    +

                    Inherited from DefaultJsonProtocol

                    +
                    +

                    Inherited from AdditionalFormats

                    +
                    +

                    Inherited from ProductFormats

                    +
                    +

                    Inherited from ProductFormatsInstances

                    +
                    +

                    Inherited from CollectionFormats

                    +
                    +

                    Inherited from StandardFormats

                    +
                    +

                    Inherited from BasicFormats

                    +
                    +

                    Inherited from AnyRef

                    +
                    +

                    Inherited from Any

                    +
                    + +
                    + +
                    +
                    +

                    Ungrouped

                    + +
                    +
                    + +
                    + +
                    + + + + + + diff --git a/manual1903/api_reference/component-pipe/scaladocs/ksb/csle/component/pipe/controller/vo/RouteContext$.html b/manual1903/api_reference/component-pipe/scaladocs/ksb/csle/component/pipe/controller/vo/RouteContext$.html new file mode 100644 index 0000000000000000000000000000000000000000..a1b2683fd194d017d9f68f37961965e0e8efd261 --- /dev/null +++ b/manual1903/api_reference/component-pipe/scaladocs/ksb/csle/component/pipe/controller/vo/RouteContext$.html @@ -0,0 +1,505 @@ + + + + RouteContext - KSB COMPONENT-PIPE Scala App Project 1.0-SNAPSHOT API - ksb.csle.component.pipe.controller.vo.RouteContext + + + + + + + + + + + + + + + + + +

                    + + + object + + + RouteContext extends Serializable + +

                    + +
                    + Linear Supertypes +
                    Serializable, Serializable, AnyRef, Any
                    +
                    + + +
                    +
                    +
                    + Ordering +
                      + +
                    1. Alphabetic
                    2. +
                    3. By Inheritance
                    4. +
                    +
                    +
                    + Inherited
                    +
                    +
                      +
                    1. RouteContext
                    2. Serializable
                    3. Serializable
                    4. AnyRef
                    5. Any
                    6. +
                    +
                    + +
                      +
                    1. Hide All
                    2. +
                    3. Show All
                    4. +
                    +
                    +
                    + Visibility +
                    1. Public
                    2. All
                    +
                    +
                    + +
                    +
                    + + + + + + +
                    +

                    Value Members

                    +
                    1. + + +

                      + + final + def + + + !=(arg0: Any): Boolean + +

                      + + Permalink + + +
                      Definition Classes
                      AnyRef → Any
                      +
                    2. + + +

                      + + final + def + + + ##(): Int + +

                      + + Permalink + + +
                      Definition Classes
                      AnyRef → Any
                      +
                    3. + + +

                      + + final + def + + + ==(arg0: Any): Boolean + +

                      + + Permalink + + +
                      Definition Classes
                      AnyRef → Any
                      +
                    4. + + +

                      + + final + def + + + asInstanceOf[T0]: T0 + +

                      + + Permalink + + +
                      Definition Classes
                      Any
                      +
                    5. + + +

                      + + + def + + + clone(): AnyRef + +

                      + + Permalink + + +
                      Attributes
                      protected[java.lang]
                      Definition Classes
                      AnyRef
                      Annotations
                      + @throws( + + ... + ) + +
                      +
                    6. + + +

                      + + final + def + + + eq(arg0: AnyRef): Boolean + +

                      + + Permalink + + +
                      Definition Classes
                      AnyRef
                      +
                    7. + + +

                      + + + def + + + equals(arg0: Any): Boolean + +

                      + + Permalink + + +
                      Definition Classes
                      AnyRef → Any
                      +
                    8. + + +

                      + + + def + + + finalize(): Unit + +

                      + + Permalink + + +
                      Attributes
                      protected[java.lang]
                      Definition Classes
                      AnyRef
                      Annotations
                      + @throws( + + classOf[java.lang.Throwable] + ) + +
                      +
                    9. + + +

                      + + final + def + + + getClass(): Class[_] + +

                      + + Permalink + + +
                      Definition Classes
                      AnyRef → Any
                      +
                    10. + + +

                      + + + def + + + hashCode(): Int + +

                      + + Permalink + + +
                      Definition Classes
                      AnyRef → Any
                      +
                    11. + + +

                      + + final + def + + + isInstanceOf[T0]: Boolean + +

                      + + Permalink + + +
                      Definition Classes
                      Any
                      +
                    12. + + +

                      + + final + def + + + ne(arg0: AnyRef): Boolean + +

                      + + Permalink + + +
                      Definition Classes
                      AnyRef
                      +
                    13. + + +

                      + + final + def + + + notify(): Unit + +

                      + + Permalink + + +
                      Definition Classes
                      AnyRef
                      +
                    14. + + +

                      + + final + def + + + notifyAll(): Unit + +

                      + + Permalink + + +
                      Definition Classes
                      AnyRef
                      +
                    15. + + +

                      + + final + def + + + synchronized[T0](arg0: ⇒ T0): T0 + +

                      + + Permalink + + +
                      Definition Classes
                      AnyRef
                      +
                    16. + + +

                      + + + def + + + toCase(jsonStr: String)(implicit ev: JsonReader[RouteCtxCase]): RouteCtxCase + +

                      + + Permalink + + + +
                    17. + + +

                      + + + def + + + toString(): String + +

                      + + Permalink + + +
                      Definition Classes
                      AnyRef → Any
                      +
                    18. + + +

                      + + final + def + + + wait(): Unit + +

                      + + Permalink + + +
                      Definition Classes
                      AnyRef
                      Annotations
                      + @throws( + + ... + ) + +
                      +
                    19. + + +

                      + + final + def + + + wait(arg0: Long, arg1: Int): Unit + +

                      + + Permalink + + +
                      Definition Classes
                      AnyRef
                      Annotations
                      + @throws( + + ... + ) + +
                      +
                    20. + + +

                      + + final + def + + + wait(arg0: Long): Unit + +

                      + + Permalink + + +
                      Definition Classes
                      AnyRef
                      Annotations
                      + @throws( + + ... + ) + +
                      +
                    +
                    + + + + +
                    + +
                    +
                    +

                    Inherited from Serializable

                    +
                    +

                    Inherited from Serializable

                    +
                    +

                    Inherited from AnyRef

                    +
                    +

                    Inherited from Any

                    +
                    + +
                    + +
                    +
                    +

                    Ungrouped

                    + +
                    +
                    + +
                    + +
                    + + + + + + diff --git a/manual1903/api_reference/component-pipe/scaladocs/ksb/csle/component/pipe/controller/vo/RouteContext.html b/manual1903/api_reference/component-pipe/scaladocs/ksb/csle/component/pipe/controller/vo/RouteContext.html new file mode 100644 index 0000000000000000000000000000000000000000..094416eee65d5a59517807d338c62a4a1ab90ecc --- /dev/null +++ b/manual1903/api_reference/component-pipe/scaladocs/ksb/csle/component/pipe/controller/vo/RouteContext.html @@ -0,0 +1,773 @@ + + + + RouteContext - KSB COMPONENT-PIPE Scala App Project 1.0-SNAPSHOT API - ksb.csle.component.pipe.controller.vo.RouteContext + + + + + + + + + + + + + + + + + +

                    + + + class + + + RouteContext extends BaseRouteContext[RouteCtxCase] + +

                    + +
                    + Linear Supertypes +
                    BaseRouteContext[RouteCtxCase], BaseContext[RouteCtxCase], BaseParam, BaseDoer, Logging, Serializable, Serializable, AnyRef, Any
                    +
                    + + +
                    +
                    +
                    + Ordering +
                      + +
                    1. Alphabetic
                    2. +
                    3. By Inheritance
                    4. +
                    +
                    +
                    + Inherited
                    +
                    +
                      +
                    1. RouteContext
                    2. BaseRouteContext
                    3. BaseContext
                    4. BaseParam
                    5. BaseDoer
                    6. Logging
                    7. Serializable
                    8. Serializable
                    9. AnyRef
                    10. Any
                    11. +
                    +
                    + +
                      +
                    1. Hide All
                    2. +
                    3. Show All
                    4. +
                    +
                    +
                    + Visibility +
                    1. Public
                    2. All
                    +
                    +
                    + +
                    +
                    +
                    +

                    Instance Constructors

                    +
                    1. + + +

                      + + + new + + + RouteContext(yourCtxStr: String)(implicit ev: JsonReader[RouteCtxCase]) + +

                      + + Permalink + + + +
                    2. + + +

                      + + + new + + + RouteContext(myCtxCase: RouteCtxCase) + +

                      + + Permalink + + + +
                    +
                    + + + + + +
                    +

                    Value Members

                    +
                    1. + + +

                      + + final + def + + + !=(arg0: Any): Boolean + +

                      + + Permalink + + +
                      Definition Classes
                      AnyRef → Any
                      +
                    2. + + +

                      + + final + def + + + ##(): Int + +

                      + + Permalink + + +
                      Definition Classes
                      AnyRef → Any
                      +
                    3. + + +

                      + + final + def + + + ==(arg0: Any): Boolean + +

                      + + Permalink + + +
                      Definition Classes
                      AnyRef → Any
                      +
                    4. + + +

                      + + final + def + + + asInstanceOf[T0]: T0 + +

                      + + Permalink + + +
                      Definition Classes
                      Any
                      +
                    5. + + +

                      + + + def + + + clone(): AnyRef + +

                      + + Permalink + + +
                      Attributes
                      protected[java.lang]
                      Definition Classes
                      AnyRef
                      Annotations
                      + @throws( + + ... + ) + +
                      +
                    6. + + +

                      + + + def + + + copy: RouteContext + +

                      + + Permalink + + +
                      Definition Classes
                      RouteContext → BaseRouteContext
                      +
                    7. + + +

                      + + final + def + + + eq(arg0: AnyRef): Boolean + +

                      + + Permalink + + +
                      Definition Classes
                      AnyRef
                      +
                    8. + + +

                      + + + def + + + equals(arg0: Any): Boolean + +

                      + + Permalink + + +
                      Definition Classes
                      AnyRef → Any
                      +
                    9. + + +

                      + + + def + + + finalize(): Unit + +

                      + + Permalink + + +
                      Attributes
                      protected[java.lang]
                      Definition Classes
                      AnyRef
                      Annotations
                      + @throws( + + classOf[java.lang.Throwable] + ) + +
                      +
                    10. + + +

                      + + final + def + + + getClass(): Class[_] + +

                      + + Permalink + + +
                      Definition Classes
                      AnyRef → Any
                      +
                    11. + + +

                      + + + def + + + getData(): Option[String] + +

                      + + Permalink + + +
                      Definition Classes
                      RouteContext → BaseRouteContext
                      +
                    12. + + +

                      + + + def + + + getInput(): Option[String] + +

                      + + Permalink + + +
                      Definition Classes
                      RouteContext → BaseRouteContext
                      +
                    13. + + +

                      + + + def + + + getOutput(): Option[String] + +

                      + + Permalink + + +
                      Definition Classes
                      RouteContext → BaseRouteContext
                      +
                    14. + + +

                      + + + def + + + getOutputList(): Option[String] + +

                      + + Permalink + + +
                      Definition Classes
                      BaseRouteContext
                      +
                    15. + + +

                      + + + def + + + getRoute(): Option[String] + +

                      + + Permalink + + +
                      Definition Classes
                      RouteContext → BaseRouteContext
                      +
                    16. + + +

                      + + + def + + + hashCode(): Int + +

                      + + Permalink + + +
                      Definition Classes
                      AnyRef → Any
                      +
                    17. + + +

                      + + final + def + + + isInstanceOf[T0]: Boolean + +

                      + + Permalink + + +
                      Definition Classes
                      Any
                      +
                    18. + + +

                      + + + val + + + logger: Logger + +

                      + + Permalink + + +
                      Attributes
                      protected
                      Definition Classes
                      Logging
                      +
                    19. + + +

                      + + + val + + + myCtxCase: RouteCtxCase + +

                      + + Permalink + + +
                      Definition Classes
                      RouteContext → BaseRouteContext
                      +
                    20. + + +

                      + + final + def + + + ne(arg0: AnyRef): Boolean + +

                      + + Permalink + + +
                      Definition Classes
                      AnyRef
                      +
                    21. + + +

                      + + final + def + + + notify(): Unit + +

                      + + Permalink + + +
                      Definition Classes
                      AnyRef
                      +
                    22. + + +

                      + + final + def + + + notifyAll(): Unit + +

                      + + Permalink + + +
                      Definition Classes
                      AnyRef
                      +
                    23. + + +

                      + + + def + + + setData(data: Option[String]): Unit + +

                      + + Permalink + + +
                      Definition Classes
                      RouteContext → BaseRouteContext
                      +
                    24. + + +

                      + + + def + + + setInput(input: Option[String]): Unit + +

                      + + Permalink + + +
                      Definition Classes
                      RouteContext → BaseRouteContext
                      +
                    25. + + +

                      + + + def + + + setOutput(output: Option[String]): Unit + +

                      + + Permalink + + +
                      Definition Classes
                      RouteContext → BaseRouteContext
                      +
                    26. + + +

                      + + + def + + + setRoute(route: Option[String]): Unit + +

                      + + Permalink + + +
                      Definition Classes
                      RouteContext → BaseRouteContext
                      +
                    27. + + +

                      + + final + def + + + synchronized[T0](arg0: ⇒ T0): T0 + +

                      + + Permalink + + +
                      Definition Classes
                      AnyRef
                      +
                    28. + + +

                      + + + def + + + toCase(yourCtxStr: String): RouteCtxCase + +

                      + + Permalink + + +
                      Definition Classes
                      RouteContext → BaseRouteContext
                      +
                    29. + + +

                      + + + def + + + toJsonString: String + +

                      + + Permalink + + +
                      Definition Classes
                      RouteContext → BaseRouteContext
                      +
                    30. + + +

                      + + + def + + + toString(): String + +

                      + + Permalink + + +
                      Definition Classes
                      AnyRef → Any
                      +
                    31. + + +

                      + + final + def + + + wait(): Unit + +

                      + + Permalink + + +
                      Definition Classes
                      AnyRef
                      Annotations
                      + @throws( + + ... + ) + +
                      +
                    32. + + +

                      + + final + def + + + wait(arg0: Long, arg1: Int): Unit + +

                      + + Permalink + + +
                      Definition Classes
                      AnyRef
                      Annotations
                      + @throws( + + ... + ) + +
                      +
                    33. + + +

                      + + final + def + + + wait(arg0: Long): Unit + +

                      + + Permalink + + +
                      Definition Classes
                      AnyRef
                      Annotations
                      + @throws( + + ... + ) + +
                      +
                    +
                    + + + + +
                    + +
                    +
                    +

                    Inherited from BaseRouteContext[RouteCtxCase]

                    +
                    +

                    Inherited from BaseContext[RouteCtxCase]

                    +
                    +

                    Inherited from BaseParam

                    +
                    +

                    Inherited from BaseDoer

                    +
                    +

                    Inherited from Logging

                    +
                    +

                    Inherited from Serializable

                    +
                    +

                    Inherited from Serializable

                    +
                    +

                    Inherited from AnyRef

                    +
                    +

                    Inherited from Any

                    +
                    + +
                    + +
                    +
                    +

                    Ungrouped

                    + +
                    +
                    + +
                    + +
                    + + + + + + diff --git a/manual1903/api_reference/component-pipe/scaladocs/ksb/csle/component/pipe/controller/vo/RouteCtxCase.html b/manual1903/api_reference/component-pipe/scaladocs/ksb/csle/component/pipe/controller/vo/RouteCtxCase.html new file mode 100644 index 0000000000000000000000000000000000000000..01e2fb9c00a97431a51db5f4b2332aa687bc4d98 --- /dev/null +++ b/manual1903/api_reference/component-pipe/scaladocs/ksb/csle/component/pipe/controller/vo/RouteCtxCase.html @@ -0,0 +1,552 @@ + + + + RouteCtxCase - KSB COMPONENT-PIPE Scala App Project 1.0-SNAPSHOT API - ksb.csle.component.pipe.controller.vo.RouteCtxCase + + + + + + + + + + + + + + + +
                    + Class +

                    ksb.csle.component.pipe.controller.vo

                    +

                    RouteCtxCase

                    Related Doc: + package vo +

                    + + Permalink + + +
                    + +

                    + + + case class + + + RouteCtxCase(data: Option[String], route: Option[String], input: Option[String], output: Option[String]) extends BaseDoer with BaseCase with Product with Serializable + +

                    + +
                    + Linear Supertypes +
                    Product, Equals, BaseCase, BaseParam, BaseDoer, Logging, Serializable, Serializable, AnyRef, Any
                    +
                    + + +
                    +
                    +
                    + Ordering +
                      + +
                    1. Alphabetic
                    2. +
                    3. By Inheritance
                    4. +
                    +
                    +
                    + Inherited
                    +
                    +
                      +
                    1. RouteCtxCase
                    2. Product
                    3. Equals
                    4. BaseCase
                    5. BaseParam
                    6. BaseDoer
                    7. Logging
                    8. Serializable
                    9. Serializable
                    10. AnyRef
                    11. Any
                    12. +
                    +
                    + +
                      +
                    1. Hide All
                    2. +
                    3. Show All
                    4. +
                    +
                    +
                    + Visibility +
                    1. Public
                    2. All
                    +
                    +
                    + +
                    +
                    +
                    +

                    Instance Constructors

                    +
                    1. + + +

                      + + + new + + + RouteCtxCase(data: Option[String], route: Option[String], input: Option[String], output: Option[String]) + +

                      + + Permalink + + + +
                    +
                    + + + + + +
                    +

                    Value Members

                    +
                    1. + + +

                      + + final + def + + + !=(arg0: Any): Boolean + +

                      + + Permalink + + +
                      Definition Classes
                      AnyRef → Any
                      +
                    2. + + +

                      + + final + def + + + ##(): Int + +

                      + + Permalink + + +
                      Definition Classes
                      AnyRef → Any
                      +
                    3. + + +

                      + + final + def + + + ==(arg0: Any): Boolean + +

                      + + Permalink + + +
                      Definition Classes
                      AnyRef → Any
                      +
                    4. + + +

                      + + final + def + + + asInstanceOf[T0]: T0 + +

                      + + Permalink + + +
                      Definition Classes
                      Any
                      +
                    5. + + +

                      + + + def + + + clone(): AnyRef + +

                      + + Permalink + + +
                      Attributes
                      protected[java.lang]
                      Definition Classes
                      AnyRef
                      Annotations
                      + @throws( + + ... + ) + +
                      +
                    6. + + +

                      + + + var + + + data: Option[String] + +

                      + + Permalink + + +
                      Definition Classes
                      RouteCtxCaseBaseCase
                      +
                    7. + + +

                      + + final + def + + + eq(arg0: AnyRef): Boolean + +

                      + + Permalink + + +
                      Definition Classes
                      AnyRef
                      +
                    8. + + +

                      + + + def + + + finalize(): Unit + +

                      + + Permalink + + +
                      Attributes
                      protected[java.lang]
                      Definition Classes
                      AnyRef
                      Annotations
                      + @throws( + + classOf[java.lang.Throwable] + ) + +
                      +
                    9. + + +

                      + + final + def + + + getClass(): Class[_] + +

                      + + Permalink + + +
                      Definition Classes
                      AnyRef → Any
                      +
                    10. + + +

                      + + + var + + + input: Option[String] + +

                      + + Permalink + + +
                      Definition Classes
                      RouteCtxCaseBaseCase
                      +
                    11. + + +

                      + + final + def + + + isInstanceOf[T0]: Boolean + +

                      + + Permalink + + +
                      Definition Classes
                      Any
                      +
                    12. + + +

                      + + + val + + + logger: Logger + +

                      + + Permalink + + +
                      Attributes
                      protected
                      Definition Classes
                      Logging
                      +
                    13. + + +

                      + + final + def + + + ne(arg0: AnyRef): Boolean + +

                      + + Permalink + + +
                      Definition Classes
                      AnyRef
                      +
                    14. + + +

                      + + final + def + + + notify(): Unit + +

                      + + Permalink + + +
                      Definition Classes
                      AnyRef
                      +
                    15. + + +

                      + + final + def + + + notifyAll(): Unit + +

                      + + Permalink + + +
                      Definition Classes
                      AnyRef
                      +
                    16. + + +

                      + + + var + + + output: Option[String] + +

                      + + Permalink + + +
                      Definition Classes
                      RouteCtxCaseBaseCase
                      +
                    17. + + +

                      + + + var + + + route: Option[String] + +

                      + + Permalink + + +
                      Definition Classes
                      RouteCtxCaseBaseCase
                      +
                    18. + + +

                      + + final + def + + + synchronized[T0](arg0: ⇒ T0): T0 + +

                      + + Permalink + + +
                      Definition Classes
                      AnyRef
                      +
                    19. + + +

                      + + final + def + + + wait(): Unit + +

                      + + Permalink + + +
                      Definition Classes
                      AnyRef
                      Annotations
                      + @throws( + + ... + ) + +
                      +
                    20. + + +

                      + + final + def + + + wait(arg0: Long, arg1: Int): Unit + +

                      + + Permalink + + +
                      Definition Classes
                      AnyRef
                      Annotations
                      + @throws( + + ... + ) + +
                      +
                    21. + + +

                      + + final + def + + + wait(arg0: Long): Unit + +

                      + + Permalink + + +
                      Definition Classes
                      AnyRef
                      Annotations
                      + @throws( + + ... + ) + +
                      +
                    +
                    + + + + +
                    + +
                    +
                    +

                    Inherited from Product

                    +
                    +

                    Inherited from Equals

                    +
                    +

                    Inherited from BaseCase

                    +
                    +

                    Inherited from BaseParam

                    +
                    +

                    Inherited from BaseDoer

                    +
                    +

                    Inherited from Logging

                    +
                    +

                    Inherited from Serializable

                    +
                    +

                    Inherited from Serializable

                    +
                    +

                    Inherited from AnyRef

                    +
                    +

                    Inherited from Any

                    +
                    + +
                    + +
                    +
                    +

                    Ungrouped

                    + +
                    +
                    + +
                    + +
                    + + + + + + diff --git a/manual1903/api_reference/component-pipe/scaladocs/ksb/csle/component/pipe/controller/vo/package.html b/manual1903/api_reference/component-pipe/scaladocs/ksb/csle/component/pipe/controller/vo/package.html new file mode 100644 index 0000000000000000000000000000000000000000..c88b243b9aa9c42b8ec1a2b19b65f97bc44655fc --- /dev/null +++ b/manual1903/api_reference/component-pipe/scaladocs/ksb/csle/component/pipe/controller/vo/package.html @@ -0,0 +1,257 @@ + + + + vo - KSB COMPONENT-PIPE Scala App Project 1.0-SNAPSHOT API - ksb.csle.component.pipe.controller.vo + + + + + + + + + + + + + + + + + +

                    + + + package + + + vo + +

                    + +
                    + + +
                    +
                    + + +
                    + Visibility +
                    1. Public
                    2. All
                    +
                    +
                    + +
                    +
                    + + +
                    +

                    Type Members

                    +
                    1. + + +

                      + + + trait + + + BaseCase extends BaseDoer with BaseParam + +

                      + + Permalink + + + +
                    2. + + +

                      + + + trait + + + BaseCumulativeCase extends BaseDoer with BaseParam + +

                      + + Permalink + + + +
                    3. + + +

                      + + + class + + + CumulativeContext extends BaseCumulativeContext[EnsembleCase, String, Double] + +

                      + + Permalink + + + +
                    4. + + +

                      + + sealed + case class + + + EnsembleCase(data: Option[Array[String]], route: Option[String], input: Option[Array[String]], output: Option[Array[String]]) extends BaseDoer with BaseCumulativeCase with Product with Serializable + +

                      + + Permalink + + + +
                    5. + + +

                      + + + class + + + RouteContext extends BaseRouteContext[RouteCtxCase] + +

                      + + Permalink + + + +
                    6. + + +

                      + + + case class + + + RouteCtxCase(data: Option[String], route: Option[String], input: Option[String], output: Option[String]) extends BaseDoer with BaseCase with Product with Serializable + +

                      + + Permalink + + + +
                    +
                    + + + +
                    +

                    Value Members

                    +
                    1. + + +

                      + + + object + + + MyJsonProtocol extends DefaultJsonProtocol + +

                      + + Permalink + + + +
                    2. + + +

                      + + + object + + + MyRouteJsonProtocol extends DefaultJsonProtocol + +

                      + + Permalink + + + +
                    3. + + +

                      + + + object + + + RouteContext extends Serializable + +

                      + + Permalink + + + +
                    +
                    + + + + +
                    + +
                    + + +
                    + +
                    +
                    +

                    Ungrouped

                    + +
                    +
                    + +
                    + +
                    + + + + + + diff --git a/manual1903/api_reference/component-pipe/scaladocs/ksb/csle/component/pipe/package.html b/manual1903/api_reference/component-pipe/scaladocs/ksb/csle/component/pipe/package.html new file mode 100644 index 0000000000000000000000000000000000000000..43310197f554391712b59aa54d30ab3272b24610 --- /dev/null +++ b/manual1903/api_reference/component-pipe/scaladocs/ksb/csle/component/pipe/package.html @@ -0,0 +1,169 @@ + + + + pipe - KSB COMPONENT-PIPE Scala App Project 1.0-SNAPSHOT API - ksb.csle.component.pipe + + + + + + + + + + + + + + + +
                    + Package +

                    ksb.csle.component

                    +

                    pipe

                    + + Permalink + + +
                    + +

                    + + + package + + + pipe + +

                    + +
                    + + +
                    +
                    + + +
                    + Visibility +
                    1. Public
                    2. All
                    +
                    +
                    + +
                    +
                    + + + + + + +
                    +

                    Value Members

                    +
                    1. + + +

                      + + + package + + + controller + +

                      + + Permalink + + + +
                    2. + + +

                      + + + package + + + query + +

                      + + Permalink + + + +
                    3. + + +

                      + + + package + + + runner + +

                      + + Permalink + + + +
                    4. + + +

                      + + + package + + + stream + +

                      + + Permalink + + + +
                    +
                    + + + + +
                    + +
                    + + +
                    + +
                    +
                    +

                    Ungrouped

                    + +
                    +
                    + +
                    + +
                    + + + + + + diff --git a/manual1903/api_reference/component-pipe/scaladocs/ksb/csle/component/pipe/query/operator/GenericRestfulContextQueryPipeOperator.html b/manual1903/api_reference/component-pipe/scaladocs/ksb/csle/component/pipe/query/operator/GenericRestfulContextQueryPipeOperator.html new file mode 100644 index 0000000000000000000000000000000000000000..8f5e8bf83e8649f5420e82abeffb20bdf5ca779e --- /dev/null +++ b/manual1903/api_reference/component-pipe/scaladocs/ksb/csle/component/pipe/query/operator/GenericRestfulContextQueryPipeOperator.html @@ -0,0 +1,675 @@ + + + + GenericRestfulContextQueryPipeOperator - KSB COMPONENT-PIPE Scala App Project 1.0-SNAPSHOT API - ksb.csle.component.pipe.query.operator.GenericRestfulContextQueryPipeOperator + + + + + + + + + + + + + + + +
                    + Class +

                    ksb.csle.component.pipe.query.operator

                    +

                    GenericRestfulContextQueryPipeOperator

                    Related Doc: + package operator +

                    + + Permalink + + +
                    + +

                    + + + class + + + GenericRestfulContextQueryPipeOperator[T] extends BaseContextQueryPipeOperator[BaseRouteContext[T], ActorSystem] with Logging + +

                    + +

                    :: Experimental ::

                    Operator that queries to rest server when it is requested +

                    + Linear Supertypes +
                    BaseContextQueryPipeOperator[BaseRouteContext[T], ActorSystem], BaseSimplePipeOperator[BaseRouteContext[T], OnDemandPipeOperatorInfo, ActorSystem], BaseGenericPipeOperator[(BaseRouteContext[T]) ⇒ BaseRouteContext[T], BaseRouteContext[T], BaseRouteContext[T], OnDemandPipeOperatorInfo, ActorSystem], BaseGenericMutantOperator[OnDemandPipeOperatorInfo, (BaseRouteContext[T]) ⇒ BaseRouteContext[T], (BaseRouteContext[T]) ⇒ BaseRouteContext[T]], BaseDoer, Logging, Serializable, Serializable, AnyRef, Any
                    +
                    + + +
                    +
                    +
                    + Ordering +
                      + +
                    1. Alphabetic
                    2. +
                    3. By Inheritance
                    4. +
                    +
                    +
                    + Inherited
                    +
                    +
                      +
                    1. GenericRestfulContextQueryPipeOperator
                    2. BaseContextQueryPipeOperator
                    3. BaseSimplePipeOperator
                    4. BaseGenericPipeOperator
                    5. BaseGenericMutantOperator
                    6. BaseDoer
                    7. Logging
                    8. Serializable
                    9. Serializable
                    10. AnyRef
                    11. Any
                    12. +
                    +
                    + +
                      +
                    1. Hide All
                    2. +
                    3. Show All
                    4. +
                    +
                    +
                    + Visibility +
                    1. Public
                    2. All
                    +
                    +
                    + +
                    +
                    +
                    +

                    Instance Constructors

                    +
                    1. + + +

                      + + + new + + + GenericRestfulContextQueryPipeOperator(p: OnDemandPipeOperatorInfo, system: ActorSystem) + +

                      + + Permalink + + + +
                    +
                    + + + + + +
                    +

                    Value Members

                    +
                    1. + + +

                      + + final + def + + + !=(arg0: Any): Boolean + +

                      + + Permalink + + +
                      Definition Classes
                      AnyRef → Any
                      +
                    2. + + +

                      + + final + def + + + ##(): Int + +

                      + + Permalink + + +
                      Definition Classes
                      AnyRef → Any
                      +
                    3. + + +

                      + + final + def + + + ==(arg0: Any): Boolean + +

                      + + Permalink + + +
                      Definition Classes
                      AnyRef → Any
                      +
                    4. + + +

                      + + final + def + + + asInstanceOf[T0]: T0 + +

                      + + Permalink + + +
                      Definition Classes
                      Any
                      +
                    5. + + +

                      + + + def + + + clone(): AnyRef + +

                      + + Permalink + + +
                      Attributes
                      protected[java.lang]
                      Definition Classes
                      AnyRef
                      Annotations
                      + @throws( + + ... + ) + +
                      +
                    6. + + +

                      + + final + def + + + eq(arg0: AnyRef): Boolean + +

                      + + Permalink + + +
                      Definition Classes
                      AnyRef
                      +
                    7. + + +

                      + + + def + + + equals(arg0: Any): Boolean + +

                      + + Permalink + + +
                      Definition Classes
                      AnyRef → Any
                      +
                    8. + + +

                      + + + def + + + finalize(): Unit + +

                      + + Permalink + + +
                      Attributes
                      protected[java.lang]
                      Definition Classes
                      AnyRef
                      Annotations
                      + @throws( + + classOf[java.lang.Throwable] + ) + +
                      +
                    9. + + +

                      + + final + def + + + getClass(): Class[_] + +

                      + + Permalink + + +
                      Definition Classes
                      AnyRef → Any
                      +
                    10. + + +

                      + + + def + + + hashCode(): Int + +

                      + + Permalink + + +
                      Definition Classes
                      AnyRef → Any
                      +
                    11. + + +

                      + + + val + + + info: RestfulQueryPipeOperatorInfo + +

                      + + Permalink + + +
                      Attributes
                      protected
                      +
                    12. + + +

                      + + final + def + + + isInstanceOf[T0]: Boolean + +

                      + + Permalink + + +
                      Definition Classes
                      Any
                      +
                    13. + + +

                      + + + val + + + logger: Logger + +

                      + + Permalink + + +
                      Attributes
                      protected
                      Definition Classes
                      Logging
                      +
                    14. + + +

                      + + final + def + + + ne(arg0: AnyRef): Boolean + +

                      + + Permalink + + +
                      Definition Classes
                      AnyRef
                      +
                    15. + + +

                      + + final + def + + + notify(): Unit + +

                      + + Permalink + + +
                      Definition Classes
                      AnyRef
                      +
                    16. + + +

                      + + final + def + + + notifyAll(): Unit + +

                      + + Permalink + + +
                      Definition Classes
                      AnyRef
                      +
                    17. + + +

                      + + final + def + + + operate(c: (BaseRouteContext[T]) ⇒ BaseRouteContext[T]): (BaseRouteContext[T]) ⇒ BaseRouteContext[T] + +

                      + + Permalink + + +
                      Definition Classes
                      BaseContextQueryPipeOperator → BaseSimplePipeOperator → BaseGenericPipeOperator → BaseGenericMutantOperator
                      +
                    18. + + +

                      + + + val + + + p: OnDemandPipeOperatorInfo + +

                      + + Permalink + + +
                      Definition Classes
                      GenericRestfulContextQueryPipeOperator → BaseContextQueryPipeOperator
                      +
                    19. + + +

                      + + + def + + + query(ctx: BaseRouteContext[T]): BaseRouteContext[T] + +

                      + + Permalink + + +
                      Definition Classes
                      GenericRestfulContextQueryPipeOperator → BaseContextQueryPipeOperator
                      +
                    20. + + +

                      + + + def + + + query(url: String, body: String): Future[WSResponse] + +

                      + + Permalink + + +
                      Attributes
                      protected
                      +
                    21. + + +

                      + + + def + + + queryUrl(url: String, ctx: BaseRouteContext[T]): BaseRouteContext[T] + +

                      + + Permalink + + +
                      Attributes
                      protected
                      +
                    22. + + +

                      + + + def + + + stop: Unit + +

                      + + Permalink + + +
                      Definition Classes
                      GenericRestfulContextQueryPipeOperator → BaseGenericPipeOperator → BaseGenericMutantOperator
                      +
                    23. + + +

                      + + final + def + + + synchronized[T0](arg0: ⇒ T0): T0 + +

                      + + Permalink + + +
                      Definition Classes
                      AnyRef
                      +
                    24. + + +

                      + + implicit + val + + + system: ActorSystem + +

                      + + Permalink + + +
                      Definition Classes
                      GenericRestfulContextQueryPipeOperator → BaseContextQueryPipeOperator
                      +
                    25. + + +

                      + + + def + + + toString(): String + +

                      + + Permalink + + +
                      Definition Classes
                      AnyRef → Any
                      +
                    26. + + +

                      + + final + def + + + wait(): Unit + +

                      + + Permalink + + +
                      Definition Classes
                      AnyRef
                      Annotations
                      + @throws( + + ... + ) + +
                      +
                    27. + + +

                      + + final + def + + + wait(arg0: Long, arg1: Int): Unit + +

                      + + Permalink + + +
                      Definition Classes
                      AnyRef
                      Annotations
                      + @throws( + + ... + ) + +
                      +
                    28. + + +

                      + + final + def + + + wait(arg0: Long): Unit + +

                      + + Permalink + + +
                      Definition Classes
                      AnyRef
                      Annotations
                      + @throws( + + ... + ) + +
                      +
                    +
                    + + + + +
                    + +
                    +
                    +

                    Inherited from BaseContextQueryPipeOperator[BaseRouteContext[T], ActorSystem]

                    +
                    +

                    Inherited from BaseSimplePipeOperator[BaseRouteContext[T], OnDemandPipeOperatorInfo, ActorSystem]

                    +
                    +

                    Inherited from BaseGenericPipeOperator[(BaseRouteContext[T]) ⇒ BaseRouteContext[T], BaseRouteContext[T], BaseRouteContext[T], OnDemandPipeOperatorInfo, ActorSystem]

                    +
                    +

                    Inherited from BaseGenericMutantOperator[OnDemandPipeOperatorInfo, (BaseRouteContext[T]) ⇒ BaseRouteContext[T], (BaseRouteContext[T]) ⇒ BaseRouteContext[T]]

                    +
                    +

                    Inherited from BaseDoer

                    +
                    +

                    Inherited from Logging

                    +
                    +

                    Inherited from Serializable

                    +
                    +

                    Inherited from Serializable

                    +
                    +

                    Inherited from AnyRef

                    +
                    +

                    Inherited from Any

                    +
                    + +
                    + +
                    +
                    +

                    Ungrouped

                    + +
                    +
                    + +
                    + +
                    + + + + + + diff --git a/manual1903/api_reference/component-pipe/scaladocs/ksb/csle/component/pipe/query/operator/OutputAggregatePipeOperator.html b/manual1903/api_reference/component-pipe/scaladocs/ksb/csle/component/pipe/query/operator/OutputAggregatePipeOperator.html new file mode 100644 index 0000000000000000000000000000000000000000..b460dca033fc3a1c0a126e8574cb5a22dc50c70e --- /dev/null +++ b/manual1903/api_reference/component-pipe/scaladocs/ksb/csle/component/pipe/query/operator/OutputAggregatePipeOperator.html @@ -0,0 +1,621 @@ + + + + OutputAggregatePipeOperator - KSB COMPONENT-PIPE Scala App Project 1.0-SNAPSHOT API - ksb.csle.component.pipe.query.operator.OutputAggregatePipeOperator + + + + + + + + + + + + + + + +
                    + Class +

                    ksb.csle.component.pipe.query.operator

                    +

                    OutputAggregatePipeOperator

                    Related Doc: + package operator +

                    + + Permalink + + +
                    + +

                    + + + class + + + OutputAggregatePipeOperator[T] extends BaseContextQueryPipeOperator[BaseCumulativeContext[T, String, Double], ActorSystem] + +

                    + +

                    Operator that queries to rest server when it is requested +

                    + Linear Supertypes +
                    BaseContextQueryPipeOperator[BaseCumulativeContext[T, String, Double], ActorSystem], BaseSimplePipeOperator[BaseCumulativeContext[T, String, Double], OnDemandPipeOperatorInfo, ActorSystem], BaseGenericPipeOperator[(BaseCumulativeContext[T, String, Double]) ⇒ BaseCumulativeContext[T, String, Double], BaseCumulativeContext[T, String, Double], BaseCumulativeContext[T, String, Double], OnDemandPipeOperatorInfo, ActorSystem], BaseGenericMutantOperator[OnDemandPipeOperatorInfo, (BaseCumulativeContext[T, String, Double]) ⇒ BaseCumulativeContext[T, String, Double], (BaseCumulativeContext[T, String, Double]) ⇒ BaseCumulativeContext[T, String, Double]], BaseDoer, Logging, Serializable, Serializable, AnyRef, Any
                    +
                    + + +
                    +
                    +
                    + Ordering +
                      + +
                    1. Alphabetic
                    2. +
                    3. By Inheritance
                    4. +
                    +
                    +
                    + Inherited
                    +
                    +
                      +
                    1. OutputAggregatePipeOperator
                    2. BaseContextQueryPipeOperator
                    3. BaseSimplePipeOperator
                    4. BaseGenericPipeOperator
                    5. BaseGenericMutantOperator
                    6. BaseDoer
                    7. Logging
                    8. Serializable
                    9. Serializable
                    10. AnyRef
                    11. Any
                    12. +
                    +
                    + +
                      +
                    1. Hide All
                    2. +
                    3. Show All
                    4. +
                    +
                    +
                    + Visibility +
                    1. Public
                    2. All
                    +
                    +
                    + +
                    +
                    +
                    +

                    Instance Constructors

                    +
                    1. + + +

                      + + + new + + + OutputAggregatePipeOperator(p: OnDemandPipeOperatorInfo, system: ActorSystem) + +

                      + + Permalink + + + +
                    +
                    + + + + + +
                    +

                    Value Members

                    +
                    1. + + +

                      + + final + def + + + !=(arg0: Any): Boolean + +

                      + + Permalink + + +
                      Definition Classes
                      AnyRef → Any
                      +
                    2. + + +

                      + + final + def + + + ##(): Int + +

                      + + Permalink + + +
                      Definition Classes
                      AnyRef → Any
                      +
                    3. + + +

                      + + final + def + + + ==(arg0: Any): Boolean + +

                      + + Permalink + + +
                      Definition Classes
                      AnyRef → Any
                      +
                    4. + + +

                      + + final + def + + + asInstanceOf[T0]: T0 + +

                      + + Permalink + + +
                      Definition Classes
                      Any
                      +
                    5. + + +

                      + + + def + + + clone(): AnyRef + +

                      + + Permalink + + +
                      Attributes
                      protected[java.lang]
                      Definition Classes
                      AnyRef
                      Annotations
                      + @throws( + + ... + ) + +
                      +
                    6. + + +

                      + + final + def + + + eq(arg0: AnyRef): Boolean + +

                      + + Permalink + + +
                      Definition Classes
                      AnyRef
                      +
                    7. + + +

                      + + + def + + + equals(arg0: Any): Boolean + +

                      + + Permalink + + +
                      Definition Classes
                      AnyRef → Any
                      +
                    8. + + +

                      + + + def + + + finalize(): Unit + +

                      + + Permalink + + +
                      Attributes
                      protected[java.lang]
                      Definition Classes
                      AnyRef
                      Annotations
                      + @throws( + + classOf[java.lang.Throwable] + ) + +
                      +
                    9. + + +

                      + + final + def + + + getClass(): Class[_] + +

                      + + Permalink + + +
                      Definition Classes
                      AnyRef → Any
                      +
                    10. + + +

                      + + + def + + + hashCode(): Int + +

                      + + Permalink + + +
                      Definition Classes
                      AnyRef → Any
                      +
                    11. + + +

                      + + final + def + + + isInstanceOf[T0]: Boolean + +

                      + + Permalink + + +
                      Definition Classes
                      Any
                      +
                    12. + + +

                      + + + val + + + logger: Logger + +

                      + + Permalink + + +
                      Attributes
                      protected
                      Definition Classes
                      Logging
                      +
                    13. + + +

                      + + final + def + + + ne(arg0: AnyRef): Boolean + +

                      + + Permalink + + +
                      Definition Classes
                      AnyRef
                      +
                    14. + + +

                      + + final + def + + + notify(): Unit + +

                      + + Permalink + + +
                      Definition Classes
                      AnyRef
                      +
                    15. + + +

                      + + final + def + + + notifyAll(): Unit + +

                      + + Permalink + + +
                      Definition Classes
                      AnyRef
                      +
                    16. + + +

                      + + final + def + + + operate(c: (BaseCumulativeContext[T, String, Double]) ⇒ BaseCumulativeContext[T, String, Double]): (BaseCumulativeContext[T, String, Double]) ⇒ BaseCumulativeContext[T, String, Double] + +

                      + + Permalink + + +
                      Definition Classes
                      BaseContextQueryPipeOperator → BaseSimplePipeOperator → BaseGenericPipeOperator → BaseGenericMutantOperator
                      +
                    17. + + +

                      + + + val + + + p: OnDemandPipeOperatorInfo + +

                      + + Permalink + + +
                      Definition Classes
                      OutputAggregatePipeOperator → BaseContextQueryPipeOperator
                      +
                    18. + + +

                      + + + def + + + query(ctx: BaseCumulativeContext[T, String, Double]): BaseCumulativeContext[T, String, Double] + +

                      + + Permalink + + +
                      Definition Classes
                      OutputAggregatePipeOperator → BaseContextQueryPipeOperator
                      +
                    19. + + +

                      + + + def + + + stop: Unit + +

                      + + Permalink + + +
                      Definition Classes
                      BaseGenericPipeOperator → BaseGenericMutantOperator
                      +
                    20. + + +

                      + + final + def + + + synchronized[T0](arg0: ⇒ T0): T0 + +

                      + + Permalink + + +
                      Definition Classes
                      AnyRef
                      +
                    21. + + +

                      + + implicit + val + + + system: ActorSystem + +

                      + + Permalink + + +
                      Definition Classes
                      OutputAggregatePipeOperator → BaseContextQueryPipeOperator
                      +
                    22. + + +

                      + + + def + + + toString(): String + +

                      + + Permalink + + +
                      Definition Classes
                      AnyRef → Any
                      +
                    23. + + +

                      + + final + def + + + wait(): Unit + +

                      + + Permalink + + +
                      Definition Classes
                      AnyRef
                      Annotations
                      + @throws( + + ... + ) + +
                      +
                    24. + + +

                      + + final + def + + + wait(arg0: Long, arg1: Int): Unit + +

                      + + Permalink + + +
                      Definition Classes
                      AnyRef
                      Annotations
                      + @throws( + + ... + ) + +
                      +
                    25. + + +

                      + + final + def + + + wait(arg0: Long): Unit + +

                      + + Permalink + + +
                      Definition Classes
                      AnyRef
                      Annotations
                      + @throws( + + ... + ) + +
                      +
                    +
                    + + + + +
                    + +
                    +
                    +

                    Inherited from BaseContextQueryPipeOperator[BaseCumulativeContext[T, String, Double], ActorSystem]

                    +
                    +

                    Inherited from BaseSimplePipeOperator[BaseCumulativeContext[T, String, Double], OnDemandPipeOperatorInfo, ActorSystem]

                    +
                    +

                    Inherited from BaseGenericPipeOperator[(BaseCumulativeContext[T, String, Double]) ⇒ BaseCumulativeContext[T, String, Double], BaseCumulativeContext[T, String, Double], BaseCumulativeContext[T, String, Double], OnDemandPipeOperatorInfo, ActorSystem]

                    +
                    +

                    Inherited from BaseGenericMutantOperator[OnDemandPipeOperatorInfo, (BaseCumulativeContext[T, String, Double]) ⇒ BaseCumulativeContext[T, String, Double], (BaseCumulativeContext[T, String, Double]) ⇒ BaseCumulativeContext[T, String, Double]]

                    +
                    +

                    Inherited from BaseDoer

                    +
                    +

                    Inherited from Logging

                    +
                    +

                    Inherited from Serializable

                    +
                    +

                    Inherited from Serializable

                    +
                    +

                    Inherited from AnyRef

                    +
                    +

                    Inherited from Any

                    +
                    + +
                    + +
                    +
                    +

                    Ungrouped

                    + +
                    +
                    + +
                    + +
                    + + + + + + diff --git a/manual1903/api_reference/component-pipe/scaladocs/ksb/csle/component/pipe/query/operator/OutputCumulativePipeOperator.html b/manual1903/api_reference/component-pipe/scaladocs/ksb/csle/component/pipe/query/operator/OutputCumulativePipeOperator.html new file mode 100644 index 0000000000000000000000000000000000000000..715529df3fe4d5877d4adabee413ba685db4bbac --- /dev/null +++ b/manual1903/api_reference/component-pipe/scaladocs/ksb/csle/component/pipe/query/operator/OutputCumulativePipeOperator.html @@ -0,0 +1,674 @@ + + + + OutputCumulativePipeOperator - KSB COMPONENT-PIPE Scala App Project 1.0-SNAPSHOT API - ksb.csle.component.pipe.query.operator.OutputCumulativePipeOperator + + + + + + + + + + + + + + + +
                    + Class +

                    ksb.csle.component.pipe.query.operator

                    +

                    OutputCumulativePipeOperator

                    Related Doc: + package operator +

                    + + Permalink + + +
                    + +

                    + + + class + + + OutputCumulativePipeOperator[T] extends GenericRestfulContextQueryPipeOperator[T] + +

                    + +

                    Operator that queries to rest server when it is requested +

                    + Linear Supertypes +
                    GenericRestfulContextQueryPipeOperator[T], BaseContextQueryPipeOperator[BaseRouteContext[T], ActorSystem], BaseSimplePipeOperator[BaseRouteContext[T], OnDemandPipeOperatorInfo, ActorSystem], BaseGenericPipeOperator[(BaseRouteContext[T]) ⇒ BaseRouteContext[T], BaseRouteContext[T], BaseRouteContext[T], OnDemandPipeOperatorInfo, ActorSystem], BaseGenericMutantOperator[OnDemandPipeOperatorInfo, (BaseRouteContext[T]) ⇒ BaseRouteContext[T], (BaseRouteContext[T]) ⇒ BaseRouteContext[T]], BaseDoer, Logging, Serializable, Serializable, AnyRef, Any
                    +
                    + + +
                    +
                    +
                    + Ordering +
                      + +
                    1. Alphabetic
                    2. +
                    3. By Inheritance
                    4. +
                    +
                    +
                    + Inherited
                    +
                    +
                      +
                    1. OutputCumulativePipeOperator
                    2. GenericRestfulContextQueryPipeOperator
                    3. BaseContextQueryPipeOperator
                    4. BaseSimplePipeOperator
                    5. BaseGenericPipeOperator
                    6. BaseGenericMutantOperator
                    7. BaseDoer
                    8. Logging
                    9. Serializable
                    10. Serializable
                    11. AnyRef
                    12. Any
                    13. +
                    +
                    + +
                      +
                    1. Hide All
                    2. +
                    3. Show All
                    4. +
                    +
                    +
                    + Visibility +
                    1. Public
                    2. All
                    +
                    +
                    + +
                    +
                    +
                    +

                    Instance Constructors

                    +
                    1. + + +

                      + + + new + + + OutputCumulativePipeOperator(p: OnDemandPipeOperatorInfo, system: ActorSystem) + +

                      + + Permalink + + + +
                    +
                    + + + + + +
                    +

                    Value Members

                    +
                    1. + + +

                      + + final + def + + + !=(arg0: Any): Boolean + +

                      + + Permalink + + +
                      Definition Classes
                      AnyRef → Any
                      +
                    2. + + +

                      + + final + def + + + ##(): Int + +

                      + + Permalink + + +
                      Definition Classes
                      AnyRef → Any
                      +
                    3. + + +

                      + + final + def + + + ==(arg0: Any): Boolean + +

                      + + Permalink + + +
                      Definition Classes
                      AnyRef → Any
                      +
                    4. + + +

                      + + final + def + + + asInstanceOf[T0]: T0 + +

                      + + Permalink + + +
                      Definition Classes
                      Any
                      +
                    5. + + +

                      + + + def + + + clone(): AnyRef + +

                      + + Permalink + + +
                      Attributes
                      protected[java.lang]
                      Definition Classes
                      AnyRef
                      Annotations
                      + @throws( + + ... + ) + +
                      +
                    6. + + +

                      + + final + def + + + eq(arg0: AnyRef): Boolean + +

                      + + Permalink + + +
                      Definition Classes
                      AnyRef
                      +
                    7. + + +

                      + + + def + + + equals(arg0: Any): Boolean + +

                      + + Permalink + + +
                      Definition Classes
                      AnyRef → Any
                      +
                    8. + + +

                      + + + def + + + finalize(): Unit + +

                      + + Permalink + + +
                      Attributes
                      protected[java.lang]
                      Definition Classes
                      AnyRef
                      Annotations
                      + @throws( + + classOf[java.lang.Throwable] + ) + +
                      +
                    9. + + +

                      + + final + def + + + getClass(): Class[_] + +

                      + + Permalink + + +
                      Definition Classes
                      AnyRef → Any
                      +
                    10. + + +

                      + + + def + + + hashCode(): Int + +

                      + + Permalink + + +
                      Definition Classes
                      AnyRef → Any
                      +
                    11. + + +

                      + + + val + + + info: RestfulQueryPipeOperatorInfo + +

                      + + Permalink + + + +
                    12. + + +

                      + + final + def + + + isInstanceOf[T0]: Boolean + +

                      + + Permalink + + +
                      Definition Classes
                      Any
                      +
                    13. + + +

                      + + + val + + + logger: Logger + +

                      + + Permalink + + +
                      Attributes
                      protected
                      Definition Classes
                      Logging
                      +
                    14. + + +

                      + + final + def + + + ne(arg0: AnyRef): Boolean + +

                      + + Permalink + + +
                      Definition Classes
                      AnyRef
                      +
                    15. + + +

                      + + final + def + + + notify(): Unit + +

                      + + Permalink + + +
                      Definition Classes
                      AnyRef
                      +
                    16. + + +

                      + + final + def + + + notifyAll(): Unit + +

                      + + Permalink + + +
                      Definition Classes
                      AnyRef
                      +
                    17. + + +

                      + + final + def + + + operate(c: (BaseRouteContext[T]) ⇒ BaseRouteContext[T]): (BaseRouteContext[T]) ⇒ BaseRouteContext[T] + +

                      + + Permalink + + +
                      Definition Classes
                      BaseContextQueryPipeOperator → BaseSimplePipeOperator → BaseGenericPipeOperator → BaseGenericMutantOperator
                      +
                    18. + + +

                      + + + val + + + p: OnDemandPipeOperatorInfo + +

                      + + Permalink + + +
                      Definition Classes
                      OutputCumulativePipeOperatorGenericRestfulContextQueryPipeOperator → BaseContextQueryPipeOperator
                      +
                    19. + + +

                      + + + def + + + query(ctx: BaseRouteContext[T]): BaseCumulativeContext[T, String, Double] + +

                      + + Permalink + + +
                      Definition Classes
                      OutputCumulativePipeOperatorGenericRestfulContextQueryPipeOperator → BaseContextQueryPipeOperator
                      +
                    20. + + +

                      + + + def + + + query(url: String, body: String): Future[WSResponse] + +

                      + + Permalink + + +
                      Attributes
                      protected
                      Definition Classes
                      GenericRestfulContextQueryPipeOperator
                      +
                    21. + + +

                      + + + def + + + queryUrl(url: String, ctx: BaseRouteContext[T]): BaseRouteContext[T] + +

                      + + Permalink + + +
                      Attributes
                      protected
                      Definition Classes
                      GenericRestfulContextQueryPipeOperator
                      +
                    22. + + +

                      + + + def + + + stop: Unit + +

                      + + Permalink + + +
                      Definition Classes
                      GenericRestfulContextQueryPipeOperator → BaseGenericPipeOperator → BaseGenericMutantOperator
                      +
                    23. + + +

                      + + final + def + + + synchronized[T0](arg0: ⇒ T0): T0 + +

                      + + Permalink + + +
                      Definition Classes
                      AnyRef
                      +
                    24. + + +

                      + + implicit + val + + + system: ActorSystem + +

                      + + Permalink + + +
                      Definition Classes
                      OutputCumulativePipeOperatorGenericRestfulContextQueryPipeOperator → BaseContextQueryPipeOperator
                      +
                    25. + + +

                      + + + def + + + toString(): String + +

                      + + Permalink + + +
                      Definition Classes
                      AnyRef → Any
                      +
                    26. + + +

                      + + final + def + + + wait(): Unit + +

                      + + Permalink + + +
                      Definition Classes
                      AnyRef
                      Annotations
                      + @throws( + + ... + ) + +
                      +
                    27. + + +

                      + + final + def + + + wait(arg0: Long, arg1: Int): Unit + +

                      + + Permalink + + +
                      Definition Classes
                      AnyRef
                      Annotations
                      + @throws( + + ... + ) + +
                      +
                    28. + + +

                      + + final + def + + + wait(arg0: Long): Unit + +

                      + + Permalink + + +
                      Definition Classes
                      AnyRef
                      Annotations
                      + @throws( + + ... + ) + +
                      +
                    +
                    + + + + +
                    + +
                    +
                    +

                    Inherited from BaseContextQueryPipeOperator[BaseRouteContext[T], ActorSystem]

                    +
                    +

                    Inherited from BaseSimplePipeOperator[BaseRouteContext[T], OnDemandPipeOperatorInfo, ActorSystem]

                    +
                    +

                    Inherited from BaseGenericPipeOperator[(BaseRouteContext[T]) ⇒ BaseRouteContext[T], BaseRouteContext[T], BaseRouteContext[T], OnDemandPipeOperatorInfo, ActorSystem]

                    +
                    +

                    Inherited from BaseGenericMutantOperator[OnDemandPipeOperatorInfo, (BaseRouteContext[T]) ⇒ BaseRouteContext[T], (BaseRouteContext[T]) ⇒ BaseRouteContext[T]]

                    +
                    +

                    Inherited from BaseDoer

                    +
                    +

                    Inherited from Logging

                    +
                    +

                    Inherited from Serializable

                    +
                    +

                    Inherited from Serializable

                    +
                    +

                    Inherited from AnyRef

                    +
                    +

                    Inherited from Any

                    +
                    + +
                    + +
                    +
                    +

                    Ungrouped

                    + +
                    +
                    + +
                    + +
                    + + + + + + diff --git a/manual1903/api_reference/component-pipe/scaladocs/ksb/csle/component/pipe/query/operator/OutputRestfulContextQueryPipeOperator.html b/manual1903/api_reference/component-pipe/scaladocs/ksb/csle/component/pipe/query/operator/OutputRestfulContextQueryPipeOperator.html new file mode 100644 index 0000000000000000000000000000000000000000..e684c7d08acb3cb59db54b9827782c46df683844 --- /dev/null +++ b/manual1903/api_reference/component-pipe/scaladocs/ksb/csle/component/pipe/query/operator/OutputRestfulContextQueryPipeOperator.html @@ -0,0 +1,674 @@ + + + + OutputRestfulContextQueryPipeOperator - KSB COMPONENT-PIPE Scala App Project 1.0-SNAPSHOT API - ksb.csle.component.pipe.query.operator.OutputRestfulContextQueryPipeOperator + + + + + + + + + + + + + + + +
                    + Class +

                    ksb.csle.component.pipe.query.operator

                    +

                    OutputRestfulContextQueryPipeOperator

                    Related Doc: + package operator +

                    + + Permalink + + +
                    + +

                    + + + class + + + OutputRestfulContextQueryPipeOperator[T] extends GenericRestfulContextQueryPipeOperator[T] + +

                    + +

                    Operator that queries to rest server when it is requested +

                    + Linear Supertypes +
                    GenericRestfulContextQueryPipeOperator[T], BaseContextQueryPipeOperator[BaseRouteContext[T], ActorSystem], BaseSimplePipeOperator[BaseRouteContext[T], OnDemandPipeOperatorInfo, ActorSystem], BaseGenericPipeOperator[(BaseRouteContext[T]) ⇒ BaseRouteContext[T], BaseRouteContext[T], BaseRouteContext[T], OnDemandPipeOperatorInfo, ActorSystem], BaseGenericMutantOperator[OnDemandPipeOperatorInfo, (BaseRouteContext[T]) ⇒ BaseRouteContext[T], (BaseRouteContext[T]) ⇒ BaseRouteContext[T]], BaseDoer, Logging, Serializable, Serializable, AnyRef, Any
                    +
                    + + +
                    +
                    +
                    + Ordering +
                      + +
                    1. Alphabetic
                    2. +
                    3. By Inheritance
                    4. +
                    +
                    +
                    + Inherited
                    +
                    +
                      +
                    1. OutputRestfulContextQueryPipeOperator
                    2. GenericRestfulContextQueryPipeOperator
                    3. BaseContextQueryPipeOperator
                    4. BaseSimplePipeOperator
                    5. BaseGenericPipeOperator
                    6. BaseGenericMutantOperator
                    7. BaseDoer
                    8. Logging
                    9. Serializable
                    10. Serializable
                    11. AnyRef
                    12. Any
                    13. +
                    +
                    + +
                      +
                    1. Hide All
                    2. +
                    3. Show All
                    4. +
                    +
                    +
                    + Visibility +
                    1. Public
                    2. All
                    +
                    +
                    + +
                    +
                    +
                    +

                    Instance Constructors

                    +
                    1. + + +

                      + + + new + + + OutputRestfulContextQueryPipeOperator(p: OnDemandPipeOperatorInfo, system: ActorSystem) + +

                      + + Permalink + + + +
                    +
                    + + + + + +
                    +

                    Value Members

                    +
                    1. + + +

                      + + final + def + + + !=(arg0: Any): Boolean + +

                      + + Permalink + + +
                      Definition Classes
                      AnyRef → Any
                      +
                    2. + + +

                      + + final + def + + + ##(): Int + +

                      + + Permalink + + +
                      Definition Classes
                      AnyRef → Any
                      +
                    3. + + +

                      + + final + def + + + ==(arg0: Any): Boolean + +

                      + + Permalink + + +
                      Definition Classes
                      AnyRef → Any
                      +
                    4. + + +

                      + + final + def + + + asInstanceOf[T0]: T0 + +

                      + + Permalink + + +
                      Definition Classes
                      Any
                      +
                    5. + + +

                      + + + def + + + clone(): AnyRef + +

                      + + Permalink + + +
                      Attributes
                      protected[java.lang]
                      Definition Classes
                      AnyRef
                      Annotations
                      + @throws( + + ... + ) + +
                      +
                    6. + + +

                      + + final + def + + + eq(arg0: AnyRef): Boolean + +

                      + + Permalink + + +
                      Definition Classes
                      AnyRef
                      +
                    7. + + +

                      + + + def + + + equals(arg0: Any): Boolean + +

                      + + Permalink + + +
                      Definition Classes
                      AnyRef → Any
                      +
                    8. + + +

                      + + + def + + + finalize(): Unit + +

                      + + Permalink + + +
                      Attributes
                      protected[java.lang]
                      Definition Classes
                      AnyRef
                      Annotations
                      + @throws( + + classOf[java.lang.Throwable] + ) + +
                      +
                    9. + + +

                      + + final + def + + + getClass(): Class[_] + +

                      + + Permalink + + +
                      Definition Classes
                      AnyRef → Any
                      +
                    10. + + +

                      + + + def + + + hashCode(): Int + +

                      + + Permalink + + +
                      Definition Classes
                      AnyRef → Any
                      +
                    11. + + +

                      + + + val + + + info: RestfulQueryPipeOperatorInfo + +

                      + + Permalink + + +
                      Attributes
                      protected
                      Definition Classes
                      GenericRestfulContextQueryPipeOperator
                      +
                    12. + + +

                      + + final + def + + + isInstanceOf[T0]: Boolean + +

                      + + Permalink + + +
                      Definition Classes
                      Any
                      +
                    13. + + +

                      + + + val + + + logger: Logger + +

                      + + Permalink + + +
                      Attributes
                      protected
                      Definition Classes
                      Logging
                      +
                    14. + + +

                      + + final + def + + + ne(arg0: AnyRef): Boolean + +

                      + + Permalink + + +
                      Definition Classes
                      AnyRef
                      +
                    15. + + +

                      + + final + def + + + notify(): Unit + +

                      + + Permalink + + +
                      Definition Classes
                      AnyRef
                      +
                    16. + + +

                      + + final + def + + + notifyAll(): Unit + +

                      + + Permalink + + +
                      Definition Classes
                      AnyRef
                      +
                    17. + + +

                      + + final + def + + + operate(c: (BaseRouteContext[T]) ⇒ BaseRouteContext[T]): (BaseRouteContext[T]) ⇒ BaseRouteContext[T] + +

                      + + Permalink + + +
                      Definition Classes
                      BaseContextQueryPipeOperator → BaseSimplePipeOperator → BaseGenericPipeOperator → BaseGenericMutantOperator
                      +
                    18. + + +

                      + + + val + + + p: OnDemandPipeOperatorInfo + +

                      + + Permalink + + +
                      Definition Classes
                      OutputRestfulContextQueryPipeOperatorGenericRestfulContextQueryPipeOperator → BaseContextQueryPipeOperator
                      +
                    19. + + +

                      + + + def + + + query(ctx: BaseRouteContext[T]): BaseRouteContext[T] + +

                      + + Permalink + + +
                      Definition Classes
                      OutputRestfulContextQueryPipeOperatorGenericRestfulContextQueryPipeOperator → BaseContextQueryPipeOperator
                      +
                    20. + + +

                      + + + def + + + query(url: String, body: String): Future[WSResponse] + +

                      + + Permalink + + +
                      Attributes
                      protected
                      Definition Classes
                      GenericRestfulContextQueryPipeOperator
                      +
                    21. + + +

                      + + + def + + + queryUrl(url: String, ctx: BaseRouteContext[T]): BaseRouteContext[T] + +

                      + + Permalink + + +
                      Attributes
                      protected
                      Definition Classes
                      GenericRestfulContextQueryPipeOperator
                      +
                    22. + + +

                      + + + def + + + stop: Unit + +

                      + + Permalink + + +
                      Definition Classes
                      GenericRestfulContextQueryPipeOperator → BaseGenericPipeOperator → BaseGenericMutantOperator
                      +
                    23. + + +

                      + + final + def + + + synchronized[T0](arg0: ⇒ T0): T0 + +

                      + + Permalink + + +
                      Definition Classes
                      AnyRef
                      +
                    24. + + +

                      + + implicit + val + + + system: ActorSystem + +

                      + + Permalink + + +
                      Definition Classes
                      OutputRestfulContextQueryPipeOperatorGenericRestfulContextQueryPipeOperator → BaseContextQueryPipeOperator
                      +
                    25. + + +

                      + + + def + + + toString(): String + +

                      + + Permalink + + +
                      Definition Classes
                      AnyRef → Any
                      +
                    26. + + +

                      + + final + def + + + wait(): Unit + +

                      + + Permalink + + +
                      Definition Classes
                      AnyRef
                      Annotations
                      + @throws( + + ... + ) + +
                      +
                    27. + + +

                      + + final + def + + + wait(arg0: Long, arg1: Int): Unit + +

                      + + Permalink + + +
                      Definition Classes
                      AnyRef
                      Annotations
                      + @throws( + + ... + ) + +
                      +
                    28. + + +

                      + + final + def + + + wait(arg0: Long): Unit + +

                      + + Permalink + + +
                      Definition Classes
                      AnyRef
                      Annotations
                      + @throws( + + ... + ) + +
                      +
                    +
                    + + + + +
                    + +
                    +
                    +

                    Inherited from BaseContextQueryPipeOperator[BaseRouteContext[T], ActorSystem]

                    +
                    +

                    Inherited from BaseSimplePipeOperator[BaseRouteContext[T], OnDemandPipeOperatorInfo, ActorSystem]

                    +
                    +

                    Inherited from BaseGenericPipeOperator[(BaseRouteContext[T]) ⇒ BaseRouteContext[T], BaseRouteContext[T], BaseRouteContext[T], OnDemandPipeOperatorInfo, ActorSystem]

                    +
                    +

                    Inherited from BaseGenericMutantOperator[OnDemandPipeOperatorInfo, (BaseRouteContext[T]) ⇒ BaseRouteContext[T], (BaseRouteContext[T]) ⇒ BaseRouteContext[T]]

                    +
                    +

                    Inherited from BaseDoer

                    +
                    +

                    Inherited from Logging

                    +
                    +

                    Inherited from Serializable

                    +
                    +

                    Inherited from Serializable

                    +
                    +

                    Inherited from AnyRef

                    +
                    +

                    Inherited from Any

                    +
                    + +
                    + +
                    +
                    +

                    Ungrouped

                    + +
                    +
                    + +
                    + +
                    + + + + + + diff --git a/manual1903/api_reference/component-pipe/scaladocs/ksb/csle/component/pipe/query/operator/RouteMappingPipeOperator.html b/manual1903/api_reference/component-pipe/scaladocs/ksb/csle/component/pipe/query/operator/RouteMappingPipeOperator.html new file mode 100644 index 0000000000000000000000000000000000000000..2f2198adb4b30fe2e8fba495a030f91524c0928f --- /dev/null +++ b/manual1903/api_reference/component-pipe/scaladocs/ksb/csle/component/pipe/query/operator/RouteMappingPipeOperator.html @@ -0,0 +1,621 @@ + + + + RouteMappingPipeOperator - KSB COMPONENT-PIPE Scala App Project 1.0-SNAPSHOT API - ksb.csle.component.pipe.query.operator.RouteMappingPipeOperator + + + + + + + + + + + + + + + +
                    + Class +

                    ksb.csle.component.pipe.query.operator

                    +

                    RouteMappingPipeOperator

                    Related Doc: + package operator +

                    + + Permalink + + +
                    + +

                    + + + class + + + RouteMappingPipeOperator[T] extends BaseContextQueryPipeOperator[BaseRouteContext[T], ActorSystem] + +

                    + +

                    Operator that queries to rest server when it is requested +

                    + Linear Supertypes +
                    BaseContextQueryPipeOperator[BaseRouteContext[T], ActorSystem], BaseSimplePipeOperator[BaseRouteContext[T], OnDemandPipeOperatorInfo, ActorSystem], BaseGenericPipeOperator[(BaseRouteContext[T]) ⇒ BaseRouteContext[T], BaseRouteContext[T], BaseRouteContext[T], OnDemandPipeOperatorInfo, ActorSystem], BaseGenericMutantOperator[OnDemandPipeOperatorInfo, (BaseRouteContext[T]) ⇒ BaseRouteContext[T], (BaseRouteContext[T]) ⇒ BaseRouteContext[T]], BaseDoer, Logging, Serializable, Serializable, AnyRef, Any
                    +
                    + + +
                    +
                    +
                    + Ordering +
                      + +
                    1. Alphabetic
                    2. +
                    3. By Inheritance
                    4. +
                    +
                    +
                    + Inherited
                    +
                    +
                      +
                    1. RouteMappingPipeOperator
                    2. BaseContextQueryPipeOperator
                    3. BaseSimplePipeOperator
                    4. BaseGenericPipeOperator
                    5. BaseGenericMutantOperator
                    6. BaseDoer
                    7. Logging
                    8. Serializable
                    9. Serializable
                    10. AnyRef
                    11. Any
                    12. +
                    +
                    + +
                      +
                    1. Hide All
                    2. +
                    3. Show All
                    4. +
                    +
                    +
                    + Visibility +
                    1. Public
                    2. All
                    +
                    +
                    + +
                    +
                    +
                    +

                    Instance Constructors

                    +
                    1. + + +

                      + + + new + + + RouteMappingPipeOperator(p: OnDemandPipeOperatorInfo, system: ActorSystem) + +

                      + + Permalink + + + +
                    +
                    + + + + + +
                    +

                    Value Members

                    +
                    1. + + +

                      + + final + def + + + !=(arg0: Any): Boolean + +

                      + + Permalink + + +
                      Definition Classes
                      AnyRef → Any
                      +
                    2. + + +

                      + + final + def + + + ##(): Int + +

                      + + Permalink + + +
                      Definition Classes
                      AnyRef → Any
                      +
                    3. + + +

                      + + final + def + + + ==(arg0: Any): Boolean + +

                      + + Permalink + + +
                      Definition Classes
                      AnyRef → Any
                      +
                    4. + + +

                      + + final + def + + + asInstanceOf[T0]: T0 + +

                      + + Permalink + + +
                      Definition Classes
                      Any
                      +
                    5. + + +

                      + + + def + + + clone(): AnyRef + +

                      + + Permalink + + +
                      Attributes
                      protected[java.lang]
                      Definition Classes
                      AnyRef
                      Annotations
                      + @throws( + + ... + ) + +
                      +
                    6. + + +

                      + + final + def + + + eq(arg0: AnyRef): Boolean + +

                      + + Permalink + + +
                      Definition Classes
                      AnyRef
                      +
                    7. + + +

                      + + + def + + + equals(arg0: Any): Boolean + +

                      + + Permalink + + +
                      Definition Classes
                      AnyRef → Any
                      +
                    8. + + +

                      + + + def + + + finalize(): Unit + +

                      + + Permalink + + +
                      Attributes
                      protected[java.lang]
                      Definition Classes
                      AnyRef
                      Annotations
                      + @throws( + + classOf[java.lang.Throwable] + ) + +
                      +
                    9. + + +

                      + + final + def + + + getClass(): Class[_] + +

                      + + Permalink + + +
                      Definition Classes
                      AnyRef → Any
                      +
                    10. + + +

                      + + + def + + + hashCode(): Int + +

                      + + Permalink + + +
                      Definition Classes
                      AnyRef → Any
                      +
                    11. + + +

                      + + final + def + + + isInstanceOf[T0]: Boolean + +

                      + + Permalink + + +
                      Definition Classes
                      Any
                      +
                    12. + + +

                      + + + val + + + logger: Logger + +

                      + + Permalink + + +
                      Attributes
                      protected
                      Definition Classes
                      Logging
                      +
                    13. + + +

                      + + final + def + + + ne(arg0: AnyRef): Boolean + +

                      + + Permalink + + +
                      Definition Classes
                      AnyRef
                      +
                    14. + + +

                      + + final + def + + + notify(): Unit + +

                      + + Permalink + + +
                      Definition Classes
                      AnyRef
                      +
                    15. + + +

                      + + final + def + + + notifyAll(): Unit + +

                      + + Permalink + + +
                      Definition Classes
                      AnyRef
                      +
                    16. + + +

                      + + final + def + + + operate(c: (BaseRouteContext[T]) ⇒ BaseRouteContext[T]): (BaseRouteContext[T]) ⇒ BaseRouteContext[T] + +

                      + + Permalink + + +
                      Definition Classes
                      BaseContextQueryPipeOperator → BaseSimplePipeOperator → BaseGenericPipeOperator → BaseGenericMutantOperator
                      +
                    17. + + +

                      + + + val + + + p: OnDemandPipeOperatorInfo + +

                      + + Permalink + + +
                      Definition Classes
                      RouteMappingPipeOperator → BaseContextQueryPipeOperator
                      +
                    18. + + +

                      + + + def + + + query(ctx: BaseRouteContext[T]): BaseRouteContext[T] + +

                      + + Permalink + + +
                      Definition Classes
                      RouteMappingPipeOperator → BaseContextQueryPipeOperator
                      +
                    19. + + +

                      + + + def + + + stop: Unit + +

                      + + Permalink + + +
                      Definition Classes
                      BaseGenericPipeOperator → BaseGenericMutantOperator
                      +
                    20. + + +

                      + + final + def + + + synchronized[T0](arg0: ⇒ T0): T0 + +

                      + + Permalink + + +
                      Definition Classes
                      AnyRef
                      +
                    21. + + +

                      + + implicit + val + + + system: ActorSystem + +

                      + + Permalink + + +
                      Definition Classes
                      RouteMappingPipeOperator → BaseContextQueryPipeOperator
                      +
                    22. + + +

                      + + + def + + + toString(): String + +

                      + + Permalink + + +
                      Definition Classes
                      AnyRef → Any
                      +
                    23. + + +

                      + + final + def + + + wait(): Unit + +

                      + + Permalink + + +
                      Definition Classes
                      AnyRef
                      Annotations
                      + @throws( + + ... + ) + +
                      +
                    24. + + +

                      + + final + def + + + wait(arg0: Long, arg1: Int): Unit + +

                      + + Permalink + + +
                      Definition Classes
                      AnyRef
                      Annotations
                      + @throws( + + ... + ) + +
                      +
                    25. + + +

                      + + final + def + + + wait(arg0: Long): Unit + +

                      + + Permalink + + +
                      Definition Classes
                      AnyRef
                      Annotations
                      + @throws( + + ... + ) + +
                      +
                    +
                    + + + + +
                    + +
                    +
                    +

                    Inherited from BaseContextQueryPipeOperator[BaseRouteContext[T], ActorSystem]

                    +
                    +

                    Inherited from BaseSimplePipeOperator[BaseRouteContext[T], OnDemandPipeOperatorInfo, ActorSystem]

                    +
                    +

                    Inherited from BaseGenericPipeOperator[(BaseRouteContext[T]) ⇒ BaseRouteContext[T], BaseRouteContext[T], BaseRouteContext[T], OnDemandPipeOperatorInfo, ActorSystem]

                    +
                    +

                    Inherited from BaseGenericMutantOperator[OnDemandPipeOperatorInfo, (BaseRouteContext[T]) ⇒ BaseRouteContext[T], (BaseRouteContext[T]) ⇒ BaseRouteContext[T]]

                    +
                    +

                    Inherited from BaseDoer

                    +
                    +

                    Inherited from Logging

                    +
                    +

                    Inherited from Serializable

                    +
                    +

                    Inherited from Serializable

                    +
                    +

                    Inherited from AnyRef

                    +
                    +

                    Inherited from Any

                    +
                    + +
                    + +
                    +
                    +

                    Ungrouped

                    + +
                    +
                    + +
                    + +
                    + + + + + + diff --git a/manual1903/api_reference/component-pipe/scaladocs/ksb/csle/component/pipe/query/operator/RouteRestfulContextQueryPipeOperator.html b/manual1903/api_reference/component-pipe/scaladocs/ksb/csle/component/pipe/query/operator/RouteRestfulContextQueryPipeOperator.html new file mode 100644 index 0000000000000000000000000000000000000000..ec7e682f71ca41b1031b611b75d678dc46db2885 --- /dev/null +++ b/manual1903/api_reference/component-pipe/scaladocs/ksb/csle/component/pipe/query/operator/RouteRestfulContextQueryPipeOperator.html @@ -0,0 +1,674 @@ + + + + RouteRestfulContextQueryPipeOperator - KSB COMPONENT-PIPE Scala App Project 1.0-SNAPSHOT API - ksb.csle.component.pipe.query.operator.RouteRestfulContextQueryPipeOperator + + + + + + + + + + + + + + + +
                    + Class +

                    ksb.csle.component.pipe.query.operator

                    +

                    RouteRestfulContextQueryPipeOperator

                    Related Doc: + package operator +

                    + + Permalink + + +
                    + +

                    + + + class + + + RouteRestfulContextQueryPipeOperator[T] extends GenericRestfulContextQueryPipeOperator[T] + +

                    + +

                    Operator that queries to rest server when it is requested +

                    + Linear Supertypes +
                    GenericRestfulContextQueryPipeOperator[T], BaseContextQueryPipeOperator[BaseRouteContext[T], ActorSystem], BaseSimplePipeOperator[BaseRouteContext[T], OnDemandPipeOperatorInfo, ActorSystem], BaseGenericPipeOperator[(BaseRouteContext[T]) ⇒ BaseRouteContext[T], BaseRouteContext[T], BaseRouteContext[T], OnDemandPipeOperatorInfo, ActorSystem], BaseGenericMutantOperator[OnDemandPipeOperatorInfo, (BaseRouteContext[T]) ⇒ BaseRouteContext[T], (BaseRouteContext[T]) ⇒ BaseRouteContext[T]], BaseDoer, Logging, Serializable, Serializable, AnyRef, Any
                    +
                    + + +
                    +
                    +
                    + Ordering +
                      + +
                    1. Alphabetic
                    2. +
                    3. By Inheritance
                    4. +
                    +
                    +
                    + Inherited
                    +
                    +
                      +
                    1. RouteRestfulContextQueryPipeOperator
                    2. GenericRestfulContextQueryPipeOperator
                    3. BaseContextQueryPipeOperator
                    4. BaseSimplePipeOperator
                    5. BaseGenericPipeOperator
                    6. BaseGenericMutantOperator
                    7. BaseDoer
                    8. Logging
                    9. Serializable
                    10. Serializable
                    11. AnyRef
                    12. Any
                    13. +
                    +
                    + +
                      +
                    1. Hide All
                    2. +
                    3. Show All
                    4. +
                    +
                    +
                    + Visibility +
                    1. Public
                    2. All
                    +
                    +
                    + +
                    +
                    +
                    +

                    Instance Constructors

                    +
                    1. + + +

                      + + + new + + + RouteRestfulContextQueryPipeOperator(p: OnDemandPipeOperatorInfo, system: ActorSystem) + +

                      + + Permalink + + + +
                    +
                    + + + + + +
                    +

                    Value Members

                    +
                    1. + + +

                      + + final + def + + + !=(arg0: Any): Boolean + +

                      + + Permalink + + +
                      Definition Classes
                      AnyRef → Any
                      +
                    2. + + +

                      + + final + def + + + ##(): Int + +

                      + + Permalink + + +
                      Definition Classes
                      AnyRef → Any
                      +
                    3. + + +

                      + + final + def + + + ==(arg0: Any): Boolean + +

                      + + Permalink + + +
                      Definition Classes
                      AnyRef → Any
                      +
                    4. + + +

                      + + final + def + + + asInstanceOf[T0]: T0 + +

                      + + Permalink + + +
                      Definition Classes
                      Any
                      +
                    5. + + +

                      + + + def + + + clone(): AnyRef + +

                      + + Permalink + + +
                      Attributes
                      protected[java.lang]
                      Definition Classes
                      AnyRef
                      Annotations
                      + @throws( + + ... + ) + +
                      +
                    6. + + +

                      + + final + def + + + eq(arg0: AnyRef): Boolean + +

                      + + Permalink + + +
                      Definition Classes
                      AnyRef
                      +
                    7. + + +

                      + + + def + + + equals(arg0: Any): Boolean + +

                      + + Permalink + + +
                      Definition Classes
                      AnyRef → Any
                      +
                    8. + + +

                      + + + def + + + finalize(): Unit + +

                      + + Permalink + + +
                      Attributes
                      protected[java.lang]
                      Definition Classes
                      AnyRef
                      Annotations
                      + @throws( + + classOf[java.lang.Throwable] + ) + +
                      +
                    9. + + +

                      + + final + def + + + getClass(): Class[_] + +

                      + + Permalink + + +
                      Definition Classes
                      AnyRef → Any
                      +
                    10. + + +

                      + + + def + + + hashCode(): Int + +

                      + + Permalink + + +
                      Definition Classes
                      AnyRef → Any
                      +
                    11. + + +

                      + + + val + + + info: RestfulQueryPipeOperatorInfo + +

                      + + Permalink + + +
                      Attributes
                      protected
                      Definition Classes
                      GenericRestfulContextQueryPipeOperator
                      +
                    12. + + +

                      + + final + def + + + isInstanceOf[T0]: Boolean + +

                      + + Permalink + + +
                      Definition Classes
                      Any
                      +
                    13. + + +

                      + + + val + + + logger: Logger + +

                      + + Permalink + + +
                      Attributes
                      protected
                      Definition Classes
                      Logging
                      +
                    14. + + +

                      + + final + def + + + ne(arg0: AnyRef): Boolean + +

                      + + Permalink + + +
                      Definition Classes
                      AnyRef
                      +
                    15. + + +

                      + + final + def + + + notify(): Unit + +

                      + + Permalink + + +
                      Definition Classes
                      AnyRef
                      +
                    16. + + +

                      + + final + def + + + notifyAll(): Unit + +

                      + + Permalink + + +
                      Definition Classes
                      AnyRef
                      +
                    17. + + +

                      + + final + def + + + operate(c: (BaseRouteContext[T]) ⇒ BaseRouteContext[T]): (BaseRouteContext[T]) ⇒ BaseRouteContext[T] + +

                      + + Permalink + + +
                      Definition Classes
                      BaseContextQueryPipeOperator → BaseSimplePipeOperator → BaseGenericPipeOperator → BaseGenericMutantOperator
                      +
                    18. + + +

                      + + + val + + + p: OnDemandPipeOperatorInfo + +

                      + + Permalink + + +
                      Definition Classes
                      RouteRestfulContextQueryPipeOperatorGenericRestfulContextQueryPipeOperator → BaseContextQueryPipeOperator
                      +
                    19. + + +

                      + + + def + + + query(ctx: BaseRouteContext[T]): BaseRouteContext[T] + +

                      + + Permalink + + +
                      Definition Classes
                      RouteRestfulContextQueryPipeOperatorGenericRestfulContextQueryPipeOperator → BaseContextQueryPipeOperator
                      +
                    20. + + +

                      + + + def + + + query(url: String, body: String): Future[WSResponse] + +

                      + + Permalink + + +
                      Attributes
                      protected
                      Definition Classes
                      GenericRestfulContextQueryPipeOperator
                      +
                    21. + + +

                      + + + def + + + queryUrl(url: String, ctx: BaseRouteContext[T]): BaseRouteContext[T] + +

                      + + Permalink + + +
                      Attributes
                      protected
                      Definition Classes
                      GenericRestfulContextQueryPipeOperator
                      +
                    22. + + +

                      + + + def + + + stop: Unit + +

                      + + Permalink + + +
                      Definition Classes
                      GenericRestfulContextQueryPipeOperator → BaseGenericPipeOperator → BaseGenericMutantOperator
                      +
                    23. + + +

                      + + final + def + + + synchronized[T0](arg0: ⇒ T0): T0 + +

                      + + Permalink + + +
                      Definition Classes
                      AnyRef
                      +
                    24. + + +

                      + + implicit + val + + + system: ActorSystem + +

                      + + Permalink + + +
                      Definition Classes
                      RouteRestfulContextQueryPipeOperatorGenericRestfulContextQueryPipeOperator → BaseContextQueryPipeOperator
                      +
                    25. + + +

                      + + + def + + + toString(): String + +

                      + + Permalink + + +
                      Definition Classes
                      AnyRef → Any
                      +
                    26. + + +

                      + + final + def + + + wait(): Unit + +

                      + + Permalink + + +
                      Definition Classes
                      AnyRef
                      Annotations
                      + @throws( + + ... + ) + +
                      +
                    27. + + +

                      + + final + def + + + wait(arg0: Long, arg1: Int): Unit + +

                      + + Permalink + + +
                      Definition Classes
                      AnyRef
                      Annotations
                      + @throws( + + ... + ) + +
                      +
                    28. + + +

                      + + final + def + + + wait(arg0: Long): Unit + +

                      + + Permalink + + +
                      Definition Classes
                      AnyRef
                      Annotations
                      + @throws( + + ... + ) + +
                      +
                    +
                    + + + + +
                    + +
                    +
                    +

                    Inherited from BaseContextQueryPipeOperator[BaseRouteContext[T], ActorSystem]

                    +
                    +

                    Inherited from BaseSimplePipeOperator[BaseRouteContext[T], OnDemandPipeOperatorInfo, ActorSystem]

                    +
                    +

                    Inherited from BaseGenericPipeOperator[(BaseRouteContext[T]) ⇒ BaseRouteContext[T], BaseRouteContext[T], BaseRouteContext[T], OnDemandPipeOperatorInfo, ActorSystem]

                    +
                    +

                    Inherited from BaseGenericMutantOperator[OnDemandPipeOperatorInfo, (BaseRouteContext[T]) ⇒ BaseRouteContext[T], (BaseRouteContext[T]) ⇒ BaseRouteContext[T]]

                    +
                    +

                    Inherited from BaseDoer

                    +
                    +

                    Inherited from Logging

                    +
                    +

                    Inherited from Serializable

                    +
                    +

                    Inherited from Serializable

                    +
                    +

                    Inherited from AnyRef

                    +
                    +

                    Inherited from Any

                    +
                    + +
                    + +
                    +
                    +

                    Ungrouped

                    + +
                    +
                    + +
                    + +
                    + + + + + + diff --git a/manual1903/api_reference/component-pipe/scaladocs/ksb/csle/component/pipe/query/operator/package.html b/manual1903/api_reference/component-pipe/scaladocs/ksb/csle/component/pipe/query/operator/package.html new file mode 100644 index 0000000000000000000000000000000000000000..cf5135ad0a75a0b25b39e085bfd8d7654e68919d --- /dev/null +++ b/manual1903/api_reference/component-pipe/scaladocs/ksb/csle/component/pipe/query/operator/package.html @@ -0,0 +1,235 @@ + + + + operator - KSB COMPONENT-PIPE Scala App Project 1.0-SNAPSHOT API - ksb.csle.component.pipe.query.operator + + + + + + + + + + + + + + + +
                    + Package +

                    ksb.csle.component.pipe.query

                    +

                    operator

                    + + Permalink + + +
                    + +

                    + + + package + + + operator + +

                    + +
                    + Linear Supertypes +
                    AnyRef, Any
                    +
                    + + +
                    +
                    +
                    + Ordering +
                      + +
                    1. Alphabetic
                    2. +
                    3. By Inheritance
                    4. +
                    +
                    +
                    + Inherited
                    +
                    +
                      +
                    1. operator
                    2. AnyRef
                    3. Any
                    4. +
                    +
                    + +
                      +
                    1. Hide All
                    2. +
                    3. Show All
                    4. +
                    +
                    +
                    + Visibility +
                    1. Public
                    2. All
                    +
                    +
                    + +
                    +
                    + + +
                    +

                    Type Members

                    +
                    1. + + +

                      + + + class + + + GenericRestfulContextQueryPipeOperator[T] extends BaseContextQueryPipeOperator[BaseRouteContext[T], ActorSystem] with Logging + +

                      + + Permalink + + +

                      :: Experimental ::

                      :: Experimental ::

                      Operator that queries to rest server when it is requested +

                      +
                    2. + + +

                      + + + class + + + OutputAggregatePipeOperator[T] extends BaseContextQueryPipeOperator[BaseCumulativeContext[T, String, Double], ActorSystem] + +

                      + + Permalink + + +

                      Operator that queries to rest server when it is requested +

                      +
                    3. + + +

                      + + + class + + + OutputCumulativePipeOperator[T] extends GenericRestfulContextQueryPipeOperator[T] + +

                      + + Permalink + + +

                      Operator that queries to rest server when it is requested +

                      +
                    4. + + +

                      + + + class + + + OutputRestfulContextQueryPipeOperator[T] extends GenericRestfulContextQueryPipeOperator[T] + +

                      + + Permalink + + +

                      Operator that queries to rest server when it is requested +

                      +
                    5. + + +

                      + + + class + + + RouteMappingPipeOperator[T] extends BaseContextQueryPipeOperator[BaseRouteContext[T], ActorSystem] + +

                      + + Permalink + + +

                      Operator that queries to rest server when it is requested +

                      +
                    6. + + +

                      + + + class + + + RouteRestfulContextQueryPipeOperator[T] extends GenericRestfulContextQueryPipeOperator[T] + +

                      + + Permalink + + +

                      Operator that queries to rest server when it is requested +

                      +
                    +
                    + + + + + + + + +
                    + +
                    +
                    +

                    Inherited from AnyRef

                    +
                    +

                    Inherited from Any

                    +
                    + +
                    + +
                    +
                    +

                    Ungrouped

                    + +
                    +
                    + +
                    + +
                    + + + + + + diff --git a/manual1903/api_reference/component-pipe/scaladocs/ksb/csle/component/pipe/query/package.html b/manual1903/api_reference/component-pipe/scaladocs/ksb/csle/component/pipe/query/package.html new file mode 100644 index 0000000000000000000000000000000000000000..b5c342059e991df57e563bc04e5695d26403010c --- /dev/null +++ b/manual1903/api_reference/component-pipe/scaladocs/ksb/csle/component/pipe/query/package.html @@ -0,0 +1,135 @@ + + + + query - KSB COMPONENT-PIPE Scala App Project 1.0-SNAPSHOT API - ksb.csle.component.pipe.query + + + + + + + + + + + + + + + +
                    + Package +

                    ksb.csle.component.pipe

                    +

                    query

                    + + Permalink + + +
                    + +

                    + + + package + + + query + +

                    + +
                    + + +
                    +
                    + + +
                    + Visibility +
                    1. Public
                    2. All
                    +
                    +
                    + +
                    +
                    + + + + + + +
                    +

                    Value Members

                    +
                    1. + + +

                      + + + package + + + operator + +

                      + + Permalink + + + +
                    2. + + +

                      + + + package + + + parser + +

                      + + Permalink + + + +
                    +
                    + + + + +
                    + +
                    + + +
                    + +
                    +
                    +

                    Ungrouped

                    + +
                    +
                    + +
                    + +
                    + + + + + + diff --git a/manual1903/api_reference/component-pipe/scaladocs/ksb/csle/component/pipe/query/parser/MyDLParser.html b/manual1903/api_reference/component-pipe/scaladocs/ksb/csle/component/pipe/query/parser/MyDLParser.html new file mode 100644 index 0000000000000000000000000000000000000000..df6bce3c30d72db87b5016c011e8052f1d913985 --- /dev/null +++ b/manual1903/api_reference/component-pipe/scaladocs/ksb/csle/component/pipe/query/parser/MyDLParser.html @@ -0,0 +1,521 @@ + + + + MyDLParser - KSB COMPONENT-PIPE Scala App Project 1.0-SNAPSHOT API - ksb.csle.component.pipe.query.parser.MyDLParser + + + + + + + + + + + + + + + +
                    + Class +

                    ksb.csle.component.pipe.query.parser

                    +

                    MyDLParser

                    Related Doc: + package parser +

                    + + Permalink + + +
                    + +

                    + + + class + + + MyDLParser extends BaseParser[String, String] + +

                    + +
                    + Linear Supertypes +
                    BaseParser[String, String], AnyRef, Any
                    +
                    + + +
                    +
                    +
                    + Ordering +
                      + +
                    1. Alphabetic
                    2. +
                    3. By Inheritance
                    4. +
                    +
                    +
                    + Inherited
                    +
                    +
                      +
                    1. MyDLParser
                    2. BaseParser
                    3. AnyRef
                    4. Any
                    5. +
                    +
                    + +
                      +
                    1. Hide All
                    2. +
                    3. Show All
                    4. +
                    +
                    +
                    + Visibility +
                    1. Public
                    2. All
                    +
                    +
                    + +
                    +
                    +
                    +

                    Instance Constructors

                    +
                    1. + + +

                      + + + new + + + MyDLParser() + +

                      + + Permalink + + + +
                    +
                    + + + + + +
                    +

                    Value Members

                    +
                    1. + + +

                      + + final + def + + + !=(arg0: Any): Boolean + +

                      + + Permalink + + +
                      Definition Classes
                      AnyRef → Any
                      +
                    2. + + +

                      + + final + def + + + ##(): Int + +

                      + + Permalink + + +
                      Definition Classes
                      AnyRef → Any
                      +
                    3. + + +

                      + + final + def + + + ==(arg0: Any): Boolean + +

                      + + Permalink + + +
                      Definition Classes
                      AnyRef → Any
                      +
                    4. + + +

                      + + final + def + + + asInstanceOf[T0]: T0 + +

                      + + Permalink + + +
                      Definition Classes
                      Any
                      +
                    5. + + +

                      + + + def + + + clone(): AnyRef + +

                      + + Permalink + + +
                      Attributes
                      protected[java.lang]
                      Definition Classes
                      AnyRef
                      Annotations
                      + @throws( + + ... + ) + +
                      +
                    6. + + +

                      + + final + def + + + eq(arg0: AnyRef): Boolean + +

                      + + Permalink + + +
                      Definition Classes
                      AnyRef
                      +
                    7. + + +

                      + + + def + + + equals(arg0: Any): Boolean + +

                      + + Permalink + + +
                      Definition Classes
                      AnyRef → Any
                      +
                    8. + + +

                      + + + def + + + finalize(): Unit + +

                      + + Permalink + + +
                      Attributes
                      protected[java.lang]
                      Definition Classes
                      AnyRef
                      Annotations
                      + @throws( + + classOf[java.lang.Throwable] + ) + +
                      +
                    9. + + +

                      + + final + def + + + getClass(): Class[_] + +

                      + + Permalink + + +
                      Definition Classes
                      AnyRef → Any
                      +
                    10. + + +

                      + + + def + + + hashCode(): Int + +

                      + + Permalink + + +
                      Definition Classes
                      AnyRef → Any
                      +
                    11. + + +

                      + + final + def + + + isInstanceOf[T0]: Boolean + +

                      + + Permalink + + +
                      Definition Classes
                      Any
                      +
                    12. + + +

                      + + final + def + + + ne(arg0: AnyRef): Boolean + +

                      + + Permalink + + +
                      Definition Classes
                      AnyRef
                      +
                    13. + + +

                      + + final + def + + + notify(): Unit + +

                      + + Permalink + + +
                      Definition Classes
                      AnyRef
                      +
                    14. + + +

                      + + final + def + + + notifyAll(): Unit + +

                      + + Permalink + + +
                      Definition Classes
                      AnyRef
                      +
                    15. + + +

                      + + + def + + + parse(item: String): String + +

                      + + Permalink + + +
                      Definition Classes
                      MyDLParser → BaseParser
                      +
                    16. + + +

                      + + final + def + + + synchronized[T0](arg0: ⇒ T0): T0 + +

                      + + Permalink + + +
                      Definition Classes
                      AnyRef
                      +
                    17. + + +

                      + + + def + + + toString(): String + +

                      + + Permalink + + +
                      Definition Classes
                      AnyRef → Any
                      +
                    18. + + +

                      + + final + def + + + wait(): Unit + +

                      + + Permalink + + +
                      Definition Classes
                      AnyRef
                      Annotations
                      + @throws( + + ... + ) + +
                      +
                    19. + + +

                      + + final + def + + + wait(arg0: Long, arg1: Int): Unit + +

                      + + Permalink + + +
                      Definition Classes
                      AnyRef
                      Annotations
                      + @throws( + + ... + ) + +
                      +
                    20. + + +

                      + + final + def + + + wait(arg0: Long): Unit + +

                      + + Permalink + + +
                      Definition Classes
                      AnyRef
                      Annotations
                      + @throws( + + ... + ) + +
                      +
                    +
                    + + + + +
                    + +
                    +
                    +

                    Inherited from BaseParser[String, String]

                    +
                    +

                    Inherited from AnyRef

                    +
                    +

                    Inherited from Any

                    +
                    + +
                    + +
                    +
                    +

                    Ungrouped

                    + +
                    +
                    + +
                    + +
                    + + + + + + diff --git a/manual1903/api_reference/component-pipe/scaladocs/ksb/csle/component/pipe/query/parser/MyMLParser.html b/manual1903/api_reference/component-pipe/scaladocs/ksb/csle/component/pipe/query/parser/MyMLParser.html new file mode 100644 index 0000000000000000000000000000000000000000..fd2839070aee04f79d8d6c9b17036e4c4602384d --- /dev/null +++ b/manual1903/api_reference/component-pipe/scaladocs/ksb/csle/component/pipe/query/parser/MyMLParser.html @@ -0,0 +1,521 @@ + + + + MyMLParser - KSB COMPONENT-PIPE Scala App Project 1.0-SNAPSHOT API - ksb.csle.component.pipe.query.parser.MyMLParser + + + + + + + + + + + + + + + +
                    + Class +

                    ksb.csle.component.pipe.query.parser

                    +

                    MyMLParser

                    Related Doc: + package parser +

                    + + Permalink + + +
                    + +

                    + + + class + + + MyMLParser extends BaseParser[String, String] + +

                    + +
                    + Linear Supertypes +
                    BaseParser[String, String], AnyRef, Any
                    +
                    + + +
                    +
                    +
                    + Ordering +
                      + +
                    1. Alphabetic
                    2. +
                    3. By Inheritance
                    4. +
                    +
                    +
                    + Inherited
                    +
                    +
                      +
                    1. MyMLParser
                    2. BaseParser
                    3. AnyRef
                    4. Any
                    5. +
                    +
                    + +
                      +
                    1. Hide All
                    2. +
                    3. Show All
                    4. +
                    +
                    +
                    + Visibility +
                    1. Public
                    2. All
                    +
                    +
                    + +
                    +
                    +
                    +

                    Instance Constructors

                    +
                    1. + + +

                      + + + new + + + MyMLParser() + +

                      + + Permalink + + + +
                    +
                    + + + + + +
                    +

                    Value Members

                    +
                    1. + + +

                      + + final + def + + + !=(arg0: Any): Boolean + +

                      + + Permalink + + +
                      Definition Classes
                      AnyRef → Any
                      +
                    2. + + +

                      + + final + def + + + ##(): Int + +

                      + + Permalink + + +
                      Definition Classes
                      AnyRef → Any
                      +
                    3. + + +

                      + + final + def + + + ==(arg0: Any): Boolean + +

                      + + Permalink + + +
                      Definition Classes
                      AnyRef → Any
                      +
                    4. + + +

                      + + final + def + + + asInstanceOf[T0]: T0 + +

                      + + Permalink + + +
                      Definition Classes
                      Any
                      +
                    5. + + +

                      + + + def + + + clone(): AnyRef + +

                      + + Permalink + + +
                      Attributes
                      protected[java.lang]
                      Definition Classes
                      AnyRef
                      Annotations
                      + @throws( + + ... + ) + +
                      +
                    6. + + +

                      + + final + def + + + eq(arg0: AnyRef): Boolean + +

                      + + Permalink + + +
                      Definition Classes
                      AnyRef
                      +
                    7. + + +

                      + + + def + + + equals(arg0: Any): Boolean + +

                      + + Permalink + + +
                      Definition Classes
                      AnyRef → Any
                      +
                    8. + + +

                      + + + def + + + finalize(): Unit + +

                      + + Permalink + + +
                      Attributes
                      protected[java.lang]
                      Definition Classes
                      AnyRef
                      Annotations
                      + @throws( + + classOf[java.lang.Throwable] + ) + +
                      +
                    9. + + +

                      + + final + def + + + getClass(): Class[_] + +

                      + + Permalink + + +
                      Definition Classes
                      AnyRef → Any
                      +
                    10. + + +

                      + + + def + + + hashCode(): Int + +

                      + + Permalink + + +
                      Definition Classes
                      AnyRef → Any
                      +
                    11. + + +

                      + + final + def + + + isInstanceOf[T0]: Boolean + +

                      + + Permalink + + +
                      Definition Classes
                      Any
                      +
                    12. + + +

                      + + final + def + + + ne(arg0: AnyRef): Boolean + +

                      + + Permalink + + +
                      Definition Classes
                      AnyRef
                      +
                    13. + + +

                      + + final + def + + + notify(): Unit + +

                      + + Permalink + + +
                      Definition Classes
                      AnyRef
                      +
                    14. + + +

                      + + final + def + + + notifyAll(): Unit + +

                      + + Permalink + + +
                      Definition Classes
                      AnyRef
                      +
                    15. + + +

                      + + + def + + + parse(item: String): String + +

                      + + Permalink + + +
                      Definition Classes
                      MyMLParser → BaseParser
                      +
                    16. + + +

                      + + final + def + + + synchronized[T0](arg0: ⇒ T0): T0 + +

                      + + Permalink + + +
                      Definition Classes
                      AnyRef
                      +
                    17. + + +

                      + + + def + + + toString(): String + +

                      + + Permalink + + +
                      Definition Classes
                      AnyRef → Any
                      +
                    18. + + +

                      + + final + def + + + wait(): Unit + +

                      + + Permalink + + +
                      Definition Classes
                      AnyRef
                      Annotations
                      + @throws( + + ... + ) + +
                      +
                    19. + + +

                      + + final + def + + + wait(arg0: Long, arg1: Int): Unit + +

                      + + Permalink + + +
                      Definition Classes
                      AnyRef
                      Annotations
                      + @throws( + + ... + ) + +
                      +
                    20. + + +

                      + + final + def + + + wait(arg0: Long): Unit + +

                      + + Permalink + + +
                      Definition Classes
                      AnyRef
                      Annotations
                      + @throws( + + ... + ) + +
                      +
                    +
                    + + + + +
                    + +
                    +
                    +

                    Inherited from BaseParser[String, String]

                    +
                    +

                    Inherited from AnyRef

                    +
                    +

                    Inherited from Any

                    +
                    + +
                    + +
                    +
                    +

                    Ungrouped

                    + +
                    +
                    + +
                    + +
                    + + + + + + diff --git a/manual1903/api_reference/component-pipe/scaladocs/ksb/csle/component/pipe/query/parser/package.html b/manual1903/api_reference/component-pipe/scaladocs/ksb/csle/component/pipe/query/parser/package.html new file mode 100644 index 0000000000000000000000000000000000000000..2f5d865f907ff28a5ed99dbb4a2b995b4aca6f3f --- /dev/null +++ b/manual1903/api_reference/component-pipe/scaladocs/ksb/csle/component/pipe/query/parser/package.html @@ -0,0 +1,161 @@ + + + + parser - KSB COMPONENT-PIPE Scala App Project 1.0-SNAPSHOT API - ksb.csle.component.pipe.query.parser + + + + + + + + + + + + + + + +
                    + Package +

                    ksb.csle.component.pipe.query

                    +

                    parser

                    + + Permalink + + +
                    + +

                    + + + package + + + parser + +

                    + +
                    + Linear Supertypes +
                    AnyRef, Any
                    +
                    + + +
                    +
                    +
                    + Ordering +
                      + +
                    1. Alphabetic
                    2. +
                    3. By Inheritance
                    4. +
                    +
                    +
                    + Inherited
                    +
                    +
                      +
                    1. parser
                    2. AnyRef
                    3. Any
                    4. +
                    +
                    + +
                      +
                    1. Hide All
                    2. +
                    3. Show All
                    4. +
                    +
                    +
                    + Visibility +
                    1. Public
                    2. All
                    +
                    +
                    + +
                    +
                    + + +
                    +

                    Type Members

                    +
                    1. + + +

                      + + + class + + + MyDLParser extends BaseParser[String, String] + +

                      + + Permalink + + + +
                    2. + + +

                      + + + class + + + MyMLParser extends BaseParser[String, String] + +

                      + + Permalink + + + +
                    +
                    + + + + + + + + +
                    + +
                    +
                    +

                    Inherited from AnyRef

                    +
                    +

                    Inherited from Any

                    +
                    + +
                    + +
                    +
                    +

                    Ungrouped

                    + +
                    +
                    + +
                    + +
                    + + + + + + diff --git a/manual1903/api_reference/component-pipe/scaladocs/ksb/csle/component/pipe/runner/BindServing.html b/manual1903/api_reference/component-pipe/scaladocs/ksb/csle/component/pipe/runner/BindServing.html new file mode 100644 index 0000000000000000000000000000000000000000..ce6615adb6a46cd1a79faeb981b58b480c411fe5 --- /dev/null +++ b/manual1903/api_reference/component-pipe/scaladocs/ksb/csle/component/pipe/runner/BindServing.html @@ -0,0 +1,459 @@ + + + + BindServing - KSB COMPONENT-PIPE Scala App Project 1.0-SNAPSHOT API - ksb.csle.component.pipe.runner.BindServing + + + + + + + + + + + + + + + +
                    + Class +

                    ksb.csle.component.pipe.runner

                    +

                    BindServing

                    Related Doc: + package runner +

                    + + Permalink + + +
                    + +

                    + + sealed + case class + + + BindServing() extends Product with Serializable + +

                    + +
                    + Linear Supertypes +
                    Serializable, Serializable, Product, Equals, AnyRef, Any
                    +
                    + + +
                    +
                    +
                    + Ordering +
                      + +
                    1. Alphabetic
                    2. +
                    3. By Inheritance
                    4. +
                    +
                    +
                    + Inherited
                    +
                    +
                      +
                    1. BindServing
                    2. Serializable
                    3. Serializable
                    4. Product
                    5. Equals
                    6. AnyRef
                    7. Any
                    8. +
                    +
                    + +
                      +
                    1. Hide All
                    2. +
                    3. Show All
                    4. +
                    +
                    +
                    + Visibility +
                    1. Public
                    2. All
                    +
                    +
                    + +
                    +
                    +
                    +

                    Instance Constructors

                    +
                    1. + + +

                      + + + new + + + BindServing() + +

                      + + Permalink + + + +
                    +
                    + + + + + +
                    +

                    Value Members

                    +
                    1. + + +

                      + + final + def + + + !=(arg0: Any): Boolean + +

                      + + Permalink + + +
                      Definition Classes
                      AnyRef → Any
                      +
                    2. + + +

                      + + final + def + + + ##(): Int + +

                      + + Permalink + + +
                      Definition Classes
                      AnyRef → Any
                      +
                    3. + + +

                      + + final + def + + + ==(arg0: Any): Boolean + +

                      + + Permalink + + +
                      Definition Classes
                      AnyRef → Any
                      +
                    4. + + +

                      + + final + def + + + asInstanceOf[T0]: T0 + +

                      + + Permalink + + +
                      Definition Classes
                      Any
                      +
                    5. + + +

                      + + + def + + + clone(): AnyRef + +

                      + + Permalink + + +
                      Attributes
                      protected[java.lang]
                      Definition Classes
                      AnyRef
                      Annotations
                      + @throws( + + ... + ) + +
                      +
                    6. + + +

                      + + final + def + + + eq(arg0: AnyRef): Boolean + +

                      + + Permalink + + +
                      Definition Classes
                      AnyRef
                      +
                    7. + + +

                      + + + def + + + finalize(): Unit + +

                      + + Permalink + + +
                      Attributes
                      protected[java.lang]
                      Definition Classes
                      AnyRef
                      Annotations
                      + @throws( + + classOf[java.lang.Throwable] + ) + +
                      +
                    8. + + +

                      + + final + def + + + getClass(): Class[_] + +

                      + + Permalink + + +
                      Definition Classes
                      AnyRef → Any
                      +
                    9. + + +

                      + + final + def + + + isInstanceOf[T0]: Boolean + +

                      + + Permalink + + +
                      Definition Classes
                      Any
                      +
                    10. + + +

                      + + final + def + + + ne(arg0: AnyRef): Boolean + +

                      + + Permalink + + +
                      Definition Classes
                      AnyRef
                      +
                    11. + + +

                      + + final + def + + + notify(): Unit + +

                      + + Permalink + + +
                      Definition Classes
                      AnyRef
                      +
                    12. + + +

                      + + final + def + + + notifyAll(): Unit + +

                      + + Permalink + + +
                      Definition Classes
                      AnyRef
                      +
                    13. + + +

                      + + final + def + + + synchronized[T0](arg0: ⇒ T0): T0 + +

                      + + Permalink + + +
                      Definition Classes
                      AnyRef
                      +
                    14. + + +

                      + + final + def + + + wait(): Unit + +

                      + + Permalink + + +
                      Definition Classes
                      AnyRef
                      Annotations
                      + @throws( + + ... + ) + +
                      +
                    15. + + +

                      + + final + def + + + wait(arg0: Long, arg1: Int): Unit + +

                      + + Permalink + + +
                      Definition Classes
                      AnyRef
                      Annotations
                      + @throws( + + ... + ) + +
                      +
                    16. + + +

                      + + final + def + + + wait(arg0: Long): Unit + +

                      + + Permalink + + +
                      Definition Classes
                      AnyRef
                      Annotations
                      + @throws( + + ... + ) + +
                      +
                    +
                    + + + + +
                    + +
                    +
                    +

                    Inherited from Serializable

                    +
                    +

                    Inherited from Serializable

                    +
                    +

                    Inherited from Product

                    +
                    +

                    Inherited from Equals

                    +
                    +

                    Inherited from AnyRef

                    +
                    +

                    Inherited from Any

                    +
                    + +
                    + +
                    +
                    +

                    Ungrouped

                    + +
                    +
                    + +
                    + +
                    + + + + + + diff --git a/manual1903/api_reference/component-pipe/scaladocs/ksb/csle/component/pipe/runner/ReloadServing.html b/manual1903/api_reference/component-pipe/scaladocs/ksb/csle/component/pipe/runner/ReloadServing.html new file mode 100644 index 0000000000000000000000000000000000000000..c5ff04364d190647abdb44bbe612fc7c239db39e --- /dev/null +++ b/manual1903/api_reference/component-pipe/scaladocs/ksb/csle/component/pipe/runner/ReloadServing.html @@ -0,0 +1,459 @@ + + + + ReloadServing - KSB COMPONENT-PIPE Scala App Project 1.0-SNAPSHOT API - ksb.csle.component.pipe.runner.ReloadServing + + + + + + + + + + + + + + + +
                    + Class +

                    ksb.csle.component.pipe.runner

                    +

                    ReloadServing

                    Related Doc: + package runner +

                    + + Permalink + + +
                    + +

                    + + sealed + case class + + + ReloadServing() extends Product with Serializable + +

                    + +
                    + Linear Supertypes +
                    Serializable, Serializable, Product, Equals, AnyRef, Any
                    +
                    + + +
                    +
                    +
                    + Ordering +
                      + +
                    1. Alphabetic
                    2. +
                    3. By Inheritance
                    4. +
                    +
                    +
                    + Inherited
                    +
                    +
                      +
                    1. ReloadServing
                    2. Serializable
                    3. Serializable
                    4. Product
                    5. Equals
                    6. AnyRef
                    7. Any
                    8. +
                    +
                    + +
                      +
                    1. Hide All
                    2. +
                    3. Show All
                    4. +
                    +
                    +
                    + Visibility +
                    1. Public
                    2. All
                    +
                    +
                    + +
                    +
                    +
                    +

                    Instance Constructors

                    +
                    1. + + +

                      + + + new + + + ReloadServing() + +

                      + + Permalink + + + +
                    +
                    + + + + + +
                    +

                    Value Members

                    +
                    1. + + +

                      + + final + def + + + !=(arg0: Any): Boolean + +

                      + + Permalink + + +
                      Definition Classes
                      AnyRef → Any
                      +
                    2. + + +

                      + + final + def + + + ##(): Int + +

                      + + Permalink + + +
                      Definition Classes
                      AnyRef → Any
                      +
                    3. + + +

                      + + final + def + + + ==(arg0: Any): Boolean + +

                      + + Permalink + + +
                      Definition Classes
                      AnyRef → Any
                      +
                    4. + + +

                      + + final + def + + + asInstanceOf[T0]: T0 + +

                      + + Permalink + + +
                      Definition Classes
                      Any
                      +
                    5. + + +

                      + + + def + + + clone(): AnyRef + +

                      + + Permalink + + +
                      Attributes
                      protected[java.lang]
                      Definition Classes
                      AnyRef
                      Annotations
                      + @throws( + + ... + ) + +
                      +
                    6. + + +

                      + + final + def + + + eq(arg0: AnyRef): Boolean + +

                      + + Permalink + + +
                      Definition Classes
                      AnyRef
                      +
                    7. + + +

                      + + + def + + + finalize(): Unit + +

                      + + Permalink + + +
                      Attributes
                      protected[java.lang]
                      Definition Classes
                      AnyRef
                      Annotations
                      + @throws( + + classOf[java.lang.Throwable] + ) + +
                      +
                    8. + + +

                      + + final + def + + + getClass(): Class[_] + +

                      + + Permalink + + +
                      Definition Classes
                      AnyRef → Any
                      +
                    9. + + +

                      + + final + def + + + isInstanceOf[T0]: Boolean + +

                      + + Permalink + + +
                      Definition Classes
                      Any
                      +
                    10. + + +

                      + + final + def + + + ne(arg0: AnyRef): Boolean + +

                      + + Permalink + + +
                      Definition Classes
                      AnyRef
                      +
                    11. + + +

                      + + final + def + + + notify(): Unit + +

                      + + Permalink + + +
                      Definition Classes
                      AnyRef
                      +
                    12. + + +

                      + + final + def + + + notifyAll(): Unit + +

                      + + Permalink + + +
                      Definition Classes
                      AnyRef
                      +
                    13. + + +

                      + + final + def + + + synchronized[T0](arg0: ⇒ T0): T0 + +

                      + + Permalink + + +
                      Definition Classes
                      AnyRef
                      +
                    14. + + +

                      + + final + def + + + wait(): Unit + +

                      + + Permalink + + +
                      Definition Classes
                      AnyRef
                      Annotations
                      + @throws( + + ... + ) + +
                      +
                    15. + + +

                      + + final + def + + + wait(arg0: Long, arg1: Int): Unit + +

                      + + Permalink + + +
                      Definition Classes
                      AnyRef
                      Annotations
                      + @throws( + + ... + ) + +
                      +
                    16. + + +

                      + + final + def + + + wait(arg0: Long): Unit + +

                      + + Permalink + + +
                      Definition Classes
                      AnyRef
                      Annotations
                      + @throws( + + ... + ) + +
                      +
                    +
                    + + + + +
                    + +
                    +
                    +

                    Inherited from Serializable

                    +
                    +

                    Inherited from Serializable

                    +
                    +

                    Inherited from Product

                    +
                    +

                    Inherited from Equals

                    +
                    +

                    Inherited from AnyRef

                    +
                    +

                    Inherited from Any

                    +
                    + +
                    + +
                    +
                    +

                    Ungrouped

                    + +
                    +
                    + +
                    + +
                    + + + + + + diff --git a/manual1903/api_reference/component-pipe/scaladocs/ksb/csle/component/pipe/runner/ServingMaster.html b/manual1903/api_reference/component-pipe/scaladocs/ksb/csle/component/pipe/runner/ServingMaster.html new file mode 100644 index 0000000000000000000000000000000000000000..9648088342ebbca58c99eae66a251900ee80eb90 --- /dev/null +++ b/manual1903/api_reference/component-pipe/scaladocs/ksb/csle/component/pipe/runner/ServingMaster.html @@ -0,0 +1,976 @@ + + + + ServingMaster - KSB COMPONENT-PIPE Scala App Project 1.0-SNAPSHOT API - ksb.csle.component.pipe.runner.ServingMaster + + + + + + + + + + + + + + + +
                    + Class +

                    ksb.csle.component.pipe.runner

                    +

                    ServingMaster

                    Related Doc: + package runner +

                    + + Permalink + + +
                    + +

                    + + + class + + + ServingMaster extends Actor with Logging + +

                    + +

                    Master Actor for Serving +

                    + Linear Supertypes +
                    Logging, Actor, AnyRef, Any
                    +
                    + + +
                    +
                    +
                    + Ordering +
                      + +
                    1. Alphabetic
                    2. +
                    3. By Inheritance
                    4. +
                    +
                    +
                    + Inherited
                    +
                    +
                      +
                    1. ServingMaster
                    2. Logging
                    3. Actor
                    4. AnyRef
                    5. Any
                    6. +
                    +
                    + +
                      +
                    1. Hide All
                    2. +
                    3. Show All
                    4. +
                    +
                    +
                    + Visibility +
                    1. Public
                    2. All
                    +
                    +
                    + +
                    +
                    +
                    +

                    Instance Constructors

                    +
                    1. + + +

                      + + + new + + + ServingMaster(runnerInfo: WebserviceRunnerInfo, actor: ActorRef) + +

                      + + Permalink + + + +
                    +
                    + +
                    +

                    Type Members

                    +
                    1. + + +

                      + + + type + + + Receive = PartialFunction[Any, Unit] + +

                      + + Permalink + + +
                      Definition Classes
                      Actor
                      +
                    +
                    + + + +
                    +

                    Value Members

                    +
                    1. + + +

                      + + final + def + + + !=(arg0: Any): Boolean + +

                      + + Permalink + + +
                      Definition Classes
                      AnyRef → Any
                      +
                    2. + + +

                      + + final + def + + + ##(): Int + +

                      + + Permalink + + +
                      Definition Classes
                      AnyRef → Any
                      +
                    3. + + +

                      + + final + def + + + ==(arg0: Any): Boolean + +

                      + + Permalink + + +
                      Definition Classes
                      AnyRef → Any
                      +
                    4. + + +

                      + + + def + + + aroundPostRestart(reason: Throwable): Unit + +

                      + + Permalink + + +
                      Attributes
                      protected[akka]
                      Definition Classes
                      Actor
                      +
                    5. + + +

                      + + + def + + + aroundPostStop(): Unit + +

                      + + Permalink + + +
                      Attributes
                      protected[akka]
                      Definition Classes
                      Actor
                      +
                    6. + + +

                      + + + def + + + aroundPreRestart(reason: Throwable, message: Option[Any]): Unit + +

                      + + Permalink + + +
                      Attributes
                      protected[akka]
                      Definition Classes
                      Actor
                      +
                    7. + + +

                      + + + def + + + aroundPreStart(): Unit + +

                      + + Permalink + + +
                      Attributes
                      protected[akka]
                      Definition Classes
                      Actor
                      +
                    8. + + +

                      + + + def + + + aroundReceive(receive: akka.actor.Actor.Receive, msg: Any): Unit + +

                      + + Permalink + + +
                      Attributes
                      protected[akka]
                      Definition Classes
                      Actor
                      +
                    9. + + +

                      + + final + def + + + asInstanceOf[T0]: T0 + +

                      + + Permalink + + +
                      Definition Classes
                      Any
                      +
                    10. + + +

                      + + + def + + + clone(): AnyRef + +

                      + + Permalink + + +
                      Attributes
                      protected[java.lang]
                      Definition Classes
                      AnyRef
                      Annotations
                      + @throws( + + ... + ) + +
                      +
                    11. + + +

                      + + implicit + val + + + context: ActorContext + +

                      + + Permalink + + +
                      Definition Classes
                      Actor
                      +
                    12. + + +

                      + + + var + + + currentServingActor: Option[ActorRef] + +

                      + + Permalink + + + +
                    13. + + +

                      + + final + def + + + eq(arg0: AnyRef): Boolean + +

                      + + Permalink + + +
                      Definition Classes
                      AnyRef
                      +
                    14. + + +

                      + + + def + + + equals(arg0: Any): Boolean + +

                      + + Permalink + + +
                      Definition Classes
                      AnyRef → Any
                      +
                    15. + + +

                      + + + def + + + finalize(): Unit + +

                      + + Permalink + + +
                      Attributes
                      protected[java.lang]
                      Definition Classes
                      AnyRef
                      Annotations
                      + @throws( + + classOf[java.lang.Throwable] + ) + +
                      +
                    16. + + +

                      + + final + def + + + getClass(): Class[_] + +

                      + + Permalink + + +
                      Definition Classes
                      AnyRef → Any
                      +
                    17. + + +

                      + + + def + + + hashCode(): Int + +

                      + + Permalink + + +
                      Definition Classes
                      AnyRef → Any
                      +
                    18. + + +

                      + + + val + + + ip: String + +

                      + + Permalink + + + +
                    19. + + +

                      + + final + def + + + isInstanceOf[T0]: Boolean + +

                      + + Permalink + + +
                      Definition Classes
                      Any
                      +
                    20. + + +

                      + + + val + + + logger: Logger + +

                      + + Permalink + + +
                      Attributes
                      protected
                      Definition Classes
                      Logging
                      +
                    21. + + +

                      + + final + def + + + ne(arg0: AnyRef): Boolean + +

                      + + Permalink + + +
                      Definition Classes
                      AnyRef
                      +
                    22. + + +

                      + + final + def + + + notify(): Unit + +

                      + + Permalink + + +
                      Definition Classes
                      AnyRef
                      +
                    23. + + +

                      + + final + def + + + notifyAll(): Unit + +

                      + + Permalink + + +
                      Definition Classes
                      AnyRef
                      +
                    24. + + +

                      + + + val + + + port: Int + +

                      + + Permalink + + + +
                    25. + + +

                      + + + def + + + postRestart(reason: Throwable): Unit + +

                      + + Permalink + + +
                      Definition Classes
                      Actor
                      Annotations
                      + @throws( + + classOf[java.lang.Exception] + ) + +
                      +
                    26. + + +

                      + + + def + + + postStop(): Unit + +

                      + + Permalink + + +
                      Definition Classes
                      Actor
                      Annotations
                      + @throws( + + classOf[java.lang.Exception] + ) + +
                      +
                    27. + + +

                      + + + def + + + preRestart(reason: Throwable, message: Option[Any]): Unit + +

                      + + Permalink + + +
                      Definition Classes
                      Actor
                      Annotations
                      + @throws( + + classOf[java.lang.Exception] + ) + +
                      +
                    28. + + +

                      + + + def + + + preStart(): Unit + +

                      + + Permalink + + +
                      Definition Classes
                      Actor
                      Annotations
                      + @throws( + + classOf[java.lang.Exception] + ) + +
                      +
                    29. + + +

                      + + + val + + + protocol: String + +

                      + + Permalink + + + +
                    30. + + +

                      + + + def + + + receive: akka.actor.Actor.Receive + +

                      + + Permalink + + +
                      Definition Classes
                      ServingMaster → Actor
                      +
                    31. + + +

                      + + + var + + + retry: Int + +

                      + + Permalink + + + +
                    32. + + +

                      + + implicit final + val + + + self: ActorRef + +

                      + + Permalink + + +
                      Definition Classes
                      Actor
                      +
                    33. + + +

                      + + final + def + + + sender(): ActorRef + +

                      + + Permalink + + +
                      Definition Classes
                      Actor
                      +
                    34. + + +

                      + + + val + + + serverUrl: String + +

                      + + Permalink + + + +
                    35. + + +

                      + + + var + + + sprayHttpListener: Option[ActorRef] + +

                      + + Permalink + + + +
                    36. + + +

                      + + + val + + + ssl: Boolean + +

                      + + Permalink + + + +
                    37. + + +

                      + + + def + + + supervisorStrategy: SupervisorStrategy + +

                      + + Permalink + + +
                      Definition Classes
                      Actor
                      +
                    38. + + +

                      + + final + def + + + synchronized[T0](arg0: ⇒ T0): T0 + +

                      + + Permalink + + +
                      Definition Classes
                      AnyRef
                      +
                    39. + + +

                      + + implicit + val + + + timeout: Timeout + +

                      + + Permalink + + + +
                    40. + + +

                      + + + def + + + toString(): String + +

                      + + Permalink + + +
                      Definition Classes
                      AnyRef → Any
                      +
                    41. + + +

                      + + + def + + + unhandled(message: Any): Unit + +

                      + + Permalink + + +
                      Definition Classes
                      Actor
                      +
                    42. + + +

                      + + final + def + + + wait(): Unit + +

                      + + Permalink + + +
                      Definition Classes
                      AnyRef
                      Annotations
                      + @throws( + + ... + ) + +
                      +
                    43. + + +

                      + + final + def + + + wait(arg0: Long, arg1: Int): Unit + +

                      + + Permalink + + +
                      Definition Classes
                      AnyRef
                      Annotations
                      + @throws( + + ... + ) + +
                      +
                    44. + + +

                      + + final + def + + + wait(arg0: Long): Unit + +

                      + + Permalink + + +
                      Definition Classes
                      AnyRef
                      Annotations
                      + @throws( + + ... + ) + +
                      +
                    +
                    + + + + +
                    + +
                    +
                    +

                    Inherited from Logging

                    +
                    +

                    Inherited from Actor

                    +
                    +

                    Inherited from AnyRef

                    +
                    +

                    Inherited from Any

                    +
                    + +
                    + +
                    +
                    +

                    Ungrouped

                    + +
                    +
                    + +
                    + +
                    + + + + + + diff --git a/manual1903/api_reference/component-pipe/scaladocs/ksb/csle/component/pipe/runner/ServingPipeRunner$.html b/manual1903/api_reference/component-pipe/scaladocs/ksb/csle/component/pipe/runner/ServingPipeRunner$.html new file mode 100644 index 0000000000000000000000000000000000000000..ab9b8bbafeb586bb2d2ff5ef75b5a9bbdd926057 --- /dev/null +++ b/manual1903/api_reference/component-pipe/scaladocs/ksb/csle/component/pipe/runner/ServingPipeRunner$.html @@ -0,0 +1,524 @@ + + + + ServingPipeRunner - KSB COMPONENT-PIPE Scala App Project 1.0-SNAPSHOT API - ksb.csle.component.pipe.runner.ServingPipeRunner + + + + + + + + + + + + + + + + + +

                    + + + object + + + ServingPipeRunner extends Logging with Serializable + +

                    + +
                    + Linear Supertypes +
                    Serializable, Serializable, Logging, AnyRef, Any
                    +
                    + + +
                    +
                    +
                    + Ordering +
                      + +
                    1. Alphabetic
                    2. +
                    3. By Inheritance
                    4. +
                    +
                    +
                    + Inherited
                    +
                    +
                      +
                    1. ServingPipeRunner
                    2. Serializable
                    3. Serializable
                    4. Logging
                    5. AnyRef
                    6. Any
                    7. +
                    +
                    + +
                      +
                    1. Hide All
                    2. +
                    3. Show All
                    4. +
                    +
                    +
                    + Visibility +
                    1. Public
                    2. All
                    +
                    +
                    + +
                    +
                    + + + + + + +
                    +

                    Value Members

                    +
                    1. + + +

                      + + final + def + + + !=(arg0: Any): Boolean + +

                      + + Permalink + + +
                      Definition Classes
                      AnyRef → Any
                      +
                    2. + + +

                      + + final + def + + + ##(): Int + +

                      + + Permalink + + +
                      Definition Classes
                      AnyRef → Any
                      +
                    3. + + +

                      + + final + def + + + ==(arg0: Any): Boolean + +

                      + + Permalink + + +
                      Definition Classes
                      AnyRef → Any
                      +
                    4. + + +

                      + + + def + + + apply(serviceInfo: OnDemandRunnerInfo): BaseRunner[ActorSystem, OnDemandRunnerInfo, BaseResult] + +

                      + + Permalink + + + +
                    5. + + +

                      + + final + def + + + asInstanceOf[T0]: T0 + +

                      + + Permalink + + +
                      Definition Classes
                      Any
                      +
                    6. + + +

                      + + + def + + + clone(): AnyRef + +

                      + + Permalink + + +
                      Attributes
                      protected[java.lang]
                      Definition Classes
                      AnyRef
                      Annotations
                      + @throws( + + ... + ) + +
                      +
                    7. + + +

                      + + final + def + + + eq(arg0: AnyRef): Boolean + +

                      + + Permalink + + +
                      Definition Classes
                      AnyRef
                      +
                    8. + + +

                      + + + def + + + equals(arg0: Any): Boolean + +

                      + + Permalink + + +
                      Definition Classes
                      AnyRef → Any
                      +
                    9. + + +

                      + + + def + + + finalize(): Unit + +

                      + + Permalink + + +
                      Attributes
                      protected[java.lang]
                      Definition Classes
                      AnyRef
                      Annotations
                      + @throws( + + classOf[java.lang.Throwable] + ) + +
                      +
                    10. + + +

                      + + final + def + + + getClass(): Class[_] + +

                      + + Permalink + + +
                      Definition Classes
                      AnyRef → Any
                      +
                    11. + + +

                      + + + def + + + hashCode(): Int + +

                      + + Permalink + + +
                      Definition Classes
                      AnyRef → Any
                      +
                    12. + + +

                      + + final + def + + + isInstanceOf[T0]: Boolean + +

                      + + Permalink + + +
                      Definition Classes
                      Any
                      +
                    13. + + +

                      + + + val + + + logger: Logger + +

                      + + Permalink + + +
                      Attributes
                      protected
                      Definition Classes
                      Logging
                      +
                    14. + + +

                      + + final + def + + + ne(arg0: AnyRef): Boolean + +

                      + + Permalink + + +
                      Definition Classes
                      AnyRef
                      +
                    15. + + +

                      + + final + def + + + notify(): Unit + +

                      + + Permalink + + +
                      Definition Classes
                      AnyRef
                      +
                    16. + + +

                      + + final + def + + + notifyAll(): Unit + +

                      + + Permalink + + +
                      Definition Classes
                      AnyRef
                      +
                    17. + + +

                      + + final + def + + + synchronized[T0](arg0: ⇒ T0): T0 + +

                      + + Permalink + + +
                      Definition Classes
                      AnyRef
                      +
                    18. + + +

                      + + + def + + + toString(): String + +

                      + + Permalink + + +
                      Definition Classes
                      AnyRef → Any
                      +
                    19. + + +

                      + + final + def + + + wait(): Unit + +

                      + + Permalink + + +
                      Definition Classes
                      AnyRef
                      Annotations
                      + @throws( + + ... + ) + +
                      +
                    20. + + +

                      + + final + def + + + wait(arg0: Long, arg1: Int): Unit + +

                      + + Permalink + + +
                      Definition Classes
                      AnyRef
                      Annotations
                      + @throws( + + ... + ) + +
                      +
                    21. + + +

                      + + final + def + + + wait(arg0: Long): Unit + +

                      + + Permalink + + +
                      Definition Classes
                      AnyRef
                      Annotations
                      + @throws( + + ... + ) + +
                      +
                    +
                    + + + + +
                    + +
                    +
                    +

                    Inherited from Serializable

                    +
                    +

                    Inherited from Serializable

                    +
                    +

                    Inherited from Logging

                    +
                    +

                    Inherited from AnyRef

                    +
                    +

                    Inherited from Any

                    +
                    + +
                    + +
                    +
                    +

                    Ungrouped

                    + +
                    +
                    + +
                    + +
                    + + + + + + diff --git a/manual1903/api_reference/component-pipe/scaladocs/ksb/csle/component/pipe/runner/ServingPipeRunner.html b/manual1903/api_reference/component-pipe/scaladocs/ksb/csle/component/pipe/runner/ServingPipeRunner.html new file mode 100644 index 0000000000000000000000000000000000000000..edf5a1ca027a185cfb0fb618bfb61ba547d17bc9 --- /dev/null +++ b/manual1903/api_reference/component-pipe/scaladocs/ksb/csle/component/pipe/runner/ServingPipeRunner.html @@ -0,0 +1,617 @@ + + + + ServingPipeRunner - KSB COMPONENT-PIPE Scala App Project 1.0-SNAPSHOT API - ksb.csle.component.pipe.runner.ServingPipeRunner + + + + + + + + + + + + + + + + + +

                    + + final + class + + + ServingPipeRunner extends BaseRunner[ActorSystem, OnDemandRunnerInfo, BaseResult] + +

                    + +

                    :: Experimental ::

                    Runner that serves pipelined query when client requests through restful interface +

                    + Linear Supertypes +
                    BaseRunner[ActorSystem, OnDemandRunnerInfo, BaseResult], BaseDoer, Logging, Serializable, Serializable, AnyRef, Any
                    +
                    + + +
                    +
                    +
                    + Ordering +
                      + +
                    1. Alphabetic
                    2. +
                    3. By Inheritance
                    4. +
                    +
                    +
                    + Inherited
                    +
                    +
                      +
                    1. ServingPipeRunner
                    2. BaseRunner
                    3. BaseDoer
                    4. Logging
                    5. Serializable
                    6. Serializable
                    7. AnyRef
                    8. Any
                    9. +
                    +
                    + +
                      +
                    1. Hide All
                    2. +
                    3. Show All
                    4. +
                    +
                    +
                    + Visibility +
                    1. Public
                    2. All
                    +
                    +
                    + +
                    +
                    +
                    +

                    Instance Constructors

                    +
                    1. + + +

                      + + + new + + + ServingPipeRunner(o: OnDemandRunnerInfo) + +

                      + + Permalink + + + +
                    +
                    + + + + + +
                    +

                    Value Members

                    +
                    1. + + +

                      + + final + def + + + !=(arg0: Any): Boolean + +

                      + + Permalink + + +
                      Definition Classes
                      AnyRef → Any
                      +
                    2. + + +

                      + + final + def + + + ##(): Int + +

                      + + Permalink + + +
                      Definition Classes
                      AnyRef → Any
                      +
                    3. + + +

                      + + final + def + + + ==(arg0: Any): Boolean + +

                      + + Permalink + + +
                      Definition Classes
                      AnyRef → Any
                      +
                    4. + + +

                      + + final + def + + + asInstanceOf[T0]: T0 + +

                      + + Permalink + + +
                      Definition Classes
                      Any
                      +
                    5. + + +

                      + + + def + + + clone(): AnyRef + +

                      + + Permalink + + +
                      Attributes
                      protected[java.lang]
                      Definition Classes
                      AnyRef
                      Annotations
                      + @throws( + + ... + ) + +
                      +
                    6. + + +

                      + + final + def + + + eq(arg0: AnyRef): Boolean + +

                      + + Permalink + + +
                      Definition Classes
                      AnyRef
                      +
                    7. + + +

                      + + + def + + + equals(arg0: Any): Boolean + +

                      + + Permalink + + +
                      Definition Classes
                      AnyRef → Any
                      +
                    8. + + +

                      + + + def + + + finalize(): Unit + +

                      + + Permalink + + +
                      Attributes
                      protected[java.lang]
                      Definition Classes
                      AnyRef
                      Annotations
                      + @throws( + + classOf[java.lang.Throwable] + ) + +
                      +
                    9. + + +

                      + + final + def + + + getClass(): Class[_] + +

                      + + Permalink + + +
                      Definition Classes
                      AnyRef → Any
                      +
                    10. + + +

                      + + + def + + + getSession: ActorSystem + +

                      + + Permalink + + +
                      Definition Classes
                      ServingPipeRunner → BaseRunner
                      +
                    11. + + +

                      + + + def + + + hashCode(): Int + +

                      + + Permalink + + +
                      Definition Classes
                      AnyRef → Any
                      +
                    12. + + +

                      + + + def + + + init(actor: Any): BaseResult + +

                      + + Permalink + + +
                      Definition Classes
                      ServingPipeRunner → BaseRunner
                      +
                    13. + + +

                      + + final + def + + + isInstanceOf[T0]: Boolean + +

                      + + Permalink + + +
                      Definition Classes
                      Any
                      +
                    14. + + +

                      + + + val + + + logger: Logger + +

                      + + Permalink + + +
                      Attributes
                      protected
                      Definition Classes
                      Logging
                      +
                    15. + + +

                      + + final + def + + + ne(arg0: AnyRef): Boolean + +

                      + + Permalink + + +
                      Definition Classes
                      AnyRef
                      +
                    16. + + +

                      + + final + def + + + notify(): Unit + +

                      + + Permalink + + +
                      Definition Classes
                      AnyRef
                      +
                    17. + + +

                      + + final + def + + + notifyAll(): Unit + +

                      + + Permalink + + +
                      Definition Classes
                      AnyRef
                      +
                    18. + + +

                      + + + def + + + run(actor: Any): BaseResult + +

                      + + Permalink + + +
                      Definition Classes
                      ServingPipeRunner → BaseRunner
                      +
                    19. + + +

                      + + + var + + + servingMaster: ActorRef + +

                      + + Permalink + + + +
                    20. + + +

                      + + + def + + + stop: Unit + +

                      + + Permalink + + +
                      Definition Classes
                      ServingPipeRunner → BaseRunner
                      +
                    21. + + +

                      + + final + def + + + synchronized[T0](arg0: ⇒ T0): T0 + +

                      + + Permalink + + +
                      Definition Classes
                      AnyRef
                      +
                    22. + + +

                      + + + def + + + toString(): String + +

                      + + Permalink + + +
                      Definition Classes
                      AnyRef → Any
                      +
                    23. + + +

                      + + final + def + + + wait(): Unit + +

                      + + Permalink + + +
                      Definition Classes
                      AnyRef
                      Annotations
                      + @throws( + + ... + ) + +
                      +
                    24. + + +

                      + + final + def + + + wait(arg0: Long, arg1: Int): Unit + +

                      + + Permalink + + +
                      Definition Classes
                      AnyRef
                      Annotations
                      + @throws( + + ... + ) + +
                      +
                    25. + + +

                      + + final + def + + + wait(arg0: Long): Unit + +

                      + + Permalink + + +
                      Definition Classes
                      AnyRef
                      Annotations
                      + @throws( + + ... + ) + +
                      +
                    +
                    + + + + +
                    + +
                    +
                    +

                    Inherited from BaseRunner[ActorSystem, OnDemandRunnerInfo, BaseResult]

                    +
                    +

                    Inherited from BaseDoer

                    +
                    +

                    Inherited from Logging

                    +
                    +

                    Inherited from Serializable

                    +
                    +

                    Inherited from Serializable

                    +
                    +

                    Inherited from AnyRef

                    +
                    +

                    Inherited from Any

                    +
                    + +
                    + +
                    +
                    +

                    Ungrouped

                    + +
                    +
                    + +
                    + +
                    + + + + + + diff --git a/manual1903/api_reference/component-pipe/scaladocs/ksb/csle/component/pipe/runner/StartServing.html b/manual1903/api_reference/component-pipe/scaladocs/ksb/csle/component/pipe/runner/StartServing.html new file mode 100644 index 0000000000000000000000000000000000000000..a299b993f2558b24a709c7577750cffbf0e4ae82 --- /dev/null +++ b/manual1903/api_reference/component-pipe/scaladocs/ksb/csle/component/pipe/runner/StartServing.html @@ -0,0 +1,459 @@ + + + + StartServing - KSB COMPONENT-PIPE Scala App Project 1.0-SNAPSHOT API - ksb.csle.component.pipe.runner.StartServing + + + + + + + + + + + + + + + +
                    + Class +

                    ksb.csle.component.pipe.runner

                    +

                    StartServing

                    Related Doc: + package runner +

                    + + Permalink + + +
                    + +

                    + + sealed + case class + + + StartServing() extends Product with Serializable + +

                    + +
                    + Linear Supertypes +
                    Serializable, Serializable, Product, Equals, AnyRef, Any
                    +
                    + + +
                    +
                    +
                    + Ordering +
                      + +
                    1. Alphabetic
                    2. +
                    3. By Inheritance
                    4. +
                    +
                    +
                    + Inherited
                    +
                    +
                      +
                    1. StartServing
                    2. Serializable
                    3. Serializable
                    4. Product
                    5. Equals
                    6. AnyRef
                    7. Any
                    8. +
                    +
                    + +
                      +
                    1. Hide All
                    2. +
                    3. Show All
                    4. +
                    +
                    +
                    + Visibility +
                    1. Public
                    2. All
                    +
                    +
                    + +
                    +
                    +
                    +

                    Instance Constructors

                    +
                    1. + + +

                      + + + new + + + StartServing() + +

                      + + Permalink + + + +
                    +
                    + + + + + +
                    +

                    Value Members

                    +
                    1. + + +

                      + + final + def + + + !=(arg0: Any): Boolean + +

                      + + Permalink + + +
                      Definition Classes
                      AnyRef → Any
                      +
                    2. + + +

                      + + final + def + + + ##(): Int + +

                      + + Permalink + + +
                      Definition Classes
                      AnyRef → Any
                      +
                    3. + + +

                      + + final + def + + + ==(arg0: Any): Boolean + +

                      + + Permalink + + +
                      Definition Classes
                      AnyRef → Any
                      +
                    4. + + +

                      + + final + def + + + asInstanceOf[T0]: T0 + +

                      + + Permalink + + +
                      Definition Classes
                      Any
                      +
                    5. + + +

                      + + + def + + + clone(): AnyRef + +

                      + + Permalink + + +
                      Attributes
                      protected[java.lang]
                      Definition Classes
                      AnyRef
                      Annotations
                      + @throws( + + ... + ) + +
                      +
                    6. + + +

                      + + final + def + + + eq(arg0: AnyRef): Boolean + +

                      + + Permalink + + +
                      Definition Classes
                      AnyRef
                      +
                    7. + + +

                      + + + def + + + finalize(): Unit + +

                      + + Permalink + + +
                      Attributes
                      protected[java.lang]
                      Definition Classes
                      AnyRef
                      Annotations
                      + @throws( + + classOf[java.lang.Throwable] + ) + +
                      +
                    8. + + +

                      + + final + def + + + getClass(): Class[_] + +

                      + + Permalink + + +
                      Definition Classes
                      AnyRef → Any
                      +
                    9. + + +

                      + + final + def + + + isInstanceOf[T0]: Boolean + +

                      + + Permalink + + +
                      Definition Classes
                      Any
                      +
                    10. + + +

                      + + final + def + + + ne(arg0: AnyRef): Boolean + +

                      + + Permalink + + +
                      Definition Classes
                      AnyRef
                      +
                    11. + + +

                      + + final + def + + + notify(): Unit + +

                      + + Permalink + + +
                      Definition Classes
                      AnyRef
                      +
                    12. + + +

                      + + final + def + + + notifyAll(): Unit + +

                      + + Permalink + + +
                      Definition Classes
                      AnyRef
                      +
                    13. + + +

                      + + final + def + + + synchronized[T0](arg0: ⇒ T0): T0 + +

                      + + Permalink + + +
                      Definition Classes
                      AnyRef
                      +
                    14. + + +

                      + + final + def + + + wait(): Unit + +

                      + + Permalink + + +
                      Definition Classes
                      AnyRef
                      Annotations
                      + @throws( + + ... + ) + +
                      +
                    15. + + +

                      + + final + def + + + wait(arg0: Long, arg1: Int): Unit + +

                      + + Permalink + + +
                      Definition Classes
                      AnyRef
                      Annotations
                      + @throws( + + ... + ) + +
                      +
                    16. + + +

                      + + final + def + + + wait(arg0: Long): Unit + +

                      + + Permalink + + +
                      Definition Classes
                      AnyRef
                      Annotations
                      + @throws( + + ... + ) + +
                      +
                    +
                    + + + + +
                    + +
                    +
                    +

                    Inherited from Serializable

                    +
                    +

                    Inherited from Serializable

                    +
                    +

                    Inherited from Product

                    +
                    +

                    Inherited from Equals

                    +
                    +

                    Inherited from AnyRef

                    +
                    +

                    Inherited from Any

                    +
                    + +
                    + +
                    +
                    +

                    Ungrouped

                    + +
                    +
                    + +
                    + +
                    + + + + + + diff --git a/manual1903/api_reference/component-pipe/scaladocs/ksb/csle/component/pipe/runner/StopServing.html b/manual1903/api_reference/component-pipe/scaladocs/ksb/csle/component/pipe/runner/StopServing.html new file mode 100644 index 0000000000000000000000000000000000000000..b75dfbb3a4da89111f74290d645573c5e2930d5d --- /dev/null +++ b/manual1903/api_reference/component-pipe/scaladocs/ksb/csle/component/pipe/runner/StopServing.html @@ -0,0 +1,459 @@ + + + + StopServing - KSB COMPONENT-PIPE Scala App Project 1.0-SNAPSHOT API - ksb.csle.component.pipe.runner.StopServing + + + + + + + + + + + + + + + +
                    + Class +

                    ksb.csle.component.pipe.runner

                    +

                    StopServing

                    Related Doc: + package runner +

                    + + Permalink + + +
                    + +

                    + + sealed + case class + + + StopServing() extends Product with Serializable + +

                    + +
                    + Linear Supertypes +
                    Serializable, Serializable, Product, Equals, AnyRef, Any
                    +
                    + + +
                    +
                    +
                    + Ordering +
                      + +
                    1. Alphabetic
                    2. +
                    3. By Inheritance
                    4. +
                    +
                    +
                    + Inherited
                    +
                    +
                      +
                    1. StopServing
                    2. Serializable
                    3. Serializable
                    4. Product
                    5. Equals
                    6. AnyRef
                    7. Any
                    8. +
                    +
                    + +
                      +
                    1. Hide All
                    2. +
                    3. Show All
                    4. +
                    +
                    +
                    + Visibility +
                    1. Public
                    2. All
                    +
                    +
                    + +
                    +
                    +
                    +

                    Instance Constructors

                    +
                    1. + + +

                      + + + new + + + StopServing() + +

                      + + Permalink + + + +
                    +
                    + + + + + +
                    +

                    Value Members

                    +
                    1. + + +

                      + + final + def + + + !=(arg0: Any): Boolean + +

                      + + Permalink + + +
                      Definition Classes
                      AnyRef → Any
                      +
                    2. + + +

                      + + final + def + + + ##(): Int + +

                      + + Permalink + + +
                      Definition Classes
                      AnyRef → Any
                      +
                    3. + + +

                      + + final + def + + + ==(arg0: Any): Boolean + +

                      + + Permalink + + +
                      Definition Classes
                      AnyRef → Any
                      +
                    4. + + +

                      + + final + def + + + asInstanceOf[T0]: T0 + +

                      + + Permalink + + +
                      Definition Classes
                      Any
                      +
                    5. + + +

                      + + + def + + + clone(): AnyRef + +

                      + + Permalink + + +
                      Attributes
                      protected[java.lang]
                      Definition Classes
                      AnyRef
                      Annotations
                      + @throws( + + ... + ) + +
                      +
                    6. + + +

                      + + final + def + + + eq(arg0: AnyRef): Boolean + +

                      + + Permalink + + +
                      Definition Classes
                      AnyRef
                      +
                    7. + + +

                      + + + def + + + finalize(): Unit + +

                      + + Permalink + + +
                      Attributes
                      protected[java.lang]
                      Definition Classes
                      AnyRef
                      Annotations
                      + @throws( + + classOf[java.lang.Throwable] + ) + +
                      +
                    8. + + +

                      + + final + def + + + getClass(): Class[_] + +

                      + + Permalink + + +
                      Definition Classes
                      AnyRef → Any
                      +
                    9. + + +

                      + + final + def + + + isInstanceOf[T0]: Boolean + +

                      + + Permalink + + +
                      Definition Classes
                      Any
                      +
                    10. + + +

                      + + final + def + + + ne(arg0: AnyRef): Boolean + +

                      + + Permalink + + +
                      Definition Classes
                      AnyRef
                      +
                    11. + + +

                      + + final + def + + + notify(): Unit + +

                      + + Permalink + + +
                      Definition Classes
                      AnyRef
                      +
                    12. + + +

                      + + final + def + + + notifyAll(): Unit + +

                      + + Permalink + + +
                      Definition Classes
                      AnyRef
                      +
                    13. + + +

                      + + final + def + + + synchronized[T0](arg0: ⇒ T0): T0 + +

                      + + Permalink + + +
                      Definition Classes
                      AnyRef
                      +
                    14. + + +

                      + + final + def + + + wait(): Unit + +

                      + + Permalink + + +
                      Definition Classes
                      AnyRef
                      Annotations
                      + @throws( + + ... + ) + +
                      +
                    15. + + +

                      + + final + def + + + wait(arg0: Long, arg1: Int): Unit + +

                      + + Permalink + + +
                      Definition Classes
                      AnyRef
                      Annotations
                      + @throws( + + ... + ) + +
                      +
                    16. + + +

                      + + final + def + + + wait(arg0: Long): Unit + +

                      + + Permalink + + +
                      Definition Classes
                      AnyRef
                      Annotations
                      + @throws( + + ... + ) + +
                      +
                    +
                    + + + + +
                    + +
                    +
                    +

                    Inherited from Serializable

                    +
                    +

                    Inherited from Serializable

                    +
                    +

                    Inherited from Product

                    +
                    +

                    Inherited from Equals

                    +
                    +

                    Inherited from AnyRef

                    +
                    +

                    Inherited from Any

                    +
                    + +
                    + +
                    +
                    +

                    Ungrouped

                    + +
                    +
                    + +
                    + +
                    + + + + + + diff --git a/manual1903/api_reference/component-pipe/scaladocs/ksb/csle/component/pipe/runner/package.html b/manual1903/api_reference/component-pipe/scaladocs/ksb/csle/component/pipe/runner/package.html new file mode 100644 index 0000000000000000000000000000000000000000..99a48a9b8658e0cbde1b5ad387b54c0aa5e674a4 --- /dev/null +++ b/manual1903/api_reference/component-pipe/scaladocs/ksb/csle/component/pipe/runner/package.html @@ -0,0 +1,225 @@ + + + + runner - KSB COMPONENT-PIPE Scala App Project 1.0-SNAPSHOT API - ksb.csle.component.pipe.runner + + + + + + + + + + + + + + + +
                    + Package +

                    ksb.csle.component.pipe

                    +

                    runner

                    + + Permalink + + +
                    + +

                    + + + package + + + runner + +

                    + +
                    + + +
                    +
                    + + +
                    + Visibility +
                    1. Public
                    2. All
                    +
                    +
                    + +
                    +
                    + + +
                    +

                    Type Members

                    +
                    1. + + +

                      + + sealed + case class + + + BindServing() extends Product with Serializable + +

                      + + Permalink + + + +
                    2. + + +

                      + + sealed + case class + + + ReloadServing() extends Product with Serializable + +

                      + + Permalink + + + +
                    3. + + +

                      + + + class + + + ServingMaster extends Actor with Logging + +

                      + + Permalink + + +

                      Master Actor for Serving +

                      +
                    4. + + +

                      + + final + class + + + ServingPipeRunner extends BaseRunner[ActorSystem, OnDemandRunnerInfo, BaseResult] + +

                      + + Permalink + + +

                      :: Experimental ::

                      :: Experimental ::

                      Runner that serves pipelined query when client requests through restful interface +

                      +
                    5. + + +

                      + + sealed + case class + + + StartServing() extends Product with Serializable + +

                      + + Permalink + + + +
                    6. + + +

                      + + sealed + case class + + + StopServing() extends Product with Serializable + +

                      + + Permalink + + + +
                    +
                    + + + +
                    +

                    Value Members

                    +
                    1. + + +

                      + + + object + + + ServingPipeRunner extends Logging with Serializable + +

                      + + Permalink + + + +
                    +
                    + + + + +
                    + +
                    + + +
                    + +
                    +
                    +

                    Ungrouped

                    + +
                    +
                    + +
                    + +
                    + + + + + + diff --git a/manual1903/api_reference/component-pipe/scaladocs/ksb/csle/component/pipe/stream/operator/FilterOperator.html b/manual1903/api_reference/component-pipe/scaladocs/ksb/csle/component/pipe/stream/operator/FilterOperator.html new file mode 100644 index 0000000000000000000000000000000000000000..f8fe76a880c5ea74d6d399f589745fb69b1fb423 --- /dev/null +++ b/manual1903/api_reference/component-pipe/scaladocs/ksb/csle/component/pipe/stream/operator/FilterOperator.html @@ -0,0 +1,608 @@ + + + + FilterOperator - KSB COMPONENT-PIPE Scala App Project 1.0-SNAPSHOT API - ksb.csle.component.pipe.stream.operator.FilterOperator + + + + + + + + + + + + + + + +
                    + Class +

                    ksb.csle.component.pipe.stream.operator

                    +

                    FilterOperator

                    Related Doc: + package operator +

                    + + Permalink + + +
                    + +

                    + + + class + + + FilterOperator extends BaseSimplePipeOperator[DataFrame, StreamPipeOperatorInfo, SparkSession] + +

                    + +

                    :: ApplicationDeveloperApi ::

                    Operator that selects which rows in a given column of input dataframe should +be kept and which rows should be removed. Rows satisfying the given condition +are kept, remaining rows are removed. +

                    + Linear Supertypes +
                    BaseSimplePipeOperator[DataFrame, StreamPipeOperatorInfo, SparkSession], BaseGenericPipeOperator[(DataFrame) ⇒ DataFrame, DataFrame, DataFrame, StreamPipeOperatorInfo, SparkSession], BaseGenericMutantOperator[StreamPipeOperatorInfo, (DataFrame) ⇒ DataFrame, (DataFrame) ⇒ DataFrame], BaseDoer, Logging, Serializable, Serializable, AnyRef, Any
                    +
                    + + +
                    +
                    +
                    + Ordering +
                      + +
                    1. Alphabetic
                    2. +
                    3. By Inheritance
                    4. +
                    +
                    +
                    + Inherited
                    +
                    +
                      +
                    1. FilterOperator
                    2. BaseSimplePipeOperator
                    3. BaseGenericPipeOperator
                    4. BaseGenericMutantOperator
                    5. BaseDoer
                    6. Logging
                    7. Serializable
                    8. Serializable
                    9. AnyRef
                    10. Any
                    11. +
                    +
                    + +
                      +
                    1. Hide All
                    2. +
                    3. Show All
                    4. +
                    +
                    +
                    + Visibility +
                    1. Public
                    2. All
                    +
                    +
                    + +
                    +
                    +
                    +

                    Instance Constructors

                    +
                    1. + + +

                      + + + new + + + FilterOperator(o: StreamPipeOperatorInfo, s: SparkSession) + +

                      + + Permalink + + +

                      o

                      Object that contains message + ksb.csle.common.proto.StreamOperatorProto.FilterInfo + FilterInfo contains attributes as follows:

                      • columnName: Column name to be filtered in the given input dataframe + (required)
                      • condition: Condition to select rows. Enum(EQUAL,LESS_THAN, + LARGE_THAN,LESS_EQUAL,LARGE_EQUAL,EXIST,LIKE) (required)
                      • value: Base value to compare with the value of row (optional)
                      • pattern: String pattern to compare with the string value of row + (optional)

                      FilterPipeInfo

                      message FilterInfo {
                      +required string colName = 4;
                      +required Condition condition = 5 [default = EQUAL];
                      +optional int32 value = 6;
                      +optional string pattern = 7;
                      +enum Condition {
                      +  EQUAL = 0;
                      +  LESS_THAN = 1;
                      +  LARGE_THAN = 2;
                      +  LESS_EQUAL = 3;
                      +  LARGE_EQUAL = 4;
                      +  EXIST = 5;
                      +  LIKE = 6;
                      +}
                      +}
                      +
                    +
                    + + + + + +
                    +

                    Value Members

                    +
                    1. + + +

                      + + final + def + + + !=(arg0: Any): Boolean + +

                      + + Permalink + + +
                      Definition Classes
                      AnyRef → Any
                      +
                    2. + + +

                      + + final + def + + + ##(): Int + +

                      + + Permalink + + +
                      Definition Classes
                      AnyRef → Any
                      +
                    3. + + +

                      + + final + def + + + ==(arg0: Any): Boolean + +

                      + + Permalink + + +
                      Definition Classes
                      AnyRef → Any
                      +
                    4. + + +

                      + + final + def + + + asInstanceOf[T0]: T0 + +

                      + + Permalink + + +
                      Definition Classes
                      Any
                      +
                    5. + + +

                      + + + def + + + clone(): AnyRef + +

                      + + Permalink + + +
                      Attributes
                      protected[java.lang]
                      Definition Classes
                      AnyRef
                      Annotations
                      + @throws( + + ... + ) + +
                      +
                    6. + + +

                      + + final + def + + + eq(arg0: AnyRef): Boolean + +

                      + + Permalink + + +
                      Definition Classes
                      AnyRef
                      +
                    7. + + +

                      + + + def + + + equals(arg0: Any): Boolean + +

                      + + Permalink + + +
                      Definition Classes
                      AnyRef → Any
                      +
                    8. + + +

                      + + + def + + + finalize(): Unit + +

                      + + Permalink + + +
                      Attributes
                      protected[java.lang]
                      Definition Classes
                      AnyRef
                      Annotations
                      + @throws( + + classOf[java.lang.Throwable] + ) + +
                      +
                    9. + + +

                      + + final + def + + + getClass(): Class[_] + +

                      + + Permalink + + +
                      Definition Classes
                      AnyRef → Any
                      +
                    10. + + +

                      + + + def + + + hashCode(): Int + +

                      + + Permalink + + +
                      Definition Classes
                      AnyRef → Any
                      +
                    11. + + +

                      + + final + def + + + isInstanceOf[T0]: Boolean + +

                      + + Permalink + + +
                      Definition Classes
                      Any
                      +
                    12. + + +

                      + + + val + + + logger: Logger + +

                      + + Permalink + + +
                      Attributes
                      protected
                      Definition Classes
                      Logging
                      +
                    13. + + +

                      + + final + def + + + ne(arg0: AnyRef): Boolean + +

                      + + Permalink + + +
                      Definition Classes
                      AnyRef
                      +
                    14. + + +

                      + + final + def + + + notify(): Unit + +

                      + + Permalink + + +
                      Definition Classes
                      AnyRef
                      +
                    15. + + +

                      + + final + def + + + notifyAll(): Unit + +

                      + + Permalink + + +
                      Definition Classes
                      AnyRef
                      +
                    16. + + +

                      + + + def + + + operate(df: (DataFrame) ⇒ DataFrame): (DataFrame) ⇒ DataFrame + +

                      + + Permalink + + +

                      Operates filtering function for data cleaning +

                      Operates filtering function for data cleaning +

                      df

                      Input dataframe

                      returns

                      DataFrame Output dataframe

                      Definition Classes
                      FilterOperator → BaseSimplePipeOperator → BaseGenericPipeOperator → BaseGenericMutantOperator
                      +
                    17. + + +

                      + + + val + + + p: FilterPipeInfo + +

                      + + Permalink + + + +
                    18. + + +

                      + + + def + + + stop: Unit + +

                      + + Permalink + + +
                      Definition Classes
                      BaseGenericPipeOperator → BaseGenericMutantOperator
                      +
                    19. + + +

                      + + final + def + + + synchronized[T0](arg0: ⇒ T0): T0 + +

                      + + Permalink + + +
                      Definition Classes
                      AnyRef
                      +
                    20. + + +

                      + + + def + + + toString(): String + +

                      + + Permalink + + +
                      Definition Classes
                      AnyRef → Any
                      +
                    21. + + +

                      + + final + def + + + wait(): Unit + +

                      + + Permalink + + +
                      Definition Classes
                      AnyRef
                      Annotations
                      + @throws( + + ... + ) + +
                      +
                    22. + + +

                      + + final + def + + + wait(arg0: Long, arg1: Int): Unit + +

                      + + Permalink + + +
                      Definition Classes
                      AnyRef
                      Annotations
                      + @throws( + + ... + ) + +
                      +
                    23. + + +

                      + + final + def + + + wait(arg0: Long): Unit + +

                      + + Permalink + + +
                      Definition Classes
                      AnyRef
                      Annotations
                      + @throws( + + ... + ) + +
                      +
                    +
                    + + + + +
                    + +
                    +
                    +

                    Inherited from BaseSimplePipeOperator[DataFrame, StreamPipeOperatorInfo, SparkSession]

                    +
                    +

                    Inherited from BaseGenericPipeOperator[(DataFrame) ⇒ DataFrame, DataFrame, DataFrame, StreamPipeOperatorInfo, SparkSession]

                    +
                    +

                    Inherited from BaseGenericMutantOperator[StreamPipeOperatorInfo, (DataFrame) ⇒ DataFrame, (DataFrame) ⇒ DataFrame]

                    +
                    +

                    Inherited from BaseDoer

                    +
                    +

                    Inherited from Logging

                    +
                    +

                    Inherited from Serializable

                    +
                    +

                    Inherited from Serializable

                    +
                    +

                    Inherited from AnyRef

                    +
                    +

                    Inherited from Any

                    +
                    + +
                    + +
                    +
                    +

                    Ungrouped

                    + +
                    +
                    + +
                    + +
                    + + + + + + diff --git a/manual1903/api_reference/component-pipe/scaladocs/ksb/csle/component/pipe/stream/operator/GroupByOperator.html b/manual1903/api_reference/component-pipe/scaladocs/ksb/csle/component/pipe/stream/operator/GroupByOperator.html new file mode 100644 index 0000000000000000000000000000000000000000..ce8d39daa36a9aca96f466a93c8a001d05c298d0 --- /dev/null +++ b/manual1903/api_reference/component-pipe/scaladocs/ksb/csle/component/pipe/stream/operator/GroupByOperator.html @@ -0,0 +1,597 @@ + + + + GroupByOperator - KSB COMPONENT-PIPE Scala App Project 1.0-SNAPSHOT API - ksb.csle.component.pipe.stream.operator.GroupByOperator + + + + + + + + + + + + + + + +
                    + Class +

                    ksb.csle.component.pipe.stream.operator

                    +

                    GroupByOperator

                    Related Doc: + package operator +

                    + + Permalink + + +
                    + +

                    + + + class + + + GroupByOperator extends BasePipeOperator[DataFrame, StreamPipeOperatorInfo, SparkSession] + +

                    + +

                    :: ApplicationDeveloperApi ::

                    Operator that pipelines dataframe by aggregating records +according to a given group condition. +

                    + Linear Supertypes +
                    BasePipeOperator[DataFrame, StreamPipeOperatorInfo, SparkSession], BaseGenericPipeOperator[(Any) ⇒ DataFrame, DataFrame, DataFrame, StreamPipeOperatorInfo, SparkSession], BaseGenericMutantOperator[StreamPipeOperatorInfo, (Any) ⇒ DataFrame, (DataFrame) ⇒ DataFrame], BaseDoer, Logging, Serializable, Serializable, AnyRef, Any
                    +
                    + + +
                    +
                    +
                    + Ordering +
                      + +
                    1. Alphabetic
                    2. +
                    3. By Inheritance
                    4. +
                    +
                    +
                    + Inherited
                    +
                    +
                      +
                    1. GroupByOperator
                    2. BasePipeOperator
                    3. BaseGenericPipeOperator
                    4. BaseGenericMutantOperator
                    5. BaseDoer
                    6. Logging
                    7. Serializable
                    8. Serializable
                    9. AnyRef
                    10. Any
                    11. +
                    +
                    + +
                      +
                    1. Hide All
                    2. +
                    3. Show All
                    4. +
                    +
                    +
                    + Visibility +
                    1. Public
                    2. All
                    +
                    +
                    + +
                    +
                    +
                    +

                    Instance Constructors

                    +
                    1. + + +

                      + + + new + + + GroupByOperator(o: StreamPipeOperatorInfo, session: SparkSession) + +

                      + + Permalink + + +

                      o

                      Object that contains message + ksb.csle.common.proto.StreamOperatorProto.GroupbyPipeInfo + GroupbyPipeInfo contains attributes as follows:

                      • timeColName: Column name containing time information + (optional)
                      • keyColName: A list of column names to be used as group by keys + (required)
                      • valColName: A list of column name to be used as a value columns + (required)
                      • groupby: Method for aggregation. (required)
                      • window: Window information including key, time window length, + and sliding interval.

                      GroupbyPipeInfo

                      message GroupbyPipeInfo {
                      + optional string timeColName = 3;
                      + repeated string keyColName = 4;
                      + repeated string valColName = 5;
                      + enum GroupbyOp {
                      +   SUM = 0;
                      +   COUNT = 1;
                      +   AVG = 2;
                      +   MIN = 3;
                      +   MAX = 4;
                      + }
                      + required GroupbyOp groupby = 6;
                      + optional Window window = 7;
                      +}

                      Window

                       message Window {
                      + required string key = 1;
                      + required string windowLength = 2;
                      + required string slidingInterval = 3;
                      +}
                      +
                    +
                    + + + + + +
                    +

                    Value Members

                    +
                    1. + + +

                      + + final + def + + + !=(arg0: Any): Boolean + +

                      + + Permalink + + +
                      Definition Classes
                      AnyRef → Any
                      +
                    2. + + +

                      + + final + def + + + ##(): Int + +

                      + + Permalink + + +
                      Definition Classes
                      AnyRef → Any
                      +
                    3. + + +

                      + + final + def + + + ==(arg0: Any): Boolean + +

                      + + Permalink + + +
                      Definition Classes
                      AnyRef → Any
                      +
                    4. + + +

                      + + final + def + + + asInstanceOf[T0]: T0 + +

                      + + Permalink + + +
                      Definition Classes
                      Any
                      +
                    5. + + +

                      + + + def + + + clone(): AnyRef + +

                      + + Permalink + + +
                      Attributes
                      protected[java.lang]
                      Definition Classes
                      AnyRef
                      Annotations
                      + @throws( + + ... + ) + +
                      +
                    6. + + +

                      + + final + def + + + eq(arg0: AnyRef): Boolean + +

                      + + Permalink + + +
                      Definition Classes
                      AnyRef
                      +
                    7. + + +

                      + + + def + + + equals(arg0: Any): Boolean + +

                      + + Permalink + + +
                      Definition Classes
                      AnyRef → Any
                      +
                    8. + + +

                      + + + def + + + finalize(): Unit + +

                      + + Permalink + + +
                      Attributes
                      protected[java.lang]
                      Definition Classes
                      AnyRef
                      Annotations
                      + @throws( + + classOf[java.lang.Throwable] + ) + +
                      +
                    9. + + +

                      + + final + def + + + getClass(): Class[_] + +

                      + + Permalink + + +
                      Definition Classes
                      AnyRef → Any
                      +
                    10. + + +

                      + + + def + + + hashCode(): Int + +

                      + + Permalink + + +
                      Definition Classes
                      AnyRef → Any
                      +
                    11. + + +

                      + + final + def + + + isInstanceOf[T0]: Boolean + +

                      + + Permalink + + +
                      Definition Classes
                      Any
                      +
                    12. + + +

                      + + + val + + + logger: Logger + +

                      + + Permalink + + +
                      Attributes
                      protected
                      Definition Classes
                      Logging
                      +
                    13. + + +

                      + + final + def + + + ne(arg0: AnyRef): Boolean + +

                      + + Permalink + + +
                      Definition Classes
                      AnyRef
                      +
                    14. + + +

                      + + final + def + + + notify(): Unit + +

                      + + Permalink + + +
                      Definition Classes
                      AnyRef
                      +
                    15. + + +

                      + + final + def + + + notifyAll(): Unit + +

                      + + Permalink + + +
                      Definition Classes
                      AnyRef
                      +
                    16. + + +

                      + + + def + + + operate(df: (Any) ⇒ DataFrame): (DataFrame) ⇒ DataFrame + +

                      + + Permalink + + +

                      Operates groupby function for data integration +

                      Operates groupby function for data integration +

                      df

                      Input dataframe

                      returns

                      DataFrame Output dataframe

                      Definition Classes
                      GroupByOperator → BasePipeOperator → BaseGenericPipeOperator → BaseGenericMutantOperator
                      +
                    17. + + +

                      + + + def + + + stop: Unit + +

                      + + Permalink + + +
                      Definition Classes
                      BasePipeOperator → BaseGenericPipeOperator → BaseGenericMutantOperator
                      Annotations
                      + @DeveloperApi() + +
                      +
                    18. + + +

                      + + final + def + + + synchronized[T0](arg0: ⇒ T0): T0 + +

                      + + Permalink + + +
                      Definition Classes
                      AnyRef
                      +
                    19. + + +

                      + + + def + + + toString(): String + +

                      + + Permalink + + +
                      Definition Classes
                      AnyRef → Any
                      +
                    20. + + +

                      + + final + def + + + wait(): Unit + +

                      + + Permalink + + +
                      Definition Classes
                      AnyRef
                      Annotations
                      + @throws( + + ... + ) + +
                      +
                    21. + + +

                      + + final + def + + + wait(arg0: Long, arg1: Int): Unit + +

                      + + Permalink + + +
                      Definition Classes
                      AnyRef
                      Annotations
                      + @throws( + + ... + ) + +
                      +
                    22. + + +

                      + + final + def + + + wait(arg0: Long): Unit + +

                      + + Permalink + + +
                      Definition Classes
                      AnyRef
                      Annotations
                      + @throws( + + ... + ) + +
                      +
                    +
                    + + + + +
                    + +
                    +
                    +

                    Inherited from BasePipeOperator[DataFrame, StreamPipeOperatorInfo, SparkSession]

                    +
                    +

                    Inherited from BaseGenericPipeOperator[(Any) ⇒ DataFrame, DataFrame, DataFrame, StreamPipeOperatorInfo, SparkSession]

                    +
                    +

                    Inherited from BaseGenericMutantOperator[StreamPipeOperatorInfo, (Any) ⇒ DataFrame, (DataFrame) ⇒ DataFrame]

                    +
                    +

                    Inherited from BaseDoer

                    +
                    +

                    Inherited from Logging

                    +
                    +

                    Inherited from Serializable

                    +
                    +

                    Inherited from Serializable

                    +
                    +

                    Inherited from AnyRef

                    +
                    +

                    Inherited from Any

                    +
                    + +
                    + +
                    +
                    +

                    Ungrouped

                    + +
                    +
                    + +
                    + +
                    + + + + + + diff --git a/manual1903/api_reference/component-pipe/scaladocs/ksb/csle/component/pipe/stream/operator/OrderByOperator.html b/manual1903/api_reference/component-pipe/scaladocs/ksb/csle/component/pipe/stream/operator/OrderByOperator.html new file mode 100644 index 0000000000000000000000000000000000000000..c3799d247176fed272904f79db864d32d0dfd9c2 --- /dev/null +++ b/manual1903/api_reference/component-pipe/scaladocs/ksb/csle/component/pipe/stream/operator/OrderByOperator.html @@ -0,0 +1,582 @@ + + + + OrderByOperator - KSB COMPONENT-PIPE Scala App Project 1.0-SNAPSHOT API - ksb.csle.component.pipe.stream.operator.OrderByOperator + + + + + + + + + + + + + + + +
                    + Class +

                    ksb.csle.component.pipe.stream.operator

                    +

                    OrderByOperator

                    Related Doc: + package operator +

                    + + Permalink + + +
                    + +

                    + + + class + + + OrderByOperator extends BasePipeOperator[DataFrame, StreamPipeOperatorInfo, SparkSession] + +

                    + +

                    :: ApplicationDeveloperApi ::

                    Operator that performs to order by a specific column using a given condition. +

                    + Linear Supertypes +
                    BasePipeOperator[DataFrame, StreamPipeOperatorInfo, SparkSession], BaseGenericPipeOperator[(Any) ⇒ DataFrame, DataFrame, DataFrame, StreamPipeOperatorInfo, SparkSession], BaseGenericMutantOperator[StreamPipeOperatorInfo, (Any) ⇒ DataFrame, (DataFrame) ⇒ DataFrame], BaseDoer, Logging, Serializable, Serializable, AnyRef, Any
                    +
                    + + +
                    +
                    +
                    + Ordering +
                      + +
                    1. Alphabetic
                    2. +
                    3. By Inheritance
                    4. +
                    +
                    +
                    + Inherited
                    +
                    +
                      +
                    1. OrderByOperator
                    2. BasePipeOperator
                    3. BaseGenericPipeOperator
                    4. BaseGenericMutantOperator
                    5. BaseDoer
                    6. Logging
                    7. Serializable
                    8. Serializable
                    9. AnyRef
                    10. Any
                    11. +
                    +
                    + +
                      +
                    1. Hide All
                    2. +
                    3. Show All
                    4. +
                    +
                    +
                    + Visibility +
                    1. Public
                    2. All
                    +
                    +
                    + +
                    +
                    +
                    +

                    Instance Constructors

                    +
                    1. + + +

                      + + + new + + + OrderByOperator(o: StreamPipeOperatorInfo, session: SparkSession) + +

                      + + Permalink + + +

                      o

                      Object that contains message + ksb.csle.common.proto.StreamPipeControlProto.OrderbyPipeInfo + OrderbyPipeInfo contains attributes as follows:

                      • keyColName: Column which should be used for sorting (required)
                      • method: Direction of sorting (ascending, descending). Enum(ASC, + DESC) (required)

                      OrderbyPipeInfo

                      message OrderbyPipeInfo {
                      +required string keyColName = 1;
                      +required Method method = 2 [default = ASC];
                      +enum Method {
                      +  ASC = 0;
                      +  DESC = 1;
                      +}
                      +}
                      +
                    +
                    + + + + + +
                    +

                    Value Members

                    +
                    1. + + +

                      + + final + def + + + !=(arg0: Any): Boolean + +

                      + + Permalink + + +
                      Definition Classes
                      AnyRef → Any
                      +
                    2. + + +

                      + + final + def + + + ##(): Int + +

                      + + Permalink + + +
                      Definition Classes
                      AnyRef → Any
                      +
                    3. + + +

                      + + final + def + + + ==(arg0: Any): Boolean + +

                      + + Permalink + + +
                      Definition Classes
                      AnyRef → Any
                      +
                    4. + + +

                      + + final + def + + + asInstanceOf[T0]: T0 + +

                      + + Permalink + + +
                      Definition Classes
                      Any
                      +
                    5. + + +

                      + + + def + + + clone(): AnyRef + +

                      + + Permalink + + +
                      Attributes
                      protected[java.lang]
                      Definition Classes
                      AnyRef
                      Annotations
                      + @throws( + + ... + ) + +
                      +
                    6. + + +

                      + + final + def + + + eq(arg0: AnyRef): Boolean + +

                      + + Permalink + + +
                      Definition Classes
                      AnyRef
                      +
                    7. + + +

                      + + + def + + + equals(arg0: Any): Boolean + +

                      + + Permalink + + +
                      Definition Classes
                      AnyRef → Any
                      +
                    8. + + +

                      + + + def + + + finalize(): Unit + +

                      + + Permalink + + +
                      Attributes
                      protected[java.lang]
                      Definition Classes
                      AnyRef
                      Annotations
                      + @throws( + + classOf[java.lang.Throwable] + ) + +
                      +
                    9. + + +

                      + + final + def + + + getClass(): Class[_] + +

                      + + Permalink + + +
                      Definition Classes
                      AnyRef → Any
                      +
                    10. + + +

                      + + + def + + + hashCode(): Int + +

                      + + Permalink + + +
                      Definition Classes
                      AnyRef → Any
                      +
                    11. + + +

                      + + final + def + + + isInstanceOf[T0]: Boolean + +

                      + + Permalink + + +
                      Definition Classes
                      Any
                      +
                    12. + + +

                      + + + val + + + logger: Logger + +

                      + + Permalink + + +
                      Attributes
                      protected
                      Definition Classes
                      Logging
                      +
                    13. + + +

                      + + final + def + + + ne(arg0: AnyRef): Boolean + +

                      + + Permalink + + +
                      Definition Classes
                      AnyRef
                      +
                    14. + + +

                      + + final + def + + + notify(): Unit + +

                      + + Permalink + + +
                      Definition Classes
                      AnyRef
                      +
                    15. + + +

                      + + final + def + + + notifyAll(): Unit + +

                      + + Permalink + + +
                      Definition Classes
                      AnyRef
                      +
                    16. + + +

                      + + + def + + + operate(df: (Any) ⇒ DataFrame): (DataFrame) ⇒ DataFrame + +

                      + + Permalink + + +

                      Operates OrderByColumn.

                      Operates OrderByColumn. +

                      df

                      Input dataframe

                      returns

                      DataFrame Output dataframe

                      Definition Classes
                      OrderByOperator → BasePipeOperator → BaseGenericPipeOperator → BaseGenericMutantOperator
                      +
                    17. + + +

                      + + + def + + + stop: Unit + +

                      + + Permalink + + +
                      Definition Classes
                      BasePipeOperator → BaseGenericPipeOperator → BaseGenericMutantOperator
                      Annotations
                      + @DeveloperApi() + +
                      +
                    18. + + +

                      + + final + def + + + synchronized[T0](arg0: ⇒ T0): T0 + +

                      + + Permalink + + +
                      Definition Classes
                      AnyRef
                      +
                    19. + + +

                      + + + def + + + toString(): String + +

                      + + Permalink + + +
                      Definition Classes
                      AnyRef → Any
                      +
                    20. + + +

                      + + final + def + + + wait(): Unit + +

                      + + Permalink + + +
                      Definition Classes
                      AnyRef
                      Annotations
                      + @throws( + + ... + ) + +
                      +
                    21. + + +

                      + + final + def + + + wait(arg0: Long, arg1: Int): Unit + +

                      + + Permalink + + +
                      Definition Classes
                      AnyRef
                      Annotations
                      + @throws( + + ... + ) + +
                      +
                    22. + + +

                      + + final + def + + + wait(arg0: Long): Unit + +

                      + + Permalink + + +
                      Definition Classes
                      AnyRef
                      Annotations
                      + @throws( + + ... + ) + +
                      +
                    +
                    + + + + +
                    + +
                    +
                    +

                    Inherited from BasePipeOperator[DataFrame, StreamPipeOperatorInfo, SparkSession]

                    +
                    +

                    Inherited from BaseGenericPipeOperator[(Any) ⇒ DataFrame, DataFrame, DataFrame, StreamPipeOperatorInfo, SparkSession]

                    +
                    +

                    Inherited from BaseGenericMutantOperator[StreamPipeOperatorInfo, (Any) ⇒ DataFrame, (DataFrame) ⇒ DataFrame]

                    +
                    +

                    Inherited from BaseDoer

                    +
                    +

                    Inherited from Logging

                    +
                    +

                    Inherited from Serializable

                    +
                    +

                    Inherited from Serializable

                    +
                    +

                    Inherited from AnyRef

                    +
                    +

                    Inherited from Any

                    +
                    + +
                    + +
                    +
                    +

                    Ungrouped

                    + +
                    +
                    + +
                    + +
                    + + + + + + diff --git a/manual1903/api_reference/component-pipe/scaladocs/ksb/csle/component/pipe/stream/operator/RenameColumns$.html b/manual1903/api_reference/component-pipe/scaladocs/ksb/csle/component/pipe/stream/operator/RenameColumns$.html new file mode 100644 index 0000000000000000000000000000000000000000..8aa1a2370ab914d023721e7b478669830bb2361f --- /dev/null +++ b/manual1903/api_reference/component-pipe/scaladocs/ksb/csle/component/pipe/stream/operator/RenameColumns$.html @@ -0,0 +1,499 @@ + + + + RenameColumns - KSB COMPONENT-PIPE Scala App Project 1.0-SNAPSHOT API - ksb.csle.component.pipe.stream.operator.RenameColumns + + + + + + + + + + + + + + + +
                    + Object +

                    ksb.csle.component.pipe.stream.operator

                    +

                    RenameColumns

                    Related Doc: + package operator +

                    + + Permalink + + +
                    + +

                    + + + object + + + RenameColumns + +

                    + +
                    + Linear Supertypes +
                    AnyRef, Any
                    +
                    + + +
                    +
                    +
                    + Ordering +
                      + +
                    1. Alphabetic
                    2. +
                    3. By Inheritance
                    4. +
                    +
                    +
                    + Inherited
                    +
                    +
                      +
                    1. RenameColumns
                    2. AnyRef
                    3. Any
                    4. +
                    +
                    + +
                      +
                    1. Hide All
                    2. +
                    3. Show All
                    4. +
                    +
                    +
                    + Visibility +
                    1. Public
                    2. All
                    +
                    +
                    + +
                    +
                    + + + + + + +
                    +

                    Value Members

                    +
                    1. + + +

                      + + final + def + + + !=(arg0: Any): Boolean + +

                      + + Permalink + + +
                      Definition Classes
                      AnyRef → Any
                      +
                    2. + + +

                      + + final + def + + + ##(): Int + +

                      + + Permalink + + +
                      Definition Classes
                      AnyRef → Any
                      +
                    3. + + +

                      + + final + def + + + ==(arg0: Any): Boolean + +

                      + + Permalink + + +
                      Definition Classes
                      AnyRef → Any
                      +
                    4. + + +

                      + + + def + + + apply(o: StreamPipeOperatorInfo, s: SparkSession): RenameColumnsPipeOperator + +

                      + + Permalink + + + +
                    5. + + +

                      + + final + def + + + asInstanceOf[T0]: T0 + +

                      + + Permalink + + +
                      Definition Classes
                      Any
                      +
                    6. + + +

                      + + + def + + + clone(): AnyRef + +

                      + + Permalink + + +
                      Attributes
                      protected[java.lang]
                      Definition Classes
                      AnyRef
                      Annotations
                      + @throws( + + ... + ) + +
                      +
                    7. + + +

                      + + final + def + + + eq(arg0: AnyRef): Boolean + +

                      + + Permalink + + +
                      Definition Classes
                      AnyRef
                      +
                    8. + + +

                      + + + def + + + equals(arg0: Any): Boolean + +

                      + + Permalink + + +
                      Definition Classes
                      AnyRef → Any
                      +
                    9. + + +

                      + + + def + + + finalize(): Unit + +

                      + + Permalink + + +
                      Attributes
                      protected[java.lang]
                      Definition Classes
                      AnyRef
                      Annotations
                      + @throws( + + classOf[java.lang.Throwable] + ) + +
                      +
                    10. + + +

                      + + final + def + + + getClass(): Class[_] + +

                      + + Permalink + + +
                      Definition Classes
                      AnyRef → Any
                      +
                    11. + + +

                      + + + def + + + hashCode(): Int + +

                      + + Permalink + + +
                      Definition Classes
                      AnyRef → Any
                      +
                    12. + + +

                      + + final + def + + + isInstanceOf[T0]: Boolean + +

                      + + Permalink + + +
                      Definition Classes
                      Any
                      +
                    13. + + +

                      + + final + def + + + ne(arg0: AnyRef): Boolean + +

                      + + Permalink + + +
                      Definition Classes
                      AnyRef
                      +
                    14. + + +

                      + + final + def + + + notify(): Unit + +

                      + + Permalink + + +
                      Definition Classes
                      AnyRef
                      +
                    15. + + +

                      + + final + def + + + notifyAll(): Unit + +

                      + + Permalink + + +
                      Definition Classes
                      AnyRef
                      +
                    16. + + +

                      + + final + def + + + synchronized[T0](arg0: ⇒ T0): T0 + +

                      + + Permalink + + +
                      Definition Classes
                      AnyRef
                      +
                    17. + + +

                      + + + def + + + toString(): String + +

                      + + Permalink + + +
                      Definition Classes
                      AnyRef → Any
                      +
                    18. + + +

                      + + final + def + + + wait(): Unit + +

                      + + Permalink + + +
                      Definition Classes
                      AnyRef
                      Annotations
                      + @throws( + + ... + ) + +
                      +
                    19. + + +

                      + + final + def + + + wait(arg0: Long, arg1: Int): Unit + +

                      + + Permalink + + +
                      Definition Classes
                      AnyRef
                      Annotations
                      + @throws( + + ... + ) + +
                      +
                    20. + + +

                      + + final + def + + + wait(arg0: Long): Unit + +

                      + + Permalink + + +
                      Definition Classes
                      AnyRef
                      Annotations
                      + @throws( + + ... + ) + +
                      +
                    +
                    + + + + +
                    + +
                    +
                    +

                    Inherited from AnyRef

                    +
                    +

                    Inherited from Any

                    +
                    + +
                    + +
                    +
                    +

                    Ungrouped

                    + +
                    +
                    + +
                    + +
                    + + + + + + diff --git a/manual1903/api_reference/component-pipe/scaladocs/ksb/csle/component/pipe/stream/operator/RenameColumnsPipeOperator.html b/manual1903/api_reference/component-pipe/scaladocs/ksb/csle/component/pipe/stream/operator/RenameColumnsPipeOperator.html new file mode 100644 index 0000000000000000000000000000000000000000..f8d78f1afe4f850a4c594bcb5d906437b2507ae0 --- /dev/null +++ b/manual1903/api_reference/component-pipe/scaladocs/ksb/csle/component/pipe/stream/operator/RenameColumnsPipeOperator.html @@ -0,0 +1,615 @@ + + + + RenameColumnsPipeOperator - KSB COMPONENT-PIPE Scala App Project 1.0-SNAPSHOT API - ksb.csle.component.pipe.stream.operator.RenameColumnsPipeOperator + + + + + + + + + + + + + + + +
                    + Class +

                    ksb.csle.component.pipe.stream.operator

                    +

                    RenameColumnsPipeOperator

                    Related Doc: + package operator +

                    + + Permalink + + +
                    + +

                    + + + class + + + RenameColumnsPipeOperator extends BasePipeOperator[DataFrame, StreamPipeOperatorInfo, SparkSession] + +

                    + +

                    :: ApplicationDeveloperApi ::

                    Operator that changes the column names to be selected. +In addition, changes the column type to be selected. +

                    + Linear Supertypes +
                    BasePipeOperator[DataFrame, StreamPipeOperatorInfo, SparkSession], BaseGenericPipeOperator[(Any) ⇒ DataFrame, DataFrame, DataFrame, StreamPipeOperatorInfo, SparkSession], BaseGenericMutantOperator[StreamPipeOperatorInfo, (Any) ⇒ DataFrame, (DataFrame) ⇒ DataFrame], BaseDoer, Logging, Serializable, Serializable, AnyRef, Any
                    +
                    + + +
                    +
                    +
                    + Ordering +
                      + +
                    1. Alphabetic
                    2. +
                    3. By Inheritance
                    4. +
                    +
                    +
                    + Inherited
                    +
                    +
                      +
                    1. RenameColumnsPipeOperator
                    2. BasePipeOperator
                    3. BaseGenericPipeOperator
                    4. BaseGenericMutantOperator
                    5. BaseDoer
                    6. Logging
                    7. Serializable
                    8. Serializable
                    9. AnyRef
                    10. Any
                    11. +
                    +
                    + +
                      +
                    1. Hide All
                    2. +
                    3. Show All
                    4. +
                    +
                    +
                    + Visibility +
                    1. Public
                    2. All
                    +
                    +
                    + +
                    +
                    +
                    +

                    Instance Constructors

                    +
                    1. + + +

                      + + + new + + + RenameColumnsPipeOperator(o: StreamPipeOperatorInfo, session: SparkSession) + +

                      + + Permalink + + +

                      o

                      Object that contains message + ksb.csle.common.proto.StreamPipeControlProto.RenameColumnsPipeInfo + RenameColumnsPipeInfo contains attributes as follows:

                      • selectedColumn: Column information to be selected (repeated)

                      RenameColumnsPipeInfo

                      message RenameColumnsPipeInfo {
                      +repeated SelectedColumnInfo selectedColumn = 1;
                      +}

                      SelectedColumnInfo

                       message SelectedColumnInfo {
                      + required int32 selectedColIndex = 1;
                      + required string newColName = 2;
                      + optional FieldType newFieldType = 3 [default = STRING];
                      +}
                      +
                    +
                    + + + + + +
                    +

                    Value Members

                    +
                    1. + + +

                      + + final + def + + + !=(arg0: Any): Boolean + +

                      + + Permalink + + +
                      Definition Classes
                      AnyRef → Any
                      +
                    2. + + +

                      + + final + def + + + ##(): Int + +

                      + + Permalink + + +
                      Definition Classes
                      AnyRef → Any
                      +
                    3. + + +

                      + + final + def + + + ==(arg0: Any): Boolean + +

                      + + Permalink + + +
                      Definition Classes
                      AnyRef → Any
                      +
                    4. + + +

                      + + final + def + + + asInstanceOf[T0]: T0 + +

                      + + Permalink + + +
                      Definition Classes
                      Any
                      +
                    5. + + +

                      + + + def + + + clone(): AnyRef + +

                      + + Permalink + + +
                      Attributes
                      protected[java.lang]
                      Definition Classes
                      AnyRef
                      Annotations
                      + @throws( + + ... + ) + +
                      +
                    6. + + +

                      + + final + def + + + eq(arg0: AnyRef): Boolean + +

                      + + Permalink + + +
                      Definition Classes
                      AnyRef
                      +
                    7. + + +

                      + + + def + + + equals(arg0: Any): Boolean + +

                      + + Permalink + + +
                      Definition Classes
                      AnyRef → Any
                      +
                    8. + + +

                      + + + def + + + finalize(): Unit + +

                      + + Permalink + + +
                      Attributes
                      protected[java.lang]
                      Definition Classes
                      AnyRef
                      Annotations
                      + @throws( + + classOf[java.lang.Throwable] + ) + +
                      +
                    9. + + +

                      + + final + def + + + getClass(): Class[_] + +

                      + + Permalink + + +
                      Definition Classes
                      AnyRef → Any
                      +
                    10. + + +

                      + + + def + + + hashCode(): Int + +

                      + + Permalink + + +
                      Definition Classes
                      AnyRef → Any
                      +
                    11. + + +

                      + + final + def + + + isInstanceOf[T0]: Boolean + +

                      + + Permalink + + +
                      Definition Classes
                      Any
                      +
                    12. + + +

                      + + + val + + + logger: Logger + +

                      + + Permalink + + +
                      Attributes
                      protected
                      Definition Classes
                      Logging
                      +
                    13. + + +

                      + + final + def + + + ne(arg0: AnyRef): Boolean + +

                      + + Permalink + + +
                      Definition Classes
                      AnyRef
                      +
                    14. + + +

                      + + final + def + + + notify(): Unit + +

                      + + Permalink + + +
                      Definition Classes
                      AnyRef
                      +
                    15. + + +

                      + + final + def + + + notifyAll(): Unit + +

                      + + Permalink + + +
                      Definition Classes
                      AnyRef
                      +
                    16. + + +

                      + + + def + + + operate(df: (Any) ⇒ DataFrame): (DataFrame) ⇒ DataFrame + +

                      + + Permalink + + +

                      Changes specific column name and type.

                      Changes specific column name and type. +

                      df

                      Input function pipe

                      returns

                      output data pipe

                      Definition Classes
                      RenameColumnsPipeOperator → BasePipeOperator → BaseGenericPipeOperator → BaseGenericMutantOperator
                      +
                    17. + + +

                      + + + val + + + p: RenameColumnsPipeInfo + +

                      + + Permalink + + + +
                    18. + + +

                      + + + val + + + selectedCols: Array[(Int, String, String)] + +

                      + + Permalink + + + +
                    19. + + +

                      + + + def + + + stop: Unit + +

                      + + Permalink + + +
                      Definition Classes
                      BasePipeOperator → BaseGenericPipeOperator → BaseGenericMutantOperator
                      Annotations
                      + @DeveloperApi() + +
                      +
                    20. + + +

                      + + final + def + + + synchronized[T0](arg0: ⇒ T0): T0 + +

                      + + Permalink + + +
                      Definition Classes
                      AnyRef
                      +
                    21. + + +

                      + + + def + + + toString(): String + +

                      + + Permalink + + +
                      Definition Classes
                      AnyRef → Any
                      +
                    22. + + +

                      + + final + def + + + wait(): Unit + +

                      + + Permalink + + +
                      Definition Classes
                      AnyRef
                      Annotations
                      + @throws( + + ... + ) + +
                      +
                    23. + + +

                      + + final + def + + + wait(arg0: Long, arg1: Int): Unit + +

                      + + Permalink + + +
                      Definition Classes
                      AnyRef
                      Annotations
                      + @throws( + + ... + ) + +
                      +
                    24. + + +

                      + + final + def + + + wait(arg0: Long): Unit + +

                      + + Permalink + + +
                      Definition Classes
                      AnyRef
                      Annotations
                      + @throws( + + ... + ) + +
                      +
                    +
                    + + + + +
                    + +
                    +
                    +

                    Inherited from BasePipeOperator[DataFrame, StreamPipeOperatorInfo, SparkSession]

                    +
                    +

                    Inherited from BaseGenericPipeOperator[(Any) ⇒ DataFrame, DataFrame, DataFrame, StreamPipeOperatorInfo, SparkSession]

                    +
                    +

                    Inherited from BaseGenericMutantOperator[StreamPipeOperatorInfo, (Any) ⇒ DataFrame, (DataFrame) ⇒ DataFrame]

                    +
                    +

                    Inherited from BaseDoer

                    +
                    +

                    Inherited from Logging

                    +
                    +

                    Inherited from Serializable

                    +
                    +

                    Inherited from Serializable

                    +
                    +

                    Inherited from AnyRef

                    +
                    +

                    Inherited from Any

                    +
                    + +
                    + +
                    +
                    +

                    Ungrouped

                    + +
                    +
                    + +
                    + +
                    + + + + + + diff --git a/manual1903/api_reference/component-pipe/scaladocs/ksb/csle/component/pipe/stream/operator/SelectColumns$.html b/manual1903/api_reference/component-pipe/scaladocs/ksb/csle/component/pipe/stream/operator/SelectColumns$.html new file mode 100644 index 0000000000000000000000000000000000000000..85896b434cb3174d4e6d0feb2a2c889ff3043a1c --- /dev/null +++ b/manual1903/api_reference/component-pipe/scaladocs/ksb/csle/component/pipe/stream/operator/SelectColumns$.html @@ -0,0 +1,499 @@ + + + + SelectColumns - KSB COMPONENT-PIPE Scala App Project 1.0-SNAPSHOT API - ksb.csle.component.pipe.stream.operator.SelectColumns + + + + + + + + + + + + + + + +
                    + Object +

                    ksb.csle.component.pipe.stream.operator

                    +

                    SelectColumns

                    Related Doc: + package operator +

                    + + Permalink + + +
                    + +

                    + + + object + + + SelectColumns + +

                    + +
                    + Linear Supertypes +
                    AnyRef, Any
                    +
                    + + +
                    +
                    +
                    + Ordering +
                      + +
                    1. Alphabetic
                    2. +
                    3. By Inheritance
                    4. +
                    +
                    +
                    + Inherited
                    +
                    +
                      +
                    1. SelectColumns
                    2. AnyRef
                    3. Any
                    4. +
                    +
                    + +
                      +
                    1. Hide All
                    2. +
                    3. Show All
                    4. +
                    +
                    +
                    + Visibility +
                    1. Public
                    2. All
                    +
                    +
                    + +
                    +
                    + + + + + + +
                    +

                    Value Members

                    +
                    1. + + +

                      + + final + def + + + !=(arg0: Any): Boolean + +

                      + + Permalink + + +
                      Definition Classes
                      AnyRef → Any
                      +
                    2. + + +

                      + + final + def + + + ##(): Int + +

                      + + Permalink + + +
                      Definition Classes
                      AnyRef → Any
                      +
                    3. + + +

                      + + final + def + + + ==(arg0: Any): Boolean + +

                      + + Permalink + + +
                      Definition Classes
                      AnyRef → Any
                      +
                    4. + + +

                      + + + def + + + apply(o: StreamPipeOperatorInfo, s: SparkSession): SelectColumnsPipeOperator + +

                      + + Permalink + + + +
                    5. + + +

                      + + final + def + + + asInstanceOf[T0]: T0 + +

                      + + Permalink + + +
                      Definition Classes
                      Any
                      +
                    6. + + +

                      + + + def + + + clone(): AnyRef + +

                      + + Permalink + + +
                      Attributes
                      protected[java.lang]
                      Definition Classes
                      AnyRef
                      Annotations
                      + @throws( + + ... + ) + +
                      +
                    7. + + +

                      + + final + def + + + eq(arg0: AnyRef): Boolean + +

                      + + Permalink + + +
                      Definition Classes
                      AnyRef
                      +
                    8. + + +

                      + + + def + + + equals(arg0: Any): Boolean + +

                      + + Permalink + + +
                      Definition Classes
                      AnyRef → Any
                      +
                    9. + + +

                      + + + def + + + finalize(): Unit + +

                      + + Permalink + + +
                      Attributes
                      protected[java.lang]
                      Definition Classes
                      AnyRef
                      Annotations
                      + @throws( + + classOf[java.lang.Throwable] + ) + +
                      +
                    10. + + +

                      + + final + def + + + getClass(): Class[_] + +

                      + + Permalink + + +
                      Definition Classes
                      AnyRef → Any
                      +
                    11. + + +

                      + + + def + + + hashCode(): Int + +

                      + + Permalink + + +
                      Definition Classes
                      AnyRef → Any
                      +
                    12. + + +

                      + + final + def + + + isInstanceOf[T0]: Boolean + +

                      + + Permalink + + +
                      Definition Classes
                      Any
                      +
                    13. + + +

                      + + final + def + + + ne(arg0: AnyRef): Boolean + +

                      + + Permalink + + +
                      Definition Classes
                      AnyRef
                      +
                    14. + + +

                      + + final + def + + + notify(): Unit + +

                      + + Permalink + + +
                      Definition Classes
                      AnyRef
                      +
                    15. + + +

                      + + final + def + + + notifyAll(): Unit + +

                      + + Permalink + + +
                      Definition Classes
                      AnyRef
                      +
                    16. + + +

                      + + final + def + + + synchronized[T0](arg0: ⇒ T0): T0 + +

                      + + Permalink + + +
                      Definition Classes
                      AnyRef
                      +
                    17. + + +

                      + + + def + + + toString(): String + +

                      + + Permalink + + +
                      Definition Classes
                      AnyRef → Any
                      +
                    18. + + +

                      + + final + def + + + wait(): Unit + +

                      + + Permalink + + +
                      Definition Classes
                      AnyRef
                      Annotations
                      + @throws( + + ... + ) + +
                      +
                    19. + + +

                      + + final + def + + + wait(arg0: Long, arg1: Int): Unit + +

                      + + Permalink + + +
                      Definition Classes
                      AnyRef
                      Annotations
                      + @throws( + + ... + ) + +
                      +
                    20. + + +

                      + + final + def + + + wait(arg0: Long): Unit + +

                      + + Permalink + + +
                      Definition Classes
                      AnyRef
                      Annotations
                      + @throws( + + ... + ) + +
                      +
                    +
                    + + + + +
                    + +
                    +
                    +

                    Inherited from AnyRef

                    +
                    +

                    Inherited from Any

                    +
                    + +
                    + +
                    +
                    +

                    Ungrouped

                    + +
                    +
                    + +
                    + +
                    + + + + + + diff --git a/manual1903/api_reference/component-pipe/scaladocs/ksb/csle/component/pipe/stream/operator/SelectColumnsPipeOperator.html b/manual1903/api_reference/component-pipe/scaladocs/ksb/csle/component/pipe/stream/operator/SelectColumnsPipeOperator.html new file mode 100644 index 0000000000000000000000000000000000000000..9ca977d25129306033a29778d25210353286e5e2 --- /dev/null +++ b/manual1903/api_reference/component-pipe/scaladocs/ksb/csle/component/pipe/stream/operator/SelectColumnsPipeOperator.html @@ -0,0 +1,648 @@ + + + + SelectColumnsPipeOperator - KSB COMPONENT-PIPE Scala App Project 1.0-SNAPSHOT API - ksb.csle.component.pipe.stream.operator.SelectColumnsPipeOperator + + + + + + + + + + + + + + + +
                    + Class +

                    ksb.csle.component.pipe.stream.operator

                    +

                    SelectColumnsPipeOperator

                    Related Doc: + package operator +

                    + + Permalink + + +
                    + +

                    + + + class + + + SelectColumnsPipeOperator extends BasePipeOperator[DataFrame, StreamPipeOperatorInfo, SparkSession] + +

                    + +

                    :: ApplicationDeveloperApi ::

                    Operator that selects the columns that user wants to choose. +

                    + Linear Supertypes +
                    BasePipeOperator[DataFrame, StreamPipeOperatorInfo, SparkSession], BaseGenericPipeOperator[(Any) ⇒ DataFrame, DataFrame, DataFrame, StreamPipeOperatorInfo, SparkSession], BaseGenericMutantOperator[StreamPipeOperatorInfo, (Any) ⇒ DataFrame, (DataFrame) ⇒ DataFrame], BaseDoer, Logging, Serializable, Serializable, AnyRef, Any
                    +
                    + + +
                    +
                    +
                    + Ordering +
                      + +
                    1. Alphabetic
                    2. +
                    3. By Inheritance
                    4. +
                    +
                    +
                    + Inherited
                    +
                    +
                      +
                    1. SelectColumnsPipeOperator
                    2. BasePipeOperator
                    3. BaseGenericPipeOperator
                    4. BaseGenericMutantOperator
                    5. BaseDoer
                    6. Logging
                    7. Serializable
                    8. Serializable
                    9. AnyRef
                    10. Any
                    11. +
                    +
                    + +
                      +
                    1. Hide All
                    2. +
                    3. Show All
                    4. +
                    +
                    +
                    + Visibility +
                    1. Public
                    2. All
                    +
                    +
                    + +
                    +
                    +
                    +

                    Instance Constructors

                    +
                    1. + + +

                      + + + new + + + SelectColumnsPipeOperator(o: StreamPipeOperatorInfo, session: SparkSession) + +

                      + + Permalink + + +

                      o

                      Object that contains message + ksb.csle.common.proto.StreamOperatorProto.SelectColumnsPipeInfo + SelectColumnsPipeInfo contains attributes as follows:

                      • col: Column ids to be selected (repeated)
                      • colName: Column names to be selected (repeated)
                      • isRename: set "true" if you want to change the column names + to be selected (optional)
                      • newName: Column names to be changed (repeated)

                      SelectColumnsInfo

                      message SelectColumnsPipeInfo {
                      +repeated int32 col = 1;
                      +repeated string colName = 2;
                      +optional bool isRename = 3 [default = false];
                      +repeated string newName = 4;
                      +}
                      +
                    +
                    + + + + + +
                    +

                    Value Members

                    +
                    1. + + +

                      + + final + def + + + !=(arg0: Any): Boolean + +

                      + + Permalink + + +
                      Definition Classes
                      AnyRef → Any
                      +
                    2. + + +

                      + + final + def + + + ##(): Int + +

                      + + Permalink + + +
                      Definition Classes
                      AnyRef → Any
                      +
                    3. + + +

                      + + final + def + + + ==(arg0: Any): Boolean + +

                      + + Permalink + + +
                      Definition Classes
                      AnyRef → Any
                      +
                    4. + + +

                      + + final + def + + + asInstanceOf[T0]: T0 + +

                      + + Permalink + + +
                      Definition Classes
                      Any
                      +
                    5. + + +

                      + + + def + + + clone(): AnyRef + +

                      + + Permalink + + +
                      Attributes
                      protected[java.lang]
                      Definition Classes
                      AnyRef
                      Annotations
                      + @throws( + + ... + ) + +
                      +
                    6. + + +

                      + + final + def + + + eq(arg0: AnyRef): Boolean + +

                      + + Permalink + + +
                      Definition Classes
                      AnyRef
                      +
                    7. + + +

                      + + + def + + + equals(arg0: Any): Boolean + +

                      + + Permalink + + +
                      Definition Classes
                      AnyRef → Any
                      +
                    8. + + +

                      + + + def + + + finalize(): Unit + +

                      + + Permalink + + +
                      Attributes
                      protected[java.lang]
                      Definition Classes
                      AnyRef
                      Annotations
                      + @throws( + + classOf[java.lang.Throwable] + ) + +
                      +
                    9. + + +

                      + + final + def + + + getClass(): Class[_] + +

                      + + Permalink + + +
                      Definition Classes
                      AnyRef → Any
                      +
                    10. + + +

                      + + + def + + + hashCode(): Int + +

                      + + Permalink + + +
                      Definition Classes
                      AnyRef → Any
                      +
                    11. + + +

                      + + final + def + + + isInstanceOf[T0]: Boolean + +

                      + + Permalink + + +
                      Definition Classes
                      Any
                      +
                    12. + + +

                      + + + val + + + isRename: Boolean + +

                      + + Permalink + + + +
                    13. + + +

                      + + + val + + + logger: Logger + +

                      + + Permalink + + +
                      Attributes
                      protected
                      Definition Classes
                      Logging
                      +
                    14. + + +

                      + + final + def + + + ne(arg0: AnyRef): Boolean + +

                      + + Permalink + + +
                      Definition Classes
                      AnyRef
                      +
                    15. + + +

                      + + + val + + + newCols: ProtocolStringList + +

                      + + Permalink + + + +
                    16. + + +

                      + + final + def + + + notify(): Unit + +

                      + + Permalink + + +
                      Definition Classes
                      AnyRef
                      +
                    17. + + +

                      + + final + def + + + notifyAll(): Unit + +

                      + + Permalink + + +
                      Definition Classes
                      AnyRef
                      +
                    18. + + +

                      + + + def + + + operate(df: (Any) ⇒ DataFrame): (DataFrame) ⇒ DataFrame + +

                      + + Permalink + + +

                      Selects specific columns.

                      Selects specific columns. +

                      df

                      Input function pipe

                      returns

                      output data pipe

                      Definition Classes
                      SelectColumnsPipeOperator → BasePipeOperator → BaseGenericPipeOperator → BaseGenericMutantOperator
                      +
                    19. + + +

                      + + + val + + + p: SelectColumnsPipeInfo + +

                      + + Permalink + + + +
                    20. + + +

                      + + + val + + + selectedCols: Array[String] + +

                      + + Permalink + + + +
                    21. + + +

                      + + + def + + + stop: Unit + +

                      + + Permalink + + +
                      Definition Classes
                      BasePipeOperator → BaseGenericPipeOperator → BaseGenericMutantOperator
                      Annotations
                      + @DeveloperApi() + +
                      +
                    22. + + +

                      + + final + def + + + synchronized[T0](arg0: ⇒ T0): T0 + +

                      + + Permalink + + +
                      Definition Classes
                      AnyRef
                      +
                    23. + + +

                      + + + def + + + toString(): String + +

                      + + Permalink + + +
                      Definition Classes
                      AnyRef → Any
                      +
                    24. + + +

                      + + final + def + + + wait(): Unit + +

                      + + Permalink + + +
                      Definition Classes
                      AnyRef
                      Annotations
                      + @throws( + + ... + ) + +
                      +
                    25. + + +

                      + + final + def + + + wait(arg0: Long, arg1: Int): Unit + +

                      + + Permalink + + +
                      Definition Classes
                      AnyRef
                      Annotations
                      + @throws( + + ... + ) + +
                      +
                    26. + + +

                      + + final + def + + + wait(arg0: Long): Unit + +

                      + + Permalink + + +
                      Definition Classes
                      AnyRef
                      Annotations
                      + @throws( + + ... + ) + +
                      +
                    +
                    + + + + +
                    + +
                    +
                    +

                    Inherited from BasePipeOperator[DataFrame, StreamPipeOperatorInfo, SparkSession]

                    +
                    +

                    Inherited from BaseGenericPipeOperator[(Any) ⇒ DataFrame, DataFrame, DataFrame, StreamPipeOperatorInfo, SparkSession]

                    +
                    +

                    Inherited from BaseGenericMutantOperator[StreamPipeOperatorInfo, (Any) ⇒ DataFrame, (DataFrame) ⇒ DataFrame]

                    +
                    +

                    Inherited from BaseDoer

                    +
                    +

                    Inherited from Logging

                    +
                    +

                    Inherited from Serializable

                    +
                    +

                    Inherited from Serializable

                    +
                    +

                    Inherited from AnyRef

                    +
                    +

                    Inherited from Any

                    +
                    + +
                    + +
                    +
                    +

                    Ungrouped

                    + +
                    +
                    + +
                    + +
                    + + + + + + diff --git a/manual1903/api_reference/component-pipe/scaladocs/ksb/csle/component/pipe/stream/operator/SparkMLPredictPipeOperator.html b/manual1903/api_reference/component-pipe/scaladocs/ksb/csle/component/pipe/stream/operator/SparkMLPredictPipeOperator.html new file mode 100644 index 0000000000000000000000000000000000000000..f68b58904b61468c678ed818c530e14b66ee8489 --- /dev/null +++ b/manual1903/api_reference/component-pipe/scaladocs/ksb/csle/component/pipe/stream/operator/SparkMLPredictPipeOperator.html @@ -0,0 +1,645 @@ + + + + SparkMLPredictPipeOperator - KSB COMPONENT-PIPE Scala App Project 1.0-SNAPSHOT API - ksb.csle.component.pipe.stream.operator.SparkMLPredictPipeOperator + + + + + + + + + + + + + + + +
                    + Class +

                    ksb.csle.component.pipe.stream.operator

                    +

                    SparkMLPredictPipeOperator

                    Related Doc: + package operator +

                    + + Permalink + + +
                    + +

                    + + + class + + + SparkMLPredictPipeOperator extends BaseSimplePipeOperator[DataFrame, StreamPipeOperatorInfo, SparkSession] + +

                    + +

                    :: ApplicationDeveloperApi ::

                    Operator that performs predition with ML model in the given dataframe. +

                    + Linear Supertypes +
                    BaseSimplePipeOperator[DataFrame, StreamPipeOperatorInfo, SparkSession], BaseGenericPipeOperator[(DataFrame) ⇒ DataFrame, DataFrame, DataFrame, StreamPipeOperatorInfo, SparkSession], BaseGenericMutantOperator[StreamPipeOperatorInfo, (DataFrame) ⇒ DataFrame, (DataFrame) ⇒ DataFrame], BaseDoer, Logging, Serializable, Serializable, AnyRef, Any
                    +
                    + + +
                    +
                    +
                    + Ordering +
                      + +
                    1. Alphabetic
                    2. +
                    3. By Inheritance
                    4. +
                    +
                    +
                    + Inherited
                    +
                    +
                      +
                    1. SparkMLPredictPipeOperator
                    2. BaseSimplePipeOperator
                    3. BaseGenericPipeOperator
                    4. BaseGenericMutantOperator
                    5. BaseDoer
                    6. Logging
                    7. Serializable
                    8. Serializable
                    9. AnyRef
                    10. Any
                    11. +
                    +
                    + +
                      +
                    1. Hide All
                    2. +
                    3. Show All
                    4. +
                    +
                    +
                    + Visibility +
                    1. Public
                    2. All
                    +
                    +
                    + +
                    +
                    +
                    +

                    Instance Constructors

                    +
                    1. + + +

                      + + + new + + + SparkMLPredictPipeOperator(o: StreamPipeOperatorInfo, session: SparkSession) + +

                      + + Permalink + + +

                      o

                      Object that contains message + ksb.csle.common.proto.StreamOperatorProto.SparkMLStreamPredictOperatorInfo + SparkMLStreamPredictOperatorInfo contains attributes as follows:

                      • clsNameForModel: Class name for loading ml model. + "org.apache.spark.ml.PipelineModel" is highly recommended.(required)
                      • modelPath: Path for ml model. + The path should contain metadata and stage directory + in the path (required).

                      SparkMLStreamPredictOperatorInfo

                      message SparkMLStreamPredictOperatorInfo {
                      +required string clsNameForModel = 1;
                      +required string modelPath = 2;
                      +}
                      +
                    +
                    + + + + + +
                    +

                    Value Members

                    +
                    1. + + +

                      + + final + def + + + !=(arg0: Any): Boolean + +

                      + + Permalink + + +
                      Definition Classes
                      AnyRef → Any
                      +
                    2. + + +

                      + + final + def + + + ##(): Int + +

                      + + Permalink + + +
                      Definition Classes
                      AnyRef → Any
                      +
                    3. + + +

                      + + final + def + + + ==(arg0: Any): Boolean + +

                      + + Permalink + + +
                      Definition Classes
                      AnyRef → Any
                      +
                    4. + + +

                      + + final + def + + + asInstanceOf[T0]: T0 + +

                      + + Permalink + + +
                      Definition Classes
                      Any
                      +
                    5. + + +

                      + + + def + + + clone(): AnyRef + +

                      + + Permalink + + +
                      Attributes
                      protected[java.lang]
                      Definition Classes
                      AnyRef
                      Annotations
                      + @throws( + + ... + ) + +
                      +
                    6. + + +

                      + + final + def + + + eq(arg0: AnyRef): Boolean + +

                      + + Permalink + + +
                      Definition Classes
                      AnyRef
                      +
                    7. + + +

                      + + + def + + + equals(arg0: Any): Boolean + +

                      + + Permalink + + +
                      Definition Classes
                      AnyRef → Any
                      +
                    8. + + +

                      + + + def + + + finalize(): Unit + +

                      + + Permalink + + +
                      Attributes
                      protected[java.lang]
                      Definition Classes
                      AnyRef
                      Annotations
                      + @throws( + + classOf[java.lang.Throwable] + ) + +
                      +
                    9. + + +

                      + + final + def + + + getClass(): Class[_] + +

                      + + Permalink + + +
                      Definition Classes
                      AnyRef → Any
                      +
                    10. + + +

                      + + + def + + + hashCode(): Int + +

                      + + Permalink + + +
                      Definition Classes
                      AnyRef → Any
                      +
                    11. + + +

                      + + final + def + + + isInstanceOf[T0]: Boolean + +

                      + + Permalink + + +
                      Definition Classes
                      Any
                      +
                    12. + + +

                      + + + def + + + loadModel(modelPath: String): PipelineModel + +

                      + + Permalink + + + +
                    13. + + +

                      + + + val + + + logger: Logger + +

                      + + Permalink + + +
                      Attributes
                      protected
                      Definition Classes
                      Logging
                      +
                    14. + + +

                      + + + val + + + model: PipelineModel + +

                      + + Permalink + + + +
                    15. + + +

                      + + final + def + + + ne(arg0: AnyRef): Boolean + +

                      + + Permalink + + +
                      Definition Classes
                      AnyRef
                      +
                    16. + + +

                      + + final + def + + + notify(): Unit + +

                      + + Permalink + + +
                      Definition Classes
                      AnyRef
                      +
                    17. + + +

                      + + final + def + + + notifyAll(): Unit + +

                      + + Permalink + + +
                      Definition Classes
                      AnyRef
                      +
                    18. + + +

                      + + + def + + + operate(df: (DataFrame) ⇒ DataFrame): (DataFrame) ⇒ DataFrame + +

                      + + Permalink + + +

                      Execute prediction with ML model.

                      Execute prediction with ML model. +

                      df

                      Input function pipe

                      returns

                      output data pipe

                      Definition Classes
                      SparkMLPredictPipeOperator → BaseSimplePipeOperator → BaseGenericPipeOperator → BaseGenericMutantOperator
                      +
                    19. + + +

                      + + + val + + + p: EnergyMLStreamPredictPipeOperatorInfo + +

                      + + Permalink + + + +
                    20. + + +

                      + + + def + + + predict(df: (DataFrame) ⇒ DataFrame): (DataFrame) ⇒ DataFrame + +

                      + + Permalink + + + +
                    21. + + +

                      + + + def + + + stop: Unit + +

                      + + Permalink + + +
                      Definition Classes
                      BaseGenericPipeOperator → BaseGenericMutantOperator
                      +
                    22. + + +

                      + + final + def + + + synchronized[T0](arg0: ⇒ T0): T0 + +

                      + + Permalink + + +
                      Definition Classes
                      AnyRef
                      +
                    23. + + +

                      + + + def + + + toString(): String + +

                      + + Permalink + + +
                      Definition Classes
                      AnyRef → Any
                      +
                    24. + + +

                      + + final + def + + + wait(): Unit + +

                      + + Permalink + + +
                      Definition Classes
                      AnyRef
                      Annotations
                      + @throws( + + ... + ) + +
                      +
                    25. + + +

                      + + final + def + + + wait(arg0: Long, arg1: Int): Unit + +

                      + + Permalink + + +
                      Definition Classes
                      AnyRef
                      Annotations
                      + @throws( + + ... + ) + +
                      +
                    26. + + +

                      + + final + def + + + wait(arg0: Long): Unit + +

                      + + Permalink + + +
                      Definition Classes
                      AnyRef
                      Annotations
                      + @throws( + + ... + ) + +
                      +
                    +
                    + + + + +
                    + +
                    +
                    +

                    Inherited from BaseSimplePipeOperator[DataFrame, StreamPipeOperatorInfo, SparkSession]

                    +
                    +

                    Inherited from BaseGenericPipeOperator[(DataFrame) ⇒ DataFrame, DataFrame, DataFrame, StreamPipeOperatorInfo, SparkSession]

                    +
                    +

                    Inherited from BaseGenericMutantOperator[StreamPipeOperatorInfo, (DataFrame) ⇒ DataFrame, (DataFrame) ⇒ DataFrame]

                    +
                    +

                    Inherited from BaseDoer

                    +
                    +

                    Inherited from Logging

                    +
                    +

                    Inherited from Serializable

                    +
                    +

                    Inherited from Serializable

                    +
                    +

                    Inherited from AnyRef

                    +
                    +

                    Inherited from Any

                    +
                    + +
                    + +
                    +
                    +

                    Ungrouped

                    + +
                    +
                    + +
                    + +
                    + + + + + + diff --git a/manual1903/api_reference/component-pipe/scaladocs/ksb/csle/component/pipe/stream/operator/StreamAllJoinOperator.html b/manual1903/api_reference/component-pipe/scaladocs/ksb/csle/component/pipe/stream/operator/StreamAllJoinOperator.html new file mode 100644 index 0000000000000000000000000000000000000000..b7be5b71588de321a8ce422f00081adbbcb25107 --- /dev/null +++ b/manual1903/api_reference/component-pipe/scaladocs/ksb/csle/component/pipe/stream/operator/StreamAllJoinOperator.html @@ -0,0 +1,593 @@ + + + + StreamAllJoinOperator - KSB COMPONENT-PIPE Scala App Project 1.0-SNAPSHOT API - ksb.csle.component.pipe.stream.operator.StreamAllJoinOperator + + + + + + + + + + + + + + + +
                    + Class +

                    ksb.csle.component.pipe.stream.operator

                    +

                    StreamAllJoinOperator

                    Related Doc: + package operator +

                    + + Permalink + + +
                    + +

                    + + + class + + + StreamAllJoinOperator[T] extends BaseJoinPipeOperator[DataFrame, StreamPipeOperatorInfo, SparkSession] + +

                    + +

                    :: ApplicationDeveloperApi ::

                    Operator that full joins multiple dataframes by key. +

                    + Linear Supertypes +
                    BaseJoinPipeOperator[DataFrame, StreamPipeOperatorInfo, SparkSession], BaseGenericPipeOperator[Seq[(Any) ⇒ DataFrame], Seq[DataFrame], DataFrame, StreamPipeOperatorInfo, SparkSession], BaseGenericMutantOperator[StreamPipeOperatorInfo, Seq[(Any) ⇒ DataFrame], (Seq[DataFrame]) ⇒ DataFrame], BaseDoer, Logging, Serializable, Serializable, AnyRef, Any
                    +
                    + + +
                    +
                    +
                    + Ordering +
                      + +
                    1. Alphabetic
                    2. +
                    3. By Inheritance
                    4. +
                    +
                    +
                    + Inherited
                    +
                    +
                      +
                    1. StreamAllJoinOperator
                    2. BaseJoinPipeOperator
                    3. BaseGenericPipeOperator
                    4. BaseGenericMutantOperator
                    5. BaseDoer
                    6. Logging
                    7. Serializable
                    8. Serializable
                    9. AnyRef
                    10. Any
                    11. +
                    +
                    + +
                      +
                    1. Hide All
                    2. +
                    3. Show All
                    4. +
                    +
                    +
                    + Visibility +
                    1. Public
                    2. All
                    +
                    +
                    + +
                    +
                    +
                    +

                    Instance Constructors

                    +
                    1. + + +

                      + + + new + + + StreamAllJoinOperator(o: StreamPipeOperatorInfo, s: SparkSession) + +

                      + + Permalink + + +

                      o

                      Object that contains message + AllJoinPipeInfo + AllJoinPipeInfo contains attributes as follows:

                      • key: key to join

                      SelectColumnsInfo

                      message AllJoinPipeInfo {
                      +  required string key = 1;
                      +}
                      +
                    +
                    + + + + + +
                    +

                    Value Members

                    +
                    1. + + +

                      + + final + def + + + !=(arg0: Any): Boolean + +

                      + + Permalink + + +
                      Definition Classes
                      AnyRef → Any
                      +
                    2. + + +

                      + + final + def + + + ##(): Int + +

                      + + Permalink + + +
                      Definition Classes
                      AnyRef → Any
                      +
                    3. + + +

                      + + final + def + + + ==(arg0: Any): Boolean + +

                      + + Permalink + + +
                      Definition Classes
                      AnyRef → Any
                      +
                    4. + + +

                      + + final + def + + + asInstanceOf[T0]: T0 + +

                      + + Permalink + + +
                      Definition Classes
                      Any
                      +
                    5. + + +

                      + + + def + + + clone(): AnyRef + +

                      + + Permalink + + +
                      Attributes
                      protected[java.lang]
                      Definition Classes
                      AnyRef
                      Annotations
                      + @throws( + + ... + ) + +
                      +
                    6. + + +

                      + + final + def + + + eq(arg0: AnyRef): Boolean + +

                      + + Permalink + + +
                      Definition Classes
                      AnyRef
                      +
                    7. + + +

                      + + + def + + + equals(arg0: Any): Boolean + +

                      + + Permalink + + +
                      Definition Classes
                      AnyRef → Any
                      +
                    8. + + +

                      + + + def + + + finalize(): Unit + +

                      + + Permalink + + +
                      Attributes
                      protected[java.lang]
                      Definition Classes
                      AnyRef
                      Annotations
                      + @throws( + + classOf[java.lang.Throwable] + ) + +
                      +
                    9. + + +

                      + + final + def + + + getClass(): Class[_] + +

                      + + Permalink + + +
                      Definition Classes
                      AnyRef → Any
                      +
                    10. + + +

                      + + + def + + + hashCode(): Int + +

                      + + Permalink + + +
                      Definition Classes
                      AnyRef → Any
                      +
                    11. + + +

                      + + final + def + + + isInstanceOf[T0]: Boolean + +

                      + + Permalink + + +
                      Definition Classes
                      Any
                      +
                    12. + + +

                      + + + val + + + logger: Logger + +

                      + + Permalink + + +
                      Attributes
                      protected
                      Definition Classes
                      Logging
                      +
                    13. + + +

                      + + final + def + + + ne(arg0: AnyRef): Boolean + +

                      + + Permalink + + +
                      Definition Classes
                      AnyRef
                      +
                    14. + + +

                      + + final + def + + + notify(): Unit + +

                      + + Permalink + + +
                      Definition Classes
                      AnyRef
                      +
                    15. + + +

                      + + final + def + + + notifyAll(): Unit + +

                      + + Permalink + + +
                      Definition Classes
                      AnyRef
                      +
                    16. + + +

                      + + + def + + + operate(df: Seq[(Any) ⇒ DataFrame]): (Seq[DataFrame]) ⇒ DataFrame + +

                      + + Permalink + + +

                      Joins all columns in multiple dataframe by key.

                      Joins all columns in multiple dataframe by key. +

                      df

                      Input function pipe

                      returns

                      output function pipe

                      Definition Classes
                      StreamAllJoinOperator → BaseJoinPipeOperator → BaseGenericPipeOperator → BaseGenericMutantOperator
                      +
                    17. + + +

                      + + + val + + + p: AllJoinPipeInfo + +

                      + + Permalink + + + +
                    18. + + +

                      + + + def + + + stop: Unit + +

                      + + Permalink + + +
                      Definition Classes
                      BaseJoinPipeOperator → BaseGenericPipeOperator → BaseGenericMutantOperator
                      Annotations
                      + @DeveloperApi() + +
                      +
                    19. + + +

                      + + final + def + + + synchronized[T0](arg0: ⇒ T0): T0 + +

                      + + Permalink + + +
                      Definition Classes
                      AnyRef
                      +
                    20. + + +

                      + + + def + + + toString(): String + +

                      + + Permalink + + +
                      Definition Classes
                      AnyRef → Any
                      +
                    21. + + +

                      + + final + def + + + wait(): Unit + +

                      + + Permalink + + +
                      Definition Classes
                      AnyRef
                      Annotations
                      + @throws( + + ... + ) + +
                      +
                    22. + + +

                      + + final + def + + + wait(arg0: Long, arg1: Int): Unit + +

                      + + Permalink + + +
                      Definition Classes
                      AnyRef
                      Annotations
                      + @throws( + + ... + ) + +
                      +
                    23. + + +

                      + + final + def + + + wait(arg0: Long): Unit + +

                      + + Permalink + + +
                      Definition Classes
                      AnyRef
                      Annotations
                      + @throws( + + ... + ) + +
                      +
                    +
                    + + + + +
                    + +
                    +
                    +

                    Inherited from BaseJoinPipeOperator[DataFrame, StreamPipeOperatorInfo, SparkSession]

                    +
                    +

                    Inherited from BaseGenericPipeOperator[Seq[(Any) ⇒ DataFrame], Seq[DataFrame], DataFrame, StreamPipeOperatorInfo, SparkSession]

                    +
                    +

                    Inherited from BaseGenericMutantOperator[StreamPipeOperatorInfo, Seq[(Any) ⇒ DataFrame], (Seq[DataFrame]) ⇒ DataFrame]

                    +
                    +

                    Inherited from BaseDoer

                    +
                    +

                    Inherited from Logging

                    +
                    +

                    Inherited from Serializable

                    +
                    +

                    Inherited from Serializable

                    +
                    +

                    Inherited from AnyRef

                    +
                    +

                    Inherited from Any

                    +
                    + +
                    + +
                    +
                    +

                    Ungrouped

                    + +
                    +
                    + +
                    + +
                    + + + + + + diff --git a/manual1903/api_reference/component-pipe/scaladocs/ksb/csle/component/pipe/stream/operator/StreamJoinOperator.html b/manual1903/api_reference/component-pipe/scaladocs/ksb/csle/component/pipe/stream/operator/StreamJoinOperator.html new file mode 100644 index 0000000000000000000000000000000000000000..9039f5486e6b853cd94eaa632475d2ccbb7a797f --- /dev/null +++ b/manual1903/api_reference/component-pipe/scaladocs/ksb/csle/component/pipe/stream/operator/StreamJoinOperator.html @@ -0,0 +1,621 @@ + + + + StreamJoinOperator - KSB COMPONENT-PIPE Scala App Project 1.0-SNAPSHOT API - ksb.csle.component.pipe.stream.operator.StreamJoinOperator + + + + + + + + + + + + + + + +
                    + Class +

                    ksb.csle.component.pipe.stream.operator

                    +

                    StreamJoinOperator

                    Related Doc: + package operator +

                    + + Permalink + + +
                    + +

                    + + + class + + + StreamJoinOperator[T] extends BaseJoinPipeOperator[DataFrame, StreamPipeOperatorInfo, SparkSession] + +

                    + +

                    :: ApplicationDeveloperApi ::

                    Operator that joins selected join columns by key with multiple dataframes +and groups joined records by group-by key. +

                    + Linear Supertypes +
                    BaseJoinPipeOperator[DataFrame, StreamPipeOperatorInfo, SparkSession], BaseGenericPipeOperator[Seq[(Any) ⇒ DataFrame], Seq[DataFrame], DataFrame, StreamPipeOperatorInfo, SparkSession], BaseGenericMutantOperator[StreamPipeOperatorInfo, Seq[(Any) ⇒ DataFrame], (Seq[DataFrame]) ⇒ DataFrame], BaseDoer, Logging, Serializable, Serializable, AnyRef, Any
                    +
                    + + +
                    +
                    +
                    + Ordering +
                      + +
                    1. Alphabetic
                    2. +
                    3. By Inheritance
                    4. +
                    +
                    +
                    + Inherited
                    +
                    +
                      +
                    1. StreamJoinOperator
                    2. BaseJoinPipeOperator
                    3. BaseGenericPipeOperator
                    4. BaseGenericMutantOperator
                    5. BaseDoer
                    6. Logging
                    7. Serializable
                    8. Serializable
                    9. AnyRef
                    10. Any
                    11. +
                    +
                    + +
                      +
                    1. Hide All
                    2. +
                    3. Show All
                    4. +
                    +
                    +
                    + Visibility +
                    1. Public
                    2. All
                    +
                    +
                    + +
                    +
                    +
                    +

                    Instance Constructors

                    +
                    1. + + +

                      + + + new + + + StreamJoinOperator(o: StreamPipeOperatorInfo, s: SparkSession) + +

                      + + Permalink + + +

                      o

                      Object that contains message + JoinPipeInfo + JoinPipeInfo contains attributes as follows:

                      • key: join key (required)
                      • joinColumns: columns to join (required)
                      • joinType: Type of join (optional)
                      • GroupbyPipeInfo contains attributes as follows:
                        • timeColName: Column name containing time information (optional)
                        • keyColName: A list of column names to be used as group by keys + (required)
                        • valColName: A list of column name to be used as a value columns + (required)
                        • groupby: Method for aggregation. (required)
                        • window: Window information including key, time window length, + and sliding interval.

                      JoinPipeInfo

                      message JoinPipeInfo {
                      +required string key = 1;
                      +repeated string joinColumns = 2;
                      +optional JoinType joinType = 3 [default = INNER];
                      +optional GroupbyPipeInfo groupBy = 7;
                      +}

                      JoinType

                      enum JoinType {
                      +INNER = 0;
                      +LEFT_OUTER = 1;
                      +RIGHT_OUTER = 2;
                      +}

                      GroupbyPipeInfo

                      message GroupbyPipeInfo {
                      + optional string timeColName = 3;
                      + repeated string keyColName = 4;
                      + repeated string valColName = 5;
                      + enum GroupbyOp {
                      +   SUM = 0;
                      +   COUNT = 1;
                      +   AVG = 2;
                      +   MIN = 3;
                      +   MAX = 4;
                      + }
                      + required GroupbyOp groupby = 6;
                      + optional Window window = 7;
                      +}

                      Window

                      message Window {
                      +required string key = 1;
                      +required string windowLength = 2;
                      +required string slidingInterval = 3;
                      +}
                      +
                    +
                    + + + + + +
                    +

                    Value Members

                    +
                    1. + + +

                      + + final + def + + + !=(arg0: Any): Boolean + +

                      + + Permalink + + +
                      Definition Classes
                      AnyRef → Any
                      +
                    2. + + +

                      + + final + def + + + ##(): Int + +

                      + + Permalink + + +
                      Definition Classes
                      AnyRef → Any
                      +
                    3. + + +

                      + + final + def + + + ==(arg0: Any): Boolean + +

                      + + Permalink + + +
                      Definition Classes
                      AnyRef → Any
                      +
                    4. + + +

                      + + final + def + + + asInstanceOf[T0]: T0 + +

                      + + Permalink + + +
                      Definition Classes
                      Any
                      +
                    5. + + +

                      + + + def + + + clone(): AnyRef + +

                      + + Permalink + + +
                      Attributes
                      protected[java.lang]
                      Definition Classes
                      AnyRef
                      Annotations
                      + @throws( + + ... + ) + +
                      +
                    6. + + +

                      + + final + def + + + eq(arg0: AnyRef): Boolean + +

                      + + Permalink + + +
                      Definition Classes
                      AnyRef
                      +
                    7. + + +

                      + + + def + + + equals(arg0: Any): Boolean + +

                      + + Permalink + + +
                      Definition Classes
                      AnyRef → Any
                      +
                    8. + + +

                      + + + def + + + finalize(): Unit + +

                      + + Permalink + + +
                      Attributes
                      protected[java.lang]
                      Definition Classes
                      AnyRef
                      Annotations
                      + @throws( + + classOf[java.lang.Throwable] + ) + +
                      +
                    9. + + +

                      + + final + def + + + getClass(): Class[_] + +

                      + + Permalink + + +
                      Definition Classes
                      AnyRef → Any
                      +
                    10. + + +

                      + + + def + + + hashCode(): Int + +

                      + + Permalink + + +
                      Definition Classes
                      AnyRef → Any
                      +
                    11. + + +

                      + + final + def + + + isInstanceOf[T0]: Boolean + +

                      + + Permalink + + +
                      Definition Classes
                      Any
                      +
                    12. + + +

                      + + + val + + + logger: Logger + +

                      + + Permalink + + +
                      Attributes
                      protected
                      Definition Classes
                      Logging
                      +
                    13. + + +

                      + + final + def + + + ne(arg0: AnyRef): Boolean + +

                      + + Permalink + + +
                      Definition Classes
                      AnyRef
                      +
                    14. + + +

                      + + final + def + + + notify(): Unit + +

                      + + Permalink + + +
                      Definition Classes
                      AnyRef
                      +
                    15. + + +

                      + + final + def + + + notifyAll(): Unit + +

                      + + Permalink + + +
                      Definition Classes
                      AnyRef
                      +
                    16. + + +

                      + + + def + + + operate(df: Seq[(Any) ⇒ DataFrame]): (Seq[DataFrame]) ⇒ DataFrame + +

                      + + Permalink + + +

                      Joins multiple dataframe by key.

                      Joins multiple dataframe by key. +

                      df

                      Input function pipe

                      returns

                      output function pipe

                      Definition Classes
                      StreamJoinOperator → BaseJoinPipeOperator → BaseGenericPipeOperator → BaseGenericMutantOperator
                      +
                    17. + + +

                      + + + val + + + p: JoinPipeInfo + +

                      + + Permalink + + + +
                    18. + + +

                      + + + def + + + stop: Unit + +

                      + + Permalink + + +
                      Definition Classes
                      BaseJoinPipeOperator → BaseGenericPipeOperator → BaseGenericMutantOperator
                      Annotations
                      + @DeveloperApi() + +
                      +
                    19. + + +

                      + + final + def + + + synchronized[T0](arg0: ⇒ T0): T0 + +

                      + + Permalink + + +
                      Definition Classes
                      AnyRef
                      +
                    20. + + +

                      + + + def + + + toString(): String + +

                      + + Permalink + + +
                      Definition Classes
                      AnyRef → Any
                      +
                    21. + + +

                      + + final + def + + + wait(): Unit + +

                      + + Permalink + + +
                      Definition Classes
                      AnyRef
                      Annotations
                      + @throws( + + ... + ) + +
                      +
                    22. + + +

                      + + final + def + + + wait(arg0: Long, arg1: Int): Unit + +

                      + + Permalink + + +
                      Definition Classes
                      AnyRef
                      Annotations
                      + @throws( + + ... + ) + +
                      +
                    23. + + +

                      + + final + def + + + wait(arg0: Long): Unit + +

                      + + Permalink + + +
                      Definition Classes
                      AnyRef
                      Annotations
                      + @throws( + + ... + ) + +
                      +
                    +
                    + + + + +
                    + +
                    +
                    +

                    Inherited from BaseJoinPipeOperator[DataFrame, StreamPipeOperatorInfo, SparkSession]

                    +
                    +

                    Inherited from BaseGenericPipeOperator[Seq[(Any) ⇒ DataFrame], Seq[DataFrame], DataFrame, StreamPipeOperatorInfo, SparkSession]

                    +
                    +

                    Inherited from BaseGenericMutantOperator[StreamPipeOperatorInfo, Seq[(Any) ⇒ DataFrame], (Seq[DataFrame]) ⇒ DataFrame]

                    +
                    +

                    Inherited from BaseDoer

                    +
                    +

                    Inherited from Logging

                    +
                    +

                    Inherited from Serializable

                    +
                    +

                    Inherited from Serializable

                    +
                    +

                    Inherited from AnyRef

                    +
                    +

                    Inherited from Any

                    +
                    + +
                    + +
                    +
                    +

                    Ungrouped

                    + +
                    +
                    + +
                    + +
                    + + + + + + diff --git a/manual1903/api_reference/component-pipe/scaladocs/ksb/csle/component/pipe/stream/operator/StreamTimeJoinOperator.html b/manual1903/api_reference/component-pipe/scaladocs/ksb/csle/component/pipe/stream/operator/StreamTimeJoinOperator.html new file mode 100644 index 0000000000000000000000000000000000000000..65b5fcdae033f87dc87fcd08d17ee0fff109e540 --- /dev/null +++ b/manual1903/api_reference/component-pipe/scaladocs/ksb/csle/component/pipe/stream/operator/StreamTimeJoinOperator.html @@ -0,0 +1,702 @@ + + + + StreamTimeJoinOperator - KSB COMPONENT-PIPE Scala App Project 1.0-SNAPSHOT API - ksb.csle.component.pipe.stream.operator.StreamTimeJoinOperator + + + + + + + + + + + + + + + +
                    + Class +

                    ksb.csle.component.pipe.stream.operator

                    +

                    StreamTimeJoinOperator

                    Related Doc: + package operator +

                    + + Permalink + + +
                    + +

                    + + + class + + + StreamTimeJoinOperator[T] extends BaseJoinPipeOperator[DataFrame, StreamPipeOperatorInfo, SparkSession] + +

                    + +

                    :: ApplicationDeveloperApi ::

                    Operator that joins columns in multiple dataframes by key within time slot. +

                    + Linear Supertypes +
                    BaseJoinPipeOperator[DataFrame, StreamPipeOperatorInfo, SparkSession], BaseGenericPipeOperator[Seq[(Any) ⇒ DataFrame], Seq[DataFrame], DataFrame, StreamPipeOperatorInfo, SparkSession], BaseGenericMutantOperator[StreamPipeOperatorInfo, Seq[(Any) ⇒ DataFrame], (Seq[DataFrame]) ⇒ DataFrame], BaseDoer, Logging, Serializable, Serializable, AnyRef, Any
                    +
                    + + +
                    +
                    +
                    + Ordering +
                      + +
                    1. Alphabetic
                    2. +
                    3. By Inheritance
                    4. +
                    +
                    +
                    + Inherited
                    +
                    +
                      +
                    1. StreamTimeJoinOperator
                    2. BaseJoinPipeOperator
                    3. BaseGenericPipeOperator
                    4. BaseGenericMutantOperator
                    5. BaseDoer
                    6. Logging
                    7. Serializable
                    8. Serializable
                    9. AnyRef
                    10. Any
                    11. +
                    +
                    + +
                      +
                    1. Hide All
                    2. +
                    3. Show All
                    4. +
                    +
                    +
                    + Visibility +
                    1. Public
                    2. All
                    +
                    +
                    + +
                    +
                    +
                    +

                    Instance Constructors

                    +
                    1. + + +

                      + + + new + + + StreamTimeJoinOperator(o: StreamPipeOperatorInfo, s: SparkSession) + +

                      + + Permalink + + +

                      o

                      Object that contains message + JoinWithTimeInfo + JoinWithTimeInfo contains attributes as follows:

                      • timeColName: Column name containing time information (required)
                      • keyColName: A list of column names to be used as group by keys + (required)
                      • timeInterval: size of time slot in seconds or minutes. (required)
                      • joinType: Type of join (optional)

                      JoinWithTimeInfo

                      message JoinWithTimeInfo {
                      + optional string timeColName = 3;
                      + repeated string keyColName = 4;
                      +required string timeInterval = 3 [default = "1 minutes"];
                      +optional JoinType joinType = 4 [default = INNER];
                      +}

                      JoinType

                      enum JoinType {
                      +INNER = 0;
                      +LEFT_OUTER = 1;
                      +RIGHT_OUTER = 2;
                      +}
                      +
                    +
                    + + + + + +
                    +

                    Value Members

                    +
                    1. + + +

                      + + final + def + + + !=(arg0: Any): Boolean + +

                      + + Permalink + + +
                      Definition Classes
                      AnyRef → Any
                      +
                    2. + + +

                      + + final + def + + + ##(): Int + +

                      + + Permalink + + +
                      Definition Classes
                      AnyRef → Any
                      +
                    3. + + +

                      + + final + def + + + ==(arg0: Any): Boolean + +

                      + + Permalink + + +
                      Definition Classes
                      AnyRef → Any
                      +
                    4. + + +

                      + + final + def + + + asInstanceOf[T0]: T0 + +

                      + + Permalink + + +
                      Definition Classes
                      Any
                      +
                    5. + + +

                      + + + def + + + clone(): AnyRef + +

                      + + Permalink + + +
                      Attributes
                      protected[java.lang]
                      Definition Classes
                      AnyRef
                      Annotations
                      + @throws( + + ... + ) + +
                      +
                    6. + + +

                      + + + val + + + command: String + +

                      + + Permalink + + + +
                    7. + + +

                      + + + val + + + df2_keyCol: String + +

                      + + Permalink + + + +
                    8. + + +

                      + + + val + + + df2_timeCol: String + +

                      + + Permalink + + + +
                    9. + + +

                      + + + val + + + df_keyCol: String + +

                      + + Permalink + + + +
                    10. + + +

                      + + + val + + + df_timeCol: String + +

                      + + Permalink + + + +
                    11. + + +

                      + + final + def + + + eq(arg0: AnyRef): Boolean + +

                      + + Permalink + + +
                      Definition Classes
                      AnyRef
                      +
                    12. + + +

                      + + + def + + + equals(arg0: Any): Boolean + +

                      + + Permalink + + +
                      Definition Classes
                      AnyRef → Any
                      +
                    13. + + +

                      + + + def + + + finalize(): Unit + +

                      + + Permalink + + +
                      Attributes
                      protected[java.lang]
                      Definition Classes
                      AnyRef
                      Annotations
                      + @throws( + + classOf[java.lang.Throwable] + ) + +
                      +
                    14. + + +

                      + + final + def + + + getClass(): Class[_] + +

                      + + Permalink + + +
                      Definition Classes
                      AnyRef → Any
                      +
                    15. + + +

                      + + + def + + + hashCode(): Int + +

                      + + Permalink + + +
                      Definition Classes
                      AnyRef → Any
                      +
                    16. + + +

                      + + final + def + + + isInstanceOf[T0]: Boolean + +

                      + + Permalink + + +
                      Definition Classes
                      Any
                      +
                    17. + + +

                      + + + val + + + joinOp: String + +

                      + + Permalink + + + +
                    18. + + +

                      + + + val + + + logger: Logger + +

                      + + Permalink + + +
                      Attributes
                      protected
                      Definition Classes
                      Logging
                      +
                    19. + + +

                      + + final + def + + + ne(arg0: AnyRef): Boolean + +

                      + + Permalink + + +
                      Definition Classes
                      AnyRef
                      +
                    20. + + +

                      + + final + def + + + notify(): Unit + +

                      + + Permalink + + +
                      Definition Classes
                      AnyRef
                      +
                    21. + + +

                      + + final + def + + + notifyAll(): Unit + +

                      + + Permalink + + +
                      Definition Classes
                      AnyRef
                      +
                    22. + + +

                      + + + def + + + operate(df: Seq[(Any) ⇒ DataFrame]): (Seq[DataFrame]) ⇒ DataFrame + +

                      + + Permalink + + +
                      Definition Classes
                      StreamTimeJoinOperator → BaseJoinPipeOperator → BaseGenericPipeOperator → BaseGenericMutantOperator
                      +
                    23. + + +

                      + + + val + + + p: JoinWithTimeInfo + +

                      + + Permalink + + + +
                    24. + + +

                      + + + def + + + stop: Unit + +

                      + + Permalink + + +
                      Definition Classes
                      BaseJoinPipeOperator → BaseGenericPipeOperator → BaseGenericMutantOperator
                      Annotations
                      + @DeveloperApi() + +
                      +
                    25. + + +

                      + + final + def + + + synchronized[T0](arg0: ⇒ T0): T0 + +

                      + + Permalink + + +
                      Definition Classes
                      AnyRef
                      +
                    26. + + +

                      + + + def + + + toString(): String + +

                      + + Permalink + + +
                      Definition Classes
                      AnyRef → Any
                      +
                    27. + + +

                      + + final + def + + + wait(): Unit + +

                      + + Permalink + + +
                      Definition Classes
                      AnyRef
                      Annotations
                      + @throws( + + ... + ) + +
                      +
                    28. + + +

                      + + final + def + + + wait(arg0: Long, arg1: Int): Unit + +

                      + + Permalink + + +
                      Definition Classes
                      AnyRef
                      Annotations
                      + @throws( + + ... + ) + +
                      +
                    29. + + +

                      + + final + def + + + wait(arg0: Long): Unit + +

                      + + Permalink + + +
                      Definition Classes
                      AnyRef
                      Annotations
                      + @throws( + + ... + ) + +
                      +
                    +
                    + + + + +
                    + +
                    +
                    +

                    Inherited from BaseJoinPipeOperator[DataFrame, StreamPipeOperatorInfo, SparkSession]

                    +
                    +

                    Inherited from BaseGenericPipeOperator[Seq[(Any) ⇒ DataFrame], Seq[DataFrame], DataFrame, StreamPipeOperatorInfo, SparkSession]

                    +
                    +

                    Inherited from BaseGenericMutantOperator[StreamPipeOperatorInfo, Seq[(Any) ⇒ DataFrame], (Seq[DataFrame]) ⇒ DataFrame]

                    +
                    +

                    Inherited from BaseDoer

                    +
                    +

                    Inherited from Logging

                    +
                    +

                    Inherited from Serializable

                    +
                    +

                    Inherited from Serializable

                    +
                    +

                    Inherited from AnyRef

                    +
                    +

                    Inherited from Any

                    +
                    + +
                    + +
                    +
                    +

                    Ungrouped

                    + +
                    +
                    + +
                    + +
                    + + + + + + diff --git a/manual1903/api_reference/component-pipe/scaladocs/ksb/csle/component/pipe/stream/operator/package.html b/manual1903/api_reference/component-pipe/scaladocs/ksb/csle/component/pipe/stream/operator/package.html new file mode 100644 index 0000000000000000000000000000000000000000..0afe28c9d697e8ca2302ec67b4e78e8f37e355f1 --- /dev/null +++ b/manual1903/api_reference/component-pipe/scaladocs/ksb/csle/component/pipe/stream/operator/package.html @@ -0,0 +1,305 @@ + + + + operator - KSB COMPONENT-PIPE Scala App Project 1.0-SNAPSHOT API - ksb.csle.component.pipe.stream.operator + + + + + + + + + + + + + + + +
                    + Package +

                    ksb.csle.component.pipe.stream

                    +

                    operator

                    + + Permalink + + +
                    + +

                    + + + package + + + operator + +

                    + +
                    + + +
                    +
                    + + +
                    + Visibility +
                    1. Public
                    2. All
                    +
                    +
                    + +
                    +
                    + + +
                    +

                    Type Members

                    +
                    1. + + +

                      + + + class + + + FilterOperator extends BaseSimplePipeOperator[DataFrame, StreamPipeOperatorInfo, SparkSession] + +

                      + + Permalink + + +

                      :: ApplicationDeveloperApi ::

                      :: ApplicationDeveloperApi ::

                      Operator that selects which rows in a given column of input dataframe should +be kept and which rows should be removed. Rows satisfying the given condition +are kept, remaining rows are removed. +

                      +
                    2. + + +

                      + + + class + + + GroupByOperator extends BasePipeOperator[DataFrame, StreamPipeOperatorInfo, SparkSession] + +

                      + + Permalink + + +

                      :: ApplicationDeveloperApi ::

                      :: ApplicationDeveloperApi ::

                      Operator that pipelines dataframe by aggregating records +according to a given group condition. +

                      +
                    3. + + +

                      + + + class + + + OrderByOperator extends BasePipeOperator[DataFrame, StreamPipeOperatorInfo, SparkSession] + +

                      + + Permalink + + +

                      :: ApplicationDeveloperApi ::

                      :: ApplicationDeveloperApi ::

                      Operator that performs to order by a specific column using a given condition. +

                      +
                    4. + + +

                      + + + class + + + RenameColumnsPipeOperator extends BasePipeOperator[DataFrame, StreamPipeOperatorInfo, SparkSession] + +

                      + + Permalink + + +

                      :: ApplicationDeveloperApi ::

                      :: ApplicationDeveloperApi ::

                      Operator that changes the column names to be selected. +In addition, changes the column type to be selected. +

                      +
                    5. + + +

                      + + + class + + + SelectColumnsPipeOperator extends BasePipeOperator[DataFrame, StreamPipeOperatorInfo, SparkSession] + +

                      + + Permalink + + +

                      :: ApplicationDeveloperApi ::

                      :: ApplicationDeveloperApi ::

                      Operator that selects the columns that user wants to choose. +

                      +
                    6. + + +

                      + + + class + + + SparkMLPredictPipeOperator extends BaseSimplePipeOperator[DataFrame, StreamPipeOperatorInfo, SparkSession] + +

                      + + Permalink + + +

                      :: ApplicationDeveloperApi ::

                      :: ApplicationDeveloperApi ::

                      Operator that performs predition with ML model in the given dataframe. +

                      +
                    7. + + +

                      + + + class + + + StreamAllJoinOperator[T] extends BaseJoinPipeOperator[DataFrame, StreamPipeOperatorInfo, SparkSession] + +

                      + + Permalink + + +

                      :: ApplicationDeveloperApi ::

                      :: ApplicationDeveloperApi ::

                      Operator that full joins multiple dataframes by key. +

                      +
                    8. + + +

                      + + + class + + + StreamJoinOperator[T] extends BaseJoinPipeOperator[DataFrame, StreamPipeOperatorInfo, SparkSession] + +

                      + + Permalink + + +

                      :: ApplicationDeveloperApi ::

                      :: ApplicationDeveloperApi ::

                      Operator that joins selected join columns by key with multiple dataframes +and groups joined records by group-by key. +

                      +
                    9. + + +

                      + + + class + + + StreamTimeJoinOperator[T] extends BaseJoinPipeOperator[DataFrame, StreamPipeOperatorInfo, SparkSession] + +

                      + + Permalink + + +

                      :: ApplicationDeveloperApi ::

                      :: ApplicationDeveloperApi ::

                      Operator that joins columns in multiple dataframes by key within time slot. +

                      +
                    +
                    + + + +
                    +

                    Value Members

                    +
                    1. + + +

                      + + + object + + + RenameColumns + +

                      + + Permalink + + + +
                    2. + + +

                      + + + object + + + SelectColumns + +

                      + + Permalink + + + +
                    +
                    + + + + +
                    + +
                    + + +
                    + +
                    +
                    +

                    Ungrouped

                    + +
                    +
                    + +
                    + +
                    + + + + + + diff --git a/manual1903/api_reference/component-pipe/scaladocs/ksb/csle/component/pipe/stream/package.html b/manual1903/api_reference/component-pipe/scaladocs/ksb/csle/component/pipe/stream/package.html new file mode 100644 index 0000000000000000000000000000000000000000..78b26b13a3a7822a90267128a0e0e9d32274568c --- /dev/null +++ b/manual1903/api_reference/component-pipe/scaladocs/ksb/csle/component/pipe/stream/package.html @@ -0,0 +1,152 @@ + + + + stream - KSB COMPONENT-PIPE Scala App Project 1.0-SNAPSHOT API - ksb.csle.component.pipe.stream + + + + + + + + + + + + + + + +
                    + Package +

                    ksb.csle.component.pipe

                    +

                    stream

                    + + Permalink + + +
                    + +

                    + + + package + + + stream + +

                    + +
                    + + +
                    +
                    + + +
                    + Visibility +
                    1. Public
                    2. All
                    +
                    +
                    + +
                    +
                    + + + + + + +
                    +

                    Value Members

                    +
                    1. + + +

                      + + + package + + + operator + +

                      + + Permalink + + + +
                    2. + + +

                      + + + package + + + reader + +

                      + + Permalink + + + +
                    3. + + +

                      + + + package + + + writer + +

                      + + Permalink + + + +
                    +
                    + + + + +
                    + +
                    + + +
                    + +
                    +
                    +

                    Ungrouped

                    + +
                    +
                    + +
                    + +
                    + + + + + + diff --git a/manual1903/api_reference/component-pipe/scaladocs/ksb/csle/component/pipe/stream/reader/FilePipeReader.html b/manual1903/api_reference/component-pipe/scaladocs/ksb/csle/component/pipe/stream/reader/FilePipeReader.html new file mode 100644 index 0000000000000000000000000000000000000000..be78cc3e6dca5acb3464f9deb9aac08ce92db4ba --- /dev/null +++ b/manual1903/api_reference/component-pipe/scaladocs/ksb/csle/component/pipe/stream/reader/FilePipeReader.html @@ -0,0 +1,765 @@ + + + + FilePipeReader - KSB COMPONENT-PIPE Scala App Project 1.0-SNAPSHOT API - ksb.csle.component.pipe.stream.reader.FilePipeReader + + + + + + + + + + + + + + + +
                    + Class +

                    ksb.csle.component.pipe.stream.reader

                    +

                    FilePipeReader

                    Related Doc: + package reader +

                    + + Permalink + + +
                    + +

                    + + + class + + + FilePipeReader extends BasePipeReader[DataFrame, StreamPipeReaderInfo, SparkSession] + +

                    + +

                    :: ApplicationDeveloperApi ::

                    Operator that reads dataframe from file source. +

                    + Linear Supertypes +
                    BasePipeReader[DataFrame, StreamPipeReaderInfo, SparkSession], BaseGenericPipeOperator[Int, Int, DataFrame, StreamPipeReaderInfo, SparkSession], BaseGenericMutantOperator[StreamPipeReaderInfo, Int, (Int) ⇒ DataFrame], BaseDoer, Logging, Serializable, Serializable, AnyRef, Any
                    +
                    + + +
                    +
                    +
                    + Ordering +
                      + +
                    1. Alphabetic
                    2. +
                    3. By Inheritance
                    4. +
                    +
                    +
                    + Inherited
                    +
                    +
                      +
                    1. FilePipeReader
                    2. BasePipeReader
                    3. BaseGenericPipeOperator
                    4. BaseGenericMutantOperator
                    5. BaseDoer
                    6. Logging
                    7. Serializable
                    8. Serializable
                    9. AnyRef
                    10. Any
                    11. +
                    +
                    + +
                      +
                    1. Hide All
                    2. +
                    3. Show All
                    4. +
                    +
                    +
                    + Visibility +
                    1. Public
                    2. All
                    +
                    +
                    + +
                    +
                    +
                    +

                    Instance Constructors

                    +
                    1. + + +

                      + + + new + + + FilePipeReader(o: StreamPipeReaderInfo, session: SparkSession) + +

                      + + Permalink + + +

                      o

                      Object that contains message + FilePipeReaderInfo + FilePipeReaderInfo contains attributes as follows:

                      • filePath: List of data file path (required)
                      • fileType: File type (optional)
                      • maxFilesPerTrigger: The maximum number of new files + to be considered in every trigger.
                      • timeColName: Column name containing time information (required)
                      • watermark: Time slot in seconds or minutest + The event time column and the threshold on + how late the data is expected to be + in terms of event time.
                      • field: Field information (repeated)
                      • delimiter: delimiter, default value is ',' (optional)
                      • header: existance of header (optional)

                      FilePipeReaderInfo

                      message FilePipeReaderInfo {
                      + required string filePath = 1;
                      + required FileType fileType = 2 [default = JSON];
                      + optional int32 maxFilesPerTrigger = 3;
                      + optional string timeColName = 5 [default = "timestamp"];
                      + optional string watermark = 6 [default = "1 seconds"];
                      + repeated FieldInfo field = 7;
                      + optional string delimiter = 8 [default = ","];
                      + optional bool header = 9 [default = false];
                      + enum FileType {
                      +  CSV = 0;
                      +  JSON = 1;
                      +  PARQUET = 2;
                      +  TEXT = 3;
                      + }
                      +}
                      +
                    +
                    + + + + + +
                    +

                    Value Members

                    +
                    1. + + +

                      + + final + def + + + !=(arg0: Any): Boolean + +

                      + + Permalink + + +
                      Definition Classes
                      AnyRef → Any
                      +
                    2. + + +

                      + + final + def + + + ##(): Int + +

                      + + Permalink + + +
                      Definition Classes
                      AnyRef → Any
                      +
                    3. + + +

                      + + final + def + + + ==(arg0: Any): Boolean + +

                      + + Permalink + + +
                      Definition Classes
                      AnyRef → Any
                      +
                    4. + + +

                      + + final + def + + + asInstanceOf[T0]: T0 + +

                      + + Permalink + + +
                      Definition Classes
                      Any
                      +
                    5. + + +

                      + + + def + + + clone(): AnyRef + +

                      + + Permalink + + +
                      Attributes
                      protected[java.lang]
                      Definition Classes
                      AnyRef
                      Annotations
                      + @throws( + + ... + ) + +
                      +
                    6. + + +

                      + + + def + + + close: Unit + +

                      + + Permalink + + +
                      Definition Classes
                      FilePipeReader → BasePipeReader
                      +
                    7. + + +

                      + + final + def + + + eq(arg0: AnyRef): Boolean + +

                      + + Permalink + + +
                      Definition Classes
                      AnyRef
                      +
                    8. + + +

                      + + + def + + + equals(arg0: Any): Boolean + +

                      + + Permalink + + +
                      Definition Classes
                      AnyRef → Any
                      +
                    9. + + +

                      + + + val + + + fileType: String + +

                      + + Permalink + + + +
                    10. + + +

                      + + + def + + + finalize(): Unit + +

                      + + Permalink + + +
                      Attributes
                      protected[java.lang]
                      Definition Classes
                      AnyRef
                      Annotations
                      + @throws( + + classOf[java.lang.Throwable] + ) + +
                      +
                    11. + + +

                      + + final + def + + + getClass(): Class[_] + +

                      + + Permalink + + +
                      Definition Classes
                      AnyRef → Any
                      +
                    12. + + +

                      + + + def + + + hashCode(): Int + +

                      + + Permalink + + +
                      Definition Classes
                      AnyRef → Any
                      +
                    13. + + +

                      + + final + def + + + isInstanceOf[T0]: Boolean + +

                      + + Permalink + + +
                      Definition Classes
                      Any
                      +
                    14. + + +

                      + + + val + + + logger: Logger + +

                      + + Permalink + + +
                      Attributes
                      protected
                      Definition Classes
                      Logging
                      +
                    15. + + +

                      + + + val + + + maxFiles: Int + +

                      + + Permalink + + + +
                    16. + + +

                      + + final + def + + + ne(arg0: AnyRef): Boolean + +

                      + + Permalink + + +
                      Definition Classes
                      AnyRef
                      +
                    17. + + +

                      + + final + def + + + notify(): Unit + +

                      + + Permalink + + +
                      Definition Classes
                      AnyRef
                      +
                    18. + + +

                      + + final + def + + + notifyAll(): Unit + +

                      + + Permalink + + +
                      Definition Classes
                      AnyRef
                      +
                    19. + + +

                      + + + val + + + o: StreamPipeReaderInfo + +

                      + + Permalink + + +

                      Object that contains message + FilePipeReaderInfo + FilePipeReaderInfo contains attributes as follows:

                      Object that contains message + FilePipeReaderInfo + FilePipeReaderInfo contains attributes as follows:

                      • filePath: List of data file path (required)
                      • fileType: File type (optional)
                      • maxFilesPerTrigger: The maximum number of new files + to be considered in every trigger.
                      • timeColName: Column name containing time information (required)
                      • watermark: Time slot in seconds or minutest + The event time column and the threshold on + how late the data is expected to be + in terms of event time.
                      • field: Field information (repeated)
                      • delimiter: delimiter, default value is ',' (optional)
                      • header: existance of header (optional)

                      FilePipeReaderInfo

                      message FilePipeReaderInfo {
                      + required string filePath = 1;
                      + required FileType fileType = 2 [default = JSON];
                      + optional int32 maxFilesPerTrigger = 3;
                      + optional string timeColName = 5 [default = "timestamp"];
                      + optional string watermark = 6 [default = "1 seconds"];
                      + repeated FieldInfo field = 7;
                      + optional string delimiter = 8 [default = ","];
                      + optional bool header = 9 [default = false];
                      + enum FileType {
                      +  CSV = 0;
                      +  JSON = 1;
                      +  PARQUET = 2;
                      +  TEXT = 3;
                      + }
                      +}
                      +
                    20. + + +

                      + + final + def + + + operate(in: Int): (Int) ⇒ DataFrame + +

                      + + Permalink + + +
                      Definition Classes
                      BasePipeReader → BaseGenericPipeOperator → BaseGenericMutantOperator
                      +
                    21. + + +

                      + + + val + + + p: FilePipeReaderInfo + +

                      + + Permalink + + + +
                    22. + + +

                      + + + def + + + read(): DataFrame + +

                      + + Permalink + + +
                      Definition Classes
                      FilePipeReader → BasePipeReader
                      +
                    23. + + +

                      + + + val + + + session: SparkSession + +

                      + + Permalink + + + +
                    24. + + +

                      + + + def + + + stop: Unit + +

                      + + Permalink + + +
                      Definition Classes
                      BasePipeReader → BaseGenericPipeOperator → BaseGenericMutantOperator
                      +
                    25. + + +

                      + + + val + + + streamReader: DataStreamReader + +

                      + + Permalink + + + +
                    26. + + +

                      + + final + def + + + synchronized[T0](arg0: ⇒ T0): T0 + +

                      + + Permalink + + +
                      Definition Classes
                      AnyRef
                      +
                    27. + + +

                      + + + def + + + toString(): String + +

                      + + Permalink + + +
                      Definition Classes
                      AnyRef → Any
                      +
                    28. + + +

                      + + + val + + + userSchema: StructType + +

                      + + Permalink + + + +
                    29. + + +

                      + + final + def + + + wait(): Unit + +

                      + + Permalink + + +
                      Definition Classes
                      AnyRef
                      Annotations
                      + @throws( + + ... + ) + +
                      +
                    30. + + +

                      + + final + def + + + wait(arg0: Long, arg1: Int): Unit + +

                      + + Permalink + + +
                      Definition Classes
                      AnyRef
                      Annotations
                      + @throws( + + ... + ) + +
                      +
                    31. + + +

                      + + final + def + + + wait(arg0: Long): Unit + +

                      + + Permalink + + +
                      Definition Classes
                      AnyRef
                      Annotations
                      + @throws( + + ... + ) + +
                      +
                    +
                    + + + + +
                    + +
                    +
                    +

                    Inherited from BasePipeReader[DataFrame, StreamPipeReaderInfo, SparkSession]

                    +
                    +

                    Inherited from BaseGenericPipeOperator[Int, Int, DataFrame, StreamPipeReaderInfo, SparkSession]

                    +
                    +

                    Inherited from BaseGenericMutantOperator[StreamPipeReaderInfo, Int, (Int) ⇒ DataFrame]

                    +
                    +

                    Inherited from BaseDoer

                    +
                    +

                    Inherited from Logging

                    +
                    +

                    Inherited from Serializable

                    +
                    +

                    Inherited from Serializable

                    +
                    +

                    Inherited from AnyRef

                    +
                    +

                    Inherited from Any

                    +
                    + +
                    + +
                    +
                    +

                    Ungrouped

                    + +
                    +
                    + +
                    + +
                    + + + + + + diff --git a/manual1903/api_reference/component-pipe/scaladocs/ksb/csle/component/pipe/stream/reader/KafkaContextQueryPipeReader$.html b/manual1903/api_reference/component-pipe/scaladocs/ksb/csle/component/pipe/stream/reader/KafkaContextQueryPipeReader$.html new file mode 100644 index 0000000000000000000000000000000000000000..e10e90e41390d3551e702e01e2510ed897348b3c --- /dev/null +++ b/manual1903/api_reference/component-pipe/scaladocs/ksb/csle/component/pipe/stream/reader/KafkaContextQueryPipeReader$.html @@ -0,0 +1,522 @@ + + + + KafkaContextQueryPipeReader - KSB COMPONENT-PIPE Scala App Project 1.0-SNAPSHOT API - ksb.csle.component.pipe.stream.reader.KafkaContextQueryPipeReader + + + + + + + + + + + + + + + + + +

                    + + + object + + + KafkaContextQueryPipeReader extends Serializable + +

                    + +
                    + Linear Supertypes +
                    Serializable, Serializable, AnyRef, Any
                    +
                    + + +
                    +
                    +
                    + Ordering +
                      + +
                    1. Alphabetic
                    2. +
                    3. By Inheritance
                    4. +
                    +
                    +
                    + Inherited
                    +
                    +
                      +
                    1. KafkaContextQueryPipeReader
                    2. Serializable
                    3. Serializable
                    4. AnyRef
                    5. Any
                    6. +
                    +
                    + +
                      +
                    1. Hide All
                    2. +
                    3. Show All
                    4. +
                    +
                    +
                    + Visibility +
                    1. Public
                    2. All
                    +
                    +
                    + +
                    +
                    + + + + + + +
                    +

                    Value Members

                    +
                    1. + + +

                      + + final + def + + + !=(arg0: Any): Boolean + +

                      + + Permalink + + +
                      Definition Classes
                      AnyRef → Any
                      +
                    2. + + +

                      + + final + def + + + ##(): Int + +

                      + + Permalink + + +
                      Definition Classes
                      AnyRef → Any
                      +
                    3. + + +

                      + + final + def + + + ==(arg0: Any): Boolean + +

                      + + Permalink + + +
                      Definition Classes
                      AnyRef → Any
                      +
                    4. + + +

                      + + + def + + + apply[P](p: OnDemandPipeReaderInfo, system: ActorSystem): KafkaContextQueryPipeReader + +

                      + + Permalink + + + +
                    5. + + +

                      + + final + def + + + asInstanceOf[T0]: T0 + +

                      + + Permalink + + +
                      Definition Classes
                      Any
                      +
                    6. + + +

                      + + + def + + + clone(): AnyRef + +

                      + + Permalink + + +
                      Attributes
                      protected[java.lang]
                      Definition Classes
                      AnyRef
                      Annotations
                      + @throws( + + ... + ) + +
                      +
                    7. + + +

                      + + + def + + + createConsumerConfig(p: KafkaContextQueryReaderInfo): Properties + +

                      + + Permalink + + + +
                    8. + + +

                      + + final + def + + + eq(arg0: AnyRef): Boolean + +

                      + + Permalink + + +
                      Definition Classes
                      AnyRef
                      +
                    9. + + +

                      + + + def + + + equals(arg0: Any): Boolean + +

                      + + Permalink + + +
                      Definition Classes
                      AnyRef → Any
                      +
                    10. + + +

                      + + + def + + + finalize(): Unit + +

                      + + Permalink + + +
                      Attributes
                      protected[java.lang]
                      Definition Classes
                      AnyRef
                      Annotations
                      + @throws( + + classOf[java.lang.Throwable] + ) + +
                      +
                    11. + + +

                      + + final + def + + + getClass(): Class[_] + +

                      + + Permalink + + +
                      Definition Classes
                      AnyRef → Any
                      +
                    12. + + +

                      + + + def + + + hashCode(): Int + +

                      + + Permalink + + +
                      Definition Classes
                      AnyRef → Any
                      +
                    13. + + +

                      + + final + def + + + isInstanceOf[T0]: Boolean + +

                      + + Permalink + + +
                      Definition Classes
                      Any
                      +
                    14. + + +

                      + + final + def + + + ne(arg0: AnyRef): Boolean + +

                      + + Permalink + + +
                      Definition Classes
                      AnyRef
                      +
                    15. + + +

                      + + final + def + + + notify(): Unit + +

                      + + Permalink + + +
                      Definition Classes
                      AnyRef
                      +
                    16. + + +

                      + + final + def + + + notifyAll(): Unit + +

                      + + Permalink + + +
                      Definition Classes
                      AnyRef
                      +
                    17. + + +

                      + + final + def + + + synchronized[T0](arg0: ⇒ T0): T0 + +

                      + + Permalink + + +
                      Definition Classes
                      AnyRef
                      +
                    18. + + +

                      + + + def + + + toString(): String + +

                      + + Permalink + + +
                      Definition Classes
                      AnyRef → Any
                      +
                    19. + + +

                      + + final + def + + + wait(): Unit + +

                      + + Permalink + + +
                      Definition Classes
                      AnyRef
                      Annotations
                      + @throws( + + ... + ) + +
                      +
                    20. + + +

                      + + final + def + + + wait(arg0: Long, arg1: Int): Unit + +

                      + + Permalink + + +
                      Definition Classes
                      AnyRef
                      Annotations
                      + @throws( + + ... + ) + +
                      +
                    21. + + +

                      + + final + def + + + wait(arg0: Long): Unit + +

                      + + Permalink + + +
                      Definition Classes
                      AnyRef
                      Annotations
                      + @throws( + + ... + ) + +
                      +
                    +
                    + + + + +
                    + +
                    +
                    +

                    Inherited from Serializable

                    +
                    +

                    Inherited from Serializable

                    +
                    +

                    Inherited from AnyRef

                    +
                    +

                    Inherited from Any

                    +
                    + +
                    + +
                    +
                    +

                    Ungrouped

                    + +
                    +
                    + +
                    + +
                    + + + + + + diff --git a/manual1903/api_reference/component-pipe/scaladocs/ksb/csle/component/pipe/stream/reader/KafkaContextQueryPipeReader.html b/manual1903/api_reference/component-pipe/scaladocs/ksb/csle/component/pipe/stream/reader/KafkaContextQueryPipeReader.html new file mode 100644 index 0000000000000000000000000000000000000000..d227f2c98dec8b79a7469648026ffc75b6cda114 --- /dev/null +++ b/manual1903/api_reference/component-pipe/scaladocs/ksb/csle/component/pipe/stream/reader/KafkaContextQueryPipeReader.html @@ -0,0 +1,638 @@ + + + + KafkaContextQueryPipeReader - KSB COMPONENT-PIPE Scala App Project 1.0-SNAPSHOT API - ksb.csle.component.pipe.stream.reader.KafkaContextQueryPipeReader + + + + + + + + + + + + + + + + + +

                    + + final + class + + + KafkaContextQueryPipeReader extends BasePipeReader[DeviceCtxCtlCase, OnDemandPipeReaderInfo, ActorSystem] + +

                    + +

                    :: Experimental ::

                    Reader that queries to kafka in on-demand way. +

                    + Linear Supertypes +
                    BasePipeReader[DeviceCtxCtlCase, OnDemandPipeReaderInfo, ActorSystem], BaseGenericPipeOperator[Int, Int, DeviceCtxCtlCase, OnDemandPipeReaderInfo, ActorSystem], BaseGenericMutantOperator[OnDemandPipeReaderInfo, Int, (Int) ⇒ DeviceCtxCtlCase], BaseDoer, Logging, Serializable, Serializable, AnyRef, Any
                    +
                    + + +
                    +
                    +
                    + Ordering +
                      + +
                    1. Alphabetic
                    2. +
                    3. By Inheritance
                    4. +
                    +
                    +
                    + Inherited
                    +
                    +
                      +
                    1. KafkaContextQueryPipeReader
                    2. BasePipeReader
                    3. BaseGenericPipeOperator
                    4. BaseGenericMutantOperator
                    5. BaseDoer
                    6. Logging
                    7. Serializable
                    8. Serializable
                    9. AnyRef
                    10. Any
                    11. +
                    +
                    + +
                      +
                    1. Hide All
                    2. +
                    3. Show All
                    4. +
                    +
                    +
                    + Visibility +
                    1. Public
                    2. All
                    +
                    +
                    + +
                    +
                    +
                    +

                    Instance Constructors

                    +
                    1. + + +

                      + + + new + + + KafkaContextQueryPipeReader(p: OnDemandPipeReaderInfo, system: ActorSystem) + +

                      + + Permalink + + +

                      +
                    +
                    + + + + + +
                    +

                    Value Members

                    +
                    1. + + +

                      + + final + def + + + !=(arg0: Any): Boolean + +

                      + + Permalink + + +
                      Definition Classes
                      AnyRef → Any
                      +
                    2. + + +

                      + + final + def + + + ##(): Int + +

                      + + Permalink + + +
                      Definition Classes
                      AnyRef → Any
                      +
                    3. + + +

                      + + final + def + + + ==(arg0: Any): Boolean + +

                      + + Permalink + + +
                      Definition Classes
                      AnyRef → Any
                      +
                    4. + + +

                      + + final + def + + + asInstanceOf[T0]: T0 + +

                      + + Permalink + + +
                      Definition Classes
                      Any
                      +
                    5. + + +

                      + + + def + + + clone(): AnyRef + +

                      + + Permalink + + +
                      Attributes
                      protected[java.lang]
                      Definition Classes
                      AnyRef
                      Annotations
                      + @throws( + + ... + ) + +
                      +
                    6. + + +

                      + + + def + + + close: Unit + +

                      + + Permalink + + +
                      Definition Classes
                      KafkaContextQueryPipeReader → BasePipeReader
                      +
                    7. + + +

                      + + final + def + + + eq(arg0: AnyRef): Boolean + +

                      + + Permalink + + +
                      Definition Classes
                      AnyRef
                      +
                    8. + + +

                      + + + def + + + equals(arg0: Any): Boolean + +

                      + + Permalink + + +
                      Definition Classes
                      AnyRef → Any
                      +
                    9. + + +

                      + + + def + + + finalize(): Unit + +

                      + + Permalink + + +
                      Attributes
                      protected[java.lang]
                      Definition Classes
                      AnyRef
                      Annotations
                      + @throws( + + classOf[java.lang.Throwable] + ) + +
                      +
                    10. + + +

                      + + final + def + + + getClass(): Class[_] + +

                      + + Permalink + + +
                      Definition Classes
                      AnyRef → Any
                      +
                    11. + + +

                      + + + def + + + hashCode(): Int + +

                      + + Permalink + + +
                      Definition Classes
                      AnyRef → Any
                      +
                    12. + + +

                      + + final + def + + + isInstanceOf[T0]: Boolean + +

                      + + Permalink + + +
                      Definition Classes
                      Any
                      +
                    13. + + +

                      + + + val + + + logger: Logger + +

                      + + Permalink + + +
                      Attributes
                      protected
                      Definition Classes
                      Logging
                      +
                    14. + + +

                      + + final + def + + + ne(arg0: AnyRef): Boolean + +

                      + + Permalink + + +
                      Definition Classes
                      AnyRef
                      +
                    15. + + +

                      + + final + def + + + notify(): Unit + +

                      + + Permalink + + +
                      Definition Classes
                      AnyRef
                      +
                    16. + + +

                      + + final + def + + + notifyAll(): Unit + +

                      + + Permalink + + +
                      Definition Classes
                      AnyRef
                      +
                    17. + + +

                      + + final + def + + + operate(in: Int): (Int) ⇒ DeviceCtxCtlCase + +

                      + + Permalink + + +
                      Definition Classes
                      BasePipeReader → BaseGenericPipeOperator → BaseGenericMutantOperator
                      +
                    18. + + +

                      + + + val + + + p: OnDemandPipeReaderInfo + +

                      + + Permalink + + + +
                    19. + + +

                      + + + def + + + read(): DeviceCtxCtlCase + +

                      + + Permalink + + +
                      Definition Classes
                      KafkaContextQueryPipeReader → BasePipeReader
                      +
                    20. + + +

                      + + + def + + + stop: Unit + +

                      + + Permalink + + +
                      Definition Classes
                      BasePipeReader → BaseGenericPipeOperator → BaseGenericMutantOperator
                      +
                    21. + + +

                      + + final + def + + + synchronized[T0](arg0: ⇒ T0): T0 + +

                      + + Permalink + + +
                      Definition Classes
                      AnyRef
                      +
                    22. + + +

                      + + implicit + val + + + system: ActorSystem + +

                      + + Permalink + + + +
                    23. + + +

                      + + + def + + + toString(): String + +

                      + + Permalink + + +
                      Definition Classes
                      AnyRef → Any
                      +
                    24. + + +

                      + + final + def + + + wait(): Unit + +

                      + + Permalink + + +
                      Definition Classes
                      AnyRef
                      Annotations
                      + @throws( + + ... + ) + +
                      +
                    25. + + +

                      + + final + def + + + wait(arg0: Long, arg1: Int): Unit + +

                      + + Permalink + + +
                      Definition Classes
                      AnyRef
                      Annotations
                      + @throws( + + ... + ) + +
                      +
                    26. + + +

                      + + final + def + + + wait(arg0: Long): Unit + +

                      + + Permalink + + +
                      Definition Classes
                      AnyRef
                      Annotations
                      + @throws( + + ... + ) + +
                      +
                    +
                    + + + + +
                    + +
                    +
                    +

                    Inherited from BasePipeReader[DeviceCtxCtlCase, OnDemandPipeReaderInfo, ActorSystem]

                    +
                    +

                    Inherited from BaseGenericPipeOperator[Int, Int, DeviceCtxCtlCase, OnDemandPipeReaderInfo, ActorSystem]

                    +
                    +

                    Inherited from BaseGenericMutantOperator[OnDemandPipeReaderInfo, Int, (Int) ⇒ DeviceCtxCtlCase]

                    +
                    +

                    Inherited from BaseDoer

                    +
                    +

                    Inherited from Logging

                    +
                    +

                    Inherited from Serializable

                    +
                    +

                    Inherited from Serializable

                    +
                    +

                    Inherited from AnyRef

                    +
                    +

                    Inherited from Any

                    +
                    + +
                    + +
                    +
                    +

                    Ungrouped

                    + +
                    +
                    + +
                    + +
                    + + + + + + diff --git a/manual1903/api_reference/component-pipe/scaladocs/ksb/csle/component/pipe/stream/reader/KafkaPipeReader.html b/manual1903/api_reference/component-pipe/scaladocs/ksb/csle/component/pipe/stream/reader/KafkaPipeReader.html new file mode 100644 index 0000000000000000000000000000000000000000..98f356174cb569bc1bde988fed092224987c2aab --- /dev/null +++ b/manual1903/api_reference/component-pipe/scaladocs/ksb/csle/component/pipe/stream/reader/KafkaPipeReader.html @@ -0,0 +1,771 @@ + + + + KafkaPipeReader - KSB COMPONENT-PIPE Scala App Project 1.0-SNAPSHOT API - ksb.csle.component.pipe.stream.reader.KafkaPipeReader + + + + + + + + + + + + + + + +
                    + Class +

                    ksb.csle.component.pipe.stream.reader

                    +

                    KafkaPipeReader

                    Related Doc: + package reader +

                    + + Permalink + + +
                    + +

                    + + + class + + + KafkaPipeReader extends BasePipeReader[DataFrame, StreamPipeReaderInfo, SparkSession] + +

                    + +

                    :: ApplicationDeveloperApi ::

                    Reader that reads data from kafka and pipelines it to the next. +

                    + Linear Supertypes +
                    BasePipeReader[DataFrame, StreamPipeReaderInfo, SparkSession], BaseGenericPipeOperator[Int, Int, DataFrame, StreamPipeReaderInfo, SparkSession], BaseGenericMutantOperator[StreamPipeReaderInfo, Int, (Int) ⇒ DataFrame], BaseDoer, Logging, Serializable, Serializable, AnyRef, Any
                    +
                    + + +
                    +
                    +
                    + Ordering +
                      + +
                    1. Alphabetic
                    2. +
                    3. By Inheritance
                    4. +
                    +
                    +
                    + Inherited
                    +
                    +
                      +
                    1. KafkaPipeReader
                    2. BasePipeReader
                    3. BaseGenericPipeOperator
                    4. BaseGenericMutantOperator
                    5. BaseDoer
                    6. Logging
                    7. Serializable
                    8. Serializable
                    9. AnyRef
                    10. Any
                    11. +
                    +
                    + +
                      +
                    1. Hide All
                    2. +
                    3. Show All
                    4. +
                    +
                    +
                    + Visibility +
                    1. Public
                    2. All
                    +
                    +
                    + +
                    +
                    +
                    +

                    Instance Constructors

                    +
                    1. + + +

                      + + + new + + + KafkaPipeReader(o: StreamPipeReaderInfo, session: SparkSession) + +

                      + + Permalink + + +

                      o

                      Object that contains message + ksb.csle.common.proto.DatasourceProto.KafkaPipeReaderInfo + KafkaPipeReaderInfo contains attributes as follows:

                      • bootStrapServers: Address of Kafka server (required)
                      • zooKeeperConnect: Address of Kafka Zookeeper (required)
                      • topic: Topic where fetch data (required)
                      • addTimestamp: Flag for adding timestamp column automatically
                      • timestampName: Column name for timestamp field
                      • watermark: Time slot in seconds or minutest + The event time column and the threshold on + how late the data is expected to be + in terms of event time.
                      • sampleJsonPath: Json file path containing sample dataset. + The system gets hint for the record format from it.
                      • failOnDataLoss: Determines whether or not a streaming query + should fail if it's possible data has been lost + (e.g., topics are deleted, offsets are out of range). + It is important to monitor your streaming queries, + especially with temporal infrastructure like Kafka. + Offsets typically go out of range + when Kafka's log cleaner activates. + If a specific streaming query can not process + data quickly enough it may fall behind + the earliest offsets after the log cleaner rolls + a log segment + Sometimes failOnDataLoss may be a false alarm. + You can disable it if it is not working + as expected based on your use case. + Refer to followed site for more information. + https://github.com/vertica/PSTL/wiki/Kafka-Source

                      KafkaPipeReaderInfo

                      message KafkaPipeReaderInfo {
                      +  required string bootStrapServers = 1;
                      +  required string zooKeeperConnect = 2;
                      +  required string topic = 3;
                      +  // FIXME: Avoid the case that the addTimestamp is 'true' with no setting of timestampName"
                      +  required bool addTimestamp = 4 [default = true];
                      +  optional string timestampName = 5;
                      +  optional string watermark = 6;
                      +  optional string sampleJsonPath = 7;
                      +  required bool failOnDataLoss = 8 [default = false];
                      +}
                      +
                    +
                    + + + + + +
                    +

                    Value Members

                    +
                    1. + + +

                      + + final + def + + + !=(arg0: Any): Boolean + +

                      + + Permalink + + +
                      Definition Classes
                      AnyRef → Any
                      +
                    2. + + +

                      + + final + def + + + ##(): Int + +

                      + + Permalink + + +
                      Definition Classes
                      AnyRef → Any
                      +
                    3. + + +

                      + + final + def + + + ==(arg0: Any): Boolean + +

                      + + Permalink + + +
                      Definition Classes
                      AnyRef → Any
                      +
                    4. + + +

                      + + final + def + + + asInstanceOf[T0]: T0 + +

                      + + Permalink + + +
                      Definition Classes
                      Any
                      +
                    5. + + +

                      + + + def + + + clone(): AnyRef + +

                      + + Permalink + + +
                      Attributes
                      protected[java.lang]
                      Definition Classes
                      AnyRef
                      Annotations
                      + @throws( + + ... + ) + +
                      +
                    6. + + +

                      + + + def + + + close: Unit + +

                      + + Permalink + + +
                      Definition Classes
                      KafkaPipeReader → BasePipeReader
                      +
                    7. + + +

                      + + + val + + + df: DataStreamReader + +

                      + + Permalink + + + +
                    8. + + +

                      + + final + def + + + eq(arg0: AnyRef): Boolean + +

                      + + Permalink + + +
                      Definition Classes
                      AnyRef
                      +
                    9. + + +

                      + + + def + + + equals(arg0: Any): Boolean + +

                      + + Permalink + + +
                      Definition Classes
                      AnyRef → Any
                      +
                    10. + + +

                      + + + def + + + finalize(): Unit + +

                      + + Permalink + + +
                      Attributes
                      protected[java.lang]
                      Definition Classes
                      AnyRef
                      Annotations
                      + @throws( + + classOf[java.lang.Throwable] + ) + +
                      +
                    11. + + +

                      + + final + def + + + getClass(): Class[_] + +

                      + + Permalink + + +
                      Definition Classes
                      AnyRef → Any
                      +
                    12. + + +

                      + + + def + + + hashCode(): Int + +

                      + + Permalink + + +
                      Definition Classes
                      AnyRef → Any
                      +
                    13. + + +

                      + + final + def + + + isInstanceOf[T0]: Boolean + +

                      + + Permalink + + +
                      Definition Classes
                      Any
                      +
                    14. + + +

                      + + + val + + + logger: Logger + +

                      + + Permalink + + +
                      Attributes
                      protected
                      Definition Classes
                      Logging
                      +
                    15. + + +

                      + + final + def + + + ne(arg0: AnyRef): Boolean + +

                      + + Permalink + + +
                      Definition Classes
                      AnyRef
                      +
                    16. + + +

                      + + final + def + + + notify(): Unit + +

                      + + Permalink + + +
                      Definition Classes
                      AnyRef
                      +
                    17. + + +

                      + + final + def + + + notifyAll(): Unit + +

                      + + Permalink + + +
                      Definition Classes
                      AnyRef
                      +
                    18. + + +

                      + + + val + + + o: StreamPipeReaderInfo + +

                      + + Permalink + + +

                      Object that contains message + ksb.csle.common.proto.DatasourceProto.KafkaPipeReaderInfo + KafkaPipeReaderInfo contains attributes as follows:

                      Object that contains message + ksb.csle.common.proto.DatasourceProto.KafkaPipeReaderInfo + KafkaPipeReaderInfo contains attributes as follows:

                      • bootStrapServers: Address of Kafka server (required)
                      • zooKeeperConnect: Address of Kafka Zookeeper (required)
                      • topic: Topic where fetch data (required)
                      • addTimestamp: Flag for adding timestamp column automatically
                      • timestampName: Column name for timestamp field
                      • watermark: Time slot in seconds or minutest + The event time column and the threshold on + how late the data is expected to be + in terms of event time.
                      • sampleJsonPath: Json file path containing sample dataset. + The system gets hint for the record format from it.
                      • failOnDataLoss: Determines whether or not a streaming query + should fail if it's possible data has been lost + (e.g., topics are deleted, offsets are out of range). + It is important to monitor your streaming queries, + especially with temporal infrastructure like Kafka. + Offsets typically go out of range + when Kafka's log cleaner activates. + If a specific streaming query can not process + data quickly enough it may fall behind + the earliest offsets after the log cleaner rolls + a log segment + Sometimes failOnDataLoss may be a false alarm. + You can disable it if it is not working + as expected based on your use case. + Refer to followed site for more information. + https://github.com/vertica/PSTL/wiki/Kafka-Source

                      KafkaPipeReaderInfo

                      message KafkaPipeReaderInfo {
                      +  required string bootStrapServers = 1;
                      +  required string zooKeeperConnect = 2;
                      +  required string topic = 3;
                      +  // FIXME: Avoid the case that the addTimestamp is 'true' with no setting of timestampName"
                      +  required bool addTimestamp = 4 [default = true];
                      +  optional string timestampName = 5;
                      +  optional string watermark = 6;
                      +  optional string sampleJsonPath = 7;
                      +  required bool failOnDataLoss = 8 [default = false];
                      +}
                      +
                    19. + + +

                      + + final + def + + + operate(in: Int): (Int) ⇒ DataFrame + +

                      + + Permalink + + +
                      Definition Classes
                      BasePipeReader → BaseGenericPipeOperator → BaseGenericMutantOperator
                      +
                    20. + + +

                      + + + val + + + p: KafkaPipeReaderInfo + +

                      + + Permalink + + + +
                    21. + + +

                      + + + def + + + read(): DataFrame + +

                      + + Permalink + + +

                      Reads data from kafka topic +TODO: Define and use parameters to set watermark and timestamp column.

                      Reads data from kafka topic +TODO: Define and use parameters to set watermark and timestamp column. +

                      returns

                      dataframe

                      Definition Classes
                      KafkaPipeReader → BasePipeReader
                      +
                    22. + + +

                      + + + val + + + schema: StructType + +

                      + + Permalink + + + +
                    23. + + +

                      + + + val + + + session: SparkSession + +

                      + + Permalink + + + +
                    24. + + +

                      + + + def + + + stop: Unit + +

                      + + Permalink + + +
                      Definition Classes
                      BasePipeReader → BaseGenericPipeOperator → BaseGenericMutantOperator
                      +
                    25. + + +

                      + + final + def + + + synchronized[T0](arg0: ⇒ T0): T0 + +

                      + + Permalink + + +
                      Definition Classes
                      AnyRef
                      +
                    26. + + +

                      + + + def + + + toString(): String + +

                      + + Permalink + + +
                      Definition Classes
                      AnyRef → Any
                      +
                    27. + + +

                      + + + val + + + topic: String + +

                      + + Permalink + + + +
                    28. + + +

                      + + final + def + + + wait(): Unit + +

                      + + Permalink + + +
                      Definition Classes
                      AnyRef
                      Annotations
                      + @throws( + + ... + ) + +
                      +
                    29. + + +

                      + + final + def + + + wait(arg0: Long, arg1: Int): Unit + +

                      + + Permalink + + +
                      Definition Classes
                      AnyRef
                      Annotations
                      + @throws( + + ... + ) + +
                      +
                    30. + + +

                      + + final + def + + + wait(arg0: Long): Unit + +

                      + + Permalink + + +
                      Definition Classes
                      AnyRef
                      Annotations
                      + @throws( + + ... + ) + +
                      +
                    +
                    + + + + +
                    + +
                    +
                    +

                    Inherited from BasePipeReader[DataFrame, StreamPipeReaderInfo, SparkSession]

                    +
                    +

                    Inherited from BaseGenericPipeOperator[Int, Int, DataFrame, StreamPipeReaderInfo, SparkSession]

                    +
                    +

                    Inherited from BaseGenericMutantOperator[StreamPipeReaderInfo, Int, (Int) ⇒ DataFrame]

                    +
                    +

                    Inherited from BaseDoer

                    +
                    +

                    Inherited from Logging

                    +
                    +

                    Inherited from Serializable

                    +
                    +

                    Inherited from Serializable

                    +
                    +

                    Inherited from AnyRef

                    +
                    +

                    Inherited from Any

                    +
                    + +
                    + +
                    +
                    +

                    Ungrouped

                    + +
                    +
                    + +
                    + +
                    + + + + + + diff --git a/manual1903/api_reference/component-pipe/scaladocs/ksb/csle/component/pipe/stream/reader/package.html b/manual1903/api_reference/component-pipe/scaladocs/ksb/csle/component/pipe/stream/reader/package.html new file mode 100644 index 0000000000000000000000000000000000000000..c7d95ba0430f57bfc38bccae6f46a937be89f794 --- /dev/null +++ b/manual1903/api_reference/component-pipe/scaladocs/ksb/csle/component/pipe/stream/reader/package.html @@ -0,0 +1,175 @@ + + + + reader - KSB COMPONENT-PIPE Scala App Project 1.0-SNAPSHOT API - ksb.csle.component.pipe.stream.reader + + + + + + + + + + + + + + + +
                    + Package +

                    ksb.csle.component.pipe.stream

                    +

                    reader

                    + + Permalink + + +
                    + +

                    + + + package + + + reader + +

                    + +
                    + + +
                    +
                    + + +
                    + Visibility +
                    1. Public
                    2. All
                    +
                    +
                    + +
                    +
                    + + +
                    +

                    Type Members

                    +
                    1. + + +

                      + + + class + + + FilePipeReader extends BasePipeReader[DataFrame, StreamPipeReaderInfo, SparkSession] + +

                      + + Permalink + + +

                      :: ApplicationDeveloperApi ::

                      :: ApplicationDeveloperApi ::

                      Operator that reads dataframe from file source. +

                      +
                    2. + + +

                      + + final + class + + + KafkaContextQueryPipeReader extends BasePipeReader[DeviceCtxCtlCase, OnDemandPipeReaderInfo, ActorSystem] + +

                      + + Permalink + + +

                      :: Experimental ::

                      :: Experimental ::

                      Reader that queries to kafka in on-demand way. +

                      +
                    3. + + +

                      + + + class + + + KafkaPipeReader extends BasePipeReader[DataFrame, StreamPipeReaderInfo, SparkSession] + +

                      + + Permalink + + +

                      :: ApplicationDeveloperApi ::

                      :: ApplicationDeveloperApi ::

                      Reader that reads data from kafka and pipelines it to the next. +

                      +
                    +
                    + + + +
                    +

                    Value Members

                    +
                    1. + + +

                      + + + object + + + KafkaContextQueryPipeReader extends Serializable + +

                      + + Permalink + + + +
                    +
                    + + + + +
                    + +
                    + + +
                    + +
                    +
                    +

                    Ungrouped

                    + +
                    +
                    + +
                    + +
                    + + + + + + diff --git a/manual1903/api_reference/component-pipe/scaladocs/ksb/csle/component/pipe/stream/writer/ConsolePipeWriter.html b/manual1903/api_reference/component-pipe/scaladocs/ksb/csle/component/pipe/stream/writer/ConsolePipeWriter.html new file mode 100644 index 0000000000000000000000000000000000000000..ce73d0cb9e7ac2649cee284cf569ddeacf9bdeab --- /dev/null +++ b/manual1903/api_reference/component-pipe/scaladocs/ksb/csle/component/pipe/stream/writer/ConsolePipeWriter.html @@ -0,0 +1,667 @@ + + + + ConsolePipeWriter - KSB COMPONENT-PIPE Scala App Project 1.0-SNAPSHOT API - ksb.csle.component.pipe.stream.writer.ConsolePipeWriter + + + + + + + + + + + + + + + +
                    + Class +

                    ksb.csle.component.pipe.stream.writer

                    +

                    ConsolePipeWriter

                    Related Doc: + package writer +

                    + + Permalink + + +
                    + +

                    + + + class + + + ConsolePipeWriter extends BasePipeWriter[DataFrame, StreamingQuery, StreamPipeWriterInfo, SparkSession] + +

                    + +

                    :: Experimental ::

                    Writer that saves DataFrame to a file. +

                    + Linear Supertypes +
                    BasePipeWriter[DataFrame, StreamingQuery, StreamPipeWriterInfo, SparkSession], BaseGenericPipeOperator[DataFrame, DataFrame, StreamingQuery, StreamPipeWriterInfo, SparkSession], BaseGenericMutantOperator[StreamPipeWriterInfo, DataFrame, (DataFrame) ⇒ StreamingQuery], BaseDoer, Logging, Serializable, Serializable, AnyRef, Any
                    +
                    + + +
                    +
                    +
                    + Ordering +
                      + +
                    1. Alphabetic
                    2. +
                    3. By Inheritance
                    4. +
                    +
                    +
                    + Inherited
                    +
                    +
                      +
                    1. ConsolePipeWriter
                    2. BasePipeWriter
                    3. BaseGenericPipeOperator
                    4. BaseGenericMutantOperator
                    5. BaseDoer
                    6. Logging
                    7. Serializable
                    8. Serializable
                    9. AnyRef
                    10. Any
                    11. +
                    +
                    + +
                      +
                    1. Hide All
                    2. +
                    3. Show All
                    4. +
                    +
                    +
                    + Visibility +
                    1. Public
                    2. All
                    +
                    +
                    + +
                    +
                    +
                    +

                    Instance Constructors

                    +
                    1. + + +

                      + + + new + + + ConsolePipeWriter(o: StreamPipeWriterInfo, session: SparkSession) + +

                      + + Permalink + + +

                      o

                      Object that contains message + ksb.csle.common.proto.DatasourceProto.ConsolePipeWriterInfo + ConsolePipeWriterInfo contains followed attributes:

                      • mode: Write mode such as append, update, and complete
                      • trigger: triggering interval

                      ConsolePipeWriterInfo

                      message ConsolePipeWriterInfo {
                      + required string mode = 1 [default="append"];
                      + required string trigger = 2;
                      + }
                      +
                    +
                    + + + + + +
                    +

                    Value Members

                    +
                    1. + + +

                      + + final + def + + + !=(arg0: Any): Boolean + +

                      + + Permalink + + +
                      Definition Classes
                      AnyRef → Any
                      +
                    2. + + +

                      + + final + def + + + ##(): Int + +

                      + + Permalink + + +
                      Definition Classes
                      AnyRef → Any
                      +
                    3. + + +

                      + + final + def + + + ==(arg0: Any): Boolean + +

                      + + Permalink + + +
                      Definition Classes
                      AnyRef → Any
                      +
                    4. + + +

                      + + final + def + + + asInstanceOf[T0]: T0 + +

                      + + Permalink + + +
                      Definition Classes
                      Any
                      +
                    5. + + +

                      + + + def + + + clone(): AnyRef + +

                      + + Permalink + + +
                      Attributes
                      protected[java.lang]
                      Definition Classes
                      AnyRef
                      Annotations
                      + @throws( + + ... + ) + +
                      +
                    6. + + +

                      + + + def + + + close: Unit + +

                      + + Permalink + + +
                      Definition Classes
                      ConsolePipeWriter → BasePipeWriter
                      +
                    7. + + +

                      + + final + def + + + eq(arg0: AnyRef): Boolean + +

                      + + Permalink + + +
                      Definition Classes
                      AnyRef
                      +
                    8. + + +

                      + + + def + + + equals(arg0: Any): Boolean + +

                      + + Permalink + + +
                      Definition Classes
                      AnyRef → Any
                      +
                    9. + + +

                      + + + def + + + finalize(): Unit + +

                      + + Permalink + + +
                      Attributes
                      protected[java.lang]
                      Definition Classes
                      AnyRef
                      Annotations
                      + @throws( + + classOf[java.lang.Throwable] + ) + +
                      +
                    10. + + +

                      + + final + def + + + getClass(): Class[_] + +

                      + + Permalink + + +
                      Definition Classes
                      AnyRef → Any
                      +
                    11. + + +

                      + + + def + + + hashCode(): Int + +

                      + + Permalink + + +
                      Definition Classes
                      AnyRef → Any
                      +
                    12. + + +

                      + + final + def + + + isInstanceOf[T0]: Boolean + +

                      + + Permalink + + +
                      Definition Classes
                      Any
                      +
                    13. + + +

                      + + + val + + + logger: Logger + +

                      + + Permalink + + +
                      Attributes
                      protected
                      Definition Classes
                      Logging
                      +
                    14. + + +

                      + + final + def + + + ne(arg0: AnyRef): Boolean + +

                      + + Permalink + + +
                      Definition Classes
                      AnyRef
                      +
                    15. + + +

                      + + final + def + + + notify(): Unit + +

                      + + Permalink + + +
                      Definition Classes
                      AnyRef
                      +
                    16. + + +

                      + + final + def + + + notifyAll(): Unit + +

                      + + Permalink + + +
                      Definition Classes
                      AnyRef
                      +
                    17. + + +

                      + + + val + + + o: StreamPipeWriterInfo + +

                      + + Permalink + + +

                      Object that contains message + ksb.csle.common.proto.DatasourceProto.ConsolePipeWriterInfo + ConsolePipeWriterInfo contains followed attributes:

                      Object that contains message + ksb.csle.common.proto.DatasourceProto.ConsolePipeWriterInfo + ConsolePipeWriterInfo contains followed attributes:

                      • mode: Write mode such as append, update, and complete
                      • trigger: triggering interval

                      ConsolePipeWriterInfo

                      message ConsolePipeWriterInfo {
                      + required string mode = 1 [default="append"];
                      + required string trigger = 2;
                      + }
                      +
                    18. + + +

                      + + final + def + + + operate(df: DataFrame): (DataFrame) ⇒ StreamingQuery + +

                      + + Permalink + + +
                      Definition Classes
                      BasePipeWriter → BaseGenericPipeOperator → BaseGenericMutantOperator
                      +
                    19. + + +

                      + + + val + + + p: ConsolePipeWriterInfo + +

                      + + Permalink + + + +
                    20. + + +

                      + + + val + + + session: SparkSession + +

                      + + Permalink + + + +
                    21. + + +

                      + + + def + + + stop: Unit + +

                      + + Permalink + + +
                      Definition Classes
                      BasePipeWriter → BaseGenericPipeOperator → BaseGenericMutantOperator
                      +
                    22. + + +

                      + + final + def + + + synchronized[T0](arg0: ⇒ T0): T0 + +

                      + + Permalink + + +
                      Definition Classes
                      AnyRef
                      +
                    23. + + +

                      + + + def + + + toString(): String + +

                      + + Permalink + + +
                      Definition Classes
                      AnyRef → Any
                      +
                    24. + + +

                      + + final + def + + + wait(): Unit + +

                      + + Permalink + + +
                      Definition Classes
                      AnyRef
                      Annotations
                      + @throws( + + ... + ) + +
                      +
                    25. + + +

                      + + final + def + + + wait(arg0: Long, arg1: Int): Unit + +

                      + + Permalink + + +
                      Definition Classes
                      AnyRef
                      Annotations
                      + @throws( + + ... + ) + +
                      +
                    26. + + +

                      + + final + def + + + wait(arg0: Long): Unit + +

                      + + Permalink + + +
                      Definition Classes
                      AnyRef
                      Annotations
                      + @throws( + + ... + ) + +
                      +
                    27. + + +

                      + + + def + + + write(df: DataFrame): StreamingQuery + +

                      + + Permalink + + +

                      Writes dataframe to file +

                      Writes dataframe to file +

                      df

                      Dataframe to write

                      returns

                      handle StreamingQuery

                      Definition Classes
                      ConsolePipeWriter → BasePipeWriter
                      +
                    +
                    + + + + +
                    + +
                    +
                    +

                    Inherited from BasePipeWriter[DataFrame, StreamingQuery, StreamPipeWriterInfo, SparkSession]

                    +
                    +

                    Inherited from BaseGenericPipeOperator[DataFrame, DataFrame, StreamingQuery, StreamPipeWriterInfo, SparkSession]

                    +
                    +

                    Inherited from BaseGenericMutantOperator[StreamPipeWriterInfo, DataFrame, (DataFrame) ⇒ StreamingQuery]

                    +
                    +

                    Inherited from BaseDoer

                    +
                    +

                    Inherited from Logging

                    +
                    +

                    Inherited from Serializable

                    +
                    +

                    Inherited from Serializable

                    +
                    +

                    Inherited from AnyRef

                    +
                    +

                    Inherited from Any

                    +
                    + +
                    + +
                    +
                    +

                    Ungrouped

                    + +
                    +
                    + +
                    + +
                    + + + + + + diff --git a/manual1903/api_reference/component-pipe/scaladocs/ksb/csle/component/pipe/stream/writer/FilePipeWriter.html b/manual1903/api_reference/component-pipe/scaladocs/ksb/csle/component/pipe/stream/writer/FilePipeWriter.html new file mode 100644 index 0000000000000000000000000000000000000000..c96650b125cc5ed7c32a915b33b07b63c23f47a4 --- /dev/null +++ b/manual1903/api_reference/component-pipe/scaladocs/ksb/csle/component/pipe/stream/writer/FilePipeWriter.html @@ -0,0 +1,678 @@ + + + + FilePipeWriter - KSB COMPONENT-PIPE Scala App Project 1.0-SNAPSHOT API - ksb.csle.component.pipe.stream.writer.FilePipeWriter + + + + + + + + + + + + + + + +
                    + Class +

                    ksb.csle.component.pipe.stream.writer

                    +

                    FilePipeWriter

                    Related Doc: + package writer +

                    + + Permalink + + +
                    + +

                    + + + class + + + FilePipeWriter extends BasePipeWriter[DataFrame, StreamingQuery, StreamPipeWriterInfo, SparkSession] + +

                    + +

                    :: ApplicationDeveloperApi ::

                    Writer that saves DataFrame to a file. +

                    + Linear Supertypes +
                    BasePipeWriter[DataFrame, StreamingQuery, StreamPipeWriterInfo, SparkSession], BaseGenericPipeOperator[DataFrame, DataFrame, StreamingQuery, StreamPipeWriterInfo, SparkSession], BaseGenericMutantOperator[StreamPipeWriterInfo, DataFrame, (DataFrame) ⇒ StreamingQuery], BaseDoer, Logging, Serializable, Serializable, AnyRef, Any
                    +
                    + + +
                    +
                    +
                    + Ordering +
                      + +
                    1. Alphabetic
                    2. +
                    3. By Inheritance
                    4. +
                    +
                    +
                    + Inherited
                    +
                    +
                      +
                    1. FilePipeWriter
                    2. BasePipeWriter
                    3. BaseGenericPipeOperator
                    4. BaseGenericMutantOperator
                    5. BaseDoer
                    6. Logging
                    7. Serializable
                    8. Serializable
                    9. AnyRef
                    10. Any
                    11. +
                    +
                    + +
                      +
                    1. Hide All
                    2. +
                    3. Show All
                    4. +
                    +
                    +
                    + Visibility +
                    1. Public
                    2. All
                    +
                    +
                    + +
                    +
                    +
                    +

                    Instance Constructors

                    +
                    1. + + +

                      + + + new + + + FilePipeWriter(o: StreamPipeWriterInfo, session: SparkSession) + +

                      + + Permalink + + +

                      o

                      Object that contains message + ksb.csle.common.proto.DatasourceProto.FilePipeWriterInfo + FilePipeWriterInfo contains followed attributes:

                      • fileInfo: FileInfo contains attributes as follows:
                        • filePath: File path where writes records (required)
                        • fileType: File type (optional)
                        • delimiter: Delimiter of each field (optional)
                        • field: Schema of input record (optional)
                        • header: True if has a header line (optional)
                      • mode: Write mode such as append, update, and complete
                      • trigger: triggering interval
                      • chechpointLocation: checkpoint file path

                      FilePipeWriterInfo

                      message FilePipeWriterInfo {
                      + required FileInfo fileInfo = 1;
                      + optional string mode = 2 [default="append"];
                      + optional string trigger = 3;
                      + required string checkpointLocation = 4 [default="/checkpoint/file"];
                      +}

                      FileInfo

                      message FileInfo {
                      +  repeated string filePath = 1;
                      +  optional FileType fileType = 2 [default = JSON];
                      +  optional string delimiter = 3 [default = ","];
                      +  repeated FieldInfo field = 4;
                      +  optional bool header = 5 [default = false];
                      +  enum FileType {
                      +    CSV = 0;
                      +    JSON = 1;
                      +    PARQUET = 2;
                      +    TEXT = 3;
                      +  }
                      +}
                      +
                    +
                    + + + + + +
                    +

                    Value Members

                    +
                    1. + + +

                      + + final + def + + + !=(arg0: Any): Boolean + +

                      + + Permalink + + +
                      Definition Classes
                      AnyRef → Any
                      +
                    2. + + +

                      + + final + def + + + ##(): Int + +

                      + + Permalink + + +
                      Definition Classes
                      AnyRef → Any
                      +
                    3. + + +

                      + + final + def + + + ==(arg0: Any): Boolean + +

                      + + Permalink + + +
                      Definition Classes
                      AnyRef → Any
                      +
                    4. + + +

                      + + final + def + + + asInstanceOf[T0]: T0 + +

                      + + Permalink + + +
                      Definition Classes
                      Any
                      +
                    5. + + +

                      + + + def + + + clone(): AnyRef + +

                      + + Permalink + + +
                      Attributes
                      protected[java.lang]
                      Definition Classes
                      AnyRef
                      Annotations
                      + @throws( + + ... + ) + +
                      +
                    6. + + +

                      + + + def + + + close: Unit + +

                      + + Permalink + + +
                      Definition Classes
                      FilePipeWriter → BasePipeWriter
                      +
                    7. + + +

                      + + final + def + + + eq(arg0: AnyRef): Boolean + +

                      + + Permalink + + +
                      Definition Classes
                      AnyRef
                      +
                    8. + + +

                      + + + def + + + equals(arg0: Any): Boolean + +

                      + + Permalink + + +
                      Definition Classes
                      AnyRef → Any
                      +
                    9. + + +

                      + + + def + + + finalize(): Unit + +

                      + + Permalink + + +
                      Attributes
                      protected[java.lang]
                      Definition Classes
                      AnyRef
                      Annotations
                      + @throws( + + classOf[java.lang.Throwable] + ) + +
                      +
                    10. + + +

                      + + final + def + + + getClass(): Class[_] + +

                      + + Permalink + + +
                      Definition Classes
                      AnyRef → Any
                      +
                    11. + + +

                      + + + def + + + hashCode(): Int + +

                      + + Permalink + + +
                      Definition Classes
                      AnyRef → Any
                      +
                    12. + + +

                      + + final + def + + + isInstanceOf[T0]: Boolean + +

                      + + Permalink + + +
                      Definition Classes
                      Any
                      +
                    13. + + +

                      + + + val + + + logger: Logger + +

                      + + Permalink + + +
                      Attributes
                      protected
                      Definition Classes
                      Logging
                      +
                    14. + + +

                      + + final + def + + + ne(arg0: AnyRef): Boolean + +

                      + + Permalink + + +
                      Definition Classes
                      AnyRef
                      +
                    15. + + +

                      + + final + def + + + notify(): Unit + +

                      + + Permalink + + +
                      Definition Classes
                      AnyRef
                      +
                    16. + + +

                      + + final + def + + + notifyAll(): Unit + +

                      + + Permalink + + +
                      Definition Classes
                      AnyRef
                      +
                    17. + + +

                      + + + val + + + o: StreamPipeWriterInfo + +

                      + + Permalink + + +

                      Object that contains message + ksb.csle.common.proto.DatasourceProto.FilePipeWriterInfo + FilePipeWriterInfo contains followed attributes:

                      Object that contains message + ksb.csle.common.proto.DatasourceProto.FilePipeWriterInfo + FilePipeWriterInfo contains followed attributes:

                      • fileInfo: FileInfo contains attributes as follows:
                        • filePath: File path where writes records (required)
                        • fileType: File type (optional)
                        • delimiter: Delimiter of each field (optional)
                        • field: Schema of input record (optional)
                        • header: True if has a header line (optional)
                      • mode: Write mode such as append, update, and complete
                      • trigger: triggering interval
                      • chechpointLocation: checkpoint file path

                      FilePipeWriterInfo

                      message FilePipeWriterInfo {
                      + required FileInfo fileInfo = 1;
                      + optional string mode = 2 [default="append"];
                      + optional string trigger = 3;
                      + required string checkpointLocation = 4 [default="/checkpoint/file"];
                      +}

                      FileInfo

                      message FileInfo {
                      +  repeated string filePath = 1;
                      +  optional FileType fileType = 2 [default = JSON];
                      +  optional string delimiter = 3 [default = ","];
                      +  repeated FieldInfo field = 4;
                      +  optional bool header = 5 [default = false];
                      +  enum FileType {
                      +    CSV = 0;
                      +    JSON = 1;
                      +    PARQUET = 2;
                      +    TEXT = 3;
                      +  }
                      +}
                      +
                    18. + + +

                      + + final + def + + + operate(df: DataFrame): (DataFrame) ⇒ StreamingQuery + +

                      + + Permalink + + +
                      Definition Classes
                      BasePipeWriter → BaseGenericPipeOperator → BaseGenericMutantOperator
                      +
                    19. + + +

                      + + + val + + + session: SparkSession + +

                      + + Permalink + + + +
                    20. + + +

                      + + + def + + + stop: Unit + +

                      + + Permalink + + +
                      Definition Classes
                      BasePipeWriter → BaseGenericPipeOperator → BaseGenericMutantOperator
                      +
                    21. + + +

                      + + final + def + + + synchronized[T0](arg0: ⇒ T0): T0 + +

                      + + Permalink + + +
                      Definition Classes
                      AnyRef
                      +
                    22. + + +

                      + + + def + + + toString(): String + +

                      + + Permalink + + +
                      Definition Classes
                      AnyRef → Any
                      +
                    23. + + +

                      + + final + def + + + wait(): Unit + +

                      + + Permalink + + +
                      Definition Classes
                      AnyRef
                      Annotations
                      + @throws( + + ... + ) + +
                      +
                    24. + + +

                      + + final + def + + + wait(arg0: Long, arg1: Int): Unit + +

                      + + Permalink + + +
                      Definition Classes
                      AnyRef
                      Annotations
                      + @throws( + + ... + ) + +
                      +
                    25. + + +

                      + + final + def + + + wait(arg0: Long): Unit + +

                      + + Permalink + + +
                      Definition Classes
                      AnyRef
                      Annotations
                      + @throws( + + ... + ) + +
                      +
                    26. + + +

                      + + + def + + + write(df: DataFrame): StreamingQuery + +

                      + + Permalink + + +

                      Writes dataframe to file +

                      Writes dataframe to file +

                      df

                      Dataframe to write

                      returns

                      handle StreamingQuery

                      Definition Classes
                      FilePipeWriter → BasePipeWriter
                      +
                    +
                    + + + + +
                    + +
                    +
                    +

                    Inherited from BasePipeWriter[DataFrame, StreamingQuery, StreamPipeWriterInfo, SparkSession]

                    +
                    +

                    Inherited from BaseGenericPipeOperator[DataFrame, DataFrame, StreamingQuery, StreamPipeWriterInfo, SparkSession]

                    +
                    +

                    Inherited from BaseGenericMutantOperator[StreamPipeWriterInfo, DataFrame, (DataFrame) ⇒ StreamingQuery]

                    +
                    +

                    Inherited from BaseDoer

                    +
                    +

                    Inherited from Logging

                    +
                    +

                    Inherited from Serializable

                    +
                    +

                    Inherited from Serializable

                    +
                    +

                    Inherited from AnyRef

                    +
                    +

                    Inherited from Any

                    +
                    + +
                    + +
                    +
                    +

                    Ungrouped

                    + +
                    +
                    + +
                    + +
                    + + + + + + diff --git a/manual1903/api_reference/component-pipe/scaladocs/ksb/csle/component/pipe/stream/writer/HBasePipeWriter.html b/manual1903/api_reference/component-pipe/scaladocs/ksb/csle/component/pipe/stream/writer/HBasePipeWriter.html new file mode 100644 index 0000000000000000000000000000000000000000..3516b9b96d8a9b7064632d4dee99002a780ff804 --- /dev/null +++ b/manual1903/api_reference/component-pipe/scaladocs/ksb/csle/component/pipe/stream/writer/HBasePipeWriter.html @@ -0,0 +1,653 @@ + + + + HBasePipeWriter - KSB COMPONENT-PIPE Scala App Project 1.0-SNAPSHOT API - ksb.csle.component.pipe.stream.writer.HBasePipeWriter + + + + + + + + + + + + + + + +
                    + Class +

                    ksb.csle.component.pipe.stream.writer

                    +

                    HBasePipeWriter

                    Related Doc: + package writer +

                    + + Permalink + + +
                    + +

                    + + + class + + + HBasePipeWriter extends BasePipeWriter[DataFrame, StreamingQuery, StreamPipeWriterInfo, SparkSession] + +

                    + +

                    :: Experimental ::

                    Writer that writes streaming data to HBase. +

                    + Linear Supertypes +
                    BasePipeWriter[DataFrame, StreamingQuery, StreamPipeWriterInfo, SparkSession], BaseGenericPipeOperator[DataFrame, DataFrame, StreamingQuery, StreamPipeWriterInfo, SparkSession], BaseGenericMutantOperator[StreamPipeWriterInfo, DataFrame, (DataFrame) ⇒ StreamingQuery], BaseDoer, Logging, Serializable, Serializable, AnyRef, Any
                    +
                    + + +
                    +
                    +
                    + Ordering +
                      + +
                    1. Alphabetic
                    2. +
                    3. By Inheritance
                    4. +
                    +
                    +
                    + Inherited
                    +
                    +
                      +
                    1. HBasePipeWriter
                    2. BasePipeWriter
                    3. BaseGenericPipeOperator
                    4. BaseGenericMutantOperator
                    5. BaseDoer
                    6. Logging
                    7. Serializable
                    8. Serializable
                    9. AnyRef
                    10. Any
                    11. +
                    +
                    + +
                      +
                    1. Hide All
                    2. +
                    3. Show All
                    4. +
                    +
                    +
                    + Visibility +
                    1. Public
                    2. All
                    +
                    +
                    + +
                    +
                    +
                    +

                    Instance Constructors

                    +
                    1. + + +

                      + + + new + + + HBasePipeWriter(o: StreamPipeWriterInfo, session: SparkSession) + +

                      + + Permalink + + + +
                    +
                    + + + + + +
                    +

                    Value Members

                    +
                    1. + + +

                      + + final + def + + + !=(arg0: Any): Boolean + +

                      + + Permalink + + +
                      Definition Classes
                      AnyRef → Any
                      +
                    2. + + +

                      + + final + def + + + ##(): Int + +

                      + + Permalink + + +
                      Definition Classes
                      AnyRef → Any
                      +
                    3. + + +

                      + + final + def + + + ==(arg0: Any): Boolean + +

                      + + Permalink + + +
                      Definition Classes
                      AnyRef → Any
                      +
                    4. + + +

                      + + final + def + + + asInstanceOf[T0]: T0 + +

                      + + Permalink + + +
                      Definition Classes
                      Any
                      +
                    5. + + +

                      + + + def + + + clone(): AnyRef + +

                      + + Permalink + + +
                      Attributes
                      protected[java.lang]
                      Definition Classes
                      AnyRef
                      Annotations
                      + @throws( + + ... + ) + +
                      +
                    6. + + +

                      + + + def + + + close: Unit + +

                      + + Permalink + + +
                      Definition Classes
                      HBasePipeWriter → BasePipeWriter
                      +
                    7. + + +

                      + + final + def + + + eq(arg0: AnyRef): Boolean + +

                      + + Permalink + + +
                      Definition Classes
                      AnyRef
                      +
                    8. + + +

                      + + + def + + + equals(arg0: Any): Boolean + +

                      + + Permalink + + +
                      Definition Classes
                      AnyRef → Any
                      +
                    9. + + +

                      + + + def + + + finalize(): Unit + +

                      + + Permalink + + +
                      Attributes
                      protected[java.lang]
                      Definition Classes
                      AnyRef
                      Annotations
                      + @throws( + + classOf[java.lang.Throwable] + ) + +
                      +
                    10. + + +

                      + + final + def + + + getClass(): Class[_] + +

                      + + Permalink + + +
                      Definition Classes
                      AnyRef → Any
                      +
                    11. + + +

                      + + + def + + + hashCode(): Int + +

                      + + Permalink + + +
                      Definition Classes
                      AnyRef → Any
                      +
                    12. + + +

                      + + final + def + + + isInstanceOf[T0]: Boolean + +

                      + + Permalink + + +
                      Definition Classes
                      Any
                      +
                    13. + + +

                      + + + val + + + logger: Logger + +

                      + + Permalink + + +
                      Attributes
                      protected
                      Definition Classes
                      Logging
                      +
                    14. + + +

                      + + final + def + + + ne(arg0: AnyRef): Boolean + +

                      + + Permalink + + +
                      Definition Classes
                      AnyRef
                      +
                    15. + + +

                      + + final + def + + + notify(): Unit + +

                      + + Permalink + + +
                      Definition Classes
                      AnyRef
                      +
                    16. + + +

                      + + final + def + + + notifyAll(): Unit + +

                      + + Permalink + + +
                      Definition Classes
                      AnyRef
                      +
                    17. + + +

                      + + + val + + + o: StreamPipeWriterInfo + +

                      + + Permalink + + + +
                    18. + + +

                      + + final + def + + + operate(df: DataFrame): (DataFrame) ⇒ StreamingQuery + +

                      + + Permalink + + +
                      Definition Classes
                      BasePipeWriter → BaseGenericPipeOperator → BaseGenericMutantOperator
                      +
                    19. + + +

                      + + + val + + + p: HBasePipeWriterInfo + +

                      + + Permalink + + + +
                    20. + + +

                      + + + val + + + session: SparkSession + +

                      + + Permalink + + + +
                    21. + + +

                      + + + def + + + stop: Unit + +

                      + + Permalink + + +
                      Definition Classes
                      BasePipeWriter → BaseGenericPipeOperator → BaseGenericMutantOperator
                      +
                    22. + + +

                      + + final + def + + + synchronized[T0](arg0: ⇒ T0): T0 + +

                      + + Permalink + + +
                      Definition Classes
                      AnyRef
                      +
                    23. + + +

                      + + + def + + + toString(): String + +

                      + + Permalink + + +
                      Definition Classes
                      AnyRef → Any
                      +
                    24. + + +

                      + + final + def + + + wait(): Unit + +

                      + + Permalink + + +
                      Definition Classes
                      AnyRef
                      Annotations
                      + @throws( + + ... + ) + +
                      +
                    25. + + +

                      + + final + def + + + wait(arg0: Long, arg1: Int): Unit + +

                      + + Permalink + + +
                      Definition Classes
                      AnyRef
                      Annotations
                      + @throws( + + ... + ) + +
                      +
                    26. + + +

                      + + final + def + + + wait(arg0: Long): Unit + +

                      + + Permalink + + +
                      Definition Classes
                      AnyRef
                      Annotations
                      + @throws( + + ... + ) + +
                      +
                    27. + + +

                      + + + def + + + write(df: DataFrame): StreamingQuery + +

                      + + Permalink + + +
                      Definition Classes
                      HBasePipeWriter → BasePipeWriter
                      +
                    +
                    + + + + +
                    + +
                    +
                    +

                    Inherited from BasePipeWriter[DataFrame, StreamingQuery, StreamPipeWriterInfo, SparkSession]

                    +
                    +

                    Inherited from BaseGenericPipeOperator[DataFrame, DataFrame, StreamingQuery, StreamPipeWriterInfo, SparkSession]

                    +
                    +

                    Inherited from BaseGenericMutantOperator[StreamPipeWriterInfo, DataFrame, (DataFrame) ⇒ StreamingQuery]

                    +
                    +

                    Inherited from BaseDoer

                    +
                    +

                    Inherited from Logging

                    +
                    +

                    Inherited from Serializable

                    +
                    +

                    Inherited from Serializable

                    +
                    +

                    Inherited from AnyRef

                    +
                    +

                    Inherited from Any

                    +
                    + +
                    + +
                    +
                    +

                    Ungrouped

                    + +
                    +
                    + +
                    + +
                    + + + + + + diff --git a/manual1903/api_reference/component-pipe/scaladocs/ksb/csle/component/pipe/stream/writer/KafkaPipeWriter.html b/manual1903/api_reference/component-pipe/scaladocs/ksb/csle/component/pipe/stream/writer/KafkaPipeWriter.html new file mode 100644 index 0000000000000000000000000000000000000000..fee4cdcda1637f93a4ed0906ab8457a550d9de54 --- /dev/null +++ b/manual1903/api_reference/component-pipe/scaladocs/ksb/csle/component/pipe/stream/writer/KafkaPipeWriter.html @@ -0,0 +1,705 @@ + + + + KafkaPipeWriter - KSB COMPONENT-PIPE Scala App Project 1.0-SNAPSHOT API - ksb.csle.component.pipe.stream.writer.KafkaPipeWriter + + + + + + + + + + + + + + + +
                    + Class +

                    ksb.csle.component.pipe.stream.writer

                    +

                    KafkaPipeWriter

                    Related Doc: + package writer +

                    + + Permalink + + +
                    + +

                    + + + class + + + KafkaPipeWriter extends BasePipeWriter[DataFrame, StreamingQuery, StreamPipeWriterInfo, SparkSession] + +

                    + +

                    :: ApplicationDeveloperApi ::

                    Writer that writes datafrom to kafka. +

                    + Linear Supertypes +
                    BasePipeWriter[DataFrame, StreamingQuery, StreamPipeWriterInfo, SparkSession], BaseGenericPipeOperator[DataFrame, DataFrame, StreamingQuery, StreamPipeWriterInfo, SparkSession], BaseGenericMutantOperator[StreamPipeWriterInfo, DataFrame, (DataFrame) ⇒ StreamingQuery], BaseDoer, Logging, Serializable, Serializable, AnyRef, Any
                    +
                    + + +
                    +
                    +
                    + Ordering +
                      + +
                    1. Alphabetic
                    2. +
                    3. By Inheritance
                    4. +
                    +
                    +
                    + Inherited
                    +
                    +
                      +
                    1. KafkaPipeWriter
                    2. BasePipeWriter
                    3. BaseGenericPipeOperator
                    4. BaseGenericMutantOperator
                    5. BaseDoer
                    6. Logging
                    7. Serializable
                    8. Serializable
                    9. AnyRef
                    10. Any
                    11. +
                    +
                    + +
                      +
                    1. Hide All
                    2. +
                    3. Show All
                    4. +
                    +
                    +
                    + Visibility +
                    1. Public
                    2. All
                    +
                    +
                    + +
                    +
                    +
                    +

                    Instance Constructors

                    +
                    1. + + +

                      + + + new + + + KafkaPipeWriter(o: StreamPipeWriterInfo, session: SparkSession) + +

                      + + Permalink + + +

                      o

                      Object that contains message + ksb.csle.common.proto.DatasourceProto.KafkaPipeWriterInfo + KafkaPipeWriterInfo contains attributes as follows:

                      • mode: Write mode such as append, update, and complete
                      • trigger: triggering interval
                      • bootStrapServers: Address of Kafka server (required)
                      • zooKeeperConnect: Address of Kafka Zookeeper (required)
                      • topic: Topic where fetch data (required)
                      • chechpointLocation: checkpoint file path
                      • failOnDataLoss: Determines whether or not a streaming query + should fail if it's possible data has been lost + (e.g., topics are deleted, offsets are out of range). + It is important to monitor your streaming queries, + especially with temporal infrastructure like Kafka. + Offsets typically go out of range + when Kafka's log cleaner activates. + If a specific streaming query can not process + data quickly enough it may fall behind + the earliest offsets after the log cleaner rolls + a log segment + Sometimes failOnDataLoss may be a false alarm. + You can disable it if it is not working + as expected based on your use case. + Refer to followed site for more information. + https://github.com/vertica/PSTL/wiki/Kafka-Source

                      KafkaPipeWriterInfo

                      message KafkaPipeReaderInfo {
                      +  required string mode = 1 [default="append"];
                      +  optional string trigger = 2;
                      +  required string bootStrapServers = 3;
                      +  required string zooKeeperConnect = 4;
                      +  required string topic = 5;
                      +  required chechpointLocation: checkpoint file path
                      +  required bool failOnDataLoss = 7 [default = false];
                      +}
                      +
                    +
                    + + + + + +
                    +

                    Value Members

                    +
                    1. + + +

                      + + final + def + + + !=(arg0: Any): Boolean + +

                      + + Permalink + + +
                      Definition Classes
                      AnyRef → Any
                      +
                    2. + + +

                      + + final + def + + + ##(): Int + +

                      + + Permalink + + +
                      Definition Classes
                      AnyRef → Any
                      +
                    3. + + +

                      + + final + def + + + ==(arg0: Any): Boolean + +

                      + + Permalink + + +
                      Definition Classes
                      AnyRef → Any
                      +
                    4. + + +

                      + + final + def + + + asInstanceOf[T0]: T0 + +

                      + + Permalink + + +
                      Definition Classes
                      Any
                      +
                    5. + + +

                      + + + def + + + clone(): AnyRef + +

                      + + Permalink + + +
                      Attributes
                      protected[java.lang]
                      Definition Classes
                      AnyRef
                      Annotations
                      + @throws( + + ... + ) + +
                      +
                    6. + + +

                      + + + def + + + close: Unit + +

                      + + Permalink + + +
                      Definition Classes
                      KafkaPipeWriter → BasePipeWriter
                      +
                    7. + + +

                      + + final + def + + + eq(arg0: AnyRef): Boolean + +

                      + + Permalink + + +
                      Definition Classes
                      AnyRef
                      +
                    8. + + +

                      + + + def + + + equals(arg0: Any): Boolean + +

                      + + Permalink + + +
                      Definition Classes
                      AnyRef → Any
                      +
                    9. + + +

                      + + + def + + + finalize(): Unit + +

                      + + Permalink + + +
                      Attributes
                      protected[java.lang]
                      Definition Classes
                      AnyRef
                      Annotations
                      + @throws( + + classOf[java.lang.Throwable] + ) + +
                      +
                    10. + + +

                      + + final + def + + + getClass(): Class[_] + +

                      + + Permalink + + +
                      Definition Classes
                      AnyRef → Any
                      +
                    11. + + +

                      + + + def + + + hashCode(): Int + +

                      + + Permalink + + +
                      Definition Classes
                      AnyRef → Any
                      +
                    12. + + +

                      + + final + def + + + isInstanceOf[T0]: Boolean + +

                      + + Permalink + + +
                      Definition Classes
                      Any
                      +
                    13. + + +

                      + + + val + + + logger: Logger + +

                      + + Permalink + + +
                      Attributes
                      protected
                      Definition Classes
                      Logging
                      +
                    14. + + +

                      + + final + def + + + ne(arg0: AnyRef): Boolean + +

                      + + Permalink + + +
                      Definition Classes
                      AnyRef
                      +
                    15. + + +

                      + + final + def + + + notify(): Unit + +

                      + + Permalink + + +
                      Definition Classes
                      AnyRef
                      +
                    16. + + +

                      + + final + def + + + notifyAll(): Unit + +

                      + + Permalink + + +
                      Definition Classes
                      AnyRef
                      +
                    17. + + +

                      + + + val + + + o: StreamPipeWriterInfo + +

                      + + Permalink + + +

                      Object that contains message + ksb.csle.common.proto.DatasourceProto.KafkaPipeWriterInfo + KafkaPipeWriterInfo contains attributes as follows:

                      Object that contains message + ksb.csle.common.proto.DatasourceProto.KafkaPipeWriterInfo + KafkaPipeWriterInfo contains attributes as follows:

                      • mode: Write mode such as append, update, and complete
                      • trigger: triggering interval
                      • bootStrapServers: Address of Kafka server (required)
                      • zooKeeperConnect: Address of Kafka Zookeeper (required)
                      • topic: Topic where fetch data (required)
                      • chechpointLocation: checkpoint file path
                      • failOnDataLoss: Determines whether or not a streaming query + should fail if it's possible data has been lost + (e.g., topics are deleted, offsets are out of range). + It is important to monitor your streaming queries, + especially with temporal infrastructure like Kafka. + Offsets typically go out of range + when Kafka's log cleaner activates. + If a specific streaming query can not process + data quickly enough it may fall behind + the earliest offsets after the log cleaner rolls + a log segment + Sometimes failOnDataLoss may be a false alarm. + You can disable it if it is not working + as expected based on your use case. + Refer to followed site for more information. + https://github.com/vertica/PSTL/wiki/Kafka-Source

                      KafkaPipeWriterInfo

                      message KafkaPipeReaderInfo {
                      +  required string mode = 1 [default="append"];
                      +  optional string trigger = 2;
                      +  required string bootStrapServers = 3;
                      +  required string zooKeeperConnect = 4;
                      +  required string topic = 5;
                      +  required chechpointLocation: checkpoint file path
                      +  required bool failOnDataLoss = 7 [default = false];
                      +}
                      +
                    18. + + +

                      + + final + def + + + operate(df: DataFrame): (DataFrame) ⇒ StreamingQuery + +

                      + + Permalink + + +
                      Definition Classes
                      BasePipeWriter → BaseGenericPipeOperator → BaseGenericMutantOperator
                      +
                    19. + + +

                      + + + val + + + p: KafkaPipeWriterInfo + +

                      + + Permalink + + + +
                    20. + + +

                      + + + val + + + session: SparkSession + +

                      + + Permalink + + + +
                    21. + + +

                      + + + def + + + stop: Unit + +

                      + + Permalink + + +
                      Definition Classes
                      BasePipeWriter → BaseGenericPipeOperator → BaseGenericMutantOperator
                      +
                    22. + + +

                      + + final + def + + + synchronized[T0](arg0: ⇒ T0): T0 + +

                      + + Permalink + + +
                      Definition Classes
                      AnyRef
                      +
                    23. + + +

                      + + + def + + + toString(): String + +

                      + + Permalink + + +
                      Definition Classes
                      AnyRef → Any
                      +
                    24. + + +

                      + + final + def + + + wait(): Unit + +

                      + + Permalink + + +
                      Definition Classes
                      AnyRef
                      Annotations
                      + @throws( + + ... + ) + +
                      +
                    25. + + +

                      + + final + def + + + wait(arg0: Long, arg1: Int): Unit + +

                      + + Permalink + + +
                      Definition Classes
                      AnyRef
                      Annotations
                      + @throws( + + ... + ) + +
                      +
                    26. + + +

                      + + final + def + + + wait(arg0: Long): Unit + +

                      + + Permalink + + +
                      Definition Classes
                      AnyRef
                      Annotations
                      + @throws( + + ... + ) + +
                      +
                    27. + + +

                      + + + def + + + write(df: DataFrame): StreamingQuery + +

                      + + Permalink + + +
                      Definition Classes
                      KafkaPipeWriter → BasePipeWriter
                      +
                    +
                    + + + + +
                    + +
                    +
                    +

                    Inherited from BasePipeWriter[DataFrame, StreamingQuery, StreamPipeWriterInfo, SparkSession]

                    +
                    +

                    Inherited from BaseGenericPipeOperator[DataFrame, DataFrame, StreamingQuery, StreamPipeWriterInfo, SparkSession]

                    +
                    +

                    Inherited from BaseGenericMutantOperator[StreamPipeWriterInfo, DataFrame, (DataFrame) ⇒ StreamingQuery]

                    +
                    +

                    Inherited from BaseDoer

                    +
                    +

                    Inherited from Logging

                    +
                    +

                    Inherited from Serializable

                    +
                    +

                    Inherited from Serializable

                    +
                    +

                    Inherited from AnyRef

                    +
                    +

                    Inherited from Any

                    +
                    + +
                    + +
                    +
                    +

                    Ungrouped

                    + +
                    +
                    + +
                    + +
                    + + + + + + diff --git a/manual1903/api_reference/component-pipe/scaladocs/ksb/csle/component/pipe/stream/writer/MemoryPipeWriter.html b/manual1903/api_reference/component-pipe/scaladocs/ksb/csle/component/pipe/stream/writer/MemoryPipeWriter.html new file mode 100644 index 0000000000000000000000000000000000000000..43d6bb5a2ac20bbcd54975248669b272a1038bbc --- /dev/null +++ b/manual1903/api_reference/component-pipe/scaladocs/ksb/csle/component/pipe/stream/writer/MemoryPipeWriter.html @@ -0,0 +1,669 @@ + + + + MemoryPipeWriter - KSB COMPONENT-PIPE Scala App Project 1.0-SNAPSHOT API - ksb.csle.component.pipe.stream.writer.MemoryPipeWriter + + + + + + + + + + + + + + + +
                    + Class +

                    ksb.csle.component.pipe.stream.writer

                    +

                    MemoryPipeWriter

                    Related Doc: + package writer +

                    + + Permalink + + +
                    + +

                    + + + class + + + MemoryPipeWriter extends BasePipeWriter[DataFrame, StreamingQuery, StreamPipeWriterInfo, SparkSession] + +

                    + +

                    :: Experimental ::

                    Writer that writes streaming data to in-memory. +

                    + Linear Supertypes +
                    BasePipeWriter[DataFrame, StreamingQuery, StreamPipeWriterInfo, SparkSession], BaseGenericPipeOperator[DataFrame, DataFrame, StreamingQuery, StreamPipeWriterInfo, SparkSession], BaseGenericMutantOperator[StreamPipeWriterInfo, DataFrame, (DataFrame) ⇒ StreamingQuery], BaseDoer, Logging, Serializable, Serializable, AnyRef, Any
                    +
                    + + +
                    +
                    +
                    + Ordering +
                      + +
                    1. Alphabetic
                    2. +
                    3. By Inheritance
                    4. +
                    +
                    +
                    + Inherited
                    +
                    +
                      +
                    1. MemoryPipeWriter
                    2. BasePipeWriter
                    3. BaseGenericPipeOperator
                    4. BaseGenericMutantOperator
                    5. BaseDoer
                    6. Logging
                    7. Serializable
                    8. Serializable
                    9. AnyRef
                    10. Any
                    11. +
                    +
                    + +
                      +
                    1. Hide All
                    2. +
                    3. Show All
                    4. +
                    +
                    +
                    + Visibility +
                    1. Public
                    2. All
                    +
                    +
                    + +
                    +
                    +
                    +

                    Instance Constructors

                    +
                    1. + + +

                      + + + new + + + MemoryPipeWriter(o: StreamPipeWriterInfo, session: SparkSession) + +

                      + + Permalink + + +

                      o

                      Object that contains message + ksb.csle.common.proto.DatasourceProto.MemoryPipeWriter + MemoryPipeWriter contains followed attributes:

                      • mode: Write mode such as append, update, and complete
                      • trigger: triggering interval
                      • tableName: table name in in-memory cache

                      MemoryPipeWriterInfo

                      message MemoryPipeWriterInfo {
                      + required string mode = 1 [default="append"];
                      + required string trigger = 2;
                      + required string tableName = 3;
                      + }
                      +
                    +
                    + + + + + +
                    +

                    Value Members

                    +
                    1. + + +

                      + + final + def + + + !=(arg0: Any): Boolean + +

                      + + Permalink + + +
                      Definition Classes
                      AnyRef → Any
                      +
                    2. + + +

                      + + final + def + + + ##(): Int + +

                      + + Permalink + + +
                      Definition Classes
                      AnyRef → Any
                      +
                    3. + + +

                      + + final + def + + + ==(arg0: Any): Boolean + +

                      + + Permalink + + +
                      Definition Classes
                      AnyRef → Any
                      +
                    4. + + +

                      + + final + def + + + asInstanceOf[T0]: T0 + +

                      + + Permalink + + +
                      Definition Classes
                      Any
                      +
                    5. + + +

                      + + + def + + + clone(): AnyRef + +

                      + + Permalink + + +
                      Attributes
                      protected[java.lang]
                      Definition Classes
                      AnyRef
                      Annotations
                      + @throws( + + ... + ) + +
                      +
                    6. + + +

                      + + + def + + + close: Unit + +

                      + + Permalink + + +
                      Definition Classes
                      MemoryPipeWriter → BasePipeWriter
                      +
                    7. + + +

                      + + final + def + + + eq(arg0: AnyRef): Boolean + +

                      + + Permalink + + +
                      Definition Classes
                      AnyRef
                      +
                    8. + + +

                      + + + def + + + equals(arg0: Any): Boolean + +

                      + + Permalink + + +
                      Definition Classes
                      AnyRef → Any
                      +
                    9. + + +

                      + + + def + + + finalize(): Unit + +

                      + + Permalink + + +
                      Attributes
                      protected[java.lang]
                      Definition Classes
                      AnyRef
                      Annotations
                      + @throws( + + classOf[java.lang.Throwable] + ) + +
                      +
                    10. + + +

                      + + final + def + + + getClass(): Class[_] + +

                      + + Permalink + + +
                      Definition Classes
                      AnyRef → Any
                      +
                    11. + + +

                      + + + def + + + hashCode(): Int + +

                      + + Permalink + + +
                      Definition Classes
                      AnyRef → Any
                      +
                    12. + + +

                      + + final + def + + + isInstanceOf[T0]: Boolean + +

                      + + Permalink + + +
                      Definition Classes
                      Any
                      +
                    13. + + +

                      + + + val + + + logger: Logger + +

                      + + Permalink + + +
                      Attributes
                      protected
                      Definition Classes
                      Logging
                      +
                    14. + + +

                      + + final + def + + + ne(arg0: AnyRef): Boolean + +

                      + + Permalink + + +
                      Definition Classes
                      AnyRef
                      +
                    15. + + +

                      + + final + def + + + notify(): Unit + +

                      + + Permalink + + +
                      Definition Classes
                      AnyRef
                      +
                    16. + + +

                      + + final + def + + + notifyAll(): Unit + +

                      + + Permalink + + +
                      Definition Classes
                      AnyRef
                      +
                    17. + + +

                      + + + val + + + o: StreamPipeWriterInfo + +

                      + + Permalink + + +

                      Object that contains message + ksb.csle.common.proto.DatasourceProto.MemoryPipeWriter + MemoryPipeWriter contains followed attributes:

                      Object that contains message + ksb.csle.common.proto.DatasourceProto.MemoryPipeWriter + MemoryPipeWriter contains followed attributes:

                      • mode: Write mode such as append, update, and complete
                      • trigger: triggering interval
                      • tableName: table name in in-memory cache

                      MemoryPipeWriterInfo

                      message MemoryPipeWriterInfo {
                      + required string mode = 1 [default="append"];
                      + required string trigger = 2;
                      + required string tableName = 3;
                      + }
                      +
                    18. + + +

                      + + final + def + + + operate(df: DataFrame): (DataFrame) ⇒ StreamingQuery + +

                      + + Permalink + + +
                      Definition Classes
                      BasePipeWriter → BaseGenericPipeOperator → BaseGenericMutantOperator
                      +
                    19. + + +

                      + + + val + + + p: MemoryPipeWriterInfo + +

                      + + Permalink + + + +
                    20. + + +

                      + + + val + + + session: SparkSession + +

                      + + Permalink + + + +
                    21. + + +

                      + + + def + + + stop: Unit + +

                      + + Permalink + + +
                      Definition Classes
                      BasePipeWriter → BaseGenericPipeOperator → BaseGenericMutantOperator
                      +
                    22. + + +

                      + + final + def + + + synchronized[T0](arg0: ⇒ T0): T0 + +

                      + + Permalink + + +
                      Definition Classes
                      AnyRef
                      +
                    23. + + +

                      + + + def + + + toString(): String + +

                      + + Permalink + + +
                      Definition Classes
                      AnyRef → Any
                      +
                    24. + + +

                      + + final + def + + + wait(): Unit + +

                      + + Permalink + + +
                      Definition Classes
                      AnyRef
                      Annotations
                      + @throws( + + ... + ) + +
                      +
                    25. + + +

                      + + final + def + + + wait(arg0: Long, arg1: Int): Unit + +

                      + + Permalink + + +
                      Definition Classes
                      AnyRef
                      Annotations
                      + @throws( + + ... + ) + +
                      +
                    26. + + +

                      + + final + def + + + wait(arg0: Long): Unit + +

                      + + Permalink + + +
                      Definition Classes
                      AnyRef
                      Annotations
                      + @throws( + + ... + ) + +
                      +
                    27. + + +

                      + + + def + + + write(df: DataFrame): StreamingQuery + +

                      + + Permalink + + +

                      Writes dataframe to memory +

                      Writes dataframe to memory +

                      df

                      Dataframe to write

                      returns

                      handle StreamingQuery

                      Definition Classes
                      MemoryPipeWriter → BasePipeWriter
                      +
                    +
                    + + + + +
                    + +
                    +
                    +

                    Inherited from BasePipeWriter[DataFrame, StreamingQuery, StreamPipeWriterInfo, SparkSession]

                    +
                    +

                    Inherited from BaseGenericPipeOperator[DataFrame, DataFrame, StreamingQuery, StreamPipeWriterInfo, SparkSession]

                    +
                    +

                    Inherited from BaseGenericMutantOperator[StreamPipeWriterInfo, DataFrame, (DataFrame) ⇒ StreamingQuery]

                    +
                    +

                    Inherited from BaseDoer

                    +
                    +

                    Inherited from Logging

                    +
                    +

                    Inherited from Serializable

                    +
                    +

                    Inherited from Serializable

                    +
                    +

                    Inherited from AnyRef

                    +
                    +

                    Inherited from Any

                    +
                    + +
                    + +
                    +
                    +

                    Ungrouped

                    + +
                    +
                    + +
                    + +
                    + + + + + + diff --git a/manual1903/api_reference/component-pipe/scaladocs/ksb/csle/component/pipe/stream/writer/package.html b/manual1903/api_reference/component-pipe/scaladocs/ksb/csle/component/pipe/stream/writer/package.html new file mode 100644 index 0000000000000000000000000000000000000000..04222940e0859beda5cea3c82cf57f7ad82ec5a5 --- /dev/null +++ b/manual1903/api_reference/component-pipe/scaladocs/ksb/csle/component/pipe/stream/writer/package.html @@ -0,0 +1,191 @@ + + + + writer - KSB COMPONENT-PIPE Scala App Project 1.0-SNAPSHOT API - ksb.csle.component.pipe.stream.writer + + + + + + + + + + + + + + + +
                    + Package +

                    ksb.csle.component.pipe.stream

                    +

                    writer

                    + + Permalink + + +
                    + +

                    + + + package + + + writer + +

                    + +
                    + + +
                    +
                    + + +
                    + Visibility +
                    1. Public
                    2. All
                    +
                    +
                    + +
                    +
                    + + +
                    +

                    Type Members

                    +
                    1. + + +

                      + + + class + + + ConsolePipeWriter extends BasePipeWriter[DataFrame, StreamingQuery, StreamPipeWriterInfo, SparkSession] + +

                      + + Permalink + + +

                      :: Experimental ::

                      :: Experimental ::

                      Writer that saves DataFrame to a file. +

                      +
                    2. + + +

                      + + + class + + + FilePipeWriter extends BasePipeWriter[DataFrame, StreamingQuery, StreamPipeWriterInfo, SparkSession] + +

                      + + Permalink + + +

                      :: ApplicationDeveloperApi ::

                      :: ApplicationDeveloperApi ::

                      Writer that saves DataFrame to a file. +

                      +
                    3. + + +

                      + + + class + + + HBasePipeWriter extends BasePipeWriter[DataFrame, StreamingQuery, StreamPipeWriterInfo, SparkSession] + +

                      + + Permalink + + +

                      :: Experimental ::

                      :: Experimental ::

                      Writer that writes streaming data to HBase. +

                      +
                    4. + + +

                      + + + class + + + KafkaPipeWriter extends BasePipeWriter[DataFrame, StreamingQuery, StreamPipeWriterInfo, SparkSession] + +

                      + + Permalink + + +

                      :: ApplicationDeveloperApi ::

                      :: ApplicationDeveloperApi ::

                      Writer that writes datafrom to kafka. +

                      +
                    5. + + +

                      + + + class + + + MemoryPipeWriter extends BasePipeWriter[DataFrame, StreamingQuery, StreamPipeWriterInfo, SparkSession] + +

                      + + Permalink + + +

                      :: Experimental ::

                      :: Experimental ::

                      Writer that writes streaming data to in-memory. +

                      +
                    +
                    + + + + + + + + +
                    + +
                    + + +
                    + +
                    +
                    +

                    Ungrouped

                    + +
                    +
                    + +
                    + +
                    + + + + + + diff --git a/manual1903/api_reference/component-pipe/scaladocs/ksb/csle/package.html b/manual1903/api_reference/component-pipe/scaladocs/ksb/csle/package.html new file mode 100644 index 0000000000000000000000000000000000000000..415aaaf99a3a722f16e418bebf79a71f6806e7b2 --- /dev/null +++ b/manual1903/api_reference/component-pipe/scaladocs/ksb/csle/package.html @@ -0,0 +1,118 @@ + + + + csle - KSB COMPONENT-PIPE Scala App Project 1.0-SNAPSHOT API - ksb.csle + + + + + + + + + + + + + + + +
                    + Package +

                    ksb

                    +

                    csle

                    + + Permalink + + +
                    + +

                    + + + package + + + csle + +

                    + +
                    + + +
                    +
                    + + +
                    + Visibility +
                    1. Public
                    2. All
                    +
                    +
                    + +
                    +
                    + + + + + + +
                    +

                    Value Members

                    +
                    1. + + +

                      + + + package + + + component + +

                      + + Permalink + + + +
                    +
                    + + + + +
                    + +
                    + + +
                    + +
                    +
                    +

                    Ungrouped

                    + +
                    +
                    + +
                    + +
                    + + + + + + diff --git a/manual1903/api_reference/component-pipe/scaladocs/ksb/package.html b/manual1903/api_reference/component-pipe/scaladocs/ksb/package.html new file mode 100644 index 0000000000000000000000000000000000000000..594d65345e0a09f76977374a8dfda81c99021b9d --- /dev/null +++ b/manual1903/api_reference/component-pipe/scaladocs/ksb/package.html @@ -0,0 +1,118 @@ + + + + ksb - KSB COMPONENT-PIPE Scala App Project 1.0-SNAPSHOT API - ksb + + + + + + + + + + + + + + + +
                    + Package + +

                    ksb

                    + + Permalink + + +
                    + +

                    + + + package + + + ksb + +

                    + +
                    + + +
                    +
                    + + +
                    + Visibility +
                    1. Public
                    2. All
                    +
                    +
                    + +
                    +
                    + + + + + + +
                    +

                    Value Members

                    +
                    1. + + +

                      + + + package + + + csle + +

                      + + Permalink + + + +
                    +
                    + + + + +
                    + +
                    + + +
                    + +
                    +
                    +

                    Ungrouped

                    + +
                    +
                    + +
                    + +
                    + + + + + + diff --git a/manual1903/api_reference/component-pipe/scaladocs/lib/arrow-down.png b/manual1903/api_reference/component-pipe/scaladocs/lib/arrow-down.png new file mode 100644 index 0000000000000000000000000000000000000000..7229603ae5b30ce0e0bd09863543b260085c8f2d Binary files /dev/null and b/manual1903/api_reference/component-pipe/scaladocs/lib/arrow-down.png differ diff --git a/manual1903/api_reference/component-pipe/scaladocs/lib/arrow-right.png b/manual1903/api_reference/component-pipe/scaladocs/lib/arrow-right.png new file mode 100644 index 0000000000000000000000000000000000000000..b2f2935dc9be286841e9ae586a78551ed13617b7 Binary files /dev/null and b/manual1903/api_reference/component-pipe/scaladocs/lib/arrow-right.png differ diff --git a/manual1903/api_reference/component-pipe/scaladocs/lib/class.png b/manual1903/api_reference/component-pipe/scaladocs/lib/class.png new file mode 100644 index 0000000000000000000000000000000000000000..97edbd49db03f5a728c0ce855e6dd30fb869ebb3 Binary files /dev/null and b/manual1903/api_reference/component-pipe/scaladocs/lib/class.png differ diff --git a/manual1903/api_reference/component-pipe/scaladocs/lib/class_big.png b/manual1903/api_reference/component-pipe/scaladocs/lib/class_big.png new file mode 100644 index 0000000000000000000000000000000000000000..cb1f638a585c50456f57b73c4d043c75762ff9a5 Binary files /dev/null and b/manual1903/api_reference/component-pipe/scaladocs/lib/class_big.png differ diff --git a/manual1903/api_reference/component-pipe/scaladocs/lib/class_diagram.png b/manual1903/api_reference/component-pipe/scaladocs/lib/class_diagram.png new file mode 100644 index 0000000000000000000000000000000000000000..9d7aec792bebaea124455ad1918fbf0a7c1fc9a1 Binary files /dev/null and b/manual1903/api_reference/component-pipe/scaladocs/lib/class_diagram.png differ diff --git a/manual1903/api_reference/component-pipe/scaladocs/lib/class_to_object_big.png b/manual1903/api_reference/component-pipe/scaladocs/lib/class_to_object_big.png new file mode 100644 index 0000000000000000000000000000000000000000..5dd6e38d2e24ce832413d1a3e83deac76861f471 Binary files /dev/null and b/manual1903/api_reference/component-pipe/scaladocs/lib/class_to_object_big.png differ diff --git a/manual1903/api_reference/component-pipe/scaladocs/lib/constructorsbg.gif b/manual1903/api_reference/component-pipe/scaladocs/lib/constructorsbg.gif new file mode 100644 index 0000000000000000000000000000000000000000..2e3f5ea53025f68e2636f9c65e5115a3aa1bb581 Binary files /dev/null and b/manual1903/api_reference/component-pipe/scaladocs/lib/constructorsbg.gif differ diff --git a/manual1903/api_reference/component-pipe/scaladocs/lib/conversionbg.gif b/manual1903/api_reference/component-pipe/scaladocs/lib/conversionbg.gif new file mode 100644 index 0000000000000000000000000000000000000000..4be145d0af89d312ff04a6bd6efefd5106fd31ee Binary files /dev/null and b/manual1903/api_reference/component-pipe/scaladocs/lib/conversionbg.gif differ diff --git a/manual1903/api_reference/component-pipe/scaladocs/lib/defbg-blue.gif b/manual1903/api_reference/component-pipe/scaladocs/lib/defbg-blue.gif new file mode 100644 index 0000000000000000000000000000000000000000..69038337a793be5ec04430183980b7e393113ea1 Binary files /dev/null and b/manual1903/api_reference/component-pipe/scaladocs/lib/defbg-blue.gif differ diff --git a/manual1903/api_reference/component-pipe/scaladocs/lib/defbg-green.gif b/manual1903/api_reference/component-pipe/scaladocs/lib/defbg-green.gif new file mode 100644 index 0000000000000000000000000000000000000000..36c43be3a2c67992ce648a7bdf008d818d7fc0b6 Binary files /dev/null and b/manual1903/api_reference/component-pipe/scaladocs/lib/defbg-green.gif differ diff --git a/manual1903/api_reference/component-pipe/scaladocs/lib/diagrams.css b/manual1903/api_reference/component-pipe/scaladocs/lib/diagrams.css new file mode 100644 index 0000000000000000000000000000000000000000..5fe33f72f5bb4f3ad30465f435b72cbb12e639f9 --- /dev/null +++ b/manual1903/api_reference/component-pipe/scaladocs/lib/diagrams.css @@ -0,0 +1,143 @@ +.diagram-container +{ + display: none; +} + +.diagram +{ + overflow: hidden; + padding-top:15px; +} + +.diagram svg +{ + display: block; + position: absolute; + visibility: hidden; + margin: auto; +} + +.diagram-help +{ + float:right; + display:none; +} + +.magnifying +{ + cursor: -webkit-zoom-in ! important; + cursor: -moz-zoom-in ! important; + cursor: pointer; +} + +#close-link +{ + position: absolute; + z-index: 100; + font-family: Arial, sans-serif; + font-size: 10pt; + text-decoration: underline; + color: #315479; +} + +#close:hover +{ + text-decoration: none; +} + +svg a +{ + cursor:pointer; +} + +svg text +{ + font-size: 10px; +} + +/* try to move the node text 1px in order to be vertically + centered (does not work in all browsers) */ +svg .node text +{ + transform: translate(0px,1px); + -ms-transform: translate(0px,1px); + -webkit-transform: translate(0px,1px); + -o-transform: translate(0px,1px); + -moz-transform: translate(0px,1px); +} + +/* hover effect for edges */ + +svg .edge.over text, +svg .edge.implicit-incoming.over polygon, +svg .edge.implicit-outgoing.over polygon +{ + fill: #202020; +} + +svg .edge.over path, +svg .edge.over polygon +{ + stroke: #202020; +} + +/* hover effect for nodes in class diagrams */ + +svg.class-diagram .node +{ + opacity: 0.75; +} + +svg.class-diagram .node.this +{ + opacity: 1.0; +} + +svg.class-diagram .node.over +{ + opacity: 1.0; +} + +svg .node.over polygon +{ + stroke: #202020; +} + +/* hover effect for nodes in package diagrams */ + +svg.package-diagram .node.class.over polygon, +svg.class-diagram .node.this.class.over polygon +{ + fill: #098552; + fill: #04663e; +} + +svg.package-diagram .node.trait.over polygon, +svg.class-diagram .node.this.trait.over polygon +{ + fill: #3c7b9b; + fill: #235d7b; +} + +svg.package-diagram .node.type.over polygon, +svg.class-diagram .node.this.type.over polygon +{ + fill: #098552; + fill: #04663e; +} + + +svg.package-diagram .node.object.over polygon +{ + fill: #183377; +} + +svg.package-diagram .node.outside.over polygon +{ + fill: #d4d4d4; +} + +svg.package-diagram .node.default.over polygon +{ + fill: #d4d4d4; +} diff --git a/manual1903/api_reference/component-pipe/scaladocs/lib/diagrams.js b/manual1903/api_reference/component-pipe/scaladocs/lib/diagrams.js new file mode 100644 index 0000000000000000000000000000000000000000..680ead7a593d21f926fb2587c990d79405c0a3d1 --- /dev/null +++ b/manual1903/api_reference/component-pipe/scaladocs/lib/diagrams.js @@ -0,0 +1,324 @@ +/** + * JavaScript functions enhancing the SVG diagrams. + * + * @author Damien Obrist + */ + +var diagrams = {}; + +/** + * Initializes the diagrams in the main window. + */ +$(document).ready(function() +{ + // hide diagrams in browsers not supporting SVG + if(Modernizr && !Modernizr.inlinesvg) + return; + + // only execute this in the main window + if(diagrams.isPopup) + return; + + if($("#content-diagram").length) + $("#inheritance-diagram").css("padding-bottom", "20px"); + + $(".diagram-container").css("display", "block"); + + $(".diagram").each(function() { + // store initial dimensions + $(this).data("width", $("svg", $(this)).width()); + $(this).data("height", $("svg", $(this)).height()); + // store unscaled clone of SVG element + $(this).data("svg", $(this).get(0).childNodes[0].cloneNode(true)); + }); + + // make diagram visible, hide container + $(".diagram").css("display", "none"); + $(".diagram svg").css({ + "position": "static", + "visibility": "visible", + "z-index": "auto" + }); + + // enable linking to diagrams + if($(location).attr("hash") == "#inheritance-diagram") { + diagrams.toggle($("#inheritance-diagram-container"), true); + } else if($(location).attr("hash") == "#content-diagram") { + diagrams.toggle($("#content-diagram-container"), true); + } + + $(".diagram-link").click(function() { + diagrams.toggle($(this).parent()); + }); + + // register resize function + $(window).resize(diagrams.resize); + + // don't bubble event to parent div + // when clicking on a node of a resized + // diagram + $("svg a").click(function(e) { + e.stopPropagation(); + }); + + diagrams.initHighlighting(); +}); + +/** + * Initializes the diagrams in the popup. + */ +diagrams.initPopup = function(id) +{ + // copy diagram from main window + if(!jQuery.browser.msie) + $("body").append(opener.$("#" + id).data("svg")); + + // positioning + $("svg").css("position", "absolute"); + $(window).resize(function() + { + var svg_w = $("svg").css("width").replace("px", ""); + var svg_h = $("svg").css("height").replace("px", ""); + var x = $(window).width() / 2 - svg_w / 2; + if(x < 0) x = 0; + var y = $(window).height() / 2 - svg_h / 2; + if(y < 0) y = 0; + $("svg").css("left", x + "px"); + $("svg").css("top", y + "px"); + }); + $(window).resize(); + + diagrams.initHighlighting(); + $("svg a").click(function(e) { + opener.diagrams.redirectFromPopup(this.href.baseVal); + window.close(); + }); + $(document).keyup(function(e) { + if (e.keyCode == 27) window.close(); + }); +} + +/** + * Initializes highlighting for nodes and edges. + */ +diagrams.initHighlighting = function() +{ + // helper function since $.hover doesn't work in IE + + function hover(elements, fn) + { + elements.mouseover(fn); + elements.mouseout(fn); + } + + // inheritance edges + + hover($("svg .edge.inheritance"), function(evt){ + var toggleClass = evt.type == "mouseout" ? diagrams.removeClass : diagrams.addClass; + var parts = $(this).attr("id").split("_"); + toggleClass($("#" + parts[0] + "_" + parts[1])); + toggleClass($("#" + parts[0] + "_" + parts[2])); + toggleClass($(this)); + }); + + // nodes + + hover($("svg .node"), function(evt){ + var toggleClass = evt.type == "mouseout" ? diagrams.removeClass : diagrams.addClass; + toggleClass($(this)); + var parts = $(this).attr("id").split("_"); + var index = parts[1]; + $("svg#" + parts[0] + " .edge.inheritance").each(function(){ + var parts2 = $(this).attr("id").split("_"); + if(parts2[1] == index) + { + toggleClass($("#" + parts2[0] + "_" + parts2[2])); + toggleClass($(this)); + } else if(parts2[2] == index) + { + toggleClass($("#" + parts2[0] + "_" + parts2[1])); + toggleClass($(this)); + } + }); + }); + + // incoming implicits + + hover($("svg .node.implicit-incoming"), function(evt){ + var toggleClass = evt.type == "mouseout" ? diagrams.removeClass : diagrams.addClass; + toggleClass($(this)); + toggleClass($("svg .edge.implicit-incoming")); + toggleClass($("svg .node.this")); + }); + + hover($("svg .edge.implicit-incoming"), function(evt){ + var toggleClass = evt.type == "mouseout" ? diagrams.removeClass : diagrams.addClass; + toggleClass($(this)); + toggleClass($("svg .node.this")); + $("svg .node.implicit-incoming").each(function(){ + toggleClass($(this)); + }); + }); + + // implicit outgoing nodes + + hover($("svg .node.implicit-outgoing"), function(evt){ + var toggleClass = evt.type == "mouseout" ? diagrams.removeClass : diagrams.addClass; + toggleClass($(this)); + toggleClass($("svg .edge.implicit-outgoing")); + toggleClass($("svg .node.this")); + }); + + hover($("svg .edge.implicit-outgoing"), function(evt){ + var toggleClass = evt.type == "mouseout" ? diagrams.removeClass : diagrams.addClass; + toggleClass($(this)); + toggleClass($("svg .node.this")); + $("svg .node.implicit-outgoing").each(function(){ + toggleClass($(this)); + }); + }); +}; + +/** + * Resizes the diagrams according to the available width. + */ +diagrams.resize = function() +{ + // available width + var availableWidth = $("body").width() - 20; + + $(".diagram-container").each(function() { + // unregister click event on whole div + $(".diagram", this).unbind("click"); + var diagramWidth = $(".diagram", this).data("width"); + var diagramHeight = $(".diagram", this).data("height"); + + if(diagramWidth > availableWidth) + { + // resize diagram + var height = diagramHeight / diagramWidth * availableWidth; + $(".diagram svg", this).width(availableWidth); + $(".diagram svg", this).height(height); + + // register click event on whole div + $(".diagram", this).click(function() { + diagrams.popup($(this)); + }); + $(".diagram", this).addClass("magnifying"); + } + else + { + // restore full size of diagram + $(".diagram svg", this).width(diagramWidth); + $(".diagram svg", this).height(diagramHeight); + // don't show custom cursor any more + $(".diagram", this).removeClass("magnifying"); + } + }); +}; + +/** + * Shows or hides a diagram depending on its current state. + */ +diagrams.toggle = function(container, dontAnimate) +{ + // change class of link + $(".diagram-link", container).toggleClass("open"); + // get element to show / hide + var div = $(".diagram", container); + if (div.is(':visible')) + { + $(".diagram-help", container).hide(); + div.unbind("click"); + div.removeClass("magnifying"); + div.slideUp(100); + } + else + { + diagrams.resize(); + if(dontAnimate) + div.show(); + else + div.slideDown(100); + $(".diagram-help", container).show(); + } +}; + +/** + * Opens a popup containing a copy of a diagram. + */ +diagrams.windows = {}; +diagrams.popup = function(diagram) +{ + var id = diagram.attr("id"); + if(!diagrams.windows[id] || diagrams.windows[id].closed) { + var title = $(".symbol .name", $("#signature")).text(); + // cloning from parent window to popup somehow doesn't work in IE + // therefore include the SVG as a string into the HTML + var svgIE = jQuery.browser.msie ? $("
                    ").append(diagram.data("svg")).html() : ""; + var html = '' + + '\n' + + '\n' + + '\n' + + ' \n' + + ' ' + title + '\n' + + ' \n' + + ' \n' + + ' \n' + + ' \n' + + ' \n' + + ' \n' + + ' Close this window\n' + + ' ' + svgIE + '\n' + + ' \n' + + ''; + + var padding = 30; + var screenHeight = screen.availHeight; + var screenWidth = screen.availWidth; + var w = Math.min(screenWidth, diagram.data("width") + 2 * padding); + var h = Math.min(screenHeight, diagram.data("height") + 2 * padding); + var left = (screenWidth - w) / 2; + var top = (screenHeight - h) / 2; + var parameters = "height=" + h + ", width=" + w + ", left=" + left + ", top=" + top + ", scrollbars=yes, location=no, resizable=yes"; + var win = window.open("about:blank", "_blank", parameters); + win.document.open(); + win.document.write(html); + win.document.close(); + diagrams.windows[id] = win; + } + win.focus(); +}; + +/** + * This method is called from within the popup when a node is clicked. + */ +diagrams.redirectFromPopup = function(url) +{ + window.location = url; +}; + +/** + * Helper method that adds a class to a SVG element. + */ +diagrams.addClass = function(svgElem, newClass) { + newClass = newClass || "over"; + var classes = svgElem.attr("class"); + if ($.inArray(newClass, classes.split(/\s+/)) == -1) { + classes += (classes ? ' ' : '') + newClass; + svgElem.attr("class", classes); + } +}; + +/** + * Helper method that removes a class from a SVG element. + */ +diagrams.removeClass = function(svgElem, oldClass) { + oldClass = oldClass || "over"; + var classes = svgElem.attr("class"); + classes = $.grep(classes.split(/\s+/), function(n, i) { return n != oldClass; }).join(' '); + svgElem.attr("class", classes); +}; + diff --git a/manual1903/api_reference/component-pipe/scaladocs/lib/filter_box_left.png b/manual1903/api_reference/component-pipe/scaladocs/lib/filter_box_left.png new file mode 100644 index 0000000000000000000000000000000000000000..0e8c893315e7955b02474d3a544b9145aafb15b2 Binary files /dev/null and b/manual1903/api_reference/component-pipe/scaladocs/lib/filter_box_left.png differ diff --git a/manual1903/api_reference/component-pipe/scaladocs/lib/filter_box_left2.gif b/manual1903/api_reference/component-pipe/scaladocs/lib/filter_box_left2.gif new file mode 100644 index 0000000000000000000000000000000000000000..b9b49076a6410112fd18b370bc661154bbab8f80 Binary files /dev/null and b/manual1903/api_reference/component-pipe/scaladocs/lib/filter_box_left2.gif differ diff --git a/manual1903/api_reference/component-pipe/scaladocs/lib/filter_box_right.png b/manual1903/api_reference/component-pipe/scaladocs/lib/filter_box_right.png new file mode 100644 index 0000000000000000000000000000000000000000..f127e35b48d39bd048fea2a8e98dd68fb5984601 Binary files /dev/null and b/manual1903/api_reference/component-pipe/scaladocs/lib/filter_box_right.png differ diff --git a/manual1903/api_reference/component-pipe/scaladocs/lib/filterbg.gif b/manual1903/api_reference/component-pipe/scaladocs/lib/filterbg.gif new file mode 100644 index 0000000000000000000000000000000000000000..542ba4aa5a59c8753bfdaa2fa1db8db0bb452d25 Binary files /dev/null and b/manual1903/api_reference/component-pipe/scaladocs/lib/filterbg.gif differ diff --git a/manual1903/api_reference/component-pipe/scaladocs/lib/filterboxbarbg.gif b/manual1903/api_reference/component-pipe/scaladocs/lib/filterboxbarbg.gif new file mode 100644 index 0000000000000000000000000000000000000000..b5075c16cd8c70fca9e2acf29e3cc6cd462517ea Binary files /dev/null and b/manual1903/api_reference/component-pipe/scaladocs/lib/filterboxbarbg.gif differ diff --git a/manual1903/api_reference/component-pipe/scaladocs/lib/filterboxbarbg.png b/manual1903/api_reference/component-pipe/scaladocs/lib/filterboxbarbg.png new file mode 100644 index 0000000000000000000000000000000000000000..d613cf5633954d02ef3260288c8429608bc72b86 Binary files /dev/null and b/manual1903/api_reference/component-pipe/scaladocs/lib/filterboxbarbg.png differ diff --git a/manual1903/api_reference/component-pipe/scaladocs/lib/filterboxbg.gif b/manual1903/api_reference/component-pipe/scaladocs/lib/filterboxbg.gif new file mode 100644 index 0000000000000000000000000000000000000000..ae2f85823bbbd77d85a28d8348bfd75a1ec626ba Binary files /dev/null and b/manual1903/api_reference/component-pipe/scaladocs/lib/filterboxbg.gif differ diff --git a/manual1903/api_reference/component-pipe/scaladocs/lib/fullcommenttopbg.gif b/manual1903/api_reference/component-pipe/scaladocs/lib/fullcommenttopbg.gif new file mode 100644 index 0000000000000000000000000000000000000000..a0d93f4844ef407432e0984a2c1cc58b0707e0d9 Binary files /dev/null and b/manual1903/api_reference/component-pipe/scaladocs/lib/fullcommenttopbg.gif differ diff --git a/manual1903/api_reference/component-pipe/scaladocs/lib/index.css b/manual1903/api_reference/component-pipe/scaladocs/lib/index.css new file mode 100644 index 0000000000000000000000000000000000000000..3e352a95b3a935332bdf1cc25a1115cc01ccffbb --- /dev/null +++ b/manual1903/api_reference/component-pipe/scaladocs/lib/index.css @@ -0,0 +1,339 @@ +* { + color: inherit; + font-size: 10pt; + text-decoration: none; + font-family: Arial, sans-serif; + border-width: 0px; + padding: 0px; + margin: 0px; +} + +a { + cursor: pointer; +} + +a:hover { + text-decoration: underline; +} + +h1 { + display: none; +} + +.selected { + -moz-box-shadow: inset 0px 5px 10px rgba(58, 88, 97, .36); + -webkit-box-shadow: inset 0px 5px 10px rgba(58, 88, 97, .36); + border-top: solid 1px rgba(119, 138, 153, 0.8); + border-bottom: solid 1px rgba(151, 173, 191, 0.4); + background-color: #ced2d9; + margin: -1px 0px; +} + +/*.letters { + font-family: monospace; + font-size: 2pt; + padding: 5px; + background-color: #DADADA; + text-shadow: #ffffff 0 1px 0; +}*/ + +#library { + display: none; +} + +#browser { + top: 0px; + left: 0px; + bottom: 0px; + width: 100%; + display: block; + position: fixed; +} + +#filter { + position: absolute; + display: block; +/* padding: 5px;*/ + right: 0; + left: 0; + top: 0; + background-image:url('filterbg.gif'); + background-repeat:repeat-x; + background-color: #ededee; /* light gray */ + /*background-color: #DADADA;*/ + border:1px solid #bbbbbb; + border-top:0; + border-left:0; + border-right:0; +} + +#textfilter { + position: relative; + display: block; + height: 20px; + margin-top: 5px; + margin-bottom: 5px; +} + +#textfilter > .pre { + display: block; + position: absolute; + top: 0; + left: 0; + height: 23px; + width: 21px; + background: url("filter_box_left.png"); +} + +#textfilter > .input { + display: block; + position: absolute; + top: 0; + right: 20px; + left: 20px; +} + +#textfilter > .input > input { + height: 20px; + padding: 1px; + font-weight: bold; + color: #000000; + background: #ffffff url("filterboxbarbg.png") repeat-x bottom left; + width: 100%; +} + +#textfilter > .post { + display: block; + position: absolute; + top: 0; + right: 0; + height: 23px; + width: 21px; + background: url("filter_box_right.png"); +} + +/*#textfilter { + position: relative; + display: block; + height: 20px; + margin-bottom: 5px; +} + +#textfilter > .pre { + display: block; + position: absolute; + top: 0; + left: 0; + height: 20px; + width: 20px; + background: url("filter_box_left.png"); +} + +#textfilter > .input { + display: block; + position: absolute; + top: 0; + right: 20px; + left: 20px; +} + +#textfilter > .input > input { + height: 16px; + padding: 2px; + font-weight: bold; + color: darkblue; + background-color: white; + width: 100%; +} + +#textfilter > .post { + display: block; + position: absolute; + top: 0; + right: 0; + height: 20px; + width: 20px; + background: url("filter_box_right.png"); +}*/ + +#focusfilter { + position: relative; + text-align: center; + display: block; + padding: 5px; + background-color: #fffebd; /* light yellow*/ + text-shadow: #ffffff 0 1px 0; +} + +#focusfilter .focuscoll { + font-weight: bold; + text-shadow: #ffffff 0 1px 0; +} + +#focusfilter img { + bottom: -2px; + position: relative; +} + +#kindfilter { + position: relative; + display: block; + padding: 5px; +/* background-color: #999;*/ + text-align: center; +} + +#kindfilter > a { + color: black; +/* text-decoration: underline;*/ + text-shadow: #ffffff 0 1px 0; + +} + +#kindfilter > a:hover { + color: #4C4C4C; + text-decoration: none; + text-shadow: #ffffff 0 1px 0; +} + +#letters { + position: relative; + text-align: center; + padding-bottom: 5px; + border:1px solid #bbbbbb; + border-top:0; + border-left:0; + border-right:0; +} + +#letters > a, #letters > span { +/* font-family: monospace;*/ + color: #858484; + font-weight: bold; + font-size: 8pt; + text-shadow: #ffffff 0 1px 0; + padding-right: 2px; +} + +#letters > span { + color: #bbb; +} + +#tpl { + display: block; + position: fixed; + overflow: auto; + right: 0; + left: 0; + bottom: 0; + top: 5px; + position: absolute; + display: block; +} + +#tpl .packhide { + display: block; + float: right; + font-weight: normal; + color: white; +} + +#tpl .packfocus { + display: block; + float: right; + font-weight: normal; + color: white; +} + +#tpl .packages > ol { + background-color: #dadfe6; + /*margin-bottom: 5px;*/ +} + +/*#tpl .packages > ol > li { + margin-bottom: 1px; +}*/ + +#tpl .packages > li > a { + padding: 0px 5px; +} + +#tpl .packages > li > a.tplshow { + display: block; + color: white; + font-weight: bold; + display: block; + text-shadow: #000000 0 1px 0; +} + +#tpl ol > li.pack { + padding: 3px 5px; + background: url("packagesbg.gif"); + background-repeat:repeat-x; + min-height: 14px; + background-color: #6e808e; +} + +#tpl ol > li { + display: block; +} + +#tpl .templates > li { + padding-left: 5px; + min-height: 18px; +} + +#tpl ol > li .icon { + padding-right: 5px; + bottom: -2px; + position: relative; +} + +#tpl .templates div.placeholder { + padding-right: 5px; + width: 13px; + display: inline-block; +} + +#tpl .templates span.tplLink { + padding-left: 5px; +} + +#content { + border-left-width: 1px; + border-left-color: black; + border-left-style: white; + right: 0px; + left: 0px; + bottom: 0px; + top: 0px; + position: fixed; + margin-left: 300px; + display: block; + -webkit-overflow-scrolling: touch; +} + +#content > iframe { + display: block; + height: 100%; + width: 100%; +} + +.ui-layout-pane { + background: #FFF; + overflow: auto; +} + +.ui-layout-resizer { + background-image:url('filterbg.gif'); + background-repeat:repeat-x; + background-color: #ededee; /* light gray */ + border:1px solid #bbbbbb; + border-top:0; + border-bottom:0; + border-left: 0; +} + +.ui-layout-toggler { + background: #AAA; +} \ No newline at end of file diff --git a/manual1903/api_reference/component-pipe/scaladocs/lib/index.js b/manual1903/api_reference/component-pipe/scaladocs/lib/index.js new file mode 100644 index 0000000000000000000000000000000000000000..cf81f7fdf5065743eda39df500cb05ad45a3449e --- /dev/null +++ b/manual1903/api_reference/component-pipe/scaladocs/lib/index.js @@ -0,0 +1,577 @@ +// © 2009–2010 EPFL/LAMP +// code by Gilles Dubochet with contributions by Johannes Rudolph, "spiros" and Marcin Kubala + +var topLevelTemplates = undefined; +var topLevelPackages = undefined; + +var scheduler = undefined; + +var kindFilterState = undefined; +var focusFilterState = undefined; + +var title = $(document).attr('title'); + +var lastFragment = ""; + +$(document).ready(function() { + $('body').layout({ + west__size: '20%', + center__maskContents: true + }); + $('#browser').layout({ + center__paneSelector: ".ui-west-center" + //,center__initClosed:true + ,north__paneSelector: ".ui-west-north" + }); + $('iframe').bind("load", function(){ + try { + var subtitle = $(this).contents().find('title').text(); + $(document).attr('title', (title ? title + " - " : "") + subtitle); + } catch (e) { + // Chrome doesn't allow reading the iframe's contents when + // used on the local file system. + } + setUrlFragmentFromFrameSrc(); + }); + + // workaround for IE's iframe sizing lack of smartness + if($.browser.msie) { + function fixIFrame() { + $('iframe').height($(window).height() ) + } + $('iframe').bind("load",fixIFrame) + $('iframe').bind("resize",fixIFrame) + } + + scheduler = new Scheduler(); + scheduler.addLabel("init", 1); + scheduler.addLabel("focus", 2); + scheduler.addLabel("filter", 4); + + prepareEntityList(); + + configureTextFilter(); + configureKindFilter(); + configureEntityList(); + + setFrameSrcFromUrlFragment(); + + // If the url fragment changes, adjust the src of iframe "template". + $(window).bind('hashchange', function() { + if(lastFragment != window.location.hash) { + lastFragment = window.location.hash; + setFrameSrcFromUrlFragment(); + } + }); +}); + +// Set the iframe's src according to the fragment of the current url. +// fragment = "#scala.Either" => iframe url = "scala/Either.html" +// fragment = "#scala.Either@isRight:Boolean" => iframe url = "scala/Either.html#isRight:Boolean" +// fragment = "#scalaz.iteratee.package@>@>[E,A]=scalaz.iteratee.package.Iteratee[E,A]" => iframe url = "scalaz/iteratee/package.html#>@>[E,A]=scalaz.iteratee.package.Iteratee[E,A]" +function setFrameSrcFromUrlFragment() { + + function extractLoc(fragment) { + var loc = fragment.split('@')[0].replace(/\./g, "/"); + if (loc.indexOf(".html") < 0) { + loc += ".html"; + } + return loc; + } + + function extractMemberSig(fragment) { + var splitIdx = fragment.indexOf('@'); + if (splitIdx < 0) { + return; + } + return fragment.substr(splitIdx + 1); + } + + var fragment = location.hash.slice(1); + if (fragment) { + var locWithMemeberSig = extractLoc(fragment); + var memberSig = extractMemberSig(fragment); + if (memberSig) { + locWithMemeberSig += "#" + memberSig; + } + frames["template"].location.replace(location.protocol + locWithMemeberSig); + } else { + console.log("empty fragment detected"); + frames["template"].location.replace("package.html"); + } +} + +// Set the url fragment according to the src of the iframe "template". +// iframe url = "scala/Either.html" => url fragment = "#scala.Either" +// iframe url = "scala/Either.html#isRight:Boolean" => url fragment = "#scala.Either@isRight:Boolean" +// iframe url = "scalaz/iteratee/package.html#>@>[E,A]=scalaz.iteratee.package.Iteratee[E,A]" => fragment = "#scalaz.iteratee.package@>@>[E,A]=scalaz.iteratee.package.Iteratee[E,A]" +function setUrlFragmentFromFrameSrc() { + try { + var commonLength = location.pathname.lastIndexOf("/"); + var frameLocation = frames["template"].location; + var relativePath = frameLocation.pathname.slice(commonLength + 1); + + if(!relativePath || frameLocation.pathname.indexOf("/") < 0) + return; + + // Add #, remove ".html" and replace "/" with "." + fragment = "#" + relativePath.replace(/\.html$/, "").replace(/\//g, "."); + + // Add the frame's hash after an @ + if(frameLocation.hash) fragment += ("@" + frameLocation.hash.slice(1)); + + // Use replace to not add history items + lastFragment = fragment; + location.replace(fragment); + } + catch(e) { + // Chrome doesn't allow reading the iframe's location when + // used on the local file system. + } +} + +var Index = {}; + +(function (ns) { + function openLink(t, type) { + var href; + if (type == 'object') { + href = t['object']; + } else { + href = t['class'] || t['trait'] || t['case class'] || t['type']; + } + return [ + '' + ].join(''); + } + + function createPackageHeader(pack) { + return [ + '
                  1. ', + 'focushide', + '', + pack, + '
                  2. ' + ].join(''); + }; + + function createListItem(template) { + var inner = ''; + + + if (template.object) { + inner += openLink(template, 'object'); + } + + if (template['class'] || template['trait'] || template['case class'] || template['type']) { + inner += (inner == '') ? + '
                    ' : ''; + inner += openLink(template, template['trait'] ? 'trait' : template['type'] ? 'type' : 'class'); + } else { + inner += '
                    '; + } + + return [ + '
                  3. ', + inner, + '', + template.name.replace(/^.*\./, ''), + '
                  4. ' + ].join(''); + } + + + ns.createPackageTree = function (pack, matched, focused) { + var html = $.map(matched, function (child, i) { + return createListItem(child); + }).join(''); + + var header; + if (focused && pack == focused) { + header = ''; + } else { + header = createPackageHeader(pack); + } + + return [ + '
                      ', + header, + '
                        ', + html, + '
                    ' + ].join(''); + } + + ns.keys = function (obj) { + var result = []; + var key; + for (key in obj) { + result.push(key); + } + return result; + } + + var hiddenPackages = {}; + + function subPackages(pack) { + return $.grep($('#tpl ol.packages'), function (element, index) { + var pack = $('li.pack > .tplshow', element).text(); + return pack.indexOf(pack + '.') == 0; + }); + } + + ns.hidePackage = function (ol) { + var selected = $('li.pack > .tplshow', ol).text(); + hiddenPackages[selected] = true; + + $('ol.templates', ol).hide(); + + $.each(subPackages(selected), function (index, element) { + $(element).hide(); + }); + } + + ns.showPackage = function (ol, state) { + var selected = $('li.pack > .tplshow', ol).text(); + hiddenPackages[selected] = false; + + $('ol.templates', ol).show(); + + $.each(subPackages(selected), function (index, element) { + $(element).show(); + + // When the filter is in "packs" state, + // we don't want to show the `.templates` + var key = $('li.pack > .tplshow', element).text(); + if (hiddenPackages[key] || state == 'packs') { + $('ol.templates', element).hide(); + } + }); + } + +})(Index); + +function configureEntityList() { + kindFilterSync(); + configureHideFilter(); + configureFocusFilter(); + textFilter(); +} + +/* Updates the list of entities (i.e. the content of the #tpl element) from the raw form generated by Scaladoc to a + form suitable for display. In particular, it adds class and object etc. icons, and it configures links to open in + the right frame. Furthermore, it sets the two reference top-level entities lists (topLevelTemplates and + topLevelPackages) to serve as reference for resetting the list when needed. + Be advised: this function should only be called once, on page load. */ +function prepareEntityList() { + var classIcon = $("#library > img.class"); + var traitIcon = $("#library > img.trait"); + var typeIcon = $("#library > img.type"); + var objectIcon = $("#library > img.object"); + var packageIcon = $("#library > img.package"); + + $('#tpl li.pack > a.tplshow').attr("target", "template"); + $('#tpl li.pack').each(function () { + $("span.class", this).each(function() { $(this).replaceWith(classIcon.clone()); }); + $("span.trait", this).each(function() { $(this).replaceWith(traitIcon.clone()); }); + $("span.type", this).each(function() { $(this).replaceWith(typeIcon.clone()); }); + $("span.object", this).each(function() { $(this).replaceWith(objectIcon.clone()); }); + $("span.package", this).each(function() { $(this).replaceWith(packageIcon.clone()); }); + }); + $('#tpl li.pack') + .prepend("hide") + .prepend("focus"); +} + +/* Handles all key presses while scrolling around with keyboard shortcuts in left panel */ +function keyboardScrolldownLeftPane() { + scheduler.add("init", function() { + $("#textfilter input").blur(); + var $items = $("#tpl li"); + $items.first().addClass('selected'); + + $(window).bind("keydown", function(e) { + var $old = $items.filter('.selected'), + $new; + + switch ( e.keyCode ) { + + case 9: // tab + $old.removeClass('selected'); + break; + + case 13: // enter + $old.removeClass('selected'); + var $url = $old.children().filter('a:last').attr('href'); + $("#template").attr("src",$url); + break; + + case 27: // escape + $old.removeClass('selected'); + $(window).unbind(e); + $("#textfilter input").focus(); + + break; + + case 38: // up + $new = $old.prev(); + + if (!$new.length) { + $new = $old.parent().prev(); + } + + if ($new.is('ol') && $new.children(':last').is('ol')) { + $new = $new.children().children(':last'); + } else if ($new.is('ol')) { + $new = $new.children(':last'); + } + + break; + + case 40: // down + $new = $old.next(); + if (!$new.length) { + $new = $old.parent().parent().next(); + } + if ($new.is('ol')) { + $new = $new.children(':first'); + } + break; + } + + if ($new.is('li')) { + $old.removeClass('selected'); + $new.addClass('selected'); + } else if (e.keyCode == 38) { + $(window).unbind(e); + $("#textfilter input").focus(); + } + }); + }); +} + +/* Configures the text filter */ +function configureTextFilter() { + scheduler.add("init", function() { + $("#textfilter").append(""); + var input = $("#textfilter input"); + resizeFilterBlock(); + input.bind('keyup', function(event) { + if (event.keyCode == 27) { // escape + input.attr("value", ""); + } + if (event.keyCode == 40) { // down arrow + $(window).unbind("keydown"); + keyboardScrolldownLeftPane(); + return false; + } + textFilter(); + }); + input.bind('keydown', function(event) { + if (event.keyCode == 9) { // tab + $("#template").contents().find("#mbrsel-input").focus(); + input.attr("value", ""); + return false; + } + textFilter(); + }); + input.focus(function(event) { input.select(); }); + }); + scheduler.add("init", function() { + $("#textfilter > .post").click(function(){ + $("#textfilter input").attr("value", ""); + textFilter(); + }); + }); +} + +function compilePattern(query) { + var escaped = query.replace(/([\.\*\+\?\|\(\)\[\]\\])/g, '\\$1'); + + if (query.toLowerCase() != query) { + // Regexp that matches CamelCase subbits: "BiSe" is + // "[a-z]*Bi[a-z]*Se" and matches "BitSet", "ABitSet", ... + return new RegExp(escaped.replace(/([A-Z])/g,"[a-z]*$1")); + } + else { // if query is all lower case make a normal case insensitive search + return new RegExp(escaped, "i"); + } +} + +// Filters all focused templates and packages. This function should be made less-blocking. +// @param query The string of the query +function textFilter() { + var query = $("#textfilter input").attr("value") || ''; + var queryRegExp = compilePattern(query); + + // if we are filtering on types, then we have to display types + // ("display packages only" is not possible when filtering) + if (query !== "") { + kindFilter("all"); + } + + // Three things trigger a reload of the left pane list: + // typeof textFilter.lastQuery === "undefined" <-- first load, there is nothing yet in the left pane + // textFilter.lastQuery !== query <-- the filter text has changed + // focusFilterState != null <-- a package has been "focused" + if ((typeof textFilter.lastQuery === "undefined") || (textFilter.lastQuery !== query) || (focusFilterState != null)) { + + textFilter.lastQuery = query; + + scheduler.clear("filter"); + + $('#tpl').html(''); + + var index = 0; + + var searchLoop = function () { + var packages = Index.keys(Index.PACKAGES).sort(); + + while (packages[index]) { + var pack = packages[index]; + var children = Index.PACKAGES[pack]; + index++; + + if (focusFilterState) { + if (pack == focusFilterState || + pack.indexOf(focusFilterState + '.') == 0) { + ; + } else { + continue; + } + } + + var matched = $.grep(children, function (child, i) { + return queryRegExp.test(child.name); + }); + + if (matched.length > 0) { + $('#tpl').append(Index.createPackageTree(pack, matched, + focusFilterState)); + scheduler.add('filter', searchLoop); + return; + } + } + + $('#tpl a.packfocus').click(function () { + focusFilter($(this).parent().parent()); + }); + configureHideFilter(); + }; + + scheduler.add('filter', searchLoop); + } +} + +/* Configures the hide tool by adding the hide link to all packages. */ +function configureHideFilter() { + $('#tpl li.pack a.packhide').click(function () { + var packhide = $(this) + var action = packhide.text(); + + var ol = $(this).parent().parent(); + + if (action == "hide") { + Index.hidePackage(ol); + packhide.text("show"); + } + else { + Index.showPackage(ol, kindFilterState); + packhide.text("hide"); + } + return false; + }); +} + +/* Configures the focus tool by adding the focus bar in the filter box (initially hidden), and by adding the focus + link to all packages. */ +function configureFocusFilter() { + scheduler.add("init", function() { + focusFilterState = null; + if ($("#focusfilter").length == 0) { + $("#filter").append("
                    focused on
                    "); + $("#focusfilter > .focusremove").click(function(event) { + textFilter(); + + $("#focusfilter").hide(); + $("#kindfilter").show(); + resizeFilterBlock(); + focusFilterState = null; + }); + $("#focusfilter").hide(); + resizeFilterBlock(); + } + }); + scheduler.add("init", function() { + $('#tpl li.pack a.packfocus').click(function () { + focusFilter($(this).parent()); + return false; + }); + }); +} + +/* Focuses the entity index on a specific package. To do so, it will copy the sub-templates and sub-packages of the + focuses package into the top-level templates and packages position of the index. The original top-level + @param package The
                  5. element that corresponds to the package in the entity index */ +function focusFilter(package) { + scheduler.clear("filter"); + + var currentFocus = $('li.pack > .tplshow', package).text(); + $("#focusfilter > .focuscoll").empty(); + $("#focusfilter > .focuscoll").append(currentFocus); + + $("#focusfilter").show(); + $("#kindfilter").hide(); + resizeFilterBlock(); + focusFilterState = currentFocus; + kindFilterSync(); + + textFilter(); +} + +function configureKindFilter() { + scheduler.add("init", function() { + kindFilterState = "all"; + $("#filter").append(""); + $("#kindfilter > a").click(function(event) { kindFilter("packs"); }); + resizeFilterBlock(); + }); +} + +function kindFilter(kind) { + if (kind == "packs") { + kindFilterState = "packs"; + kindFilterSync(); + $("#kindfilter > a").replaceWith("display all entities"); + $("#kindfilter > a").click(function(event) { kindFilter("all"); }); + } + else { + kindFilterState = "all"; + kindFilterSync(); + $("#kindfilter > a").replaceWith("display packages only"); + $("#kindfilter > a").click(function(event) { kindFilter("packs"); }); + } +} + +/* Applies the kind filter. */ +function kindFilterSync() { + if (kindFilterState == "all" || focusFilterState != null) { + $("#tpl a.packhide").text('hide'); + $("#tpl ol.templates").show(); + } else { + $("#tpl a.packhide").text('show'); + $("#tpl ol.templates").hide(); + } +} + +function resizeFilterBlock() { + $("#tpl").css("top", $("#filter").outerHeight(true)); +} diff --git a/manual1903/api_reference/component-pipe/scaladocs/lib/jquery-ui.js b/manual1903/api_reference/component-pipe/scaladocs/lib/jquery-ui.js new file mode 100644 index 0000000000000000000000000000000000000000..faab0cf1a31b3fb4de9a982ba0db7f6eb881da83 --- /dev/null +++ b/manual1903/api_reference/component-pipe/scaladocs/lib/jquery-ui.js @@ -0,0 +1,6 @@ +/*! jQuery UI - v1.9.0 - 2012-10-05 +* http://jqueryui.com +* Includes: jquery.ui.core.js, jquery.ui.widget.js, jquery.ui.mouse.js, jquery.ui.position.js, jquery.ui.accordion.js, jquery.ui.autocomplete.js, jquery.ui.button.js, jquery.ui.datepicker.js, jquery.ui.dialog.js, jquery.ui.draggable.js, jquery.ui.droppable.js, jquery.ui.effect.js, jquery.ui.effect-blind.js, jquery.ui.effect-bounce.js, jquery.ui.effect-clip.js, jquery.ui.effect-drop.js, jquery.ui.effect-explode.js, jquery.ui.effect-fade.js, jquery.ui.effect-fold.js, jquery.ui.effect-highlight.js, jquery.ui.effect-pulsate.js, jquery.ui.effect-scale.js, jquery.ui.effect-shake.js, jquery.ui.effect-slide.js, jquery.ui.effect-transfer.js, jquery.ui.menu.js, jquery.ui.progressbar.js, jquery.ui.resizable.js, jquery.ui.selectable.js, jquery.ui.slider.js, jquery.ui.sortable.js, jquery.ui.spinner.js, jquery.ui.tabs.js, jquery.ui.tooltip.js +* Copyright (c) 2012 jQuery Foundation and other contributors Licensed MIT */ + +(function(e,t){function i(t,n){var r,i,o,u=t.nodeName.toLowerCase();return"area"===u?(r=t.parentNode,i=r.name,!t.href||!i||r.nodeName.toLowerCase()!=="map"?!1:(o=e("img[usemap=#"+i+"]")[0],!!o&&s(o))):(/input|select|textarea|button|object/.test(u)?!t.disabled:"a"===u?t.href||n:n)&&s(t)}function s(t){return!e(t).parents().andSelf().filter(function(){return e.css(this,"visibility")==="hidden"||e.expr.filters.hidden(this)}).length}var n=0,r=/^ui-id-\d+$/;e.ui=e.ui||{};if(e.ui.version)return;e.extend(e.ui,{version:"1.9.0",keyCode:{BACKSPACE:8,COMMA:188,DELETE:46,DOWN:40,END:35,ENTER:13,ESCAPE:27,HOME:36,LEFT:37,NUMPAD_ADD:107,NUMPAD_DECIMAL:110,NUMPAD_DIVIDE:111,NUMPAD_ENTER:108,NUMPAD_MULTIPLY:106,NUMPAD_SUBTRACT:109,PAGE_DOWN:34,PAGE_UP:33,PERIOD:190,RIGHT:39,SPACE:32,TAB:9,UP:38}}),e.fn.extend({_focus:e.fn.focus,focus:function(t,n){return typeof t=="number"?this.each(function(){var r=this;setTimeout(function(){e(r).focus(),n&&n.call(r)},t)}):this._focus.apply(this,arguments)},scrollParent:function(){var t;return e.browser.msie&&/(static|relative)/.test(this.css("position"))||/absolute/.test(this.css("position"))?t=this.parents().filter(function(){return/(relative|absolute|fixed)/.test(e.css(this,"position"))&&/(auto|scroll)/.test(e.css(this,"overflow")+e.css(this,"overflow-y")+e.css(this,"overflow-x"))}).eq(0):t=this.parents().filter(function(){return/(auto|scroll)/.test(e.css(this,"overflow")+e.css(this,"overflow-y")+e.css(this,"overflow-x"))}).eq(0),/fixed/.test(this.css("position"))||!t.length?e(document):t},zIndex:function(n){if(n!==t)return this.css("zIndex",n);if(this.length){var r=e(this[0]),i,s;while(r.length&&r[0]!==document){i=r.css("position");if(i==="absolute"||i==="relative"||i==="fixed"){s=parseInt(r.css("zIndex"),10);if(!isNaN(s)&&s!==0)return s}r=r.parent()}}return 0},uniqueId:function(){return this.each(function(){this.id||(this.id="ui-id-"+ ++n)})},removeUniqueId:function(){return this.each(function(){r.test(this.id)&&e(this).removeAttr("id")})}}),e("").outerWidth(1).jquery||e.each(["Width","Height"],function(n,r){function u(t,n,r,s){return e.each(i,function(){n-=parseFloat(e.css(t,"padding"+this))||0,r&&(n-=parseFloat(e.css(t,"border"+this+"Width"))||0),s&&(n-=parseFloat(e.css(t,"margin"+this))||0)}),n}var i=r==="Width"?["Left","Right"]:["Top","Bottom"],s=r.toLowerCase(),o={innerWidth:e.fn.innerWidth,innerHeight:e.fn.innerHeight,outerWidth:e.fn.outerWidth,outerHeight:e.fn.outerHeight};e.fn["inner"+r]=function(n){return n===t?o["inner"+r].call(this):this.each(function(){e(this).css(s,u(this,n)+"px")})},e.fn["outer"+r]=function(t,n){return typeof t!="number"?o["outer"+r].call(this,t):this.each(function(){e(this).css(s,u(this,t,!0,n)+"px")})}}),e.extend(e.expr[":"],{data:e.expr.createPseudo?e.expr.createPseudo(function(t){return function(n){return!!e.data(n,t)}}):function(t,n,r){return!!e.data(t,r[3])},focusable:function(t){return i(t,!isNaN(e.attr(t,"tabindex")))},tabbable:function(t){var n=e.attr(t,"tabindex"),r=isNaN(n);return(r||n>=0)&&i(t,!r)}}),e(function(){var t=document.body,n=t.appendChild(n=document.createElement("div"));n.offsetHeight,e.extend(n.style,{minHeight:"100px",height:"auto",padding:0,borderWidth:0}),e.support.minHeight=n.offsetHeight===100,e.support.selectstart="onselectstart"in n,t.removeChild(n).style.display="none"}),e.fn.extend({disableSelection:function(){return this.bind((e.support.selectstart?"selectstart":"mousedown")+".ui-disableSelection",function(e){e.preventDefault()})},enableSelection:function(){return this.unbind(".ui-disableSelection")}}),e.extend(e.ui,{plugin:{add:function(t,n,r){var i,s=e.ui[t].prototype;for(i in r)s.plugins[i]=s.plugins[i]||[],s.plugins[i].push([n,r[i]])},call:function(e,t,n){var r,i=e.plugins[t];if(!i||!e.element[0].parentNode||e.element[0].parentNode.nodeType===11)return;for(r=0;r0?!0:(t[r]=1,i=t[r]>0,t[r]=0,i)},isOverAxis:function(e,t,n){return e>t&&e",options:{disabled:!1,create:null},_createWidget:function(t,r){r=e(r||this.defaultElement||this)[0],this.element=e(r),this.uuid=n++,this.eventNamespace="."+this.widgetName+this.uuid,this.options=e.widget.extend({},this.options,this._getCreateOptions(),t),this.bindings=e(),this.hoverable=e(),this.focusable=e(),r!==this&&(e.data(r,this.widgetName,this),e.data(r,this.widgetFullName,this),this._on({remove:"destroy"}),this.document=e(r.style?r.ownerDocument:r.document||r),this.window=e(this.document[0].defaultView||this.document[0].parentWindow)),this._create(),this._trigger("create",null,this._getCreateEventData()),this._init()},_getCreateOptions:e.noop,_getCreateEventData:e.noop,_create:e.noop,_init:e.noop,destroy:function(){this._destroy(),this.element.unbind(this.eventNamespace).removeData(this.widgetName).removeData(this.widgetFullName).removeData(e.camelCase(this.widgetFullName)),this.widget().unbind(this.eventNamespace).removeAttr("aria-disabled").removeClass(this.widgetFullName+"-disabled "+"ui-state-disabled"),this.bindings.unbind(this.eventNamespace),this.hoverable.removeClass("ui-state-hover"),this.focusable.removeClass("ui-state-focus")},_destroy:e.noop,widget:function(){return this.element},option:function(n,r){var i=n,s,o,u;if(arguments.length===0)return e.widget.extend({},this.options);if(typeof n=="string"){i={},s=n.split("."),n=s.shift();if(s.length){o=i[n]=e.widget.extend({},this.options[n]);for(u=0;u=9||!!t.button?this._mouseStarted?(this._mouseDrag(t),t.preventDefault()):(this._mouseDistanceMet(t)&&this._mouseDelayMet(t)&&(this._mouseStarted=this._mouseStart(this._mouseDownEvent,t)!==!1,this._mouseStarted?this._mouseDrag(t):this._mouseUp(t)),!this._mouseStarted):this._mouseUp(t)},_mouseUp:function(t){return e(document).unbind("mousemove."+this.widgetName,this._mouseMoveDelegate).unbind("mouseup."+this.widgetName,this._mouseUpDelegate),this._mouseStarted&&(this._mouseStarted=!1,t.target===this._mouseDownEvent.target&&e.data(t.target,this.widgetName+".preventClickEvent",!0),this._mouseStop(t)),!1},_mouseDistanceMet:function(e){return Math.max(Math.abs(this._mouseDownEvent.pageX-e.pageX),Math.abs(this._mouseDownEvent.pageY-e.pageY))>=this.options.distance},_mouseDelayMet:function(e){return this.mouseDelayMet},_mouseStart:function(e){},_mouseDrag:function(e){},_mouseStop:function(e){},_mouseCapture:function(e){return!0}})})(jQuery);(function(e,t){function h(e,t,n){return[parseInt(e[0],10)*(l.test(e[0])?t/100:1),parseInt(e[1],10)*(l.test(e[1])?n/100:1)]}function p(t,n){return parseInt(e.css(t,n),10)||0}e.ui=e.ui||{};var n,r=Math.max,i=Math.abs,s=Math.round,o=/left|center|right/,u=/top|center|bottom/,a=/[\+\-]\d+%?/,f=/^\w+/,l=/%$/,c=e.fn.position;e.position={scrollbarWidth:function(){if(n!==t)return n;var r,i,s=e("
                    "),o=s.children()[0];return e("body").append(s),r=o.offsetWidth,s.css("overflow","scroll"),i=o.offsetWidth,r===i&&(i=s[0].clientWidth),s.remove(),n=r-i},getScrollInfo:function(t){var n=t.isWindow?"":t.element.css("overflow-x"),r=t.isWindow?"":t.element.css("overflow-y"),i=n==="scroll"||n==="auto"&&t.width0?"right":"center",vertical:u<0?"top":o>0?"bottom":"middle"};lr(i(o),i(u))?h.important="horizontal":h.important="vertical",t.using.call(this,e,h)}),a.offset(e.extend(C,{using:u}))})},e.ui.position={fit:{left:function(e,t){var n=t.within,i=n.isWindow?n.scrollLeft:n.offset.left,s=n.width,o=e.left-t.collisionPosition.marginLeft,u=i-o,a=o+t.collisionWidth-s-i,f;t.collisionWidth>s?u>0&&a<=0?(f=e.left+u+t.collisionWidth-s-i,e.left+=u-f):a>0&&u<=0?e.left=i:u>a?e.left=i+s-t.collisionWidth:e.left=i:u>0?e.left+=u:a>0?e.left-=a:e.left=r(e.left-o,e.left)},top:function(e,t){var n=t.within,i=n.isWindow?n.scrollTop:n.offset.top,s=t.within.height,o=e.top-t.collisionPosition.marginTop,u=i-o,a=o+t.collisionHeight-s-i,f;t.collisionHeight>s?u>0&&a<=0?(f=e.top+u+t.collisionHeight-s-i,e.top+=u-f):a>0&&u<=0?e.top=i:u>a?e.top=i+s-t.collisionHeight:e.top=i:u>0?e.top+=u:a>0?e.top-=a:e.top=r(e.top-o,e.top)}},flip:{left:function(e,t){var n=t.within,r=n.offset.left+n.scrollLeft,s=n.width,o=n.isWindow?n.scrollLeft:n.offset.left,u=e.left-t.collisionPosition.marginLeft,a=u-o,f=u+t.collisionWidth-s-o,l=t.my[0]==="left"?-t.elemWidth:t.my[0]==="right"?t.elemWidth:0,c=t.at[0]==="left"?t.targetWidth:t.at[0]==="right"?-t.targetWidth:0,h=-2*t.offset[0],p,d;if(a<0){p=e.left+l+c+h+t.collisionWidth-s-r;if(p<0||p0){d=e.left-t.collisionPosition.marginLeft+l+c+h-o;if(d>0||i(d)a&&(v<0||v0&&(d=e.top-t.collisionPosition.marginTop+c+h+p-o,e.top+c+h+p>f&&(d>0||i(d)10&&i<11,t.innerHTML="",n.removeChild(t)}(),e.uiBackCompat!==!1&&function(e){var n=e.fn.position;e.fn.position=function(r){if(!r||!r.offset)return n.call(this,r);var i=r.offset.split(" "),s=r.at.split(" ");return i.length===1&&(i[1]=i[0]),/^\d/.test(i[0])&&(i[0]="+"+i[0]),/^\d/.test(i[1])&&(i[1]="+"+i[1]),s.length===1&&(/left|center|right/.test(s[0])?s[1]="center":(s[1]=s[0],s[0]="center")),n.call(this,e.extend(r,{at:s[0]+i[0]+" "+s[1]+i[1],offset:t}))}}(jQuery)})(jQuery);(function(e,t){var n=0,r={},i={};r.height=r.paddingTop=r.paddingBottom=r.borderTopWidth=r.borderBottomWidth="hide",i.height=i.paddingTop=i.paddingBottom=i.borderTopWidth=i.borderBottomWidth="show",e.widget("ui.accordion",{version:"1.9.0",options:{active:0,animate:{},collapsible:!1,event:"click",header:"> li > :first-child,> :not(li):even",heightStyle:"auto",icons:{activeHeader:"ui-icon-triangle-1-s",header:"ui-icon-triangle-1-e"},activate:null,beforeActivate:null},_create:function(){var t=this.accordionId="ui-accordion-"+(this.element.attr("id")||++n),r=this.options;this.prevShow=this.prevHide=e(),this.element.addClass("ui-accordion ui-widget ui-helper-reset"),this.headers=this.element.find(r.header).addClass("ui-accordion-header ui-helper-reset ui-state-default ui-corner-all"),this._hoverable(this.headers),this._focusable(this.headers),this.headers.next().addClass("ui-accordion-content ui-helper-reset ui-widget-content ui-corner-bottom").hide(),!r.collapsible&&r.active===!1&&(r.active=0),r.active<0&&(r.active+=this.headers.length),this.active=this._findActive(r.active).addClass("ui-accordion-header-active ui-state-active").toggleClass("ui-corner-all ui-corner-top"),this.active.next().addClass("ui-accordion-content-active").show(),this._createIcons(),this.originalHeight=this.element[0].style.height,this.refresh(),this.element.attr("role","tablist"),this.headers.attr("role","tab").each(function(n){var r=e(this),i=r.attr("id"),s=r.next(),o=s.attr("id");i||(i=t+"-header-"+n,r.attr("id",i)),o||(o=t+"-panel-"+n,s.attr("id",o)),r.attr("aria-controls",o),s.attr("aria-labelledby",i)}).next().attr("role","tabpanel"),this.headers.not(this.active).attr({"aria-selected":"false",tabIndex:-1}).next().attr({"aria-expanded":"false","aria-hidden":"true"}).hide(),this.active.length?this.active.attr({"aria-selected":"true",tabIndex:0}).next().attr({"aria-expanded":"true","aria-hidden":"false"}):this.headers.eq(0).attr("tabIndex",0),this._on(this.headers,{keydown:"_keydown"}),this._on(this.headers.next(),{keydown:"_panelKeyDown"}),this._setupEvents(r.event)},_getCreateEventData:function(){return{header:this.active,content:this.active.length?this.active.next():e()}},_createIcons:function(){var t=this.options.icons;t&&(e("").addClass("ui-accordion-header-icon ui-icon "+t.header).prependTo(this.headers),this.active.children(".ui-accordion-header-icon").removeClass(t.header).addClass(t.activeHeader),this.headers.addClass("ui-accordion-icons"))},_destroyIcons:function(){this.headers.removeClass("ui-accordion-icons").children(".ui-accordion-header-icon").remove()},_destroy:function(){var e;this.element.removeClass("ui-accordion ui-widget ui-helper-reset").removeAttr("role"),this.headers.removeClass("ui-accordion-header ui-accordion-header-active ui-helper-reset ui-state-default ui-corner-all ui-state-active ui-state-disabled ui-corner-top").removeAttr("role").removeAttr("aria-selected").removeAttr("aria-controls").removeAttr("tabIndex").each(function(){/^ui-accordion/.test(this.id)&&this.removeAttribute("id")}),this._destroyIcons(),e=this.headers.next().css("display","").removeAttr("role").removeAttr("aria-expanded").removeAttr("aria-hidden").removeAttr("aria-labelledby").removeClass("ui-helper-reset ui-widget-content ui-corner-bottom ui-accordion-content ui-accordion-content-active ui-state-disabled").each(function(){/^ui-accordion/.test(this.id)&&this.removeAttribute("id")}),this.options.heightStyle!=="content"&&(this.element.css("height",this.originalHeight),e.css("height",""))},_setOption:function(e,t){if(e==="active"){this._activate(t);return}e==="event"&&(this.options.event&&this._off(this.headers,this.options.event),this._setupEvents(t)),this._super(e,t),e==="collapsible"&&!t&&this.options.active===!1&&this._activate(0),e==="icons"&&(this._destroyIcons(),t&&this._createIcons()),e==="disabled"&&this.headers.add(this.headers.next()).toggleClass("ui-state-disabled",!!t)},_keydown:function(t){if(t.altKey||t.ctrlKey)return;var n=e.ui.keyCode,r=this.headers.length,i=this.headers.index(t.target),s=!1;switch(t.keyCode){case n.RIGHT:case n.DOWN:s=this.headers[(i+1)%r];break;case n.LEFT:case n.UP:s=this.headers[(i-1+r)%r];break;case n.SPACE:case n.ENTER:this._eventHandler(t);break;case n.HOME:s=this.headers[0];break;case n.END:s=this.headers[r-1]}s&&(e(t.target).attr("tabIndex",-1),e(s).attr("tabIndex",0),s.focus(),t.preventDefault())},_panelKeyDown:function(t){t.keyCode===e.ui.keyCode.UP&&t.ctrlKey&&e(t.currentTarget).prev().focus()},refresh:function(){var t,n,r=this.options.heightStyle,i=this.element.parent();this.element.css("height",this.originalHeight),r==="fill"?(e.support.minHeight||(n=i.css("overflow"),i.css("overflow","hidden")),t=i.height(),this.element.siblings(":visible").each(function(){var n=e(this),r=n.css("position");if(r==="absolute"||r==="fixed")return;t-=n.outerHeight(!0)}),n&&i.css("overflow",n),this.headers.each(function(){t-=e(this).outerHeight(!0)}),this.headers.next().each(function(){e(this).height(Math.max(0,t-e(this).innerHeight()+e(this).height()))}).css("overflow","auto")):r==="auto"&&(t=0,this.headers.next().each(function(){t=Math.max(t,e(this).height("").height())}).height(t)),r!=="content"&&this.element.height(this.element.height())},_activate:function(t){var n=this._findActive(t)[0];if(n===this.active[0])return;n=n||this.active[0],this._eventHandler({target:n,currentTarget:n,preventDefault:e.noop})},_findActive:function(t){return typeof t=="number"?this.headers.eq(t):e()},_setupEvents:function(t){var n={};if(!t)return;e.each(t.split(" "),function(e,t){n[t]="_eventHandler"}),this._on(this.headers,n)},_eventHandler:function(t){var n=this.options,r=this.active,i=e(t.currentTarget),s=i[0]===r[0],o=s&&n.collapsible,u=o?e():i.next(),a=r.next(),f={oldHeader:r,oldPanel:a,newHeader:o?e():i,newPanel:u};t.preventDefault();if(s&&!n.collapsible||this._trigger("beforeActivate",t,f)===!1)return;n.active=o?!1:this.headers.index(i),this.active=s?e():i,this._toggle(f),r.removeClass("ui-accordion-header-active ui-state-active"),n.icons&&r.children(".ui-accordion-header-icon").removeClass(n.icons.activeHeader).addClass(n.icons.header),s||(i.removeClass("ui-corner-all").addClass("ui-accordion-header-active ui-state-active ui-corner-top"),n.icons&&i.children(".ui-accordion-header-icon").removeClass(n.icons.header).addClass(n.icons.activeHeader),i.next().addClass("ui-accordion-content-active"))},_toggle:function(t){var n=t.newPanel,r=this.prevShow.length?this.prevShow:t.oldPanel;this.prevShow.add(this.prevHide).stop(!0,!0),this.prevShow=n,this.prevHide=r,this.options.animate?this._animate(n,r,t):(r.hide(),n.show(),this._toggleComplete(t)),r.attr({"aria-expanded":"false","aria-hidden":"true"}),r.prev().attr("aria-selected","false"),n.length&&r.length?r.prev().attr("tabIndex",-1):n.length&&this.headers.filter(function(){return e(this).attr("tabIndex")===0}).attr("tabIndex",-1),n.attr({"aria-expanded":"true","aria-hidden":"false"}).prev().attr({"aria-selected":"true",tabIndex:0})},_animate:function(e,t,n){var s,o,u,a=this,f=0,l=e.length&&(!t.length||e.index()",options:{appendTo:"body",autoFocus:!1,delay:300,minLength:1,position:{my:"left top",at:"left bottom",collision:"none"},source:null,change:null,close:null,focus:null,open:null,response:null,search:null,select:null},pending:0,_create:function(){var t,n,r;this.isMultiLine=this._isMultiLine(),this.valueMethod=this.element[this.element.is("input,textarea")?"val":"text"],this.isNewMenu=!0,this.element.addClass("ui-autocomplete-input").attr("autocomplete","off"),this._on({keydown:function(i){if(this.element.prop("readOnly")){t=!0,r=!0,n=!0;return}t=!1,r=!1,n=!1;var s=e.ui.keyCode;switch(i.keyCode){case s.PAGE_UP:t=!0,this._move("previousPage",i);break;case s.PAGE_DOWN:t=!0,this._move("nextPage",i);break;case s.UP:t=!0,this._keyEvent("previous",i);break;case s.DOWN:t=!0,this._keyEvent("next",i);break;case s.ENTER:case s.NUMPAD_ENTER:this.menu.active&&(t=!0,i.preventDefault(),this.menu.select(i));break;case s.TAB:this.menu.active&&this.menu.select(i);break;case s.ESCAPE:this.menu.element.is(":visible")&&(this._value(this.term),this.close(i),i.preventDefault());break;default:n=!0,this._searchTimeout(i)}},keypress:function(r){if(t){t=!1,r.preventDefault();return}if(n)return;var i=e.ui.keyCode;switch(r.keyCode){case i.PAGE_UP:this._move("previousPage",r);break;case i.PAGE_DOWN:this._move("nextPage",r);break;case i.UP:this._keyEvent("previous",r);break;case i.DOWN:this._keyEvent("next",r)}},input:function(e){if(r){r=!1,e.preventDefault();return}this._searchTimeout(e)},focus:function(){this.selectedItem=null,this.previous=this._value()},blur:function(e){if(this.cancelBlur){delete this.cancelBlur;return}clearTimeout(this.searching),this.close(e),this._change(e)}}),this._initSource(),this.menu=e("
                  6. "+(o[0]>0&&I==o[1]-1?'
                    ':""):""),F+=U}B+=F}return B+=x+($.browser.msie&&parseInt($.browser.version,10)<7&&!e.inline?'':""),e._keyEvent=!1,B},_generateMonthYearHeader:function(e,t,n,r,i,s,o,u){var a=this._get(e,"changeMonth"),f=this._get(e,"changeYear"),l=this._get(e,"showMonthAfterYear"),c='
                    ',h="";if(s||!a)h+=''+o[t]+"";else{var p=r&&r.getFullYear()==n,d=i&&i.getFullYear()==n;h+='"}l||(c+=h+(s||!a||!f?" ":""));if(!e.yearshtml){e.yearshtml="";if(s||!f)c+=''+n+"";else{var m=this._get(e,"yearRange").split(":"),g=(new Date).getFullYear(),y=function(e){var t=e.match(/c[+-].*/)?n+parseInt(e.substring(1),10):e.match(/[+-].*/)?g+parseInt(e,10):parseInt(e,10);return isNaN(t)?g:t},b=y(m[0]),w=Math.max(b,y(m[1]||""));b=r?Math.max(b,r.getFullYear()):b,w=i?Math.min(w,i.getFullYear()):w,e.yearshtml+='",c+=e.yearshtml,e.yearshtml=null}}return c+=this._get(e,"yearSuffix"),l&&(c+=(s||!a||!f?" ":"")+h),c+="
                    ",c},_adjustInstDate:function(e,t,n){var r=e.drawYear+(n=="Y"?t:0),i=e.drawMonth+(n=="M"?t:0),s=Math.min(e.selectedDay,this._getDaysInMonth(r,i))+(n=="D"?t:0),o=this._restrictMinMax(e,this._daylightSavingAdjust(new Date(r,i,s)));e.selectedDay=o.getDate(),e.drawMonth=e.selectedMonth=o.getMonth(),e.drawYear=e.selectedYear=o.getFullYear(),(n=="M"||n=="Y")&&this._notifyChange(e)},_restrictMinMax:function(e,t){var n=this._getMinMaxDate(e,"min"),r=this._getMinMaxDate(e,"max"),i=n&&tr?r:i,i},_notifyChange:function(e){var t=this._get(e,"onChangeMonthYear");t&&t.apply(e.input?e.input[0]:null,[e.selectedYear,e.selectedMonth+1,e])},_getNumberOfMonths:function(e){var t=this._get(e,"numberOfMonths");return t==null?[1,1]:typeof t=="number"?[1,t]:t},_getMinMaxDate:function(e,t){return this._determineDate(e,this._get(e,t+"Date"),null)},_getDaysInMonth:function(e,t){return 32-this._daylightSavingAdjust(new Date(e,t,32)).getDate()},_getFirstDayOfMonth:function(e,t){return(new Date(e,t,1)).getDay()},_canAdjustMonth:function(e,t,n,r){var i=this._getNumberOfMonths(e),s=this._daylightSavingAdjust(new Date(n,r+(t<0?t:i[0]*i[1]),1));return t<0&&s.setDate(this._getDaysInMonth(s.getFullYear(),s.getMonth())),this._isInRange(e,s)},_isInRange:function(e,t){var n=this._getMinMaxDate(e,"min"),r=this._getMinMaxDate(e,"max");return(!n||t.getTime()>=n.getTime())&&(!r||t.getTime()<=r.getTime())},_getFormatConfig:function(e){var t=this._get(e,"shortYearCutoff");return t=typeof t!="string"?t:(new Date).getFullYear()%100+parseInt(t,10),{shortYearCutoff:t,dayNamesShort:this._get(e,"dayNamesShort"),dayNames:this._get(e,"dayNames"),monthNamesShort:this._get(e,"monthNamesShort"),monthNames:this._get(e,"monthNames")}},_formatDate:function(e,t,n,r){t||(e.currentDay=e.selectedDay,e.currentMonth=e.selectedMonth,e.currentYear=e.selectedYear);var i=t?typeof t=="object"?t:this._daylightSavingAdjust(new Date(r,n,t)):this._daylightSavingAdjust(new Date(e.currentYear,e.currentMonth,e.currentDay));return this.formatDate(this._get(e,"dateFormat"),i,this._getFormatConfig(e))}}),$.fn.datepicker=function(e){if(!this.length)return this;$.datepicker.initialized||($(document).mousedown($.datepicker._checkExternalClick).find(document.body).append($.datepicker.dpDiv),$.datepicker.initialized=!0);var t=Array.prototype.slice.call(arguments,1);return typeof e!="string"||e!="isDisabled"&&e!="getDate"&&e!="widget"?e=="option"&&arguments.length==2&&typeof arguments[1]=="string"?$.datepicker["_"+e+"Datepicker"].apply($.datepicker,[this[0]].concat(t)):this.each(function(){typeof e=="string"?$.datepicker["_"+e+"Datepicker"].apply($.datepicker,[this].concat(t)):$.datepicker._attachDatepicker(this,e)}):$.datepicker["_"+e+"Datepicker"].apply($.datepicker,[this[0]].concat(t))},$.datepicker=new Datepicker,$.datepicker.initialized=!1,$.datepicker.uuid=(new Date).getTime(),$.datepicker.version="1.9.0",window["DP_jQuery_"+dpuuid]=$})(jQuery);(function(e,t){var n="ui-dialog ui-widget ui-widget-content ui-corner-all ",r={buttons:!0,height:!0,maxHeight:!0,maxWidth:!0,minHeight:!0,minWidth:!0,width:!0},i={maxHeight:!0,maxWidth:!0,minHeight:!0,minWidth:!0};e.widget("ui.dialog",{version:"1.9.0",options:{autoOpen:!0,buttons:{},closeOnEscape:!0,closeText:"close",dialogClass:"",draggable:!0,hide:null,height:"auto",maxHeight:!1,maxWidth:!1,minHeight:150,minWidth:150,modal:!1,position:{my:"center",at:"center",of:window,collision:"fit",using:function(t){var n=e(this).css(t).offset().top;n<0&&e(this).css("top",t.top-n)}},resizable:!0,show:null,stack:!0,title:"",width:300,zIndex:1e3},_create:function(){this.originalTitle=this.element.attr("title"),typeof this.originalTitle!="string"&&(this.originalTitle=""),this.oldPosition={parent:this.element.parent(),index:this.element.parent().children().index(this.element)},this.options.title=this.options.title||this.originalTitle;var t=this,r=this.options,i=r.title||" ",s=(this.uiDialog=e("
                    ")).addClass(n+r.dialogClass).css({display:"none",outline:0,zIndex:r.zIndex}).attr("tabIndex",-1).keydown(function(n){r.closeOnEscape&&!n.isDefaultPrevented()&&n.keyCode&&n.keyCode===e.ui.keyCode.ESCAPE&&(t.close(n),n.preventDefault())}).mousedown(function(e){t.moveToTop(!1,e)}).appendTo("body"),o=this.element.show().removeAttr("title").addClass("ui-dialog-content ui-widget-content").appendTo(s),u=(this.uiDialogTitlebar=e("
                    ")).addClass("ui-dialog-titlebar ui-widget-header ui-corner-all ui-helper-clearfix").prependTo(s),a=e("").addClass("ui-dialog-titlebar-close ui-corner-all").attr("role","button").click(function(e){e.preventDefault(),t.close(e)}).appendTo(u),f=(this.uiDialogTitlebarCloseText=e("")).addClass("ui-icon ui-icon-closethick").text(r.closeText).appendTo(a),l=e("").uniqueId().addClass("ui-dialog-title").html(i).prependTo(u),c=(this.uiDialogButtonPane=e("
                    ")).addClass("ui-dialog-buttonpane ui-widget-content ui-helper-clearfix"),h=(this.uiButtonSet=e("
                    ")).addClass("ui-dialog-buttonset").appendTo(c);s.attr({role:"dialog","aria-labelledby":l.attr("id")}),u.find("*").add(u).disableSelection(),this._hoverable(a),this._focusable(a),r.draggable&&e.fn.draggable&&this._makeDraggable(),r.resizable&&e.fn.resizable&&this._makeResizable(),this._createButtons(r.buttons),this._isOpen=!1,e.fn.bgiframe&&s.bgiframe(),this._on(s,{keydown:function(t){if(!r.modal||t.keyCode!==e.ui.keyCode.TAB)return;var n=e(":tabbable",s),i=n.filter(":first"),o=n.filter(":last");if(t.target===o[0]&&!t.shiftKey)return i.focus(1),!1;if(t.target===i[0]&&t.shiftKey)return o.focus(1),!1}})},_init:function(){this.options.autoOpen&&this.open()},_destroy:function(){var e,t=this.oldPosition;this.overlay&&this.overlay.destroy(),this.uiDialog.hide(),this.element.removeClass("ui-dialog-content ui-widget-content").hide().appendTo("body"),this.uiDialog.remove(),this.originalTitle&&this.element.attr("title",this.originalTitle),e=t.parent.children().eq(t.index),e.length&&e[0]!==this.element[0]?e.before(this.element):t.parent.append(this.element)},widget:function(){return this.uiDialog},close:function(t){var n=this,r,i;if(!this._isOpen)return;if(!1===this._trigger("beforeClose",t))return;return this._isOpen=!1,this.overlay&&this.overlay.destroy(),this.options.hide?this.uiDialog.hide(this.options.hide,function(){n._trigger("close",t)}):(this.uiDialog.hide(),this._trigger("close",t)),e.ui.dialog.overlay.resize(),this.options.modal&&(r=0,e(".ui-dialog").each(function(){this!==n.uiDialog[0]&&(i=e(this).css("z-index"),isNaN(i)||(r=Math.max(r,i)))}),e.ui.dialog.maxZ=r),this},isOpen:function(){return this._isOpen},moveToTop:function(t,n){var r=this.options,i;return r.modal&&!t||!r.stack&&!r.modal?this._trigger("focus",n):(r.zIndex>e.ui.dialog.maxZ&&(e.ui.dialog.maxZ=r.zIndex),this.overlay&&(e.ui.dialog.maxZ+=1,e.ui.dialog.overlay.maxZ=e.ui.dialog.maxZ,this.overlay.$el.css("z-index",e.ui.dialog.overlay.maxZ)),i={scrollTop:this.element.scrollTop(),scrollLeft:this.element.scrollLeft()},e.ui.dialog.maxZ+=1,this.uiDialog.css("z-index",e.ui.dialog.maxZ),this.element.attr(i),this._trigger("focus",n),this)},open:function(){if(this._isOpen)return;var t,n=this.options,r=this.uiDialog;return this._size(),this._position(n.position),r.show(n.show),this.overlay=n.modal?new e.ui.dialog.overlay(this):null,this.moveToTop(!0),t=this.element.find(":tabbable"),t.length||(t=this.uiDialogButtonPane.find(":tabbable"),t.length||(t=r)),t.eq(0).focus(),this._isOpen=!0,this._trigger("open"),this},_createButtons:function(t){var n,r,i=this,s=!1;this.uiDialogButtonPane.remove(),this.uiButtonSet.empty(),typeof t=="object"&&t!==null&&e.each(t,function(){return!(s=!0)}),s?(e.each(t,function(t,n){n=e.isFunction(n)?{click:n,text:t}:n;var r=e("
                    ').css({width:this.offsetWidth+"px",height:this.offsetHeight+"px",position:"absolute",opacity:"0.001",zIndex:1e3}).css(e(this).offset()).appendTo("body")}),!0):!1)},_mouseStart:function(t){var n=this.options;return this.helper=this._createHelper(t),this.helper.addClass("ui-draggable-dragging"),this._cacheHelperProportions(),e.ui.ddmanager&&(e.ui.ddmanager.current=this),this._cacheMargins(),this.cssPosition=this.helper.css("position"),this.scrollParent=this.helper.scrollParent(),this.offset=this.positionAbs=this.element.offset(),this.offset={top:this.offset.top-this.margins.top,left:this.offset.left-this.margins.left},e.extend(this.offset,{click:{left:t.pageX-this.offset.left,top:t.pageY-this.offset.top},parent:this._getParentOffset(),relative:this._getRelativeOffset()}),this.originalPosition=this.position=this._generatePosition(t),this.originalPageX=t.pageX,this.originalPageY=t.pageY,n.cursorAt&&this._adjustOffsetFromHelper(n.cursorAt),n.containment&&this._setContainment(),this._trigger("start",t)===!1?(this._clear(),!1):(this._cacheHelperProportions(),e.ui.ddmanager&&!n.dropBehaviour&&e.ui.ddmanager.prepareOffsets(this,t),this._mouseDrag(t,!0),e.ui.ddmanager&&e.ui.ddmanager.dragStart(this,t),!0)},_mouseDrag:function(t,n){this.position=this._generatePosition(t),this.positionAbs=this._convertPositionTo("absolute");if(!n){var r=this._uiHash();if(this._trigger("drag",t,r)===!1)return this._mouseUp({}),!1;this.position=r.position}if(!this.options.axis||this.options.axis!="y")this.helper[0].style.left=this.position.left+"px";if(!this.options.axis||this.options.axis!="x")this.helper[0].style.top=this.position.top+"px";return e.ui.ddmanager&&e.ui.ddmanager.drag(this,t),!1},_mouseStop:function(t){var n=!1;e.ui.ddmanager&&!this.options.dropBehaviour&&(n=e.ui.ddmanager.drop(this,t)),this.dropped&&(n=this.dropped,this.dropped=!1);var r=this.element[0],i=!1;while(r&&(r=r.parentNode))r==document&&(i=!0);if(!i&&this.options.helper==="original")return!1;if(this.options.revert=="invalid"&&!n||this.options.revert=="valid"&&n||this.options.revert===!0||e.isFunction(this.options.revert)&&this.options.revert.call(this.element,n)){var s=this;e(this.helper).animate(this.originalPosition,parseInt(this.options.revertDuration,10),function(){s._trigger("stop",t)!==!1&&s._clear()})}else this._trigger("stop",t)!==!1&&this._clear();return!1},_mouseUp:function(t){return e("div.ui-draggable-iframeFix").each(function(){this.parentNode.removeChild(this)}),e.ui.ddmanager&&e.ui.ddmanager.dragStop(this,t),e.ui.mouse.prototype._mouseUp.call(this,t)},cancel:function(){return this.helper.is(".ui-draggable-dragging")?this._mouseUp({}):this._clear(),this},_getHandle:function(t){var n=!this.options.handle||!e(this.options.handle,this.element).length?!0:!1;return e(this.options.handle,this.element).find("*").andSelf().each(function(){this==t.target&&(n=!0)}),n},_createHelper:function(t){var n=this.options,r=e.isFunction(n.helper)?e(n.helper.apply(this.element[0],[t])):n.helper=="clone"?this.element.clone().removeAttr("id"):this.element;return r.parents("body").length||r.appendTo(n.appendTo=="parent"?this.element[0].parentNode:n.appendTo),r[0]!=this.element[0]&&!/(fixed|absolute)/.test(r.css("position"))&&r.css("position","absolute"),r},_adjustOffsetFromHelper:function(t){typeof t=="string"&&(t=t.split(" ")),e.isArray(t)&&(t={left:+t[0],top:+t[1]||0}),"left"in t&&(this.offset.click.left=t.left+this.margins.left),"right"in t&&(this.offset.click.left=this.helperProportions.width-t.right+this.margins.left),"top"in t&&(this.offset.click.top=t.top+this.margins.top),"bottom"in t&&(this.offset.click.top=this.helperProportions.height-t.bottom+this.margins.top)},_getParentOffset:function(){this.offsetParent=this.helper.offsetParent();var t=this.offsetParent.offset();this.cssPosition=="absolute"&&this.scrollParent[0]!=document&&e.contains(this.scrollParent[0],this.offsetParent[0])&&(t.left+=this.scrollParent.scrollLeft(),t.top+=this.scrollParent.scrollTop());if(this.offsetParent[0]==document.body||this.offsetParent[0].tagName&&this.offsetParent[0].tagName.toLowerCase()=="html"&&e.browser.msie)t={top:0,left:0};return{top:t.top+(parseInt(this.offsetParent.css("borderTopWidth"),10)||0),left:t.left+(parseInt(this.offsetParent.css("borderLeftWidth"),10)||0)}},_getRelativeOffset:function(){if(this.cssPosition=="relative"){var e=this.element.position();return{top:e.top-(parseInt(this.helper.css("top"),10)||0)+this.scrollParent.scrollTop(),left:e.left-(parseInt(this.helper.css("left"),10)||0)+this.scrollParent.scrollLeft()}}return{top:0,left:0}},_cacheMargins:function(){this.margins={left:parseInt(this.element.css("marginLeft"),10)||0,top:parseInt(this.element.css("marginTop"),10)||0,right:parseInt(this.element.css("marginRight"),10)||0,bottom:parseInt(this.element.css("marginBottom"),10)||0}},_cacheHelperProportions:function(){this.helperProportions={width:this.helper.outerWidth(),height:this.helper.outerHeight()}},_setContainment:function(){var t=this.options;t.containment=="parent"&&(t.containment=this.helper[0].parentNode);if(t.containment=="document"||t.containment=="window")this.containment=[t.containment=="document"?0:e(window).scrollLeft()-this.offset.relative.left-this.offset.parent.left,t.containment=="document"?0:e(window).scrollTop()-this.offset.relative.top-this.offset.parent.top,(t.containment=="document"?0:e(window).scrollLeft())+e(t.containment=="document"?document:window).width()-this.helperProportions.width-this.margins.left,(t.containment=="document"?0:e(window).scrollTop())+(e(t.containment=="document"?document:window).height()||document.body.parentNode.scrollHeight)-this.helperProportions.height-this.margins.top];if(!/^(document|window|parent)$/.test(t.containment)&&t.containment.constructor!=Array){var n=e(t.containment),r=n[0];if(!r)return;var i=n.offset(),s=e(r).css("overflow")!="hidden";this.containment=[(parseInt(e(r).css("borderLeftWidth"),10)||0)+(parseInt(e(r).css("paddingLeft"),10)||0),(parseInt(e(r).css("borderTopWidth"),10)||0)+(parseInt(e(r).css("paddingTop"),10)||0),(s?Math.max(r.scrollWidth,r.offsetWidth):r.offsetWidth)-(parseInt(e(r).css("borderLeftWidth"),10)||0)-(parseInt(e(r).css("paddingRight"),10)||0)-this.helperProportions.width-this.margins.left-this.margins.right,(s?Math.max(r.scrollHeight,r.offsetHeight):r.offsetHeight)-(parseInt(e(r).css("borderTopWidth"),10)||0)-(parseInt(e(r).css("paddingBottom"),10)||0)-this.helperProportions.height-this.margins.top-this.margins.bottom],this.relative_container=n}else t.containment.constructor==Array&&(this.containment=t.containment)},_convertPositionTo:function(t,n){n||(n=this.position);var r=t=="absolute"?1:-1,i=this.options,s=this.cssPosition!="absolute"||this.scrollParent[0]!=document&&!!e.contains(this.scrollParent[0],this.offsetParent[0])?this.scrollParent:this.offsetParent,o=/(html|body)/i.test(s[0].tagName);return{top:n.top+this.offset.relative.top*r+this.offset.parent.top*r-(this.cssPosition=="fixed"?-this.scrollParent.scrollTop():o?0:s.scrollTop())*r,left:n.left+this.offset.relative.left*r+this.offset.parent.left*r-(this.cssPosition=="fixed"?-this.scrollParent.scrollLeft():o?0:s.scrollLeft())*r}},_generatePosition:function(t){var n=this.options,r=this.cssPosition!="absolute"||this.scrollParent[0]!=document&&!!e.contains(this.scrollParent[0],this.offsetParent[0])?this.scrollParent:this.offsetParent,i=/(html|body)/i.test(r[0].tagName),s=t.pageX,o=t.pageY;if(this.originalPosition){var u;if(this.containment){if(this.relative_container){var a=this.relative_container.offset();u=[this.containment[0]+a.left,this.containment[1]+a.top,this.containment[2]+a.left,this.containment[3]+a.top]}else u=this.containment;t.pageX-this.offset.click.leftu[2]&&(s=u[2]+this.offset.click.left),t.pageY-this.offset.click.top>u[3]&&(o=u[3]+this.offset.click.top)}if(n.grid){var f=n.grid[1]?this.originalPageY+Math.round((o-this.originalPageY)/n.grid[1])*n.grid[1]:this.originalPageY;o=u?f-this.offset.click.topu[3]?f-this.offset.click.topu[2]?l-this.offset.click.left=0;l--){var c=r.snapElements[l].left,h=c+r.snapElements[l].width,p=r.snapElements[l].top,d=p+r.snapElements[l].height;if(!(c-s=l&&o<=c||u>=l&&u<=c||oc)&&(i>=a&&i<=f||s>=a&&s<=f||if);default:return!1}},e.ui.ddmanager={current:null,droppables:{"default":[]},prepareOffsets:function(t,n){var r=e.ui.ddmanager.droppables[t.options.scope]||[],i=n?n.type:null,s=(t.currentItem||t.element).find(":data(droppable)").andSelf();e:for(var o=0;oe?0:r.max")[0],c,h=t.each;l.style.cssText="background-color:rgba(1,1,1,.5)",f.rgba=l.style.backgroundColor.indexOf("rgba")>-1,h(u,function(e,t){t.cache="_"+e,t.props.alpha={idx:3,type:"percent",def:1}}),o.fn=t.extend(o.prototype,{parse:function(r,i,s,a){if(r===n)return this._rgba=[null,null,null,null],this;if(r.jquery||r.nodeType)r=t(r).css(i),i=n;var f=this,l=t.type(r),v=this._rgba=[],m;i!==n&&(r=[r,i,s,a],l="array");if(l==="string")return this.parse(d(r)||c._default);if(l==="array")return h(u.rgba.props,function(e,t){v[t.idx]=p(r[t.idx],t)}),this;if(l==="object")return r instanceof o?h(u,function(e,t){r[t.cache]&&(f[t.cache]=r[t.cache].slice())}):h(u,function(t,n){var i=n.cache;h(n.props,function(e,t){if(!f[i]&&n.to){if(e==="alpha"||r[e]==null)return;f[i]=n.to(f._rgba)}f[i][t.idx]=p(r[e],t,!0)}),f[i]&&e.inArray(null,f[i].slice(0,3))<0&&(f[i][3]=1,n.from&&(f._rgba=n.from(f[i])))}),this},is:function(e){var t=o(e),n=!0,r=this;return h(u,function(e,i){var s,o=t[i.cache];return o&&(s=r[i.cache]||i.to&&i.to(r._rgba)||[],h(i.props,function(e,t){if(o[t.idx]!=null)return n=o[t.idx]===s[t.idx],n})),n}),n},_space:function(){var e=[],t=this;return h(u,function(n,r){t[r.cache]&&e.push(n)}),e.pop()},transition:function(e,t){var n=o(e),r=n._space(),i=u[r],s=this.alpha()===0?o("transparent"):this,f=s[i.cache]||i.to(s._rgba),l=f.slice();return n=n[i.cache],h(i.props,function(e,r){var i=r.idx,s=f[i],o=n[i],u=a[r.type]||{};if(o===null)return;s===null?l[i]=o:(u.mod&&(o-s>u.mod/2?s+=u.mod:s-o>u.mod/2&&(s-=u.mod)),l[i]=p((o-s)*t+s,r))}),this[r](l)},blend:function(e){if(this._rgba[3]===1)return this;var n=this._rgba.slice(),r=n.pop(),i=o(e)._rgba;return o(t.map(n,function(e,t){return(1-r)*i[t]+r*e}))},toRgbaString:function(){var e="rgba(",n=t.map(this._rgba,function(e,t){return e==null?t>2?1:0:e});return n[3]===1&&(n.pop(),e="rgb("),e+n.join()+")"},toHslaString:function(){var e="hsla(",n=t.map(this.hsla(),function(e,t){return e==null&&(e=t>2?1:0),t&&t<3&&(e=Math.round(e*100)+"%"),e});return n[3]===1&&(n.pop(),e="hsl("),e+n.join()+")"},toHexString:function(e){var n=this._rgba.slice(),r=n.pop();return e&&n.push(~~(r*255)),"#"+t.map(n,function(e,t){return e=(e||0).toString(16),e.length===1?"0"+e:e}).join("")},toString:function(){return this._rgba[3]===0?"transparent":this.toRgbaString()}}),o.fn.parse.prototype=o.fn,u.hsla.to=function(e){if(e[0]==null||e[1]==null||e[2]==null)return[null,null,null,e[3]];var t=e[0]/255,n=e[1]/255,r=e[2]/255,i=e[3],s=Math.max(t,n,r),o=Math.min(t,n,r),u=s-o,a=s+o,f=a*.5,l,c;return o===s?l=0:t===s?l=60*(n-r)/u+360:n===s?l=60*(r-t)/u+120:l=60*(t-n)/u+240,f===0||f===1?c=f:f<=.5?c=u/a:c=u/(2-a),[Math.round(l)%360,c,f,i==null?1:i]},u.hsla.from=function(e){if(e[0]==null||e[1]==null||e[2]==null)return[null,null,null,e[3]];var t=e[0]/360,n=e[1],r=e[2],i=e[3],s=r<=.5?r*(1+n):r+n-r*n,o=2*r-s,u,a,f;return[Math.round(v(o,s,t+1/3)*255),Math.round(v(o,s,t)*255),Math.round(v(o,s,t-1/3)*255),i]},h(u,function(e,r){var s=r.props,u=r.cache,a=r.to,f=r.from;o.fn[e]=function(e){a&&!this[u]&&(this[u]=a(this._rgba));if(e===n)return this[u].slice();var r,i=t.type(e),l=i==="array"||i==="object"?e:arguments,c=this[u].slice();return h(s,function(e,t){var n=l[i==="object"?e:t.idx];n==null&&(n=c[t.idx]),c[t.idx]=p(n,t)}),f?(r=o(f(c)),r[u]=c,r):o(c)},h(s,function(n,r){if(o.fn[n])return;o.fn[n]=function(s){var o=t.type(s),u=n==="alpha"?this._hsla?"hsla":"rgba":e,a=this[u](),f=a[r.idx],l;return o==="undefined"?f:(o==="function"&&(s=s.call(this,f),o=t.type(s)),s==null&&r.empty?this:(o==="string"&&(l=i.exec(s),l&&(s=f+parseFloat(l[2])*(l[1]==="+"?1:-1))),a[r.idx]=s,this[u](a)))}})}),h(r,function(e,n){t.cssHooks[n]={set:function(e,r){var i,s,u="";if(t.type(r)!=="string"||(i=d(r))){r=o(i||r);if(!f.rgba&&r._rgba[3]!==1){s=n==="backgroundColor"?e.parentNode:e;while((u===""||u==="transparent")&&s&&s.style)try{u=t.css(s,"backgroundColor"),s=s.parentNode}catch(a){}r=r.blend(u&&u!=="transparent"?u:"_default")}r=r.toRgbaString()}try{e.style[n]=r}catch(r){}}},t.fx.step[n]=function(e){e.colorInit||(e.start=o(e.elem,n),e.end=o(e.end),e.colorInit=!0),t.cssHooks[n].set(e.elem,e.start.transition(e.end,e.pos))}}),t.cssHooks.borderColor={expand:function(e){var t={};return h(["Top","Right","Bottom","Left"],function(n,r){t["border"+r+"Color"]=e}),t}},c=t.Color.names={aqua:"#00ffff",black:"#000000",blue:"#0000ff",fuchsia:"#ff00ff",gray:"#808080",green:"#008000",lime:"#00ff00",maroon:"#800000",navy:"#000080",olive:"#808000",purple:"#800080",red:"#ff0000",silver:"#c0c0c0",teal:"#008080",white:"#ffffff",yellow:"#ffff00",transparent:[null,null,null,0],_default:"#ffffff"}}(jQuery),function(){function i(){var t=this.ownerDocument.defaultView?this.ownerDocument.defaultView.getComputedStyle(this,null):this.currentStyle,n={},r,i,s;if(t&&t.length&&t[0]&&t[t[0]]){s=t.length;while(s--)r=t[s],typeof t[r]=="string"&&(n[e.camelCase(r)]=t[r])}else for(r in t)typeof t[r]=="string"&&(n[r]=t[r]);return n}function s(t,n){var i={},s,o;for(s in n)o=n[s],t[s]!==o&&!r[s]&&(e.fx.step[s]||!isNaN(parseFloat(o)))&&(i[s]=o);return i}var n=["add","remove","toggle"],r={border:1,borderBottom:1,borderColor:1,borderLeft:1,borderRight:1,borderTop:1,borderWidth:1,margin:1,padding:1};e.each(["borderLeftStyle","borderRightStyle","borderBottomStyle","borderTopStyle"],function(t,n){e.fx.step[n]=function(e){if(e.end!=="none"&&!e.setAttr||e.pos===1&&!e.setAttr)jQuery.style(e.elem,n,e.end),e.setAttr=!0}}),e.effects.animateClass=function(t,r,o,u){var a=e.speed(r,o,u);return this.queue(function(){var r=e(this),o=r.attr("class")||"",u,f=a.children?r.find("*").andSelf():r;f=f.map(function(){var t=e(this);return{el:t,start:i.call(this)}}),u=function(){e.each(n,function(e,n){t[n]&&r[n+"Class"](t[n])})},u(),f=f.map(function(){return this.end=i.call(this.el[0]),this.diff=s(this.start,this.end),this}),r.attr("class",o),f=f.map(function(){var t=this,n=e.Deferred(),r=jQuery.extend({},a,{queue:!1,complete:function(){n.resolve(t)}});return this.el.animate(this.diff,r),n.promise()}),e.when.apply(e,f.get()).done(function(){u(),e.each(arguments,function(){var t=this.el;e.each(this.diff,function(e){t.css(e,"")})}),a.complete.call(r[0])})})},e.fn.extend({_addClass:e.fn.addClass,addClass:function(t,n,r,i){return n?e.effects.animateClass.call(this,{add:t},n,r,i):this._addClass(t)},_removeClass:e.fn.removeClass,removeClass:function(t,n,r,i){return n?e.effects.animateClass.call(this,{remove:t},n,r,i):this._removeClass(t)},_toggleClass:e.fn.toggleClass,toggleClass:function(n,r,i,s,o){return typeof r=="boolean"||r===t?i?e.effects.animateClass.call(this,r?{add:n}:{remove:n},i,s,o):this._toggleClass(n,r):e.effects.animateClass.call(this,{toggle:n},r,i,s)},switchClass:function(t,n,r,i,s){return e.effects.animateClass.call(this,{add:n,remove:t},r,i,s)}})}(),function(){function i(n,r,i,s){e.isPlainObject(n)&&(r=n,n=n.effect),n={effect:n},r===t&&(r={}),e.isFunction(r)&&(s=r,i=null,r={});if(typeof r=="number"||e.fx.speeds[r])s=i,i=r,r={};return e.isFunction(i)&&(s=i,i=null),r&&e.extend(n,r),i=i||r.duration,n.duration=e.fx.off?0:typeof i=="number"?i:i in e.fx.speeds?e.fx.speeds[i]:e.fx.speeds._default,n.complete=s||r.complete,n}function s(t){return!t||typeof t=="number"||e.fx.speeds[t]?!0:typeof t=="string"&&!e.effects.effect[t]?n&&e.effects[t]?!1:!0:!1}e.extend(e.effects,{version:"1.9.0",save:function(e,t){for(var n=0;n
                    ").addClass("ui-effects-wrapper").css({fontSize:"100%",background:"transparent",border:"none",margin:0,padding:0}),i={width:t.width(),height:t.height()},s=document.activeElement;try{s.id}catch(o){s=document.body}return t.wrap(r),(t[0]===s||e.contains(t[0],s))&&e(s).focus(),r=t.parent(),t.css("position")==="static"?(r.css({position:"relative"}),t.css({position:"relative"})):(e.extend(n,{position:t.css("position"),zIndex:t.css("z-index")}),e.each(["top","left","bottom","right"],function(e,r){n[r]=t.css(r),isNaN(parseInt(n[r],10))&&(n[r]="auto")}),t.css({position:"relative",top:0,left:0,right:"auto",bottom:"auto"})),t.css(i),r.css(n).show()},removeWrapper:function(t){var n=document.activeElement;return t.parent().is(".ui-effects-wrapper")&&(t.parent().replaceWith(t),(t[0]===n||e.contains(t[0],n))&&e(n).focus()),t},setTransition:function(t,n,r,i){return i=i||{},e.each(n,function(e,n){var s=t.cssUnit(n);s[0]>0&&(i[n]=s[0]*r+s[1])}),i}}),e.fn.extend({effect:function(t,r,s,o){function h(t){function s(){e.isFunction(r)&&r.call(n[0]),e.isFunction(t)&&t()}var n=e(this),r=u.complete,i=u.mode;(n.is(":hidden")?i==="hide":i==="show")?s():l.call(n[0],u,s)}var u=i.apply(this,arguments),a=u.mode,f=u.queue,l=e.effects.effect[u.effect],c=!l&&n&&e.effects[u.effect];return e.fx.off||!l&&!c?a?this[a](u.duration,u.complete):this.each(function(){u.complete&&u.complete.call(this)}):l?f===!1?this.each(h):this.queue(f||"fx",h):c.call(this,{options:u,duration:u.duration,callback:u.complete,mode:u.mode})},_show:e.fn.show,show:function(e){if(s(e))return this._show.apply(this,arguments);var t=i.apply(this,arguments);return t.mode="show",this.effect.call(this,t)},_hide:e.fn.hide,hide:function(e){if(s(e))return this._hide.apply(this,arguments);var t=i.apply(this,arguments);return t.mode="hide",this.effect.call(this,t)},__toggle:e.fn.toggle,toggle:function(t){if(s(t)||typeof t=="boolean"||e.isFunction(t))return this.__toggle.apply(this,arguments);var n=i.apply(this,arguments);return n.mode="toggle",this.effect.call(this,n)},cssUnit:function(t){var n=this.css(t),r=[];return e.each(["em","px","%","pt"],function(e,t){n.indexOf(t)>0&&(r=[parseFloat(n),t])}),r}})}(),function(){var t={};e.each(["Quad","Cubic","Quart","Quint","Expo"],function(e,n){t[n]=function(t){return Math.pow(t,e+2)}}),e.extend(t,{Sine:function(e){return 1-Math.cos(e*Math.PI/2)},Circ:function(e){return 1-Math.sqrt(1-e*e)},Elastic:function(e){return e===0||e===1?e:-Math.pow(2,8*(e-1))*Math.sin(((e-1)*80-7.5)*Math.PI/15)},Back:function(e){return e*e*(3*e-2)},Bounce:function(e){var t,n=4;while(e<((t=Math.pow(2,--n))-1)/11);return 1/Math.pow(4,3-n)-7.5625*Math.pow((t*3-2)/22-e,2)}}),e.each(t,function(t,n){e.easing["easeIn"+t]=n,e.easing["easeOut"+t]=function(e){return 1-n(1-e)},e.easing["easeInOut"+t]=function(e){return e<.5?n(e*2)/2:1-n(e*-2+2)/2}})}()}(jQuery);(function(e,t){var n=/up|down|vertical/,r=/up|left|vertical|horizontal/;e.effects.effect.blind=function(t,i){var s=e(this),o=["position","top","bottom","left","right","height","width"],u=e.effects.setMode(s,t.mode||"hide"),a=t.direction||"up",f=n.test(a),l=f?"height":"width",c=f?"top":"left",h=r.test(a),p={},d=u==="show",v,m,g;s.parent().is(".ui-effects-wrapper")?e.effects.save(s.parent(),o):e.effects.save(s,o),s.show(),v=e.effects.createWrapper(s).css({overflow:"hidden"}),m=v[l](),g=parseFloat(v.css(c))||0,p[l]=d?m:0,h||(s.css(f?"bottom":"right",0).css(f?"top":"left","auto").css({position:"absolute"}),p[c]=d?g:m+g),d&&(v.css(l,0),h||v.css(c,g+m)),v.animate(p,{duration:t.duration,easing:t.easing,queue:!1,complete:function(){u==="hide"&&s.hide(),e.effects.restore(s,o),e.effects.removeWrapper(s),i()}})}})(jQuery);(function(e,t){e.effects.effect.bounce=function(t,n){var r=e(this),i=["position","top","bottom","left","right","height","width"],s=e.effects.setMode(r,t.mode||"effect"),o=s==="hide",u=s==="show",a=t.direction||"up",f=t.distance,l=t.times||5,c=l*2+(u||o?1:0),h=t.duration/c,p=t.easing,d=a==="up"||a==="down"?"top":"left",v=a==="up"||a==="left",m,g,y,b=r.queue(),w=b.length;(u||o)&&i.push("opacity"),e.effects.save(r,i),r.show(),e.effects.createWrapper(r),f||(f=r[d==="top"?"outerHeight":"outerWidth"]()/3),u&&(y={opacity:1},y[d]=0,r.css("opacity",0).css(d,v?-f*2:f*2).animate(y,h,p)),o&&(f/=Math.pow(2,l-1)),y={},y[d]=0;for(m=0;m1&&b.splice.apply(b,[1,0].concat(b.splice(w,c+1))),r.dequeue()}})(jQuery);(function(e,t){e.effects.effect.clip=function(t,n){var r=e(this),i=["position","top","bottom","left","right","height","width"],s=e.effects.setMode(r,t.mode||"hide"),o=s==="show",u=t.direction||"vertical",a=u==="vertical",f=a?"height":"width",l=a?"top":"left",c={},h,p,d;e.effects.save(r,i),r.show(),h=e.effects.createWrapper(r).css({overflow:"hidden"}),p=r[0].tagName==="IMG"?h:r,d=p[f](),o&&(p.css(f,0),p.css(l,d/2)),c[f]=o?d:0,c[l]=o?0:d/2,p.animate(c,{queue:!1,duration:t.duration,easing:t.easing,complete:function(){o||r.hide(),e.effects.restore(r,i),e.effects.removeWrapper(r),n()}})}})(jQuery);(function(e,t){e.effects.effect.drop=function(t,n){var r=e(this),i=["position","top","bottom","left","right","opacity","height","width"],s=e.effects.setMode(r,t.mode||"hide"),o=s==="show",u=t.direction||"left",a=u==="up"||u==="down"?"top":"left",f=u==="up"||u==="left"?"pos":"neg",l={opacity:o?1:0},c;e.effects.save(r,i),r.show(),e.effects.createWrapper(r),c=t.distance||r[a==="top"?"outerHeight":"outerWidth"](!0)/2,o&&r.css("opacity",0).css(a,f==="pos"?-c:c),l[a]=(o?f==="pos"?"+=":"-=":f==="pos"?"-=":"+=")+c,r.animate(l,{queue:!1,duration:t.duration,easing:t.easing,complete:function(){s==="hide"&&r.hide(),e.effects.restore(r,i),e.effects.removeWrapper(r),n()}})}})(jQuery);(function(e,t){e.effects.effect.explode=function(t,n){function y(){c.push(this),c.length===r*i&&b()}function b(){s.css({visibility:"visible"}),e(c).remove(),u||s.hide(),n()}var r=t.pieces?Math.round(Math.sqrt(t.pieces)):3,i=r,s=e(this),o=e.effects.setMode(s,t.mode||"hide"),u=o==="show",a=s.show().css("visibility","hidden").offset(),f=Math.ceil(s.outerWidth()/i),l=Math.ceil(s.outerHeight()/r),c=[],h,p,d,v,m,g;for(h=0;h
                    ").css({position:"absolute",visibility:"visible",left:-p*f,top:-h*l}).parent().addClass("ui-effects-explode").css({position:"absolute",overflow:"hidden",width:f,height:l,left:d+(u?m*f:0),top:v+(u?g*l:0),opacity:u?0:1}).animate({left:d+(u?0:m*f),top:v+(u?0:g*l),opacity:u?1:0},t.duration||500,t.easing,y)}}})(jQuery);(function(e,t){e.effects.effect.fade=function(t,n){var r=e(this),i=e.effects.setMode(r,t.mode||"toggle");r.animate({opacity:i},{queue:!1,duration:t.duration,easing:t.easing,complete:n})}})(jQuery);(function(e,t){e.effects.effect.fold=function(t,n){var r=e(this),i=["position","top","bottom","left","right","height","width"],s=e.effects.setMode(r,t.mode||"hide"),o=s==="show",u=s==="hide",a=t.size||15,f=/([0-9]+)%/.exec(a),l=!!t.horizFirst,c=o!==l,h=c?["width","height"]:["height","width"],p=t.duration/2,d,v,m={},g={};e.effects.save(r,i),r.show(),d=e.effects.createWrapper(r).css({overflow:"hidden"}),v=c?[d.width(),d.height()]:[d.height(),d.width()],f&&(a=parseInt(f[1],10)/100*v[u?0:1]),o&&d.css(l?{height:0,width:a}:{height:a,width:0}),m[h[0]]=o?v[0]:a,g[h[1]]=o?v[1]:0,d.animate(m,p,t.easing).animate(g,p,t.easing,function(){u&&r.hide(),e.effects.restore(r,i),e.effects.removeWrapper(r),n()})}})(jQuery);(function(e,t){e.effects.effect.highlight=function(t,n){var r=e(this),i=["backgroundImage","backgroundColor","opacity"],s=e.effects.setMode(r,t.mode||"show"),o={backgroundColor:r.css("backgroundColor")};s==="hide"&&(o.opacity=0),e.effects.save(r,i),r.show().css({backgroundImage:"none",backgroundColor:t.color||"#ffff99"}).animate(o,{queue:!1,duration:t.duration,easing:t.easing,complete:function(){s==="hide"&&r.hide(),e.effects.restore(r,i),n()}})}})(jQuery);(function(e,t){e.effects.effect.pulsate=function(t,n){var r=e(this),i=e.effects.setMode(r,t.mode||"show"),s=i==="show",o=i==="hide",u=s||i==="hide",a=(t.times||5)*2+(u?1:0),f=t.duration/a,l=0,c=r.queue(),h=c.length,p;if(s||!r.is(":visible"))r.css("opacity",0).show(),l=1;for(p=1;p1&&c.splice.apply(c,[1,0].concat(c.splice(h,a+1))),r.dequeue()}})(jQuery);(function(e,t){e.effects.effect.puff=function(t,n){var r=e(this),i=e.effects.setMode(r,t.mode||"hide"),s=i==="hide",o=parseInt(t.percent,10)||150,u=o/100,a={height:r.height(),width:r.width()};e.extend(t,{effect:"scale",queue:!1,fade:!0,mode:i,complete:n,percent:s?o:100,from:s?a:{height:a.height*u,width:a.width*u}}),r.effect(t)},e.effects.effect.scale=function(t,n){var r=e(this),i=e.extend(!0,{},t),s=e.effects.setMode(r,t.mode||"effect"),o=parseInt(t.percent,10)||(parseInt(t.percent,10)===0?0:s==="hide"?0:100),u=t.direction||"both",a=t.origin,f={height:r.height(),width:r.width(),outerHeight:r.outerHeight(),outerWidth:r.outerWidth()},l={y:u!=="horizontal"?o/100:1,x:u!=="vertical"?o/100:1};i.effect="size",i.queue=!1,i.complete=n,s!=="effect"&&(i.origin=a||["middle","center"],i.restore=!0),i.from=t.from||(s==="show"?{height:0,width:0}:f),i.to={height:f.height*l.y,width:f.width*l.x,outerHeight:f.outerHeight*l.y,outerWidth:f.outerWidth*l.x},i.fade&&(s==="show"&&(i.from.opacity=0,i.to.opacity=1),s==="hide"&&(i.from.opacity=1,i.to.opacity=0)),r.effect(i)},e.effects.effect.size=function(t,n){var r=e(this),i=["position","top","bottom","left","right","width","height","overflow","opacity"],s=["position","top","bottom","left","right","overflow","opacity"],o=["width","height","overflow"],u=["fontSize"],a=["borderTopWidth","borderBottomWidth","paddingTop","paddingBottom"],f=["borderLeftWidth","borderRightWidth","paddingLeft","paddingRight"],l=e.effects.setMode(r,t.mode||"effect"),c=t.restore||l!=="effect",h=t.scale||"both",p=t.origin||["middle","center"],d,v,m,g=r.css("position");l==="show"&&r.show(),d={height:r.height(),width:r.width(),outerHeight:r.outerHeight(),outerWidth:r.outerWidth()},r.from=t.from||d,r.to=t.to||d,m={from:{y:r.from.height/d.height,x:r.from.width/d.width},to:{y:r.to.height/d.height,x:r.to.width/d.width}};if(h==="box"||h==="both")m.from.y!==m.to.y&&(i=i.concat(a),r.from=e.effects.setTransition(r,a,m.from.y,r.from),r.to=e.effects.setTransition(r,a,m.to.y,r.to)),m.from.x!==m.to.x&&(i=i.concat(f),r.from=e.effects.setTransition(r,f,m.from.x,r.from),r.to=e.effects.setTransition(r,f,m.to.x,r.to));(h==="content"||h==="both")&&m.from.y!==m.to.y&&(i=i.concat(u),r.from=e.effects.setTransition(r,u,m.from.y,r.from),r.to=e.effects.setTransition(r,u,m.to.y,r.to)),e.effects.save(r,c?i:s),r.show(),e.effects.createWrapper(r),r.css("overflow","hidden").css(r.from),p&&(v=e.effects.getBaseline(p,d),r.from.top=(d.outerHeight-r.outerHeight())*v.y,r.from.left=(d.outerWidth-r.outerWidth())*v.x,r.to.top=(d.outerHeight-r.to.outerHeight)*v.y,r.to.left=(d.outerWidth-r.to.outerWidth)*v.x),r.css(r.from);if(h==="content"||h==="both")a=a.concat(["marginTop","marginBottom"]).concat(u),f=f.concat(["marginLeft","marginRight"]),o=i.concat(a).concat(f),r.find("*[width]").each(function(){var n=e(this),r={height:n.height(),width:n.width()};c&&e.effects.save(n,o),n.from={height:r.height*m.from.y,width:r.width*m.from.x},n.to={height:r.height*m.to.y,width:r.width*m.to.x},m.from.y!==m.to.y&&(n.from=e.effects.setTransition(n,a,m.from.y,n.from),n.to=e.effects.setTransition(n,a,m.to.y,n.to)),m.from.x!==m.to.x&&(n.from=e.effects.setTransition(n,f,m.from.x,n.from),n.to=e.effects.setTransition(n,f,m.to.x,n.to)),n.css(n.from),n.animate(n.to,t.duration,t.easing,function(){c&&e.effects.restore(n,o)})});r.animate(r.to,{queue:!1,duration:t.duration,easing:t.easing,complete:function(){r.to.opacity===0&&r.css("opacity",r.from.opacity),l==="hide"&&r.hide(),e.effects.restore(r,c?i:s),c||(g==="static"?r.css({position:"relative",top:r.to.top,left:r.to.left}):e.each(["top","left"],function(e,t){r.css(t,function(t,n){var i=parseInt(n,10),s=e?r.to.left:r.to.top;return n==="auto"?s+"px":i+s+"px"})})),e.effects.removeWrapper(r),n()}})}})(jQuery);(function(e,t){e.effects.effect.shake=function(t,n){var r=e(this),i=["position","top","bottom","left","right","height","width"],s=e.effects.setMode(r,t.mode||"effect"),o=t.direction||"left",u=t.distance||20,a=t.times||3,f=a*2+1,l=Math.round(t.duration/f),c=o==="up"||o==="down"?"top":"left",h=o==="up"||o==="left",p={},d={},v={},m,g=r.queue(),y=g.length;e.effects.save(r,i),r.show(),e.effects.createWrapper(r),p[c]=(h?"-=":"+=")+u,d[c]=(h?"+=":"-=")+u*2,v[c]=(h?"-=":"+=")+u*2,r.animate(p,l,t.easing);for(m=1;m1&&g.splice.apply(g,[1,0].concat(g.splice(y,f+1))),r.dequeue()}})(jQuery);(function(e,t){e.effects.effect.slide=function(t,n){var r=e(this),i=["position","top","bottom","left","right","width","height"],s=e.effects.setMode(r,t.mode||"show"),o=s==="show",u=t.direction||"left",a=u==="up"||u==="down"?"top":"left",f=u==="up"||u==="left",l,c={};e.effects.save(r,i),r.show(),l=t.distance||r[a==="top"?"outerHeight":"outerWidth"](!0),e.effects.createWrapper(r).css({overflow:"hidden"}),o&&r.css(a,f?isNaN(l)?"-"+l:-l:l),c[a]=(o?f?"+=":"-=":f?"-=":"+=")+l,r.animate(c,{queue:!1,duration:t.duration,easing:t.easing,complete:function(){s==="hide"&&r.hide(),e.effects.restore(r,i),e.effects.removeWrapper(r),n()}})}})(jQuery);(function(e,t){e.effects.effect.transfer=function(t,n){var r=e(this),i=e(t.to),s=i.css("position")==="fixed",o=e("body"),u=s?o.scrollTop():0,a=s?o.scrollLeft():0,f=i.offset(),l={top:f.top-u,left:f.left-a,height:i.innerHeight(),width:i.innerWidth()},c=r.offset(),h=e('
                    ').appendTo(document.body).addClass(t.className).css({top:c.top-u,left:c.left-a,height:r.innerHeight(),width:r.innerWidth(),position:s?"fixed":"absolute"}).animate(l,t.duration,t.easing,function(){h.remove(),n()})}})(jQuery);(function(e,t){var n=!1;e.widget("ui.menu",{version:"1.9.0",defaultElement:"
                      ",delay:300,options:{icons:{submenu:"ui-icon-carat-1-e"},menus:"ul",position:{my:"left top",at:"right top"},role:"menu",blur:null,focus:null,select:null},_create:function(){this.activeMenu=this.element,this.element.uniqueId().addClass("ui-menu ui-widget ui-widget-content ui-corner-all").toggleClass("ui-menu-icons",!!this.element.find(".ui-icon").length).attr({role:this.options.role,tabIndex:0}).bind("click"+this.eventNamespace,e.proxy(function(e){this.options.disabled&&e.preventDefault()},this)),this.options.disabled&&this.element.addClass("ui-state-disabled").attr("aria-disabled","true"),this._on({"mousedown .ui-menu-item > a":function(e){e.preventDefault()},"click .ui-state-disabled > a":function(e){e.preventDefault()},"click .ui-menu-item:has(a)":function(t){var r=e(t.target).closest(".ui-menu-item");!n&&r.not(".ui-state-disabled").length&&(n=!0,this.select(t),r.has(".ui-menu").length?this.expand(t):this.element.is(":focus")||(this.element.trigger("focus",[!0]),this.active&&this.active.parents(".ui-menu").length===1&&clearTimeout(this.timer)))},"mouseenter .ui-menu-item":function(t){var n=e(t.currentTarget);n.siblings().children(".ui-state-active").removeClass("ui-state-active"),this.focus(t,n)},mouseleave:"collapseAll","mouseleave .ui-menu":"collapseAll",focus:function(e,t){var n=this.active||this.element.children(".ui-menu-item").eq(0);t||this.focus(e,n)},blur:function(t){this._delay(function(){e.contains(this.element[0],this.document[0].activeElement)||this.collapseAll(t)})},keydown:"_keydown"}),this.refresh(),this._on(this.document,{click:function(t){e(t.target).closest(".ui-menu").length||this.collapseAll(t),n=!1}})},_destroy:function(){this.element.removeAttr("aria-activedescendant").find(".ui-menu").andSelf().removeClass("ui-menu ui-widget ui-widget-content ui-corner-all ui-menu-icons").removeAttr("role").removeAttr("tabIndex").removeAttr("aria-labelledby").removeAttr("aria-expanded").removeAttr("aria-hidden").removeAttr("aria-disabled").removeUniqueId().show(),this.element.find(".ui-menu-item").removeClass("ui-menu-item").removeAttr("role").removeAttr("aria-disabled").children("a").removeUniqueId().removeClass("ui-corner-all ui-state-hover").removeAttr("tabIndex").removeAttr("role").removeAttr("aria-haspopup").children().each(function(){var t=e(this);t.data("ui-menu-submenu-carat")&&t.remove()}),this.element.find(".ui-menu-divider").removeClass("ui-menu-divider ui-widget-content")},_keydown:function(t){function a(e){return e.replace(/[\-\[\]{}()*+?.,\\\^$|#\s]/g,"\\$&")}var n,r,i,s,o,u=!0;switch(t.keyCode){case e.ui.keyCode.PAGE_UP:this.previousPage(t);break;case e.ui.keyCode.PAGE_DOWN:this.nextPage(t);break;case e.ui.keyCode.HOME:this._move("first","first",t);break;case e.ui.keyCode.END:this._move("last","last",t);break;case e.ui.keyCode.UP:this.previous(t);break;case e.ui.keyCode.DOWN:this.next(t);break;case e.ui.keyCode.LEFT:this.collapse(t);break;case e.ui.keyCode.RIGHT:this.active&&!this.active.is(".ui-state-disabled")&&this.expand(t);break;case e.ui.keyCode.ENTER:case e.ui.keyCode.SPACE:this._activate(t);break;case e.ui.keyCode.ESCAPE:this.collapse(t);break;default:u=!1,r=this.previousFilter||"",i=String.fromCharCode(t.keyCode),s=!1,clearTimeout(this.filterTimer),i===r?s=!0:i=r+i,o=new RegExp("^"+a(i),"i"),n=this.activeMenu.children(".ui-menu-item").filter(function(){return o.test(e(this).children("a").text())}),n=s&&n.index(this.active.next())!==-1?this.active.nextAll(".ui-menu-item"):n,n.length||(i=String.fromCharCode(t.keyCode),o=new RegExp("^"+a(i),"i"),n=this.activeMenu.children(".ui-menu-item").filter(function(){return o.test(e(this).children("a").text())})),n.length?(this.focus(t,n),n.length>1?(this.previousFilter=i,this.filterTimer=this._delay(function(){delete this.previousFilter},1e3)):delete this.previousFilter):delete this.previousFilter}u&&t.preventDefault()},_activate:function(e){this.active.is(".ui-state-disabled")||(this.active.children("a[aria-haspopup='true']").length?this.expand(e):this.select(e))},refresh:function(){var t,n=this.options.icons.submenu,r=this.element.find(this.options.menus+":not(.ui-menu)").addClass("ui-menu ui-widget ui-widget-content ui-corner-all").hide().attr({role:this.options.role,"aria-hidden":"true","aria-expanded":"false"});t=r.add(this.element),t.children(":not(.ui-menu-item):has(a)").addClass("ui-menu-item").attr("role","presentation").children("a").uniqueId().addClass("ui-corner-all").attr({tabIndex:-1,role:this._itemRole()}),t.children(":not(.ui-menu-item)").each(function(){var t=e(this);/[^\-—–\s]/.test(t.text())||t.addClass("ui-widget-content ui-menu-divider")}),t.children(".ui-state-disabled").attr("aria-disabled","true"),r.each(function(){var t=e(this),r=t.prev("a"),i=e("").addClass("ui-menu-icon ui-icon "+n).data("ui-menu-submenu-carat",!0);r.attr("aria-haspopup","true").prepend(i),t.attr("aria-labelledby",r.attr("id"))}),this.active&&!e.contains(this.element[0],this.active[0])&&this.blur()},_itemRole:function(){return{menu:"menuitem",listbox:"option"}[this.options.role]},focus:function(e,t){var n,r;this.blur(e,e&&e.type==="focus"),this._scrollIntoView(t),this.active=t.first(),r=this.active.children("a").addClass("ui-state-focus"),this.options.role&&this.element.attr("aria-activedescendant",r.attr("id")),this.active.parent().closest(".ui-menu-item").children("a:first").addClass("ui-state-active"),e&&e.type==="keydown"?this._close():this.timer=this._delay(function(){this._close()},this.delay),n=t.children(".ui-menu"),n.length&&/^mouse/.test(e.type)&&this._startOpening(n),this.activeMenu=t.parent(),this._trigger("focus",e,{item:t})},_scrollIntoView:function(t){var n,r,i,s,o,u;this._hasScroll()&&(n=parseFloat(e.css(this.activeMenu[0],"borderTopWidth"))||0,r=parseFloat(e.css(this.activeMenu[0],"paddingTop"))||0,i=t.offset().top-this.activeMenu.offset().top-n-r,s=this.activeMenu.scrollTop(),o=this.activeMenu.height(),u=t.height(),i<0?this.activeMenu.scrollTop(s+i):i+u>o&&this.activeMenu.scrollTop(s+i-o+u))},blur:function(e,t){t||clearTimeout(this.timer);if(!this.active)return;this.active.children("a").removeClass("ui-state-focus"),this.active=null,this._trigger("blur",e,{item:this.active})},_startOpening:function(e){clearTimeout(this.timer);if(e.attr("aria-hidden")!=="true")return;this.timer=this._delay(function(){this._close(),this._open(e)},this.delay)},_open:function(t){var n=e.extend({of:this.active},this.options.position);clearTimeout(this.timer),this.element.find(".ui-menu").not(t.parents(".ui-menu")).hide().attr("aria-hidden","true"),t.show().removeAttr("aria-hidden").attr("aria-expanded","true").position(n)},collapseAll:function(t,n){clearTimeout(this.timer),this.timer=this._delay(function(){var r=n?this.element:e(t&&t.target).closest(this.element.find(".ui-menu"));r.length||(r=this.element),this._close(r),this.blur(t),this.activeMenu=r},this.delay)},_close:function(e){e||(e=this.active?this.active.parent():this.element),e.find(".ui-menu").hide().attr("aria-hidden","true").attr("aria-expanded","false").end().find("a.ui-state-active").removeClass("ui-state-active")},collapse:function(e){var t=this.active&&this.active.parent().closest(".ui-menu-item",this.element);t&&t.length&&(this._close(),this.focus(e,t))},expand:function(e){var t=this.active&&this.active.children(".ui-menu ").children(".ui-menu-item").first();t&&t.length&&(this._open(t.parent()),this._delay(function(){this.focus(e,t)}))},next:function(e){this._move("next","first",e)},previous:function(e){this._move("prev","last",e)},isFirstItem:function(){return this.active&&!this.active.prevAll(".ui-menu-item").length},isLastItem:function(){return this.active&&!this.active.nextAll(".ui-menu-item").length},_move:function(e,t,n){var r;this.active&&(e==="first"||e==="last"?r=this.active[e==="first"?"prevAll":"nextAll"](".ui-menu-item").eq(-1):r=this.active[e+"All"](".ui-menu-item").eq(0));if(!r||!r.length||!this.active)r=this.activeMenu.children(".ui-menu-item")[t]();this.focus(n,r)},nextPage:function(t){var n,r,i;if(!this.active){this.next(t);return}if(this.isLastItem())return;this._hasScroll()?(r=this.active.offset().top,i=this.element.height(),this.active.nextAll(".ui-menu-item").each(function(){return n=e(this),n.offset().top-r-i<0}),this.focus(t,n)):this.focus(t,this.activeMenu.children(".ui-menu-item")[this.active?"last":"first"]())},previousPage:function(t){var n,r,i;if(!this.active){this.next(t);return}if(this.isFirstItem())return;this._hasScroll()?(r=this.active.offset().top,i=this.element.height(),this.active.prevAll(".ui-menu-item").each(function(){return n=e(this),n.offset().top-r+i>0}),this.focus(t,n)):this.focus(t,this.activeMenu.children(".ui-menu-item").first())},_hasScroll:function(){return this.element.outerHeight()
                    ").appendTo(this.element),this.oldValue=this._value(),this._refreshValue()},_destroy:function(){this.element.removeClass("ui-progressbar ui-widget ui-widget-content ui-corner-all").removeAttr("role").removeAttr("aria-valuemin").removeAttr("aria-valuemax").removeAttr("aria-valuenow"),this.valueDiv.remove()},value:function(e){return e===t?this._value():(this._setOption("value",e),this)},_setOption:function(e,t){e==="value"&&(this.options.value=t,this._refreshValue(),this._value()===this.options.max&&this._trigger("complete")),this._super(e,t)},_value:function(){var e=this.options.value;return typeof e!="number"&&(e=0),Math.min(this.options.max,Math.max(this.min,e))},_percentage:function(){return 100*this._value()/this.options.max},_refreshValue:function(){var e=this.value(),t=this._percentage();this.oldValue!==e&&(this.oldValue=e,this._trigger("change")),this.valueDiv.toggle(e>this.min).toggleClass("ui-corner-right",e===this.options.max).width(t.toFixed(0)+"%"),this.element.attr("aria-valuenow",e)}})})(jQuery);(function(e,t){e.widget("ui.resizable",e.ui.mouse,{version:"1.9.0",widgetEventPrefix:"resize",options:{alsoResize:!1,animate:!1,animateDuration:"slow",animateEasing:"swing",aspectRatio:!1,autoHide:!1,containment:!1,ghost:!1,grid:!1,handles:"e,s,se",helper:!1,maxHeight:null,maxWidth:null,minHeight:10,minWidth:10,zIndex:1e3},_create:function(){var t=this,n=this.options;this.element.addClass("ui-resizable"),e.extend(this,{_aspectRatio:!!n.aspectRatio,aspectRatio:n.aspectRatio,originalElement:this.element,_proportionallyResizeElements:[],_helper:n.helper||n.ghost||n.animate?n.helper||"ui-resizable-helper":null}),this.element[0].nodeName.match(/canvas|textarea|input|select|button|img/i)&&(this.element.wrap(e('
                    ').css({position:this.element.css("position"),width:this.element.outerWidth(),height:this.element.outerHeight(),top:this.element.css("top"),left:this.element.css("left")})),this.element=this.element.parent().data("resizable",this.element.data("resizable")),this.elementIsWrapper=!0,this.element.css({marginLeft:this.originalElement.css("marginLeft"),marginTop:this.originalElement.css("marginTop"),marginRight:this.originalElement.css("marginRight"),marginBottom:this.originalElement.css("marginBottom")}),this.originalElement.css({marginLeft:0,marginTop:0,marginRight:0,marginBottom:0}),this.originalResizeStyle=this.originalElement.css("resize"),this.originalElement.css("resize","none"),this._proportionallyResizeElements.push(this.originalElement.css({position:"static",zoom:1,display:"block"})),this.originalElement.css({margin:this.originalElement.css("margin")}),this._proportionallyResize()),this.handles=n.handles||(e(".ui-resizable-handle",this.element).length?{n:".ui-resizable-n",e:".ui-resizable-e",s:".ui-resizable-s",w:".ui-resizable-w",se:".ui-resizable-se",sw:".ui-resizable-sw",ne:".ui-resizable-ne",nw:".ui-resizable-nw"}:"e,s,se");if(this.handles.constructor==String){this.handles=="all"&&(this.handles="n,e,s,w,se,sw,ne,nw");var r=this.handles.split(",");this.handles={};for(var i=0;i
                    ');u.css({zIndex:n.zIndex}),"se"==s&&u.addClass("ui-icon ui-icon-gripsmall-diagonal-se"),this.handles[s]=".ui-resizable-"+s,this.element.append(u)}}this._renderAxis=function(t){t=t||this.element;for(var n in this.handles){this.handles[n].constructor==String&&(this.handles[n]=e(this.handles[n],this.element).show());if(this.elementIsWrapper&&this.originalElement[0].nodeName.match(/textarea|input|select|button/i)){var r=e(this.handles[n],this.element),i=0;i=/sw|ne|nw|se|n|s/.test(n)?r.outerHeight():r.outerWidth();var s=["padding",/ne|nw|n/.test(n)?"Top":/se|sw|s/.test(n)?"Bottom":/^e$/.test(n)?"Right":"Left"].join("");t.css(s,i),this._proportionallyResize()}if(!e(this.handles[n]).length)continue}},this._renderAxis(this.element),this._handles=e(".ui-resizable-handle",this.element).disableSelection(),this._handles.mouseover(function(){if(!t.resizing){if(this.className)var e=this.className.match(/ui-resizable-(se|sw|ne|nw|n|e|s|w)/i);t.axis=e&&e[1]?e[1]:"se"}}),n.autoHide&&(this._handles.hide(),e(this.element).addClass("ui-resizable-autohide").mouseenter(function(){if(n.disabled)return;e(this).removeClass("ui-resizable-autohide"),t._handles.show()}).mouseleave(function(){if(n.disabled)return;t.resizing||(e(this).addClass("ui-resizable-autohide"),t._handles.hide())})),this._mouseInit()},_destroy:function(){this._mouseDestroy();var t=function(t){e(t).removeClass("ui-resizable ui-resizable-disabled ui-resizable-resizing").removeData("resizable").removeData("ui-resizable").unbind(".resizable").find(".ui-resizable-handle").remove()};if(this.elementIsWrapper){t(this.element);var n=this.element;n.after(this.originalElement.css({position:n.css("position"),width:n.outerWidth(),height:n.outerHeight(),top:n.css("top"),left:n.css("left")})).remove()}return this.originalElement.css("resize",this.originalResizeStyle),t(this.originalElement),this},_mouseCapture:function(t){var n=!1;for(var r in this.handles)e(this.handles[r])[0]==t.target&&(n=!0);return!this.options.disabled&&n},_mouseStart:function(t){var r=this.options,i=this.element.position(),s=this.element;this.resizing=!0,this.documentScroll={top:e(document).scrollTop(),left:e(document).scrollLeft()},(s.is(".ui-draggable")||/absolute/.test(s.css("position")))&&s.css({position:"absolute",top:i.top,left:i.left}),this._renderProxy();var o=n(this.helper.css("left")),u=n(this.helper.css("top"));r.containment&&(o+=e(r.containment).scrollLeft()||0,u+=e(r.containment).scrollTop()||0),this.offset=this.helper.offset(),this.position={left:o,top:u},this.size=this._helper?{width:s.outerWidth(),height:s.outerHeight()}:{width:s.width(),height:s.height()},this.originalSize=this._helper?{width:s.outerWidth(),height:s.outerHeight()}:{width:s.width(),height:s.height()},this.originalPosition={left:o,top:u},this.sizeDiff={width:s.outerWidth()-s.width(),height:s.outerHeight()-s.height()},this.originalMousePosition={left:t.pageX,top:t.pageY},this.aspectRatio=typeof r.aspectRatio=="number"?r.aspectRatio:this.originalSize.width/this.originalSize.height||1;var a=e(".ui-resizable-"+this.axis).css("cursor");return e("body").css("cursor",a=="auto"?this.axis+"-resize":a),s.addClass("ui-resizable-resizing"),this._propagate("start",t),!0},_mouseDrag:function(e){var t=this.helper,n=this.options,r={},i=this,s=this.originalMousePosition,o=this.axis,u=e.pageX-s.left||0,a=e.pageY-s.top||0,f=this._change[o];if(!f)return!1;var l=f.apply(this,[e,u,a]);this._updateVirtualBoundaries(e.shiftKey);if(this._aspectRatio||e.shiftKey)l=this._updateRatio(l,e);return l=this._respectSize(l,e),this._propagate("resize",e),t.css({top:this.position.top+"px",left:this.position.left+"px",width:this.size.width+"px",height:this.size.height+"px"}),!this._helper&&this._proportionallyResizeElements.length&&this._proportionallyResize(),this._updateCache(l),this._trigger("resize",e,this.ui()),!1},_mouseStop:function(t){this.resizing=!1;var n=this.options,r=this;if(this._helper){var i=this._proportionallyResizeElements,s=i.length&&/textarea/i.test(i[0].nodeName),o=s&&e.ui.hasScroll(i[0],"left")?0:r.sizeDiff.height,u=s?0:r.sizeDiff.width,a={width:r.helper.width()-u,height:r.helper.height()-o},f=parseInt(r.element.css("left"),10)+(r.position.left-r.originalPosition.left)||null,l=parseInt(r.element.css("top"),10)+(r.position.top-r.originalPosition.top)||null;n.animate||this.element.css(e.extend(a,{top:l,left:f})),r.helper.height(r.size.height),r.helper.width(r.size.width),this._helper&&!n.animate&&this._proportionallyResize()}return e("body").css("cursor","auto"),this.element.removeClass("ui-resizable-resizing"),this._propagate("stop",t),this._helper&&this.helper.remove(),!1},_updateVirtualBoundaries:function(e){var t=this.options,n,i,s,o,u;u={minWidth:r(t.minWidth)?t.minWidth:0,maxWidth:r(t.maxWidth)?t.maxWidth:Infinity,minHeight:r(t.minHeight)?t.minHeight:0,maxHeight:r(t.maxHeight)?t.maxHeight:Infinity};if(this._aspectRatio||e)n=u.minHeight*this.aspectRatio,s=u.minWidth/this.aspectRatio,i=u.maxHeight*this.aspectRatio,o=u.maxWidth/this.aspectRatio,n>u.minWidth&&(u.minWidth=n),s>u.minHeight&&(u.minHeight=s),ie.width,l=r(e.height)&&i.minHeight&&i.minHeight>e.height;f&&(e.width=i.minWidth),l&&(e.height=i.minHeight),u&&(e.width=i.maxWidth),a&&(e.height=i.maxHeight);var c=this.originalPosition.left+this.originalSize.width,h=this.position.top+this.size.height,p=/sw|nw|w/.test(o),d=/nw|ne|n/.test(o);f&&p&&(e.left=c-i.minWidth),u&&p&&(e.left=c-i.maxWidth),l&&d&&(e.top=h-i.minHeight),a&&d&&(e.top=h-i.maxHeight);var v=!e.width&&!e.height;return v&&!e.left&&e.top?e.top=null:v&&!e.top&&e.left&&(e.left=null),e},_proportionallyResize:function(){var t=this.options;if(!this._proportionallyResizeElements.length)return;var n=this.helper||this.element;for(var r=0;r
                    ');var r=e.browser.msie&&e.browser.version<7,i=r?1:0,s=r?2:-1;this.helper.addClass(this._helper).css({width:this.element.outerWidth()+s,height:this.element.outerHeight()+s,position:"absolute",left:this.elementOffset.left-i+"px",top:this.elementOffset.top-i+"px",zIndex:++n.zIndex}),this.helper.appendTo("body").disableSelection()}else this.helper=this.element},_change:{e:function(e,t,n){return{width:this.originalSize.width+t}},w:function(e,t,n){var r=this.options,i=this.originalSize,s=this.originalPosition;return{left:s.left+t,width:i.width-t}},n:function(e,t,n){var r=this.options,i=this.originalSize,s=this.originalPosition;return{top:s.top+n,height:i.height-n}},s:function(e,t,n){return{height:this.originalSize.height+n}},se:function(t,n,r){return e.extend(this._change.s.apply(this,arguments),this._change.e.apply(this,[t,n,r]))},sw:function(t,n,r){return e.extend(this._change.s.apply(this,arguments),this._change.w.apply(this,[t,n,r]))},ne:function(t,n,r){return e.extend(this._change.n.apply(this,arguments),this._change.e.apply(this,[t,n,r]))},nw:function(t,n,r){return e.extend(this._change.n.apply(this,arguments),this._change.w.apply(this,[t,n,r]))}},_propagate:function(t,n){e.ui.plugin.call(this,t,[n,this.ui()]),t!="resize"&&this._trigger(t,n,this.ui())},plugins:{},ui:function(){return{originalElement:this.originalElement,element:this.element,helper:this.helper,position:this.position,size:this.size,originalSize:this.originalSize,originalPosition:this.originalPosition}}}),e.ui.plugin.add("resizable","alsoResize",{start:function(t,n){var r=e(this).data("resizable"),i=r.options,s=function(t){e(t).each(function(){var t=e(this);t.data("resizable-alsoresize",{width:parseInt(t.width(),10),height:parseInt(t.height(),10),left:parseInt(t.css("left"),10),top:parseInt(t.css("top"),10)})})};typeof i.alsoResize=="object"&&!i.alsoResize.parentNode?i.alsoResize.length?(i.alsoResize=i.alsoResize[0],s(i.alsoResize)):e.each(i.alsoResize,function(e){s(e)}):s(i.alsoResize)},resize:function(t,n){var r=e(this).data("resizable"),i=r.options,s=r.originalSize,o=r.originalPosition,u={height:r.size.height-s.height||0,width:r.size.width-s.width||0,top:r.position.top-o.top||0,left:r.position.left-o.left||0},a=function(t,r){e(t).each(function(){var t=e(this),i=e(this).data("resizable-alsoresize"),s={},o=r&&r.length?r:t.parents(n.originalElement[0]).length?["width","height"]:["width","height","top","left"];e.each(o,function(e,t){var n=(i[t]||0)+(u[t]||0);n&&n>=0&&(s[t]=n||null)}),t.css(s)})};typeof i.alsoResize=="object"&&!i.alsoResize.nodeType?e.each(i.alsoResize,function(e,t){a(e,t)}):a(i.alsoResize)},stop:function(t,n){e(this).removeData("resizable-alsoresize")}}),e.ui.plugin.add("resizable","animate",{stop:function(t,n){var r=e(this).data("resizable"),i=r.options,s=r._proportionallyResizeElements,o=s.length&&/textarea/i.test(s[0].nodeName),u=o&&e.ui.hasScroll(s[0],"left")?0:r.sizeDiff.height,a=o?0:r.sizeDiff.width,f={width:r.size.width-a,height:r.size.height-u},l=parseInt(r.element.css("left"),10)+(r.position.left-r.originalPosition.left)||null,c=parseInt(r.element.css("top"),10)+(r.position.top-r.originalPosition.top)||null;r.element.animate(e.extend(f,c&&l?{top:c,left:l}:{}),{duration:i.animateDuration,easing:i.animateEasing,step:function(){var n={width:parseInt(r.element.css("width"),10),height:parseInt(r.element.css("height"),10),top:parseInt(r.element.css("top"),10),left:parseInt(r.element.css("left"),10)};s&&s.length&&e(s[0]).css({width:n.width,height:n.height}),r._updateCache(n),r._propagate("resize",t)}})}}),e.ui.plugin.add("resizable","containment",{start:function(t,r){var i=e(this).data("resizable"),s=i.options,o=i.element,u=s.containment,a=u instanceof e?u.get(0):/parent/.test(u)?o.parent().get(0):u;if(!a)return;i.containerElement=e(a);if(/document/.test(u)||u==document)i.containerOffset={left:0,top:0},i.containerPosition={left:0,top:0},i.parentData={element:e(document),left:0,top:0,width:e(document).width(),height:e(document).height()||document.body.parentNode.scrollHeight};else{var f=e(a),l=[];e(["Top","Right","Left","Bottom"]).each(function(e,t){l[e]=n(f.css("padding"+t))}),i.containerOffset=f.offset(),i.containerPosition=f.position(),i.containerSize={height:f.innerHeight()-l[3],width:f.innerWidth()-l[1]};var c=i.containerOffset,h=i.containerSize.height,p=i.containerSize.width,d=e.ui.hasScroll(a,"left")?a.scrollWidth:p,v=e.ui.hasScroll(a)?a.scrollHeight:h;i.parentData={element:a,left:c.left,top:c.top,width:d,height:v}}},resize:function(t,n){var r=e(this).data("resizable"),i=r.options,s=r.containerSize,o=r.containerOffset,u=r.size,a=r.position,f=r._aspectRatio||t.shiftKey,l={top:0,left:0},c=r.containerElement;c[0]!=document&&/static/.test(c.css("position"))&&(l=o),a.left<(r._helper?o.left:0)&&(r.size.width=r.size.width+(r._helper?r.position.left-o.left:r.position.left-l.left),f&&(r.size.height=r.size.width/r.aspectRatio),r.position.left=i.helper?o.left:0),a.top<(r._helper?o.top:0)&&(r.size.height=r.size.height+(r._helper?r.position.top-o.top:r.position.top),f&&(r.size.width=r.size.height*r.aspectRatio),r.position.top=r._helper?o.top:0),r.offset.left=r.parentData.left+r.position.left,r.offset.top=r.parentData.top+r.position.top;var h=Math.abs((r._helper?r.offset.left-l.left:r.offset.left-l.left)+r.sizeDiff.width),p=Math.abs((r._helper?r.offset.top-l.top:r.offset.top-o.top)+r.sizeDiff.height),d=r.containerElement.get(0)==r.element.parent().get(0),v=/relative|absolute/.test(r.containerElement.css("position"));d&&v&&(h-=r.parentData.left),h+r.size.width>=r.parentData.width&&(r.size.width=r.parentData.width-h,f&&(r.size.height=r.size.width/r.aspectRatio)),p+r.size.height>=r.parentData.height&&(r.size.height=r.parentData.height-p,f&&(r.size.width=r.size.height*r.aspectRatio))},stop:function(t,n){var r=e(this).data("resizable"),i=r.options,s=r.position,o=r.containerOffset,u=r.containerPosition,a=r.containerElement,f=e(r.helper),l=f.offset(),c=f.outerWidth()-r.sizeDiff.width,h=f.outerHeight()-r.sizeDiff.height;r._helper&&!i.animate&&/relative/.test(a.css("position"))&&e(this).css({left:l.left-u.left-o.left,width:c,height:h}),r._helper&&!i.animate&&/static/.test(a.css("position"))&&e(this).css({left:l.left-u.left-o.left,width:c,height:h})}}),e.ui.plugin.add("resizable","ghost",{start:function(t,n){var r=e(this).data("resizable"),i=r.options,s=r.size;r.ghost=r.originalElement.clone(),r.ghost.css({opacity:.25,display:"block",position:"relative",height:s.height,width:s.width,margin:0,left:0,top:0}).addClass("ui-resizable-ghost").addClass(typeof i.ghost=="string"?i.ghost:""),r.ghost.appendTo(r.helper)},resize:function(t,n){var r=e(this).data("resizable"),i=r.options;r.ghost&&r.ghost.css({position:"relative",height:r.size.height,width:r.size.width})},stop:function(t,n){var r=e(this).data("resizable"),i=r.options;r.ghost&&r.helper&&r.helper.get(0).removeChild(r.ghost.get(0))}}),e.ui.plugin.add("resizable","grid",{resize:function(t,n){var r=e(this).data("resizable"),i=r.options,s=r.size,o=r.originalSize,u=r.originalPosition,a=r.axis,f=i._aspectRatio||t.shiftKey;i.grid=typeof i.grid=="number"?[i.grid,i.grid]:i.grid;var l=Math.round((s.width-o.width)/(i.grid[0]||1))*(i.grid[0]||1),c=Math.round((s.height-o.height)/(i.grid[1]||1))*(i.grid[1]||1);/^(se|s|e)$/.test(a)?(r.size.width=o.width+l,r.size.height=o.height+c):/^(ne)$/.test(a)?(r.size.width=o.width+l,r.size.height=o.height+c,r.position.top=u.top-c):/^(sw)$/.test(a)?(r.size.width=o.width+l,r.size.height=o.height+c,r.position.left=u.left-l):(r.size.width=o.width+l,r.size.height=o.height+c,r.position.top=u.top-c,r.position.left=u.left-l)}});var n=function(e){return parseInt(e,10)||0},r=function(e){return!isNaN(parseInt(e,10))}})(jQuery);(function(e,t){e.widget("ui.selectable",e.ui.mouse,{version:"1.9.0",options:{appendTo:"body",autoRefresh:!0,distance:0,filter:"*",tolerance:"touch"},_create:function(){var t=this;this.element.addClass("ui-selectable"),this.dragged=!1;var n;this.refresh=function(){n=e(t.options.filter,t.element[0]),n.addClass("ui-selectee"),n.each(function(){var t=e(this),n=t.offset();e.data(this,"selectable-item",{element:this,$element:t,left:n.left,top:n.top,right:n.left+t.outerWidth(),bottom:n.top+t.outerHeight(),startselected:!1,selected:t.hasClass("ui-selected"),selecting:t.hasClass("ui-selecting"),unselecting:t.hasClass("ui-unselecting")})})},this.refresh(),this.selectees=n.addClass("ui-selectee"),this._mouseInit(),this.helper=e("
                    ")},_destroy:function(){this.selectees.removeClass("ui-selectee").removeData("selectable-item"),this.element.removeClass("ui-selectable ui-selectable-disabled"),this._mouseDestroy()},_mouseStart:function(t){var n=this;this.opos=[t.pageX,t.pageY];if(this.options.disabled)return;var r=this.options;this.selectees=e(r.filter,this.element[0]),this._trigger("start",t),e(r.appendTo).append(this.helper),this.helper.css({left:t.clientX,top:t.clientY,width:0,height:0}),r.autoRefresh&&this.refresh(),this.selectees.filter(".ui-selected").each(function(){var r=e.data(this,"selectable-item");r.startselected=!0,!t.metaKey&&!t.ctrlKey&&(r.$element.removeClass("ui-selected"),r.selected=!1,r.$element.addClass("ui-unselecting"),r.unselecting=!0,n._trigger("unselecting",t,{unselecting:r.element}))}),e(t.target).parents().andSelf().each(function(){var r=e.data(this,"selectable-item");if(r){var i=!t.metaKey&&!t.ctrlKey||!r.$element.hasClass("ui-selected");return r.$element.removeClass(i?"ui-unselecting":"ui-selected").addClass(i?"ui-selecting":"ui-unselecting"),r.unselecting=!i,r.selecting=i,r.selected=i,i?n._trigger("selecting",t,{selecting:r.element}):n._trigger("unselecting",t,{unselecting:r.element}),!1}})},_mouseDrag:function(t){var n=this;this.dragged=!0;if(this.options.disabled)return;var r=this.options,i=this.opos[0],s=this.opos[1],o=t.pageX,u=t.pageY;if(i>o){var a=o;o=i,i=a}if(s>u){var a=u;u=s,s=a}return this.helper.css({left:i,top:s,width:o-i,height:u-s}),this.selectees.each(function(){var a=e.data(this,"selectable-item");if(!a||a.element==n.element[0])return;var f=!1;r.tolerance=="touch"?f=!(a.left>o||a.rightu||a.bottomi&&a.rights&&a.bottom").appendTo(this.element).addClass("ui-slider-range ui-widget-header"+(r.range==="min"||r.range==="max"?" ui-slider-range-"+r.range:"")));for(t=i.length;tn&&(i=n,s=e(this),o=t)}),c.range===!0&&this.values(1)===c.min&&(o+=1,s=e(this.handles[o])),u=this._start(t,o),u===!1?!1:(this._mouseSliding=!0,this._handleIndex=o,s.addClass("ui-state-active").focus(),a=s.offset(),f=!e(t.target).parents().andSelf().is(".ui-slider-handle"),this._clickOffset=f?{left:0,top:0}:{left:t.pageX-a.left-s.width()/2,top:t.pageY-a.top-s.height()/2-(parseInt(s.css("borderTopWidth"),10)||0)-(parseInt(s.css("borderBottomWidth"),10)||0)+(parseInt(s.css("marginTop"),10)||0)},this.handles.hasClass("ui-state-hover")||this._slide(t,o,r),this._animateOff=!0,!0))},_mouseStart:function(e){return!0},_mouseDrag:function(e){var t={x:e.pageX,y:e.pageY},n=this._normValueFromMouse(t);return this._slide(e,this._handleIndex,n),!1},_mouseStop:function(e){return this.handles.removeClass("ui-state-active"),this._mouseSliding=!1,this._stop(e,this._handleIndex),this._change(e,this._handleIndex),this._handleIndex=null,this._clickOffset=null,this._animateOff=!1,!1},_detectOrientation:function(){this.orientation=this.options.orientation==="vertical"?"vertical":"horizontal"},_normValueFromMouse:function(e){var t,n,r,i,s;return this.orientation==="horizontal"?(t=this.elementSize.width,n=e.x-this.elementOffset.left-(this._clickOffset?this._clickOffset.left:0)):(t=this.elementSize.height,n=e.y-this.elementOffset.top-(this._clickOffset?this._clickOffset.top:0)),r=n/t,r>1&&(r=1),r<0&&(r=0),this.orientation==="vertical"&&(r=1-r),i=this._valueMax()-this._valueMin(),s=this._valueMin()+r*i,this._trimAlignValue(s)},_start:function(e,t){var n={handle:this.handles[t],value:this.value()};return this.options.values&&this.options.values.length&&(n.value=this.values(t),n.values=this.values()),this._trigger("start",e,n)},_slide:function(e,t,n){var r,i,s;this.options.values&&this.options.values.length?(r=this.values(t?0:1),this.options.values.length===2&&this.options.range===!0&&(t===0&&n>r||t===1&&n1){this.options.values[t]=this._trimAlignValue(n),this._refreshValue(),this._change(null,t);return}if(!arguments.length)return this._values();if(!e.isArray(arguments[0]))return this.options.values&&this.options.values.length?this._values(t):this.value();r=this.options.values,i=arguments[0];for(s=0;s=this._valueMax())return this._valueMax();var t=this.options.step>0?this.options.step:1,n=(e-this._valueMin())%t,r=e-n;return Math.abs(n)*2>=t&&(r+=n>0?t:-t),parseFloat(r.toFixed(5))},_valueMin:function(){return this.options.min},_valueMax:function(){return this.options.max},_refreshValue:function(){var t,n,r,i,s,o=this.options.range,u=this.options,a=this,f=this._animateOff?!1:u.animate,l={};this.options.values&&this.options.values.length?this.handles.each(function(r,i){n=(a.values(r)-a._valueMin())/(a._valueMax()-a._valueMin())*100,l[a.orientation==="horizontal"?"left":"bottom"]=n+"%",e(this).stop(1,1)[f?"animate":"css"](l,u.animate),a.options.range===!0&&(a.orientation==="horizontal"?(r===0&&a.range.stop(1,1)[f?"animate":"css"]({left:n+"%"},u.animate),r===1&&a.range[f?"animate":"css"]({width:n-t+"%"},{queue:!1,duration:u.animate})):(r===0&&a.range.stop(1,1)[f?"animate":"css"]({bottom:n+"%"},u.animate),r===1&&a.range[f?"animate":"css"]({height:n-t+"%"},{queue:!1,duration:u.animate}))),t=n}):(r=this.value(),i=this._valueMin(),s=this._valueMax(),n=s!==i?(r-i)/(s-i)*100:0,l[this.orientation==="horizontal"?"left":"bottom"]=n+"%",this.handle.stop(1,1)[f?"animate":"css"](l,u.animate),o==="min"&&this.orientation==="horizontal"&&this.range.stop(1,1)[f?"animate":"css"]({width:n+"%"},u.animate),o==="max"&&this.orientation==="horizontal"&&this.range[f?"animate":"css"]({width:100-n+"%"},{queue:!1,duration:u.animate}),o==="min"&&this.orientation==="vertical"&&this.range.stop(1,1)[f?"animate":"css"]({height:n+"%"},u.animate),o==="max"&&this.orientation==="vertical"&&this.range[f?"animate":"css"]({height:100-n+"%"},{queue:!1,duration:u.animate}))}})})(jQuery);(function(e,t){e.widget("ui.sortable",e.ui.mouse,{version:"1.9.0",widgetEventPrefix:"sort",ready:!1,options:{appendTo:"parent",axis:!1,connectWith:!1,containment:!1,cursor:"auto",cursorAt:!1,dropOnEmpty:!0,forcePlaceholderSize:!1,forceHelperSize:!1,grid:!1,handle:!1,helper:"original",items:"> *",opacity:!1,placeholder:!1,revert:!1,scroll:!0,scrollSensitivity:20,scrollSpeed:20,scope:"default",tolerance:"intersect",zIndex:1e3},_create:function(){var e=this.options;this.containerCache={},this.element.addClass("ui-sortable"),this.refresh(),this.floating=this.items.length?e.axis==="x"||/left|right/.test(this.items[0].item.css("float"))||/inline|table-cell/.test(this.items[0].item.css("display")):!1,this.offset=this.element.offset(),this._mouseInit(),this.ready=!0},_destroy:function(){this.element.removeClass("ui-sortable ui-sortable-disabled"),this._mouseDestroy();for(var e=this.items.length-1;e>=0;e--)this.items[e].item.removeData(this.widgetName+"-item");return this},_setOption:function(t,n){t==="disabled"?(this.options[t]=n,this.widget().toggleClass("ui-sortable-disabled",!!n)):e.Widget.prototype._setOption.apply(this,arguments)},_mouseCapture:function(t,n){var r=this;if(this.reverting)return!1;if(this.options.disabled||this.options.type=="static")return!1;this._refreshItems(t);var i=null,s=e(t.target).parents().each(function(){if(e.data(this,r.widgetName+"-item")==r)return i=e(this),!1});e.data(t.target,r.widgetName+"-item")==r&&(i=e(t.target));if(!i)return!1;if(this.options.handle&&!n){var o=!1;e(this.options.handle,i).find("*").andSelf().each(function(){this==t.target&&(o=!0)});if(!o)return!1}return this.currentItem=i,this._removeCurrentsFromItems(),!0},_mouseStart:function(t,n,r){var i=this.options;this.currentContainer=this,this.refreshPositions(),this.helper=this._createHelper(t),this._cacheHelperProportions(),this._cacheMargins(),this.scrollParent=this.helper.scrollParent(),this.offset=this.currentItem.offset(),this.offset={top:this.offset.top-this.margins.top,left:this.offset.left-this.margins.left},e.extend(this.offset,{click:{left:t.pageX-this.offset.left,top:t.pageY-this.offset.top},parent:this._getParentOffset(),relative:this._getRelativeOffset()}),this.helper.css("position","absolute"),this.cssPosition=this.helper.css("position"),this.originalPosition=this._generatePosition(t),this.originalPageX=t.pageX,this.originalPageY=t.pageY,i.cursorAt&&this._adjustOffsetFromHelper(i.cursorAt),this.domPosition={prev:this.currentItem.prev()[0],parent:this.currentItem.parent()[0]},this.helper[0]!=this.currentItem[0]&&this.currentItem.hide(),this._createPlaceholder(),i.containment&&this._setContainment(),i.cursor&&(e("body").css("cursor")&&(this._storedCursor=e("body").css("cursor")),e("body").css("cursor",i.cursor)),i.opacity&&(this.helper.css("opacity")&&(this._storedOpacity=this.helper.css("opacity")),this.helper.css("opacity",i.opacity)),i.zIndex&&(this.helper.css("zIndex")&&(this._storedZIndex=this.helper.css("zIndex")),this.helper.css("zIndex",i.zIndex)),this.scrollParent[0]!=document&&this.scrollParent[0].tagName!="HTML"&&(this.overflowOffset=this.scrollParent.offset()),this._trigger("start",t,this._uiHash()),this._preserveHelperProportions||this._cacheHelperProportions();if(!r)for(var s=this.containers.length-1;s>=0;s--)this.containers[s]._trigger("activate",t,this._uiHash(this));return e.ui.ddmanager&&(e.ui.ddmanager.current=this),e.ui.ddmanager&&!i.dropBehaviour&&e.ui.ddmanager.prepareOffsets(this,t),this.dragging=!0,this.helper.addClass("ui-sortable-helper"),this._mouseDrag(t),!0},_mouseDrag:function(t){this.position=this._generatePosition(t),this.positionAbs=this._convertPositionTo("absolute"),this.lastPositionAbs||(this.lastPositionAbs=this.positionAbs);if(this.options.scroll){var n=this.options,r=!1;this.scrollParent[0]!=document&&this.scrollParent[0].tagName!="HTML"?(this.overflowOffset.top+this.scrollParent[0].offsetHeight-t.pageY=0;i--){var s=this.items[i],o=s.item[0],u=this._intersectsWithPointer(s);if(!u)continue;if(s.instance!==this.currentContainer)continue;if(o!=this.currentItem[0]&&this.placeholder[u==1?"next":"prev"]()[0]!=o&&!e.contains(this.placeholder[0],o)&&(this.options.type=="semi-dynamic"?!e.contains(this.element[0],o):!0)){this.direction=u==1?"down":"up";if(this.options.tolerance!="pointer"&&!this._intersectsWithSides(s))break;this._rearrange(t,s),this._trigger("change",t,this._uiHash());break}}return this._contactContainers(t),e.ui.ddmanager&&e.ui.ddmanager.drag(this,t),this._trigger("sort",t,this._uiHash()),this.lastPositionAbs=this.positionAbs,!1},_mouseStop:function(t,n){if(!t)return;e.ui.ddmanager&&!this.options.dropBehaviour&&e.ui.ddmanager.drop(this,t);if(this.options.revert){var r=this,i=this.placeholder.offset();this.reverting=!0,e(this.helper).animate({left:i.left-this.offset.parent.left-this.margins.left+(this.offsetParent[0]==document.body?0:this.offsetParent[0].scrollLeft),top:i.top-this.offset.parent.top-this.margins.top+(this.offsetParent[0]==document.body?0:this.offsetParent[0].scrollTop)},parseInt(this.options.revert,10)||500,function(){r._clear(t)})}else this._clear(t,n);return!1},cancel:function(){if(this.dragging){this._mouseUp({target:null}),this.options.helper=="original"?this.currentItem.css(this._storedCSS).removeClass("ui-sortable-helper"):this.currentItem.show();for(var t=this.containers.length-1;t>=0;t--)this.containers[t]._trigger("deactivate",null,this._uiHash(this)),this.containers[t].containerCache.over&&(this.containers[t]._trigger("out",null,this._uiHash(this)),this.containers[t].containerCache.over=0)}return this.placeholder&&(this.placeholder[0].parentNode&&this.placeholder[0].parentNode.removeChild(this.placeholder[0]),this.options.helper!="original"&&this.helper&&this.helper[0].parentNode&&this.helper.remove(),e.extend(this,{helper:null,dragging:!1,reverting:!1,_noFinalSort:null}),this.domPosition.prev?e(this.domPosition.prev).after(this.currentItem):e(this.domPosition.parent).prepend(this.currentItem)),this},serialize:function(t){var n=this._getItemsAsjQuery(t&&t.connected),r=[];return t=t||{},e(n).each(function(){var n=(e(t.item||this).attr(t.attribute||"id")||"").match(t.expression||/(.+)[-=_](.+)/);n&&r.push((t.key||n[1]+"[]")+"="+(t.key&&t.expression?n[1]:n[2]))}),!r.length&&t.key&&r.push(t.key+"="),r.join("&")},toArray:function(t){var n=this._getItemsAsjQuery(t&&t.connected),r=[];return t=t||{},n.each(function(){r.push(e(t.item||this).attr(t.attribute||"id")||"")}),r},_intersectsWith:function(e){var t=this.positionAbs.left,n=t+this.helperProportions.width,r=this.positionAbs.top,i=r+this.helperProportions.height,s=e.left,o=s+e.width,u=e.top,a=u+e.height,f=this.offset.click.top,l=this.offset.click.left,c=r+f>u&&r+fs&&t+le[this.floating?"width":"height"]?c:s0?"down":"up")},_getDragHorizontalDirection:function(){var e=this.positionAbs.left-this.lastPositionAbs.left;return e!=0&&(e>0?"right":"left")},refresh:function(e){return this._refreshItems(e),this.refreshPositions(),this},_connectWith:function(){var e=this.options;return e.connectWith.constructor==String?[e.connectWith]:e.connectWith},_getItemsAsjQuery:function(t){var n=[],r=[],i=this._connectWith();if(i&&t)for(var s=i.length-1;s>=0;s--){var o=e(i[s]);for(var u=o.length-1;u>=0;u--){var a=e.data(o[u],this.widgetName);a&&a!=this&&!a.options.disabled&&r.push([e.isFunction(a.options.items)?a.options.items.call(a.element):e(a.options.items,a.element).not(".ui-sortable-helper").not(".ui-sortable-placeholder"),a])}}r.push([e.isFunction(this.options.items)?this.options.items.call(this.element,null,{options:this.options,item:this.currentItem}):e(this.options.items,this.element).not(".ui-sortable-helper").not(".ui-sortable-placeholder"),this]);for(var s=r.length-1;s>=0;s--)r[s][0].each(function(){n.push(this)});return e(n)},_removeCurrentsFromItems:function(){var e=this.currentItem.find(":data("+this.widgetName+"-item)");for(var t=0;t=0;s--){var o=e(i[s]);for(var u=o.length-1;u>=0;u--){var a=e.data(o[u],this.widgetName);a&&a!=this&&!a.options.disabled&&(r.push([e.isFunction(a.options.items)?a.options.items.call(a.element[0],t,{item:this.currentItem}):e(a.options.items,a.element),a]),this.containers.push(a))}}for(var s=r.length-1;s>=0;s--){var f=r[s][1],l=r[s][0];for(var u=0,c=l.length;u=0;n--){var r=this.items[n];if(r.instance!=this.currentContainer&&this.currentContainer&&r.item[0]!=this.currentItem[0])continue;var i=this.options.toleranceElement?e(this.options.toleranceElement,r.item):r.item;t||(r.width=i.outerWidth(),r.height=i.outerHeight());var s=i.offset();r.left=s.left,r.top=s.top}if(this.options.custom&&this.options.custom.refreshContainers)this.options.custom.refreshContainers.call(this);else for(var n=this.containers.length-1;n>=0;n--){var s=this.containers[n].element.offset();this.containers[n].containerCache.left=s.left,this.containers[n].containerCache.top=s.top,this.containers[n].containerCache.width=this.containers[n].element.outerWidth(),this.containers[n].containerCache.height=this.containers[n].element.outerHeight()}return this},_createPlaceholder:function(t){t=t||this;var n=t.options;if(!n.placeholder||n.placeholder.constructor==String){var r=n.placeholder;n.placeholder={element:function(){var n=e(document.createElement(t.currentItem[0].nodeName)).addClass(r||t.currentItem[0].className+" ui-sortable-placeholder").removeClass("ui-sortable-helper")[0];return r||(n.style.visibility="hidden"),n},update:function(e,i){if(r&&!n.forcePlaceholderSize)return;i.height()||i.height(t.currentItem.innerHeight()-parseInt(t.currentItem.css("paddingTop")||0,10)-parseInt(t.currentItem.css("paddingBottom")||0,10)),i.width()||i.width(t.currentItem.innerWidth()-parseInt(t.currentItem.css("paddingLeft")||0,10)-parseInt(t.currentItem.css("paddingRight")||0,10))}}}t.placeholder=e(n.placeholder.element.call(t.element,t.currentItem)),t.currentItem.after(t.placeholder),n.placeholder.update(t,t.placeholder)},_contactContainers:function(t){var n=null,r=null;for(var i=this.containers.length-1;i>=0;i--){if(e.contains(this.currentItem[0],this.containers[i].element[0]))continue;if(this._intersectsWith(this.containers[i].containerCache)){if(n&&e.contains(this.containers[i].element[0],n.element[0]))continue;n=this.containers[i],r=i}else this.containers[i].containerCache.over&&(this.containers[i]._trigger("out",t,this._uiHash(this)),this.containers[i].containerCache.over=0)}if(!n)return;if(this.containers.length===1)this.containers[r]._trigger("over",t,this._uiHash(this)),this.containers[r].containerCache.over=1;else if(this.currentContainer!=this.containers[r]){var s=1e4,o=null,u=this.positionAbs[this.containers[r].floating?"left":"top"];for(var a=this.items.length-1;a>=0;a--){if(!e.contains(this.containers[r].element[0],this.items[a].item[0]))continue;var f=this.containers[r].floating?this.items[a].item.offset().left:this.items[a].item.offset().top;Math.abs(f-u)0?"down":"up")}if(!o&&!this.options.dropOnEmpty)return;this.currentContainer=this.containers[r],o?this._rearrange(t,o,null,!0):this._rearrange(t,null,this.containers[r].element,!0),this._trigger("change",t,this._uiHash()),this.containers[r]._trigger("change",t,this._uiHash(this)),this.options.placeholder.update(this.currentContainer,this.placeholder),this.containers[r]._trigger("over",t,this._uiHash(this)),this.containers[r].containerCache.over=1}},_createHelper:function(t){var n=this.options,r=e.isFunction(n.helper)?e(n.helper.apply(this.element[0],[t,this.currentItem])):n.helper=="clone"?this.currentItem.clone():this.currentItem;return r.parents("body").length||e(n.appendTo!="parent"?n.appendTo:this.currentItem[0].parentNode)[0].appendChild(r[0]),r[0]==this.currentItem[0]&&(this._storedCSS={width:this.currentItem[0].style.width,height:this.currentItem[0].style.height,position:this.currentItem.css("position"),top:this.currentItem.css("top"),left:this.currentItem.css("left")}),(r[0].style.width==""||n.forceHelperSize)&&r.width(this.currentItem.width()),(r[0].style.height==""||n.forceHelperSize)&&r.height(this.currentItem.height()),r},_adjustOffsetFromHelper:function(t){typeof t=="string"&&(t=t.split(" ")),e.isArray(t)&&(t={left:+t[0],top:+t[1]||0}),"left"in t&&(this.offset.click.left=t.left+this.margins.left),"right"in t&&(this.offset.click.left=this.helperProportions.width-t.right+this.margins.left),"top"in t&&(this.offset.click.top=t.top+this.margins.top),"bottom"in t&&(this.offset.click.top=this.helperProportions.height-t.bottom+this.margins.top)},_getParentOffset:function(){this.offsetParent=this.helper.offsetParent();var t=this.offsetParent.offset();this.cssPosition=="absolute"&&this.scrollParent[0]!=document&&e.contains(this.scrollParent[0],this.offsetParent[0])&&(t.left+=this.scrollParent.scrollLeft(),t.top+=this.scrollParent.scrollTop());if(this.offsetParent[0]==document.body||this.offsetParent[0].tagName&&this.offsetParent[0].tagName.toLowerCase()=="html"&&e.browser.msie)t={top:0,left:0};return{top:t.top+(parseInt(this.offsetParent.css("borderTopWidth"),10)||0),left:t.left+(parseInt(this.offsetParent.css("borderLeftWidth"),10)||0)}},_getRelativeOffset:function(){if(this.cssPosition=="relative"){var e=this.currentItem.position();return{top:e.top-(parseInt(this.helper.css("top"),10)||0)+this.scrollParent.scrollTop(),left:e.left-(parseInt(this.helper.css("left"),10)||0)+this.scrollParent.scrollLeft()}}return{top:0,left:0}},_cacheMargins:function(){this.margins={left:parseInt(this.currentItem.css("marginLeft"),10)||0,top:parseInt(this.currentItem.css("marginTop"),10)||0}},_cacheHelperProportions:function(){this.helperProportions={width:this.helper.outerWidth(),height:this.helper.outerHeight()}},_setContainment:function(){var t=this.options;t.containment=="parent"&&(t.containment=this.helper[0].parentNode);if(t.containment=="document"||t.containment=="window")this.containment=[0-this.offset.relative.left-this.offset.parent.left,0-this.offset.relative.top-this.offset.parent.top,e(t.containment=="document"?document:window).width()-this.helperProportions.width-this.margins.left,(e(t.containment=="document"?document:window).height()||document.body.parentNode.scrollHeight)-this.helperProportions.height-this.margins.top];if(!/^(document|window|parent)$/.test(t.containment)){var n=e(t.containment)[0],r=e(t.containment).offset(),i=e(n).css("overflow")!="hidden";this.containment=[r.left+(parseInt(e(n).css("borderLeftWidth"),10)||0)+(parseInt(e(n).css("paddingLeft"),10)||0)-this.margins.left,r.top+(parseInt(e(n).css("borderTopWidth"),10)||0)+(parseInt(e(n).css("paddingTop"),10)||0)-this.margins.top,r.left+(i?Math.max(n.scrollWidth,n.offsetWidth):n.offsetWidth)-(parseInt(e(n).css("borderLeftWidth"),10)||0)-(parseInt(e(n).css("paddingRight"),10)||0)-this.helperProportions.width-this.margins.left,r.top+(i?Math.max(n.scrollHeight,n.offsetHeight):n.offsetHeight)-(parseInt(e(n).css("borderTopWidth"),10)||0)-(parseInt(e(n).css("paddingBottom"),10)||0)-this.helperProportions.height-this.margins.top]}},_convertPositionTo:function(t,n){n||(n=this.position);var r=t=="absolute"?1:-1,i=this.options,s=this.cssPosition!="absolute"||this.scrollParent[0]!=document&&!!e.contains(this.scrollParent[0],this.offsetParent[0])?this.scrollParent:this.offsetParent,o=/(html|body)/i.test(s[0].tagName);return{top:n.top+this.offset.relative.top*r+this.offset.parent.top*r-(this.cssPosition=="fixed"?-this.scrollParent.scrollTop():o?0:s.scrollTop())*r,left:n.left+this.offset.relative.left*r+this.offset.parent.left*r-(this.cssPosition=="fixed"?-this.scrollParent.scrollLeft():o?0:s.scrollLeft())*r}},_generatePosition:function(t){var n=this.options,r=this.cssPosition!="absolute"||this.scrollParent[0]!=document&&!!e.contains(this.scrollParent[0],this.offsetParent[0])?this.scrollParent:this.offsetParent,i=/(html|body)/i.test(r[0].tagName);this.cssPosition=="relative"&&(this.scrollParent[0]==document||this.scrollParent[0]==this.offsetParent[0])&&(this.offset.relative=this._getRelativeOffset());var s=t.pageX,o=t.pageY;if(this.originalPosition){this.containment&&(t.pageX-this.offset.click.leftthis.containment[2]&&(s=this.containment[2]+this.offset.click.left),t.pageY-this.offset.click.top>this.containment[3]&&(o=this.containment[3]+this.offset.click.top));if(n.grid){var u=this.originalPageY+Math.round((o-this.originalPageY)/n.grid[1])*n.grid[1];o=this.containment?u-this.offset.click.topthis.containment[3]?u-this.offset.click.topthis.containment[2]?a-this.offset.click.left=0;i--)n||r.push(function(e){return function(t){e._trigger("deactivate",t,this._uiHash(this))}}.call(this,this.containers[i])),this.containers[i].containerCache.over&&(r.push(function(e){return function(t){e._trigger("out",t,this._uiHash(this))}}.call(this,this.containers[i])),this.containers[i].containerCache.over=0);this._storedCursor&&e("body").css("cursor",this._storedCursor),this._storedOpacity&&this.helper.css("opacity",this._storedOpacity),this._storedZIndex&&this.helper.css("zIndex",this._storedZIndex=="auto"?"":this._storedZIndex),this.dragging=!1;if(this.cancelHelperRemoval){if(!n){this._trigger("beforeStop",t,this._uiHash());for(var i=0;i",widgetEventPrefix:"spin",options:{culture:null,icons:{down:"ui-icon-triangle-1-s",up:"ui-icon-triangle-1-n"},incremental:!0,max:null,min:null,numberFormat:null,page:10,step:1,change:null,spin:null,start:null,stop:null},_create:function(){this._setOption("max",this.options.max),this._setOption("min",this.options.min),this._setOption("step",this.options.step),this._value(this.element.val(),!0),this._draw(),this._on(this._events),this._refresh(),this._on(this.window,{beforeunload:function(){this.element.removeAttr("autocomplete")}})},_getCreateOptions:function(){var t={},n=this.element;return e.each(["min","max","step"],function(e,r){var i=n.attr(r);i!==undefined&&i.length&&(t[r]=i)}),t},_events:{keydown:function(e){this._start(e)&&this._keydown(e)&&e.preventDefault()},keyup:"_stop",focus:function(){this.uiSpinner.addClass("ui-state-active"),this.previous=this.element.val()},blur:function(e){if(this.cancelBlur){delete this.cancelBlur;return}this._refresh(),this.uiSpinner.removeClass("ui-state-active"),this.previous!==this.element.val()&&this._trigger("change",e)},mousewheel:function(e,t){if(!t)return;if(!this.spinning&&!this._start(e))return!1;this._spin((t>0?1:-1)*this.options.step,e),clearTimeout(this.mousewheelTimer),this.mousewheelTimer=this._delay(function(){this.spinning&&this._stop(e)},100),e.preventDefault()},"mousedown .ui-spinner-button":function(t){function r(){var e=this.element[0]===this.document[0].activeElement;e||(this.element.focus(),this.previous=n,this._delay(function(){this.previous=n}))}var n;n=this.element[0]===this.document[0].activeElement?this.previous:this.element.val(),t.preventDefault(),r.call(this),this.cancelBlur=!0,this._delay(function(){delete this.cancelBlur,r.call(this)});if(this._start(t)===!1)return;this._repeat(null,e(t.currentTarget).hasClass("ui-spinner-up")?1:-1,t)},"mouseup .ui-spinner-button":"_stop","mouseenter .ui-spinner-button":function(t){if(!e(t.currentTarget).hasClass("ui-state-active"))return;if(this._start(t)===!1)return!1;this._repeat(null,e(t.currentTarget).hasClass("ui-spinner-up")?1:-1,t)},"mouseleave .ui-spinner-button":"_stop"},_draw:function(){var e=this.uiSpinner=this.element.addClass("ui-spinner-input").attr("autocomplete","off").wrap(this._uiSpinnerHtml()).parent().append(this._buttonHtml());this._hoverable(e),this.element.attr("role","spinbutton"),this.buttons=e.find(".ui-spinner-button").attr("tabIndex",-1).button().removeClass("ui-corner-all"),this.buttons.height()>Math.ceil(e.height()*.5)&&e.height()>0&&e.height(e.height()),this.options.disabled&&this.disable()},_keydown:function(t){var n=this.options,r=e.ui.keyCode;switch(t.keyCode){case r.UP:return this._repeat(null,1,t),!0;case r.DOWN:return this._repeat(null,-1,t),!0;case r.PAGE_UP:return this._repeat(null,n.page,t),!0;case r.PAGE_DOWN:return this._repeat(null,-n.page,t),!0}return!1},_uiSpinnerHtml:function(){return""},_buttonHtml:function(){return""+""+""+""+""},_start:function(e){return!this.spinning&&this._trigger("start",e)===!1?!1:(this.counter||(this.counter=1),this.spinning=!0,!0)},_repeat:function(e,t,n){e=e||500,clearTimeout(this.timer),this.timer=this._delay(function(){this._repeat(40,t,n)},e),this._spin(t*this.options.step,n)},_spin:function(e,t){var n=this.value()||0;this.counter||(this.counter=1),n=this._adjustValue(n+e*this._increment(this.counter));if(!this.spinning||this._trigger("spin",t,{value:n})!==!1)this._value(n),this.counter++},_increment:function(t){var n=this.options.incremental;return n?e.isFunction(n)?n(t):Math.floor(t*t*t/5e4-t*t/500+17*t/200+1):1},_precision:function(){var e=this._precisionOf(this.options.step);return this.options.min!==null&&(e=Math.max(e,this._precisionOf(this.options.min))),e},_precisionOf:function(e){var t=e.toString(),n=t.indexOf(".");return n===-1?0:t.length-n-1},_adjustValue:function(e){var t,n,r=this.options;return t=r.min!==null?r.min:0,n=e-t,n=Math.round(n/r.step)*r.step,e=t+n,e=parseFloat(e.toFixed(this._precision())),r.max!==null&&e>r.max?r.max:r.min!==null&&e1&&e.href.replace(r,"")===location.href.replace(r,"")}var n=0,r=/#.*$/;e.widget("ui.tabs",{version:"1.9.0",delay:300,options:{active:null,collapsible:!1,event:"click",heightStyle:"content",hide:null,show:null,activate:null,beforeActivate:null,beforeLoad:null,load:null},_create:function(){var t,n=this,r=this.options,i=r.active;this.running=!1,this.element.addClass("ui-tabs ui-widget ui-widget-content ui-corner-all").toggleClass("ui-tabs-collapsible",r.collapsible).delegate(".ui-tabs-nav > li","mousedown"+this.eventNamespace,function(t){e(this).is(".ui-state-disabled")&&t.preventDefault()}).delegate(".ui-tabs-anchor","focus"+this.eventNamespace,function(){e(this).closest("li").is(".ui-state-disabled")&&this.blur()}),this._processTabs();if(i===null){location.hash&&this.anchors.each(function(e,t){if(t.hash===location.hash)return i=e,!1}),i===null&&(i=this.tabs.filter(".ui-tabs-active").index());if(i===null||i===-1)i=this.tabs.length?0:!1}i!==!1&&(i=this.tabs.index(this.tabs.eq(i)),i===-1&&(i=r.collapsible?!1:0)),r.active=i,!r.collapsible&&r.active===!1&&this.anchors.length&&(r.active=0),e.isArray(r.disabled)&&(r.disabled=e.unique(r.disabled.concat(e.map(this.tabs.filter(".ui-state-disabled"),function(e){return n.tabs.index(e)}))).sort()),this.options.active!==!1&&this.anchors.length?this.active=this._findActive(this.options.active):this.active=e(),this._refresh(),this.active.length&&this.load(r.active)},_getCreateEventData:function(){return{tab:this.active,panel:this.active.length?this._getPanelForTab(this.active):e()}},_tabKeydown:function(t){var n=e(this.document[0].activeElement).closest("li"),r=this.tabs.index(n),i=!0;if(this._handlePageNav(t))return;switch(t.keyCode){case e.ui.keyCode.RIGHT:case e.ui.keyCode.DOWN:r++;break;case e.ui.keyCode.UP:case e.ui.keyCode.LEFT:i=!1,r--;break;case e.ui.keyCode.END:r=this.anchors.length-1;break;case e.ui.keyCode.HOME:r=0;break;case e.ui.keyCode.SPACE:t.preventDefault(),clearTimeout(this.activating),this._activate(r);return;case e.ui.keyCode.ENTER:t.preventDefault(),clearTimeout(this.activating),this._activate(r===this.options.active?!1:r);return;default:return}t.preventDefault(),clearTimeout(this.activating),r=this._focusNextTab(r,i),t.ctrlKey||(n.attr("aria-selected","false"),this.tabs.eq(r).attr("aria-selected","true"),this.activating=this._delay(function(){this.option("active",r)},this.delay))},_panelKeydown:function(t){if(this._handlePageNav(t))return;t.ctrlKey&&t.keyCode===e.ui.keyCode.UP&&(t.preventDefault(),this.active.focus())},_handlePageNav:function(t){if(t.altKey&&t.keyCode===e.ui.keyCode.PAGE_UP)return this._activate(this._focusNextTab(this.options.active-1,!1)),!0;if(t.altKey&&t.keyCode===e.ui.keyCode.PAGE_DOWN)return this._activate(this._focusNextTab(this.options.active+1,!0)),!0},_findNextTab:function(t,n){function i(){return t>r&&(t=0),t<0&&(t=r),t}var r=this.tabs.length-1;while(e.inArray(i(),this.options.disabled)!==-1)t=n?t+1:t-1;return t},_focusNextTab:function(e,t){return e=this._findNextTab(e,t),this.tabs.eq(e).focus(),e},_setOption:function(e,t){if(e==="active"){this._activate(t);return}if(e==="disabled"){this._setupDisabled(t);return}this._super(e,t),e==="collapsible"&&(this.element.toggleClass("ui-tabs-collapsible",t),!t&&this.options.active===!1&&this._activate(0)),e==="event"&&this._setupEvents(t),e==="heightStyle"&&this._setupHeightStyle(t)},_tabId:function(e){return e.attr("aria-controls")||"ui-tabs-"+i()},_sanitizeSelector:function(e){return e?e.replace(/[!"$%&'()*+,.\/:;<=>?@\[\]\^`{|}~]/g,"\\$&"):""},refresh:function(){var t,n=this.options,r=this.tablist.children(":has(a[href])");n.disabled=e.map(r.filter(".ui-state-disabled"),function(e){return r.index(e)}),this._processTabs(),n.active===!1||!this.anchors.length?(n.active=!1,this.active=e()):this.active.length&&!e.contains(this.tablist[0],this.active[0])?this.tabs.length===n.disabled.length?(n.active=!1,this.active=e()):this._activate(this._findNextTab(Math.max(0,n.active-1),!1)):n.active=this.tabs.index(this.active),this._refresh()},_refresh:function(){this._setupDisabled(this.options.disabled),this._setupEvents(this.options.event),this._setupHeightStyle(this.options.heightStyle),this.tabs.not(this.active).attr({"aria-selected":"false",tabIndex:-1}),this.panels.not(this._getPanelForTab(this.active)).hide().attr({"aria-expanded":"false","aria-hidden":"true"}),this.active.length?(this.active.addClass("ui-tabs-active ui-state-active").attr({"aria-selected":"true",tabIndex:0}),this._getPanelForTab(this.active).show().attr({"aria-expanded":"true","aria-hidden":"false"})):this.tabs.eq(0).attr("tabIndex",0)},_processTabs:function(){var t=this;this.tablist=this._getList().addClass("ui-tabs-nav ui-helper-reset ui-helper-clearfix ui-widget-header ui-corner-all").attr("role","tablist"),this.tabs=this.tablist.find("> li:has(a[href])").addClass("ui-state-default ui-corner-top").attr({role:"tab",tabIndex:-1}),this.anchors=this.tabs.map(function(){return e("a",this)[0]}).addClass("ui-tabs-anchor").attr({role:"presentation",tabIndex:-1}),this.panels=e(),this.anchors.each(function(n,r){var i,o,u,a=e(r).uniqueId().attr("id"),f=e(r).closest("li"),l=f.attr("aria-controls");s(r)?(i=r.hash,o=t.element.find(t._sanitizeSelector(i))):(u=t._tabId(f),i="#"+u,o=t.element.find(i),o.length||(o=t._createPanel(u),o.insertAfter(t.panels[n-1]||t.tablist)),o.attr("aria-live","polite")),o.length&&(t.panels=t.panels.add(o)),l&&f.data("ui-tabs-aria-controls",l),f.attr({"aria-controls":i.substring(1),"aria-labelledby":a}),o.attr("aria-labelledby",a)}),this.panels.addClass("ui-tabs-panel ui-widget-content ui-corner-bottom").attr("role","tabpanel")},_getList:function(){return this.element.find("ol,ul").eq(0)},_createPanel:function(t){return e("
                    ").attr("id",t).addClass("ui-tabs-panel ui-widget-content ui-corner-bottom").data("ui-tabs-destroy",!0)},_setupDisabled:function(t){e.isArray(t)&&(t.length?t.length===this.anchors.length&&(t=!0):t=!1);for(var n=0,r;r=this.tabs[n];n++)t===!0||e.inArray(n,t)!==-1?e(r).addClass("ui-state-disabled").attr("aria-disabled","true"):e(r).removeClass("ui-state-disabled").removeAttr("aria-disabled");this.options.disabled=t},_setupEvents:function(t){var n={click:function(e){e.preventDefault()}};t&&e.each(t.split(" "),function(e,t){n[t]="_eventHandler"}),this._off(this.anchors.add(this.tabs).add(this.panels)),this._on(this.anchors,n),this._on(this.tabs,{keydown:"_tabKeydown"}),this._on(this.panels,{keydown:"_panelKeydown"}),this._focusable(this.tabs),this._hoverable(this.tabs)},_setupHeightStyle:function(t){var n,r,i=this.element.parent();t==="fill"?(e.support.minHeight||(r=i.css("overflow"),i.css("overflow","hidden")),n=i.height(),this.element.siblings(":visible").each(function(){var t=e(this),r=t.css("position");if(r==="absolute"||r==="fixed")return;n-=t.outerHeight(!0)}),r&&i.css("overflow",r),this.element.children().not(this.panels).each(function(){n-=e(this).outerHeight(!0)}),this.panels.each(function(){e(this).height(Math.max(0,n-e(this).innerHeight()+e(this).height()))}).css("overflow","auto")):t==="auto"&&(n=0,this.panels.each(function(){n=Math.max(n,e(this).height("").height())}).height(n))},_eventHandler:function(t){var n=this.options,r=this.active,i=e(t.currentTarget),s=i.closest("li"),o=s[0]===r[0],u=o&&n.collapsible,a=u?e():this._getPanelForTab(s),f=r.length?this._getPanelForTab(r):e(),l={oldTab:r,oldPanel:f,newTab:u?e():s,newPanel:a};t.preventDefault();if(s.hasClass("ui-state-disabled")||s.hasClass("ui-tabs-loading")||this.running||o&&!n.collapsible||this._trigger("beforeActivate",t,l)===!1)return;n.active=u?!1:this.tabs.index(s),this.active=o?e():s,this.xhr&&this.xhr.abort(),!f.length&&!a.length&&e.error("jQuery UI Tabs: Mismatching fragment identifier."),a.length&&this.load(this.tabs.index(s),t),this._toggle(t,l)},_toggle:function(t,n){function o(){r.running=!1,r._trigger("activate",t,n)}function u(){n.newTab.closest("li").addClass("ui-tabs-active ui-state-active"),i.length&&r.options.show?r._show(i,r.options.show,o):(i.show(),o())}var r=this,i=n.newPanel,s=n.oldPanel;this.running=!0,s.length&&this.options.hide?this._hide(s,this.options.hide,function(){n.oldTab.closest("li").removeClass("ui-tabs-active ui-state-active"),u()}):(n.oldTab.closest("li").removeClass("ui-tabs-active ui-state-active"),s.hide(),u()),s.attr({"aria-expanded":"false","aria-hidden":"true"}),n.oldTab.attr("aria-selected","false"),i.length&&s.length?n.oldTab.attr("tabIndex",-1):i.length&&this.tabs.filter(function(){return e(this).attr("tabIndex")===0}).attr("tabIndex",-1),i.attr({"aria-expanded":"true","aria-hidden":"false"}),n.newTab.attr({"aria-selected":"true",tabIndex:0})},_activate:function(t){var n,r=this._findActive(t);if(r[0]===this.active[0])return;r.length||(r=this.active),n=r.find(".ui-tabs-anchor")[0],this._eventHandler({target:n,currentTarget:n,preventDefault:e.noop})},_findActive:function(t){return t===!1?e():this.tabs.eq(t)},_getIndex:function(e){return typeof e=="string"&&(e=this.anchors.index(this.anchors.filter("[href$='"+e+"']"))),e},_destroy:function(){this.xhr&&this.xhr.abort(),this.element.removeClass("ui-tabs ui-widget ui-widget-content ui-corner-all ui-tabs-collapsible"),this.tablist.removeClass("ui-tabs-nav ui-helper-reset ui-helper-clearfix ui-widget-header ui-corner-all").removeAttr("role"),this.anchors.removeClass("ui-tabs-anchor").removeAttr("role").removeAttr("tabIndex").removeData("href.tabs").removeData("load.tabs").removeUniqueId(),this.tabs.add(this.panels).each(function(){e.data(this,"ui-tabs-destroy")?e(this).remove():e(this).removeClass("ui-state-default ui-state-active ui-state-disabled ui-corner-top ui-corner-bottom ui-widget-content ui-tabs-active ui-tabs-panel").removeAttr("tabIndex").removeAttr("aria-live").removeAttr("aria-busy").removeAttr("aria-selected").removeAttr("aria-labelledby").removeAttr("aria-hidden").removeAttr("aria-expanded").removeAttr("role")}),this.tabs.each(function(){var t=e(this),n=t.data("ui-tabs-aria-controls");n?t.attr("aria-controls",n):t.removeAttr("aria-controls")}),this.options.heightStyle!=="content"&&this.panels.css("height","")},enable:function(n){var r=this.options.disabled;if(r===!1)return;n===t?r=!1:(n=this._getIndex(n),e.isArray(r)?r=e.map(r,function(e){return e!==n?e:null}):r=e.map(this.tabs,function(e,t){return t!==n?t:null})),this._setupDisabled(r)},disable:function(n){var r=this.options.disabled;if(r===!0)return;if(n===t)r=!0;else{n=this._getIndex(n);if(e.inArray(n,r)!==-1)return;e.isArray(r)?r=e.merge([n],r).sort():r=[n]}this._setupDisabled(r)},load:function(t,n){t=this._getIndex(t);var r=this,i=this.tabs.eq(t),o=i.find(".ui-tabs-anchor"),u=this._getPanelForTab(i),a={tab:i,panel:u};if(s(o[0]))return;this.xhr=e.ajax(this._ajaxSettings(o,n,a)),this.xhr&&this.xhr.statusText!=="canceled"&&(i.addClass("ui-tabs-loading"),u.attr("aria-busy","true"),this.xhr.success(function(e){setTimeout(function(){u.html(e),r._trigger("load",n,a)},1)}).complete(function(e,t){setTimeout(function(){t==="abort"&&r.panels.stop(!1,!0),i.removeClass("ui-tabs-loading"),u.removeAttr("aria-busy"),e===r.xhr&&delete r.xhr},1)}))},_ajaxSettings:function(t,n,r){var i=this;return{url:t.attr("href"),beforeSend:function(t,s){return i._trigger("beforeLoad",n,e.extend({jqXHR:t,ajaxSettings:s},r))}}},_getPanelForTab:function(t){var n=e(t).attr("aria-controls");return this.element.find(this._sanitizeSelector("#"+n))}}),e.uiBackCompat!==!1&&(e.ui.tabs.prototype._ui=function(e,t){return{tab:e,panel:t,index:this.anchors.index(e)}},e.widget("ui.tabs",e.ui.tabs,{url:function(e,t){this.anchors.eq(e).attr("href",t)}}),e.widget("ui.tabs",e.ui.tabs,{options:{ajaxOptions:null,cache:!1},_create:function(){this._super();var t=this;this._on({tabsbeforeload:function(n,r){if(e.data(r.tab[0],"cache.tabs")){n.preventDefault();return}r.jqXHR.success(function(){t.options.cache&&e.data(r.tab[0],"cache.tabs",!0)})}})},_ajaxSettings:function(t,n,r){var i=this.options.ajaxOptions;return e.extend({},i,{error:function(e,t,n){try{i.error(e,t,r.tab.closest("li").index(),r.tab[0])}catch(n){}}},this._superApply(arguments))},_setOption:function(e,t){e==="cache"&&t===!1&&this.anchors.removeData("cache.tabs"),this._super(e,t)},_destroy:function(){this.anchors.removeData("cache.tabs"),this._super()},url:function(e,t){this.anchors.eq(e).removeData("cache.tabs"),this._superApply(arguments)}}),e.widget("ui.tabs",e.ui.tabs,{abort:function(){this.xhr&&this.xhr.abort()}}),e.widget("ui.tabs",e.ui.tabs,{options:{spinner:"Loading…"},_create:function(){this._super(),this._on({tabsbeforeload:function(e,t){if(e.target!==this.element[0]||!this.options.spinner)return;var n=t.tab.find("span"),r=n.html();n.html(this.options.spinner),t.jqXHR.complete(function(){n.html(r)})}})}}),e.widget("ui.tabs",e.ui.tabs,{options:{enable:null,disable:null},enable:function(t){var n=this.options,r;if(t&&n.disabled===!0||e.isArray(n.disabled)&&e.inArray(t,n.disabled)!==-1)r=!0;this._superApply(arguments),r&&this._trigger("enable",null,this._ui(this.anchors[t],this.panels[t]))},disable:function(t){var n=this.options,r;if(t&&n.disabled===!1||e.isArray(n.disabled)&&e.inArray(t,n.disabled)===-1)r=!0;this._superApply(arguments),r&&this._trigger("disable",null,this._ui(this.anchors[t],this.panels[t]))}}),e.widget("ui.tabs",e.ui.tabs,{options:{add:null,remove:null,tabTemplate:"
                  7. #{label}
                  8. "},add:function(n,r,i){i===t&&(i=this.anchors.length);var s,o,u=this.options,a=e(u.tabTemplate.replace(/#\{href\}/g,n).replace(/#\{label\}/g,r)),f=n.indexOf("#")?this._tabId(a):n.replace("#","");return a.addClass("ui-state-default ui-corner-top").data("ui-tabs-destroy",!0),a.attr("aria-controls",f),s=i>=this.tabs.length,o=this.element.find("#"+f),o.length||(o=this._createPanel(f),s?i>0?o.insertAfter(this.panels.eq(-1)):o.appendTo(this.element):o.insertBefore(this.panels[i])),o.addClass("ui-tabs-panel ui-widget-content ui-corner-bottom").hide(),s?a.appendTo(this.tablist):a.insertBefore(this.tabs[i]),u.disabled=e.map(u.disabled,function(e){return e>=i?++e:e}),this.refresh(),this.tabs.length===1&&u.active===!1&&this.option("active",0),this._trigger("add",null,this._ui(this.anchors[i],this.panels[i])),this},remove:function(t){t=this._getIndex(t);var n=this.options,r=this.tabs.eq(t).remove(),i=this._getPanelForTab(r).remove();return r.hasClass("ui-tabs-active")&&this.anchors.length>2&&this._activate(t+(t+1=t?--e:e}),this.refresh(),this._trigger("remove",null,this._ui(r.find("a")[0],i[0])),this}}),e.widget("ui.tabs",e.ui.tabs,{length:function(){return this.anchors.length}}),e.widget("ui.tabs",e.ui.tabs,{options:{idPrefix:"ui-tabs-"},_tabId:function(t){var n=t.is("li")?t.find("a[href]"):t;return n=n[0],e(n).closest("li").attr("aria-controls")||n.title&&n.title.replace(/\s/g,"_").replace(/[^\w\u00c0-\uFFFF\-]/g,"")||this.options.idPrefix+i()}}),e.widget("ui.tabs",e.ui.tabs,{options:{panelTemplate:"
                    "},_createPanel:function(t){return e(this.options.panelTemplate).attr("id",t).addClass("ui-tabs-panel ui-widget-content ui-corner-bottom").data("ui-tabs-destroy",!0)}}),e.widget("ui.tabs",e.ui.tabs,{_create:function(){var e=this.options;e.active===null&&e.selected!==t&&(e.active=e.selected===-1?!1:e.selected),this._super(),e.selected=e.active,e.selected===!1&&(e.selected=-1)},_setOption:function(e,t){if(e!=="selected")return this._super(e,t);var n=this.options;this._super("active",t===-1?!1:t),n.selected=n.active,n.selected===!1&&(n.selected=-1)},_eventHandler:function(e){this._superApply(arguments),this.options.selected=this.options.active,this.options.selected===!1&&(this.options.selected=-1)}}),e.widget("ui.tabs",e.ui.tabs,{options:{show:null,select:null},_create:function(){this._super(),this.options.active!==!1&&this._trigger("show",null,this._ui(this.active.find(".ui-tabs-anchor")[0],this._getPanelForTab(this.active)[0]))},_trigger:function(e,t,n){var r=this._superApply(arguments);return r?(e==="beforeActivate"&&n.newTab.length?r=this._super("select",t,{tab:n.newTab.find(".ui-tabs-anchor")[0],panel:n.newPanel[0],index:n.newTab.closest("li").index()}):e==="activate"&&n.newTab.length&&(r=this._super("show",t,{tab:n.newTab.find(".ui-tabs-anchor")[0],panel:n.newPanel[0],index:n.newTab.closest("li").index()})),r):!1}}),e.widget("ui.tabs",e.ui.tabs,{select:function(e){e=this._getIndex(e);if(e===-1){if(!this.options.collapsible||this.options.selected===-1)return;e=this.options.selected}this.anchors.eq(e).trigger(this.options.event+this.eventNamespace)}}),function(){var t=0;e.widget("ui.tabs",e.ui.tabs,{options:{cookie:null},_create:function(){var e=this.options,t;e.active==null&&e.cookie&&(t=parseInt(this._cookie(),10),t===-1&&(t=!1),e.active=t),this._super()},_cookie:function(n){var r=[this.cookie||(this.cookie=this.options.cookie.name||"ui-tabs-"+ ++t)];return arguments.length&&(r.push(n===!1?-1:n),r.push(this.options.cookie)),e.cookie.apply(null,r)},_refresh:function(){this._super(),this.options.cookie&&this._cookie(this.options.active,this.options.cookie)},_eventHandler:function(e){this._superApply(arguments),this.options.cookie&&this._cookie(this.options.active,this.options.cookie)},_destroy:function(){this._super(),this.options.cookie&&this._cookie(null,this.options.cookie)}})}(),e.widget("ui.tabs",e.ui.tabs,{_trigger:function(t,n,r){var i=e.extend({},r);return t==="load"&&(i.panel=i.panel[0],i.tab=i.tab.find(".ui-tabs-anchor")[0]),this._super(t,n,i)}}),e.widget("ui.tabs",e.ui.tabs,{options:{fx:null},_getFx:function(){var t,n,r=this.options.fx;return r&&(e.isArray(r)?(t=r[0],n=r[1]):t=n=r),r?{show:n,hide:t}:null},_toggle:function(e,t){function o(){n.running=!1,n._trigger("activate",e,t)}function u(){t.newTab.closest("li").addClass("ui-tabs-active ui-state-active"),r.length&&s.show?r.animate(s.show,s.show.duration,function(){o()}):(r.show(),o())}var n=this,r=t.newPanel,i=t.oldPanel,s=this._getFx();if(!s)return this._super(e,t);n.running=!0,i.length&&s.hide?i.animate(s.hide,s.hide.duration,function(){t.oldTab.closest("li").removeClass("ui-tabs-active ui-state-active"),u()}):(t.oldTab.closest("li").removeClass("ui-tabs-active ui-state-active"),i.hide(),u())}}))})(jQuery);(function(e){function n(t,n){var r=(t.attr("aria-describedby")||"").split(/\s+/);r.push(n),t.data("ui-tooltip-id",n).attr("aria-describedby",e.trim(r.join(" ")))}function r(t){var n=t.data("ui-tooltip-id"),r=(t.attr("aria-describedby")||"").split(/\s+/),i=e.inArray(n,r);i!==-1&&r.splice(i,1),t.removeData("ui-tooltip-id"),r=e.trim(r.join(" ")),r?t.attr("aria-describedby",r):t.removeAttr("aria-describedby")}var t=0;e.widget("ui.tooltip",{version:"1.9.0",options:{content:function(){return e(this).attr("title")},hide:!0,items:"[title]",position:{my:"left+15 center",at:"right center",collision:"flipfit flipfit"},show:!0,tooltipClass:null,track:!1,close:null,open:null},_create:function(){this._on({mouseover:"open",focusin:"open"}),this.tooltips={}},_setOption:function(t,n){var r=this;if(t==="disabled"){this[n?"_disable":"_enable"](),this.options[t]=n;return}this._super(t,n),t==="content"&&e.each(this.tooltips,function(e,t){r._updateContent(t)})},_disable:function(){var t=this;e.each(this.tooltips,function(n,r){var i=e.Event("blur");i.target=i.currentTarget=r[0],t.close(i,!0)}),this.element.find(this.options.items).andSelf().each(function(){var t=e(this);t.is("[title]")&&t.data("ui-tooltip-title",t.attr("title")).attr("title","")})},_enable:function(){this.element.find(this.options.items).andSelf().each(function(){var t=e(this);t.data("ui-tooltip-title")&&t.attr("title",t.data("ui-tooltip-title"))})},open:function(t){var n=e(t?t.target:this.element).closest(this.options.items);if(!n.length)return;if(this.options.track&&n.data("ui-tooltip-id")){this._find(n).position(e.extend({of:n},this.options.position)),this._off(this.document,"mousemove");return}n.attr("title")&&n.data("ui-tooltip-title",n.attr("title")),n.data("tooltip-open",!0),this._updateContent(n,t)},_updateContent:function(e,t){var n,r=this.options.content,i=this;if(typeof r=="string")return this._open(t,e,r);n=r.call(e[0],function(n){if(!e.data("tooltip-open"))return;i._delay(function(){this._open(t,e,n)})}),n&&this._open(t,e,n)},_open:function(t,r,i){function u(e){o.of=e,s.position(o)}var s,o;if(!i)return;s=this._find(r);if(s.length){s.find(".ui-tooltip-content").html(i);return}r.is("[title]")&&(t&&t.type==="mouseover"?r.attr("title",""):r.removeAttr("title")),s=this._tooltip(r),n(r,s.attr("id")),s.find(".ui-tooltip-content").html(i),this.options.track&&t&&/^mouse/.test(t.originalEvent.type)?(o=e.extend({},this.options.position),this._on(this.document,{mousemove:u}),u(t)):s.position(e.extend({of:r},this.options.position)),s.hide(),this._show(s,this.options.show),this._trigger("open",t,{tooltip:s}),this._on(r,{mouseleave:"close",focusout:"close",keyup:function(t){if(t.keyCode===e.ui.keyCode.ESCAPE){var n=e.Event(t);n.currentTarget=r[0],this.close(n,!0)}}})},close:function(t,n){var i=this,s=e(t?t.currentTarget:this.element),o=this._find(s);if(this.closing)return;if(!n&&t&&t.type!=="focusout"&&this.document[0].activeElement===s[0])return;s.data("ui-tooltip-title")&&s.attr("title",s.data("ui-tooltip-title")),r(s),o.stop(!0),this._hide(o,this.options.hide,function(){e(this).remove(),delete i.tooltips[this.id]}),s.removeData("tooltip-open"),this._off(s,"mouseleave focusout keyup"),this._off(this.document,"mousemove"),this.closing=!0,this._trigger("close",t,{tooltip:o}),this.closing=!1},_tooltip:function(n){var r="ui-tooltip-"+t++,i=e("
                    ").attr({id:r,role:"tooltip"}).addClass("ui-tooltip ui-widget ui-corner-all ui-widget-content "+(this.options.tooltipClass||""));return e("
                    ").addClass("ui-tooltip-content").appendTo(i),i.appendTo(this.document[0].body),e.fn.bgiframe&&i.bgiframe(),this.tooltips[r]=n,i},_find:function(t){var n=t.data("ui-tooltip-id");return n?e("#"+n):e()},_destroy:function(){var t=this;e.each(this.tooltips,function(n,r){var i=e.Event("blur");i.target=i.currentTarget=r[0],t.close(i,!0),e("#"+n).remove(),r.data("ui-tooltip-title")&&(r.attr("title",r.data("ui-tooltip-title")),r.removeData("ui-tooltip-title"))})}})})(jQuery); \ No newline at end of file diff --git a/manual1903/api_reference/component-pipe/scaladocs/lib/jquery.js b/manual1903/api_reference/component-pipe/scaladocs/lib/jquery.js new file mode 100644 index 0000000000000000000000000000000000000000..bc3fbc81b261b9dd759fd83917b93664138faa4a --- /dev/null +++ b/manual1903/api_reference/component-pipe/scaladocs/lib/jquery.js @@ -0,0 +1,2 @@ +/*! jQuery v1.8.2 jquery.com | jquery.org/license */ +(function(a,b){function G(a){var b=F[a]={};return p.each(a.split(s),function(a,c){b[c]=!0}),b}function J(a,c,d){if(d===b&&a.nodeType===1){var e="data-"+c.replace(I,"-$1").toLowerCase();d=a.getAttribute(e);if(typeof d=="string"){try{d=d==="true"?!0:d==="false"?!1:d==="null"?null:+d+""===d?+d:H.test(d)?p.parseJSON(d):d}catch(f){}p.data(a,c,d)}else d=b}return d}function K(a){var b;for(b in a){if(b==="data"&&p.isEmptyObject(a[b]))continue;if(b!=="toJSON")return!1}return!0}function ba(){return!1}function bb(){return!0}function bh(a){return!a||!a.parentNode||a.parentNode.nodeType===11}function bi(a,b){do a=a[b];while(a&&a.nodeType!==1);return a}function bj(a,b,c){b=b||0;if(p.isFunction(b))return p.grep(a,function(a,d){var e=!!b.call(a,d,a);return e===c});if(b.nodeType)return p.grep(a,function(a,d){return a===b===c});if(typeof b=="string"){var d=p.grep(a,function(a){return a.nodeType===1});if(be.test(b))return p.filter(b,d,!c);b=p.filter(b,d)}return p.grep(a,function(a,d){return p.inArray(a,b)>=0===c})}function bk(a){var b=bl.split("|"),c=a.createDocumentFragment();if(c.createElement)while(b.length)c.createElement(b.pop());return c}function bC(a,b){return a.getElementsByTagName(b)[0]||a.appendChild(a.ownerDocument.createElement(b))}function bD(a,b){if(b.nodeType!==1||!p.hasData(a))return;var c,d,e,f=p._data(a),g=p._data(b,f),h=f.events;if(h){delete g.handle,g.events={};for(c in h)for(d=0,e=h[c].length;d").appendTo(e.body),c=b.css("display");b.remove();if(c==="none"||c===""){bI=e.body.appendChild(bI||p.extend(e.createElement("iframe"),{frameBorder:0,width:0,height:0}));if(!bJ||!bI.createElement)bJ=(bI.contentWindow||bI.contentDocument).document,bJ.write(""),bJ.close();b=bJ.body.appendChild(bJ.createElement(a)),c=bH(b,"display"),e.body.removeChild(bI)}return bS[a]=c,c}function ci(a,b,c,d){var e;if(p.isArray(b))p.each(b,function(b,e){c||ce.test(a)?d(a,e):ci(a+"["+(typeof e=="object"?b:"")+"]",e,c,d)});else if(!c&&p.type(b)==="object")for(e in b)ci(a+"["+e+"]",b[e],c,d);else d(a,b)}function cz(a){return function(b,c){typeof b!="string"&&(c=b,b="*");var d,e,f,g=b.toLowerCase().split(s),h=0,i=g.length;if(p.isFunction(c))for(;h)[^>]*$|#([\w\-]*)$)/,v=/^<(\w+)\s*\/?>(?:<\/\1>|)$/,w=/^[\],:{}\s]*$/,x=/(?:^|:|,)(?:\s*\[)+/g,y=/\\(?:["\\\/bfnrt]|u[\da-fA-F]{4})/g,z=/"[^"\\\r\n]*"|true|false|null|-?(?:\d\d*\.|)\d+(?:[eE][\-+]?\d+|)/g,A=/^-ms-/,B=/-([\da-z])/gi,C=function(a,b){return(b+"").toUpperCase()},D=function(){e.addEventListener?(e.removeEventListener("DOMContentLoaded",D,!1),p.ready()):e.readyState==="complete"&&(e.detachEvent("onreadystatechange",D),p.ready())},E={};p.fn=p.prototype={constructor:p,init:function(a,c,d){var f,g,h,i;if(!a)return this;if(a.nodeType)return this.context=this[0]=a,this.length=1,this;if(typeof a=="string"){a.charAt(0)==="<"&&a.charAt(a.length-1)===">"&&a.length>=3?f=[null,a,null]:f=u.exec(a);if(f&&(f[1]||!c)){if(f[1])return c=c instanceof p?c[0]:c,i=c&&c.nodeType?c.ownerDocument||c:e,a=p.parseHTML(f[1],i,!0),v.test(f[1])&&p.isPlainObject(c)&&this.attr.call(a,c,!0),p.merge(this,a);g=e.getElementById(f[2]);if(g&&g.parentNode){if(g.id!==f[2])return d.find(a);this.length=1,this[0]=g}return this.context=e,this.selector=a,this}return!c||c.jquery?(c||d).find(a):this.constructor(c).find(a)}return p.isFunction(a)?d.ready(a):(a.selector!==b&&(this.selector=a.selector,this.context=a.context),p.makeArray(a,this))},selector:"",jquery:"1.8.2",length:0,size:function(){return this.length},toArray:function(){return k.call(this)},get:function(a){return a==null?this.toArray():a<0?this[this.length+a]:this[a]},pushStack:function(a,b,c){var d=p.merge(this.constructor(),a);return d.prevObject=this,d.context=this.context,b==="find"?d.selector=this.selector+(this.selector?" ":"")+c:b&&(d.selector=this.selector+"."+b+"("+c+")"),d},each:function(a,b){return p.each(this,a,b)},ready:function(a){return p.ready.promise().done(a),this},eq:function(a){return a=+a,a===-1?this.slice(a):this.slice(a,a+1)},first:function(){return this.eq(0)},last:function(){return this.eq(-1)},slice:function(){return this.pushStack(k.apply(this,arguments),"slice",k.call(arguments).join(","))},map:function(a){return this.pushStack(p.map(this,function(b,c){return a.call(b,c,b)}))},end:function(){return this.prevObject||this.constructor(null)},push:j,sort:[].sort,splice:[].splice},p.fn.init.prototype=p.fn,p.extend=p.fn.extend=function(){var a,c,d,e,f,g,h=arguments[0]||{},i=1,j=arguments.length,k=!1;typeof h=="boolean"&&(k=h,h=arguments[1]||{},i=2),typeof h!="object"&&!p.isFunction(h)&&(h={}),j===i&&(h=this,--i);for(;i0)return;d.resolveWith(e,[p]),p.fn.trigger&&p(e).trigger("ready").off("ready")},isFunction:function(a){return p.type(a)==="function"},isArray:Array.isArray||function(a){return p.type(a)==="array"},isWindow:function(a){return a!=null&&a==a.window},isNumeric:function(a){return!isNaN(parseFloat(a))&&isFinite(a)},type:function(a){return a==null?String(a):E[m.call(a)]||"object"},isPlainObject:function(a){if(!a||p.type(a)!=="object"||a.nodeType||p.isWindow(a))return!1;try{if(a.constructor&&!n.call(a,"constructor")&&!n.call(a.constructor.prototype,"isPrototypeOf"))return!1}catch(c){return!1}var d;for(d in a);return d===b||n.call(a,d)},isEmptyObject:function(a){var b;for(b in a)return!1;return!0},error:function(a){throw new Error(a)},parseHTML:function(a,b,c){var d;return!a||typeof a!="string"?null:(typeof b=="boolean"&&(c=b,b=0),b=b||e,(d=v.exec(a))?[b.createElement(d[1])]:(d=p.buildFragment([a],b,c?null:[]),p.merge([],(d.cacheable?p.clone(d.fragment):d.fragment).childNodes)))},parseJSON:function(b){if(!b||typeof b!="string")return null;b=p.trim(b);if(a.JSON&&a.JSON.parse)return a.JSON.parse(b);if(w.test(b.replace(y,"@").replace(z,"]").replace(x,"")))return(new Function("return "+b))();p.error("Invalid JSON: "+b)},parseXML:function(c){var d,e;if(!c||typeof c!="string")return null;try{a.DOMParser?(e=new DOMParser,d=e.parseFromString(c,"text/xml")):(d=new ActiveXObject("Microsoft.XMLDOM"),d.async="false",d.loadXML(c))}catch(f){d=b}return(!d||!d.documentElement||d.getElementsByTagName("parsererror").length)&&p.error("Invalid XML: "+c),d},noop:function(){},globalEval:function(b){b&&r.test(b)&&(a.execScript||function(b){a.eval.call(a,b)})(b)},camelCase:function(a){return a.replace(A,"ms-").replace(B,C)},nodeName:function(a,b){return a.nodeName&&a.nodeName.toLowerCase()===b.toLowerCase()},each:function(a,c,d){var e,f=0,g=a.length,h=g===b||p.isFunction(a);if(d){if(h){for(e in a)if(c.apply(a[e],d)===!1)break}else for(;f0&&a[0]&&a[i-1]||i===0||p.isArray(a));if(j)for(;h-1)i.splice(c,1),e&&(c<=g&&g--,c<=h&&h--)}),this},has:function(a){return p.inArray(a,i)>-1},empty:function(){return i=[],this},disable:function(){return i=j=c=b,this},disabled:function(){return!i},lock:function(){return j=b,c||l.disable(),this},locked:function(){return!j},fireWith:function(a,b){return b=b||[],b=[a,b.slice?b.slice():b],i&&(!d||j)&&(e?j.push(b):k(b)),this},fire:function(){return l.fireWith(this,arguments),this},fired:function(){return!!d}};return l},p.extend({Deferred:function(a){var b=[["resolve","done",p.Callbacks("once memory"),"resolved"],["reject","fail",p.Callbacks("once memory"),"rejected"],["notify","progress",p.Callbacks("memory")]],c="pending",d={state:function(){return c},always:function(){return e.done(arguments).fail(arguments),this},then:function(){var a=arguments;return p.Deferred(function(c){p.each(b,function(b,d){var f=d[0],g=a[b];e[d[1]](p.isFunction(g)?function(){var a=g.apply(this,arguments);a&&p.isFunction(a.promise)?a.promise().done(c.resolve).fail(c.reject).progress(c.notify):c[f+"With"](this===e?c:this,[a])}:c[f])}),a=null}).promise()},promise:function(a){return a!=null?p.extend(a,d):d}},e={};return d.pipe=d.then,p.each(b,function(a,f){var g=f[2],h=f[3];d[f[1]]=g.add,h&&g.add(function(){c=h},b[a^1][2].disable,b[2][2].lock),e[f[0]]=g.fire,e[f[0]+"With"]=g.fireWith}),d.promise(e),a&&a.call(e,e),e},when:function(a){var b=0,c=k.call(arguments),d=c.length,e=d!==1||a&&p.isFunction(a.promise)?d:0,f=e===1?a:p.Deferred(),g=function(a,b,c){return function(d){b[a]=this,c[a]=arguments.length>1?k.call(arguments):d,c===h?f.notifyWith(b,c):--e||f.resolveWith(b,c)}},h,i,j;if(d>1){h=new Array(d),i=new Array(d),j=new Array(d);for(;b
                    a",c=n.getElementsByTagName("*"),d=n.getElementsByTagName("a")[0],d.style.cssText="top:1px;float:left;opacity:.5";if(!c||!c.length)return{};f=e.createElement("select"),g=f.appendChild(e.createElement("option")),h=n.getElementsByTagName("input")[0],b={leadingWhitespace:n.firstChild.nodeType===3,tbody:!n.getElementsByTagName("tbody").length,htmlSerialize:!!n.getElementsByTagName("link").length,style:/top/.test(d.getAttribute("style")),hrefNormalized:d.getAttribute("href")==="/a",opacity:/^0.5/.test(d.style.opacity),cssFloat:!!d.style.cssFloat,checkOn:h.value==="on",optSelected:g.selected,getSetAttribute:n.className!=="t",enctype:!!e.createElement("form").enctype,html5Clone:e.createElement("nav").cloneNode(!0).outerHTML!=="<:nav>",boxModel:e.compatMode==="CSS1Compat",submitBubbles:!0,changeBubbles:!0,focusinBubbles:!1,deleteExpando:!0,noCloneEvent:!0,inlineBlockNeedsLayout:!1,shrinkWrapBlocks:!1,reliableMarginRight:!0,boxSizingReliable:!0,pixelPosition:!1},h.checked=!0,b.noCloneChecked=h.cloneNode(!0).checked,f.disabled=!0,b.optDisabled=!g.disabled;try{delete n.test}catch(o){b.deleteExpando=!1}!n.addEventListener&&n.attachEvent&&n.fireEvent&&(n.attachEvent("onclick",m=function(){b.noCloneEvent=!1}),n.cloneNode(!0).fireEvent("onclick"),n.detachEvent("onclick",m)),h=e.createElement("input"),h.value="t",h.setAttribute("type","radio"),b.radioValue=h.value==="t",h.setAttribute("checked","checked"),h.setAttribute("name","t"),n.appendChild(h),i=e.createDocumentFragment(),i.appendChild(n.lastChild),b.checkClone=i.cloneNode(!0).cloneNode(!0).lastChild.checked,b.appendChecked=h.checked,i.removeChild(h),i.appendChild(n);if(n.attachEvent)for(k in{submit:!0,change:!0,focusin:!0})j="on"+k,l=j in n,l||(n.setAttribute(j,"return;"),l=typeof n[j]=="function"),b[k+"Bubbles"]=l;return p(function(){var c,d,f,g,h="padding:0;margin:0;border:0;display:block;overflow:hidden;",i=e.getElementsByTagName("body")[0];if(!i)return;c=e.createElement("div"),c.style.cssText="visibility:hidden;border:0;width:0;height:0;position:static;top:0;margin-top:1px",i.insertBefore(c,i.firstChild),d=e.createElement("div"),c.appendChild(d),d.innerHTML="
                    t
                    ",f=d.getElementsByTagName("td"),f[0].style.cssText="padding:0;margin:0;border:0;display:none",l=f[0].offsetHeight===0,f[0].style.display="",f[1].style.display="none",b.reliableHiddenOffsets=l&&f[0].offsetHeight===0,d.innerHTML="",d.style.cssText="box-sizing:border-box;-moz-box-sizing:border-box;-webkit-box-sizing:border-box;padding:1px;border:1px;display:block;width:4px;margin-top:1%;position:absolute;top:1%;",b.boxSizing=d.offsetWidth===4,b.doesNotIncludeMarginInBodyOffset=i.offsetTop!==1,a.getComputedStyle&&(b.pixelPosition=(a.getComputedStyle(d,null)||{}).top!=="1%",b.boxSizingReliable=(a.getComputedStyle(d,null)||{width:"4px"}).width==="4px",g=e.createElement("div"),g.style.cssText=d.style.cssText=h,g.style.marginRight=g.style.width="0",d.style.width="1px",d.appendChild(g),b.reliableMarginRight=!parseFloat((a.getComputedStyle(g,null)||{}).marginRight)),typeof d.style.zoom!="undefined"&&(d.innerHTML="",d.style.cssText=h+"width:1px;padding:1px;display:inline;zoom:1",b.inlineBlockNeedsLayout=d.offsetWidth===3,d.style.display="block",d.style.overflow="visible",d.innerHTML="
                    ",d.firstChild.style.width="5px",b.shrinkWrapBlocks=d.offsetWidth!==3,c.style.zoom=1),i.removeChild(c),c=d=f=g=null}),i.removeChild(n),c=d=f=g=h=i=n=null,b}();var H=/(?:\{[\s\S]*\}|\[[\s\S]*\])$/,I=/([A-Z])/g;p.extend({cache:{},deletedIds:[],uuid:0,expando:"jQuery"+(p.fn.jquery+Math.random()).replace(/\D/g,""),noData:{embed:!0,object:"clsid:D27CDB6E-AE6D-11cf-96B8-444553540000",applet:!0},hasData:function(a){return a=a.nodeType?p.cache[a[p.expando]]:a[p.expando],!!a&&!K(a)},data:function(a,c,d,e){if(!p.acceptData(a))return;var f,g,h=p.expando,i=typeof c=="string",j=a.nodeType,k=j?p.cache:a,l=j?a[h]:a[h]&&h;if((!l||!k[l]||!e&&!k[l].data)&&i&&d===b)return;l||(j?a[h]=l=p.deletedIds.pop()||p.guid++:l=h),k[l]||(k[l]={},j||(k[l].toJSON=p.noop));if(typeof c=="object"||typeof c=="function")e?k[l]=p.extend(k[l],c):k[l].data=p.extend(k[l].data,c);return f=k[l],e||(f.data||(f.data={}),f=f.data),d!==b&&(f[p.camelCase(c)]=d),i?(g=f[c],g==null&&(g=f[p.camelCase(c)])):g=f,g},removeData:function(a,b,c){if(!p.acceptData(a))return;var d,e,f,g=a.nodeType,h=g?p.cache:a,i=g?a[p.expando]:p.expando;if(!h[i])return;if(b){d=c?h[i]:h[i].data;if(d){p.isArray(b)||(b in d?b=[b]:(b=p.camelCase(b),b in d?b=[b]:b=b.split(" ")));for(e=0,f=b.length;e1,null,!1))},removeData:function(a){return this.each(function(){p.removeData(this,a)})}}),p.extend({queue:function(a,b,c){var d;if(a)return b=(b||"fx")+"queue",d=p._data(a,b),c&&(!d||p.isArray(c)?d=p._data(a,b,p.makeArray(c)):d.push(c)),d||[]},dequeue:function(a,b){b=b||"fx";var c=p.queue(a,b),d=c.length,e=c.shift(),f=p._queueHooks(a,b),g=function(){p.dequeue(a,b)};e==="inprogress"&&(e=c.shift(),d--),e&&(b==="fx"&&c.unshift("inprogress"),delete f.stop,e.call(a,g,f)),!d&&f&&f.empty.fire()},_queueHooks:function(a,b){var c=b+"queueHooks";return p._data(a,c)||p._data(a,c,{empty:p.Callbacks("once memory").add(function(){p.removeData(a,b+"queue",!0),p.removeData(a,c,!0)})})}}),p.fn.extend({queue:function(a,c){var d=2;return typeof a!="string"&&(c=a,a="fx",d--),arguments.length1)},removeAttr:function(a){return this.each(function(){p.removeAttr(this,a)})},prop:function(a,b){return p.access(this,p.prop,a,b,arguments.length>1)},removeProp:function(a){return a=p.propFix[a]||a,this.each(function(){try{this[a]=b,delete this[a]}catch(c){}})},addClass:function(a){var b,c,d,e,f,g,h;if(p.isFunction(a))return this.each(function(b){p(this).addClass(a.call(this,b,this.className))});if(a&&typeof a=="string"){b=a.split(s);for(c=0,d=this.length;c=0)d=d.replace(" "+c[f]+" "," ");e.className=a?p.trim(d):""}}}return this},toggleClass:function(a,b){var c=typeof a,d=typeof b=="boolean";return p.isFunction(a)?this.each(function(c){p(this).toggleClass(a.call(this,c,this.className,b),b)}):this.each(function(){if(c==="string"){var e,f=0,g=p(this),h=b,i=a.split(s);while(e=i[f++])h=d?h:!g.hasClass(e),g[h?"addClass":"removeClass"](e)}else if(c==="undefined"||c==="boolean")this.className&&p._data(this,"__className__",this.className),this.className=this.className||a===!1?"":p._data(this,"__className__")||""})},hasClass:function(a){var b=" "+a+" ",c=0,d=this.length;for(;c=0)return!0;return!1},val:function(a){var c,d,e,f=this[0];if(!arguments.length){if(f)return c=p.valHooks[f.type]||p.valHooks[f.nodeName.toLowerCase()],c&&"get"in c&&(d=c.get(f,"value"))!==b?d:(d=f.value,typeof d=="string"?d.replace(P,""):d==null?"":d);return}return e=p.isFunction(a),this.each(function(d){var f,g=p(this);if(this.nodeType!==1)return;e?f=a.call(this,d,g.val()):f=a,f==null?f="":typeof f=="number"?f+="":p.isArray(f)&&(f=p.map(f,function(a){return a==null?"":a+""})),c=p.valHooks[this.type]||p.valHooks[this.nodeName.toLowerCase()];if(!c||!("set"in c)||c.set(this,f,"value")===b)this.value=f})}}),p.extend({valHooks:{option:{get:function(a){var b=a.attributes.value;return!b||b.specified?a.value:a.text}},select:{get:function(a){var b,c,d,e,f=a.selectedIndex,g=[],h=a.options,i=a.type==="select-one";if(f<0)return null;c=i?f:0,d=i?f+1:h.length;for(;c=0}),c.length||(a.selectedIndex=-1),c}}},attrFn:{},attr:function(a,c,d,e){var f,g,h,i=a.nodeType;if(!a||i===3||i===8||i===2)return;if(e&&p.isFunction(p.fn[c]))return p(a)[c](d);if(typeof a.getAttribute=="undefined")return p.prop(a,c,d);h=i!==1||!p.isXMLDoc(a),h&&(c=c.toLowerCase(),g=p.attrHooks[c]||(T.test(c)?M:L));if(d!==b){if(d===null){p.removeAttr(a,c);return}return g&&"set"in g&&h&&(f=g.set(a,d,c))!==b?f:(a.setAttribute(c,d+""),d)}return g&&"get"in g&&h&&(f=g.get(a,c))!==null?f:(f=a.getAttribute(c),f===null?b:f)},removeAttr:function(a,b){var c,d,e,f,g=0;if(b&&a.nodeType===1){d=b.split(s);for(;g=0}})});var V=/^(?:textarea|input|select)$/i,W=/^([^\.]*|)(?:\.(.+)|)$/,X=/(?:^|\s)hover(\.\S+|)\b/,Y=/^key/,Z=/^(?:mouse|contextmenu)|click/,$=/^(?:focusinfocus|focusoutblur)$/,_=function(a){return p.event.special.hover?a:a.replace(X,"mouseenter$1 mouseleave$1")};p.event={add:function(a,c,d,e,f){var g,h,i,j,k,l,m,n,o,q,r;if(a.nodeType===3||a.nodeType===8||!c||!d||!(g=p._data(a)))return;d.handler&&(o=d,d=o.handler,f=o.selector),d.guid||(d.guid=p.guid++),i=g.events,i||(g.events=i={}),h=g.handle,h||(g.handle=h=function(a){return typeof p!="undefined"&&(!a||p.event.triggered!==a.type)?p.event.dispatch.apply(h.elem,arguments):b},h.elem=a),c=p.trim(_(c)).split(" ");for(j=0;j=0&&(s=s.slice(0,-1),i=!0),s.indexOf(".")>=0&&(t=s.split("."),s=t.shift(),t.sort());if((!f||p.event.customEvent[s])&&!p.event.global[s])return;c=typeof c=="object"?c[p.expando]?c:new p.Event(s,c):new p.Event(s),c.type=s,c.isTrigger=!0,c.exclusive=i,c.namespace=t.join("."),c.namespace_re=c.namespace?new RegExp("(^|\\.)"+t.join("\\.(?:.*\\.|)")+"(\\.|$)"):null,m=s.indexOf(":")<0?"on"+s:"";if(!f){h=p.cache;for(j in h)h[j].events&&h[j].events[s]&&p.event.trigger(c,d,h[j].handle.elem,!0);return}c.result=b,c.target||(c.target=f),d=d!=null?p.makeArray(d):[],d.unshift(c),n=p.event.special[s]||{};if(n.trigger&&n.trigger.apply(f,d)===!1)return;q=[[f,n.bindType||s]];if(!g&&!n.noBubble&&!p.isWindow(f)){r=n.delegateType||s,k=$.test(r+s)?f:f.parentNode;for(l=f;k;k=k.parentNode)q.push([k,r]),l=k;l===(f.ownerDocument||e)&&q.push([l.defaultView||l.parentWindow||a,r])}for(j=0;j=0:p.find(m,this,null,[f]).length),h[m]&&j.push(l);j.length&&u.push({elem:f,matches:j})}o.length>q&&u.push({elem:this,matches:o.slice(q)});for(d=0;d0?this.on(b,null,a,c):this.trigger(b)},Y.test(b)&&(p.event.fixHooks[b]=p.event.keyHooks),Z.test(b)&&(p.event.fixHooks[b]=p.event.mouseHooks)}),function(a,b){function bc(a,b,c,d){c=c||[],b=b||r;var e,f,i,j,k=b.nodeType;if(!a||typeof a!="string")return c;if(k!==1&&k!==9)return[];i=g(b);if(!i&&!d)if(e=P.exec(a))if(j=e[1]){if(k===9){f=b.getElementById(j);if(!f||!f.parentNode)return c;if(f.id===j)return c.push(f),c}else if(b.ownerDocument&&(f=b.ownerDocument.getElementById(j))&&h(b,f)&&f.id===j)return c.push(f),c}else{if(e[2])return w.apply(c,x.call(b.getElementsByTagName(a),0)),c;if((j=e[3])&&_&&b.getElementsByClassName)return w.apply(c,x.call(b.getElementsByClassName(j),0)),c}return bp(a.replace(L,"$1"),b,c,d,i)}function bd(a){return function(b){var c=b.nodeName.toLowerCase();return c==="input"&&b.type===a}}function be(a){return function(b){var c=b.nodeName.toLowerCase();return(c==="input"||c==="button")&&b.type===a}}function bf(a){return z(function(b){return b=+b,z(function(c,d){var e,f=a([],c.length,b),g=f.length;while(g--)c[e=f[g]]&&(c[e]=!(d[e]=c[e]))})})}function bg(a,b,c){if(a===b)return c;var d=a.nextSibling;while(d){if(d===b)return-1;d=d.nextSibling}return 1}function bh(a,b){var c,d,f,g,h,i,j,k=C[o][a];if(k)return b?0:k.slice(0);h=a,i=[],j=e.preFilter;while(h){if(!c||(d=M.exec(h)))d&&(h=h.slice(d[0].length)),i.push(f=[]);c=!1;if(d=N.exec(h))f.push(c=new q(d.shift())),h=h.slice(c.length),c.type=d[0].replace(L," ");for(g in e.filter)(d=W[g].exec(h))&&(!j[g]||(d=j[g](d,r,!0)))&&(f.push(c=new q(d.shift())),h=h.slice(c.length),c.type=g,c.matches=d);if(!c)break}return b?h.length:h?bc.error(a):C(a,i).slice(0)}function bi(a,b,d){var e=b.dir,f=d&&b.dir==="parentNode",g=u++;return b.first?function(b,c,d){while(b=b[e])if(f||b.nodeType===1)return a(b,c,d)}:function(b,d,h){if(!h){var i,j=t+" "+g+" ",k=j+c;while(b=b[e])if(f||b.nodeType===1){if((i=b[o])===k)return b.sizset;if(typeof i=="string"&&i.indexOf(j)===0){if(b.sizset)return b}else{b[o]=k;if(a(b,d,h))return b.sizset=!0,b;b.sizset=!1}}}else while(b=b[e])if(f||b.nodeType===1)if(a(b,d,h))return b}}function bj(a){return a.length>1?function(b,c,d){var e=a.length;while(e--)if(!a[e](b,c,d))return!1;return!0}:a[0]}function bk(a,b,c,d,e){var f,g=[],h=0,i=a.length,j=b!=null;for(;h-1},h,!0),m=[function(a,c,d){return!g&&(d||c!==l)||((b=c).nodeType?j(a,c,d):k(a,c,d))}];for(;i1&&bj(m),i>1&&a.slice(0,i-1).join("").replace(L,"$1"),c,i0,f=a.length>0,g=function(h,i,j,k,m){var n,o,p,q=[],s=0,u="0",x=h&&[],y=m!=null,z=l,A=h||f&&e.find.TAG("*",m&&i.parentNode||i),B=t+=z==null?1:Math.E;y&&(l=i!==r&&i,c=g.el);for(;(n=A[u])!=null;u++){if(f&&n){for(o=0;p=a[o];o++)if(p(n,i,j)){k.push(n);break}y&&(t=B,c=++g.el)}d&&((n=!p&&n)&&s--,h&&x.push(n))}s+=u;if(d&&u!==s){for(o=0;p=b[o];o++)p(x,q,i,j);if(h){if(s>0)while(u--)!x[u]&&!q[u]&&(q[u]=v.call(k));q=bk(q)}w.apply(k,q),y&&!h&&q.length>0&&s+b.length>1&&bc.uniqueSort(k)}return y&&(t=B,l=z),x};return g.el=0,d?z(g):g}function bo(a,b,c,d){var e=0,f=b.length;for(;e2&&(j=h[0]).type==="ID"&&b.nodeType===9&&!f&&e.relative[h[1].type]){b=e.find.ID(j.matches[0].replace(V,""),b,f)[0];if(!b)return c;a=a.slice(h.shift().length)}for(g=W.POS.test(a)?-1:h.length-1;g>=0;g--){j=h[g];if(e.relative[k=j.type])break;if(l=e.find[k])if(d=l(j.matches[0].replace(V,""),R.test(h[0].type)&&b.parentNode||b,f)){h.splice(g,1),a=d.length&&h.join("");if(!a)return w.apply(c,x.call(d,0)),c;break}}}return i(a,m)(d,b,f,c,R.test(a)),c}function bq(){}var c,d,e,f,g,h,i,j,k,l,m=!0,n="undefined",o=("sizcache"+Math.random()).replace(".",""),q=String,r=a.document,s=r.documentElement,t=0,u=0,v=[].pop,w=[].push,x=[].slice,y=[].indexOf||function(a){var b=0,c=this.length;for(;be.cacheLength&&delete a[b.shift()],a[c]=d},a)},B=A(),C=A(),D=A(),E="[\\x20\\t\\r\\n\\f]",F="(?:\\\\.|[-\\w]|[^\\x00-\\xa0])+",G=F.replace("w","w#"),H="([*^$|!~]?=)",I="\\["+E+"*("+F+")"+E+"*(?:"+H+E+"*(?:(['\"])((?:\\\\.|[^\\\\])*?)\\3|("+G+")|)|)"+E+"*\\]",J=":("+F+")(?:\\((?:(['\"])((?:\\\\.|[^\\\\])*?)\\2|([^()[\\]]*|(?:(?:"+I+")|[^:]|\\\\.)*|.*))\\)|)",K=":(even|odd|eq|gt|lt|nth|first|last)(?:\\("+E+"*((?:-\\d)?\\d*)"+E+"*\\)|)(?=[^-]|$)",L=new RegExp("^"+E+"+|((?:^|[^\\\\])(?:\\\\.)*)"+E+"+$","g"),M=new RegExp("^"+E+"*,"+E+"*"),N=new RegExp("^"+E+"*([\\x20\\t\\r\\n\\f>+~])"+E+"*"),O=new RegExp(J),P=/^(?:#([\w\-]+)|(\w+)|\.([\w\-]+))$/,Q=/^:not/,R=/[\x20\t\r\n\f]*[+~]/,S=/:not\($/,T=/h\d/i,U=/input|select|textarea|button/i,V=/\\(?!\\)/g,W={ID:new RegExp("^#("+F+")"),CLASS:new RegExp("^\\.("+F+")"),NAME:new RegExp("^\\[name=['\"]?("+F+")['\"]?\\]"),TAG:new RegExp("^("+F.replace("w","w*")+")"),ATTR:new RegExp("^"+I),PSEUDO:new RegExp("^"+J),POS:new RegExp(K,"i"),CHILD:new RegExp("^:(only|nth|first|last)-child(?:\\("+E+"*(even|odd|(([+-]|)(\\d*)n|)"+E+"*(?:([+-]|)"+E+"*(\\d+)|))"+E+"*\\)|)","i"),needsContext:new RegExp("^"+E+"*[>+~]|"+K,"i")},X=function(a){var b=r.createElement("div");try{return a(b)}catch(c){return!1}finally{b=null}},Y=X(function(a){return a.appendChild(r.createComment("")),!a.getElementsByTagName("*").length}),Z=X(function(a){return a.innerHTML="",a.firstChild&&typeof a.firstChild.getAttribute!==n&&a.firstChild.getAttribute("href")==="#"}),$=X(function(a){a.innerHTML="";var b=typeof a.lastChild.getAttribute("multiple");return b!=="boolean"&&b!=="string"}),_=X(function(a){return a.innerHTML="",!a.getElementsByClassName||!a.getElementsByClassName("e").length?!1:(a.lastChild.className="e",a.getElementsByClassName("e").length===2)}),ba=X(function(a){a.id=o+0,a.innerHTML="
                    ",s.insertBefore(a,s.firstChild);var b=r.getElementsByName&&r.getElementsByName(o).length===2+r.getElementsByName(o+0).length;return d=!r.getElementById(o),s.removeChild(a),b});try{x.call(s.childNodes,0)[0].nodeType}catch(bb){x=function(a){var b,c=[];for(;b=this[a];a++)c.push(b);return c}}bc.matches=function(a,b){return bc(a,null,null,b)},bc.matchesSelector=function(a,b){return bc(b,null,null,[a]).length>0},f=bc.getText=function(a){var b,c="",d=0,e=a.nodeType;if(e){if(e===1||e===9||e===11){if(typeof a.textContent=="string")return a.textContent;for(a=a.firstChild;a;a=a.nextSibling)c+=f(a)}else if(e===3||e===4)return a.nodeValue}else for(;b=a[d];d++)c+=f(b);return c},g=bc.isXML=function(a){var b=a&&(a.ownerDocument||a).documentElement;return b?b.nodeName!=="HTML":!1},h=bc.contains=s.contains?function(a,b){var c=a.nodeType===9?a.documentElement:a,d=b&&b.parentNode;return a===d||!!(d&&d.nodeType===1&&c.contains&&c.contains(d))}:s.compareDocumentPosition?function(a,b){return b&&!!(a.compareDocumentPosition(b)&16)}:function(a,b){while(b=b.parentNode)if(b===a)return!0;return!1},bc.attr=function(a,b){var c,d=g(a);return d||(b=b.toLowerCase()),(c=e.attrHandle[b])?c(a):d||$?a.getAttribute(b):(c=a.getAttributeNode(b),c?typeof a[b]=="boolean"?a[b]?b:null:c.specified?c.value:null:null)},e=bc.selectors={cacheLength:50,createPseudo:z,match:W,attrHandle:Z?{}:{href:function(a){return a.getAttribute("href",2)},type:function(a){return a.getAttribute("type")}},find:{ID:d?function(a,b,c){if(typeof b.getElementById!==n&&!c){var d=b.getElementById(a);return d&&d.parentNode?[d]:[]}}:function(a,c,d){if(typeof c.getElementById!==n&&!d){var e=c.getElementById(a);return e?e.id===a||typeof e.getAttributeNode!==n&&e.getAttributeNode("id").value===a?[e]:b:[]}},TAG:Y?function(a,b){if(typeof b.getElementsByTagName!==n)return b.getElementsByTagName(a)}:function(a,b){var c=b.getElementsByTagName(a);if(a==="*"){var d,e=[],f=0;for(;d=c[f];f++)d.nodeType===1&&e.push(d);return e}return c},NAME:ba&&function(a,b){if(typeof b.getElementsByName!==n)return b.getElementsByName(name)},CLASS:_&&function(a,b,c){if(typeof b.getElementsByClassName!==n&&!c)return b.getElementsByClassName(a)}},relative:{">":{dir:"parentNode",first:!0}," ":{dir:"parentNode"},"+":{dir:"previousSibling",first:!0},"~":{dir:"previousSibling"}},preFilter:{ATTR:function(a){return a[1]=a[1].replace(V,""),a[3]=(a[4]||a[5]||"").replace(V,""),a[2]==="~="&&(a[3]=" "+a[3]+" "),a.slice(0,4)},CHILD:function(a){return a[1]=a[1].toLowerCase(),a[1]==="nth"?(a[2]||bc.error(a[0]),a[3]=+(a[3]?a[4]+(a[5]||1):2*(a[2]==="even"||a[2]==="odd")),a[4]=+(a[6]+a[7]||a[2]==="odd")):a[2]&&bc.error(a[0]),a},PSEUDO:function(a){var b,c;if(W.CHILD.test(a[0]))return null;if(a[3])a[2]=a[3];else if(b=a[4])O.test(b)&&(c=bh(b,!0))&&(c=b.indexOf(")",b.length-c)-b.length)&&(b=b.slice(0,c),a[0]=a[0].slice(0,c)),a[2]=b;return a.slice(0,3)}},filter:{ID:d?function(a){return a=a.replace(V,""),function(b){return b.getAttribute("id")===a}}:function(a){return a=a.replace(V,""),function(b){var c=typeof b.getAttributeNode!==n&&b.getAttributeNode("id");return c&&c.value===a}},TAG:function(a){return a==="*"?function(){return!0}:(a=a.replace(V,"").toLowerCase(),function(b){return b.nodeName&&b.nodeName.toLowerCase()===a})},CLASS:function(a){var b=B[o][a];return b||(b=B(a,new RegExp("(^|"+E+")"+a+"("+E+"|$)"))),function(a){return b.test(a.className||typeof a.getAttribute!==n&&a.getAttribute("class")||"")}},ATTR:function(a,b,c){return function(d,e){var f=bc.attr(d,a);return f==null?b==="!=":b?(f+="",b==="="?f===c:b==="!="?f!==c:b==="^="?c&&f.indexOf(c)===0:b==="*="?c&&f.indexOf(c)>-1:b==="$="?c&&f.substr(f.length-c.length)===c:b==="~="?(" "+f+" ").indexOf(c)>-1:b==="|="?f===c||f.substr(0,c.length+1)===c+"-":!1):!0}},CHILD:function(a,b,c,d){return a==="nth"?function(a){var b,e,f=a.parentNode;if(c===1&&d===0)return!0;if(f){e=0;for(b=f.firstChild;b;b=b.nextSibling)if(b.nodeType===1){e++;if(a===b)break}}return e-=d,e===c||e%c===0&&e/c>=0}:function(b){var c=b;switch(a){case"only":case"first":while(c=c.previousSibling)if(c.nodeType===1)return!1;if(a==="first")return!0;c=b;case"last":while(c=c.nextSibling)if(c.nodeType===1)return!1;return!0}}},PSEUDO:function(a,b){var c,d=e.pseudos[a]||e.setFilters[a.toLowerCase()]||bc.error("unsupported pseudo: "+a);return d[o]?d(b):d.length>1?(c=[a,a,"",b],e.setFilters.hasOwnProperty(a.toLowerCase())?z(function(a,c){var e,f=d(a,b),g=f.length;while(g--)e=y.call(a,f[g]),a[e]=!(c[e]=f[g])}):function(a){return d(a,0,c)}):d}},pseudos:{not:z(function(a){var b=[],c=[],d=i(a.replace(L,"$1"));return d[o]?z(function(a,b,c,e){var f,g=d(a,null,e,[]),h=a.length;while(h--)if(f=g[h])a[h]=!(b[h]=f)}):function(a,e,f){return b[0]=a,d(b,null,f,c),!c.pop()}}),has:z(function(a){return function(b){return bc(a,b).length>0}}),contains:z(function(a){return function(b){return(b.textContent||b.innerText||f(b)).indexOf(a)>-1}}),enabled:function(a){return a.disabled===!1},disabled:function(a){return a.disabled===!0},checked:function(a){var b=a.nodeName.toLowerCase();return b==="input"&&!!a.checked||b==="option"&&!!a.selected},selected:function(a){return a.parentNode&&a.parentNode.selectedIndex,a.selected===!0},parent:function(a){return!e.pseudos.empty(a)},empty:function(a){var b;a=a.firstChild;while(a){if(a.nodeName>"@"||(b=a.nodeType)===3||b===4)return!1;a=a.nextSibling}return!0},header:function(a){return T.test(a.nodeName)},text:function(a){var b,c;return a.nodeName.toLowerCase()==="input"&&(b=a.type)==="text"&&((c=a.getAttribute("type"))==null||c.toLowerCase()===b)},radio:bd("radio"),checkbox:bd("checkbox"),file:bd("file"),password:bd("password"),image:bd("image"),submit:be("submit"),reset:be("reset"),button:function(a){var b=a.nodeName.toLowerCase();return b==="input"&&a.type==="button"||b==="button"},input:function(a){return U.test(a.nodeName)},focus:function(a){var b=a.ownerDocument;return a===b.activeElement&&(!b.hasFocus||b.hasFocus())&&(!!a.type||!!a.href)},active:function(a){return a===a.ownerDocument.activeElement},first:bf(function(a,b,c){return[0]}),last:bf(function(a,b,c){return[b-1]}),eq:bf(function(a,b,c){return[c<0?c+b:c]}),even:bf(function(a,b,c){for(var d=0;d=0;)a.push(d);return a}),gt:bf(function(a,b,c){for(var d=c<0?c+b:c;++d",a.querySelectorAll("[selected]").length||e.push("\\["+E+"*(?:checked|disabled|ismap|multiple|readonly|selected|value)"),a.querySelectorAll(":checked").length||e.push(":checked")}),X(function(a){a.innerHTML="

                    ",a.querySelectorAll("[test^='']").length&&e.push("[*^$]="+E+"*(?:\"\"|'')"),a.innerHTML="",a.querySelectorAll(":enabled").length||e.push(":enabled",":disabled")}),e=new RegExp(e.join("|")),bp=function(a,d,f,g,h){if(!g&&!h&&(!e||!e.test(a))){var i,j,k=!0,l=o,m=d,n=d.nodeType===9&&a;if(d.nodeType===1&&d.nodeName.toLowerCase()!=="object"){i=bh(a),(k=d.getAttribute("id"))?l=k.replace(c,"\\$&"):d.setAttribute("id",l),l="[id='"+l+"'] ",j=i.length;while(j--)i[j]=l+i[j].join("");m=R.test(a)&&d.parentNode||d,n=i.join(",")}if(n)try{return w.apply(f,x.call(m.querySelectorAll(n),0)),f}catch(p){}finally{k||d.removeAttribute("id")}}return b(a,d,f,g,h)},h&&(X(function(b){a=h.call(b,"div");try{h.call(b,"[test!='']:sizzle"),f.push("!=",J)}catch(c){}}),f=new RegExp(f.join("|")),bc.matchesSelector=function(b,c){c=c.replace(d,"='$1']");if(!g(b)&&!f.test(c)&&(!e||!e.test(c)))try{var i=h.call(b,c);if(i||a||b.document&&b.document.nodeType!==11)return i}catch(j){}return bc(c,null,null,[b]).length>0})}(),e.pseudos.nth=e.pseudos.eq,e.filters=bq.prototype=e.pseudos,e.setFilters=new bq,bc.attr=p.attr,p.find=bc,p.expr=bc.selectors,p.expr[":"]=p.expr.pseudos,p.unique=bc.uniqueSort,p.text=bc.getText,p.isXMLDoc=bc.isXML,p.contains=bc.contains}(a);var bc=/Until$/,bd=/^(?:parents|prev(?:Until|All))/,be=/^.[^:#\[\.,]*$/,bf=p.expr.match.needsContext,bg={children:!0,contents:!0,next:!0,prev:!0};p.fn.extend({find:function(a){var b,c,d,e,f,g,h=this;if(typeof a!="string")return p(a).filter(function(){for(b=0,c=h.length;b0)for(e=d;e=0:p.filter(a,this).length>0:this.filter(a).length>0)},closest:function(a,b){var c,d=0,e=this.length,f=[],g=bf.test(a)||typeof a!="string"?p(a,b||this.context):0;for(;d-1:p.find.matchesSelector(c,a)){f.push(c);break}c=c.parentNode}}return f=f.length>1?p.unique(f):f,this.pushStack(f,"closest",a)},index:function(a){return a?typeof a=="string"?p.inArray(this[0],p(a)):p.inArray(a.jquery?a[0]:a,this):this[0]&&this[0].parentNode?this.prevAll().length:-1},add:function(a,b){var c=typeof a=="string"?p(a,b):p.makeArray(a&&a.nodeType?[a]:a),d=p.merge(this.get(),c);return this.pushStack(bh(c[0])||bh(d[0])?d:p.unique(d))},addBack:function(a){return this.add(a==null?this.prevObject:this.prevObject.filter(a))}}),p.fn.andSelf=p.fn.addBack,p.each({parent:function(a){var b=a.parentNode;return b&&b.nodeType!==11?b:null},parents:function(a){return p.dir(a,"parentNode")},parentsUntil:function(a,b,c){return p.dir(a,"parentNode",c)},next:function(a){return bi(a,"nextSibling")},prev:function(a){return bi(a,"previousSibling")},nextAll:function(a){return p.dir(a,"nextSibling")},prevAll:function(a){return p.dir(a,"previousSibling")},nextUntil:function(a,b,c){return p.dir(a,"nextSibling",c)},prevUntil:function(a,b,c){return p.dir(a,"previousSibling",c)},siblings:function(a){return p.sibling((a.parentNode||{}).firstChild,a)},children:function(a){return p.sibling(a.firstChild)},contents:function(a){return p.nodeName(a,"iframe")?a.contentDocument||a.contentWindow.document:p.merge([],a.childNodes)}},function(a,b){p.fn[a]=function(c,d){var e=p.map(this,b,c);return bc.test(a)||(d=c),d&&typeof d=="string"&&(e=p.filter(d,e)),e=this.length>1&&!bg[a]?p.unique(e):e,this.length>1&&bd.test(a)&&(e=e.reverse()),this.pushStack(e,a,k.call(arguments).join(","))}}),p.extend({filter:function(a,b,c){return c&&(a=":not("+a+")"),b.length===1?p.find.matchesSelector(b[0],a)?[b[0]]:[]:p.find.matches(a,b)},dir:function(a,c,d){var e=[],f=a[c];while(f&&f.nodeType!==9&&(d===b||f.nodeType!==1||!p(f).is(d)))f.nodeType===1&&e.push(f),f=f[c];return e},sibling:function(a,b){var c=[];for(;a;a=a.nextSibling)a.nodeType===1&&a!==b&&c.push(a);return c}});var bl="abbr|article|aside|audio|bdi|canvas|data|datalist|details|figcaption|figure|footer|header|hgroup|mark|meter|nav|output|progress|section|summary|time|video",bm=/ jQuery\d+="(?:null|\d+)"/g,bn=/^\s+/,bo=/<(?!area|br|col|embed|hr|img|input|link|meta|param)(([\w:]+)[^>]*)\/>/gi,bp=/<([\w:]+)/,bq=/]","i"),bv=/^(?:checkbox|radio)$/,bw=/checked\s*(?:[^=]|=\s*.checked.)/i,bx=/\/(java|ecma)script/i,by=/^\s*\s*$/g,bz={option:[1,""],legend:[1,"
                    ","
                    "],thead:[1,"","
                    "],tr:[2,"","
                    "],td:[3,"","
                    "],col:[2,"","
                    "],area:[1,"",""],_default:[0,"",""]},bA=bk(e),bB=bA.appendChild(e.createElement("div"));bz.optgroup=bz.option,bz.tbody=bz.tfoot=bz.colgroup=bz.caption=bz.thead,bz.th=bz.td,p.support.htmlSerialize||(bz._default=[1,"X
                    ","
                    "]),p.fn.extend({text:function(a){return p.access(this,function(a){return a===b?p.text(this):this.empty().append((this[0]&&this[0].ownerDocument||e).createTextNode(a))},null,a,arguments.length)},wrapAll:function(a){if(p.isFunction(a))return this.each(function(b){p(this).wrapAll(a.call(this,b))});if(this[0]){var b=p(a,this[0].ownerDocument).eq(0).clone(!0);this[0].parentNode&&b.insertBefore(this[0]),b.map(function(){var a=this;while(a.firstChild&&a.firstChild.nodeType===1)a=a.firstChild;return a}).append(this)}return this},wrapInner:function(a){return p.isFunction(a)?this.each(function(b){p(this).wrapInner(a.call(this,b))}):this.each(function(){var b=p(this),c=b.contents();c.length?c.wrapAll(a):b.append(a)})},wrap:function(a){var b=p.isFunction(a);return this.each(function(c){p(this).wrapAll(b?a.call(this,c):a)})},unwrap:function(){return this.parent().each(function(){p.nodeName(this,"body")||p(this).replaceWith(this.childNodes)}).end()},append:function(){return this.domManip(arguments,!0,function(a){(this.nodeType===1||this.nodeType===11)&&this.appendChild(a)})},prepend:function(){return this.domManip(arguments,!0,function(a){(this.nodeType===1||this.nodeType===11)&&this.insertBefore(a,this.firstChild)})},before:function(){if(!bh(this[0]))return this.domManip(arguments,!1,function(a){this.parentNode.insertBefore(a,this)});if(arguments.length){var a=p.clean(arguments);return this.pushStack(p.merge(a,this),"before",this.selector)}},after:function(){if(!bh(this[0]))return this.domManip(arguments,!1,function(a){this.parentNode.insertBefore(a,this.nextSibling)});if(arguments.length){var a=p.clean(arguments);return this.pushStack(p.merge(this,a),"after",this.selector)}},remove:function(a,b){var c,d=0;for(;(c=this[d])!=null;d++)if(!a||p.filter(a,[c]).length)!b&&c.nodeType===1&&(p.cleanData(c.getElementsByTagName("*")),p.cleanData([c])),c.parentNode&&c.parentNode.removeChild(c);return this},empty:function(){var a,b=0;for(;(a=this[b])!=null;b++){a.nodeType===1&&p.cleanData(a.getElementsByTagName("*"));while(a.firstChild)a.removeChild(a.firstChild)}return this},clone:function(a,b){return a=a==null?!1:a,b=b==null?a:b,this.map(function(){return p.clone(this,a,b)})},html:function(a){return p.access(this,function(a){var c=this[0]||{},d=0,e=this.length;if(a===b)return c.nodeType===1?c.innerHTML.replace(bm,""):b;if(typeof a=="string"&&!bs.test(a)&&(p.support.htmlSerialize||!bu.test(a))&&(p.support.leadingWhitespace||!bn.test(a))&&!bz[(bp.exec(a)||["",""])[1].toLowerCase()]){a=a.replace(bo,"<$1>");try{for(;d1&&typeof j=="string"&&bw.test(j))return this.each(function(){p(this).domManip(a,c,d)});if(p.isFunction(j))return this.each(function(e){var f=p(this);a[0]=j.call(this,e,c?f.html():b),f.domManip(a,c,d)});if(this[0]){e=p.buildFragment(a,this,k),g=e.fragment,f=g.firstChild,g.childNodes.length===1&&(g=f);if(f){c=c&&p.nodeName(f,"tr");for(h=e.cacheable||l-1;i0?this.clone(!0):this).get(),p(g[e])[b](d),f=f.concat(d);return this.pushStack(f,a,g.selector)}}),p.extend({clone:function(a,b,c){var d,e,f,g;p.support.html5Clone||p.isXMLDoc(a)||!bu.test("<"+a.nodeName+">")?g=a.cloneNode(!0):(bB.innerHTML=a.outerHTML,bB.removeChild(g=bB.firstChild));if((!p.support.noCloneEvent||!p.support.noCloneChecked)&&(a.nodeType===1||a.nodeType===11)&&!p.isXMLDoc(a)){bE(a,g),d=bF(a),e=bF(g);for(f=0;d[f];++f)e[f]&&bE(d[f],e[f])}if(b){bD(a,g);if(c){d=bF(a),e=bF(g);for(f=0;d[f];++f)bD(d[f],e[f])}}return d=e=null,g},clean:function(a,b,c,d){var f,g,h,i,j,k,l,m,n,o,q,r,s=b===e&&bA,t=[];if(!b||typeof b.createDocumentFragment=="undefined")b=e;for(f=0;(h=a[f])!=null;f++){typeof h=="number"&&(h+="");if(!h)continue;if(typeof h=="string")if(!br.test(h))h=b.createTextNode(h);else{s=s||bk(b),l=b.createElement("div"),s.appendChild(l),h=h.replace(bo,"<$1>"),i=(bp.exec(h)||["",""])[1].toLowerCase(),j=bz[i]||bz._default,k=j[0],l.innerHTML=j[1]+h+j[2];while(k--)l=l.lastChild;if(!p.support.tbody){m=bq.test(h),n=i==="table"&&!m?l.firstChild&&l.firstChild.childNodes:j[1]===""&&!m?l.childNodes:[];for(g=n.length-1;g>=0;--g)p.nodeName(n[g],"tbody")&&!n[g].childNodes.length&&n[g].parentNode.removeChild(n[g])}!p.support.leadingWhitespace&&bn.test(h)&&l.insertBefore(b.createTextNode(bn.exec(h)[0]),l.firstChild),h=l.childNodes,l.parentNode.removeChild(l)}h.nodeType?t.push(h):p.merge(t,h)}l&&(h=l=s=null);if(!p.support.appendChecked)for(f=0;(h=t[f])!=null;f++)p.nodeName(h,"input")?bG(h):typeof h.getElementsByTagName!="undefined"&&p.grep(h.getElementsByTagName("input"),bG);if(c){q=function(a){if(!a.type||bx.test(a.type))return d?d.push(a.parentNode?a.parentNode.removeChild(a):a):c.appendChild(a)};for(f=0;(h=t[f])!=null;f++)if(!p.nodeName(h,"script")||!q(h))c.appendChild(h),typeof h.getElementsByTagName!="undefined"&&(r=p.grep(p.merge([],h.getElementsByTagName("script")),q),t.splice.apply(t,[f+1,0].concat(r)),f+=r.length)}return t},cleanData:function(a,b){var c,d,e,f,g=0,h=p.expando,i=p.cache,j=p.support.deleteExpando,k=p.event.special;for(;(e=a[g])!=null;g++)if(b||p.acceptData(e)){d=e[h],c=d&&i[d];if(c){if(c.events)for(f in c.events)k[f]?p.event.remove(e,f):p.removeEvent(e,f,c.handle);i[d]&&(delete i[d],j?delete e[h]:e.removeAttribute?e.removeAttribute(h):e[h]=null,p.deletedIds.push(d))}}}}),function(){var a,b;p.uaMatch=function(a){a=a.toLowerCase();var b=/(chrome)[ \/]([\w.]+)/.exec(a)||/(webkit)[ \/]([\w.]+)/.exec(a)||/(opera)(?:.*version|)[ \/]([\w.]+)/.exec(a)||/(msie) ([\w.]+)/.exec(a)||a.indexOf("compatible")<0&&/(mozilla)(?:.*? rv:([\w.]+)|)/.exec(a)||[];return{browser:b[1]||"",version:b[2]||"0"}},a=p.uaMatch(g.userAgent),b={},a.browser&&(b[a.browser]=!0,b.version=a.version),b.chrome?b.webkit=!0:b.webkit&&(b.safari=!0),p.browser=b,p.sub=function(){function a(b,c){return new a.fn.init(b,c)}p.extend(!0,a,this),a.superclass=this,a.fn=a.prototype=this(),a.fn.constructor=a,a.sub=this.sub,a.fn.init=function c(c,d){return d&&d instanceof p&&!(d instanceof a)&&(d=a(d)),p.fn.init.call(this,c,d,b)},a.fn.init.prototype=a.fn;var b=a(e);return a}}();var bH,bI,bJ,bK=/alpha\([^)]*\)/i,bL=/opacity=([^)]*)/,bM=/^(top|right|bottom|left)$/,bN=/^(none|table(?!-c[ea]).+)/,bO=/^margin/,bP=new RegExp("^("+q+")(.*)$","i"),bQ=new RegExp("^("+q+")(?!px)[a-z%]+$","i"),bR=new RegExp("^([-+])=("+q+")","i"),bS={},bT={position:"absolute",visibility:"hidden",display:"block"},bU={letterSpacing:0,fontWeight:400},bV=["Top","Right","Bottom","Left"],bW=["Webkit","O","Moz","ms"],bX=p.fn.toggle;p.fn.extend({css:function(a,c){return p.access(this,function(a,c,d){return d!==b?p.style(a,c,d):p.css(a,c)},a,c,arguments.length>1)},show:function(){return b$(this,!0)},hide:function(){return b$(this)},toggle:function(a,b){var c=typeof a=="boolean";return p.isFunction(a)&&p.isFunction(b)?bX.apply(this,arguments):this.each(function(){(c?a:bZ(this))?p(this).show():p(this).hide()})}}),p.extend({cssHooks:{opacity:{get:function(a,b){if(b){var c=bH(a,"opacity");return c===""?"1":c}}}},cssNumber:{fillOpacity:!0,fontWeight:!0,lineHeight:!0,opacity:!0,orphans:!0,widows:!0,zIndex:!0,zoom:!0},cssProps:{"float":p.support.cssFloat?"cssFloat":"styleFloat"},style:function(a,c,d,e){if(!a||a.nodeType===3||a.nodeType===8||!a.style)return;var f,g,h,i=p.camelCase(c),j=a.style;c=p.cssProps[i]||(p.cssProps[i]=bY(j,i)),h=p.cssHooks[c]||p.cssHooks[i];if(d===b)return h&&"get"in h&&(f=h.get(a,!1,e))!==b?f:j[c];g=typeof d,g==="string"&&(f=bR.exec(d))&&(d=(f[1]+1)*f[2]+parseFloat(p.css(a,c)),g="number");if(d==null||g==="number"&&isNaN(d))return;g==="number"&&!p.cssNumber[i]&&(d+="px");if(!h||!("set"in h)||(d=h.set(a,d,e))!==b)try{j[c]=d}catch(k){}},css:function(a,c,d,e){var f,g,h,i=p.camelCase(c);return c=p.cssProps[i]||(p.cssProps[i]=bY(a.style,i)),h=p.cssHooks[c]||p.cssHooks[i],h&&"get"in h&&(f=h.get(a,!0,e)),f===b&&(f=bH(a,c)),f==="normal"&&c in bU&&(f=bU[c]),d||e!==b?(g=parseFloat(f),d||p.isNumeric(g)?g||0:f):f},swap:function(a,b,c){var d,e,f={};for(e in b)f[e]=a.style[e],a.style[e]=b[e];d=c.call(a);for(e in b)a.style[e]=f[e];return d}}),a.getComputedStyle?bH=function(b,c){var d,e,f,g,h=a.getComputedStyle(b,null),i=b.style;return h&&(d=h[c],d===""&&!p.contains(b.ownerDocument,b)&&(d=p.style(b,c)),bQ.test(d)&&bO.test(c)&&(e=i.width,f=i.minWidth,g=i.maxWidth,i.minWidth=i.maxWidth=i.width=d,d=h.width,i.width=e,i.minWidth=f,i.maxWidth=g)),d}:e.documentElement.currentStyle&&(bH=function(a,b){var c,d,e=a.currentStyle&&a.currentStyle[b],f=a.style;return e==null&&f&&f[b]&&(e=f[b]),bQ.test(e)&&!bM.test(b)&&(c=f.left,d=a.runtimeStyle&&a.runtimeStyle.left,d&&(a.runtimeStyle.left=a.currentStyle.left),f.left=b==="fontSize"?"1em":e,e=f.pixelLeft+"px",f.left=c,d&&(a.runtimeStyle.left=d)),e===""?"auto":e}),p.each(["height","width"],function(a,b){p.cssHooks[b]={get:function(a,c,d){if(c)return a.offsetWidth===0&&bN.test(bH(a,"display"))?p.swap(a,bT,function(){return cb(a,b,d)}):cb(a,b,d)},set:function(a,c,d){return b_(a,c,d?ca(a,b,d,p.support.boxSizing&&p.css(a,"boxSizing")==="border-box"):0)}}}),p.support.opacity||(p.cssHooks.opacity={get:function(a,b){return bL.test((b&&a.currentStyle?a.currentStyle.filter:a.style.filter)||"")?.01*parseFloat(RegExp.$1)+"":b?"1":""},set:function(a,b){var c=a.style,d=a.currentStyle,e=p.isNumeric(b)?"alpha(opacity="+b*100+")":"",f=d&&d.filter||c.filter||"";c.zoom=1;if(b>=1&&p.trim(f.replace(bK,""))===""&&c.removeAttribute){c.removeAttribute("filter");if(d&&!d.filter)return}c.filter=bK.test(f)?f.replace(bK,e):f+" "+e}}),p(function(){p.support.reliableMarginRight||(p.cssHooks.marginRight={get:function(a,b){return p.swap(a,{display:"inline-block"},function(){if(b)return bH(a,"marginRight")})}}),!p.support.pixelPosition&&p.fn.position&&p.each(["top","left"],function(a,b){p.cssHooks[b]={get:function(a,c){if(c){var d=bH(a,b);return bQ.test(d)?p(a).position()[b]+"px":d}}}})}),p.expr&&p.expr.filters&&(p.expr.filters.hidden=function(a){return a.offsetWidth===0&&a.offsetHeight===0||!p.support.reliableHiddenOffsets&&(a.style&&a.style.display||bH(a,"display"))==="none"},p.expr.filters.visible=function(a){return!p.expr.filters.hidden(a)}),p.each({margin:"",padding:"",border:"Width"},function(a,b){p.cssHooks[a+b]={expand:function(c){var d,e=typeof c=="string"?c.split(" "):[c],f={};for(d=0;d<4;d++)f[a+bV[d]+b]=e[d]||e[d-2]||e[0];return f}},bO.test(a)||(p.cssHooks[a+b].set=b_)});var cd=/%20/g,ce=/\[\]$/,cf=/\r?\n/g,cg=/^(?:color|date|datetime|datetime-local|email|hidden|month|number|password|range|search|tel|text|time|url|week)$/i,ch=/^(?:select|textarea)/i;p.fn.extend({serialize:function(){return p.param(this.serializeArray())},serializeArray:function(){return this.map(function(){return this.elements?p.makeArray(this.elements):this}).filter(function(){return this.name&&!this.disabled&&(this.checked||ch.test(this.nodeName)||cg.test(this.type))}).map(function(a,b){var c=p(this).val();return c==null?null:p.isArray(c)?p.map(c,function(a,c){return{name:b.name,value:a.replace(cf,"\r\n")}}):{name:b.name,value:c.replace(cf,"\r\n")}}).get()}}),p.param=function(a,c){var d,e=[],f=function(a,b){b=p.isFunction(b)?b():b==null?"":b,e[e.length]=encodeURIComponent(a)+"="+encodeURIComponent(b)};c===b&&(c=p.ajaxSettings&&p.ajaxSettings.traditional);if(p.isArray(a)||a.jquery&&!p.isPlainObject(a))p.each(a,function(){f(this.name,this.value)});else for(d in a)ci(d,a[d],c,f);return e.join("&").replace(cd,"+")};var cj,ck,cl=/#.*$/,cm=/^(.*?):[ \t]*([^\r\n]*)\r?$/mg,cn=/^(?:about|app|app\-storage|.+\-extension|file|res|widget):$/,co=/^(?:GET|HEAD)$/,cp=/^\/\//,cq=/\?/,cr=/)<[^<]*)*<\/script>/gi,cs=/([?&])_=[^&]*/,ct=/^([\w\+\.\-]+:)(?:\/\/([^\/?#:]*)(?::(\d+)|)|)/,cu=p.fn.load,cv={},cw={},cx=["*/"]+["*"];try{ck=f.href}catch(cy){ck=e.createElement("a"),ck.href="",ck=ck.href}cj=ct.exec(ck.toLowerCase())||[],p.fn.load=function(a,c,d){if(typeof a!="string"&&cu)return cu.apply(this,arguments);if(!this.length)return this;var e,f,g,h=this,i=a.indexOf(" ");return i>=0&&(e=a.slice(i,a.length),a=a.slice(0,i)),p.isFunction(c)?(d=c,c=b):c&&typeof c=="object"&&(f="POST"),p.ajax({url:a,type:f,dataType:"html",data:c,complete:function(a,b){d&&h.each(d,g||[a.responseText,b,a])}}).done(function(a){g=arguments,h.html(e?p("
                    ").append(a.replace(cr,"")).find(e):a)}),this},p.each("ajaxStart ajaxStop ajaxComplete ajaxError ajaxSuccess ajaxSend".split(" "),function(a,b){p.fn[b]=function(a){return this.on(b,a)}}),p.each(["get","post"],function(a,c){p[c]=function(a,d,e,f){return p.isFunction(d)&&(f=f||e,e=d,d=b),p.ajax({type:c,url:a,data:d,success:e,dataType:f})}}),p.extend({getScript:function(a,c){return p.get(a,b,c,"script")},getJSON:function(a,b,c){return p.get(a,b,c,"json")},ajaxSetup:function(a,b){return b?cB(a,p.ajaxSettings):(b=a,a=p.ajaxSettings),cB(a,b),a},ajaxSettings:{url:ck,isLocal:cn.test(cj[1]),global:!0,type:"GET",contentType:"application/x-www-form-urlencoded; charset=UTF-8",processData:!0,async:!0,accepts:{xml:"application/xml, text/xml",html:"text/html",text:"text/plain",json:"application/json, text/javascript","*":cx},contents:{xml:/xml/,html:/html/,json:/json/},responseFields:{xml:"responseXML",text:"responseText"},converters:{"* text":a.String,"text html":!0,"text json":p.parseJSON,"text xml":p.parseXML},flatOptions:{context:!0,url:!0}},ajaxPrefilter:cz(cv),ajaxTransport:cz(cw),ajax:function(a,c){function y(a,c,f,i){var k,s,t,u,w,y=c;if(v===2)return;v=2,h&&clearTimeout(h),g=b,e=i||"",x.readyState=a>0?4:0,f&&(u=cC(l,x,f));if(a>=200&&a<300||a===304)l.ifModified&&(w=x.getResponseHeader("Last-Modified"),w&&(p.lastModified[d]=w),w=x.getResponseHeader("Etag"),w&&(p.etag[d]=w)),a===304?(y="notmodified",k=!0):(k=cD(l,u),y=k.state,s=k.data,t=k.error,k=!t);else{t=y;if(!y||a)y="error",a<0&&(a=0)}x.status=a,x.statusText=(c||y)+"",k?o.resolveWith(m,[s,y,x]):o.rejectWith(m,[x,y,t]),x.statusCode(r),r=b,j&&n.trigger("ajax"+(k?"Success":"Error"),[x,l,k?s:t]),q.fireWith(m,[x,y]),j&&(n.trigger("ajaxComplete",[x,l]),--p.active||p.event.trigger("ajaxStop"))}typeof a=="object"&&(c=a,a=b),c=c||{};var d,e,f,g,h,i,j,k,l=p.ajaxSetup({},c),m=l.context||l,n=m!==l&&(m.nodeType||m instanceof p)?p(m):p.event,o=p.Deferred(),q=p.Callbacks("once memory"),r=l.statusCode||{},t={},u={},v=0,w="canceled",x={readyState:0,setRequestHeader:function(a,b){if(!v){var c=a.toLowerCase();a=u[c]=u[c]||a,t[a]=b}return this},getAllResponseHeaders:function(){return v===2?e:null},getResponseHeader:function(a){var c;if(v===2){if(!f){f={};while(c=cm.exec(e))f[c[1].toLowerCase()]=c[2]}c=f[a.toLowerCase()]}return c===b?null:c},overrideMimeType:function(a){return v||(l.mimeType=a),this},abort:function(a){return a=a||w,g&&g.abort(a),y(0,a),this}};o.promise(x),x.success=x.done,x.error=x.fail,x.complete=q.add,x.statusCode=function(a){if(a){var b;if(v<2)for(b in a)r[b]=[r[b],a[b]];else b=a[x.status],x.always(b)}return this},l.url=((a||l.url)+"").replace(cl,"").replace(cp,cj[1]+"//"),l.dataTypes=p.trim(l.dataType||"*").toLowerCase().split(s),l.crossDomain==null&&(i=ct.exec(l.url.toLowerCase())||!1,l.crossDomain=i&&i.join(":")+(i[3]?"":i[1]==="http:"?80:443)!==cj.join(":")+(cj[3]?"":cj[1]==="http:"?80:443)),l.data&&l.processData&&typeof l.data!="string"&&(l.data=p.param(l.data,l.traditional)),cA(cv,l,c,x);if(v===2)return x;j=l.global,l.type=l.type.toUpperCase(),l.hasContent=!co.test(l.type),j&&p.active++===0&&p.event.trigger("ajaxStart");if(!l.hasContent){l.data&&(l.url+=(cq.test(l.url)?"&":"?")+l.data,delete l.data),d=l.url;if(l.cache===!1){var z=p.now(),A=l.url.replace(cs,"$1_="+z);l.url=A+(A===l.url?(cq.test(l.url)?"&":"?")+"_="+z:"")}}(l.data&&l.hasContent&&l.contentType!==!1||c.contentType)&&x.setRequestHeader("Content-Type",l.contentType),l.ifModified&&(d=d||l.url,p.lastModified[d]&&x.setRequestHeader("If-Modified-Since",p.lastModified[d]),p.etag[d]&&x.setRequestHeader("If-None-Match",p.etag[d])),x.setRequestHeader("Accept",l.dataTypes[0]&&l.accepts[l.dataTypes[0]]?l.accepts[l.dataTypes[0]]+(l.dataTypes[0]!=="*"?", "+cx+"; q=0.01":""):l.accepts["*"]);for(k in l.headers)x.setRequestHeader(k,l.headers[k]);if(!l.beforeSend||l.beforeSend.call(m,x,l)!==!1&&v!==2){w="abort";for(k in{success:1,error:1,complete:1})x[k](l[k]);g=cA(cw,l,c,x);if(!g)y(-1,"No Transport");else{x.readyState=1,j&&n.trigger("ajaxSend",[x,l]),l.async&&l.timeout>0&&(h=setTimeout(function(){x.abort("timeout")},l.timeout));try{v=1,g.send(t,y)}catch(B){if(v<2)y(-1,B);else throw B}}return x}return x.abort()},active:0,lastModified:{},etag:{}});var cE=[],cF=/\?/,cG=/(=)\?(?=&|$)|\?\?/,cH=p.now();p.ajaxSetup({jsonp:"callback",jsonpCallback:function(){var a=cE.pop()||p.expando+"_"+cH++;return this[a]=!0,a}}),p.ajaxPrefilter("json jsonp",function(c,d,e){var f,g,h,i=c.data,j=c.url,k=c.jsonp!==!1,l=k&&cG.test(j),m=k&&!l&&typeof i=="string"&&!(c.contentType||"").indexOf("application/x-www-form-urlencoded")&&cG.test(i);if(c.dataTypes[0]==="jsonp"||l||m)return f=c.jsonpCallback=p.isFunction(c.jsonpCallback)?c.jsonpCallback():c.jsonpCallback,g=a[f],l?c.url=j.replace(cG,"$1"+f):m?c.data=i.replace(cG,"$1"+f):k&&(c.url+=(cF.test(j)?"&":"?")+c.jsonp+"="+f),c.converters["script json"]=function(){return h||p.error(f+" was not called"),h[0]},c.dataTypes[0]="json",a[f]=function(){h=arguments},e.always(function(){a[f]=g,c[f]&&(c.jsonpCallback=d.jsonpCallback,cE.push(f)),h&&p.isFunction(g)&&g(h[0]),h=g=b}),"script"}),p.ajaxSetup({accepts:{script:"text/javascript, application/javascript, application/ecmascript, application/x-ecmascript"},contents:{script:/javascript|ecmascript/},converters:{"text script":function(a){return p.globalEval(a),a}}}),p.ajaxPrefilter("script",function(a){a.cache===b&&(a.cache=!1),a.crossDomain&&(a.type="GET",a.global=!1)}),p.ajaxTransport("script",function(a){if(a.crossDomain){var c,d=e.head||e.getElementsByTagName("head")[0]||e.documentElement;return{send:function(f,g){c=e.createElement("script"),c.async="async",a.scriptCharset&&(c.charset=a.scriptCharset),c.src=a.url,c.onload=c.onreadystatechange=function(a,e){if(e||!c.readyState||/loaded|complete/.test(c.readyState))c.onload=c.onreadystatechange=null,d&&c.parentNode&&d.removeChild(c),c=b,e||g(200,"success")},d.insertBefore(c,d.firstChild)},abort:function(){c&&c.onload(0,1)}}}});var cI,cJ=a.ActiveXObject?function(){for(var a in cI)cI[a](0,1)}:!1,cK=0;p.ajaxSettings.xhr=a.ActiveXObject?function(){return!this.isLocal&&cL()||cM()}:cL,function(a){p.extend(p.support,{ajax:!!a,cors:!!a&&"withCredentials"in a})}(p.ajaxSettings.xhr()),p.support.ajax&&p.ajaxTransport(function(c){if(!c.crossDomain||p.support.cors){var d;return{send:function(e,f){var g,h,i=c.xhr();c.username?i.open(c.type,c.url,c.async,c.username,c.password):i.open(c.type,c.url,c.async);if(c.xhrFields)for(h in c.xhrFields)i[h]=c.xhrFields[h];c.mimeType&&i.overrideMimeType&&i.overrideMimeType(c.mimeType),!c.crossDomain&&!e["X-Requested-With"]&&(e["X-Requested-With"]="XMLHttpRequest");try{for(h in e)i.setRequestHeader(h,e[h])}catch(j){}i.send(c.hasContent&&c.data||null),d=function(a,e){var h,j,k,l,m;try{if(d&&(e||i.readyState===4)){d=b,g&&(i.onreadystatechange=p.noop,cJ&&delete cI[g]);if(e)i.readyState!==4&&i.abort();else{h=i.status,k=i.getAllResponseHeaders(),l={},m=i.responseXML,m&&m.documentElement&&(l.xml=m);try{l.text=i.responseText}catch(a){}try{j=i.statusText}catch(n){j=""}!h&&c.isLocal&&!c.crossDomain?h=l.text?200:404:h===1223&&(h=204)}}}catch(o){e||f(-1,o)}l&&f(h,j,l,k)},c.async?i.readyState===4?setTimeout(d,0):(g=++cK,cJ&&(cI||(cI={},p(a).unload(cJ)),cI[g]=d),i.onreadystatechange=d):d()},abort:function(){d&&d(0,1)}}}});var cN,cO,cP=/^(?:toggle|show|hide)$/,cQ=new RegExp("^(?:([-+])=|)("+q+")([a-z%]*)$","i"),cR=/queueHooks$/,cS=[cY],cT={"*":[function(a,b){var c,d,e=this.createTween(a,b),f=cQ.exec(b),g=e.cur(),h=+g||0,i=1,j=20;if(f){c=+f[2],d=f[3]||(p.cssNumber[a]?"":"px");if(d!=="px"&&h){h=p.css(e.elem,a,!0)||c||1;do i=i||".5",h=h/i,p.style(e.elem,a,h+d);while(i!==(i=e.cur()/g)&&i!==1&&--j)}e.unit=d,e.start=h,e.end=f[1]?h+(f[1]+1)*c:c}return e}]};p.Animation=p.extend(cW,{tweener:function(a,b){p.isFunction(a)?(b=a,a=["*"]):a=a.split(" ");var c,d=0,e=a.length;for(;d-1,j={},k={},l,m;i?(k=e.position(),l=k.top,m=k.left):(l=parseFloat(g)||0,m=parseFloat(h)||0),p.isFunction(b)&&(b=b.call(a,c,f)),b.top!=null&&(j.top=b.top-f.top+l),b.left!=null&&(j.left=b.left-f.left+m),"using"in b?b.using.call(a,j):e.css(j)}},p.fn.extend({position:function(){if(!this[0])return;var a=this[0],b=this.offsetParent(),c=this.offset(),d=c_.test(b[0].nodeName)?{top:0,left:0}:b.offset();return c.top-=parseFloat(p.css(a,"marginTop"))||0,c.left-=parseFloat(p.css(a,"marginLeft"))||0,d.top+=parseFloat(p.css(b[0],"borderTopWidth"))||0,d.left+=parseFloat(p.css(b[0],"borderLeftWidth"))||0,{top:c.top-d.top,left:c.left-d.left}},offsetParent:function(){return this.map(function(){var a=this.offsetParent||e.body;while(a&&!c_.test(a.nodeName)&&p.css(a,"position")==="static")a=a.offsetParent;return a||e.body})}}),p.each({scrollLeft:"pageXOffset",scrollTop:"pageYOffset"},function(a,c){var d=/Y/.test(c);p.fn[a]=function(e){return p.access(this,function(a,e,f){var g=da(a);if(f===b)return g?c in g?g[c]:g.document.documentElement[e]:a[e];g?g.scrollTo(d?p(g).scrollLeft():f,d?f:p(g).scrollTop()):a[e]=f},a,e,arguments.length,null)}}),p.each({Height:"height",Width:"width"},function(a,c){p.each({padding:"inner"+a,content:c,"":"outer"+a},function(d,e){p.fn[e]=function(e,f){var g=arguments.length&&(d||typeof e!="boolean"),h=d||(e===!0||f===!0?"margin":"border");return p.access(this,function(c,d,e){var f;return p.isWindow(c)?c.document.documentElement["client"+a]:c.nodeType===9?(f=c.documentElement,Math.max(c.body["scroll"+a],f["scroll"+a],c.body["offset"+a],f["offset"+a],f["client"+a])):e===b?p.css(c,d,e,h):p.style(c,d,e,h)},c,g?e:b,g,null)}})}),a.jQuery=a.$=p,typeof define=="function"&&define.amd&&define.amd.jQuery&&define("jquery",[],function(){return p})})(window); \ No newline at end of file diff --git a/manual1903/api_reference/component-pipe/scaladocs/lib/jquery.layout.js b/manual1903/api_reference/component-pipe/scaladocs/lib/jquery.layout.js new file mode 100644 index 0000000000000000000000000000000000000000..d5e008d2899581b2d3b83cbdbb87d86e05543ff3 --- /dev/null +++ b/manual1903/api_reference/component-pipe/scaladocs/lib/jquery.layout.js @@ -0,0 +1,5486 @@ +/** + * @preserve jquery.layout 1.3.0 - Release Candidate 30.62 + * $Date: 2012-08-04 08:00:00 (Thu, 23 Aug 2012) $ + * $Rev: 303006 $ + * + * Copyright (c) 2012 + * Fabrizio Balliano (http://www.fabrizioballiano.net) + * Kevin Dalman (http://allpro.net) + * + * Dual licensed under the GPL (http://www.gnu.org/licenses/gpl.html) + * and MIT (http://www.opensource.org/licenses/mit-license.php) licenses. + * + * Changelog: http://layout.jquery-dev.net/changelog.cfm#1.3.0.rc30.62 + * NOTE: This is a short-term release to patch a couple of bugs. + * These bugs are listed as officially fixed in RC30.7, which will be released shortly. + * + * Docs: http://layout.jquery-dev.net/documentation.html + * Tips: http://layout.jquery-dev.net/tips.html + * Help: http://groups.google.com/group/jquery-ui-layout + */ + +/* JavaDoc Info: http://code.google.com/closure/compiler/docs/js-for-compiler.html + * {!Object} non-nullable type (never NULL) + * {?string} nullable type (sometimes NULL) - default for {Object} + * {number=} optional parameter + * {*} ALL types + */ + +// NOTE: For best readability, view with a fixed-width font and tabs equal to 4-chars + +;(function ($) { + +// alias Math methods - used a lot! +var min = Math.min +, max = Math.max +, round = Math.floor + +, isStr = function (v) { return $.type(v) === "string"; } + +, runPluginCallbacks = function (Instance, a_fn) { + if ($.isArray(a_fn)) + for (var i=0, c=a_fn.length; i
                    ').appendTo("body"); + var d = { width: $c.width() - $c[0].clientWidth, height: $c.height() - $c[0].clientHeight }; + $c.remove(); + window.scrollbarWidth = d.width; + window.scrollbarHeight = d.height; + return dim.match(/^(width|height)$/) ? d[dim] : d; + } + + + /** + * Returns hash container 'display' and 'visibility' + * + * @see $.swap() - swaps CSS, runs callback, resets CSS + */ +, showInvisibly: function ($E, force) { + if ($E && $E.length && (force || $E.css('display') === "none")) { // only if not *already hidden* + var s = $E[0].style + // save ONLY the 'style' props because that is what we must restore + , CSS = { display: s.display || '', visibility: s.visibility || '' }; + // show element 'invisibly' so can be measured + $E.css({ display: "block", visibility: "hidden" }); + return CSS; + } + return {}; + } + + /** + * Returns data for setting size of an element (container or a pane). + * + * @see _create(), onWindowResize() for container, plus others for pane + * @return JSON Returns a hash of all dimensions: top, bottom, left, right, outerWidth, innerHeight, etc + */ +, getElementDimensions: function ($E) { + var + d = {} // dimensions hash + , x = d.css = {} // CSS hash + , i = {} // TEMP insets + , b, p // TEMP border, padding + , N = $.layout.cssNum + , off = $E.offset() + ; + d.offsetLeft = off.left; + d.offsetTop = off.top; + + $.each("Left,Right,Top,Bottom".split(","), function (idx, e) { // e = edge + b = x["border" + e] = $.layout.borderWidth($E, e); + p = x["padding"+ e] = $.layout.cssNum($E, "padding"+e); + i[e] = b + p; // total offset of content from outer side + d["inset"+ e] = p; // eg: insetLeft = paddingLeft + }); + + d.offsetWidth = $E.innerWidth(); // offsetWidth is used in calc when doing manual resize + d.offsetHeight = $E.innerHeight(); // ditto + d.outerWidth = $E.outerWidth(); + d.outerHeight = $E.outerHeight(); + d.innerWidth = max(0, d.outerWidth - i.Left - i.Right); + d.innerHeight = max(0, d.outerHeight - i.Top - i.Bottom); + + x.width = $E.width(); + x.height = $E.height(); + x.top = N($E,"top",true); + x.bottom = N($E,"bottom",true); + x.left = N($E,"left",true); + x.right = N($E,"right",true); + + //d.visible = $E.is(":visible");// && x.width > 0 && x.height > 0; + + return d; + } + +, getElementCSS: function ($E, list) { + var + CSS = {} + , style = $E[0].style + , props = list.split(",") + , sides = "Top,Bottom,Left,Right".split(",") + , attrs = "Color,Style,Width".split(",") + , p, s, a, i, j, k + ; + for (i=0; i < props.length; i++) { + p = props[i]; + if (p.match(/(border|padding|margin)$/)) + for (j=0; j < 4; j++) { + s = sides[j]; + if (p === "border") + for (k=0; k < 3; k++) { + a = attrs[k]; + CSS[p+s+a] = style[p+s+a]; + } + else + CSS[p+s] = style[p+s]; + } + else + CSS[p] = style[p]; + }; + return CSS + } + + /** + * Return the innerWidth for the current browser/doctype + * + * @see initPanes(), sizeMidPanes(), initHandles(), sizeHandles() + * @param {Array.} $E Must pass a jQuery object - first element is processed + * @param {number=} outerWidth (optional) Can pass a width, allowing calculations BEFORE element is resized + * @return {number} Returns the innerWidth of the elem by subtracting padding and borders + */ +, cssWidth: function ($E, outerWidth) { + // a 'calculated' outerHeight can be passed so borders and/or padding are removed if needed + if (outerWidth <= 0) return 0; + + if (!$.layout.browser.boxModel) return outerWidth; + + // strip border and padding from outerWidth to get CSS Width + var b = $.layout.borderWidth + , n = $.layout.cssNum + , W = outerWidth + - b($E, "Left") + - b($E, "Right") + - n($E, "paddingLeft") + - n($E, "paddingRight"); + + return max(0,W); + } + + /** + * Return the innerHeight for the current browser/doctype + * + * @see initPanes(), sizeMidPanes(), initHandles(), sizeHandles() + * @param {Array.} $E Must pass a jQuery object - first element is processed + * @param {number=} outerHeight (optional) Can pass a width, allowing calculations BEFORE element is resized + * @return {number} Returns the innerHeight of the elem by subtracting padding and borders + */ +, cssHeight: function ($E, outerHeight) { + // a 'calculated' outerHeight can be passed so borders and/or padding are removed if needed + if (outerHeight <= 0) return 0; + + if (!$.layout.browser.boxModel) return outerHeight; + + // strip border and padding from outerHeight to get CSS Height + var b = $.layout.borderWidth + , n = $.layout.cssNum + , H = outerHeight + - b($E, "Top") + - b($E, "Bottom") + - n($E, "paddingTop") + - n($E, "paddingBottom"); + + return max(0,H); + } + + /** + * Returns the 'current CSS numeric value' for a CSS property - 0 if property does not exist + * + * @see Called by many methods + * @param {Array.} $E Must pass a jQuery object - first element is processed + * @param {string} prop The name of the CSS property, eg: top, width, etc. + * @param {boolean=} [allowAuto=false] true = return 'auto' if that is value; false = return 0 + * @return {(string|number)} Usually used to get an integer value for position (top, left) or size (height, width) + */ +, cssNum: function ($E, prop, allowAuto) { + if (!$E.jquery) $E = $($E); + var CSS = $.layout.showInvisibly($E) + , p = $.css($E[0], prop, true) + , v = allowAuto && p=="auto" ? p : (parseInt(p, 10) || 0); + $E.css( CSS ); // RESET + return v; + } + +, borderWidth: function (el, side) { + if (el.jquery) el = el[0]; + var b = "border"+ side.substr(0,1).toUpperCase() + side.substr(1); // left => Left + return $.css(el, b+"Style", true) === "none" ? 0 : (parseInt($.css(el, b+"Width", true), 10) || 0); + } + + /** + * Mouse-tracking utility - FUTURE REFERENCE + * + * init: if (!window.mouse) { + * window.mouse = { x: 0, y: 0 }; + * $(document).mousemove( $.layout.trackMouse ); + * } + * + * @param {Object} evt + * +, trackMouse: function (evt) { + window.mouse = { x: evt.clientX, y: evt.clientY }; + } + */ + + /** + * SUBROUTINE for preventPrematureSlideClose option + * + * @param {Object} evt + * @param {Object=} el + */ +, isMouseOverElem: function (evt, el) { + var + $E = $(el || this) + , d = $E.offset() + , T = d.top + , L = d.left + , R = L + $E.outerWidth() + , B = T + $E.outerHeight() + , x = evt.pageX // evt.clientX ? + , y = evt.pageY // evt.clientY ? + ; + // if X & Y are < 0, probably means is over an open SELECT + return ($.layout.browser.msie && x < 0 && y < 0) || ((x >= L && x <= R) && (y >= T && y <= B)); + } + + /** + * Message/Logging Utility + * + * @example $.layout.msg("My message"); // log text + * @example $.layout.msg("My message", true); // alert text + * @example $.layout.msg({ foo: "bar" }, "Title"); // log hash-data, with custom title + * @example $.layout.msg({ foo: "bar" }, true, "Title", { sort: false }); -OR- + * @example $.layout.msg({ foo: "bar" }, "Title", { sort: false, display: true }); // alert hash-data + * + * @param {(Object|string)} info String message OR Hash/Array + * @param {(Boolean|string|Object)=} [popup=false] True means alert-box - can be skipped + * @param {(Object|string)=} [debugTitle=""] Title for Hash data - can be skipped + * @param {Object=} [debugOpts] Extra options for debug output + */ +, msg: function (info, popup, debugTitle, debugOpts) { + if ($.isPlainObject(info) && window.debugData) { + if (typeof popup === "string") { + debugOpts = debugTitle; + debugTitle = popup; + } + else if (typeof debugTitle === "object") { + debugOpts = debugTitle; + debugTitle = null; + } + var t = debugTitle || "log( )" + , o = $.extend({ sort: false, returnHTML: false, display: false }, debugOpts); + if (popup === true || o.display) + debugData( info, t, o ); + else if (window.console) + console.log(debugData( info, t, o )); + } + else if (popup) + alert(info); + else if (window.console) + console.log(info); + else { + var id = "#layoutLogger" + , $l = $(id); + if (!$l.length) + $l = createLog(); + $l.children("ul").append('
                  9. '+ info.replace(/\/g,">") +'
                  10. '); + } + + function createLog () { + var pos = $.support.fixedPosition ? 'fixed' : 'absolute' + , $e = $('
                    ' + + '
                    ' + + 'XLayout console.log
                    ' + + '
                      ' + + '
                      ' + ).appendTo("body"); + $e.css('left', $(window).width() - $e.outerWidth() - 5) + if ($.ui.draggable) $e.draggable({ handle: ':first-child' }); + return $e; + }; + } + +}; + +// DEFAULT OPTIONS +$.layout.defaults = { +/* + * LAYOUT & LAYOUT-CONTAINER OPTIONS + * - none of these options are applicable to individual panes + */ + name: "" // Not required, but useful for buttons and used for the state-cookie +, containerSelector: "" // ONLY used when specifying a childOptions - to find container-element that is NOT directly-nested +, containerClass: "ui-layout-container" // layout-container element +, scrollToBookmarkOnLoad: true // after creating a layout, scroll to bookmark in URL (.../page.htm#myBookmark) +, resizeWithWindow: true // bind thisLayout.resizeAll() to the window.resize event +, resizeWithWindowDelay: 200 // delay calling resizeAll because makes window resizing very jerky +, resizeWithWindowMaxDelay: 0 // 0 = none - force resize every XX ms while window is being resized +, onresizeall_start: null // CALLBACK when resizeAll() STARTS - NOT pane-specific +, onresizeall_end: null // CALLBACK when resizeAll() ENDS - NOT pane-specific +, onload_start: null // CALLBACK when Layout inits - after options initialized, but before elements +, onload_end: null // CALLBACK when Layout inits - after EVERYTHING has been initialized +, onunload_start: null // CALLBACK when Layout is destroyed OR onWindowUnload +, onunload_end: null // CALLBACK when Layout is destroyed OR onWindowUnload +, initPanes: true // false = DO NOT initialize the panes onLoad - will init later +, showErrorMessages: true // enables fatal error messages to warn developers of common errors +, showDebugMessages: false // display console-and-alert debug msgs - IF this Layout version _has_ debugging code! +// Changing this zIndex value will cause other zIndex values to automatically change +, zIndex: null // the PANE zIndex - resizers and masks will be +1 +// DO NOT CHANGE the zIndex values below unless you clearly understand their relationships +, zIndexes: { // set _default_ z-index values here... + pane_normal: 0 // normal z-index for panes + , content_mask: 1 // applied to overlays used to mask content INSIDE panes during resizing + , resizer_normal: 2 // normal z-index for resizer-bars + , pane_sliding: 100 // applied to *BOTH* the pane and its resizer when a pane is 'slid open' + , pane_animate: 1000 // applied to the pane when being animated - not applied to the resizer + , resizer_drag: 10000 // applied to the CLONED resizer-bar when being 'dragged' + } +, errors: { + pane: "pane" // description of "layout pane element" - used only in error messages + , selector: "selector" // description of "jQuery-selector" - used only in error messages + , addButtonError: "Error Adding Button \n\nInvalid " + , containerMissing: "UI Layout Initialization Error\n\nThe specified layout-container does not exist." + , centerPaneMissing: "UI Layout Initialization Error\n\nThe center-pane element does not exist.\n\nThe center-pane is a required element." + , noContainerHeight: "UI Layout Initialization Warning\n\nThe layout-container \"CONTAINER\" has no height.\n\nTherefore the layout is 0-height and hence 'invisible'!" + , callbackError: "UI Layout Callback Error\n\nThe EVENT callback is not a valid function." + } +/* + * PANE DEFAULT SETTINGS + * - settings under the 'panes' key become the default settings for *all panes* + * - ALL pane-options can also be set specifically for each panes, which will override these 'default values' + */ +, panes: { // default options for 'all panes' - will be overridden by 'per-pane settings' + applyDemoStyles: false // NOTE: renamed from applyDefaultStyles for clarity + , closable: true // pane can open & close + , resizable: true // when open, pane can be resized + , slidable: true // when closed, pane can 'slide open' over other panes - closes on mouse-out + , initClosed: false // true = init pane as 'closed' + , initHidden: false // true = init pane as 'hidden' - no resizer-bar/spacing + // SELECTORS + //, paneSelector: "" // MUST be pane-specific - jQuery selector for pane + , contentSelector: ".ui-layout-content" // INNER div/element to auto-size so only it scrolls, not the entire pane! + , contentIgnoreSelector: ".ui-layout-ignore" // element(s) to 'ignore' when measuring 'content' + , findNestedContent: false // true = $P.find(contentSelector), false = $P.children(contentSelector) + // GENERIC ROOT-CLASSES - for auto-generated classNames + , paneClass: "ui-layout-pane" // Layout Pane + , resizerClass: "ui-layout-resizer" // Resizer Bar + , togglerClass: "ui-layout-toggler" // Toggler Button + , buttonClass: "ui-layout-button" // CUSTOM Buttons - eg: '[ui-layout-button]-toggle/-open/-close/-pin' + // ELEMENT SIZE & SPACING + //, size: 100 // MUST be pane-specific -initial size of pane + , minSize: 0 // when manually resizing a pane + , maxSize: 0 // ditto, 0 = no limit + , spacing_open: 6 // space between pane and adjacent panes - when pane is 'open' + , spacing_closed: 6 // ditto - when pane is 'closed' + , togglerLength_open: 50 // Length = WIDTH of toggler button on north/south sides - HEIGHT on east/west sides + , togglerLength_closed: 50 // 100% OR -1 means 'full height/width of resizer bar' - 0 means 'hidden' + , togglerAlign_open: "center" // top/left, bottom/right, center, OR... + , togglerAlign_closed: "center" // 1 => nn = offset from top/left, -1 => -nn == offset from bottom/right + , togglerContent_open: "" // text or HTML to put INSIDE the toggler + , togglerContent_closed: "" // ditto + // RESIZING OPTIONS + , resizerDblClickToggle: true // + , autoResize: true // IF size is 'auto' or a percentage, then recalc 'pixel size' whenever the layout resizes + , autoReopen: true // IF a pane was auto-closed due to noRoom, reopen it when there is room? False = leave it closed + , resizerDragOpacity: 1 // option for ui.draggable + //, resizerCursor: "" // MUST be pane-specific - cursor when over resizer-bar + , maskContents: false // true = add DIV-mask over-or-inside this pane so can 'drag' over IFRAMES + , maskObjects: false // true = add IFRAME-mask over-or-inside this pane to cover objects/applets - content-mask will overlay this mask + , maskZindex: null // will override zIndexes.content_mask if specified - not applicable to iframe-panes + , resizingGrid: false // grid size that the resizers will snap-to during resizing, eg: [20,20] + , livePaneResizing: false // true = LIVE Resizing as resizer is dragged + , liveContentResizing: false // true = re-measure header/footer heights as resizer is dragged + , liveResizingTolerance: 1 // how many px change before pane resizes, to control performance + // SLIDING OPTIONS + , sliderCursor: "pointer" // cursor when resizer-bar will trigger 'sliding' + , slideTrigger_open: "click" // click, dblclick, mouseenter + , slideTrigger_close: "mouseleave"// click, mouseleave + , slideDelay_open: 300 // applies only for mouseenter event - 0 = instant open + , slideDelay_close: 300 // applies only for mouseleave event (300ms is the minimum!) + , hideTogglerOnSlide: false // when pane is slid-open, should the toggler show? + , preventQuickSlideClose: $.layout.browser.webkit // Chrome triggers slideClosed as it is opening + , preventPrematureSlideClose: false // handle incorrect mouseleave trigger, like when over a SELECT-list in IE + // PANE-SPECIFIC TIPS & MESSAGES + , tips: { + Open: "Open" // eg: "Open Pane" + , Close: "Close" + , Resize: "Resize" + , Slide: "Slide Open" + , Pin: "Pin" + , Unpin: "Un-Pin" + , noRoomToOpen: "Not enough room to show this panel." // alert if user tries to open a pane that cannot + , minSizeWarning: "Panel has reached its minimum size" // displays in browser statusbar + , maxSizeWarning: "Panel has reached its maximum size" // ditto + } + // HOT-KEYS & MISC + , showOverflowOnHover: false // will bind allowOverflow() utility to pane.onMouseOver + , enableCursorHotkey: true // enabled 'cursor' hotkeys + //, customHotkey: "" // MUST be pane-specific - EITHER a charCode OR a character + , customHotkeyModifier: "SHIFT" // either 'SHIFT', 'CTRL' or 'CTRL+SHIFT' - NOT 'ALT' + // PANE ANIMATION + // NOTE: fxSss_open, fxSss_close & fxSss_size options (eg: fxName_open) are auto-generated if not passed + , fxName: "slide" // ('none' or blank), slide, drop, scale -- only relevant to 'open' & 'close', NOT 'size' + , fxSpeed: null // slow, normal, fast, 200, nnn - if passed, will OVERRIDE fxSettings.duration + , fxSettings: {} // can be passed, eg: { easing: "easeOutBounce", duration: 1500 } + , fxOpacityFix: true // tries to fix opacity in IE to restore anti-aliasing after animation + , animatePaneSizing: false // true = animate resizing after dragging resizer-bar OR sizePane() is called + /* NOTE: Action-specific FX options are auto-generated from the options above if not specifically set: + fxName_open: "slide" // 'Open' pane animation + fnName_close: "slide" // 'Close' pane animation + fxName_size: "slide" // 'Size' pane animation - when animatePaneSizing = true + fxSpeed_open: null + fxSpeed_close: null + fxSpeed_size: null + fxSettings_open: {} + fxSettings_close: {} + fxSettings_size: {} + */ + // CHILD/NESTED LAYOUTS + , childOptions: null // Layout-options for nested/child layout - even {} is valid as options + , initChildLayout: true // true = child layout will be created as soon as _this_ layout completes initialization + , destroyChildLayout: true // true = destroy child-layout if this pane is destroyed + , resizeChildLayout: true // true = trigger child-layout.resizeAll() when this pane is resized + // EVENT TRIGGERING + , triggerEventsOnLoad: false // true = trigger onopen OR onclose callbacks when layout initializes + , triggerEventsDuringLiveResize: true // true = trigger onresize callback REPEATEDLY if livePaneResizing==true + // PANE CALLBACKS + , onshow_start: null // CALLBACK when pane STARTS to Show - BEFORE onopen/onhide_start + , onshow_end: null // CALLBACK when pane ENDS being Shown - AFTER onopen/onhide_end + , onhide_start: null // CALLBACK when pane STARTS to Close - BEFORE onclose_start + , onhide_end: null // CALLBACK when pane ENDS being Closed - AFTER onclose_end + , onopen_start: null // CALLBACK when pane STARTS to Open + , onopen_end: null // CALLBACK when pane ENDS being Opened + , onclose_start: null // CALLBACK when pane STARTS to Close + , onclose_end: null // CALLBACK when pane ENDS being Closed + , onresize_start: null // CALLBACK when pane STARTS being Resized ***FOR ANY REASON*** + , onresize_end: null // CALLBACK when pane ENDS being Resized ***FOR ANY REASON*** + , onsizecontent_start: null // CALLBACK when sizing of content-element STARTS + , onsizecontent_end: null // CALLBACK when sizing of content-element ENDS + , onswap_start: null // CALLBACK when pane STARTS to Swap + , onswap_end: null // CALLBACK when pane ENDS being Swapped + , ondrag_start: null // CALLBACK when pane STARTS being ***MANUALLY*** Resized + , ondrag_end: null // CALLBACK when pane ENDS being ***MANUALLY*** Resized + } +/* + * PANE-SPECIFIC SETTINGS + * - options listed below MUST be specified per-pane - they CANNOT be set under 'panes' + * - all options under the 'panes' key can also be set specifically for any pane + * - most options under the 'panes' key apply only to 'border-panes' - NOT the center-pane + */ +, north: { + paneSelector: ".ui-layout-north" + , size: "auto" // eg: "auto", "30%", .30, 200 + , resizerCursor: "n-resize" // custom = url(myCursor.cur) + , customHotkey: "" // EITHER a charCode (43) OR a character ("o") + } +, south: { + paneSelector: ".ui-layout-south" + , size: "auto" + , resizerCursor: "s-resize" + , customHotkey: "" + } +, east: { + paneSelector: ".ui-layout-east" + , size: 200 + , resizerCursor: "e-resize" + , customHotkey: "" + } +, west: { + paneSelector: ".ui-layout-west" + , size: 200 + , resizerCursor: "w-resize" + , customHotkey: "" + } +, center: { + paneSelector: ".ui-layout-center" + , minWidth: 0 + , minHeight: 0 + } +}; + +$.layout.optionsMap = { + // layout/global options - NOT pane-options + layout: ("stateManagement,effects,zIndexes,errors," + + "name,zIndex,scrollToBookmarkOnLoad,showErrorMessages," + + "resizeWithWindow,resizeWithWindowDelay,resizeWithWindowMaxDelay," + + "onresizeall,onresizeall_start,onresizeall_end,onload,onunload").split(",") +// borderPanes: [ ALL options that are NOT specified as 'layout' ] + // default.panes options that apply to the center-pane (most options apply _only_ to border-panes) +, center: ("paneClass,contentSelector,contentIgnoreSelector,findNestedContent,applyDemoStyles,triggerEventsOnLoad," + + "showOverflowOnHover,maskContents,maskObjects,liveContentResizing," + + "childOptions,initChildLayout,resizeChildLayout,destroyChildLayout," + + "onresize,onresize_start,onresize_end,onsizecontent,onsizecontent_start,onsizecontent_end").split(",") + // options that MUST be specifically set 'per-pane' - CANNOT set in the panes (defaults) key +, noDefault: ("paneSelector,resizerCursor,customHotkey").split(",") +}; + +/** + * Processes options passed in converts flat-format data into subkey (JSON) format + * In flat-format, subkeys are _currently_ separated with 2 underscores, like north__optName + * Plugins may also call this method so they can transform their own data + * + * @param {!Object} hash Data/options passed by user - may be a single level or nested levels + * @return {Object} Returns hash of minWidth & minHeight + */ +$.layout.transformData = function (hash) { + var json = { panes: {}, center: {} } // init return object + , data, branch, optKey, keys, key, val, i, c; + + if (typeof hash !== "object") return json; // no options passed + + // convert all 'flat-keys' to 'sub-key' format + for (optKey in hash) { + branch = json; + data = $.layout.optionsMap.layout; + val = hash[ optKey ]; + keys = optKey.split("__"); // eg: west__size or north__fxSettings__duration + c = keys.length - 1; + // convert underscore-delimited to subkeys + for (i=0; i <= c; i++) { + key = keys[i]; + if (i === c) + branch[key] = val; + else if (!branch[key]) + branch[key] = {}; // create the subkey + // recurse to sub-key for next loop - if not done + branch = branch[key]; + } + } + + return json; +}; + +// INTERNAL CONFIG DATA - DO NOT CHANGE THIS! +$.layout.backwardCompatibility = { + // data used by renameOldOptions() + map: { + // OLD Option Name: NEW Option Name + applyDefaultStyles: "applyDemoStyles" + , resizeNestedLayout: "resizeChildLayout" + , resizeWhileDragging: "livePaneResizing" + , resizeContentWhileDragging: "liveContentResizing" + , triggerEventsWhileDragging: "triggerEventsDuringLiveResize" + , maskIframesOnResize: "maskContents" + , useStateCookie: "stateManagement.enabled" + , "cookie.autoLoad": "stateManagement.autoLoad" + , "cookie.autoSave": "stateManagement.autoSave" + , "cookie.keys": "stateManagement.stateKeys" + , "cookie.name": "stateManagement.cookie.name" + , "cookie.domain": "stateManagement.cookie.domain" + , "cookie.path": "stateManagement.cookie.path" + , "cookie.expires": "stateManagement.cookie.expires" + , "cookie.secure": "stateManagement.cookie.secure" + // OLD Language options + , noRoomToOpenTip: "tips.noRoomToOpen" + , togglerTip_open: "tips.Close" // open = Close + , togglerTip_closed: "tips.Open" // closed = Open + , resizerTip: "tips.Resize" + , sliderTip: "tips.Slide" + } + +/** +* @param {Object} opts +*/ +, renameOptions: function (opts) { + var map = $.layout.backwardCompatibility.map + , oldData, newData, value + ; + for (var itemPath in map) { + oldData = getBranch( itemPath ); + value = oldData.branch[ oldData.key ]; + if (value !== undefined) { + newData = getBranch( map[itemPath], true ); + newData.branch[ newData.key ] = value; + delete oldData.branch[ oldData.key ]; + } + } + + /** + * @param {string} path + * @param {boolean=} [create=false] Create path if does not exist + */ + function getBranch (path, create) { + var a = path.split(".") // split keys into array + , c = a.length - 1 + , D = { branch: opts, key: a[c] } // init branch at top & set key (last item) + , i = 0, k, undef; + for (; i 0) { + if (autoHide && $E.data('autoHidden') && $E.innerHeight() > 0) { + $E.show().data('autoHidden', false); + if (!browser.mozilla) // FireFox refreshes iframes - IE does not + // make hidden, then visible to 'refresh' display after animation + $E.css(_c.hidden).css(_c.visible); + } + } + else if (autoHide && !$E.data('autoHidden')) + $E.hide().data('autoHidden', true); + } + + /** + * @param {(string|!Object)} el + * @param {number=} outerHeight + * @param {boolean=} [autoHide=false] + */ +, setOuterHeight = function (el, outerHeight, autoHide) { + var $E = el, h; + if (isStr(el)) $E = $Ps[el]; // west + else if (!el.jquery) $E = $(el); + h = cssH($E, outerHeight); + $E.css({ height: h, visibility: "visible" }); // may have been 'hidden' by sizeContent + if (h > 0 && $E.innerWidth() > 0) { + if (autoHide && $E.data('autoHidden')) { + $E.show().data('autoHidden', false); + if (!browser.mozilla) // FireFox refreshes iframes - IE does not + $E.css(_c.hidden).css(_c.visible); + } + } + else if (autoHide && !$E.data('autoHidden')) + $E.hide().data('autoHidden', true); + } + + /** + * @param {(string|!Object)} el + * @param {number=} outerSize + * @param {boolean=} [autoHide=false] + */ +, setOuterSize = function (el, outerSize, autoHide) { + if (_c[pane].dir=="horz") // pane = north or south + setOuterHeight(el, outerSize, autoHide); + else // pane = east or west + setOuterWidth(el, outerSize, autoHide); + } + + + /** + * Converts any 'size' params to a pixel/integer size, if not already + * If 'auto' or a decimal/percentage is passed as 'size', a pixel-size is calculated + * + /** + * @param {string} pane + * @param {(string|number)=} size + * @param {string=} [dir] + * @return {number} + */ +, _parseSize = function (pane, size, dir) { + if (!dir) dir = _c[pane].dir; + + if (isStr(size) && size.match(/%/)) + size = (size === '100%') ? -1 : parseInt(size, 10) / 100; // convert % to decimal + + if (size === 0) + return 0; + else if (size >= 1) + return parseInt(size, 10); + + var o = options, avail = 0; + if (dir=="horz") // north or south or center.minHeight + avail = sC.innerHeight - ($Ps.north ? o.north.spacing_open : 0) - ($Ps.south ? o.south.spacing_open : 0); + else if (dir=="vert") // east or west or center.minWidth + avail = sC.innerWidth - ($Ps.west ? o.west.spacing_open : 0) - ($Ps.east ? o.east.spacing_open : 0); + + if (size === -1) // -1 == 100% + return avail; + else if (size > 0) // percentage, eg: .25 + return round(avail * size); + else if (pane=="center") + return 0; + else { // size < 0 || size=='auto' || size==Missing || size==Invalid + // auto-size the pane + var dim = (dir === "horz" ? "height" : "width") + , $P = $Ps[pane] + , $C = dim === 'height' ? $Cs[pane] : false + , vis = $.layout.showInvisibly($P) // show pane invisibly if hidden + , szP = $P.css(dim) // SAVE current pane size + , szC = $C ? $C.css(dim) : 0 // SAVE current content size + ; + $P.css(dim, "auto"); + if ($C) $C.css(dim, "auto"); + size = (dim === "height") ? $P.outerHeight() : $P.outerWidth(); // MEASURE + $P.css(dim, szP).css(vis); // RESET size & visibility + if ($C) $C.css(dim, szC); + return size; + } + } + + /** + * Calculates current 'size' (outer-width or outer-height) of a border-pane - optionally with 'pane-spacing' added + * + * @param {(string|!Object)} pane + * @param {boolean=} [inclSpace=false] + * @return {number} Returns EITHER Width for east/west panes OR Height for north/south panes + */ +, getPaneSize = function (pane, inclSpace) { + var + $P = $Ps[pane] + , o = options[pane] + , s = state[pane] + , oSp = (inclSpace ? o.spacing_open : 0) + , cSp = (inclSpace ? o.spacing_closed : 0) + ; + if (!$P || s.isHidden) + return 0; + else if (s.isClosed || (s.isSliding && inclSpace)) + return cSp; + else if (_c[pane].dir === "horz") + return $P.outerHeight() + oSp; + else // dir === "vert" + return $P.outerWidth() + oSp; + } + + /** + * Calculate min/max pane dimensions and limits for resizing + * + * @param {string} pane + * @param {boolean=} [slide=false] + */ +, setSizeLimits = function (pane, slide) { + if (!isInitialized()) return; + var + o = options[pane] + , s = state[pane] + , c = _c[pane] + , dir = c.dir + , side = c.side.toLowerCase() + , type = c.sizeType.toLowerCase() + , isSliding = (slide != undefined ? slide : s.isSliding) // only open() passes 'slide' param + , $P = $Ps[pane] + , paneSpacing = o.spacing_open + // measure the pane on the *opposite side* from this pane + , altPane = _c.oppositeEdge[pane] + , altS = state[altPane] + , $altP = $Ps[altPane] + , altPaneSize = (!$altP || altS.isVisible===false || altS.isSliding ? 0 : (dir=="horz" ? $altP.outerHeight() : $altP.outerWidth())) + , altPaneSpacing = ((!$altP || altS.isHidden ? 0 : options[altPane][ altS.isClosed !== false ? "spacing_closed" : "spacing_open" ]) || 0) + // limitSize prevents this pane from 'overlapping' opposite pane + , containerSize = (dir=="horz" ? sC.innerHeight : sC.innerWidth) + , minCenterDims = cssMinDims("center") + , minCenterSize = dir=="horz" ? max(options.center.minHeight, minCenterDims.minHeight) : max(options.center.minWidth, minCenterDims.minWidth) + // if pane is 'sliding', then ignore center and alt-pane sizes - because 'overlays' them + , limitSize = (containerSize - paneSpacing - (isSliding ? 0 : (_parseSize("center", minCenterSize, dir) + altPaneSize + altPaneSpacing))) + , minSize = s.minSize = max( _parseSize(pane, o.minSize), cssMinDims(pane).minSize ) + , maxSize = s.maxSize = min( (o.maxSize ? _parseSize(pane, o.maxSize) : 100000), limitSize ) + , r = s.resizerPosition = {} // used to set resizing limits + , top = sC.insetTop + , left = sC.insetLeft + , W = sC.innerWidth + , H = sC.innerHeight + , rW = o.spacing_open // subtract resizer-width to get top/left position for south/east + ; + switch (pane) { + case "north": r.min = top + minSize; + r.max = top + maxSize; + break; + case "west": r.min = left + minSize; + r.max = left + maxSize; + break; + case "south": r.min = top + H - maxSize - rW; + r.max = top + H - minSize - rW; + break; + case "east": r.min = left + W - maxSize - rW; + r.max = left + W - minSize - rW; + break; + }; + } + + /** + * Returns data for setting the size/position of center pane. Also used to set Height for east/west panes + * + * @return JSON Returns a hash of all dimensions: top, bottom, left, right, (outer) width and (outer) height + */ +, calcNewCenterPaneDims = function () { + var d = { + top: getPaneSize("north", true) // true = include 'spacing' value for pane + , bottom: getPaneSize("south", true) + , left: getPaneSize("west", true) + , right: getPaneSize("east", true) + , width: 0 + , height: 0 + }; + + // NOTE: sC = state.container + // calc center-pane outer dimensions + d.width = sC.innerWidth - d.left - d.right; // outerWidth + d.height = sC.innerHeight - d.bottom - d.top; // outerHeight + // add the 'container border/padding' to get final positions relative to the container + d.top += sC.insetTop; + d.bottom += sC.insetBottom; + d.left += sC.insetLeft; + d.right += sC.insetRight; + + return d; + } + + + /** + * @param {!Object} el + * @param {boolean=} [allStates=false] + */ +, getHoverClasses = function (el, allStates) { + var + $El = $(el) + , type = $El.data("layoutRole") + , pane = $El.data("layoutEdge") + , o = options[pane] + , root = o[type +"Class"] + , _pane = "-"+ pane // eg: "-west" + , _open = "-open" + , _closed = "-closed" + , _slide = "-sliding" + , _hover = "-hover " // NOTE the trailing space + , _state = $El.hasClass(root+_closed) ? _closed : _open + , _alt = _state === _closed ? _open : _closed + , classes = (root+_hover) + (root+_pane+_hover) + (root+_state+_hover) + (root+_pane+_state+_hover) + ; + if (allStates) // when 'removing' classes, also remove alternate-state classes + classes += (root+_alt+_hover) + (root+_pane+_alt+_hover); + + if (type=="resizer" && $El.hasClass(root+_slide)) + classes += (root+_slide+_hover) + (root+_pane+_slide+_hover); + + return $.trim(classes); + } +, addHover = function (evt, el) { + var $E = $(el || this); + if (evt && $E.data("layoutRole") === "toggler") + evt.stopPropagation(); // prevent triggering 'slide' on Resizer-bar + $E.addClass( getHoverClasses($E) ); + } +, removeHover = function (evt, el) { + var $E = $(el || this); + $E.removeClass( getHoverClasses($E, true) ); + } + +, onResizerEnter = function (evt) { // ALSO called by toggler.mouseenter + if ($.fn.disableSelection) + $("body").disableSelection(); + } +, onResizerLeave = function (evt, el) { + var + e = el || this // el is only passed when called by the timer + , pane = $(e).data("layoutEdge") + , name = pane +"ResizerLeave" + ; + timer.clear(pane+"_openSlider"); // cancel slideOpen timer, if set + timer.clear(name); // cancel enableSelection timer - may re/set below + // this method calls itself on a timer because it needs to allow + // enough time for dragging to kick-in and set the isResizing flag + // dragging has a 100ms delay set, so this delay must be >100 + if (!el) // 1st call - mouseleave event + timer.set(name, function(){ onResizerLeave(evt, e); }, 200); + // if user is resizing, then dragStop will enableSelection(), so can skip it here + else if (!state[pane].isResizing && $.fn.enableSelection) // 2nd call - by timer + $("body").enableSelection(); + } + +/* + * ########################### + * INITIALIZATION METHODS + * ########################### + */ + + /** + * Initialize the layout - called automatically whenever an instance of layout is created + * + * @see none - triggered onInit + * @return mixed true = fully initialized | false = panes not initialized (yet) | 'cancel' = abort + */ +, _create = function () { + // initialize config/options + initOptions(); + var o = options; + + // TEMP state so isInitialized returns true during init process + state.creatingLayout = true; + + // init plugins for this layout, if there are any (eg: stateManagement) + runPluginCallbacks( Instance, $.layout.onCreate ); + + // options & state have been initialized, so now run beforeLoad callback + // onload will CANCEL layout creation if it returns false + if (false === _runCallbacks("onload_start")) + return 'cancel'; + + // initialize the container element + _initContainer(); + + // bind hotkey function - keyDown - if required + initHotkeys(); + + // bind window.onunload + $(window).bind("unload."+ sID, unload); + + // init plugins for this layout, if there are any (eg: customButtons) + runPluginCallbacks( Instance, $.layout.onLoad ); + + // if layout elements are hidden, then layout WILL NOT complete initialization! + // initLayoutElements will set initialized=true and run the onload callback IF successful + if (o.initPanes) _initLayoutElements(); + + delete state.creatingLayout; + + return state.initialized; + } + + /** + * Initialize the layout IF not already + * + * @see All methods in Instance run this test + * @return boolean true = layoutElements have been initialized | false = panes are not initialized (yet) + */ +, isInitialized = function () { + if (state.initialized || state.creatingLayout) return true; // already initialized + else return _initLayoutElements(); // try to init panes NOW + } + + /** + * Initialize the layout - called automatically whenever an instance of layout is created + * + * @see _create() & isInitialized + * @return An object pointer to the instance created + */ +, _initLayoutElements = function (retry) { + // initialize config/options + var o = options; + + // CANNOT init panes inside a hidden container! + if (!$N.is(":visible")) { + // handle Chrome bug where popup window 'has no height' + // if layout is BODY element, try again in 50ms + // SEE: http://layout.jquery-dev.net/samples/test_popup_window.html + if ( !retry && browser.webkit && $N[0].tagName === "BODY" ) + setTimeout(function(){ _initLayoutElements(true); }, 50); + return false; + } + + // a center pane is required, so make sure it exists + if (!getPane("center").length) { + return _log( o.errors.centerPaneMissing ); + } + + // TEMP state so isInitialized returns true during init process + state.creatingLayout = true; + + // update Container dims + $.extend(sC, elDims( $N )); + + // initialize all layout elements + initPanes(); // size & position panes - calls initHandles() - which calls initResizable() + + if (o.scrollToBookmarkOnLoad) { + var l = self.location; + if (l.hash) l.replace( l.hash ); // scrollTo Bookmark + } + + // check to see if this layout 'nested' inside a pane + if (Instance.hasParentLayout) + o.resizeWithWindow = false; + // bind resizeAll() for 'this layout instance' to window.resize event + else if (o.resizeWithWindow) + $(window).bind("resize."+ sID, windowResize); + + delete state.creatingLayout; + state.initialized = true; + + // init plugins for this layout, if there are any + runPluginCallbacks( Instance, $.layout.onReady ); + + // now run the onload callback, if exists + _runCallbacks("onload_end"); + + return true; // elements initialized successfully + } + + /** + * Initialize nested layouts - called when _initLayoutElements completes + * + * NOT CURRENTLY USED + * + * @see _initLayoutElements + * @return An object pointer to the instance created + */ +, _initChildLayouts = function () { + $.each(_c.allPanes, function (idx, pane) { + if (options[pane].initChildLayout) + createChildLayout( pane ); + }); + } + + /** + * Initialize nested layouts for a specific pane - can optionally pass layout-options + * + * @see _initChildLayouts + * @param {string|Object} evt_or_pane The pane being opened, ie: north, south, east, or west + * @param {Object=} [opts] Layout-options - if passed, will OVERRRIDE options[pane].childOptions + * @return An object pointer to the layout instance created - or null + */ +, createChildLayout = function (evt_or_pane, opts) { + var pane = evtPane.call(this, evt_or_pane) + , $P = $Ps[pane] + , C = children + ; + if ($P) { + var $C = $Cs[pane] + , o = opts || options[pane].childOptions + , d = "layout" + // determine which element is supposed to be the 'child container' + // if pane has a 'containerSelector' OR a 'content-div', use those instead of the pane + , $Cont = o.containerSelector ? $P.find( o.containerSelector ) : ($C || $P) + , containerFound = $Cont.length + // see if a child-layout ALREADY exists on this element + , child = containerFound ? (C[pane] = $Cont.data(d) || null) : null + ; + // if no layout exists, but childOptions are set, try to create the layout now + if (!child && containerFound && o) + child = C[pane] = $Cont.eq(0).layout(o) || null; + if (child) + child.hasParentLayout = true; // set parent-flag in child + } + Instance[pane].child = C[pane]; // ALWAYS set pane-object pointer, even if null + } + +, windowResize = function () { + var delay = Number(options.resizeWithWindowDelay); + if (delay < 10) delay = 100; // MUST have a delay! + // resizing uses a delay-loop because the resize event fires repeatly - except in FF, but delay anyway + timer.clear("winResize"); // if already running + timer.set("winResize", function(){ + timer.clear("winResize"); + timer.clear("winResizeRepeater"); + var dims = elDims( $N ); + // only trigger resizeAll() if container has changed size + if (dims.innerWidth !== sC.innerWidth || dims.innerHeight !== sC.innerHeight) + resizeAll(); + }, delay); + // ALSO set fixed-delay timer, if not already running + if (!timer.data["winResizeRepeater"]) setWindowResizeRepeater(); + } + +, setWindowResizeRepeater = function () { + var delay = Number(options.resizeWithWindowMaxDelay); + if (delay > 0) + timer.set("winResizeRepeater", function(){ setWindowResizeRepeater(); resizeAll(); }, delay); + } + +, unload = function () { + var o = options; + + _runCallbacks("onunload_start"); + + // trigger plugin callabacks for this layout (eg: stateManagement) + runPluginCallbacks( Instance, $.layout.onUnload ); + + _runCallbacks("onunload_end"); + } + + /** + * Validate and initialize container CSS and events + * + * @see _create() + */ +, _initContainer = function () { + var + N = $N[0] + , tag = sC.tagName = N.tagName + , id = sC.id = N.id + , cls = sC.className = N.className + , o = options + , name = o.name + , fullPage= (tag === "BODY") + , props = "overflow,position,margin,padding,border" + , css = "layoutCSS" + , CSS = {} + , hid = "hidden" // used A LOT! + // see if this container is a 'pane' inside an outer-layout + , parent = $N.data("parentLayout") // parent-layout Instance + , pane = $N.data("layoutEdge") // pane-name in parent-layout + , isChild = parent && pane + ; + // sC -> state.container + sC.selector = $N.selector.split(".slice")[0]; + sC.ref = (o.name ? o.name +' layout / ' : '') + tag + (id ? "#"+id : cls ? '.['+cls+']' : ''); // used in messages + + $N .data({ + layout: Instance + , layoutContainer: sID // FLAG to indicate this is a layout-container - contains unique internal ID + }) + .addClass(o.containerClass) + ; + var layoutMethods = { + destroy: '' + , initPanes: '' + , resizeAll: 'resizeAll' + , resize: 'resizeAll' + }; + // loop hash and bind all methods - include layoutID namespacing + for (name in layoutMethods) { + $N.bind("layout"+ name.toLowerCase() +"."+ sID, Instance[ layoutMethods[name] || name ]); + } + + // if this container is another layout's 'pane', then set child/parent pointers + if (isChild) { + // update parent flag + Instance.hasParentLayout = true; + // set pointers to THIS child-layout (Instance) in parent-layout + // NOTE: parent.PANE.child is an ALIAS to parent.children.PANE + parent[pane].child = parent.children[pane] = $N.data("layout"); + } + + // SAVE original container CSS for use in destroy() + if (!$N.data(css)) { + // handle props like overflow different for BODY & HTML - has 'system default' values + if (fullPage) { + CSS = $.extend( elCSS($N, props), { + height: $N.css("height") + , overflow: $N.css("overflow") + , overflowX: $N.css("overflowX") + , overflowY: $N.css("overflowY") + }); + // ALSO SAVE CSS + var $H = $("html"); + $H.data(css, { + height: "auto" // FF would return a fixed px-size! + , overflow: $H.css("overflow") + , overflowX: $H.css("overflowX") + , overflowY: $H.css("overflowY") + }); + } + else // handle props normally for non-body elements + CSS = elCSS($N, props+",top,bottom,left,right,width,height,overflow,overflowX,overflowY"); + + $N.data(css, CSS); + } + + try { // format html/body if this is a full page layout + if (fullPage) { + $("html").css({ + height: "100%" + , overflow: hid + , overflowX: hid + , overflowY: hid + }); + $("body").css({ + position: "relative" + , height: "100%" + , overflow: hid + , overflowX: hid + , overflowY: hid + , margin: 0 + , padding: 0 // TODO: test whether body-padding could be handled? + , border: "none" // a body-border creates problems because it cannot be measured! + }); + + // set current layout-container dimensions + $.extend(sC, elDims( $N )); + } + else { // set required CSS for overflow and position + // ENSURE container will not 'scroll' + CSS = { overflow: hid, overflowX: hid, overflowY: hid } + var + p = $N.css("position") + , h = $N.css("height") + ; + // if this is a NESTED layout, then container/outer-pane ALREADY has position and height + if (!isChild) { + if (!p || !p.match(/fixed|absolute|relative/)) + CSS.position = "relative"; // container MUST have a 'position' + /* + if (!h || h=="auto") + CSS.height = "100%"; // container MUST have a 'height' + */ + } + $N.css( CSS ); + + // set current layout-container dimensions + if ( $N.is(":visible") ) { + $.extend(sC, elDims( $N )); + if (sC.innerHeight < 1) + _log( o.errors.noContainerHeight.replace(/CONTAINER/, sC.ref) ); + } + } + } catch (ex) {} + } + + /** + * Bind layout hotkeys - if options enabled + * + * @see _create() and addPane() + * @param {string=} [panes=""] The edge(s) to process + */ +, initHotkeys = function (panes) { + panes = panes ? panes.split(",") : _c.borderPanes; + // bind keyDown to capture hotkeys, if option enabled for ANY pane + $.each(panes, function (i, pane) { + var o = options[pane]; + if (o.enableCursorHotkey || o.customHotkey) { + $(document).bind("keydown."+ sID, keyDown); // only need to bind this ONCE + return false; // BREAK - binding was done + } + }); + } + + /** + * Build final OPTIONS data + * + * @see _create() + */ +, initOptions = function () { + var data, d, pane, key, val, i, c, o; + + // reprocess user's layout-options to have correct options sub-key structure + opts = $.layout.transformData( opts ); // panes = default subkey + + // auto-rename old options for backward compatibility + opts = $.layout.backwardCompatibility.renameAllOptions( opts ); + + // if user-options has 'panes' key (pane-defaults), clean it... + if (!$.isEmptyObject(opts.panes)) { + // REMOVE any pane-defaults that MUST be set per-pane + data = $.layout.optionsMap.noDefault; + for (i=0, c=data.length; i 0) { + z.pane_normal = zo; + z.content_mask = max(zo+1, z.content_mask); // MIN = +1 + z.resizer_normal = max(zo+2, z.resizer_normal); // MIN = +2 + } + + // DELETE 'panes' key now that we are done - values were copied to EACH pane + delete options.panes; + + + function createFxOptions ( pane ) { + var o = options[pane] + , d = options.panes; + // ensure fxSettings key to avoid errors + if (!o.fxSettings) o.fxSettings = {}; + if (!d.fxSettings) d.fxSettings = {}; + + $.each(["_open","_close","_size"], function (i,n) { + var + sName = "fxName"+ n + , sSpeed = "fxSpeed"+ n + , sSettings = "fxSettings"+ n + // recalculate fxName according to specificity rules + , fxName = o[sName] = + o[sName] // options.west.fxName_open + || d[sName] // options.panes.fxName_open + || o.fxName // options.west.fxName + || d.fxName // options.panes.fxName + || "none" // MEANS $.layout.defaults.panes.fxName == "" || false || null || 0 + ; + // validate fxName to ensure is valid effect - MUST have effect-config data in options.effects + if (fxName === "none" || !$.effects || !$.effects[fxName] || !options.effects[fxName]) + fxName = o[sName] = "none"; // effect not loaded OR unrecognized fxName + + // set vars for effects subkeys to simplify logic + var fx = options.effects[fxName] || {} // effects.slide + , fx_all = fx.all || null // effects.slide.all + , fx_pane = fx[pane] || null // effects.slide.west + ; + // create fxSpeed[_open|_close|_size] + o[sSpeed] = + o[sSpeed] // options.west.fxSpeed_open + || d[sSpeed] // options.west.fxSpeed_open + || o.fxSpeed // options.west.fxSpeed + || d.fxSpeed // options.panes.fxSpeed + || null // DEFAULT - let fxSetting.duration control speed + ; + // create fxSettings[_open|_close|_size] + o[sSettings] = $.extend( + true + , {} + , fx_all // effects.slide.all + , fx_pane // effects.slide.west + , d.fxSettings // options.panes.fxSettings + , o.fxSettings // options.west.fxSettings + , d[sSettings] // options.panes.fxSettings_open + , o[sSettings] // options.west.fxSettings_open + ); + }); + + // DONE creating action-specific-settings for this pane, + // so DELETE generic options - are no longer meaningful + delete o.fxName; + delete o.fxSpeed; + delete o.fxSettings; + } + } + + /** + * Initialize module objects, styling, size and position for all panes + * + * @see _initElements() + * @param {string} pane The pane to process + */ +, getPane = function (pane) { + var sel = options[pane].paneSelector + if (sel.substr(0,1)==="#") // ID selector + // NOTE: elements selected 'by ID' DO NOT have to be 'children' + return $N.find(sel).eq(0); + else { // class or other selector + var $P = $N.children(sel).eq(0); + // look for the pane nested inside a 'form' element + return $P.length ? $P : $N.children("form:first").children(sel).eq(0); + } + } + +, initPanes = function (evt) { + // stopPropagation if called by trigger("layoutinitpanes") - use evtPane utility + evtPane(evt); + + // NOTE: do north & south FIRST so we can measure their height - do center LAST + $.each(_c.allPanes, function (idx, pane) { + addPane( pane, true ); + }); + + // init the pane-handles NOW in case we have to hide or close the pane below + initHandles(); + + // now that all panes have been initialized and initially-sized, + // make sure there is really enough space available for each pane + $.each(_c.borderPanes, function (i, pane) { + if ($Ps[pane] && state[pane].isVisible) { // pane is OPEN + setSizeLimits(pane); + makePaneFit(pane); // pane may be Closed, Hidden or Resized by makePaneFit() + } + }); + // size center-pane AGAIN in case we 'closed' a border-pane in loop above + sizeMidPanes("center"); + + // Chrome/Webkit sometimes fires callbacks BEFORE it completes resizing! + // Before RC30.3, there was a 10ms delay here, but that caused layout + // to load asynchrously, which is BAD, so try skipping delay for now + + // process pane contents and callbacks, and init/resize child-layout if exists + $.each(_c.allPanes, function (i, pane) { + var o = options[pane]; + if ($Ps[pane]) { + if (state[pane].isVisible) { // pane is OPEN + sizeContent(pane); + // trigger pane.onResize if triggerEventsOnLoad = true + if (o.triggerEventsOnLoad) + _runCallbacks("onresize_end", pane); + else // automatic if onresize called, otherwise call it specifically + // resize child - IF inner-layout already exists (created before this layout) + resizeChildLayout(pane); + } + // init childLayout - even if pane is not visible + if (o.initChildLayout && o.childOptions) + createChildLayout(pane); + } + }); + } + + /** + * Add a pane to the layout - subroutine of initPanes() + * + * @see initPanes() + * @param {string} pane The pane to process + * @param {boolean=} [force=false] Size content after init + */ +, addPane = function (pane, force) { + if (!force && !isInitialized()) return; + var + o = options[pane] + , s = state[pane] + , c = _c[pane] + , fx = s.fx + , dir = c.dir + , spacing = o.spacing_open || 0 + , isCenter = (pane === "center") + , CSS = {} + , $P = $Ps[pane] + , size, minSize, maxSize + ; + // if pane-pointer already exists, remove the old one first + if ($P) + removePane( pane, false, true, false ); + else + $Cs[pane] = false; // init + + $P = $Ps[pane] = getPane(pane); + if (!$P.length) { + $Ps[pane] = false; // logic + return; + } + + // SAVE original Pane CSS + if (!$P.data("layoutCSS")) { + var props = "position,top,left,bottom,right,width,height,overflow,zIndex,display,backgroundColor,padding,margin,border"; + $P.data("layoutCSS", elCSS($P, props)); + } + + // create alias for pane data in Instance - initHandles will add more + Instance[pane] = { name: pane, pane: $Ps[pane], content: $Cs[pane], options: options[pane], state: state[pane], child: children[pane] }; + + // add classes, attributes & events + $P .data({ + parentLayout: Instance // pointer to Layout Instance + , layoutPane: Instance[pane] // NEW pointer to pane-alias-object + , layoutEdge: pane + , layoutRole: "pane" + }) + .css(c.cssReq).css("zIndex", options.zIndexes.pane_normal) + .css(o.applyDemoStyles ? c.cssDemo : {}) // demo styles + .addClass( o.paneClass +" "+ o.paneClass+"-"+pane ) // default = "ui-layout-pane ui-layout-pane-west" - may be a dupe of 'paneSelector' + .bind("mouseenter."+ sID, addHover ) + .bind("mouseleave."+ sID, removeHover ) + ; + var paneMethods = { + hide: '' + , show: '' + , toggle: '' + , close: '' + , open: '' + , slideOpen: '' + , slideClose: '' + , slideToggle: '' + , size: 'sizePane' + , sizePane: 'sizePane' + , sizeContent: '' + , sizeHandles: '' + , enableClosable: '' + , disableClosable: '' + , enableSlideable: '' + , disableSlideable: '' + , enableResizable: '' + , disableResizable: '' + , swapPanes: 'swapPanes' + , swap: 'swapPanes' + , move: 'swapPanes' + , removePane: 'removePane' + , remove: 'removePane' + , createChildLayout: '' + , resizeChildLayout: '' + , resizeAll: 'resizeAll' + , resizeLayout: 'resizeAll' + } + , name; + // loop hash and bind all methods - include layoutID namespacing + for (name in paneMethods) { + $P.bind("layoutpane"+ name.toLowerCase() +"."+ sID, Instance[ paneMethods[name] || name ]); + } + + // see if this pane has a 'scrolling-content element' + initContent(pane, false); // false = do NOT sizeContent() - called later + + if (!isCenter) { + // call _parseSize AFTER applying pane classes & styles - but before making visible (if hidden) + // if o.size is auto or not valid, then MEASURE the pane and use that as its 'size' + size = s.size = _parseSize(pane, o.size); + minSize = _parseSize(pane,o.minSize) || 1; + maxSize = _parseSize(pane,o.maxSize) || 100000; + if (size > 0) size = max(min(size, maxSize), minSize); + + // state for border-panes + s.isClosed = false; // true = pane is closed + s.isSliding = false; // true = pane is currently open by 'sliding' over adjacent panes + s.isResizing= false; // true = pane is in process of being resized + s.isHidden = false; // true = pane is hidden - no spacing, resizer or toggler is visible! + + // array for 'pin buttons' whose classNames are auto-updated on pane-open/-close + if (!s.pins) s.pins = []; + } + // states common to ALL panes + s.tagName = $P[0].tagName; + s.edge = pane; // useful if pane is (or about to be) 'swapped' - easy find out where it is (or is going) + s.noRoom = false; // true = pane 'automatically' hidden due to insufficient room - will unhide automatically + s.isVisible = true; // false = pane is invisible - closed OR hidden - simplify logic + + // set css-position to account for container borders & padding + switch (pane) { + case "north": CSS.top = sC.insetTop; + CSS.left = sC.insetLeft; + CSS.right = sC.insetRight; + break; + case "south": CSS.bottom = sC.insetBottom; + CSS.left = sC.insetLeft; + CSS.right = sC.insetRight; + break; + case "west": CSS.left = sC.insetLeft; // top, bottom & height set by sizeMidPanes() + break; + case "east": CSS.right = sC.insetRight; // ditto + break; + case "center": // top, left, width & height set by sizeMidPanes() + } + + if (dir === "horz") // north or south pane + CSS.height = cssH($P, size); + else if (dir === "vert") // east or west pane + CSS.width = cssW($P, size); + //else if (isCenter) {} + + $P.css(CSS); // apply size -- top, bottom & height will be set by sizeMidPanes + if (dir != "horz") sizeMidPanes(pane, true); // true = skipCallback + + // close or hide the pane if specified in settings + if (o.initClosed && o.closable && !o.initHidden) + close(pane, true, true); // true, true = force, noAnimation + else if (o.initHidden || o.initClosed) + hide(pane); // will be completely invisible - no resizer or spacing + else if (!s.noRoom) + // make the pane visible - in case was initially hidden + $P.css("display","block"); + // ELSE setAsOpen() - called later by initHandles() + + // RESET visibility now - pane will appear IF display:block + $P.css("visibility","visible"); + + // check option for auto-handling of pop-ups & drop-downs + if (o.showOverflowOnHover) + $P.hover( allowOverflow, resetOverflow ); + + // if manually adding a pane AFTER layout initialization, then... + if (state.initialized) { + initHandles( pane ); + initHotkeys( pane ); + resizeAll(); // will sizeContent if pane is visible + if (s.isVisible) { // pane is OPEN + if (o.triggerEventsOnLoad) + _runCallbacks("onresize_end", pane); + else // automatic if onresize called, otherwise call it specifically + // resize child - IF inner-layout already exists (created before this layout) + resizeChildLayout(pane); // a previously existing childLayout + } + if (o.initChildLayout && o.childOptions) + createChildLayout(pane); + } + } + + /** + * Initialize module objects, styling, size and position for all resize bars and toggler buttons + * + * @see _create() + * @param {string=} [panes=""] The edge(s) to process + */ +, initHandles = function (panes) { + panes = panes ? panes.split(",") : _c.borderPanes; + + // create toggler DIVs for each pane, and set object pointers for them, eg: $R.north = north toggler DIV + $.each(panes, function (i, pane) { + var $P = $Ps[pane]; + $Rs[pane] = false; // INIT + $Ts[pane] = false; + if (!$P) return; // pane does not exist - skip + + var + o = options[pane] + , s = state[pane] + , c = _c[pane] + , paneId = o.paneSelector.substr(0,1) === "#" ? o.paneSelector.substr(1) : "" + , rClass = o.resizerClass + , tClass = o.togglerClass + , side = c.side.toLowerCase() + , spacing = (s.isVisible ? o.spacing_open : o.spacing_closed) + , _pane = "-"+ pane // used for classNames + , _state = (s.isVisible ? "-open" : "-closed") // used for classNames + , I = Instance[pane] + // INIT RESIZER BAR + , $R = I.resizer = $Rs[pane] = $("
                      ") + // INIT TOGGLER BUTTON + , $T = I.toggler = (o.closable ? $Ts[pane] = $("
                      ") : false) + ; + + //if (s.isVisible && o.resizable) ... handled by initResizable + if (!s.isVisible && o.slidable) + $R.attr("title", o.tips.Slide).css("cursor", o.sliderCursor); + + $R // if paneSelector is an ID, then create a matching ID for the resizer, eg: "#paneLeft" => "paneLeft-resizer" + .attr("id", paneId ? paneId +"-resizer" : "" ) + .data({ + parentLayout: Instance + , layoutPane: Instance[pane] // NEW pointer to pane-alias-object + , layoutEdge: pane + , layoutRole: "resizer" + }) + .css(_c.resizers.cssReq).css("zIndex", options.zIndexes.resizer_normal) + .css(o.applyDemoStyles ? _c.resizers.cssDemo : {}) // add demo styles + .addClass(rClass +" "+ rClass+_pane) + .hover(addHover, removeHover) // ALWAYS add hover-classes, even if resizing is not enabled - handle with CSS instead + .hover(onResizerEnter, onResizerLeave) // ALWAYS NEED resizer.mouseleave to balance toggler.mouseenter + .appendTo($N) // append DIV to container + ; + + if ($T) { + $T // if paneSelector is an ID, then create a matching ID for the resizer, eg: "#paneLeft" => "#paneLeft-toggler" + .attr("id", paneId ? paneId +"-toggler" : "" ) + .data({ + parentLayout: Instance + , layoutPane: Instance[pane] // NEW pointer to pane-alias-object + , layoutEdge: pane + , layoutRole: "toggler" + }) + .css(_c.togglers.cssReq) // add base/required styles + .css(o.applyDemoStyles ? _c.togglers.cssDemo : {}) // add demo styles + .addClass(tClass +" "+ tClass+_pane) + .hover(addHover, removeHover) // ALWAYS add hover-classes, even if toggling is not enabled - handle with CSS instead + .bind("mouseenter", onResizerEnter) // NEED toggler.mouseenter because mouseenter MAY NOT fire on resizer + .appendTo($R) // append SPAN to resizer DIV + ; + // ADD INNER-SPANS TO TOGGLER + if (o.togglerContent_open) // ui-layout-open + $(""+ o.togglerContent_open +"") + .data({ + layoutEdge: pane + , layoutRole: "togglerContent" + }) + .data("layoutRole", "togglerContent") + .data("layoutEdge", pane) + .addClass("content content-open") + .css("display","none") + .appendTo( $T ) + //.hover( addHover, removeHover ) // use ui-layout-toggler-west-hover .content-open instead! + ; + if (o.togglerContent_closed) // ui-layout-closed + $(""+ o.togglerContent_closed +"") + .data({ + layoutEdge: pane + , layoutRole: "togglerContent" + }) + .addClass("content content-closed") + .css("display","none") + .appendTo( $T ) + //.hover( addHover, removeHover ) // use ui-layout-toggler-west-hover .content-closed instead! + ; + // ADD TOGGLER.click/.hover + enableClosable(pane); + } + + // add Draggable events + initResizable(pane); + + // ADD CLASSNAMES & SLIDE-BINDINGS - eg: class="resizer resizer-west resizer-open" + if (s.isVisible) + setAsOpen(pane); // onOpen will be called, but NOT onResize + else { + setAsClosed(pane); // onClose will be called + bindStartSlidingEvent(pane, true); // will enable events IF option is set + } + + }); + + // SET ALL HANDLE DIMENSIONS + sizeHandles(); + } + + + /** + * Initialize scrolling ui-layout-content div - if exists + * + * @see initPane() - or externally after an Ajax injection + * @param {string} [pane] The pane to process + * @param {boolean=} [resize=true] Size content after init + */ +, initContent = function (pane, resize) { + if (!isInitialized()) return; + var + o = options[pane] + , sel = o.contentSelector + , I = Instance[pane] + , $P = $Ps[pane] + , $C + ; + if (sel) $C = I.content = $Cs[pane] = (o.findNestedContent) + ? $P.find(sel).eq(0) // match 1-element only + : $P.children(sel).eq(0) + ; + if ($C && $C.length) { + $C.data("layoutRole", "content"); + // SAVE original Pane CSS + if (!$C.data("layoutCSS")) + $C.data("layoutCSS", elCSS($C, "height")); + $C.css( _c.content.cssReq ); + if (o.applyDemoStyles) { + $C.css( _c.content.cssDemo ); // add padding & overflow: auto to content-div + $P.css( _c.content.cssDemoPane ); // REMOVE padding/scrolling from pane + } + state[pane].content = {}; // init content state + if (resize !== false) sizeContent(pane); + // sizeContent() is called AFTER init of all elements + } + else + I.content = $Cs[pane] = false; + } + + + /** + * Add resize-bars to all panes that specify it in options + * -dependancy: $.fn.resizable - will skip if not found + * + * @see _create() + * @param {string=} [panes=""] The edge(s) to process + */ +, initResizable = function (panes) { + var draggingAvailable = $.layout.plugins.draggable + , side // set in start() + ; + panes = panes ? panes.split(",") : _c.borderPanes; + + $.each(panes, function (idx, pane) { + var o = options[pane]; + if (!draggingAvailable || !$Ps[pane] || !o.resizable) { + o.resizable = false; + return true; // skip to next + } + + var s = state[pane] + , z = options.zIndexes + , c = _c[pane] + , side = c.dir=="horz" ? "top" : "left" + , opEdge = _c.oppositeEdge[pane] + , masks = pane +",center,"+ opEdge + (c.dir=="horz" ? ",west,east" : "") + , $P = $Ps[pane] + , $R = $Rs[pane] + , base = o.resizerClass + , lastPos = 0 // used when live-resizing + , r, live // set in start because may change + // 'drag' classes are applied to the ORIGINAL resizer-bar while dragging is in process + , resizerClass = base+"-drag" // resizer-drag + , resizerPaneClass = base+"-"+pane+"-drag" // resizer-north-drag + // 'helper' class is applied to the CLONED resizer-bar while it is being dragged + , helperClass = base+"-dragging" // resizer-dragging + , helperPaneClass = base+"-"+pane+"-dragging" // resizer-north-dragging + , helperLimitClass = base+"-dragging-limit" // resizer-drag + , helperPaneLimitClass = base+"-"+pane+"-dragging-limit" // resizer-north-drag + , helperClassesSet = false // logic var + ; + + if (!s.isClosed) + $R.attr("title", o.tips.Resize) + .css("cursor", o.resizerCursor); // n-resize, s-resize, etc + + $R.draggable({ + containment: $N[0] // limit resizing to layout container + , axis: (c.dir=="horz" ? "y" : "x") // limit resizing to horz or vert axis + , delay: 0 + , distance: 1 + , grid: o.resizingGrid + // basic format for helper - style it using class: .ui-draggable-dragging + , helper: "clone" + , opacity: o.resizerDragOpacity + , addClasses: false // avoid ui-state-disabled class when disabled + //, iframeFix: o.draggableIframeFix // TODO: consider using when bug is fixed + , zIndex: z.resizer_drag + + , start: function (e, ui) { + // REFRESH options & state pointers in case we used swapPanes + o = options[pane]; + s = state[pane]; + // re-read options + live = o.livePaneResizing; + + // ondrag_start callback - will CANCEL hide if returns false + // TODO: dragging CANNOT be cancelled like this, so see if there is a way? + if (false === _runCallbacks("ondrag_start", pane)) return false; + + s.isResizing = true; // prevent pane from closing while resizing + timer.clear(pane+"_closeSlider"); // just in case already triggered + + // SET RESIZER LIMITS - used in drag() + setSizeLimits(pane); // update pane/resizer state + r = s.resizerPosition; + lastPos = ui.position[ side ] + + $R.addClass( resizerClass +" "+ resizerPaneClass ); // add drag classes + helperClassesSet = false; // reset logic var - see drag() + + // DISABLE TEXT SELECTION (probably already done by resizer.mouseOver) + $('body').disableSelection(); + + // MASK PANES CONTAINING IFRAMES, APPLETS OR OTHER TROUBLESOME ELEMENTS + showMasks( masks ); + } + + , drag: function (e, ui) { + if (!helperClassesSet) { // can only add classes after clone has been added to the DOM + //$(".ui-draggable-dragging") + ui.helper + .addClass( helperClass +" "+ helperPaneClass ) // add helper classes + .css({ right: "auto", bottom: "auto" }) // fix dir="rtl" issue + .children().css("visibility","hidden") // hide toggler inside dragged resizer-bar + ; + helperClassesSet = true; + // draggable bug!? RE-SET zIndex to prevent E/W resize-bar showing through N/S pane! + if (s.isSliding) $Ps[pane].css("zIndex", z.pane_sliding); + } + // CONTAIN RESIZER-BAR TO RESIZING LIMITS + var limit = 0; + if (ui.position[side] < r.min) { + ui.position[side] = r.min; + limit = -1; + } + else if (ui.position[side] > r.max) { + ui.position[side] = r.max; + limit = 1; + } + // ADD/REMOVE dragging-limit CLASS + if (limit) { + ui.helper.addClass( helperLimitClass +" "+ helperPaneLimitClass ); // at dragging-limit + window.defaultStatus = (limit>0 && pane.match(/(north|west)/)) || (limit<0 && pane.match(/(south|east)/)) ? o.tips.maxSizeWarning : o.tips.minSizeWarning; + } + else { + ui.helper.removeClass( helperLimitClass +" "+ helperPaneLimitClass ); // not at dragging-limit + window.defaultStatus = ""; + } + // DYNAMICALLY RESIZE PANES IF OPTION ENABLED + // won't trigger unless resizer has actually moved! + if (live && Math.abs(ui.position[side] - lastPos) >= o.liveResizingTolerance) { + lastPos = ui.position[side]; + resizePanes(e, ui, pane) + } + } + + , stop: function (e, ui) { + $('body').enableSelection(); // RE-ENABLE TEXT SELECTION + window.defaultStatus = ""; // clear 'resizing limit' message from statusbar + $R.removeClass( resizerClass +" "+ resizerPaneClass ); // remove drag classes from Resizer + s.isResizing = false; + resizePanes(e, ui, pane, true, masks); // true = resizingDone + } + + }); + }); + + /** + * resizePanes + * + * Sub-routine called from stop() - and drag() if livePaneResizing + * + * @param {!Object} evt + * @param {!Object} ui + * @param {string} pane + * @param {boolean=} [resizingDone=false] + */ + var resizePanes = function (evt, ui, pane, resizingDone, masks) { + var dragPos = ui.position + , c = _c[pane] + , o = options[pane] + , s = state[pane] + , resizerPos + ; + switch (pane) { + case "north": resizerPos = dragPos.top; break; + case "west": resizerPos = dragPos.left; break; + case "south": resizerPos = sC.offsetHeight - dragPos.top - o.spacing_open; break; + case "east": resizerPos = sC.offsetWidth - dragPos.left - o.spacing_open; break; + }; + // remove container margin from resizer position to get the pane size + var newSize = resizerPos - sC["inset"+ c.side]; + + // Disable OR Resize Mask(s) created in drag.start + if (!resizingDone) { + // ensure we meet liveResizingTolerance criteria + if (Math.abs(newSize - s.size) < o.liveResizingTolerance) + return; // SKIP resize this time + // resize the pane + manualSizePane(pane, newSize, false, true); // true = noAnimation + sizeMasks(); // resize all visible masks + } + else { // resizingDone + // ondrag_end callback + if (false !== _runCallbacks("ondrag_end", pane)) + manualSizePane(pane, newSize, false, true); // true = noAnimation + hideMasks(); // hide all masks, which include panes with 'content/iframe-masks' + if (s.isSliding && masks) // RE-SHOW only 'object-masks' so objects won't show through sliding pane + showMasks( masks, true ); // true = onlyForObjects + } + }; + } + + /** + * sizeMask + * + * Needed to overlay a DIV over an IFRAME-pane because mask CANNOT be *inside* the pane + * Called when mask created, and during livePaneResizing + */ +, sizeMask = function () { + var $M = $(this) + , pane = $M.data("layoutMask") // eg: "west" + , s = state[pane] + ; + // only masks over an IFRAME-pane need manual resizing + if (s.tagName == "IFRAME" && s.isVisible) // no need to mask closed/hidden panes + $M.css({ + top: s.offsetTop + , left: s.offsetLeft + , width: s.outerWidth + , height: s.outerHeight + }); + /* ALT Method... + var $P = $Ps[pane]; + $M.css( $P.position() ).css({ width: $P[0].offsetWidth, height: $P[0].offsetHeight }); + */ + } +, sizeMasks = function () { + $Ms.each( sizeMask ); // resize all 'visible' masks + } + +, showMasks = function (panes, onlyForObjects) { + var a = panes ? panes.split(",") : $.layout.config.allPanes + , z = options.zIndexes + , o, s; + $.each(a, function(i,p){ + s = state[p]; + o = options[p]; + if (s.isVisible && ( (!onlyForObjects && o.maskContents) || o.maskObjects )) { + getMasks(p).each(function(){ + sizeMask.call(this); + this.style.zIndex = s.isSliding ? z.pane_sliding+1 : z.pane_normal+1 + this.style.display = "block"; + }); + } + }); + } + +, hideMasks = function () { + // ensure no pane is resizing - could be a timing issue + var skip; + $.each( $.layout.config.borderPanes, function(i,p){ + if (state[p].isResizing) { + skip = true; + return false; // BREAK + } + }); + if (!skip) + $Ms.hide(); // hide ALL masks + } + +, getMasks = function (pane) { + var $Masks = $([]) + , $M, i = 0, c = $Ms.length + ; + for (; i CSS + if (sC.tagName === "BODY" && ($N = $("html")).data(css)) // RESET CSS + $N.css( $N.data(css) ).removeData(css); + + // trigger plugins for this layout, if there are any + runPluginCallbacks( Instance, $.layout.onDestroy ); + + // trigger state-management and onunload callback + unload(); + + // clear the Instance of everything except for container & options (so could recreate) + // RE-CREATE: myLayout = myLayout.container.layout( myLayout.options ); + for (n in Instance) + if (!n.match(/^(container|options)$/)) delete Instance[ n ]; + // add a 'destroyed' flag to make it easy to check + Instance.destroyed = true; + + // if this is a child layout, CLEAR the child-pointer in the parent + /* for now the pointer REMAINS, but with only container, options and destroyed keys + if (parentPane) { + var layout = parentPane.pane.data("parentLayout"); + parentPane.child = layout.children[ parentPane.name ] = null; + } + */ + + return Instance; // for coding convenience + } + + /** + * Remove a pane from the layout - subroutine of destroy() + * + * @see destroy() + * @param {string|Object} evt_or_pane The pane to process + * @param {boolean=} [remove=false] Remove the DOM element? + * @param {boolean=} [skipResize=false] Skip calling resizeAll()? + * @param {boolean=} [destroyChild=true] Destroy Child-layouts? If not passed, obeys options setting + */ +, removePane = function (evt_or_pane, remove, skipResize, destroyChild) { + if (!isInitialized()) return; + var pane = evtPane.call(this, evt_or_pane) + , $P = $Ps[pane] + , $C = $Cs[pane] + , $R = $Rs[pane] + , $T = $Ts[pane] + ; + // NOTE: elements can still exist even after remove() + // so check for missing data(), which is cleared by removed() + if ($P && $.isEmptyObject( $P.data() )) $P = false; + if ($C && $.isEmptyObject( $C.data() )) $C = false; + if ($R && $.isEmptyObject( $R.data() )) $R = false; + if ($T && $.isEmptyObject( $T.data() )) $T = false; + + if ($P) $P.stop(true, true); + + // check for a child layout + var o = options[pane] + , s = state[pane] + , d = "layout" + , css = "layoutCSS" + , child = children[pane] || ($P ? $P.data(d) : 0) || ($C ? $C.data(d) : 0) || null + , destroy = destroyChild !== undefined ? destroyChild : o.destroyChildLayout + ; + + // FIRST destroy the child-layout(s) + if (destroy && child && !child.destroyed) { + child.destroy(true); // tell child-layout to destroy ALL its child-layouts too + if (child.destroyed) // destroy was successful + child = null; // clear pointer for logic below + } + + if ($P && remove && !child) + $P.remove(); + else if ($P && $P[0]) { + // create list of ALL pane-classes that need to be removed + var root = o.paneClass // default="ui-layout-pane" + , pRoot = root +"-"+ pane // eg: "ui-layout-pane-west" + , _open = "-open" + , _sliding= "-sliding" + , _closed = "-closed" + , classes = [ root, root+_open, root+_closed, root+_sliding, // generic classes + pRoot, pRoot+_open, pRoot+_closed, pRoot+_sliding ] // pane-specific classes + ; + $.merge(classes, getHoverClasses($P, true)); // ADD hover-classes + // remove all Layout classes from pane-element + $P .removeClass( classes.join(" ") ) // remove ALL pane-classes + .removeData("parentLayout") + .removeData("layoutPane") + .removeData("layoutRole") + .removeData("layoutEdge") + .removeData("autoHidden") // in case set + .unbind("."+ sID) // remove ALL Layout events + // TODO: remove these extra unbind commands when jQuery is fixed + //.unbind("mouseenter"+ sID) + //.unbind("mouseleave"+ sID) + ; + // do NOT reset CSS if this pane/content is STILL the container of a nested layout! + // the nested layout will reset its 'container' CSS when/if it is destroyed + if ($C && $C.data(d)) { + // a content-div may not have a specific width, so give it one to contain the Layout + $C.width( $C.width() ); + child.resizeAll(); // now resize the Layout + } + else if ($C) + $C.css( $C.data(css) ).removeData(css).removeData("layoutRole"); + // remove pane AFTER content in case there was a nested layout + if (!$P.data(d)) + $P.css( $P.data(css) ).removeData(css); + } + + // REMOVE pane resizer and toggler elements + if ($T) $T.remove(); + if ($R) $R.remove(); + + // CLEAR all pointers and state data + Instance[pane] = $Ps[pane] = $Cs[pane] = $Rs[pane] = $Ts[pane] = children[pane] = false; + s = { removed: true }; + + if (!skipResize) + resizeAll(); + } + + +/* + * ########################### + * ACTION METHODS + * ########################### + */ + +, _hidePane = function (pane) { + var $P = $Ps[pane] + , o = options[pane] + , s = $P[0].style + ; + if (o.useOffscreenClose) { + if (!$P.data(_c.offscreenReset)) + $P.data(_c.offscreenReset, { left: s.left, right: s.right }); + $P.css( _c.offscreenCSS ); + } + else + $P.hide().removeData(_c.offscreenReset); + } + +, _showPane = function (pane) { + var $P = $Ps[pane] + , o = options[pane] + , off = _c.offscreenCSS + , old = $P.data(_c.offscreenReset) + , s = $P[0].style + ; + $P .show() // ALWAYS show, just in case + .removeData(_c.offscreenReset); + if (o.useOffscreenClose && old) { + if (s.left == off.left) + s.left = old.left; + if (s.right == off.right) + s.right = old.right; + } + } + + + /** + * Completely 'hides' a pane, including its spacing - as if it does not exist + * The pane is not actually 'removed' from the source, so can use 'show' to un-hide it + * + * @param {string|Object} evt_or_pane The pane being hidden, ie: north, south, east, or west + * @param {boolean=} [noAnimation=false] + */ +, hide = function (evt_or_pane, noAnimation) { + if (!isInitialized()) return; + var pane = evtPane.call(this, evt_or_pane) + , o = options[pane] + , s = state[pane] + , $P = $Ps[pane] + , $R = $Rs[pane] + ; + if (!$P || s.isHidden) return; // pane does not exist OR is already hidden + + // onhide_start callback - will CANCEL hide if returns false + if (state.initialized && false === _runCallbacks("onhide_start", pane)) return; + + s.isSliding = false; // just in case + + // now hide the elements + if ($R) $R.hide(); // hide resizer-bar + if (!state.initialized || s.isClosed) { + s.isClosed = true; // to trigger open-animation on show() + s.isHidden = true; + s.isVisible = false; + if (!state.initialized) + _hidePane(pane); // no animation when loading page + sizeMidPanes(_c[pane].dir === "horz" ? "" : "center"); + if (state.initialized || o.triggerEventsOnLoad) + _runCallbacks("onhide_end", pane); + } + else { + s.isHiding = true; // used by onclose + close(pane, false, noAnimation); // adjust all panes to fit + } + } + + /** + * Show a hidden pane - show as 'closed' by default unless openPane = true + * + * @param {string|Object} evt_or_pane The pane being opened, ie: north, south, east, or west + * @param {boolean=} [openPane=false] + * @param {boolean=} [noAnimation=false] + * @param {boolean=} [noAlert=false] + */ +, show = function (evt_or_pane, openPane, noAnimation, noAlert) { + if (!isInitialized()) return; + var pane = evtPane.call(this, evt_or_pane) + , o = options[pane] + , s = state[pane] + , $P = $Ps[pane] + , $R = $Rs[pane] + ; + if (!$P || !s.isHidden) return; // pane does not exist OR is not hidden + + // onshow_start callback - will CANCEL show if returns false + if (false === _runCallbacks("onshow_start", pane)) return; + + s.isSliding = false; // just in case + s.isShowing = true; // used by onopen/onclose + //s.isHidden = false; - will be set by open/close - if not cancelled + + // now show the elements + //if ($R) $R.show(); - will be shown by open/close + if (openPane === false) + close(pane, true); // true = force + else + open(pane, false, noAnimation, noAlert); // adjust all panes to fit + } + + + /** + * Toggles a pane open/closed by calling either open or close + * + * @param {string|Object} evt_or_pane The pane being toggled, ie: north, south, east, or west + * @param {boolean=} [slide=false] + */ +, toggle = function (evt_or_pane, slide) { + if (!isInitialized()) return; + var evt = evtObj(evt_or_pane) + , pane = evtPane.call(this, evt_or_pane) + , s = state[pane] + ; + if (evt) // called from to $R.dblclick OR triggerPaneEvent + evt.stopImmediatePropagation(); + if (s.isHidden) + show(pane); // will call 'open' after unhiding it + else if (s.isClosed) + open(pane, !!slide); + else + close(pane); + } + + + /** + * Utility method used during init or other auto-processes + * + * @param {string} pane The pane being closed + * @param {boolean=} [setHandles=false] + */ +, _closePane = function (pane, setHandles) { + var + $P = $Ps[pane] + , s = state[pane] + ; + _hidePane(pane); + s.isClosed = true; + s.isVisible = false; + // UNUSED: if (setHandles) setAsClosed(pane, true); // true = force + } + + /** + * Close the specified pane (animation optional), and resize all other panes as needed + * + * @param {string|Object} evt_or_pane The pane being closed, ie: north, south, east, or west + * @param {boolean=} [force=false] + * @param {boolean=} [noAnimation=false] + * @param {boolean=} [skipCallback=false] + */ +, close = function (evt_or_pane, force, noAnimation, skipCallback) { + var pane = evtPane.call(this, evt_or_pane); + // if pane has been initialized, but NOT the complete layout, close pane instantly + if (!state.initialized && $Ps[pane]) { + _closePane(pane); // INIT pane as closed + return; + } + if (!isInitialized()) return; + + var + $P = $Ps[pane] + , $R = $Rs[pane] + , $T = $Ts[pane] + , o = options[pane] + , s = state[pane] + , c = _c[pane] + , doFX, isShowing, isHiding, wasSliding; + + // QUEUE in case another action/animation is in progress + $N.queue(function( queueNext ){ + + if ( !$P + || (!o.closable && !s.isShowing && !s.isHiding) // invalid request // (!o.resizable && !o.closable) ??? + || (!force && s.isClosed && !s.isShowing) // already closed + ) return queueNext(); + + // onclose_start callback - will CANCEL hide if returns false + // SKIP if just 'showing' a hidden pane as 'closed' + var abort = !s.isShowing && false === _runCallbacks("onclose_start", pane); + + // transfer logic vars to temp vars + isShowing = s.isShowing; + isHiding = s.isHiding; + wasSliding = s.isSliding; + // now clear the logic vars (REQUIRED before aborting) + delete s.isShowing; + delete s.isHiding; + + if (abort) return queueNext(); + + doFX = !noAnimation && !s.isClosed && (o.fxName_close != "none"); + s.isMoving = true; + s.isClosed = true; + s.isVisible = false; + // update isHidden BEFORE sizing panes + if (isHiding) s.isHidden = true; + else if (isShowing) s.isHidden = false; + + if (s.isSliding) // pane is being closed, so UNBIND trigger events + bindStopSlidingEvents(pane, false); // will set isSliding=false + else // resize panes adjacent to this one + sizeMidPanes(_c[pane].dir === "horz" ? "" : "center", false); // false = NOT skipCallback + + // if this pane has a resizer bar, move it NOW - before animation + setAsClosed(pane); + + // CLOSE THE PANE + if (doFX) { // animate the close + // mask panes with objects + var masks = "center"+ (c.dir=="horz" ? ",west,east" : ""); + showMasks( masks, true ); // true = ONLY mask panes with maskObjects=true + lockPaneForFX(pane, true); // need to set left/top so animation will work + $P.hide( o.fxName_close, o.fxSettings_close, o.fxSpeed_close, function () { + lockPaneForFX(pane, false); // undo + if (s.isClosed) close_2(); + queueNext(); + }); + } + else { // hide the pane without animation + _hidePane(pane); + close_2(); + queueNext(); + }; + }); + + // SUBROUTINE + function close_2 () { + s.isMoving = false; + bindStartSlidingEvent(pane, true); // will enable if o.slidable = true + + // if opposite-pane was autoClosed, see if it can be autoOpened now + var altPane = _c.oppositeEdge[pane]; + if (state[ altPane ].noRoom) { + setSizeLimits( altPane ); + makePaneFit( altPane ); + } + + // hide any masks shown while closing + hideMasks(); + + if (!skipCallback && (state.initialized || o.triggerEventsOnLoad)) { + // onclose callback - UNLESS just 'showing' a hidden pane as 'closed' + if (!isShowing) _runCallbacks("onclose_end", pane); + // onhide OR onshow callback + if (isShowing) _runCallbacks("onshow_end", pane); + if (isHiding) _runCallbacks("onhide_end", pane); + } + } + } + + /** + * @param {string} pane The pane just closed, ie: north, south, east, or west + */ +, setAsClosed = function (pane) { + var + $P = $Ps[pane] + , $R = $Rs[pane] + , $T = $Ts[pane] + , o = options[pane] + , s = state[pane] + , side = _c[pane].side.toLowerCase() + , inset = "inset"+ _c[pane].side + , rClass = o.resizerClass + , tClass = o.togglerClass + , _pane = "-"+ pane // used for classNames + , _open = "-open" + , _sliding= "-sliding" + , _closed = "-closed" + ; + $R + .css(side, sC[inset]) // move the resizer + .removeClass( rClass+_open +" "+ rClass+_pane+_open ) + .removeClass( rClass+_sliding +" "+ rClass+_pane+_sliding ) + .addClass( rClass+_closed +" "+ rClass+_pane+_closed ) + .unbind("dblclick."+ sID) + ; + // DISABLE 'resizing' when closed - do this BEFORE bindStartSlidingEvent? + if (o.resizable && $.layout.plugins.draggable) + $R + .draggable("disable") + .removeClass("ui-state-disabled") // do NOT apply disabled styling - not suitable here + .css("cursor", "default") + .attr("title","") + ; + + // if pane has a toggler button, adjust that too + if ($T) { + $T + .removeClass( tClass+_open +" "+ tClass+_pane+_open ) + .addClass( tClass+_closed +" "+ tClass+_pane+_closed ) + .attr("title", o.tips.Open) // may be blank + ; + // toggler-content - if exists + $T.children(".content-open").hide(); + $T.children(".content-closed").css("display","block"); + } + + // sync any 'pin buttons' + syncPinBtns(pane, false); + + if (state.initialized) { + // resize 'length' and position togglers for adjacent panes + sizeHandles(); + } + } + + /** + * Open the specified pane (animation optional), and resize all other panes as needed + * + * @param {string|Object} evt_or_pane The pane being opened, ie: north, south, east, or west + * @param {boolean=} [slide=false] + * @param {boolean=} [noAnimation=false] + * @param {boolean=} [noAlert=false] + */ +, open = function (evt_or_pane, slide, noAnimation, noAlert) { + if (!isInitialized()) return; + var pane = evtPane.call(this, evt_or_pane) + , $P = $Ps[pane] + , $R = $Rs[pane] + , $T = $Ts[pane] + , o = options[pane] + , s = state[pane] + , c = _c[pane] + , doFX, isShowing + ; + // QUEUE in case another action/animation is in progress + $N.queue(function( queueNext ){ + + if ( !$P + || (!o.resizable && !o.closable && !s.isShowing) // invalid request + || (s.isVisible && !s.isSliding) // already open + ) return queueNext(); + + // pane can ALSO be unhidden by just calling show(), so handle this scenario + if (s.isHidden && !s.isShowing) { + queueNext(); // call before show() because it needs the queue free + show(pane, true); + return; + } + + if (o.autoResize && s.size != o.size) // resize pane to original size set in options + sizePane(pane, o.size, true, true, true); // true=skipCallback/forceResize/noAnimation + else + // make sure there is enough space available to open the pane + setSizeLimits(pane, slide); + + // onopen_start callback - will CANCEL open if returns false + var cbReturn = _runCallbacks("onopen_start", pane); + + if (cbReturn === "abort") + return queueNext(); + + // update pane-state again in case options were changed in onopen_start + if (cbReturn !== "NC") // NC = "No Callback" + setSizeLimits(pane, slide); + + if (s.minSize > s.maxSize) { // INSUFFICIENT ROOM FOR PANE TO OPEN! + syncPinBtns(pane, false); // make sure pin-buttons are reset + if (!noAlert && o.tips.noRoomToOpen) + alert(o.tips.noRoomToOpen); + return queueNext(); // ABORT + } + + if (slide) // START Sliding - will set isSliding=true + bindStopSlidingEvents(pane, true); // BIND trigger events to close sliding-pane + else if (s.isSliding) // PIN PANE (stop sliding) - open pane 'normally' instead + bindStopSlidingEvents(pane, false); // UNBIND trigger events - will set isSliding=false + else if (o.slidable) + bindStartSlidingEvent(pane, false); // UNBIND trigger events + + s.noRoom = false; // will be reset by makePaneFit if 'noRoom' + makePaneFit(pane); + + // transfer logic var to temp var + isShowing = s.isShowing; + // now clear the logic var + delete s.isShowing; + + doFX = !noAnimation && s.isClosed && (o.fxName_open != "none"); + s.isMoving = true; + s.isVisible = true; + s.isClosed = false; + // update isHidden BEFORE sizing panes - WHY??? Old? + if (isShowing) s.isHidden = false; + + if (doFX) { // ANIMATE + // mask panes with objects + var masks = "center"+ (c.dir=="horz" ? ",west,east" : ""); + if (s.isSliding) masks += ","+ _c.oppositeEdge[pane]; + showMasks( masks, true ); // true = ONLY mask panes with maskObjects=true + lockPaneForFX(pane, true); // need to set left/top so animation will work + $P.show( o.fxName_open, o.fxSettings_open, o.fxSpeed_open, function() { + lockPaneForFX(pane, false); // undo + if (s.isVisible) open_2(); // continue + queueNext(); + }); + } + else { // no animation + _showPane(pane);// just show pane and... + open_2(); // continue + queueNext(); + }; + }); + + // SUBROUTINE + function open_2 () { + s.isMoving = false; + + // cure iframe display issues + _fixIframe(pane); + + // NOTE: if isSliding, then other panes are NOT 'resized' + if (!s.isSliding) { // resize all panes adjacent to this one + hideMasks(); // remove any masks shown while opening + sizeMidPanes(_c[pane].dir=="vert" ? "center" : "", false); // false = NOT skipCallback + } + + // set classes, position handles and execute callbacks... + setAsOpen(pane); + }; + + } + + /** + * @param {string} pane The pane just opened, ie: north, south, east, or west + * @param {boolean=} [skipCallback=false] + */ +, setAsOpen = function (pane, skipCallback) { + var + $P = $Ps[pane] + , $R = $Rs[pane] + , $T = $Ts[pane] + , o = options[pane] + , s = state[pane] + , side = _c[pane].side.toLowerCase() + , inset = "inset"+ _c[pane].side + , rClass = o.resizerClass + , tClass = o.togglerClass + , _pane = "-"+ pane // used for classNames + , _open = "-open" + , _closed = "-closed" + , _sliding= "-sliding" + ; + $R + .css(side, sC[inset] + getPaneSize(pane)) // move the resizer + .removeClass( rClass+_closed +" "+ rClass+_pane+_closed ) + .addClass( rClass+_open +" "+ rClass+_pane+_open ) + ; + if (s.isSliding) + $R.addClass( rClass+_sliding +" "+ rClass+_pane+_sliding ) + else // in case 'was sliding' + $R.removeClass( rClass+_sliding +" "+ rClass+_pane+_sliding ) + + if (o.resizerDblClickToggle) + $R.bind("dblclick", toggle ); + removeHover( 0, $R ); // remove hover classes + if (o.resizable && $.layout.plugins.draggable) + $R .draggable("enable") + .css("cursor", o.resizerCursor) + .attr("title", o.tips.Resize); + else if (!s.isSliding) + $R.css("cursor", "default"); // n-resize, s-resize, etc + + // if pane also has a toggler button, adjust that too + if ($T) { + $T .removeClass( tClass+_closed +" "+ tClass+_pane+_closed ) + .addClass( tClass+_open +" "+ tClass+_pane+_open ) + .attr("title", o.tips.Close); // may be blank + removeHover( 0, $T ); // remove hover classes + // toggler-content - if exists + $T.children(".content-closed").hide(); + $T.children(".content-open").css("display","block"); + } + + // sync any 'pin buttons' + syncPinBtns(pane, !s.isSliding); + + // update pane-state dimensions - BEFORE resizing content + $.extend(s, elDims($P)); + + if (state.initialized) { + // resize resizer & toggler sizes for all panes + sizeHandles(); + // resize content every time pane opens - to be sure + sizeContent(pane, true); // true = remeasure headers/footers, even if 'pane.isMoving' + } + + if (!skipCallback && (state.initialized || o.triggerEventsOnLoad) && $P.is(":visible")) { + // onopen callback + _runCallbacks("onopen_end", pane); + // onshow callback - TODO: should this be here? + if (s.isShowing) _runCallbacks("onshow_end", pane); + + // ALSO call onresize because layout-size *may* have changed while pane was closed + if (state.initialized) + _runCallbacks("onresize_end", pane); + } + + // TODO: Somehow sizePane("north") is being called after this point??? + } + + + /** + * slideOpen / slideClose / slideToggle + * + * Pass-though methods for sliding + */ +, slideOpen = function (evt_or_pane) { + if (!isInitialized()) return; + var evt = evtObj(evt_or_pane) + , pane = evtPane.call(this, evt_or_pane) + , s = state[pane] + , delay = options[pane].slideDelay_open + ; + // prevent event from triggering on NEW resizer binding created below + if (evt) evt.stopImmediatePropagation(); + + if (s.isClosed && evt && evt.type === "mouseenter" && delay > 0) + // trigger = mouseenter - use a delay + timer.set(pane+"_openSlider", open_NOW, delay); + else + open_NOW(); // will unbind events if is already open + + /** + * SUBROUTINE for timed open + */ + function open_NOW () { + if (!s.isClosed) // skip if no longer closed! + bindStopSlidingEvents(pane, true); // BIND trigger events to close sliding-pane + else if (!s.isMoving) + open(pane, true); // true = slide - open() will handle binding + }; + } + +, slideClose = function (evt_or_pane) { + if (!isInitialized()) return; + var evt = evtObj(evt_or_pane) + , pane = evtPane.call(this, evt_or_pane) + , o = options[pane] + , s = state[pane] + , delay = s.isMoving ? 1000 : 300 // MINIMUM delay - option may override + ; + if (s.isClosed || s.isResizing) + return; // skip if already closed OR in process of resizing + else if (o.slideTrigger_close === "click") + close_NOW(); // close immediately onClick + else if (o.preventQuickSlideClose && s.isMoving) + return; // handle Chrome quick-close on slide-open + else if (o.preventPrematureSlideClose && evt && $.layout.isMouseOverElem(evt, $Ps[pane])) + return; // handle incorrect mouseleave trigger, like when over a SELECT-list in IE + else if (evt) // trigger = mouseleave - use a delay + // 1 sec delay if 'opening', else .3 sec + timer.set(pane+"_closeSlider", close_NOW, max(o.slideDelay_close, delay)); + else // called programically + close_NOW(); + + /** + * SUBROUTINE for timed close + */ + function close_NOW () { + if (s.isClosed) // skip 'close' if already closed! + bindStopSlidingEvents(pane, false); // UNBIND trigger events - TODO: is this needed here? + else if (!s.isMoving) + close(pane); // close will handle unbinding + }; + } + + /** + * @param {string|Object} evt_or_pane The pane being opened, ie: north, south, east, or west + */ +, slideToggle = function (evt_or_pane) { + var pane = evtPane.call(this, evt_or_pane); + toggle(pane, true); + } + + + /** + * Must set left/top on East/South panes so animation will work properly + * + * @param {string} pane The pane to lock, 'east' or 'south' - any other is ignored! + * @param {boolean} doLock true = set left/top, false = remove + */ +, lockPaneForFX = function (pane, doLock) { + var $P = $Ps[pane] + , s = state[pane] + , o = options[pane] + , z = options.zIndexes + ; + if (doLock) { + $P.css({ zIndex: z.pane_animate }); // overlay all elements during animation + if (pane=="south") + $P.css({ top: sC.insetTop + sC.innerHeight - $P.outerHeight() }); + else if (pane=="east") + $P.css({ left: sC.insetLeft + sC.innerWidth - $P.outerWidth() }); + } + else { // animation DONE - RESET CSS + // TODO: see if this can be deleted. It causes a quick-close when sliding in Chrome + $P.css({ zIndex: (s.isSliding ? z.pane_sliding : z.pane_normal) }); + if (pane=="south") + $P.css({ top: "auto" }); + // if pane is positioned 'off-screen', then DO NOT screw with it! + else if (pane=="east" && !$P.css("left").match(/\-99999/)) + $P.css({ left: "auto" }); + // fix anti-aliasing in IE - only needed for animations that change opacity + if (browser.msie && o.fxOpacityFix && o.fxName_open != "slide" && $P.css("filter") && $P.css("opacity") == 1) + $P[0].style.removeAttribute('filter'); + } + } + + + /** + * Toggle sliding functionality of a specific pane on/off by adding removing 'slide open' trigger + * + * @see open(), close() + * @param {string} pane The pane to enable/disable, 'north', 'south', etc. + * @param {boolean} enable Enable or Disable sliding? + */ +, bindStartSlidingEvent = function (pane, enable) { + var o = options[pane] + , $P = $Ps[pane] + , $R = $Rs[pane] + , evtName = o.slideTrigger_open.toLowerCase() + ; + if (!$R || (enable && !o.slidable)) return; + + // make sure we have a valid event + if (evtName.match(/mouseover/)) + evtName = o.slideTrigger_open = "mouseenter"; + else if (!evtName.match(/(click|dblclick|mouseenter)/)) + evtName = o.slideTrigger_open = "click"; + + $R + // add or remove event + [enable ? "bind" : "unbind"](evtName +'.'+ sID, slideOpen) + // set the appropriate cursor & title/tip + .css("cursor", enable ? o.sliderCursor : "default") + .attr("title", enable ? o.tips.Slide : "") + ; + } + + /** + * Add or remove 'mouseleave' events to 'slide close' when pane is 'sliding' open or closed + * Also increases zIndex when pane is sliding open + * See bindStartSlidingEvent for code to control 'slide open' + * + * @see slideOpen(), slideClose() + * @param {string} pane The pane to process, 'north', 'south', etc. + * @param {boolean} enable Enable or Disable events? + */ +, bindStopSlidingEvents = function (pane, enable) { + var o = options[pane] + , s = state[pane] + , c = _c[pane] + , z = options.zIndexes + , evtName = o.slideTrigger_close.toLowerCase() + , action = (enable ? "bind" : "unbind") + , $P = $Ps[pane] + , $R = $Rs[pane] + ; + s.isSliding = enable; // logic + timer.clear(pane+"_closeSlider"); // just in case + + // remove 'slideOpen' event from resizer + // ALSO will raise the zIndex of the pane & resizer + if (enable) bindStartSlidingEvent(pane, false); + + // RE/SET zIndex - increases when pane is sliding-open, resets to normal when not + $P.css("zIndex", enable ? z.pane_sliding : z.pane_normal); + $R.css("zIndex", enable ? z.pane_sliding+2 : z.resizer_normal); // NOTE: mask = pane_sliding+1 + + // make sure we have a valid event + if (!evtName.match(/(click|mouseleave)/)) + evtName = o.slideTrigger_close = "mouseleave"; // also catches 'mouseout' + + // add/remove slide triggers + $R[action](evtName, slideClose); // base event on resize + // need extra events for mouseleave + if (evtName === "mouseleave") { + // also close on pane.mouseleave + $P[action]("mouseleave."+ sID, slideClose); + // cancel timer when mouse moves between 'pane' and 'resizer' + $R[action]("mouseenter."+ sID, cancelMouseOut); + $P[action]("mouseenter."+ sID, cancelMouseOut); + } + + if (!enable) + timer.clear(pane+"_closeSlider"); + else if (evtName === "click" && !o.resizable) { + // IF pane is not resizable (which already has a cursor and tip) + // then set the a cursor & title/tip on resizer when sliding + $R.css("cursor", enable ? o.sliderCursor : "default"); + $R.attr("title", enable ? o.tips.Close : ""); // use Toggler-tip, eg: "Close Pane" + } + + // SUBROUTINE for mouseleave timer clearing + function cancelMouseOut (evt) { + timer.clear(pane+"_closeSlider"); + evt.stopPropagation(); + } + } + + + /** + * Hides/closes a pane if there is insufficient room - reverses this when there is room again + * MUST have already called setSizeLimits() before calling this method + * + * @param {string} pane The pane being resized + * @param {boolean=} [isOpening=false] Called from onOpen? + * @param {boolean=} [skipCallback=false] Should the onresize callback be run? + * @param {boolean=} [force=false] + */ +, makePaneFit = function (pane, isOpening, skipCallback, force) { + var + o = options[pane] + , s = state[pane] + , c = _c[pane] + , $P = $Ps[pane] + , $R = $Rs[pane] + , isSidePane = c.dir==="vert" + , hasRoom = false + ; + // special handling for center & east/west panes + if (pane === "center" || (isSidePane && s.noVerticalRoom)) { + // see if there is enough room to display the pane + // ERROR: hasRoom = s.minHeight <= s.maxHeight && (isSidePane || s.minWidth <= s.maxWidth); + hasRoom = (s.maxHeight >= 0); + if (hasRoom && s.noRoom) { // previously hidden due to noRoom, so show now + _showPane(pane); + if ($R) $R.show(); + s.isVisible = true; + s.noRoom = false; + if (isSidePane) s.noVerticalRoom = false; + _fixIframe(pane); + } + else if (!hasRoom && !s.noRoom) { // not currently hidden, so hide now + _hidePane(pane); + if ($R) $R.hide(); + s.isVisible = false; + s.noRoom = true; + } + } + + // see if there is enough room to fit the border-pane + if (pane === "center") { + // ignore center in this block + } + else if (s.minSize <= s.maxSize) { // pane CAN fit + hasRoom = true; + if (s.size > s.maxSize) // pane is too big - shrink it + sizePane(pane, s.maxSize, skipCallback, force, true); // true = noAnimation + else if (s.size < s.minSize) // pane is too small - enlarge it + sizePane(pane, s.minSize, skipCallback, force, true); + // need s.isVisible because new pseudoClose method keeps pane visible, but off-screen + else if ($R && s.isVisible && $P.is(":visible")) { + // make sure resizer-bar is positioned correctly + // handles situation where nested layout was 'hidden' when initialized + var side = c.side.toLowerCase() + , pos = s.size + sC["inset"+ c.side] + ; + if ($.layout.cssNum($R, side) != pos) $R.css( side, pos ); + } + + // if was previously hidden due to noRoom, then RESET because NOW there is room + if (s.noRoom) { + // s.noRoom state will be set by open or show + if (s.wasOpen && o.closable) { + if (o.autoReopen) + open(pane, false, true, true); // true = noAnimation, true = noAlert + else // leave the pane closed, so just update state + s.noRoom = false; + } + else + show(pane, s.wasOpen, true, true); // true = noAnimation, true = noAlert + } + } + else { // !hasRoom - pane CANNOT fit + if (!s.noRoom) { // pane not set as noRoom yet, so hide or close it now... + s.noRoom = true; // update state + s.wasOpen = !s.isClosed && !s.isSliding; + if (s.isClosed){} // SKIP + else if (o.closable) // 'close' if possible + close(pane, true, true); // true = force, true = noAnimation + else // 'hide' pane if cannot just be closed + hide(pane, true); // true = noAnimation + } + } + } + + + /** + * sizePane / manualSizePane + * sizePane is called only by internal methods whenever a pane needs to be resized + * manualSizePane is an exposed flow-through method allowing extra code when pane is 'manually resized' + * + * @param {string|Object} evt_or_pane The pane being resized + * @param {number} size The *desired* new size for this pane - will be validated + * @param {boolean=} [skipCallback=false] Should the onresize callback be run? + * @param {boolean=} [noAnimation=false] + */ +, manualSizePane = function (evt_or_pane, size, skipCallback, noAnimation) { + if (!isInitialized()) return; + var pane = evtPane.call(this, evt_or_pane) + , o = options[pane] + , s = state[pane] + // if resizing callbacks have been delayed and resizing is now DONE, force resizing to complete... + , forceResize = o.livePaneResizing && !s.isResizing + ; + // ANY call to manualSizePane disables autoResize - ie, percentage sizing + o.autoResize = false; + // flow-through... + sizePane(pane, size, skipCallback, forceResize, noAnimation); // will animate resize if option enabled + } + + /** + * @param {string|Object} evt_or_pane The pane being resized + * @param {number} size The *desired* new size for this pane - will be validated + * @param {boolean=} [skipCallback=false] Should the onresize callback be run? + * @param {boolean=} [force=false] Force resizing even if does not seem necessary + * @param {boolean=} [noAnimation=false] + */ +, sizePane = function (evt_or_pane, size, skipCallback, force, noAnimation) { + if (!isInitialized()) return; + var pane = evtPane.call(this, evt_or_pane) // probably NEVER called from event? + , o = options[pane] + , s = state[pane] + , $P = $Ps[pane] + , $R = $Rs[pane] + , side = _c[pane].side.toLowerCase() + , dimName = _c[pane].sizeType.toLowerCase() + , inset = "inset"+ _c[pane].side + , skipResizeWhileDragging = s.isResizing && !o.triggerEventsDuringLiveResize + , doFX = noAnimation !== true && o.animatePaneSizing + , oldSize, newSize + ; + // QUEUE in case another action/animation is in progress + $N.queue(function( queueNext ){ + // calculate 'current' min/max sizes + setSizeLimits(pane); // update pane-state + oldSize = s.size; + size = _parseSize(pane, size); // handle percentages & auto + size = max(size, _parseSize(pane, o.minSize)); + size = min(size, s.maxSize); + if (size < s.minSize) { // not enough room for pane! + queueNext(); // call before makePaneFit() because it needs the queue free + makePaneFit(pane, false, skipCallback); // will hide or close pane + return; + } + + // IF newSize is same as oldSize, then nothing to do - abort + if (!force && size === oldSize) + return queueNext(); + + // onresize_start callback CANNOT cancel resizing because this would break the layout! + if (!skipCallback && state.initialized && s.isVisible) + _runCallbacks("onresize_start", pane); + + // resize the pane, and make sure its visible + newSize = cssSize(pane, size); + + if (doFX && $P.is(":visible")) { // ANIMATE + var fx = $.layout.effects.size[pane] || $.layout.effects.size.all + , easing = o.fxSettings_size.easing || fx.easing + , z = options.zIndexes + , props = {}; + props[ dimName ] = newSize +'px'; + s.isMoving = true; + // overlay all elements during animation + $P.css({ zIndex: z.pane_animate }) + .show().animate( props, o.fxSpeed_size, easing, function(){ + // reset zIndex after animation + $P.css({ zIndex: (s.isSliding ? z.pane_sliding : z.pane_normal) }); + s.isMoving = false; + sizePane_2(); // continue + queueNext(); + }); + } + else { // no animation + $P.css( dimName, newSize ); // resize pane + // if pane is visible, then + if ($P.is(":visible")) + sizePane_2(); // continue + else { + // pane is NOT VISIBLE, so just update state data... + // when pane is *next opened*, it will have the new size + s.size = size; // update state.size + $.extend(s, elDims($P)); // update state dimensions + } + queueNext(); + }; + + }); + + // SUBROUTINE + function sizePane_2 () { + /* Panes are sometimes not sized precisely in some browsers!? + * This code will resize the pane up to 3 times to nudge the pane to the correct size + */ + var actual = dimName==='width' ? $P.outerWidth() : $P.outerHeight() + , tries = [{ + pane: pane + , count: 1 + , target: size + , actual: actual + , correct: (size === actual) + , attempt: size + , cssSize: newSize + }] + , lastTry = tries[0] + , thisTry = {} + , msg = 'Inaccurate size after resizing the '+ pane +'-pane.' + ; + while ( !lastTry.correct ) { + thisTry = { pane: pane, count: lastTry.count+1, target: size }; + + if (lastTry.actual > size) + thisTry.attempt = max(0, lastTry.attempt - (lastTry.actual - size)); + else // lastTry.actual < size + thisTry.attempt = max(0, lastTry.attempt + (size - lastTry.actual)); + + thisTry.cssSize = cssSize(pane, thisTry.attempt); + $P.css( dimName, thisTry.cssSize ); + + thisTry.actual = dimName=='width' ? $P.outerWidth() : $P.outerHeight(); + thisTry.correct = (size === thisTry.actual); + + // log attempts and alert the user of this *non-fatal error* (if showDebugMessages) + if ( tries.length === 1) { + _log(msg, false, true); + _log(lastTry, false, true); + } + _log(thisTry, false, true); + // after 4 tries, is as close as its gonna get! + if (tries.length > 3) break; + + tries.push( thisTry ); + lastTry = tries[ tries.length - 1 ]; + } + // END TESTING CODE + + // update pane-state dimensions + s.size = size; + $.extend(s, elDims($P)); + + if (s.isVisible && $P.is(":visible")) { + // reposition the resizer-bar + if ($R) $R.css( side, size + sC[inset] ); + // resize the content-div + sizeContent(pane); + } + + if (!skipCallback && !skipResizeWhileDragging && state.initialized && s.isVisible) + _runCallbacks("onresize_end", pane); + + // resize all the adjacent panes, and adjust their toggler buttons + // when skipCallback passed, it means the controlling method will handle 'other panes' + if (!skipCallback) { + // also no callback if live-resize is in progress and NOT triggerEventsDuringLiveResize + if (!s.isSliding) sizeMidPanes(_c[pane].dir=="horz" ? "" : "center", skipResizeWhileDragging, force); + sizeHandles(); + } + + // if opposite-pane was autoClosed, see if it can be autoOpened now + var altPane = _c.oppositeEdge[pane]; + if (size < oldSize && state[ altPane ].noRoom) { + setSizeLimits( altPane ); + makePaneFit( altPane, false, skipCallback ); + } + + // DEBUG - ALERT user/developer so they know there was a sizing problem + if (tries.length > 1) + _log(msg +'\nSee the Error Console for details.', true, true); + } + } + + /** + * @see initPanes(), sizePane(), resizeAll(), open(), close(), hide() + * @param {Array.|string} panes The pane(s) being resized, comma-delmited string + * @param {boolean=} [skipCallback=false] Should the onresize callback be run? + * @param {boolean=} [force=false] + */ +, sizeMidPanes = function (panes, skipCallback, force) { + panes = (panes ? panes : "east,west,center").split(","); + + $.each(panes, function (i, pane) { + if (!$Ps[pane]) return; // NO PANE - skip + var + o = options[pane] + , s = state[pane] + , $P = $Ps[pane] + , $R = $Rs[pane] + , isCenter= (pane=="center") + , hasRoom = true + , CSS = {} + , newCenter = calcNewCenterPaneDims() + ; + // update pane-state dimensions + $.extend(s, elDims($P)); + + if (pane === "center") { + if (!force && s.isVisible && newCenter.width === s.outerWidth && newCenter.height === s.outerHeight) + return true; // SKIP - pane already the correct size + // set state for makePaneFit() logic + $.extend(s, cssMinDims(pane), { + maxWidth: newCenter.width + , maxHeight: newCenter.height + }); + CSS = newCenter; + // convert OUTER width/height to CSS width/height + CSS.width = cssW($P, CSS.width); + // NEW - allow pane to extend 'below' visible area rather than hide it + CSS.height = cssH($P, CSS.height); + hasRoom = CSS.width >= 0 && CSS.height >= 0; // height >= 0 = ALWAYS TRUE NOW + // during layout init, try to shrink east/west panes to make room for center + if (!state.initialized && o.minWidth > s.outerWidth) { + var + reqPx = o.minWidth - s.outerWidth + , minE = options.east.minSize || 0 + , minW = options.west.minSize || 0 + , sizeE = state.east.size + , sizeW = state.west.size + , newE = sizeE + , newW = sizeW + ; + if (reqPx > 0 && state.east.isVisible && sizeE > minE) { + newE = max( sizeE-minE, sizeE-reqPx ); + reqPx -= sizeE-newE; + } + if (reqPx > 0 && state.west.isVisible && sizeW > minW) { + newW = max( sizeW-minW, sizeW-reqPx ); + reqPx -= sizeW-newW; + } + // IF we found enough extra space, then resize the border panes as calculated + if (reqPx === 0) { + if (sizeE && sizeE != minE) + sizePane('east', newE, true, force, true); // true = skipCallback/noAnimation - initPanes will handle when done + if (sizeW && sizeW != minW) + sizePane('west', newW, true, force, true); + // now start over! + sizeMidPanes('center', skipCallback, force); + return; // abort this loop + } + } + } + else { // for east and west, set only the height, which is same as center height + // set state.min/maxWidth/Height for makePaneFit() logic + if (s.isVisible && !s.noVerticalRoom) + $.extend(s, elDims($P), cssMinDims(pane)) + if (!force && !s.noVerticalRoom && newCenter.height === s.outerHeight) + return true; // SKIP - pane already the correct size + // east/west have same top, bottom & height as center + CSS.top = newCenter.top; + CSS.bottom = newCenter.bottom; + // NEW - allow pane to extend 'below' visible area rather than hide it + CSS.height = cssH($P, newCenter.height); + s.maxHeight = CSS.height; + hasRoom = (s.maxHeight >= 0); // ALWAYS TRUE NOW + if (!hasRoom) s.noVerticalRoom = true; // makePaneFit() logic + } + + if (hasRoom) { + // resizeAll passes skipCallback because it triggers callbacks after ALL panes are resized + if (!skipCallback && state.initialized) + _runCallbacks("onresize_start", pane); + + $P.css(CSS); // apply the CSS to pane + if (pane !== "center") + sizeHandles(pane); // also update resizer length + if (s.noRoom && !s.isClosed && !s.isHidden) + makePaneFit(pane); // will re-open/show auto-closed/hidden pane + if (s.isVisible) { + $.extend(s, elDims($P)); // update pane dimensions + if (state.initialized) sizeContent(pane); // also resize the contents, if exists + } + } + else if (!s.noRoom && s.isVisible) // no room for pane + makePaneFit(pane); // will hide or close pane + + if (!s.isVisible) + return true; // DONE - next pane + + /* + * Extra CSS for IE6 or IE7 in Quirks-mode - add 'width' to NORTH/SOUTH panes + * Normally these panes have only 'left' & 'right' positions so pane auto-sizes + * ALSO required when pane is an IFRAME because will NOT default to 'full width' + * TODO: Can I use width:100% for a north/south iframe? + * TODO: Sounds like a job for $P.outerWidth( sC.innerWidth ) SETTER METHOD + */ + if (pane === "center") { // finished processing midPanes + var fix = browser.isIE6 || !browser.boxModel; + if ($Ps.north && (fix || state.north.tagName=="IFRAME")) + $Ps.north.css("width", cssW($Ps.north, sC.innerWidth)); + if ($Ps.south && (fix || state.south.tagName=="IFRAME")) + $Ps.south.css("width", cssW($Ps.south, sC.innerWidth)); + } + + // resizeAll passes skipCallback because it triggers callbacks after ALL panes are resized + if (!skipCallback && state.initialized) + _runCallbacks("onresize_end", pane); + }); + } + + + /** + * @see window.onresize(), callbacks or custom code + */ +, resizeAll = function (evt) { + // stopPropagation if called by trigger("layoutdestroy") - use evtPane utility + evtPane(evt); + + if (!state.initialized) { + _initLayoutElements(); + return; // no need to resize since we just initialized! + } + var oldW = sC.innerWidth + , oldH = sC.innerHeight + ; + // cannot size layout when 'container' is hidden or collapsed + if (!$N.is(":visible") ) return; + $.extend(state.container, elDims( $N )); // UPDATE container dimensions + if (!sC.outerHeight) return; + + // onresizeall_start will CANCEL resizing if returns false + // state.container has already been set, so user can access this info for calcuations + if (false === _runCallbacks("onresizeall_start")) return false; + + var // see if container is now 'smaller' than before + shrunkH = (sC.innerHeight < oldH) + , shrunkW = (sC.innerWidth < oldW) + , $P, o, s, dir + ; + // NOTE special order for sizing: S-N-E-W + $.each(["south","north","east","west"], function (i, pane) { + if (!$Ps[pane]) return; // no pane - SKIP + s = state[pane]; + o = options[pane]; + dir = _c[pane].dir; + + if (o.autoResize && s.size != o.size) // resize pane to original size set in options + sizePane(pane, o.size, true, true, true); // true=skipCallback/forceResize/noAnimation + else { + setSizeLimits(pane); + makePaneFit(pane, false, true, true); // true=skipCallback/forceResize + } + }); + + sizeMidPanes("", true, true); // true=skipCallback, true=forceResize + sizeHandles(); // reposition the toggler elements + + // trigger all individual pane callbacks AFTER layout has finished resizing + o = options; // reuse alias + $.each(_c.allPanes, function (i, pane) { + $P = $Ps[pane]; + if (!$P) return; // SKIP + if (state[pane].isVisible) // undefined for non-existent panes + _runCallbacks("onresize_end", pane); // callback - if exists + }); + + _runCallbacks("onresizeall_end"); + //_triggerLayoutEvent(pane, 'resizeall'); + } + + /** + * Whenever a pane resizes or opens that has a nested layout, trigger resizeAll + * + * @param {string|Object} evt_or_pane The pane just resized or opened + */ +, resizeChildLayout = function (evt_or_pane) { + var pane = evtPane.call(this, evt_or_pane); + if (!options[pane].resizeChildLayout) return; + var $P = $Ps[pane] + , $C = $Cs[pane] + , d = "layout" + , P = Instance[pane] + , L = children[pane] + ; + // user may have manually set EITHER instance pointer, so handle that + if (P.child && !L) { + // have to reverse the pointers! + var el = P.child.container; + L = children[pane] = (el ? el.data(d) : 0) || null; // set pointer _directly_ to layout instance + } + + // if a layout-pointer exists, see if child has been destroyed + if (L && L.destroyed) + L = children[pane] = null; // clear child pointers + // no child layout pointer is set - see if there is a child layout NOW + if (!L) L = children[pane] = $P.data(d) || ($C ? $C.data(d) : 0) || null; // set/update child pointers + + // ALWAYS refresh the pane.child alias + P.child = children[pane]; + + if (L) L.resizeAll(); + } + + + /** + * IF pane has a content-div, then resize all elements inside pane to fit pane-height + * + * @param {string|Object} evt_or_panes The pane(s) being resized + * @param {boolean=} [remeasure=false] Should the content (header/footer) be remeasured? + */ +, sizeContent = function (evt_or_panes, remeasure) { + if (!isInitialized()) return; + + var panes = evtPane.call(this, evt_or_panes); + panes = panes ? panes.split(",") : _c.allPanes; + + $.each(panes, function (idx, pane) { + var + $P = $Ps[pane] + , $C = $Cs[pane] + , o = options[pane] + , s = state[pane] + , m = s.content // m = measurements + ; + if (!$P || !$C || !$P.is(":visible")) return true; // NOT VISIBLE - skip + + // if content-element was REMOVED, update OR remove the pointer + if (!$C.length) { + initContent(pane, false); // false = do NOT sizeContent() - already there! + if (!$C) return; // no replacement element found - pointer have been removed + } + + // onsizecontent_start will CANCEL resizing if returns false + if (false === _runCallbacks("onsizecontent_start", pane)) return; + + // skip re-measuring offsets if live-resizing + if ((!s.isMoving && !s.isResizing) || o.liveContentResizing || remeasure || m.top == undefined) { + _measure(); + // if any footers are below pane-bottom, they may not measure correctly, + // so allow pane overflow and re-measure + if (m.hiddenFooters > 0 && $P.css("overflow") === "hidden") { + $P.css("overflow", "visible"); + _measure(); // remeasure while overflowing + $P.css("overflow", "hidden"); + } + } + // NOTE: spaceAbove/Below *includes* the pane paddingTop/Bottom, but not pane.borders + var newH = s.innerHeight - (m.spaceAbove - s.css.paddingTop) - (m.spaceBelow - s.css.paddingBottom); + + if (!$C.is(":visible") || m.height != newH) { + // size the Content element to fit new pane-size - will autoHide if not enough room + setOuterHeight($C, newH, true); // true=autoHide + m.height = newH; // save new height + }; + + if (state.initialized) + _runCallbacks("onsizecontent_end", pane); + + function _below ($E) { + return max(s.css.paddingBottom, (parseInt($E.css("marginBottom"), 10) || 0)); + }; + + function _measure () { + var + ignore = options[pane].contentIgnoreSelector + , $Fs = $C.nextAll().not(ignore || ':lt(0)') // not :lt(0) = ALL + , $Fs_vis = $Fs.filter(':visible') + , $F = $Fs_vis.filter(':last') + ; + m = { + top: $C[0].offsetTop + , height: $C.outerHeight() + , numFooters: $Fs.length + , hiddenFooters: $Fs.length - $Fs_vis.length + , spaceBelow: 0 // correct if no content footer ($E) + } + m.spaceAbove = m.top; // just for state - not used in calc + m.bottom = m.top + m.height; + if ($F.length) + //spaceBelow = (LastFooter.top + LastFooter.height) [footerBottom] - Content.bottom + max(LastFooter.marginBottom, pane.paddingBotom) + m.spaceBelow = ($F[0].offsetTop + $F.outerHeight()) - m.bottom + _below($F); + else // no footer - check marginBottom on Content element itself + m.spaceBelow = _below($C); + }; + }); + } + + + /** + * Called every time a pane is opened, closed, or resized to slide the togglers to 'center' and adjust their length if necessary + * + * @see initHandles(), open(), close(), resizeAll() + * @param {string|Object} evt_or_panes The pane(s) being resized + */ +, sizeHandles = function (evt_or_panes) { + var panes = evtPane.call(this, evt_or_panes) + panes = panes ? panes.split(",") : _c.borderPanes; + + $.each(panes, function (i, pane) { + var + o = options[pane] + , s = state[pane] + , $P = $Ps[pane] + , $R = $Rs[pane] + , $T = $Ts[pane] + , $TC + ; + if (!$P || !$R) return; + + var + dir = _c[pane].dir + , _state = (s.isClosed ? "_closed" : "_open") + , spacing = o["spacing"+ _state] + , togAlign = o["togglerAlign"+ _state] + , togLen = o["togglerLength"+ _state] + , paneLen + , left + , offset + , CSS = {} + ; + + if (spacing === 0) { + $R.hide(); + return; + } + else if (!s.noRoom && !s.isHidden) // skip if resizer was hidden for any reason + $R.show(); // in case was previously hidden + + // Resizer Bar is ALWAYS same width/height of pane it is attached to + if (dir === "horz") { // north/south + //paneLen = $P.outerWidth(); // s.outerWidth || + paneLen = sC.innerWidth; // handle offscreen-panes + s.resizerLength = paneLen; + left = $.layout.cssNum($P, "left") + $R.css({ + width: cssW($R, paneLen) // account for borders & padding + , height: cssH($R, spacing) // ditto + , left: left > -9999 ? left : sC.insetLeft // handle offscreen-panes + }); + } + else { // east/west + paneLen = $P.outerHeight(); // s.outerHeight || + s.resizerLength = paneLen; + $R.css({ + height: cssH($R, paneLen) // account for borders & padding + , width: cssW($R, spacing) // ditto + , top: sC.insetTop + getPaneSize("north", true) // TODO: what if no North pane? + //, top: $.layout.cssNum($Ps["center"], "top") + }); + } + + // remove hover classes + removeHover( o, $R ); + + if ($T) { + if (togLen === 0 || (s.isSliding && o.hideTogglerOnSlide)) { + $T.hide(); // always HIDE the toggler when 'sliding' + return; + } + else + $T.show(); // in case was previously hidden + + if (!(togLen > 0) || togLen === "100%" || togLen > paneLen) { + togLen = paneLen; + offset = 0; + } + else { // calculate 'offset' based on options.PANE.togglerAlign_open/closed + if (isStr(togAlign)) { + switch (togAlign) { + case "top": + case "left": offset = 0; + break; + case "bottom": + case "right": offset = paneLen - togLen; + break; + case "middle": + case "center": + default: offset = round((paneLen - togLen) / 2); // 'default' catches typos + } + } + else { // togAlign = number + var x = parseInt(togAlign, 10); // + if (togAlign >= 0) offset = x; + else offset = paneLen - togLen + x; // NOTE: x is negative! + } + } + + if (dir === "horz") { // north/south + var width = cssW($T, togLen); + $T.css({ + width: width // account for borders & padding + , height: cssH($T, spacing) // ditto + , left: offset // TODO: VERIFY that toggler positions correctly for ALL values + , top: 0 + }); + // CENTER the toggler content SPAN + $T.children(".content").each(function(){ + $TC = $(this); + $TC.css("marginLeft", round((width-$TC.outerWidth())/2)); // could be negative + }); + } + else { // east/west + var height = cssH($T, togLen); + $T.css({ + height: height // account for borders & padding + , width: cssW($T, spacing) // ditto + , top: offset // POSITION the toggler + , left: 0 + }); + // CENTER the toggler content SPAN + $T.children(".content").each(function(){ + $TC = $(this); + $TC.css("marginTop", round((height-$TC.outerHeight())/2)); // could be negative + }); + } + + // remove ALL hover classes + removeHover( 0, $T ); + } + + // DONE measuring and sizing this resizer/toggler, so can be 'hidden' now + if (!state.initialized && (o.initHidden || s.noRoom)) { + $R.hide(); + if ($T) $T.hide(); + } + }); + } + + + /** + * @param {string|Object} evt_or_pane + */ +, enableClosable = function (evt_or_pane) { + if (!isInitialized()) return; + var pane = evtPane.call(this, evt_or_pane) + , $T = $Ts[pane] + , o = options[pane] + ; + if (!$T) return; + o.closable = true; + $T .bind("click."+ sID, function(evt){ evt.stopPropagation(); toggle(pane); }) + .css("visibility", "visible") + .css("cursor", "pointer") + .attr("title", state[pane].isClosed ? o.tips.Open : o.tips.Close) // may be blank + .show(); + } + /** + * @param {string|Object} evt_or_pane + * @param {boolean=} [hide=false] + */ +, disableClosable = function (evt_or_pane, hide) { + if (!isInitialized()) return; + var pane = evtPane.call(this, evt_or_pane) + , $T = $Ts[pane] + ; + if (!$T) return; + options[pane].closable = false; + // is closable is disable, then pane MUST be open! + if (state[pane].isClosed) open(pane, false, true); + $T .unbind("."+ sID) + .css("visibility", hide ? "hidden" : "visible") // instead of hide(), which creates logic issues + .css("cursor", "default") + .attr("title", ""); + } + + + /** + * @param {string|Object} evt_or_pane + */ +, enableSlidable = function (evt_or_pane) { + if (!isInitialized()) return; + var pane = evtPane.call(this, evt_or_pane) + , $R = $Rs[pane] + ; + if (!$R || !$R.data('draggable')) return; + options[pane].slidable = true; + if (state[pane].isClosed) + bindStartSlidingEvent(pane, true); + } + /** + * @param {string|Object} evt_or_pane + */ +, disableSlidable = function (evt_or_pane) { + if (!isInitialized()) return; + var pane = evtPane.call(this, evt_or_pane) + , $R = $Rs[pane] + ; + if (!$R) return; + options[pane].slidable = false; + if (state[pane].isSliding) + close(pane, false, true); + else { + bindStartSlidingEvent(pane, false); + $R .css("cursor", "default") + .attr("title", ""); + removeHover(null, $R[0]); // in case currently hovered + } + } + + + /** + * @param {string|Object} evt_or_pane + */ +, enableResizable = function (evt_or_pane) { + if (!isInitialized()) return; + var pane = evtPane.call(this, evt_or_pane) + , $R = $Rs[pane] + , o = options[pane] + ; + if (!$R || !$R.data('draggable')) return; + o.resizable = true; + $R.draggable("enable"); + if (!state[pane].isClosed) + $R .css("cursor", o.resizerCursor) + .attr("title", o.tips.Resize); + } + /** + * @param {string|Object} evt_or_pane + */ +, disableResizable = function (evt_or_pane) { + if (!isInitialized()) return; + var pane = evtPane.call(this, evt_or_pane) + , $R = $Rs[pane] + ; + if (!$R || !$R.data('draggable')) return; + options[pane].resizable = false; + $R .draggable("disable") + .css("cursor", "default") + .attr("title", ""); + removeHover(null, $R[0]); // in case currently hovered + } + + + /** + * Move a pane from source-side (eg, west) to target-side (eg, east) + * If pane exists on target-side, move that to source-side, ie, 'swap' the panes + * + * @param {string|Object} evt_or_pane1 The pane/edge being swapped + * @param {string} pane2 ditto + */ +, swapPanes = function (evt_or_pane1, pane2) { + if (!isInitialized()) return; + var pane1 = evtPane.call(this, evt_or_pane1); + // change state.edge NOW so callbacks can know where pane is headed... + state[pane1].edge = pane2; + state[pane2].edge = pane1; + // run these even if NOT state.initialized + if (false === _runCallbacks("onswap_start", pane1) + || false === _runCallbacks("onswap_start", pane2) + ) { + state[pane1].edge = pane1; // reset + state[pane2].edge = pane2; + return; + } + + var + oPane1 = copy( pane1 ) + , oPane2 = copy( pane2 ) + , sizes = {} + ; + sizes[pane1] = oPane1 ? oPane1.state.size : 0; + sizes[pane2] = oPane2 ? oPane2.state.size : 0; + + // clear pointers & state + $Ps[pane1] = false; + $Ps[pane2] = false; + state[pane1] = {}; + state[pane2] = {}; + + // ALWAYS remove the resizer & toggler elements + if ($Ts[pane1]) $Ts[pane1].remove(); + if ($Ts[pane2]) $Ts[pane2].remove(); + if ($Rs[pane1]) $Rs[pane1].remove(); + if ($Rs[pane2]) $Rs[pane2].remove(); + $Rs[pane1] = $Rs[pane2] = $Ts[pane1] = $Ts[pane2] = false; + + // transfer element pointers and data to NEW Layout keys + move( oPane1, pane2 ); + move( oPane2, pane1 ); + + // cleanup objects + oPane1 = oPane2 = sizes = null; + + // make panes 'visible' again + if ($Ps[pane1]) $Ps[pane1].css(_c.visible); + if ($Ps[pane2]) $Ps[pane2].css(_c.visible); + + // fix any size discrepancies caused by swap + resizeAll(); + + // run these even if NOT state.initialized + _runCallbacks("onswap_end", pane1); + _runCallbacks("onswap_end", pane2); + + return; + + function copy (n) { // n = pane + var + $P = $Ps[n] + , $C = $Cs[n] + ; + return !$P ? false : { + pane: n + , P: $P ? $P[0] : false + , C: $C ? $C[0] : false + , state: $.extend(true, {}, state[n]) + , options: $.extend(true, {}, options[n]) + } + }; + + function move (oPane, pane) { + if (!oPane) return; + var + P = oPane.P + , C = oPane.C + , oldPane = oPane.pane + , c = _c[pane] + , side = c.side.toLowerCase() + , inset = "inset"+ c.side + // save pane-options that should be retained + , s = $.extend(true, {}, state[pane]) + , o = options[pane] + // RETAIN side-specific FX Settings - more below + , fx = { resizerCursor: o.resizerCursor } + , re, size, pos + ; + $.each("fxName,fxSpeed,fxSettings".split(","), function (i, k) { + fx[k +"_open"] = o[k +"_open"]; + fx[k +"_close"] = o[k +"_close"]; + fx[k +"_size"] = o[k +"_size"]; + }); + + // update object pointers and attributes + $Ps[pane] = $(P) + .data({ + layoutPane: Instance[pane] // NEW pointer to pane-alias-object + , layoutEdge: pane + }) + .css(_c.hidden) + .css(c.cssReq) + ; + $Cs[pane] = C ? $(C) : false; + + // set options and state + options[pane] = $.extend(true, {}, oPane.options, fx); + state[pane] = $.extend(true, {}, oPane.state); + + // change classNames on the pane, eg: ui-layout-pane-east ==> ui-layout-pane-west + re = new RegExp(o.paneClass +"-"+ oldPane, "g"); + P.className = P.className.replace(re, o.paneClass +"-"+ pane); + + // ALWAYS regenerate the resizer & toggler elements + initHandles(pane); // create the required resizer & toggler + + // if moving to different orientation, then keep 'target' pane size + if (c.dir != _c[oldPane].dir) { + size = sizes[pane] || 0; + setSizeLimits(pane); // update pane-state + size = max(size, state[pane].minSize); + // use manualSizePane to disable autoResize - not useful after panes are swapped + manualSizePane(pane, size, true, true); // true/true = skipCallback/noAnimation + } + else // move the resizer here + $Rs[pane].css(side, sC[inset] + (state[pane].isVisible ? getPaneSize(pane) : 0)); + + + // ADD CLASSNAMES & SLIDE-BINDINGS + if (oPane.state.isVisible && !s.isVisible) + setAsOpen(pane, true); // true = skipCallback + else { + setAsClosed(pane); + bindStartSlidingEvent(pane, true); // will enable events IF option is set + } + + // DESTROY the object + oPane = null; + }; + } + + + /** + * INTERNAL method to sync pin-buttons when pane is opened or closed + * Unpinned means the pane is 'sliding' - ie, over-top of the adjacent panes + * + * @see open(), setAsOpen(), setAsClosed() + * @param {string} pane These are the params returned to callbacks by layout() + * @param {boolean} doPin True means set the pin 'down', False means 'up' + */ +, syncPinBtns = function (pane, doPin) { + if ($.layout.plugins.buttons) + $.each(state[pane].pins, function (i, selector) { + $.layout.buttons.setPinState(Instance, $(selector), pane, doPin); + }); + } + +; // END var DECLARATIONS + + /** + * Capture keys when enableCursorHotkey - toggle pane if hotkey pressed + * + * @see document.keydown() + */ + function keyDown (evt) { + if (!evt) return true; + var code = evt.keyCode; + if (code < 33) return true; // ignore special keys: ENTER, TAB, etc + + var + PANE = { + 38: "north" // Up Cursor - $.ui.keyCode.UP + , 40: "south" // Down Cursor - $.ui.keyCode.DOWN + , 37: "west" // Left Cursor - $.ui.keyCode.LEFT + , 39: "east" // Right Cursor - $.ui.keyCode.RIGHT + } + , ALT = evt.altKey // no worky! + , SHIFT = evt.shiftKey + , CTRL = evt.ctrlKey + , CURSOR = (CTRL && code >= 37 && code <= 40) + , o, k, m, pane + ; + + if (CURSOR && options[PANE[code]].enableCursorHotkey) // valid cursor-hotkey + pane = PANE[code]; + else if (CTRL || SHIFT) // check to see if this matches a custom-hotkey + $.each(_c.borderPanes, function (i, p) { // loop each pane to check its hotkey + o = options[p]; + k = o.customHotkey; + m = o.customHotkeyModifier; // if missing or invalid, treated as "CTRL+SHIFT" + if ((SHIFT && m=="SHIFT") || (CTRL && m=="CTRL") || (CTRL && SHIFT)) { // Modifier matches + if (k && code === (isNaN(k) || k <= 9 ? k.toUpperCase().charCodeAt(0) : k)) { // Key matches + pane = p; + return false; // BREAK + } + } + }); + + // validate pane + if (!pane || !$Ps[pane] || !options[pane].closable || state[pane].isHidden) + return true; + + toggle(pane); + + evt.stopPropagation(); + evt.returnValue = false; // CANCEL key + return false; + }; + + +/* + * ###################################### + * UTILITY METHODS + * called externally or by initButtons + * ###################################### + */ + + /** + * Change/reset a pane overflow setting & zIndex to allow popups/drop-downs to work + * + * @param {Object=} [el] (optional) Can also be 'bound' to a click, mouseOver, or other event + */ + function allowOverflow (el) { + if (!isInitialized()) return; + if (this && this.tagName) el = this; // BOUND to element + var $P; + if (isStr(el)) + $P = $Ps[el]; + else if ($(el).data("layoutRole")) + $P = $(el); + else + $(el).parents().each(function(){ + if ($(this).data("layoutRole")) { + $P = $(this); + return false; // BREAK + } + }); + if (!$P || !$P.length) return; // INVALID + + var + pane = $P.data("layoutEdge") + , s = state[pane] + ; + + // if pane is already raised, then reset it before doing it again! + // this would happen if allowOverflow is attached to BOTH the pane and an element + if (s.cssSaved) + resetOverflow(pane); // reset previous CSS before continuing + + // if pane is raised by sliding or resizing, or its closed, then abort + if (s.isSliding || s.isResizing || s.isClosed) { + s.cssSaved = false; + return; + } + + var + newCSS = { zIndex: (options.zIndexes.resizer_normal + 1) } + , curCSS = {} + , of = $P.css("overflow") + , ofX = $P.css("overflowX") + , ofY = $P.css("overflowY") + ; + // determine which, if any, overflow settings need to be changed + if (of != "visible") { + curCSS.overflow = of; + newCSS.overflow = "visible"; + } + if (ofX && !ofX.match(/(visible|auto)/)) { + curCSS.overflowX = ofX; + newCSS.overflowX = "visible"; + } + if (ofY && !ofY.match(/(visible|auto)/)) { + curCSS.overflowY = ofX; + newCSS.overflowY = "visible"; + } + + // save the current overflow settings - even if blank! + s.cssSaved = curCSS; + + // apply new CSS to raise zIndex and, if necessary, make overflow 'visible' + $P.css( newCSS ); + + // make sure the zIndex of all other panes is normal + $.each(_c.allPanes, function(i, p) { + if (p != pane) resetOverflow(p); + }); + + }; + /** + * @param {Object=} [el] (optional) Can also be 'bound' to a click, mouseOver, or other event + */ + function resetOverflow (el) { + if (!isInitialized()) return; + if (this && this.tagName) el = this; // BOUND to element + var $P; + if (isStr(el)) + $P = $Ps[el]; + else if ($(el).data("layoutRole")) + $P = $(el); + else + $(el).parents().each(function(){ + if ($(this).data("layoutRole")) { + $P = $(this); + return false; // BREAK + } + }); + if (!$P || !$P.length) return; // INVALID + + var + pane = $P.data("layoutEdge") + , s = state[pane] + , CSS = s.cssSaved || {} + ; + // reset the zIndex + if (!s.isSliding && !s.isResizing) + $P.css("zIndex", options.zIndexes.pane_normal); + + // reset Overflow - if necessary + $P.css( CSS ); + + // clear var + s.cssSaved = false; + }; + +/* + * ##################### + * CREATE/RETURN LAYOUT + * ##################### + */ + + // validate that container exists + var $N = $(this).eq(0); // FIRST matching Container element + if (!$N.length) { + return _log( options.errors.containerMissing ); + }; + + // Users retrieve Instance of a layout with: $N.layout() OR $N.data("layout") + // return the Instance-pointer if layout has already been initialized + if ($N.data("layoutContainer") && $N.data("layout")) + return $N.data("layout"); // cached pointer + + // init global vars + var + $Ps = {} // Panes x5 - set in initPanes() + , $Cs = {} // Content x5 - set in initPanes() + , $Rs = {} // Resizers x4 - set in initHandles() + , $Ts = {} // Togglers x4 - set in initHandles() + , $Ms = $([]) // Masks - up to 2 masks per pane (IFRAME + DIV) + // aliases for code brevity + , sC = state.container // alias for easy access to 'container dimensions' + , sID = state.id // alias for unique layout ID/namespace - eg: "layout435" + ; + + // create Instance object to expose data & option Properties, and primary action Methods + var Instance = { + // layout data + options: options // property - options hash + , state: state // property - dimensions hash + // object pointers + , container: $N // property - object pointers for layout container + , panes: $Ps // property - object pointers for ALL Panes: panes.north, panes.center + , contents: $Cs // property - object pointers for ALL Content: contents.north, contents.center + , resizers: $Rs // property - object pointers for ALL Resizers, eg: resizers.north + , togglers: $Ts // property - object pointers for ALL Togglers, eg: togglers.north + // border-pane open/close + , hide: hide // method - ditto + , show: show // method - ditto + , toggle: toggle // method - pass a 'pane' ("north", "west", etc) + , open: open // method - ditto + , close: close // method - ditto + , slideOpen: slideOpen // method - ditto + , slideClose: slideClose // method - ditto + , slideToggle: slideToggle // method - ditto + // pane actions + , setSizeLimits: setSizeLimits // method - pass a 'pane' - update state min/max data + , _sizePane: sizePane // method -intended for user by plugins only! + , sizePane: manualSizePane // method - pass a 'pane' AND an 'outer-size' in pixels or percent, or 'auto' + , sizeContent: sizeContent // method - pass a 'pane' + , swapPanes: swapPanes // method - pass TWO 'panes' - will swap them + , showMasks: showMasks // method - pass a 'pane' OR list of panes - default = all panes with mask option set + , hideMasks: hideMasks // method - ditto' + // pane element methods + , initContent: initContent // method - ditto + , addPane: addPane // method - pass a 'pane' + , removePane: removePane // method - pass a 'pane' to remove from layout, add 'true' to delete the pane-elem + , createChildLayout: createChildLayout// method - pass a 'pane' and (optional) layout-options (OVERRIDES options[pane].childOptions + // special pane option setting + , enableClosable: enableClosable // method - pass a 'pane' + , disableClosable: disableClosable // method - ditto + , enableSlidable: enableSlidable // method - ditto + , disableSlidable: disableSlidable // method - ditto + , enableResizable: enableResizable // method - ditto + , disableResizable: disableResizable// method - ditto + // utility methods for panes + , allowOverflow: allowOverflow // utility - pass calling element (this) + , resetOverflow: resetOverflow // utility - ditto + // layout control + , destroy: destroy // method - no parameters + , initPanes: isInitialized // method - no parameters + , resizeAll: resizeAll // method - no parameters + // callback triggering + , runCallbacks: _runCallbacks // method - pass evtName & pane (if a pane-event), eg: trigger("onopen", "west") + // alias collections of options, state and children - created in addPane and extended elsewhere + , hasParentLayout: false // set by initContainer() + , children: children // pointers to child-layouts, eg: Instance.children["west"] + , north: false // alias group: { name: pane, pane: $Ps[pane], options: options[pane], state: state[pane], child: children[pane] } + , south: false // ditto + , west: false // ditto + , east: false // ditto + , center: false // ditto + }; + + // create the border layout NOW + if (_create() === 'cancel') // onload_start callback returned false to CANCEL layout creation + return null; + else // true OR false -- if layout-elements did NOT init (hidden or do not exist), can auto-init later + return Instance; // return the Instance object + +} + + +/* OLD versions of jQuery only set $.support.boxModel after page is loaded + * so if this is IE, use support.boxModel to test for quirks-mode (ONLY IE changes boxModel). + */ +$(function(){ + var b = $.layout.browser; + if (b.msie) b.boxModel = $.support.boxModel; +}); + + +/** + * jquery.layout.state 1.0 + * $Date: 2011-07-16 08:00:00 (Sat, 16 July 2011) $ + * + * Copyright (c) 2010 + * Kevin Dalman (http://allpro.net) + * + * Dual licensed under the GPL (http://www.gnu.org/licenses/gpl.html) + * and MIT (http://www.opensource.org/licenses/mit-license.php) licenses. + * + * @dependancies: UI Layout 1.3.0.rc30.1 or higher + * @dependancies: $.ui.cookie (above) + * + * @support: http://groups.google.com/group/jquery-ui-layout + */ +/* + * State-management options stored in options.stateManagement, which includes a .cookie hash + * Default options saves ALL KEYS for ALL PANES, ie: pane.size, pane.isClosed, pane.isHidden + * + * // STATE/COOKIE OPTIONS + * @example $(el).layout({ + stateManagement: { + enabled: true + , stateKeys: "east.size,west.size,east.isClosed,west.isClosed" + , cookie: { name: "appLayout", path: "/" } + } + }) + * @example $(el).layout({ stateManagement__enabled: true }) // enable auto-state-management using cookies + * @example $(el).layout({ stateManagement__cookie: { name: "appLayout", path: "/" } }) + * @example $(el).layout({ stateManagement__cookie__name: "appLayout", stateManagement__cookie__path: "/" }) + * + * // STATE/COOKIE METHODS + * @example myLayout.saveCookie( "west.isClosed,north.size,south.isHidden", {expires: 7} ); + * @example myLayout.loadCookie(); + * @example myLayout.deleteCookie(); + * @example var JSON = myLayout.readState(); // CURRENT Layout State + * @example var JSON = myLayout.readCookie(); // SAVED Layout State (from cookie) + * @example var JSON = myLayout.state.stateData; // LAST LOADED Layout State (cookie saved in layout.state hash) + * + * CUSTOM STATE-MANAGEMENT (eg, saved in a database) + * @example var JSON = myLayout.readState( "west.isClosed,north.size,south.isHidden" ); + * @example myLayout.loadState( JSON ); + */ + +/** + * UI COOKIE UTILITY + * + * A $.cookie OR $.ui.cookie namespace *should be standard*, but until then... + * This creates $.ui.cookie so Layout does not need the cookie.jquery.js plugin + * NOTE: This utility is REQUIRED by the layout.state plugin + * + * Cookie methods in Layout are created as part of State Management + */ +if (!$.ui) $.ui = {}; +$.ui.cookie = { + + // cookieEnabled is not in DOM specs, but DOES works in all browsers,including IE6 + acceptsCookies: !!navigator.cookieEnabled + +, read: function (name) { + var + c = document.cookie + , cs = c ? c.split(';') : [] + , pair // loop var + ; + for (var i=0, n=cs.length; i < n; i++) { + pair = $.trim(cs[i]).split('='); // name=value pair + if (pair[0] == name) // found the layout cookie + return decodeURIComponent(pair[1]); + + } + return null; + } + +, write: function (name, val, cookieOpts) { + var + params = '' + , date = '' + , clear = false + , o = cookieOpts || {} + , x = o.expires + ; + if (x && x.toUTCString) + date = x; + else if (x === null || typeof x === 'number') { + date = new Date(); + if (x > 0) + date.setDate(date.getDate() + x); + else { + date.setFullYear(1970); + clear = true; + } + } + if (date) params += ';expires='+ date.toUTCString(); + if (o.path) params += ';path='+ o.path; + if (o.domain) params += ';domain='+ o.domain; + if (o.secure) params += ';secure'; + document.cookie = name +'='+ (clear ? "" : encodeURIComponent( val )) + params; // write or clear cookie + } + +, clear: function (name) { + $.ui.cookie.write(name, '', {expires: -1}); + } + +}; +// if cookie.jquery.js is not loaded, create an alias to replicate it +// this may be useful to other plugins or code dependent on that plugin +if (!$.cookie) $.cookie = function (k, v, o) { + var C = $.ui.cookie; + if (v === null) + C.clear(k); + else if (v === undefined) + return C.read(k); + else + C.write(k, v, o); +}; + + +// tell Layout that the state plugin is available +$.layout.plugins.stateManagement = true; + +// Add State-Management options to layout.defaults +$.layout.config.optionRootKeys.push("stateManagement"); +$.layout.defaults.stateManagement = { + enabled: false // true = enable state-management, even if not using cookies +, autoSave: true // Save a state-cookie when page exits? +, autoLoad: true // Load the state-cookie when Layout inits? + // List state-data to save - must be pane-specific +, stateKeys: "north.size,south.size,east.size,west.size,"+ + "north.isClosed,south.isClosed,east.isClosed,west.isClosed,"+ + "north.isHidden,south.isHidden,east.isHidden,west.isHidden" +, cookie: { + name: "" // If not specified, will use Layout.name, else just "Layout" + , domain: "" // blank = current domain + , path: "" // blank = current page, '/' = entire website + , expires: "" // 'days' to keep cookie - leave blank for 'session cookie' + , secure: false + } +}; +// Set stateManagement as a layout-option, NOT a pane-option +$.layout.optionsMap.layout.push("stateManagement"); + +/* + * State Management methods + */ +$.layout.state = { + + /** + * Get the current layout state and save it to a cookie + * + * myLayout.saveCookie( keys, cookieOpts ) + * + * @param {Object} inst + * @param {(string|Array)=} keys + * @param {Object=} cookieOpts + */ + saveCookie: function (inst, keys, cookieOpts) { + var o = inst.options + , oS = o.stateManagement + , oC = $.extend(true, {}, oS.cookie, cookieOpts || null) + , data = inst.state.stateData = inst.readState( keys || oS.stateKeys ) // read current panes-state + ; + $.ui.cookie.write( oC.name || o.name || "Layout", $.layout.state.encodeJSON(data), oC ); + return $.extend(true, {}, data); // return COPY of state.stateData data + } + + /** + * Remove the state cookie + * + * @param {Object} inst + */ +, deleteCookie: function (inst) { + var o = inst.options; + $.ui.cookie.clear( o.stateManagement.cookie.name || o.name || "Layout" ); + } + + /** + * Read & return data from the cookie - as JSON + * + * @param {Object} inst + */ +, readCookie: function (inst) { + var o = inst.options; + var c = $.ui.cookie.read( o.stateManagement.cookie.name || o.name || "Layout" ); + // convert cookie string back to a hash and return it + return c ? $.layout.state.decodeJSON(c) : {}; + } + + /** + * Get data from the cookie and USE IT to loadState + * + * @param {Object} inst + */ +, loadCookie: function (inst) { + var c = $.layout.state.readCookie(inst); // READ the cookie + if (c) { + inst.state.stateData = $.extend(true, {}, c); // SET state.stateData + inst.loadState(c); // LOAD the retrieved state + } + return c; + } + + /** + * Update layout options from the cookie, if one exists + * + * @param {Object} inst + * @param {Object=} stateData + * @param {boolean=} animate + */ +, loadState: function (inst, stateData, animate) { + stateData = $.layout.transformData( stateData ); // panes = default subkey + if ($.isEmptyObject( stateData )) return; + $.extend(true, inst.options, stateData); // update layout options + // if layout has already been initialized, then UPDATE layout state + if (inst.state.initialized) { + var pane, vis, o, s, h, c + , noAnimate = (animate===false) + ; + $.each($.layout.config.borderPanes, function (idx, pane) { + state = inst.state[pane]; + o = stateData[ pane ]; + if (typeof o != 'object') return; // no key, continue + s = o.size; + c = o.initClosed; + h = o.initHidden; + vis = state.isVisible; + // resize BEFORE opening + if (!vis) + inst.sizePane(pane, s, false, false); + if (h === true) inst.hide(pane, noAnimate); + else if (c === false) inst.open (pane, false, noAnimate); + else if (c === true) inst.close(pane, false, noAnimate); + else if (h === false) inst.show (pane, false, noAnimate); + // resize AFTER any other actions + if (vis) + inst.sizePane(pane, s, false, noAnimate); // animate resize if option passed + }); + }; + } + + /** + * Get the *current layout state* and return it as a hash + * + * @param {Object=} inst + * @param {(string|Array)=} keys + */ +, readState: function (inst, keys) { + var + data = {} + , alt = { isClosed: 'initClosed', isHidden: 'initHidden' } + , state = inst.state + , panes = $.layout.config.allPanes + , pair, pane, key, val + ; + if (!keys) keys = inst.options.stateManagement.stateKeys; // if called by user + if ($.isArray(keys)) keys = keys.join(","); + // convert keys to an array and change delimiters from '__' to '.' + keys = keys.replace(/__/g, ".").split(','); + // loop keys and create a data hash + for (var i=0, n=keys.length; i < n; i++) { + pair = keys[i].split("."); + pane = pair[0]; + key = pair[1]; + if ($.inArray(pane, panes) < 0) continue; // bad pane! + val = state[ pane ][ key ]; + if (val == undefined) continue; + if (key=="isClosed" && state[pane]["isSliding"]) + val = true; // if sliding, then *really* isClosed + ( data[pane] || (data[pane]={}) )[ alt[key] ? alt[key] : key ] = val; + } + return data; + } + + /** + * Stringify a JSON hash so can save in a cookie or db-field + */ +, encodeJSON: function (JSON) { + return parse(JSON); + function parse (h) { + var D=[], i=0, k, v, t; // k = key, v = value + for (k in h) { + v = h[k]; + t = typeof v; + if (t == 'string') // STRING - add quotes + v = '"'+ v +'"'; + else if (t == 'object') // SUB-KEY - recurse into it + v = parse(v); + D[i++] = '"'+ k +'":'+ v; + } + return '{'+ D.join(',') +'}'; + }; + } + + /** + * Convert stringified JSON back to a hash object + * @see $.parseJSON(), adding in jQuery 1.4.1 + */ +, decodeJSON: function (str) { + try { return $.parseJSON ? $.parseJSON(str) : window["eval"]("("+ str +")") || {}; } + catch (e) { return {}; } + } + + +, _create: function (inst) { + var _ = $.layout.state; + // ADD State-Management plugin methods to inst + $.extend( inst, { + // readCookie - update options from cookie - returns hash of cookie data + readCookie: function () { return _.readCookie(inst); } + // deleteCookie + , deleteCookie: function () { _.deleteCookie(inst); } + // saveCookie - optionally pass keys-list and cookie-options (hash) + , saveCookie: function (keys, cookieOpts) { return _.saveCookie(inst, keys, cookieOpts); } + // loadCookie - readCookie and use to loadState() - returns hash of cookie data + , loadCookie: function () { return _.loadCookie(inst); } + // loadState - pass a hash of state to use to update options + , loadState: function (stateData, animate) { _.loadState(inst, stateData, animate); } + // readState - returns hash of current layout-state + , readState: function (keys) { return _.readState(inst, keys); } + // add JSON utility methods too... + , encodeJSON: _.encodeJSON + , decodeJSON: _.decodeJSON + }); + + // init state.stateData key, even if plugin is initially disabled + inst.state.stateData = {}; + + // read and load cookie-data per options + var oS = inst.options.stateManagement; + if (oS.enabled) { + if (oS.autoLoad) // update the options from the cookie + inst.loadCookie(); + else // don't modify options - just store cookie data in state.stateData + inst.state.stateData = inst.readCookie(); + } + } + +, _unload: function (inst) { + var oS = inst.options.stateManagement; + if (oS.enabled) { + if (oS.autoSave) // save a state-cookie automatically + inst.saveCookie(); + else // don't save a cookie, but do store state-data in state.stateData key + inst.state.stateData = inst.readState(); + } + } + +}; + +// add state initialization method to Layout's onCreate array of functions +$.layout.onCreate.push( $.layout.state._create ); +$.layout.onUnload.push( $.layout.state._unload ); + + + + +/** + * jquery.layout.buttons 1.0 + * $Date: 2011-07-16 08:00:00 (Sat, 16 July 2011) $ + * + * Copyright (c) 2010 + * Kevin Dalman (http://allpro.net) + * + * Dual licensed under the GPL (http://www.gnu.org/licenses/gpl.html) + * and MIT (http://www.opensource.org/licenses/mit-license.php) licenses. + * + * @dependancies: UI Layout 1.3.0.rc30.1 or higher + * + * @support: http://groups.google.com/group/jquery-ui-layout + * + * Docs: [ to come ] + * Tips: [ to come ] + */ + +// tell Layout that the state plugin is available +$.layout.plugins.buttons = true; + +// Add buttons options to layout.defaults +$.layout.defaults.autoBindCustomButtons = false; +// Specify autoBindCustomButtons as a layout-option, NOT a pane-option +$.layout.optionsMap.layout.push("autoBindCustomButtons"); + +/* + * Button methods + */ +$.layout.buttons = { + + /** + * Searches for .ui-layout-button-xxx elements and auto-binds them as layout-buttons + * + * @see _create() + * + * @param {Object} inst Layout Instance object + */ + init: function (inst) { + var pre = "ui-layout-button-" + , layout = inst.options.name || "" + , name; + $.each("toggle,open,close,pin,toggle-slide,open-slide".split(","), function (i, action) { + $.each($.layout.config.borderPanes, function (ii, pane) { + $("."+pre+action+"-"+pane).each(function(){ + // if button was previously 'bound', data.layoutName was set, but is blank if layout has no 'name' + name = $(this).data("layoutName") || $(this).attr("layoutName"); + if (name == undefined || name === layout) + inst.bindButton(this, action, pane); + }); + }); + }); + } + + /** + * Helper function to validate params received by addButton utilities + * + * Two classes are added to the element, based on the buttonClass... + * The type of button is appended to create the 2nd className: + * - ui-layout-button-pin // action btnClass + * - ui-layout-button-pin-west // action btnClass + pane + * - ui-layout-button-toggle + * - ui-layout-button-open + * - ui-layout-button-close + * + * @param {Object} inst Layout Instance object + * @param {(string|!Object)} selector jQuery selector (or element) for button, eg: ".ui-layout-north .toggle-button" + * @param {string} pane Name of the pane the button is for: 'north', 'south', etc. + * + * @return {Array.} If both params valid, the element matching 'selector' in a jQuery wrapper - otherwise returns null + */ +, get: function (inst, selector, pane, action) { + var $E = $(selector) + , o = inst.options + , err = o.errors.addButtonError + ; + if (!$E.length) { // element not found + $.layout.msg(err +" "+ o.errors.selector +": "+ selector, true); + } + else if ($.inArray(pane, $.layout.config.borderPanes) < 0) { // invalid 'pane' sepecified + $.layout.msg(err +" "+ o.errors.pane +": "+ pane, true); + $E = $(""); // NO BUTTON + } + else { // VALID + var btn = o[pane].buttonClass +"-"+ action; + $E .addClass( btn +" "+ btn +"-"+ pane ) + .data("layoutName", o.name); // add layout identifier - even if blank! + } + return $E; + } + + + /** + * NEW syntax for binding layout-buttons - will eventually replace addToggle, addOpen, etc. + * + * @param {Object} inst Layout Instance object + * @param {(string|!Object)} selector jQuery selector (or element) for button, eg: ".ui-layout-north .toggle-button" + * @param {string} action + * @param {string} pane + */ +, bind: function (inst, selector, action, pane) { + var _ = $.layout.buttons; + switch (action.toLowerCase()) { + case "toggle": _.addToggle (inst, selector, pane); break; + case "open": _.addOpen (inst, selector, pane); break; + case "close": _.addClose (inst, selector, pane); break; + case "pin": _.addPin (inst, selector, pane); break; + case "toggle-slide": _.addToggle (inst, selector, pane, true); break; + case "open-slide": _.addOpen (inst, selector, pane, true); break; + } + return inst; + } + + /** + * Add a custom Toggler button for a pane + * + * @param {Object} inst Layout Instance object + * @param {(string|!Object)} selector jQuery selector (or element) for button, eg: ".ui-layout-north .toggle-button" + * @param {string} pane Name of the pane the button is for: 'north', 'south', etc. + * @param {boolean=} slide true = slide-open, false = pin-open + */ +, addToggle: function (inst, selector, pane, slide) { + $.layout.buttons.get(inst, selector, pane, "toggle") + .click(function(evt){ + inst.toggle(pane, !!slide); + evt.stopPropagation(); + }); + return inst; + } + + /** + * Add a custom Open button for a pane + * + * @param {Object} inst Layout Instance object + * @param {(string|!Object)} selector jQuery selector (or element) for button, eg: ".ui-layout-north .toggle-button" + * @param {string} pane Name of the pane the button is for: 'north', 'south', etc. + * @param {boolean=} slide true = slide-open, false = pin-open + */ +, addOpen: function (inst, selector, pane, slide) { + $.layout.buttons.get(inst, selector, pane, "open") + .attr("title", inst.options[pane].tips.Open) + .click(function (evt) { + inst.open(pane, !!slide); + evt.stopPropagation(); + }); + return inst; + } + + /** + * Add a custom Close button for a pane + * + * @param {Object} inst Layout Instance object + * @param {(string|!Object)} selector jQuery selector (or element) for button, eg: ".ui-layout-north .toggle-button" + * @param {string} pane Name of the pane the button is for: 'north', 'south', etc. + */ +, addClose: function (inst, selector, pane) { + $.layout.buttons.get(inst, selector, pane, "close") + .attr("title", inst.options[pane].tips.Close) + .click(function (evt) { + inst.close(pane); + evt.stopPropagation(); + }); + return inst; + } + + /** + * Add a custom Pin button for a pane + * + * Four classes are added to the element, based on the paneClass for the associated pane... + * Assuming the default paneClass and the pin is 'up', these classes are added for a west-pane pin: + * - ui-layout-pane-pin + * - ui-layout-pane-west-pin + * - ui-layout-pane-pin-up + * - ui-layout-pane-west-pin-up + * + * @param {Object} inst Layout Instance object + * @param {(string|!Object)} selector jQuery selector (or element) for button, eg: ".ui-layout-north .toggle-button" + * @param {string} pane Name of the pane the pin is for: 'north', 'south', etc. + */ +, addPin: function (inst, selector, pane) { + var _ = $.layout.buttons + , $E = _.get(inst, selector, pane, "pin"); + if ($E.length) { + var s = inst.state[pane]; + $E.click(function (evt) { + _.setPinState(inst, $(this), pane, (s.isSliding || s.isClosed)); + if (s.isSliding || s.isClosed) inst.open( pane ); // change from sliding to open + else inst.close( pane ); // slide-closed + evt.stopPropagation(); + }); + // add up/down pin attributes and classes + _.setPinState(inst, $E, pane, (!s.isClosed && !s.isSliding)); + // add this pin to the pane data so we can 'sync it' automatically + // PANE.pins key is an array so we can store multiple pins for each pane + s.pins.push( selector ); // just save the selector string + } + return inst; + } + + /** + * Change the class of the pin button to make it look 'up' or 'down' + * + * @see addPin(), syncPins() + * + * @param {Object} inst Layout Instance object + * @param {Array.} $Pin The pin-span element in a jQuery wrapper + * @param {string} pane These are the params returned to callbacks by layout() + * @param {boolean} doPin true = set the pin 'down', false = set it 'up' + */ +, setPinState: function (inst, $Pin, pane, doPin) { + var updown = $Pin.attr("pin"); + if (updown && doPin === (updown=="down")) return; // already in correct state + var + o = inst.options[pane] + , pin = o.buttonClass +"-pin" + , side = pin +"-"+ pane + , UP = pin +"-up "+ side +"-up" + , DN = pin +"-down "+side +"-down" + ; + $Pin + .attr("pin", doPin ? "down" : "up") // logic + .attr("title", doPin ? o.tips.Unpin : o.tips.Pin) + .removeClass( doPin ? UP : DN ) + .addClass( doPin ? DN : UP ) + ; + } + + /** + * INTERNAL function to sync 'pin buttons' when pane is opened or closed + * Unpinned means the pane is 'sliding' - ie, over-top of the adjacent panes + * + * @see open(), close() + * + * @param {Object} inst Layout Instance object + * @param {string} pane These are the params returned to callbacks by layout() + * @param {boolean} doPin True means set the pin 'down', False means 'up' + */ +, syncPinBtns: function (inst, pane, doPin) { + // REAL METHOD IS _INSIDE_ LAYOUT - THIS IS HERE JUST FOR REFERENCE + $.each(inst.state[pane].pins, function (i, selector) { + $.layout.buttons.setPinState(inst, $(selector), pane, doPin); + }); + } + + +, _load: function (inst) { + var _ = $.layout.buttons; + // ADD Button methods to Layout Instance + // Note: sel = jQuery Selector string + $.extend( inst, { + bindButton: function (sel, action, pane) { return _.bind(inst, sel, action, pane); } + // DEPRECATED METHODS + , addToggleBtn: function (sel, pane, slide) { return _.addToggle(inst, sel, pane, slide); } + , addOpenBtn: function (sel, pane, slide) { return _.addOpen(inst, sel, pane, slide); } + , addCloseBtn: function (sel, pane) { return _.addClose(inst, sel, pane); } + , addPinBtn: function (sel, pane) { return _.addPin(inst, sel, pane); } + }); + + // init state array to hold pin-buttons + for (var i=0; i<4; i++) { + var pane = $.layout.config.borderPanes[i]; + inst.state[pane].pins = []; + } + + // auto-init buttons onLoad if option is enabled + if ( inst.options.autoBindCustomButtons ) + _.init(inst); + } + +, _unload: function (inst) { + // TODO: unbind all buttons??? + } + +}; + +// add initialization method to Layout's onLoad array of functions +$.layout.onLoad.push( $.layout.buttons._load ); +//$.layout.onUnload.push( $.layout.buttons._unload ); + + + +/** + * jquery.layout.browserZoom 1.0 + * $Date: 2011-12-29 08:00:00 (Thu, 29 Dec 2011) $ + * + * Copyright (c) 2012 + * Kevin Dalman (http://allpro.net) + * + * Dual licensed under the GPL (http://www.gnu.org/licenses/gpl.html) + * and MIT (http://www.opensource.org/licenses/mit-license.php) licenses. + * + * @dependancies: UI Layout 1.3.0.rc30.1 or higher + * + * @support: http://groups.google.com/group/jquery-ui-layout + * + * @todo: Extend logic to handle other problematic zooming in browsers + * @todo: Add hotkey/mousewheel bindings to _instantly_ respond to these zoom event + */ + +// tell Layout that the plugin is available +$.layout.plugins.browserZoom = true; + +$.layout.defaults.browserZoomCheckInterval = 1000; +$.layout.optionsMap.layout.push("browserZoomCheckInterval"); + +/* + * browserZoom methods + */ +$.layout.browserZoom = { + + _init: function (inst) { + // abort if browser does not need this check + if ($.layout.browserZoom.ratio() !== false) + $.layout.browserZoom._setTimer(inst); + } + +, _setTimer: function (inst) { + // abort if layout destroyed or browser does not need this check + if (inst.destroyed) return; + var o = inst.options + , s = inst.state + // don't need check if inst has parentLayout, but check occassionally in case parent destroyed! + // MINIMUM 100ms interval, for performance + , ms = inst.hasParentLayout ? 5000 : Math.max( o.browserZoomCheckInterval, 100 ) + ; + // set the timer + setTimeout(function(){ + if (inst.destroyed || !o.resizeWithWindow) return; + var d = $.layout.browserZoom.ratio(); + if (d !== s.browserZoom) { + s.browserZoom = d; + inst.resizeAll(); + } + // set a NEW timeout + $.layout.browserZoom._setTimer(inst); + } + , ms ); + } + +, ratio: function () { + var w = window + , s = screen + , d = document + , dE = d.documentElement || d.body + , b = $.layout.browser + , v = b.version + , r, sW, cW + ; + // we can ignore all browsers that fire window.resize event onZoom + if ((b.msie && v > 8) + || !b.msie + ) return false; // don't need to track zoom + + if (s.deviceXDPI) + return calc(s.deviceXDPI, s.systemXDPI); + // everything below is just for future reference! + if (b.webkit && (r = d.body.getBoundingClientRect)) + return calc((r.left - r.right), d.body.offsetWidth); + if (b.webkit && (sW = w.outerWidth)) + return calc(sW, w.innerWidth); + if ((sW = s.width) && (cW = dE.clientWidth)) + return calc(sW, cW); + return false; // no match, so cannot - or don't need to - track zoom + + function calc (x,y) { return (parseInt(x,10) / parseInt(y,10) * 100).toFixed(); } + } + +}; +// add initialization method to Layout's onLoad array of functions +$.layout.onReady.push( $.layout.browserZoom._init ); + + + +})( jQuery ); diff --git a/manual1903/api_reference/component-pipe/scaladocs/lib/modernizr.custom.js b/manual1903/api_reference/component-pipe/scaladocs/lib/modernizr.custom.js new file mode 100644 index 0000000000000000000000000000000000000000..4688d633fe15b2bb5f49ecb274cae0e6557eeba0 --- /dev/null +++ b/manual1903/api_reference/component-pipe/scaladocs/lib/modernizr.custom.js @@ -0,0 +1,4 @@ +/* Modernizr 2.5.3 (Custom Build) | MIT & BSD + * Build: http://www.modernizr.com/download/#-inlinesvg + */ +;window.Modernizr=function(a,b,c){function u(a){i.cssText=a}function v(a,b){return u(prefixes.join(a+";")+(b||""))}function w(a,b){return typeof a===b}function x(a,b){return!!~(""+a).indexOf(b)}function y(a,b,d){for(var e in a){var f=b[a[e]];if(f!==c)return d===!1?a[e]:w(f,"function")?f.bind(d||b):f}return!1}var d="2.5.3",e={},f=b.documentElement,g="modernizr",h=b.createElement(g),i=h.style,j,k={}.toString,l={svg:"http://www.w3.org/2000/svg"},m={},n={},o={},p=[],q=p.slice,r,s={}.hasOwnProperty,t;!w(s,"undefined")&&!w(s.call,"undefined")?t=function(a,b){return s.call(a,b)}:t=function(a,b){return b in a&&w(a.constructor.prototype[b],"undefined")},Function.prototype.bind||(Function.prototype.bind=function(b){var c=this;if(typeof c!="function")throw new TypeError;var d=q.call(arguments,1),e=function(){if(this instanceof e){var a=function(){};a.prototype=c.prototype;var f=new a,g=c.apply(f,d.concat(q.call(arguments)));return Object(g)===g?g:f}return c.apply(b,d.concat(q.call(arguments)))};return e}),m.inlinesvg=function(){var a=b.createElement("div");return a.innerHTML="",(a.firstChild&&a.firstChild.namespaceURI)==l.svg};for(var z in m)t(m,z)&&(r=z.toLowerCase(),e[r]=m[z](),p.push((e[r]?"":"no-")+r));return u(""),h=j=null,e._version=d,e}(this,this.document); \ No newline at end of file diff --git a/manual1903/api_reference/component-pipe/scaladocs/lib/navigation-li-a.png b/manual1903/api_reference/component-pipe/scaladocs/lib/navigation-li-a.png new file mode 100644 index 0000000000000000000000000000000000000000..9b32288e045cd94e6aaa0e35f1382a32b66b64da Binary files /dev/null and b/manual1903/api_reference/component-pipe/scaladocs/lib/navigation-li-a.png differ diff --git a/manual1903/api_reference/component-pipe/scaladocs/lib/navigation-li.png b/manual1903/api_reference/component-pipe/scaladocs/lib/navigation-li.png new file mode 100644 index 0000000000000000000000000000000000000000..fd0ad06e819742b15f3a982a9b2e50bbaa886a1e Binary files /dev/null and b/manual1903/api_reference/component-pipe/scaladocs/lib/navigation-li.png differ diff --git a/manual1903/api_reference/component-pipe/scaladocs/lib/object.png b/manual1903/api_reference/component-pipe/scaladocs/lib/object.png new file mode 100644 index 0000000000000000000000000000000000000000..ad312793ea64e50c60dce89da57a78b4b6d44730 Binary files /dev/null and b/manual1903/api_reference/component-pipe/scaladocs/lib/object.png differ diff --git a/manual1903/api_reference/component-pipe/scaladocs/lib/object_big.png b/manual1903/api_reference/component-pipe/scaladocs/lib/object_big.png new file mode 100644 index 0000000000000000000000000000000000000000..67ffca79defdbb0531437d41fc27ce1ea58a17c5 Binary files /dev/null and b/manual1903/api_reference/component-pipe/scaladocs/lib/object_big.png differ diff --git a/manual1903/api_reference/component-pipe/scaladocs/lib/object_diagram.png b/manual1903/api_reference/component-pipe/scaladocs/lib/object_diagram.png new file mode 100644 index 0000000000000000000000000000000000000000..6e9f2f743f67c15e04846f14819a913713b216e4 Binary files /dev/null and b/manual1903/api_reference/component-pipe/scaladocs/lib/object_diagram.png differ diff --git a/manual1903/api_reference/component-pipe/scaladocs/lib/object_to_class_big.png b/manual1903/api_reference/component-pipe/scaladocs/lib/object_to_class_big.png new file mode 100644 index 0000000000000000000000000000000000000000..7502942eb68134f5569c5c00e84533f452093c43 Binary files /dev/null and b/manual1903/api_reference/component-pipe/scaladocs/lib/object_to_class_big.png differ diff --git a/manual1903/api_reference/component-pipe/scaladocs/lib/object_to_trait_big.png b/manual1903/api_reference/component-pipe/scaladocs/lib/object_to_trait_big.png new file mode 100644 index 0000000000000000000000000000000000000000..c777bfce8dd0a169f484641a3f439720fd23c427 Binary files /dev/null and b/manual1903/api_reference/component-pipe/scaladocs/lib/object_to_trait_big.png differ diff --git a/manual1903/api_reference/component-pipe/scaladocs/lib/object_to_type_big.png b/manual1903/api_reference/component-pipe/scaladocs/lib/object_to_type_big.png new file mode 100644 index 0000000000000000000000000000000000000000..7502942eb68134f5569c5c00e84533f452093c43 Binary files /dev/null and b/manual1903/api_reference/component-pipe/scaladocs/lib/object_to_type_big.png differ diff --git a/manual1903/api_reference/component-pipe/scaladocs/lib/ownderbg2.gif b/manual1903/api_reference/component-pipe/scaladocs/lib/ownderbg2.gif new file mode 100644 index 0000000000000000000000000000000000000000..848dd5963a133dc18b9f055928150dc5e762dde0 Binary files /dev/null and b/manual1903/api_reference/component-pipe/scaladocs/lib/ownderbg2.gif differ diff --git a/manual1903/api_reference/component-pipe/scaladocs/lib/ownerbg.gif b/manual1903/api_reference/component-pipe/scaladocs/lib/ownerbg.gif new file mode 100644 index 0000000000000000000000000000000000000000..34a04249ee9edc75662a2539fe7daa04424cbe8d Binary files /dev/null and b/manual1903/api_reference/component-pipe/scaladocs/lib/ownerbg.gif differ diff --git a/manual1903/api_reference/component-pipe/scaladocs/lib/ownerbg2.gif b/manual1903/api_reference/component-pipe/scaladocs/lib/ownerbg2.gif new file mode 100644 index 0000000000000000000000000000000000000000..2ed33b0aa4a3741c9b7c2b0c0e83555d371f0c6e Binary files /dev/null and b/manual1903/api_reference/component-pipe/scaladocs/lib/ownerbg2.gif differ diff --git a/manual1903/api_reference/component-pipe/scaladocs/lib/package.png b/manual1903/api_reference/component-pipe/scaladocs/lib/package.png new file mode 100644 index 0000000000000000000000000000000000000000..6ea17ac320ec13c02680c5549cf496d007ea6acf Binary files /dev/null and b/manual1903/api_reference/component-pipe/scaladocs/lib/package.png differ diff --git a/manual1903/api_reference/component-pipe/scaladocs/lib/package_big.png b/manual1903/api_reference/component-pipe/scaladocs/lib/package_big.png new file mode 100644 index 0000000000000000000000000000000000000000..529aa9318851b5207355cf316ce35a50bc4731bb Binary files /dev/null and b/manual1903/api_reference/component-pipe/scaladocs/lib/package_big.png differ diff --git a/manual1903/api_reference/component-pipe/scaladocs/lib/packagesbg.gif b/manual1903/api_reference/component-pipe/scaladocs/lib/packagesbg.gif new file mode 100644 index 0000000000000000000000000000000000000000..00c3378a2a3af6ed04c42476fda69db07d622787 Binary files /dev/null and b/manual1903/api_reference/component-pipe/scaladocs/lib/packagesbg.gif differ diff --git a/manual1903/api_reference/component-pipe/scaladocs/lib/permalink.png b/manual1903/api_reference/component-pipe/scaladocs/lib/permalink.png new file mode 100644 index 0000000000000000000000000000000000000000..d54bc93f6a709dc33c59bd99280ebc6505ff14a9 Binary files /dev/null and b/manual1903/api_reference/component-pipe/scaladocs/lib/permalink.png differ diff --git a/manual1903/api_reference/component-pipe/scaladocs/lib/ref-index.css b/manual1903/api_reference/component-pipe/scaladocs/lib/ref-index.css new file mode 100644 index 0000000000000000000000000000000000000000..7d64b9c5c533e0acaab95fdb5b2705b1c9fb7978 --- /dev/null +++ b/manual1903/api_reference/component-pipe/scaladocs/lib/ref-index.css @@ -0,0 +1,30 @@ +body { + font-size: 10pt; + font-family: Arial, sans-serif; +} + +a { + color:#315479; +} + +.letters { + width:100%; + text-align:center; + margin:0.6em; + padding:0.1em; + border-bottom:1px solid gray; +} + +.entry { + border-bottom: 1px solid lightgray; + padding: 5px 0 8px; +} + +.name { + /* background-color:#E5E5E5; */ +} + +.occurrences { + margin-left: 1em; + margin-top: 5px; +} \ No newline at end of file diff --git a/manual1903/api_reference/component-pipe/scaladocs/lib/remove.png b/manual1903/api_reference/component-pipe/scaladocs/lib/remove.png new file mode 100644 index 0000000000000000000000000000000000000000..4625f9df7439960a2109b08e9019c2615dfd44e7 Binary files /dev/null and b/manual1903/api_reference/component-pipe/scaladocs/lib/remove.png differ diff --git a/manual1903/api_reference/component-pipe/scaladocs/lib/scheduler.js b/manual1903/api_reference/component-pipe/scaladocs/lib/scheduler.js new file mode 100644 index 0000000000000000000000000000000000000000..4417f5b4385729f6023b05c03bd75c59fe82e596 --- /dev/null +++ b/manual1903/api_reference/component-pipe/scaladocs/lib/scheduler.js @@ -0,0 +1,71 @@ +// © 2010 EPFL/LAMP +// code by Gilles Dubochet + +function Scheduler() { + var scheduler = this; + var resolution = 0; + this.timeout = undefined; + this.queues = new Array(0); // an array of work pacakges indexed by index in the labels table. + this.labels = new Array(0); // an indexed array of labels indexed by priority. This should be short. + this.label = function(name, priority) { + this.name = name; + this.priority = priority; + } + this.work = function(fn, self, args) { + this.fn = fn; + this.self = self; + this.args = args; + } + this.addLabel = function(name, priority) { + var idx = 0; + while (idx < scheduler.queues.length && scheduler.labels[idx].priority <= priority) { idx = idx + 1; } + scheduler.labels.splice(idx, 0, new scheduler.label(name, priority)); + scheduler.queues.splice(idx, 0, new Array(0)); + } + this.clearLabel = function(name) { + var idx = 0; + while (idx < scheduler.queues.length && scheduler.labels[idx].name != name) { idx = idx + 1; } + if (idx < scheduler.queues.length && scheduler.labels[i].name == name) { + scheduler.labels.splice(idx, 1); + scheduler.queues.splice(idx, 1); + } + } + this.nextWork = function() { + var fn = undefined; + var idx = 0; + while (idx < scheduler.queues.length && scheduler.queues[idx].length == 0) { idx = idx + 1; } + if (idx < scheduler.queues.length && scheduler.queues[idx].length > 0) { + var fn = scheduler.queues[idx].shift(); + } + return fn; + } + this.add = function(labelName, fn, self, args) { + var doWork = function() { + scheduler.timeout = setTimeout(function() { + var work = scheduler.nextWork(); + if (work != undefined) { + if (work.args == undefined) { work.args = new Array(0); } + work.fn.apply(work.self, work.args); + doWork(); + } + else { + scheduler.timeout = undefined; + } + }, resolution); + } + var idx = 0; + while (idx < scheduler.labels.length && scheduler.labels[idx].name != labelName) { idx = idx + 1; } + if (idx < scheduler.queues.length && scheduler.labels[idx].name == labelName) { + scheduler.queues[idx].push(new scheduler.work(fn, self, args)); + if (scheduler.timeout == undefined) doWork(); + } + else throw("queue for add is non existant"); + } + this.clear = function(labelName) { + var idx = 0; + while (idx < scheduler.labels.length && scheduler.labels[idx].name != labelName) { idx = idx + 1; } + if (idx < scheduler.queues.length && scheduler.labels[idx].name == labelName) { + scheduler.queues[idx] = new Array(); + } + } +}; diff --git a/manual1903/api_reference/component-pipe/scaladocs/lib/selected-implicits.png b/manual1903/api_reference/component-pipe/scaladocs/lib/selected-implicits.png new file mode 100644 index 0000000000000000000000000000000000000000..bc29efb3e60134039e702d5449e685a3bc103f06 Binary files /dev/null and b/manual1903/api_reference/component-pipe/scaladocs/lib/selected-implicits.png differ diff --git a/manual1903/api_reference/component-pipe/scaladocs/lib/selected-right-implicits.png b/manual1903/api_reference/component-pipe/scaladocs/lib/selected-right-implicits.png new file mode 100644 index 0000000000000000000000000000000000000000..8313f4975b4e7191d18183adcd8de77659622874 Binary files /dev/null and b/manual1903/api_reference/component-pipe/scaladocs/lib/selected-right-implicits.png differ diff --git a/manual1903/api_reference/component-pipe/scaladocs/lib/selected-right.png b/manual1903/api_reference/component-pipe/scaladocs/lib/selected-right.png new file mode 100644 index 0000000000000000000000000000000000000000..04eda2f3071a81ada129b906e60709eb5b1c4e29 Binary files /dev/null and b/manual1903/api_reference/component-pipe/scaladocs/lib/selected-right.png differ diff --git a/manual1903/api_reference/component-pipe/scaladocs/lib/selected.png b/manual1903/api_reference/component-pipe/scaladocs/lib/selected.png new file mode 100644 index 0000000000000000000000000000000000000000..c89765239e074f40ac120c7429b5d65a47dc218d Binary files /dev/null and b/manual1903/api_reference/component-pipe/scaladocs/lib/selected.png differ diff --git a/manual1903/api_reference/component-pipe/scaladocs/lib/selected2-right.png b/manual1903/api_reference/component-pipe/scaladocs/lib/selected2-right.png new file mode 100644 index 0000000000000000000000000000000000000000..bf984ef0bac9acacf732a22f6dbb9f648a6dc26a Binary files /dev/null and b/manual1903/api_reference/component-pipe/scaladocs/lib/selected2-right.png differ diff --git a/manual1903/api_reference/component-pipe/scaladocs/lib/selected2.png b/manual1903/api_reference/component-pipe/scaladocs/lib/selected2.png new file mode 100644 index 0000000000000000000000000000000000000000..a790bb1169b6b54de1d51f7778ee552979f52183 Binary files /dev/null and b/manual1903/api_reference/component-pipe/scaladocs/lib/selected2.png differ diff --git a/manual1903/api_reference/component-pipe/scaladocs/lib/signaturebg.gif b/manual1903/api_reference/component-pipe/scaladocs/lib/signaturebg.gif new file mode 100644 index 0000000000000000000000000000000000000000..b6ac4415e4a3a3ce7e38401a476beea7b1938585 Binary files /dev/null and b/manual1903/api_reference/component-pipe/scaladocs/lib/signaturebg.gif differ diff --git a/manual1903/api_reference/component-pipe/scaladocs/lib/signaturebg2.gif b/manual1903/api_reference/component-pipe/scaladocs/lib/signaturebg2.gif new file mode 100644 index 0000000000000000000000000000000000000000..9aae5ba0aaa44ba14acce95565d9610a03e3defb Binary files /dev/null and b/manual1903/api_reference/component-pipe/scaladocs/lib/signaturebg2.gif differ diff --git a/manual1903/api_reference/component-pipe/scaladocs/lib/template.css b/manual1903/api_reference/component-pipe/scaladocs/lib/template.css new file mode 100644 index 0000000000000000000000000000000000000000..e84d7c1ca66d1b8a6ac542f3918c53738049f3a1 --- /dev/null +++ b/manual1903/api_reference/component-pipe/scaladocs/lib/template.css @@ -0,0 +1,893 @@ +/* Reset */ + +html, body, div, span, object, iframe, +h1, h2, h3, h4, h5, h6, p, blockquote, pre, +a, abbr, acronym, address, code, pre, +del, dfn, em, img, q, dl, dt, dd, ol, ul, li, +fieldset, form, label, legend, input, +table, caption, tbody, tfoot, thead, tr, th, td { + margin: 0; + padding: 0; + border: 0; + font-weight: inherit; + font-style: inherit; + font-size: 100%; + font-family: inherit; + vertical-align: baseline; +} + +table { border-collapse: separate; border-spacing: 0; } +caption, th, td { text-align: left; font-weight: normal; } +table, td, th { vertical-align: middle; } + +blockquote:before, blockquote:after, q:before, q:after { content: ""; } +blockquote, q { quotes: none; } + +a img { border: none; } + +input { border-width: 0px; } + +/* Page */ + +body { + font-family: Arial, sans-serif; + font-size: 10pt; +} + +#footer { + font-size: 9pt; + text-align: center; + color: #858484; + bottom: 0; + width: 100%; + height: 20px; +} + +a[href] { + text-decoration: underline; + color: #315479; +} + +a[href]:hover { + text-decoration: none; +} + +#types ol li > p { + margin-top: 5px; +} + +#types ol li:last-child { + margin-bottom: 5px; +} + +/* +#definition { + padding: 6px 0 6px 6px; + min-height: 59px; + color: white; +} +*/ + +#definition { + display: block-inline; + padding: 5px 0px; + height: 61px; +} + +#definition > img { + float: left; + padding-right: 6px; + padding-left: 5px; +} + +#definition > a > img { + float: left; + padding-right: 6px; + padding-left: 5px; +} + +#definition p + h1 { + margin-top: 3px; +} + +#definition > h1 { +/* padding: 12px 0 12px 6px;*/ + color: white; + text-shadow: 3px black; + text-shadow: black 0px 2px 0px; + font-size: 24pt; + display: inline-block; + overflow: hidden; + margin-top: 10px; +} + +#definition h1 > a { + color: #ffffff; + font-size: 24pt; + text-shadow: black 0px 2px 0px; +/* text-shadow: black 0px 0px 0px;*/ +text-decoration: none; +} + +#definition #owner { + color: #ffffff; + margin-top: 4px; + font-size: 10pt; + overflow: hidden; +} + +#definition #owner > a { + color: #ffffff; +} + +#definition #owner > a:hover { + text-decoration: none; +} + +#signature { + background-image:url('signaturebg2.gif'); + background-color: #d7d7d7; + min-height: 18px; + background-repeat:repeat-x; + font-size: 11.5pt; +/* margin-bottom: 10px;*/ + padding: 8px; +} + +#signature > span.modifier_kind { + display: inline; + float: left; + text-align: left; + width: auto; + position: static; + text-shadow: 2px white; + text-shadow: white 0px 1px 0px; +} + +#signature > span.symbol { + text-align: left; + display: inline; + padding-left: 0.7em; + text-shadow: 2px white; + text-shadow: white 0px 1px 0px; +} + +/* Linear super types and known subclasses */ +.hiddenContent { + display: none; +} + +.toggleContainer .toggle { + cursor: pointer; + padding-left: 15px; + background: url("arrow-right.png") no-repeat 0 3px transparent; +} + +.toggleContainer .toggle.open { + background: url("arrow-down.png") no-repeat 0 3px transparent; +} + +.toggleContainer .hiddenContent { + margin-top: 5px; +} + +.value #definition { + background-color: #2C475C; /* blue */ + background-image:url('defbg-blue.gif'); + background-repeat:repeat-x; +} + +.type #definition { + background-color: #316555; /* green */ + background-image:url('defbg-green.gif'); + background-repeat:repeat-x; +} + +#template { + margin-bottom: 50px; +} + +h3 { + color: white; + padding: 5px 10px; + font-size: 12pt; + font-weight: bold; + text-shadow: black 1px 1px 0px; +} + +dl.attributes > dt { + display: block; + float: left; + font-style: italic; +} + +dl.attributes > dt.implicit { + font-weight: bold; + color: darkgreen; +} + +dl.attributes > dd { + display: block; + padding-left: 10em; + margin-bottom: 5px; + min-height: 15px; +} + +#template .values > h3 { + background: #2C475C url("valuemembersbg.gif") repeat-x bottom left; /* grayish blue */ + height: 18px; +} + +#values ol li:last-child { + margin-bottom: 5px; +} + +#template .types > h3 { + background: #316555 url("typebg.gif") repeat-x bottom left; /* green */ + height: 18px; +} + +#constructors > h3 { + background: #4f504f url("constructorsbg.gif") repeat-x bottom left; /* gray */ + height: 18px; +} + +#inheritedMembers > div.parent > h3 { + background: #dadada url("constructorsbg.gif") repeat-x bottom left; /* gray */ + height: 17px; + font-style: italic; + font-size: 12pt; +} + +#inheritedMembers > div.parent > h3 * { + color: white; +} + +#inheritedMembers > div.conversion > h3 { + background: #dadada url("conversionbg.gif") repeat-x bottom left; /* gray */ + height: 17px; + font-style: italic; + font-size: 12pt; +} + +#inheritedMembers > div.conversion > h3 * { + color: white; +} + +#groupedMembers > div.group > h3 { + background: #dadada url("typebg.gif") repeat-x bottom left; /* green */ + height: 17px; + font-size: 12pt; +} + +#groupedMembers > div.group > h3 * { + color: white; +} + + +/* Member cells */ + +div.members > ol { + background-color: white; + list-style: none +} + +div.members > ol > li { + display: block; + border-bottom: 1px solid gray; + padding: 5px 0 6px; + margin: 0 10px; + position: relative; +} + +div.members > ol > li:last-child { + border: 0; + padding: 5px 0 5px; +} + +/* Member signatures */ + +#tooltip { + background: #EFD5B5; + border: 1px solid gray; + color: black; + display: none; + padding: 5px; + position: absolute; +} + +.signature { + font-family: monospace; + font-size: 10pt; + line-height: 18px; + clear: both; + display: block; + text-shadow: 2px white; + text-shadow: white 0px 1px 0px; +} + +.signature .modifier_kind { + position: absolute; + text-align: right; + width: 14em; +} + +.signature > a > .symbol > .name { + text-decoration: underline; +} + +.signature > a:hover > .symbol > .name { + text-decoration: none; +} + +.signature > a { + text-decoration: none; +} + +.signature > .symbol { + display: block; + padding-left: 14.7em; +} + +.signature .name { + display: inline-block; + font-weight: bold; +} + +.signature .symbol > .implicit { + display: inline-block; + font-weight: bold; + text-decoration: underline; + color: darkgreen; +} + +.signature .symbol .shadowed { + color: darkseagreen; +} + +.signature .symbol .params > .implicit { + font-style: italic; +} + +.signature .symbol .deprecated { + text-decoration: line-through; +} + +.signature .symbol .params .default { + font-style: italic; +} + +#template .signature.closed { + background: url("arrow-right.png") no-repeat 0 5px transparent; + cursor: pointer; +} + +#template .signature.opened { + background: url("arrow-down.png") no-repeat 0 5px transparent; + cursor: pointer; +} + +#template .values .signature .name { + color: darkblue; +} + +#template .types .signature .name { + color: darkgreen; +} + +.full-signature-usecase h4 span { + font-size: 10pt; +} + +.full-signature-usecase > #signature { + padding-top: 0px; +} + +#template .full-signature-usecase > .signature.closed { + background: none; +} + +#template .full-signature-usecase > .signature.opened { + background: none; +} + +.full-signature-block { + padding: 5px 0 0; + border-top: 1px solid #EBEBEB; + margin-top: 5px; + margin-bottom: 5px; +} + +#definition .morelinks { + text-align: right; + position: absolute; + top: 40px; + right: 10px; + width: 450px; +} + +#definition .morelinks a { + color: #EBEBEB; +} + +#template .members li .permalink { + position: absolute; + top: 5px; + right: 5px; +} + +#definition .permalink { + position: absolute; + top: 10px; + right: 15px; +} + +#definition .permalink a { + color: #EBEBEB; +} + +#template .members li .permalink, +#definition .permalink a { + display: none; +} + +#template .members li:hover .permalink, +#definition:hover .permalink a { + display: block; +} + +#template .members li .permalink a, +#definition .permalink a { + text-decoration: none; + font-weight: bold; +} + +/* Comments text formating */ + +.cmt {} + +.cmt p { + margin: 0.7em 0; +} + +.cmt p:first-child { + margin-top: 0; +} + +.cmt p:last-child { + margin-bottom: 0; +} + +.cmt h3, +.cmt h4, +.cmt h5, +.cmt h6 { + margin-bottom: 0.7em; + margin-top: 1.4em; + display: block; + text-align: left; + font-weight: bold; +} + +.cmt h3 { + font-size: 14pt; +} + +.cmt h4 { + font-size: 13pt; +} + +.cmt h5 { + font-size: 12pt; +} + +.cmt h6 { + font-size: 11pt; +} + +.cmt pre { + padding: 5px; + border: 1px solid #ddd; + background-color: #eee; + margin: 5px 0; + display: block; + font-family: monospace; +} + +.cmt pre span.ano { + color: blue; +} + +.cmt pre span.cmt { + color: green; +} + +.cmt pre span.kw { + font-weight: bold; +} + +.cmt pre span.lit { + color: #c71585; +} + +.cmt pre span.num { + color: #1e90ff; /* dodgerblue */ +} + +.cmt pre span.std { + color: #008080; /* teal */ +} + +.cmt ul { + display: block; + list-style: circle; + padding-left: 20px; +} + +.cmt ol { + display: block; + padding-left:20px; +} + +.cmt ol.decimal { + list-style: decimal; +} + +.cmt ol.lowerAlpha { + list-style: lower-alpha; +} + +.cmt ol.upperAlpha { + list-style: upper-alpha; +} + +.cmt ol.lowerRoman { + list-style: lower-roman; +} + +.cmt ol.upperRoman { + list-style: upper-roman; +} + +.cmt li { + display: list-item; +} + +.cmt code { + font-family: monospace; +} + +.cmt a { + font-style: bold; +} + +.cmt em, .cmt i { + font-style: italic; +} + +.cmt strong, .cmt b { + font-weight: bold; +} + +/* Comments structured layout */ + +.group > div.comment { + padding-top: 5px; + padding-bottom: 5px; + padding-right: 5px; + padding-left: 5px; + border: 1px solid #ddd; + background-color: #eeeee; + margin-top:5px; + margin-bottom:5px; + margin-right:5px; + margin-left:5px; + display: block; +} + +p.comment { + display: block; + margin-left: 14.7em; + margin-top: 5px; +} + +.shortcomment { + display: block; + margin: 5px 10px; +} + +div.fullcommenttop { + padding: 10px 10px; + background-image:url('fullcommenttopbg.gif'); + background-repeat:repeat-x; +} + +div.fullcomment { + margin: 5px 10px; +} + +#template div.fullcommenttop, +#template div.fullcomment { + display:none; + margin: 5px 0 0 14.7em; +} + +#template .shortcomment { + margin: 5px 0 0 14.7em; + padding: 0; +} + +div.fullcomment .block { + padding: 5px 0 0; + border-top: 1px solid #EBEBEB; + margin-top: 5px; + overflow: hidden; +} + +div.fullcommenttop .block { + padding: 5px 0 0; + border-top: 1px solid #EBEBEB; + margin-top: 5px; + margin-bottom: 5px +} + +div.fullcomment div.block ol li p, +div.fullcomment div.block ol li { + display:inline +} + +div.fullcomment .block > h5 { + font-style: italic; + font-weight: normal; + display: inline-block; +} + +div.fullcomment .comment { + margin: 5px 0 10px; +} + +div.fullcommenttop .comment:last-child, +div.fullcomment .comment:last-child { + margin-bottom: 0; +} + +div.fullcommenttop dl.paramcmts { + margin-bottom: 0.8em; + padding-bottom: 0.8em; +} + +div.fullcommenttop dl.paramcmts > dt, +div.fullcomment dl.paramcmts > dt { + display: block; + float: left; + font-weight: bold; + min-width: 70px; +} + +div.fullcommenttop dl.paramcmts > dd, +div.fullcomment dl.paramcmts > dd { + display: block; + padding-left: 10px; + margin-bottom: 5px; + margin-left: 70px; + min-height: 15px; +} + +/* Members filter tool */ + +#textfilter { + position: relative; + display: block; + height: 20px; + margin-bottom: 5px; +} + +#textfilter > .pre { + display: block; + position: absolute; + top: 0; + left: 0; + height: 23px; + width: 21px; + background: url("filter_box_left.png"); +} + +#textfilter > .input { + display: block; + position: absolute; + top: 0; + right: 20px; + left: 20px; +} + +#textfilter > .input > input { + height: 20px; + padding: 1px; + font-weight: bold; + color: #000000; + background: #ffffff url("filterboxbarbg.png") repeat-x top left; + width: 100%; +} + +#textfilter > .post { + display: block; + position: absolute; + top: 0; + right: 0; + height: 23px; + width: 21px; + background: url("filter_box_right.png"); +} + +#mbrsel { + padding: 5px 10px; + background-color: #ededee; /* light gray */ + background-image:url('filterboxbg.gif'); + background-repeat:repeat-x; + font-size: 9.5pt; + display: block; + margin-top: 1em; +/* margin-bottom: 1em; */ +} + +#mbrsel > div { + margin-bottom: 5px; +} + +#mbrsel > div:last-child { + margin-bottom: 0; +} + +#mbrsel > div > span.filtertype { + padding: 4px; + margin-right: 5px; + float: left; + display: inline-block; + color: #000000; + font-weight: bold; + text-shadow: white 0px 1px 0px; + width: 4.5em; +} + +#mbrsel > div > ol { + display: inline-block; +} + +#mbrsel > div > a { + position:relative; + top: -8px; + font-size: 11px; + text-shadow: #ffffff 0 1px 0; +} + +#mbrsel > div > ol#linearization { + display: table; + margin-left: 70px; +} + +#mbrsel > div > ol#linearization > li.in { + text-decoration: none; + float: left; + padding-right: 10px; + margin-right: 5px; + background: url(selected-right.png) no-repeat; + background-position: right 0px; +} + +#mbrsel > div > ol#linearization > li.in > span{ + color: #404040; + float: left; + padding: 1px 0 1px 10px; + background: url(selected.png) no-repeat; + background-position: 0px 0px; + text-shadow: #ffffff 0 1px 0; +} + +#mbrsel > div > ol#implicits { + display: table; + margin-left: 70px; +} + +#mbrsel > div > ol#implicits > li.in { + text-decoration: none; + float: left; + padding-right: 10px; + margin-right: 5px; + background: url(selected-right-implicits.png) no-repeat; + background-position: right 0px; +} + +#mbrsel > div > ol#implicits > li.in > span{ + color: #404040; + float: left; + padding: 1px 0 1px 10px; + background: url(selected-implicits.png) no-repeat; + background-position: 0px 0px; + text-shadow: #ffffff 0 1px 0; +} + +#mbrsel > div > ol > li { +/* padding: 3px 10px;*/ + line-height: 16pt; + display: inline-block; + cursor: pointer; +} + +#mbrsel > div > ol > li.in { + text-decoration: none; + float: left; + padding-right: 10px; + margin-right: 5px; + background: url(selected-right.png) no-repeat; + background-position: right 0px; +} + +#mbrsel > div > ol > li.in > span{ + color: #404040; + float: left; + padding: 1px 0 1px 10px; + background: url(selected.png) no-repeat; + background-position: 0px 0px; + text-shadow: #ffffff 0 1px 0; +} + +#mbrsel > div > ol > li.out { + text-decoration: none; + float: left; + padding-right: 10px; + margin-right: 5px; +} + +#mbrsel > div > ol > li.out > span{ + color: #747474; +/* background-color: #999; */ + float: left; + padding: 1px 0 1px 10px; +/* background: url(unselected.png) no-repeat;*/ + background-position: 0px -1px; + text-shadow: #ffffff 0 1px 0; +} +/* +#mbrsel .hideall { + color: #4C4C4C; + line-height: 16px; + font-weight: bold; +} + +#mbrsel .hideall span { + color: #4C4C4C; + font-weight: bold; +} + +#mbrsel .showall { + color: #4C4C4C; + line-height: 16px; + font-weight: bold; +} + +#mbrsel .showall span { + color: #4C4C4C; + font-weight: bold; +}*/ + +.badge { + display: inline-block; + padding: 2px 4px; + font-size: 11.844px; + font-weight: bold; + line-height: 14px; + color: #ffffff; + text-shadow: 0 -1px 0 rgba(0, 0, 0, 0.25); + white-space: nowrap; + vertical-align: baseline; + background-color: #999999; + padding-right: 9px; + padding-left: 9px; + -webkit-border-radius: 9px; + -moz-border-radius: 9px; + border-radius: 9px; +} + +.badge-red { + background-color: #b94a48; +} diff --git a/manual1903/api_reference/component-pipe/scaladocs/lib/template.js b/manual1903/api_reference/component-pipe/scaladocs/lib/template.js new file mode 100644 index 0000000000000000000000000000000000000000..798a2d430b9e40540b2249ab0851c87d9c7e6bd0 --- /dev/null +++ b/manual1903/api_reference/component-pipe/scaladocs/lib/template.js @@ -0,0 +1,500 @@ +// © 2009–2010 EPFL/LAMP +// code by Gilles Dubochet with contributions by Pedro Furlanetto and Marcin Kubala + +$(document).ready(function(){ + + var controls = { + visibility: { + publicOnly: $("#visbl").find("> ol > li.public"), + all: $("#visbl").find("> ol > li.all") + } + }; + + // Escapes special characters and returns a valid jQuery selector + function escapeJquery(str){ + return str.replace(/([;&,\.\+\*\~':"\!\^#$%@\[\]\(\)=<>\|])/g, '\\$1'); + } + + function toggleVisibilityFilter(ctrlToEnable, ctrToDisable) { + if (ctrlToEnable.hasClass("out")) { + ctrlToEnable.removeClass("out").addClass("in"); + ctrToDisable.removeClass("in").addClass("out"); + filter(); + } + } + + controls.visibility.publicOnly.click(function () { + toggleVisibilityFilter(controls.visibility.publicOnly, controls.visibility.all); + }); + + controls.visibility.all.click(function () { + toggleVisibilityFilter(controls.visibility.all, controls.visibility.publicOnly); + }); + + function exposeMember(jqElem) { + var jqElemParent = jqElem.parent(), + parentName = jqElemParent.attr("name"), + linearizationName = /^([^#]*)(#.*)?$/gi.exec(parentName)[1]; + + // switch visibility filter if necessary + if (jqElemParent.attr("visbl") == "prt") { + toggleVisibilityFilter(controls.visibility.all, controls.visibility.publicOnly); + } + + // toggle appropriate linearization buttons + if (linearizationName) { + $("#linearization li.out[name='" + linearizationName + "']").removeClass("out").addClass("in"); + } + + filter(); + window.scrollTo(0, 0); + jqElemParent.effect("highlight", {color: "#FFCC85"}, 3000); + $('html,body').animate({scrollTop: jqElemParent.offset().top}, 1000); + } + + var isHiddenClass = function (name) { + return name == 'scala.Any' || + name == 'scala.AnyRef'; + }; + + var isHidden = function (elem) { + return $(elem).attr("data-hidden") == 'true'; + }; + + $("#linearization li:gt(0)").filter(function(){ + return isHiddenClass($(this).attr("name")); + }).removeClass("in").addClass("out"); + + $("#implicits li").filter(function(){ + return isHidden(this); + }).removeClass("in").addClass("out"); + + // Pre-filter members + filter(); + + // Member filter box + var input = $("#textfilter input"); + input.bind("keyup", function(event) { + + switch ( event.keyCode ) { + + case 27: // escape key + input.val(""); + filter(true); + break; + + case 38: // up + input.val(""); + filter(false); + window.scrollTo(0, $("body").offset().top); + input.focus(); + break; + + case 33: //page up + input.val(""); + filter(false); + break; + + case 34: //page down + input.val(""); + filter(false); + break; + + default: + window.scrollTo(0, $("#mbrsel").offset().top); + filter(true); + break; + + } + }); + input.focus(function(event) { + input.select(); + }); + $("#textfilter > .post").click(function() { + $("#textfilter input").attr("value", ""); + filter(); + }); + $(document).keydown(function(event) { + + if (event.keyCode == 9) { // tab + $("#index-input", window.parent.document).focus(); + input.attr("value", ""); + return false; + } + }); + + $("#linearization li").click(function(){ + if ($(this).hasClass("in")) { + $(this).removeClass("in"); + $(this).addClass("out"); + } + else if ($(this).hasClass("out")) { + $(this).removeClass("out"); + $(this).addClass("in"); + } + filter(); + }); + + $("#implicits li").click(function(){ + if ($(this).hasClass("in")) { + $(this).removeClass("in"); + $(this).addClass("out"); + } + else if ($(this).hasClass("out")) { + $(this).removeClass("out"); + $(this).addClass("in"); + } + filter(); + }); + + $("#mbrsel > div[id=ancestors] > ol > li.hideall").click(function() { + $("#linearization li.in").removeClass("in").addClass("out"); + $("#linearization li:first").removeClass("out").addClass("in"); + $("#implicits li.in").removeClass("in").addClass("out"); + + if ($(this).hasClass("out") && $("#mbrsel > div[id=ancestors] > ol > li.showall").hasClass("in")) { + $(this).removeClass("out").addClass("in"); + $("#mbrsel > div[id=ancestors] > ol > li.showall").removeClass("in").addClass("out"); + } + + filter(); + }) + $("#mbrsel > div[id=ancestors] > ol > li.showall").click(function() { + var filteredLinearization = + $("#linearization li.out").filter(function() { + return ! isHiddenClass($(this).attr("name")); + }); + filteredLinearization.removeClass("out").addClass("in"); + + var filteredImplicits = + $("#implicits li.out").filter(function() { + return ! isHidden(this); + }); + filteredImplicits.removeClass("out").addClass("in"); + + if ($(this).hasClass("out") && $("#mbrsel > div[id=ancestors] > ol > li.hideall").hasClass("in")) { + $(this).removeClass("out").addClass("in"); + $("#mbrsel > div[id=ancestors] > ol > li.hideall").removeClass("in").addClass("out"); + } + + filter(); + }); + $("#order > ol > li.alpha").click(function() { + if ($(this).hasClass("out")) { + orderAlpha(); + } + }) + $("#order > ol > li.inherit").click(function() { + if ($(this).hasClass("out")) { + orderInherit(); + } + }); + $("#order > ol > li.group").click(function() { + if ($(this).hasClass("out")) { + orderGroup(); + } + }); + $("#groupedMembers").hide(); + + initInherit(); + + // Create tooltips + $(".extype").add(".defval").tooltip({ + tip: "#tooltip", + position: "top center", + predelay: 500, + onBeforeShow: function(ev) { + $(this.getTip()).text(this.getTrigger().attr("name")); + } + }); + + /* Add toggle arrows */ + //var docAllSigs = $("#template li").has(".fullcomment").find(".signature"); + // trying to speed things up a little bit + var docAllSigs = $("#template li[fullComment=yes] .signature"); + + function commentToggleFct(signature){ + var parent = signature.parent(); + var shortComment = $(".shortcomment", parent); + var fullComment = $(".fullcomment", parent); + var vis = $(":visible", fullComment); + signature.toggleClass("closed").toggleClass("opened"); + if (vis.length > 0) { + shortComment.slideDown(100); + fullComment.slideUp(100); + } + else { + shortComment.slideUp(100); + fullComment.slideDown(100); + } + }; + docAllSigs.addClass("closed"); + docAllSigs.click(function() { + commentToggleFct($(this)); + }); + + /* Linear super types and known subclasses */ + function toggleShowContentFct(e){ + e.toggleClass("open"); + var content = $(".hiddenContent", e.parent().get(0)); + if (content.is(':visible')) { + content.slideUp(100); + } + else { + content.slideDown(100); + } + }; + + $(".toggle:not(.diagram-link)").click(function() { + toggleShowContentFct($(this)); + }); + + // Set parent window title + windowTitle(); + + if ($("#order > ol > li.group").length == 1) { orderGroup(); }; + + function findElementByHash(locationHash) { + var temp = locationHash.replace('#', ''); + var memberSelector = '#' + escapeJquery(temp); + return $(memberSelector); + } + + // highlight and jump to selected member + if (window.location.hash) { + var jqElem = findElementByHash(window.location.hash); + if (jqElem.length > 0) { + exposeMember(jqElem); + } + } +}); + +function orderAlpha() { + $("#order > ol > li.alpha").removeClass("out").addClass("in"); + $("#order > ol > li.inherit").removeClass("in").addClass("out"); + $("#order > ol > li.group").removeClass("in").addClass("out"); + $("#template > div.parent").hide(); + $("#template > div.conversion").hide(); + $("#mbrsel > div[id=ancestors]").show(); + filter(); +}; + +function orderInherit() { + $("#order > ol > li.inherit").removeClass("out").addClass("in"); + $("#order > ol > li.alpha").removeClass("in").addClass("out"); + $("#order > ol > li.group").removeClass("in").addClass("out"); + $("#template > div.parent").show(); + $("#template > div.conversion").show(); + $("#mbrsel > div[id=ancestors]").hide(); + filter(); +}; + +function orderGroup() { + $("#order > ol > li.group").removeClass("out").addClass("in"); + $("#order > ol > li.alpha").removeClass("in").addClass("out"); + $("#order > ol > li.inherit").removeClass("in").addClass("out"); + $("#template > div.parent").hide(); + $("#template > div.conversion").hide(); + $("#mbrsel > div[id=ancestors]").show(); + filter(); +}; + +/** Prepares the DOM for inheritance-based display. To do so it will: + * - hide all statically-generated parents headings; + * - copy all members from the value and type members lists (flat members) to corresponding lists nested below the + * parent headings (inheritance-grouped members); + * - initialises a control variable used by the filter method to control whether filtering happens on flat members + * or on inheritance-grouped members. */ +function initInherit() { + // inheritParents is a map from fully-qualified names to the DOM node of parent headings. + var inheritParents = new Object(); + var groupParents = new Object(); + $("#inheritedMembers > div.parent").each(function(){ + inheritParents[$(this).attr("name")] = $(this); + }); + $("#inheritedMembers > div.conversion").each(function(){ + inheritParents[$(this).attr("name")] = $(this); + }); + $("#groupedMembers > div.group").each(function(){ + groupParents[$(this).attr("name")] = $(this); + }); + + $("#types > ol > li").each(function(){ + var mbr = $(this); + this.mbrText = mbr.find("> .fullcomment .cmt").text(); + var qualName = mbr.attr("name"); + var owner = qualName.slice(0, qualName.indexOf("#")); + var name = qualName.slice(qualName.indexOf("#") + 1); + var inheritParent = inheritParents[owner]; + if (inheritParent != undefined) { + var types = $("> .types > ol", inheritParent); + if (types.length == 0) { + inheritParent.append("

                      Type Members

                        "); + types = $("> .types > ol", inheritParent); + } + var clone = mbr.clone(); + clone[0].mbrText = this.mbrText; + types.append(clone); + } + var group = mbr.attr("group") + var groupParent = groupParents[group]; + if (groupParent != undefined) { + var types = $("> .types > ol", groupParent); + if (types.length == 0) { + groupParent.append("
                          "); + types = $("> .types > ol", groupParent); + } + var clone = mbr.clone(); + clone[0].mbrText = this.mbrText; + types.append(clone); + } + }); + + $("#values > ol > li").each(function(){ + var mbr = $(this); + this.mbrText = mbr.find("> .fullcomment .cmt").text(); + var qualName = mbr.attr("name"); + var owner = qualName.slice(0, qualName.indexOf("#")); + var name = qualName.slice(qualName.indexOf("#") + 1); + var inheritParent = inheritParents[owner]; + if (inheritParent != undefined) { + var values = $("> .values > ol", inheritParent); + if (values.length == 0) { + inheritParent.append("

                          Value Members

                            "); + values = $("> .values > ol", inheritParent); + } + var clone = mbr.clone(); + clone[0].mbrText = this.mbrText; + values.append(clone); + } + var group = mbr.attr("group") + var groupParent = groupParents[group]; + if (groupParent != undefined) { + var values = $("> .values > ol", groupParent); + if (values.length == 0) { + groupParent.append("
                              "); + values = $("> .values > ol", groupParent); + } + var clone = mbr.clone(); + clone[0].mbrText = this.mbrText; + values.append(clone); + } + }); + $("#inheritedMembers > div.parent").each(function() { + if ($("> div.members", this).length == 0) { $(this).remove(); }; + }); + $("#inheritedMembers > div.conversion").each(function() { + if ($("> div.members", this).length == 0) { $(this).remove(); }; + }); + $("#groupedMembers > div.group").each(function() { + if ($("> div.members", this).length == 0) { $(this).remove(); }; + }); +}; + +/* filter used to take boolean scrollToMember */ +function filter() { + var query = $.trim($("#textfilter input").val()).toLowerCase(); + query = query.replace(/[-[\]{}()*+?.,\\^$|#]/g, "\\$&").replace(/\s+/g, "|"); + var queryRegExp = new RegExp(query, "i"); + var privateMembersHidden = $("#visbl > ol > li.public").hasClass("in"); + var orderingAlphabetic = $("#order > ol > li.alpha").hasClass("in"); + var orderingInheritance = $("#order > ol > li.inherit").hasClass("in"); + var orderingGroups = $("#order > ol > li.group").hasClass("in"); + var hiddenSuperclassElementsLinearization = orderingInheritance ? $("#linearization > li:gt(0)") : $("#linearization > li.out"); + var hiddenSuperclassesLinearization = hiddenSuperclassElementsLinearization.map(function() { + return $(this).attr("name"); + }).get(); + var hiddenSuperclassElementsImplicits = orderingInheritance ? $("#implicits > li") : $("#implicits > li.out"); + var hiddenSuperclassesImplicits = hiddenSuperclassElementsImplicits.map(function() { + return $(this).attr("name"); + }).get(); + + var hideInheritedMembers; + + if (orderingAlphabetic) { + $("#allMembers").show(); + $("#inheritedMembers").hide(); + $("#groupedMembers").hide(); + hideInheritedMembers = true; + $("#allMembers > .members").each(filterFunc); + } else if (orderingGroups) { + $("#groupedMembers").show(); + $("#inheritedMembers").hide(); + $("#allMembers").hide(); + hideInheritedMembers = true; + $("#groupedMembers > .group > .members").each(filterFunc); + $("#groupedMembers > div.group").each(function() { + $(this).show(); + if ($("> div.members", this).not(":hidden").length == 0) { + $(this).hide(); + } else { + $(this).show(); + } + }); + } else if (orderingInheritance) { + $("#inheritedMembers").show(); + $("#groupedMembers").hide(); + $("#allMembers").hide(); + hideInheritedMembers = false; + $("#inheritedMembers > .parent > .members").each(filterFunc); + $("#inheritedMembers > .conversion > .members").each(filterFunc); + } + + + function filterFunc() { + var membersVisible = false; + var members = $(this); + members.find("> ol > li").each(function() { + var mbr = $(this); + if (privateMembersHidden && mbr.attr("visbl") == "prt") { + mbr.hide(); + return; + } + var name = mbr.attr("name"); + // Owner filtering must not happen in "inherited from" member lists + if (hideInheritedMembers) { + var ownerIndex = name.indexOf("#"); + if (ownerIndex < 0) { + ownerIndex = name.lastIndexOf("."); + } + var owner = name.slice(0, ownerIndex); + for (var i = 0; i < hiddenSuperclassesLinearization.length; i++) { + if (hiddenSuperclassesLinearization[i] == owner) { + mbr.hide(); + return; + } + }; + for (var i = 0; i < hiddenSuperclassesImplicits.length; i++) { + if (hiddenSuperclassesImplicits[i] == owner) { + mbr.hide(); + return; + } + }; + } + if (query && !(queryRegExp.test(name) || queryRegExp.test(this.mbrText))) { + mbr.hide(); + return; + } + mbr.show(); + membersVisible = true; + }); + + if (membersVisible) + members.show(); + else + members.hide(); + }; + + return false; +}; + +function windowTitle() +{ + try { + parent.document.title=document.title; + } + catch(e) { + // Chrome doesn't allow settings the parent's title when + // used on the local file system. + } +}; diff --git a/manual1903/api_reference/component-pipe/scaladocs/lib/tools.tooltip.js b/manual1903/api_reference/component-pipe/scaladocs/lib/tools.tooltip.js new file mode 100644 index 0000000000000000000000000000000000000000..0af34eca4c4145e5f3284e85f821467972182957 --- /dev/null +++ b/manual1903/api_reference/component-pipe/scaladocs/lib/tools.tooltip.js @@ -0,0 +1,14 @@ +/* + * tools.tooltip 1.1.3 - Tooltips done right. + * + * Copyright (c) 2009 Tero Piirainen + * http://flowplayer.org/tools/tooltip.html + * + * Dual licensed under MIT and GPL 2+ licenses + * http://www.opensource.org/licenses + * + * Launch : November 2008 + * Date: ${date} + * Revision: ${revision} + */ +(function(c){var d=[];c.tools=c.tools||{};c.tools.tooltip={version:"1.1.3",conf:{effect:"toggle",fadeOutSpeed:"fast",tip:null,predelay:0,delay:30,opacity:1,lazy:undefined,position:["top","center"],offset:[0,0],cancelDefault:true,relative:false,oneInstance:true,events:{def:"mouseover,mouseout",input:"focus,blur",widget:"focus mouseover,blur mouseout",tooltip:"mouseover,mouseout"},api:false},addEffect:function(e,g,f){b[e]=[g,f]}};var b={toggle:[function(e){var f=this.getConf(),g=this.getTip(),h=f.opacity;if(h<1){g.css({opacity:h})}g.show();e.call()},function(e){this.getTip().hide();e.call()}],fade:[function(e){this.getTip().fadeIn(this.getConf().fadeInSpeed,e)},function(e){this.getTip().fadeOut(this.getConf().fadeOutSpeed,e)}]};function a(f,g){var p=this,k=c(this);f.data("tooltip",p);var l=f.next();if(g.tip){l=c(g.tip);if(l.length>1){l=f.nextAll(g.tip).eq(0);if(!l.length){l=f.parent().nextAll(g.tip).eq(0)}}}function o(u){var t=g.relative?f.position().top:f.offset().top,s=g.relative?f.position().left:f.offset().left,v=g.position[0];t-=l.outerHeight()-g.offset[0];s+=f.outerWidth()+g.offset[1];var q=l.outerHeight()+f.outerHeight();if(v=="center"){t+=q/2}if(v=="bottom"){t+=q}v=g.position[1];var r=l.outerWidth()+f.outerWidth();if(v=="center"){s-=r/2}if(v=="left"){s-=r}return{top:t,left:s}}var i=f.is(":input"),e=i&&f.is(":checkbox, :radio, select, :button"),h=f.attr("type"),n=g.events[h]||g.events[i?(e?"widget":"input"):"def"];n=n.split(/,\s*/);if(n.length!=2){throw"Tooltip: bad events configuration for "+h}f.bind(n[0],function(r){if(g.oneInstance){c.each(d,function(){this.hide()})}var q=l.data("trigger");if(q&&q[0]!=this){l.hide().stop(true,true)}r.target=this;p.show(r);n=g.events.tooltip.split(/,\s*/);l.bind(n[0],function(){p.show(r)});if(n[1]){l.bind(n[1],function(){p.hide(r)})}});f.bind(n[1],function(q){p.hide(q)});if(!c.browser.msie&&!i&&!g.predelay){f.mousemove(function(){if(!p.isShown()){f.triggerHandler("mouseover")}})}if(g.opacity<1){l.css("opacity",g.opacity)}var m=0,j=f.attr("title");if(j&&g.cancelDefault){f.removeAttr("title");f.data("title",j)}c.extend(p,{show:function(r){if(r){f=c(r.target)}clearTimeout(l.data("timer"));if(l.is(":animated")||l.is(":visible")){return p}function q(){l.data("trigger",f);var t=o(r);if(g.tip&&j){l.html(f.data("title"))}r=r||c.Event();r.type="onBeforeShow";k.trigger(r,[t]);if(r.isDefaultPrevented()){return p}t=o(r);l.css({position:"absolute",top:t.top,left:t.left});var s=b[g.effect];if(!s){throw'Nonexistent effect "'+g.effect+'"'}s[0].call(p,function(){r.type="onShow";k.trigger(r)})}if(g.predelay){clearTimeout(m);m=setTimeout(q,g.predelay)}else{q()}return p},hide:function(r){clearTimeout(l.data("timer"));clearTimeout(m);if(!l.is(":visible")){return}function q(){r=r||c.Event();r.type="onBeforeHide";k.trigger(r);if(r.isDefaultPrevented()){return}b[g.effect][1].call(p,function(){r.type="onHide";k.trigger(r)})}if(g.delay&&r){l.data("timer",setTimeout(q,g.delay))}else{q()}return p},isShown:function(){return l.is(":visible, :animated")},getConf:function(){return g},getTip:function(){return l},getTrigger:function(){return f},bind:function(q,r){k.bind(q,r);return p},onHide:function(q){return this.bind("onHide",q)},onBeforeShow:function(q){return this.bind("onBeforeShow",q)},onShow:function(q){return this.bind("onShow",q)},onBeforeHide:function(q){return this.bind("onBeforeHide",q)},unbind:function(q){k.unbind(q);return p}});c.each(g,function(q,r){if(c.isFunction(r)){p.bind(q,r)}})}c.prototype.tooltip=function(e){var f=this.eq(typeof e=="number"?e:0).data("tooltip");if(f){return f}var g=c.extend(true,{},c.tools.tooltip.conf);if(c.isFunction(e)){e={onBeforeShow:e}}else{if(typeof e=="string"){e={tip:e}}}e=c.extend(true,g,e);if(typeof e.position=="string"){e.position=e.position.split(/,?\s/)}if(e.lazy!==false&&(e.lazy===true||this.length>20)){this.one("mouseover",function(h){f=new a(c(this),e);f.show(h);d.push(f)})}else{this.each(function(){f=new a(c(this),e);d.push(f)})}return e.api?f:this}})(jQuery); \ No newline at end of file diff --git a/manual1903/api_reference/component-pipe/scaladocs/lib/trait.png b/manual1903/api_reference/component-pipe/scaladocs/lib/trait.png new file mode 100644 index 0000000000000000000000000000000000000000..fb961a2eda3f55c9d8272a4793549e23120aec6b Binary files /dev/null and b/manual1903/api_reference/component-pipe/scaladocs/lib/trait.png differ diff --git a/manual1903/api_reference/component-pipe/scaladocs/lib/trait_big.png b/manual1903/api_reference/component-pipe/scaladocs/lib/trait_big.png new file mode 100644 index 0000000000000000000000000000000000000000..625d9251cba32d350beb988fcd072672d5f3b375 Binary files /dev/null and b/manual1903/api_reference/component-pipe/scaladocs/lib/trait_big.png differ diff --git a/manual1903/api_reference/component-pipe/scaladocs/lib/trait_diagram.png b/manual1903/api_reference/component-pipe/scaladocs/lib/trait_diagram.png new file mode 100644 index 0000000000000000000000000000000000000000..88983254ce3a4295951e4d3af927d50b50a3146d Binary files /dev/null and b/manual1903/api_reference/component-pipe/scaladocs/lib/trait_diagram.png differ diff --git a/manual1903/api_reference/component-pipe/scaladocs/lib/trait_to_object_big.png b/manual1903/api_reference/component-pipe/scaladocs/lib/trait_to_object_big.png new file mode 100644 index 0000000000000000000000000000000000000000..d0cd7fd51264103854ca43e02a2b699e4ff298df Binary files /dev/null and b/manual1903/api_reference/component-pipe/scaladocs/lib/trait_to_object_big.png differ diff --git a/manual1903/api_reference/component-pipe/scaladocs/lib/type.png b/manual1903/api_reference/component-pipe/scaladocs/lib/type.png new file mode 100644 index 0000000000000000000000000000000000000000..6c6e1fe2f52c7a12d1db31f1ce3b134c8ab2aabf Binary files /dev/null and b/manual1903/api_reference/component-pipe/scaladocs/lib/type.png differ diff --git a/manual1903/api_reference/component-pipe/scaladocs/lib/type_big.png b/manual1903/api_reference/component-pipe/scaladocs/lib/type_big.png new file mode 100644 index 0000000000000000000000000000000000000000..04c8794e92a7b00da3b4caaccbfea94cdd210a38 Binary files /dev/null and b/manual1903/api_reference/component-pipe/scaladocs/lib/type_big.png differ diff --git a/manual1903/api_reference/component-pipe/scaladocs/lib/type_diagram.png b/manual1903/api_reference/component-pipe/scaladocs/lib/type_diagram.png new file mode 100644 index 0000000000000000000000000000000000000000..d8152529fdc350853f4b1e7debb0a0c8d632ff7f Binary files /dev/null and b/manual1903/api_reference/component-pipe/scaladocs/lib/type_diagram.png differ diff --git a/manual1903/api_reference/component-pipe/scaladocs/lib/type_to_object_big.png b/manual1903/api_reference/component-pipe/scaladocs/lib/type_to_object_big.png new file mode 100644 index 0000000000000000000000000000000000000000..ef2615bacc702f153594af64f60e4443ab91ea99 Binary files /dev/null and b/manual1903/api_reference/component-pipe/scaladocs/lib/type_to_object_big.png differ diff --git a/manual1903/api_reference/component-pipe/scaladocs/lib/typebg.gif b/manual1903/api_reference/component-pipe/scaladocs/lib/typebg.gif new file mode 100644 index 0000000000000000000000000000000000000000..2fcc77b2e85405d7b22deb0ad2ac24b709291377 Binary files /dev/null and b/manual1903/api_reference/component-pipe/scaladocs/lib/typebg.gif differ diff --git a/manual1903/api_reference/component-pipe/scaladocs/lib/unselected.png b/manual1903/api_reference/component-pipe/scaladocs/lib/unselected.png new file mode 100644 index 0000000000000000000000000000000000000000..d5ac639405ffe0a45fd51de2904692c7e905c5ef Binary files /dev/null and b/manual1903/api_reference/component-pipe/scaladocs/lib/unselected.png differ diff --git a/manual1903/api_reference/component-pipe/scaladocs/lib/valuemembersbg.gif b/manual1903/api_reference/component-pipe/scaladocs/lib/valuemembersbg.gif new file mode 100644 index 0000000000000000000000000000000000000000..2a949311d7869cb769ef7fd48a9c03a57937b60d Binary files /dev/null and b/manual1903/api_reference/component-pipe/scaladocs/lib/valuemembersbg.gif differ diff --git a/manual1903/api_reference/component-pipe/scaladocs/package.html b/manual1903/api_reference/component-pipe/scaladocs/package.html new file mode 100644 index 0000000000000000000000000000000000000000..439c35d16528c31c6d7b317141282c95e308551c --- /dev/null +++ b/manual1903/api_reference/component-pipe/scaladocs/package.html @@ -0,0 +1,135 @@ + + + + root - KSB COMPONENT-PIPE Scala App Project 1.0-SNAPSHOT API - _root_ + + + + + + + + + + + + + + + +
                              + Package + +

                              root package

                              + + Permalink + + +
                              + +

                              + + + package + + + root + +

                              + +
                              + + +
                              +
                              + + +
                              + Visibility +
                              1. Public
                              2. All
                              +
                              +
                              + +
                              +
                              + + + + + + +
                              +

                              Value Members

                              +
                              1. + + +

                                + + + package + + + akka + +

                                + + Permalink + + + +
                              2. + + +

                                + + + package + + + ksb + +

                                + + Permalink + + + +
                              +
                              + + + + +
                              + +
                              + + +
                              + +
                              +
                              +

                              Ungrouped

                              + +
                              +
                              + +
                              + +
                              + + + + + + diff --git a/manual1903/api_reference/components/scaladocs/akka/package.html b/manual1903/api_reference/components/scaladocs/akka/package.html new file mode 100644 index 0000000000000000000000000000000000000000..f67ec53692804c5fb5bf353b67eef8b916f62e26 --- /dev/null +++ b/manual1903/api_reference/components/scaladocs/akka/package.html @@ -0,0 +1,118 @@ + + + + akka - KSB COMPONENTS Scala App Project 1.0-SNAPSHOT API - akka + + + + + + + + + + + + + + + +
                              + Package + +

                              akka

                              + + Permalink + + +
                              + +

                              + + + package + + + akka + +

                              + +
                              + + +
                              +
                              + + +
                              + Visibility +
                              1. Public
                              2. All
                              +
                              +
                              + +
                              +
                              + + + + + + +
                              +

                              Value Members

                              +
                              1. + + +

                                + + + package + + + pattern + +

                                + + Permalink + + + +
                              +
                              + + + + +
                              + +
                              + + +
                              + +
                              +
                              +

                              Ungrouped

                              + +
                              +
                              + +
                              + +
                              + + + + + + diff --git a/manual1903/api_reference/components/scaladocs/akka/pattern/package.html b/manual1903/api_reference/components/scaladocs/akka/pattern/package.html new file mode 100644 index 0000000000000000000000000000000000000000..ac726dfe7eec4f871f580a064c6d6415f548a24d --- /dev/null +++ b/manual1903/api_reference/components/scaladocs/akka/pattern/package.html @@ -0,0 +1,359 @@ + + + + pattern - KSB COMPONENTS Scala App Project 1.0-SNAPSHOT API - akka.pattern + + + + + + + + + + + + + + + +
                              + Package +

                              akka

                              +

                              pattern

                              + + Permalink + + +
                              + +

                              + + + package + + + pattern + +

                              + +
                              + Linear Supertypes +
                              FutureTimeoutSupport, GracefulStopSupport, AskSupport, PipeToSupport, AnyRef, Any
                              +
                              + + +
                              +
                              +
                              + Ordering +
                                + +
                              1. Alphabetic
                              2. +
                              3. By Inheritance
                              4. +
                              +
                              +
                              + Inherited
                              +
                              +
                                +
                              1. pattern
                              2. FutureTimeoutSupport
                              3. GracefulStopSupport
                              4. AskSupport
                              5. PipeToSupport
                              6. AnyRef
                              7. Any
                              8. +
                              +
                              + +
                                +
                              1. Hide All
                              2. +
                              3. Show All
                              4. +
                              +
                              +
                              + Visibility +
                              1. Public
                              2. All
                              +
                              +
                              + +
                              +
                              + + +
                              +

                              Type Members

                              +
                              1. + + +

                                + + final + class + + + PipeableCompletionStage[T] extends AnyRef + +

                                + + Permalink + + +
                                Definition Classes
                                PipeToSupport
                                +
                              2. + + +

                                + + final + class + + + PipeableFuture[T] extends AnyRef + +

                                + + Permalink + + +
                                Definition Classes
                                PipeToSupport
                                +
                              +
                              + + + +
                              +

                              Value Members

                              +
                              1. + + +

                                + + + def + + + after[T](duration: FiniteDuration, using: Scheduler)(value: ⇒ Future[T])(implicit ec: ExecutionContext): Future[T] + +

                                + + Permalink + + +
                                Definition Classes
                                FutureTimeoutSupport
                                +
                              2. + + +

                                + + + def + + + afterCompletionStage[T](duration: FiniteDuration, using: Scheduler)(value: ⇒ CompletionStage[T])(implicit ec: ExecutionContext): CompletionStage[T] + +

                                + + Permalink + + +
                                Definition Classes
                                FutureTimeoutSupport
                                +
                              3. + + +

                                + + + def + + + ask(actorSelection: ActorSelection, message: Any, sender: ActorRef)(implicit timeout: Timeout): Future[Any] + +

                                + + Permalink + + +
                                Definition Classes
                                AskSupport
                                +
                              4. + + +

                                + + + def + + + ask(actorSelection: ActorSelection, message: Any)(implicit timeout: Timeout): Future[Any] + +

                                + + Permalink + + +
                                Definition Classes
                                AskSupport
                                +
                              5. + + +

                                + + implicit + def + + + ask(actorSelection: ActorSelection): AskableActorSelection + +

                                + + Permalink + + +
                                Definition Classes
                                AskSupport
                                +
                              6. + + +

                                + + + def + + + ask(actorRef: ActorRef, message: Any, sender: ActorRef)(implicit timeout: Timeout): Future[Any] + +

                                + + Permalink + + +
                                Definition Classes
                                AskSupport
                                +
                              7. + + +

                                + + + def + + + ask(actorRef: ActorRef, message: Any)(implicit timeout: Timeout): Future[Any] + +

                                + + Permalink + + +
                                Definition Classes
                                AskSupport
                                +
                              8. + + +

                                + + implicit + def + + + ask(actorRef: ActorRef): AskableActorRef + +

                                + + Permalink + + +
                                Definition Classes
                                AskSupport
                                +
                              9. + + +

                                + + + def + + + gracefulStop(target: ActorRef, timeout: FiniteDuration, stopMessage: Any): Future[Boolean] + +

                                + + Permalink + + +
                                Definition Classes
                                GracefulStopSupport
                                +
                              10. + + +

                                + + implicit + def + + + pipe[T](future: Future[T])(implicit executionContext: ExecutionContext): PipeableFuture[T] + +

                                + + Permalink + + +
                                Definition Classes
                                PipeToSupport
                                +
                              11. + + +

                                + + implicit + def + + + pipeCompletionStage[T](future: CompletionStage[T])(implicit executionContext: ExecutionContext): PipeableCompletionStage[T] + +

                                + + Permalink + + +
                                Definition Classes
                                PipeToSupport
                                +
                              +
                              + + + + +
                              + +
                              +
                              +

                              Inherited from FutureTimeoutSupport

                              +
                              +

                              Inherited from GracefulStopSupport

                              +
                              +

                              Inherited from AskSupport

                              +
                              +

                              Inherited from PipeToSupport

                              +
                              +

                              Inherited from AnyRef

                              +
                              +

                              Inherited from Any

                              +
                              + +
                              + +
                              +
                              +

                              Ungrouped

                              + +
                              +
                              + +
                              + +
                              + + + + + + diff --git a/manual1903/api_reference/components/scaladocs/index.html b/manual1903/api_reference/components/scaladocs/index.html new file mode 100644 index 0000000000000000000000000000000000000000..7ef5f48419c10329d41c2c69534fbe97b8109239 --- /dev/null +++ b/manual1903/api_reference/components/scaladocs/index.html @@ -0,0 +1,152 @@ + + + + KSB COMPONENTS Scala App Project 1.0-SNAPSHOT API + + + + + + + + + + + + + +
                              + class icon + trait icon + trait icon + trait icon +
                              +
                              +
                              +
                              +
                              +
                              #ABCDEFGHIJKLMNOPQRSTUVWXYZdeprecated
                              +
                              +
                              + +
                                +
                                1. + akka +
                                    +
                                    1. + akka.pattern +
                                        +
                                        +
                                      +
                                    2. + ksb +
                                        +
                                        1. + ksb.csle +
                                            +
                                            1. + ksb.csle.component +
                                                +
                                                1. + ksb.csle.component.controller +
                                                  1. (class)BatchDummyController
                                                  2. (class)ExternalAnalysisController
                                                  3. (class)KBEServingController
                                                  4. (class)ServingWithKbController
                                                  5. (object)
                                                    ServingWithKbControllerActor
                                                  6. (class)SparkSessionController
                                                  7. (class)SparkSessionOrStreamController
                                                  8. (class)SparkStreamController
                                                  9. (class)TensorflowServingController
                                                  10. (class)WindowedSparkSessionOrStreamController
                                                  +
                                                  +
                                                2. + ksb.csle.component.exception +
                                                  1. (class)DataException
                                                  2. (class)FileIOException
                                                  3. (case class)KsbException
                                                  4. (class)ProcessException
                                                  +
                                                  +
                                                3. + ksb.csle.component.ingestion +
                                                    +
                                                    1. + ksb.csle.component.ingestion.common +
                                                      1. (case class)HttpIngestionRequest
                                                      2. (case class)HttpIngestionResponse
                                                      +
                                                      +
                                                    2. + ksb.csle.component.ingestion.receiver +
                                                      1. (class)HttpDeleteResponseReceiver
                                                      2. (class)HttpGetResponseReceiver
                                                      3. (class)HttpPostRequestReceiver
                                                      4. (class)HttpPostResponseReceiver
                                                      5. (class)HttpPutResponseReceiver
                                                      +
                                                      +
                                                    3. + ksb.csle.component.ingestion.util +
                                                      1. (object)
                                                        BufferUtils
                                                      2. (object)
                                                        OneM2MUtils
                                                      +
                                                      +
                                                    +
                                                  1. + ksb.csle.component.operator +
                                                      +
                                                      1. + ksb.csle.component.operator.analysis +
                                                        1. (object)(class)DLTrainOperator
                                                        2. (class)RandomForestClassifierPredictOperator
                                                        3. (class)RandomForestClassifierTrainOperator
                                                        4. (object)(class)SparkMLPredictOperator
                                                        5. (object)(class)TensorflowPredictOperator
                                                        +
                                                        +
                                                      2. + ksb.csle.component.operator.cleaning +
                                                        1. (object)(class)AgglomerativeClusteringOperator
                                                        2. (object)(class)DBScanOperator
                                                        3. (object)(class)EMClusteringOperator
                                                        4. (object)(class)EqualDepthBinningOperator
                                                        5. (object)(class)EqualWidthBinningOperator
                                                        6. (object)(class)GeneralizedLinearRegressionOperator
                                                        7. (object)(class)KMeansOperator
                                                        8. (object)(class)KMedoidsOperator
                                                        9. (object)(class)LinearRegressionOperator
                                                        10. (object)(class)MissingValueImputeOperator
                                                        +
                                                        +
                                                      3. + ksb.csle.component.operator.common +
                                                        1. (trait)BaseDistanceCalculator
                                                        +
                                                        +
                                                      4. + ksb.csle.component.operator.integration +
                                                        1. (class)ConcatAndReshapeOperator
                                                        2. (object)(class)GroupByOperator
                                                        3. (object)(class)OrderByOperator
                                                        4. (object)
                                                          ReshapeWithConcat
                                                        5. (object)(class)TimeIndexAddOperator
                                                        6. (object)(class)VectorAssembleColumnAddOperator
                                                        +
                                                        +
                                                      5. + ksb.csle.component.operator.reduction +
                                                        1. (object)(class)AggregateOperator
                                                        2. (object)(class)ChiSquareSelectOperator
                                                        3. (object)(class)ColumnRemoveOperator
                                                        4. (object)(class)ColumnSelectOperator
                                                        5. (object)(class)ColumnSelectWithFileOperator
                                                        6. (object)(class)DecisionTreeInductOperator
                                                        7. (object)(class)FilterOperator
                                                        8. (object)(class)FilterUsingSqlOperator
                                                        9. (object)(class)GroupByFilterOperator
                                                        10. (object)(class)OrderByFilterOperator
                                                        11. (object)(class)PCAOperator
                                                        12. (object)(class)RandomSamplingOperator
                                                        13. (object)(class)StepwiseBackwardEliminateOperator
                                                        14. (object)(class)StepwiseForwardSelectOperator
                                                        15. (object)(class)StratifiedSamplingOperator
                                                        16. (object)(class)TimeWindowAggregateOperator
                                                        +
                                                        +
                                                      6. + ksb.csle.component.operator.service +
                                                        1. (object)(class)ControlContextQueryOperator
                                                        2. (class)HttpWeatherResponseReceiver
                                                        3. (object)
                                                          MyJsonProtocol
                                                        4. (case class)PredictResult
                                                        5. (case class)StrokeIndexRequest
                                                        6. (class)TensorflowServingOperator
                                                        7. (object)
                                                          WeatherJsonProtocol
                                                        8. (object)(class)WeatherQueryOperator
                                                        9. (case class)WeatherRequest
                                                        10. (class)WeatherRESTClient
                                                        +
                                                        +
                                                      7. + ksb.csle.component.operator.transformation +
                                                        1. (class)AddConditionalColumnOperator
                                                        2. (class)ChangeColumnDataTypeOperator
                                                        3. (class)ExplodeColumnOperator
                                                        4. (class)FlattenOperator
                                                        5. (class)InterpolateOperator
                                                        6. (object)(class)MinMaxScalingOperator
                                                        7. (object)(class)NullReplaceOperator
                                                        8. (object)(class)OneHotEncodingOperator
                                                        9. (object)(class)PivotOperator
                                                        10. (class)RenameColumnOperator
                                                        11. (object)(class)ReshapeWithTimeWindowOperator
                                                        12. (object)(class)SelectWithTimeWindowOperator
                                                        13. (class)SplitColumnOperator
                                                        14. (class)StringIndexOperator
                                                        15. (class)TimeSynchronizeOperator
                                                        16. (object)(class)TransposeOperator
                                                        17. (class)VectorizeColumnOperator
                                                        +
                                                        +
                                                      8. + ksb.csle.component.operator.util +
                                                        1. (object)
                                                          CalculatorUtils
                                                        2. (object)
                                                          DataTypeUtil
                                                        3. (object)
                                                          MedianUtil
                                                        4. (object)
                                                          Utils
                                                        +
                                                        +
                                                      +
                                                    1. + ksb.csle.component.reader +
                                                      1. (object)(class)FileReader
                                                      2. (trait)HBaseFuncAPI
                                                      3. (class)HttpClientReader
                                                      4. (class)HttpServerReader
                                                      5. (class)HttpWeatherClientReader
                                                      6. (object)(class)KafkaOnDemandReader
                                                      7. (object)(class)KafkaReader
                                                      8. (object)(class)MongodbReader
                                                      9. (object)(class)MultipleReaders
                                                      10. (class)Onem2mHttpReader
                                                      11. (object)(class)PhoenixReader
                                                      12. (object)(class)PhoenixReaderBySql
                                                      13. (class)TableReader
                                                      +
                                                      +
                                                    2. + ksb.csle.component.runner +
                                                      1. (case class)BindServing
                                                      2. (case class)KBERequest
                                                      3. (case class)KBEResponse
                                                      4. (class)KBEServingRunner
                                                      5. (object)(class)PySparkRunner
                                                      6. (case class)ReloadServing
                                                      7. (class)ServingMaster
                                                      8. (object)(class)ServingRunner
                                                      9. (class)SimpleSparkRunner
                                                      10. (case class)StartServing
                                                      11. (case class)StopServing
                                                      12. (object)(class)TensorflowServingRunner
                                                      +
                                                      1. + ksb.csle.component.runner.actor +
                                                        1. (case class)ControlContext
                                                        2. (object)
                                                          ControlContextProtocol
                                                        3. (class)MlKbServingActor
                                                        4. (class)ServingActor
                                                        +
                                                        +
                                                      2. + ksb.csle.component.runner.analysis +
                                                        1. (object)(class)TensorflowRunner
                                                        +
                                                        +
                                                      +
                                                    3. + ksb.csle.component.writer +
                                                      1. (class)FileStreamWriter
                                                      2. (object)(class)FileWriter
                                                      3. (class)HttpClientWriter
                                                      4. (object)(class)KafkaWriter
                                                      5. (class)MongodbWriter
                                                      6. (object)(class)PhoenixWriter
                                                      7. (object)(class)StdoutWriter
                                                      8. (class)TableWriter
                                                      +
                                                      +
                                                    +
                                                  2. + ksb.csle.components +
                                                    1. (class)App
                                                    +
                                                    +
                                                  3. + ksb.csle.ingestion +
                                                      +
                                                      1. + ksb.csle.ingestion.runner +
                                                        1. (class)PhoenixTest
                                                        +
                                                        +
                                                      +
                                                    +
                                                  +
                                                +
                                                +
                                                +
                                                + +
                                                + + diff --git a/manual1903/api_reference/components/scaladocs/index.js b/manual1903/api_reference/components/scaladocs/index.js new file mode 100644 index 0000000000000000000000000000000000000000..bea65b19f6e3495515676c4ce572734f622d302d --- /dev/null +++ b/manual1903/api_reference/components/scaladocs/index.js @@ -0,0 +1 @@ +Index.PACKAGES = {"ksb.csle.component" : [], "ksb.csle.component.reader" : [{"object" : "ksb\/csle\/component\/reader\/FileReader$.html", "class" : "ksb\/csle\/component\/reader\/FileReader.html", "name" : "ksb.csle.component.reader.FileReader"}, {"trait" : "ksb\/csle\/component\/reader\/HBaseFuncAPI.html", "name" : "ksb.csle.component.reader.HBaseFuncAPI"}, {"class" : "ksb\/csle\/component\/reader\/HttpClientReader.html", "name" : "ksb.csle.component.reader.HttpClientReader"}, {"class" : "ksb\/csle\/component\/reader\/HttpServerReader.html", "name" : "ksb.csle.component.reader.HttpServerReader"}, {"class" : "ksb\/csle\/component\/reader\/HttpWeatherClientReader.html", "name" : "ksb.csle.component.reader.HttpWeatherClientReader"}, {"object" : "ksb\/csle\/component\/reader\/KafkaOnDemandReader$.html", "class" : "ksb\/csle\/component\/reader\/KafkaOnDemandReader.html", "name" : "ksb.csle.component.reader.KafkaOnDemandReader"}, {"object" : "ksb\/csle\/component\/reader\/KafkaReader$.html", "class" : "ksb\/csle\/component\/reader\/KafkaReader.html", "name" : "ksb.csle.component.reader.KafkaReader"}, {"object" : "ksb\/csle\/component\/reader\/MongodbReader$.html", "class" : "ksb\/csle\/component\/reader\/MongodbReader.html", "name" : "ksb.csle.component.reader.MongodbReader"}, {"object" : "ksb\/csle\/component\/reader\/MultipleReaders$.html", "class" : "ksb\/csle\/component\/reader\/MultipleReaders.html", "name" : "ksb.csle.component.reader.MultipleReaders"}, {"class" : "ksb\/csle\/component\/reader\/Onem2mHttpReader.html", "name" : "ksb.csle.component.reader.Onem2mHttpReader"}, {"object" : "ksb\/csle\/component\/reader\/PhoenixReader$.html", "class" : "ksb\/csle\/component\/reader\/PhoenixReader.html", "name" : "ksb.csle.component.reader.PhoenixReader"}, {"object" : "ksb\/csle\/component\/reader\/PhoenixReaderBySql$.html", "class" : "ksb\/csle\/component\/reader\/PhoenixReaderBySql.html", "name" : "ksb.csle.component.reader.PhoenixReaderBySql"}, {"class" : "ksb\/csle\/component\/reader\/TableReader.html", "name" : "ksb.csle.component.reader.TableReader"}], "ksb.csle.component.operator.integration" : [{"class" : "ksb\/csle\/component\/operator\/integration\/ConcatAndReshapeOperator.html", "name" : "ksb.csle.component.operator.integration.ConcatAndReshapeOperator"}, {"object" : "ksb\/csle\/component\/operator\/integration\/GroupByOperator$.html", "class" : "ksb\/csle\/component\/operator\/integration\/GroupByOperator.html", "name" : "ksb.csle.component.operator.integration.GroupByOperator"}, {"object" : "ksb\/csle\/component\/operator\/integration\/OrderByOperator$.html", "class" : "ksb\/csle\/component\/operator\/integration\/OrderByOperator.html", "name" : "ksb.csle.component.operator.integration.OrderByOperator"}, {"object" : "ksb\/csle\/component\/operator\/integration\/ReshapeWithConcat$.html", "name" : "ksb.csle.component.operator.integration.ReshapeWithConcat"}, {"object" : "ksb\/csle\/component\/operator\/integration\/TimeIndexAddOperator$.html", "class" : "ksb\/csle\/component\/operator\/integration\/TimeIndexAddOperator.html", "name" : "ksb.csle.component.operator.integration.TimeIndexAddOperator"}, {"object" : "ksb\/csle\/component\/operator\/integration\/VectorAssembleColumnAddOperator$.html", "class" : "ksb\/csle\/component\/operator\/integration\/VectorAssembleColumnAddOperator.html", "name" : "ksb.csle.component.operator.integration.VectorAssembleColumnAddOperator"}], "ksb.csle.component.operator.common" : [{"trait" : "ksb\/csle\/component\/operator\/common\/BaseDistanceCalculator.html", "name" : "ksb.csle.component.operator.common.BaseDistanceCalculator"}], "ksb.csle.component.ingestion.common" : [{"case class" : "ksb\/csle\/component\/ingestion\/common\/package$$HttpIngestionRequest.html", "name" : "ksb.csle.component.ingestion.common.HttpIngestionRequest"}, {"case class" : "ksb\/csle\/component\/ingestion\/common\/package$$HttpIngestionResponse.html", "name" : "ksb.csle.component.ingestion.common.HttpIngestionResponse"}], "akka.pattern" : [], "ksb.csle.component.operator.reduction" : [{"object" : "ksb\/csle\/component\/operator\/reduction\/AggregateOperator$.html", "class" : "ksb\/csle\/component\/operator\/reduction\/AggregateOperator.html", "name" : "ksb.csle.component.operator.reduction.AggregateOperator"}, {"object" : "ksb\/csle\/component\/operator\/reduction\/ChiSquareSelectOperator$.html", "class" : "ksb\/csle\/component\/operator\/reduction\/ChiSquareSelectOperator.html", "name" : "ksb.csle.component.operator.reduction.ChiSquareSelectOperator"}, {"object" : "ksb\/csle\/component\/operator\/reduction\/ColumnRemoveOperator$.html", "class" : "ksb\/csle\/component\/operator\/reduction\/ColumnRemoveOperator.html", "name" : "ksb.csle.component.operator.reduction.ColumnRemoveOperator"}, {"object" : "ksb\/csle\/component\/operator\/reduction\/ColumnSelectOperator$.html", "class" : "ksb\/csle\/component\/operator\/reduction\/ColumnSelectOperator.html", "name" : "ksb.csle.component.operator.reduction.ColumnSelectOperator"}, {"object" : "ksb\/csle\/component\/operator\/reduction\/ColumnSelectWithFileOperator$.html", "class" : "ksb\/csle\/component\/operator\/reduction\/ColumnSelectWithFileOperator.html", "name" : "ksb.csle.component.operator.reduction.ColumnSelectWithFileOperator"}, {"object" : "ksb\/csle\/component\/operator\/reduction\/DecisionTreeInductOperator$.html", "class" : "ksb\/csle\/component\/operator\/reduction\/DecisionTreeInductOperator.html", "name" : "ksb.csle.component.operator.reduction.DecisionTreeInductOperator"}, {"object" : "ksb\/csle\/component\/operator\/reduction\/FilterOperator$.html", "class" : "ksb\/csle\/component\/operator\/reduction\/FilterOperator.html", "name" : "ksb.csle.component.operator.reduction.FilterOperator"}, {"object" : "ksb\/csle\/component\/operator\/reduction\/FilterUsingSqlOperator$.html", "class" : "ksb\/csle\/component\/operator\/reduction\/FilterUsingSqlOperator.html", "name" : "ksb.csle.component.operator.reduction.FilterUsingSqlOperator"}, {"object" : "ksb\/csle\/component\/operator\/reduction\/GroupByFilterOperator$.html", "class" : "ksb\/csle\/component\/operator\/reduction\/GroupByFilterOperator.html", "name" : "ksb.csle.component.operator.reduction.GroupByFilterOperator"}, {"object" : "ksb\/csle\/component\/operator\/reduction\/OrderByFilterOperator$.html", "class" : "ksb\/csle\/component\/operator\/reduction\/OrderByFilterOperator.html", "name" : "ksb.csle.component.operator.reduction.OrderByFilterOperator"}, {"object" : "ksb\/csle\/component\/operator\/reduction\/PCAOperator$.html", "class" : "ksb\/csle\/component\/operator\/reduction\/PCAOperator.html", "name" : "ksb.csle.component.operator.reduction.PCAOperator"}, {"object" : "ksb\/csle\/component\/operator\/reduction\/RandomSamplingOperator$.html", "class" : "ksb\/csle\/component\/operator\/reduction\/RandomSamplingOperator.html", "name" : "ksb.csle.component.operator.reduction.RandomSamplingOperator"}, {"object" : "ksb\/csle\/component\/operator\/reduction\/StepwiseBackwardEliminateOperator$.html", "class" : "ksb\/csle\/component\/operator\/reduction\/StepwiseBackwardEliminateOperator.html", "name" : "ksb.csle.component.operator.reduction.StepwiseBackwardEliminateOperator"}, {"object" : "ksb\/csle\/component\/operator\/reduction\/StepwiseForwardSelectOperator$.html", "class" : "ksb\/csle\/component\/operator\/reduction\/StepwiseForwardSelectOperator.html", "name" : "ksb.csle.component.operator.reduction.StepwiseForwardSelectOperator"}, {"object" : "ksb\/csle\/component\/operator\/reduction\/StratifiedSamplingOperator$.html", "class" : "ksb\/csle\/component\/operator\/reduction\/StratifiedSamplingOperator.html", "name" : "ksb.csle.component.operator.reduction.StratifiedSamplingOperator"}, {"object" : "ksb\/csle\/component\/operator\/reduction\/TimeWindowAggregateOperator$.html", "class" : "ksb\/csle\/component\/operator\/reduction\/TimeWindowAggregateOperator.html", "name" : "ksb.csle.component.operator.reduction.TimeWindowAggregateOperator"}], "ksb.csle.component.operator.util" : [{"object" : "ksb\/csle\/component\/operator\/util\/CalculatorUtils$.html", "name" : "ksb.csle.component.operator.util.CalculatorUtils"}, {"object" : "ksb\/csle\/component\/operator\/util\/DataTypeUtil$.html", "name" : "ksb.csle.component.operator.util.DataTypeUtil"}, {"object" : "ksb\/csle\/component\/operator\/util\/MedianUtil$.html", "name" : "ksb.csle.component.operator.util.MedianUtil"}, {"object" : "ksb\/csle\/component\/operator\/util\/Utils$.html", "name" : "ksb.csle.component.operator.util.Utils"}], "akka" : [], "ksb.csle.component.operator.transformation" : [{"class" : "ksb\/csle\/component\/operator\/transformation\/AddConditionalColumnOperator.html", "name" : "ksb.csle.component.operator.transformation.AddConditionalColumnOperator"}, {"class" : "ksb\/csle\/component\/operator\/transformation\/ChangeColumnDataTypeOperator.html", "name" : "ksb.csle.component.operator.transformation.ChangeColumnDataTypeOperator"}, {"class" : "ksb\/csle\/component\/operator\/transformation\/ExplodeColumnOperator.html", "name" : "ksb.csle.component.operator.transformation.ExplodeColumnOperator"}, {"class" : "ksb\/csle\/component\/operator\/transformation\/FlattenOperator.html", "name" : "ksb.csle.component.operator.transformation.FlattenOperator"}, {"class" : "ksb\/csle\/component\/operator\/transformation\/InterpolateOperator.html", "name" : "ksb.csle.component.operator.transformation.InterpolateOperator"}, {"object" : "ksb\/csle\/component\/operator\/transformation\/MinMaxScalingOperator$.html", "class" : "ksb\/csle\/component\/operator\/transformation\/MinMaxScalingOperator.html", "name" : "ksb.csle.component.operator.transformation.MinMaxScalingOperator"}, {"object" : "ksb\/csle\/component\/operator\/transformation\/NullReplaceOperator$.html", "class" : "ksb\/csle\/component\/operator\/transformation\/NullReplaceOperator.html", "name" : "ksb.csle.component.operator.transformation.NullReplaceOperator"}, {"object" : "ksb\/csle\/component\/operator\/transformation\/OneHotEncodingOperator$.html", "class" : "ksb\/csle\/component\/operator\/transformation\/OneHotEncodingOperator.html", "name" : "ksb.csle.component.operator.transformation.OneHotEncodingOperator"}, {"object" : "ksb\/csle\/component\/operator\/transformation\/PivotOperator$.html", "class" : "ksb\/csle\/component\/operator\/transformation\/PivotOperator.html", "name" : "ksb.csle.component.operator.transformation.PivotOperator"}, {"class" : "ksb\/csle\/component\/operator\/transformation\/RenameColumnOperator.html", "name" : "ksb.csle.component.operator.transformation.RenameColumnOperator"}, {"object" : "ksb\/csle\/component\/operator\/transformation\/ReshapeWithTimeWindowOperator$.html", "class" : "ksb\/csle\/component\/operator\/transformation\/ReshapeWithTimeWindowOperator.html", "name" : "ksb.csle.component.operator.transformation.ReshapeWithTimeWindowOperator"}, {"object" : "ksb\/csle\/component\/operator\/transformation\/SelectWithTimeWindowOperator$.html", "class" : "ksb\/csle\/component\/operator\/transformation\/SelectWithTimeWindowOperator.html", "name" : "ksb.csle.component.operator.transformation.SelectWithTimeWindowOperator"}, {"class" : "ksb\/csle\/component\/operator\/transformation\/SplitColumnOperator.html", "name" : "ksb.csle.component.operator.transformation.SplitColumnOperator"}, {"class" : "ksb\/csle\/component\/operator\/transformation\/StringIndexOperator.html", "name" : "ksb.csle.component.operator.transformation.StringIndexOperator"}, {"class" : "ksb\/csle\/component\/operator\/transformation\/TimeSynchronizeOperator.html", "name" : "ksb.csle.component.operator.transformation.TimeSynchronizeOperator"}, {"object" : "ksb\/csle\/component\/operator\/transformation\/TransposeOperator$.html", "class" : "ksb\/csle\/component\/operator\/transformation\/TransposeOperator.html", "name" : "ksb.csle.component.operator.transformation.TransposeOperator"}, {"class" : "ksb\/csle\/component\/operator\/transformation\/VectorizeColumnOperator.html", "name" : "ksb.csle.component.operator.transformation.VectorizeColumnOperator"}], "ksb.csle.component.operator.analysis" : [{"object" : "ksb\/csle\/component\/operator\/analysis\/DLTrainOperator$.html", "class" : "ksb\/csle\/component\/operator\/analysis\/DLTrainOperator.html", "name" : "ksb.csle.component.operator.analysis.DLTrainOperator"}, {"class" : "ksb\/csle\/component\/operator\/analysis\/RandomForestClassifierPredictOperator.html", "name" : "ksb.csle.component.operator.analysis.RandomForestClassifierPredictOperator"}, {"class" : "ksb\/csle\/component\/operator\/analysis\/RandomForestClassifierTrainOperator.html", "name" : "ksb.csle.component.operator.analysis.RandomForestClassifierTrainOperator"}, {"object" : "ksb\/csle\/component\/operator\/analysis\/SparkMLPredictOperator$.html", "class" : "ksb\/csle\/component\/operator\/analysis\/SparkMLPredictOperator.html", "name" : "ksb.csle.component.operator.analysis.SparkMLPredictOperator"}, {"object" : "ksb\/csle\/component\/operator\/analysis\/TensorflowPredictOperator$.html", "class" : "ksb\/csle\/component\/operator\/analysis\/TensorflowPredictOperator.html", "name" : "ksb.csle.component.operator.analysis.TensorflowPredictOperator"}], "ksb.csle.component.ingestion.util" : [{"object" : "ksb\/csle\/component\/ingestion\/util\/BufferUtils$.html", "name" : "ksb.csle.component.ingestion.util.BufferUtils"}, {"object" : "ksb\/csle\/component\/ingestion\/util\/OneM2MUtils$.html", "name" : "ksb.csle.component.ingestion.util.OneM2MUtils"}], "ksb.csle.component.ingestion" : [], "ksb.csle.ingestion" : [], "ksb.csle.component.operator" : [], "ksb.csle.component.runner.actor" : [{"case class" : "ksb\/csle\/component\/runner\/actor\/package$$ControlContext.html", "name" : "ksb.csle.component.runner.actor.ControlContext"}, {"object" : "ksb\/csle\/component\/runner\/actor\/package$$ControlContextProtocol$.html", "name" : "ksb.csle.component.runner.actor.ControlContextProtocol"}, {"class" : "ksb\/csle\/component\/runner\/actor\/MlKbServingActor.html", "name" : "ksb.csle.component.runner.actor.MlKbServingActor"}, {"class" : "ksb\/csle\/component\/runner\/actor\/ServingActor.html", "name" : "ksb.csle.component.runner.actor.ServingActor"}], "ksb.csle.component.runner" : [{"case class" : "ksb\/csle\/component\/runner\/BindServing.html", "name" : "ksb.csle.component.runner.BindServing"}, {"case class" : "ksb\/csle\/component\/runner\/KBERequest.html", "name" : "ksb.csle.component.runner.KBERequest"}, {"case class" : "ksb\/csle\/component\/runner\/KBEResponse.html", "name" : "ksb.csle.component.runner.KBEResponse"}, {"class" : "ksb\/csle\/component\/runner\/KBEServingRunner.html", "name" : "ksb.csle.component.runner.KBEServingRunner"}, {"object" : "ksb\/csle\/component\/runner\/PySparkRunner$.html", "class" : "ksb\/csle\/component\/runner\/PySparkRunner.html", "name" : "ksb.csle.component.runner.PySparkRunner"}, {"case class" : "ksb\/csle\/component\/runner\/ReloadServing.html", "name" : "ksb.csle.component.runner.ReloadServing"}, {"class" : "ksb\/csle\/component\/runner\/ServingMaster.html", "name" : "ksb.csle.component.runner.ServingMaster"}, {"object" : "ksb\/csle\/component\/runner\/ServingRunner$.html", "class" : "ksb\/csle\/component\/runner\/ServingRunner.html", "name" : "ksb.csle.component.runner.ServingRunner"}, {"class" : "ksb\/csle\/component\/runner\/SimpleSparkRunner.html", "name" : "ksb.csle.component.runner.SimpleSparkRunner"}, {"case class" : "ksb\/csle\/component\/runner\/StartServing.html", "name" : "ksb.csle.component.runner.StartServing"}, {"case class" : "ksb\/csle\/component\/runner\/StopServing.html", "name" : "ksb.csle.component.runner.StopServing"}, {"object" : "ksb\/csle\/component\/runner\/TensorflowServingRunner$.html", "class" : "ksb\/csle\/component\/runner\/TensorflowServingRunner.html", "name" : "ksb.csle.component.runner.TensorflowServingRunner"}], "ksb" : [], "ksb.csle.component.runner.analysis" : [{"object" : "ksb\/csle\/component\/runner\/analysis\/TensorflowRunner$.html", "class" : "ksb\/csle\/component\/runner\/analysis\/TensorflowRunner.html", "name" : "ksb.csle.component.runner.analysis.TensorflowRunner"}], "ksb.csle.component.ingestion.receiver" : [{"class" : "ksb\/csle\/component\/ingestion\/receiver\/HttpDeleteResponseReceiver.html", "name" : "ksb.csle.component.ingestion.receiver.HttpDeleteResponseReceiver"}, {"class" : "ksb\/csle\/component\/ingestion\/receiver\/HttpGetResponseReceiver.html", "name" : "ksb.csle.component.ingestion.receiver.HttpGetResponseReceiver"}, {"class" : "ksb\/csle\/component\/ingestion\/receiver\/HttpPostRequestReceiver.html", "name" : "ksb.csle.component.ingestion.receiver.HttpPostRequestReceiver"}, {"class" : "ksb\/csle\/component\/ingestion\/receiver\/HttpPostResponseReceiver.html", "name" : "ksb.csle.component.ingestion.receiver.HttpPostResponseReceiver"}, {"class" : "ksb\/csle\/component\/ingestion\/receiver\/HttpPutResponseReceiver.html", "name" : "ksb.csle.component.ingestion.receiver.HttpPutResponseReceiver"}], "ksb.csle.ingestion.runner" : [{"class" : "ksb\/csle\/ingestion\/runner\/PhoenixTest.html", "name" : "ksb.csle.ingestion.runner.PhoenixTest"}], "ksb.csle.component.controller" : [{"class" : "ksb\/csle\/component\/controller\/BatchDummyController.html", "name" : "ksb.csle.component.controller.BatchDummyController"}, {"class" : "ksb\/csle\/component\/controller\/ExternalAnalysisController.html", "name" : "ksb.csle.component.controller.ExternalAnalysisController"}, {"class" : "ksb\/csle\/component\/controller\/KBEServingController.html", "name" : "ksb.csle.component.controller.KBEServingController"}, {"class" : "ksb\/csle\/component\/controller\/ServingWithKbController.html", "name" : "ksb.csle.component.controller.ServingWithKbController"}, {"object" : "ksb\/csle\/component\/controller\/ServingWithKbControllerActor$.html", "name" : "ksb.csle.component.controller.ServingWithKbControllerActor"}, {"class" : "ksb\/csle\/component\/controller\/SparkSessionController.html", "name" : "ksb.csle.component.controller.SparkSessionController"}, {"class" : "ksb\/csle\/component\/controller\/SparkSessionOrStreamController.html", "name" : "ksb.csle.component.controller.SparkSessionOrStreamController"}, {"class" : "ksb\/csle\/component\/controller\/SparkStreamController.html", "name" : "ksb.csle.component.controller.SparkStreamController"}, {"class" : "ksb\/csle\/component\/controller\/TensorflowServingController.html", "name" : "ksb.csle.component.controller.TensorflowServingController"}, {"class" : "ksb\/csle\/component\/controller\/WindowedSparkSessionOrStreamController.html", "name" : "ksb.csle.component.controller.WindowedSparkSessionOrStreamController"}], "ksb.csle.component.operator.cleaning" : [{"object" : "ksb\/csle\/component\/operator\/cleaning\/AgglomerativeClusteringOperator$.html", "class" : "ksb\/csle\/component\/operator\/cleaning\/AgglomerativeClusteringOperator.html", "name" : "ksb.csle.component.operator.cleaning.AgglomerativeClusteringOperator"}, {"object" : "ksb\/csle\/component\/operator\/cleaning\/DBScanOperator$.html", "class" : "ksb\/csle\/component\/operator\/cleaning\/DBScanOperator.html", "name" : "ksb.csle.component.operator.cleaning.DBScanOperator"}, {"object" : "ksb\/csle\/component\/operator\/cleaning\/EMClusteringOperator$.html", "class" : "ksb\/csle\/component\/operator\/cleaning\/EMClusteringOperator.html", "name" : "ksb.csle.component.operator.cleaning.EMClusteringOperator"}, {"object" : "ksb\/csle\/component\/operator\/cleaning\/EqualDepthBinningOperator$.html", "class" : "ksb\/csle\/component\/operator\/cleaning\/EqualDepthBinningOperator.html", "name" : "ksb.csle.component.operator.cleaning.EqualDepthBinningOperator"}, {"object" : "ksb\/csle\/component\/operator\/cleaning\/EqualWidthBinningOperator$.html", "class" : "ksb\/csle\/component\/operator\/cleaning\/EqualWidthBinningOperator.html", "name" : "ksb.csle.component.operator.cleaning.EqualWidthBinningOperator"}, {"object" : "ksb\/csle\/component\/operator\/cleaning\/GeneralizedLinearRegressionOperator$.html", "class" : "ksb\/csle\/component\/operator\/cleaning\/GeneralizedLinearRegressionOperator.html", "name" : "ksb.csle.component.operator.cleaning.GeneralizedLinearRegressionOperator"}, {"object" : "ksb\/csle\/component\/operator\/cleaning\/KMeansOperator$.html", "class" : "ksb\/csle\/component\/operator\/cleaning\/KMeansOperator.html", "name" : "ksb.csle.component.operator.cleaning.KMeansOperator"}, {"object" : "ksb\/csle\/component\/operator\/cleaning\/KMedoidsOperator$.html", "class" : "ksb\/csle\/component\/operator\/cleaning\/KMedoidsOperator.html", "name" : "ksb.csle.component.operator.cleaning.KMedoidsOperator"}, {"object" : "ksb\/csle\/component\/operator\/cleaning\/LinearRegressionOperator$.html", "class" : "ksb\/csle\/component\/operator\/cleaning\/LinearRegressionOperator.html", "name" : "ksb.csle.component.operator.cleaning.LinearRegressionOperator"}, {"object" : "ksb\/csle\/component\/operator\/cleaning\/MissingValueImputeOperator$.html", "class" : "ksb\/csle\/component\/operator\/cleaning\/MissingValueImputeOperator.html", "name" : "ksb.csle.component.operator.cleaning.MissingValueImputeOperator"}], "ksb.csle.components" : [{"class" : "ksb\/csle\/components\/App.html", "name" : "ksb.csle.components.App"}], "ksb.csle.component.exception" : [{"class" : "ksb\/csle\/component\/exception\/DataException.html", "name" : "ksb.csle.component.exception.DataException"}, {"class" : "ksb\/csle\/component\/exception\/FileIOException.html", "name" : "ksb.csle.component.exception.FileIOException"}, {"case class" : "ksb\/csle\/component\/exception\/KsbException.html", "name" : "ksb.csle.component.exception.KsbException"}, {"class" : "ksb\/csle\/component\/exception\/ProcessException.html", "name" : "ksb.csle.component.exception.ProcessException"}], "ksb.csle.component.writer" : [{"class" : "ksb\/csle\/component\/writer\/FileStreamWriter.html", "name" : "ksb.csle.component.writer.FileStreamWriter"}, {"object" : "ksb\/csle\/component\/writer\/FileWriter$.html", "class" : "ksb\/csle\/component\/writer\/FileWriter.html", "name" : "ksb.csle.component.writer.FileWriter"}, {"class" : "ksb\/csle\/component\/writer\/HttpClientWriter.html", "name" : "ksb.csle.component.writer.HttpClientWriter"}, {"object" : "ksb\/csle\/component\/writer\/KafkaWriter$.html", "class" : "ksb\/csle\/component\/writer\/KafkaWriter.html", "name" : "ksb.csle.component.writer.KafkaWriter"}, {"class" : "ksb\/csle\/component\/writer\/MongodbWriter.html", "name" : "ksb.csle.component.writer.MongodbWriter"}, {"object" : "ksb\/csle\/component\/writer\/PhoenixWriter$.html", "class" : "ksb\/csle\/component\/writer\/PhoenixWriter.html", "name" : "ksb.csle.component.writer.PhoenixWriter"}, {"object" : "ksb\/csle\/component\/writer\/StdoutWriter$.html", "class" : "ksb\/csle\/component\/writer\/StdoutWriter.html", "name" : "ksb.csle.component.writer.StdoutWriter"}, {"class" : "ksb\/csle\/component\/writer\/TableWriter.html", "name" : "ksb.csle.component.writer.TableWriter"}], "ksb.csle.component.operator.service" : [{"object" : "ksb\/csle\/component\/operator\/service\/ControlContextQueryOperator$.html", "class" : "ksb\/csle\/component\/operator\/service\/ControlContextQueryOperator.html", "name" : "ksb.csle.component.operator.service.ControlContextQueryOperator"}, {"class" : "ksb\/csle\/component\/operator\/service\/HttpWeatherResponseReceiver.html", "name" : "ksb.csle.component.operator.service.HttpWeatherResponseReceiver"}, {"object" : "ksb\/csle\/component\/operator\/service\/MyJsonProtocol$.html", "name" : "ksb.csle.component.operator.service.MyJsonProtocol"}, {"case class" : "ksb\/csle\/component\/operator\/service\/PredictResult.html", "name" : "ksb.csle.component.operator.service.PredictResult"}, {"case class" : "ksb\/csle\/component\/operator\/service\/package$$StrokeIndexRequest.html", "name" : "ksb.csle.component.operator.service.StrokeIndexRequest"}, {"class" : "ksb\/csle\/component\/operator\/service\/TensorflowServingOperator.html", "name" : "ksb.csle.component.operator.service.TensorflowServingOperator"}, {"object" : "ksb\/csle\/component\/operator\/service\/WeatherJsonProtocol$.html", "name" : "ksb.csle.component.operator.service.WeatherJsonProtocol"}, {"object" : "ksb\/csle\/component\/operator\/service\/WeatherQueryOperator$.html", "class" : "ksb\/csle\/component\/operator\/service\/WeatherQueryOperator.html", "name" : "ksb.csle.component.operator.service.WeatherQueryOperator"}, {"case class" : "ksb\/csle\/component\/operator\/service\/package$$WeatherRequest.html", "name" : "ksb.csle.component.operator.service.WeatherRequest"}, {"class" : "ksb\/csle\/component\/operator\/service\/WeatherRESTClient.html", "name" : "ksb.csle.component.operator.service.WeatherRESTClient"}], "ksb.csle" : []}; \ No newline at end of file diff --git a/manual1903/api_reference/components/scaladocs/index/index-a.html b/manual1903/api_reference/components/scaladocs/index/index-a.html new file mode 100644 index 0000000000000000000000000000000000000000..b5cc77b8da7b5913753291201d34b02ab8925bd3 --- /dev/null +++ b/manual1903/api_reference/components/scaladocs/index/index-a.html @@ -0,0 +1,47 @@ + + + + KSB COMPONENTS Scala App Project 1.0-SNAPSHOT API + + + + + + + + +
                                                +
                                                AddConditionalColumnOperator
                                                + +
                                                +
                                                AgglomerativeClusteringOperator
                                                + +
                                                +
                                                AggregateOperator
                                                + +
                                                +
                                                AnyJsonFormat
                                                + +
                                                +
                                                App
                                                + +
                                                +
                                                actor
                                                + +
                                                +
                                                actorRefFactory
                                                + +
                                                +
                                                actorSystem
                                                + +
                                                +
                                                akka
                                                + +
                                                +
                                                analysis
                                                + +
                                                +
                                                apply
                                                + +
                                                + diff --git a/manual1903/api_reference/components/scaladocs/index/index-b.html b/manual1903/api_reference/components/scaladocs/index/index-b.html new file mode 100644 index 0000000000000000000000000000000000000000..f88928ecf143786445969ed86701a3fd69f770d8 --- /dev/null +++ b/manual1903/api_reference/components/scaladocs/index/index-b.html @@ -0,0 +1,53 @@ + + + + KSB COMPONENTS Scala App Project 1.0-SNAPSHOT API + + + + + + + + +
                                                +
                                                BOOLVAL_INDEX
                                                + +
                                                +
                                                BaseDistanceCalculator
                                                + +
                                                +
                                                BatchDummyController
                                                + +
                                                +
                                                BindServing
                                                + +
                                                +
                                                BufferUtils
                                                + +
                                                +
                                                basePath
                                                + +
                                                +
                                                basePathTmp
                                                + +
                                                +
                                                baseUrl
                                                + +
                                                +
                                                bindingFuture
                                                + +
                                                +
                                                body
                                                + +
                                                +
                                                boolVal
                                                + +
                                                +
                                                bufferArray
                                                + +
                                                +
                                                bufferCount
                                                + +
                                                + diff --git a/manual1903/api_reference/components/scaladocs/index/index-c.html b/manual1903/api_reference/components/scaladocs/index/index-c.html new file mode 100644 index 0000000000000000000000000000000000000000..5c1f2b692622568e3b40c910a422e10088f1a8ff --- /dev/null +++ b/manual1903/api_reference/components/scaladocs/index/index-c.html @@ -0,0 +1,116 @@ + + + + KSB COMPONENTS Scala App Project 1.0-SNAPSHOT API + + + + + + + + +
                                                +
                                                CLIENT_SLEEP_TIME
                                                + +
                                                +
                                                CalculatorUtils
                                                + +
                                                +
                                                ChangeColumnDataTypeOperator
                                                + +
                                                +
                                                ChiSquareSelectOperator
                                                + +
                                                +
                                                ColumnRemoveOperator
                                                + +
                                                +
                                                ColumnSelectOperator
                                                + +
                                                +
                                                ColumnSelectWithFileOperator
                                                + +
                                                +
                                                ConcatAndReshapeOperator
                                                + +
                                                +
                                                ControlContext
                                                + +
                                                +
                                                ControlContextProtocol
                                                + +
                                                +
                                                ControlContextQueryOperator
                                                + +
                                                +
                                                castAnyToDobule
                                                + +
                                                +
                                                cause
                                                + +
                                                +
                                                checkAggregateMethods
                                                + +
                                                +
                                                cleaning
                                                + +
                                                +
                                                clientType
                                                + +
                                                +
                                                close
                                                + +
                                                +
                                                common
                                                + +
                                                +
                                                component
                                                + +
                                                +
                                                components
                                                + +
                                                +
                                                config
                                                + +
                                                +
                                                conn
                                                + +
                                                +
                                                consumer
                                                + +
                                                +
                                                content
                                                + +
                                                +
                                                contentType
                                                + +
                                                +
                                                controlContextFormat
                                                + +
                                                +
                                                controller
                                                + +
                                                +
                                                coord
                                                + +
                                                +
                                                cquery
                                                + +
                                                +
                                                createAppName
                                                + +
                                                +
                                                createCommandLine
                                                + +
                                                +
                                                createConsumerConfig
                                                + +
                                                +
                                                csle
                                                + +
                                                +
                                                currentServingActor
                                                + +
                                                + diff --git a/manual1903/api_reference/components/scaladocs/index/index-d.html b/manual1903/api_reference/components/scaladocs/index/index-d.html new file mode 100644 index 0000000000000000000000000000000000000000..1b1819481bbeaf355610776568c3814a78432047 --- /dev/null +++ b/manual1903/api_reference/components/scaladocs/index/index-d.html @@ -0,0 +1,71 @@ + + + + KSB COMPONENTS Scala App Project 1.0-SNAPSHOT API + + + + + + + + +
                                                +
                                                DATATYPE_INDEX
                                                + +
                                                +
                                                DBScanOperator
                                                + +
                                                +
                                                DEBUG
                                                + +
                                                +
                                                DLTrainOperator
                                                + +
                                                +
                                                DOUBLEVAL_INDEX
                                                + +
                                                +
                                                DataException
                                                + +
                                                +
                                                DataTypeUtil
                                                + +
                                                +
                                                DateTimeFormat
                                                + +
                                                +
                                                DecisionTreeInductOperator
                                                + +
                                                +
                                                data
                                                + +
                                                +
                                                dataType
                                                + +
                                                +
                                                dateTime
                                                + +
                                                +
                                                defaultHttpIngestionHandler
                                                + +
                                                +
                                                defaultServerIp
                                                + +
                                                +
                                                defaultServerPort
                                                + +
                                                +
                                                defaultServiceKey
                                                + +
                                                +
                                                df
                                                + +
                                                +
                                                doubleVal
                                                + +
                                                +
                                                dtf
                                                + +
                                                + diff --git a/manual1903/api_reference/components/scaladocs/index/index-e.html b/manual1903/api_reference/components/scaladocs/index/index-e.html new file mode 100644 index 0000000000000000000000000000000000000000..0dcf8383494b362fda1e3eb952874dbbfd76d807 --- /dev/null +++ b/manual1903/api_reference/components/scaladocs/index/index-e.html @@ -0,0 +1,44 @@ + + + + KSB COMPONENTS Scala App Project 1.0-SNAPSHOT API + + + + + + + + +
                                                +
                                                EMClusteringOperator
                                                + +
                                                +
                                                ERROR_INDEX
                                                + +
                                                +
                                                EqualDepthBinningOperator
                                                + +
                                                +
                                                EqualWidthBinningOperator
                                                + +
                                                +
                                                ExplodeColumnOperator
                                                + +
                                                +
                                                ExternalAnalysisController
                                                + +
                                                +
                                                error
                                                + +
                                                +
                                                exception
                                                + +
                                                +
                                                executeQuery
                                                + +
                                                +
                                                extractContent
                                                + +
                                                + diff --git a/manual1903/api_reference/components/scaladocs/index/index-f.html b/manual1903/api_reference/components/scaladocs/index/index-f.html new file mode 100644 index 0000000000000000000000000000000000000000..25753ff81a4db5661b21aafbab959b860da5855f --- /dev/null +++ b/manual1903/api_reference/components/scaladocs/index/index-f.html @@ -0,0 +1,50 @@ + + + + KSB COMPONENTS Scala App Project 1.0-SNAPSHOT API + + + + + + + + +
                                                +
                                                FLOATVAL_INDEX
                                                + +
                                                +
                                                FileIOException
                                                + +
                                                +
                                                FileReader
                                                + +
                                                +
                                                FileStreamWriter
                                                + +
                                                +
                                                FileWriter
                                                + +
                                                +
                                                FilterOperator
                                                + +
                                                +
                                                FilterUsingSqlOperator
                                                + +
                                                +
                                                FlattenOperator
                                                + +
                                                +
                                                FormdataParser
                                                + +
                                                +
                                                floatVal
                                                + +
                                                +
                                                formatter
                                                + +
                                                +
                                                function_mapping
                                                + +
                                                + diff --git a/manual1903/api_reference/components/scaladocs/index/index-g.html b/manual1903/api_reference/components/scaladocs/index/index-g.html new file mode 100644 index 0000000000000000000000000000000000000000..2a35b9bae114ecfa3e54356ce8946059cf089f7b --- /dev/null +++ b/manual1903/api_reference/components/scaladocs/index/index-g.html @@ -0,0 +1,44 @@ + + + + KSB COMPONENTS Scala App Project 1.0-SNAPSHOT API + + + + + + + + +
                                                +
                                                GeneralizedLinearRegressionOperator
                                                + +
                                                +
                                                GroupByFilterOperator
                                                + +
                                                +
                                                GroupByOperator
                                                + +
                                                +
                                                getAverageListAllFromDF
                                                + +
                                                +
                                                getColumnNames
                                                + +
                                                +
                                                getFeaturesColumns
                                                + +
                                                +
                                                getSession
                                                + +
                                                +
                                                getSingleColumnName
                                                + +
                                                +
                                                getTableSchema
                                                + +
                                                +
                                                getValueByType
                                                + +
                                                + diff --git a/manual1903/api_reference/components/scaladocs/index/index-h.html b/manual1903/api_reference/components/scaladocs/index/index-h.html new file mode 100644 index 0000000000000000000000000000000000000000..0b7fe6339d9e348b8237625c987663c8405256a7 --- /dev/null +++ b/manual1903/api_reference/components/scaladocs/index/index-h.html @@ -0,0 +1,56 @@ + + + + KSB COMPONENTS Scala App Project 1.0-SNAPSHOT API + + + + + + + + +
                                                +
                                                HBaseFuncAPI
                                                + +
                                                +
                                                HttpClientReader
                                                + +
                                                +
                                                HttpClientWriter
                                                + +
                                                +
                                                HttpDeleteResponseReceiver
                                                + +
                                                +
                                                HttpGetResponseReceiver
                                                + +
                                                +
                                                HttpIngestionRequest
                                                + +
                                                +
                                                HttpIngestionResponse
                                                + +
                                                +
                                                HttpPostRequestReceiver
                                                + +
                                                +
                                                HttpPostResponseReceiver
                                                + +
                                                +
                                                HttpPutResponseReceiver
                                                + +
                                                +
                                                HttpServerReader
                                                + +
                                                +
                                                HttpWeatherClientReader
                                                + +
                                                +
                                                HttpWeatherResponseReceiver
                                                + +
                                                +
                                                headers
                                                + +
                                                + diff --git a/manual1903/api_reference/components/scaladocs/index/index-i.html b/manual1903/api_reference/components/scaladocs/index/index-i.html new file mode 100644 index 0000000000000000000000000000000000000000..7aba7ae6f018ba3960c397b94440525e53ff4438 --- /dev/null +++ b/manual1903/api_reference/components/scaladocs/index/index-i.html @@ -0,0 +1,68 @@ + + + + KSB COMPONENTS Scala App Project 1.0-SNAPSHOT API + + + + + + + + +
                                                +
                                                INTVAL_INDEX
                                                + +
                                                +
                                                InterpolateOperator
                                                + +
                                                +
                                                i
                                                + +
                                                +
                                                info
                                                + +
                                                +
                                                ingestion
                                                + +
                                                +
                                                init
                                                + +
                                                +
                                                inputDf
                                                + +
                                                +
                                                inputQueSize
                                                + +
                                                +
                                                input_path
                                                + +
                                                +
                                                intVal
                                                + +
                                                +
                                                integration
                                                + +
                                                +
                                                interpolationOp_df1
                                                + +
                                                +
                                                interpolationOp_df2
                                                + +
                                                +
                                                interpolation_df1
                                                + +
                                                +
                                                interpolation_df2
                                                + +
                                                +
                                                ip
                                                + +
                                                +
                                                isNumericType
                                                + +
                                                +
                                                isTerminated
                                                + +
                                                + diff --git a/manual1903/api_reference/components/scaladocs/index/index-k.html b/manual1903/api_reference/components/scaladocs/index/index-k.html new file mode 100644 index 0000000000000000000000000000000000000000..e90d1a0fbca25a288bda4874463fea56f4f94b77 --- /dev/null +++ b/manual1903/api_reference/components/scaladocs/index/index-k.html @@ -0,0 +1,56 @@ + + + + KSB COMPONENTS Scala App Project 1.0-SNAPSHOT API + + + + + + + + +
                                                +
                                                KBERequest
                                                + +
                                                +
                                                KBEResponse
                                                + +
                                                +
                                                KBEServingController
                                                + +
                                                +
                                                KBEServingRunner
                                                + +
                                                +
                                                KMeansOperator
                                                + +
                                                +
                                                KMedoidsOperator
                                                + +
                                                +
                                                KafkaOnDemandReader
                                                + +
                                                +
                                                KafkaReader
                                                + +
                                                +
                                                KafkaWriter
                                                + +
                                                +
                                                KsbException
                                                + +
                                                +
                                                kafkaParams
                                                + +
                                                +
                                                kafkaReaderInfo
                                                + +
                                                +
                                                kbServerUrl
                                                + +
                                                +
                                                ksb
                                                + +
                                                + diff --git a/manual1903/api_reference/components/scaladocs/index/index-l.html b/manual1903/api_reference/components/scaladocs/index/index-l.html new file mode 100644 index 0000000000000000000000000000000000000000..8014351c3ca8dcd4df41d31b952f47c398c5059d --- /dev/null +++ b/manual1903/api_reference/components/scaladocs/index/index-l.html @@ -0,0 +1,29 @@ + + + + KSB COMPONENTS Scala App Project 1.0-SNAPSHOT API + + + + + + + + +
                                                +
                                                LONGVAL_INDEX
                                                + +
                                                +
                                                LinearRegressionOperator
                                                + +
                                                +
                                                location
                                                + +
                                                +
                                                locations
                                                + +
                                                +
                                                longVal
                                                + +
                                                + diff --git a/manual1903/api_reference/components/scaladocs/index/index-m.html b/manual1903/api_reference/components/scaladocs/index/index-m.html new file mode 100644 index 0000000000000000000000000000000000000000..eb293c2fdc272d5bd7245a8d64f0e301150ce7ea --- /dev/null +++ b/manual1903/api_reference/components/scaladocs/index/index-m.html @@ -0,0 +1,56 @@ + + + + KSB COMPONENTS Scala App Project 1.0-SNAPSHOT API + + + + + + + + +
                                                +
                                                ManhattanDistanceMetric
                                                + +
                                                +
                                                MedianUtil
                                                + +
                                                +
                                                MinMaxScalingOperator
                                                + +
                                                +
                                                MissingValueImputeOperator
                                                + +
                                                +
                                                MlKbServingActor
                                                + +
                                                +
                                                MongodbReader
                                                + +
                                                +
                                                MongodbWriter
                                                + +
                                                +
                                                MultipleReaders
                                                + +
                                                +
                                                MyJsonProtocol
                                                + +
                                                +
                                                median
                                                + +
                                                +
                                                mergeFile
                                                + +
                                                +
                                                message
                                                + +
                                                +
                                                modDf
                                                + +
                                                +
                                                model
                                                + +
                                                + diff --git a/manual1903/api_reference/components/scaladocs/index/index-n.html b/manual1903/api_reference/components/scaladocs/index/index-n.html new file mode 100644 index 0000000000000000000000000000000000000000..dea34a77d96d50797f7aa7ed0258a6de6d5b163a --- /dev/null +++ b/manual1903/api_reference/components/scaladocs/index/index-n.html @@ -0,0 +1,32 @@ + + + + KSB COMPONENTS Scala App Project 1.0-SNAPSHOT API + + + + + + + + +
                                                +
                                                NAME_INDEX
                                                + +
                                                +
                                                NullReplaceOperator
                                                + +
                                                +
                                                name
                                                + +
                                                +
                                                newRows
                                                + +
                                                +
                                                nx
                                                + +
                                                +
                                                ny
                                                + +
                                                + diff --git a/manual1903/api_reference/components/scaladocs/index/index-o.html b/manual1903/api_reference/components/scaladocs/index/index-o.html new file mode 100644 index 0000000000000000000000000000000000000000..e763c8cc64fba52141596a333b4acb29ab8d686f --- /dev/null +++ b/manual1903/api_reference/components/scaladocs/index/index-o.html @@ -0,0 +1,59 @@ + + + + KSB COMPONENTS Scala App Project 1.0-SNAPSHOT API + + + + + + + + +
                                                +
                                                OUTPUTS_INDEX
                                                + +
                                                +
                                                OneHotEncodingOperator
                                                + +
                                                +
                                                OneM2MUtils
                                                + +
                                                +
                                                Onem2mHttpReader
                                                + +
                                                +
                                                OrderByFilterOperator
                                                + +
                                                +
                                                OrderByOperator
                                                + +
                                                +
                                                o
                                                + +
                                                +
                                                onStart
                                                + +
                                                +
                                                onStop
                                                + +
                                                +
                                                operate
                                                + +
                                                +
                                                operator
                                                + +
                                                +
                                                ops
                                                + +
                                                +
                                                outputPath
                                                + +
                                                +
                                                output_Path
                                                + +
                                                +
                                                outputs
                                                + +
                                                + diff --git a/manual1903/api_reference/components/scaladocs/index/index-p.html b/manual1903/api_reference/components/scaladocs/index/index-p.html new file mode 100644 index 0000000000000000000000000000000000000000..639016c8911e6f2592c8c3c897a5271ffaa984e3 --- /dev/null +++ b/manual1903/api_reference/components/scaladocs/index/index-p.html @@ -0,0 +1,107 @@ + + + + KSB COMPONENTS Scala App Project 1.0-SNAPSHOT API + + + + + + + + +
                                                +
                                                PCAOperator
                                                + +
                                                +
                                                PK_ROW_ID
                                                + +
                                                +
                                                PK_WRITE_TIME
                                                + +
                                                +
                                                PhoenixReader
                                                + +
                                                +
                                                PhoenixReaderBySql
                                                + +
                                                +
                                                PhoenixTest
                                                + +
                                                +
                                                PhoenixWriter
                                                + +
                                                +
                                                PivotOperator
                                                + +
                                                +
                                                PredictResult
                                                + +
                                                +
                                                PredictResultFormat
                                                + +
                                                +
                                                PredictionResult
                                                + +
                                                +
                                                ProcessException
                                                + +
                                                +
                                                PySparkRunner
                                                + +
                                                +
                                                p
                                                + +
                                                +
                                                params
                                                + +
                                                +
                                                parse
                                                + +
                                                +
                                                pattern
                                                + +
                                                +
                                                port
                                                + +
                                                +
                                                postStop
                                                + +
                                                +
                                                preStart
                                                + +
                                                +
                                                predict
                                                + +
                                                +
                                                predicted_label
                                                + +
                                                +
                                                predictorInfo
                                                + +
                                                +
                                                preferredLocation
                                                + +
                                                +
                                                printDEBUG
                                                + +
                                                +
                                                printNColumns
                                                + +
                                                +
                                                process
                                                + +
                                                +
                                                producer
                                                + +
                                                +
                                                progress
                                                + +
                                                +
                                                props
                                                + +
                                                +
                                                protocol
                                                + +
                                                + diff --git a/manual1903/api_reference/components/scaladocs/index/index-q.html b/manual1903/api_reference/components/scaladocs/index/index-q.html new file mode 100644 index 0000000000000000000000000000000000000000..e8faa14ff721dc982859656640e679785fed1d51 --- /dev/null +++ b/manual1903/api_reference/components/scaladocs/index/index-q.html @@ -0,0 +1,23 @@ + + + + KSB COMPONENTS Scala App Project 1.0-SNAPSHOT API + + + + + + + + +
                                                +
                                                query
                                                + +
                                                +
                                                queryType
                                                + +
                                                +
                                                queuedPrediction
                                                + +
                                                + diff --git a/manual1903/api_reference/components/scaladocs/index/index-r.html b/manual1903/api_reference/components/scaladocs/index/index-r.html new file mode 100644 index 0000000000000000000000000000000000000000..7d9dc7a18ba2a854fabdb2bc800097200fe7397a --- /dev/null +++ b/manual1903/api_reference/components/scaladocs/index/index-r.html @@ -0,0 +1,80 @@ + + + + KSB COMPONENTS Scala App Project 1.0-SNAPSHOT API + + + + + + + + +
                                                +
                                                REQUEST_TIMEOUT
                                                + +
                                                +
                                                RESPONSE_TIMEOUT
                                                + +
                                                +
                                                RandomForestClassifierPredictOperator
                                                + +
                                                +
                                                RandomForestClassifierTrainOperator
                                                + +
                                                +
                                                RandomSamplingOperator
                                                + +
                                                +
                                                ReloadServing
                                                + +
                                                +
                                                RenameColumnOperator
                                                + +
                                                +
                                                ReshapeWithConcat
                                                + +
                                                +
                                                ReshapeWithTimeWindowOperator
                                                + +
                                                +
                                                read
                                                + +
                                                +
                                                reader
                                                + +
                                                +
                                                receive
                                                + +
                                                +
                                                receiver
                                                + +
                                                +
                                                reduction
                                                + +
                                                +
                                                result
                                                + +
                                                +
                                                resultDf
                                                + +
                                                +
                                                retry
                                                + +
                                                +
                                                round
                                                + +
                                                +
                                                route
                                                + +
                                                +
                                                rowCountToSend
                                                + +
                                                +
                                                run
                                                + +
                                                +
                                                runner
                                                + +
                                                + diff --git a/manual1903/api_reference/components/scaladocs/index/index-s.html b/manual1903/api_reference/components/scaladocs/index/index-s.html new file mode 100644 index 0000000000000000000000000000000000000000..6059d099eedf53a4163eb24ceddc725c0c346fe8 --- /dev/null +++ b/manual1903/api_reference/components/scaladocs/index/index-s.html @@ -0,0 +1,176 @@ + + + + KSB COMPONENTS Scala App Project 1.0-SNAPSHOT API + + + + + + + + +
                                                +
                                                SHAPE_INDEX
                                                + +
                                                +
                                                SHOW_NUM
                                                + +
                                                +
                                                STRINGVAL_INDEX
                                                + +
                                                +
                                                SelectWithTimeWindowOperator
                                                + +
                                                +
                                                ServerStopArgs
                                                + +
                                                +
                                                ServingActor
                                                + +
                                                +
                                                ServingMaster
                                                + +
                                                +
                                                ServingRunner
                                                + +
                                                +
                                                ServingWithKbController
                                                + +
                                                +
                                                ServingWithKbControllerActor
                                                + +
                                                +
                                                SimpleSparkRunner
                                                + +
                                                +
                                                SparkMLPredictOperator
                                                + +
                                                +
                                                SparkSessionController
                                                + +
                                                +
                                                SparkSessionOrStreamController
                                                + +
                                                +
                                                SparkStreamController
                                                + +
                                                +
                                                SplitColumnOperator
                                                + +
                                                +
                                                StartServing
                                                + +
                                                +
                                                StdoutWriter
                                                + +
                                                +
                                                StepwiseBackwardEliminateOperator
                                                + +
                                                +
                                                StepwiseForwardSelectOperator
                                                + +
                                                +
                                                StopArgs
                                                + +
                                                +
                                                StopServing
                                                + +
                                                +
                                                StratifiedSamplingOperator
                                                + +
                                                +
                                                StringIndexOperator
                                                + +
                                                +
                                                StrokeIndexRequest
                                                + +
                                                +
                                                serve
                                                + +
                                                +
                                                serverIp
                                                + +
                                                +
                                                serverPort
                                                + +
                                                +
                                                serverStopArgs
                                                + +
                                                +
                                                serverUrl
                                                + +
                                                +
                                                service
                                                + +
                                                +
                                                serviceKey
                                                + +
                                                +
                                                serviceStartTime
                                                + +
                                                +
                                                serviceUrl
                                                + +
                                                +
                                                servingMaster
                                                + +
                                                +
                                                sessionIn
                                                + +
                                                +
                                                sessionOut
                                                + +
                                                +
                                                shape
                                                + +
                                                +
                                                spark
                                                + +
                                                +
                                                sprayHttpListener
                                                + +
                                                +
                                                ssIn
                                                + +
                                                +
                                                ssOut
                                                + +
                                                +
                                                ssc
                                                + +
                                                +
                                                sscIn
                                                + +
                                                +
                                                sscOut
                                                + +
                                                +
                                                ssl
                                                + +
                                                +
                                                statusCode
                                                + +
                                                +
                                                statuscode
                                                + +
                                                +
                                                stmt
                                                + +
                                                +
                                                stop
                                                + +
                                                +
                                                stopArgs
                                                + +
                                                +
                                                stringVal
                                                + +
                                                +
                                                strokeLocationQueryUrl
                                                + +
                                                +
                                                system
                                                + +
                                                + diff --git a/manual1903/api_reference/components/scaladocs/index/index-t.html b/manual1903/api_reference/components/scaladocs/index/index-t.html new file mode 100644 index 0000000000000000000000000000000000000000..71528d5459218f47b82129d18a74b9ccb0721c39 --- /dev/null +++ b/manual1903/api_reference/components/scaladocs/index/index-t.html @@ -0,0 +1,77 @@ + + + + KSB COMPONENTS Scala App Project 1.0-SNAPSHOT API + + + + + + + + +
                                                +
                                                TableReader
                                                + +
                                                +
                                                TableWriter
                                                + +
                                                +
                                                TensorRow
                                                + +
                                                +
                                                TensorflowPredictOperator
                                                + +
                                                +
                                                TensorflowRunner
                                                + +
                                                +
                                                TensorflowServingController
                                                + +
                                                +
                                                TensorflowServingOperator
                                                + +
                                                +
                                                TensorflowServingRunner
                                                + +
                                                +
                                                TimeIndexAddOperator
                                                + +
                                                +
                                                TimeSynchronizeOperator
                                                + +
                                                +
                                                TimeWindowAggregateOperator
                                                + +
                                                +
                                                TransposeOperator
                                                + +
                                                +
                                                tempArray4Engine
                                                + +
                                                +
                                                tempArray4Predict
                                                + +
                                                +
                                                tempDf
                                                + +
                                                +
                                                time
                                                + +
                                                +
                                                timeout
                                                + +
                                                +
                                                toDataFrameType
                                                + +
                                                +
                                                topics
                                                + +
                                                +
                                                trainOrPredict
                                                + +
                                                +
                                                transformation
                                                + +
                                                + diff --git a/manual1903/api_reference/components/scaladocs/index/index-u.html b/manual1903/api_reference/components/scaladocs/index/index-u.html new file mode 100644 index 0000000000000000000000000000000000000000..db40333f75458181e1f3b6bb4641b863ab08b7ae --- /dev/null +++ b/manual1903/api_reference/components/scaladocs/index/index-u.html @@ -0,0 +1,23 @@ + + + + KSB COMPONENTS Scala App Project 1.0-SNAPSHOT API + + + + + + + + +
                                                +
                                                Utils
                                                + +
                                                +
                                                url
                                                + +
                                                +
                                                util
                                                + +
                                                + diff --git a/manual1903/api_reference/components/scaladocs/index/index-v.html b/manual1903/api_reference/components/scaladocs/index/index-v.html new file mode 100644 index 0000000000000000000000000000000000000000..c2f2edc852daee105ba8195697fb015e14d3ad87 --- /dev/null +++ b/manual1903/api_reference/components/scaladocs/index/index-v.html @@ -0,0 +1,23 @@ + + + + KSB COMPONENTS Scala App Project 1.0-SNAPSHOT API + + + + + + + + +
                                                +
                                                VectorAssembleColumnAddOperator
                                                + +
                                                +
                                                VectorizeColumnOperator
                                                + +
                                                +
                                                validate
                                                + +
                                                + diff --git a/manual1903/api_reference/components/scaladocs/index/index-w.html b/manual1903/api_reference/components/scaladocs/index/index-w.html new file mode 100644 index 0000000000000000000000000000000000000000..550e2917074f8fec35ee852be52d6255c3a86ced --- /dev/null +++ b/manual1903/api_reference/components/scaladocs/index/index-w.html @@ -0,0 +1,44 @@ + + + + KSB COMPONENTS Scala App Project 1.0-SNAPSHOT API + + + + + + + + +
                                                +
                                                WeatherJsonProtocol
                                                + +
                                                +
                                                WeatherQueryOperator
                                                + +
                                                +
                                                WeatherRESTClient
                                                + +
                                                +
                                                WeatherRequest
                                                + +
                                                +
                                                WindowedSparkSessionOrStreamController
                                                + +
                                                +
                                                weatherLocationQueryUrl
                                                + +
                                                +
                                                windowSize
                                                + +
                                                +
                                                write
                                                + +
                                                +
                                                writer
                                                + +
                                                +
                                                wsClient
                                                + +
                                                + diff --git a/manual1903/api_reference/components/scaladocs/index/index-x.html b/manual1903/api_reference/components/scaladocs/index/index-x.html new file mode 100644 index 0000000000000000000000000000000000000000..c4be62a7c3be4f529d152d3207d8d8af96d6bd96 --- /dev/null +++ b/manual1903/api_reference/components/scaladocs/index/index-x.html @@ -0,0 +1,17 @@ + + + + KSB COMPONENTS Scala App Project 1.0-SNAPSHOT API + + + + + + + + +
                                                +
                                                x
                                                + +
                                                + diff --git a/manual1903/api_reference/components/scaladocs/ksb/csle/component/controller/BatchDummyController.html b/manual1903/api_reference/components/scaladocs/ksb/csle/component/controller/BatchDummyController.html new file mode 100644 index 0000000000000000000000000000000000000000..3fc04e960cd5e7e6a7e458e277a947748e131f91 --- /dev/null +++ b/manual1903/api_reference/components/scaladocs/ksb/csle/component/controller/BatchDummyController.html @@ -0,0 +1,752 @@ + + + + BatchDummyController - KSB COMPONENTS Scala App Project 1.0-SNAPSHOT API - ksb.csle.component.controller.BatchDummyController + + + + + + + + + + + + + + + +
                                                + Class +

                                                ksb.csle.component.controller

                                                +

                                                BatchDummyController

                                                Related Doc: + package controller +

                                                + + Permalink + + +
                                                + +

                                                + + final + class + + + BatchDummyController[T, R] extends SparkSessionController[T, R] + +

                                                + +

                                                :: ApplicationDeveloperApi ::

                                                Controller that simply pipelines data from reader to writer +without any operators. This controller mostly run with batch-style engine. +

                                                T

                                                Data type class to be passes through data pipeline + from reader to operators

                                                R

                                                Data type for the final data format

                                                + Linear Supertypes +
                                                SparkSessionController[T, R], BaseGenericController[T, BatchControllerInfo, R, SparkSession, SparkSession], BaseController[T, BaseResult], BaseDoer, Logging, Serializable, Serializable, AnyRef, Any
                                                +
                                                + + +
                                                +
                                                +
                                                + Ordering +
                                                  + +
                                                1. Alphabetic
                                                2. +
                                                3. By Inheritance
                                                4. +
                                                +
                                                +
                                                + Inherited
                                                +
                                                +
                                                  +
                                                1. BatchDummyController
                                                2. SparkSessionController
                                                3. BaseGenericController
                                                4. BaseController
                                                5. BaseDoer
                                                6. Logging
                                                7. Serializable
                                                8. Serializable
                                                9. AnyRef
                                                10. Any
                                                11. +
                                                +
                                                + +
                                                  +
                                                1. Hide All
                                                2. +
                                                3. Show All
                                                4. +
                                                +
                                                +
                                                + Visibility +
                                                1. Public
                                                2. All
                                                +
                                                +
                                                + +
                                                +
                                                +
                                                +

                                                Instance Constructors

                                                +
                                                1. + + +

                                                  + + + new + + + BatchDummyController(runner: BaseRunner[SparkSession, _, _], i: BaseReader[T, _, SparkSession], o: BaseWriter[R, _, SparkSession], p: BatchControllerInfo) + +

                                                  + + Permalink + + +

                                                  runner

                                                  Runner object that is executed when engine starts

                                                  i

                                                  Reader object that reads data from data source

                                                  o

                                                  Writer object that writes pipelined data from operators

                                                  p

                                                  Message object that has one of messages object containing + attributes related to controlling process pipelining

                                                  +
                                                +
                                                + + + + + +
                                                +

                                                Value Members

                                                +
                                                1. + + +

                                                  + + final + def + + + !=(arg0: Any): Boolean + +

                                                  + + Permalink + + +
                                                  Definition Classes
                                                  AnyRef → Any
                                                  +
                                                2. + + +

                                                  + + final + def + + + ##(): Int + +

                                                  + + Permalink + + +
                                                  Definition Classes
                                                  AnyRef → Any
                                                  +
                                                3. + + +

                                                  + + final + def + + + ==(arg0: Any): Boolean + +

                                                  + + Permalink + + +
                                                  Definition Classes
                                                  AnyRef → Any
                                                  +
                                                4. + + +

                                                  + + final + def + + + asInstanceOf[T0]: T0 + +

                                                  + + Permalink + + +
                                                  Definition Classes
                                                  Any
                                                  +
                                                5. + + +

                                                  + + + def + + + clone(): AnyRef + +

                                                  + + Permalink + + +
                                                  Attributes
                                                  protected[java.lang]
                                                  Definition Classes
                                                  AnyRef
                                                  Annotations
                                                  + @throws( + + ... + ) + +
                                                  +
                                                6. + + +

                                                  + + final + def + + + eq(arg0: AnyRef): Boolean + +

                                                  + + Permalink + + +
                                                  Definition Classes
                                                  AnyRef
                                                  +
                                                7. + + +

                                                  + + + def + + + equals(arg0: Any): Boolean + +

                                                  + + Permalink + + +
                                                  Definition Classes
                                                  AnyRef → Any
                                                  +
                                                8. + + +

                                                  + + + def + + + finalize(): Unit + +

                                                  + + Permalink + + +
                                                  Attributes
                                                  protected[java.lang]
                                                  Definition Classes
                                                  AnyRef
                                                  Annotations
                                                  + @throws( + + classOf[java.lang.Throwable] + ) + +
                                                  +
                                                9. + + +

                                                  + + final + def + + + getClass(): Class[_] + +

                                                  + + Permalink + + +
                                                  Definition Classes
                                                  AnyRef → Any
                                                  +
                                                10. + + +

                                                  + + + def + + + hashCode(): Int + +

                                                  + + Permalink + + +
                                                  Definition Classes
                                                  AnyRef → Any
                                                  +
                                                11. + + +

                                                  + + + val + + + i: BaseReader[T, _, SparkSession] + +

                                                  + + Permalink + + +

                                                  Reader object that reads data from data source

                                                  Reader object that reads data from data source

                                                  Definition Classes
                                                  BatchDummyControllerSparkSessionController → BaseGenericController
                                                  +
                                                12. + + +

                                                  + + + def + + + init(): Any + +

                                                  + + Permalink + + +
                                                  Definition Classes
                                                  BaseController
                                                  Annotations
                                                  + @DeveloperApi() + +
                                                  +
                                                13. + + +

                                                  + + final + def + + + isInstanceOf[T0]: Boolean + +

                                                  + + Permalink + + +
                                                  Definition Classes
                                                  Any
                                                  +
                                                14. + + +

                                                  + + + val + + + logger: Logger + +

                                                  + + Permalink + + +
                                                  Attributes
                                                  protected
                                                  Definition Classes
                                                  Logging
                                                  +
                                                15. + + +

                                                  + + final + def + + + ne(arg0: AnyRef): Boolean + +

                                                  + + Permalink + + +
                                                  Definition Classes
                                                  AnyRef
                                                  +
                                                16. + + +

                                                  + + final + def + + + notify(): Unit + +

                                                  + + Permalink + + +
                                                  Definition Classes
                                                  AnyRef
                                                  +
                                                17. + + +

                                                  + + final + def + + + notifyAll(): Unit + +

                                                  + + Permalink + + +
                                                  Definition Classes
                                                  AnyRef
                                                  +
                                                18. + + +

                                                  + + + val + + + o: BaseWriter[R, _, SparkSession] + +

                                                  + + Permalink + + +

                                                  Writer object that writes pipelined data from operators

                                                  Writer object that writes pipelined data from operators

                                                  Definition Classes
                                                  BatchDummyControllerSparkSessionController → BaseGenericController
                                                  +
                                                19. + + +

                                                  + + + val + + + ops: List[BaseGenericOperator[_, R]] + +

                                                  + + Permalink + + +

                                                  a list of BaseGenericOperator objects that processes data + one by one.

                                                  a list of BaseGenericOperator objects that processes data + one by one.

                                                  Definition Classes
                                                  SparkSessionController → BaseGenericController
                                                  +
                                                20. + + +

                                                  + + + val + + + p: BatchControllerInfo + +

                                                  + + Permalink + + +

                                                  Message object that has one of messages object containing + attributes related to controlling process pipelining

                                                  Message object that has one of messages object containing + attributes related to controlling process pipelining

                                                  Definition Classes
                                                  BatchDummyControllerSparkSessionController → BaseGenericController
                                                  +
                                                21. + + +

                                                  + + final + def + + + pipeOperators(runner: BaseRunner[_, _, _], ops: List[BaseGenericOperator[_, R]], r: R): R + +

                                                  + + Permalink + + +
                                                  Attributes
                                                  protected
                                                  Definition Classes
                                                  BaseGenericController
                                                  Annotations
                                                  + @tailrec() + +
                                                  +
                                                22. + + +

                                                  + + + def + + + process(): BaseResult + +

                                                  + + Permalink + + +

                                                  Pipelines data from reader to writer via a series of operators.

                                                  Pipelines data from reader to writer via a series of operators. +

                                                  Definition Classes
                                                  SparkSessionController → BaseGenericController
                                                  +
                                                23. + + +

                                                  + + + def + + + progress(): BaseResult + +

                                                  + + Permalink + + +
                                                  Definition Classes
                                                  BaseGenericController → BaseController
                                                  +
                                                24. + + +

                                                  + + + val + + + runner: BaseRunner[SparkSession, _, _] + +

                                                  + + Permalink + + +

                                                  Runner object that is executed when engine starts

                                                  Runner object that is executed when engine starts

                                                  Definition Classes
                                                  BatchDummyControllerSparkSessionController → BaseGenericController
                                                  +
                                                25. + + +

                                                  + + + val + + + sessionIn: SparkSession + +

                                                  + + Permalink + + +
                                                  Definition Classes
                                                  SparkSessionController
                                                  +
                                                26. + + +

                                                  + + + val + + + sessionOut: SparkSession + +

                                                  + + Permalink + + +
                                                  Definition Classes
                                                  SparkSessionController
                                                  +
                                                27. + + +

                                                  + + + def + + + stop(): Any + +

                                                  + + Permalink + + +
                                                  Definition Classes
                                                  SparkSessionController → BaseGenericController → BaseController
                                                  +
                                                28. + + +

                                                  + + final + def + + + synchronized[T0](arg0: ⇒ T0): T0 + +

                                                  + + Permalink + + +
                                                  Definition Classes
                                                  AnyRef
                                                  +
                                                29. + + +

                                                  + + + def + + + toString(): String + +

                                                  + + Permalink + + +
                                                  Definition Classes
                                                  AnyRef → Any
                                                  +
                                                30. + + +

                                                  + + final + def + + + wait(): Unit + +

                                                  + + Permalink + + +
                                                  Definition Classes
                                                  AnyRef
                                                  Annotations
                                                  + @throws( + + ... + ) + +
                                                  +
                                                31. + + +

                                                  + + final + def + + + wait(arg0: Long, arg1: Int): Unit + +

                                                  + + Permalink + + +
                                                  Definition Classes
                                                  AnyRef
                                                  Annotations
                                                  + @throws( + + ... + ) + +
                                                  +
                                                32. + + +

                                                  + + final + def + + + wait(arg0: Long): Unit + +

                                                  + + Permalink + + +
                                                  Definition Classes
                                                  AnyRef
                                                  Annotations
                                                  + @throws( + + ... + ) + +
                                                  +
                                                +
                                                + + + + +
                                                + +
                                                +
                                                +

                                                Inherited from SparkSessionController[T, R]

                                                +
                                                +

                                                Inherited from BaseGenericController[T, BatchControllerInfo, R, SparkSession, SparkSession]

                                                +
                                                +

                                                Inherited from BaseController[T, BaseResult]

                                                +
                                                +

                                                Inherited from BaseDoer

                                                +
                                                +

                                                Inherited from Logging

                                                +
                                                +

                                                Inherited from Serializable

                                                +
                                                +

                                                Inherited from Serializable

                                                +
                                                +

                                                Inherited from AnyRef

                                                +
                                                +

                                                Inherited from Any

                                                +
                                                + +
                                                + +
                                                +
                                                +

                                                Ungrouped

                                                + +
                                                +
                                                + +
                                                + +
                                                + + + + + + diff --git a/manual1903/api_reference/components/scaladocs/ksb/csle/component/controller/ExternalAnalysisController.html b/manual1903/api_reference/components/scaladocs/ksb/csle/component/controller/ExternalAnalysisController.html new file mode 100644 index 0000000000000000000000000000000000000000..1ea728bcac0303e2a56b32282c126da6c16941da --- /dev/null +++ b/manual1903/api_reference/components/scaladocs/ksb/csle/component/controller/ExternalAnalysisController.html @@ -0,0 +1,849 @@ + + + + ExternalAnalysisController - KSB COMPONENTS Scala App Project 1.0-SNAPSHOT API - ksb.csle.component.controller.ExternalAnalysisController + + + + + + + + + + + + + + + +
                                                + Class +

                                                ksb.csle.component.controller

                                                +

                                                ExternalAnalysisController

                                                Related Doc: + package controller +

                                                + + Permalink + + +
                                                + +

                                                + + final + class + + + ExternalAnalysisController[T] extends BaseDoer with BaseController[T, Any] + +

                                                + +

                                                :: ApplicationDeveloperApi ::

                                                Controller that launches external system, tensorflow. +This controler run with TensorflowRunner on top of batch-style engine. +

                                                T

                                                Data type class

                                                + Linear Supertypes +
                                                BaseController[T, Any], BaseDoer, Logging, Serializable, Serializable, AnyRef, Any
                                                +
                                                + + +
                                                +
                                                +
                                                + Ordering +
                                                  + +
                                                1. Alphabetic
                                                2. +
                                                3. By Inheritance
                                                4. +
                                                +
                                                +
                                                + Inherited
                                                +
                                                +
                                                  +
                                                1. ExternalAnalysisController
                                                2. BaseController
                                                3. BaseDoer
                                                4. Logging
                                                5. Serializable
                                                6. Serializable
                                                7. AnyRef
                                                8. Any
                                                9. +
                                                +
                                                + +
                                                  +
                                                1. Hide All
                                                2. +
                                                3. Show All
                                                4. +
                                                +
                                                +
                                                + Visibility +
                                                1. Public
                                                2. All
                                                +
                                                +
                                                + +
                                                +
                                                +
                                                +

                                                Instance Constructors

                                                +
                                                1. + + +

                                                  + + + new + + + ExternalAnalysisController(runner: TensorflowRunner[BatchRunnerInfo], i: FileReader, o: FileWriter, p: BatchControllerInfo, ops: List[DLTrainOperator]) + +

                                                  + + Permalink + + +

                                                  runner

                                                  TensorflowRunner object that calls process to launch tensorflow.

                                                  i

                                                  FileReader object that carries input file path, + which will be passed as an argument, '--input' to tensorflow.

                                                  o

                                                  FileWriter object that carries output file path, + which will be passed as '--output' argument to tensorflow.

                                                  p

                                                  Message object that has one of messages object containing + attributes related to controlling process pipelining.

                                                  ops

                                                  a list of DLTrainingOperators which carries path for model file. + This path will be passed as '--model' argument to tensorflow.

                                                  +
                                                +
                                                + + + + + +
                                                +

                                                Value Members

                                                +
                                                1. + + +

                                                  + + final + def + + + !=(arg0: Any): Boolean + +

                                                  + + Permalink + + +
                                                  Definition Classes
                                                  AnyRef → Any
                                                  +
                                                2. + + +

                                                  + + final + def + + + ##(): Int + +

                                                  + + Permalink + + +
                                                  Definition Classes
                                                  AnyRef → Any
                                                  +
                                                3. + + +

                                                  + + final + def + + + ==(arg0: Any): Boolean + +

                                                  + + Permalink + + +
                                                  Definition Classes
                                                  AnyRef → Any
                                                  +
                                                4. + + +

                                                  + + final + def + + + asInstanceOf[T0]: T0 + +

                                                  + + Permalink + + +
                                                  Definition Classes
                                                  Any
                                                  +
                                                5. + + +

                                                  + + + val + + + basePath: String + +

                                                  + + Permalink + + + +
                                                6. + + +

                                                  + + + val + + + basePathTmp: String + +

                                                  + + Permalink + + + +
                                                7. + + +

                                                  + + + var + + + baseUrl: String + +

                                                  + + Permalink + + + +
                                                8. + + +

                                                  + + + def + + + clone(): AnyRef + +

                                                  + + Permalink + + +
                                                  Attributes
                                                  protected[java.lang]
                                                  Definition Classes
                                                  AnyRef
                                                  Annotations
                                                  + @throws( + + ... + ) + +
                                                  +
                                                9. + + +

                                                  + + final + def + + + eq(arg0: AnyRef): Boolean + +

                                                  + + Permalink + + +
                                                  Definition Classes
                                                  AnyRef
                                                  +
                                                10. + + +

                                                  + + + def + + + equals(arg0: Any): Boolean + +

                                                  + + Permalink + + +
                                                  Definition Classes
                                                  AnyRef → Any
                                                  +
                                                11. + + +

                                                  + + + def + + + finalize(): Unit + +

                                                  + + Permalink + + +
                                                  Attributes
                                                  protected[java.lang]
                                                  Definition Classes
                                                  AnyRef
                                                  Annotations
                                                  + @throws( + + classOf[java.lang.Throwable] + ) + +
                                                  +
                                                12. + + +

                                                  + + final + def + + + getClass(): Class[_] + +

                                                  + + Permalink + + +
                                                  Definition Classes
                                                  AnyRef → Any
                                                  +
                                                13. + + +

                                                  + + + def + + + hashCode(): Int + +

                                                  + + Permalink + + +
                                                  Definition Classes
                                                  AnyRef → Any
                                                  +
                                                14. + + +

                                                  + + + val + + + i: FileReader + +

                                                  + + Permalink + + +

                                                  FileReader object that carries input file path, + which will be passed as an argument, '--input' to tensorflow.

                                                  +
                                                15. + + +

                                                  + + + def + + + init(): Any + +

                                                  + + Permalink + + +
                                                  Definition Classes
                                                  BaseController
                                                  Annotations
                                                  + @DeveloperApi() + +
                                                  +
                                                16. + + +

                                                  + + + val + + + input_path: String + +

                                                  + + Permalink + + + +
                                                17. + + +

                                                  + + final + def + + + isInstanceOf[T0]: Boolean + +

                                                  + + Permalink + + +
                                                  Definition Classes
                                                  Any
                                                  +
                                                18. + + +

                                                  + + + val + + + logger: Logger + +

                                                  + + Permalink + + +
                                                  Attributes
                                                  protected
                                                  Definition Classes
                                                  Logging
                                                  +
                                                19. + + +

                                                  + + + val + + + model: String + +

                                                  + + Permalink + + + +
                                                20. + + +

                                                  + + final + def + + + ne(arg0: AnyRef): Boolean + +

                                                  + + Permalink + + +
                                                  Definition Classes
                                                  AnyRef
                                                  +
                                                21. + + +

                                                  + + final + def + + + notify(): Unit + +

                                                  + + Permalink + + +
                                                  Definition Classes
                                                  AnyRef
                                                  +
                                                22. + + +

                                                  + + final + def + + + notifyAll(): Unit + +

                                                  + + Permalink + + +
                                                  Definition Classes
                                                  AnyRef
                                                  +
                                                23. + + +

                                                  + + + val + + + o: FileWriter + +

                                                  + + Permalink + + +

                                                  FileWriter object that carries output file path, + which will be passed as '--output' argument to tensorflow.

                                                  +
                                                24. + + +

                                                  + + + val + + + ops: List[DLTrainOperator] + +

                                                  + + Permalink + + +

                                                  a list of DLTrainingOperators which carries path for model file.

                                                  a list of DLTrainingOperators which carries path for model file. + This path will be passed as '--model' argument to tensorflow.

                                                  +
                                                25. + + +

                                                  + + + val + + + outputPath: String + +

                                                  + + Permalink + + + +
                                                26. + + +

                                                  + + + val + + + output_Path: String + +

                                                  + + Permalink + + + +
                                                27. + + +

                                                  + + + val + + + p: BatchControllerInfo + +

                                                  + + Permalink + + +

                                                  Message object that has one of messages object containing + attributes related to controlling process pipelining.

                                                  +
                                                28. + + +

                                                  + + + val + + + params: String + +

                                                  + + Permalink + + + +
                                                29. + + +

                                                  + + + def + + + progress(): Any + +

                                                  + + Permalink + + +

                                                  Progress job by calling tensorflow python application.

                                                  Progress job by calling tensorflow python application. +

                                                  Definition Classes
                                                  ExternalAnalysisController → BaseController
                                                  +
                                                30. + + +

                                                  + + + val + + + runner: TensorflowRunner[BatchRunnerInfo] + +

                                                  + + Permalink + + +

                                                  TensorflowRunner object that calls process to launch tensorflow.

                                                  +
                                                31. + + +

                                                  + + + val + + + ssIn: SparkSession + +

                                                  + + Permalink + + + +
                                                32. + + +

                                                  + + + val + + + ssOut: SparkSession + +

                                                  + + Permalink + + + +
                                                33. + + +

                                                  + + + def + + + stop(): Unit + +

                                                  + + Permalink + + +
                                                  Definition Classes
                                                  ExternalAnalysisController → BaseController
                                                  +
                                                34. + + +

                                                  + + final + def + + + synchronized[T0](arg0: ⇒ T0): T0 + +

                                                  + + Permalink + + +
                                                  Definition Classes
                                                  AnyRef
                                                  +
                                                35. + + +

                                                  + + + def + + + toString(): String + +

                                                  + + Permalink + + +
                                                  Definition Classes
                                                  AnyRef → Any
                                                  +
                                                36. + + +

                                                  + + final + def + + + wait(): Unit + +

                                                  + + Permalink + + +
                                                  Definition Classes
                                                  AnyRef
                                                  Annotations
                                                  + @throws( + + ... + ) + +
                                                  +
                                                37. + + +

                                                  + + final + def + + + wait(arg0: Long, arg1: Int): Unit + +

                                                  + + Permalink + + +
                                                  Definition Classes
                                                  AnyRef
                                                  Annotations
                                                  + @throws( + + ... + ) + +
                                                  +
                                                38. + + +

                                                  + + final + def + + + wait(arg0: Long): Unit + +

                                                  + + Permalink + + +
                                                  Definition Classes
                                                  AnyRef
                                                  Annotations
                                                  + @throws( + + ... + ) + +
                                                  +
                                                +
                                                + + + + +
                                                + +
                                                +
                                                +

                                                Inherited from BaseController[T, Any]

                                                +
                                                +

                                                Inherited from BaseDoer

                                                +
                                                +

                                                Inherited from Logging

                                                +
                                                +

                                                Inherited from Serializable

                                                +
                                                +

                                                Inherited from Serializable

                                                +
                                                +

                                                Inherited from AnyRef

                                                +
                                                +

                                                Inherited from Any

                                                +
                                                + +
                                                + +
                                                +
                                                +

                                                Ungrouped

                                                + +
                                                +
                                                + +
                                                + +
                                                + + + + + + diff --git a/manual1903/api_reference/components/scaladocs/ksb/csle/component/controller/KBEServingController.html b/manual1903/api_reference/components/scaladocs/ksb/csle/component/controller/KBEServingController.html new file mode 100644 index 0000000000000000000000000000000000000000..0c4294d999e814fd9811606976a0f813f710a5a7 --- /dev/null +++ b/manual1903/api_reference/components/scaladocs/ksb/csle/component/controller/KBEServingController.html @@ -0,0 +1,676 @@ + + + + KBEServingController - KSB COMPONENTS Scala App Project 1.0-SNAPSHOT API - ksb.csle.component.controller.KBEServingController + + + + + + + + + + + + + + + +
                                                + Class +

                                                ksb.csle.component.controller

                                                +

                                                KBEServingController

                                                Related Doc: + package controller +

                                                + + Permalink + + +
                                                + +

                                                + + final + class + + + KBEServingController[T, R] extends BaseOnDemandServingController[T, OnDemandControllerInfo, R] + +

                                                + +

                                                :: ApplicationDeveloperApi ::

                                                Controller that pipelines data from operator to operators. +This controll is triggered when query has been arrived +and pipelines a series of subsequent operators. +

                                                + Linear Supertypes +
                                                BaseOnDemandServingController[T, OnDemandControllerInfo, R], BaseController[T, BaseResult], BaseDoer, Logging, Serializable, Serializable, AnyRef, Any
                                                +
                                                + + +
                                                +
                                                +
                                                + Ordering +
                                                  + +
                                                1. Alphabetic
                                                2. +
                                                3. By Inheritance
                                                4. +
                                                +
                                                +
                                                + Inherited
                                                +
                                                +
                                                  +
                                                1. KBEServingController
                                                2. BaseOnDemandServingController
                                                3. BaseController
                                                4. BaseDoer
                                                5. Logging
                                                6. Serializable
                                                7. Serializable
                                                8. AnyRef
                                                9. Any
                                                10. +
                                                +
                                                + +
                                                  +
                                                1. Hide All
                                                2. +
                                                3. Show All
                                                4. +
                                                +
                                                +
                                                + Visibility +
                                                1. Public
                                                2. All
                                                +
                                                +
                                                + +
                                                +
                                                +
                                                +

                                                Instance Constructors

                                                +
                                                1. + + +

                                                  + + + new + + + KBEServingController(runner: BaseRunner[_, _, _], p: OnDemandControllerInfo, ops: List[BaseGenericMutantOperator[_, R, R]]) + +

                                                  + + Permalink + + +

                                                  runner

                                                  Runner object that is executed when engine starts.

                                                  p

                                                  Message object that has on of on-demand style message object.

                                                  ops

                                                  a list of BaseGenericMutantOperator objects.

                                                  +
                                                +
                                                + + + + + +
                                                +

                                                Value Members

                                                +
                                                1. + + +

                                                  + + final + def + + + !=(arg0: Any): Boolean + +

                                                  + + Permalink + + +
                                                  Definition Classes
                                                  AnyRef → Any
                                                  +
                                                2. + + +

                                                  + + final + def + + + ##(): Int + +

                                                  + + Permalink + + +
                                                  Definition Classes
                                                  AnyRef → Any
                                                  +
                                                3. + + +

                                                  + + final + def + + + ==(arg0: Any): Boolean + +

                                                  + + Permalink + + +
                                                  Definition Classes
                                                  AnyRef → Any
                                                  +
                                                4. + + +

                                                  + + final + def + + + asInstanceOf[T0]: T0 + +

                                                  + + Permalink + + +
                                                  Definition Classes
                                                  Any
                                                  +
                                                5. + + +

                                                  + + + def + + + clone(): AnyRef + +

                                                  + + Permalink + + +
                                                  Attributes
                                                  protected[java.lang]
                                                  Definition Classes
                                                  AnyRef
                                                  Annotations
                                                  + @throws( + + ... + ) + +
                                                  +
                                                6. + + +

                                                  + + final + def + + + eq(arg0: AnyRef): Boolean + +

                                                  + + Permalink + + +
                                                  Definition Classes
                                                  AnyRef
                                                  +
                                                7. + + +

                                                  + + + def + + + equals(arg0: Any): Boolean + +

                                                  + + Permalink + + +
                                                  Definition Classes
                                                  AnyRef → Any
                                                  +
                                                8. + + +

                                                  + + + def + + + finalize(): Unit + +

                                                  + + Permalink + + +
                                                  Attributes
                                                  protected[java.lang]
                                                  Definition Classes
                                                  AnyRef
                                                  Annotations
                                                  + @throws( + + classOf[java.lang.Throwable] + ) + +
                                                  +
                                                9. + + +

                                                  + + final + def + + + getClass(): Class[_] + +

                                                  + + Permalink + + +
                                                  Definition Classes
                                                  AnyRef → Any
                                                  +
                                                10. + + +

                                                  + + + def + + + hashCode(): Int + +

                                                  + + Permalink + + +
                                                  Definition Classes
                                                  AnyRef → Any
                                                  +
                                                11. + + +

                                                  + + + def + + + init(): Any + +

                                                  + + Permalink + + +
                                                  Definition Classes
                                                  BaseController
                                                  Annotations
                                                  + @DeveloperApi() + +
                                                  +
                                                12. + + +

                                                  + + final + def + + + isInstanceOf[T0]: Boolean + +

                                                  + + Permalink + + +
                                                  Definition Classes
                                                  Any
                                                  +
                                                13. + + +

                                                  + + + val + + + logger: Logger + +

                                                  + + Permalink + + +
                                                  Attributes
                                                  protected
                                                  Definition Classes
                                                  Logging
                                                  +
                                                14. + + +

                                                  + + final + def + + + ne(arg0: AnyRef): Boolean + +

                                                  + + Permalink + + +
                                                  Definition Classes
                                                  AnyRef
                                                  +
                                                15. + + +

                                                  + + final + def + + + notify(): Unit + +

                                                  + + Permalink + + +
                                                  Definition Classes
                                                  AnyRef
                                                  +
                                                16. + + +

                                                  + + final + def + + + notifyAll(): Unit + +

                                                  + + Permalink + + +
                                                  Definition Classes
                                                  AnyRef
                                                  +
                                                17. + + +

                                                  + + + val + + + ops: List[BaseGenericMutantOperator[_, R, R]] + +

                                                  + + Permalink + + +

                                                  a list of BaseGenericMutantOperator objects.

                                                  a list of BaseGenericMutantOperator objects.

                                                  Definition Classes
                                                  KBEServingController → BaseOnDemandServingController
                                                  +
                                                18. + + +

                                                  + + + val + + + p: OnDemandControllerInfo + +

                                                  + + Permalink + + +

                                                  Message object that has on of on-demand style message object.

                                                  Message object that has on of on-demand style message object.

                                                  Definition Classes
                                                  KBEServingController → BaseOnDemandServingController
                                                  +
                                                19. + + +

                                                  + + final + def + + + pipeOperators(runner: BaseRunner[_, _, _], ops: Seq[BaseGenericMutantOperator[_, R, R]], r: R): R + +

                                                  + + Permalink + + +
                                                  Attributes
                                                  protected
                                                  Definition Classes
                                                  BaseOnDemandServingController
                                                  Annotations
                                                  + @tailrec() + +
                                                  +
                                                20. + + +

                                                  + + + def + + + progress(): BaseResult + +

                                                  + + Permalink + + +
                                                  Definition Classes
                                                  BaseOnDemandServingController → BaseController
                                                  +
                                                21. + + +

                                                  + + + val + + + runner: BaseRunner[_, _, _] + +

                                                  + + Permalink + + +

                                                  Runner object that is executed when engine starts.

                                                  Runner object that is executed when engine starts.

                                                  Definition Classes
                                                  KBEServingController → BaseOnDemandServingController
                                                  +
                                                22. + + +

                                                  + + + def + + + serve(): BaseResult + +

                                                  + + Permalink + + +
                                                  Definition Classes
                                                  KBEServingController → BaseOnDemandServingController
                                                  +
                                                23. + + +

                                                  + + + def + + + stop(): Any + +

                                                  + + Permalink + + +
                                                  Definition Classes
                                                  KBEServingController → BaseOnDemandServingController → BaseController
                                                  +
                                                24. + + +

                                                  + + final + def + + + synchronized[T0](arg0: ⇒ T0): T0 + +

                                                  + + Permalink + + +
                                                  Definition Classes
                                                  AnyRef
                                                  +
                                                25. + + +

                                                  + + + def + + + toString(): String + +

                                                  + + Permalink + + +
                                                  Definition Classes
                                                  AnyRef → Any
                                                  +
                                                26. + + +

                                                  + + final + def + + + wait(): Unit + +

                                                  + + Permalink + + +
                                                  Definition Classes
                                                  AnyRef
                                                  Annotations
                                                  + @throws( + + ... + ) + +
                                                  +
                                                27. + + +

                                                  + + final + def + + + wait(arg0: Long, arg1: Int): Unit + +

                                                  + + Permalink + + +
                                                  Definition Classes
                                                  AnyRef
                                                  Annotations
                                                  + @throws( + + ... + ) + +
                                                  +
                                                28. + + +

                                                  + + final + def + + + wait(arg0: Long): Unit + +

                                                  + + Permalink + + +
                                                  Definition Classes
                                                  AnyRef
                                                  Annotations
                                                  + @throws( + + ... + ) + +
                                                  +
                                                +
                                                + + + + +
                                                + +
                                                +
                                                +

                                                Inherited from BaseOnDemandServingController[T, OnDemandControllerInfo, R]

                                                +
                                                +

                                                Inherited from BaseController[T, BaseResult]

                                                +
                                                +

                                                Inherited from BaseDoer

                                                +
                                                +

                                                Inherited from Logging

                                                +
                                                +

                                                Inherited from Serializable

                                                +
                                                +

                                                Inherited from Serializable

                                                +
                                                +

                                                Inherited from AnyRef

                                                +
                                                +

                                                Inherited from Any

                                                +
                                                + +
                                                + +
                                                +
                                                +

                                                Ungrouped

                                                + +
                                                +
                                                + +
                                                + +
                                                + + + + + + diff --git a/manual1903/api_reference/components/scaladocs/ksb/csle/component/controller/ServingWithKbController.html b/manual1903/api_reference/components/scaladocs/ksb/csle/component/controller/ServingWithKbController.html new file mode 100644 index 0000000000000000000000000000000000000000..f2be1ee4bda086bb52a608f8dbb8beca587f58da --- /dev/null +++ b/manual1903/api_reference/components/scaladocs/ksb/csle/component/controller/ServingWithKbController.html @@ -0,0 +1,677 @@ + + + + ServingWithKbController - KSB COMPONENTS Scala App Project 1.0-SNAPSHOT API - ksb.csle.component.controller.ServingWithKbController + + + + + + + + + + + + + + + +
                                                + Class +

                                                ksb.csle.component.controller

                                                +

                                                ServingWithKbController

                                                Related Doc: + package controller +

                                                + + Permalink + + +
                                                + +

                                                + + + class + + + ServingWithKbController[T, R, SI, SO] extends BaseOnDemandStreamServingController[T, OnDemandControllerInfo, R, SI, SO] + +

                                                + +

                                                :: ApplicationDeveloperApi ::

                                                Controller that pipelines data from reader to operators when a query arrives. +And responses pipelined result to the query submitter. +

                                                + Linear Supertypes +
                                                BaseOnDemandStreamServingController[T, OnDemandControllerInfo, R, SI, SO], BaseController[T, BaseResult], BaseDoer, Logging, Serializable, Serializable, AnyRef, Any
                                                +
                                                + + +
                                                +
                                                +
                                                + Ordering +
                                                  + +
                                                1. Alphabetic
                                                2. +
                                                3. By Inheritance
                                                4. +
                                                +
                                                +
                                                + Inherited
                                                +
                                                +
                                                  +
                                                1. ServingWithKbController
                                                2. BaseOnDemandStreamServingController
                                                3. BaseController
                                                4. BaseDoer
                                                5. Logging
                                                6. Serializable
                                                7. Serializable
                                                8. AnyRef
                                                9. Any
                                                10. +
                                                +
                                                + +
                                                  +
                                                1. Hide All
                                                2. +
                                                3. Show All
                                                4. +
                                                +
                                                +
                                                + Visibility +
                                                1. Public
                                                2. All
                                                +
                                                +
                                                + +
                                                +
                                                +
                                                +

                                                Instance Constructors

                                                +
                                                1. + + +

                                                  + + + new + + + ServingWithKbController(runner: BaseRunner[_, _, _], i: List[BaseReader[T, _, SI]], p: OnDemandControllerInfo, ops: List[BaseGenericMutantOperator[_, Option[String], _]]) + +

                                                  + + Permalink + + +

                                                  runner

                                                  Runner object that is executed when engine starts. + Restful server usually work with ServingWithKbController.

                                                  i

                                                  A List of reader objects that carries input file path.

                                                  p

                                                  Message object that has one of messages object containing + attributes related to controlling process pipelining.

                                                  ops

                                                  a list of BaseGenericMutantOperator objects that passes string object.

                                                  +
                                                +
                                                + + + + + +
                                                +

                                                Value Members

                                                +
                                                1. + + +

                                                  + + final + def + + + !=(arg0: Any): Boolean + +

                                                  + + Permalink + + +
                                                  Definition Classes
                                                  AnyRef → Any
                                                  +
                                                2. + + +

                                                  + + final + def + + + ##(): Int + +

                                                  + + Permalink + + +
                                                  Definition Classes
                                                  AnyRef → Any
                                                  +
                                                3. + + +

                                                  + + final + def + + + ==(arg0: Any): Boolean + +

                                                  + + Permalink + + +
                                                  Definition Classes
                                                  AnyRef → Any
                                                  +
                                                4. + + +

                                                  + + final + def + + + asInstanceOf[T0]: T0 + +

                                                  + + Permalink + + +
                                                  Definition Classes
                                                  Any
                                                  +
                                                5. + + +

                                                  + + + def + + + clone(): AnyRef + +

                                                  + + Permalink + + +
                                                  Attributes
                                                  protected[java.lang]
                                                  Definition Classes
                                                  AnyRef
                                                  Annotations
                                                  + @throws( + + ... + ) + +
                                                  +
                                                6. + + +

                                                  + + final + def + + + eq(arg0: AnyRef): Boolean + +

                                                  + + Permalink + + +
                                                  Definition Classes
                                                  AnyRef
                                                  +
                                                7. + + +

                                                  + + + def + + + equals(arg0: Any): Boolean + +

                                                  + + Permalink + + +
                                                  Definition Classes
                                                  AnyRef → Any
                                                  +
                                                8. + + +

                                                  + + + def + + + finalize(): Unit + +

                                                  + + Permalink + + +
                                                  Attributes
                                                  protected[java.lang]
                                                  Definition Classes
                                                  AnyRef
                                                  Annotations
                                                  + @throws( + + classOf[java.lang.Throwable] + ) + +
                                                  +
                                                9. + + +

                                                  + + final + def + + + getClass(): Class[_] + +

                                                  + + Permalink + + +
                                                  Definition Classes
                                                  AnyRef → Any
                                                  +
                                                10. + + +

                                                  + + + def + + + hashCode(): Int + +

                                                  + + Permalink + + +
                                                  Definition Classes
                                                  AnyRef → Any
                                                  +
                                                11. + + +

                                                  + + + val + + + i: List[BaseReader[T, _, SI]] + +

                                                  + + Permalink + + +

                                                  A List of reader objects that carries input file path.

                                                  A List of reader objects that carries input file path.

                                                  Definition Classes
                                                  ServingWithKbController → BaseOnDemandStreamServingController
                                                  +
                                                12. + + +

                                                  + + + def + + + init(): Any + +

                                                  + + Permalink + + +
                                                  Definition Classes
                                                  BaseController
                                                  Annotations
                                                  + @DeveloperApi() + +
                                                  +
                                                13. + + +

                                                  + + final + def + + + isInstanceOf[T0]: Boolean + +

                                                  + + Permalink + + +
                                                  Definition Classes
                                                  Any
                                                  +
                                                14. + + +

                                                  + + + val + + + logger: Logger + +

                                                  + + Permalink + + +
                                                  Attributes
                                                  protected
                                                  Definition Classes
                                                  Logging
                                                  +
                                                15. + + +

                                                  + + final + def + + + ne(arg0: AnyRef): Boolean + +

                                                  + + Permalink + + +
                                                  Definition Classes
                                                  AnyRef
                                                  +
                                                16. + + +

                                                  + + final + def + + + notify(): Unit + +

                                                  + + Permalink + + +
                                                  Definition Classes
                                                  AnyRef
                                                  +
                                                17. + + +

                                                  + + final + def + + + notifyAll(): Unit + +

                                                  + + Permalink + + +
                                                  Definition Classes
                                                  AnyRef
                                                  +
                                                18. + + +

                                                  + + + val + + + ops: List[BaseGenericMutantOperator[_, Option[String], _]] + +

                                                  + + Permalink + + +

                                                  a list of BaseGenericMutantOperator objects that passes string object.

                                                  a list of BaseGenericMutantOperator objects that passes string object.

                                                  Definition Classes
                                                  ServingWithKbController → BaseOnDemandStreamServingController
                                                  +
                                                19. + + +

                                                  + + + val + + + p: OnDemandControllerInfo + +

                                                  + + Permalink + + +

                                                  Message object that has one of messages object containing + attributes related to controlling process pipelining.

                                                  Message object that has one of messages object containing + attributes related to controlling process pipelining.

                                                  Definition Classes
                                                  ServingWithKbController → BaseOnDemandStreamServingController
                                                  +
                                                20. + + +

                                                  + + + def + + + progress(): BaseResult + +

                                                  + + Permalink + + +
                                                  Definition Classes
                                                  BaseOnDemandStreamServingController → BaseController
                                                  +
                                                21. + + +

                                                  + + + val + + + runner: BaseRunner[_, _, _] + +

                                                  + + Permalink + + +

                                                  Runner object that is executed when engine starts.

                                                  Runner object that is executed when engine starts. + Restful server usually work with ServingWithKbController.

                                                  Definition Classes
                                                  ServingWithKbController → BaseOnDemandStreamServingController
                                                  +
                                                22. + + +

                                                  + + + def + + + serve(): BaseResult + +

                                                  + + Permalink + + +
                                                  Definition Classes
                                                  ServingWithKbController → BaseOnDemandStreamServingController
                                                  +
                                                23. + + +

                                                  + + + def + + + stop(): Any + +

                                                  + + Permalink + + +
                                                  Definition Classes
                                                  BaseOnDemandStreamServingController → BaseController
                                                  +
                                                24. + + +

                                                  + + final + def + + + synchronized[T0](arg0: ⇒ T0): T0 + +

                                                  + + Permalink + + +
                                                  Definition Classes
                                                  AnyRef
                                                  +
                                                25. + + +

                                                  + + + def + + + toString(): String + +

                                                  + + Permalink + + +
                                                  Definition Classes
                                                  AnyRef → Any
                                                  +
                                                26. + + +

                                                  + + final + def + + + wait(): Unit + +

                                                  + + Permalink + + +
                                                  Definition Classes
                                                  AnyRef
                                                  Annotations
                                                  + @throws( + + ... + ) + +
                                                  +
                                                27. + + +

                                                  + + final + def + + + wait(arg0: Long, arg1: Int): Unit + +

                                                  + + Permalink + + +
                                                  Definition Classes
                                                  AnyRef
                                                  Annotations
                                                  + @throws( + + ... + ) + +
                                                  +
                                                28. + + +

                                                  + + final + def + + + wait(arg0: Long): Unit + +

                                                  + + Permalink + + +
                                                  Definition Classes
                                                  AnyRef
                                                  Annotations
                                                  + @throws( + + ... + ) + +
                                                  +
                                                +
                                                + + + + +
                                                + +
                                                +
                                                +

                                                Inherited from BaseOnDemandStreamServingController[T, OnDemandControllerInfo, R, SI, SO]

                                                +
                                                +

                                                Inherited from BaseController[T, BaseResult]

                                                +
                                                +

                                                Inherited from BaseDoer

                                                +
                                                +

                                                Inherited from Logging

                                                +
                                                +

                                                Inherited from Serializable

                                                +
                                                +

                                                Inherited from Serializable

                                                +
                                                +

                                                Inherited from AnyRef

                                                +
                                                +

                                                Inherited from Any

                                                +
                                                + +
                                                + +
                                                +
                                                +

                                                Ungrouped

                                                + +
                                                +
                                                + +
                                                + +
                                                + + + + + + diff --git a/manual1903/api_reference/components/scaladocs/ksb/csle/component/controller/ServingWithKbControllerActor$.html b/manual1903/api_reference/components/scaladocs/ksb/csle/component/controller/ServingWithKbControllerActor$.html new file mode 100644 index 0000000000000000000000000000000000000000..ab77c3566acd5d600cc5d8ced45148278f43a31d --- /dev/null +++ b/manual1903/api_reference/components/scaladocs/ksb/csle/component/controller/ServingWithKbControllerActor$.html @@ -0,0 +1,501 @@ + + + + ServingWithKbControllerActor - KSB COMPONENTS Scala App Project 1.0-SNAPSHOT API - ksb.csle.component.controller.ServingWithKbControllerActor + + + + + + + + + + + + + + + +
                                                + Object +

                                                ksb.csle.component.controller

                                                +

                                                ServingWithKbControllerActor

                                                Related Doc: + package controller +

                                                + + Permalink + + +
                                                + +

                                                + + + object + + + ServingWithKbControllerActor extends Logging + +

                                                + +
                                                + Linear Supertypes +
                                                Logging, AnyRef, Any
                                                +
                                                + + +
                                                +
                                                +
                                                + Ordering +
                                                  + +
                                                1. Alphabetic
                                                2. +
                                                3. By Inheritance
                                                4. +
                                                +
                                                +
                                                + Inherited
                                                +
                                                +
                                                  +
                                                1. ServingWithKbControllerActor
                                                2. Logging
                                                3. AnyRef
                                                4. Any
                                                5. +
                                                +
                                                + +
                                                  +
                                                1. Hide All
                                                2. +
                                                3. Show All
                                                4. +
                                                +
                                                +
                                                + Visibility +
                                                1. Public
                                                2. All
                                                +
                                                +
                                                + +
                                                +
                                                + + + + + + +
                                                +

                                                Value Members

                                                +
                                                1. + + +

                                                  + + final + def + + + !=(arg0: Any): Boolean + +

                                                  + + Permalink + + +
                                                  Definition Classes
                                                  AnyRef → Any
                                                  +
                                                2. + + +

                                                  + + final + def + + + ##(): Int + +

                                                  + + Permalink + + +
                                                  Definition Classes
                                                  AnyRef → Any
                                                  +
                                                3. + + +

                                                  + + final + def + + + ==(arg0: Any): Boolean + +

                                                  + + Permalink + + +
                                                  Definition Classes
                                                  AnyRef → Any
                                                  +
                                                4. + + +

                                                  + + final + def + + + asInstanceOf[T0]: T0 + +

                                                  + + Permalink + + +
                                                  Definition Classes
                                                  Any
                                                  +
                                                5. + + +

                                                  + + + def + + + clone(): AnyRef + +

                                                  + + Permalink + + +
                                                  Attributes
                                                  protected[java.lang]
                                                  Definition Classes
                                                  AnyRef
                                                  Annotations
                                                  + @throws( + + ... + ) + +
                                                  +
                                                6. + + +

                                                  + + final + def + + + eq(arg0: AnyRef): Boolean + +

                                                  + + Permalink + + +
                                                  Definition Classes
                                                  AnyRef
                                                  +
                                                7. + + +

                                                  + + + def + + + equals(arg0: Any): Boolean + +

                                                  + + Permalink + + +
                                                  Definition Classes
                                                  AnyRef → Any
                                                  +
                                                8. + + +

                                                  + + + def + + + finalize(): Unit + +

                                                  + + Permalink + + +
                                                  Attributes
                                                  protected[java.lang]
                                                  Definition Classes
                                                  AnyRef
                                                  Annotations
                                                  + @throws( + + classOf[java.lang.Throwable] + ) + +
                                                  +
                                                9. + + +

                                                  + + final + def + + + getClass(): Class[_] + +

                                                  + + Permalink + + +
                                                  Definition Classes
                                                  AnyRef → Any
                                                  +
                                                10. + + +

                                                  + + + def + + + hashCode(): Int + +

                                                  + + Permalink + + +
                                                  Definition Classes
                                                  AnyRef → Any
                                                  +
                                                11. + + +

                                                  + + final + def + + + isInstanceOf[T0]: Boolean + +

                                                  + + Permalink + + +
                                                  Definition Classes
                                                  Any
                                                  +
                                                12. + + +

                                                  + + + val + + + logger: Logger + +

                                                  + + Permalink + + +
                                                  Attributes
                                                  protected
                                                  Definition Classes
                                                  Logging
                                                  +
                                                13. + + +

                                                  + + final + def + + + ne(arg0: AnyRef): Boolean + +

                                                  + + Permalink + + +
                                                  Definition Classes
                                                  AnyRef
                                                  +
                                                14. + + +

                                                  + + final + def + + + notify(): Unit + +

                                                  + + Permalink + + +
                                                  Definition Classes
                                                  AnyRef
                                                  +
                                                15. + + +

                                                  + + final + def + + + notifyAll(): Unit + +

                                                  + + Permalink + + +
                                                  Definition Classes
                                                  AnyRef
                                                  +
                                                16. + + +

                                                  + + final + def + + + synchronized[T0](arg0: ⇒ T0): T0 + +

                                                  + + Permalink + + +
                                                  Definition Classes
                                                  AnyRef
                                                  +
                                                17. + + +

                                                  + + + def + + + toString(): String + +

                                                  + + Permalink + + +
                                                  Definition Classes
                                                  AnyRef → Any
                                                  +
                                                18. + + +

                                                  + + final + def + + + wait(): Unit + +

                                                  + + Permalink + + +
                                                  Definition Classes
                                                  AnyRef
                                                  Annotations
                                                  + @throws( + + ... + ) + +
                                                  +
                                                19. + + +

                                                  + + final + def + + + wait(arg0: Long, arg1: Int): Unit + +

                                                  + + Permalink + + +
                                                  Definition Classes
                                                  AnyRef
                                                  Annotations
                                                  + @throws( + + ... + ) + +
                                                  +
                                                20. + + +

                                                  + + final + def + + + wait(arg0: Long): Unit + +

                                                  + + Permalink + + +
                                                  Definition Classes
                                                  AnyRef
                                                  Annotations
                                                  + @throws( + + ... + ) + +
                                                  +
                                                +
                                                + + + + +
                                                + +
                                                +
                                                +

                                                Inherited from Logging

                                                +
                                                +

                                                Inherited from AnyRef

                                                +
                                                +

                                                Inherited from Any

                                                +
                                                + +
                                                + +
                                                +
                                                +

                                                Ungrouped

                                                + +
                                                +
                                                + +
                                                + +
                                                + + + + + + diff --git a/manual1903/api_reference/components/scaladocs/ksb/csle/component/controller/SparkSessionController.html b/manual1903/api_reference/components/scaladocs/ksb/csle/component/controller/SparkSessionController.html new file mode 100644 index 0000000000000000000000000000000000000000..89ea5912318cc8e721dc294b5bdce6588d105e3b --- /dev/null +++ b/manual1903/api_reference/components/scaladocs/ksb/csle/component/controller/SparkSessionController.html @@ -0,0 +1,788 @@ + + + + SparkSessionController - KSB COMPONENTS Scala App Project 1.0-SNAPSHOT API - ksb.csle.component.controller.SparkSessionController + + + + + + + + + + + + + + + +
                                                + Class +

                                                ksb.csle.component.controller

                                                +

                                                SparkSessionController

                                                Related Doc: + package controller +

                                                + + Permalink + + +
                                                + +

                                                + + + class + + + SparkSessionController[T, R] extends BaseGenericController[T, BatchControllerInfo, R, SparkSession, SparkSession] + +

                                                + +

                                                :: ApplicationDeveloperApi ::

                                                Controller that simply pipelines DataFrame from reader to writer +via a series of operators. This controller mostly run with batch-style engine. +

                                                T

                                                Data type class to be passes through data pipeline + from reader to operators

                                                R

                                                Data type for the final data format

                                                + Linear Supertypes +
                                                BaseGenericController[T, BatchControllerInfo, R, SparkSession, SparkSession], BaseController[T, BaseResult], BaseDoer, Logging, Serializable, Serializable, AnyRef, Any
                                                +
                                                + Known Subclasses + +
                                                + + +
                                                +
                                                +
                                                + Ordering +
                                                  + +
                                                1. Alphabetic
                                                2. +
                                                3. By Inheritance
                                                4. +
                                                +
                                                +
                                                + Inherited
                                                +
                                                +
                                                  +
                                                1. SparkSessionController
                                                2. BaseGenericController
                                                3. BaseController
                                                4. BaseDoer
                                                5. Logging
                                                6. Serializable
                                                7. Serializable
                                                8. AnyRef
                                                9. Any
                                                10. +
                                                +
                                                + +
                                                  +
                                                1. Hide All
                                                2. +
                                                3. Show All
                                                4. +
                                                +
                                                +
                                                + Visibility +
                                                1. Public
                                                2. All
                                                +
                                                +
                                                + +
                                                +
                                                +
                                                +

                                                Instance Constructors

                                                +
                                                1. + + +

                                                  + + + new + + + SparkSessionController(runner: BaseRunner[SparkSession, _, _], i: BaseReader[T, _, SparkSession], o: BaseWriter[R, _, SparkSession], p: BatchControllerInfo) + +

                                                  + + Permalink + + + +
                                                2. + + +

                                                  + + + new + + + SparkSessionController(runner: BaseRunner[SparkSession, _, _], i: BaseReader[T, _, SparkSession], o: BaseWriter[R, _, SparkSession], p: BatchControllerInfo, op: BaseGenericOperator[_, R]) + +

                                                  + + Permalink + + + +
                                                3. + + +

                                                  + + + new + + + SparkSessionController(runner: BaseRunner[SparkSession, _, _], i: BaseReader[T, _, SparkSession], o: BaseWriter[R, _, SparkSession], p: BatchControllerInfo, ops: List[BaseGenericOperator[_, R]]) + +

                                                  + + Permalink + + +

                                                  runner

                                                  Runner object that runs spark session

                                                  i

                                                  Reader object that reads data from data source

                                                  o

                                                  Writer object that writes pipelined data from operators

                                                  p

                                                  Message object that has one of messages object containing + attributes related to controlling process pipelining

                                                  ops

                                                  a list of BaseGenericOperator objects that processes data + one by one.

                                                  +
                                                +
                                                + + + + + +
                                                +

                                                Value Members

                                                +
                                                1. + + +

                                                  + + final + def + + + !=(arg0: Any): Boolean + +

                                                  + + Permalink + + +
                                                  Definition Classes
                                                  AnyRef → Any
                                                  +
                                                2. + + +

                                                  + + final + def + + + ##(): Int + +

                                                  + + Permalink + + +
                                                  Definition Classes
                                                  AnyRef → Any
                                                  +
                                                3. + + +

                                                  + + final + def + + + ==(arg0: Any): Boolean + +

                                                  + + Permalink + + +
                                                  Definition Classes
                                                  AnyRef → Any
                                                  +
                                                4. + + +

                                                  + + final + def + + + asInstanceOf[T0]: T0 + +

                                                  + + Permalink + + +
                                                  Definition Classes
                                                  Any
                                                  +
                                                5. + + +

                                                  + + + def + + + clone(): AnyRef + +

                                                  + + Permalink + + +
                                                  Attributes
                                                  protected[java.lang]
                                                  Definition Classes
                                                  AnyRef
                                                  Annotations
                                                  + @throws( + + ... + ) + +
                                                  +
                                                6. + + +

                                                  + + final + def + + + eq(arg0: AnyRef): Boolean + +

                                                  + + Permalink + + +
                                                  Definition Classes
                                                  AnyRef
                                                  +
                                                7. + + +

                                                  + + + def + + + equals(arg0: Any): Boolean + +

                                                  + + Permalink + + +
                                                  Definition Classes
                                                  AnyRef → Any
                                                  +
                                                8. + + +

                                                  + + + def + + + finalize(): Unit + +

                                                  + + Permalink + + +
                                                  Attributes
                                                  protected[java.lang]
                                                  Definition Classes
                                                  AnyRef
                                                  Annotations
                                                  + @throws( + + classOf[java.lang.Throwable] + ) + +
                                                  +
                                                9. + + +

                                                  + + final + def + + + getClass(): Class[_] + +

                                                  + + Permalink + + +
                                                  Definition Classes
                                                  AnyRef → Any
                                                  +
                                                10. + + +

                                                  + + + def + + + hashCode(): Int + +

                                                  + + Permalink + + +
                                                  Definition Classes
                                                  AnyRef → Any
                                                  +
                                                11. + + +

                                                  + + + val + + + i: BaseReader[T, _, SparkSession] + +

                                                  + + Permalink + + +

                                                  Reader object that reads data from data source

                                                  Reader object that reads data from data source

                                                  Definition Classes
                                                  SparkSessionController → BaseGenericController
                                                  +
                                                12. + + +

                                                  + + + def + + + init(): Any + +

                                                  + + Permalink + + +
                                                  Definition Classes
                                                  BaseController
                                                  Annotations
                                                  + @DeveloperApi() + +
                                                  +
                                                13. + + +

                                                  + + final + def + + + isInstanceOf[T0]: Boolean + +

                                                  + + Permalink + + +
                                                  Definition Classes
                                                  Any
                                                  +
                                                14. + + +

                                                  + + + val + + + logger: Logger + +

                                                  + + Permalink + + +
                                                  Attributes
                                                  protected
                                                  Definition Classes
                                                  Logging
                                                  +
                                                15. + + +

                                                  + + final + def + + + ne(arg0: AnyRef): Boolean + +

                                                  + + Permalink + + +
                                                  Definition Classes
                                                  AnyRef
                                                  +
                                                16. + + +

                                                  + + final + def + + + notify(): Unit + +

                                                  + + Permalink + + +
                                                  Definition Classes
                                                  AnyRef
                                                  +
                                                17. + + +

                                                  + + final + def + + + notifyAll(): Unit + +

                                                  + + Permalink + + +
                                                  Definition Classes
                                                  AnyRef
                                                  +
                                                18. + + +

                                                  + + + val + + + o: BaseWriter[R, _, SparkSession] + +

                                                  + + Permalink + + +

                                                  Writer object that writes pipelined data from operators

                                                  Writer object that writes pipelined data from operators

                                                  Definition Classes
                                                  SparkSessionController → BaseGenericController
                                                  +
                                                19. + + +

                                                  + + + val + + + ops: List[BaseGenericOperator[_, R]] + +

                                                  + + Permalink + + +

                                                  a list of BaseGenericOperator objects that processes data + one by one.

                                                  a list of BaseGenericOperator objects that processes data + one by one.

                                                  Definition Classes
                                                  SparkSessionController → BaseGenericController
                                                  +
                                                20. + + +

                                                  + + + val + + + p: BatchControllerInfo + +

                                                  + + Permalink + + +

                                                  Message object that has one of messages object containing + attributes related to controlling process pipelining

                                                  Message object that has one of messages object containing + attributes related to controlling process pipelining

                                                  Definition Classes
                                                  SparkSessionController → BaseGenericController
                                                  +
                                                21. + + +

                                                  + + final + def + + + pipeOperators(runner: BaseRunner[_, _, _], ops: List[BaseGenericOperator[_, R]], r: R): R + +

                                                  + + Permalink + + +
                                                  Attributes
                                                  protected
                                                  Definition Classes
                                                  BaseGenericController
                                                  Annotations
                                                  + @tailrec() + +
                                                  +
                                                22. + + +

                                                  + + + def + + + process(): BaseResult + +

                                                  + + Permalink + + +

                                                  Pipelines data from reader to writer via a series of operators.

                                                  Pipelines data from reader to writer via a series of operators. +

                                                  Definition Classes
                                                  SparkSessionController → BaseGenericController
                                                  +
                                                23. + + +

                                                  + + + def + + + progress(): BaseResult + +

                                                  + + Permalink + + +
                                                  Definition Classes
                                                  BaseGenericController → BaseController
                                                  +
                                                24. + + +

                                                  + + + val + + + runner: BaseRunner[SparkSession, _, _] + +

                                                  + + Permalink + + +

                                                  Runner object that runs spark session

                                                  Runner object that runs spark session

                                                  Definition Classes
                                                  SparkSessionController → BaseGenericController
                                                  +
                                                25. + + +

                                                  + + + val + + + sessionIn: SparkSession + +

                                                  + + Permalink + + + +
                                                26. + + +

                                                  + + + val + + + sessionOut: SparkSession + +

                                                  + + Permalink + + + +
                                                27. + + +

                                                  + + + def + + + stop(): Any + +

                                                  + + Permalink + + +
                                                  Definition Classes
                                                  SparkSessionController → BaseGenericController → BaseController
                                                  +
                                                28. + + +

                                                  + + final + def + + + synchronized[T0](arg0: ⇒ T0): T0 + +

                                                  + + Permalink + + +
                                                  Definition Classes
                                                  AnyRef
                                                  +
                                                29. + + +

                                                  + + + def + + + toString(): String + +

                                                  + + Permalink + + +
                                                  Definition Classes
                                                  AnyRef → Any
                                                  +
                                                30. + + +

                                                  + + final + def + + + wait(): Unit + +

                                                  + + Permalink + + +
                                                  Definition Classes
                                                  AnyRef
                                                  Annotations
                                                  + @throws( + + ... + ) + +
                                                  +
                                                31. + + +

                                                  + + final + def + + + wait(arg0: Long, arg1: Int): Unit + +

                                                  + + Permalink + + +
                                                  Definition Classes
                                                  AnyRef
                                                  Annotations
                                                  + @throws( + + ... + ) + +
                                                  +
                                                32. + + +

                                                  + + final + def + + + wait(arg0: Long): Unit + +

                                                  + + Permalink + + +
                                                  Definition Classes
                                                  AnyRef
                                                  Annotations
                                                  + @throws( + + ... + ) + +
                                                  +
                                                +
                                                + + + + +
                                                + +
                                                +
                                                +

                                                Inherited from BaseGenericController[T, BatchControllerInfo, R, SparkSession, SparkSession]

                                                +
                                                +

                                                Inherited from BaseController[T, BaseResult]

                                                +
                                                +

                                                Inherited from BaseDoer

                                                +
                                                +

                                                Inherited from Logging

                                                +
                                                +

                                                Inherited from Serializable

                                                +
                                                +

                                                Inherited from Serializable

                                                +
                                                +

                                                Inherited from AnyRef

                                                +
                                                +

                                                Inherited from Any

                                                +
                                                + +
                                                + +
                                                +
                                                +

                                                Ungrouped

                                                + +
                                                +
                                                + +
                                                + +
                                                + + + + + + diff --git a/manual1903/api_reference/components/scaladocs/ksb/csle/component/controller/SparkSessionOrStreamController.html b/manual1903/api_reference/components/scaladocs/ksb/csle/component/controller/SparkSessionOrStreamController.html new file mode 100644 index 0000000000000000000000000000000000000000..513da170f68454f35c3ae268eb15993b3e2e6814 --- /dev/null +++ b/manual1903/api_reference/components/scaladocs/ksb/csle/component/controller/SparkSessionOrStreamController.html @@ -0,0 +1,719 @@ + + + + SparkSessionOrStreamController - KSB COMPONENTS Scala App Project 1.0-SNAPSHOT API - ksb.csle.component.controller.SparkSessionOrStreamController + + + + + + + + + + + + + + + +
                                                + Class +

                                                ksb.csle.component.controller

                                                +

                                                SparkSessionOrStreamController

                                                Related Doc: + package controller +

                                                + + Permalink + + +
                                                + +

                                                + + final + class + + + SparkSessionOrStreamController[T, R, P, SI, SO] extends BaseGenericController[T, P, R, SI, SO] + +

                                                + +

                                                :: ApplicationDeveloperApi ::

                                                Controller that simply pipelines DataFrame from reader to writer +via a series of operators. +This controller can be run both on streaming engine and batch-style engine, +and work as batch and streaming processing controller. +

                                                T

                                                Data type class to be passes through data pipeline + from reader to operators

                                                R

                                                Data type for the final data format

                                                P

                                                Message type class

                                                SI

                                                Session type class for reader object

                                                SO

                                                Session type class for writer object

                                                + Linear Supertypes +
                                                BaseGenericController[T, P, R, SI, SO], BaseController[T, BaseResult], BaseDoer, Logging, Serializable, Serializable, AnyRef, Any
                                                +
                                                + + +
                                                +
                                                +
                                                + Ordering +
                                                  + +
                                                1. Alphabetic
                                                2. +
                                                3. By Inheritance
                                                4. +
                                                +
                                                +
                                                + Inherited
                                                +
                                                +
                                                  +
                                                1. SparkSessionOrStreamController
                                                2. BaseGenericController
                                                3. BaseController
                                                4. BaseDoer
                                                5. Logging
                                                6. Serializable
                                                7. Serializable
                                                8. AnyRef
                                                9. Any
                                                10. +
                                                +
                                                + +
                                                  +
                                                1. Hide All
                                                2. +
                                                3. Show All
                                                4. +
                                                +
                                                +
                                                + Visibility +
                                                1. Public
                                                2. All
                                                +
                                                +
                                                + +
                                                +
                                                +
                                                +

                                                Instance Constructors

                                                +
                                                1. + + +

                                                  + + + new + + + SparkSessionOrStreamController(runner: BaseRunner[SI, _, _], i: BaseReader[T, _, SI], o: BaseWriter[R, _, SO], p: P, ops: List[BaseGenericOperator[_, R]]) + +

                                                  + + Permalink + + +

                                                  runner

                                                  Runner object that runs spark session

                                                  i

                                                  Reader object that reads data from data source

                                                  o

                                                  Writer object that writes pipelined data from operators

                                                  p

                                                  Message object that has one of messages object containing + attributes related to controlling process pipelining

                                                  ops

                                                  a list of BaseGenericOperator objects that processes data + one by one.

                                                  +
                                                +
                                                + + + + + +
                                                +

                                                Value Members

                                                +
                                                1. + + +

                                                  + + final + def + + + !=(arg0: Any): Boolean + +

                                                  + + Permalink + + +
                                                  Definition Classes
                                                  AnyRef → Any
                                                  +
                                                2. + + +

                                                  + + final + def + + + ##(): Int + +

                                                  + + Permalink + + +
                                                  Definition Classes
                                                  AnyRef → Any
                                                  +
                                                3. + + +

                                                  + + final + def + + + ==(arg0: Any): Boolean + +

                                                  + + Permalink + + +
                                                  Definition Classes
                                                  AnyRef → Any
                                                  +
                                                4. + + +

                                                  + + final + def + + + asInstanceOf[T0]: T0 + +

                                                  + + Permalink + + +
                                                  Definition Classes
                                                  Any
                                                  +
                                                5. + + +

                                                  + + + def + + + clone(): AnyRef + +

                                                  + + Permalink + + +
                                                  Attributes
                                                  protected[java.lang]
                                                  Definition Classes
                                                  AnyRef
                                                  Annotations
                                                  + @throws( + + ... + ) + +
                                                  +
                                                6. + + +

                                                  + + final + def + + + eq(arg0: AnyRef): Boolean + +

                                                  + + Permalink + + +
                                                  Definition Classes
                                                  AnyRef
                                                  +
                                                7. + + +

                                                  + + + def + + + equals(arg0: Any): Boolean + +

                                                  + + Permalink + + +
                                                  Definition Classes
                                                  AnyRef → Any
                                                  +
                                                8. + + +

                                                  + + + def + + + finalize(): Unit + +

                                                  + + Permalink + + +
                                                  Attributes
                                                  protected[java.lang]
                                                  Definition Classes
                                                  AnyRef
                                                  Annotations
                                                  + @throws( + + classOf[java.lang.Throwable] + ) + +
                                                  +
                                                9. + + +

                                                  + + final + def + + + getClass(): Class[_] + +

                                                  + + Permalink + + +
                                                  Definition Classes
                                                  AnyRef → Any
                                                  +
                                                10. + + +

                                                  + + + def + + + hashCode(): Int + +

                                                  + + Permalink + + +
                                                  Definition Classes
                                                  AnyRef → Any
                                                  +
                                                11. + + +

                                                  + + + val + + + i: BaseReader[T, _, SI] + +

                                                  + + Permalink + + +

                                                  Reader object that reads data from data source

                                                  Reader object that reads data from data source

                                                  Definition Classes
                                                  SparkSessionOrStreamController → BaseGenericController
                                                  +
                                                12. + + +

                                                  + + + def + + + init(): Any + +

                                                  + + Permalink + + +
                                                  Definition Classes
                                                  BaseController
                                                  Annotations
                                                  + @DeveloperApi() + +
                                                  +
                                                13. + + +

                                                  + + final + def + + + isInstanceOf[T0]: Boolean + +

                                                  + + Permalink + + +
                                                  Definition Classes
                                                  Any
                                                  +
                                                14. + + +

                                                  + + + val + + + logger: Logger + +

                                                  + + Permalink + + +
                                                  Attributes
                                                  protected
                                                  Definition Classes
                                                  Logging
                                                  +
                                                15. + + +

                                                  + + final + def + + + ne(arg0: AnyRef): Boolean + +

                                                  + + Permalink + + +
                                                  Definition Classes
                                                  AnyRef
                                                  +
                                                16. + + +

                                                  + + final + def + + + notify(): Unit + +

                                                  + + Permalink + + +
                                                  Definition Classes
                                                  AnyRef
                                                  +
                                                17. + + +

                                                  + + final + def + + + notifyAll(): Unit + +

                                                  + + Permalink + + +
                                                  Definition Classes
                                                  AnyRef
                                                  +
                                                18. + + +

                                                  + + + val + + + o: BaseWriter[R, _, SO] + +

                                                  + + Permalink + + +

                                                  Writer object that writes pipelined data from operators

                                                  Writer object that writes pipelined data from operators

                                                  Definition Classes
                                                  SparkSessionOrStreamController → BaseGenericController
                                                  +
                                                19. + + +

                                                  + + + val + + + ops: List[BaseGenericOperator[_, R]] + +

                                                  + + Permalink + + +

                                                  a list of BaseGenericOperator objects that processes data + one by one.

                                                  a list of BaseGenericOperator objects that processes data + one by one.

                                                  Definition Classes
                                                  SparkSessionOrStreamController → BaseGenericController
                                                  +
                                                20. + + +

                                                  + + + val + + + p: P + +

                                                  + + Permalink + + +

                                                  Message object that has one of messages object containing + attributes related to controlling process pipelining

                                                  Message object that has one of messages object containing + attributes related to controlling process pipelining

                                                  Definition Classes
                                                  SparkSessionOrStreamController → BaseGenericController
                                                  +
                                                21. + + +

                                                  + + final + def + + + pipeOperators(runner: BaseRunner[_, _, _], ops: List[BaseGenericOperator[_, R]], r: R): R + +

                                                  + + Permalink + + +
                                                  Attributes
                                                  protected
                                                  Definition Classes
                                                  BaseGenericController
                                                  Annotations
                                                  + @tailrec() + +
                                                  +
                                                22. + + +

                                                  + + + def + + + process(): BaseResult + +

                                                  + + Permalink + + +

                                                  Pipelines data from reader to writer via a series of operators.

                                                  Pipelines data from reader to writer via a series of operators. +

                                                  Definition Classes
                                                  SparkSessionOrStreamController → BaseGenericController
                                                  +
                                                23. + + +

                                                  + + + def + + + progress(): BaseResult + +

                                                  + + Permalink + + +
                                                  Definition Classes
                                                  BaseGenericController → BaseController
                                                  +
                                                24. + + +

                                                  + + + val + + + runner: BaseRunner[SI, _, _] + +

                                                  + + Permalink + + +

                                                  Runner object that runs spark session

                                                  Runner object that runs spark session

                                                  Definition Classes
                                                  SparkSessionOrStreamController → BaseGenericController
                                                  +
                                                25. + + +

                                                  + + + def + + + stop(): Any + +

                                                  + + Permalink + + +
                                                  Definition Classes
                                                  SparkSessionOrStreamController → BaseGenericController → BaseController
                                                  +
                                                26. + + +

                                                  + + final + def + + + synchronized[T0](arg0: ⇒ T0): T0 + +

                                                  + + Permalink + + +
                                                  Definition Classes
                                                  AnyRef
                                                  +
                                                27. + + +

                                                  + + + def + + + toString(): String + +

                                                  + + Permalink + + +
                                                  Definition Classes
                                                  AnyRef → Any
                                                  +
                                                28. + + +

                                                  + + final + def + + + wait(): Unit + +

                                                  + + Permalink + + +
                                                  Definition Classes
                                                  AnyRef
                                                  Annotations
                                                  + @throws( + + ... + ) + +
                                                  +
                                                29. + + +

                                                  + + final + def + + + wait(arg0: Long, arg1: Int): Unit + +

                                                  + + Permalink + + +
                                                  Definition Classes
                                                  AnyRef
                                                  Annotations
                                                  + @throws( + + ... + ) + +
                                                  +
                                                30. + + +

                                                  + + final + def + + + wait(arg0: Long): Unit + +

                                                  + + Permalink + + +
                                                  Definition Classes
                                                  AnyRef
                                                  Annotations
                                                  + @throws( + + ... + ) + +
                                                  +
                                                +
                                                + + + + +
                                                + +
                                                +
                                                +

                                                Inherited from BaseGenericController[T, P, R, SI, SO]

                                                +
                                                +

                                                Inherited from BaseController[T, BaseResult]

                                                +
                                                +

                                                Inherited from BaseDoer

                                                +
                                                +

                                                Inherited from Logging

                                                +
                                                +

                                                Inherited from Serializable

                                                +
                                                +

                                                Inherited from Serializable

                                                +
                                                +

                                                Inherited from AnyRef

                                                +
                                                +

                                                Inherited from Any

                                                +
                                                + +
                                                + +
                                                +
                                                +

                                                Ungrouped

                                                + +
                                                +
                                                + +
                                                + +
                                                + + + + + + diff --git a/manual1903/api_reference/components/scaladocs/ksb/csle/component/controller/SparkStreamController.html b/manual1903/api_reference/components/scaladocs/ksb/csle/component/controller/SparkStreamController.html new file mode 100644 index 0000000000000000000000000000000000000000..0d42890f5a4975d8ff2c6b638eef7539120bae42 --- /dev/null +++ b/manual1903/api_reference/components/scaladocs/ksb/csle/component/controller/SparkStreamController.html @@ -0,0 +1,718 @@ + + + + SparkStreamController - KSB COMPONENTS Scala App Project 1.0-SNAPSHOT API - ksb.csle.component.controller.SparkStreamController + + + + + + + + + + + + + + + +
                                                + Class +

                                                ksb.csle.component.controller

                                                +

                                                SparkStreamController

                                                Related Doc: + package controller +

                                                + + Permalink + + +
                                                + +

                                                + + + class + + + SparkStreamController[U, SI] extends BaseGenericController[InputDStream[U], StreamControllerInfo, DataFrame, SI, SparkSession] + +

                                                + +

                                                :: ApplicationDeveloperApi ::

                                                Controller that simply pipelines DataFrame from reader to writer +via a series of operators. +This controller can be run on streaming engine +and work as streaming processing controller. +

                                                SI

                                                Session type class for reader object

                                                + Linear Supertypes +
                                                BaseGenericController[InputDStream[U], StreamControllerInfo, DataFrame, SI, SparkSession], BaseController[InputDStream[U], BaseResult], BaseDoer, Logging, Serializable, Serializable, AnyRef, Any
                                                +
                                                + + +
                                                +
                                                +
                                                + Ordering +
                                                  + +
                                                1. Alphabetic
                                                2. +
                                                3. By Inheritance
                                                4. +
                                                +
                                                +
                                                + Inherited
                                                +
                                                +
                                                  +
                                                1. SparkStreamController
                                                2. BaseGenericController
                                                3. BaseController
                                                4. BaseDoer
                                                5. Logging
                                                6. Serializable
                                                7. Serializable
                                                8. AnyRef
                                                9. Any
                                                10. +
                                                +
                                                + +
                                                  +
                                                1. Hide All
                                                2. +
                                                3. Show All
                                                4. +
                                                +
                                                +
                                                + Visibility +
                                                1. Public
                                                2. All
                                                +
                                                +
                                                + +
                                                +
                                                +
                                                +

                                                Instance Constructors

                                                +
                                                1. + + +

                                                  + + + new + + + SparkStreamController(runner: BaseRunner[SI, _, _], i: BaseReader[InputDStream[U], _, SI], o: BaseWriter[DataFrame, _, SparkSession], p: StreamControllerInfo, ops: List[BaseGenericOperator[_, DataFrame]]) + +

                                                  + + Permalink + + +

                                                  runner

                                                  Runner object that runs spark session

                                                  i

                                                  Reader object that reads data from data source

                                                  o

                                                  Writer object that writes pipelined data from operators

                                                  p

                                                  Message object that has one of messages object containing + attributes related to controlling process pipelining

                                                  ops

                                                  a list of BaseGenericOperator objects that processes data + one by one.

                                                  +
                                                +
                                                + + + + + +
                                                +

                                                Value Members

                                                +
                                                1. + + +

                                                  + + final + def + + + !=(arg0: Any): Boolean + +

                                                  + + Permalink + + +
                                                  Definition Classes
                                                  AnyRef → Any
                                                  +
                                                2. + + +

                                                  + + final + def + + + ##(): Int + +

                                                  + + Permalink + + +
                                                  Definition Classes
                                                  AnyRef → Any
                                                  +
                                                3. + + +

                                                  + + final + def + + + ==(arg0: Any): Boolean + +

                                                  + + Permalink + + +
                                                  Definition Classes
                                                  AnyRef → Any
                                                  +
                                                4. + + +

                                                  + + final + def + + + asInstanceOf[T0]: T0 + +

                                                  + + Permalink + + +
                                                  Definition Classes
                                                  Any
                                                  +
                                                5. + + +

                                                  + + + def + + + clone(): AnyRef + +

                                                  + + Permalink + + +
                                                  Attributes
                                                  protected[java.lang]
                                                  Definition Classes
                                                  AnyRef
                                                  Annotations
                                                  + @throws( + + ... + ) + +
                                                  +
                                                6. + + +

                                                  + + final + def + + + eq(arg0: AnyRef): Boolean + +

                                                  + + Permalink + + +
                                                  Definition Classes
                                                  AnyRef
                                                  +
                                                7. + + +

                                                  + + + def + + + equals(arg0: Any): Boolean + +

                                                  + + Permalink + + +
                                                  Definition Classes
                                                  AnyRef → Any
                                                  +
                                                8. + + +

                                                  + + + def + + + finalize(): Unit + +

                                                  + + Permalink + + +
                                                  Attributes
                                                  protected[java.lang]
                                                  Definition Classes
                                                  AnyRef
                                                  Annotations
                                                  + @throws( + + classOf[java.lang.Throwable] + ) + +
                                                  +
                                                9. + + +

                                                  + + final + def + + + getClass(): Class[_] + +

                                                  + + Permalink + + +
                                                  Definition Classes
                                                  AnyRef → Any
                                                  +
                                                10. + + +

                                                  + + + def + + + hashCode(): Int + +

                                                  + + Permalink + + +
                                                  Definition Classes
                                                  AnyRef → Any
                                                  +
                                                11. + + +

                                                  + + + val + + + i: BaseReader[InputDStream[U], _, SI] + +

                                                  + + Permalink + + +

                                                  Reader object that reads data from data source

                                                  Reader object that reads data from data source

                                                  Definition Classes
                                                  SparkStreamController → BaseGenericController
                                                  +
                                                12. + + +

                                                  + + + def + + + init(): Any + +

                                                  + + Permalink + + +
                                                  Definition Classes
                                                  BaseController
                                                  Annotations
                                                  + @DeveloperApi() + +
                                                  +
                                                13. + + +

                                                  + + final + def + + + isInstanceOf[T0]: Boolean + +

                                                  + + Permalink + + +
                                                  Definition Classes
                                                  Any
                                                  +
                                                14. + + +

                                                  + + + val + + + logger: Logger + +

                                                  + + Permalink + + +
                                                  Attributes
                                                  protected
                                                  Definition Classes
                                                  Logging
                                                  +
                                                15. + + +

                                                  + + final + def + + + ne(arg0: AnyRef): Boolean + +

                                                  + + Permalink + + +
                                                  Definition Classes
                                                  AnyRef
                                                  +
                                                16. + + +

                                                  + + final + def + + + notify(): Unit + +

                                                  + + Permalink + + +
                                                  Definition Classes
                                                  AnyRef
                                                  +
                                                17. + + +

                                                  + + final + def + + + notifyAll(): Unit + +

                                                  + + Permalink + + +
                                                  Definition Classes
                                                  AnyRef
                                                  +
                                                18. + + +

                                                  + + + val + + + o: BaseWriter[DataFrame, _, SparkSession] + +

                                                  + + Permalink + + +

                                                  Writer object that writes pipelined data from operators

                                                  Writer object that writes pipelined data from operators

                                                  Definition Classes
                                                  SparkStreamController → BaseGenericController
                                                  +
                                                19. + + +

                                                  + + + val + + + ops: List[BaseGenericOperator[_, DataFrame]] + +

                                                  + + Permalink + + +

                                                  a list of BaseGenericOperator objects that processes data + one by one.

                                                  a list of BaseGenericOperator objects that processes data + one by one.

                                                  Definition Classes
                                                  SparkStreamController → BaseGenericController
                                                  +
                                                20. + + +

                                                  + + + val + + + p: StreamControllerInfo + +

                                                  + + Permalink + + +

                                                  Message object that has one of messages object containing + attributes related to controlling process pipelining

                                                  Message object that has one of messages object containing + attributes related to controlling process pipelining

                                                  Definition Classes
                                                  SparkStreamController → BaseGenericController
                                                  +
                                                21. + + +

                                                  + + final + def + + + pipeOperators(runner: BaseRunner[_, _, _], ops: List[BaseGenericOperator[_, DataFrame]], r: DataFrame): DataFrame + +

                                                  + + Permalink + + +
                                                  Attributes
                                                  protected
                                                  Definition Classes
                                                  BaseGenericController
                                                  Annotations
                                                  + @tailrec() + +
                                                  +
                                                22. + + +

                                                  + + + def + + + process(): BaseResult + +

                                                  + + Permalink + + +

                                                  Pipelines data from reader to writer via a series of operators.

                                                  Pipelines data from reader to writer via a series of operators. +

                                                  Definition Classes
                                                  SparkStreamController → BaseGenericController
                                                  +
                                                23. + + +

                                                  + + + def + + + progress(): BaseResult + +

                                                  + + Permalink + + +
                                                  Definition Classes
                                                  BaseGenericController → BaseController
                                                  +
                                                24. + + +

                                                  + + + val + + + runner: BaseRunner[SI, _, _] + +

                                                  + + Permalink + + +

                                                  Runner object that runs spark session

                                                  Runner object that runs spark session

                                                  Definition Classes
                                                  SparkStreamController → BaseGenericController
                                                  +
                                                25. + + +

                                                  + + + def + + + stop(): Any + +

                                                  + + Permalink + + +
                                                  Definition Classes
                                                  SparkStreamController → BaseGenericController → BaseController
                                                  +
                                                26. + + +

                                                  + + final + def + + + synchronized[T0](arg0: ⇒ T0): T0 + +

                                                  + + Permalink + + +
                                                  Definition Classes
                                                  AnyRef
                                                  +
                                                27. + + +

                                                  + + + def + + + toString(): String + +

                                                  + + Permalink + + +
                                                  Definition Classes
                                                  AnyRef → Any
                                                  +
                                                28. + + +

                                                  + + final + def + + + wait(): Unit + +

                                                  + + Permalink + + +
                                                  Definition Classes
                                                  AnyRef
                                                  Annotations
                                                  + @throws( + + ... + ) + +
                                                  +
                                                29. + + +

                                                  + + final + def + + + wait(arg0: Long, arg1: Int): Unit + +

                                                  + + Permalink + + +
                                                  Definition Classes
                                                  AnyRef
                                                  Annotations
                                                  + @throws( + + ... + ) + +
                                                  +
                                                30. + + +

                                                  + + final + def + + + wait(arg0: Long): Unit + +

                                                  + + Permalink + + +
                                                  Definition Classes
                                                  AnyRef
                                                  Annotations
                                                  + @throws( + + ... + ) + +
                                                  +
                                                +
                                                + + + + +
                                                + +
                                                +
                                                +

                                                Inherited from BaseGenericController[InputDStream[U], StreamControllerInfo, DataFrame, SI, SparkSession]

                                                +
                                                +

                                                Inherited from BaseController[InputDStream[U], BaseResult]

                                                +
                                                +

                                                Inherited from BaseDoer

                                                +
                                                +

                                                Inherited from Logging

                                                +
                                                +

                                                Inherited from Serializable

                                                +
                                                +

                                                Inherited from Serializable

                                                +
                                                +

                                                Inherited from AnyRef

                                                +
                                                +

                                                Inherited from Any

                                                +
                                                + +
                                                + +
                                                +
                                                +

                                                Ungrouped

                                                + +
                                                +
                                                + +
                                                + +
                                                + + + + + + diff --git a/manual1903/api_reference/components/scaladocs/ksb/csle/component/controller/TensorflowServingController.html b/manual1903/api_reference/components/scaladocs/ksb/csle/component/controller/TensorflowServingController.html new file mode 100644 index 0000000000000000000000000000000000000000..9822cef6e978bbc2f873775c275368ee391049f7 --- /dev/null +++ b/manual1903/api_reference/components/scaladocs/ksb/csle/component/controller/TensorflowServingController.html @@ -0,0 +1,687 @@ + + + + TensorflowServingController - KSB COMPONENTS Scala App Project 1.0-SNAPSHOT API - ksb.csle.component.controller.TensorflowServingController + + + + + + + + + + + + + + + +
                                                + Class +

                                                ksb.csle.component.controller

                                                +

                                                TensorflowServingController

                                                Related Doc: + package controller +

                                                + + Permalink + + +
                                                + +

                                                + + final + class + + + TensorflowServingController[T, R] extends BaseOnDemandServingController[T, OnDemandControllerInfo, R] + +

                                                + +

                                                :: ApplicationDeveloperApi ::

                                                Controller that simply pipelines DataFrame from one operator to another. +This controller runs with TensorflowServingRunner +on top of on-demand serving engine. +

                                                T

                                                Data type.

                                                R

                                                Result type.

                                                + Linear Supertypes +
                                                BaseOnDemandServingController[T, OnDemandControllerInfo, R], BaseController[T, BaseResult], BaseDoer, Logging, Serializable, Serializable, AnyRef, Any
                                                +
                                                + + +
                                                +
                                                +
                                                + Ordering +
                                                  + +
                                                1. Alphabetic
                                                2. +
                                                3. By Inheritance
                                                4. +
                                                +
                                                +
                                                + Inherited
                                                +
                                                +
                                                  +
                                                1. TensorflowServingController
                                                2. BaseOnDemandServingController
                                                3. BaseController
                                                4. BaseDoer
                                                5. Logging
                                                6. Serializable
                                                7. Serializable
                                                8. AnyRef
                                                9. Any
                                                10. +
                                                +
                                                + +
                                                  +
                                                1. Hide All
                                                2. +
                                                3. Show All
                                                4. +
                                                +
                                                +
                                                + Visibility +
                                                1. Public
                                                2. All
                                                +
                                                +
                                                + +
                                                +
                                                +
                                                +

                                                Instance Constructors

                                                +
                                                1. + + +

                                                  + + + new + + + TensorflowServingController(runner: BaseRunner[_, _, _], p: OnDemandControllerInfo, ops: List[BaseGenericMutantOperator[_, R, R]]) + +

                                                  + + Permalink + + +

                                                  runner

                                                  Runner for tensorflow model serving.

                                                  p

                                                  Object that contains message + ksb.csle.common.proto.WorkflowProto.SimpleOnDemandControllerInfo + SimpleOnDemandControllerInfo contains no attribute.

                                                  ops

                                                  a series of BaseGenericMutantOperator objects that processes data + one by one. Operators for tensorflow model serving.

                                                  +
                                                +
                                                + + + + + +
                                                +

                                                Value Members

                                                +
                                                1. + + +

                                                  + + final + def + + + !=(arg0: Any): Boolean + +

                                                  + + Permalink + + +
                                                  Definition Classes
                                                  AnyRef → Any
                                                  +
                                                2. + + +

                                                  + + final + def + + + ##(): Int + +

                                                  + + Permalink + + +
                                                  Definition Classes
                                                  AnyRef → Any
                                                  +
                                                3. + + +

                                                  + + final + def + + + ==(arg0: Any): Boolean + +

                                                  + + Permalink + + +
                                                  Definition Classes
                                                  AnyRef → Any
                                                  +
                                                4. + + +

                                                  + + final + def + + + asInstanceOf[T0]: T0 + +

                                                  + + Permalink + + +
                                                  Definition Classes
                                                  Any
                                                  +
                                                5. + + +

                                                  + + + def + + + clone(): AnyRef + +

                                                  + + Permalink + + +
                                                  Attributes
                                                  protected[java.lang]
                                                  Definition Classes
                                                  AnyRef
                                                  Annotations
                                                  + @throws( + + ... + ) + +
                                                  +
                                                6. + + +

                                                  + + final + def + + + eq(arg0: AnyRef): Boolean + +

                                                  + + Permalink + + +
                                                  Definition Classes
                                                  AnyRef
                                                  +
                                                7. + + +

                                                  + + + def + + + equals(arg0: Any): Boolean + +

                                                  + + Permalink + + +
                                                  Definition Classes
                                                  AnyRef → Any
                                                  +
                                                8. + + +

                                                  + + + def + + + finalize(): Unit + +

                                                  + + Permalink + + +
                                                  Attributes
                                                  protected[java.lang]
                                                  Definition Classes
                                                  AnyRef
                                                  Annotations
                                                  + @throws( + + classOf[java.lang.Throwable] + ) + +
                                                  +
                                                9. + + +

                                                  + + final + def + + + getClass(): Class[_] + +

                                                  + + Permalink + + +
                                                  Definition Classes
                                                  AnyRef → Any
                                                  +
                                                10. + + +

                                                  + + + def + + + hashCode(): Int + +

                                                  + + Permalink + + +
                                                  Definition Classes
                                                  AnyRef → Any
                                                  +
                                                11. + + +

                                                  + + + def + + + init(): Any + +

                                                  + + Permalink + + +
                                                  Definition Classes
                                                  BaseController
                                                  Annotations
                                                  + @DeveloperApi() + +
                                                  +
                                                12. + + +

                                                  + + final + def + + + isInstanceOf[T0]: Boolean + +

                                                  + + Permalink + + +
                                                  Definition Classes
                                                  Any
                                                  +
                                                13. + + +

                                                  + + + val + + + logger: Logger + +

                                                  + + Permalink + + +
                                                  Attributes
                                                  protected
                                                  Definition Classes
                                                  Logging
                                                  +
                                                14. + + +

                                                  + + final + def + + + ne(arg0: AnyRef): Boolean + +

                                                  + + Permalink + + +
                                                  Definition Classes
                                                  AnyRef
                                                  +
                                                15. + + +

                                                  + + final + def + + + notify(): Unit + +

                                                  + + Permalink + + +
                                                  Definition Classes
                                                  AnyRef
                                                  +
                                                16. + + +

                                                  + + final + def + + + notifyAll(): Unit + +

                                                  + + Permalink + + +
                                                  Definition Classes
                                                  AnyRef
                                                  +
                                                17. + + +

                                                  + + + val + + + ops: List[BaseGenericMutantOperator[_, R, R]] + +

                                                  + + Permalink + + +

                                                  a series of BaseGenericMutantOperator objects that processes data + one by one.

                                                  a series of BaseGenericMutantOperator objects that processes data + one by one. Operators for tensorflow model serving.

                                                  Definition Classes
                                                  TensorflowServingController → BaseOnDemandServingController
                                                  +
                                                18. + + +

                                                  + + + val + + + p: OnDemandControllerInfo + +

                                                  + + Permalink + + +

                                                  Object that contains message + ksb.csle.common.proto.WorkflowProto.SimpleOnDemandControllerInfo + SimpleOnDemandControllerInfo contains no attribute.

                                                  Object that contains message + ksb.csle.common.proto.WorkflowProto.SimpleOnDemandControllerInfo + SimpleOnDemandControllerInfo contains no attribute.

                                                  Definition Classes
                                                  TensorflowServingController → BaseOnDemandServingController
                                                  +
                                                19. + + +

                                                  + + final + def + + + pipeOperators(runner: BaseRunner[_, _, _], ops: Seq[BaseGenericMutantOperator[_, R, R]], r: R): R + +

                                                  + + Permalink + + +
                                                  Attributes
                                                  protected
                                                  Definition Classes
                                                  BaseOnDemandServingController
                                                  Annotations
                                                  + @tailrec() + +
                                                  +
                                                20. + + +

                                                  + + + def + + + progress(): BaseResult + +

                                                  + + Permalink + + +
                                                  Definition Classes
                                                  BaseOnDemandServingController → BaseController
                                                  +
                                                21. + + +

                                                  + + + val + + + runner: BaseRunner[_, _, _] + +

                                                  + + Permalink + + +

                                                  Runner for tensorflow model serving.

                                                  Runner for tensorflow model serving.

                                                  Definition Classes
                                                  TensorflowServingController → BaseOnDemandServingController
                                                  +
                                                22. + + +

                                                  + + + def + + + serve(): BaseResult + +

                                                  + + Permalink + + +

                                                  Start tensorflow model serving.

                                                  Start tensorflow model serving. +

                                                  returns

                                                  BaseResult Result data.

                                                  Definition Classes
                                                  TensorflowServingController → BaseOnDemandServingController
                                                  +
                                                23. + + +

                                                  + + + def + + + stop(): Any + +

                                                  + + Permalink + + +

                                                  Stop tensorflow model serving.

                                                  Stop tensorflow model serving. +

                                                  returns

                                                  Any Result data.

                                                  Definition Classes
                                                  TensorflowServingController → BaseOnDemandServingController → BaseController
                                                  +
                                                24. + + +

                                                  + + final + def + + + synchronized[T0](arg0: ⇒ T0): T0 + +

                                                  + + Permalink + + +
                                                  Definition Classes
                                                  AnyRef
                                                  +
                                                25. + + +

                                                  + + + def + + + toString(): String + +

                                                  + + Permalink + + +
                                                  Definition Classes
                                                  AnyRef → Any
                                                  +
                                                26. + + +

                                                  + + final + def + + + wait(): Unit + +

                                                  + + Permalink + + +
                                                  Definition Classes
                                                  AnyRef
                                                  Annotations
                                                  + @throws( + + ... + ) + +
                                                  +
                                                27. + + +

                                                  + + final + def + + + wait(arg0: Long, arg1: Int): Unit + +

                                                  + + Permalink + + +
                                                  Definition Classes
                                                  AnyRef
                                                  Annotations
                                                  + @throws( + + ... + ) + +
                                                  +
                                                28. + + +

                                                  + + final + def + + + wait(arg0: Long): Unit + +

                                                  + + Permalink + + +
                                                  Definition Classes
                                                  AnyRef
                                                  Annotations
                                                  + @throws( + + ... + ) + +
                                                  +
                                                +
                                                + + + + +
                                                + +
                                                +
                                                +

                                                Inherited from BaseOnDemandServingController[T, OnDemandControllerInfo, R]

                                                +
                                                +

                                                Inherited from BaseController[T, BaseResult]

                                                +
                                                +

                                                Inherited from BaseDoer

                                                +
                                                +

                                                Inherited from Logging

                                                +
                                                +

                                                Inherited from Serializable

                                                +
                                                +

                                                Inherited from Serializable

                                                +
                                                +

                                                Inherited from AnyRef

                                                +
                                                +

                                                Inherited from Any

                                                +
                                                + +
                                                + +
                                                +
                                                +

                                                Ungrouped

                                                + +
                                                +
                                                + +
                                                + +
                                                + + + + + + diff --git a/manual1903/api_reference/components/scaladocs/ksb/csle/component/controller/WindowedSparkSessionOrStreamController.html b/manual1903/api_reference/components/scaladocs/ksb/csle/component/controller/WindowedSparkSessionOrStreamController.html new file mode 100644 index 0000000000000000000000000000000000000000..70450eec997dde53b034f6f03fe0a3c1abadd5fa --- /dev/null +++ b/manual1903/api_reference/components/scaladocs/ksb/csle/component/controller/WindowedSparkSessionOrStreamController.html @@ -0,0 +1,990 @@ + + + + WindowedSparkSessionOrStreamController - KSB COMPONENTS Scala App Project 1.0-SNAPSHOT API - ksb.csle.component.controller.WindowedSparkSessionOrStreamController + + + + + + + + + + + + + + + +
                                                + Class +

                                                ksb.csle.component.controller

                                                +

                                                WindowedSparkSessionOrStreamController

                                                Related Doc: + package controller +

                                                + + Permalink + + +
                                                + +

                                                + + final + class + + + WindowedSparkSessionOrStreamController[T, P, R, SI, SO] extends BaseGenericController[T, StreamControllerInfo, R, SI, SO] + +

                                                + +

                                                :: ApplicationDeveloperApi ::

                                                Controller that conduct windowing control to queuing data. +This controller passes queued data to a consecutive operators. +This can be run on streaming engine, +and work as a streaming processing controller. +

                                                T

                                                Data type class to be passes through data pipeline + from reader to operators

                                                P

                                                Message type class

                                                R

                                                Data type for the final data format

                                                SI

                                                Session type class for reader object

                                                SO

                                                Session type class for writer object

                                                + Linear Supertypes +
                                                BaseGenericController[T, StreamControllerInfo, R, SI, SO], BaseController[T, BaseResult], BaseDoer, Logging, Serializable, Serializable, AnyRef, Any
                                                +
                                                + + +
                                                +
                                                +
                                                + Ordering +
                                                  + +
                                                1. Alphabetic
                                                2. +
                                                3. By Inheritance
                                                4. +
                                                +
                                                +
                                                + Inherited
                                                +
                                                +
                                                  +
                                                1. WindowedSparkSessionOrStreamController
                                                2. BaseGenericController
                                                3. BaseController
                                                4. BaseDoer
                                                5. Logging
                                                6. Serializable
                                                7. Serializable
                                                8. AnyRef
                                                9. Any
                                                10. +
                                                +
                                                + +
                                                  +
                                                1. Hide All
                                                2. +
                                                3. Show All
                                                4. +
                                                +
                                                +
                                                + Visibility +
                                                1. Public
                                                2. All
                                                +
                                                +
                                                + +
                                                +
                                                +
                                                +

                                                Instance Constructors

                                                +
                                                1. + + +

                                                  + + + new + + + WindowedSparkSessionOrStreamController(runner: BaseRunner[SI, _, _], i: BaseReader[T, _, SI], o: BaseWriter[R, _, SO], p: StreamControllerInfo, ops: List[BaseGenericOperator[_, R]]) + +

                                                  + + Permalink + + +

                                                  runner

                                                  Runner object that runs spark session

                                                  i

                                                  Reader object that reads data from data source

                                                  o

                                                  Writer object that writes pipelined data from operators

                                                  p

                                                  Message object that has one of messages object containing + attributes related to controlling process pipelining

                                                  ops

                                                  a list of BaseGenericOperator objects that processes data + one by one.

                                                  +
                                                +
                                                + + + + + +
                                                +

                                                Value Members

                                                +
                                                1. + + +

                                                  + + final + def + + + !=(arg0: Any): Boolean + +

                                                  + + Permalink + + +
                                                  Definition Classes
                                                  AnyRef → Any
                                                  +
                                                2. + + +

                                                  + + final + def + + + ##(): Int + +

                                                  + + Permalink + + +
                                                  Definition Classes
                                                  AnyRef → Any
                                                  +
                                                3. + + +

                                                  + + final + def + + + ==(arg0: Any): Boolean + +

                                                  + + Permalink + + +
                                                  Definition Classes
                                                  AnyRef → Any
                                                  +
                                                4. + + +

                                                  + + final + def + + + asInstanceOf[T0]: T0 + +

                                                  + + Permalink + + +
                                                  Definition Classes
                                                  Any
                                                  +
                                                5. + + +

                                                  + + + var + + + bufferArray: Array[Row] + +

                                                  + + Permalink + + + +
                                                6. + + +

                                                  + + + var + + + bufferCount: Int + +

                                                  + + Permalink + + + +
                                                7. + + +

                                                  + + + def + + + clone(): AnyRef + +

                                                  + + Permalink + + +
                                                  Attributes
                                                  protected[java.lang]
                                                  Definition Classes
                                                  AnyRef
                                                  Annotations
                                                  + @throws( + + ... + ) + +
                                                  +
                                                8. + + +

                                                  + + + var + + + df: DataFrame + +

                                                  + + Permalink + + + +
                                                9. + + +

                                                  + + final + def + + + eq(arg0: AnyRef): Boolean + +

                                                  + + Permalink + + +
                                                  Definition Classes
                                                  AnyRef
                                                  +
                                                10. + + +

                                                  + + + def + + + equals(arg0: Any): Boolean + +

                                                  + + Permalink + + +
                                                  Definition Classes
                                                  AnyRef → Any
                                                  +
                                                11. + + +

                                                  + + + def + + + finalize(): Unit + +

                                                  + + Permalink + + +
                                                  Attributes
                                                  protected[java.lang]
                                                  Definition Classes
                                                  AnyRef
                                                  Annotations
                                                  + @throws( + + classOf[java.lang.Throwable] + ) + +
                                                  +
                                                12. + + +

                                                  + + final + def + + + getClass(): Class[_] + +

                                                  + + Permalink + + +
                                                  Definition Classes
                                                  AnyRef → Any
                                                  +
                                                13. + + +

                                                  + + + def + + + hashCode(): Int + +

                                                  + + Permalink + + +
                                                  Definition Classes
                                                  AnyRef → Any
                                                  +
                                                14. + + +

                                                  + + + val + + + i: BaseReader[T, _, SI] + +

                                                  + + Permalink + + +

                                                  Reader object that reads data from data source

                                                  Reader object that reads data from data source

                                                  Definition Classes
                                                  WindowedSparkSessionOrStreamController → BaseGenericController
                                                  +
                                                15. + + +

                                                  + + + def + + + init(): Any + +

                                                  + + Permalink + + +
                                                  Definition Classes
                                                  BaseController
                                                  Annotations
                                                  + @DeveloperApi() + +
                                                  +
                                                16. + + +

                                                  + + + var + + + inputDf: DataFrame + +

                                                  + + Permalink + + + +
                                                17. + + +

                                                  + + + val + + + inputQueSize: Int + +

                                                  + + Permalink + + + +
                                                18. + + +

                                                  + + final + def + + + isInstanceOf[T0]: Boolean + +

                                                  + + Permalink + + +
                                                  Definition Classes
                                                  Any
                                                  +
                                                19. + + +

                                                  + + + val + + + logger: Logger + +

                                                  + + Permalink + + +
                                                  Attributes
                                                  protected
                                                  Definition Classes
                                                  Logging
                                                  +
                                                20. + + +

                                                  + + final + def + + + ne(arg0: AnyRef): Boolean + +

                                                  + + Permalink + + +
                                                  Definition Classes
                                                  AnyRef
                                                  +
                                                21. + + +

                                                  + + + var + + + newRows: Array[Row] + +

                                                  + + Permalink + + + +
                                                22. + + +

                                                  + + final + def + + + notify(): Unit + +

                                                  + + Permalink + + +
                                                  Definition Classes
                                                  AnyRef
                                                  +
                                                23. + + +

                                                  + + final + def + + + notifyAll(): Unit + +

                                                  + + Permalink + + +
                                                  Definition Classes
                                                  AnyRef
                                                  +
                                                24. + + +

                                                  + + + val + + + o: BaseWriter[R, _, SO] + +

                                                  + + Permalink + + +

                                                  Writer object that writes pipelined data from operators

                                                  Writer object that writes pipelined data from operators

                                                  Definition Classes
                                                  WindowedSparkSessionOrStreamController → BaseGenericController
                                                  +
                                                25. + + +

                                                  + + + val + + + ops: List[BaseGenericOperator[_, R]] + +

                                                  + + Permalink + + +

                                                  a list of BaseGenericOperator objects that processes data + one by one.

                                                  a list of BaseGenericOperator objects that processes data + one by one.

                                                  Definition Classes
                                                  WindowedSparkSessionOrStreamController → BaseGenericController
                                                  +
                                                26. + + +

                                                  + + + val + + + p: StreamControllerInfo + +

                                                  + + Permalink + + +

                                                  Message object that has one of messages object containing + attributes related to controlling process pipelining

                                                  Message object that has one of messages object containing + attributes related to controlling process pipelining

                                                  Definition Classes
                                                  WindowedSparkSessionOrStreamController → BaseGenericController
                                                  +
                                                27. + + +

                                                  + + final + def + + + pipeOperators(runner: BaseRunner[_, _, _], ops: List[BaseGenericOperator[_, R]], r: R): R + +

                                                  + + Permalink + + +
                                                  Attributes
                                                  protected
                                                  Definition Classes
                                                  BaseGenericController
                                                  Annotations
                                                  + @tailrec() + +
                                                  +
                                                28. + + +

                                                  + + + def + + + process(): BaseResult + +

                                                  + + Permalink + + +
                                                  Definition Classes
                                                  WindowedSparkSessionOrStreamController → BaseGenericController
                                                  +
                                                29. + + +

                                                  + + + def + + + progress(): BaseResult + +

                                                  + + Permalink + + +
                                                  Definition Classes
                                                  BaseGenericController → BaseController
                                                  +
                                                30. + + +

                                                  + + + var + + + resultDf: DataFrame + +

                                                  + + Permalink + + + +
                                                31. + + +

                                                  + + + var + + + rowCountToSend: Int + +

                                                  + + Permalink + + + +
                                                32. + + +

                                                  + + + val + + + runner: BaseRunner[SI, _, _] + +

                                                  + + Permalink + + +

                                                  Runner object that runs spark session

                                                  Runner object that runs spark session

                                                  Definition Classes
                                                  WindowedSparkSessionOrStreamController → BaseGenericController
                                                  +
                                                33. + + +

                                                  + + + val + + + ssIn: SparkSession + +

                                                  + + Permalink + + + +
                                                34. + + +

                                                  + + + val + + + ssOut: SparkSession + +

                                                  + + Permalink + + + +
                                                35. + + +

                                                  + + + val + + + sscIn: StreamingContext + +

                                                  + + Permalink + + + +
                                                36. + + +

                                                  + + + val + + + sscOut: StreamingContext + +

                                                  + + Permalink + + + +
                                                37. + + +

                                                  + + + def + + + stop(): Any + +

                                                  + + Permalink + + +
                                                  Definition Classes
                                                  WindowedSparkSessionOrStreamController → BaseGenericController → BaseController
                                                  +
                                                38. + + +

                                                  + + final + def + + + synchronized[T0](arg0: ⇒ T0): T0 + +

                                                  + + Permalink + + +
                                                  Definition Classes
                                                  AnyRef
                                                  +
                                                39. + + +

                                                  + + + var + + + tempArray4Engine: Array[Row] + +

                                                  + + Permalink + + + +
                                                40. + + +

                                                  + + + var + + + tempArray4Predict: Array[Row] + +

                                                  + + Permalink + + + +
                                                41. + + +

                                                  + + + def + + + toString(): String + +

                                                  + + Permalink + + +
                                                  Definition Classes
                                                  AnyRef → Any
                                                  +
                                                42. + + +

                                                  + + final + def + + + wait(): Unit + +

                                                  + + Permalink + + +
                                                  Definition Classes
                                                  AnyRef
                                                  Annotations
                                                  + @throws( + + ... + ) + +
                                                  +
                                                43. + + +

                                                  + + final + def + + + wait(arg0: Long, arg1: Int): Unit + +

                                                  + + Permalink + + +
                                                  Definition Classes
                                                  AnyRef
                                                  Annotations
                                                  + @throws( + + ... + ) + +
                                                  +
                                                44. + + +

                                                  + + final + def + + + wait(arg0: Long): Unit + +

                                                  + + Permalink + + +
                                                  Definition Classes
                                                  AnyRef
                                                  Annotations
                                                  + @throws( + + ... + ) + +
                                                  +
                                                45. + + +

                                                  + + + val + + + windowSize: Int + +

                                                  + + Permalink + + + +
                                                46. + + +

                                                  + + + val + + + x: WindowedStreamControllerInfo + +

                                                  + + Permalink + + + +
                                                +
                                                + + + + +
                                                + +
                                                +
                                                +

                                                Inherited from BaseGenericController[T, StreamControllerInfo, R, SI, SO]

                                                +
                                                +

                                                Inherited from BaseController[T, BaseResult]

                                                +
                                                +

                                                Inherited from BaseDoer

                                                +
                                                +

                                                Inherited from Logging

                                                +
                                                +

                                                Inherited from Serializable

                                                +
                                                +

                                                Inherited from Serializable

                                                +
                                                +

                                                Inherited from AnyRef

                                                +
                                                +

                                                Inherited from Any

                                                +
                                                + +
                                                + +
                                                +
                                                +

                                                Ungrouped

                                                + +
                                                +
                                                + +
                                                + +
                                                + + + + + + diff --git a/manual1903/api_reference/components/scaladocs/ksb/csle/component/controller/package.html b/manual1903/api_reference/components/scaladocs/ksb/csle/component/controller/package.html new file mode 100644 index 0000000000000000000000000000000000000000..598df2d332c53d3019c31189b26271647cb7ae03 --- /dev/null +++ b/manual1903/api_reference/components/scaladocs/ksb/csle/component/controller/package.html @@ -0,0 +1,304 @@ + + + + controller - KSB COMPONENTS Scala App Project 1.0-SNAPSHOT API - ksb.csle.component.controller + + + + + + + + + + + + + + + +
                                                + Package +

                                                ksb.csle.component

                                                +

                                                controller

                                                + + Permalink + + +
                                                + +

                                                + + + package + + + controller + +

                                                + +
                                                + + +
                                                +
                                                + + +
                                                + Visibility +
                                                1. Public
                                                2. All
                                                +
                                                +
                                                + +
                                                +
                                                + + +
                                                +

                                                Type Members

                                                +
                                                1. + + +

                                                  + + final + class + + + BatchDummyController[T, R] extends SparkSessionController[T, R] + +

                                                  + + Permalink + + +

                                                  :: ApplicationDeveloperApi ::

                                                  :: ApplicationDeveloperApi ::

                                                  Controller that simply pipelines data from reader to writer +without any operators. This controller mostly run with batch-style engine. +

                                                  T

                                                  Data type class to be passes through data pipeline + from reader to operators

                                                  R

                                                  Data type for the final data format

                                                  +
                                                2. + + +

                                                  + + final + class + + + ExternalAnalysisController[T] extends BaseDoer with BaseController[T, Any] + +

                                                  + + Permalink + + +

                                                  :: ApplicationDeveloperApi ::

                                                  :: ApplicationDeveloperApi ::

                                                  Controller that launches external system, tensorflow. +This controler run with TensorflowRunner on top of batch-style engine. +

                                                  T

                                                  Data type class

                                                  +
                                                3. + + +

                                                  + + final + class + + + KBEServingController[T, R] extends BaseOnDemandServingController[T, OnDemandControllerInfo, R] + +

                                                  + + Permalink + + +

                                                  :: ApplicationDeveloperApi ::

                                                  :: ApplicationDeveloperApi ::

                                                  Controller that pipelines data from operator to operators. +This controll is triggered when query has been arrived +and pipelines a series of subsequent operators. +

                                                  +
                                                4. + + +

                                                  + + + class + + + ServingWithKbController[T, R, SI, SO] extends BaseOnDemandStreamServingController[T, OnDemandControllerInfo, R, SI, SO] + +

                                                  + + Permalink + + +

                                                  :: ApplicationDeveloperApi ::

                                                  :: ApplicationDeveloperApi ::

                                                  Controller that pipelines data from reader to operators when a query arrives. +And responses pipelined result to the query submitter. +

                                                  +
                                                5. + + +

                                                  + + + class + + + SparkSessionController[T, R] extends BaseGenericController[T, BatchControllerInfo, R, SparkSession, SparkSession] + +

                                                  + + Permalink + + +

                                                  :: ApplicationDeveloperApi ::

                                                  :: ApplicationDeveloperApi ::

                                                  Controller that simply pipelines DataFrame from reader to writer +via a series of operators. This controller mostly run with batch-style engine. +

                                                  T

                                                  Data type class to be passes through data pipeline + from reader to operators

                                                  R

                                                  Data type for the final data format

                                                  +
                                                6. + + +

                                                  + + final + class + + + SparkSessionOrStreamController[T, R, P, SI, SO] extends BaseGenericController[T, P, R, SI, SO] + +

                                                  + + Permalink + + +

                                                  :: ApplicationDeveloperApi ::

                                                  :: ApplicationDeveloperApi ::

                                                  Controller that simply pipelines DataFrame from reader to writer +via a series of operators. +This controller can be run both on streaming engine and batch-style engine, +and work as batch and streaming processing controller. +

                                                  T

                                                  Data type class to be passes through data pipeline + from reader to operators

                                                  R

                                                  Data type for the final data format

                                                  P

                                                  Message type class

                                                  SI

                                                  Session type class for reader object

                                                  SO

                                                  Session type class for writer object

                                                  +
                                                7. + + +

                                                  + + + class + + + SparkStreamController[U, SI] extends BaseGenericController[InputDStream[U], StreamControllerInfo, DataFrame, SI, SparkSession] + +

                                                  + + Permalink + + +

                                                  :: ApplicationDeveloperApi ::

                                                  :: ApplicationDeveloperApi ::

                                                  Controller that simply pipelines DataFrame from reader to writer +via a series of operators. +This controller can be run on streaming engine +and work as streaming processing controller. +

                                                  SI

                                                  Session type class for reader object

                                                  +
                                                8. + + +

                                                  + + final + class + + + TensorflowServingController[T, R] extends BaseOnDemandServingController[T, OnDemandControllerInfo, R] + +

                                                  + + Permalink + + +

                                                  :: ApplicationDeveloperApi ::

                                                  :: ApplicationDeveloperApi ::

                                                  Controller that simply pipelines DataFrame from one operator to another. +This controller runs with TensorflowServingRunner +on top of on-demand serving engine. +

                                                  T

                                                  Data type.

                                                  R

                                                  Result type.

                                                  +
                                                9. + + +

                                                  + + final + class + + + WindowedSparkSessionOrStreamController[T, P, R, SI, SO] extends BaseGenericController[T, StreamControllerInfo, R, SI, SO] + +

                                                  + + Permalink + + +

                                                  :: ApplicationDeveloperApi ::

                                                  :: ApplicationDeveloperApi ::

                                                  Controller that conduct windowing control to queuing data. +This controller passes queued data to a consecutive operators. +This can be run on streaming engine, +and work as a streaming processing controller. +

                                                  T

                                                  Data type class to be passes through data pipeline + from reader to operators

                                                  P

                                                  Message type class

                                                  R

                                                  Data type for the final data format

                                                  SI

                                                  Session type class for reader object

                                                  SO

                                                  Session type class for writer object

                                                  +
                                                +
                                                + + + +
                                                +

                                                Value Members

                                                +
                                                1. + + +

                                                  + + + object + + + ServingWithKbControllerActor extends Logging + +

                                                  + + Permalink + + + +
                                                +
                                                + + + + +
                                                + +
                                                + + +
                                                + +
                                                +
                                                +

                                                Ungrouped

                                                + +
                                                +
                                                + +
                                                + +
                                                + + + + + + diff --git a/manual1903/api_reference/components/scaladocs/ksb/csle/component/exception/DataException.html b/manual1903/api_reference/components/scaladocs/ksb/csle/component/exception/DataException.html new file mode 100644 index 0000000000000000000000000000000000000000..b272f38f29cbd5e5c41e8cb23ac9eea411a919ff --- /dev/null +++ b/manual1903/api_reference/components/scaladocs/ksb/csle/component/exception/DataException.html @@ -0,0 +1,720 @@ + + + + DataException - KSB COMPONENTS Scala App Project 1.0-SNAPSHOT API - ksb.csle.component.exception.DataException + + + + + + + + + + + + + + + +
                                                + Class +

                                                ksb.csle.component.exception

                                                +

                                                DataException

                                                Related Doc: + package exception +

                                                + + Permalink + + +
                                                + +

                                                + + + class + + + DataException extends KsbException + +

                                                + +
                                                + Linear Supertypes +
                                                KsbException, Serializable, Product, Equals, Exception, Throwable, Serializable, AnyRef, Any
                                                +
                                                + + +
                                                +
                                                +
                                                + Ordering +
                                                  + +
                                                1. Alphabetic
                                                2. +
                                                3. By Inheritance
                                                4. +
                                                +
                                                +
                                                + Inherited
                                                +
                                                +
                                                  +
                                                1. DataException
                                                2. KsbException
                                                3. Serializable
                                                4. Product
                                                5. Equals
                                                6. Exception
                                                7. Throwable
                                                8. Serializable
                                                9. AnyRef
                                                10. Any
                                                11. +
                                                +
                                                + +
                                                  +
                                                1. Hide All
                                                2. +
                                                3. Show All
                                                4. +
                                                +
                                                +
                                                + Visibility +
                                                1. Public
                                                2. All
                                                +
                                                +
                                                + +
                                                +
                                                +
                                                +

                                                Instance Constructors

                                                +
                                                1. + + +

                                                  + + + new + + + DataException(message: String = "", cause: Throwable = None.orNull) + +

                                                  + + Permalink + + + +
                                                +
                                                + + + + + +
                                                +

                                                Value Members

                                                +
                                                1. + + +

                                                  + + final + def + + + !=(arg0: Any): Boolean + +

                                                  + + Permalink + + +
                                                  Definition Classes
                                                  AnyRef → Any
                                                  +
                                                2. + + +

                                                  + + final + def + + + ##(): Int + +

                                                  + + Permalink + + +
                                                  Definition Classes
                                                  AnyRef → Any
                                                  +
                                                3. + + +

                                                  + + final + def + + + ==(arg0: Any): Boolean + +

                                                  + + Permalink + + +
                                                  Definition Classes
                                                  AnyRef → Any
                                                  +
                                                4. + + +

                                                  + + final + def + + + addSuppressed(arg0: Throwable): Unit + +

                                                  + + Permalink + + +
                                                  Definition Classes
                                                  Throwable
                                                  +
                                                5. + + +

                                                  + + final + def + + + asInstanceOf[T0]: T0 + +

                                                  + + Permalink + + +
                                                  Definition Classes
                                                  Any
                                                  +
                                                6. + + +

                                                  + + + val + + + cause: Throwable + +

                                                  + + Permalink + + +
                                                  Definition Classes
                                                  KsbException
                                                  +
                                                7. + + +

                                                  + + + def + + + clone(): AnyRef + +

                                                  + + Permalink + + +
                                                  Attributes
                                                  protected[java.lang]
                                                  Definition Classes
                                                  AnyRef
                                                  Annotations
                                                  + @throws( + + ... + ) + +
                                                  +
                                                8. + + +

                                                  + + final + def + + + eq(arg0: AnyRef): Boolean + +

                                                  + + Permalink + + +
                                                  Definition Classes
                                                  AnyRef
                                                  +
                                                9. + + +

                                                  + + + def + + + fillInStackTrace(): Throwable + +

                                                  + + Permalink + + +
                                                  Definition Classes
                                                  Throwable
                                                  +
                                                10. + + +

                                                  + + + def + + + finalize(): Unit + +

                                                  + + Permalink + + +
                                                  Attributes
                                                  protected[java.lang]
                                                  Definition Classes
                                                  AnyRef
                                                  Annotations
                                                  + @throws( + + classOf[java.lang.Throwable] + ) + +
                                                  +
                                                11. + + +

                                                  + + + def + + + getCause(): Throwable + +

                                                  + + Permalink + + +
                                                  Definition Classes
                                                  Throwable
                                                  +
                                                12. + + +

                                                  + + final + def + + + getClass(): Class[_] + +

                                                  + + Permalink + + +
                                                  Definition Classes
                                                  AnyRef → Any
                                                  +
                                                13. + + +

                                                  + + + def + + + getLocalizedMessage(): String + +

                                                  + + Permalink + + +
                                                  Definition Classes
                                                  Throwable
                                                  +
                                                14. + + +

                                                  + + + def + + + getMessage(): String + +

                                                  + + Permalink + + +
                                                  Definition Classes
                                                  Throwable
                                                  +
                                                15. + + +

                                                  + + + def + + + getStackTrace(): Array[StackTraceElement] + +

                                                  + + Permalink + + +
                                                  Definition Classes
                                                  Throwable
                                                  +
                                                16. + + +

                                                  + + final + def + + + getSuppressed(): Array[Throwable] + +

                                                  + + Permalink + + +
                                                  Definition Classes
                                                  Throwable
                                                  +
                                                17. + + +

                                                  + + + def + + + initCause(arg0: Throwable): Throwable + +

                                                  + + Permalink + + +
                                                  Definition Classes
                                                  Throwable
                                                  +
                                                18. + + +

                                                  + + final + def + + + isInstanceOf[T0]: Boolean + +

                                                  + + Permalink + + +
                                                  Definition Classes
                                                  Any
                                                  +
                                                19. + + +

                                                  + + + val + + + message: String + +

                                                  + + Permalink + + +
                                                  Definition Classes
                                                  KsbException
                                                  +
                                                20. + + +

                                                  + + final + def + + + ne(arg0: AnyRef): Boolean + +

                                                  + + Permalink + + +
                                                  Definition Classes
                                                  AnyRef
                                                  +
                                                21. + + +

                                                  + + final + def + + + notify(): Unit + +

                                                  + + Permalink + + +
                                                  Definition Classes
                                                  AnyRef
                                                  +
                                                22. + + +

                                                  + + final + def + + + notifyAll(): Unit + +

                                                  + + Permalink + + +
                                                  Definition Classes
                                                  AnyRef
                                                  +
                                                23. + + +

                                                  + + + def + + + printStackTrace(arg0: PrintWriter): Unit + +

                                                  + + Permalink + + +
                                                  Definition Classes
                                                  Throwable
                                                  +
                                                24. + + +

                                                  + + + def + + + printStackTrace(arg0: PrintStream): Unit + +

                                                  + + Permalink + + +
                                                  Definition Classes
                                                  Throwable
                                                  +
                                                25. + + +

                                                  + + + def + + + printStackTrace(): Unit + +

                                                  + + Permalink + + +
                                                  Definition Classes
                                                  Throwable
                                                  +
                                                26. + + +

                                                  + + + def + + + setStackTrace(arg0: Array[StackTraceElement]): Unit + +

                                                  + + Permalink + + +
                                                  Definition Classes
                                                  Throwable
                                                  +
                                                27. + + +

                                                  + + final + def + + + synchronized[T0](arg0: ⇒ T0): T0 + +

                                                  + + Permalink + + +
                                                  Definition Classes
                                                  AnyRef
                                                  +
                                                28. + + +

                                                  + + + def + + + toString(): String + +

                                                  + + Permalink + + +
                                                  Definition Classes
                                                  Throwable → AnyRef → Any
                                                  +
                                                29. + + +

                                                  + + final + def + + + wait(): Unit + +

                                                  + + Permalink + + +
                                                  Definition Classes
                                                  AnyRef
                                                  Annotations
                                                  + @throws( + + ... + ) + +
                                                  +
                                                30. + + +

                                                  + + final + def + + + wait(arg0: Long, arg1: Int): Unit + +

                                                  + + Permalink + + +
                                                  Definition Classes
                                                  AnyRef
                                                  Annotations
                                                  + @throws( + + ... + ) + +
                                                  +
                                                31. + + +

                                                  + + final + def + + + wait(arg0: Long): Unit + +

                                                  + + Permalink + + +
                                                  Definition Classes
                                                  AnyRef
                                                  Annotations
                                                  + @throws( + + ... + ) + +
                                                  +
                                                +
                                                + + + + +
                                                + +
                                                +
                                                +

                                                Inherited from KsbException

                                                +
                                                +

                                                Inherited from Serializable

                                                +
                                                +

                                                Inherited from Product

                                                +
                                                +

                                                Inherited from Equals

                                                +
                                                +

                                                Inherited from Exception

                                                +
                                                +

                                                Inherited from Throwable

                                                +
                                                +

                                                Inherited from Serializable

                                                +
                                                +

                                                Inherited from AnyRef

                                                +
                                                +

                                                Inherited from Any

                                                +
                                                + +
                                                + +
                                                +
                                                +

                                                Ungrouped

                                                + +
                                                +
                                                + +
                                                + +
                                                + + + + + + diff --git a/manual1903/api_reference/components/scaladocs/ksb/csle/component/exception/FileIOException.html b/manual1903/api_reference/components/scaladocs/ksb/csle/component/exception/FileIOException.html new file mode 100644 index 0000000000000000000000000000000000000000..bf0c01cca35c34af7b5497cb4e972ed4bc9a4d93 --- /dev/null +++ b/manual1903/api_reference/components/scaladocs/ksb/csle/component/exception/FileIOException.html @@ -0,0 +1,720 @@ + + + + FileIOException - KSB COMPONENTS Scala App Project 1.0-SNAPSHOT API - ksb.csle.component.exception.FileIOException + + + + + + + + + + + + + + + +
                                                + Class +

                                                ksb.csle.component.exception

                                                +

                                                FileIOException

                                                Related Doc: + package exception +

                                                + + Permalink + + +
                                                + +

                                                + + + class + + + FileIOException extends KsbException + +

                                                + +
                                                + Linear Supertypes +
                                                KsbException, Serializable, Product, Equals, Exception, Throwable, Serializable, AnyRef, Any
                                                +
                                                + + +
                                                +
                                                +
                                                + Ordering +
                                                  + +
                                                1. Alphabetic
                                                2. +
                                                3. By Inheritance
                                                4. +
                                                +
                                                +
                                                + Inherited
                                                +
                                                +
                                                  +
                                                1. FileIOException
                                                2. KsbException
                                                3. Serializable
                                                4. Product
                                                5. Equals
                                                6. Exception
                                                7. Throwable
                                                8. Serializable
                                                9. AnyRef
                                                10. Any
                                                11. +
                                                +
                                                + +
                                                  +
                                                1. Hide All
                                                2. +
                                                3. Show All
                                                4. +
                                                +
                                                +
                                                + Visibility +
                                                1. Public
                                                2. All
                                                +
                                                +
                                                + +
                                                +
                                                +
                                                +

                                                Instance Constructors

                                                +
                                                1. + + +

                                                  + + + new + + + FileIOException(message: String = "", cause: Throwable = None.orNull) + +

                                                  + + Permalink + + + +
                                                +
                                                + + + + + +
                                                +

                                                Value Members

                                                +
                                                1. + + +

                                                  + + final + def + + + !=(arg0: Any): Boolean + +

                                                  + + Permalink + + +
                                                  Definition Classes
                                                  AnyRef → Any
                                                  +
                                                2. + + +

                                                  + + final + def + + + ##(): Int + +

                                                  + + Permalink + + +
                                                  Definition Classes
                                                  AnyRef → Any
                                                  +
                                                3. + + +

                                                  + + final + def + + + ==(arg0: Any): Boolean + +

                                                  + + Permalink + + +
                                                  Definition Classes
                                                  AnyRef → Any
                                                  +
                                                4. + + +

                                                  + + final + def + + + addSuppressed(arg0: Throwable): Unit + +

                                                  + + Permalink + + +
                                                  Definition Classes
                                                  Throwable
                                                  +
                                                5. + + +

                                                  + + final + def + + + asInstanceOf[T0]: T0 + +

                                                  + + Permalink + + +
                                                  Definition Classes
                                                  Any
                                                  +
                                                6. + + +

                                                  + + + val + + + cause: Throwable + +

                                                  + + Permalink + + +
                                                  Definition Classes
                                                  KsbException
                                                  +
                                                7. + + +

                                                  + + + def + + + clone(): AnyRef + +

                                                  + + Permalink + + +
                                                  Attributes
                                                  protected[java.lang]
                                                  Definition Classes
                                                  AnyRef
                                                  Annotations
                                                  + @throws( + + ... + ) + +
                                                  +
                                                8. + + +

                                                  + + final + def + + + eq(arg0: AnyRef): Boolean + +

                                                  + + Permalink + + +
                                                  Definition Classes
                                                  AnyRef
                                                  +
                                                9. + + +

                                                  + + + def + + + fillInStackTrace(): Throwable + +

                                                  + + Permalink + + +
                                                  Definition Classes
                                                  Throwable
                                                  +
                                                10. + + +

                                                  + + + def + + + finalize(): Unit + +

                                                  + + Permalink + + +
                                                  Attributes
                                                  protected[java.lang]
                                                  Definition Classes
                                                  AnyRef
                                                  Annotations
                                                  + @throws( + + classOf[java.lang.Throwable] + ) + +
                                                  +
                                                11. + + +

                                                  + + + def + + + getCause(): Throwable + +

                                                  + + Permalink + + +
                                                  Definition Classes
                                                  Throwable
                                                  +
                                                12. + + +

                                                  + + final + def + + + getClass(): Class[_] + +

                                                  + + Permalink + + +
                                                  Definition Classes
                                                  AnyRef → Any
                                                  +
                                                13. + + +

                                                  + + + def + + + getLocalizedMessage(): String + +

                                                  + + Permalink + + +
                                                  Definition Classes
                                                  Throwable
                                                  +
                                                14. + + +

                                                  + + + def + + + getMessage(): String + +

                                                  + + Permalink + + +
                                                  Definition Classes
                                                  Throwable
                                                  +
                                                15. + + +

                                                  + + + def + + + getStackTrace(): Array[StackTraceElement] + +

                                                  + + Permalink + + +
                                                  Definition Classes
                                                  Throwable
                                                  +
                                                16. + + +

                                                  + + final + def + + + getSuppressed(): Array[Throwable] + +

                                                  + + Permalink + + +
                                                  Definition Classes
                                                  Throwable
                                                  +
                                                17. + + +

                                                  + + + def + + + initCause(arg0: Throwable): Throwable + +

                                                  + + Permalink + + +
                                                  Definition Classes
                                                  Throwable
                                                  +
                                                18. + + +

                                                  + + final + def + + + isInstanceOf[T0]: Boolean + +

                                                  + + Permalink + + +
                                                  Definition Classes
                                                  Any
                                                  +
                                                19. + + +

                                                  + + + val + + + message: String + +

                                                  + + Permalink + + +
                                                  Definition Classes
                                                  KsbException
                                                  +
                                                20. + + +

                                                  + + final + def + + + ne(arg0: AnyRef): Boolean + +

                                                  + + Permalink + + +
                                                  Definition Classes
                                                  AnyRef
                                                  +
                                                21. + + +

                                                  + + final + def + + + notify(): Unit + +

                                                  + + Permalink + + +
                                                  Definition Classes
                                                  AnyRef
                                                  +
                                                22. + + +

                                                  + + final + def + + + notifyAll(): Unit + +

                                                  + + Permalink + + +
                                                  Definition Classes
                                                  AnyRef
                                                  +
                                                23. + + +

                                                  + + + def + + + printStackTrace(arg0: PrintWriter): Unit + +

                                                  + + Permalink + + +
                                                  Definition Classes
                                                  Throwable
                                                  +
                                                24. + + +

                                                  + + + def + + + printStackTrace(arg0: PrintStream): Unit + +

                                                  + + Permalink + + +
                                                  Definition Classes
                                                  Throwable
                                                  +
                                                25. + + +

                                                  + + + def + + + printStackTrace(): Unit + +

                                                  + + Permalink + + +
                                                  Definition Classes
                                                  Throwable
                                                  +
                                                26. + + +

                                                  + + + def + + + setStackTrace(arg0: Array[StackTraceElement]): Unit + +

                                                  + + Permalink + + +
                                                  Definition Classes
                                                  Throwable
                                                  +
                                                27. + + +

                                                  + + final + def + + + synchronized[T0](arg0: ⇒ T0): T0 + +

                                                  + + Permalink + + +
                                                  Definition Classes
                                                  AnyRef
                                                  +
                                                28. + + +

                                                  + + + def + + + toString(): String + +

                                                  + + Permalink + + +
                                                  Definition Classes
                                                  Throwable → AnyRef → Any
                                                  +
                                                29. + + +

                                                  + + final + def + + + wait(): Unit + +

                                                  + + Permalink + + +
                                                  Definition Classes
                                                  AnyRef
                                                  Annotations
                                                  + @throws( + + ... + ) + +
                                                  +
                                                30. + + +

                                                  + + final + def + + + wait(arg0: Long, arg1: Int): Unit + +

                                                  + + Permalink + + +
                                                  Definition Classes
                                                  AnyRef
                                                  Annotations
                                                  + @throws( + + ... + ) + +
                                                  +
                                                31. + + +

                                                  + + final + def + + + wait(arg0: Long): Unit + +

                                                  + + Permalink + + +
                                                  Definition Classes
                                                  AnyRef
                                                  Annotations
                                                  + @throws( + + ... + ) + +
                                                  +
                                                +
                                                + + + + +
                                                + +
                                                +
                                                +

                                                Inherited from KsbException

                                                +
                                                +

                                                Inherited from Serializable

                                                +
                                                +

                                                Inherited from Product

                                                +
                                                +

                                                Inherited from Equals

                                                +
                                                +

                                                Inherited from Exception

                                                +
                                                +

                                                Inherited from Throwable

                                                +
                                                +

                                                Inherited from Serializable

                                                +
                                                +

                                                Inherited from AnyRef

                                                +
                                                +

                                                Inherited from Any

                                                +
                                                + +
                                                + +
                                                +
                                                +

                                                Ungrouped

                                                + +
                                                +
                                                + +
                                                + +
                                                + + + + + + diff --git a/manual1903/api_reference/components/scaladocs/ksb/csle/component/exception/KsbException.html b/manual1903/api_reference/components/scaladocs/ksb/csle/component/exception/KsbException.html new file mode 100644 index 0000000000000000000000000000000000000000..9c352bf2e4e48e3fd7bf4306d6b8ce2eae5068fd --- /dev/null +++ b/manual1903/api_reference/components/scaladocs/ksb/csle/component/exception/KsbException.html @@ -0,0 +1,721 @@ + + + + KsbException - KSB COMPONENTS Scala App Project 1.0-SNAPSHOT API - ksb.csle.component.exception.KsbException + + + + + + + + + + + + + + + +
                                                + Class +

                                                ksb.csle.component.exception

                                                +

                                                KsbException

                                                Related Doc: + package exception +

                                                + + Permalink + + +
                                                + +

                                                + + + case class + + + KsbException(message: String = "", cause: Throwable = None.orNull) extends Exception with Product with Serializable + +

                                                + +
                                                + Linear Supertypes +
                                                Serializable, Product, Equals, Exception, Throwable, Serializable, AnyRef, Any
                                                +
                                                + + +
                                                +
                                                +
                                                + Ordering +
                                                  + +
                                                1. Alphabetic
                                                2. +
                                                3. By Inheritance
                                                4. +
                                                +
                                                +
                                                + Inherited
                                                +
                                                +
                                                  +
                                                1. KsbException
                                                2. Serializable
                                                3. Product
                                                4. Equals
                                                5. Exception
                                                6. Throwable
                                                7. Serializable
                                                8. AnyRef
                                                9. Any
                                                10. +
                                                +
                                                + +
                                                  +
                                                1. Hide All
                                                2. +
                                                3. Show All
                                                4. +
                                                +
                                                +
                                                + Visibility +
                                                1. Public
                                                2. All
                                                +
                                                +
                                                + +
                                                +
                                                +
                                                +

                                                Instance Constructors

                                                +
                                                1. + + +

                                                  + + + new + + + KsbException(message: String = "", cause: Throwable = None.orNull) + +

                                                  + + Permalink + + + +
                                                +
                                                + + + + + +
                                                +

                                                Value Members

                                                +
                                                1. + + +

                                                  + + final + def + + + !=(arg0: Any): Boolean + +

                                                  + + Permalink + + +
                                                  Definition Classes
                                                  AnyRef → Any
                                                  +
                                                2. + + +

                                                  + + final + def + + + ##(): Int + +

                                                  + + Permalink + + +
                                                  Definition Classes
                                                  AnyRef → Any
                                                  +
                                                3. + + +

                                                  + + final + def + + + ==(arg0: Any): Boolean + +

                                                  + + Permalink + + +
                                                  Definition Classes
                                                  AnyRef → Any
                                                  +
                                                4. + + +

                                                  + + final + def + + + addSuppressed(arg0: Throwable): Unit + +

                                                  + + Permalink + + +
                                                  Definition Classes
                                                  Throwable
                                                  +
                                                5. + + +

                                                  + + final + def + + + asInstanceOf[T0]: T0 + +

                                                  + + Permalink + + +
                                                  Definition Classes
                                                  Any
                                                  +
                                                6. + + +

                                                  + + + val + + + cause: Throwable + +

                                                  + + Permalink + + + +
                                                7. + + +

                                                  + + + def + + + clone(): AnyRef + +

                                                  + + Permalink + + +
                                                  Attributes
                                                  protected[java.lang]
                                                  Definition Classes
                                                  AnyRef
                                                  Annotations
                                                  + @throws( + + ... + ) + +
                                                  +
                                                8. + + +

                                                  + + final + def + + + eq(arg0: AnyRef): Boolean + +

                                                  + + Permalink + + +
                                                  Definition Classes
                                                  AnyRef
                                                  +
                                                9. + + +

                                                  + + + def + + + fillInStackTrace(): Throwable + +

                                                  + + Permalink + + +
                                                  Definition Classes
                                                  Throwable
                                                  +
                                                10. + + +

                                                  + + + def + + + finalize(): Unit + +

                                                  + + Permalink + + +
                                                  Attributes
                                                  protected[java.lang]
                                                  Definition Classes
                                                  AnyRef
                                                  Annotations
                                                  + @throws( + + classOf[java.lang.Throwable] + ) + +
                                                  +
                                                11. + + +

                                                  + + + def + + + getCause(): Throwable + +

                                                  + + Permalink + + +
                                                  Definition Classes
                                                  Throwable
                                                  +
                                                12. + + +

                                                  + + final + def + + + getClass(): Class[_] + +

                                                  + + Permalink + + +
                                                  Definition Classes
                                                  AnyRef → Any
                                                  +
                                                13. + + +

                                                  + + + def + + + getLocalizedMessage(): String + +

                                                  + + Permalink + + +
                                                  Definition Classes
                                                  Throwable
                                                  +
                                                14. + + +

                                                  + + + def + + + getMessage(): String + +

                                                  + + Permalink + + +
                                                  Definition Classes
                                                  Throwable
                                                  +
                                                15. + + +

                                                  + + + def + + + getStackTrace(): Array[StackTraceElement] + +

                                                  + + Permalink + + +
                                                  Definition Classes
                                                  Throwable
                                                  +
                                                16. + + +

                                                  + + final + def + + + getSuppressed(): Array[Throwable] + +

                                                  + + Permalink + + +
                                                  Definition Classes
                                                  Throwable
                                                  +
                                                17. + + +

                                                  + + + def + + + initCause(arg0: Throwable): Throwable + +

                                                  + + Permalink + + +
                                                  Definition Classes
                                                  Throwable
                                                  +
                                                18. + + +

                                                  + + final + def + + + isInstanceOf[T0]: Boolean + +

                                                  + + Permalink + + +
                                                  Definition Classes
                                                  Any
                                                  +
                                                19. + + +

                                                  + + + val + + + message: String + +

                                                  + + Permalink + + + +
                                                20. + + +

                                                  + + final + def + + + ne(arg0: AnyRef): Boolean + +

                                                  + + Permalink + + +
                                                  Definition Classes
                                                  AnyRef
                                                  +
                                                21. + + +

                                                  + + final + def + + + notify(): Unit + +

                                                  + + Permalink + + +
                                                  Definition Classes
                                                  AnyRef
                                                  +
                                                22. + + +

                                                  + + final + def + + + notifyAll(): Unit + +

                                                  + + Permalink + + +
                                                  Definition Classes
                                                  AnyRef
                                                  +
                                                23. + + +

                                                  + + + def + + + printStackTrace(arg0: PrintWriter): Unit + +

                                                  + + Permalink + + +
                                                  Definition Classes
                                                  Throwable
                                                  +
                                                24. + + +

                                                  + + + def + + + printStackTrace(arg0: PrintStream): Unit + +

                                                  + + Permalink + + +
                                                  Definition Classes
                                                  Throwable
                                                  +
                                                25. + + +

                                                  + + + def + + + printStackTrace(): Unit + +

                                                  + + Permalink + + +
                                                  Definition Classes
                                                  Throwable
                                                  +
                                                26. + + +

                                                  + + + def + + + setStackTrace(arg0: Array[StackTraceElement]): Unit + +

                                                  + + Permalink + + +
                                                  Definition Classes
                                                  Throwable
                                                  +
                                                27. + + +

                                                  + + final + def + + + synchronized[T0](arg0: ⇒ T0): T0 + +

                                                  + + Permalink + + +
                                                  Definition Classes
                                                  AnyRef
                                                  +
                                                28. + + +

                                                  + + + def + + + toString(): String + +

                                                  + + Permalink + + +
                                                  Definition Classes
                                                  Throwable → AnyRef → Any
                                                  +
                                                29. + + +

                                                  + + final + def + + + wait(): Unit + +

                                                  + + Permalink + + +
                                                  Definition Classes
                                                  AnyRef
                                                  Annotations
                                                  + @throws( + + ... + ) + +
                                                  +
                                                30. + + +

                                                  + + final + def + + + wait(arg0: Long, arg1: Int): Unit + +

                                                  + + Permalink + + +
                                                  Definition Classes
                                                  AnyRef
                                                  Annotations
                                                  + @throws( + + ... + ) + +
                                                  +
                                                31. + + +

                                                  + + final + def + + + wait(arg0: Long): Unit + +

                                                  + + Permalink + + +
                                                  Definition Classes
                                                  AnyRef
                                                  Annotations
                                                  + @throws( + + ... + ) + +
                                                  +
                                                +
                                                + + + + +
                                                + +
                                                +
                                                +

                                                Inherited from Serializable

                                                +
                                                +

                                                Inherited from Product

                                                +
                                                +

                                                Inherited from Equals

                                                +
                                                +

                                                Inherited from Exception

                                                +
                                                +

                                                Inherited from Throwable

                                                +
                                                +

                                                Inherited from Serializable

                                                +
                                                +

                                                Inherited from AnyRef

                                                +
                                                +

                                                Inherited from Any

                                                +
                                                + +
                                                + +
                                                +
                                                +

                                                Ungrouped

                                                + +
                                                +
                                                + +
                                                + +
                                                + + + + + + diff --git a/manual1903/api_reference/components/scaladocs/ksb/csle/component/exception/ProcessException.html b/manual1903/api_reference/components/scaladocs/ksb/csle/component/exception/ProcessException.html new file mode 100644 index 0000000000000000000000000000000000000000..a6d2d4a2062ad0da2538c19777753ab6c046e153 --- /dev/null +++ b/manual1903/api_reference/components/scaladocs/ksb/csle/component/exception/ProcessException.html @@ -0,0 +1,720 @@ + + + + ProcessException - KSB COMPONENTS Scala App Project 1.0-SNAPSHOT API - ksb.csle.component.exception.ProcessException + + + + + + + + + + + + + + + +
                                                + Class +

                                                ksb.csle.component.exception

                                                +

                                                ProcessException

                                                Related Doc: + package exception +

                                                + + Permalink + + +
                                                + +

                                                + + + class + + + ProcessException extends KsbException + +

                                                + +
                                                + Linear Supertypes +
                                                KsbException, Serializable, Product, Equals, Exception, Throwable, Serializable, AnyRef, Any
                                                +
                                                + + +
                                                +
                                                +
                                                + Ordering +
                                                  + +
                                                1. Alphabetic
                                                2. +
                                                3. By Inheritance
                                                4. +
                                                +
                                                +
                                                + Inherited
                                                +
                                                +
                                                  +
                                                1. ProcessException
                                                2. KsbException
                                                3. Serializable
                                                4. Product
                                                5. Equals
                                                6. Exception
                                                7. Throwable
                                                8. Serializable
                                                9. AnyRef
                                                10. Any
                                                11. +
                                                +
                                                + +
                                                  +
                                                1. Hide All
                                                2. +
                                                3. Show All
                                                4. +
                                                +
                                                +
                                                + Visibility +
                                                1. Public
                                                2. All
                                                +
                                                +
                                                + +
                                                +
                                                +
                                                +

                                                Instance Constructors

                                                +
                                                1. + + +

                                                  + + + new + + + ProcessException(message: String = "", cause: Throwable = None.orNull) + +

                                                  + + Permalink + + + +
                                                +
                                                + + + + + +
                                                +

                                                Value Members

                                                +
                                                1. + + +

                                                  + + final + def + + + !=(arg0: Any): Boolean + +

                                                  + + Permalink + + +
                                                  Definition Classes
                                                  AnyRef → Any
                                                  +
                                                2. + + +

                                                  + + final + def + + + ##(): Int + +

                                                  + + Permalink + + +
                                                  Definition Classes
                                                  AnyRef → Any
                                                  +
                                                3. + + +

                                                  + + final + def + + + ==(arg0: Any): Boolean + +

                                                  + + Permalink + + +
                                                  Definition Classes
                                                  AnyRef → Any
                                                  +
                                                4. + + +

                                                  + + final + def + + + addSuppressed(arg0: Throwable): Unit + +

                                                  + + Permalink + + +
                                                  Definition Classes
                                                  Throwable
                                                  +
                                                5. + + +

                                                  + + final + def + + + asInstanceOf[T0]: T0 + +

                                                  + + Permalink + + +
                                                  Definition Classes
                                                  Any
                                                  +
                                                6. + + +

                                                  + + + val + + + cause: Throwable + +

                                                  + + Permalink + + +
                                                  Definition Classes
                                                  KsbException
                                                  +
                                                7. + + +

                                                  + + + def + + + clone(): AnyRef + +

                                                  + + Permalink + + +
                                                  Attributes
                                                  protected[java.lang]
                                                  Definition Classes
                                                  AnyRef
                                                  Annotations
                                                  + @throws( + + ... + ) + +
                                                  +
                                                8. + + +

                                                  + + final + def + + + eq(arg0: AnyRef): Boolean + +

                                                  + + Permalink + + +
                                                  Definition Classes
                                                  AnyRef
                                                  +
                                                9. + + +

                                                  + + + def + + + fillInStackTrace(): Throwable + +

                                                  + + Permalink + + +
                                                  Definition Classes
                                                  Throwable
                                                  +
                                                10. + + +

                                                  + + + def + + + finalize(): Unit + +

                                                  + + Permalink + + +
                                                  Attributes
                                                  protected[java.lang]
                                                  Definition Classes
                                                  AnyRef
                                                  Annotations
                                                  + @throws( + + classOf[java.lang.Throwable] + ) + +
                                                  +
                                                11. + + +

                                                  + + + def + + + getCause(): Throwable + +

                                                  + + Permalink + + +
                                                  Definition Classes
                                                  Throwable
                                                  +
                                                12. + + +

                                                  + + final + def + + + getClass(): Class[_] + +

                                                  + + Permalink + + +
                                                  Definition Classes
                                                  AnyRef → Any
                                                  +
                                                13. + + +

                                                  + + + def + + + getLocalizedMessage(): String + +

                                                  + + Permalink + + +
                                                  Definition Classes
                                                  Throwable
                                                  +
                                                14. + + +

                                                  + + + def + + + getMessage(): String + +

                                                  + + Permalink + + +
                                                  Definition Classes
                                                  Throwable
                                                  +
                                                15. + + +

                                                  + + + def + + + getStackTrace(): Array[StackTraceElement] + +

                                                  + + Permalink + + +
                                                  Definition Classes
                                                  Throwable
                                                  +
                                                16. + + +

                                                  + + final + def + + + getSuppressed(): Array[Throwable] + +

                                                  + + Permalink + + +
                                                  Definition Classes
                                                  Throwable
                                                  +
                                                17. + + +

                                                  + + + def + + + initCause(arg0: Throwable): Throwable + +

                                                  + + Permalink + + +
                                                  Definition Classes
                                                  Throwable
                                                  +
                                                18. + + +

                                                  + + final + def + + + isInstanceOf[T0]: Boolean + +

                                                  + + Permalink + + +
                                                  Definition Classes
                                                  Any
                                                  +
                                                19. + + +

                                                  + + + val + + + message: String + +

                                                  + + Permalink + + +
                                                  Definition Classes
                                                  KsbException
                                                  +
                                                20. + + +

                                                  + + final + def + + + ne(arg0: AnyRef): Boolean + +

                                                  + + Permalink + + +
                                                  Definition Classes
                                                  AnyRef
                                                  +
                                                21. + + +

                                                  + + final + def + + + notify(): Unit + +

                                                  + + Permalink + + +
                                                  Definition Classes
                                                  AnyRef
                                                  +
                                                22. + + +

                                                  + + final + def + + + notifyAll(): Unit + +

                                                  + + Permalink + + +
                                                  Definition Classes
                                                  AnyRef
                                                  +
                                                23. + + +

                                                  + + + def + + + printStackTrace(arg0: PrintWriter): Unit + +

                                                  + + Permalink + + +
                                                  Definition Classes
                                                  Throwable
                                                  +
                                                24. + + +

                                                  + + + def + + + printStackTrace(arg0: PrintStream): Unit + +

                                                  + + Permalink + + +
                                                  Definition Classes
                                                  Throwable
                                                  +
                                                25. + + +

                                                  + + + def + + + printStackTrace(): Unit + +

                                                  + + Permalink + + +
                                                  Definition Classes
                                                  Throwable
                                                  +
                                                26. + + +

                                                  + + + def + + + setStackTrace(arg0: Array[StackTraceElement]): Unit + +

                                                  + + Permalink + + +
                                                  Definition Classes
                                                  Throwable
                                                  +
                                                27. + + +

                                                  + + final + def + + + synchronized[T0](arg0: ⇒ T0): T0 + +

                                                  + + Permalink + + +
                                                  Definition Classes
                                                  AnyRef
                                                  +
                                                28. + + +

                                                  + + + def + + + toString(): String + +

                                                  + + Permalink + + +
                                                  Definition Classes
                                                  Throwable → AnyRef → Any
                                                  +
                                                29. + + +

                                                  + + final + def + + + wait(): Unit + +

                                                  + + Permalink + + +
                                                  Definition Classes
                                                  AnyRef
                                                  Annotations
                                                  + @throws( + + ... + ) + +
                                                  +
                                                30. + + +

                                                  + + final + def + + + wait(arg0: Long, arg1: Int): Unit + +

                                                  + + Permalink + + +
                                                  Definition Classes
                                                  AnyRef
                                                  Annotations
                                                  + @throws( + + ... + ) + +
                                                  +
                                                31. + + +

                                                  + + final + def + + + wait(arg0: Long): Unit + +

                                                  + + Permalink + + +
                                                  Definition Classes
                                                  AnyRef
                                                  Annotations
                                                  + @throws( + + ... + ) + +
                                                  +
                                                +
                                                + + + + +
                                                + +
                                                +
                                                +

                                                Inherited from KsbException

                                                +
                                                +

                                                Inherited from Serializable

                                                +
                                                +

                                                Inherited from Product

                                                +
                                                +

                                                Inherited from Equals

                                                +
                                                +

                                                Inherited from Exception

                                                +
                                                +

                                                Inherited from Throwable

                                                +
                                                +

                                                Inherited from Serializable

                                                +
                                                +

                                                Inherited from AnyRef

                                                +
                                                +

                                                Inherited from Any

                                                +
                                                + +
                                                + +
                                                +
                                                +

                                                Ungrouped

                                                + +
                                                +
                                                + +
                                                + +
                                                + + + + + + diff --git a/manual1903/api_reference/components/scaladocs/ksb/csle/component/exception/package.html b/manual1903/api_reference/components/scaladocs/ksb/csle/component/exception/package.html new file mode 100644 index 0000000000000000000000000000000000000000..d467ad84af2750738a70533e4e3bbe6fc63b58a1 --- /dev/null +++ b/manual1903/api_reference/components/scaladocs/ksb/csle/component/exception/package.html @@ -0,0 +1,169 @@ + + + + exception - KSB COMPONENTS Scala App Project 1.0-SNAPSHOT API - ksb.csle.component.exception + + + + + + + + + + + + + + + +
                                                + Package +

                                                ksb.csle.component

                                                +

                                                exception

                                                + + Permalink + + +
                                                + +

                                                + + + package + + + exception + +

                                                + +
                                                + + +
                                                +
                                                + + +
                                                + Visibility +
                                                1. Public
                                                2. All
                                                +
                                                +
                                                + +
                                                +
                                                + + +
                                                +

                                                Type Members

                                                +
                                                1. + + +

                                                  + + + class + + + DataException extends KsbException + +

                                                  + + Permalink + + + +
                                                2. + + +

                                                  + + + class + + + FileIOException extends KsbException + +

                                                  + + Permalink + + + +
                                                3. + + +

                                                  + + + case class + + + KsbException(message: String = "", cause: Throwable = None.orNull) extends Exception with Product with Serializable + +

                                                  + + Permalink + + + +
                                                4. + + +

                                                  + + + class + + + ProcessException extends KsbException + +

                                                  + + Permalink + + + +
                                                +
                                                + + + + + + + + +
                                                + +
                                                + + +
                                                + +
                                                +
                                                +

                                                Ungrouped

                                                + +
                                                +
                                                + +
                                                + +
                                                + + + + + + diff --git a/manual1903/api_reference/components/scaladocs/ksb/csle/component/ingestion/common/package$$HttpIngestionRequest.html b/manual1903/api_reference/components/scaladocs/ksb/csle/component/ingestion/common/package$$HttpIngestionRequest.html new file mode 100644 index 0000000000000000000000000000000000000000..54c6607856c677b6ebb6e899c24679004103c1e1 --- /dev/null +++ b/manual1903/api_reference/components/scaladocs/ksb/csle/component/ingestion/common/package$$HttpIngestionRequest.html @@ -0,0 +1,511 @@ + + + + HttpIngestionRequest - KSB COMPONENTS Scala App Project 1.0-SNAPSHOT API - ksb.csle.component.ingestion.common.HttpIngestionRequest + + + + + + + + + + + + + + + +
                                                + Class +

                                                ksb.csle.component.ingestion.common

                                                +

                                                HttpIngestionRequest

                                                Related Doc: + package common +

                                                + + Permalink + + +
                                                + +

                                                + + + case class + + + HttpIngestionRequest(content: String, contentType: Option[String] = None, headers: Option[Map[String, String]] = None) extends Product with Serializable + +

                                                + +

                                                HTTP ingestion request message. +

                                                + Linear Supertypes +
                                                Serializable, Serializable, Product, Equals, AnyRef, Any
                                                +
                                                + + +
                                                +
                                                +
                                                + Ordering +
                                                  + +
                                                1. Alphabetic
                                                2. +
                                                3. By Inheritance
                                                4. +
                                                +
                                                +
                                                + Inherited
                                                +
                                                +
                                                  +
                                                1. HttpIngestionRequest
                                                2. Serializable
                                                3. Serializable
                                                4. Product
                                                5. Equals
                                                6. AnyRef
                                                7. Any
                                                8. +
                                                +
                                                + +
                                                  +
                                                1. Hide All
                                                2. +
                                                3. Show All
                                                4. +
                                                +
                                                +
                                                + Visibility +
                                                1. Public
                                                2. All
                                                +
                                                +
                                                + +
                                                +
                                                +
                                                +

                                                Instance Constructors

                                                +
                                                1. + + +

                                                  + + + new + + + HttpIngestionRequest(content: String, contentType: Option[String] = None, headers: Option[Map[String, String]] = None) + +

                                                  + + Permalink + + + +
                                                +
                                                + + + + + +
                                                +

                                                Value Members

                                                +
                                                1. + + +

                                                  + + final + def + + + !=(arg0: Any): Boolean + +

                                                  + + Permalink + + +
                                                  Definition Classes
                                                  AnyRef → Any
                                                  +
                                                2. + + +

                                                  + + final + def + + + ##(): Int + +

                                                  + + Permalink + + +
                                                  Definition Classes
                                                  AnyRef → Any
                                                  +
                                                3. + + +

                                                  + + final + def + + + ==(arg0: Any): Boolean + +

                                                  + + Permalink + + +
                                                  Definition Classes
                                                  AnyRef → Any
                                                  +
                                                4. + + +

                                                  + + final + def + + + asInstanceOf[T0]: T0 + +

                                                  + + Permalink + + +
                                                  Definition Classes
                                                  Any
                                                  +
                                                5. + + +

                                                  + + + def + + + clone(): AnyRef + +

                                                  + + Permalink + + +
                                                  Attributes
                                                  protected[java.lang]
                                                  Definition Classes
                                                  AnyRef
                                                  Annotations
                                                  + @throws( + + ... + ) + +
                                                  +
                                                6. + + +

                                                  + + + val + + + content: String + +

                                                  + + Permalink + + + +
                                                7. + + +

                                                  + + + val + + + contentType: Option[String] + +

                                                  + + Permalink + + + +
                                                8. + + +

                                                  + + final + def + + + eq(arg0: AnyRef): Boolean + +

                                                  + + Permalink + + +
                                                  Definition Classes
                                                  AnyRef
                                                  +
                                                9. + + +

                                                  + + + def + + + finalize(): Unit + +

                                                  + + Permalink + + +
                                                  Attributes
                                                  protected[java.lang]
                                                  Definition Classes
                                                  AnyRef
                                                  Annotations
                                                  + @throws( + + classOf[java.lang.Throwable] + ) + +
                                                  +
                                                10. + + +

                                                  + + final + def + + + getClass(): Class[_] + +

                                                  + + Permalink + + +
                                                  Definition Classes
                                                  AnyRef → Any
                                                  +
                                                11. + + +

                                                  + + + val + + + headers: Option[Map[String, String]] + +

                                                  + + Permalink + + + +
                                                12. + + +

                                                  + + final + def + + + isInstanceOf[T0]: Boolean + +

                                                  + + Permalink + + +
                                                  Definition Classes
                                                  Any
                                                  +
                                                13. + + +

                                                  + + final + def + + + ne(arg0: AnyRef): Boolean + +

                                                  + + Permalink + + +
                                                  Definition Classes
                                                  AnyRef
                                                  +
                                                14. + + +

                                                  + + final + def + + + notify(): Unit + +

                                                  + + Permalink + + +
                                                  Definition Classes
                                                  AnyRef
                                                  +
                                                15. + + +

                                                  + + final + def + + + notifyAll(): Unit + +

                                                  + + Permalink + + +
                                                  Definition Classes
                                                  AnyRef
                                                  +
                                                16. + + +

                                                  + + final + def + + + synchronized[T0](arg0: ⇒ T0): T0 + +

                                                  + + Permalink + + +
                                                  Definition Classes
                                                  AnyRef
                                                  +
                                                17. + + +

                                                  + + final + def + + + wait(): Unit + +

                                                  + + Permalink + + +
                                                  Definition Classes
                                                  AnyRef
                                                  Annotations
                                                  + @throws( + + ... + ) + +
                                                  +
                                                18. + + +

                                                  + + final + def + + + wait(arg0: Long, arg1: Int): Unit + +

                                                  + + Permalink + + +
                                                  Definition Classes
                                                  AnyRef
                                                  Annotations
                                                  + @throws( + + ... + ) + +
                                                  +
                                                19. + + +

                                                  + + final + def + + + wait(arg0: Long): Unit + +

                                                  + + Permalink + + +
                                                  Definition Classes
                                                  AnyRef
                                                  Annotations
                                                  + @throws( + + ... + ) + +
                                                  +
                                                +
                                                + + + + +
                                                + +
                                                +
                                                +

                                                Inherited from Serializable

                                                +
                                                +

                                                Inherited from Serializable

                                                +
                                                +

                                                Inherited from Product

                                                +
                                                +

                                                Inherited from Equals

                                                +
                                                +

                                                Inherited from AnyRef

                                                +
                                                +

                                                Inherited from Any

                                                +
                                                + +
                                                + +
                                                +
                                                +

                                                Ungrouped

                                                + +
                                                +
                                                + +
                                                + +
                                                + + + + + + diff --git a/manual1903/api_reference/components/scaladocs/ksb/csle/component/ingestion/common/package$$HttpIngestionResponse.html b/manual1903/api_reference/components/scaladocs/ksb/csle/component/ingestion/common/package$$HttpIngestionResponse.html new file mode 100644 index 0000000000000000000000000000000000000000..d9e272b25e369d1a2294d5f9a8a71ea71aa38cc5 --- /dev/null +++ b/manual1903/api_reference/components/scaladocs/ksb/csle/component/ingestion/common/package$$HttpIngestionResponse.html @@ -0,0 +1,511 @@ + + + + HttpIngestionResponse - KSB COMPONENTS Scala App Project 1.0-SNAPSHOT API - ksb.csle.component.ingestion.common.HttpIngestionResponse + + + + + + + + + + + + + + + +
                                                + Class +

                                                ksb.csle.component.ingestion.common

                                                +

                                                HttpIngestionResponse

                                                Related Doc: + package common +

                                                + + Permalink + + +
                                                + +

                                                + + + case class + + + HttpIngestionResponse(data: String, statusCode: StatusCode = StatusCodes.OK, message: String = "OK") extends Product with Serializable + +

                                                + +

                                                HTTP ingestion response message. +

                                                + Linear Supertypes +
                                                Serializable, Serializable, Product, Equals, AnyRef, Any
                                                +
                                                + + +
                                                +
                                                +
                                                + Ordering +
                                                  + +
                                                1. Alphabetic
                                                2. +
                                                3. By Inheritance
                                                4. +
                                                +
                                                +
                                                + Inherited
                                                +
                                                +
                                                  +
                                                1. HttpIngestionResponse
                                                2. Serializable
                                                3. Serializable
                                                4. Product
                                                5. Equals
                                                6. AnyRef
                                                7. Any
                                                8. +
                                                +
                                                + +
                                                  +
                                                1. Hide All
                                                2. +
                                                3. Show All
                                                4. +
                                                +
                                                +
                                                + Visibility +
                                                1. Public
                                                2. All
                                                +
                                                +
                                                + +
                                                +
                                                +
                                                +

                                                Instance Constructors

                                                +
                                                1. + + +

                                                  + + + new + + + HttpIngestionResponse(data: String, statusCode: StatusCode = StatusCodes.OK, message: String = "OK") + +

                                                  + + Permalink + + + +
                                                +
                                                + + + + + +
                                                +

                                                Value Members

                                                +
                                                1. + + +

                                                  + + final + def + + + !=(arg0: Any): Boolean + +

                                                  + + Permalink + + +
                                                  Definition Classes
                                                  AnyRef → Any
                                                  +
                                                2. + + +

                                                  + + final + def + + + ##(): Int + +

                                                  + + Permalink + + +
                                                  Definition Classes
                                                  AnyRef → Any
                                                  +
                                                3. + + +

                                                  + + final + def + + + ==(arg0: Any): Boolean + +

                                                  + + Permalink + + +
                                                  Definition Classes
                                                  AnyRef → Any
                                                  +
                                                4. + + +

                                                  + + final + def + + + asInstanceOf[T0]: T0 + +

                                                  + + Permalink + + +
                                                  Definition Classes
                                                  Any
                                                  +
                                                5. + + +

                                                  + + + def + + + clone(): AnyRef + +

                                                  + + Permalink + + +
                                                  Attributes
                                                  protected[java.lang]
                                                  Definition Classes
                                                  AnyRef
                                                  Annotations
                                                  + @throws( + + ... + ) + +
                                                  +
                                                6. + + +

                                                  + + + val + + + data: String + +

                                                  + + Permalink + + + +
                                                7. + + +

                                                  + + final + def + + + eq(arg0: AnyRef): Boolean + +

                                                  + + Permalink + + +
                                                  Definition Classes
                                                  AnyRef
                                                  +
                                                8. + + +

                                                  + + + def + + + finalize(): Unit + +

                                                  + + Permalink + + +
                                                  Attributes
                                                  protected[java.lang]
                                                  Definition Classes
                                                  AnyRef
                                                  Annotations
                                                  + @throws( + + classOf[java.lang.Throwable] + ) + +
                                                  +
                                                9. + + +

                                                  + + final + def + + + getClass(): Class[_] + +

                                                  + + Permalink + + +
                                                  Definition Classes
                                                  AnyRef → Any
                                                  +
                                                10. + + +

                                                  + + final + def + + + isInstanceOf[T0]: Boolean + +

                                                  + + Permalink + + +
                                                  Definition Classes
                                                  Any
                                                  +
                                                11. + + +

                                                  + + + val + + + message: String + +

                                                  + + Permalink + + + +
                                                12. + + +

                                                  + + final + def + + + ne(arg0: AnyRef): Boolean + +

                                                  + + Permalink + + +
                                                  Definition Classes
                                                  AnyRef
                                                  +
                                                13. + + +

                                                  + + final + def + + + notify(): Unit + +

                                                  + + Permalink + + +
                                                  Definition Classes
                                                  AnyRef
                                                  +
                                                14. + + +

                                                  + + final + def + + + notifyAll(): Unit + +

                                                  + + Permalink + + +
                                                  Definition Classes
                                                  AnyRef
                                                  +
                                                15. + + +

                                                  + + + val + + + statusCode: StatusCode + +

                                                  + + Permalink + + + +
                                                16. + + +

                                                  + + final + def + + + synchronized[T0](arg0: ⇒ T0): T0 + +

                                                  + + Permalink + + +
                                                  Definition Classes
                                                  AnyRef
                                                  +
                                                17. + + +

                                                  + + final + def + + + wait(): Unit + +

                                                  + + Permalink + + +
                                                  Definition Classes
                                                  AnyRef
                                                  Annotations
                                                  + @throws( + + ... + ) + +
                                                  +
                                                18. + + +

                                                  + + final + def + + + wait(arg0: Long, arg1: Int): Unit + +

                                                  + + Permalink + + +
                                                  Definition Classes
                                                  AnyRef
                                                  Annotations
                                                  + @throws( + + ... + ) + +
                                                  +
                                                19. + + +

                                                  + + final + def + + + wait(arg0: Long): Unit + +

                                                  + + Permalink + + +
                                                  Definition Classes
                                                  AnyRef
                                                  Annotations
                                                  + @throws( + + ... + ) + +
                                                  +
                                                +
                                                + + + + +
                                                + +
                                                +
                                                +

                                                Inherited from Serializable

                                                +
                                                +

                                                Inherited from Serializable

                                                +
                                                +

                                                Inherited from Product

                                                +
                                                +

                                                Inherited from Equals

                                                +
                                                +

                                                Inherited from AnyRef

                                                +
                                                +

                                                Inherited from Any

                                                +
                                                + +
                                                + +
                                                +
                                                +

                                                Ungrouped

                                                + +
                                                +
                                                + +
                                                + +
                                                + + + + + + diff --git a/manual1903/api_reference/components/scaladocs/ksb/csle/component/ingestion/common/package.html b/manual1903/api_reference/components/scaladocs/ksb/csle/component/ingestion/common/package.html new file mode 100644 index 0000000000000000000000000000000000000000..91f96e372c6d95bd1d94a30a040132fea6f7b10e --- /dev/null +++ b/manual1903/api_reference/components/scaladocs/ksb/csle/component/ingestion/common/package.html @@ -0,0 +1,181 @@ + + + + common - KSB COMPONENTS Scala App Project 1.0-SNAPSHOT API - ksb.csle.component.ingestion.common + + + + + + + + + + + + + + + +
                                                + Package +

                                                ksb.csle.component.ingestion

                                                +

                                                common

                                                + + Permalink + + +
                                                + +

                                                + + + package + + + common + +

                                                + +
                                                + Linear Supertypes +
                                                AnyRef, Any
                                                +
                                                + + +
                                                +
                                                +
                                                + Ordering +
                                                  + +
                                                1. Alphabetic
                                                2. +
                                                3. By Inheritance
                                                4. +
                                                +
                                                +
                                                + Inherited
                                                +
                                                +
                                                  +
                                                1. common
                                                2. AnyRef
                                                3. Any
                                                4. +
                                                +
                                                + +
                                                  +
                                                1. Hide All
                                                2. +
                                                3. Show All
                                                4. +
                                                +
                                                +
                                                + Visibility +
                                                1. Public
                                                2. All
                                                +
                                                +
                                                + +
                                                +
                                                + + +
                                                +

                                                Type Members

                                                +
                                                1. + + +

                                                  + + + case class + + + HttpIngestionRequest(content: String, contentType: Option[String] = None, headers: Option[Map[String, String]] = None) extends Product with Serializable + +

                                                  + + Permalink + + +

                                                  HTTP ingestion request message.

                                                  +
                                                2. + + +

                                                  + + + case class + + + HttpIngestionResponse(data: String, statusCode: StatusCode = StatusCodes.OK, message: String = "OK") extends Product with Serializable + +

                                                  + + Permalink + + +

                                                  HTTP ingestion response message.

                                                  +
                                                +
                                                + + + +
                                                +

                                                Value Members

                                                +
                                                1. + + +

                                                  + + + def + + + defaultHttpIngestionHandler(req: HttpIngestionRequest): HttpIngestionResponse + +

                                                  + + Permalink + + +

                                                  Default function to handle HTTP ingestion request.

                                                  +
                                                +
                                                + + + + +
                                                + +
                                                +
                                                +

                                                Inherited from AnyRef

                                                +
                                                +

                                                Inherited from Any

                                                +
                                                + +
                                                + +
                                                +
                                                +

                                                Ungrouped

                                                + +
                                                +
                                                + +
                                                + +
                                                + + + + + + diff --git a/manual1903/api_reference/components/scaladocs/ksb/csle/component/ingestion/package.html b/manual1903/api_reference/components/scaladocs/ksb/csle/component/ingestion/package.html new file mode 100644 index 0000000000000000000000000000000000000000..3eb4fa7949268df64d17835e2e4e9728cfeff17b --- /dev/null +++ b/manual1903/api_reference/components/scaladocs/ksb/csle/component/ingestion/package.html @@ -0,0 +1,152 @@ + + + + ingestion - KSB COMPONENTS Scala App Project 1.0-SNAPSHOT API - ksb.csle.component.ingestion + + + + + + + + + + + + + + + +
                                                + Package +

                                                ksb.csle.component

                                                +

                                                ingestion

                                                + + Permalink + + +
                                                + +

                                                + + + package + + + ingestion + +

                                                + +
                                                + + +
                                                +
                                                + + +
                                                + Visibility +
                                                1. Public
                                                2. All
                                                +
                                                +
                                                + +
                                                +
                                                + + + + + + +
                                                +

                                                Value Members

                                                +
                                                1. + + +

                                                  + + + package + + + common + +

                                                  + + Permalink + + + +
                                                2. + + +

                                                  + + + package + + + receiver + +

                                                  + + Permalink + + + +
                                                3. + + +

                                                  + + + package + + + util + +

                                                  + + Permalink + + + +
                                                +
                                                + + + + +
                                                + +
                                                + + +
                                                + +
                                                +
                                                +

                                                Ungrouped

                                                + +
                                                +
                                                + +
                                                + +
                                                + + + + + + diff --git a/manual1903/api_reference/components/scaladocs/ksb/csle/component/ingestion/receiver/HttpDeleteResponseReceiver$StopArgs.html b/manual1903/api_reference/components/scaladocs/ksb/csle/component/ingestion/receiver/HttpDeleteResponseReceiver$StopArgs.html new file mode 100644 index 0000000000000000000000000000000000000000..2019a37301b0ca929c9d674c272908bf07361612 --- /dev/null +++ b/manual1903/api_reference/components/scaladocs/ksb/csle/component/ingestion/receiver/HttpDeleteResponseReceiver$StopArgs.html @@ -0,0 +1,493 @@ + + + + StopArgs - KSB COMPONENTS Scala App Project 1.0-SNAPSHOT API - ksb.csle.component.ingestion.receiver.HttpDeleteResponseReceiver.StopArgs + + + + + + + + + + + + + + + + + +

                                                + + + case class + + + StopArgs(system: ActorSystem, wsClient: AhcWSClient) extends Product with Serializable + +

                                                + +
                                                + Linear Supertypes +
                                                Serializable, Serializable, Product, Equals, AnyRef, Any
                                                +
                                                + + +
                                                +
                                                +
                                                + Ordering +
                                                  + +
                                                1. Alphabetic
                                                2. +
                                                3. By Inheritance
                                                4. +
                                                +
                                                +
                                                + Inherited
                                                +
                                                +
                                                  +
                                                1. StopArgs
                                                2. Serializable
                                                3. Serializable
                                                4. Product
                                                5. Equals
                                                6. AnyRef
                                                7. Any
                                                8. +
                                                +
                                                + +
                                                  +
                                                1. Hide All
                                                2. +
                                                3. Show All
                                                4. +
                                                +
                                                +
                                                + Visibility +
                                                1. Public
                                                2. All
                                                +
                                                +
                                                + +
                                                +
                                                +
                                                +

                                                Instance Constructors

                                                +
                                                1. + + +

                                                  + + + new + + + StopArgs(system: ActorSystem, wsClient: AhcWSClient) + +

                                                  + + Permalink + + + +
                                                +
                                                + + + + + +
                                                +

                                                Value Members

                                                +
                                                1. + + +

                                                  + + final + def + + + !=(arg0: Any): Boolean + +

                                                  + + Permalink + + +
                                                  Definition Classes
                                                  AnyRef → Any
                                                  +
                                                2. + + +

                                                  + + final + def + + + ##(): Int + +

                                                  + + Permalink + + +
                                                  Definition Classes
                                                  AnyRef → Any
                                                  +
                                                3. + + +

                                                  + + final + def + + + ==(arg0: Any): Boolean + +

                                                  + + Permalink + + +
                                                  Definition Classes
                                                  AnyRef → Any
                                                  +
                                                4. + + +

                                                  + + final + def + + + asInstanceOf[T0]: T0 + +

                                                  + + Permalink + + +
                                                  Definition Classes
                                                  Any
                                                  +
                                                5. + + +

                                                  + + + def + + + clone(): AnyRef + +

                                                  + + Permalink + + +
                                                  Attributes
                                                  protected[java.lang]
                                                  Definition Classes
                                                  AnyRef
                                                  Annotations
                                                  + @throws( + + ... + ) + +
                                                  +
                                                6. + + +

                                                  + + final + def + + + eq(arg0: AnyRef): Boolean + +

                                                  + + Permalink + + +
                                                  Definition Classes
                                                  AnyRef
                                                  +
                                                7. + + +

                                                  + + + def + + + finalize(): Unit + +

                                                  + + Permalink + + +
                                                  Attributes
                                                  protected[java.lang]
                                                  Definition Classes
                                                  AnyRef
                                                  Annotations
                                                  + @throws( + + classOf[java.lang.Throwable] + ) + +
                                                  +
                                                8. + + +

                                                  + + final + def + + + getClass(): Class[_] + +

                                                  + + Permalink + + +
                                                  Definition Classes
                                                  AnyRef → Any
                                                  +
                                                9. + + +

                                                  + + final + def + + + isInstanceOf[T0]: Boolean + +

                                                  + + Permalink + + +
                                                  Definition Classes
                                                  Any
                                                  +
                                                10. + + +

                                                  + + final + def + + + ne(arg0: AnyRef): Boolean + +

                                                  + + Permalink + + +
                                                  Definition Classes
                                                  AnyRef
                                                  +
                                                11. + + +

                                                  + + final + def + + + notify(): Unit + +

                                                  + + Permalink + + +
                                                  Definition Classes
                                                  AnyRef
                                                  +
                                                12. + + +

                                                  + + final + def + + + notifyAll(): Unit + +

                                                  + + Permalink + + +
                                                  Definition Classes
                                                  AnyRef
                                                  +
                                                13. + + +

                                                  + + final + def + + + synchronized[T0](arg0: ⇒ T0): T0 + +

                                                  + + Permalink + + +
                                                  Definition Classes
                                                  AnyRef
                                                  +
                                                14. + + +

                                                  + + + val + + + system: ActorSystem + +

                                                  + + Permalink + + + +
                                                15. + + +

                                                  + + final + def + + + wait(): Unit + +

                                                  + + Permalink + + +
                                                  Definition Classes
                                                  AnyRef
                                                  Annotations
                                                  + @throws( + + ... + ) + +
                                                  +
                                                16. + + +

                                                  + + final + def + + + wait(arg0: Long, arg1: Int): Unit + +

                                                  + + Permalink + + +
                                                  Definition Classes
                                                  AnyRef
                                                  Annotations
                                                  + @throws( + + ... + ) + +
                                                  +
                                                17. + + +

                                                  + + final + def + + + wait(arg0: Long): Unit + +

                                                  + + Permalink + + +
                                                  Definition Classes
                                                  AnyRef
                                                  Annotations
                                                  + @throws( + + ... + ) + +
                                                  +
                                                18. + + +

                                                  + + + val + + + wsClient: AhcWSClient + +

                                                  + + Permalink + + + +
                                                +
                                                + + + + +
                                                + +
                                                +
                                                +

                                                Inherited from Serializable

                                                +
                                                +

                                                Inherited from Serializable

                                                +
                                                +

                                                Inherited from Product

                                                +
                                                +

                                                Inherited from Equals

                                                +
                                                +

                                                Inherited from AnyRef

                                                +
                                                +

                                                Inherited from Any

                                                +
                                                + +
                                                + +
                                                +
                                                +

                                                Ungrouped

                                                + +
                                                +
                                                + +
                                                + +
                                                + + + + + + diff --git a/manual1903/api_reference/components/scaladocs/ksb/csle/component/ingestion/receiver/HttpDeleteResponseReceiver.html b/manual1903/api_reference/components/scaladocs/ksb/csle/component/ingestion/receiver/HttpDeleteResponseReceiver.html new file mode 100644 index 0000000000000000000000000000000000000000..acb889e5f869df5c57daa5e4853e149a2437931f --- /dev/null +++ b/manual1903/api_reference/components/scaladocs/ksb/csle/component/ingestion/receiver/HttpDeleteResponseReceiver.html @@ -0,0 +1,1027 @@ + + + + HttpDeleteResponseReceiver - KSB COMPONENTS Scala App Project 1.0-SNAPSHOT API - ksb.csle.component.ingestion.receiver.HttpDeleteResponseReceiver + + + + + + + + + + + + + + + +
                                                + Class +

                                                ksb.csle.component.ingestion.receiver

                                                +

                                                HttpDeleteResponseReceiver

                                                Related Doc: + package receiver +

                                                + + Permalink + + +
                                                + +

                                                + + final + class + + + HttpDeleteResponseReceiver extends Receiver[String] with Logging + +

                                                + +

                                                :: ApplicationDeveloperApi ::

                                                After sending a post request to the http server, +it stores the received response in spark memory. +

                                                + Linear Supertypes +
                                                Logging, Receiver[String], Serializable, Serializable, AnyRef, Any
                                                +
                                                + + +
                                                +
                                                +
                                                + Ordering +
                                                  + +
                                                1. Alphabetic
                                                2. +
                                                3. By Inheritance
                                                4. +
                                                +
                                                +
                                                + Inherited
                                                +
                                                +
                                                  +
                                                1. HttpDeleteResponseReceiver
                                                2. Logging
                                                3. Receiver
                                                4. Serializable
                                                5. Serializable
                                                6. AnyRef
                                                7. Any
                                                8. +
                                                +
                                                + +
                                                  +
                                                1. Hide All
                                                2. +
                                                3. Show All
                                                4. +
                                                +
                                                +
                                                + Visibility +
                                                1. Public
                                                2. All
                                                +
                                                +
                                                + +
                                                +
                                                +
                                                +

                                                Instance Constructors

                                                +
                                                1. + + +

                                                  + + + new + + + HttpDeleteResponseReceiver(name: String, url: String, params: Map[String, String], headers: Map[String, String]) + +

                                                  + + Permalink + + +

                                                  name

                                                  name of http post receiver actor

                                                  url

                                                  target http server url includes hostname, port, and path

                                                  params

                                                  http params

                                                  headers

                                                  http headers

                                                  +
                                                +
                                                + +
                                                +

                                                Type Members

                                                +
                                                1. + + +

                                                  + + + case class + + + StopArgs(system: ActorSystem, wsClient: AhcWSClient) extends Product with Serializable + +

                                                  + + Permalink + + + +
                                                +
                                                + + + +
                                                +

                                                Value Members

                                                +
                                                1. + + +

                                                  + + final + def + + + !=(arg0: Any): Boolean + +

                                                  + + Permalink + + +
                                                  Definition Classes
                                                  AnyRef → Any
                                                  +
                                                2. + + +

                                                  + + final + def + + + ##(): Int + +

                                                  + + Permalink + + +
                                                  Definition Classes
                                                  AnyRef → Any
                                                  +
                                                3. + + +

                                                  + + final + def + + + ==(arg0: Any): Boolean + +

                                                  + + Permalink + + +
                                                  Definition Classes
                                                  AnyRef → Any
                                                  +
                                                4. + + +

                                                  + + + val + + + REQUEST_TIMEOUT: FiniteDuration + +

                                                  + + Permalink + + + +
                                                5. + + +

                                                  + + final + def + + + asInstanceOf[T0]: T0 + +

                                                  + + Permalink + + +
                                                  Definition Classes
                                                  Any
                                                  +
                                                6. + + +

                                                  + + + def + + + clone(): AnyRef + +

                                                  + + Permalink + + +
                                                  Attributes
                                                  protected[java.lang]
                                                  Definition Classes
                                                  AnyRef
                                                  Annotations
                                                  + @throws( + + ... + ) + +
                                                  +
                                                7. + + +

                                                  + + final + def + + + eq(arg0: AnyRef): Boolean + +

                                                  + + Permalink + + +
                                                  Definition Classes
                                                  AnyRef
                                                  +
                                                8. + + +

                                                  + + + def + + + equals(arg0: Any): Boolean + +

                                                  + + Permalink + + +
                                                  Definition Classes
                                                  AnyRef → Any
                                                  +
                                                9. + + +

                                                  + + + def + + + finalize(): Unit + +

                                                  + + Permalink + + +
                                                  Attributes
                                                  protected[java.lang]
                                                  Definition Classes
                                                  AnyRef
                                                  Annotations
                                                  + @throws( + + classOf[java.lang.Throwable] + ) + +
                                                  +
                                                10. + + +

                                                  + + final + def + + + getClass(): Class[_] + +

                                                  + + Permalink + + +
                                                  Definition Classes
                                                  AnyRef → Any
                                                  +
                                                11. + + +

                                                  + + + def + + + hashCode(): Int + +

                                                  + + Permalink + + +
                                                  Definition Classes
                                                  AnyRef → Any
                                                  +
                                                12. + + +

                                                  + + + val + + + headers: Map[String, String] + +

                                                  + + Permalink + + +

                                                  http headers

                                                  +
                                                13. + + +

                                                  + + final + def + + + isInstanceOf[T0]: Boolean + +

                                                  + + Permalink + + +
                                                  Definition Classes
                                                  Any
                                                  +
                                                14. + + +

                                                  + + + def + + + isStarted(): Boolean + +

                                                  + + Permalink + + +
                                                  Definition Classes
                                                  Receiver
                                                  +
                                                15. + + +

                                                  + + + def + + + isStopped(): Boolean + +

                                                  + + Permalink + + +
                                                  Definition Classes
                                                  Receiver
                                                  +
                                                16. + + +

                                                  + + + val + + + logger: Logger + +

                                                  + + Permalink + + +
                                                  Attributes
                                                  protected
                                                  Definition Classes
                                                  Logging
                                                  +
                                                17. + + +

                                                  + + + val + + + name: String + +

                                                  + + Permalink + + +

                                                  name of http post receiver actor

                                                  +
                                                18. + + +

                                                  + + final + def + + + ne(arg0: AnyRef): Boolean + +

                                                  + + Permalink + + +
                                                  Definition Classes
                                                  AnyRef
                                                  +
                                                19. + + +

                                                  + + final + def + + + notify(): Unit + +

                                                  + + Permalink + + +
                                                  Definition Classes
                                                  AnyRef
                                                  +
                                                20. + + +

                                                  + + final + def + + + notifyAll(): Unit + +

                                                  + + Permalink + + +
                                                  Definition Classes
                                                  AnyRef
                                                  +
                                                21. + + +

                                                  + + + def + + + onStart(): Unit + +

                                                  + + Permalink + + +

                                                  Start to receive response from http server.

                                                  Start to receive response from http server. +

                                                  Definition Classes
                                                  HttpDeleteResponseReceiver → Receiver
                                                  +
                                                22. + + +

                                                  + + + def + + + onStop(): Unit + +

                                                  + + Permalink + + +

                                                  Stop to receive response from http server.

                                                  Stop to receive response from http server. +

                                                  Definition Classes
                                                  HttpDeleteResponseReceiver → Receiver
                                                  +
                                                23. + + +

                                                  + + + val + + + params: Map[String, String] + +

                                                  + + Permalink + + +

                                                  http params

                                                  +
                                                24. + + +

                                                  + + + def + + + preferredLocation: Option[String] + +

                                                  + + Permalink + + +
                                                  Definition Classes
                                                  Receiver
                                                  +
                                                25. + + +

                                                  + + + def + + + reportError(message: String, throwable: Throwable): Unit + +

                                                  + + Permalink + + +
                                                  Definition Classes
                                                  Receiver
                                                  +
                                                26. + + +

                                                  + + + def + + + restart(message: String, error: Throwable, millisecond: Int): Unit + +

                                                  + + Permalink + + +
                                                  Definition Classes
                                                  Receiver
                                                  +
                                                27. + + +

                                                  + + + def + + + restart(message: String, error: Throwable): Unit + +

                                                  + + Permalink + + +
                                                  Definition Classes
                                                  Receiver
                                                  +
                                                28. + + +

                                                  + + + def + + + restart(message: String): Unit + +

                                                  + + Permalink + + +
                                                  Definition Classes
                                                  Receiver
                                                  +
                                                29. + + +

                                                  + + + def + + + stop(message: String, error: Throwable): Unit + +

                                                  + + Permalink + + +
                                                  Definition Classes
                                                  Receiver
                                                  +
                                                30. + + +

                                                  + + + def + + + stop(message: String): Unit + +

                                                  + + Permalink + + +
                                                  Definition Classes
                                                  Receiver
                                                  +
                                                31. + + +

                                                  + + + var + + + stopArgs: StopArgs + +

                                                  + + Permalink + + + +
                                                32. + + +

                                                  + + + val + + + storageLevel: StorageLevel + +

                                                  + + Permalink + + +
                                                  Definition Classes
                                                  Receiver
                                                  +
                                                33. + + +

                                                  + + + def + + + store(bytes: ByteBuffer, metadata: Any): Unit + +

                                                  + + Permalink + + +
                                                  Definition Classes
                                                  Receiver
                                                  +
                                                34. + + +

                                                  + + + def + + + store(bytes: ByteBuffer): Unit + +

                                                  + + Permalink + + +
                                                  Definition Classes
                                                  Receiver
                                                  +
                                                35. + + +

                                                  + + + def + + + store(dataIterator: Iterator[String], metadata: Any): Unit + +

                                                  + + Permalink + + +
                                                  Definition Classes
                                                  Receiver
                                                  +
                                                36. + + +

                                                  + + + def + + + store(dataIterator: Iterator[String]): Unit + +

                                                  + + Permalink + + +
                                                  Definition Classes
                                                  Receiver
                                                  +
                                                37. + + +

                                                  + + + def + + + store(dataIterator: Iterator[String], metadata: Any): Unit + +

                                                  + + Permalink + + +
                                                  Definition Classes
                                                  Receiver
                                                  +
                                                38. + + +

                                                  + + + def + + + store(dataIterator: Iterator[String]): Unit + +

                                                  + + Permalink + + +
                                                  Definition Classes
                                                  Receiver
                                                  +
                                                39. + + +

                                                  + + + def + + + store(dataBuffer: ArrayBuffer[String], metadata: Any): Unit + +

                                                  + + Permalink + + +
                                                  Definition Classes
                                                  Receiver
                                                  +
                                                40. + + +

                                                  + + + def + + + store(dataBuffer: ArrayBuffer[String]): Unit + +

                                                  + + Permalink + + +
                                                  Definition Classes
                                                  Receiver
                                                  +
                                                41. + + +

                                                  + + + def + + + store(dataItem: String): Unit + +

                                                  + + Permalink + + +
                                                  Definition Classes
                                                  Receiver
                                                  +
                                                42. + + +

                                                  + + + def + + + streamId: Int + +

                                                  + + Permalink + + +
                                                  Definition Classes
                                                  Receiver
                                                  +
                                                43. + + +

                                                  + + final + def + + + synchronized[T0](arg0: ⇒ T0): T0 + +

                                                  + + Permalink + + +
                                                  Definition Classes
                                                  AnyRef
                                                  +
                                                44. + + +

                                                  + + + def + + + toString(): String + +

                                                  + + Permalink + + +
                                                  Definition Classes
                                                  AnyRef → Any
                                                  +
                                                45. + + +

                                                  + + + val + + + url: String + +

                                                  + + Permalink + + +

                                                  target http server url includes hostname, port, and path

                                                  +
                                                46. + + +

                                                  + + final + def + + + wait(): Unit + +

                                                  + + Permalink + + +
                                                  Definition Classes
                                                  AnyRef
                                                  Annotations
                                                  + @throws( + + ... + ) + +
                                                  +
                                                47. + + +

                                                  + + final + def + + + wait(arg0: Long, arg1: Int): Unit + +

                                                  + + Permalink + + +
                                                  Definition Classes
                                                  AnyRef
                                                  Annotations
                                                  + @throws( + + ... + ) + +
                                                  +
                                                48. + + +

                                                  + + final + def + + + wait(arg0: Long): Unit + +

                                                  + + Permalink + + +
                                                  Definition Classes
                                                  AnyRef
                                                  Annotations
                                                  + @throws( + + ... + ) + +
                                                  +
                                                +
                                                + + + + +
                                                + +
                                                +
                                                +

                                                Inherited from Logging

                                                +
                                                +

                                                Inherited from Receiver[String]

                                                +
                                                +

                                                Inherited from Serializable

                                                +
                                                +

                                                Inherited from Serializable

                                                +
                                                +

                                                Inherited from AnyRef

                                                +
                                                +

                                                Inherited from Any

                                                +
                                                + +
                                                + +
                                                +
                                                +

                                                Ungrouped

                                                + +
                                                +
                                                + +
                                                + +
                                                + + + + + + diff --git a/manual1903/api_reference/components/scaladocs/ksb/csle/component/ingestion/receiver/HttpGetResponseReceiver$StopArgs.html b/manual1903/api_reference/components/scaladocs/ksb/csle/component/ingestion/receiver/HttpGetResponseReceiver$StopArgs.html new file mode 100644 index 0000000000000000000000000000000000000000..f32d6674467c972c726d0970c5173f9a0813cc2e --- /dev/null +++ b/manual1903/api_reference/components/scaladocs/ksb/csle/component/ingestion/receiver/HttpGetResponseReceiver$StopArgs.html @@ -0,0 +1,493 @@ + + + + StopArgs - KSB COMPONENTS Scala App Project 1.0-SNAPSHOT API - ksb.csle.component.ingestion.receiver.HttpGetResponseReceiver.StopArgs + + + + + + + + + + + + + + + + + +

                                                + + + case class + + + StopArgs(system: ActorSystem, wsClient: AhcWSClient) extends Product with Serializable + +

                                                + +
                                                + Linear Supertypes +
                                                Serializable, Serializable, Product, Equals, AnyRef, Any
                                                +
                                                + + +
                                                +
                                                +
                                                + Ordering +
                                                  + +
                                                1. Alphabetic
                                                2. +
                                                3. By Inheritance
                                                4. +
                                                +
                                                +
                                                + Inherited
                                                +
                                                +
                                                  +
                                                1. StopArgs
                                                2. Serializable
                                                3. Serializable
                                                4. Product
                                                5. Equals
                                                6. AnyRef
                                                7. Any
                                                8. +
                                                +
                                                + +
                                                  +
                                                1. Hide All
                                                2. +
                                                3. Show All
                                                4. +
                                                +
                                                +
                                                + Visibility +
                                                1. Public
                                                2. All
                                                +
                                                +
                                                + +
                                                +
                                                +
                                                +

                                                Instance Constructors

                                                +
                                                1. + + +

                                                  + + + new + + + StopArgs(system: ActorSystem, wsClient: AhcWSClient) + +

                                                  + + Permalink + + + +
                                                +
                                                + + + + + +
                                                +

                                                Value Members

                                                +
                                                1. + + +

                                                  + + final + def + + + !=(arg0: Any): Boolean + +

                                                  + + Permalink + + +
                                                  Definition Classes
                                                  AnyRef → Any
                                                  +
                                                2. + + +

                                                  + + final + def + + + ##(): Int + +

                                                  + + Permalink + + +
                                                  Definition Classes
                                                  AnyRef → Any
                                                  +
                                                3. + + +

                                                  + + final + def + + + ==(arg0: Any): Boolean + +

                                                  + + Permalink + + +
                                                  Definition Classes
                                                  AnyRef → Any
                                                  +
                                                4. + + +

                                                  + + final + def + + + asInstanceOf[T0]: T0 + +

                                                  + + Permalink + + +
                                                  Definition Classes
                                                  Any
                                                  +
                                                5. + + +

                                                  + + + def + + + clone(): AnyRef + +

                                                  + + Permalink + + +
                                                  Attributes
                                                  protected[java.lang]
                                                  Definition Classes
                                                  AnyRef
                                                  Annotations
                                                  + @throws( + + ... + ) + +
                                                  +
                                                6. + + +

                                                  + + final + def + + + eq(arg0: AnyRef): Boolean + +

                                                  + + Permalink + + +
                                                  Definition Classes
                                                  AnyRef
                                                  +
                                                7. + + +

                                                  + + + def + + + finalize(): Unit + +

                                                  + + Permalink + + +
                                                  Attributes
                                                  protected[java.lang]
                                                  Definition Classes
                                                  AnyRef
                                                  Annotations
                                                  + @throws( + + classOf[java.lang.Throwable] + ) + +
                                                  +
                                                8. + + +

                                                  + + final + def + + + getClass(): Class[_] + +

                                                  + + Permalink + + +
                                                  Definition Classes
                                                  AnyRef → Any
                                                  +
                                                9. + + +

                                                  + + final + def + + + isInstanceOf[T0]: Boolean + +

                                                  + + Permalink + + +
                                                  Definition Classes
                                                  Any
                                                  +
                                                10. + + +

                                                  + + final + def + + + ne(arg0: AnyRef): Boolean + +

                                                  + + Permalink + + +
                                                  Definition Classes
                                                  AnyRef
                                                  +
                                                11. + + +

                                                  + + final + def + + + notify(): Unit + +

                                                  + + Permalink + + +
                                                  Definition Classes
                                                  AnyRef
                                                  +
                                                12. + + +

                                                  + + final + def + + + notifyAll(): Unit + +

                                                  + + Permalink + + +
                                                  Definition Classes
                                                  AnyRef
                                                  +
                                                13. + + +

                                                  + + final + def + + + synchronized[T0](arg0: ⇒ T0): T0 + +

                                                  + + Permalink + + +
                                                  Definition Classes
                                                  AnyRef
                                                  +
                                                14. + + +

                                                  + + + val + + + system: ActorSystem + +

                                                  + + Permalink + + + +
                                                15. + + +

                                                  + + final + def + + + wait(): Unit + +

                                                  + + Permalink + + +
                                                  Definition Classes
                                                  AnyRef
                                                  Annotations
                                                  + @throws( + + ... + ) + +
                                                  +
                                                16. + + +

                                                  + + final + def + + + wait(arg0: Long, arg1: Int): Unit + +

                                                  + + Permalink + + +
                                                  Definition Classes
                                                  AnyRef
                                                  Annotations
                                                  + @throws( + + ... + ) + +
                                                  +
                                                17. + + +

                                                  + + final + def + + + wait(arg0: Long): Unit + +

                                                  + + Permalink + + +
                                                  Definition Classes
                                                  AnyRef
                                                  Annotations
                                                  + @throws( + + ... + ) + +
                                                  +
                                                18. + + +

                                                  + + + val + + + wsClient: AhcWSClient + +

                                                  + + Permalink + + + +
                                                +
                                                + + + + +
                                                + +
                                                +
                                                +

                                                Inherited from Serializable

                                                +
                                                +

                                                Inherited from Serializable

                                                +
                                                +

                                                Inherited from Product

                                                +
                                                +

                                                Inherited from Equals

                                                +
                                                +

                                                Inherited from AnyRef

                                                +
                                                +

                                                Inherited from Any

                                                +
                                                + +
                                                + +
                                                +
                                                +

                                                Ungrouped

                                                + +
                                                +
                                                + +
                                                + +
                                                + + + + + + diff --git a/manual1903/api_reference/components/scaladocs/ksb/csle/component/ingestion/receiver/HttpGetResponseReceiver.html b/manual1903/api_reference/components/scaladocs/ksb/csle/component/ingestion/receiver/HttpGetResponseReceiver.html new file mode 100644 index 0000000000000000000000000000000000000000..b3e64ac6583830c89c618cab369031d36965ade0 --- /dev/null +++ b/manual1903/api_reference/components/scaladocs/ksb/csle/component/ingestion/receiver/HttpGetResponseReceiver.html @@ -0,0 +1,1027 @@ + + + + HttpGetResponseReceiver - KSB COMPONENTS Scala App Project 1.0-SNAPSHOT API - ksb.csle.component.ingestion.receiver.HttpGetResponseReceiver + + + + + + + + + + + + + + + +
                                                + Class +

                                                ksb.csle.component.ingestion.receiver

                                                +

                                                HttpGetResponseReceiver

                                                Related Doc: + package receiver +

                                                + + Permalink + + +
                                                + +

                                                + + final + class + + + HttpGetResponseReceiver extends Receiver[String] with Logging + +

                                                + +

                                                :: ApplicationDeveloperApi ::

                                                After sending a get request to the http server, +it stores the received response in spark memory. +

                                                + Linear Supertypes +
                                                Logging, Receiver[String], Serializable, Serializable, AnyRef, Any
                                                +
                                                + + +
                                                +
                                                +
                                                + Ordering +
                                                  + +
                                                1. Alphabetic
                                                2. +
                                                3. By Inheritance
                                                4. +
                                                +
                                                +
                                                + Inherited
                                                +
                                                +
                                                  +
                                                1. HttpGetResponseReceiver
                                                2. Logging
                                                3. Receiver
                                                4. Serializable
                                                5. Serializable
                                                6. AnyRef
                                                7. Any
                                                8. +
                                                +
                                                + +
                                                  +
                                                1. Hide All
                                                2. +
                                                3. Show All
                                                4. +
                                                +
                                                +
                                                + Visibility +
                                                1. Public
                                                2. All
                                                +
                                                +
                                                + +
                                                +
                                                +
                                                +

                                                Instance Constructors

                                                +
                                                1. + + +

                                                  + + + new + + + HttpGetResponseReceiver(name: String, url: String, params: Map[String, String], headers: Map[String, String]) + +

                                                  + + Permalink + + +

                                                  name

                                                  name of http post receiver actor

                                                  url

                                                  target http server url includes hostname, port, and path

                                                  params

                                                  http params

                                                  headers

                                                  http headers

                                                  +
                                                +
                                                + +
                                                +

                                                Type Members

                                                +
                                                1. + + +

                                                  + + + case class + + + StopArgs(system: ActorSystem, wsClient: AhcWSClient) extends Product with Serializable + +

                                                  + + Permalink + + + +
                                                +
                                                + + + +
                                                +

                                                Value Members

                                                +
                                                1. + + +

                                                  + + final + def + + + !=(arg0: Any): Boolean + +

                                                  + + Permalink + + +
                                                  Definition Classes
                                                  AnyRef → Any
                                                  +
                                                2. + + +

                                                  + + final + def + + + ##(): Int + +

                                                  + + Permalink + + +
                                                  Definition Classes
                                                  AnyRef → Any
                                                  +
                                                3. + + +

                                                  + + final + def + + + ==(arg0: Any): Boolean + +

                                                  + + Permalink + + +
                                                  Definition Classes
                                                  AnyRef → Any
                                                  +
                                                4. + + +

                                                  + + + val + + + REQUEST_TIMEOUT: FiniteDuration + +

                                                  + + Permalink + + + +
                                                5. + + +

                                                  + + final + def + + + asInstanceOf[T0]: T0 + +

                                                  + + Permalink + + +
                                                  Definition Classes
                                                  Any
                                                  +
                                                6. + + +

                                                  + + + def + + + clone(): AnyRef + +

                                                  + + Permalink + + +
                                                  Attributes
                                                  protected[java.lang]
                                                  Definition Classes
                                                  AnyRef
                                                  Annotations
                                                  + @throws( + + ... + ) + +
                                                  +
                                                7. + + +

                                                  + + final + def + + + eq(arg0: AnyRef): Boolean + +

                                                  + + Permalink + + +
                                                  Definition Classes
                                                  AnyRef
                                                  +
                                                8. + + +

                                                  + + + def + + + equals(arg0: Any): Boolean + +

                                                  + + Permalink + + +
                                                  Definition Classes
                                                  AnyRef → Any
                                                  +
                                                9. + + +

                                                  + + + def + + + finalize(): Unit + +

                                                  + + Permalink + + +
                                                  Attributes
                                                  protected[java.lang]
                                                  Definition Classes
                                                  AnyRef
                                                  Annotations
                                                  + @throws( + + classOf[java.lang.Throwable] + ) + +
                                                  +
                                                10. + + +

                                                  + + final + def + + + getClass(): Class[_] + +

                                                  + + Permalink + + +
                                                  Definition Classes
                                                  AnyRef → Any
                                                  +
                                                11. + + +

                                                  + + + def + + + hashCode(): Int + +

                                                  + + Permalink + + +
                                                  Definition Classes
                                                  AnyRef → Any
                                                  +
                                                12. + + +

                                                  + + + val + + + headers: Map[String, String] + +

                                                  + + Permalink + + +

                                                  http headers

                                                  +
                                                13. + + +

                                                  + + final + def + + + isInstanceOf[T0]: Boolean + +

                                                  + + Permalink + + +
                                                  Definition Classes
                                                  Any
                                                  +
                                                14. + + +

                                                  + + + def + + + isStarted(): Boolean + +

                                                  + + Permalink + + +
                                                  Definition Classes
                                                  Receiver
                                                  +
                                                15. + + +

                                                  + + + def + + + isStopped(): Boolean + +

                                                  + + Permalink + + +
                                                  Definition Classes
                                                  Receiver
                                                  +
                                                16. + + +

                                                  + + + val + + + logger: Logger + +

                                                  + + Permalink + + +
                                                  Attributes
                                                  protected
                                                  Definition Classes
                                                  Logging
                                                  +
                                                17. + + +

                                                  + + + val + + + name: String + +

                                                  + + Permalink + + +

                                                  name of http post receiver actor

                                                  +
                                                18. + + +

                                                  + + final + def + + + ne(arg0: AnyRef): Boolean + +

                                                  + + Permalink + + +
                                                  Definition Classes
                                                  AnyRef
                                                  +
                                                19. + + +

                                                  + + final + def + + + notify(): Unit + +

                                                  + + Permalink + + +
                                                  Definition Classes
                                                  AnyRef
                                                  +
                                                20. + + +

                                                  + + final + def + + + notifyAll(): Unit + +

                                                  + + Permalink + + +
                                                  Definition Classes
                                                  AnyRef
                                                  +
                                                21. + + +

                                                  + + + def + + + onStart(): Unit + +

                                                  + + Permalink + + +

                                                  Start to receive response from http server.

                                                  Start to receive response from http server. +

                                                  Definition Classes
                                                  HttpGetResponseReceiver → Receiver
                                                  +
                                                22. + + +

                                                  + + + def + + + onStop(): Unit + +

                                                  + + Permalink + + +

                                                  Stop to receive response from http server.

                                                  Stop to receive response from http server. +

                                                  Definition Classes
                                                  HttpGetResponseReceiver → Receiver
                                                  +
                                                23. + + +

                                                  + + + val + + + params: Map[String, String] + +

                                                  + + Permalink + + +

                                                  http params

                                                  +
                                                24. + + +

                                                  + + + def + + + preferredLocation: Option[String] + +

                                                  + + Permalink + + +
                                                  Definition Classes
                                                  Receiver
                                                  +
                                                25. + + +

                                                  + + + def + + + reportError(message: String, throwable: Throwable): Unit + +

                                                  + + Permalink + + +
                                                  Definition Classes
                                                  Receiver
                                                  +
                                                26. + + +

                                                  + + + def + + + restart(message: String, error: Throwable, millisecond: Int): Unit + +

                                                  + + Permalink + + +
                                                  Definition Classes
                                                  Receiver
                                                  +
                                                27. + + +

                                                  + + + def + + + restart(message: String, error: Throwable): Unit + +

                                                  + + Permalink + + +
                                                  Definition Classes
                                                  Receiver
                                                  +
                                                28. + + +

                                                  + + + def + + + restart(message: String): Unit + +

                                                  + + Permalink + + +
                                                  Definition Classes
                                                  Receiver
                                                  +
                                                29. + + +

                                                  + + + def + + + stop(message: String, error: Throwable): Unit + +

                                                  + + Permalink + + +
                                                  Definition Classes
                                                  Receiver
                                                  +
                                                30. + + +

                                                  + + + def + + + stop(message: String): Unit + +

                                                  + + Permalink + + +
                                                  Definition Classes
                                                  Receiver
                                                  +
                                                31. + + +

                                                  + + + var + + + stopArgs: StopArgs + +

                                                  + + Permalink + + + +
                                                32. + + +

                                                  + + + val + + + storageLevel: StorageLevel + +

                                                  + + Permalink + + +
                                                  Definition Classes
                                                  Receiver
                                                  +
                                                33. + + +

                                                  + + + def + + + store(bytes: ByteBuffer, metadata: Any): Unit + +

                                                  + + Permalink + + +
                                                  Definition Classes
                                                  Receiver
                                                  +
                                                34. + + +

                                                  + + + def + + + store(bytes: ByteBuffer): Unit + +

                                                  + + Permalink + + +
                                                  Definition Classes
                                                  Receiver
                                                  +
                                                35. + + +

                                                  + + + def + + + store(dataIterator: Iterator[String], metadata: Any): Unit + +

                                                  + + Permalink + + +
                                                  Definition Classes
                                                  Receiver
                                                  +
                                                36. + + +

                                                  + + + def + + + store(dataIterator: Iterator[String]): Unit + +

                                                  + + Permalink + + +
                                                  Definition Classes
                                                  Receiver
                                                  +
                                                37. + + +

                                                  + + + def + + + store(dataIterator: Iterator[String], metadata: Any): Unit + +

                                                  + + Permalink + + +
                                                  Definition Classes
                                                  Receiver
                                                  +
                                                38. + + +

                                                  + + + def + + + store(dataIterator: Iterator[String]): Unit + +

                                                  + + Permalink + + +
                                                  Definition Classes
                                                  Receiver
                                                  +
                                                39. + + +

                                                  + + + def + + + store(dataBuffer: ArrayBuffer[String], metadata: Any): Unit + +

                                                  + + Permalink + + +
                                                  Definition Classes
                                                  Receiver
                                                  +
                                                40. + + +

                                                  + + + def + + + store(dataBuffer: ArrayBuffer[String]): Unit + +

                                                  + + Permalink + + +
                                                  Definition Classes
                                                  Receiver
                                                  +
                                                41. + + +

                                                  + + + def + + + store(dataItem: String): Unit + +

                                                  + + Permalink + + +
                                                  Definition Classes
                                                  Receiver
                                                  +
                                                42. + + +

                                                  + + + def + + + streamId: Int + +

                                                  + + Permalink + + +
                                                  Definition Classes
                                                  Receiver
                                                  +
                                                43. + + +

                                                  + + final + def + + + synchronized[T0](arg0: ⇒ T0): T0 + +

                                                  + + Permalink + + +
                                                  Definition Classes
                                                  AnyRef
                                                  +
                                                44. + + +

                                                  + + + def + + + toString(): String + +

                                                  + + Permalink + + +
                                                  Definition Classes
                                                  AnyRef → Any
                                                  +
                                                45. + + +

                                                  + + + val + + + url: String + +

                                                  + + Permalink + + +

                                                  target http server url includes hostname, port, and path

                                                  +
                                                46. + + +

                                                  + + final + def + + + wait(): Unit + +

                                                  + + Permalink + + +
                                                  Definition Classes
                                                  AnyRef
                                                  Annotations
                                                  + @throws( + + ... + ) + +
                                                  +
                                                47. + + +

                                                  + + final + def + + + wait(arg0: Long, arg1: Int): Unit + +

                                                  + + Permalink + + +
                                                  Definition Classes
                                                  AnyRef
                                                  Annotations
                                                  + @throws( + + ... + ) + +
                                                  +
                                                48. + + +

                                                  + + final + def + + + wait(arg0: Long): Unit + +

                                                  + + Permalink + + +
                                                  Definition Classes
                                                  AnyRef
                                                  Annotations
                                                  + @throws( + + ... + ) + +
                                                  +
                                                +
                                                + + + + +
                                                + +
                                                +
                                                +

                                                Inherited from Logging

                                                +
                                                +

                                                Inherited from Receiver[String]

                                                +
                                                +

                                                Inherited from Serializable

                                                +
                                                +

                                                Inherited from Serializable

                                                +
                                                +

                                                Inherited from AnyRef

                                                +
                                                +

                                                Inherited from Any

                                                +
                                                + +
                                                + +
                                                +
                                                +

                                                Ungrouped

                                                + +
                                                +
                                                + +
                                                + +
                                                + + + + + + diff --git a/manual1903/api_reference/components/scaladocs/ksb/csle/component/ingestion/receiver/HttpPostRequestReceiver$ServerStopArgs.html b/manual1903/api_reference/components/scaladocs/ksb/csle/component/ingestion/receiver/HttpPostRequestReceiver$ServerStopArgs.html new file mode 100644 index 0000000000000000000000000000000000000000..f377e727534130c2b35e6ad3648c5576b66a88e3 --- /dev/null +++ b/manual1903/api_reference/components/scaladocs/ksb/csle/component/ingestion/receiver/HttpPostRequestReceiver$ServerStopArgs.html @@ -0,0 +1,493 @@ + + + + ServerStopArgs - KSB COMPONENTS Scala App Project 1.0-SNAPSHOT API - ksb.csle.component.ingestion.receiver.HttpPostRequestReceiver.ServerStopArgs + + + + + + + + + + + + + + + + + +

                                                + + + case class + + + ServerStopArgs(bindingFuture: Future[ServerBinding], actorSystem: ActorSystem) extends Product with Serializable + +

                                                + +
                                                + Linear Supertypes +
                                                Serializable, Serializable, Product, Equals, AnyRef, Any
                                                +
                                                + + +
                                                +
                                                +
                                                + Ordering +
                                                  + +
                                                1. Alphabetic
                                                2. +
                                                3. By Inheritance
                                                4. +
                                                +
                                                +
                                                + Inherited
                                                +
                                                +
                                                  +
                                                1. ServerStopArgs
                                                2. Serializable
                                                3. Serializable
                                                4. Product
                                                5. Equals
                                                6. AnyRef
                                                7. Any
                                                8. +
                                                +
                                                + +
                                                  +
                                                1. Hide All
                                                2. +
                                                3. Show All
                                                4. +
                                                +
                                                +
                                                + Visibility +
                                                1. Public
                                                2. All
                                                +
                                                +
                                                + +
                                                +
                                                +
                                                +

                                                Instance Constructors

                                                +
                                                1. + + +

                                                  + + + new + + + ServerStopArgs(bindingFuture: Future[ServerBinding], actorSystem: ActorSystem) + +

                                                  + + Permalink + + + +
                                                +
                                                + + + + + +
                                                +

                                                Value Members

                                                +
                                                1. + + +

                                                  + + final + def + + + !=(arg0: Any): Boolean + +

                                                  + + Permalink + + +
                                                  Definition Classes
                                                  AnyRef → Any
                                                  +
                                                2. + + +

                                                  + + final + def + + + ##(): Int + +

                                                  + + Permalink + + +
                                                  Definition Classes
                                                  AnyRef → Any
                                                  +
                                                3. + + +

                                                  + + final + def + + + ==(arg0: Any): Boolean + +

                                                  + + Permalink + + +
                                                  Definition Classes
                                                  AnyRef → Any
                                                  +
                                                4. + + +

                                                  + + + val + + + actorSystem: ActorSystem + +

                                                  + + Permalink + + + +
                                                5. + + +

                                                  + + final + def + + + asInstanceOf[T0]: T0 + +

                                                  + + Permalink + + +
                                                  Definition Classes
                                                  Any
                                                  +
                                                6. + + +

                                                  + + + val + + + bindingFuture: Future[ServerBinding] + +

                                                  + + Permalink + + + +
                                                7. + + +

                                                  + + + def + + + clone(): AnyRef + +

                                                  + + Permalink + + +
                                                  Attributes
                                                  protected[java.lang]
                                                  Definition Classes
                                                  AnyRef
                                                  Annotations
                                                  + @throws( + + ... + ) + +
                                                  +
                                                8. + + +

                                                  + + final + def + + + eq(arg0: AnyRef): Boolean + +

                                                  + + Permalink + + +
                                                  Definition Classes
                                                  AnyRef
                                                  +
                                                9. + + +

                                                  + + + def + + + finalize(): Unit + +

                                                  + + Permalink + + +
                                                  Attributes
                                                  protected[java.lang]
                                                  Definition Classes
                                                  AnyRef
                                                  Annotations
                                                  + @throws( + + classOf[java.lang.Throwable] + ) + +
                                                  +
                                                10. + + +

                                                  + + final + def + + + getClass(): Class[_] + +

                                                  + + Permalink + + +
                                                  Definition Classes
                                                  AnyRef → Any
                                                  +
                                                11. + + +

                                                  + + final + def + + + isInstanceOf[T0]: Boolean + +

                                                  + + Permalink + + +
                                                  Definition Classes
                                                  Any
                                                  +
                                                12. + + +

                                                  + + final + def + + + ne(arg0: AnyRef): Boolean + +

                                                  + + Permalink + + +
                                                  Definition Classes
                                                  AnyRef
                                                  +
                                                13. + + +

                                                  + + final + def + + + notify(): Unit + +

                                                  + + Permalink + + +
                                                  Definition Classes
                                                  AnyRef
                                                  +
                                                14. + + +

                                                  + + final + def + + + notifyAll(): Unit + +

                                                  + + Permalink + + +
                                                  Definition Classes
                                                  AnyRef
                                                  +
                                                15. + + +

                                                  + + final + def + + + synchronized[T0](arg0: ⇒ T0): T0 + +

                                                  + + Permalink + + +
                                                  Definition Classes
                                                  AnyRef
                                                  +
                                                16. + + +

                                                  + + final + def + + + wait(): Unit + +

                                                  + + Permalink + + +
                                                  Definition Classes
                                                  AnyRef
                                                  Annotations
                                                  + @throws( + + ... + ) + +
                                                  +
                                                17. + + +

                                                  + + final + def + + + wait(arg0: Long, arg1: Int): Unit + +

                                                  + + Permalink + + +
                                                  Definition Classes
                                                  AnyRef
                                                  Annotations
                                                  + @throws( + + ... + ) + +
                                                  +
                                                18. + + +

                                                  + + final + def + + + wait(arg0: Long): Unit + +

                                                  + + Permalink + + +
                                                  Definition Classes
                                                  AnyRef
                                                  Annotations
                                                  + @throws( + + ... + ) + +
                                                  +
                                                +
                                                + + + + +
                                                + +
                                                +
                                                +

                                                Inherited from Serializable

                                                +
                                                +

                                                Inherited from Serializable

                                                +
                                                +

                                                Inherited from Product

                                                +
                                                +

                                                Inherited from Equals

                                                +
                                                +

                                                Inherited from AnyRef

                                                +
                                                +

                                                Inherited from Any

                                                +
                                                + +
                                                + +
                                                +
                                                +

                                                Ungrouped

                                                + +
                                                +
                                                + +
                                                + +
                                                + + + + + + diff --git a/manual1903/api_reference/components/scaladocs/ksb/csle/component/ingestion/receiver/HttpPostRequestReceiver.html b/manual1903/api_reference/components/scaladocs/ksb/csle/component/ingestion/receiver/HttpPostRequestReceiver.html new file mode 100644 index 0000000000000000000000000000000000000000..248912893b6a45efe6158f31d8f3fed8748bb63d --- /dev/null +++ b/manual1903/api_reference/components/scaladocs/ksb/csle/component/ingestion/receiver/HttpPostRequestReceiver.html @@ -0,0 +1,942 @@ + + + + HttpPostRequestReceiver - KSB COMPONENTS Scala App Project 1.0-SNAPSHOT API - ksb.csle.component.ingestion.receiver.HttpPostRequestReceiver + + + + + + + + + + + + + + + +
                                                + Class +

                                                ksb.csle.component.ingestion.receiver

                                                +

                                                HttpPostRequestReceiver

                                                Related Doc: + package receiver +

                                                + + Permalink + + +
                                                + +

                                                + + final + class + + + HttpPostRequestReceiver extends Receiver[String] with Logging + +

                                                + +

                                                HTTP Streaming data receiver based on Spark Streaming. +

                                                + Linear Supertypes +
                                                Logging, Receiver[String], Serializable, Serializable, AnyRef, Any
                                                +
                                                + + +
                                                +
                                                +
                                                + Ordering +
                                                  + +
                                                1. Alphabetic
                                                2. +
                                                3. By Inheritance
                                                4. +
                                                +
                                                +
                                                + Inherited
                                                +
                                                +
                                                  +
                                                1. HttpPostRequestReceiver
                                                2. Logging
                                                3. Receiver
                                                4. Serializable
                                                5. Serializable
                                                6. AnyRef
                                                7. Any
                                                8. +
                                                +
                                                + +
                                                  +
                                                1. Hide All
                                                2. +
                                                3. Show All
                                                4. +
                                                +
                                                +
                                                + Visibility +
                                                1. Public
                                                2. All
                                                +
                                                +
                                                + +
                                                +
                                                +
                                                +

                                                Instance Constructors

                                                +
                                                1. + + +

                                                  + + + new + + + HttpPostRequestReceiver(name: String, interface: String, port: Int, handler: (HttpIngestionRequest) ⇒ HttpIngestionResponse = defaultHttpIngestionHandler) + +

                                                  + + Permalink + + +

                                                  name

                                                  Receiver name

                                                  interface

                                                  IP address of HTTP server

                                                  port

                                                  Port number of HTTP server

                                                  handler

                                                  User defined function that handles HTTP POST request

                                                  +
                                                +
                                                + +
                                                +

                                                Type Members

                                                +
                                                1. + + +

                                                  + + + case class + + + ServerStopArgs(bindingFuture: Future[ServerBinding], actorSystem: ActorSystem) extends Product with Serializable + +

                                                  + + Permalink + + + +
                                                +
                                                + + + +
                                                +

                                                Value Members

                                                +
                                                1. + + +

                                                  + + final + def + + + !=(arg0: Any): Boolean + +

                                                  + + Permalink + + +
                                                  Definition Classes
                                                  AnyRef → Any
                                                  +
                                                2. + + +

                                                  + + final + def + + + ##(): Int + +

                                                  + + Permalink + + +
                                                  Definition Classes
                                                  AnyRef → Any
                                                  +
                                                3. + + +

                                                  + + final + def + + + ==(arg0: Any): Boolean + +

                                                  + + Permalink + + +
                                                  Definition Classes
                                                  AnyRef → Any
                                                  +
                                                4. + + +

                                                  + + final + def + + + asInstanceOf[T0]: T0 + +

                                                  + + Permalink + + +
                                                  Definition Classes
                                                  Any
                                                  +
                                                5. + + +

                                                  + + + def + + + clone(): AnyRef + +

                                                  + + Permalink + + +
                                                  Attributes
                                                  protected[java.lang]
                                                  Definition Classes
                                                  AnyRef
                                                  Annotations
                                                  + @throws( + + ... + ) + +
                                                  +
                                                6. + + +

                                                  + + final + def + + + eq(arg0: AnyRef): Boolean + +

                                                  + + Permalink + + +
                                                  Definition Classes
                                                  AnyRef
                                                  +
                                                7. + + +

                                                  + + + def + + + equals(arg0: Any): Boolean + +

                                                  + + Permalink + + +
                                                  Definition Classes
                                                  AnyRef → Any
                                                  +
                                                8. + + +

                                                  + + + def + + + finalize(): Unit + +

                                                  + + Permalink + + +
                                                  Attributes
                                                  protected[java.lang]
                                                  Definition Classes
                                                  AnyRef
                                                  Annotations
                                                  + @throws( + + classOf[java.lang.Throwable] + ) + +
                                                  +
                                                9. + + +

                                                  + + final + def + + + getClass(): Class[_] + +

                                                  + + Permalink + + +
                                                  Definition Classes
                                                  AnyRef → Any
                                                  +
                                                10. + + +

                                                  + + + def + + + hashCode(): Int + +

                                                  + + Permalink + + +
                                                  Definition Classes
                                                  AnyRef → Any
                                                  +
                                                11. + + +

                                                  + + final + def + + + isInstanceOf[T0]: Boolean + +

                                                  + + Permalink + + +
                                                  Definition Classes
                                                  Any
                                                  +
                                                12. + + +

                                                  + + + def + + + isStarted(): Boolean + +

                                                  + + Permalink + + +
                                                  Definition Classes
                                                  Receiver
                                                  +
                                                13. + + +

                                                  + + + def + + + isStopped(): Boolean + +

                                                  + + Permalink + + +
                                                  Definition Classes
                                                  Receiver
                                                  +
                                                14. + + +

                                                  + + + val + + + logger: Logger + +

                                                  + + Permalink + + +
                                                  Attributes
                                                  protected
                                                  Definition Classes
                                                  Logging
                                                  +
                                                15. + + +

                                                  + + final + def + + + ne(arg0: AnyRef): Boolean + +

                                                  + + Permalink + + +
                                                  Definition Classes
                                                  AnyRef
                                                  +
                                                16. + + +

                                                  + + final + def + + + notify(): Unit + +

                                                  + + Permalink + + +
                                                  Definition Classes
                                                  AnyRef
                                                  +
                                                17. + + +

                                                  + + final + def + + + notifyAll(): Unit + +

                                                  + + Permalink + + +
                                                  Definition Classes
                                                  AnyRef
                                                  +
                                                18. + + +

                                                  + + + def + + + onStart(): Unit + +

                                                  + + Permalink + + +

                                                  This method is called when the Spark Streaming is started.

                                                  This method is called when the Spark Streaming is started. +

                                                  Definition Classes
                                                  HttpPostRequestReceiver → Receiver
                                                  +
                                                19. + + +

                                                  + + + def + + + onStop(): Unit + +

                                                  + + Permalink + + +

                                                  This method is called when the Spark Streaming is stopped.

                                                  This method is called when the Spark Streaming is stopped. +

                                                  Definition Classes
                                                  HttpPostRequestReceiver → Receiver
                                                  +
                                                20. + + +

                                                  + + + def + + + preferredLocation: Option[String] + +

                                                  + + Permalink + + +

                                                  specify a preferred location (hostname).

                                                  specify a preferred location (hostname). +

                                                  Definition Classes
                                                  HttpPostRequestReceiver → Receiver
                                                  +
                                                21. + + +

                                                  + + + def + + + reportError(message: String, throwable: Throwable): Unit + +

                                                  + + Permalink + + +
                                                  Definition Classes
                                                  Receiver
                                                  +
                                                22. + + +

                                                  + + + def + + + restart(message: String, error: Throwable, millisecond: Int): Unit + +

                                                  + + Permalink + + +
                                                  Definition Classes
                                                  Receiver
                                                  +
                                                23. + + +

                                                  + + + def + + + restart(message: String, error: Throwable): Unit + +

                                                  + + Permalink + + +
                                                  Definition Classes
                                                  Receiver
                                                  +
                                                24. + + +

                                                  + + + def + + + restart(message: String): Unit + +

                                                  + + Permalink + + +
                                                  Definition Classes
                                                  Receiver
                                                  +
                                                25. + + +

                                                  + + + var + + + serverStopArgs: ServerStopArgs + +

                                                  + + Permalink + + + +
                                                26. + + +

                                                  + + + def + + + stop(message: String, error: Throwable): Unit + +

                                                  + + Permalink + + +
                                                  Definition Classes
                                                  Receiver
                                                  +
                                                27. + + +

                                                  + + + def + + + stop(message: String): Unit + +

                                                  + + Permalink + + +
                                                  Definition Classes
                                                  Receiver
                                                  +
                                                28. + + +

                                                  + + + val + + + storageLevel: StorageLevel + +

                                                  + + Permalink + + +
                                                  Definition Classes
                                                  Receiver
                                                  +
                                                29. + + +

                                                  + + + def + + + store(bytes: ByteBuffer, metadata: Any): Unit + +

                                                  + + Permalink + + +
                                                  Definition Classes
                                                  Receiver
                                                  +
                                                30. + + +

                                                  + + + def + + + store(bytes: ByteBuffer): Unit + +

                                                  + + Permalink + + +
                                                  Definition Classes
                                                  Receiver
                                                  +
                                                31. + + +

                                                  + + + def + + + store(dataIterator: Iterator[String], metadata: Any): Unit + +

                                                  + + Permalink + + +
                                                  Definition Classes
                                                  Receiver
                                                  +
                                                32. + + +

                                                  + + + def + + + store(dataIterator: Iterator[String]): Unit + +

                                                  + + Permalink + + +
                                                  Definition Classes
                                                  Receiver
                                                  +
                                                33. + + +

                                                  + + + def + + + store(dataIterator: Iterator[String], metadata: Any): Unit + +

                                                  + + Permalink + + +
                                                  Definition Classes
                                                  Receiver
                                                  +
                                                34. + + +

                                                  + + + def + + + store(dataIterator: Iterator[String]): Unit + +

                                                  + + Permalink + + +
                                                  Definition Classes
                                                  Receiver
                                                  +
                                                35. + + +

                                                  + + + def + + + store(dataBuffer: ArrayBuffer[String], metadata: Any): Unit + +

                                                  + + Permalink + + +
                                                  Definition Classes
                                                  Receiver
                                                  +
                                                36. + + +

                                                  + + + def + + + store(dataBuffer: ArrayBuffer[String]): Unit + +

                                                  + + Permalink + + +
                                                  Definition Classes
                                                  Receiver
                                                  +
                                                37. + + +

                                                  + + + def + + + store(dataItem: String): Unit + +

                                                  + + Permalink + + +
                                                  Definition Classes
                                                  Receiver
                                                  +
                                                38. + + +

                                                  + + + def + + + streamId: Int + +

                                                  + + Permalink + + +
                                                  Definition Classes
                                                  Receiver
                                                  +
                                                39. + + +

                                                  + + final + def + + + synchronized[T0](arg0: ⇒ T0): T0 + +

                                                  + + Permalink + + +
                                                  Definition Classes
                                                  AnyRef
                                                  +
                                                40. + + +

                                                  + + + def + + + toString(): String + +

                                                  + + Permalink + + +
                                                  Definition Classes
                                                  AnyRef → Any
                                                  +
                                                41. + + +

                                                  + + final + def + + + wait(): Unit + +

                                                  + + Permalink + + +
                                                  Definition Classes
                                                  AnyRef
                                                  Annotations
                                                  + @throws( + + ... + ) + +
                                                  +
                                                42. + + +

                                                  + + final + def + + + wait(arg0: Long, arg1: Int): Unit + +

                                                  + + Permalink + + +
                                                  Definition Classes
                                                  AnyRef
                                                  Annotations
                                                  + @throws( + + ... + ) + +
                                                  +
                                                43. + + +

                                                  + + final + def + + + wait(arg0: Long): Unit + +

                                                  + + Permalink + + +
                                                  Definition Classes
                                                  AnyRef
                                                  Annotations
                                                  + @throws( + + ... + ) + +
                                                  +
                                                +
                                                + + + + +
                                                + +
                                                +
                                                +

                                                Inherited from Logging

                                                +
                                                +

                                                Inherited from Receiver[String]

                                                +
                                                +

                                                Inherited from Serializable

                                                +
                                                +

                                                Inherited from Serializable

                                                +
                                                +

                                                Inherited from AnyRef

                                                +
                                                +

                                                Inherited from Any

                                                +
                                                + +
                                                + +
                                                +
                                                +

                                                Ungrouped

                                                + +
                                                +
                                                + +
                                                + +
                                                + + + + + + diff --git a/manual1903/api_reference/components/scaladocs/ksb/csle/component/ingestion/receiver/HttpPostResponseReceiver$StopArgs.html b/manual1903/api_reference/components/scaladocs/ksb/csle/component/ingestion/receiver/HttpPostResponseReceiver$StopArgs.html new file mode 100644 index 0000000000000000000000000000000000000000..20d929388b102c0788fede7498d45518f43947c3 --- /dev/null +++ b/manual1903/api_reference/components/scaladocs/ksb/csle/component/ingestion/receiver/HttpPostResponseReceiver$StopArgs.html @@ -0,0 +1,493 @@ + + + + StopArgs - KSB COMPONENTS Scala App Project 1.0-SNAPSHOT API - ksb.csle.component.ingestion.receiver.HttpPostResponseReceiver.StopArgs + + + + + + + + + + + + + + + + + +

                                                + + + case class + + + StopArgs(system: ActorSystem, wsClient: AhcWSClient) extends Product with Serializable + +

                                                + +
                                                + Linear Supertypes +
                                                Serializable, Serializable, Product, Equals, AnyRef, Any
                                                +
                                                + + +
                                                +
                                                +
                                                + Ordering +
                                                  + +
                                                1. Alphabetic
                                                2. +
                                                3. By Inheritance
                                                4. +
                                                +
                                                +
                                                + Inherited
                                                +
                                                +
                                                  +
                                                1. StopArgs
                                                2. Serializable
                                                3. Serializable
                                                4. Product
                                                5. Equals
                                                6. AnyRef
                                                7. Any
                                                8. +
                                                +
                                                + +
                                                  +
                                                1. Hide All
                                                2. +
                                                3. Show All
                                                4. +
                                                +
                                                +
                                                + Visibility +
                                                1. Public
                                                2. All
                                                +
                                                +
                                                + +
                                                +
                                                +
                                                +

                                                Instance Constructors

                                                +
                                                1. + + +

                                                  + + + new + + + StopArgs(system: ActorSystem, wsClient: AhcWSClient) + +

                                                  + + Permalink + + + +
                                                +
                                                + + + + + +
                                                +

                                                Value Members

                                                +
                                                1. + + +

                                                  + + final + def + + + !=(arg0: Any): Boolean + +

                                                  + + Permalink + + +
                                                  Definition Classes
                                                  AnyRef → Any
                                                  +
                                                2. + + +

                                                  + + final + def + + + ##(): Int + +

                                                  + + Permalink + + +
                                                  Definition Classes
                                                  AnyRef → Any
                                                  +
                                                3. + + +

                                                  + + final + def + + + ==(arg0: Any): Boolean + +

                                                  + + Permalink + + +
                                                  Definition Classes
                                                  AnyRef → Any
                                                  +
                                                4. + + +

                                                  + + final + def + + + asInstanceOf[T0]: T0 + +

                                                  + + Permalink + + +
                                                  Definition Classes
                                                  Any
                                                  +
                                                5. + + +

                                                  + + + def + + + clone(): AnyRef + +

                                                  + + Permalink + + +
                                                  Attributes
                                                  protected[java.lang]
                                                  Definition Classes
                                                  AnyRef
                                                  Annotations
                                                  + @throws( + + ... + ) + +
                                                  +
                                                6. + + +

                                                  + + final + def + + + eq(arg0: AnyRef): Boolean + +

                                                  + + Permalink + + +
                                                  Definition Classes
                                                  AnyRef
                                                  +
                                                7. + + +

                                                  + + + def + + + finalize(): Unit + +

                                                  + + Permalink + + +
                                                  Attributes
                                                  protected[java.lang]
                                                  Definition Classes
                                                  AnyRef
                                                  Annotations
                                                  + @throws( + + classOf[java.lang.Throwable] + ) + +
                                                  +
                                                8. + + +

                                                  + + final + def + + + getClass(): Class[_] + +

                                                  + + Permalink + + +
                                                  Definition Classes
                                                  AnyRef → Any
                                                  +
                                                9. + + +

                                                  + + final + def + + + isInstanceOf[T0]: Boolean + +

                                                  + + Permalink + + +
                                                  Definition Classes
                                                  Any
                                                  +
                                                10. + + +

                                                  + + final + def + + + ne(arg0: AnyRef): Boolean + +

                                                  + + Permalink + + +
                                                  Definition Classes
                                                  AnyRef
                                                  +
                                                11. + + +

                                                  + + final + def + + + notify(): Unit + +

                                                  + + Permalink + + +
                                                  Definition Classes
                                                  AnyRef
                                                  +
                                                12. + + +

                                                  + + final + def + + + notifyAll(): Unit + +

                                                  + + Permalink + + +
                                                  Definition Classes
                                                  AnyRef
                                                  +
                                                13. + + +

                                                  + + final + def + + + synchronized[T0](arg0: ⇒ T0): T0 + +

                                                  + + Permalink + + +
                                                  Definition Classes
                                                  AnyRef
                                                  +
                                                14. + + +

                                                  + + + val + + + system: ActorSystem + +

                                                  + + Permalink + + + +
                                                15. + + +

                                                  + + final + def + + + wait(): Unit + +

                                                  + + Permalink + + +
                                                  Definition Classes
                                                  AnyRef
                                                  Annotations
                                                  + @throws( + + ... + ) + +
                                                  +
                                                16. + + +

                                                  + + final + def + + + wait(arg0: Long, arg1: Int): Unit + +

                                                  + + Permalink + + +
                                                  Definition Classes
                                                  AnyRef
                                                  Annotations
                                                  + @throws( + + ... + ) + +
                                                  +
                                                17. + + +

                                                  + + final + def + + + wait(arg0: Long): Unit + +

                                                  + + Permalink + + +
                                                  Definition Classes
                                                  AnyRef
                                                  Annotations
                                                  + @throws( + + ... + ) + +
                                                  +
                                                18. + + +

                                                  + + + val + + + wsClient: AhcWSClient + +

                                                  + + Permalink + + + +
                                                +
                                                + + + + +
                                                + +
                                                +
                                                +

                                                Inherited from Serializable

                                                +
                                                +

                                                Inherited from Serializable

                                                +
                                                +

                                                Inherited from Product

                                                +
                                                +

                                                Inherited from Equals

                                                +
                                                +

                                                Inherited from AnyRef

                                                +
                                                +

                                                Inherited from Any

                                                +
                                                + +
                                                + +
                                                +
                                                +

                                                Ungrouped

                                                + +
                                                +
                                                + +
                                                + +
                                                + + + + + + diff --git a/manual1903/api_reference/components/scaladocs/ksb/csle/component/ingestion/receiver/HttpPostResponseReceiver.html b/manual1903/api_reference/components/scaladocs/ksb/csle/component/ingestion/receiver/HttpPostResponseReceiver.html new file mode 100644 index 0000000000000000000000000000000000000000..25e47d21e07de0c5dda35c05fb21898abcb9e5f8 --- /dev/null +++ b/manual1903/api_reference/components/scaladocs/ksb/csle/component/ingestion/receiver/HttpPostResponseReceiver.html @@ -0,0 +1,1045 @@ + + + + HttpPostResponseReceiver - KSB COMPONENTS Scala App Project 1.0-SNAPSHOT API - ksb.csle.component.ingestion.receiver.HttpPostResponseReceiver + + + + + + + + + + + + + + + +
                                                + Class +

                                                ksb.csle.component.ingestion.receiver

                                                +

                                                HttpPostResponseReceiver

                                                Related Doc: + package receiver +

                                                + + Permalink + + +
                                                + +

                                                + + final + class + + + HttpPostResponseReceiver extends Receiver[String] with Logging + +

                                                + +

                                                :: ApplicationDeveloperApi :: +After sending a post request to the http server, +it stores the received response in spark memory. +

                                                + Linear Supertypes +
                                                Logging, Receiver[String], Serializable, Serializable, AnyRef, Any
                                                +
                                                + + +
                                                +
                                                +
                                                + Ordering +
                                                  + +
                                                1. Alphabetic
                                                2. +
                                                3. By Inheritance
                                                4. +
                                                +
                                                +
                                                + Inherited
                                                +
                                                +
                                                  +
                                                1. HttpPostResponseReceiver
                                                2. Logging
                                                3. Receiver
                                                4. Serializable
                                                5. Serializable
                                                6. AnyRef
                                                7. Any
                                                8. +
                                                +
                                                + +
                                                  +
                                                1. Hide All
                                                2. +
                                                3. Show All
                                                4. +
                                                +
                                                +
                                                + Visibility +
                                                1. Public
                                                2. All
                                                +
                                                +
                                                + +
                                                +
                                                +
                                                +

                                                Instance Constructors

                                                +
                                                1. + + +

                                                  + + + new + + + HttpPostResponseReceiver(name: String, url: String, params: Map[String, String], headers: Map[String, String], body: String) + +

                                                  + + Permalink + + +

                                                  name

                                                  name of http post receiver actor

                                                  url

                                                  target http server url includes hostname, port, and path

                                                  params

                                                  http params

                                                  headers

                                                  http headers

                                                  body

                                                  payload to be included in a request

                                                  +
                                                +
                                                + +
                                                +

                                                Type Members

                                                +
                                                1. + + +

                                                  + + + case class + + + StopArgs(system: ActorSystem, wsClient: AhcWSClient) extends Product with Serializable + +

                                                  + + Permalink + + + +
                                                +
                                                + + + +
                                                +

                                                Value Members

                                                +
                                                1. + + +

                                                  + + final + def + + + !=(arg0: Any): Boolean + +

                                                  + + Permalink + + +
                                                  Definition Classes
                                                  AnyRef → Any
                                                  +
                                                2. + + +

                                                  + + final + def + + + ##(): Int + +

                                                  + + Permalink + + +
                                                  Definition Classes
                                                  AnyRef → Any
                                                  +
                                                3. + + +

                                                  + + final + def + + + ==(arg0: Any): Boolean + +

                                                  + + Permalink + + +
                                                  Definition Classes
                                                  AnyRef → Any
                                                  +
                                                4. + + +

                                                  + + + val + + + REQUEST_TIMEOUT: FiniteDuration + +

                                                  + + Permalink + + + +
                                                5. + + +

                                                  + + final + def + + + asInstanceOf[T0]: T0 + +

                                                  + + Permalink + + +
                                                  Definition Classes
                                                  Any
                                                  +
                                                6. + + +

                                                  + + + val + + + body: String + +

                                                  + + Permalink + + +

                                                  payload to be included in a request

                                                  +
                                                7. + + +

                                                  + + + def + + + clone(): AnyRef + +

                                                  + + Permalink + + +
                                                  Attributes
                                                  protected[java.lang]
                                                  Definition Classes
                                                  AnyRef
                                                  Annotations
                                                  + @throws( + + ... + ) + +
                                                  +
                                                8. + + +

                                                  + + final + def + + + eq(arg0: AnyRef): Boolean + +

                                                  + + Permalink + + +
                                                  Definition Classes
                                                  AnyRef
                                                  +
                                                9. + + +

                                                  + + + def + + + equals(arg0: Any): Boolean + +

                                                  + + Permalink + + +
                                                  Definition Classes
                                                  AnyRef → Any
                                                  +
                                                10. + + +

                                                  + + + def + + + finalize(): Unit + +

                                                  + + Permalink + + +
                                                  Attributes
                                                  protected[java.lang]
                                                  Definition Classes
                                                  AnyRef
                                                  Annotations
                                                  + @throws( + + classOf[java.lang.Throwable] + ) + +
                                                  +
                                                11. + + +

                                                  + + final + def + + + getClass(): Class[_] + +

                                                  + + Permalink + + +
                                                  Definition Classes
                                                  AnyRef → Any
                                                  +
                                                12. + + +

                                                  + + + def + + + hashCode(): Int + +

                                                  + + Permalink + + +
                                                  Definition Classes
                                                  AnyRef → Any
                                                  +
                                                13. + + +

                                                  + + + val + + + headers: Map[String, String] + +

                                                  + + Permalink + + +

                                                  http headers

                                                  +
                                                14. + + +

                                                  + + final + def + + + isInstanceOf[T0]: Boolean + +

                                                  + + Permalink + + +
                                                  Definition Classes
                                                  Any
                                                  +
                                                15. + + +

                                                  + + + def + + + isStarted(): Boolean + +

                                                  + + Permalink + + +
                                                  Definition Classes
                                                  Receiver
                                                  +
                                                16. + + +

                                                  + + + def + + + isStopped(): Boolean + +

                                                  + + Permalink + + +
                                                  Definition Classes
                                                  Receiver
                                                  +
                                                17. + + +

                                                  + + + val + + + logger: Logger + +

                                                  + + Permalink + + +
                                                  Attributes
                                                  protected
                                                  Definition Classes
                                                  Logging
                                                  +
                                                18. + + +

                                                  + + + val + + + name: String + +

                                                  + + Permalink + + +

                                                  name of http post receiver actor

                                                  +
                                                19. + + +

                                                  + + final + def + + + ne(arg0: AnyRef): Boolean + +

                                                  + + Permalink + + +
                                                  Definition Classes
                                                  AnyRef
                                                  +
                                                20. + + +

                                                  + + final + def + + + notify(): Unit + +

                                                  + + Permalink + + +
                                                  Definition Classes
                                                  AnyRef
                                                  +
                                                21. + + +

                                                  + + final + def + + + notifyAll(): Unit + +

                                                  + + Permalink + + +
                                                  Definition Classes
                                                  AnyRef
                                                  +
                                                22. + + +

                                                  + + + def + + + onStart(): Unit + +

                                                  + + Permalink + + +

                                                  Start to receive response from http server.

                                                  Start to receive response from http server. +

                                                  Definition Classes
                                                  HttpPostResponseReceiver → Receiver
                                                  +
                                                23. + + +

                                                  + + + def + + + onStop(): Unit + +

                                                  + + Permalink + + +

                                                  Stop to receive response from http server.

                                                  Stop to receive response from http server. +

                                                  Definition Classes
                                                  HttpPostResponseReceiver → Receiver
                                                  +
                                                24. + + +

                                                  + + + val + + + params: Map[String, String] + +

                                                  + + Permalink + + +

                                                  http params

                                                  +
                                                25. + + +

                                                  + + + def + + + preferredLocation: Option[String] + +

                                                  + + Permalink + + +
                                                  Definition Classes
                                                  Receiver
                                                  +
                                                26. + + +

                                                  + + + def + + + reportError(message: String, throwable: Throwable): Unit + +

                                                  + + Permalink + + +
                                                  Definition Classes
                                                  Receiver
                                                  +
                                                27. + + +

                                                  + + + def + + + restart(message: String, error: Throwable, millisecond: Int): Unit + +

                                                  + + Permalink + + +
                                                  Definition Classes
                                                  Receiver
                                                  +
                                                28. + + +

                                                  + + + def + + + restart(message: String, error: Throwable): Unit + +

                                                  + + Permalink + + +
                                                  Definition Classes
                                                  Receiver
                                                  +
                                                29. + + +

                                                  + + + def + + + restart(message: String): Unit + +

                                                  + + Permalink + + +
                                                  Definition Classes
                                                  Receiver
                                                  +
                                                30. + + +

                                                  + + + def + + + stop(message: String, error: Throwable): Unit + +

                                                  + + Permalink + + +
                                                  Definition Classes
                                                  Receiver
                                                  +
                                                31. + + +

                                                  + + + def + + + stop(message: String): Unit + +

                                                  + + Permalink + + +
                                                  Definition Classes
                                                  Receiver
                                                  +
                                                32. + + +

                                                  + + + var + + + stopArgs: StopArgs + +

                                                  + + Permalink + + + +
                                                33. + + +

                                                  + + + val + + + storageLevel: StorageLevel + +

                                                  + + Permalink + + +
                                                  Definition Classes
                                                  Receiver
                                                  +
                                                34. + + +

                                                  + + + def + + + store(bytes: ByteBuffer, metadata: Any): Unit + +

                                                  + + Permalink + + +
                                                  Definition Classes
                                                  Receiver
                                                  +
                                                35. + + +

                                                  + + + def + + + store(bytes: ByteBuffer): Unit + +

                                                  + + Permalink + + +
                                                  Definition Classes
                                                  Receiver
                                                  +
                                                36. + + +

                                                  + + + def + + + store(dataIterator: Iterator[String], metadata: Any): Unit + +

                                                  + + Permalink + + +
                                                  Definition Classes
                                                  Receiver
                                                  +
                                                37. + + +

                                                  + + + def + + + store(dataIterator: Iterator[String]): Unit + +

                                                  + + Permalink + + +
                                                  Definition Classes
                                                  Receiver
                                                  +
                                                38. + + +

                                                  + + + def + + + store(dataIterator: Iterator[String], metadata: Any): Unit + +

                                                  + + Permalink + + +
                                                  Definition Classes
                                                  Receiver
                                                  +
                                                39. + + +

                                                  + + + def + + + store(dataIterator: Iterator[String]): Unit + +

                                                  + + Permalink + + +
                                                  Definition Classes
                                                  Receiver
                                                  +
                                                40. + + +

                                                  + + + def + + + store(dataBuffer: ArrayBuffer[String], metadata: Any): Unit + +

                                                  + + Permalink + + +
                                                  Definition Classes
                                                  Receiver
                                                  +
                                                41. + + +

                                                  + + + def + + + store(dataBuffer: ArrayBuffer[String]): Unit + +

                                                  + + Permalink + + +
                                                  Definition Classes
                                                  Receiver
                                                  +
                                                42. + + +

                                                  + + + def + + + store(dataItem: String): Unit + +

                                                  + + Permalink + + +
                                                  Definition Classes
                                                  Receiver
                                                  +
                                                43. + + +

                                                  + + + def + + + streamId: Int + +

                                                  + + Permalink + + +
                                                  Definition Classes
                                                  Receiver
                                                  +
                                                44. + + +

                                                  + + final + def + + + synchronized[T0](arg0: ⇒ T0): T0 + +

                                                  + + Permalink + + +
                                                  Definition Classes
                                                  AnyRef
                                                  +
                                                45. + + +

                                                  + + + def + + + toString(): String + +

                                                  + + Permalink + + +
                                                  Definition Classes
                                                  AnyRef → Any
                                                  +
                                                46. + + +

                                                  + + + val + + + url: String + +

                                                  + + Permalink + + +

                                                  target http server url includes hostname, port, and path

                                                  +
                                                47. + + +

                                                  + + final + def + + + wait(): Unit + +

                                                  + + Permalink + + +
                                                  Definition Classes
                                                  AnyRef
                                                  Annotations
                                                  + @throws( + + ... + ) + +
                                                  +
                                                48. + + +

                                                  + + final + def + + + wait(arg0: Long, arg1: Int): Unit + +

                                                  + + Permalink + + +
                                                  Definition Classes
                                                  AnyRef
                                                  Annotations
                                                  + @throws( + + ... + ) + +
                                                  +
                                                49. + + +

                                                  + + final + def + + + wait(arg0: Long): Unit + +

                                                  + + Permalink + + +
                                                  Definition Classes
                                                  AnyRef
                                                  Annotations
                                                  + @throws( + + ... + ) + +
                                                  +
                                                +
                                                + + + + +
                                                + +
                                                +
                                                +

                                                Inherited from Logging

                                                +
                                                +

                                                Inherited from Receiver[String]

                                                +
                                                +

                                                Inherited from Serializable

                                                +
                                                +

                                                Inherited from Serializable

                                                +
                                                +

                                                Inherited from AnyRef

                                                +
                                                +

                                                Inherited from Any

                                                +
                                                + +
                                                + +
                                                +
                                                +

                                                Ungrouped

                                                + +
                                                +
                                                + +
                                                + +
                                                + + + + + + diff --git a/manual1903/api_reference/components/scaladocs/ksb/csle/component/ingestion/receiver/HttpPutResponseReceiver$StopArgs.html b/manual1903/api_reference/components/scaladocs/ksb/csle/component/ingestion/receiver/HttpPutResponseReceiver$StopArgs.html new file mode 100644 index 0000000000000000000000000000000000000000..d617183c0913a1315f5a80c42b95d17fe7bded2d --- /dev/null +++ b/manual1903/api_reference/components/scaladocs/ksb/csle/component/ingestion/receiver/HttpPutResponseReceiver$StopArgs.html @@ -0,0 +1,493 @@ + + + + StopArgs - KSB COMPONENTS Scala App Project 1.0-SNAPSHOT API - ksb.csle.component.ingestion.receiver.HttpPutResponseReceiver.StopArgs + + + + + + + + + + + + + + + + + +

                                                + + + case class + + + StopArgs(system: ActorSystem, wsClient: AhcWSClient) extends Product with Serializable + +

                                                + +
                                                + Linear Supertypes +
                                                Serializable, Serializable, Product, Equals, AnyRef, Any
                                                +
                                                + + +
                                                +
                                                +
                                                + Ordering +
                                                  + +
                                                1. Alphabetic
                                                2. +
                                                3. By Inheritance
                                                4. +
                                                +
                                                +
                                                + Inherited
                                                +
                                                +
                                                  +
                                                1. StopArgs
                                                2. Serializable
                                                3. Serializable
                                                4. Product
                                                5. Equals
                                                6. AnyRef
                                                7. Any
                                                8. +
                                                +
                                                + +
                                                  +
                                                1. Hide All
                                                2. +
                                                3. Show All
                                                4. +
                                                +
                                                +
                                                + Visibility +
                                                1. Public
                                                2. All
                                                +
                                                +
                                                + +
                                                +
                                                +
                                                +

                                                Instance Constructors

                                                +
                                                1. + + +

                                                  + + + new + + + StopArgs(system: ActorSystem, wsClient: AhcWSClient) + +

                                                  + + Permalink + + + +
                                                +
                                                + + + + + +
                                                +

                                                Value Members

                                                +
                                                1. + + +

                                                  + + final + def + + + !=(arg0: Any): Boolean + +

                                                  + + Permalink + + +
                                                  Definition Classes
                                                  AnyRef → Any
                                                  +
                                                2. + + +

                                                  + + final + def + + + ##(): Int + +

                                                  + + Permalink + + +
                                                  Definition Classes
                                                  AnyRef → Any
                                                  +
                                                3. + + +

                                                  + + final + def + + + ==(arg0: Any): Boolean + +

                                                  + + Permalink + + +
                                                  Definition Classes
                                                  AnyRef → Any
                                                  +
                                                4. + + +

                                                  + + final + def + + + asInstanceOf[T0]: T0 + +

                                                  + + Permalink + + +
                                                  Definition Classes
                                                  Any
                                                  +
                                                5. + + +

                                                  + + + def + + + clone(): AnyRef + +

                                                  + + Permalink + + +
                                                  Attributes
                                                  protected[java.lang]
                                                  Definition Classes
                                                  AnyRef
                                                  Annotations
                                                  + @throws( + + ... + ) + +
                                                  +
                                                6. + + +

                                                  + + final + def + + + eq(arg0: AnyRef): Boolean + +

                                                  + + Permalink + + +
                                                  Definition Classes
                                                  AnyRef
                                                  +
                                                7. + + +

                                                  + + + def + + + finalize(): Unit + +

                                                  + + Permalink + + +
                                                  Attributes
                                                  protected[java.lang]
                                                  Definition Classes
                                                  AnyRef
                                                  Annotations
                                                  + @throws( + + classOf[java.lang.Throwable] + ) + +
                                                  +
                                                8. + + +

                                                  + + final + def + + + getClass(): Class[_] + +

                                                  + + Permalink + + +
                                                  Definition Classes
                                                  AnyRef → Any
                                                  +
                                                9. + + +

                                                  + + final + def + + + isInstanceOf[T0]: Boolean + +

                                                  + + Permalink + + +
                                                  Definition Classes
                                                  Any
                                                  +
                                                10. + + +

                                                  + + final + def + + + ne(arg0: AnyRef): Boolean + +

                                                  + + Permalink + + +
                                                  Definition Classes
                                                  AnyRef
                                                  +
                                                11. + + +

                                                  + + final + def + + + notify(): Unit + +

                                                  + + Permalink + + +
                                                  Definition Classes
                                                  AnyRef
                                                  +
                                                12. + + +

                                                  + + final + def + + + notifyAll(): Unit + +

                                                  + + Permalink + + +
                                                  Definition Classes
                                                  AnyRef
                                                  +
                                                13. + + +

                                                  + + final + def + + + synchronized[T0](arg0: ⇒ T0): T0 + +

                                                  + + Permalink + + +
                                                  Definition Classes
                                                  AnyRef
                                                  +
                                                14. + + +

                                                  + + + val + + + system: ActorSystem + +

                                                  + + Permalink + + + +
                                                15. + + +

                                                  + + final + def + + + wait(): Unit + +

                                                  + + Permalink + + +
                                                  Definition Classes
                                                  AnyRef
                                                  Annotations
                                                  + @throws( + + ... + ) + +
                                                  +
                                                16. + + +

                                                  + + final + def + + + wait(arg0: Long, arg1: Int): Unit + +

                                                  + + Permalink + + +
                                                  Definition Classes
                                                  AnyRef
                                                  Annotations
                                                  + @throws( + + ... + ) + +
                                                  +
                                                17. + + +

                                                  + + final + def + + + wait(arg0: Long): Unit + +

                                                  + + Permalink + + +
                                                  Definition Classes
                                                  AnyRef
                                                  Annotations
                                                  + @throws( + + ... + ) + +
                                                  +
                                                18. + + +

                                                  + + + val + + + wsClient: AhcWSClient + +

                                                  + + Permalink + + + +
                                                +
                                                + + + + +
                                                + +
                                                +
                                                +

                                                Inherited from Serializable

                                                +
                                                +

                                                Inherited from Serializable

                                                +
                                                +

                                                Inherited from Product

                                                +
                                                +

                                                Inherited from Equals

                                                +
                                                +

                                                Inherited from AnyRef

                                                +
                                                +

                                                Inherited from Any

                                                +
                                                + +
                                                + +
                                                +
                                                +

                                                Ungrouped

                                                + +
                                                +
                                                + +
                                                + +
                                                + + + + + + diff --git a/manual1903/api_reference/components/scaladocs/ksb/csle/component/ingestion/receiver/HttpPutResponseReceiver.html b/manual1903/api_reference/components/scaladocs/ksb/csle/component/ingestion/receiver/HttpPutResponseReceiver.html new file mode 100644 index 0000000000000000000000000000000000000000..9f5a23a368d43c542eda03143bb38a12c5fe6c1b --- /dev/null +++ b/manual1903/api_reference/components/scaladocs/ksb/csle/component/ingestion/receiver/HttpPutResponseReceiver.html @@ -0,0 +1,1045 @@ + + + + HttpPutResponseReceiver - KSB COMPONENTS Scala App Project 1.0-SNAPSHOT API - ksb.csle.component.ingestion.receiver.HttpPutResponseReceiver + + + + + + + + + + + + + + + +
                                                + Class +

                                                ksb.csle.component.ingestion.receiver

                                                +

                                                HttpPutResponseReceiver

                                                Related Doc: + package receiver +

                                                + + Permalink + + +
                                                + +

                                                + + final + class + + + HttpPutResponseReceiver extends Receiver[String] with Logging + +

                                                + +

                                                :: ApplicationDeveloperApi :: +After sending a put request to the http server, +it stores the received response in spark memory. +

                                                + Linear Supertypes +
                                                Logging, Receiver[String], Serializable, Serializable, AnyRef, Any
                                                +
                                                + + +
                                                +
                                                +
                                                + Ordering +
                                                  + +
                                                1. Alphabetic
                                                2. +
                                                3. By Inheritance
                                                4. +
                                                +
                                                +
                                                + Inherited
                                                +
                                                +
                                                  +
                                                1. HttpPutResponseReceiver
                                                2. Logging
                                                3. Receiver
                                                4. Serializable
                                                5. Serializable
                                                6. AnyRef
                                                7. Any
                                                8. +
                                                +
                                                + +
                                                  +
                                                1. Hide All
                                                2. +
                                                3. Show All
                                                4. +
                                                +
                                                +
                                                + Visibility +
                                                1. Public
                                                2. All
                                                +
                                                +
                                                + +
                                                +
                                                +
                                                +

                                                Instance Constructors

                                                +
                                                1. + + +

                                                  + + + new + + + HttpPutResponseReceiver(name: String, url: String, params: Map[String, String], headers: Map[String, String], body: String) + +

                                                  + + Permalink + + +

                                                  name

                                                  name of http post receiver actor

                                                  url

                                                  target http server url includes hostname, port, and path

                                                  params

                                                  http params

                                                  headers

                                                  http headers

                                                  body

                                                  payload to be included in a request

                                                  +
                                                +
                                                + +
                                                +

                                                Type Members

                                                +
                                                1. + + +

                                                  + + + case class + + + StopArgs(system: ActorSystem, wsClient: AhcWSClient) extends Product with Serializable + +

                                                  + + Permalink + + + +
                                                +
                                                + + + +
                                                +

                                                Value Members

                                                +
                                                1. + + +

                                                  + + final + def + + + !=(arg0: Any): Boolean + +

                                                  + + Permalink + + +
                                                  Definition Classes
                                                  AnyRef → Any
                                                  +
                                                2. + + +

                                                  + + final + def + + + ##(): Int + +

                                                  + + Permalink + + +
                                                  Definition Classes
                                                  AnyRef → Any
                                                  +
                                                3. + + +

                                                  + + final + def + + + ==(arg0: Any): Boolean + +

                                                  + + Permalink + + +
                                                  Definition Classes
                                                  AnyRef → Any
                                                  +
                                                4. + + +

                                                  + + + val + + + REQUEST_TIMEOUT: FiniteDuration + +

                                                  + + Permalink + + + +
                                                5. + + +

                                                  + + final + def + + + asInstanceOf[T0]: T0 + +

                                                  + + Permalink + + +
                                                  Definition Classes
                                                  Any
                                                  +
                                                6. + + +

                                                  + + + val + + + body: String + +

                                                  + + Permalink + + +

                                                  payload to be included in a request

                                                  +
                                                7. + + +

                                                  + + + def + + + clone(): AnyRef + +

                                                  + + Permalink + + +
                                                  Attributes
                                                  protected[java.lang]
                                                  Definition Classes
                                                  AnyRef
                                                  Annotations
                                                  + @throws( + + ... + ) + +
                                                  +
                                                8. + + +

                                                  + + final + def + + + eq(arg0: AnyRef): Boolean + +

                                                  + + Permalink + + +
                                                  Definition Classes
                                                  AnyRef
                                                  +
                                                9. + + +

                                                  + + + def + + + equals(arg0: Any): Boolean + +

                                                  + + Permalink + + +
                                                  Definition Classes
                                                  AnyRef → Any
                                                  +
                                                10. + + +

                                                  + + + def + + + finalize(): Unit + +

                                                  + + Permalink + + +
                                                  Attributes
                                                  protected[java.lang]
                                                  Definition Classes
                                                  AnyRef
                                                  Annotations
                                                  + @throws( + + classOf[java.lang.Throwable] + ) + +
                                                  +
                                                11. + + +

                                                  + + final + def + + + getClass(): Class[_] + +

                                                  + + Permalink + + +
                                                  Definition Classes
                                                  AnyRef → Any
                                                  +
                                                12. + + +

                                                  + + + def + + + hashCode(): Int + +

                                                  + + Permalink + + +
                                                  Definition Classes
                                                  AnyRef → Any
                                                  +
                                                13. + + +

                                                  + + + val + + + headers: Map[String, String] + +

                                                  + + Permalink + + +

                                                  http headers

                                                  +
                                                14. + + +

                                                  + + final + def + + + isInstanceOf[T0]: Boolean + +

                                                  + + Permalink + + +
                                                  Definition Classes
                                                  Any
                                                  +
                                                15. + + +

                                                  + + + def + + + isStarted(): Boolean + +

                                                  + + Permalink + + +
                                                  Definition Classes
                                                  Receiver
                                                  +
                                                16. + + +

                                                  + + + def + + + isStopped(): Boolean + +

                                                  + + Permalink + + +
                                                  Definition Classes
                                                  Receiver
                                                  +
                                                17. + + +

                                                  + + + val + + + logger: Logger + +

                                                  + + Permalink + + +
                                                  Attributes
                                                  protected
                                                  Definition Classes
                                                  Logging
                                                  +
                                                18. + + +

                                                  + + + val + + + name: String + +

                                                  + + Permalink + + +

                                                  name of http post receiver actor

                                                  +
                                                19. + + +

                                                  + + final + def + + + ne(arg0: AnyRef): Boolean + +

                                                  + + Permalink + + +
                                                  Definition Classes
                                                  AnyRef
                                                  +
                                                20. + + +

                                                  + + final + def + + + notify(): Unit + +

                                                  + + Permalink + + +
                                                  Definition Classes
                                                  AnyRef
                                                  +
                                                21. + + +

                                                  + + final + def + + + notifyAll(): Unit + +

                                                  + + Permalink + + +
                                                  Definition Classes
                                                  AnyRef
                                                  +
                                                22. + + +

                                                  + + + def + + + onStart(): Unit + +

                                                  + + Permalink + + +

                                                  Start to receive response from http server.

                                                  Start to receive response from http server. +

                                                  Definition Classes
                                                  HttpPutResponseReceiver → Receiver
                                                  +
                                                23. + + +

                                                  + + + def + + + onStop(): Unit + +

                                                  + + Permalink + + +

                                                  Stop to receive response from http server.

                                                  Stop to receive response from http server. +

                                                  Definition Classes
                                                  HttpPutResponseReceiver → Receiver
                                                  +
                                                24. + + +

                                                  + + + val + + + params: Map[String, String] + +

                                                  + + Permalink + + +

                                                  http params

                                                  +
                                                25. + + +

                                                  + + + def + + + preferredLocation: Option[String] + +

                                                  + + Permalink + + +
                                                  Definition Classes
                                                  Receiver
                                                  +
                                                26. + + +

                                                  + + + def + + + reportError(message: String, throwable: Throwable): Unit + +

                                                  + + Permalink + + +
                                                  Definition Classes
                                                  Receiver
                                                  +
                                                27. + + +

                                                  + + + def + + + restart(message: String, error: Throwable, millisecond: Int): Unit + +

                                                  + + Permalink + + +
                                                  Definition Classes
                                                  Receiver
                                                  +
                                                28. + + +

                                                  + + + def + + + restart(message: String, error: Throwable): Unit + +

                                                  + + Permalink + + +
                                                  Definition Classes
                                                  Receiver
                                                  +
                                                29. + + +

                                                  + + + def + + + restart(message: String): Unit + +

                                                  + + Permalink + + +
                                                  Definition Classes
                                                  Receiver
                                                  +
                                                30. + + +

                                                  + + + def + + + stop(message: String, error: Throwable): Unit + +

                                                  + + Permalink + + +
                                                  Definition Classes
                                                  Receiver
                                                  +
                                                31. + + +

                                                  + + + def + + + stop(message: String): Unit + +

                                                  + + Permalink + + +
                                                  Definition Classes
                                                  Receiver
                                                  +
                                                32. + + +

                                                  + + + var + + + stopArgs: StopArgs + +

                                                  + + Permalink + + + +
                                                33. + + +

                                                  + + + val + + + storageLevel: StorageLevel + +

                                                  + + Permalink + + +
                                                  Definition Classes
                                                  Receiver
                                                  +
                                                34. + + +

                                                  + + + def + + + store(bytes: ByteBuffer, metadata: Any): Unit + +

                                                  + + Permalink + + +
                                                  Definition Classes
                                                  Receiver
                                                  +
                                                35. + + +

                                                  + + + def + + + store(bytes: ByteBuffer): Unit + +

                                                  + + Permalink + + +
                                                  Definition Classes
                                                  Receiver
                                                  +
                                                36. + + +

                                                  + + + def + + + store(dataIterator: Iterator[String], metadata: Any): Unit + +

                                                  + + Permalink + + +
                                                  Definition Classes
                                                  Receiver
                                                  +
                                                37. + + +

                                                  + + + def + + + store(dataIterator: Iterator[String]): Unit + +

                                                  + + Permalink + + +
                                                  Definition Classes
                                                  Receiver
                                                  +
                                                38. + + +

                                                  + + + def + + + store(dataIterator: Iterator[String], metadata: Any): Unit + +

                                                  + + Permalink + + +
                                                  Definition Classes
                                                  Receiver
                                                  +
                                                39. + + +

                                                  + + + def + + + store(dataIterator: Iterator[String]): Unit + +

                                                  + + Permalink + + +
                                                  Definition Classes
                                                  Receiver
                                                  +
                                                40. + + +

                                                  + + + def + + + store(dataBuffer: ArrayBuffer[String], metadata: Any): Unit + +

                                                  + + Permalink + + +
                                                  Definition Classes
                                                  Receiver
                                                  +
                                                41. + + +

                                                  + + + def + + + store(dataBuffer: ArrayBuffer[String]): Unit + +

                                                  + + Permalink + + +
                                                  Definition Classes
                                                  Receiver
                                                  +
                                                42. + + +

                                                  + + + def + + + store(dataItem: String): Unit + +

                                                  + + Permalink + + +
                                                  Definition Classes
                                                  Receiver
                                                  +
                                                43. + + +

                                                  + + + def + + + streamId: Int + +

                                                  + + Permalink + + +
                                                  Definition Classes
                                                  Receiver
                                                  +
                                                44. + + +

                                                  + + final + def + + + synchronized[T0](arg0: ⇒ T0): T0 + +

                                                  + + Permalink + + +
                                                  Definition Classes
                                                  AnyRef
                                                  +
                                                45. + + +

                                                  + + + def + + + toString(): String + +

                                                  + + Permalink + + +
                                                  Definition Classes
                                                  AnyRef → Any
                                                  +
                                                46. + + +

                                                  + + + val + + + url: String + +

                                                  + + Permalink + + +

                                                  target http server url includes hostname, port, and path

                                                  +
                                                47. + + +

                                                  + + final + def + + + wait(): Unit + +

                                                  + + Permalink + + +
                                                  Definition Classes
                                                  AnyRef
                                                  Annotations
                                                  + @throws( + + ... + ) + +
                                                  +
                                                48. + + +

                                                  + + final + def + + + wait(arg0: Long, arg1: Int): Unit + +

                                                  + + Permalink + + +
                                                  Definition Classes
                                                  AnyRef
                                                  Annotations
                                                  + @throws( + + ... + ) + +
                                                  +
                                                49. + + +

                                                  + + final + def + + + wait(arg0: Long): Unit + +

                                                  + + Permalink + + +
                                                  Definition Classes
                                                  AnyRef
                                                  Annotations
                                                  + @throws( + + ... + ) + +
                                                  +
                                                +
                                                + + + + +
                                                + +
                                                +
                                                +

                                                Inherited from Logging

                                                +
                                                +

                                                Inherited from Receiver[String]

                                                +
                                                +

                                                Inherited from Serializable

                                                +
                                                +

                                                Inherited from Serializable

                                                +
                                                +

                                                Inherited from AnyRef

                                                +
                                                +

                                                Inherited from Any

                                                +
                                                + +
                                                + +
                                                +
                                                +

                                                Ungrouped

                                                + +
                                                +
                                                + +
                                                + +
                                                + + + + + + diff --git a/manual1903/api_reference/components/scaladocs/ksb/csle/component/ingestion/receiver/package.html b/manual1903/api_reference/components/scaladocs/ksb/csle/component/ingestion/receiver/package.html new file mode 100644 index 0000000000000000000000000000000000000000..8664a2f32fd5fe7be257a04b02ef22379257fb1f --- /dev/null +++ b/manual1903/api_reference/components/scaladocs/ksb/csle/component/ingestion/receiver/package.html @@ -0,0 +1,194 @@ + + + + receiver - KSB COMPONENTS Scala App Project 1.0-SNAPSHOT API - ksb.csle.component.ingestion.receiver + + + + + + + + + + + + + + + +
                                                + Package +

                                                ksb.csle.component.ingestion

                                                +

                                                receiver

                                                + + Permalink + + +
                                                + +

                                                + + + package + + + receiver + +

                                                + +
                                                + + +
                                                +
                                                + + +
                                                + Visibility +
                                                1. Public
                                                2. All
                                                +
                                                +
                                                + +
                                                +
                                                + + +
                                                +

                                                Type Members

                                                +
                                                1. + + +

                                                  + + final + class + + + HttpDeleteResponseReceiver extends Receiver[String] with Logging + +

                                                  + + Permalink + + +

                                                  :: ApplicationDeveloperApi ::

                                                  :: ApplicationDeveloperApi ::

                                                  After sending a post request to the http server, +it stores the received response in spark memory. +

                                                  +
                                                2. + + +

                                                  + + final + class + + + HttpGetResponseReceiver extends Receiver[String] with Logging + +

                                                  + + Permalink + + +

                                                  :: ApplicationDeveloperApi ::

                                                  :: ApplicationDeveloperApi ::

                                                  After sending a get request to the http server, +it stores the received response in spark memory. +

                                                  +
                                                3. + + +

                                                  + + final + class + + + HttpPostRequestReceiver extends Receiver[String] with Logging + +

                                                  + + Permalink + + +

                                                  HTTP Streaming data receiver based on Spark Streaming.

                                                  +
                                                4. + + +

                                                  + + final + class + + + HttpPostResponseReceiver extends Receiver[String] with Logging + +

                                                  + + Permalink + + +

                                                  :: ApplicationDeveloperApi :: +After sending a post request to the http server, +it stores the received response in spark memory.

                                                  +
                                                5. + + +

                                                  + + final + class + + + HttpPutResponseReceiver extends Receiver[String] with Logging + +

                                                  + + Permalink + + +

                                                  :: ApplicationDeveloperApi :: +After sending a put request to the http server, +it stores the received response in spark memory.

                                                  +
                                                +
                                                + + + + + + + + +
                                                + +
                                                + + +
                                                + +
                                                +
                                                +

                                                Ungrouped

                                                + +
                                                +
                                                + +
                                                + +
                                                + + + + + + diff --git a/manual1903/api_reference/components/scaladocs/ksb/csle/component/ingestion/util/BufferUtils$.html b/manual1903/api_reference/components/scaladocs/ksb/csle/component/ingestion/util/BufferUtils$.html new file mode 100644 index 0000000000000000000000000000000000000000..b84d5ffd4b56662ca25c2ca7243aea2b9bfaa3dc --- /dev/null +++ b/manual1903/api_reference/components/scaladocs/ksb/csle/component/ingestion/util/BufferUtils$.html @@ -0,0 +1,482 @@ + + + + BufferUtils - KSB COMPONENTS Scala App Project 1.0-SNAPSHOT API - ksb.csle.component.ingestion.util.BufferUtils + + + + + + + + + + + + + + + +
                                                + Object +

                                                ksb.csle.component.ingestion.util

                                                +

                                                BufferUtils

                                                Related Doc: + package util +

                                                + + Permalink + + +
                                                + +

                                                + + + object + + + BufferUtils + +

                                                + +
                                                + Linear Supertypes +
                                                AnyRef, Any
                                                +
                                                + + +
                                                +
                                                +
                                                + Ordering +
                                                  + +
                                                1. Alphabetic
                                                2. +
                                                3. By Inheritance
                                                4. +
                                                +
                                                +
                                                + Inherited
                                                +
                                                +
                                                  +
                                                1. BufferUtils
                                                2. AnyRef
                                                3. Any
                                                4. +
                                                +
                                                + +
                                                  +
                                                1. Hide All
                                                2. +
                                                3. Show All
                                                4. +
                                                +
                                                +
                                                + Visibility +
                                                1. Public
                                                2. All
                                                +
                                                +
                                                + +
                                                +
                                                + + + + + + +
                                                +

                                                Value Members

                                                +
                                                1. + + +

                                                  + + final + def + + + !=(arg0: Any): Boolean + +

                                                  + + Permalink + + +
                                                  Definition Classes
                                                  AnyRef → Any
                                                  +
                                                2. + + +

                                                  + + final + def + + + ##(): Int + +

                                                  + + Permalink + + +
                                                  Definition Classes
                                                  AnyRef → Any
                                                  +
                                                3. + + +

                                                  + + final + def + + + ==(arg0: Any): Boolean + +

                                                  + + Permalink + + +
                                                  Definition Classes
                                                  AnyRef → Any
                                                  +
                                                4. + + +

                                                  + + final + def + + + asInstanceOf[T0]: T0 + +

                                                  + + Permalink + + +
                                                  Definition Classes
                                                  Any
                                                  +
                                                5. + + +

                                                  + + + def + + + clone(): AnyRef + +

                                                  + + Permalink + + +
                                                  Attributes
                                                  protected[java.lang]
                                                  Definition Classes
                                                  AnyRef
                                                  Annotations
                                                  + @throws( + + ... + ) + +
                                                  +
                                                6. + + +

                                                  + + final + def + + + eq(arg0: AnyRef): Boolean + +

                                                  + + Permalink + + +
                                                  Definition Classes
                                                  AnyRef
                                                  +
                                                7. + + +

                                                  + + + def + + + equals(arg0: Any): Boolean + +

                                                  + + Permalink + + +
                                                  Definition Classes
                                                  AnyRef → Any
                                                  +
                                                8. + + +

                                                  + + + def + + + finalize(): Unit + +

                                                  + + Permalink + + +
                                                  Attributes
                                                  protected[java.lang]
                                                  Definition Classes
                                                  AnyRef
                                                  Annotations
                                                  + @throws( + + classOf[java.lang.Throwable] + ) + +
                                                  +
                                                9. + + +

                                                  + + final + def + + + getClass(): Class[_] + +

                                                  + + Permalink + + +
                                                  Definition Classes
                                                  AnyRef → Any
                                                  +
                                                10. + + +

                                                  + + + def + + + hashCode(): Int + +

                                                  + + Permalink + + +
                                                  Definition Classes
                                                  AnyRef → Any
                                                  +
                                                11. + + +

                                                  + + final + def + + + isInstanceOf[T0]: Boolean + +

                                                  + + Permalink + + +
                                                  Definition Classes
                                                  Any
                                                  +
                                                12. + + +

                                                  + + final + def + + + ne(arg0: AnyRef): Boolean + +

                                                  + + Permalink + + +
                                                  Definition Classes
                                                  AnyRef
                                                  +
                                                13. + + +

                                                  + + final + def + + + notify(): Unit + +

                                                  + + Permalink + + +
                                                  Definition Classes
                                                  AnyRef
                                                  +
                                                14. + + +

                                                  + + final + def + + + notifyAll(): Unit + +

                                                  + + Permalink + + +
                                                  Definition Classes
                                                  AnyRef
                                                  +
                                                15. + + +

                                                  + + final + def + + + synchronized[T0](arg0: ⇒ T0): T0 + +

                                                  + + Permalink + + +
                                                  Definition Classes
                                                  AnyRef
                                                  +
                                                16. + + +

                                                  + + + def + + + toString(): String + +

                                                  + + Permalink + + +
                                                  Definition Classes
                                                  AnyRef → Any
                                                  +
                                                17. + + +

                                                  + + final + def + + + wait(): Unit + +

                                                  + + Permalink + + +
                                                  Definition Classes
                                                  AnyRef
                                                  Annotations
                                                  + @throws( + + ... + ) + +
                                                  +
                                                18. + + +

                                                  + + final + def + + + wait(arg0: Long, arg1: Int): Unit + +

                                                  + + Permalink + + +
                                                  Definition Classes
                                                  AnyRef
                                                  Annotations
                                                  + @throws( + + ... + ) + +
                                                  +
                                                19. + + +

                                                  + + final + def + + + wait(arg0: Long): Unit + +

                                                  + + Permalink + + +
                                                  Definition Classes
                                                  AnyRef
                                                  Annotations
                                                  + @throws( + + ... + ) + +
                                                  +
                                                +
                                                + + + + +
                                                + +
                                                +
                                                +

                                                Inherited from AnyRef

                                                +
                                                +

                                                Inherited from Any

                                                +
                                                + +
                                                + +
                                                +
                                                +

                                                Ungrouped

                                                + +
                                                +
                                                + +
                                                + +
                                                + + + + + + diff --git a/manual1903/api_reference/components/scaladocs/ksb/csle/component/ingestion/util/OneM2MUtils$.html b/manual1903/api_reference/components/scaladocs/ksb/csle/component/ingestion/util/OneM2MUtils$.html new file mode 100644 index 0000000000000000000000000000000000000000..5d31483e2739e55730c46fb72bcf7b2a9b672c52 --- /dev/null +++ b/manual1903/api_reference/components/scaladocs/ksb/csle/component/ingestion/util/OneM2MUtils$.html @@ -0,0 +1,501 @@ + + + + OneM2MUtils - KSB COMPONENTS Scala App Project 1.0-SNAPSHOT API - ksb.csle.component.ingestion.util.OneM2MUtils + + + + + + + + + + + + + + + +
                                                + Object +

                                                ksb.csle.component.ingestion.util

                                                +

                                                OneM2MUtils

                                                Related Doc: + package util +

                                                + + Permalink + + +
                                                + +

                                                + + + object + + + OneM2MUtils + +

                                                + +

                                                Utility class to support oneM2M. +

                                                + Linear Supertypes +
                                                AnyRef, Any
                                                +
                                                + + +
                                                +
                                                +
                                                + Ordering +
                                                  + +
                                                1. Alphabetic
                                                2. +
                                                3. By Inheritance
                                                4. +
                                                +
                                                +
                                                + Inherited
                                                +
                                                +
                                                  +
                                                1. OneM2MUtils
                                                2. AnyRef
                                                3. Any
                                                4. +
                                                +
                                                + +
                                                  +
                                                1. Hide All
                                                2. +
                                                3. Show All
                                                4. +
                                                +
                                                +
                                                + Visibility +
                                                1. Public
                                                2. All
                                                +
                                                +
                                                + +
                                                +
                                                + + + + + + +
                                                +

                                                Value Members

                                                +
                                                1. + + +

                                                  + + final + def + + + !=(arg0: Any): Boolean + +

                                                  + + Permalink + + +
                                                  Definition Classes
                                                  AnyRef → Any
                                                  +
                                                2. + + +

                                                  + + final + def + + + ##(): Int + +

                                                  + + Permalink + + +
                                                  Definition Classes
                                                  AnyRef → Any
                                                  +
                                                3. + + +

                                                  + + final + def + + + ==(arg0: Any): Boolean + +

                                                  + + Permalink + + +
                                                  Definition Classes
                                                  AnyRef → Any
                                                  +
                                                4. + + +

                                                  + + final + def + + + asInstanceOf[T0]: T0 + +

                                                  + + Permalink + + +
                                                  Definition Classes
                                                  Any
                                                  +
                                                5. + + +

                                                  + + + def + + + clone(): AnyRef + +

                                                  + + Permalink + + +
                                                  Attributes
                                                  protected[java.lang]
                                                  Definition Classes
                                                  AnyRef
                                                  Annotations
                                                  + @throws( + + ... + ) + +
                                                  +
                                                6. + + +

                                                  + + final + def + + + eq(arg0: AnyRef): Boolean + +

                                                  + + Permalink + + +
                                                  Definition Classes
                                                  AnyRef
                                                  +
                                                7. + + +

                                                  + + + def + + + equals(arg0: Any): Boolean + +

                                                  + + Permalink + + +
                                                  Definition Classes
                                                  AnyRef → Any
                                                  +
                                                8. + + +

                                                  + + + def + + + extractContent(notification: String, contentType: String): String + +

                                                  + + Permalink + + +

                                                  Extract content from oneM2M notification message.

                                                  Extract content from oneM2M notification message. +

                                                  notification

                                                  Notification message.

                                                  contentType

                                                  Content-Type of Notification message.

                                                  returns

                                                  String Content in the notification message.

                                                  +
                                                9. + + +

                                                  + + + def + + + finalize(): Unit + +

                                                  + + Permalink + + +
                                                  Attributes
                                                  protected[java.lang]
                                                  Definition Classes
                                                  AnyRef
                                                  Annotations
                                                  + @throws( + + classOf[java.lang.Throwable] + ) + +
                                                  +
                                                10. + + +

                                                  + + final + def + + + getClass(): Class[_] + +

                                                  + + Permalink + + +
                                                  Definition Classes
                                                  AnyRef → Any
                                                  +
                                                11. + + +

                                                  + + + def + + + hashCode(): Int + +

                                                  + + Permalink + + +
                                                  Definition Classes
                                                  AnyRef → Any
                                                  +
                                                12. + + +

                                                  + + final + def + + + isInstanceOf[T0]: Boolean + +

                                                  + + Permalink + + +
                                                  Definition Classes
                                                  Any
                                                  +
                                                13. + + +

                                                  + + final + def + + + ne(arg0: AnyRef): Boolean + +

                                                  + + Permalink + + +
                                                  Definition Classes
                                                  AnyRef
                                                  +
                                                14. + + +

                                                  + + final + def + + + notify(): Unit + +

                                                  + + Permalink + + +
                                                  Definition Classes
                                                  AnyRef
                                                  +
                                                15. + + +

                                                  + + final + def + + + notifyAll(): Unit + +

                                                  + + Permalink + + +
                                                  Definition Classes
                                                  AnyRef
                                                  +
                                                16. + + +

                                                  + + final + def + + + synchronized[T0](arg0: ⇒ T0): T0 + +

                                                  + + Permalink + + +
                                                  Definition Classes
                                                  AnyRef
                                                  +
                                                17. + + +

                                                  + + + def + + + toString(): String + +

                                                  + + Permalink + + +
                                                  Definition Classes
                                                  AnyRef → Any
                                                  +
                                                18. + + +

                                                  + + final + def + + + wait(): Unit + +

                                                  + + Permalink + + +
                                                  Definition Classes
                                                  AnyRef
                                                  Annotations
                                                  + @throws( + + ... + ) + +
                                                  +
                                                19. + + +

                                                  + + final + def + + + wait(arg0: Long, arg1: Int): Unit + +

                                                  + + Permalink + + +
                                                  Definition Classes
                                                  AnyRef
                                                  Annotations
                                                  + @throws( + + ... + ) + +
                                                  +
                                                20. + + +

                                                  + + final + def + + + wait(arg0: Long): Unit + +

                                                  + + Permalink + + +
                                                  Definition Classes
                                                  AnyRef
                                                  Annotations
                                                  + @throws( + + ... + ) + +
                                                  +
                                                +
                                                + + + + +
                                                + +
                                                +
                                                +

                                                Inherited from AnyRef

                                                +
                                                +

                                                Inherited from Any

                                                +
                                                + +
                                                + +
                                                +
                                                +

                                                Ungrouped

                                                + +
                                                +
                                                + +
                                                + +
                                                + + + + + + diff --git a/manual1903/api_reference/components/scaladocs/ksb/csle/component/ingestion/util/package.html b/manual1903/api_reference/components/scaladocs/ksb/csle/component/ingestion/util/package.html new file mode 100644 index 0000000000000000000000000000000000000000..9e02e18eea7ca36d7305710d0502ef7b4c55937a --- /dev/null +++ b/manual1903/api_reference/components/scaladocs/ksb/csle/component/ingestion/util/package.html @@ -0,0 +1,135 @@ + + + + util - KSB COMPONENTS Scala App Project 1.0-SNAPSHOT API - ksb.csle.component.ingestion.util + + + + + + + + + + + + + + + +
                                                + Package +

                                                ksb.csle.component.ingestion

                                                +

                                                util

                                                + + Permalink + + +
                                                + +

                                                + + + package + + + util + +

                                                + +
                                                + + +
                                                +
                                                + + +
                                                + Visibility +
                                                1. Public
                                                2. All
                                                +
                                                +
                                                + +
                                                +
                                                + + + + + + +
                                                +

                                                Value Members

                                                +
                                                1. + + +

                                                  + + + object + + + BufferUtils + +

                                                  + + Permalink + + + +
                                                2. + + +

                                                  + + + object + + + OneM2MUtils + +

                                                  + + Permalink + + +

                                                  Utility class to support oneM2M.

                                                  +
                                                +
                                                + + + + +
                                                + +
                                                + + +
                                                + +
                                                +
                                                +

                                                Ungrouped

                                                + +
                                                +
                                                + +
                                                + +
                                                + + + + + + diff --git a/manual1903/api_reference/components/scaladocs/ksb/csle/component/operator/analysis/DLTrainOperator$.html b/manual1903/api_reference/components/scaladocs/ksb/csle/component/operator/analysis/DLTrainOperator$.html new file mode 100644 index 0000000000000000000000000000000000000000..0bed131291b0f0f49848636141e8a48261fecec9 --- /dev/null +++ b/manual1903/api_reference/components/scaladocs/ksb/csle/component/operator/analysis/DLTrainOperator$.html @@ -0,0 +1,524 @@ + + + + DLTrainOperator - KSB COMPONENTS Scala App Project 1.0-SNAPSHOT API - ksb.csle.component.operator.analysis.DLTrainOperator + + + + + + + + + + + + + + + + + +

                                                + + + object + + + DLTrainOperator extends Logging with Serializable + +

                                                + +
                                                + Linear Supertypes +
                                                Serializable, Serializable, Logging, AnyRef, Any
                                                +
                                                + + +
                                                +
                                                +
                                                + Ordering +
                                                  + +
                                                1. Alphabetic
                                                2. +
                                                3. By Inheritance
                                                4. +
                                                +
                                                +
                                                + Inherited
                                                +
                                                +
                                                  +
                                                1. DLTrainOperator
                                                2. Serializable
                                                3. Serializable
                                                4. Logging
                                                5. AnyRef
                                                6. Any
                                                7. +
                                                +
                                                + +
                                                  +
                                                1. Hide All
                                                2. +
                                                3. Show All
                                                4. +
                                                +
                                                +
                                                + Visibility +
                                                1. Public
                                                2. All
                                                +
                                                +
                                                + +
                                                +
                                                + + + + + + +
                                                +

                                                Value Members

                                                +
                                                1. + + +

                                                  + + final + def + + + !=(arg0: Any): Boolean + +

                                                  + + Permalink + + +
                                                  Definition Classes
                                                  AnyRef → Any
                                                  +
                                                2. + + +

                                                  + + final + def + + + ##(): Int + +

                                                  + + Permalink + + +
                                                  Definition Classes
                                                  AnyRef → Any
                                                  +
                                                3. + + +

                                                  + + final + def + + + ==(arg0: Any): Boolean + +

                                                  + + Permalink + + +
                                                  Definition Classes
                                                  AnyRef → Any
                                                  +
                                                4. + + +

                                                  + + + def + + + apply(o: BatchOperatorInfo): DLTrainOperator + +

                                                  + + Permalink + + + +
                                                5. + + +

                                                  + + final + def + + + asInstanceOf[T0]: T0 + +

                                                  + + Permalink + + +
                                                  Definition Classes
                                                  Any
                                                  +
                                                6. + + +

                                                  + + + def + + + clone(): AnyRef + +

                                                  + + Permalink + + +
                                                  Attributes
                                                  protected[java.lang]
                                                  Definition Classes
                                                  AnyRef
                                                  Annotations
                                                  + @throws( + + ... + ) + +
                                                  +
                                                7. + + +

                                                  + + final + def + + + eq(arg0: AnyRef): Boolean + +

                                                  + + Permalink + + +
                                                  Definition Classes
                                                  AnyRef
                                                  +
                                                8. + + +

                                                  + + + def + + + equals(arg0: Any): Boolean + +

                                                  + + Permalink + + +
                                                  Definition Classes
                                                  AnyRef → Any
                                                  +
                                                9. + + +

                                                  + + + def + + + finalize(): Unit + +

                                                  + + Permalink + + +
                                                  Attributes
                                                  protected[java.lang]
                                                  Definition Classes
                                                  AnyRef
                                                  Annotations
                                                  + @throws( + + classOf[java.lang.Throwable] + ) + +
                                                  +
                                                10. + + +

                                                  + + final + def + + + getClass(): Class[_] + +

                                                  + + Permalink + + +
                                                  Definition Classes
                                                  AnyRef → Any
                                                  +
                                                11. + + +

                                                  + + + def + + + hashCode(): Int + +

                                                  + + Permalink + + +
                                                  Definition Classes
                                                  AnyRef → Any
                                                  +
                                                12. + + +

                                                  + + final + def + + + isInstanceOf[T0]: Boolean + +

                                                  + + Permalink + + +
                                                  Definition Classes
                                                  Any
                                                  +
                                                13. + + +

                                                  + + + val + + + logger: Logger + +

                                                  + + Permalink + + +
                                                  Attributes
                                                  protected
                                                  Definition Classes
                                                  Logging
                                                  +
                                                14. + + +

                                                  + + final + def + + + ne(arg0: AnyRef): Boolean + +

                                                  + + Permalink + + +
                                                  Definition Classes
                                                  AnyRef
                                                  +
                                                15. + + +

                                                  + + final + def + + + notify(): Unit + +

                                                  + + Permalink + + +
                                                  Definition Classes
                                                  AnyRef
                                                  +
                                                16. + + +

                                                  + + final + def + + + notifyAll(): Unit + +

                                                  + + Permalink + + +
                                                  Definition Classes
                                                  AnyRef
                                                  +
                                                17. + + +

                                                  + + final + def + + + synchronized[T0](arg0: ⇒ T0): T0 + +

                                                  + + Permalink + + +
                                                  Definition Classes
                                                  AnyRef
                                                  +
                                                18. + + +

                                                  + + + def + + + toString(): String + +

                                                  + + Permalink + + +
                                                  Definition Classes
                                                  AnyRef → Any
                                                  +
                                                19. + + +

                                                  + + final + def + + + wait(): Unit + +

                                                  + + Permalink + + +
                                                  Definition Classes
                                                  AnyRef
                                                  Annotations
                                                  + @throws( + + ... + ) + +
                                                  +
                                                20. + + +

                                                  + + final + def + + + wait(arg0: Long, arg1: Int): Unit + +

                                                  + + Permalink + + +
                                                  Definition Classes
                                                  AnyRef
                                                  Annotations
                                                  + @throws( + + ... + ) + +
                                                  +
                                                21. + + +

                                                  + + final + def + + + wait(arg0: Long): Unit + +

                                                  + + Permalink + + +
                                                  Definition Classes
                                                  AnyRef
                                                  Annotations
                                                  + @throws( + + ... + ) + +
                                                  +
                                                +
                                                + + + + +
                                                + +
                                                +
                                                +

                                                Inherited from Serializable

                                                +
                                                +

                                                Inherited from Serializable

                                                +
                                                +

                                                Inherited from Logging

                                                +
                                                +

                                                Inherited from AnyRef

                                                +
                                                +

                                                Inherited from Any

                                                +
                                                + +
                                                + +
                                                +
                                                +

                                                Ungrouped

                                                + +
                                                +
                                                + +
                                                + +
                                                + + + + + + diff --git a/manual1903/api_reference/components/scaladocs/ksb/csle/component/operator/analysis/DLTrainOperator.html b/manual1903/api_reference/components/scaladocs/ksb/csle/component/operator/analysis/DLTrainOperator.html new file mode 100644 index 0000000000000000000000000000000000000000..3ae11d3f3f612e8a5a8113d1a71e305f005032cc --- /dev/null +++ b/manual1903/api_reference/components/scaladocs/ksb/csle/component/operator/analysis/DLTrainOperator.html @@ -0,0 +1,578 @@ + + + + DLTrainOperator - KSB COMPONENTS Scala App Project 1.0-SNAPSHOT API - ksb.csle.component.operator.analysis.DLTrainOperator + + + + + + + + + + + + + + + + + +

                                                + + + class + + + DLTrainOperator extends BaseGenericOperator[BatchOperatorInfo, Any] + +

                                                + +

                                                :: ApplicationDeveloperApi ::

                                                Operator that specifies path information for DL model +and additional parameters to be used in the python code. +modelPath will be passed as '--input' parameter to python code +and additional parameters will be passed to key-value pairs with '--'. +

                                                + Linear Supertypes +
                                                BaseGenericOperator[BatchOperatorInfo, Any], BaseGenericMutantOperator[BatchOperatorInfo, Any, Any], BaseDoer, Logging, Serializable, Serializable, AnyRef, Any
                                                +
                                                + + +
                                                +
                                                +
                                                + Ordering +
                                                  + +
                                                1. Alphabetic
                                                2. +
                                                3. By Inheritance
                                                4. +
                                                +
                                                +
                                                + Inherited
                                                +
                                                +
                                                  +
                                                1. DLTrainOperator
                                                2. BaseGenericOperator
                                                3. BaseGenericMutantOperator
                                                4. BaseDoer
                                                5. Logging
                                                6. Serializable
                                                7. Serializable
                                                8. AnyRef
                                                9. Any
                                                10. +
                                                +
                                                + +
                                                  +
                                                1. Hide All
                                                2. +
                                                3. Show All
                                                4. +
                                                +
                                                +
                                                + Visibility +
                                                1. Public
                                                2. All
                                                +
                                                +
                                                + +
                                                +
                                                +
                                                +

                                                Instance Constructors

                                                +
                                                1. + + +

                                                  + + + new + + + DLTrainOperator(o: BatchOperatorInfo) + +

                                                  + + Permalink + + +

                                                  o

                                                  Object that contains message + ksb.csle.common.proto.StreamOperatorProto.AggregateInfo + AggregateInfo contains attributes as follows:

                                                  • modelPath: Path for dl model. + The path should contain checkpoint and model.ckpt files (required).
                                                  • attributes: key-value pairs to be passed to python code (repeated).

                                                  DLTrainOperatorInfo

                                                  message DLTrainOperatorInfo {
                                                  + required string modelPath = 3;
                                                  + repeated ParamPair additionalParams = 5;
                                                  +}
                                                  +
                                                +
                                                + + + + + +
                                                +

                                                Value Members

                                                +
                                                1. + + +

                                                  + + final + def + + + !=(arg0: Any): Boolean + +

                                                  + + Permalink + + +
                                                  Definition Classes
                                                  AnyRef → Any
                                                  +
                                                2. + + +

                                                  + + final + def + + + ##(): Int + +

                                                  + + Permalink + + +
                                                  Definition Classes
                                                  AnyRef → Any
                                                  +
                                                3. + + +

                                                  + + final + def + + + ==(arg0: Any): Boolean + +

                                                  + + Permalink + + +
                                                  Definition Classes
                                                  AnyRef → Any
                                                  +
                                                4. + + +

                                                  + + final + def + + + asInstanceOf[T0]: T0 + +

                                                  + + Permalink + + +
                                                  Definition Classes
                                                  Any
                                                  +
                                                5. + + +

                                                  + + + def + + + clone(): AnyRef + +

                                                  + + Permalink + + +
                                                  Attributes
                                                  protected[java.lang]
                                                  Definition Classes
                                                  AnyRef
                                                  Annotations
                                                  + @throws( + + ... + ) + +
                                                  +
                                                6. + + +

                                                  + + final + def + + + eq(arg0: AnyRef): Boolean + +

                                                  + + Permalink + + +
                                                  Definition Classes
                                                  AnyRef
                                                  +
                                                7. + + +

                                                  + + + def + + + equals(arg0: Any): Boolean + +

                                                  + + Permalink + + +
                                                  Definition Classes
                                                  AnyRef → Any
                                                  +
                                                8. + + +

                                                  + + + def + + + finalize(): Unit + +

                                                  + + Permalink + + +
                                                  Attributes
                                                  protected[java.lang]
                                                  Definition Classes
                                                  AnyRef
                                                  Annotations
                                                  + @throws( + + classOf[java.lang.Throwable] + ) + +
                                                  +
                                                9. + + +

                                                  + + final + def + + + getClass(): Class[_] + +

                                                  + + Permalink + + +
                                                  Definition Classes
                                                  AnyRef → Any
                                                  +
                                                10. + + +

                                                  + + + def + + + hashCode(): Int + +

                                                  + + Permalink + + +
                                                  Definition Classes
                                                  AnyRef → Any
                                                  +
                                                11. + + +

                                                  + + final + def + + + isInstanceOf[T0]: Boolean + +

                                                  + + Permalink + + +
                                                  Definition Classes
                                                  Any
                                                  +
                                                12. + + +

                                                  + + + val + + + logger: Logger + +

                                                  + + Permalink + + +
                                                  Attributes
                                                  protected
                                                  Definition Classes
                                                  Logging
                                                  +
                                                13. + + +

                                                  + + final + def + + + ne(arg0: AnyRef): Boolean + +

                                                  + + Permalink + + +
                                                  Definition Classes
                                                  AnyRef
                                                  +
                                                14. + + +

                                                  + + final + def + + + notify(): Unit + +

                                                  + + Permalink + + +
                                                  Definition Classes
                                                  AnyRef
                                                  +
                                                15. + + +

                                                  + + final + def + + + notifyAll(): Unit + +

                                                  + + Permalink + + +
                                                  Definition Classes
                                                  AnyRef
                                                  +
                                                16. + + +

                                                  + + + def + + + operate(df: Any): Unit + +

                                                  + + Permalink + + +

                                                  Dummy operator.

                                                  Dummy operator. +

                                                  df

                                                  Input dataframe

                                                  returns

                                                  DataFrame Output dataframe

                                                  Definition Classes
                                                  DLTrainOperator → BaseGenericOperator → BaseGenericMutantOperator
                                                  +
                                                17. + + +

                                                  + + + def + + + stop: Unit + +

                                                  + + Permalink + + +
                                                  Definition Classes
                                                  BaseGenericOperator → BaseGenericMutantOperator
                                                  +
                                                18. + + +

                                                  + + final + def + + + synchronized[T0](arg0: ⇒ T0): T0 + +

                                                  + + Permalink + + +
                                                  Definition Classes
                                                  AnyRef
                                                  +
                                                19. + + +

                                                  + + + def + + + toString(): String + +

                                                  + + Permalink + + +
                                                  Definition Classes
                                                  AnyRef → Any
                                                  +
                                                20. + + +

                                                  + + final + def + + + wait(): Unit + +

                                                  + + Permalink + + +
                                                  Definition Classes
                                                  AnyRef
                                                  Annotations
                                                  + @throws( + + ... + ) + +
                                                  +
                                                21. + + +

                                                  + + final + def + + + wait(arg0: Long, arg1: Int): Unit + +

                                                  + + Permalink + + +
                                                  Definition Classes
                                                  AnyRef
                                                  Annotations
                                                  + @throws( + + ... + ) + +
                                                  +
                                                22. + + +

                                                  + + final + def + + + wait(arg0: Long): Unit + +

                                                  + + Permalink + + +
                                                  Definition Classes
                                                  AnyRef
                                                  Annotations
                                                  + @throws( + + ... + ) + +
                                                  +
                                                +
                                                + + + + +
                                                + +
                                                +
                                                +

                                                Inherited from BaseGenericOperator[BatchOperatorInfo, Any]

                                                +
                                                +

                                                Inherited from BaseGenericMutantOperator[BatchOperatorInfo, Any, Any]

                                                +
                                                +

                                                Inherited from BaseDoer

                                                +
                                                +

                                                Inherited from Logging

                                                +
                                                +

                                                Inherited from Serializable

                                                +
                                                +

                                                Inherited from Serializable

                                                +
                                                +

                                                Inherited from AnyRef

                                                +
                                                +

                                                Inherited from Any

                                                +
                                                + +
                                                + +
                                                +
                                                +

                                                Ungrouped

                                                + +
                                                +
                                                + +
                                                + +
                                                + + + + + + diff --git a/manual1903/api_reference/components/scaladocs/ksb/csle/component/operator/analysis/RandomForestClassifierPredictOperator.html b/manual1903/api_reference/components/scaladocs/ksb/csle/component/operator/analysis/RandomForestClassifierPredictOperator.html new file mode 100644 index 0000000000000000000000000000000000000000..13e545607ab40005034ec4c2c192fe0b4e0bcf7a --- /dev/null +++ b/manual1903/api_reference/components/scaladocs/ksb/csle/component/operator/analysis/RandomForestClassifierPredictOperator.html @@ -0,0 +1,574 @@ + + + + RandomForestClassifierPredictOperator - KSB COMPONENTS Scala App Project 1.0-SNAPSHOT API - ksb.csle.component.operator.analysis.RandomForestClassifierPredictOperator + + + + + + + + + + + + + + + +
                                                + Class +

                                                ksb.csle.component.operator.analysis

                                                +

                                                RandomForestClassifierPredictOperator

                                                Related Doc: + package analysis +

                                                + + Permalink + + +
                                                + +

                                                + + + class + + + RandomForestClassifierPredictOperator extends BaseDataOperator[StreamOperatorInfo, DataFrame] + +

                                                + +

                                                :: ApplicationDeveloperApi ::

                                                Operator that performs the prediction according to a given RandomForest classification model. +

                                                + Linear Supertypes +
                                                BaseDataOperator[StreamOperatorInfo, DataFrame], BaseGenericOperator[StreamOperatorInfo, DataFrame], BaseGenericMutantOperator[StreamOperatorInfo, DataFrame, DataFrame], BaseDoer, Logging, Serializable, Serializable, AnyRef, Any
                                                +
                                                + + +
                                                +
                                                +
                                                + Ordering +
                                                  + +
                                                1. Alphabetic
                                                2. +
                                                3. By Inheritance
                                                4. +
                                                +
                                                +
                                                + Inherited
                                                +
                                                +
                                                  +
                                                1. RandomForestClassifierPredictOperator
                                                2. BaseDataOperator
                                                3. BaseGenericOperator
                                                4. BaseGenericMutantOperator
                                                5. BaseDoer
                                                6. Logging
                                                7. Serializable
                                                8. Serializable
                                                9. AnyRef
                                                10. Any
                                                11. +
                                                +
                                                + +
                                                  +
                                                1. Hide All
                                                2. +
                                                3. Show All
                                                4. +
                                                +
                                                +
                                                + Visibility +
                                                1. Public
                                                2. All
                                                +
                                                +
                                                + +
                                                +
                                                +
                                                +

                                                Instance Constructors

                                                +
                                                1. + + +

                                                  + + + new + + + RandomForestClassifierPredictOperator(o: StreamOperatorInfo) + +

                                                  + + Permalink + + +

                                                  o

                                                  Object that contains message + ksb.csle.common.proto.StreamOperatorProto.RandomForestClassifierPredictInfo + RandomForestClassifierPredictInfo contains attributes as follows:

                                                  • modelBasePath: model base directory path (required)
                                                  • modelId: model identifier to load; if not set, load the latest model (optional)

                                                  RandomForestClassifierPredictInfo

                                                  message RandomForestClassifierPredictInfo {
                                                  +  required string modelBasePath = 1;
                                                  +  optional string modelId = 2;
                                                  +}
                                                  +
                                                +
                                                + + + + + +
                                                +

                                                Value Members

                                                +
                                                1. + + +

                                                  + + final + def + + + !=(arg0: Any): Boolean + +

                                                  + + Permalink + + +
                                                  Definition Classes
                                                  AnyRef → Any
                                                  +
                                                2. + + +

                                                  + + final + def + + + ##(): Int + +

                                                  + + Permalink + + +
                                                  Definition Classes
                                                  AnyRef → Any
                                                  +
                                                3. + + +

                                                  + + final + def + + + ==(arg0: Any): Boolean + +

                                                  + + Permalink + + +
                                                  Definition Classes
                                                  AnyRef → Any
                                                  +
                                                4. + + +

                                                  + + final + def + + + asInstanceOf[T0]: T0 + +

                                                  + + Permalink + + +
                                                  Definition Classes
                                                  Any
                                                  +
                                                5. + + +

                                                  + + + def + + + clone(): AnyRef + +

                                                  + + Permalink + + +
                                                  Attributes
                                                  protected[java.lang]
                                                  Definition Classes
                                                  AnyRef
                                                  Annotations
                                                  + @throws( + + ... + ) + +
                                                  +
                                                6. + + +

                                                  + + final + def + + + eq(arg0: AnyRef): Boolean + +

                                                  + + Permalink + + +
                                                  Definition Classes
                                                  AnyRef
                                                  +
                                                7. + + +

                                                  + + + def + + + equals(arg0: Any): Boolean + +

                                                  + + Permalink + + +
                                                  Definition Classes
                                                  AnyRef → Any
                                                  +
                                                8. + + +

                                                  + + + def + + + finalize(): Unit + +

                                                  + + Permalink + + +
                                                  Attributes
                                                  protected[java.lang]
                                                  Definition Classes
                                                  AnyRef
                                                  Annotations
                                                  + @throws( + + classOf[java.lang.Throwable] + ) + +
                                                  +
                                                9. + + +

                                                  + + final + def + + + getClass(): Class[_] + +

                                                  + + Permalink + + +
                                                  Definition Classes
                                                  AnyRef → Any
                                                  +
                                                10. + + +

                                                  + + + def + + + hashCode(): Int + +

                                                  + + Permalink + + +
                                                  Definition Classes
                                                  AnyRef → Any
                                                  +
                                                11. + + +

                                                  + + final + def + + + isInstanceOf[T0]: Boolean + +

                                                  + + Permalink + + +
                                                  Definition Classes
                                                  Any
                                                  +
                                                12. + + +

                                                  + + + val + + + logger: Logger + +

                                                  + + Permalink + + +
                                                  Attributes
                                                  protected
                                                  Definition Classes
                                                  Logging
                                                  +
                                                13. + + +

                                                  + + final + def + + + ne(arg0: AnyRef): Boolean + +

                                                  + + Permalink + + +
                                                  Definition Classes
                                                  AnyRef
                                                  +
                                                14. + + +

                                                  + + final + def + + + notify(): Unit + +

                                                  + + Permalink + + +
                                                  Definition Classes
                                                  AnyRef
                                                  +
                                                15. + + +

                                                  + + final + def + + + notifyAll(): Unit + +

                                                  + + Permalink + + +
                                                  Definition Classes
                                                  AnyRef
                                                  +
                                                16. + + +

                                                  + + + def + + + operate(inputs: DataFrame): DataFrame + +

                                                  + + Permalink + + +

                                                  Operates the RandomForest classification model prediction.

                                                  Operates the RandomForest classification model prediction. +

                                                  inputs

                                                  Input dataframe

                                                  returns

                                                  DataFrame Output dataframe has prediction output columns.

                                                  Definition Classes
                                                  RandomForestClassifierPredictOperator → BaseGenericOperator → BaseGenericMutantOperator
                                                  +
                                                17. + + +

                                                  + + + def + + + stop: Unit + +

                                                  + + Permalink + + +
                                                  Definition Classes
                                                  BaseGenericOperator → BaseGenericMutantOperator
                                                  +
                                                18. + + +

                                                  + + final + def + + + synchronized[T0](arg0: ⇒ T0): T0 + +

                                                  + + Permalink + + +
                                                  Definition Classes
                                                  AnyRef
                                                  +
                                                19. + + +

                                                  + + + def + + + toString(): String + +

                                                  + + Permalink + + +
                                                  Definition Classes
                                                  AnyRef → Any
                                                  +
                                                20. + + +

                                                  + + final + def + + + wait(): Unit + +

                                                  + + Permalink + + +
                                                  Definition Classes
                                                  AnyRef
                                                  Annotations
                                                  + @throws( + + ... + ) + +
                                                  +
                                                21. + + +

                                                  + + final + def + + + wait(arg0: Long, arg1: Int): Unit + +

                                                  + + Permalink + + +
                                                  Definition Classes
                                                  AnyRef
                                                  Annotations
                                                  + @throws( + + ... + ) + +
                                                  +
                                                22. + + +

                                                  + + final + def + + + wait(arg0: Long): Unit + +

                                                  + + Permalink + + +
                                                  Definition Classes
                                                  AnyRef
                                                  Annotations
                                                  + @throws( + + ... + ) + +
                                                  +
                                                +
                                                + + + + +
                                                + +
                                                +
                                                +

                                                Inherited from BaseDataOperator[StreamOperatorInfo, DataFrame]

                                                +
                                                +

                                                Inherited from BaseGenericOperator[StreamOperatorInfo, DataFrame]

                                                +
                                                +

                                                Inherited from BaseGenericMutantOperator[StreamOperatorInfo, DataFrame, DataFrame]

                                                +
                                                +

                                                Inherited from BaseDoer

                                                +
                                                +

                                                Inherited from Logging

                                                +
                                                +

                                                Inherited from Serializable

                                                +
                                                +

                                                Inherited from Serializable

                                                +
                                                +

                                                Inherited from AnyRef

                                                +
                                                +

                                                Inherited from Any

                                                +
                                                + +
                                                + +
                                                +
                                                +

                                                Ungrouped

                                                + +
                                                +
                                                + +
                                                + +
                                                + + + + + + diff --git a/manual1903/api_reference/components/scaladocs/ksb/csle/component/operator/analysis/RandomForestClassifierTrainOperator.html b/manual1903/api_reference/components/scaladocs/ksb/csle/component/operator/analysis/RandomForestClassifierTrainOperator.html new file mode 100644 index 0000000000000000000000000000000000000000..e71b16f4d8bf1421306886e9c497cdfc81f854a2 --- /dev/null +++ b/manual1903/api_reference/components/scaladocs/ksb/csle/component/operator/analysis/RandomForestClassifierTrainOperator.html @@ -0,0 +1,592 @@ + + + + RandomForestClassifierTrainOperator - KSB COMPONENTS Scala App Project 1.0-SNAPSHOT API - ksb.csle.component.operator.analysis.RandomForestClassifierTrainOperator + + + + + + + + + + + + + + + +
                                                + Class +

                                                ksb.csle.component.operator.analysis

                                                +

                                                RandomForestClassifierTrainOperator

                                                Related Doc: + package analysis +

                                                + + Permalink + + +
                                                + +

                                                + + + class + + + RandomForestClassifierTrainOperator extends BaseDataOperator[StreamOperatorInfo, DataFrame] + +

                                                + +

                                                :: ApplicationDeveloperApi ::

                                                Operator that trains RandomForest classification model in the given attributes. +

                                                + Linear Supertypes +
                                                BaseDataOperator[StreamOperatorInfo, DataFrame], BaseGenericOperator[StreamOperatorInfo, DataFrame], BaseGenericMutantOperator[StreamOperatorInfo, DataFrame, DataFrame], BaseDoer, Logging, Serializable, Serializable, AnyRef, Any
                                                +
                                                + + +
                                                +
                                                +
                                                + Ordering +
                                                  + +
                                                1. Alphabetic
                                                2. +
                                                3. By Inheritance
                                                4. +
                                                +
                                                +
                                                + Inherited
                                                +
                                                +
                                                  +
                                                1. RandomForestClassifierTrainOperator
                                                2. BaseDataOperator
                                                3. BaseGenericOperator
                                                4. BaseGenericMutantOperator
                                                5. BaseDoer
                                                6. Logging
                                                7. Serializable
                                                8. Serializable
                                                9. AnyRef
                                                10. Any
                                                11. +
                                                +
                                                + +
                                                  +
                                                1. Hide All
                                                2. +
                                                3. Show All
                                                4. +
                                                +
                                                +
                                                + Visibility +
                                                1. Public
                                                2. All
                                                +
                                                +
                                                + +
                                                +
                                                +
                                                +

                                                Instance Constructors

                                                +
                                                1. + + +

                                                  + + + new + + + RandomForestClassifierTrainOperator(o: StreamOperatorInfo) + +

                                                  + + Permalink + + +

                                                  o

                                                  Object that contains message + ksb.csle.common.proto.StreamOperatorProto.RandomForestClassifierTrainInfo + RandomForestClassifierTrainInfo contains attributes as follows:

                                                  • labelColumnName: label column name (required)
                                                  • featureColumnNames: feature column names (required)
                                                  • modelBasePath: model base path to save (required)
                                                  • numFolds: number of folds for cross validation, default is 3 (optional)
                                                  • numTrees: number of trees to train (>= 1), default is 20 (repeated)
                                                  • maxDepth: maximum depth of the tree (>= 0), default is 5 (repeated)
                                                  • maxBins: maximum number of bins used for discretizing continuous features, default is 32 (repeated)
                                                  • featureSubsetStrategy: number of features to consider for splits at each tree node, default is 'auto' (repeated)
                                                  • impurity: criterion used for information gain calculation, default is 'gini' (repeated)

                                                  RandomForestClassifierTrainInfo

                                                  message RandomForestClassifierTrainInfo {
                                                  +  enum FeatureSubsetStrategy {
                                                  +    auto = 1;
                                                  +    all = 2;
                                                  +    onethird = 3;
                                                  +    sqrt = 4;
                                                  +    log2 = 5;
                                                  +  }
                                                  +  enum Impurity {
                                                  +    gini = 1;
                                                  +    entropy = 2;
                                                  +  }
                                                  +  required string labelColumnName = 1;
                                                  +  required string featureColumnNames = 2 [default = "*"];
                                                  +  required string modelBasePath = 3;
                                                  +  optional int32 numFolds = 4 [default = 3];
                                                  +  repeated int32 numTrees = 5; // [default = 20];
                                                  +  repeated int32 maxDepth = 6; // [default = 5];
                                                  +  repeated int32 maxBins = 7; // [default = 32];
                                                  +  repeated FeatureSubsetStrategy featureSubsetStrategy = 8; // [default = auto];
                                                  +  repeated Impurity impurity = 9; // [default = gini];
                                                  +}
                                                  +
                                                +
                                                + + + + + +
                                                +

                                                Value Members

                                                +
                                                1. + + +

                                                  + + final + def + + + !=(arg0: Any): Boolean + +

                                                  + + Permalink + + +
                                                  Definition Classes
                                                  AnyRef → Any
                                                  +
                                                2. + + +

                                                  + + final + def + + + ##(): Int + +

                                                  + + Permalink + + +
                                                  Definition Classes
                                                  AnyRef → Any
                                                  +
                                                3. + + +

                                                  + + final + def + + + ==(arg0: Any): Boolean + +

                                                  + + Permalink + + +
                                                  Definition Classes
                                                  AnyRef → Any
                                                  +
                                                4. + + +

                                                  + + final + def + + + asInstanceOf[T0]: T0 + +

                                                  + + Permalink + + +
                                                  Definition Classes
                                                  Any
                                                  +
                                                5. + + +

                                                  + + + def + + + clone(): AnyRef + +

                                                  + + Permalink + + +
                                                  Attributes
                                                  protected[java.lang]
                                                  Definition Classes
                                                  AnyRef
                                                  Annotations
                                                  + @throws( + + ... + ) + +
                                                  +
                                                6. + + +

                                                  + + final + def + + + eq(arg0: AnyRef): Boolean + +

                                                  + + Permalink + + +
                                                  Definition Classes
                                                  AnyRef
                                                  +
                                                7. + + +

                                                  + + + def + + + equals(arg0: Any): Boolean + +

                                                  + + Permalink + + +
                                                  Definition Classes
                                                  AnyRef → Any
                                                  +
                                                8. + + +

                                                  + + + def + + + finalize(): Unit + +

                                                  + + Permalink + + +
                                                  Attributes
                                                  protected[java.lang]
                                                  Definition Classes
                                                  AnyRef
                                                  Annotations
                                                  + @throws( + + classOf[java.lang.Throwable] + ) + +
                                                  +
                                                9. + + +

                                                  + + final + def + + + getClass(): Class[_] + +

                                                  + + Permalink + + +
                                                  Definition Classes
                                                  AnyRef → Any
                                                  +
                                                10. + + +

                                                  + + + def + + + hashCode(): Int + +

                                                  + + Permalink + + +
                                                  Definition Classes
                                                  AnyRef → Any
                                                  +
                                                11. + + +

                                                  + + final + def + + + isInstanceOf[T0]: Boolean + +

                                                  + + Permalink + + +
                                                  Definition Classes
                                                  Any
                                                  +
                                                12. + + +

                                                  + + + val + + + logger: Logger + +

                                                  + + Permalink + + +
                                                  Attributes
                                                  protected
                                                  Definition Classes
                                                  Logging
                                                  +
                                                13. + + +

                                                  + + final + def + + + ne(arg0: AnyRef): Boolean + +

                                                  + + Permalink + + +
                                                  Definition Classes
                                                  AnyRef
                                                  +
                                                14. + + +

                                                  + + final + def + + + notify(): Unit + +

                                                  + + Permalink + + +
                                                  Definition Classes
                                                  AnyRef
                                                  +
                                                15. + + +

                                                  + + final + def + + + notifyAll(): Unit + +

                                                  + + Permalink + + +
                                                  Definition Classes
                                                  AnyRef
                                                  +
                                                16. + + +

                                                  + + + def + + + operate(inputs: DataFrame): DataFrame + +

                                                  + + Permalink + + +

                                                  Operate training the RandomForest classification model.

                                                  Operate training the RandomForest classification model. +

                                                  inputs

                                                  Input dataframe

                                                  returns

                                                  DataFrame Output dataframe has test results.

                                                  Definition Classes
                                                  RandomForestClassifierTrainOperator → BaseGenericOperator → BaseGenericMutantOperator
                                                  +
                                                17. + + +

                                                  + + + def + + + stop: Unit + +

                                                  + + Permalink + + +
                                                  Definition Classes
                                                  BaseGenericOperator → BaseGenericMutantOperator
                                                  +
                                                18. + + +

                                                  + + final + def + + + synchronized[T0](arg0: ⇒ T0): T0 + +

                                                  + + Permalink + + +
                                                  Definition Classes
                                                  AnyRef
                                                  +
                                                19. + + +

                                                  + + + def + + + toString(): String + +

                                                  + + Permalink + + +
                                                  Definition Classes
                                                  AnyRef → Any
                                                  +
                                                20. + + +

                                                  + + final + def + + + wait(): Unit + +

                                                  + + Permalink + + +
                                                  Definition Classes
                                                  AnyRef
                                                  Annotations
                                                  + @throws( + + ... + ) + +
                                                  +
                                                21. + + +

                                                  + + final + def + + + wait(arg0: Long, arg1: Int): Unit + +

                                                  + + Permalink + + +
                                                  Definition Classes
                                                  AnyRef
                                                  Annotations
                                                  + @throws( + + ... + ) + +
                                                  +
                                                22. + + +

                                                  + + final + def + + + wait(arg0: Long): Unit + +

                                                  + + Permalink + + +
                                                  Definition Classes
                                                  AnyRef
                                                  Annotations
                                                  + @throws( + + ... + ) + +
                                                  +
                                                +
                                                + + + + +
                                                + +
                                                +
                                                +

                                                Inherited from BaseDataOperator[StreamOperatorInfo, DataFrame]

                                                +
                                                +

                                                Inherited from BaseGenericOperator[StreamOperatorInfo, DataFrame]

                                                +
                                                +

                                                Inherited from BaseGenericMutantOperator[StreamOperatorInfo, DataFrame, DataFrame]

                                                +
                                                +

                                                Inherited from BaseDoer

                                                +
                                                +

                                                Inherited from Logging

                                                +
                                                +

                                                Inherited from Serializable

                                                +
                                                +

                                                Inherited from Serializable

                                                +
                                                +

                                                Inherited from AnyRef

                                                +
                                                +

                                                Inherited from Any

                                                +
                                                + +
                                                + +
                                                +
                                                +

                                                Ungrouped

                                                + +
                                                +
                                                + +
                                                + +
                                                + + + + + + diff --git a/manual1903/api_reference/components/scaladocs/ksb/csle/component/operator/analysis/SparkMLPredictOperator$.html b/manual1903/api_reference/components/scaladocs/ksb/csle/component/operator/analysis/SparkMLPredictOperator$.html new file mode 100644 index 0000000000000000000000000000000000000000..0f2563c73903d6ed110b76f781441293ff7fe409 --- /dev/null +++ b/manual1903/api_reference/components/scaladocs/ksb/csle/component/operator/analysis/SparkMLPredictOperator$.html @@ -0,0 +1,524 @@ + + + + SparkMLPredictOperator - KSB COMPONENTS Scala App Project 1.0-SNAPSHOT API - ksb.csle.component.operator.analysis.SparkMLPredictOperator + + + + + + + + + + + + + + + + + +

                                                + + + object + + + SparkMLPredictOperator extends Logging with Serializable + +

                                                + +
                                                + Linear Supertypes +
                                                Serializable, Serializable, Logging, AnyRef, Any
                                                +
                                                + + +
                                                +
                                                +
                                                + Ordering +
                                                  + +
                                                1. Alphabetic
                                                2. +
                                                3. By Inheritance
                                                4. +
                                                +
                                                +
                                                + Inherited
                                                +
                                                +
                                                  +
                                                1. SparkMLPredictOperator
                                                2. Serializable
                                                3. Serializable
                                                4. Logging
                                                5. AnyRef
                                                6. Any
                                                7. +
                                                +
                                                + +
                                                  +
                                                1. Hide All
                                                2. +
                                                3. Show All
                                                4. +
                                                +
                                                +
                                                + Visibility +
                                                1. Public
                                                2. All
                                                +
                                                +
                                                + +
                                                +
                                                + + + + + + +
                                                +

                                                Value Members

                                                +
                                                1. + + +

                                                  + + final + def + + + !=(arg0: Any): Boolean + +

                                                  + + Permalink + + +
                                                  Definition Classes
                                                  AnyRef → Any
                                                  +
                                                2. + + +

                                                  + + final + def + + + ##(): Int + +

                                                  + + Permalink + + +
                                                  Definition Classes
                                                  AnyRef → Any
                                                  +
                                                3. + + +

                                                  + + final + def + + + ==(arg0: Any): Boolean + +

                                                  + + Permalink + + +
                                                  Definition Classes
                                                  AnyRef → Any
                                                  +
                                                4. + + +

                                                  + + + def + + + apply(o: StreamOperatorInfo): SparkMLPredictOperator + +

                                                  + + Permalink + + + +
                                                5. + + +

                                                  + + final + def + + + asInstanceOf[T0]: T0 + +

                                                  + + Permalink + + +
                                                  Definition Classes
                                                  Any
                                                  +
                                                6. + + +

                                                  + + + def + + + clone(): AnyRef + +

                                                  + + Permalink + + +
                                                  Attributes
                                                  protected[java.lang]
                                                  Definition Classes
                                                  AnyRef
                                                  Annotations
                                                  + @throws( + + ... + ) + +
                                                  +
                                                7. + + +

                                                  + + final + def + + + eq(arg0: AnyRef): Boolean + +

                                                  + + Permalink + + +
                                                  Definition Classes
                                                  AnyRef
                                                  +
                                                8. + + +

                                                  + + + def + + + equals(arg0: Any): Boolean + +

                                                  + + Permalink + + +
                                                  Definition Classes
                                                  AnyRef → Any
                                                  +
                                                9. + + +

                                                  + + + def + + + finalize(): Unit + +

                                                  + + Permalink + + +
                                                  Attributes
                                                  protected[java.lang]
                                                  Definition Classes
                                                  AnyRef
                                                  Annotations
                                                  + @throws( + + classOf[java.lang.Throwable] + ) + +
                                                  +
                                                10. + + +

                                                  + + final + def + + + getClass(): Class[_] + +

                                                  + + Permalink + + +
                                                  Definition Classes
                                                  AnyRef → Any
                                                  +
                                                11. + + +

                                                  + + + def + + + hashCode(): Int + +

                                                  + + Permalink + + +
                                                  Definition Classes
                                                  AnyRef → Any
                                                  +
                                                12. + + +

                                                  + + final + def + + + isInstanceOf[T0]: Boolean + +

                                                  + + Permalink + + +
                                                  Definition Classes
                                                  Any
                                                  +
                                                13. + + +

                                                  + + + val + + + logger: Logger + +

                                                  + + Permalink + + +
                                                  Attributes
                                                  protected
                                                  Definition Classes
                                                  Logging
                                                  +
                                                14. + + +

                                                  + + final + def + + + ne(arg0: AnyRef): Boolean + +

                                                  + + Permalink + + +
                                                  Definition Classes
                                                  AnyRef
                                                  +
                                                15. + + +

                                                  + + final + def + + + notify(): Unit + +

                                                  + + Permalink + + +
                                                  Definition Classes
                                                  AnyRef
                                                  +
                                                16. + + +

                                                  + + final + def + + + notifyAll(): Unit + +

                                                  + + Permalink + + +
                                                  Definition Classes
                                                  AnyRef
                                                  +
                                                17. + + +

                                                  + + final + def + + + synchronized[T0](arg0: ⇒ T0): T0 + +

                                                  + + Permalink + + +
                                                  Definition Classes
                                                  AnyRef
                                                  +
                                                18. + + +

                                                  + + + def + + + toString(): String + +

                                                  + + Permalink + + +
                                                  Definition Classes
                                                  AnyRef → Any
                                                  +
                                                19. + + +

                                                  + + final + def + + + wait(): Unit + +

                                                  + + Permalink + + +
                                                  Definition Classes
                                                  AnyRef
                                                  Annotations
                                                  + @throws( + + ... + ) + +
                                                  +
                                                20. + + +

                                                  + + final + def + + + wait(arg0: Long, arg1: Int): Unit + +

                                                  + + Permalink + + +
                                                  Definition Classes
                                                  AnyRef
                                                  Annotations
                                                  + @throws( + + ... + ) + +
                                                  +
                                                21. + + +

                                                  + + final + def + + + wait(arg0: Long): Unit + +

                                                  + + Permalink + + +
                                                  Definition Classes
                                                  AnyRef
                                                  Annotations
                                                  + @throws( + + ... + ) + +
                                                  +
                                                +
                                                + + + + +
                                                + +
                                                +
                                                +

                                                Inherited from Serializable

                                                +
                                                +

                                                Inherited from Serializable

                                                +
                                                +

                                                Inherited from Logging

                                                +
                                                +

                                                Inherited from AnyRef

                                                +
                                                +

                                                Inherited from Any

                                                +
                                                + +
                                                + +
                                                +
                                                +

                                                Ungrouped

                                                + +
                                                +
                                                + +
                                                + +
                                                + + + + + + diff --git a/manual1903/api_reference/components/scaladocs/ksb/csle/component/operator/analysis/SparkMLPredictOperator.html b/manual1903/api_reference/components/scaladocs/ksb/csle/component/operator/analysis/SparkMLPredictOperator.html new file mode 100644 index 0000000000000000000000000000000000000000..13831f0c4a180cd4916255a95df0cd02a9364110 --- /dev/null +++ b/manual1903/api_reference/components/scaladocs/ksb/csle/component/operator/analysis/SparkMLPredictOperator.html @@ -0,0 +1,628 @@ + + + + SparkMLPredictOperator - KSB COMPONENTS Scala App Project 1.0-SNAPSHOT API - ksb.csle.component.operator.analysis.SparkMLPredictOperator + + + + + + + + + + + + + + + + + +

                                                + + + class + + + SparkMLPredictOperator extends BaseGenericOperator[StreamOperatorInfo, DataFrame] + +

                                                + +

                                                :: ApplicationDeveloperApi ::

                                                Operator that performs predition with ML model in the given dataframe. +

                                                + Linear Supertypes +
                                                BaseGenericOperator[StreamOperatorInfo, DataFrame], BaseGenericMutantOperator[StreamOperatorInfo, DataFrame, DataFrame], BaseDoer, Logging, Serializable, Serializable, AnyRef, Any
                                                +
                                                + + +
                                                +
                                                +
                                                + Ordering +
                                                  + +
                                                1. Alphabetic
                                                2. +
                                                3. By Inheritance
                                                4. +
                                                +
                                                +
                                                + Inherited
                                                +
                                                +
                                                  +
                                                1. SparkMLPredictOperator
                                                2. BaseGenericOperator
                                                3. BaseGenericMutantOperator
                                                4. BaseDoer
                                                5. Logging
                                                6. Serializable
                                                7. Serializable
                                                8. AnyRef
                                                9. Any
                                                10. +
                                                +
                                                + +
                                                  +
                                                1. Hide All
                                                2. +
                                                3. Show All
                                                4. +
                                                +
                                                +
                                                + Visibility +
                                                1. Public
                                                2. All
                                                +
                                                +
                                                + +
                                                +
                                                +
                                                +

                                                Instance Constructors

                                                +
                                                1. + + +

                                                  + + + new + + + SparkMLPredictOperator(o: StreamOperatorInfo) + +

                                                  + + Permalink + + +

                                                  o

                                                  Object that contains message + ksb.csle.common.proto.StreamOperatorProto.SparkMLStreamPredictOperatorInfo + SparkMLStreamPredictOperatorInfo contains attributes as follows:

                                                  • clsNameForModel: Class name for loading ml model. + "org.apache.spark.ml.PipelineModel" is highly recommended.(required)
                                                  • modelPath: Path for ml model. + The path should contain metadata and stage directory + in the path (required).

                                                  SparkMLStreamPredictOperatorInfo

                                                  message SparkMLStreamPredictOperatorInfo {
                                                  +required string clsNameForModel = 1;
                                                  +required string modelPath = 2;
                                                  +}
                                                  +
                                                +
                                                + + + + + +
                                                +

                                                Value Members

                                                +
                                                1. + + +

                                                  + + final + def + + + !=(arg0: Any): Boolean + +

                                                  + + Permalink + + +
                                                  Definition Classes
                                                  AnyRef → Any
                                                  +
                                                2. + + +

                                                  + + final + def + + + ##(): Int + +

                                                  + + Permalink + + +
                                                  Definition Classes
                                                  AnyRef → Any
                                                  +
                                                3. + + +

                                                  + + final + def + + + ==(arg0: Any): Boolean + +

                                                  + + Permalink + + +
                                                  Definition Classes
                                                  AnyRef → Any
                                                  +
                                                4. + + +

                                                  + + final + def + + + asInstanceOf[T0]: T0 + +

                                                  + + Permalink + + +
                                                  Definition Classes
                                                  Any
                                                  +
                                                5. + + +

                                                  + + + def + + + clone(): AnyRef + +

                                                  + + Permalink + + +
                                                  Attributes
                                                  protected[java.lang]
                                                  Definition Classes
                                                  AnyRef
                                                  Annotations
                                                  + @throws( + + ... + ) + +
                                                  +
                                                6. + + +

                                                  + + final + def + + + eq(arg0: AnyRef): Boolean + +

                                                  + + Permalink + + +
                                                  Definition Classes
                                                  AnyRef
                                                  +
                                                7. + + +

                                                  + + + def + + + equals(arg0: Any): Boolean + +

                                                  + + Permalink + + +
                                                  Definition Classes
                                                  AnyRef → Any
                                                  +
                                                8. + + +

                                                  + + + def + + + finalize(): Unit + +

                                                  + + Permalink + + +
                                                  Attributes
                                                  protected[java.lang]
                                                  Definition Classes
                                                  AnyRef
                                                  Annotations
                                                  + @throws( + + classOf[java.lang.Throwable] + ) + +
                                                  +
                                                9. + + +

                                                  + + final + def + + + getClass(): Class[_] + +

                                                  + + Permalink + + +
                                                  Definition Classes
                                                  AnyRef → Any
                                                  +
                                                10. + + +

                                                  + + + def + + + hashCode(): Int + +

                                                  + + Permalink + + +
                                                  Definition Classes
                                                  AnyRef → Any
                                                  +
                                                11. + + +

                                                  + + final + def + + + isInstanceOf[T0]: Boolean + +

                                                  + + Permalink + + +
                                                  Definition Classes
                                                  Any
                                                  +
                                                12. + + +

                                                  + + + val + + + logger: Logger + +

                                                  + + Permalink + + +
                                                  Attributes
                                                  protected
                                                  Definition Classes
                                                  Logging
                                                  +
                                                13. + + +

                                                  + + + val + + + model: PipelineModel + +

                                                  + + Permalink + + + +
                                                14. + + +

                                                  + + final + def + + + ne(arg0: AnyRef): Boolean + +

                                                  + + Permalink + + +
                                                  Definition Classes
                                                  AnyRef
                                                  +
                                                15. + + +

                                                  + + final + def + + + notify(): Unit + +

                                                  + + Permalink + + +
                                                  Definition Classes
                                                  AnyRef
                                                  +
                                                16. + + +

                                                  + + final + def + + + notifyAll(): Unit + +

                                                  + + Permalink + + +
                                                  Definition Classes
                                                  AnyRef
                                                  +
                                                17. + + +

                                                  + + + def + + + operate(df: DataFrame): DataFrame + +

                                                  + + Permalink + + +

                                                  execute prediction with SparkML Model.

                                                  execute prediction with SparkML Model. +

                                                  df

                                                  Input dataframe

                                                  returns

                                                  DataFrame Output dataframe

                                                  Definition Classes
                                                  SparkMLPredictOperator → BaseGenericOperator → BaseGenericMutantOperator
                                                  +
                                                18. + + +

                                                  + + + def + + + predict(df: DataFrame): DataFrame + +

                                                  + + Permalink + + + +
                                                19. + + +

                                                  + + + val + + + predictorInfo: SparkMLStreamPredictOperatorInfo + +

                                                  + + Permalink + + + +
                                                20. + + +

                                                  + + + def + + + stop: Unit + +

                                                  + + Permalink + + +
                                                  Definition Classes
                                                  BaseGenericOperator → BaseGenericMutantOperator
                                                  +
                                                21. + + +

                                                  + + final + def + + + synchronized[T0](arg0: ⇒ T0): T0 + +

                                                  + + Permalink + + +
                                                  Definition Classes
                                                  AnyRef
                                                  +
                                                22. + + +

                                                  + + + def + + + toString(): String + +

                                                  + + Permalink + + +
                                                  Definition Classes
                                                  AnyRef → Any
                                                  +
                                                23. + + +

                                                  + + final + def + + + wait(): Unit + +

                                                  + + Permalink + + +
                                                  Definition Classes
                                                  AnyRef
                                                  Annotations
                                                  + @throws( + + ... + ) + +
                                                  +
                                                24. + + +

                                                  + + final + def + + + wait(arg0: Long, arg1: Int): Unit + +

                                                  + + Permalink + + +
                                                  Definition Classes
                                                  AnyRef
                                                  Annotations
                                                  + @throws( + + ... + ) + +
                                                  +
                                                25. + + +

                                                  + + final + def + + + wait(arg0: Long): Unit + +

                                                  + + Permalink + + +
                                                  Definition Classes
                                                  AnyRef
                                                  Annotations
                                                  + @throws( + + ... + ) + +
                                                  +
                                                +
                                                + + + + +
                                                + +
                                                +
                                                +

                                                Inherited from BaseGenericOperator[StreamOperatorInfo, DataFrame]

                                                +
                                                +

                                                Inherited from BaseGenericMutantOperator[StreamOperatorInfo, DataFrame, DataFrame]

                                                +
                                                +

                                                Inherited from BaseDoer

                                                +
                                                +

                                                Inherited from Logging

                                                +
                                                +

                                                Inherited from Serializable

                                                +
                                                +

                                                Inherited from Serializable

                                                +
                                                +

                                                Inherited from AnyRef

                                                +
                                                +

                                                Inherited from Any

                                                +
                                                + +
                                                + +
                                                +
                                                +

                                                Ungrouped

                                                + +
                                                +
                                                + +
                                                + +
                                                + + + + + + diff --git a/manual1903/api_reference/components/scaladocs/ksb/csle/component/operator/analysis/TensorflowPredictOperator$$PredictionResult$.html b/manual1903/api_reference/components/scaladocs/ksb/csle/component/operator/analysis/TensorflowPredictOperator$$PredictionResult$.html new file mode 100644 index 0000000000000000000000000000000000000000..40af2420e29f2ebf07c9977c06917da0c31ec6f1 --- /dev/null +++ b/manual1903/api_reference/components/scaladocs/ksb/csle/component/operator/analysis/TensorflowPredictOperator$$PredictionResult$.html @@ -0,0 +1,522 @@ + + + + PredictionResult - KSB COMPONENTS Scala App Project 1.0-SNAPSHOT API - ksb.csle.component.operator.analysis.TensorflowPredictOperator.PredictionResult + + + + + + + + + + + + + + + + + +

                                                + + + object + + + PredictionResult extends Serializable + +

                                                + +
                                                + Linear Supertypes +
                                                Serializable, Serializable, AnyRef, Any
                                                +
                                                + + +
                                                +
                                                +
                                                + Ordering +
                                                  + +
                                                1. Alphabetic
                                                2. +
                                                3. By Inheritance
                                                4. +
                                                +
                                                +
                                                + Inherited
                                                +
                                                +
                                                  +
                                                1. PredictionResult
                                                2. Serializable
                                                3. Serializable
                                                4. AnyRef
                                                5. Any
                                                6. +
                                                +
                                                + +
                                                  +
                                                1. Hide All
                                                2. +
                                                3. Show All
                                                4. +
                                                +
                                                +
                                                + Visibility +
                                                1. Public
                                                2. All
                                                +
                                                +
                                                + +
                                                +
                                                + + + + + + +
                                                +

                                                Value Members

                                                +
                                                1. + + +

                                                  + + final + def + + + !=(arg0: Any): Boolean + +

                                                  + + Permalink + + +
                                                  Definition Classes
                                                  AnyRef → Any
                                                  +
                                                2. + + +

                                                  + + final + def + + + ##(): Int + +

                                                  + + Permalink + + +
                                                  Definition Classes
                                                  AnyRef → Any
                                                  +
                                                3. + + +

                                                  + + final + def + + + ==(arg0: Any): Boolean + +

                                                  + + Permalink + + +
                                                  Definition Classes
                                                  AnyRef → Any
                                                  +
                                                4. + + +

                                                  + + + val + + + ERROR_INDEX: Int + +

                                                  + + Permalink + + + +
                                                5. + + +

                                                  + + + val + + + OUTPUTS_INDEX: Int + +

                                                  + + Permalink + + + +
                                                6. + + +

                                                  + + final + def + + + asInstanceOf[T0]: T0 + +

                                                  + + Permalink + + +
                                                  Definition Classes
                                                  Any
                                                  +
                                                7. + + +

                                                  + + + def + + + clone(): AnyRef + +

                                                  + + Permalink + + +
                                                  Attributes
                                                  protected[java.lang]
                                                  Definition Classes
                                                  AnyRef
                                                  Annotations
                                                  + @throws( + + ... + ) + +
                                                  +
                                                8. + + +

                                                  + + final + def + + + eq(arg0: AnyRef): Boolean + +

                                                  + + Permalink + + +
                                                  Definition Classes
                                                  AnyRef
                                                  +
                                                9. + + +

                                                  + + + def + + + equals(arg0: Any): Boolean + +

                                                  + + Permalink + + +
                                                  Definition Classes
                                                  AnyRef → Any
                                                  +
                                                10. + + +

                                                  + + + def + + + finalize(): Unit + +

                                                  + + Permalink + + +
                                                  Attributes
                                                  protected[java.lang]
                                                  Definition Classes
                                                  AnyRef
                                                  Annotations
                                                  + @throws( + + classOf[java.lang.Throwable] + ) + +
                                                  +
                                                11. + + +

                                                  + + final + def + + + getClass(): Class[_] + +

                                                  + + Permalink + + +
                                                  Definition Classes
                                                  AnyRef → Any
                                                  +
                                                12. + + +

                                                  + + + def + + + hashCode(): Int + +

                                                  + + Permalink + + +
                                                  Definition Classes
                                                  AnyRef → Any
                                                  +
                                                13. + + +

                                                  + + final + def + + + isInstanceOf[T0]: Boolean + +

                                                  + + Permalink + + +
                                                  Definition Classes
                                                  Any
                                                  +
                                                14. + + +

                                                  + + final + def + + + ne(arg0: AnyRef): Boolean + +

                                                  + + Permalink + + +
                                                  Definition Classes
                                                  AnyRef
                                                  +
                                                15. + + +

                                                  + + final + def + + + notify(): Unit + +

                                                  + + Permalink + + +
                                                  Definition Classes
                                                  AnyRef
                                                  +
                                                16. + + +

                                                  + + final + def + + + notifyAll(): Unit + +

                                                  + + Permalink + + +
                                                  Definition Classes
                                                  AnyRef
                                                  +
                                                17. + + +

                                                  + + final + def + + + synchronized[T0](arg0: ⇒ T0): T0 + +

                                                  + + Permalink + + +
                                                  Definition Classes
                                                  AnyRef
                                                  +
                                                18. + + +

                                                  + + + def + + + toString(): String + +

                                                  + + Permalink + + +
                                                  Definition Classes
                                                  AnyRef → Any
                                                  +
                                                19. + + +

                                                  + + final + def + + + wait(): Unit + +

                                                  + + Permalink + + +
                                                  Definition Classes
                                                  AnyRef
                                                  Annotations
                                                  + @throws( + + ... + ) + +
                                                  +
                                                20. + + +

                                                  + + final + def + + + wait(arg0: Long, arg1: Int): Unit + +

                                                  + + Permalink + + +
                                                  Definition Classes
                                                  AnyRef
                                                  Annotations
                                                  + @throws( + + ... + ) + +
                                                  +
                                                21. + + +

                                                  + + final + def + + + wait(arg0: Long): Unit + +

                                                  + + Permalink + + +
                                                  Definition Classes
                                                  AnyRef
                                                  Annotations
                                                  + @throws( + + ... + ) + +
                                                  +
                                                +
                                                + + + + +
                                                + +
                                                +
                                                +

                                                Inherited from Serializable

                                                +
                                                +

                                                Inherited from Serializable

                                                +
                                                +

                                                Inherited from AnyRef

                                                +
                                                +

                                                Inherited from Any

                                                +
                                                + +
                                                + +
                                                +
                                                +

                                                Ungrouped

                                                + +
                                                +
                                                + +
                                                + +
                                                + + + + + + diff --git a/manual1903/api_reference/components/scaladocs/ksb/csle/component/operator/analysis/TensorflowPredictOperator$$PredictionResult.html b/manual1903/api_reference/components/scaladocs/ksb/csle/component/operator/analysis/TensorflowPredictOperator$$PredictionResult.html new file mode 100644 index 0000000000000000000000000000000000000000..ef9d09a94d0c5d4c6419b6c38bb9fe29c0943631 --- /dev/null +++ b/manual1903/api_reference/components/scaladocs/ksb/csle/component/operator/analysis/TensorflowPredictOperator$$PredictionResult.html @@ -0,0 +1,495 @@ + + + + PredictionResult - KSB COMPONENTS Scala App Project 1.0-SNAPSHOT API - ksb.csle.component.operator.analysis.TensorflowPredictOperator.PredictionResult + + + + + + + + + + + + + + + + + +

                                                + + + case class + + + PredictionResult(outputs: Map[String, TensorRow] = null, error: String = null) extends Product with Serializable + +

                                                + +
                                                + Linear Supertypes +
                                                Serializable, Serializable, Product, Equals, AnyRef, Any
                                                +
                                                + + +
                                                +
                                                +
                                                + Ordering +
                                                  + +
                                                1. Alphabetic
                                                2. +
                                                3. By Inheritance
                                                4. +
                                                +
                                                +
                                                + Inherited
                                                +
                                                +
                                                  +
                                                1. PredictionResult
                                                2. Serializable
                                                3. Serializable
                                                4. Product
                                                5. Equals
                                                6. AnyRef
                                                7. Any
                                                8. +
                                                +
                                                + +
                                                  +
                                                1. Hide All
                                                2. +
                                                3. Show All
                                                4. +
                                                +
                                                +
                                                + Visibility +
                                                1. Public
                                                2. All
                                                +
                                                +
                                                + +
                                                +
                                                +
                                                +

                                                Instance Constructors

                                                +
                                                1. + + +

                                                  + + + new + + + PredictionResult(outputs: Map[String, TensorRow] = null, error: String = null) + +

                                                  + + Permalink + + + +
                                                +
                                                + + + + + +
                                                +

                                                Value Members

                                                +
                                                1. + + +

                                                  + + final + def + + + !=(arg0: Any): Boolean + +

                                                  + + Permalink + + +
                                                  Definition Classes
                                                  AnyRef → Any
                                                  +
                                                2. + + +

                                                  + + final + def + + + ##(): Int + +

                                                  + + Permalink + + +
                                                  Definition Classes
                                                  AnyRef → Any
                                                  +
                                                3. + + +

                                                  + + final + def + + + ==(arg0: Any): Boolean + +

                                                  + + Permalink + + +
                                                  Definition Classes
                                                  AnyRef → Any
                                                  +
                                                4. + + +

                                                  + + final + def + + + asInstanceOf[T0]: T0 + +

                                                  + + Permalink + + +
                                                  Definition Classes
                                                  Any
                                                  +
                                                5. + + +

                                                  + + + def + + + clone(): AnyRef + +

                                                  + + Permalink + + +
                                                  Attributes
                                                  protected[java.lang]
                                                  Definition Classes
                                                  AnyRef
                                                  Annotations
                                                  + @throws( + + ... + ) + +
                                                  +
                                                6. + + +

                                                  + + final + def + + + eq(arg0: AnyRef): Boolean + +

                                                  + + Permalink + + +
                                                  Definition Classes
                                                  AnyRef
                                                  +
                                                7. + + +

                                                  + + + val + + + error: String + +

                                                  + + Permalink + + + +
                                                8. + + +

                                                  + + + def + + + finalize(): Unit + +

                                                  + + Permalink + + +
                                                  Attributes
                                                  protected[java.lang]
                                                  Definition Classes
                                                  AnyRef
                                                  Annotations
                                                  + @throws( + + classOf[java.lang.Throwable] + ) + +
                                                  +
                                                9. + + +

                                                  + + final + def + + + getClass(): Class[_] + +

                                                  + + Permalink + + +
                                                  Definition Classes
                                                  AnyRef → Any
                                                  +
                                                10. + + +

                                                  + + final + def + + + isInstanceOf[T0]: Boolean + +

                                                  + + Permalink + + +
                                                  Definition Classes
                                                  Any
                                                  +
                                                11. + + +

                                                  + + final + def + + + ne(arg0: AnyRef): Boolean + +

                                                  + + Permalink + + +
                                                  Definition Classes
                                                  AnyRef
                                                  +
                                                12. + + +

                                                  + + final + def + + + notify(): Unit + +

                                                  + + Permalink + + +
                                                  Definition Classes
                                                  AnyRef
                                                  +
                                                13. + + +

                                                  + + final + def + + + notifyAll(): Unit + +

                                                  + + Permalink + + +
                                                  Definition Classes
                                                  AnyRef
                                                  +
                                                14. + + +

                                                  + + + val + + + outputs: Map[String, TensorRow] + +

                                                  + + Permalink + + + +
                                                15. + + +

                                                  + + final + def + + + synchronized[T0](arg0: ⇒ T0): T0 + +

                                                  + + Permalink + + +
                                                  Definition Classes
                                                  AnyRef
                                                  +
                                                16. + + +

                                                  + + final + def + + + wait(): Unit + +

                                                  + + Permalink + + +
                                                  Definition Classes
                                                  AnyRef
                                                  Annotations
                                                  + @throws( + + ... + ) + +
                                                  +
                                                17. + + +

                                                  + + final + def + + + wait(arg0: Long, arg1: Int): Unit + +

                                                  + + Permalink + + +
                                                  Definition Classes
                                                  AnyRef
                                                  Annotations
                                                  + @throws( + + ... + ) + +
                                                  +
                                                18. + + +

                                                  + + final + def + + + wait(arg0: Long): Unit + +

                                                  + + Permalink + + +
                                                  Definition Classes
                                                  AnyRef
                                                  Annotations
                                                  + @throws( + + ... + ) + +
                                                  +
                                                +
                                                + + + + +
                                                + +
                                                +
                                                +

                                                Inherited from Serializable

                                                +
                                                +

                                                Inherited from Serializable

                                                +
                                                +

                                                Inherited from Product

                                                +
                                                +

                                                Inherited from Equals

                                                +
                                                +

                                                Inherited from AnyRef

                                                +
                                                +

                                                Inherited from Any

                                                +
                                                + +
                                                + +
                                                +
                                                +

                                                Ungrouped

                                                + +
                                                +
                                                + +
                                                + +
                                                + + + + + + diff --git a/manual1903/api_reference/components/scaladocs/ksb/csle/component/operator/analysis/TensorflowPredictOperator$$TensorRow$.html b/manual1903/api_reference/components/scaladocs/ksb/csle/component/operator/analysis/TensorflowPredictOperator$$TensorRow$.html new file mode 100644 index 0000000000000000000000000000000000000000..a8e9e3d482844fa6b5666be2b6dfa4967ddb967e --- /dev/null +++ b/manual1903/api_reference/components/scaladocs/ksb/csle/component/operator/analysis/TensorflowPredictOperator$$TensorRow$.html @@ -0,0 +1,641 @@ + + + + TensorRow - KSB COMPONENTS Scala App Project 1.0-SNAPSHOT API - ksb.csle.component.operator.analysis.TensorflowPredictOperator.TensorRow + + + + + + + + + + + + + + + + + +

                                                + + + object + + + TensorRow extends Serializable + +

                                                + +
                                                + Linear Supertypes +
                                                Serializable, Serializable, AnyRef, Any
                                                +
                                                + + +
                                                +
                                                +
                                                + Ordering +
                                                  + +
                                                1. Alphabetic
                                                2. +
                                                3. By Inheritance
                                                4. +
                                                +
                                                +
                                                + Inherited
                                                +
                                                +
                                                  +
                                                1. TensorRow
                                                2. Serializable
                                                3. Serializable
                                                4. AnyRef
                                                5. Any
                                                6. +
                                                +
                                                + +
                                                  +
                                                1. Hide All
                                                2. +
                                                3. Show All
                                                4. +
                                                +
                                                +
                                                + Visibility +
                                                1. Public
                                                2. All
                                                +
                                                +
                                                + +
                                                +
                                                + + + + + + +
                                                +

                                                Value Members

                                                +
                                                1. + + +

                                                  + + final + def + + + !=(arg0: Any): Boolean + +

                                                  + + Permalink + + +
                                                  Definition Classes
                                                  AnyRef → Any
                                                  +
                                                2. + + +

                                                  + + final + def + + + ##(): Int + +

                                                  + + Permalink + + +
                                                  Definition Classes
                                                  AnyRef → Any
                                                  +
                                                3. + + +

                                                  + + final + def + + + ==(arg0: Any): Boolean + +

                                                  + + Permalink + + +
                                                  Definition Classes
                                                  AnyRef → Any
                                                  +
                                                4. + + +

                                                  + + + val + + + BOOLVAL_INDEX: Int + +

                                                  + + Permalink + + + +
                                                5. + + +

                                                  + + + val + + + DATATYPE_INDEX: Int + +

                                                  + + Permalink + + + +
                                                6. + + +

                                                  + + + val + + + DOUBLEVAL_INDEX: Int + +

                                                  + + Permalink + + + +
                                                7. + + +

                                                  + + + val + + + FLOATVAL_INDEX: Int + +

                                                  + + Permalink + + + +
                                                8. + + +

                                                  + + + val + + + INTVAL_INDEX: Int + +

                                                  + + Permalink + + + +
                                                9. + + +

                                                  + + + val + + + LONGVAL_INDEX: Int + +

                                                  + + Permalink + + + +
                                                10. + + +

                                                  + + + val + + + NAME_INDEX: Int + +

                                                  + + Permalink + + + +
                                                11. + + +

                                                  + + + val + + + SHAPE_INDEX: Int + +

                                                  + + Permalink + + + +
                                                12. + + +

                                                  + + + val + + + STRINGVAL_INDEX: Int + +

                                                  + + Permalink + + + +
                                                13. + + +

                                                  + + final + def + + + asInstanceOf[T0]: T0 + +

                                                  + + Permalink + + +
                                                  Definition Classes
                                                  Any
                                                  +
                                                14. + + +

                                                  + + + def + + + clone(): AnyRef + +

                                                  + + Permalink + + +
                                                  Attributes
                                                  protected[java.lang]
                                                  Definition Classes
                                                  AnyRef
                                                  Annotations
                                                  + @throws( + + ... + ) + +
                                                  +
                                                15. + + +

                                                  + + final + def + + + eq(arg0: AnyRef): Boolean + +

                                                  + + Permalink + + +
                                                  Definition Classes
                                                  AnyRef
                                                  +
                                                16. + + +

                                                  + + + def + + + equals(arg0: Any): Boolean + +

                                                  + + Permalink + + +
                                                  Definition Classes
                                                  AnyRef → Any
                                                  +
                                                17. + + +

                                                  + + + def + + + finalize(): Unit + +

                                                  + + Permalink + + +
                                                  Attributes
                                                  protected[java.lang]
                                                  Definition Classes
                                                  AnyRef
                                                  Annotations
                                                  + @throws( + + classOf[java.lang.Throwable] + ) + +
                                                  +
                                                18. + + +

                                                  + + final + def + + + getClass(): Class[_] + +

                                                  + + Permalink + + +
                                                  Definition Classes
                                                  AnyRef → Any
                                                  +
                                                19. + + +

                                                  + + + def + + + hashCode(): Int + +

                                                  + + Permalink + + +
                                                  Definition Classes
                                                  AnyRef → Any
                                                  +
                                                20. + + +

                                                  + + final + def + + + isInstanceOf[T0]: Boolean + +

                                                  + + Permalink + + +
                                                  Definition Classes
                                                  Any
                                                  +
                                                21. + + +

                                                  + + final + def + + + ne(arg0: AnyRef): Boolean + +

                                                  + + Permalink + + +
                                                  Definition Classes
                                                  AnyRef
                                                  +
                                                22. + + +

                                                  + + final + def + + + notify(): Unit + +

                                                  + + Permalink + + +
                                                  Definition Classes
                                                  AnyRef
                                                  +
                                                23. + + +

                                                  + + final + def + + + notifyAll(): Unit + +

                                                  + + Permalink + + +
                                                  Definition Classes
                                                  AnyRef
                                                  +
                                                24. + + +

                                                  + + final + def + + + synchronized[T0](arg0: ⇒ T0): T0 + +

                                                  + + Permalink + + +
                                                  Definition Classes
                                                  AnyRef
                                                  +
                                                25. + + +

                                                  + + + def + + + toString(): String + +

                                                  + + Permalink + + +
                                                  Definition Classes
                                                  AnyRef → Any
                                                  +
                                                26. + + +

                                                  + + final + def + + + wait(): Unit + +

                                                  + + Permalink + + +
                                                  Definition Classes
                                                  AnyRef
                                                  Annotations
                                                  + @throws( + + ... + ) + +
                                                  +
                                                27. + + +

                                                  + + final + def + + + wait(arg0: Long, arg1: Int): Unit + +

                                                  + + Permalink + + +
                                                  Definition Classes
                                                  AnyRef
                                                  Annotations
                                                  + @throws( + + ... + ) + +
                                                  +
                                                28. + + +

                                                  + + final + def + + + wait(arg0: Long): Unit + +

                                                  + + Permalink + + +
                                                  Definition Classes
                                                  AnyRef
                                                  Annotations
                                                  + @throws( + + ... + ) + +
                                                  +
                                                +
                                                + + + + +
                                                + +
                                                +
                                                +

                                                Inherited from Serializable

                                                +
                                                +

                                                Inherited from Serializable

                                                +
                                                +

                                                Inherited from AnyRef

                                                +
                                                +

                                                Inherited from Any

                                                +
                                                + +
                                                + +
                                                +
                                                +

                                                Ungrouped

                                                + +
                                                +
                                                + +
                                                + +
                                                + + + + + + diff --git a/manual1903/api_reference/components/scaladocs/ksb/csle/component/operator/analysis/TensorflowPredictOperator$$TensorRow.html b/manual1903/api_reference/components/scaladocs/ksb/csle/component/operator/analysis/TensorflowPredictOperator$$TensorRow.html new file mode 100644 index 0000000000000000000000000000000000000000..8234565213cc8a21e02db8fe6428363fed517ce9 --- /dev/null +++ b/manual1903/api_reference/components/scaladocs/ksb/csle/component/operator/analysis/TensorflowPredictOperator$$TensorRow.html @@ -0,0 +1,614 @@ + + + + TensorRow - KSB COMPONENTS Scala App Project 1.0-SNAPSHOT API - ksb.csle.component.operator.analysis.TensorflowPredictOperator.TensorRow + + + + + + + + + + + + + + + + + +

                                                + + + case class + + + TensorRow(name: String, dataType: Int, shape: Seq[Long], floatVal: Seq[Float] = null, doubleVal: Seq[Double] = null, intVal: Seq[Int] = null, stringVal: Seq[Array[Byte]] = null, longVal: Seq[Long] = null, boolVal: Seq[Boolean] = null) extends Product with Serializable + +

                                                + +
                                                + Linear Supertypes +
                                                Serializable, Serializable, Product, Equals, AnyRef, Any
                                                +
                                                + + +
                                                +
                                                +
                                                + Ordering +
                                                  + +
                                                1. Alphabetic
                                                2. +
                                                3. By Inheritance
                                                4. +
                                                +
                                                +
                                                + Inherited
                                                +
                                                +
                                                  +
                                                1. TensorRow
                                                2. Serializable
                                                3. Serializable
                                                4. Product
                                                5. Equals
                                                6. AnyRef
                                                7. Any
                                                8. +
                                                +
                                                + +
                                                  +
                                                1. Hide All
                                                2. +
                                                3. Show All
                                                4. +
                                                +
                                                +
                                                + Visibility +
                                                1. Public
                                                2. All
                                                +
                                                +
                                                + +
                                                +
                                                +
                                                +

                                                Instance Constructors

                                                +
                                                1. + + +

                                                  + + + new + + + TensorRow(name: String, dataType: Int, shape: Seq[Long], floatVal: Seq[Float] = null, doubleVal: Seq[Double] = null, intVal: Seq[Int] = null, stringVal: Seq[Array[Byte]] = null, longVal: Seq[Long] = null, boolVal: Seq[Boolean] = null) + +

                                                  + + Permalink + + + +
                                                +
                                                + + + + + +
                                                +

                                                Value Members

                                                +
                                                1. + + +

                                                  + + final + def + + + !=(arg0: Any): Boolean + +

                                                  + + Permalink + + +
                                                  Definition Classes
                                                  AnyRef → Any
                                                  +
                                                2. + + +

                                                  + + final + def + + + ##(): Int + +

                                                  + + Permalink + + +
                                                  Definition Classes
                                                  AnyRef → Any
                                                  +
                                                3. + + +

                                                  + + final + def + + + ==(arg0: Any): Boolean + +

                                                  + + Permalink + + +
                                                  Definition Classes
                                                  AnyRef → Any
                                                  +
                                                4. + + +

                                                  + + final + def + + + asInstanceOf[T0]: T0 + +

                                                  + + Permalink + + +
                                                  Definition Classes
                                                  Any
                                                  +
                                                5. + + +

                                                  + + + val + + + boolVal: Seq[Boolean] + +

                                                  + + Permalink + + + +
                                                6. + + +

                                                  + + + def + + + clone(): AnyRef + +

                                                  + + Permalink + + +
                                                  Attributes
                                                  protected[java.lang]
                                                  Definition Classes
                                                  AnyRef
                                                  Annotations
                                                  + @throws( + + ... + ) + +
                                                  +
                                                7. + + +

                                                  + + + val + + + dataType: Int + +

                                                  + + Permalink + + + +
                                                8. + + +

                                                  + + + val + + + doubleVal: Seq[Double] + +

                                                  + + Permalink + + + +
                                                9. + + +

                                                  + + final + def + + + eq(arg0: AnyRef): Boolean + +

                                                  + + Permalink + + +
                                                  Definition Classes
                                                  AnyRef
                                                  +
                                                10. + + +

                                                  + + + def + + + finalize(): Unit + +

                                                  + + Permalink + + +
                                                  Attributes
                                                  protected[java.lang]
                                                  Definition Classes
                                                  AnyRef
                                                  Annotations
                                                  + @throws( + + classOf[java.lang.Throwable] + ) + +
                                                  +
                                                11. + + +

                                                  + + + val + + + floatVal: Seq[Float] + +

                                                  + + Permalink + + + +
                                                12. + + +

                                                  + + final + def + + + getClass(): Class[_] + +

                                                  + + Permalink + + +
                                                  Definition Classes
                                                  AnyRef → Any
                                                  +
                                                13. + + +

                                                  + + + val + + + intVal: Seq[Int] + +

                                                  + + Permalink + + + +
                                                14. + + +

                                                  + + final + def + + + isInstanceOf[T0]: Boolean + +

                                                  + + Permalink + + +
                                                  Definition Classes
                                                  Any
                                                  +
                                                15. + + +

                                                  + + + val + + + longVal: Seq[Long] + +

                                                  + + Permalink + + + +
                                                16. + + +

                                                  + + + val + + + name: String + +

                                                  + + Permalink + + + +
                                                17. + + +

                                                  + + final + def + + + ne(arg0: AnyRef): Boolean + +

                                                  + + Permalink + + +
                                                  Definition Classes
                                                  AnyRef
                                                  +
                                                18. + + +

                                                  + + final + def + + + notify(): Unit + +

                                                  + + Permalink + + +
                                                  Definition Classes
                                                  AnyRef
                                                  +
                                                19. + + +

                                                  + + final + def + + + notifyAll(): Unit + +

                                                  + + Permalink + + +
                                                  Definition Classes
                                                  AnyRef
                                                  +
                                                20. + + +

                                                  + + + val + + + shape: Seq[Long] + +

                                                  + + Permalink + + + +
                                                21. + + +

                                                  + + + val + + + stringVal: Seq[Array[Byte]] + +

                                                  + + Permalink + + + +
                                                22. + + +

                                                  + + final + def + + + synchronized[T0](arg0: ⇒ T0): T0 + +

                                                  + + Permalink + + +
                                                  Definition Classes
                                                  AnyRef
                                                  +
                                                23. + + +

                                                  + + final + def + + + wait(): Unit + +

                                                  + + Permalink + + +
                                                  Definition Classes
                                                  AnyRef
                                                  Annotations
                                                  + @throws( + + ... + ) + +
                                                  +
                                                24. + + +

                                                  + + final + def + + + wait(arg0: Long, arg1: Int): Unit + +

                                                  + + Permalink + + +
                                                  Definition Classes
                                                  AnyRef
                                                  Annotations
                                                  + @throws( + + ... + ) + +
                                                  +
                                                25. + + +

                                                  + + final + def + + + wait(arg0: Long): Unit + +

                                                  + + Permalink + + +
                                                  Definition Classes
                                                  AnyRef
                                                  Annotations
                                                  + @throws( + + ... + ) + +
                                                  +
                                                +
                                                + + + + +
                                                + +
                                                +
                                                +

                                                Inherited from Serializable

                                                +
                                                +

                                                Inherited from Serializable

                                                +
                                                +

                                                Inherited from Product

                                                +
                                                +

                                                Inherited from Equals

                                                +
                                                +

                                                Inherited from AnyRef

                                                +
                                                +

                                                Inherited from Any

                                                +
                                                + +
                                                + +
                                                +
                                                +

                                                Ungrouped

                                                + +
                                                +
                                                + +
                                                + +
                                                + + + + + + diff --git a/manual1903/api_reference/components/scaladocs/ksb/csle/component/operator/analysis/TensorflowPredictOperator$.html b/manual1903/api_reference/components/scaladocs/ksb/csle/component/operator/analysis/TensorflowPredictOperator$.html new file mode 100644 index 0000000000000000000000000000000000000000..fe2084fafc414db5be5a4a42d973d1ad114c581c --- /dev/null +++ b/manual1903/api_reference/components/scaladocs/ksb/csle/component/operator/analysis/TensorflowPredictOperator$.html @@ -0,0 +1,559 @@ + + + + TensorflowPredictOperator - KSB COMPONENTS Scala App Project 1.0-SNAPSHOT API - ksb.csle.component.operator.analysis.TensorflowPredictOperator + + + + + + + + + + + + + + + + + +

                                                + + + object + + + TensorflowPredictOperator extends Serializable + +

                                                + +
                                                + Linear Supertypes +
                                                Serializable, Serializable, AnyRef, Any
                                                +
                                                + + +
                                                +
                                                +
                                                + Ordering +
                                                  + +
                                                1. Alphabetic
                                                2. +
                                                3. By Inheritance
                                                4. +
                                                +
                                                +
                                                + Inherited
                                                +
                                                +
                                                  +
                                                1. TensorflowPredictOperator
                                                2. Serializable
                                                3. Serializable
                                                4. AnyRef
                                                5. Any
                                                6. +
                                                +
                                                + +
                                                  +
                                                1. Hide All
                                                2. +
                                                3. Show All
                                                4. +
                                                +
                                                +
                                                + Visibility +
                                                1. Public
                                                2. All
                                                +
                                                +
                                                + +
                                                +
                                                + + +
                                                +

                                                Type Members

                                                +
                                                1. + + +

                                                  + + + case class + + + PredictionResult(outputs: Map[String, TensorRow] = null, error: String = null) extends Product with Serializable + +

                                                  + + Permalink + + + +
                                                2. + + +

                                                  + + + case class + + + TensorRow(name: String, dataType: Int, shape: Seq[Long], floatVal: Seq[Float] = null, doubleVal: Seq[Double] = null, intVal: Seq[Int] = null, stringVal: Seq[Array[Byte]] = null, longVal: Seq[Long] = null, boolVal: Seq[Boolean] = null) extends Product with Serializable + +

                                                  + + Permalink + + + +
                                                +
                                                + + + +
                                                +

                                                Value Members

                                                +
                                                1. + + +

                                                  + + final + def + + + !=(arg0: Any): Boolean + +

                                                  + + Permalink + + +
                                                  Definition Classes
                                                  AnyRef → Any
                                                  +
                                                2. + + +

                                                  + + final + def + + + ##(): Int + +

                                                  + + Permalink + + +
                                                  Definition Classes
                                                  AnyRef → Any
                                                  +
                                                3. + + +

                                                  + + final + def + + + ==(arg0: Any): Boolean + +

                                                  + + Permalink + + +
                                                  Definition Classes
                                                  AnyRef → Any
                                                  +
                                                4. + + +

                                                  + + + object + + + PredictionResult extends Serializable + +

                                                  + + Permalink + + + +
                                                5. + + +

                                                  + + + object + + + TensorRow extends Serializable + +

                                                  + + Permalink + + + +
                                                6. + + +

                                                  + + final + def + + + asInstanceOf[T0]: T0 + +

                                                  + + Permalink + + +
                                                  Definition Classes
                                                  Any
                                                  +
                                                7. + + +

                                                  + + + def + + + clone(): AnyRef + +

                                                  + + Permalink + + +
                                                  Attributes
                                                  protected[java.lang]
                                                  Definition Classes
                                                  AnyRef
                                                  Annotations
                                                  + @throws( + + ... + ) + +
                                                  +
                                                8. + + +

                                                  + + final + def + + + eq(arg0: AnyRef): Boolean + +

                                                  + + Permalink + + +
                                                  Definition Classes
                                                  AnyRef
                                                  +
                                                9. + + +

                                                  + + + def + + + equals(arg0: Any): Boolean + +

                                                  + + Permalink + + +
                                                  Definition Classes
                                                  AnyRef → Any
                                                  +
                                                10. + + +

                                                  + + + def + + + finalize(): Unit + +

                                                  + + Permalink + + +
                                                  Attributes
                                                  protected[java.lang]
                                                  Definition Classes
                                                  AnyRef
                                                  Annotations
                                                  + @throws( + + classOf[java.lang.Throwable] + ) + +
                                                  +
                                                11. + + +

                                                  + + final + def + + + getClass(): Class[_] + +

                                                  + + Permalink + + +
                                                  Definition Classes
                                                  AnyRef → Any
                                                  +
                                                12. + + +

                                                  + + + def + + + hashCode(): Int + +

                                                  + + Permalink + + +
                                                  Definition Classes
                                                  AnyRef → Any
                                                  +
                                                13. + + +

                                                  + + final + def + + + isInstanceOf[T0]: Boolean + +

                                                  + + Permalink + + +
                                                  Definition Classes
                                                  Any
                                                  +
                                                14. + + +

                                                  + + final + def + + + ne(arg0: AnyRef): Boolean + +

                                                  + + Permalink + + +
                                                  Definition Classes
                                                  AnyRef
                                                  +
                                                15. + + +

                                                  + + final + def + + + notify(): Unit + +

                                                  + + Permalink + + +
                                                  Definition Classes
                                                  AnyRef
                                                  +
                                                16. + + +

                                                  + + final + def + + + notifyAll(): Unit + +

                                                  + + Permalink + + +
                                                  Definition Classes
                                                  AnyRef
                                                  +
                                                17. + + +

                                                  + + final + def + + + synchronized[T0](arg0: ⇒ T0): T0 + +

                                                  + + Permalink + + +
                                                  Definition Classes
                                                  AnyRef
                                                  +
                                                18. + + +

                                                  + + + def + + + toString(): String + +

                                                  + + Permalink + + +
                                                  Definition Classes
                                                  AnyRef → Any
                                                  +
                                                19. + + +

                                                  + + final + def + + + wait(): Unit + +

                                                  + + Permalink + + +
                                                  Definition Classes
                                                  AnyRef
                                                  Annotations
                                                  + @throws( + + ... + ) + +
                                                  +
                                                20. + + +

                                                  + + final + def + + + wait(arg0: Long, arg1: Int): Unit + +

                                                  + + Permalink + + +
                                                  Definition Classes
                                                  AnyRef
                                                  Annotations
                                                  + @throws( + + ... + ) + +
                                                  +
                                                21. + + +

                                                  + + final + def + + + wait(arg0: Long): Unit + +

                                                  + + Permalink + + +
                                                  Definition Classes
                                                  AnyRef
                                                  Annotations
                                                  + @throws( + + ... + ) + +
                                                  +
                                                +
                                                + + + + +
                                                + +
                                                +
                                                +

                                                Inherited from Serializable

                                                +
                                                +

                                                Inherited from Serializable

                                                +
                                                +

                                                Inherited from AnyRef

                                                +
                                                +

                                                Inherited from Any

                                                +
                                                + +
                                                + +
                                                +
                                                +

                                                Ungrouped

                                                + +
                                                +
                                                + +
                                                + +
                                                + + + + + + diff --git a/manual1903/api_reference/components/scaladocs/ksb/csle/component/operator/analysis/TensorflowPredictOperator.html b/manual1903/api_reference/components/scaladocs/ksb/csle/component/operator/analysis/TensorflowPredictOperator.html new file mode 100644 index 0000000000000000000000000000000000000000..7b53f98dd03154efb2937225106fce50555f9b9b --- /dev/null +++ b/manual1903/api_reference/components/scaladocs/ksb/csle/component/operator/analysis/TensorflowPredictOperator.html @@ -0,0 +1,579 @@ + + + + TensorflowPredictOperator - KSB COMPONENTS Scala App Project 1.0-SNAPSHOT API - ksb.csle.component.operator.analysis.TensorflowPredictOperator + + + + + + + + + + + + + + + + + +

                                                + + + class + + + TensorflowPredictOperator extends BaseDataOperator[StreamOperatorInfo, DataFrame] + +

                                                + +

                                                :: ApplicationDeveloperApi ::

                                                Operator that performs the prediction according to a given tensorflow model. +

                                                + Linear Supertypes +
                                                BaseDataOperator[StreamOperatorInfo, DataFrame], BaseGenericOperator[StreamOperatorInfo, DataFrame], BaseGenericMutantOperator[StreamOperatorInfo, DataFrame, DataFrame], BaseDoer, Logging, Serializable, Serializable, AnyRef, Any
                                                +
                                                + + +
                                                +
                                                +
                                                + Ordering +
                                                  + +
                                                1. Alphabetic
                                                2. +
                                                3. By Inheritance
                                                4. +
                                                +
                                                +
                                                + Inherited
                                                +
                                                +
                                                  +
                                                1. TensorflowPredictOperator
                                                2. BaseDataOperator
                                                3. BaseGenericOperator
                                                4. BaseGenericMutantOperator
                                                5. BaseDoer
                                                6. Logging
                                                7. Serializable
                                                8. Serializable
                                                9. AnyRef
                                                10. Any
                                                11. +
                                                +
                                                + +
                                                  +
                                                1. Hide All
                                                2. +
                                                3. Show All
                                                4. +
                                                +
                                                +
                                                + Visibility +
                                                1. Public
                                                2. All
                                                +
                                                +
                                                + +
                                                +
                                                +
                                                +

                                                Instance Constructors

                                                +
                                                1. + + +

                                                  + + + new + + + TensorflowPredictOperator(o: StreamOperatorInfo) + +

                                                  + + Permalink + + +

                                                  o

                                                  Object that contains message + ksb.csle.common.proto.StreamOperatorProto.TensorflowPredictorInfo + TensorflowPredictorInfo contains attributes as follows:

                                                  • modelServerUri: Model location (required)
                                                  • modelName: Model name (required)
                                                  • signatureName: Signature name (required)
                                                  • options: options of tensorflow prediction (repeated)

                                                  TensorflowPredictorInfo

                                                  message TensorflowPredictorInfo {
                                                  +  required string modelServerUri = 1 [default = "http://ip:port"];
                                                  +  required string modelName = 2 [default = "target_model_name"];
                                                  +  required string signatureName = 3 [default = "target_signature_name"];
                                                  +  repeated PredictOption options = 4;
                                                  +}
                                                  +
                                                +
                                                + + + + + +
                                                +

                                                Value Members

                                                +
                                                1. + + +

                                                  + + final + def + + + !=(arg0: Any): Boolean + +

                                                  + + Permalink + + +
                                                  Definition Classes
                                                  AnyRef → Any
                                                  +
                                                2. + + +

                                                  + + final + def + + + ##(): Int + +

                                                  + + Permalink + + +
                                                  Definition Classes
                                                  AnyRef → Any
                                                  +
                                                3. + + +

                                                  + + final + def + + + ==(arg0: Any): Boolean + +

                                                  + + Permalink + + +
                                                  Definition Classes
                                                  AnyRef → Any
                                                  +
                                                4. + + +

                                                  + + final + def + + + asInstanceOf[T0]: T0 + +

                                                  + + Permalink + + +
                                                  Definition Classes
                                                  Any
                                                  +
                                                5. + + +

                                                  + + + def + + + clone(): AnyRef + +

                                                  + + Permalink + + +
                                                  Attributes
                                                  protected[java.lang]
                                                  Definition Classes
                                                  AnyRef
                                                  Annotations
                                                  + @throws( + + ... + ) + +
                                                  +
                                                6. + + +

                                                  + + final + def + + + eq(arg0: AnyRef): Boolean + +

                                                  + + Permalink + + +
                                                  Definition Classes
                                                  AnyRef
                                                  +
                                                7. + + +

                                                  + + + def + + + equals(arg0: Any): Boolean + +

                                                  + + Permalink + + +
                                                  Definition Classes
                                                  AnyRef → Any
                                                  +
                                                8. + + +

                                                  + + + def + + + finalize(): Unit + +

                                                  + + Permalink + + +
                                                  Attributes
                                                  protected[java.lang]
                                                  Definition Classes
                                                  AnyRef
                                                  Annotations
                                                  + @throws( + + classOf[java.lang.Throwable] + ) + +
                                                  +
                                                9. + + +

                                                  + + final + def + + + getClass(): Class[_] + +

                                                  + + Permalink + + +
                                                  Definition Classes
                                                  AnyRef → Any
                                                  +
                                                10. + + +

                                                  + + + def + + + hashCode(): Int + +

                                                  + + Permalink + + +
                                                  Definition Classes
                                                  AnyRef → Any
                                                  +
                                                11. + + +

                                                  + + final + def + + + isInstanceOf[T0]: Boolean + +

                                                  + + Permalink + + +
                                                  Definition Classes
                                                  Any
                                                  +
                                                12. + + +

                                                  + + + val + + + logger: Logger + +

                                                  + + Permalink + + +
                                                  Attributes
                                                  protected
                                                  Definition Classes
                                                  Logging
                                                  +
                                                13. + + +

                                                  + + final + def + + + ne(arg0: AnyRef): Boolean + +

                                                  + + Permalink + + +
                                                  Definition Classes
                                                  AnyRef
                                                  +
                                                14. + + +

                                                  + + final + def + + + notify(): Unit + +

                                                  + + Permalink + + +
                                                  Definition Classes
                                                  AnyRef
                                                  +
                                                15. + + +

                                                  + + final + def + + + notifyAll(): Unit + +

                                                  + + Permalink + + +
                                                  Definition Classes
                                                  AnyRef
                                                  +
                                                16. + + +

                                                  + + + def + + + operate(inputs: DataFrame): DataFrame + +

                                                  + + Permalink + + +

                                                  Operate the tensorflow model prediction.

                                                  Operate the tensorflow model prediction. +

                                                  inputs

                                                  Input dataframe

                                                  returns

                                                  DataFrame Output dataframe has prediction output columns.

                                                  Definition Classes
                                                  TensorflowPredictOperator → BaseGenericOperator → BaseGenericMutantOperator
                                                  +
                                                17. + + +

                                                  + + + def + + + stop: Unit + +

                                                  + + Permalink + + +

                                                  Close the client connection with model server.

                                                  Close the client connection with model server. +

                                                  Definition Classes
                                                  TensorflowPredictOperator → BaseGenericOperator → BaseGenericMutantOperator
                                                  +
                                                18. + + +

                                                  + + final + def + + + synchronized[T0](arg0: ⇒ T0): T0 + +

                                                  + + Permalink + + +
                                                  Definition Classes
                                                  AnyRef
                                                  +
                                                19. + + +

                                                  + + + def + + + toString(): String + +

                                                  + + Permalink + + +
                                                  Definition Classes
                                                  AnyRef → Any
                                                  +
                                                20. + + +

                                                  + + final + def + + + wait(): Unit + +

                                                  + + Permalink + + +
                                                  Definition Classes
                                                  AnyRef
                                                  Annotations
                                                  + @throws( + + ... + ) + +
                                                  +
                                                21. + + +

                                                  + + final + def + + + wait(arg0: Long, arg1: Int): Unit + +

                                                  + + Permalink + + +
                                                  Definition Classes
                                                  AnyRef
                                                  Annotations
                                                  + @throws( + + ... + ) + +
                                                  +
                                                22. + + +

                                                  + + final + def + + + wait(arg0: Long): Unit + +

                                                  + + Permalink + + +
                                                  Definition Classes
                                                  AnyRef
                                                  Annotations
                                                  + @throws( + + ... + ) + +
                                                  +
                                                +
                                                + + + + +
                                                + +
                                                +
                                                +

                                                Inherited from BaseDataOperator[StreamOperatorInfo, DataFrame]

                                                +
                                                +

                                                Inherited from BaseGenericOperator[StreamOperatorInfo, DataFrame]

                                                +
                                                +

                                                Inherited from BaseGenericMutantOperator[StreamOperatorInfo, DataFrame, DataFrame]

                                                +
                                                +

                                                Inherited from BaseDoer

                                                +
                                                +

                                                Inherited from Logging

                                                +
                                                +

                                                Inherited from Serializable

                                                +
                                                +

                                                Inherited from Serializable

                                                +
                                                +

                                                Inherited from AnyRef

                                                +
                                                +

                                                Inherited from Any

                                                +
                                                + +
                                                + +
                                                +
                                                +

                                                Ungrouped

                                                + +
                                                +
                                                + +
                                                + +
                                                + + + + + + diff --git a/manual1903/api_reference/components/scaladocs/ksb/csle/component/operator/analysis/package.html b/manual1903/api_reference/components/scaladocs/ksb/csle/component/operator/analysis/package.html new file mode 100644 index 0000000000000000000000000000000000000000..126ad046fe124f0fe50cf6e307c5ad8c325116af --- /dev/null +++ b/manual1903/api_reference/components/scaladocs/ksb/csle/component/operator/analysis/package.html @@ -0,0 +1,248 @@ + + + + analysis - KSB COMPONENTS Scala App Project 1.0-SNAPSHOT API - ksb.csle.component.operator.analysis + + + + + + + + + + + + + + + +
                                                + Package +

                                                ksb.csle.component.operator

                                                +

                                                analysis

                                                + + Permalink + + +
                                                + +

                                                + + + package + + + analysis + +

                                                + +
                                                + + +
                                                +
                                                + + +
                                                + Visibility +
                                                1. Public
                                                2. All
                                                +
                                                +
                                                + +
                                                +
                                                + + +
                                                +

                                                Type Members

                                                +
                                                1. + + +

                                                  + + + class + + + DLTrainOperator extends BaseGenericOperator[BatchOperatorInfo, Any] + +

                                                  + + Permalink + + +

                                                  :: ApplicationDeveloperApi ::

                                                  :: ApplicationDeveloperApi ::

                                                  Operator that specifies path information for DL model +and additional parameters to be used in the python code. +modelPath will be passed as '--input' parameter to python code +and additional parameters will be passed to key-value pairs with '--'. +

                                                  +
                                                2. + + +

                                                  + + + class + + + RandomForestClassifierPredictOperator extends BaseDataOperator[StreamOperatorInfo, DataFrame] + +

                                                  + + Permalink + + +

                                                  :: ApplicationDeveloperApi ::

                                                  :: ApplicationDeveloperApi ::

                                                  Operator that performs the prediction according to a given RandomForest classification model. +

                                                  +
                                                3. + + +

                                                  + + + class + + + RandomForestClassifierTrainOperator extends BaseDataOperator[StreamOperatorInfo, DataFrame] + +

                                                  + + Permalink + + +

                                                  :: ApplicationDeveloperApi ::

                                                  :: ApplicationDeveloperApi ::

                                                  Operator that trains RandomForest classification model in the given attributes. +

                                                  +
                                                4. + + +

                                                  + + + class + + + SparkMLPredictOperator extends BaseGenericOperator[StreamOperatorInfo, DataFrame] + +

                                                  + + Permalink + + +

                                                  :: ApplicationDeveloperApi ::

                                                  :: ApplicationDeveloperApi ::

                                                  Operator that performs predition with ML model in the given dataframe. +

                                                  +
                                                5. + + +

                                                  + + + class + + + TensorflowPredictOperator extends BaseDataOperator[StreamOperatorInfo, DataFrame] + +

                                                  + + Permalink + + +

                                                  :: ApplicationDeveloperApi ::

                                                  :: ApplicationDeveloperApi ::

                                                  Operator that performs the prediction according to a given tensorflow model. +

                                                  +
                                                +
                                                + + + +
                                                +

                                                Value Members

                                                +
                                                1. + + +

                                                  + + + object + + + DLTrainOperator extends Logging with Serializable + +

                                                  + + Permalink + + + +
                                                2. + + +

                                                  + + + object + + + SparkMLPredictOperator extends Logging with Serializable + +

                                                  + + Permalink + + + +
                                                3. + + +

                                                  + + + object + + + TensorflowPredictOperator extends Serializable + +

                                                  + + Permalink + + + +
                                                +
                                                + + + + +
                                                + +
                                                + + +
                                                + +
                                                +
                                                +

                                                Ungrouped

                                                + +
                                                +
                                                + +
                                                + +
                                                + + + + + + diff --git a/manual1903/api_reference/components/scaladocs/ksb/csle/component/operator/cleaning/AgglomerativeClusteringOperator$.html b/manual1903/api_reference/components/scaladocs/ksb/csle/component/operator/cleaning/AgglomerativeClusteringOperator$.html new file mode 100644 index 0000000000000000000000000000000000000000..872caaea923ac50bae73dccfffe2dae78395aeff --- /dev/null +++ b/manual1903/api_reference/components/scaladocs/ksb/csle/component/operator/cleaning/AgglomerativeClusteringOperator$.html @@ -0,0 +1,505 @@ + + + + AgglomerativeClusteringOperator - KSB COMPONENTS Scala App Project 1.0-SNAPSHOT API - ksb.csle.component.operator.cleaning.AgglomerativeClusteringOperator + + + + + + + + + + + + + + + + + +

                                                + + + object + + + AgglomerativeClusteringOperator extends Serializable + +

                                                + +
                                                + Linear Supertypes +
                                                Serializable, Serializable, AnyRef, Any
                                                +
                                                + + +
                                                +
                                                +
                                                + Ordering +
                                                  + +
                                                1. Alphabetic
                                                2. +
                                                3. By Inheritance
                                                4. +
                                                +
                                                +
                                                + Inherited
                                                +
                                                +
                                                  +
                                                1. AgglomerativeClusteringOperator
                                                2. Serializable
                                                3. Serializable
                                                4. AnyRef
                                                5. Any
                                                6. +
                                                +
                                                + +
                                                  +
                                                1. Hide All
                                                2. +
                                                3. Show All
                                                4. +
                                                +
                                                +
                                                + Visibility +
                                                1. Public
                                                2. All
                                                +
                                                +
                                                + +
                                                +
                                                + + + + + + +
                                                +

                                                Value Members

                                                +
                                                1. + + +

                                                  + + final + def + + + !=(arg0: Any): Boolean + +

                                                  + + Permalink + + +
                                                  Definition Classes
                                                  AnyRef → Any
                                                  +
                                                2. + + +

                                                  + + final + def + + + ##(): Int + +

                                                  + + Permalink + + +
                                                  Definition Classes
                                                  AnyRef → Any
                                                  +
                                                3. + + +

                                                  + + final + def + + + ==(arg0: Any): Boolean + +

                                                  + + Permalink + + +
                                                  Definition Classes
                                                  AnyRef → Any
                                                  +
                                                4. + + +

                                                  + + + def + + + apply(o: StreamOperatorInfo): AgglomerativeClusteringOperator + +

                                                  + + Permalink + + + +
                                                5. + + +

                                                  + + final + def + + + asInstanceOf[T0]: T0 + +

                                                  + + Permalink + + +
                                                  Definition Classes
                                                  Any
                                                  +
                                                6. + + +

                                                  + + + def + + + clone(): AnyRef + +

                                                  + + Permalink + + +
                                                  Attributes
                                                  protected[java.lang]
                                                  Definition Classes
                                                  AnyRef
                                                  Annotations
                                                  + @throws( + + ... + ) + +
                                                  +
                                                7. + + +

                                                  + + final + def + + + eq(arg0: AnyRef): Boolean + +

                                                  + + Permalink + + +
                                                  Definition Classes
                                                  AnyRef
                                                  +
                                                8. + + +

                                                  + + + def + + + equals(arg0: Any): Boolean + +

                                                  + + Permalink + + +
                                                  Definition Classes
                                                  AnyRef → Any
                                                  +
                                                9. + + +

                                                  + + + def + + + finalize(): Unit + +

                                                  + + Permalink + + +
                                                  Attributes
                                                  protected[java.lang]
                                                  Definition Classes
                                                  AnyRef
                                                  Annotations
                                                  + @throws( + + classOf[java.lang.Throwable] + ) + +
                                                  +
                                                10. + + +

                                                  + + final + def + + + getClass(): Class[_] + +

                                                  + + Permalink + + +
                                                  Definition Classes
                                                  AnyRef → Any
                                                  +
                                                11. + + +

                                                  + + + def + + + hashCode(): Int + +

                                                  + + Permalink + + +
                                                  Definition Classes
                                                  AnyRef → Any
                                                  +
                                                12. + + +

                                                  + + final + def + + + isInstanceOf[T0]: Boolean + +

                                                  + + Permalink + + +
                                                  Definition Classes
                                                  Any
                                                  +
                                                13. + + +

                                                  + + final + def + + + ne(arg0: AnyRef): Boolean + +

                                                  + + Permalink + + +
                                                  Definition Classes
                                                  AnyRef
                                                  +
                                                14. + + +

                                                  + + final + def + + + notify(): Unit + +

                                                  + + Permalink + + +
                                                  Definition Classes
                                                  AnyRef
                                                  +
                                                15. + + +

                                                  + + final + def + + + notifyAll(): Unit + +

                                                  + + Permalink + + +
                                                  Definition Classes
                                                  AnyRef
                                                  +
                                                16. + + +

                                                  + + final + def + + + synchronized[T0](arg0: ⇒ T0): T0 + +

                                                  + + Permalink + + +
                                                  Definition Classes
                                                  AnyRef
                                                  +
                                                17. + + +

                                                  + + + def + + + toString(): String + +

                                                  + + Permalink + + +
                                                  Definition Classes
                                                  AnyRef → Any
                                                  +
                                                18. + + +

                                                  + + final + def + + + wait(): Unit + +

                                                  + + Permalink + + +
                                                  Definition Classes
                                                  AnyRef
                                                  Annotations
                                                  + @throws( + + ... + ) + +
                                                  +
                                                19. + + +

                                                  + + final + def + + + wait(arg0: Long, arg1: Int): Unit + +

                                                  + + Permalink + + +
                                                  Definition Classes
                                                  AnyRef
                                                  Annotations
                                                  + @throws( + + ... + ) + +
                                                  +
                                                20. + + +

                                                  + + final + def + + + wait(arg0: Long): Unit + +

                                                  + + Permalink + + +
                                                  Definition Classes
                                                  AnyRef
                                                  Annotations
                                                  + @throws( + + ... + ) + +
                                                  +
                                                +
                                                + + + + +
                                                + +
                                                +
                                                +

                                                Inherited from Serializable

                                                +
                                                +

                                                Inherited from Serializable

                                                +
                                                +

                                                Inherited from AnyRef

                                                +
                                                +

                                                Inherited from Any

                                                +
                                                + +
                                                + +
                                                +
                                                +

                                                Ungrouped

                                                + +
                                                +
                                                + +
                                                + +
                                                + + + + + + diff --git a/manual1903/api_reference/components/scaladocs/ksb/csle/component/operator/cleaning/AgglomerativeClusteringOperator.html b/manual1903/api_reference/components/scaladocs/ksb/csle/component/operator/cleaning/AgglomerativeClusteringOperator.html new file mode 100644 index 0000000000000000000000000000000000000000..59458bfe74e9231fb1c75824db9c40e89ee6ea5e --- /dev/null +++ b/manual1903/api_reference/components/scaladocs/ksb/csle/component/operator/cleaning/AgglomerativeClusteringOperator.html @@ -0,0 +1,619 @@ + + + + AgglomerativeClusteringOperator - KSB COMPONENTS Scala App Project 1.0-SNAPSHOT API - ksb.csle.component.operator.cleaning.AgglomerativeClusteringOperator + + + + + + + + + + + + + + + + + +

                                                + + + class + + + AgglomerativeClusteringOperator extends BaseDataOperator[StreamOperatorInfo, DataFrame] with BaseDistanceCalculator + +

                                                + +

                                                :: ApplicationDeveloperApi ::

                                                Operator that performs Agglomerative clustering. +It aims to make a hierarchy of clusters in bottom-up approach. +Each observation begins with its own cluster and pairs of clusters are +combined as the hierarchy goes up. +

                                                + Linear Supertypes +
                                                BaseDistanceCalculator, BaseDataOperator[StreamOperatorInfo, DataFrame], BaseGenericOperator[StreamOperatorInfo, DataFrame], BaseGenericMutantOperator[StreamOperatorInfo, DataFrame, DataFrame], BaseDoer, Logging, Serializable, Serializable, AnyRef, Any
                                                +
                                                + + +
                                                +
                                                +
                                                + Ordering +
                                                  + +
                                                1. Alphabetic
                                                2. +
                                                3. By Inheritance
                                                4. +
                                                +
                                                +
                                                + Inherited
                                                +
                                                +
                                                  +
                                                1. AgglomerativeClusteringOperator
                                                2. BaseDistanceCalculator
                                                3. BaseDataOperator
                                                4. BaseGenericOperator
                                                5. BaseGenericMutantOperator
                                                6. BaseDoer
                                                7. Logging
                                                8. Serializable
                                                9. Serializable
                                                10. AnyRef
                                                11. Any
                                                12. +
                                                +
                                                + +
                                                  +
                                                1. Hide All
                                                2. +
                                                3. Show All
                                                4. +
                                                +
                                                +
                                                + Visibility +
                                                1. Public
                                                2. All
                                                +
                                                +
                                                + +
                                                +
                                                +
                                                +

                                                Instance Constructors

                                                +
                                                1. + + +

                                                  + + + new + + + AgglomerativeClusteringOperator(o: StreamOperatorInfo) + +

                                                  + + Permalink + + +

                                                  o

                                                  Object that contains message + ksb.csle.common.proto.StreamOperatorProto.AgglomerativeClusteringInfo + AgglomerativeClusteringInfo contains attributes as follows:

                                                  • numberOfClusters: Number of clusters to form (required)
                                                  • link: Cluster mode. Enum(SINGLE, COMPLETE, AVERAGE), (required)

                                                  AgglomerativeClusteringInfo

                                                  message AgglomerativeClusteringInfo {
                                                  +required int32 numberOfClusters = 3;
                                                  +required LinkType link = 4 [default = SINGLE];
                                                  +enum LinkType {
                                                  +  SINGLE = 0;
                                                  +  COMPLETE = 1;
                                                  +  AVERAGE = 2;
                                                  +}
                                                  +
                                                +
                                                + + + + + +
                                                +

                                                Value Members

                                                +
                                                1. + + +

                                                  + + final + def + + + !=(arg0: Any): Boolean + +

                                                  + + Permalink + + +
                                                  Definition Classes
                                                  AnyRef → Any
                                                  +
                                                2. + + +

                                                  + + final + def + + + ##(): Int + +

                                                  + + Permalink + + +
                                                  Definition Classes
                                                  AnyRef → Any
                                                  +
                                                3. + + +

                                                  + + final + def + + + ==(arg0: Any): Boolean + +

                                                  + + Permalink + + +
                                                  Definition Classes
                                                  AnyRef → Any
                                                  +
                                                4. + + +

                                                  + + + def + + + ManhattanDistanceMetric(x: Row, y: Row): Double + +

                                                  + + Permalink + + +
                                                  Definition Classes
                                                  BaseDistanceCalculator
                                                  +
                                                5. + + +

                                                  + + final + def + + + asInstanceOf[T0]: T0 + +

                                                  + + Permalink + + +
                                                  Definition Classes
                                                  Any
                                                  +
                                                6. + + +

                                                  + + + def + + + clone(): AnyRef + +

                                                  + + Permalink + + +
                                                  Attributes
                                                  protected[java.lang]
                                                  Definition Classes
                                                  AnyRef
                                                  Annotations
                                                  + @throws( + + ... + ) + +
                                                  +
                                                7. + + +

                                                  + + final + def + + + eq(arg0: AnyRef): Boolean + +

                                                  + + Permalink + + +
                                                  Definition Classes
                                                  AnyRef
                                                  +
                                                8. + + +

                                                  + + + def + + + equals(arg0: Any): Boolean + +

                                                  + + Permalink + + +
                                                  Definition Classes
                                                  AnyRef → Any
                                                  +
                                                9. + + +

                                                  + + + def + + + finalize(): Unit + +

                                                  + + Permalink + + +
                                                  Attributes
                                                  protected[java.lang]
                                                  Definition Classes
                                                  AnyRef
                                                  Annotations
                                                  + @throws( + + classOf[java.lang.Throwable] + ) + +
                                                  +
                                                10. + + +

                                                  + + final + def + + + getClass(): Class[_] + +

                                                  + + Permalink + + +
                                                  Definition Classes
                                                  AnyRef → Any
                                                  +
                                                11. + + +

                                                  + + + def + + + hashCode(): Int + +

                                                  + + Permalink + + +
                                                  Definition Classes
                                                  AnyRef → Any
                                                  +
                                                12. + + +

                                                  + + final + def + + + isInstanceOf[T0]: Boolean + +

                                                  + + Permalink + + +
                                                  Definition Classes
                                                  Any
                                                  +
                                                13. + + +

                                                  + + + val + + + logger: Logger + +

                                                  + + Permalink + + +
                                                  Attributes
                                                  protected
                                                  Definition Classes
                                                  Logging
                                                  +
                                                14. + + +

                                                  + + final + def + + + ne(arg0: AnyRef): Boolean + +

                                                  + + Permalink + + +
                                                  Definition Classes
                                                  AnyRef
                                                  +
                                                15. + + +

                                                  + + final + def + + + notify(): Unit + +

                                                  + + Permalink + + +
                                                  Definition Classes
                                                  AnyRef
                                                  +
                                                16. + + +

                                                  + + final + def + + + notifyAll(): Unit + +

                                                  + + Permalink + + +
                                                  Definition Classes
                                                  AnyRef
                                                  +
                                                17. + + +

                                                  + + + def + + + operate(df: DataFrame): DataFrame + +

                                                  + + Permalink + + +

                                                  Operates AgglomerativeClustering.

                                                  Operates AgglomerativeClustering. +

                                                  df

                                                  Input dataframe

                                                  returns

                                                  DataFrame Output dataframe

                                                  Definition Classes
                                                  AgglomerativeClusteringOperator → BaseGenericOperator → BaseGenericMutantOperator
                                                  +
                                                18. + + +

                                                  + + + val + + + p: AgglomerativeClusteringInfo + +

                                                  + + Permalink + + + +
                                                19. + + +

                                                  + + + def + + + stop: Unit + +

                                                  + + Permalink + + +
                                                  Definition Classes
                                                  BaseGenericOperator → BaseGenericMutantOperator
                                                  +
                                                20. + + +

                                                  + + final + def + + + synchronized[T0](arg0: ⇒ T0): T0 + +

                                                  + + Permalink + + +
                                                  Definition Classes
                                                  AnyRef
                                                  +
                                                21. + + +

                                                  + + + def + + + toString(): String + +

                                                  + + Permalink + + +
                                                  Definition Classes
                                                  AnyRef → Any
                                                  +
                                                22. + + +

                                                  + + final + def + + + wait(): Unit + +

                                                  + + Permalink + + +
                                                  Definition Classes
                                                  AnyRef
                                                  Annotations
                                                  + @throws( + + ... + ) + +
                                                  +
                                                23. + + +

                                                  + + final + def + + + wait(arg0: Long, arg1: Int): Unit + +

                                                  + + Permalink + + +
                                                  Definition Classes
                                                  AnyRef
                                                  Annotations
                                                  + @throws( + + ... + ) + +
                                                  +
                                                24. + + +

                                                  + + final + def + + + wait(arg0: Long): Unit + +

                                                  + + Permalink + + +
                                                  Definition Classes
                                                  AnyRef
                                                  Annotations
                                                  + @throws( + + ... + ) + +
                                                  +
                                                +
                                                + + + + +
                                                + +
                                                +
                                                +

                                                Inherited from BaseDistanceCalculator

                                                +
                                                +

                                                Inherited from BaseDataOperator[StreamOperatorInfo, DataFrame]

                                                +
                                                +

                                                Inherited from BaseGenericOperator[StreamOperatorInfo, DataFrame]

                                                +
                                                +

                                                Inherited from BaseGenericMutantOperator[StreamOperatorInfo, DataFrame, DataFrame]

                                                +
                                                +

                                                Inherited from BaseDoer

                                                +
                                                +

                                                Inherited from Logging

                                                +
                                                +

                                                Inherited from Serializable

                                                +
                                                +

                                                Inherited from Serializable

                                                +
                                                +

                                                Inherited from AnyRef

                                                +
                                                +

                                                Inherited from Any

                                                +
                                                + +
                                                + +
                                                +
                                                +

                                                Ungrouped

                                                + +
                                                +
                                                + +
                                                + +
                                                + + + + + + diff --git a/manual1903/api_reference/components/scaladocs/ksb/csle/component/operator/cleaning/DBScanOperator$.html b/manual1903/api_reference/components/scaladocs/ksb/csle/component/operator/cleaning/DBScanOperator$.html new file mode 100644 index 0000000000000000000000000000000000000000..93b8b41f93f8855a611efa350eb93f4dfe2b5f37 --- /dev/null +++ b/manual1903/api_reference/components/scaladocs/ksb/csle/component/operator/cleaning/DBScanOperator$.html @@ -0,0 +1,505 @@ + + + + DBScanOperator - KSB COMPONENTS Scala App Project 1.0-SNAPSHOT API - ksb.csle.component.operator.cleaning.DBScanOperator + + + + + + + + + + + + + + + + + +

                                                + + + object + + + DBScanOperator extends Serializable + +

                                                + +
                                                + Linear Supertypes +
                                                Serializable, Serializable, AnyRef, Any
                                                +
                                                + + +
                                                +
                                                +
                                                + Ordering +
                                                  + +
                                                1. Alphabetic
                                                2. +
                                                3. By Inheritance
                                                4. +
                                                +
                                                +
                                                + Inherited
                                                +
                                                +
                                                  +
                                                1. DBScanOperator
                                                2. Serializable
                                                3. Serializable
                                                4. AnyRef
                                                5. Any
                                                6. +
                                                +
                                                + +
                                                  +
                                                1. Hide All
                                                2. +
                                                3. Show All
                                                4. +
                                                +
                                                +
                                                + Visibility +
                                                1. Public
                                                2. All
                                                +
                                                +
                                                + +
                                                +
                                                + + + + + + +
                                                +

                                                Value Members

                                                +
                                                1. + + +

                                                  + + final + def + + + !=(arg0: Any): Boolean + +

                                                  + + Permalink + + +
                                                  Definition Classes
                                                  AnyRef → Any
                                                  +
                                                2. + + +

                                                  + + final + def + + + ##(): Int + +

                                                  + + Permalink + + +
                                                  Definition Classes
                                                  AnyRef → Any
                                                  +
                                                3. + + +

                                                  + + final + def + + + ==(arg0: Any): Boolean + +

                                                  + + Permalink + + +
                                                  Definition Classes
                                                  AnyRef → Any
                                                  +
                                                4. + + +

                                                  + + + def + + + apply(o: StreamOperatorInfo): DBScanOperator + +

                                                  + + Permalink + + + +
                                                5. + + +

                                                  + + final + def + + + asInstanceOf[T0]: T0 + +

                                                  + + Permalink + + +
                                                  Definition Classes
                                                  Any
                                                  +
                                                6. + + +

                                                  + + + def + + + clone(): AnyRef + +

                                                  + + Permalink + + +
                                                  Attributes
                                                  protected[java.lang]
                                                  Definition Classes
                                                  AnyRef
                                                  Annotations
                                                  + @throws( + + ... + ) + +
                                                  +
                                                7. + + +

                                                  + + final + def + + + eq(arg0: AnyRef): Boolean + +

                                                  + + Permalink + + +
                                                  Definition Classes
                                                  AnyRef
                                                  +
                                                8. + + +

                                                  + + + def + + + equals(arg0: Any): Boolean + +

                                                  + + Permalink + + +
                                                  Definition Classes
                                                  AnyRef → Any
                                                  +
                                                9. + + +

                                                  + + + def + + + finalize(): Unit + +

                                                  + + Permalink + + +
                                                  Attributes
                                                  protected[java.lang]
                                                  Definition Classes
                                                  AnyRef
                                                  Annotations
                                                  + @throws( + + classOf[java.lang.Throwable] + ) + +
                                                  +
                                                10. + + +

                                                  + + final + def + + + getClass(): Class[_] + +

                                                  + + Permalink + + +
                                                  Definition Classes
                                                  AnyRef → Any
                                                  +
                                                11. + + +

                                                  + + + def + + + hashCode(): Int + +

                                                  + + Permalink + + +
                                                  Definition Classes
                                                  AnyRef → Any
                                                  +
                                                12. + + +

                                                  + + final + def + + + isInstanceOf[T0]: Boolean + +

                                                  + + Permalink + + +
                                                  Definition Classes
                                                  Any
                                                  +
                                                13. + + +

                                                  + + final + def + + + ne(arg0: AnyRef): Boolean + +

                                                  + + Permalink + + +
                                                  Definition Classes
                                                  AnyRef
                                                  +
                                                14. + + +

                                                  + + final + def + + + notify(): Unit + +

                                                  + + Permalink + + +
                                                  Definition Classes
                                                  AnyRef
                                                  +
                                                15. + + +

                                                  + + final + def + + + notifyAll(): Unit + +

                                                  + + Permalink + + +
                                                  Definition Classes
                                                  AnyRef
                                                  +
                                                16. + + +

                                                  + + final + def + + + synchronized[T0](arg0: ⇒ T0): T0 + +

                                                  + + Permalink + + +
                                                  Definition Classes
                                                  AnyRef
                                                  +
                                                17. + + +

                                                  + + + def + + + toString(): String + +

                                                  + + Permalink + + +
                                                  Definition Classes
                                                  AnyRef → Any
                                                  +
                                                18. + + +

                                                  + + final + def + + + wait(): Unit + +

                                                  + + Permalink + + +
                                                  Definition Classes
                                                  AnyRef
                                                  Annotations
                                                  + @throws( + + ... + ) + +
                                                  +
                                                19. + + +

                                                  + + final + def + + + wait(arg0: Long, arg1: Int): Unit + +

                                                  + + Permalink + + +
                                                  Definition Classes
                                                  AnyRef
                                                  Annotations
                                                  + @throws( + + ... + ) + +
                                                  +
                                                20. + + +

                                                  + + final + def + + + wait(arg0: Long): Unit + +

                                                  + + Permalink + + +
                                                  Definition Classes
                                                  AnyRef
                                                  Annotations
                                                  + @throws( + + ... + ) + +
                                                  +
                                                +
                                                + + + + +
                                                + +
                                                +
                                                +

                                                Inherited from Serializable

                                                +
                                                +

                                                Inherited from Serializable

                                                +
                                                +

                                                Inherited from AnyRef

                                                +
                                                +

                                                Inherited from Any

                                                +
                                                + +
                                                + +
                                                +
                                                +

                                                Ungrouped

                                                + +
                                                +
                                                + +
                                                + +
                                                + + + + + + diff --git a/manual1903/api_reference/components/scaladocs/ksb/csle/component/operator/cleaning/DBScanOperator.html b/manual1903/api_reference/components/scaladocs/ksb/csle/component/operator/cleaning/DBScanOperator.html new file mode 100644 index 0000000000000000000000000000000000000000..16fa0da4fca094de3e0e88da59cde3c3d19adaef --- /dev/null +++ b/manual1903/api_reference/components/scaladocs/ksb/csle/component/operator/cleaning/DBScanOperator.html @@ -0,0 +1,639 @@ + + + + DBScanOperator - KSB COMPONENTS Scala App Project 1.0-SNAPSHOT API - ksb.csle.component.operator.cleaning.DBScanOperator + + + + + + + + + + + + + + + + + +

                                                + + + class + + + DBScanOperator extends BaseDataOperator[StreamOperatorInfo, DataFrame] with BaseDistanceCalculator + +

                                                + +

                                                :: ApplicationDeveloperApi ::

                                                Operator that performs DBSCAN(Density-based spatial clustering of +applications with noise). +It groups points with nearby neighobors and makes as outlies points that are +in low density region. +

                                                + Linear Supertypes +
                                                BaseDistanceCalculator, BaseDataOperator[StreamOperatorInfo, DataFrame], BaseGenericOperator[StreamOperatorInfo, DataFrame], BaseGenericMutantOperator[StreamOperatorInfo, DataFrame, DataFrame], BaseDoer, Logging, Serializable, Serializable, AnyRef, Any
                                                +
                                                + + +
                                                +
                                                +
                                                + Ordering +
                                                  + +
                                                1. Alphabetic
                                                2. +
                                                3. By Inheritance
                                                4. +
                                                +
                                                +
                                                + Inherited
                                                +
                                                +
                                                  +
                                                1. DBScanOperator
                                                2. BaseDistanceCalculator
                                                3. BaseDataOperator
                                                4. BaseGenericOperator
                                                5. BaseGenericMutantOperator
                                                6. BaseDoer
                                                7. Logging
                                                8. Serializable
                                                9. Serializable
                                                10. AnyRef
                                                11. Any
                                                12. +
                                                +
                                                + +
                                                  +
                                                1. Hide All
                                                2. +
                                                3. Show All
                                                4. +
                                                +
                                                +
                                                + Visibility +
                                                1. Public
                                                2. All
                                                +
                                                +
                                                + +
                                                +
                                                +
                                                +

                                                Instance Constructors

                                                +
                                                1. + + +

                                                  + + + new + + + DBScanOperator(o: StreamOperatorInfo) + +

                                                  + + Permalink + + +

                                                  o

                                                  Object that contains message + ksb.csle.common.proto.StreamOperatorProto.DBSCANInfo + DBSCANInfo contains attributes as follows:

                                                  • eps: Epsilon which specifies the size of the neighborhood (required)
                                                  • minPts: Minimal number of points to form a cluster (required)

                                                  DBSCANInfo

                                                  message DBSCANInfo {
                                                  +  required double eps = 3;
                                                  +  required int32 minPts = 4;
                                                  +}
                                                  +
                                                +
                                                + + + + + +
                                                +

                                                Value Members

                                                +
                                                1. + + +

                                                  + + final + def + + + !=(arg0: Any): Boolean + +

                                                  + + Permalink + + +
                                                  Definition Classes
                                                  AnyRef → Any
                                                  +
                                                2. + + +

                                                  + + final + def + + + ##(): Int + +

                                                  + + Permalink + + +
                                                  Definition Classes
                                                  AnyRef → Any
                                                  +
                                                3. + + +

                                                  + + final + def + + + ==(arg0: Any): Boolean + +

                                                  + + Permalink + + +
                                                  Definition Classes
                                                  AnyRef → Any
                                                  +
                                                4. + + +

                                                  + + + def + + + ManhattanDistanceMetric(x: Row, y: Row): Double + +

                                                  + + Permalink + + +
                                                  Definition Classes
                                                  BaseDistanceCalculator
                                                  +
                                                5. + + +

                                                  + + final + def + + + asInstanceOf[T0]: T0 + +

                                                  + + Permalink + + +
                                                  Definition Classes
                                                  Any
                                                  +
                                                6. + + +

                                                  + + + def + + + clone(): AnyRef + +

                                                  + + Permalink + + +
                                                  Attributes
                                                  protected[java.lang]
                                                  Definition Classes
                                                  AnyRef
                                                  Annotations
                                                  + @throws( + + ... + ) + +
                                                  +
                                                7. + + +

                                                  + + final + def + + + eq(arg0: AnyRef): Boolean + +

                                                  + + Permalink + + +
                                                  Definition Classes
                                                  AnyRef
                                                  +
                                                8. + + +

                                                  + + + def + + + equals(arg0: Any): Boolean + +

                                                  + + Permalink + + +
                                                  Definition Classes
                                                  AnyRef → Any
                                                  +
                                                9. + + +

                                                  + + + def + + + finalize(): Unit + +

                                                  + + Permalink + + +
                                                  Attributes
                                                  protected[java.lang]
                                                  Definition Classes
                                                  AnyRef
                                                  Annotations
                                                  + @throws( + + classOf[java.lang.Throwable] + ) + +
                                                  +
                                                10. + + +

                                                  + + final + def + + + getClass(): Class[_] + +

                                                  + + Permalink + + +
                                                  Definition Classes
                                                  AnyRef → Any
                                                  +
                                                11. + + +

                                                  + + + def + + + hashCode(): Int + +

                                                  + + Permalink + + +
                                                  Definition Classes
                                                  AnyRef → Any
                                                  +
                                                12. + + +

                                                  + + final + def + + + isInstanceOf[T0]: Boolean + +

                                                  + + Permalink + + +
                                                  Definition Classes
                                                  Any
                                                  +
                                                13. + + +

                                                  + + + val + + + logger: Logger + +

                                                  + + Permalink + + +
                                                  Attributes
                                                  protected
                                                  Definition Classes
                                                  Logging
                                                  +
                                                14. + + +

                                                  + + final + def + + + ne(arg0: AnyRef): Boolean + +

                                                  + + Permalink + + +
                                                  Definition Classes
                                                  AnyRef
                                                  +
                                                15. + + +

                                                  + + final + def + + + notify(): Unit + +

                                                  + + Permalink + + +
                                                  Definition Classes
                                                  AnyRef
                                                  +
                                                16. + + +

                                                  + + final + def + + + notifyAll(): Unit + +

                                                  + + Permalink + + +
                                                  Definition Classes
                                                  AnyRef
                                                  +
                                                17. + + +

                                                  + + + def + + + operate(df: DataFrame): DataFrame + +

                                                  + + Permalink + + +

                                                  Operates DBSCAN.

                                                  Operates DBSCAN. +

                                                  df

                                                  Input dataframe

                                                  returns

                                                  DataFrame Output dataframe

                                                  Definition Classes
                                                  DBScanOperator → BaseGenericOperator → BaseGenericMutantOperator
                                                  +
                                                18. + + +

                                                  + + + val + + + p: DBSCANInfo + +

                                                  + + Permalink + + + +
                                                19. + + +

                                                  + + + def + + + stop: Unit + +

                                                  + + Permalink + + +
                                                  Definition Classes
                                                  BaseGenericOperator → BaseGenericMutantOperator
                                                  +
                                                20. + + +

                                                  + + final + def + + + synchronized[T0](arg0: ⇒ T0): T0 + +

                                                  + + Permalink + + +
                                                  Definition Classes
                                                  AnyRef
                                                  +
                                                21. + + +

                                                  + + + def + + + toString(): String + +

                                                  + + Permalink + + +
                                                  Definition Classes
                                                  AnyRef → Any
                                                  +
                                                22. + + +

                                                  + + + def + + + validate(df: DataFrame): Unit + +

                                                  + + Permalink + + +

                                                  Validates DBSCAN info and dataframe schema info using following params.

                                                  Validates DBSCAN info and dataframe schema info using following params. +

                                                  Annotations
                                                  + @throws( + + classOf[KsbException] + ) + +
                                                  +
                                                23. + + +

                                                  + + final + def + + + wait(): Unit + +

                                                  + + Permalink + + +
                                                  Definition Classes
                                                  AnyRef
                                                  Annotations
                                                  + @throws( + + ... + ) + +
                                                  +
                                                24. + + +

                                                  + + final + def + + + wait(arg0: Long, arg1: Int): Unit + +

                                                  + + Permalink + + +
                                                  Definition Classes
                                                  AnyRef
                                                  Annotations
                                                  + @throws( + + ... + ) + +
                                                  +
                                                25. + + +

                                                  + + final + def + + + wait(arg0: Long): Unit + +

                                                  + + Permalink + + +
                                                  Definition Classes
                                                  AnyRef
                                                  Annotations
                                                  + @throws( + + ... + ) + +
                                                  +
                                                +
                                                + + + + +
                                                + +
                                                +
                                                +

                                                Inherited from BaseDistanceCalculator

                                                +
                                                +

                                                Inherited from BaseDataOperator[StreamOperatorInfo, DataFrame]

                                                +
                                                +

                                                Inherited from BaseGenericOperator[StreamOperatorInfo, DataFrame]

                                                +
                                                +

                                                Inherited from BaseGenericMutantOperator[StreamOperatorInfo, DataFrame, DataFrame]

                                                +
                                                +

                                                Inherited from BaseDoer

                                                +
                                                +

                                                Inherited from Logging

                                                +
                                                +

                                                Inherited from Serializable

                                                +
                                                +

                                                Inherited from Serializable

                                                +
                                                +

                                                Inherited from AnyRef

                                                +
                                                +

                                                Inherited from Any

                                                +
                                                + +
                                                + +
                                                +
                                                +

                                                Ungrouped

                                                + +
                                                +
                                                + +
                                                + +
                                                + + + + + + diff --git a/manual1903/api_reference/components/scaladocs/ksb/csle/component/operator/cleaning/EMClusteringOperator$.html b/manual1903/api_reference/components/scaladocs/ksb/csle/component/operator/cleaning/EMClusteringOperator$.html new file mode 100644 index 0000000000000000000000000000000000000000..043a000152948044d4dd50b01a038ca7b1fec991 --- /dev/null +++ b/manual1903/api_reference/components/scaladocs/ksb/csle/component/operator/cleaning/EMClusteringOperator$.html @@ -0,0 +1,505 @@ + + + + EMClusteringOperator - KSB COMPONENTS Scala App Project 1.0-SNAPSHOT API - ksb.csle.component.operator.cleaning.EMClusteringOperator + + + + + + + + + + + + + + + + + +

                                                + + + object + + + EMClusteringOperator extends Serializable + +

                                                + +
                                                + Linear Supertypes +
                                                Serializable, Serializable, AnyRef, Any
                                                +
                                                + + +
                                                +
                                                +
                                                + Ordering +
                                                  + +
                                                1. Alphabetic
                                                2. +
                                                3. By Inheritance
                                                4. +
                                                +
                                                +
                                                + Inherited
                                                +
                                                +
                                                  +
                                                1. EMClusteringOperator
                                                2. Serializable
                                                3. Serializable
                                                4. AnyRef
                                                5. Any
                                                6. +
                                                +
                                                + +
                                                  +
                                                1. Hide All
                                                2. +
                                                3. Show All
                                                4. +
                                                +
                                                +
                                                + Visibility +
                                                1. Public
                                                2. All
                                                +
                                                +
                                                + +
                                                +
                                                + + + + + + +
                                                +

                                                Value Members

                                                +
                                                1. + + +

                                                  + + final + def + + + !=(arg0: Any): Boolean + +

                                                  + + Permalink + + +
                                                  Definition Classes
                                                  AnyRef → Any
                                                  +
                                                2. + + +

                                                  + + final + def + + + ##(): Int + +

                                                  + + Permalink + + +
                                                  Definition Classes
                                                  AnyRef → Any
                                                  +
                                                3. + + +

                                                  + + final + def + + + ==(arg0: Any): Boolean + +

                                                  + + Permalink + + +
                                                  Definition Classes
                                                  AnyRef → Any
                                                  +
                                                4. + + +

                                                  + + + def + + + apply(o: StreamOperatorInfo): EMClusteringOperator + +

                                                  + + Permalink + + + +
                                                5. + + +

                                                  + + final + def + + + asInstanceOf[T0]: T0 + +

                                                  + + Permalink + + +
                                                  Definition Classes
                                                  Any
                                                  +
                                                6. + + +

                                                  + + + def + + + clone(): AnyRef + +

                                                  + + Permalink + + +
                                                  Attributes
                                                  protected[java.lang]
                                                  Definition Classes
                                                  AnyRef
                                                  Annotations
                                                  + @throws( + + ... + ) + +
                                                  +
                                                7. + + +

                                                  + + final + def + + + eq(arg0: AnyRef): Boolean + +

                                                  + + Permalink + + +
                                                  Definition Classes
                                                  AnyRef
                                                  +
                                                8. + + +

                                                  + + + def + + + equals(arg0: Any): Boolean + +

                                                  + + Permalink + + +
                                                  Definition Classes
                                                  AnyRef → Any
                                                  +
                                                9. + + +

                                                  + + + def + + + finalize(): Unit + +

                                                  + + Permalink + + +
                                                  Attributes
                                                  protected[java.lang]
                                                  Definition Classes
                                                  AnyRef
                                                  Annotations
                                                  + @throws( + + classOf[java.lang.Throwable] + ) + +
                                                  +
                                                10. + + +

                                                  + + final + def + + + getClass(): Class[_] + +

                                                  + + Permalink + + +
                                                  Definition Classes
                                                  AnyRef → Any
                                                  +
                                                11. + + +

                                                  + + + def + + + hashCode(): Int + +

                                                  + + Permalink + + +
                                                  Definition Classes
                                                  AnyRef → Any
                                                  +
                                                12. + + +

                                                  + + final + def + + + isInstanceOf[T0]: Boolean + +

                                                  + + Permalink + + +
                                                  Definition Classes
                                                  Any
                                                  +
                                                13. + + +

                                                  + + final + def + + + ne(arg0: AnyRef): Boolean + +

                                                  + + Permalink + + +
                                                  Definition Classes
                                                  AnyRef
                                                  +
                                                14. + + +

                                                  + + final + def + + + notify(): Unit + +

                                                  + + Permalink + + +
                                                  Definition Classes
                                                  AnyRef
                                                  +
                                                15. + + +

                                                  + + final + def + + + notifyAll(): Unit + +

                                                  + + Permalink + + +
                                                  Definition Classes
                                                  AnyRef
                                                  +
                                                16. + + +

                                                  + + final + def + + + synchronized[T0](arg0: ⇒ T0): T0 + +

                                                  + + Permalink + + +
                                                  Definition Classes
                                                  AnyRef
                                                  +
                                                17. + + +

                                                  + + + def + + + toString(): String + +

                                                  + + Permalink + + +
                                                  Definition Classes
                                                  AnyRef → Any
                                                  +
                                                18. + + +

                                                  + + final + def + + + wait(): Unit + +

                                                  + + Permalink + + +
                                                  Definition Classes
                                                  AnyRef
                                                  Annotations
                                                  + @throws( + + ... + ) + +
                                                  +
                                                19. + + +

                                                  + + final + def + + + wait(arg0: Long, arg1: Int): Unit + +

                                                  + + Permalink + + +
                                                  Definition Classes
                                                  AnyRef
                                                  Annotations
                                                  + @throws( + + ... + ) + +
                                                  +
                                                20. + + +

                                                  + + final + def + + + wait(arg0: Long): Unit + +

                                                  + + Permalink + + +
                                                  Definition Classes
                                                  AnyRef
                                                  Annotations
                                                  + @throws( + + ... + ) + +
                                                  +
                                                +
                                                + + + + +
                                                + +
                                                +
                                                +

                                                Inherited from Serializable

                                                +
                                                +

                                                Inherited from Serializable

                                                +
                                                +

                                                Inherited from AnyRef

                                                +
                                                +

                                                Inherited from Any

                                                +
                                                + +
                                                + +
                                                +
                                                +

                                                Ungrouped

                                                + +
                                                +
                                                + +
                                                + +
                                                + + + + + + diff --git a/manual1903/api_reference/components/scaladocs/ksb/csle/component/operator/cleaning/EMClusteringOperator.html b/manual1903/api_reference/components/scaladocs/ksb/csle/component/operator/cleaning/EMClusteringOperator.html new file mode 100644 index 0000000000000000000000000000000000000000..64b2de9460f2eeb222beb593fa38c387d2c42b4f --- /dev/null +++ b/manual1903/api_reference/components/scaladocs/ksb/csle/component/operator/cleaning/EMClusteringOperator.html @@ -0,0 +1,641 @@ + + + + EMClusteringOperator - KSB COMPONENTS Scala App Project 1.0-SNAPSHOT API - ksb.csle.component.operator.cleaning.EMClusteringOperator + + + + + + + + + + + + + + + + + +

                                                + + + class + + + EMClusteringOperator extends BaseDataOperator[StreamOperatorInfo, DataFrame] with BaseDistanceCalculator + +

                                                + +

                                                :: ApplicationDeveloperApi ::

                                                Operator that performs EM(Expectation–Maximization) Clustering. +It performs two steps iteratively to partition into k clusters. +Expectation step calculates the expected value of the log likelihood +function and maximization step finds the parameter maximizing the expected +log-likelihood. +

                                                + Linear Supertypes +
                                                BaseDistanceCalculator, BaseDataOperator[StreamOperatorInfo, DataFrame], BaseGenericOperator[StreamOperatorInfo, DataFrame], BaseGenericMutantOperator[StreamOperatorInfo, DataFrame, DataFrame], BaseDoer, Logging, Serializable, Serializable, AnyRef, Any
                                                +
                                                + + +
                                                +
                                                +
                                                + Ordering +
                                                  + +
                                                1. Alphabetic
                                                2. +
                                                3. By Inheritance
                                                4. +
                                                +
                                                +
                                                + Inherited
                                                +
                                                +
                                                  +
                                                1. EMClusteringOperator
                                                2. BaseDistanceCalculator
                                                3. BaseDataOperator
                                                4. BaseGenericOperator
                                                5. BaseGenericMutantOperator
                                                6. BaseDoer
                                                7. Logging
                                                8. Serializable
                                                9. Serializable
                                                10. AnyRef
                                                11. Any
                                                12. +
                                                +
                                                + +
                                                  +
                                                1. Hide All
                                                2. +
                                                3. Show All
                                                4. +
                                                +
                                                +
                                                + Visibility +
                                                1. Public
                                                2. All
                                                +
                                                +
                                                + +
                                                +
                                                +
                                                +

                                                Instance Constructors

                                                +
                                                1. + + +

                                                  + + + new + + + EMClusteringOperator(o: StreamOperatorInfo) + +

                                                  + + Permalink + + +

                                                  o

                                                  Object that contains message + ksb.csle.common.proto.StreamOperatorProto.EMClusteringInfo + EMClusteringInfo contains attributes as follows:

                                                  • k_value: Number of clusters to form (required)
                                                  • maxIter: Maximal number of iterations to be performed for one + run (required)

                                                  EMClusteringInfo

                                                  message EMClusteringInfo {
                                                  +required int32 k_value = 3 [default = 2];
                                                  +required int32 maxIter = 4;
                                                  +}
                                                  +
                                                +
                                                + + + + + +
                                                +

                                                Value Members

                                                +
                                                1. + + +

                                                  + + final + def + + + !=(arg0: Any): Boolean + +

                                                  + + Permalink + + +
                                                  Definition Classes
                                                  AnyRef → Any
                                                  +
                                                2. + + +

                                                  + + final + def + + + ##(): Int + +

                                                  + + Permalink + + +
                                                  Definition Classes
                                                  AnyRef → Any
                                                  +
                                                3. + + +

                                                  + + final + def + + + ==(arg0: Any): Boolean + +

                                                  + + Permalink + + +
                                                  Definition Classes
                                                  AnyRef → Any
                                                  +
                                                4. + + +

                                                  + + + def + + + ManhattanDistanceMetric(x: Row, y: Row): Double + +

                                                  + + Permalink + + +
                                                  Definition Classes
                                                  BaseDistanceCalculator
                                                  +
                                                5. + + +

                                                  + + final + def + + + asInstanceOf[T0]: T0 + +

                                                  + + Permalink + + +
                                                  Definition Classes
                                                  Any
                                                  +
                                                6. + + +

                                                  + + + def + + + clone(): AnyRef + +

                                                  + + Permalink + + +
                                                  Attributes
                                                  protected[java.lang]
                                                  Definition Classes
                                                  AnyRef
                                                  Annotations
                                                  + @throws( + + ... + ) + +
                                                  +
                                                7. + + +

                                                  + + final + def + + + eq(arg0: AnyRef): Boolean + +

                                                  + + Permalink + + +
                                                  Definition Classes
                                                  AnyRef
                                                  +
                                                8. + + +

                                                  + + + def + + + equals(arg0: Any): Boolean + +

                                                  + + Permalink + + +
                                                  Definition Classes
                                                  AnyRef → Any
                                                  +
                                                9. + + +

                                                  + + + def + + + finalize(): Unit + +

                                                  + + Permalink + + +
                                                  Attributes
                                                  protected[java.lang]
                                                  Definition Classes
                                                  AnyRef
                                                  Annotations
                                                  + @throws( + + classOf[java.lang.Throwable] + ) + +
                                                  +
                                                10. + + +

                                                  + + final + def + + + getClass(): Class[_] + +

                                                  + + Permalink + + +
                                                  Definition Classes
                                                  AnyRef → Any
                                                  +
                                                11. + + +

                                                  + + + def + + + hashCode(): Int + +

                                                  + + Permalink + + +
                                                  Definition Classes
                                                  AnyRef → Any
                                                  +
                                                12. + + +

                                                  + + final + def + + + isInstanceOf[T0]: Boolean + +

                                                  + + Permalink + + +
                                                  Definition Classes
                                                  Any
                                                  +
                                                13. + + +

                                                  + + + val + + + logger: Logger + +

                                                  + + Permalink + + +
                                                  Attributes
                                                  protected
                                                  Definition Classes
                                                  Logging
                                                  +
                                                14. + + +

                                                  + + final + def + + + ne(arg0: AnyRef): Boolean + +

                                                  + + Permalink + + +
                                                  Definition Classes
                                                  AnyRef
                                                  +
                                                15. + + +

                                                  + + final + def + + + notify(): Unit + +

                                                  + + Permalink + + +
                                                  Definition Classes
                                                  AnyRef
                                                  +
                                                16. + + +

                                                  + + final + def + + + notifyAll(): Unit + +

                                                  + + Permalink + + +
                                                  Definition Classes
                                                  AnyRef
                                                  +
                                                17. + + +

                                                  + + + def + + + operate(df: DataFrame): DataFrame + +

                                                  + + Permalink + + +

                                                  Operates EMClustering.

                                                  Operates EMClustering. +

                                                  df

                                                  Input dataframe

                                                  returns

                                                  DataFrame Output dataframe

                                                  Definition Classes
                                                  EMClusteringOperator → BaseGenericOperator → BaseGenericMutantOperator
                                                  +
                                                18. + + +

                                                  + + + val + + + p: EMClusteringInfo + +

                                                  + + Permalink + + + +
                                                19. + + +

                                                  + + + def + + + stop: Unit + +

                                                  + + Permalink + + +
                                                  Definition Classes
                                                  BaseGenericOperator → BaseGenericMutantOperator
                                                  +
                                                20. + + +

                                                  + + final + def + + + synchronized[T0](arg0: ⇒ T0): T0 + +

                                                  + + Permalink + + +
                                                  Definition Classes
                                                  AnyRef
                                                  +
                                                21. + + +

                                                  + + + def + + + toString(): String + +

                                                  + + Permalink + + +
                                                  Definition Classes
                                                  AnyRef → Any
                                                  +
                                                22. + + +

                                                  + + + def + + + validate(df: DataFrame): Unit + +

                                                  + + Permalink + + +

                                                  Validates EMClustering info and dataframe schema info using following params.

                                                  Validates EMClustering info and dataframe schema info using following params. +

                                                  Annotations
                                                  + @throws( + + classOf[KsbException] + ) + +
                                                  +
                                                23. + + +

                                                  + + final + def + + + wait(): Unit + +

                                                  + + Permalink + + +
                                                  Definition Classes
                                                  AnyRef
                                                  Annotations
                                                  + @throws( + + ... + ) + +
                                                  +
                                                24. + + +

                                                  + + final + def + + + wait(arg0: Long, arg1: Int): Unit + +

                                                  + + Permalink + + +
                                                  Definition Classes
                                                  AnyRef
                                                  Annotations
                                                  + @throws( + + ... + ) + +
                                                  +
                                                25. + + +

                                                  + + final + def + + + wait(arg0: Long): Unit + +

                                                  + + Permalink + + +
                                                  Definition Classes
                                                  AnyRef
                                                  Annotations
                                                  + @throws( + + ... + ) + +
                                                  +
                                                +
                                                + + + + +
                                                + +
                                                +
                                                +

                                                Inherited from BaseDistanceCalculator

                                                +
                                                +

                                                Inherited from BaseDataOperator[StreamOperatorInfo, DataFrame]

                                                +
                                                +

                                                Inherited from BaseGenericOperator[StreamOperatorInfo, DataFrame]

                                                +
                                                +

                                                Inherited from BaseGenericMutantOperator[StreamOperatorInfo, DataFrame, DataFrame]

                                                +
                                                +

                                                Inherited from BaseDoer

                                                +
                                                +

                                                Inherited from Logging

                                                +
                                                +

                                                Inherited from Serializable

                                                +
                                                +

                                                Inherited from Serializable

                                                +
                                                +

                                                Inherited from AnyRef

                                                +
                                                +

                                                Inherited from Any

                                                +
                                                + +
                                                + +
                                                +
                                                +

                                                Ungrouped

                                                + +
                                                +
                                                + +
                                                + +
                                                + + + + + + diff --git a/manual1903/api_reference/components/scaladocs/ksb/csle/component/operator/cleaning/EqualDepthBinningOperator$.html b/manual1903/api_reference/components/scaladocs/ksb/csle/component/operator/cleaning/EqualDepthBinningOperator$.html new file mode 100644 index 0000000000000000000000000000000000000000..739b4be0b36ad43114371932324f5507882d98c9 --- /dev/null +++ b/manual1903/api_reference/components/scaladocs/ksb/csle/component/operator/cleaning/EqualDepthBinningOperator$.html @@ -0,0 +1,505 @@ + + + + EqualDepthBinningOperator - KSB COMPONENTS Scala App Project 1.0-SNAPSHOT API - ksb.csle.component.operator.cleaning.EqualDepthBinningOperator + + + + + + + + + + + + + + + + + +

                                                + + + object + + + EqualDepthBinningOperator extends Serializable + +

                                                + +
                                                + Linear Supertypes +
                                                Serializable, Serializable, AnyRef, Any
                                                +
                                                + + +
                                                +
                                                +
                                                + Ordering +
                                                  + +
                                                1. Alphabetic
                                                2. +
                                                3. By Inheritance
                                                4. +
                                                +
                                                +
                                                + Inherited
                                                +
                                                +
                                                  +
                                                1. EqualDepthBinningOperator
                                                2. Serializable
                                                3. Serializable
                                                4. AnyRef
                                                5. Any
                                                6. +
                                                +
                                                + +
                                                  +
                                                1. Hide All
                                                2. +
                                                3. Show All
                                                4. +
                                                +
                                                +
                                                + Visibility +
                                                1. Public
                                                2. All
                                                +
                                                +
                                                + +
                                                +
                                                + + + + + + +
                                                +

                                                Value Members

                                                +
                                                1. + + +

                                                  + + final + def + + + !=(arg0: Any): Boolean + +

                                                  + + Permalink + + +
                                                  Definition Classes
                                                  AnyRef → Any
                                                  +
                                                2. + + +

                                                  + + final + def + + + ##(): Int + +

                                                  + + Permalink + + +
                                                  Definition Classes
                                                  AnyRef → Any
                                                  +
                                                3. + + +

                                                  + + final + def + + + ==(arg0: Any): Boolean + +

                                                  + + Permalink + + +
                                                  Definition Classes
                                                  AnyRef → Any
                                                  +
                                                4. + + +

                                                  + + + def + + + apply(o: StreamOperatorInfo): EqualDepthBinningOperator + +

                                                  + + Permalink + + + +
                                                5. + + +

                                                  + + final + def + + + asInstanceOf[T0]: T0 + +

                                                  + + Permalink + + +
                                                  Definition Classes
                                                  Any
                                                  +
                                                6. + + +

                                                  + + + def + + + clone(): AnyRef + +

                                                  + + Permalink + + +
                                                  Attributes
                                                  protected[java.lang]
                                                  Definition Classes
                                                  AnyRef
                                                  Annotations
                                                  + @throws( + + ... + ) + +
                                                  +
                                                7. + + +

                                                  + + final + def + + + eq(arg0: AnyRef): Boolean + +

                                                  + + Permalink + + +
                                                  Definition Classes
                                                  AnyRef
                                                  +
                                                8. + + +

                                                  + + + def + + + equals(arg0: Any): Boolean + +

                                                  + + Permalink + + +
                                                  Definition Classes
                                                  AnyRef → Any
                                                  +
                                                9. + + +

                                                  + + + def + + + finalize(): Unit + +

                                                  + + Permalink + + +
                                                  Attributes
                                                  protected[java.lang]
                                                  Definition Classes
                                                  AnyRef
                                                  Annotations
                                                  + @throws( + + classOf[java.lang.Throwable] + ) + +
                                                  +
                                                10. + + +

                                                  + + final + def + + + getClass(): Class[_] + +

                                                  + + Permalink + + +
                                                  Definition Classes
                                                  AnyRef → Any
                                                  +
                                                11. + + +

                                                  + + + def + + + hashCode(): Int + +

                                                  + + Permalink + + +
                                                  Definition Classes
                                                  AnyRef → Any
                                                  +
                                                12. + + +

                                                  + + final + def + + + isInstanceOf[T0]: Boolean + +

                                                  + + Permalink + + +
                                                  Definition Classes
                                                  Any
                                                  +
                                                13. + + +

                                                  + + final + def + + + ne(arg0: AnyRef): Boolean + +

                                                  + + Permalink + + +
                                                  Definition Classes
                                                  AnyRef
                                                  +
                                                14. + + +

                                                  + + final + def + + + notify(): Unit + +

                                                  + + Permalink + + +
                                                  Definition Classes
                                                  AnyRef
                                                  +
                                                15. + + +

                                                  + + final + def + + + notifyAll(): Unit + +

                                                  + + Permalink + + +
                                                  Definition Classes
                                                  AnyRef
                                                  +
                                                16. + + +

                                                  + + final + def + + + synchronized[T0](arg0: ⇒ T0): T0 + +

                                                  + + Permalink + + +
                                                  Definition Classes
                                                  AnyRef
                                                  +
                                                17. + + +

                                                  + + + def + + + toString(): String + +

                                                  + + Permalink + + +
                                                  Definition Classes
                                                  AnyRef → Any
                                                  +
                                                18. + + +

                                                  + + final + def + + + wait(): Unit + +

                                                  + + Permalink + + +
                                                  Definition Classes
                                                  AnyRef
                                                  Annotations
                                                  + @throws( + + ... + ) + +
                                                  +
                                                19. + + +

                                                  + + final + def + + + wait(arg0: Long, arg1: Int): Unit + +

                                                  + + Permalink + + +
                                                  Definition Classes
                                                  AnyRef
                                                  Annotations
                                                  + @throws( + + ... + ) + +
                                                  +
                                                20. + + +

                                                  + + final + def + + + wait(arg0: Long): Unit + +

                                                  + + Permalink + + +
                                                  Definition Classes
                                                  AnyRef
                                                  Annotations
                                                  + @throws( + + ... + ) + +
                                                  +
                                                +
                                                + + + + +
                                                + +
                                                +
                                                +

                                                Inherited from Serializable

                                                +
                                                +

                                                Inherited from Serializable

                                                +
                                                +

                                                Inherited from AnyRef

                                                +
                                                +

                                                Inherited from Any

                                                +
                                                + +
                                                + +
                                                +
                                                +

                                                Ungrouped

                                                + +
                                                +
                                                + +
                                                + +
                                                + + + + + + diff --git a/manual1903/api_reference/components/scaladocs/ksb/csle/component/operator/cleaning/EqualDepthBinningOperator.html b/manual1903/api_reference/components/scaladocs/ksb/csle/component/operator/cleaning/EqualDepthBinningOperator.html new file mode 100644 index 0000000000000000000000000000000000000000..70f7e7e9396961d1edecc20077412391897a8b11 --- /dev/null +++ b/manual1903/api_reference/components/scaladocs/ksb/csle/component/operator/cleaning/EqualDepthBinningOperator.html @@ -0,0 +1,624 @@ + + + + EqualDepthBinningOperator - KSB COMPONENTS Scala App Project 1.0-SNAPSHOT API - ksb.csle.component.operator.cleaning.EqualDepthBinningOperator + + + + + + + + + + + + + + + + + +

                                                + + + class + + + EqualDepthBinningOperator extends BaseDataOperator[StreamOperatorInfo, DataFrame] + +

                                                + +

                                                :: ApplicationDeveloperApi ::

                                                Operator that makes equal-depth-binning. +It divides the range into N intervals, each containing approximately same +number of samples. +

                                                + Linear Supertypes +
                                                BaseDataOperator[StreamOperatorInfo, DataFrame], BaseGenericOperator[StreamOperatorInfo, DataFrame], BaseGenericMutantOperator[StreamOperatorInfo, DataFrame, DataFrame], BaseDoer, Logging, Serializable, Serializable, AnyRef, Any
                                                +
                                                + + +
                                                +
                                                +
                                                + Ordering +
                                                  + +
                                                1. Alphabetic
                                                2. +
                                                3. By Inheritance
                                                4. +
                                                +
                                                +
                                                + Inherited
                                                +
                                                +
                                                  +
                                                1. EqualDepthBinningOperator
                                                2. BaseDataOperator
                                                3. BaseGenericOperator
                                                4. BaseGenericMutantOperator
                                                5. BaseDoer
                                                6. Logging
                                                7. Serializable
                                                8. Serializable
                                                9. AnyRef
                                                10. Any
                                                11. +
                                                +
                                                + +
                                                  +
                                                1. Hide All
                                                2. +
                                                3. Show All
                                                4. +
                                                +
                                                +
                                                + Visibility +
                                                1. Public
                                                2. All
                                                +
                                                +
                                                + +
                                                +
                                                +
                                                +

                                                Instance Constructors

                                                +
                                                1. + + +

                                                  + + + new + + + EqualDepthBinningOperator(o: StreamOperatorInfo) + +

                                                  + + Permalink + + +

                                                  o

                                                  Object that contains message + ksb.csle.common.proto.StreamOperatorProto.EqualDepthBinningInfo + EqualDepthBinningInfo contains attributes as follows:

                                                  • selectedColumnId: Column ids to be divided by equal-depth-binnig (repeated)
                                                  • numberOfBins: Number of bins (required)
                                                  • outputType: Type of output. Enum(NEW_COLUMN, VALUE_CHANGE), (required)

                                                  EqualDepthBinningInfo

                                                  message EqualDepthBinningInfo {
                                                  +repeated int32 selectedColumnId = 3;
                                                  +required int32 numberOfBins = 4;
                                                  +required OutputType outputType = 5 [default = NEW_COLUMN];
                                                  +enum OutputType {
                                                  +     NEW_COLUMN = 0;
                                                  +     VALUE_CHANGE = 1;
                                                  +}
                                                  +}
                                                  +
                                                +
                                                + + + + + +
                                                +

                                                Value Members

                                                +
                                                1. + + +

                                                  + + final + def + + + !=(arg0: Any): Boolean + +

                                                  + + Permalink + + +
                                                  Definition Classes
                                                  AnyRef → Any
                                                  +
                                                2. + + +

                                                  + + final + def + + + ##(): Int + +

                                                  + + Permalink + + +
                                                  Definition Classes
                                                  AnyRef → Any
                                                  +
                                                3. + + +

                                                  + + final + def + + + ==(arg0: Any): Boolean + +

                                                  + + Permalink + + +
                                                  Definition Classes
                                                  AnyRef → Any
                                                  +
                                                4. + + +

                                                  + + final + def + + + asInstanceOf[T0]: T0 + +

                                                  + + Permalink + + +
                                                  Definition Classes
                                                  Any
                                                  +
                                                5. + + +

                                                  + + + def + + + clone(): AnyRef + +

                                                  + + Permalink + + +
                                                  Attributes
                                                  protected[java.lang]
                                                  Definition Classes
                                                  AnyRef
                                                  Annotations
                                                  + @throws( + + ... + ) + +
                                                  +
                                                6. + + +

                                                  + + final + def + + + eq(arg0: AnyRef): Boolean + +

                                                  + + Permalink + + +
                                                  Definition Classes
                                                  AnyRef
                                                  +
                                                7. + + +

                                                  + + + def + + + equals(arg0: Any): Boolean + +

                                                  + + Permalink + + +
                                                  Definition Classes
                                                  AnyRef → Any
                                                  +
                                                8. + + +

                                                  + + + def + + + finalize(): Unit + +

                                                  + + Permalink + + +
                                                  Attributes
                                                  protected[java.lang]
                                                  Definition Classes
                                                  AnyRef
                                                  Annotations
                                                  + @throws( + + classOf[java.lang.Throwable] + ) + +
                                                  +
                                                9. + + +

                                                  + + final + def + + + getClass(): Class[_] + +

                                                  + + Permalink + + +
                                                  Definition Classes
                                                  AnyRef → Any
                                                  +
                                                10. + + +

                                                  + + + def + + + hashCode(): Int + +

                                                  + + Permalink + + +
                                                  Definition Classes
                                                  AnyRef → Any
                                                  +
                                                11. + + +

                                                  + + final + def + + + isInstanceOf[T0]: Boolean + +

                                                  + + Permalink + + +
                                                  Definition Classes
                                                  Any
                                                  +
                                                12. + + +

                                                  + + + val + + + logger: Logger + +

                                                  + + Permalink + + +
                                                  Attributes
                                                  protected
                                                  Definition Classes
                                                  Logging
                                                  +
                                                13. + + +

                                                  + + final + def + + + ne(arg0: AnyRef): Boolean + +

                                                  + + Permalink + + +
                                                  Definition Classes
                                                  AnyRef
                                                  +
                                                14. + + +

                                                  + + final + def + + + notify(): Unit + +

                                                  + + Permalink + + +
                                                  Definition Classes
                                                  AnyRef
                                                  +
                                                15. + + +

                                                  + + final + def + + + notifyAll(): Unit + +

                                                  + + Permalink + + +
                                                  Definition Classes
                                                  AnyRef
                                                  +
                                                16. + + +

                                                  + + + def + + + operate(df: DataFrame): DataFrame + +

                                                  + + Permalink + + +

                                                  Operates EqualDepthBinning.

                                                  Operates EqualDepthBinning. +

                                                  df

                                                  Input dataframe

                                                  returns

                                                  DataFrame Output dataframe

                                                  Definition Classes
                                                  EqualDepthBinningOperator → BaseGenericOperator → BaseGenericMutantOperator
                                                  +
                                                17. + + +

                                                  + + + val + + + p: EqualDepthBinningInfo + +

                                                  + + Permalink + + + +
                                                18. + + +

                                                  + + + def + + + stop: Unit + +

                                                  + + Permalink + + +
                                                  Definition Classes
                                                  BaseGenericOperator → BaseGenericMutantOperator
                                                  +
                                                19. + + +

                                                  + + final + def + + + synchronized[T0](arg0: ⇒ T0): T0 + +

                                                  + + Permalink + + +
                                                  Definition Classes
                                                  AnyRef
                                                  +
                                                20. + + +

                                                  + + + def + + + toString(): String + +

                                                  + + Permalink + + +
                                                  Definition Classes
                                                  AnyRef → Any
                                                  +
                                                21. + + +

                                                  + + + def + + + validate(df: DataFrame): DataFrame + +

                                                  + + Permalink + + +

                                                  Validates equalDepthBinning info and dataframe schema info using following params.

                                                  Validates equalDepthBinning info and dataframe schema info using following params. +

                                                  Annotations
                                                  + @throws( + + classOf[KsbException] + ) + +
                                                  +
                                                22. + + +

                                                  + + final + def + + + wait(): Unit + +

                                                  + + Permalink + + +
                                                  Definition Classes
                                                  AnyRef
                                                  Annotations
                                                  + @throws( + + ... + ) + +
                                                  +
                                                23. + + +

                                                  + + final + def + + + wait(arg0: Long, arg1: Int): Unit + +

                                                  + + Permalink + + +
                                                  Definition Classes
                                                  AnyRef
                                                  Annotations
                                                  + @throws( + + ... + ) + +
                                                  +
                                                24. + + +

                                                  + + final + def + + + wait(arg0: Long): Unit + +

                                                  + + Permalink + + +
                                                  Definition Classes
                                                  AnyRef
                                                  Annotations
                                                  + @throws( + + ... + ) + +
                                                  +
                                                +
                                                + + + + +
                                                + +
                                                +
                                                +

                                                Inherited from BaseDataOperator[StreamOperatorInfo, DataFrame]

                                                +
                                                +

                                                Inherited from BaseGenericOperator[StreamOperatorInfo, DataFrame]

                                                +
                                                +

                                                Inherited from BaseGenericMutantOperator[StreamOperatorInfo, DataFrame, DataFrame]

                                                +
                                                +

                                                Inherited from BaseDoer

                                                +
                                                +

                                                Inherited from Logging

                                                +
                                                +

                                                Inherited from Serializable

                                                +
                                                +

                                                Inherited from Serializable

                                                +
                                                +

                                                Inherited from AnyRef

                                                +
                                                +

                                                Inherited from Any

                                                +
                                                + +
                                                + +
                                                +
                                                +

                                                Ungrouped

                                                + +
                                                +
                                                + +
                                                + +
                                                + + + + + + diff --git a/manual1903/api_reference/components/scaladocs/ksb/csle/component/operator/cleaning/EqualWidthBinningOperator$.html b/manual1903/api_reference/components/scaladocs/ksb/csle/component/operator/cleaning/EqualWidthBinningOperator$.html new file mode 100644 index 0000000000000000000000000000000000000000..1c624d9329a2d45085332cb2cc432e49c7d1fe1e --- /dev/null +++ b/manual1903/api_reference/components/scaladocs/ksb/csle/component/operator/cleaning/EqualWidthBinningOperator$.html @@ -0,0 +1,505 @@ + + + + EqualWidthBinningOperator - KSB COMPONENTS Scala App Project 1.0-SNAPSHOT API - ksb.csle.component.operator.cleaning.EqualWidthBinningOperator + + + + + + + + + + + + + + + + + +

                                                + + + object + + + EqualWidthBinningOperator extends Serializable + +

                                                + +
                                                + Linear Supertypes +
                                                Serializable, Serializable, AnyRef, Any
                                                +
                                                + + +
                                                +
                                                +
                                                + Ordering +
                                                  + +
                                                1. Alphabetic
                                                2. +
                                                3. By Inheritance
                                                4. +
                                                +
                                                +
                                                + Inherited
                                                +
                                                +
                                                  +
                                                1. EqualWidthBinningOperator
                                                2. Serializable
                                                3. Serializable
                                                4. AnyRef
                                                5. Any
                                                6. +
                                                +
                                                + +
                                                  +
                                                1. Hide All
                                                2. +
                                                3. Show All
                                                4. +
                                                +
                                                +
                                                + Visibility +
                                                1. Public
                                                2. All
                                                +
                                                +
                                                + +
                                                +
                                                + + + + + + +
                                                +

                                                Value Members

                                                +
                                                1. + + +

                                                  + + final + def + + + !=(arg0: Any): Boolean + +

                                                  + + Permalink + + +
                                                  Definition Classes
                                                  AnyRef → Any
                                                  +
                                                2. + + +

                                                  + + final + def + + + ##(): Int + +

                                                  + + Permalink + + +
                                                  Definition Classes
                                                  AnyRef → Any
                                                  +
                                                3. + + +

                                                  + + final + def + + + ==(arg0: Any): Boolean + +

                                                  + + Permalink + + +
                                                  Definition Classes
                                                  AnyRef → Any
                                                  +
                                                4. + + +

                                                  + + + def + + + apply(o: StreamOperatorInfo): EqualWidthBinningOperator + +

                                                  + + Permalink + + + +
                                                5. + + +

                                                  + + final + def + + + asInstanceOf[T0]: T0 + +

                                                  + + Permalink + + +
                                                  Definition Classes
                                                  Any
                                                  +
                                                6. + + +

                                                  + + + def + + + clone(): AnyRef + +

                                                  + + Permalink + + +
                                                  Attributes
                                                  protected[java.lang]
                                                  Definition Classes
                                                  AnyRef
                                                  Annotations
                                                  + @throws( + + ... + ) + +
                                                  +
                                                7. + + +

                                                  + + final + def + + + eq(arg0: AnyRef): Boolean + +

                                                  + + Permalink + + +
                                                  Definition Classes
                                                  AnyRef
                                                  +
                                                8. + + +

                                                  + + + def + + + equals(arg0: Any): Boolean + +

                                                  + + Permalink + + +
                                                  Definition Classes
                                                  AnyRef → Any
                                                  +
                                                9. + + +

                                                  + + + def + + + finalize(): Unit + +

                                                  + + Permalink + + +
                                                  Attributes
                                                  protected[java.lang]
                                                  Definition Classes
                                                  AnyRef
                                                  Annotations
                                                  + @throws( + + classOf[java.lang.Throwable] + ) + +
                                                  +
                                                10. + + +

                                                  + + final + def + + + getClass(): Class[_] + +

                                                  + + Permalink + + +
                                                  Definition Classes
                                                  AnyRef → Any
                                                  +
                                                11. + + +

                                                  + + + def + + + hashCode(): Int + +

                                                  + + Permalink + + +
                                                  Definition Classes
                                                  AnyRef → Any
                                                  +
                                                12. + + +

                                                  + + final + def + + + isInstanceOf[T0]: Boolean + +

                                                  + + Permalink + + +
                                                  Definition Classes
                                                  Any
                                                  +
                                                13. + + +

                                                  + + final + def + + + ne(arg0: AnyRef): Boolean + +

                                                  + + Permalink + + +
                                                  Definition Classes
                                                  AnyRef
                                                  +
                                                14. + + +

                                                  + + final + def + + + notify(): Unit + +

                                                  + + Permalink + + +
                                                  Definition Classes
                                                  AnyRef
                                                  +
                                                15. + + +

                                                  + + final + def + + + notifyAll(): Unit + +

                                                  + + Permalink + + +
                                                  Definition Classes
                                                  AnyRef
                                                  +
                                                16. + + +

                                                  + + final + def + + + synchronized[T0](arg0: ⇒ T0): T0 + +

                                                  + + Permalink + + +
                                                  Definition Classes
                                                  AnyRef
                                                  +
                                                17. + + +

                                                  + + + def + + + toString(): String + +

                                                  + + Permalink + + +
                                                  Definition Classes
                                                  AnyRef → Any
                                                  +
                                                18. + + +

                                                  + + final + def + + + wait(): Unit + +

                                                  + + Permalink + + +
                                                  Definition Classes
                                                  AnyRef
                                                  Annotations
                                                  + @throws( + + ... + ) + +
                                                  +
                                                19. + + +

                                                  + + final + def + + + wait(arg0: Long, arg1: Int): Unit + +

                                                  + + Permalink + + +
                                                  Definition Classes
                                                  AnyRef
                                                  Annotations
                                                  + @throws( + + ... + ) + +
                                                  +
                                                20. + + +

                                                  + + final + def + + + wait(arg0: Long): Unit + +

                                                  + + Permalink + + +
                                                  Definition Classes
                                                  AnyRef
                                                  Annotations
                                                  + @throws( + + ... + ) + +
                                                  +
                                                +
                                                + + + + +
                                                + +
                                                +
                                                +

                                                Inherited from Serializable

                                                +
                                                +

                                                Inherited from Serializable

                                                +
                                                +

                                                Inherited from AnyRef

                                                +
                                                +

                                                Inherited from Any

                                                +
                                                + +
                                                + +
                                                +
                                                +

                                                Ungrouped

                                                + +
                                                +
                                                + +
                                                + +
                                                + + + + + + diff --git a/manual1903/api_reference/components/scaladocs/ksb/csle/component/operator/cleaning/EqualWidthBinningOperator.html b/manual1903/api_reference/components/scaladocs/ksb/csle/component/operator/cleaning/EqualWidthBinningOperator.html new file mode 100644 index 0000000000000000000000000000000000000000..ac088ac53c2b2adb2e9e8d87dcd2f30b10406987 --- /dev/null +++ b/manual1903/api_reference/components/scaladocs/ksb/csle/component/operator/cleaning/EqualWidthBinningOperator.html @@ -0,0 +1,623 @@ + + + + EqualWidthBinningOperator - KSB COMPONENTS Scala App Project 1.0-SNAPSHOT API - ksb.csle.component.operator.cleaning.EqualWidthBinningOperator + + + + + + + + + + + + + + + + + +

                                                + + + class + + + EqualWidthBinningOperator extends BaseDataOperator[StreamOperatorInfo, DataFrame] + +

                                                + +

                                                :: ApplicationDeveloperApi ::

                                                Operator that makes equal-width-binning. +It divides the range into N intervals of equal size(uniform grid). +

                                                + Linear Supertypes +
                                                BaseDataOperator[StreamOperatorInfo, DataFrame], BaseGenericOperator[StreamOperatorInfo, DataFrame], BaseGenericMutantOperator[StreamOperatorInfo, DataFrame, DataFrame], BaseDoer, Logging, Serializable, Serializable, AnyRef, Any
                                                +
                                                + + +
                                                +
                                                +
                                                + Ordering +
                                                  + +
                                                1. Alphabetic
                                                2. +
                                                3. By Inheritance
                                                4. +
                                                +
                                                +
                                                + Inherited
                                                +
                                                +
                                                  +
                                                1. EqualWidthBinningOperator
                                                2. BaseDataOperator
                                                3. BaseGenericOperator
                                                4. BaseGenericMutantOperator
                                                5. BaseDoer
                                                6. Logging
                                                7. Serializable
                                                8. Serializable
                                                9. AnyRef
                                                10. Any
                                                11. +
                                                +
                                                + +
                                                  +
                                                1. Hide All
                                                2. +
                                                3. Show All
                                                4. +
                                                +
                                                +
                                                + Visibility +
                                                1. Public
                                                2. All
                                                +
                                                +
                                                + +
                                                +
                                                +
                                                +

                                                Instance Constructors

                                                +
                                                1. + + +

                                                  + + + new + + + EqualWidthBinningOperator(o: StreamOperatorInfo) + +

                                                  + + Permalink + + +

                                                  o

                                                  Object that contains message + ksb.csle.common.proto.StreamOperatorProto.EqualWidthBinningInfo + EqualWidthBinningInfo contains attributes as follows:

                                                  • selectedColumnId: Column ids to be divided by equal-width-binnig. (repeated)
                                                  • numberOfBins: Number of bins (required)
                                                  • outputType: Type of output. Enum(NEW_COLUMN, VALUE_CHANGE), (optional)

                                                  EqualWidthBinningInfo

                                                  message EqualWidthBinningInfo {
                                                  +repeated int32 selectedColumnId = 3;
                                                  +required int32 numberOfBins = 4;
                                                  +optional OutputType outputType = 5 [default = NEW_COLUMN];
                                                  +enum OutputType {
                                                  +     NEW_COLUMN = 0;
                                                  +     VALUE_CHANGE = 1;
                                                  +}
                                                  +}
                                                  +
                                                +
                                                + + + + + +
                                                +

                                                Value Members

                                                +
                                                1. + + +

                                                  + + final + def + + + !=(arg0: Any): Boolean + +

                                                  + + Permalink + + +
                                                  Definition Classes
                                                  AnyRef → Any
                                                  +
                                                2. + + +

                                                  + + final + def + + + ##(): Int + +

                                                  + + Permalink + + +
                                                  Definition Classes
                                                  AnyRef → Any
                                                  +
                                                3. + + +

                                                  + + final + def + + + ==(arg0: Any): Boolean + +

                                                  + + Permalink + + +
                                                  Definition Classes
                                                  AnyRef → Any
                                                  +
                                                4. + + +

                                                  + + final + def + + + asInstanceOf[T0]: T0 + +

                                                  + + Permalink + + +
                                                  Definition Classes
                                                  Any
                                                  +
                                                5. + + +

                                                  + + + def + + + clone(): AnyRef + +

                                                  + + Permalink + + +
                                                  Attributes
                                                  protected[java.lang]
                                                  Definition Classes
                                                  AnyRef
                                                  Annotations
                                                  + @throws( + + ... + ) + +
                                                  +
                                                6. + + +

                                                  + + final + def + + + eq(arg0: AnyRef): Boolean + +

                                                  + + Permalink + + +
                                                  Definition Classes
                                                  AnyRef
                                                  +
                                                7. + + +

                                                  + + + def + + + equals(arg0: Any): Boolean + +

                                                  + + Permalink + + +
                                                  Definition Classes
                                                  AnyRef → Any
                                                  +
                                                8. + + +

                                                  + + + def + + + finalize(): Unit + +

                                                  + + Permalink + + +
                                                  Attributes
                                                  protected[java.lang]
                                                  Definition Classes
                                                  AnyRef
                                                  Annotations
                                                  + @throws( + + classOf[java.lang.Throwable] + ) + +
                                                  +
                                                9. + + +

                                                  + + final + def + + + getClass(): Class[_] + +

                                                  + + Permalink + + +
                                                  Definition Classes
                                                  AnyRef → Any
                                                  +
                                                10. + + +

                                                  + + + def + + + hashCode(): Int + +

                                                  + + Permalink + + +
                                                  Definition Classes
                                                  AnyRef → Any
                                                  +
                                                11. + + +

                                                  + + final + def + + + isInstanceOf[T0]: Boolean + +

                                                  + + Permalink + + +
                                                  Definition Classes
                                                  Any
                                                  +
                                                12. + + +

                                                  + + + val + + + logger: Logger + +

                                                  + + Permalink + + +
                                                  Attributes
                                                  protected
                                                  Definition Classes
                                                  Logging
                                                  +
                                                13. + + +

                                                  + + final + def + + + ne(arg0: AnyRef): Boolean + +

                                                  + + Permalink + + +
                                                  Definition Classes
                                                  AnyRef
                                                  +
                                                14. + + +

                                                  + + final + def + + + notify(): Unit + +

                                                  + + Permalink + + +
                                                  Definition Classes
                                                  AnyRef
                                                  +
                                                15. + + +

                                                  + + final + def + + + notifyAll(): Unit + +

                                                  + + Permalink + + +
                                                  Definition Classes
                                                  AnyRef
                                                  +
                                                16. + + +

                                                  + + + def + + + operate(df: DataFrame): DataFrame + +

                                                  + + Permalink + + +

                                                  Operates equalWidthBinning.

                                                  Operates equalWidthBinning. +

                                                  df

                                                  Input dataframe

                                                  returns

                                                  DataFrame Output dataframe

                                                  Definition Classes
                                                  EqualWidthBinningOperator → BaseGenericOperator → BaseGenericMutantOperator
                                                  +
                                                17. + + +

                                                  + + + val + + + p: EqualWidthBinningInfo + +

                                                  + + Permalink + + + +
                                                18. + + +

                                                  + + + def + + + stop: Unit + +

                                                  + + Permalink + + +
                                                  Definition Classes
                                                  BaseGenericOperator → BaseGenericMutantOperator
                                                  +
                                                19. + + +

                                                  + + final + def + + + synchronized[T0](arg0: ⇒ T0): T0 + +

                                                  + + Permalink + + +
                                                  Definition Classes
                                                  AnyRef
                                                  +
                                                20. + + +

                                                  + + + def + + + toString(): String + +

                                                  + + Permalink + + +
                                                  Definition Classes
                                                  AnyRef → Any
                                                  +
                                                21. + + +

                                                  + + + def + + + validate(df: DataFrame): DataFrame + +

                                                  + + Permalink + + +

                                                  Validates equalWidthBinning info and dataframe schema info using following params.

                                                  Validates equalWidthBinning info and dataframe schema info using following params. +

                                                  Annotations
                                                  + @throws( + + classOf[KsbException] + ) + +
                                                  +
                                                22. + + +

                                                  + + final + def + + + wait(): Unit + +

                                                  + + Permalink + + +
                                                  Definition Classes
                                                  AnyRef
                                                  Annotations
                                                  + @throws( + + ... + ) + +
                                                  +
                                                23. + + +

                                                  + + final + def + + + wait(arg0: Long, arg1: Int): Unit + +

                                                  + + Permalink + + +
                                                  Definition Classes
                                                  AnyRef
                                                  Annotations
                                                  + @throws( + + ... + ) + +
                                                  +
                                                24. + + +

                                                  + + final + def + + + wait(arg0: Long): Unit + +

                                                  + + Permalink + + +
                                                  Definition Classes
                                                  AnyRef
                                                  Annotations
                                                  + @throws( + + ... + ) + +
                                                  +
                                                +
                                                + + + + +
                                                + +
                                                +
                                                +

                                                Inherited from BaseDataOperator[StreamOperatorInfo, DataFrame]

                                                +
                                                +

                                                Inherited from BaseGenericOperator[StreamOperatorInfo, DataFrame]

                                                +
                                                +

                                                Inherited from BaseGenericMutantOperator[StreamOperatorInfo, DataFrame, DataFrame]

                                                +
                                                +

                                                Inherited from BaseDoer

                                                +
                                                +

                                                Inherited from Logging

                                                +
                                                +

                                                Inherited from Serializable

                                                +
                                                +

                                                Inherited from Serializable

                                                +
                                                +

                                                Inherited from AnyRef

                                                +
                                                +

                                                Inherited from Any

                                                +
                                                + +
                                                + +
                                                +
                                                +

                                                Ungrouped

                                                + +
                                                +
                                                + +
                                                + +
                                                + + + + + + diff --git a/manual1903/api_reference/components/scaladocs/ksb/csle/component/operator/cleaning/GeneralizedLinearRegressionOperator$.html b/manual1903/api_reference/components/scaladocs/ksb/csle/component/operator/cleaning/GeneralizedLinearRegressionOperator$.html new file mode 100644 index 0000000000000000000000000000000000000000..e72d75544b26a99e908d64c6252ff288670f5ba3 --- /dev/null +++ b/manual1903/api_reference/components/scaladocs/ksb/csle/component/operator/cleaning/GeneralizedLinearRegressionOperator$.html @@ -0,0 +1,505 @@ + + + + GeneralizedLinearRegressionOperator - KSB COMPONENTS Scala App Project 1.0-SNAPSHOT API - ksb.csle.component.operator.cleaning.GeneralizedLinearRegressionOperator + + + + + + + + + + + + + + + + + +

                                                + + + object + + + GeneralizedLinearRegressionOperator extends Serializable + +

                                                + +
                                                + Linear Supertypes +
                                                Serializable, Serializable, AnyRef, Any
                                                +
                                                + + +
                                                +
                                                +
                                                + Ordering +
                                                  + +
                                                1. Alphabetic
                                                2. +
                                                3. By Inheritance
                                                4. +
                                                +
                                                +
                                                + Inherited
                                                +
                                                +
                                                  +
                                                1. GeneralizedLinearRegressionOperator
                                                2. Serializable
                                                3. Serializable
                                                4. AnyRef
                                                5. Any
                                                6. +
                                                +
                                                + +
                                                  +
                                                1. Hide All
                                                2. +
                                                3. Show All
                                                4. +
                                                +
                                                +
                                                + Visibility +
                                                1. Public
                                                2. All
                                                +
                                                +
                                                + +
                                                +
                                                + + + + + + +
                                                +

                                                Value Members

                                                +
                                                1. + + +

                                                  + + final + def + + + !=(arg0: Any): Boolean + +

                                                  + + Permalink + + +
                                                  Definition Classes
                                                  AnyRef → Any
                                                  +
                                                2. + + +

                                                  + + final + def + + + ##(): Int + +

                                                  + + Permalink + + +
                                                  Definition Classes
                                                  AnyRef → Any
                                                  +
                                                3. + + +

                                                  + + final + def + + + ==(arg0: Any): Boolean + +

                                                  + + Permalink + + +
                                                  Definition Classes
                                                  AnyRef → Any
                                                  +
                                                4. + + +

                                                  + + + def + + + apply(o: StreamOperatorInfo): GeneralizedLinearRegressionOperator + +

                                                  + + Permalink + + + +
                                                5. + + +

                                                  + + final + def + + + asInstanceOf[T0]: T0 + +

                                                  + + Permalink + + +
                                                  Definition Classes
                                                  Any
                                                  +
                                                6. + + +

                                                  + + + def + + + clone(): AnyRef + +

                                                  + + Permalink + + +
                                                  Attributes
                                                  protected[java.lang]
                                                  Definition Classes
                                                  AnyRef
                                                  Annotations
                                                  + @throws( + + ... + ) + +
                                                  +
                                                7. + + +

                                                  + + final + def + + + eq(arg0: AnyRef): Boolean + +

                                                  + + Permalink + + +
                                                  Definition Classes
                                                  AnyRef
                                                  +
                                                8. + + +

                                                  + + + def + + + equals(arg0: Any): Boolean + +

                                                  + + Permalink + + +
                                                  Definition Classes
                                                  AnyRef → Any
                                                  +
                                                9. + + +

                                                  + + + def + + + finalize(): Unit + +

                                                  + + Permalink + + +
                                                  Attributes
                                                  protected[java.lang]
                                                  Definition Classes
                                                  AnyRef
                                                  Annotations
                                                  + @throws( + + classOf[java.lang.Throwable] + ) + +
                                                  +
                                                10. + + +

                                                  + + final + def + + + getClass(): Class[_] + +

                                                  + + Permalink + + +
                                                  Definition Classes
                                                  AnyRef → Any
                                                  +
                                                11. + + +

                                                  + + + def + + + hashCode(): Int + +

                                                  + + Permalink + + +
                                                  Definition Classes
                                                  AnyRef → Any
                                                  +
                                                12. + + +

                                                  + + final + def + + + isInstanceOf[T0]: Boolean + +

                                                  + + Permalink + + +
                                                  Definition Classes
                                                  Any
                                                  +
                                                13. + + +

                                                  + + final + def + + + ne(arg0: AnyRef): Boolean + +

                                                  + + Permalink + + +
                                                  Definition Classes
                                                  AnyRef
                                                  +
                                                14. + + +

                                                  + + final + def + + + notify(): Unit + +

                                                  + + Permalink + + +
                                                  Definition Classes
                                                  AnyRef
                                                  +
                                                15. + + +

                                                  + + final + def + + + notifyAll(): Unit + +

                                                  + + Permalink + + +
                                                  Definition Classes
                                                  AnyRef
                                                  +
                                                16. + + +

                                                  + + final + def + + + synchronized[T0](arg0: ⇒ T0): T0 + +

                                                  + + Permalink + + +
                                                  Definition Classes
                                                  AnyRef
                                                  +
                                                17. + + +

                                                  + + + def + + + toString(): String + +

                                                  + + Permalink + + +
                                                  Definition Classes
                                                  AnyRef → Any
                                                  +
                                                18. + + +

                                                  + + final + def + + + wait(): Unit + +

                                                  + + Permalink + + +
                                                  Definition Classes
                                                  AnyRef
                                                  Annotations
                                                  + @throws( + + ... + ) + +
                                                  +
                                                19. + + +

                                                  + + final + def + + + wait(arg0: Long, arg1: Int): Unit + +

                                                  + + Permalink + + +
                                                  Definition Classes
                                                  AnyRef
                                                  Annotations
                                                  + @throws( + + ... + ) + +
                                                  +
                                                20. + + +

                                                  + + final + def + + + wait(arg0: Long): Unit + +

                                                  + + Permalink + + +
                                                  Definition Classes
                                                  AnyRef
                                                  Annotations
                                                  + @throws( + + ... + ) + +
                                                  +
                                                +
                                                + + + + +
                                                + +
                                                +
                                                +

                                                Inherited from Serializable

                                                +
                                                +

                                                Inherited from Serializable

                                                +
                                                +

                                                Inherited from AnyRef

                                                +
                                                +

                                                Inherited from Any

                                                +
                                                + +
                                                + +
                                                +
                                                +

                                                Ungrouped

                                                + +
                                                +
                                                + +
                                                + +
                                                + + + + + + diff --git a/manual1903/api_reference/components/scaladocs/ksb/csle/component/operator/cleaning/GeneralizedLinearRegressionOperator.html b/manual1903/api_reference/components/scaladocs/ksb/csle/component/operator/cleaning/GeneralizedLinearRegressionOperator.html new file mode 100644 index 0000000000000000000000000000000000000000..027b417a357c21c7eb0458947ddd73d9eccddfe3 --- /dev/null +++ b/manual1903/api_reference/components/scaladocs/ksb/csle/component/operator/cleaning/GeneralizedLinearRegressionOperator.html @@ -0,0 +1,666 @@ + + + + GeneralizedLinearRegressionOperator - KSB COMPONENTS Scala App Project 1.0-SNAPSHOT API - ksb.csle.component.operator.cleaning.GeneralizedLinearRegressionOperator + + + + + + + + + + + + + + + + + +

                                                + + + class + + + GeneralizedLinearRegressionOperator extends BaseDataOperator[StreamOperatorInfo, DataFrame] with BaseDistanceCalculator + +

                                                + +

                                                :: ApplicationDeveloperApi ::

                                                Operator that performs Generalized Linear Regression. +It generalizes linear regression by associating linear model with response +variables that have error distribution models through link function and the +magnitude of variance. +

                                                + Linear Supertypes +
                                                BaseDistanceCalculator, BaseDataOperator[StreamOperatorInfo, DataFrame], BaseGenericOperator[StreamOperatorInfo, DataFrame], BaseGenericMutantOperator[StreamOperatorInfo, DataFrame, DataFrame], BaseDoer, Logging, Serializable, Serializable, AnyRef, Any
                                                +
                                                + + +
                                                +
                                                +
                                                + Ordering +
                                                  + +
                                                1. Alphabetic
                                                2. +
                                                3. By Inheritance
                                                4. +
                                                +
                                                +
                                                + Inherited
                                                +
                                                +
                                                  +
                                                1. GeneralizedLinearRegressionOperator
                                                2. BaseDistanceCalculator
                                                3. BaseDataOperator
                                                4. BaseGenericOperator
                                                5. BaseGenericMutantOperator
                                                6. BaseDoer
                                                7. Logging
                                                8. Serializable
                                                9. Serializable
                                                10. AnyRef
                                                11. Any
                                                12. +
                                                +
                                                + +
                                                  +
                                                1. Hide All
                                                2. +
                                                3. Show All
                                                4. +
                                                +
                                                +
                                                + Visibility +
                                                1. Public
                                                2. All
                                                +
                                                +
                                                + +
                                                +
                                                +
                                                +

                                                Instance Constructors

                                                +
                                                1. + + +

                                                  + + + new + + + GeneralizedLinearRegressionOperator(o: StreamOperatorInfo) + +

                                                  + + Permalink + + +

                                                  o

                                                  Object that contains message + ksb.csle.common.proto.StreamOperatorProto.GeneralizedLinearRegressionInfo + GeneralizedLinearRegressionInfo contains attributes as follows:

                                                  • familyType: Type of family. Enum(GAUSSIAN, BINOMIAL, POISSON, + GAMMA) (required) + GAUSSIAN: Data should be numeric (real or integer). + BINOMIAL: Data should be binominal or polynominal + with 2 classes. + POISSON: Data should be numeric and non-negative + (integer). + GAMMA: Data should be numeric and continuous and + positive(real or integer).
                                                  • linkType: Type of link function which relates the linear predictor + to the distribution function. Enum(IDENTITY, LOG, + INVERSE, LOGIT, PROBIT, CLOGLOG, SQRT) (required)
                                                  • maxIter: Maximum number of iterations. (required)

                                                  GeneralizedLinearRegressionInfo

                                                   message GeneralizedLinearRegressionInfo {
                                                  + required string labelName = 3
                                                  + required FamilyType familyType = 4 [default = GAUSSIAN];
                                                  + required LinkType linkType = 5 [default = IDENTITY];
                                                  + required int32 maxIter = 6;
                                                  + enum FamilyType {
                                                  +     GAUSSIAN = 0;
                                                  +     BINOMIAL = 1;
                                                  +     POISSON = 2;
                                                  +     GAMMA = 3;
                                                  + }
                                                  +enum LinkType {
                                                  +     IDENTITY = 0;
                                                  +     LOG = 1;
                                                  +     INVERSE = 2;
                                                  +     LOGIT = 3;
                                                  +     PROBIT = 4;
                                                  +     CLOGLOG = 5;
                                                  +     SQRT = 6;
                                                  + }
                                                  + }
                                                  +
                                                +
                                                + + + + + +
                                                +

                                                Value Members

                                                +
                                                1. + + +

                                                  + + final + def + + + !=(arg0: Any): Boolean + +

                                                  + + Permalink + + +
                                                  Definition Classes
                                                  AnyRef → Any
                                                  +
                                                2. + + +

                                                  + + final + def + + + ##(): Int + +

                                                  + + Permalink + + +
                                                  Definition Classes
                                                  AnyRef → Any
                                                  +
                                                3. + + +

                                                  + + final + def + + + ==(arg0: Any): Boolean + +

                                                  + + Permalink + + +
                                                  Definition Classes
                                                  AnyRef → Any
                                                  +
                                                4. + + +

                                                  + + + def + + + ManhattanDistanceMetric(x: Row, y: Row): Double + +

                                                  + + Permalink + + +
                                                  Definition Classes
                                                  BaseDistanceCalculator
                                                  +
                                                5. + + +

                                                  + + final + def + + + asInstanceOf[T0]: T0 + +

                                                  + + Permalink + + +
                                                  Definition Classes
                                                  Any
                                                  +
                                                6. + + +

                                                  + + + def + + + clone(): AnyRef + +

                                                  + + Permalink + + +
                                                  Attributes
                                                  protected[java.lang]
                                                  Definition Classes
                                                  AnyRef
                                                  Annotations
                                                  + @throws( + + ... + ) + +
                                                  +
                                                7. + + +

                                                  + + final + def + + + eq(arg0: AnyRef): Boolean + +

                                                  + + Permalink + + +
                                                  Definition Classes
                                                  AnyRef
                                                  +
                                                8. + + +

                                                  + + + def + + + equals(arg0: Any): Boolean + +

                                                  + + Permalink + + +
                                                  Definition Classes
                                                  AnyRef → Any
                                                  +
                                                9. + + +

                                                  + + + def + + + finalize(): Unit + +

                                                  + + Permalink + + +
                                                  Attributes
                                                  protected[java.lang]
                                                  Definition Classes
                                                  AnyRef
                                                  Annotations
                                                  + @throws( + + classOf[java.lang.Throwable] + ) + +
                                                  +
                                                10. + + +

                                                  + + final + def + + + getClass(): Class[_] + +

                                                  + + Permalink + + +
                                                  Definition Classes
                                                  AnyRef → Any
                                                  +
                                                11. + + +

                                                  + + + def + + + hashCode(): Int + +

                                                  + + Permalink + + +
                                                  Definition Classes
                                                  AnyRef → Any
                                                  +
                                                12. + + +

                                                  + + final + def + + + isInstanceOf[T0]: Boolean + +

                                                  + + Permalink + + +
                                                  Definition Classes
                                                  Any
                                                  +
                                                13. + + +

                                                  + + + val + + + logger: Logger + +

                                                  + + Permalink + + +
                                                  Attributes
                                                  protected
                                                  Definition Classes
                                                  Logging
                                                  +
                                                14. + + +

                                                  + + final + def + + + ne(arg0: AnyRef): Boolean + +

                                                  + + Permalink + + +
                                                  Definition Classes
                                                  AnyRef
                                                  +
                                                15. + + +

                                                  + + final + def + + + notify(): Unit + +

                                                  + + Permalink + + +
                                                  Definition Classes
                                                  AnyRef
                                                  +
                                                16. + + +

                                                  + + final + def + + + notifyAll(): Unit + +

                                                  + + Permalink + + +
                                                  Definition Classes
                                                  AnyRef
                                                  +
                                                17. + + +

                                                  + + + def + + + operate(df: DataFrame): DataFrame + +

                                                  + + Permalink + + +

                                                  Operates GeneralizedLinearRegression.

                                                  Operates GeneralizedLinearRegression. +

                                                  df

                                                  Input dataframe

                                                  returns

                                                  DataFrame Output dataframe

                                                  Definition Classes
                                                  GeneralizedLinearRegressionOperator → BaseGenericOperator → BaseGenericMutantOperator
                                                  +
                                                18. + + +

                                                  + + + val + + + p: GeneralizedLinearRegressionInfo + +

                                                  + + Permalink + + + +
                                                19. + + +

                                                  + + + def + + + stop: Unit + +

                                                  + + Permalink + + +
                                                  Definition Classes
                                                  BaseGenericOperator → BaseGenericMutantOperator
                                                  +
                                                20. + + +

                                                  + + final + def + + + synchronized[T0](arg0: ⇒ T0): T0 + +

                                                  + + Permalink + + +
                                                  Definition Classes
                                                  AnyRef
                                                  +
                                                21. + + +

                                                  + + + def + + + toString(): String + +

                                                  + + Permalink + + +
                                                  Definition Classes
                                                  AnyRef → Any
                                                  +
                                                22. + + +

                                                  + + + def + + + validate(df: DataFrame): Unit + +

                                                  + + Permalink + + +

                                                  Validates GeneralizedLinearRegression info and dataframe schema info using following params.

                                                  Validates GeneralizedLinearRegression info and dataframe schema info using following params. +

                                                  Annotations
                                                  + @throws( + + classOf[KsbException] + ) + +
                                                  +
                                                23. + + +

                                                  + + final + def + + + wait(): Unit + +

                                                  + + Permalink + + +
                                                  Definition Classes
                                                  AnyRef
                                                  Annotations
                                                  + @throws( + + ... + ) + +
                                                  +
                                                24. + + +

                                                  + + final + def + + + wait(arg0: Long, arg1: Int): Unit + +

                                                  + + Permalink + + +
                                                  Definition Classes
                                                  AnyRef
                                                  Annotations
                                                  + @throws( + + ... + ) + +
                                                  +
                                                25. + + +

                                                  + + final + def + + + wait(arg0: Long): Unit + +

                                                  + + Permalink + + +
                                                  Definition Classes
                                                  AnyRef
                                                  Annotations
                                                  + @throws( + + ... + ) + +
                                                  +
                                                +
                                                + + + + +
                                                + +
                                                +
                                                +

                                                Inherited from BaseDistanceCalculator

                                                +
                                                +

                                                Inherited from BaseDataOperator[StreamOperatorInfo, DataFrame]

                                                +
                                                +

                                                Inherited from BaseGenericOperator[StreamOperatorInfo, DataFrame]

                                                +
                                                +

                                                Inherited from BaseGenericMutantOperator[StreamOperatorInfo, DataFrame, DataFrame]

                                                +
                                                +

                                                Inherited from BaseDoer

                                                +
                                                +

                                                Inherited from Logging

                                                +
                                                +

                                                Inherited from Serializable

                                                +
                                                +

                                                Inherited from Serializable

                                                +
                                                +

                                                Inherited from AnyRef

                                                +
                                                +

                                                Inherited from Any

                                                +
                                                + +
                                                + +
                                                +
                                                +

                                                Ungrouped

                                                + +
                                                +
                                                + +
                                                + +
                                                + + + + + + diff --git a/manual1903/api_reference/components/scaladocs/ksb/csle/component/operator/cleaning/KMeansOperator$.html b/manual1903/api_reference/components/scaladocs/ksb/csle/component/operator/cleaning/KMeansOperator$.html new file mode 100644 index 0000000000000000000000000000000000000000..13dc66dca35819820311992de0e299ff29611945 --- /dev/null +++ b/manual1903/api_reference/components/scaladocs/ksb/csle/component/operator/cleaning/KMeansOperator$.html @@ -0,0 +1,505 @@ + + + + KMeansOperator - KSB COMPONENTS Scala App Project 1.0-SNAPSHOT API - ksb.csle.component.operator.cleaning.KMeansOperator + + + + + + + + + + + + + + + + + +

                                                + + + object + + + KMeansOperator extends Serializable + +

                                                + +
                                                + Linear Supertypes +
                                                Serializable, Serializable, AnyRef, Any
                                                +
                                                + + +
                                                +
                                                +
                                                + Ordering +
                                                  + +
                                                1. Alphabetic
                                                2. +
                                                3. By Inheritance
                                                4. +
                                                +
                                                +
                                                + Inherited
                                                +
                                                +
                                                  +
                                                1. KMeansOperator
                                                2. Serializable
                                                3. Serializable
                                                4. AnyRef
                                                5. Any
                                                6. +
                                                +
                                                + +
                                                  +
                                                1. Hide All
                                                2. +
                                                3. Show All
                                                4. +
                                                +
                                                +
                                                + Visibility +
                                                1. Public
                                                2. All
                                                +
                                                +
                                                + +
                                                +
                                                + + + + + + +
                                                +

                                                Value Members

                                                +
                                                1. + + +

                                                  + + final + def + + + !=(arg0: Any): Boolean + +

                                                  + + Permalink + + +
                                                  Definition Classes
                                                  AnyRef → Any
                                                  +
                                                2. + + +

                                                  + + final + def + + + ##(): Int + +

                                                  + + Permalink + + +
                                                  Definition Classes
                                                  AnyRef → Any
                                                  +
                                                3. + + +

                                                  + + final + def + + + ==(arg0: Any): Boolean + +

                                                  + + Permalink + + +
                                                  Definition Classes
                                                  AnyRef → Any
                                                  +
                                                4. + + +

                                                  + + + def + + + apply(o: StreamOperatorInfo): KMeansOperator + +

                                                  + + Permalink + + + +
                                                5. + + +

                                                  + + final + def + + + asInstanceOf[T0]: T0 + +

                                                  + + Permalink + + +
                                                  Definition Classes
                                                  Any
                                                  +
                                                6. + + +

                                                  + + + def + + + clone(): AnyRef + +

                                                  + + Permalink + + +
                                                  Attributes
                                                  protected[java.lang]
                                                  Definition Classes
                                                  AnyRef
                                                  Annotations
                                                  + @throws( + + ... + ) + +
                                                  +
                                                7. + + +

                                                  + + final + def + + + eq(arg0: AnyRef): Boolean + +

                                                  + + Permalink + + +
                                                  Definition Classes
                                                  AnyRef
                                                  +
                                                8. + + +

                                                  + + + def + + + equals(arg0: Any): Boolean + +

                                                  + + Permalink + + +
                                                  Definition Classes
                                                  AnyRef → Any
                                                  +
                                                9. + + +

                                                  + + + def + + + finalize(): Unit + +

                                                  + + Permalink + + +
                                                  Attributes
                                                  protected[java.lang]
                                                  Definition Classes
                                                  AnyRef
                                                  Annotations
                                                  + @throws( + + classOf[java.lang.Throwable] + ) + +
                                                  +
                                                10. + + +

                                                  + + final + def + + + getClass(): Class[_] + +

                                                  + + Permalink + + +
                                                  Definition Classes
                                                  AnyRef → Any
                                                  +
                                                11. + + +

                                                  + + + def + + + hashCode(): Int + +

                                                  + + Permalink + + +
                                                  Definition Classes
                                                  AnyRef → Any
                                                  +
                                                12. + + +

                                                  + + final + def + + + isInstanceOf[T0]: Boolean + +

                                                  + + Permalink + + +
                                                  Definition Classes
                                                  Any
                                                  +
                                                13. + + +

                                                  + + final + def + + + ne(arg0: AnyRef): Boolean + +

                                                  + + Permalink + + +
                                                  Definition Classes
                                                  AnyRef
                                                  +
                                                14. + + +

                                                  + + final + def + + + notify(): Unit + +

                                                  + + Permalink + + +
                                                  Definition Classes
                                                  AnyRef
                                                  +
                                                15. + + +

                                                  + + final + def + + + notifyAll(): Unit + +

                                                  + + Permalink + + +
                                                  Definition Classes
                                                  AnyRef
                                                  +
                                                16. + + +

                                                  + + final + def + + + synchronized[T0](arg0: ⇒ T0): T0 + +

                                                  + + Permalink + + +
                                                  Definition Classes
                                                  AnyRef
                                                  +
                                                17. + + +

                                                  + + + def + + + toString(): String + +

                                                  + + Permalink + + +
                                                  Definition Classes
                                                  AnyRef → Any
                                                  +
                                                18. + + +

                                                  + + final + def + + + wait(): Unit + +

                                                  + + Permalink + + +
                                                  Definition Classes
                                                  AnyRef
                                                  Annotations
                                                  + @throws( + + ... + ) + +
                                                  +
                                                19. + + +

                                                  + + final + def + + + wait(arg0: Long, arg1: Int): Unit + +

                                                  + + Permalink + + +
                                                  Definition Classes
                                                  AnyRef
                                                  Annotations
                                                  + @throws( + + ... + ) + +
                                                  +
                                                20. + + +

                                                  + + final + def + + + wait(arg0: Long): Unit + +

                                                  + + Permalink + + +
                                                  Definition Classes
                                                  AnyRef
                                                  Annotations
                                                  + @throws( + + ... + ) + +
                                                  +
                                                +
                                                + + + + +
                                                + +
                                                +
                                                +

                                                Inherited from Serializable

                                                +
                                                +

                                                Inherited from Serializable

                                                +
                                                +

                                                Inherited from AnyRef

                                                +
                                                +

                                                Inherited from Any

                                                +
                                                + +
                                                + +
                                                +
                                                +

                                                Ungrouped

                                                + +
                                                +
                                                + +
                                                + +
                                                + + + + + + diff --git a/manual1903/api_reference/components/scaladocs/ksb/csle/component/operator/cleaning/KMeansOperator.html b/manual1903/api_reference/components/scaladocs/ksb/csle/component/operator/cleaning/KMeansOperator.html new file mode 100644 index 0000000000000000000000000000000000000000..88935e634c92d410fcf7a0f28f0aa89e9411242b --- /dev/null +++ b/manual1903/api_reference/components/scaladocs/ksb/csle/component/operator/cleaning/KMeansOperator.html @@ -0,0 +1,622 @@ + + + + KMeansOperator - KSB COMPONENTS Scala App Project 1.0-SNAPSHOT API - ksb.csle.component.operator.cleaning.KMeansOperator + + + + + + + + + + + + + + + + + +

                                                + + + class + + + KMeansOperator extends BaseDataOperator[StreamOperatorInfo, DataFrame] + +

                                                + +

                                                :: ApplicationDeveloperApi ::

                                                Operator that performs K-Means clustering. +It partitions n rows into k clusters in which each row belongs to the +cluster with the nearest mean. +

                                                + Linear Supertypes +
                                                BaseDataOperator[StreamOperatorInfo, DataFrame], BaseGenericOperator[StreamOperatorInfo, DataFrame], BaseGenericMutantOperator[StreamOperatorInfo, DataFrame, DataFrame], BaseDoer, Logging, Serializable, Serializable, AnyRef, Any
                                                +
                                                + + +
                                                +
                                                +
                                                + Ordering +
                                                  + +
                                                1. Alphabetic
                                                2. +
                                                3. By Inheritance
                                                4. +
                                                +
                                                +
                                                + Inherited
                                                +
                                                +
                                                  +
                                                1. KMeansOperator
                                                2. BaseDataOperator
                                                3. BaseGenericOperator
                                                4. BaseGenericMutantOperator
                                                5. BaseDoer
                                                6. Logging
                                                7. Serializable
                                                8. Serializable
                                                9. AnyRef
                                                10. Any
                                                11. +
                                                +
                                                + +
                                                  +
                                                1. Hide All
                                                2. +
                                                3. Show All
                                                4. +
                                                +
                                                +
                                                + Visibility +
                                                1. Public
                                                2. All
                                                +
                                                +
                                                + +
                                                +
                                                +
                                                +

                                                Instance Constructors

                                                +
                                                1. + + +

                                                  + + + new + + + KMeansOperator(o: StreamOperatorInfo) + +

                                                  + + Permalink + + +

                                                  o

                                                  Object that contains message + ksb.csle.common.proto.StreamOperatorProto.KMeansInfo + KMeansInfo contains attributes as follows:

                                                  • k_value: Number of clusters to form (required)
                                                  • maxIterations: Maximal number of iterations performed for one + run of k-Means (required)
                                                  • maxRuns: This param has no effect in spark 2.3.0
                                                  • seed: Local random seed (optional)

                                                  KMeansInfo

                                                  message KMeansInfo {
                                                  +required int32 k_value = 3 [default = 2];
                                                  +required int32 maxIterations = 4 [default = 100]
                                                  +required int32 maxRuns = 5 [default = 10];
                                                  +optional int64 seed = 6;
                                                  +}
                                                  +
                                                +
                                                + + + + + +
                                                +

                                                Value Members

                                                +
                                                1. + + +

                                                  + + final + def + + + !=(arg0: Any): Boolean + +

                                                  + + Permalink + + +
                                                  Definition Classes
                                                  AnyRef → Any
                                                  +
                                                2. + + +

                                                  + + final + def + + + ##(): Int + +

                                                  + + Permalink + + +
                                                  Definition Classes
                                                  AnyRef → Any
                                                  +
                                                3. + + +

                                                  + + final + def + + + ==(arg0: Any): Boolean + +

                                                  + + Permalink + + +
                                                  Definition Classes
                                                  AnyRef → Any
                                                  +
                                                4. + + +

                                                  + + final + def + + + asInstanceOf[T0]: T0 + +

                                                  + + Permalink + + +
                                                  Definition Classes
                                                  Any
                                                  +
                                                5. + + +

                                                  + + + def + + + clone(): AnyRef + +

                                                  + + Permalink + + +
                                                  Attributes
                                                  protected[java.lang]
                                                  Definition Classes
                                                  AnyRef
                                                  Annotations
                                                  + @throws( + + ... + ) + +
                                                  +
                                                6. + + +

                                                  + + final + def + + + eq(arg0: AnyRef): Boolean + +

                                                  + + Permalink + + +
                                                  Definition Classes
                                                  AnyRef
                                                  +
                                                7. + + +

                                                  + + + def + + + equals(arg0: Any): Boolean + +

                                                  + + Permalink + + +
                                                  Definition Classes
                                                  AnyRef → Any
                                                  +
                                                8. + + +

                                                  + + + def + + + finalize(): Unit + +

                                                  + + Permalink + + +
                                                  Attributes
                                                  protected[java.lang]
                                                  Definition Classes
                                                  AnyRef
                                                  Annotations
                                                  + @throws( + + classOf[java.lang.Throwable] + ) + +
                                                  +
                                                9. + + +

                                                  + + final + def + + + getClass(): Class[_] + +

                                                  + + Permalink + + +
                                                  Definition Classes
                                                  AnyRef → Any
                                                  +
                                                10. + + +

                                                  + + + def + + + hashCode(): Int + +

                                                  + + Permalink + + +
                                                  Definition Classes
                                                  AnyRef → Any
                                                  +
                                                11. + + +

                                                  + + final + def + + + isInstanceOf[T0]: Boolean + +

                                                  + + Permalink + + +
                                                  Definition Classes
                                                  Any
                                                  +
                                                12. + + +

                                                  + + + val + + + logger: Logger + +

                                                  + + Permalink + + +
                                                  Attributes
                                                  protected
                                                  Definition Classes
                                                  Logging
                                                  +
                                                13. + + +

                                                  + + final + def + + + ne(arg0: AnyRef): Boolean + +

                                                  + + Permalink + + +
                                                  Definition Classes
                                                  AnyRef
                                                  +
                                                14. + + +

                                                  + + final + def + + + notify(): Unit + +

                                                  + + Permalink + + +
                                                  Definition Classes
                                                  AnyRef
                                                  +
                                                15. + + +

                                                  + + final + def + + + notifyAll(): Unit + +

                                                  + + Permalink + + +
                                                  Definition Classes
                                                  AnyRef
                                                  +
                                                16. + + +

                                                  + + + def + + + operate(df: DataFrame): DataFrame + +

                                                  + + Permalink + + +

                                                  Operates KMeans.

                                                  Operates KMeans. +

                                                  df

                                                  Input dataframe

                                                  returns

                                                  DataFrame Output dataframe

                                                  Definition Classes
                                                  KMeansOperator → BaseGenericOperator → BaseGenericMutantOperator
                                                  +
                                                17. + + +

                                                  + + + val + + + p: KMeansInfo + +

                                                  + + Permalink + + + +
                                                18. + + +

                                                  + + + def + + + stop: Unit + +

                                                  + + Permalink + + +
                                                  Definition Classes
                                                  BaseGenericOperator → BaseGenericMutantOperator
                                                  +
                                                19. + + +

                                                  + + final + def + + + synchronized[T0](arg0: ⇒ T0): T0 + +

                                                  + + Permalink + + +
                                                  Definition Classes
                                                  AnyRef
                                                  +
                                                20. + + +

                                                  + + + def + + + toString(): String + +

                                                  + + Permalink + + +
                                                  Definition Classes
                                                  AnyRef → Any
                                                  +
                                                21. + + +

                                                  + + + def + + + validate(df: DataFrame): DataFrame + +

                                                  + + Permalink + + +

                                                  Validates kMeans info and dataframe schema info using following params.

                                                  Validates kMeans info and dataframe schema info using following params. +

                                                  Annotations
                                                  + @throws( + + classOf[KsbException] + ) + +
                                                  +
                                                22. + + +

                                                  + + final + def + + + wait(): Unit + +

                                                  + + Permalink + + +
                                                  Definition Classes
                                                  AnyRef
                                                  Annotations
                                                  + @throws( + + ... + ) + +
                                                  +
                                                23. + + +

                                                  + + final + def + + + wait(arg0: Long, arg1: Int): Unit + +

                                                  + + Permalink + + +
                                                  Definition Classes
                                                  AnyRef
                                                  Annotations
                                                  + @throws( + + ... + ) + +
                                                  +
                                                24. + + +

                                                  + + final + def + + + wait(arg0: Long): Unit + +

                                                  + + Permalink + + +
                                                  Definition Classes
                                                  AnyRef
                                                  Annotations
                                                  + @throws( + + ... + ) + +
                                                  +
                                                +
                                                + + + + +
                                                + +
                                                +
                                                +

                                                Inherited from BaseDataOperator[StreamOperatorInfo, DataFrame]

                                                +
                                                +

                                                Inherited from BaseGenericOperator[StreamOperatorInfo, DataFrame]

                                                +
                                                +

                                                Inherited from BaseGenericMutantOperator[StreamOperatorInfo, DataFrame, DataFrame]

                                                +
                                                +

                                                Inherited from BaseDoer

                                                +
                                                +

                                                Inherited from Logging

                                                +
                                                +

                                                Inherited from Serializable

                                                +
                                                +

                                                Inherited from Serializable

                                                +
                                                +

                                                Inherited from AnyRef

                                                +
                                                +

                                                Inherited from Any

                                                +
                                                + +
                                                + +
                                                +
                                                +

                                                Ungrouped

                                                + +
                                                +
                                                + +
                                                + +
                                                + + + + + + diff --git a/manual1903/api_reference/components/scaladocs/ksb/csle/component/operator/cleaning/KMedoidsOperator$.html b/manual1903/api_reference/components/scaladocs/ksb/csle/component/operator/cleaning/KMedoidsOperator$.html new file mode 100644 index 0000000000000000000000000000000000000000..679c0e6e48ea960105e6d27ae81e51996b684b23 --- /dev/null +++ b/manual1903/api_reference/components/scaladocs/ksb/csle/component/operator/cleaning/KMedoidsOperator$.html @@ -0,0 +1,505 @@ + + + + KMedoidsOperator - KSB COMPONENTS Scala App Project 1.0-SNAPSHOT API - ksb.csle.component.operator.cleaning.KMedoidsOperator + + + + + + + + + + + + + + + + + +

                                                + + + object + + + KMedoidsOperator extends Serializable + +

                                                + +
                                                + Linear Supertypes +
                                                Serializable, Serializable, AnyRef, Any
                                                +
                                                + + +
                                                +
                                                +
                                                + Ordering +
                                                  + +
                                                1. Alphabetic
                                                2. +
                                                3. By Inheritance
                                                4. +
                                                +
                                                +
                                                + Inherited
                                                +
                                                +
                                                  +
                                                1. KMedoidsOperator
                                                2. Serializable
                                                3. Serializable
                                                4. AnyRef
                                                5. Any
                                                6. +
                                                +
                                                + +
                                                  +
                                                1. Hide All
                                                2. +
                                                3. Show All
                                                4. +
                                                +
                                                +
                                                + Visibility +
                                                1. Public
                                                2. All
                                                +
                                                +
                                                + +
                                                +
                                                + + + + + + +
                                                +

                                                Value Members

                                                +
                                                1. + + +

                                                  + + final + def + + + !=(arg0: Any): Boolean + +

                                                  + + Permalink + + +
                                                  Definition Classes
                                                  AnyRef → Any
                                                  +
                                                2. + + +

                                                  + + final + def + + + ##(): Int + +

                                                  + + Permalink + + +
                                                  Definition Classes
                                                  AnyRef → Any
                                                  +
                                                3. + + +

                                                  + + final + def + + + ==(arg0: Any): Boolean + +

                                                  + + Permalink + + +
                                                  Definition Classes
                                                  AnyRef → Any
                                                  +
                                                4. + + +

                                                  + + + def + + + apply(o: StreamOperatorInfo): KMedoidsOperator + +

                                                  + + Permalink + + + +
                                                5. + + +

                                                  + + final + def + + + asInstanceOf[T0]: T0 + +

                                                  + + Permalink + + +
                                                  Definition Classes
                                                  Any
                                                  +
                                                6. + + +

                                                  + + + def + + + clone(): AnyRef + +

                                                  + + Permalink + + +
                                                  Attributes
                                                  protected[java.lang]
                                                  Definition Classes
                                                  AnyRef
                                                  Annotations
                                                  + @throws( + + ... + ) + +
                                                  +
                                                7. + + +

                                                  + + final + def + + + eq(arg0: AnyRef): Boolean + +

                                                  + + Permalink + + +
                                                  Definition Classes
                                                  AnyRef
                                                  +
                                                8. + + +

                                                  + + + def + + + equals(arg0: Any): Boolean + +

                                                  + + Permalink + + +
                                                  Definition Classes
                                                  AnyRef → Any
                                                  +
                                                9. + + +

                                                  + + + def + + + finalize(): Unit + +

                                                  + + Permalink + + +
                                                  Attributes
                                                  protected[java.lang]
                                                  Definition Classes
                                                  AnyRef
                                                  Annotations
                                                  + @throws( + + classOf[java.lang.Throwable] + ) + +
                                                  +
                                                10. + + +

                                                  + + final + def + + + getClass(): Class[_] + +

                                                  + + Permalink + + +
                                                  Definition Classes
                                                  AnyRef → Any
                                                  +
                                                11. + + +

                                                  + + + def + + + hashCode(): Int + +

                                                  + + Permalink + + +
                                                  Definition Classes
                                                  AnyRef → Any
                                                  +
                                                12. + + +

                                                  + + final + def + + + isInstanceOf[T0]: Boolean + +

                                                  + + Permalink + + +
                                                  Definition Classes
                                                  Any
                                                  +
                                                13. + + +

                                                  + + final + def + + + ne(arg0: AnyRef): Boolean + +

                                                  + + Permalink + + +
                                                  Definition Classes
                                                  AnyRef
                                                  +
                                                14. + + +

                                                  + + final + def + + + notify(): Unit + +

                                                  + + Permalink + + +
                                                  Definition Classes
                                                  AnyRef
                                                  +
                                                15. + + +

                                                  + + final + def + + + notifyAll(): Unit + +

                                                  + + Permalink + + +
                                                  Definition Classes
                                                  AnyRef
                                                  +
                                                16. + + +

                                                  + + final + def + + + synchronized[T0](arg0: ⇒ T0): T0 + +

                                                  + + Permalink + + +
                                                  Definition Classes
                                                  AnyRef
                                                  +
                                                17. + + +

                                                  + + + def + + + toString(): String + +

                                                  + + Permalink + + +
                                                  Definition Classes
                                                  AnyRef → Any
                                                  +
                                                18. + + +

                                                  + + final + def + + + wait(): Unit + +

                                                  + + Permalink + + +
                                                  Definition Classes
                                                  AnyRef
                                                  Annotations
                                                  + @throws( + + ... + ) + +
                                                  +
                                                19. + + +

                                                  + + final + def + + + wait(arg0: Long, arg1: Int): Unit + +

                                                  + + Permalink + + +
                                                  Definition Classes
                                                  AnyRef
                                                  Annotations
                                                  + @throws( + + ... + ) + +
                                                  +
                                                20. + + +

                                                  + + final + def + + + wait(arg0: Long): Unit + +

                                                  + + Permalink + + +
                                                  Definition Classes
                                                  AnyRef
                                                  Annotations
                                                  + @throws( + + ... + ) + +
                                                  +
                                                +
                                                + + + + +
                                                + +
                                                +
                                                +

                                                Inherited from Serializable

                                                +
                                                +

                                                Inherited from Serializable

                                                +
                                                +

                                                Inherited from AnyRef

                                                +
                                                +

                                                Inherited from Any

                                                +
                                                + +
                                                + +
                                                +
                                                +

                                                Ungrouped

                                                + +
                                                +
                                                + +
                                                + +
                                                + + + + + + diff --git a/manual1903/api_reference/components/scaladocs/ksb/csle/component/operator/cleaning/KMedoidsOperator.html b/manual1903/api_reference/components/scaladocs/ksb/csle/component/operator/cleaning/KMedoidsOperator.html new file mode 100644 index 0000000000000000000000000000000000000000..9a2bf433e947104b917976098d29c3c4f25399da --- /dev/null +++ b/manual1903/api_reference/components/scaladocs/ksb/csle/component/operator/cleaning/KMedoidsOperator.html @@ -0,0 +1,640 @@ + + + + KMedoidsOperator - KSB COMPONENTS Scala App Project 1.0-SNAPSHOT API - ksb.csle.component.operator.cleaning.KMedoidsOperator + + + + + + + + + + + + + + + + + +

                                                + + + class + + + KMedoidsOperator extends BaseDataOperator[StreamOperatorInfo, DataFrame] with BaseDistanceCalculator + +

                                                + +

                                                :: ApplicationDeveloperApi ::

                                                Operator that performs KMedoids clustering. It partitions the data set of +n rows into k clusters. It chooses data points as centers and uses the +Manhattan Norm to calculate distance between data points. +

                                                + Linear Supertypes +
                                                BaseDistanceCalculator, BaseDataOperator[StreamOperatorInfo, DataFrame], BaseGenericOperator[StreamOperatorInfo, DataFrame], BaseGenericMutantOperator[StreamOperatorInfo, DataFrame, DataFrame], BaseDoer, Logging, Serializable, Serializable, AnyRef, Any
                                                +
                                                + + +
                                                +
                                                +
                                                + Ordering +
                                                  + +
                                                1. Alphabetic
                                                2. +
                                                3. By Inheritance
                                                4. +
                                                +
                                                +
                                                + Inherited
                                                +
                                                +
                                                  +
                                                1. KMedoidsOperator
                                                2. BaseDistanceCalculator
                                                3. BaseDataOperator
                                                4. BaseGenericOperator
                                                5. BaseGenericMutantOperator
                                                6. BaseDoer
                                                7. Logging
                                                8. Serializable
                                                9. Serializable
                                                10. AnyRef
                                                11. Any
                                                12. +
                                                +
                                                + +
                                                  +
                                                1. Hide All
                                                2. +
                                                3. Show All
                                                4. +
                                                +
                                                +
                                                + Visibility +
                                                1. Public
                                                2. All
                                                +
                                                +
                                                + +
                                                +
                                                +
                                                +

                                                Instance Constructors

                                                +
                                                1. + + +

                                                  + + + new + + + KMedoidsOperator(o: StreamOperatorInfo) + +

                                                  + + Permalink + + +

                                                  o

                                                  Object that contains message + ksb.csle.common.proto.StreamOperatorProto.KMedoidsInfo + KMedoidsInfo contains attributes as follows:

                                                  • k_value: Number of clusters to form (required)
                                                  • maxIter: Maximal number of iterations performed for one run of + KMedoids (required)
                                                  • seed: Local random seed (optional)

                                                  KMedoidsInfo

                                                  message KMedoidsInfo {
                                                  +required int32 k_value = 3 [default = 2];
                                                  +required int32 maxIter = 4 [default = 100];
                                                  +optional int64 seed = 5
                                                  +}
                                                  +
                                                +
                                                + + + + + +
                                                +

                                                Value Members

                                                +
                                                1. + + +

                                                  + + final + def + + + !=(arg0: Any): Boolean + +

                                                  + + Permalink + + +
                                                  Definition Classes
                                                  AnyRef → Any
                                                  +
                                                2. + + +

                                                  + + final + def + + + ##(): Int + +

                                                  + + Permalink + + +
                                                  Definition Classes
                                                  AnyRef → Any
                                                  +
                                                3. + + +

                                                  + + final + def + + + ==(arg0: Any): Boolean + +

                                                  + + Permalink + + +
                                                  Definition Classes
                                                  AnyRef → Any
                                                  +
                                                4. + + +

                                                  + + + def + + + ManhattanDistanceMetric(x: Row, y: Row): Double + +

                                                  + + Permalink + + +
                                                  Definition Classes
                                                  BaseDistanceCalculator
                                                  +
                                                5. + + +

                                                  + + final + def + + + asInstanceOf[T0]: T0 + +

                                                  + + Permalink + + +
                                                  Definition Classes
                                                  Any
                                                  +
                                                6. + + +

                                                  + + + def + + + clone(): AnyRef + +

                                                  + + Permalink + + +
                                                  Attributes
                                                  protected[java.lang]
                                                  Definition Classes
                                                  AnyRef
                                                  Annotations
                                                  + @throws( + + ... + ) + +
                                                  +
                                                7. + + +

                                                  + + final + def + + + eq(arg0: AnyRef): Boolean + +

                                                  + + Permalink + + +
                                                  Definition Classes
                                                  AnyRef
                                                  +
                                                8. + + +

                                                  + + + def + + + equals(arg0: Any): Boolean + +

                                                  + + Permalink + + +
                                                  Definition Classes
                                                  AnyRef → Any
                                                  +
                                                9. + + +

                                                  + + + def + + + finalize(): Unit + +

                                                  + + Permalink + + +
                                                  Attributes
                                                  protected[java.lang]
                                                  Definition Classes
                                                  AnyRef
                                                  Annotations
                                                  + @throws( + + classOf[java.lang.Throwable] + ) + +
                                                  +
                                                10. + + +

                                                  + + final + def + + + getClass(): Class[_] + +

                                                  + + Permalink + + +
                                                  Definition Classes
                                                  AnyRef → Any
                                                  +
                                                11. + + +

                                                  + + + def + + + hashCode(): Int + +

                                                  + + Permalink + + +
                                                  Definition Classes
                                                  AnyRef → Any
                                                  +
                                                12. + + +

                                                  + + final + def + + + isInstanceOf[T0]: Boolean + +

                                                  + + Permalink + + +
                                                  Definition Classes
                                                  Any
                                                  +
                                                13. + + +

                                                  + + + val + + + logger: Logger + +

                                                  + + Permalink + + +
                                                  Attributes
                                                  protected
                                                  Definition Classes
                                                  Logging
                                                  +
                                                14. + + +

                                                  + + final + def + + + ne(arg0: AnyRef): Boolean + +

                                                  + + Permalink + + +
                                                  Definition Classes
                                                  AnyRef
                                                  +
                                                15. + + +

                                                  + + final + def + + + notify(): Unit + +

                                                  + + Permalink + + +
                                                  Definition Classes
                                                  AnyRef
                                                  +
                                                16. + + +

                                                  + + final + def + + + notifyAll(): Unit + +

                                                  + + Permalink + + +
                                                  Definition Classes
                                                  AnyRef
                                                  +
                                                17. + + +

                                                  + + + def + + + operate(df: DataFrame): DataFrame + +

                                                  + + Permalink + + +

                                                  Operates kMedoids.

                                                  Operates kMedoids. +

                                                  df

                                                  Input dataframe

                                                  returns

                                                  DataFrame Output dataframe

                                                  Definition Classes
                                                  KMedoidsOperator → BaseGenericOperator → BaseGenericMutantOperator
                                                  +
                                                18. + + +

                                                  + + + val + + + p: KMedoidsInfo + +

                                                  + + Permalink + + + +
                                                19. + + +

                                                  + + + def + + + stop: Unit + +

                                                  + + Permalink + + +
                                                  Definition Classes
                                                  BaseGenericOperator → BaseGenericMutantOperator
                                                  +
                                                20. + + +

                                                  + + final + def + + + synchronized[T0](arg0: ⇒ T0): T0 + +

                                                  + + Permalink + + +
                                                  Definition Classes
                                                  AnyRef
                                                  +
                                                21. + + +

                                                  + + + def + + + toString(): String + +

                                                  + + Permalink + + +
                                                  Definition Classes
                                                  AnyRef → Any
                                                  +
                                                22. + + +

                                                  + + + def + + + validate(df: DataFrame): DataFrame + +

                                                  + + Permalink + + +

                                                  Validates KMedoids info and dataframe schema info using following params.

                                                  Validates KMedoids info and dataframe schema info using following params. +

                                                  Annotations
                                                  + @throws( + + classOf[KsbException] + ) + +
                                                  +
                                                23. + + +

                                                  + + final + def + + + wait(): Unit + +

                                                  + + Permalink + + +
                                                  Definition Classes
                                                  AnyRef
                                                  Annotations
                                                  + @throws( + + ... + ) + +
                                                  +
                                                24. + + +

                                                  + + final + def + + + wait(arg0: Long, arg1: Int): Unit + +

                                                  + + Permalink + + +
                                                  Definition Classes
                                                  AnyRef
                                                  Annotations
                                                  + @throws( + + ... + ) + +
                                                  +
                                                25. + + +

                                                  + + final + def + + + wait(arg0: Long): Unit + +

                                                  + + Permalink + + +
                                                  Definition Classes
                                                  AnyRef
                                                  Annotations
                                                  + @throws( + + ... + ) + +
                                                  +
                                                +
                                                + + + + +
                                                + +
                                                +
                                                +

                                                Inherited from BaseDistanceCalculator

                                                +
                                                +

                                                Inherited from BaseDataOperator[StreamOperatorInfo, DataFrame]

                                                +
                                                +

                                                Inherited from BaseGenericOperator[StreamOperatorInfo, DataFrame]

                                                +
                                                +

                                                Inherited from BaseGenericMutantOperator[StreamOperatorInfo, DataFrame, DataFrame]

                                                +
                                                +

                                                Inherited from BaseDoer

                                                +
                                                +

                                                Inherited from Logging

                                                +
                                                +

                                                Inherited from Serializable

                                                +
                                                +

                                                Inherited from Serializable

                                                +
                                                +

                                                Inherited from AnyRef

                                                +
                                                +

                                                Inherited from Any

                                                +
                                                + +
                                                + +
                                                +
                                                +

                                                Ungrouped

                                                + +
                                                +
                                                + +
                                                + +
                                                + + + + + + diff --git a/manual1903/api_reference/components/scaladocs/ksb/csle/component/operator/cleaning/LinearRegressionOperator$.html b/manual1903/api_reference/components/scaladocs/ksb/csle/component/operator/cleaning/LinearRegressionOperator$.html new file mode 100644 index 0000000000000000000000000000000000000000..30f499c9acae7be0dd807c05f92d3d7fc132f2bb --- /dev/null +++ b/manual1903/api_reference/components/scaladocs/ksb/csle/component/operator/cleaning/LinearRegressionOperator$.html @@ -0,0 +1,505 @@ + + + + LinearRegressionOperator - KSB COMPONENTS Scala App Project 1.0-SNAPSHOT API - ksb.csle.component.operator.cleaning.LinearRegressionOperator + + + + + + + + + + + + + + + + + +

                                                + + + object + + + LinearRegressionOperator extends Serializable + +

                                                + +
                                                + Linear Supertypes +
                                                Serializable, Serializable, AnyRef, Any
                                                +
                                                + + +
                                                +
                                                +
                                                + Ordering +
                                                  + +
                                                1. Alphabetic
                                                2. +
                                                3. By Inheritance
                                                4. +
                                                +
                                                +
                                                + Inherited
                                                +
                                                +
                                                  +
                                                1. LinearRegressionOperator
                                                2. Serializable
                                                3. Serializable
                                                4. AnyRef
                                                5. Any
                                                6. +
                                                +
                                                + +
                                                  +
                                                1. Hide All
                                                2. +
                                                3. Show All
                                                4. +
                                                +
                                                +
                                                + Visibility +
                                                1. Public
                                                2. All
                                                +
                                                +
                                                + +
                                                +
                                                + + + + + + +
                                                +

                                                Value Members

                                                +
                                                1. + + +

                                                  + + final + def + + + !=(arg0: Any): Boolean + +

                                                  + + Permalink + + +
                                                  Definition Classes
                                                  AnyRef → Any
                                                  +
                                                2. + + +

                                                  + + final + def + + + ##(): Int + +

                                                  + + Permalink + + +
                                                  Definition Classes
                                                  AnyRef → Any
                                                  +
                                                3. + + +

                                                  + + final + def + + + ==(arg0: Any): Boolean + +

                                                  + + Permalink + + +
                                                  Definition Classes
                                                  AnyRef → Any
                                                  +
                                                4. + + +

                                                  + + + def + + + apply(o: StreamOperatorInfo): LinearRegressionOperator + +

                                                  + + Permalink + + + +
                                                5. + + +

                                                  + + final + def + + + asInstanceOf[T0]: T0 + +

                                                  + + Permalink + + +
                                                  Definition Classes
                                                  Any
                                                  +
                                                6. + + +

                                                  + + + def + + + clone(): AnyRef + +

                                                  + + Permalink + + +
                                                  Attributes
                                                  protected[java.lang]
                                                  Definition Classes
                                                  AnyRef
                                                  Annotations
                                                  + @throws( + + ... + ) + +
                                                  +
                                                7. + + +

                                                  + + final + def + + + eq(arg0: AnyRef): Boolean + +

                                                  + + Permalink + + +
                                                  Definition Classes
                                                  AnyRef
                                                  +
                                                8. + + +

                                                  + + + def + + + equals(arg0: Any): Boolean + +

                                                  + + Permalink + + +
                                                  Definition Classes
                                                  AnyRef → Any
                                                  +
                                                9. + + +

                                                  + + + def + + + finalize(): Unit + +

                                                  + + Permalink + + +
                                                  Attributes
                                                  protected[java.lang]
                                                  Definition Classes
                                                  AnyRef
                                                  Annotations
                                                  + @throws( + + classOf[java.lang.Throwable] + ) + +
                                                  +
                                                10. + + +

                                                  + + final + def + + + getClass(): Class[_] + +

                                                  + + Permalink + + +
                                                  Definition Classes
                                                  AnyRef → Any
                                                  +
                                                11. + + +

                                                  + + + def + + + hashCode(): Int + +

                                                  + + Permalink + + +
                                                  Definition Classes
                                                  AnyRef → Any
                                                  +
                                                12. + + +

                                                  + + final + def + + + isInstanceOf[T0]: Boolean + +

                                                  + + Permalink + + +
                                                  Definition Classes
                                                  Any
                                                  +
                                                13. + + +

                                                  + + final + def + + + ne(arg0: AnyRef): Boolean + +

                                                  + + Permalink + + +
                                                  Definition Classes
                                                  AnyRef
                                                  +
                                                14. + + +

                                                  + + final + def + + + notify(): Unit + +

                                                  + + Permalink + + +
                                                  Definition Classes
                                                  AnyRef
                                                  +
                                                15. + + +

                                                  + + final + def + + + notifyAll(): Unit + +

                                                  + + Permalink + + +
                                                  Definition Classes
                                                  AnyRef
                                                  +
                                                16. + + +

                                                  + + final + def + + + synchronized[T0](arg0: ⇒ T0): T0 + +

                                                  + + Permalink + + +
                                                  Definition Classes
                                                  AnyRef
                                                  +
                                                17. + + +

                                                  + + + def + + + toString(): String + +

                                                  + + Permalink + + +
                                                  Definition Classes
                                                  AnyRef → Any
                                                  +
                                                18. + + +

                                                  + + final + def + + + wait(): Unit + +

                                                  + + Permalink + + +
                                                  Definition Classes
                                                  AnyRef
                                                  Annotations
                                                  + @throws( + + ... + ) + +
                                                  +
                                                19. + + +

                                                  + + final + def + + + wait(arg0: Long, arg1: Int): Unit + +

                                                  + + Permalink + + +
                                                  Definition Classes
                                                  AnyRef
                                                  Annotations
                                                  + @throws( + + ... + ) + +
                                                  +
                                                20. + + +

                                                  + + final + def + + + wait(arg0: Long): Unit + +

                                                  + + Permalink + + +
                                                  Definition Classes
                                                  AnyRef
                                                  Annotations
                                                  + @throws( + + ... + ) + +
                                                  +
                                                +
                                                + + + + +
                                                + +
                                                +
                                                +

                                                Inherited from Serializable

                                                +
                                                +

                                                Inherited from Serializable

                                                +
                                                +

                                                Inherited from AnyRef

                                                +
                                                +

                                                Inherited from Any

                                                +
                                                + +
                                                + +
                                                +
                                                +

                                                Ungrouped

                                                + +
                                                +
                                                + +
                                                + +
                                                + + + + + + diff --git a/manual1903/api_reference/components/scaladocs/ksb/csle/component/operator/cleaning/LinearRegressionOperator.html b/manual1903/api_reference/components/scaladocs/ksb/csle/component/operator/cleaning/LinearRegressionOperator.html new file mode 100644 index 0000000000000000000000000000000000000000..894c6f30099a9bdf35c57941a5611b1230544e6d --- /dev/null +++ b/manual1903/api_reference/components/scaladocs/ksb/csle/component/operator/cleaning/LinearRegressionOperator.html @@ -0,0 +1,645 @@ + + + + LinearRegressionOperator - KSB COMPONENTS Scala App Project 1.0-SNAPSHOT API - ksb.csle.component.operator.cleaning.LinearRegressionOperator + + + + + + + + + + + + + + + + + +

                                                + + + class + + + LinearRegressionOperator extends BaseDataOperator[StreamOperatorInfo, DataFrame] with BaseDistanceCalculator + +

                                                + +

                                                :: ApplicationDeveloperApi ::

                                                Operator that performs Linear Regression. It aims to model the relationship +between two variables by fitting a linear equation to observed data. +

                                                + Linear Supertypes +
                                                BaseDistanceCalculator, BaseDataOperator[StreamOperatorInfo, DataFrame], BaseGenericOperator[StreamOperatorInfo, DataFrame], BaseGenericMutantOperator[StreamOperatorInfo, DataFrame, DataFrame], BaseDoer, Logging, Serializable, Serializable, AnyRef, Any
                                                +
                                                + + +
                                                +
                                                +
                                                + Ordering +
                                                  + +
                                                1. Alphabetic
                                                2. +
                                                3. By Inheritance
                                                4. +
                                                +
                                                +
                                                + Inherited
                                                +
                                                +
                                                  +
                                                1. LinearRegressionOperator
                                                2. BaseDistanceCalculator
                                                3. BaseDataOperator
                                                4. BaseGenericOperator
                                                5. BaseGenericMutantOperator
                                                6. BaseDoer
                                                7. Logging
                                                8. Serializable
                                                9. Serializable
                                                10. AnyRef
                                                11. Any
                                                12. +
                                                +
                                                + +
                                                  +
                                                1. Hide All
                                                2. +
                                                3. Show All
                                                4. +
                                                +
                                                +
                                                + Visibility +
                                                1. Public
                                                2. All
                                                +
                                                +
                                                + +
                                                +
                                                +
                                                +

                                                Instance Constructors

                                                +
                                                1. + + +

                                                  + + + new + + + LinearRegressionOperator(o: StreamOperatorInfo) + +

                                                  + + Permalink + + +

                                                  o

                                                  Object that contains message + ksb.csle.common.proto.StreamOperatorProto.LinearRegressionInfo + LinearRegressionInfo contains attributes as follows:

                                                  • labelName: Column name of label. (required)
                                                  • regParam: Regularization parameter (required)
                                                  • elasticNetParam: ElasticNet mixing parameter (required) + For alpha = 0, the penalty is an L2 penalty. + For alpha = 1, it is an L1 penalty. + For alpha in (0,1), the penalty is a combination + of L1 and L2.
                                                  • maxIter: Maximum number of iterations (required)
                                                  • tolerance: minimum tolerance to eliminate collinear attributes + (required)

                                                  LinearRegressionInfo

                                                  message LinearRegressionInfo {
                                                  +required string labelName = 3;
                                                  +required double regParam = 4;
                                                  +required double elasticNetParam = 5;
                                                  +required int32 maxIter = 6;
                                                  +required double tolerance = 7;
                                                  +}
                                                  +
                                                +
                                                + + + + + +
                                                +

                                                Value Members

                                                +
                                                1. + + +

                                                  + + final + def + + + !=(arg0: Any): Boolean + +

                                                  + + Permalink + + +
                                                  Definition Classes
                                                  AnyRef → Any
                                                  +
                                                2. + + +

                                                  + + final + def + + + ##(): Int + +

                                                  + + Permalink + + +
                                                  Definition Classes
                                                  AnyRef → Any
                                                  +
                                                3. + + +

                                                  + + final + def + + + ==(arg0: Any): Boolean + +

                                                  + + Permalink + + +
                                                  Definition Classes
                                                  AnyRef → Any
                                                  +
                                                4. + + +

                                                  + + + def + + + ManhattanDistanceMetric(x: Row, y: Row): Double + +

                                                  + + Permalink + + +
                                                  Definition Classes
                                                  BaseDistanceCalculator
                                                  +
                                                5. + + +

                                                  + + final + def + + + asInstanceOf[T0]: T0 + +

                                                  + + Permalink + + +
                                                  Definition Classes
                                                  Any
                                                  +
                                                6. + + +

                                                  + + + def + + + clone(): AnyRef + +

                                                  + + Permalink + + +
                                                  Attributes
                                                  protected[java.lang]
                                                  Definition Classes
                                                  AnyRef
                                                  Annotations
                                                  + @throws( + + ... + ) + +
                                                  +
                                                7. + + +

                                                  + + final + def + + + eq(arg0: AnyRef): Boolean + +

                                                  + + Permalink + + +
                                                  Definition Classes
                                                  AnyRef
                                                  +
                                                8. + + +

                                                  + + + def + + + equals(arg0: Any): Boolean + +

                                                  + + Permalink + + +
                                                  Definition Classes
                                                  AnyRef → Any
                                                  +
                                                9. + + +

                                                  + + + def + + + finalize(): Unit + +

                                                  + + Permalink + + +
                                                  Attributes
                                                  protected[java.lang]
                                                  Definition Classes
                                                  AnyRef
                                                  Annotations
                                                  + @throws( + + classOf[java.lang.Throwable] + ) + +
                                                  +
                                                10. + + +

                                                  + + final + def + + + getClass(): Class[_] + +

                                                  + + Permalink + + +
                                                  Definition Classes
                                                  AnyRef → Any
                                                  +
                                                11. + + +

                                                  + + + def + + + hashCode(): Int + +

                                                  + + Permalink + + +
                                                  Definition Classes
                                                  AnyRef → Any
                                                  +
                                                12. + + +

                                                  + + final + def + + + isInstanceOf[T0]: Boolean + +

                                                  + + Permalink + + +
                                                  Definition Classes
                                                  Any
                                                  +
                                                13. + + +

                                                  + + + val + + + logger: Logger + +

                                                  + + Permalink + + +
                                                  Attributes
                                                  protected
                                                  Definition Classes
                                                  Logging
                                                  +
                                                14. + + +

                                                  + + final + def + + + ne(arg0: AnyRef): Boolean + +

                                                  + + Permalink + + +
                                                  Definition Classes
                                                  AnyRef
                                                  +
                                                15. + + +

                                                  + + final + def + + + notify(): Unit + +

                                                  + + Permalink + + +
                                                  Definition Classes
                                                  AnyRef
                                                  +
                                                16. + + +

                                                  + + final + def + + + notifyAll(): Unit + +

                                                  + + Permalink + + +
                                                  Definition Classes
                                                  AnyRef
                                                  +
                                                17. + + +

                                                  + + + def + + + operate(df: DataFrame): DataFrame + +

                                                  + + Permalink + + +

                                                  Operates LinearRegression.

                                                  Operates LinearRegression. +

                                                  df

                                                  Input dataframe

                                                  returns

                                                  DataFrame Output dataframe

                                                  Definition Classes
                                                  LinearRegressionOperator → BaseGenericOperator → BaseGenericMutantOperator
                                                  +
                                                18. + + +

                                                  + + + val + + + p: LinearRegressionInfo + +

                                                  + + Permalink + + + +
                                                19. + + +

                                                  + + + def + + + stop: Unit + +

                                                  + + Permalink + + +
                                                  Definition Classes
                                                  BaseGenericOperator → BaseGenericMutantOperator
                                                  +
                                                20. + + +

                                                  + + final + def + + + synchronized[T0](arg0: ⇒ T0): T0 + +

                                                  + + Permalink + + +
                                                  Definition Classes
                                                  AnyRef
                                                  +
                                                21. + + +

                                                  + + + def + + + toString(): String + +

                                                  + + Permalink + + +
                                                  Definition Classes
                                                  AnyRef → Any
                                                  +
                                                22. + + +

                                                  + + + def + + + validate(df: DataFrame): DataFrame + +

                                                  + + Permalink + + +

                                                  Validates LinearRegression info and dataframe schema info using following params.

                                                  Validates LinearRegression info and dataframe schema info using following params. +

                                                  Annotations
                                                  + @throws( + + classOf[KsbException] + ) + +
                                                  +
                                                23. + + +

                                                  + + final + def + + + wait(): Unit + +

                                                  + + Permalink + + +
                                                  Definition Classes
                                                  AnyRef
                                                  Annotations
                                                  + @throws( + + ... + ) + +
                                                  +
                                                24. + + +

                                                  + + final + def + + + wait(arg0: Long, arg1: Int): Unit + +

                                                  + + Permalink + + +
                                                  Definition Classes
                                                  AnyRef
                                                  Annotations
                                                  + @throws( + + ... + ) + +
                                                  +
                                                25. + + +

                                                  + + final + def + + + wait(arg0: Long): Unit + +

                                                  + + Permalink + + +
                                                  Definition Classes
                                                  AnyRef
                                                  Annotations
                                                  + @throws( + + ... + ) + +
                                                  +
                                                +
                                                + + + + +
                                                + +
                                                +
                                                +

                                                Inherited from BaseDistanceCalculator

                                                +
                                                +

                                                Inherited from BaseDataOperator[StreamOperatorInfo, DataFrame]

                                                +
                                                +

                                                Inherited from BaseGenericOperator[StreamOperatorInfo, DataFrame]

                                                +
                                                +

                                                Inherited from BaseGenericMutantOperator[StreamOperatorInfo, DataFrame, DataFrame]

                                                +
                                                +

                                                Inherited from BaseDoer

                                                +
                                                +

                                                Inherited from Logging

                                                +
                                                +

                                                Inherited from Serializable

                                                +
                                                +

                                                Inherited from Serializable

                                                +
                                                +

                                                Inherited from AnyRef

                                                +
                                                +

                                                Inherited from Any

                                                +
                                                + +
                                                + +
                                                +
                                                +

                                                Ungrouped

                                                + +
                                                +
                                                + +
                                                + +
                                                + + + + + + diff --git a/manual1903/api_reference/components/scaladocs/ksb/csle/component/operator/cleaning/MissingValueImputeOperator$.html b/manual1903/api_reference/components/scaladocs/ksb/csle/component/operator/cleaning/MissingValueImputeOperator$.html new file mode 100644 index 0000000000000000000000000000000000000000..66f6cba8972033abc34cb32a8bc6afebe0b8c170 --- /dev/null +++ b/manual1903/api_reference/components/scaladocs/ksb/csle/component/operator/cleaning/MissingValueImputeOperator$.html @@ -0,0 +1,505 @@ + + + + MissingValueImputeOperator - KSB COMPONENTS Scala App Project 1.0-SNAPSHOT API - ksb.csle.component.operator.cleaning.MissingValueImputeOperator + + + + + + + + + + + + + + + + + +

                                                + + + object + + + MissingValueImputeOperator extends Serializable + +

                                                + +
                                                + Linear Supertypes +
                                                Serializable, Serializable, AnyRef, Any
                                                +
                                                + + +
                                                +
                                                +
                                                + Ordering +
                                                  + +
                                                1. Alphabetic
                                                2. +
                                                3. By Inheritance
                                                4. +
                                                +
                                                +
                                                + Inherited
                                                +
                                                +
                                                  +
                                                1. MissingValueImputeOperator
                                                2. Serializable
                                                3. Serializable
                                                4. AnyRef
                                                5. Any
                                                6. +
                                                +
                                                + +
                                                  +
                                                1. Hide All
                                                2. +
                                                3. Show All
                                                4. +
                                                +
                                                +
                                                + Visibility +
                                                1. Public
                                                2. All
                                                +
                                                +
                                                + +
                                                +
                                                + + + + + + +
                                                +

                                                Value Members

                                                +
                                                1. + + +

                                                  + + final + def + + + !=(arg0: Any): Boolean + +

                                                  + + Permalink + + +
                                                  Definition Classes
                                                  AnyRef → Any
                                                  +
                                                2. + + +

                                                  + + final + def + + + ##(): Int + +

                                                  + + Permalink + + +
                                                  Definition Classes
                                                  AnyRef → Any
                                                  +
                                                3. + + +

                                                  + + final + def + + + ==(arg0: Any): Boolean + +

                                                  + + Permalink + + +
                                                  Definition Classes
                                                  AnyRef → Any
                                                  +
                                                4. + + +

                                                  + + + def + + + apply(o: StreamOperatorInfo): MissingValueImputeOperator + +

                                                  + + Permalink + + + +
                                                5. + + +

                                                  + + final + def + + + asInstanceOf[T0]: T0 + +

                                                  + + Permalink + + +
                                                  Definition Classes
                                                  Any
                                                  +
                                                6. + + +

                                                  + + + def + + + clone(): AnyRef + +

                                                  + + Permalink + + +
                                                  Attributes
                                                  protected[java.lang]
                                                  Definition Classes
                                                  AnyRef
                                                  Annotations
                                                  + @throws( + + ... + ) + +
                                                  +
                                                7. + + +

                                                  + + final + def + + + eq(arg0: AnyRef): Boolean + +

                                                  + + Permalink + + +
                                                  Definition Classes
                                                  AnyRef
                                                  +
                                                8. + + +

                                                  + + + def + + + equals(arg0: Any): Boolean + +

                                                  + + Permalink + + +
                                                  Definition Classes
                                                  AnyRef → Any
                                                  +
                                                9. + + +

                                                  + + + def + + + finalize(): Unit + +

                                                  + + Permalink + + +
                                                  Attributes
                                                  protected[java.lang]
                                                  Definition Classes
                                                  AnyRef
                                                  Annotations
                                                  + @throws( + + classOf[java.lang.Throwable] + ) + +
                                                  +
                                                10. + + +

                                                  + + final + def + + + getClass(): Class[_] + +

                                                  + + Permalink + + +
                                                  Definition Classes
                                                  AnyRef → Any
                                                  +
                                                11. + + +

                                                  + + + def + + + hashCode(): Int + +

                                                  + + Permalink + + +
                                                  Definition Classes
                                                  AnyRef → Any
                                                  +
                                                12. + + +

                                                  + + final + def + + + isInstanceOf[T0]: Boolean + +

                                                  + + Permalink + + +
                                                  Definition Classes
                                                  Any
                                                  +
                                                13. + + +

                                                  + + final + def + + + ne(arg0: AnyRef): Boolean + +

                                                  + + Permalink + + +
                                                  Definition Classes
                                                  AnyRef
                                                  +
                                                14. + + +

                                                  + + final + def + + + notify(): Unit + +

                                                  + + Permalink + + +
                                                  Definition Classes
                                                  AnyRef
                                                  +
                                                15. + + +

                                                  + + final + def + + + notifyAll(): Unit + +

                                                  + + Permalink + + +
                                                  Definition Classes
                                                  AnyRef
                                                  +
                                                16. + + +

                                                  + + final + def + + + synchronized[T0](arg0: ⇒ T0): T0 + +

                                                  + + Permalink + + +
                                                  Definition Classes
                                                  AnyRef
                                                  +
                                                17. + + +

                                                  + + + def + + + toString(): String + +

                                                  + + Permalink + + +
                                                  Definition Classes
                                                  AnyRef → Any
                                                  +
                                                18. + + +

                                                  + + final + def + + + wait(): Unit + +

                                                  + + Permalink + + +
                                                  Definition Classes
                                                  AnyRef
                                                  Annotations
                                                  + @throws( + + ... + ) + +
                                                  +
                                                19. + + +

                                                  + + final + def + + + wait(arg0: Long, arg1: Int): Unit + +

                                                  + + Permalink + + +
                                                  Definition Classes
                                                  AnyRef
                                                  Annotations
                                                  + @throws( + + ... + ) + +
                                                  +
                                                20. + + +

                                                  + + final + def + + + wait(arg0: Long): Unit + +

                                                  + + Permalink + + +
                                                  Definition Classes
                                                  AnyRef
                                                  Annotations
                                                  + @throws( + + ... + ) + +
                                                  +
                                                +
                                                + + + + +
                                                + +
                                                +
                                                +

                                                Inherited from Serializable

                                                +
                                                +

                                                Inherited from Serializable

                                                +
                                                +

                                                Inherited from AnyRef

                                                +
                                                +

                                                Inherited from Any

                                                +
                                                + +
                                                + +
                                                +
                                                +

                                                Ungrouped

                                                + +
                                                +
                                                + +
                                                + +
                                                + + + + + + diff --git a/manual1903/api_reference/components/scaladocs/ksb/csle/component/operator/cleaning/MissingValueImputeOperator.html b/manual1903/api_reference/components/scaladocs/ksb/csle/component/operator/cleaning/MissingValueImputeOperator.html new file mode 100644 index 0000000000000000000000000000000000000000..7e245502e71539aa969ff71b85302585334b3e65 --- /dev/null +++ b/manual1903/api_reference/components/scaladocs/ksb/csle/component/operator/cleaning/MissingValueImputeOperator.html @@ -0,0 +1,615 @@ + + + + MissingValueImputeOperator - KSB COMPONENTS Scala App Project 1.0-SNAPSHOT API - ksb.csle.component.operator.cleaning.MissingValueImputeOperator + + + + + + + + + + + + + + + + + +

                                                + + + class + + + MissingValueImputeOperator extends BaseDataOperator[StreamOperatorInfo, DataFrame] + +

                                                + +

                                                :: ApplicationDeveloperApi ::

                                                Operator that imputes the missing values of a given dataframe according to +the given condition. +

                                                + Linear Supertypes +
                                                BaseDataOperator[StreamOperatorInfo, DataFrame], BaseGenericOperator[StreamOperatorInfo, DataFrame], BaseGenericMutantOperator[StreamOperatorInfo, DataFrame, DataFrame], BaseDoer, Logging, Serializable, Serializable, AnyRef, Any
                                                +
                                                + + +
                                                +
                                                +
                                                + Ordering +
                                                  + +
                                                1. Alphabetic
                                                2. +
                                                3. By Inheritance
                                                4. +
                                                +
                                                +
                                                + Inherited
                                                +
                                                +
                                                  +
                                                1. MissingValueImputeOperator
                                                2. BaseDataOperator
                                                3. BaseGenericOperator
                                                4. BaseGenericMutantOperator
                                                5. BaseDoer
                                                6. Logging
                                                7. Serializable
                                                8. Serializable
                                                9. AnyRef
                                                10. Any
                                                11. +
                                                +
                                                + +
                                                  +
                                                1. Hide All
                                                2. +
                                                3. Show All
                                                4. +
                                                +
                                                +
                                                + Visibility +
                                                1. Public
                                                2. All
                                                +
                                                +
                                                + +
                                                +
                                                +
                                                +

                                                Instance Constructors

                                                +
                                                1. + + +

                                                  + + + new + + + MissingValueImputeOperator(o: StreamOperatorInfo) + +

                                                  + + Permalink + + +

                                                  o

                                                  Object that contains message + ksb.csle.common.proto.StreamOperatorProto.MissingValueImputationInfo + MissingValueImputationInfo contains attributes as follows:

                                                  • scope: Scope to apply a missing value imputation function. + Enum(SCOPE_ALL, SCOPE_SELECTED) (required)
                                                  • selectedColumnId: Column Ids to be selected (repeated)
                                                  • method: Method of MVI. Enum(IM, SPECIFIC_VALUE, MEDIAN, MEAN) (required)
                                                  • how: Drop condition. Enum(HOW_ANY, HOW_ALL) (required) + 'HOW_ANY': Rows containing any null values are dropped. + 'HOW_ALL': Rows only if every column is null are dropped.
                                                  • subParam: Option to fill a specific value {numeric, string} + (repeated)

                                                  MissingValueImputationInfo

                                                  message MissingValueImputationInfo {
                                                  +required Scope scope = 4 [default = SCOPE_SELECTED];
                                                  +repeated int32 selectedColumnId = 5;
                                                  +required Method method = 6 [default = SPECIFIC_VALUE];
                                                  +required How how = 7 [default = HOW_ANY]; // for IM
                                                  +repeated SubParameter subParam = 8 ; // for method SPECIFIC_VALUE
                                                  +enum Scope {
                                                  +  SCOPE_ALL = 0;
                                                  +  SCOPE_SELECTED = 1;
                                                  +}
                                                  +enum Method {
                                                  +  IM = 0;
                                                  +  SPECIFIC_VALUE = 1;
                                                  +  MEDIAN = 2;
                                                  +  MEAN = 3;
                                                  +}
                                                  +enum How {
                                                  +  HOW_ANY = 0;
                                                  +  HOW_ALL = 1;
                                                  +}
                                                  +}
                                                  +
                                                +
                                                + + + + + +
                                                +

                                                Value Members

                                                +
                                                1. + + +

                                                  + + final + def + + + !=(arg0: Any): Boolean + +

                                                  + + Permalink + + +
                                                  Definition Classes
                                                  AnyRef → Any
                                                  +
                                                2. + + +

                                                  + + final + def + + + ##(): Int + +

                                                  + + Permalink + + +
                                                  Definition Classes
                                                  AnyRef → Any
                                                  +
                                                3. + + +

                                                  + + final + def + + + ==(arg0: Any): Boolean + +

                                                  + + Permalink + + +
                                                  Definition Classes
                                                  AnyRef → Any
                                                  +
                                                4. + + +

                                                  + + final + def + + + asInstanceOf[T0]: T0 + +

                                                  + + Permalink + + +
                                                  Definition Classes
                                                  Any
                                                  +
                                                5. + + +

                                                  + + + def + + + clone(): AnyRef + +

                                                  + + Permalink + + +
                                                  Attributes
                                                  protected[java.lang]
                                                  Definition Classes
                                                  AnyRef
                                                  Annotations
                                                  + @throws( + + ... + ) + +
                                                  +
                                                6. + + +

                                                  + + final + def + + + eq(arg0: AnyRef): Boolean + +

                                                  + + Permalink + + +
                                                  Definition Classes
                                                  AnyRef
                                                  +
                                                7. + + +

                                                  + + + def + + + equals(arg0: Any): Boolean + +

                                                  + + Permalink + + +
                                                  Definition Classes
                                                  AnyRef → Any
                                                  +
                                                8. + + +

                                                  + + + def + + + finalize(): Unit + +

                                                  + + Permalink + + +
                                                  Attributes
                                                  protected[java.lang]
                                                  Definition Classes
                                                  AnyRef
                                                  Annotations
                                                  + @throws( + + classOf[java.lang.Throwable] + ) + +
                                                  +
                                                9. + + +

                                                  + + final + def + + + getClass(): Class[_] + +

                                                  + + Permalink + + +
                                                  Definition Classes
                                                  AnyRef → Any
                                                  +
                                                10. + + +

                                                  + + + def + + + hashCode(): Int + +

                                                  + + Permalink + + +
                                                  Definition Classes
                                                  AnyRef → Any
                                                  +
                                                11. + + +

                                                  + + final + def + + + isInstanceOf[T0]: Boolean + +

                                                  + + Permalink + + +
                                                  Definition Classes
                                                  Any
                                                  +
                                                12. + + +

                                                  + + + val + + + logger: Logger + +

                                                  + + Permalink + + +
                                                  Attributes
                                                  protected
                                                  Definition Classes
                                                  Logging
                                                  +
                                                13. + + +

                                                  + + final + def + + + ne(arg0: AnyRef): Boolean + +

                                                  + + Permalink + + +
                                                  Definition Classes
                                                  AnyRef
                                                  +
                                                14. + + +

                                                  + + final + def + + + notify(): Unit + +

                                                  + + Permalink + + +
                                                  Definition Classes
                                                  AnyRef
                                                  +
                                                15. + + +

                                                  + + final + def + + + notifyAll(): Unit + +

                                                  + + Permalink + + +
                                                  Definition Classes
                                                  AnyRef
                                                  +
                                                16. + + +

                                                  + + + def + + + operate(df: DataFrame): DataFrame + +

                                                  + + Permalink + + +

                                                  Operates the missing value imputation.

                                                  Operates the missing value imputation. +

                                                  df

                                                  Input dataframe

                                                  returns

                                                  DataFrame Output dataframe

                                                  Definition Classes
                                                  MissingValueImputeOperator → BaseGenericOperator → BaseGenericMutantOperator
                                                  +
                                                17. + + +

                                                  + + + val + + + p: MissingValueImputationInfo + +

                                                  + + Permalink + + + +
                                                18. + + +

                                                  + + + def + + + stop: Unit + +

                                                  + + Permalink + + +
                                                  Definition Classes
                                                  BaseGenericOperator → BaseGenericMutantOperator
                                                  +
                                                19. + + +

                                                  + + final + def + + + synchronized[T0](arg0: ⇒ T0): T0 + +

                                                  + + Permalink + + +
                                                  Definition Classes
                                                  AnyRef
                                                  +
                                                20. + + +

                                                  + + + def + + + toString(): String + +

                                                  + + Permalink + + +
                                                  Definition Classes
                                                  AnyRef → Any
                                                  +
                                                21. + + +

                                                  + + final + def + + + wait(): Unit + +

                                                  + + Permalink + + +
                                                  Definition Classes
                                                  AnyRef
                                                  Annotations
                                                  + @throws( + + ... + ) + +
                                                  +
                                                22. + + +

                                                  + + final + def + + + wait(arg0: Long, arg1: Int): Unit + +

                                                  + + Permalink + + +
                                                  Definition Classes
                                                  AnyRef
                                                  Annotations
                                                  + @throws( + + ... + ) + +
                                                  +
                                                23. + + +

                                                  + + final + def + + + wait(arg0: Long): Unit + +

                                                  + + Permalink + + +
                                                  Definition Classes
                                                  AnyRef
                                                  Annotations
                                                  + @throws( + + ... + ) + +
                                                  +
                                                +
                                                + + + + +
                                                + +
                                                +
                                                +

                                                Inherited from BaseDataOperator[StreamOperatorInfo, DataFrame]

                                                +
                                                +

                                                Inherited from BaseGenericOperator[StreamOperatorInfo, DataFrame]

                                                +
                                                +

                                                Inherited from BaseGenericMutantOperator[StreamOperatorInfo, DataFrame, DataFrame]

                                                +
                                                +

                                                Inherited from BaseDoer

                                                +
                                                +

                                                Inherited from Logging

                                                +
                                                +

                                                Inherited from Serializable

                                                +
                                                +

                                                Inherited from Serializable

                                                +
                                                +

                                                Inherited from AnyRef

                                                +
                                                +

                                                Inherited from Any

                                                +
                                                + +
                                                + +
                                                +
                                                +

                                                Ungrouped

                                                + +
                                                +
                                                + +
                                                + +
                                                + + + + + + diff --git a/manual1903/api_reference/components/scaladocs/ksb/csle/component/operator/cleaning/package.html b/manual1903/api_reference/components/scaladocs/ksb/csle/component/operator/cleaning/package.html new file mode 100644 index 0000000000000000000000000000000000000000..012dcb3083d3644f1be98da30ad00b9d5bc50316 --- /dev/null +++ b/manual1903/api_reference/components/scaladocs/ksb/csle/component/operator/cleaning/package.html @@ -0,0 +1,476 @@ + + + + cleaning - KSB COMPONENTS Scala App Project 1.0-SNAPSHOT API - ksb.csle.component.operator.cleaning + + + + + + + + + + + + + + + +
                                                + Package +

                                                ksb.csle.component.operator

                                                +

                                                cleaning

                                                + + Permalink + + +
                                                + +

                                                + + + package + + + cleaning + +

                                                + +
                                                + + +
                                                +
                                                + + +
                                                + Visibility +
                                                1. Public
                                                2. All
                                                +
                                                +
                                                + +
                                                +
                                                + + +
                                                +

                                                Type Members

                                                +
                                                1. + + +

                                                  + + + class + + + AgglomerativeClusteringOperator extends BaseDataOperator[StreamOperatorInfo, DataFrame] with BaseDistanceCalculator + +

                                                  + + Permalink + + +

                                                  :: ApplicationDeveloperApi ::

                                                  :: ApplicationDeveloperApi ::

                                                  Operator that performs Agglomerative clustering. +It aims to make a hierarchy of clusters in bottom-up approach. +Each observation begins with its own cluster and pairs of clusters are +combined as the hierarchy goes up. +

                                                  +
                                                2. + + +

                                                  + + + class + + + DBScanOperator extends BaseDataOperator[StreamOperatorInfo, DataFrame] with BaseDistanceCalculator + +

                                                  + + Permalink + + +

                                                  :: ApplicationDeveloperApi ::

                                                  :: ApplicationDeveloperApi ::

                                                  Operator that performs DBSCAN(Density-based spatial clustering of +applications with noise). +It groups points with nearby neighobors and makes as outlies points that are +in low density region. +

                                                  +
                                                3. + + +

                                                  + + + class + + + EMClusteringOperator extends BaseDataOperator[StreamOperatorInfo, DataFrame] with BaseDistanceCalculator + +

                                                  + + Permalink + + +

                                                  :: ApplicationDeveloperApi ::

                                                  :: ApplicationDeveloperApi ::

                                                  Operator that performs EM(Expectation–Maximization) Clustering. +It performs two steps iteratively to partition into k clusters. +Expectation step calculates the expected value of the log likelihood +function and maximization step finds the parameter maximizing the expected +log-likelihood. +

                                                  +
                                                4. + + +

                                                  + + + class + + + EqualDepthBinningOperator extends BaseDataOperator[StreamOperatorInfo, DataFrame] + +

                                                  + + Permalink + + +

                                                  :: ApplicationDeveloperApi ::

                                                  :: ApplicationDeveloperApi ::

                                                  Operator that makes equal-depth-binning. +It divides the range into N intervals, each containing approximately same +number of samples. +

                                                  +
                                                5. + + +

                                                  + + + class + + + EqualWidthBinningOperator extends BaseDataOperator[StreamOperatorInfo, DataFrame] + +

                                                  + + Permalink + + +

                                                  :: ApplicationDeveloperApi ::

                                                  :: ApplicationDeveloperApi ::

                                                  Operator that makes equal-width-binning. +It divides the range into N intervals of equal size(uniform grid). +

                                                  +
                                                6. + + +

                                                  + + + class + + + GeneralizedLinearRegressionOperator extends BaseDataOperator[StreamOperatorInfo, DataFrame] with BaseDistanceCalculator + +

                                                  + + Permalink + + +

                                                  :: ApplicationDeveloperApi ::

                                                  :: ApplicationDeveloperApi ::

                                                  Operator that performs Generalized Linear Regression. +It generalizes linear regression by associating linear model with response +variables that have error distribution models through link function and the +magnitude of variance. +

                                                  +
                                                7. + + +

                                                  + + + class + + + KMeansOperator extends BaseDataOperator[StreamOperatorInfo, DataFrame] + +

                                                  + + Permalink + + +

                                                  :: ApplicationDeveloperApi ::

                                                  :: ApplicationDeveloperApi ::

                                                  Operator that performs K-Means clustering. +It partitions n rows into k clusters in which each row belongs to the +cluster with the nearest mean. +

                                                  +
                                                8. + + +

                                                  + + + class + + + KMedoidsOperator extends BaseDataOperator[StreamOperatorInfo, DataFrame] with BaseDistanceCalculator + +

                                                  + + Permalink + + +

                                                  :: ApplicationDeveloperApi ::

                                                  :: ApplicationDeveloperApi ::

                                                  Operator that performs KMedoids clustering. It partitions the data set of +n rows into k clusters. It chooses data points as centers and uses the +Manhattan Norm to calculate distance between data points. +

                                                  +
                                                9. + + +

                                                  + + + class + + + LinearRegressionOperator extends BaseDataOperator[StreamOperatorInfo, DataFrame] with BaseDistanceCalculator + +

                                                  + + Permalink + + +

                                                  :: ApplicationDeveloperApi ::

                                                  :: ApplicationDeveloperApi ::

                                                  Operator that performs Linear Regression. It aims to model the relationship +between two variables by fitting a linear equation to observed data. +

                                                  +
                                                10. + + +

                                                  + + + class + + + MissingValueImputeOperator extends BaseDataOperator[StreamOperatorInfo, DataFrame] + +

                                                  + + Permalink + + +

                                                  :: ApplicationDeveloperApi ::

                                                  :: ApplicationDeveloperApi ::

                                                  Operator that imputes the missing values of a given dataframe according to +the given condition. +

                                                  +
                                                +
                                                + + + +
                                                +

                                                Value Members

                                                +
                                                1. + + +

                                                  + + + object + + + AgglomerativeClusteringOperator extends Serializable + +

                                                  + + Permalink + + + +
                                                2. + + +

                                                  + + + object + + + DBScanOperator extends Serializable + +

                                                  + + Permalink + + + +
                                                3. + + +

                                                  + + + object + + + EMClusteringOperator extends Serializable + +

                                                  + + Permalink + + + +
                                                4. + + +

                                                  + + + object + + + EqualDepthBinningOperator extends Serializable + +

                                                  + + Permalink + + + +
                                                5. + + +

                                                  + + + object + + + EqualWidthBinningOperator extends Serializable + +

                                                  + + Permalink + + + +
                                                6. + + +

                                                  + + + object + + + GeneralizedLinearRegressionOperator extends Serializable + +

                                                  + + Permalink + + + +
                                                7. + + +

                                                  + + + object + + + KMeansOperator extends Serializable + +

                                                  + + Permalink + + + +
                                                8. + + +

                                                  + + + object + + + KMedoidsOperator extends Serializable + +

                                                  + + Permalink + + + +
                                                9. + + +

                                                  + + + object + + + LinearRegressionOperator extends Serializable + +

                                                  + + Permalink + + + +
                                                10. + + +

                                                  + + + object + + + MissingValueImputeOperator extends Serializable + +

                                                  + + Permalink + + + +
                                                +
                                                + + + + +
                                                + +
                                                + + +
                                                + +
                                                +
                                                +

                                                Ungrouped

                                                + +
                                                +
                                                + +
                                                + +
                                                + + + + + + diff --git a/manual1903/api_reference/components/scaladocs/ksb/csle/component/operator/common/BaseDistanceCalculator.html b/manual1903/api_reference/components/scaladocs/ksb/csle/component/operator/common/BaseDistanceCalculator.html new file mode 100644 index 0000000000000000000000000000000000000000..10bf8a51225fd5d18cf257a62111c76a79b3b1ff --- /dev/null +++ b/manual1903/api_reference/components/scaladocs/ksb/csle/component/operator/common/BaseDistanceCalculator.html @@ -0,0 +1,502 @@ + + + + BaseDistanceCalculator - KSB COMPONENTS Scala App Project 1.0-SNAPSHOT API - ksb.csle.component.operator.common.BaseDistanceCalculator + + + + + + + + + + + + + + + +
                                                + Trait +

                                                ksb.csle.component.operator.common

                                                +

                                                BaseDistanceCalculator

                                                Related Doc: + package common +

                                                + + Permalink + + +
                                                + +

                                                + + + trait + + + BaseDistanceCalculator extends AnyRef + +

                                                + + + + +
                                                +
                                                +
                                                + Ordering +
                                                  + +
                                                1. Alphabetic
                                                2. +
                                                3. By Inheritance
                                                4. +
                                                +
                                                +
                                                + Inherited
                                                +
                                                +
                                                  +
                                                1. BaseDistanceCalculator
                                                2. AnyRef
                                                3. Any
                                                4. +
                                                +
                                                + +
                                                  +
                                                1. Hide All
                                                2. +
                                                3. Show All
                                                4. +
                                                +
                                                +
                                                + Visibility +
                                                1. Public
                                                2. All
                                                +
                                                +
                                                + +
                                                +
                                                + + + + + + +
                                                +

                                                Value Members

                                                +
                                                1. + + +

                                                  + + final + def + + + !=(arg0: Any): Boolean + +

                                                  + + Permalink + + +
                                                  Definition Classes
                                                  AnyRef → Any
                                                  +
                                                2. + + +

                                                  + + final + def + + + ##(): Int + +

                                                  + + Permalink + + +
                                                  Definition Classes
                                                  AnyRef → Any
                                                  +
                                                3. + + +

                                                  + + final + def + + + ==(arg0: Any): Boolean + +

                                                  + + Permalink + + +
                                                  Definition Classes
                                                  AnyRef → Any
                                                  +
                                                4. + + +

                                                  + + + def + + + ManhattanDistanceMetric(x: Row, y: Row): Double + +

                                                  + + Permalink + + + +
                                                5. + + +

                                                  + + final + def + + + asInstanceOf[T0]: T0 + +

                                                  + + Permalink + + +
                                                  Definition Classes
                                                  Any
                                                  +
                                                6. + + +

                                                  + + + def + + + clone(): AnyRef + +

                                                  + + Permalink + + +
                                                  Attributes
                                                  protected[java.lang]
                                                  Definition Classes
                                                  AnyRef
                                                  Annotations
                                                  + @throws( + + ... + ) + +
                                                  +
                                                7. + + +

                                                  + + final + def + + + eq(arg0: AnyRef): Boolean + +

                                                  + + Permalink + + +
                                                  Definition Classes
                                                  AnyRef
                                                  +
                                                8. + + +

                                                  + + + def + + + equals(arg0: Any): Boolean + +

                                                  + + Permalink + + +
                                                  Definition Classes
                                                  AnyRef → Any
                                                  +
                                                9. + + +

                                                  + + + def + + + finalize(): Unit + +

                                                  + + Permalink + + +
                                                  Attributes
                                                  protected[java.lang]
                                                  Definition Classes
                                                  AnyRef
                                                  Annotations
                                                  + @throws( + + classOf[java.lang.Throwable] + ) + +
                                                  +
                                                10. + + +

                                                  + + final + def + + + getClass(): Class[_] + +

                                                  + + Permalink + + +
                                                  Definition Classes
                                                  AnyRef → Any
                                                  +
                                                11. + + +

                                                  + + + def + + + hashCode(): Int + +

                                                  + + Permalink + + +
                                                  Definition Classes
                                                  AnyRef → Any
                                                  +
                                                12. + + +

                                                  + + final + def + + + isInstanceOf[T0]: Boolean + +

                                                  + + Permalink + + +
                                                  Definition Classes
                                                  Any
                                                  +
                                                13. + + +

                                                  + + final + def + + + ne(arg0: AnyRef): Boolean + +

                                                  + + Permalink + + +
                                                  Definition Classes
                                                  AnyRef
                                                  +
                                                14. + + +

                                                  + + final + def + + + notify(): Unit + +

                                                  + + Permalink + + +
                                                  Definition Classes
                                                  AnyRef
                                                  +
                                                15. + + +

                                                  + + final + def + + + notifyAll(): Unit + +

                                                  + + Permalink + + +
                                                  Definition Classes
                                                  AnyRef
                                                  +
                                                16. + + +

                                                  + + final + def + + + synchronized[T0](arg0: ⇒ T0): T0 + +

                                                  + + Permalink + + +
                                                  Definition Classes
                                                  AnyRef
                                                  +
                                                17. + + +

                                                  + + + def + + + toString(): String + +

                                                  + + Permalink + + +
                                                  Definition Classes
                                                  AnyRef → Any
                                                  +
                                                18. + + +

                                                  + + final + def + + + wait(): Unit + +

                                                  + + Permalink + + +
                                                  Definition Classes
                                                  AnyRef
                                                  Annotations
                                                  + @throws( + + ... + ) + +
                                                  +
                                                19. + + +

                                                  + + final + def + + + wait(arg0: Long, arg1: Int): Unit + +

                                                  + + Permalink + + +
                                                  Definition Classes
                                                  AnyRef
                                                  Annotations
                                                  + @throws( + + ... + ) + +
                                                  +
                                                20. + + +

                                                  + + final + def + + + wait(arg0: Long): Unit + +

                                                  + + Permalink + + +
                                                  Definition Classes
                                                  AnyRef
                                                  Annotations
                                                  + @throws( + + ... + ) + +
                                                  +
                                                +
                                                + + + + +
                                                + +
                                                +
                                                +

                                                Inherited from AnyRef

                                                +
                                                +

                                                Inherited from Any

                                                +
                                                + +
                                                + +
                                                +
                                                +

                                                Ungrouped

                                                + +
                                                +
                                                + +
                                                + +
                                                + + + + + + diff --git a/manual1903/api_reference/components/scaladocs/ksb/csle/component/operator/common/package.html b/manual1903/api_reference/components/scaladocs/ksb/csle/component/operator/common/package.html new file mode 100644 index 0000000000000000000000000000000000000000..94657954b9e9dcdde8ae2b869671b51330c83abf --- /dev/null +++ b/manual1903/api_reference/components/scaladocs/ksb/csle/component/operator/common/package.html @@ -0,0 +1,118 @@ + + + + common - KSB COMPONENTS Scala App Project 1.0-SNAPSHOT API - ksb.csle.component.operator.common + + + + + + + + + + + + + + + +
                                                + Package +

                                                ksb.csle.component.operator

                                                +

                                                common

                                                + + Permalink + + +
                                                + +

                                                + + + package + + + common + +

                                                + +
                                                + + +
                                                +
                                                + + +
                                                + Visibility +
                                                1. Public
                                                2. All
                                                +
                                                +
                                                + +
                                                +
                                                + + +
                                                +

                                                Type Members

                                                +
                                                1. + + +

                                                  + + + trait + + + BaseDistanceCalculator extends AnyRef + +

                                                  + + Permalink + + + +
                                                +
                                                + + + + + + + + +
                                                + +
                                                + + +
                                                + +
                                                +
                                                +

                                                Ungrouped

                                                + +
                                                +
                                                + +
                                                + +
                                                + + + + + + diff --git a/manual1903/api_reference/components/scaladocs/ksb/csle/component/operator/integration/ConcatAndReshapeOperator.html b/manual1903/api_reference/components/scaladocs/ksb/csle/component/operator/integration/ConcatAndReshapeOperator.html new file mode 100644 index 0000000000000000000000000000000000000000..3149c472e24a3670a4a0770743d1072b8df91abd --- /dev/null +++ b/manual1903/api_reference/components/scaladocs/ksb/csle/component/operator/integration/ConcatAndReshapeOperator.html @@ -0,0 +1,601 @@ + + + + ConcatAndReshapeOperator - KSB COMPONENTS Scala App Project 1.0-SNAPSHOT API - ksb.csle.component.operator.integration.ConcatAndReshapeOperator + + + + + + + + + + + + + + + +
                                                + Class +

                                                ksb.csle.component.operator.integration

                                                +

                                                ConcatAndReshapeOperator

                                                Related Doc: + package integration +

                                                + + Permalink + + +
                                                + +

                                                + + + class + + + ConcatAndReshapeOperator extends BaseDataOperator[StreamOperatorInfo, DataFrame] + +

                                                + +

                                                :: ApplicationDeveloperApi ::

                                                Operator that reshapes with row concatenation in the given dataframe. +

                                                + Linear Supertypes +
                                                BaseDataOperator[StreamOperatorInfo, DataFrame], BaseGenericOperator[StreamOperatorInfo, DataFrame], BaseGenericMutantOperator[StreamOperatorInfo, DataFrame, DataFrame], BaseDoer, Logging, Serializable, Serializable, AnyRef, Any
                                                +
                                                + + +
                                                +
                                                +
                                                + Ordering +
                                                  + +
                                                1. Alphabetic
                                                2. +
                                                3. By Inheritance
                                                4. +
                                                +
                                                +
                                                + Inherited
                                                +
                                                +
                                                  +
                                                1. ConcatAndReshapeOperator
                                                2. BaseDataOperator
                                                3. BaseGenericOperator
                                                4. BaseGenericMutantOperator
                                                5. BaseDoer
                                                6. Logging
                                                7. Serializable
                                                8. Serializable
                                                9. AnyRef
                                                10. Any
                                                11. +
                                                +
                                                + +
                                                  +
                                                1. Hide All
                                                2. +
                                                3. Show All
                                                4. +
                                                +
                                                +
                                                + Visibility +
                                                1. Public
                                                2. All
                                                +
                                                +
                                                + +
                                                +
                                                +
                                                +

                                                Instance Constructors

                                                +
                                                1. + + +

                                                  + + + new + + + ConcatAndReshapeOperator(o: StreamOperatorInfo) + +

                                                  + + Permalink + + +

                                                  o

                                                  Object that contains message + ksb.csle.common.proto.StreamOperatorProto.ReshapeWithConcatInfo + ReshapeWithConcatInfo contains attributes as follows:

                                                  • selectedColumnId: Column ids which should be used for concatenation + (repeated)
                                                  • delimiter: Delimiter to concatenate the given columns (required)
                                                  • valueColName: Final column name after concatenation (required)
                                                  • condition: Method to aggregate Enum(KEEP_ORIGINAL_AND_RESULT, + REPLACE_SELECTED_WITH_RESULT, REFINEMENT_RESULT_ONLY) + (required)

                                                  ReshapeWithConcatInfo

                                                  message ReshapeWithConcatInfo {
                                                  +repeated int32 selectedColumnId = 4;
                                                  +required string delimiter = 5;
                                                  +required string valueColName = 6;
                                                  +required Condition condition = 7 [default = KEEP_ORIGINAL_AND_RESULT];
                                                  +enum Condition {
                                                  +  KEEP_ORIGINAL_AND_RESULT = 0;
                                                  +  REPLACE_SELECTED_WITH_RESULT = 1;
                                                  +  REFINEMENT_RESULT_ONLY = 2;
                                                  +}
                                                  +}
                                                  +
                                                +
                                                + + + + + +
                                                +

                                                Value Members

                                                +
                                                1. + + +

                                                  + + final + def + + + !=(arg0: Any): Boolean + +

                                                  + + Permalink + + +
                                                  Definition Classes
                                                  AnyRef → Any
                                                  +
                                                2. + + +

                                                  + + final + def + + + ##(): Int + +

                                                  + + Permalink + + +
                                                  Definition Classes
                                                  AnyRef → Any
                                                  +
                                                3. + + +

                                                  + + final + def + + + ==(arg0: Any): Boolean + +

                                                  + + Permalink + + +
                                                  Definition Classes
                                                  AnyRef → Any
                                                  +
                                                4. + + +

                                                  + + final + def + + + asInstanceOf[T0]: T0 + +

                                                  + + Permalink + + +
                                                  Definition Classes
                                                  Any
                                                  +
                                                5. + + +

                                                  + + + def + + + clone(): AnyRef + +

                                                  + + Permalink + + +
                                                  Attributes
                                                  protected[java.lang]
                                                  Definition Classes
                                                  AnyRef
                                                  Annotations
                                                  + @throws( + + ... + ) + +
                                                  +
                                                6. + + +

                                                  + + final + def + + + eq(arg0: AnyRef): Boolean + +

                                                  + + Permalink + + +
                                                  Definition Classes
                                                  AnyRef
                                                  +
                                                7. + + +

                                                  + + + def + + + equals(arg0: Any): Boolean + +

                                                  + + Permalink + + +
                                                  Definition Classes
                                                  AnyRef → Any
                                                  +
                                                8. + + +

                                                  + + + def + + + finalize(): Unit + +

                                                  + + Permalink + + +
                                                  Attributes
                                                  protected[java.lang]
                                                  Definition Classes
                                                  AnyRef
                                                  Annotations
                                                  + @throws( + + classOf[java.lang.Throwable] + ) + +
                                                  +
                                                9. + + +

                                                  + + final + def + + + getClass(): Class[_] + +

                                                  + + Permalink + + +
                                                  Definition Classes
                                                  AnyRef → Any
                                                  +
                                                10. + + +

                                                  + + + def + + + hashCode(): Int + +

                                                  + + Permalink + + +
                                                  Definition Classes
                                                  AnyRef → Any
                                                  +
                                                11. + + +

                                                  + + final + def + + + isInstanceOf[T0]: Boolean + +

                                                  + + Permalink + + +
                                                  Definition Classes
                                                  Any
                                                  +
                                                12. + + +

                                                  + + + val + + + logger: Logger + +

                                                  + + Permalink + + +
                                                  Attributes
                                                  protected
                                                  Definition Classes
                                                  Logging
                                                  +
                                                13. + + +

                                                  + + final + def + + + ne(arg0: AnyRef): Boolean + +

                                                  + + Permalink + + +
                                                  Definition Classes
                                                  AnyRef
                                                  +
                                                14. + + +

                                                  + + final + def + + + notify(): Unit + +

                                                  + + Permalink + + +
                                                  Definition Classes
                                                  AnyRef
                                                  +
                                                15. + + +

                                                  + + final + def + + + notifyAll(): Unit + +

                                                  + + Permalink + + +
                                                  Definition Classes
                                                  AnyRef
                                                  +
                                                16. + + +

                                                  + + + def + + + operate(df: DataFrame): DataFrame + +

                                                  + + Permalink + + +

                                                  Operates reshapeWithConcat.

                                                  Operates reshapeWithConcat. +

                                                  df

                                                  Input dataframe

                                                  returns

                                                  DataFrame Output dataframe

                                                  Definition Classes
                                                  ConcatAndReshapeOperator → BaseGenericOperator → BaseGenericMutantOperator
                                                  +
                                                17. + + +

                                                  + + + val + + + p: ReshapeWithConcatInfo + +

                                                  + + Permalink + + + +
                                                18. + + +

                                                  + + + def + + + stop: Unit + +

                                                  + + Permalink + + +
                                                  Definition Classes
                                                  BaseGenericOperator → BaseGenericMutantOperator
                                                  +
                                                19. + + +

                                                  + + final + def + + + synchronized[T0](arg0: ⇒ T0): T0 + +

                                                  + + Permalink + + +
                                                  Definition Classes
                                                  AnyRef
                                                  +
                                                20. + + +

                                                  + + + def + + + toString(): String + +

                                                  + + Permalink + + +
                                                  Definition Classes
                                                  AnyRef → Any
                                                  +
                                                21. + + +

                                                  + + final + def + + + wait(): Unit + +

                                                  + + Permalink + + +
                                                  Definition Classes
                                                  AnyRef
                                                  Annotations
                                                  + @throws( + + ... + ) + +
                                                  +
                                                22. + + +

                                                  + + final + def + + + wait(arg0: Long, arg1: Int): Unit + +

                                                  + + Permalink + + +
                                                  Definition Classes
                                                  AnyRef
                                                  Annotations
                                                  + @throws( + + ... + ) + +
                                                  +
                                                23. + + +

                                                  + + final + def + + + wait(arg0: Long): Unit + +

                                                  + + Permalink + + +
                                                  Definition Classes
                                                  AnyRef
                                                  Annotations
                                                  + @throws( + + ... + ) + +
                                                  +
                                                +
                                                + + + + +
                                                + +
                                                +
                                                +

                                                Inherited from BaseDataOperator[StreamOperatorInfo, DataFrame]

                                                +
                                                +

                                                Inherited from BaseGenericOperator[StreamOperatorInfo, DataFrame]

                                                +
                                                +

                                                Inherited from BaseGenericMutantOperator[StreamOperatorInfo, DataFrame, DataFrame]

                                                +
                                                +

                                                Inherited from BaseDoer

                                                +
                                                +

                                                Inherited from Logging

                                                +
                                                +

                                                Inherited from Serializable

                                                +
                                                +

                                                Inherited from Serializable

                                                +
                                                +

                                                Inherited from AnyRef

                                                +
                                                +

                                                Inherited from Any

                                                +
                                                + +
                                                + +
                                                +
                                                +

                                                Ungrouped

                                                + +
                                                +
                                                + +
                                                + +
                                                + + + + + + diff --git a/manual1903/api_reference/components/scaladocs/ksb/csle/component/operator/integration/GroupByOperator$.html b/manual1903/api_reference/components/scaladocs/ksb/csle/component/operator/integration/GroupByOperator$.html new file mode 100644 index 0000000000000000000000000000000000000000..9e02c2398722d1da2dffdda8ba50aa6b180d1eb0 --- /dev/null +++ b/manual1903/api_reference/components/scaladocs/ksb/csle/component/operator/integration/GroupByOperator$.html @@ -0,0 +1,505 @@ + + + + GroupByOperator - KSB COMPONENTS Scala App Project 1.0-SNAPSHOT API - ksb.csle.component.operator.integration.GroupByOperator + + + + + + + + + + + + + + + + + +

                                                + + + object + + + GroupByOperator extends Serializable + +

                                                + +
                                                + Linear Supertypes +
                                                Serializable, Serializable, AnyRef, Any
                                                +
                                                + + +
                                                +
                                                +
                                                + Ordering +
                                                  + +
                                                1. Alphabetic
                                                2. +
                                                3. By Inheritance
                                                4. +
                                                +
                                                +
                                                + Inherited
                                                +
                                                +
                                                  +
                                                1. GroupByOperator
                                                2. Serializable
                                                3. Serializable
                                                4. AnyRef
                                                5. Any
                                                6. +
                                                +
                                                + +
                                                  +
                                                1. Hide All
                                                2. +
                                                3. Show All
                                                4. +
                                                +
                                                +
                                                + Visibility +
                                                1. Public
                                                2. All
                                                +
                                                +
                                                + +
                                                +
                                                + + + + + + +
                                                +

                                                Value Members

                                                +
                                                1. + + +

                                                  + + final + def + + + !=(arg0: Any): Boolean + +

                                                  + + Permalink + + +
                                                  Definition Classes
                                                  AnyRef → Any
                                                  +
                                                2. + + +

                                                  + + final + def + + + ##(): Int + +

                                                  + + Permalink + + +
                                                  Definition Classes
                                                  AnyRef → Any
                                                  +
                                                3. + + +

                                                  + + final + def + + + ==(arg0: Any): Boolean + +

                                                  + + Permalink + + +
                                                  Definition Classes
                                                  AnyRef → Any
                                                  +
                                                4. + + +

                                                  + + + def + + + apply(o: StreamOperatorInfo): GroupByOperator + +

                                                  + + Permalink + + + +
                                                5. + + +

                                                  + + final + def + + + asInstanceOf[T0]: T0 + +

                                                  + + Permalink + + +
                                                  Definition Classes
                                                  Any
                                                  +
                                                6. + + +

                                                  + + + def + + + clone(): AnyRef + +

                                                  + + Permalink + + +
                                                  Attributes
                                                  protected[java.lang]
                                                  Definition Classes
                                                  AnyRef
                                                  Annotations
                                                  + @throws( + + ... + ) + +
                                                  +
                                                7. + + +

                                                  + + final + def + + + eq(arg0: AnyRef): Boolean + +

                                                  + + Permalink + + +
                                                  Definition Classes
                                                  AnyRef
                                                  +
                                                8. + + +

                                                  + + + def + + + equals(arg0: Any): Boolean + +

                                                  + + Permalink + + +
                                                  Definition Classes
                                                  AnyRef → Any
                                                  +
                                                9. + + +

                                                  + + + def + + + finalize(): Unit + +

                                                  + + Permalink + + +
                                                  Attributes
                                                  protected[java.lang]
                                                  Definition Classes
                                                  AnyRef
                                                  Annotations
                                                  + @throws( + + classOf[java.lang.Throwable] + ) + +
                                                  +
                                                10. + + +

                                                  + + final + def + + + getClass(): Class[_] + +

                                                  + + Permalink + + +
                                                  Definition Classes
                                                  AnyRef → Any
                                                  +
                                                11. + + +

                                                  + + + def + + + hashCode(): Int + +

                                                  + + Permalink + + +
                                                  Definition Classes
                                                  AnyRef → Any
                                                  +
                                                12. + + +

                                                  + + final + def + + + isInstanceOf[T0]: Boolean + +

                                                  + + Permalink + + +
                                                  Definition Classes
                                                  Any
                                                  +
                                                13. + + +

                                                  + + final + def + + + ne(arg0: AnyRef): Boolean + +

                                                  + + Permalink + + +
                                                  Definition Classes
                                                  AnyRef
                                                  +
                                                14. + + +

                                                  + + final + def + + + notify(): Unit + +

                                                  + + Permalink + + +
                                                  Definition Classes
                                                  AnyRef
                                                  +
                                                15. + + +

                                                  + + final + def + + + notifyAll(): Unit + +

                                                  + + Permalink + + +
                                                  Definition Classes
                                                  AnyRef
                                                  +
                                                16. + + +

                                                  + + final + def + + + synchronized[T0](arg0: ⇒ T0): T0 + +

                                                  + + Permalink + + +
                                                  Definition Classes
                                                  AnyRef
                                                  +
                                                17. + + +

                                                  + + + def + + + toString(): String + +

                                                  + + Permalink + + +
                                                  Definition Classes
                                                  AnyRef → Any
                                                  +
                                                18. + + +

                                                  + + final + def + + + wait(): Unit + +

                                                  + + Permalink + + +
                                                  Definition Classes
                                                  AnyRef
                                                  Annotations
                                                  + @throws( + + ... + ) + +
                                                  +
                                                19. + + +

                                                  + + final + def + + + wait(arg0: Long, arg1: Int): Unit + +

                                                  + + Permalink + + +
                                                  Definition Classes
                                                  AnyRef
                                                  Annotations
                                                  + @throws( + + ... + ) + +
                                                  +
                                                20. + + +

                                                  + + final + def + + + wait(arg0: Long): Unit + +

                                                  + + Permalink + + +
                                                  Definition Classes
                                                  AnyRef
                                                  Annotations
                                                  + @throws( + + ... + ) + +
                                                  +
                                                +
                                                + + + + +
                                                + +
                                                +
                                                +

                                                Inherited from Serializable

                                                +
                                                +

                                                Inherited from Serializable

                                                +
                                                +

                                                Inherited from AnyRef

                                                +
                                                +

                                                Inherited from Any

                                                +
                                                + +
                                                + +
                                                +
                                                +

                                                Ungrouped

                                                + +
                                                +
                                                + +
                                                + +
                                                + + + + + + diff --git a/manual1903/api_reference/components/scaladocs/ksb/csle/component/operator/integration/GroupByOperator.html b/manual1903/api_reference/components/scaladocs/ksb/csle/component/operator/integration/GroupByOperator.html new file mode 100644 index 0000000000000000000000000000000000000000..c61b5105e47772e5e8747dfc58849fa9556f08b0 --- /dev/null +++ b/manual1903/api_reference/components/scaladocs/ksb/csle/component/operator/integration/GroupByOperator.html @@ -0,0 +1,599 @@ + + + + GroupByOperator - KSB COMPONENTS Scala App Project 1.0-SNAPSHOT API - ksb.csle.component.operator.integration.GroupByOperator + + + + + + + + + + + + + + + + + +

                                                + + + class + + + GroupByOperator extends BaseDataOperator[StreamOperatorInfo, DataFrame] + +

                                                + +

                                                :: ApplicationDeveloperApi ::

                                                Operator that creates dataframe by aggregating records +according to a given group condition. +

                                                + Linear Supertypes +
                                                BaseDataOperator[StreamOperatorInfo, DataFrame], BaseGenericOperator[StreamOperatorInfo, DataFrame], BaseGenericMutantOperator[StreamOperatorInfo, DataFrame, DataFrame], BaseDoer, Logging, Serializable, Serializable, AnyRef, Any
                                                +
                                                + + +
                                                +
                                                +
                                                + Ordering +
                                                  + +
                                                1. Alphabetic
                                                2. +
                                                3. By Inheritance
                                                4. +
                                                +
                                                +
                                                + Inherited
                                                +
                                                +
                                                  +
                                                1. GroupByOperator
                                                2. BaseDataOperator
                                                3. BaseGenericOperator
                                                4. BaseGenericMutantOperator
                                                5. BaseDoer
                                                6. Logging
                                                7. Serializable
                                                8. Serializable
                                                9. AnyRef
                                                10. Any
                                                11. +
                                                +
                                                + +
                                                  +
                                                1. Hide All
                                                2. +
                                                3. Show All
                                                4. +
                                                +
                                                +
                                                + Visibility +
                                                1. Public
                                                2. All
                                                +
                                                +
                                                + +
                                                +
                                                +
                                                +

                                                Instance Constructors

                                                +
                                                1. + + +

                                                  + + + new + + + GroupByOperator(o: StreamOperatorInfo) + +

                                                  + + Permalink + + +

                                                  o

                                                  Object that contains message + ksb.csle.common.proto.StreamOperatorProto.GroupbyInfo + GroupbyInfo contains attributes as follows:

                                                  • keyColName: Column name to be used as a key column (required)
                                                  • valColName: Column name to be used as a value column (required)
                                                  • groupby: method for aggregation. Enum(SUM, COUNT), (required)

                                                  GroupbyInfo

                                                  message GroupbyInfo {
                                                  +required string keyColName = 1;
                                                  +required string valColName = 2;
                                                  +enum GroupbyOp {
                                                  +     SUM = 0;
                                                  +     COUNT = 1;
                                                  +    }
                                                  +    required GroupbyOp groupby = 3;
                                                  +}
                                                  +
                                                +
                                                + + + + + +
                                                +

                                                Value Members

                                                +
                                                1. + + +

                                                  + + final + def + + + !=(arg0: Any): Boolean + +

                                                  + + Permalink + + +
                                                  Definition Classes
                                                  AnyRef → Any
                                                  +
                                                2. + + +

                                                  + + final + def + + + ##(): Int + +

                                                  + + Permalink + + +
                                                  Definition Classes
                                                  AnyRef → Any
                                                  +
                                                3. + + +

                                                  + + final + def + + + ==(arg0: Any): Boolean + +

                                                  + + Permalink + + +
                                                  Definition Classes
                                                  AnyRef → Any
                                                  +
                                                4. + + +

                                                  + + final + def + + + asInstanceOf[T0]: T0 + +

                                                  + + Permalink + + +
                                                  Definition Classes
                                                  Any
                                                  +
                                                5. + + +

                                                  + + + def + + + clone(): AnyRef + +

                                                  + + Permalink + + +
                                                  Attributes
                                                  protected[java.lang]
                                                  Definition Classes
                                                  AnyRef
                                                  Annotations
                                                  + @throws( + + ... + ) + +
                                                  +
                                                6. + + +

                                                  + + final + def + + + eq(arg0: AnyRef): Boolean + +

                                                  + + Permalink + + +
                                                  Definition Classes
                                                  AnyRef
                                                  +
                                                7. + + +

                                                  + + + def + + + equals(arg0: Any): Boolean + +

                                                  + + Permalink + + +
                                                  Definition Classes
                                                  AnyRef → Any
                                                  +
                                                8. + + +

                                                  + + + def + + + finalize(): Unit + +

                                                  + + Permalink + + +
                                                  Attributes
                                                  protected[java.lang]
                                                  Definition Classes
                                                  AnyRef
                                                  Annotations
                                                  + @throws( + + classOf[java.lang.Throwable] + ) + +
                                                  +
                                                9. + + +

                                                  + + final + def + + + getClass(): Class[_] + +

                                                  + + Permalink + + +
                                                  Definition Classes
                                                  AnyRef → Any
                                                  +
                                                10. + + +

                                                  + + + def + + + hashCode(): Int + +

                                                  + + Permalink + + +
                                                  Definition Classes
                                                  AnyRef → Any
                                                  +
                                                11. + + +

                                                  + + final + def + + + isInstanceOf[T0]: Boolean + +

                                                  + + Permalink + + +
                                                  Definition Classes
                                                  Any
                                                  +
                                                12. + + +

                                                  + + + val + + + logger: Logger + +

                                                  + + Permalink + + +
                                                  Attributes
                                                  protected
                                                  Definition Classes
                                                  Logging
                                                  +
                                                13. + + +

                                                  + + final + def + + + ne(arg0: AnyRef): Boolean + +

                                                  + + Permalink + + +
                                                  Definition Classes
                                                  AnyRef
                                                  +
                                                14. + + +

                                                  + + final + def + + + notify(): Unit + +

                                                  + + Permalink + + +
                                                  Definition Classes
                                                  AnyRef
                                                  +
                                                15. + + +

                                                  + + final + def + + + notifyAll(): Unit + +

                                                  + + Permalink + + +
                                                  Definition Classes
                                                  AnyRef
                                                  +
                                                16. + + +

                                                  + + + def + + + operate(df: DataFrame): DataFrame + +

                                                  + + Permalink + + +

                                                  Operates GroupBy.

                                                  Operates GroupBy. +

                                                  df

                                                  Input dataframe

                                                  returns

                                                  DataFrame Output dataframe

                                                  Definition Classes
                                                  GroupByOperator → BaseGenericOperator → BaseGenericMutantOperator
                                                  +
                                                17. + + +

                                                  + + + val + + + p: GroupbyInfo + +

                                                  + + Permalink + + + +
                                                18. + + +

                                                  + + + def + + + stop: Unit + +

                                                  + + Permalink + + +
                                                  Definition Classes
                                                  BaseGenericOperator → BaseGenericMutantOperator
                                                  +
                                                19. + + +

                                                  + + final + def + + + synchronized[T0](arg0: ⇒ T0): T0 + +

                                                  + + Permalink + + +
                                                  Definition Classes
                                                  AnyRef
                                                  +
                                                20. + + +

                                                  + + + def + + + toString(): String + +

                                                  + + Permalink + + +
                                                  Definition Classes
                                                  AnyRef → Any
                                                  +
                                                21. + + +

                                                  + + final + def + + + wait(): Unit + +

                                                  + + Permalink + + +
                                                  Definition Classes
                                                  AnyRef
                                                  Annotations
                                                  + @throws( + + ... + ) + +
                                                  +
                                                22. + + +

                                                  + + final + def + + + wait(arg0: Long, arg1: Int): Unit + +

                                                  + + Permalink + + +
                                                  Definition Classes
                                                  AnyRef
                                                  Annotations
                                                  + @throws( + + ... + ) + +
                                                  +
                                                23. + + +

                                                  + + final + def + + + wait(arg0: Long): Unit + +

                                                  + + Permalink + + +
                                                  Definition Classes
                                                  AnyRef
                                                  Annotations
                                                  + @throws( + + ... + ) + +
                                                  +
                                                +
                                                + + + + +
                                                + +
                                                +
                                                +

                                                Inherited from BaseDataOperator[StreamOperatorInfo, DataFrame]

                                                +
                                                +

                                                Inherited from BaseGenericOperator[StreamOperatorInfo, DataFrame]

                                                +
                                                +

                                                Inherited from BaseGenericMutantOperator[StreamOperatorInfo, DataFrame, DataFrame]

                                                +
                                                +

                                                Inherited from BaseDoer

                                                +
                                                +

                                                Inherited from Logging

                                                +
                                                +

                                                Inherited from Serializable

                                                +
                                                +

                                                Inherited from Serializable

                                                +
                                                +

                                                Inherited from AnyRef

                                                +
                                                +

                                                Inherited from Any

                                                +
                                                + +
                                                + +
                                                +
                                                +

                                                Ungrouped

                                                + +
                                                +
                                                + +
                                                + +
                                                + + + + + + diff --git a/manual1903/api_reference/components/scaladocs/ksb/csle/component/operator/integration/OrderByOperator$.html b/manual1903/api_reference/components/scaladocs/ksb/csle/component/operator/integration/OrderByOperator$.html new file mode 100644 index 0000000000000000000000000000000000000000..3e3cee6ac91cbec5030b6887ace46f80073c43b1 --- /dev/null +++ b/manual1903/api_reference/components/scaladocs/ksb/csle/component/operator/integration/OrderByOperator$.html @@ -0,0 +1,505 @@ + + + + OrderByOperator - KSB COMPONENTS Scala App Project 1.0-SNAPSHOT API - ksb.csle.component.operator.integration.OrderByOperator + + + + + + + + + + + + + + + + + +

                                                + + + object + + + OrderByOperator extends Serializable + +

                                                + +
                                                + Linear Supertypes +
                                                Serializable, Serializable, AnyRef, Any
                                                +
                                                + + +
                                                +
                                                +
                                                + Ordering +
                                                  + +
                                                1. Alphabetic
                                                2. +
                                                3. By Inheritance
                                                4. +
                                                +
                                                +
                                                + Inherited
                                                +
                                                +
                                                  +
                                                1. OrderByOperator
                                                2. Serializable
                                                3. Serializable
                                                4. AnyRef
                                                5. Any
                                                6. +
                                                +
                                                + +
                                                  +
                                                1. Hide All
                                                2. +
                                                3. Show All
                                                4. +
                                                +
                                                +
                                                + Visibility +
                                                1. Public
                                                2. All
                                                +
                                                +
                                                + +
                                                +
                                                + + + + + + +
                                                +

                                                Value Members

                                                +
                                                1. + + +

                                                  + + final + def + + + !=(arg0: Any): Boolean + +

                                                  + + Permalink + + +
                                                  Definition Classes
                                                  AnyRef → Any
                                                  +
                                                2. + + +

                                                  + + final + def + + + ##(): Int + +

                                                  + + Permalink + + +
                                                  Definition Classes
                                                  AnyRef → Any
                                                  +
                                                3. + + +

                                                  + + final + def + + + ==(arg0: Any): Boolean + +

                                                  + + Permalink + + +
                                                  Definition Classes
                                                  AnyRef → Any
                                                  +
                                                4. + + +

                                                  + + + def + + + apply(o: StreamOperatorInfo): OrderByOperator + +

                                                  + + Permalink + + + +
                                                5. + + +

                                                  + + final + def + + + asInstanceOf[T0]: T0 + +

                                                  + + Permalink + + +
                                                  Definition Classes
                                                  Any
                                                  +
                                                6. + + +

                                                  + + + def + + + clone(): AnyRef + +

                                                  + + Permalink + + +
                                                  Attributes
                                                  protected[java.lang]
                                                  Definition Classes
                                                  AnyRef
                                                  Annotations
                                                  + @throws( + + ... + ) + +
                                                  +
                                                7. + + +

                                                  + + final + def + + + eq(arg0: AnyRef): Boolean + +

                                                  + + Permalink + + +
                                                  Definition Classes
                                                  AnyRef
                                                  +
                                                8. + + +

                                                  + + + def + + + equals(arg0: Any): Boolean + +

                                                  + + Permalink + + +
                                                  Definition Classes
                                                  AnyRef → Any
                                                  +
                                                9. + + +

                                                  + + + def + + + finalize(): Unit + +

                                                  + + Permalink + + +
                                                  Attributes
                                                  protected[java.lang]
                                                  Definition Classes
                                                  AnyRef
                                                  Annotations
                                                  + @throws( + + classOf[java.lang.Throwable] + ) + +
                                                  +
                                                10. + + +

                                                  + + final + def + + + getClass(): Class[_] + +

                                                  + + Permalink + + +
                                                  Definition Classes
                                                  AnyRef → Any
                                                  +
                                                11. + + +

                                                  + + + def + + + hashCode(): Int + +

                                                  + + Permalink + + +
                                                  Definition Classes
                                                  AnyRef → Any
                                                  +
                                                12. + + +

                                                  + + final + def + + + isInstanceOf[T0]: Boolean + +

                                                  + + Permalink + + +
                                                  Definition Classes
                                                  Any
                                                  +
                                                13. + + +

                                                  + + final + def + + + ne(arg0: AnyRef): Boolean + +

                                                  + + Permalink + + +
                                                  Definition Classes
                                                  AnyRef
                                                  +
                                                14. + + +

                                                  + + final + def + + + notify(): Unit + +

                                                  + + Permalink + + +
                                                  Definition Classes
                                                  AnyRef
                                                  +
                                                15. + + +

                                                  + + final + def + + + notifyAll(): Unit + +

                                                  + + Permalink + + +
                                                  Definition Classes
                                                  AnyRef
                                                  +
                                                16. + + +

                                                  + + final + def + + + synchronized[T0](arg0: ⇒ T0): T0 + +

                                                  + + Permalink + + +
                                                  Definition Classes
                                                  AnyRef
                                                  +
                                                17. + + +

                                                  + + + def + + + toString(): String + +

                                                  + + Permalink + + +
                                                  Definition Classes
                                                  AnyRef → Any
                                                  +
                                                18. + + +

                                                  + + final + def + + + wait(): Unit + +

                                                  + + Permalink + + +
                                                  Definition Classes
                                                  AnyRef
                                                  Annotations
                                                  + @throws( + + ... + ) + +
                                                  +
                                                19. + + +

                                                  + + final + def + + + wait(arg0: Long, arg1: Int): Unit + +

                                                  + + Permalink + + +
                                                  Definition Classes
                                                  AnyRef
                                                  Annotations
                                                  + @throws( + + ... + ) + +
                                                  +
                                                20. + + +

                                                  + + final + def + + + wait(arg0: Long): Unit + +

                                                  + + Permalink + + +
                                                  Definition Classes
                                                  AnyRef
                                                  Annotations
                                                  + @throws( + + ... + ) + +
                                                  +
                                                +
                                                + + + + +
                                                + +
                                                +
                                                +

                                                Inherited from Serializable

                                                +
                                                +

                                                Inherited from Serializable

                                                +
                                                +

                                                Inherited from AnyRef

                                                +
                                                +

                                                Inherited from Any

                                                +
                                                + +
                                                + +
                                                +
                                                +

                                                Ungrouped

                                                + +
                                                +
                                                + +
                                                + +
                                                + + + + + + diff --git a/manual1903/api_reference/components/scaladocs/ksb/csle/component/operator/integration/OrderByOperator.html b/manual1903/api_reference/components/scaladocs/ksb/csle/component/operator/integration/OrderByOperator.html new file mode 100644 index 0000000000000000000000000000000000000000..45ab9e98ab8f61d8ecd2341aea1ec225ad689582 --- /dev/null +++ b/manual1903/api_reference/components/scaladocs/ksb/csle/component/operator/integration/OrderByOperator.html @@ -0,0 +1,598 @@ + + + + OrderByOperator - KSB COMPONENTS Scala App Project 1.0-SNAPSHOT API - ksb.csle.component.operator.integration.OrderByOperator + + + + + + + + + + + + + + + + + +

                                                + + + class + + + OrderByOperator extends BaseDataOperator[StreamOperatorInfo, DataFrame] + +

                                                + +

                                                :: ApplicationDeveloperApi ::

                                                Operator that performs to order by a specific column using a given condition. +

                                                + Linear Supertypes +
                                                BaseDataOperator[StreamOperatorInfo, DataFrame], BaseGenericOperator[StreamOperatorInfo, DataFrame], BaseGenericMutantOperator[StreamOperatorInfo, DataFrame, DataFrame], BaseDoer, Logging, Serializable, Serializable, AnyRef, Any
                                                +
                                                + + +
                                                +
                                                +
                                                + Ordering +
                                                  + +
                                                1. Alphabetic
                                                2. +
                                                3. By Inheritance
                                                4. +
                                                +
                                                +
                                                + Inherited
                                                +
                                                +
                                                  +
                                                1. OrderByOperator
                                                2. BaseDataOperator
                                                3. BaseGenericOperator
                                                4. BaseGenericMutantOperator
                                                5. BaseDoer
                                                6. Logging
                                                7. Serializable
                                                8. Serializable
                                                9. AnyRef
                                                10. Any
                                                11. +
                                                +
                                                + +
                                                  +
                                                1. Hide All
                                                2. +
                                                3. Show All
                                                4. +
                                                +
                                                +
                                                + Visibility +
                                                1. Public
                                                2. All
                                                +
                                                +
                                                + +
                                                +
                                                +
                                                +

                                                Instance Constructors

                                                +
                                                1. + + +

                                                  + + + new + + + OrderByOperator(o: StreamOperatorInfo) + +

                                                  + + Permalink + + +

                                                  o

                                                  Object that contains message + ksb.csle.common.proto.StreamOperatorProto.OrderByColumnInfo + OrderByColumnInfo contains attributes as follows:

                                                  • selectedColumnId: Column which should be used for sorting (required)
                                                  • method: Direction of sorting (ascending, descending). Enum(ASC, + DESC) (required)

                                                  OrderByColumnInfo

                                                  message OrderByColumnInfo {
                                                  +required int32 selectedColumnId = 4;
                                                  +required Method method = 5 [default = ASC];
                                                  +enum Method {
                                                  +  ASC = 0;
                                                  +  DESC = 1;
                                                  +}
                                                  +}
                                                  +
                                                +
                                                + + + + + +
                                                +

                                                Value Members

                                                +
                                                1. + + +

                                                  + + final + def + + + !=(arg0: Any): Boolean + +

                                                  + + Permalink + + +
                                                  Definition Classes
                                                  AnyRef → Any
                                                  +
                                                2. + + +

                                                  + + final + def + + + ##(): Int + +

                                                  + + Permalink + + +
                                                  Definition Classes
                                                  AnyRef → Any
                                                  +
                                                3. + + +

                                                  + + final + def + + + ==(arg0: Any): Boolean + +

                                                  + + Permalink + + +
                                                  Definition Classes
                                                  AnyRef → Any
                                                  +
                                                4. + + +

                                                  + + final + def + + + asInstanceOf[T0]: T0 + +

                                                  + + Permalink + + +
                                                  Definition Classes
                                                  Any
                                                  +
                                                5. + + +

                                                  + + + def + + + clone(): AnyRef + +

                                                  + + Permalink + + +
                                                  Attributes
                                                  protected[java.lang]
                                                  Definition Classes
                                                  AnyRef
                                                  Annotations
                                                  + @throws( + + ... + ) + +
                                                  +
                                                6. + + +

                                                  + + final + def + + + eq(arg0: AnyRef): Boolean + +

                                                  + + Permalink + + +
                                                  Definition Classes
                                                  AnyRef
                                                  +
                                                7. + + +

                                                  + + + def + + + equals(arg0: Any): Boolean + +

                                                  + + Permalink + + +
                                                  Definition Classes
                                                  AnyRef → Any
                                                  +
                                                8. + + +

                                                  + + + def + + + finalize(): Unit + +

                                                  + + Permalink + + +
                                                  Attributes
                                                  protected[java.lang]
                                                  Definition Classes
                                                  AnyRef
                                                  Annotations
                                                  + @throws( + + classOf[java.lang.Throwable] + ) + +
                                                  +
                                                9. + + +

                                                  + + final + def + + + getClass(): Class[_] + +

                                                  + + Permalink + + +
                                                  Definition Classes
                                                  AnyRef → Any
                                                  +
                                                10. + + +

                                                  + + + def + + + hashCode(): Int + +

                                                  + + Permalink + + +
                                                  Definition Classes
                                                  AnyRef → Any
                                                  +
                                                11. + + +

                                                  + + final + def + + + isInstanceOf[T0]: Boolean + +

                                                  + + Permalink + + +
                                                  Definition Classes
                                                  Any
                                                  +
                                                12. + + +

                                                  + + + val + + + logger: Logger + +

                                                  + + Permalink + + +
                                                  Attributes
                                                  protected
                                                  Definition Classes
                                                  Logging
                                                  +
                                                13. + + +

                                                  + + final + def + + + ne(arg0: AnyRef): Boolean + +

                                                  + + Permalink + + +
                                                  Definition Classes
                                                  AnyRef
                                                  +
                                                14. + + +

                                                  + + final + def + + + notify(): Unit + +

                                                  + + Permalink + + +
                                                  Definition Classes
                                                  AnyRef
                                                  +
                                                15. + + +

                                                  + + final + def + + + notifyAll(): Unit + +

                                                  + + Permalink + + +
                                                  Definition Classes
                                                  AnyRef
                                                  +
                                                16. + + +

                                                  + + + def + + + operate(df: DataFrame): DataFrame + +

                                                  + + Permalink + + +

                                                  Operates OrderByColumn.

                                                  Operates OrderByColumn. +

                                                  df

                                                  Input dataframe

                                                  returns

                                                  DataFrame Output dataframe

                                                  Definition Classes
                                                  OrderByOperator → BaseGenericOperator → BaseGenericMutantOperator
                                                  +
                                                17. + + +

                                                  + + + val + + + p: OrderByColumnInfo + +

                                                  + + Permalink + + + +
                                                18. + + +

                                                  + + + def + + + stop: Unit + +

                                                  + + Permalink + + +
                                                  Definition Classes
                                                  BaseGenericOperator → BaseGenericMutantOperator
                                                  +
                                                19. + + +

                                                  + + final + def + + + synchronized[T0](arg0: ⇒ T0): T0 + +

                                                  + + Permalink + + +
                                                  Definition Classes
                                                  AnyRef
                                                  +
                                                20. + + +

                                                  + + + def + + + toString(): String + +

                                                  + + Permalink + + +
                                                  Definition Classes
                                                  AnyRef → Any
                                                  +
                                                21. + + +

                                                  + + final + def + + + wait(): Unit + +

                                                  + + Permalink + + +
                                                  Definition Classes
                                                  AnyRef
                                                  Annotations
                                                  + @throws( + + ... + ) + +
                                                  +
                                                22. + + +

                                                  + + final + def + + + wait(arg0: Long, arg1: Int): Unit + +

                                                  + + Permalink + + +
                                                  Definition Classes
                                                  AnyRef
                                                  Annotations
                                                  + @throws( + + ... + ) + +
                                                  +
                                                23. + + +

                                                  + + final + def + + + wait(arg0: Long): Unit + +

                                                  + + Permalink + + +
                                                  Definition Classes
                                                  AnyRef
                                                  Annotations
                                                  + @throws( + + ... + ) + +
                                                  +
                                                +
                                                + + + + +
                                                + +
                                                +
                                                +

                                                Inherited from BaseDataOperator[StreamOperatorInfo, DataFrame]

                                                +
                                                +

                                                Inherited from BaseGenericOperator[StreamOperatorInfo, DataFrame]

                                                +
                                                +

                                                Inherited from BaseGenericMutantOperator[StreamOperatorInfo, DataFrame, DataFrame]

                                                +
                                                +

                                                Inherited from BaseDoer

                                                +
                                                +

                                                Inherited from Logging

                                                +
                                                +

                                                Inherited from Serializable

                                                +
                                                +

                                                Inherited from Serializable

                                                +
                                                +

                                                Inherited from AnyRef

                                                +
                                                +

                                                Inherited from Any

                                                +
                                                + +
                                                + +
                                                +
                                                +

                                                Ungrouped

                                                + +
                                                +
                                                + +
                                                + +
                                                + + + + + + diff --git a/manual1903/api_reference/components/scaladocs/ksb/csle/component/operator/integration/ReshapeWithConcat$.html b/manual1903/api_reference/components/scaladocs/ksb/csle/component/operator/integration/ReshapeWithConcat$.html new file mode 100644 index 0000000000000000000000000000000000000000..79a9721483a1233a37db5bf7ff3500b77a380459 --- /dev/null +++ b/manual1903/api_reference/components/scaladocs/ksb/csle/component/operator/integration/ReshapeWithConcat$.html @@ -0,0 +1,499 @@ + + + + ReshapeWithConcat - KSB COMPONENTS Scala App Project 1.0-SNAPSHOT API - ksb.csle.component.operator.integration.ReshapeWithConcat + + + + + + + + + + + + + + + +
                                                + Object +

                                                ksb.csle.component.operator.integration

                                                +

                                                ReshapeWithConcat

                                                Related Doc: + package integration +

                                                + + Permalink + + +
                                                + +

                                                + + + object + + + ReshapeWithConcat + +

                                                + +
                                                + Linear Supertypes +
                                                AnyRef, Any
                                                +
                                                + + +
                                                +
                                                +
                                                + Ordering +
                                                  + +
                                                1. Alphabetic
                                                2. +
                                                3. By Inheritance
                                                4. +
                                                +
                                                +
                                                + Inherited
                                                +
                                                +
                                                  +
                                                1. ReshapeWithConcat
                                                2. AnyRef
                                                3. Any
                                                4. +
                                                +
                                                + +
                                                  +
                                                1. Hide All
                                                2. +
                                                3. Show All
                                                4. +
                                                +
                                                +
                                                + Visibility +
                                                1. Public
                                                2. All
                                                +
                                                +
                                                + +
                                                +
                                                + + + + + + +
                                                +

                                                Value Members

                                                +
                                                1. + + +

                                                  + + final + def + + + !=(arg0: Any): Boolean + +

                                                  + + Permalink + + +
                                                  Definition Classes
                                                  AnyRef → Any
                                                  +
                                                2. + + +

                                                  + + final + def + + + ##(): Int + +

                                                  + + Permalink + + +
                                                  Definition Classes
                                                  AnyRef → Any
                                                  +
                                                3. + + +

                                                  + + final + def + + + ==(arg0: Any): Boolean + +

                                                  + + Permalink + + +
                                                  Definition Classes
                                                  AnyRef → Any
                                                  +
                                                4. + + +

                                                  + + + def + + + apply(o: StreamOperatorInfo): ConcatAndReshapeOperator + +

                                                  + + Permalink + + + +
                                                5. + + +

                                                  + + final + def + + + asInstanceOf[T0]: T0 + +

                                                  + + Permalink + + +
                                                  Definition Classes
                                                  Any
                                                  +
                                                6. + + +

                                                  + + + def + + + clone(): AnyRef + +

                                                  + + Permalink + + +
                                                  Attributes
                                                  protected[java.lang]
                                                  Definition Classes
                                                  AnyRef
                                                  Annotations
                                                  + @throws( + + ... + ) + +
                                                  +
                                                7. + + +

                                                  + + final + def + + + eq(arg0: AnyRef): Boolean + +

                                                  + + Permalink + + +
                                                  Definition Classes
                                                  AnyRef
                                                  +
                                                8. + + +

                                                  + + + def + + + equals(arg0: Any): Boolean + +

                                                  + + Permalink + + +
                                                  Definition Classes
                                                  AnyRef → Any
                                                  +
                                                9. + + +

                                                  + + + def + + + finalize(): Unit + +

                                                  + + Permalink + + +
                                                  Attributes
                                                  protected[java.lang]
                                                  Definition Classes
                                                  AnyRef
                                                  Annotations
                                                  + @throws( + + classOf[java.lang.Throwable] + ) + +
                                                  +
                                                10. + + +

                                                  + + final + def + + + getClass(): Class[_] + +

                                                  + + Permalink + + +
                                                  Definition Classes
                                                  AnyRef → Any
                                                  +
                                                11. + + +

                                                  + + + def + + + hashCode(): Int + +

                                                  + + Permalink + + +
                                                  Definition Classes
                                                  AnyRef → Any
                                                  +
                                                12. + + +

                                                  + + final + def + + + isInstanceOf[T0]: Boolean + +

                                                  + + Permalink + + +
                                                  Definition Classes
                                                  Any
                                                  +
                                                13. + + +

                                                  + + final + def + + + ne(arg0: AnyRef): Boolean + +

                                                  + + Permalink + + +
                                                  Definition Classes
                                                  AnyRef
                                                  +
                                                14. + + +

                                                  + + final + def + + + notify(): Unit + +

                                                  + + Permalink + + +
                                                  Definition Classes
                                                  AnyRef
                                                  +
                                                15. + + +

                                                  + + final + def + + + notifyAll(): Unit + +

                                                  + + Permalink + + +
                                                  Definition Classes
                                                  AnyRef
                                                  +
                                                16. + + +

                                                  + + final + def + + + synchronized[T0](arg0: ⇒ T0): T0 + +

                                                  + + Permalink + + +
                                                  Definition Classes
                                                  AnyRef
                                                  +
                                                17. + + +

                                                  + + + def + + + toString(): String + +

                                                  + + Permalink + + +
                                                  Definition Classes
                                                  AnyRef → Any
                                                  +
                                                18. + + +

                                                  + + final + def + + + wait(): Unit + +

                                                  + + Permalink + + +
                                                  Definition Classes
                                                  AnyRef
                                                  Annotations
                                                  + @throws( + + ... + ) + +
                                                  +
                                                19. + + +

                                                  + + final + def + + + wait(arg0: Long, arg1: Int): Unit + +

                                                  + + Permalink + + +
                                                  Definition Classes
                                                  AnyRef
                                                  Annotations
                                                  + @throws( + + ... + ) + +
                                                  +
                                                20. + + +

                                                  + + final + def + + + wait(arg0: Long): Unit + +

                                                  + + Permalink + + +
                                                  Definition Classes
                                                  AnyRef
                                                  Annotations
                                                  + @throws( + + ... + ) + +
                                                  +
                                                +
                                                + + + + +
                                                + +
                                                +
                                                +

                                                Inherited from AnyRef

                                                +
                                                +

                                                Inherited from Any

                                                +
                                                + +
                                                + +
                                                +
                                                +

                                                Ungrouped

                                                + +
                                                +
                                                + +
                                                + +
                                                + + + + + + diff --git a/manual1903/api_reference/components/scaladocs/ksb/csle/component/operator/integration/TimeIndexAddOperator$.html b/manual1903/api_reference/components/scaladocs/ksb/csle/component/operator/integration/TimeIndexAddOperator$.html new file mode 100644 index 0000000000000000000000000000000000000000..4b7fa1aef7cfd2bd5fcfe971744142d3e06c1415 --- /dev/null +++ b/manual1903/api_reference/components/scaladocs/ksb/csle/component/operator/integration/TimeIndexAddOperator$.html @@ -0,0 +1,505 @@ + + + + TimeIndexAddOperator - KSB COMPONENTS Scala App Project 1.0-SNAPSHOT API - ksb.csle.component.operator.integration.TimeIndexAddOperator + + + + + + + + + + + + + + + + + +

                                                + + + object + + + TimeIndexAddOperator extends Serializable + +

                                                + +
                                                + Linear Supertypes +
                                                Serializable, Serializable, AnyRef, Any
                                                +
                                                + + +
                                                +
                                                +
                                                + Ordering +
                                                  + +
                                                1. Alphabetic
                                                2. +
                                                3. By Inheritance
                                                4. +
                                                +
                                                +
                                                + Inherited
                                                +
                                                +
                                                  +
                                                1. TimeIndexAddOperator
                                                2. Serializable
                                                3. Serializable
                                                4. AnyRef
                                                5. Any
                                                6. +
                                                +
                                                + +
                                                  +
                                                1. Hide All
                                                2. +
                                                3. Show All
                                                4. +
                                                +
                                                +
                                                + Visibility +
                                                1. Public
                                                2. All
                                                +
                                                +
                                                + +
                                                +
                                                + + + + + + +
                                                +

                                                Value Members

                                                +
                                                1. + + +

                                                  + + final + def + + + !=(arg0: Any): Boolean + +

                                                  + + Permalink + + +
                                                  Definition Classes
                                                  AnyRef → Any
                                                  +
                                                2. + + +

                                                  + + final + def + + + ##(): Int + +

                                                  + + Permalink + + +
                                                  Definition Classes
                                                  AnyRef → Any
                                                  +
                                                3. + + +

                                                  + + final + def + + + ==(arg0: Any): Boolean + +

                                                  + + Permalink + + +
                                                  Definition Classes
                                                  AnyRef → Any
                                                  +
                                                4. + + +

                                                  + + + def + + + apply(o: StreamOperatorInfo): TimeIndexAddOperator + +

                                                  + + Permalink + + + +
                                                5. + + +

                                                  + + final + def + + + asInstanceOf[T0]: T0 + +

                                                  + + Permalink + + +
                                                  Definition Classes
                                                  Any
                                                  +
                                                6. + + +

                                                  + + + def + + + clone(): AnyRef + +

                                                  + + Permalink + + +
                                                  Attributes
                                                  protected[java.lang]
                                                  Definition Classes
                                                  AnyRef
                                                  Annotations
                                                  + @throws( + + ... + ) + +
                                                  +
                                                7. + + +

                                                  + + final + def + + + eq(arg0: AnyRef): Boolean + +

                                                  + + Permalink + + +
                                                  Definition Classes
                                                  AnyRef
                                                  +
                                                8. + + +

                                                  + + + def + + + equals(arg0: Any): Boolean + +

                                                  + + Permalink + + +
                                                  Definition Classes
                                                  AnyRef → Any
                                                  +
                                                9. + + +

                                                  + + + def + + + finalize(): Unit + +

                                                  + + Permalink + + +
                                                  Attributes
                                                  protected[java.lang]
                                                  Definition Classes
                                                  AnyRef
                                                  Annotations
                                                  + @throws( + + classOf[java.lang.Throwable] + ) + +
                                                  +
                                                10. + + +

                                                  + + final + def + + + getClass(): Class[_] + +

                                                  + + Permalink + + +
                                                  Definition Classes
                                                  AnyRef → Any
                                                  +
                                                11. + + +

                                                  + + + def + + + hashCode(): Int + +

                                                  + + Permalink + + +
                                                  Definition Classes
                                                  AnyRef → Any
                                                  +
                                                12. + + +

                                                  + + final + def + + + isInstanceOf[T0]: Boolean + +

                                                  + + Permalink + + +
                                                  Definition Classes
                                                  Any
                                                  +
                                                13. + + +

                                                  + + final + def + + + ne(arg0: AnyRef): Boolean + +

                                                  + + Permalink + + +
                                                  Definition Classes
                                                  AnyRef
                                                  +
                                                14. + + +

                                                  + + final + def + + + notify(): Unit + +

                                                  + + Permalink + + +
                                                  Definition Classes
                                                  AnyRef
                                                  +
                                                15. + + +

                                                  + + final + def + + + notifyAll(): Unit + +

                                                  + + Permalink + + +
                                                  Definition Classes
                                                  AnyRef
                                                  +
                                                16. + + +

                                                  + + final + def + + + synchronized[T0](arg0: ⇒ T0): T0 + +

                                                  + + Permalink + + +
                                                  Definition Classes
                                                  AnyRef
                                                  +
                                                17. + + +

                                                  + + + def + + + toString(): String + +

                                                  + + Permalink + + +
                                                  Definition Classes
                                                  AnyRef → Any
                                                  +
                                                18. + + +

                                                  + + final + def + + + wait(): Unit + +

                                                  + + Permalink + + +
                                                  Definition Classes
                                                  AnyRef
                                                  Annotations
                                                  + @throws( + + ... + ) + +
                                                  +
                                                19. + + +

                                                  + + final + def + + + wait(arg0: Long, arg1: Int): Unit + +

                                                  + + Permalink + + +
                                                  Definition Classes
                                                  AnyRef
                                                  Annotations
                                                  + @throws( + + ... + ) + +
                                                  +
                                                20. + + +

                                                  + + final + def + + + wait(arg0: Long): Unit + +

                                                  + + Permalink + + +
                                                  Definition Classes
                                                  AnyRef
                                                  Annotations
                                                  + @throws( + + ... + ) + +
                                                  +
                                                +
                                                + + + + +
                                                + +
                                                +
                                                +

                                                Inherited from Serializable

                                                +
                                                +

                                                Inherited from Serializable

                                                +
                                                +

                                                Inherited from AnyRef

                                                +
                                                +

                                                Inherited from Any

                                                +
                                                + +
                                                + +
                                                +
                                                +

                                                Ungrouped

                                                + +
                                                +
                                                + +
                                                + +
                                                + + + + + + diff --git a/manual1903/api_reference/components/scaladocs/ksb/csle/component/operator/integration/TimeIndexAddOperator.html b/manual1903/api_reference/components/scaladocs/ksb/csle/component/operator/integration/TimeIndexAddOperator.html new file mode 100644 index 0000000000000000000000000000000000000000..69d33eef4a4c864af371392a1c419d0c950454c0 --- /dev/null +++ b/manual1903/api_reference/components/scaladocs/ksb/csle/component/operator/integration/TimeIndexAddOperator.html @@ -0,0 +1,597 @@ + + + + TimeIndexAddOperator - KSB COMPONENTS Scala App Project 1.0-SNAPSHOT API - ksb.csle.component.operator.integration.TimeIndexAddOperator + + + + + + + + + + + + + + + + + +

                                                + + + class + + + TimeIndexAddOperator extends BaseDataOperator[StreamOperatorInfo, DataFrame] + +

                                                + +

                                                :: ApplicationDeveloperApi ::

                                                Operator that adds a time index column to the input dataframe using a given +condition. The time index column generated from the column with time string +pattern has Unix time stamp (in seconds). +

                                                + Linear Supertypes +
                                                BaseDataOperator[StreamOperatorInfo, DataFrame], BaseGenericOperator[StreamOperatorInfo, DataFrame], BaseGenericMutantOperator[StreamOperatorInfo, DataFrame, DataFrame], BaseDoer, Logging, Serializable, Serializable, AnyRef, Any
                                                +
                                                + + +
                                                +
                                                +
                                                + Ordering +
                                                  + +
                                                1. Alphabetic
                                                2. +
                                                3. By Inheritance
                                                4. +
                                                +
                                                +
                                                + Inherited
                                                +
                                                +
                                                  +
                                                1. TimeIndexAddOperator
                                                2. BaseDataOperator
                                                3. BaseGenericOperator
                                                4. BaseGenericMutantOperator
                                                5. BaseDoer
                                                6. Logging
                                                7. Serializable
                                                8. Serializable
                                                9. AnyRef
                                                10. Any
                                                11. +
                                                +
                                                + +
                                                  +
                                                1. Hide All
                                                2. +
                                                3. Show All
                                                4. +
                                                +
                                                +
                                                + Visibility +
                                                1. Public
                                                2. All
                                                +
                                                +
                                                + +
                                                +
                                                +
                                                +

                                                Instance Constructors

                                                +
                                                1. + + +

                                                  + + + new + + + TimeIndexAddOperator(o: StreamOperatorInfo) + +

                                                  + + Permalink + + +

                                                  o

                                                  Object that contains message + ksb.csle.common.proto.StreamOperatorProto.AddTimeIndexColumnInfo + AddTimeIndexColumnInfo contains attributes as follows:

                                                  • userTimeIndexColumnId: Column id to be converted to Unix time + stamp (in seconds) (required)
                                                  • userTimeIndexPattern: Time string pattern of userTimeIndexColumn + (required)

                                                  AddTimeIndexColumnInfo

                                                  message AddTimeIndexColumnInfo {
                                                  +required int32 userTimeIndexColumnId = 4;
                                                  +required string userTimeIndexPattern = 5;
                                                  +}
                                                  +
                                                +
                                                + + + + + +
                                                +

                                                Value Members

                                                +
                                                1. + + +

                                                  + + final + def + + + !=(arg0: Any): Boolean + +

                                                  + + Permalink + + +
                                                  Definition Classes
                                                  AnyRef → Any
                                                  +
                                                2. + + +

                                                  + + final + def + + + ##(): Int + +

                                                  + + Permalink + + +
                                                  Definition Classes
                                                  AnyRef → Any
                                                  +
                                                3. + + +

                                                  + + final + def + + + ==(arg0: Any): Boolean + +

                                                  + + Permalink + + +
                                                  Definition Classes
                                                  AnyRef → Any
                                                  +
                                                4. + + +

                                                  + + final + def + + + asInstanceOf[T0]: T0 + +

                                                  + + Permalink + + +
                                                  Definition Classes
                                                  Any
                                                  +
                                                5. + + +

                                                  + + + def + + + clone(): AnyRef + +

                                                  + + Permalink + + +
                                                  Attributes
                                                  protected[java.lang]
                                                  Definition Classes
                                                  AnyRef
                                                  Annotations
                                                  + @throws( + + ... + ) + +
                                                  +
                                                6. + + +

                                                  + + final + def + + + eq(arg0: AnyRef): Boolean + +

                                                  + + Permalink + + +
                                                  Definition Classes
                                                  AnyRef
                                                  +
                                                7. + + +

                                                  + + + def + + + equals(arg0: Any): Boolean + +

                                                  + + Permalink + + +
                                                  Definition Classes
                                                  AnyRef → Any
                                                  +
                                                8. + + +

                                                  + + + def + + + finalize(): Unit + +

                                                  + + Permalink + + +
                                                  Attributes
                                                  protected[java.lang]
                                                  Definition Classes
                                                  AnyRef
                                                  Annotations
                                                  + @throws( + + classOf[java.lang.Throwable] + ) + +
                                                  +
                                                9. + + +

                                                  + + final + def + + + getClass(): Class[_] + +

                                                  + + Permalink + + +
                                                  Definition Classes
                                                  AnyRef → Any
                                                  +
                                                10. + + +

                                                  + + + def + + + hashCode(): Int + +

                                                  + + Permalink + + +
                                                  Definition Classes
                                                  AnyRef → Any
                                                  +
                                                11. + + +

                                                  + + final + def + + + isInstanceOf[T0]: Boolean + +

                                                  + + Permalink + + +
                                                  Definition Classes
                                                  Any
                                                  +
                                                12. + + +

                                                  + + + val + + + logger: Logger + +

                                                  + + Permalink + + +
                                                  Attributes
                                                  protected
                                                  Definition Classes
                                                  Logging
                                                  +
                                                13. + + +

                                                  + + final + def + + + ne(arg0: AnyRef): Boolean + +

                                                  + + Permalink + + +
                                                  Definition Classes
                                                  AnyRef
                                                  +
                                                14. + + +

                                                  + + final + def + + + notify(): Unit + +

                                                  + + Permalink + + +
                                                  Definition Classes
                                                  AnyRef
                                                  +
                                                15. + + +

                                                  + + final + def + + + notifyAll(): Unit + +

                                                  + + Permalink + + +
                                                  Definition Classes
                                                  AnyRef
                                                  +
                                                16. + + +

                                                  + + + def + + + operate(df: DataFrame): DataFrame + +

                                                  + + Permalink + + +

                                                  Operates AddTimeIndexColumn.

                                                  Operates AddTimeIndexColumn. +

                                                  df

                                                  Input dataframe

                                                  returns

                                                  DataFrame Output dataframe

                                                  Definition Classes
                                                  TimeIndexAddOperator → BaseGenericOperator → BaseGenericMutantOperator
                                                  +
                                                17. + + +

                                                  + + + val + + + p: AddTimeIndexColumnInfo + +

                                                  + + Permalink + + + +
                                                18. + + +

                                                  + + + def + + + stop: Unit + +

                                                  + + Permalink + + +
                                                  Definition Classes
                                                  BaseGenericOperator → BaseGenericMutantOperator
                                                  +
                                                19. + + +

                                                  + + final + def + + + synchronized[T0](arg0: ⇒ T0): T0 + +

                                                  + + Permalink + + +
                                                  Definition Classes
                                                  AnyRef
                                                  +
                                                20. + + +

                                                  + + + def + + + toString(): String + +

                                                  + + Permalink + + +
                                                  Definition Classes
                                                  AnyRef → Any
                                                  +
                                                21. + + +

                                                  + + final + def + + + wait(): Unit + +

                                                  + + Permalink + + +
                                                  Definition Classes
                                                  AnyRef
                                                  Annotations
                                                  + @throws( + + ... + ) + +
                                                  +
                                                22. + + +

                                                  + + final + def + + + wait(arg0: Long, arg1: Int): Unit + +

                                                  + + Permalink + + +
                                                  Definition Classes
                                                  AnyRef
                                                  Annotations
                                                  + @throws( + + ... + ) + +
                                                  +
                                                23. + + +

                                                  + + final + def + + + wait(arg0: Long): Unit + +

                                                  + + Permalink + + +
                                                  Definition Classes
                                                  AnyRef
                                                  Annotations
                                                  + @throws( + + ... + ) + +
                                                  +
                                                +
                                                + + + + +
                                                + +
                                                +
                                                +

                                                Inherited from BaseDataOperator[StreamOperatorInfo, DataFrame]

                                                +
                                                +

                                                Inherited from BaseGenericOperator[StreamOperatorInfo, DataFrame]

                                                +
                                                +

                                                Inherited from BaseGenericMutantOperator[StreamOperatorInfo, DataFrame, DataFrame]

                                                +
                                                +

                                                Inherited from BaseDoer

                                                +
                                                +

                                                Inherited from Logging

                                                +
                                                +

                                                Inherited from Serializable

                                                +
                                                +

                                                Inherited from Serializable

                                                +
                                                +

                                                Inherited from AnyRef

                                                +
                                                +

                                                Inherited from Any

                                                +
                                                + +
                                                + +
                                                +
                                                +

                                                Ungrouped

                                                + +
                                                +
                                                + +
                                                + +
                                                + + + + + + diff --git a/manual1903/api_reference/components/scaladocs/ksb/csle/component/operator/integration/VectorAssembleColumnAddOperator$.html b/manual1903/api_reference/components/scaladocs/ksb/csle/component/operator/integration/VectorAssembleColumnAddOperator$.html new file mode 100644 index 0000000000000000000000000000000000000000..13f671dcd24a6bc82fc126e05aeb908ec6ea41f9 --- /dev/null +++ b/manual1903/api_reference/components/scaladocs/ksb/csle/component/operator/integration/VectorAssembleColumnAddOperator$.html @@ -0,0 +1,505 @@ + + + + VectorAssembleColumnAddOperator - KSB COMPONENTS Scala App Project 1.0-SNAPSHOT API - ksb.csle.component.operator.integration.VectorAssembleColumnAddOperator + + + + + + + + + + + + + + + + + +

                                                + + + object + + + VectorAssembleColumnAddOperator extends Serializable + +

                                                + +
                                                + Linear Supertypes +
                                                Serializable, Serializable, AnyRef, Any
                                                +
                                                + + +
                                                +
                                                +
                                                + Ordering +
                                                  + +
                                                1. Alphabetic
                                                2. +
                                                3. By Inheritance
                                                4. +
                                                +
                                                +
                                                + Inherited
                                                +
                                                +
                                                  +
                                                1. VectorAssembleColumnAddOperator
                                                2. Serializable
                                                3. Serializable
                                                4. AnyRef
                                                5. Any
                                                6. +
                                                +
                                                + +
                                                  +
                                                1. Hide All
                                                2. +
                                                3. Show All
                                                4. +
                                                +
                                                +
                                                + Visibility +
                                                1. Public
                                                2. All
                                                +
                                                +
                                                + +
                                                +
                                                + + + + + + +
                                                +

                                                Value Members

                                                +
                                                1. + + +

                                                  + + final + def + + + !=(arg0: Any): Boolean + +

                                                  + + Permalink + + +
                                                  Definition Classes
                                                  AnyRef → Any
                                                  +
                                                2. + + +

                                                  + + final + def + + + ##(): Int + +

                                                  + + Permalink + + +
                                                  Definition Classes
                                                  AnyRef → Any
                                                  +
                                                3. + + +

                                                  + + final + def + + + ==(arg0: Any): Boolean + +

                                                  + + Permalink + + +
                                                  Definition Classes
                                                  AnyRef → Any
                                                  +
                                                4. + + +

                                                  + + + def + + + apply(o: StreamOperatorInfo): VectorAssembleColumnAddOperator + +

                                                  + + Permalink + + + +
                                                5. + + +

                                                  + + final + def + + + asInstanceOf[T0]: T0 + +

                                                  + + Permalink + + +
                                                  Definition Classes
                                                  Any
                                                  +
                                                6. + + +

                                                  + + + def + + + clone(): AnyRef + +

                                                  + + Permalink + + +
                                                  Attributes
                                                  protected[java.lang]
                                                  Definition Classes
                                                  AnyRef
                                                  Annotations
                                                  + @throws( + + ... + ) + +
                                                  +
                                                7. + + +

                                                  + + final + def + + + eq(arg0: AnyRef): Boolean + +

                                                  + + Permalink + + +
                                                  Definition Classes
                                                  AnyRef
                                                  +
                                                8. + + +

                                                  + + + def + + + equals(arg0: Any): Boolean + +

                                                  + + Permalink + + +
                                                  Definition Classes
                                                  AnyRef → Any
                                                  +
                                                9. + + +

                                                  + + + def + + + finalize(): Unit + +

                                                  + + Permalink + + +
                                                  Attributes
                                                  protected[java.lang]
                                                  Definition Classes
                                                  AnyRef
                                                  Annotations
                                                  + @throws( + + classOf[java.lang.Throwable] + ) + +
                                                  +
                                                10. + + +

                                                  + + final + def + + + getClass(): Class[_] + +

                                                  + + Permalink + + +
                                                  Definition Classes
                                                  AnyRef → Any
                                                  +
                                                11. + + +

                                                  + + + def + + + hashCode(): Int + +

                                                  + + Permalink + + +
                                                  Definition Classes
                                                  AnyRef → Any
                                                  +
                                                12. + + +

                                                  + + final + def + + + isInstanceOf[T0]: Boolean + +

                                                  + + Permalink + + +
                                                  Definition Classes
                                                  Any
                                                  +
                                                13. + + +

                                                  + + final + def + + + ne(arg0: AnyRef): Boolean + +

                                                  + + Permalink + + +
                                                  Definition Classes
                                                  AnyRef
                                                  +
                                                14. + + +

                                                  + + final + def + + + notify(): Unit + +

                                                  + + Permalink + + +
                                                  Definition Classes
                                                  AnyRef
                                                  +
                                                15. + + +

                                                  + + final + def + + + notifyAll(): Unit + +

                                                  + + Permalink + + +
                                                  Definition Classes
                                                  AnyRef
                                                  +
                                                16. + + +

                                                  + + final + def + + + synchronized[T0](arg0: ⇒ T0): T0 + +

                                                  + + Permalink + + +
                                                  Definition Classes
                                                  AnyRef
                                                  +
                                                17. + + +

                                                  + + + def + + + toString(): String + +

                                                  + + Permalink + + +
                                                  Definition Classes
                                                  AnyRef → Any
                                                  +
                                                18. + + +

                                                  + + final + def + + + wait(): Unit + +

                                                  + + Permalink + + +
                                                  Definition Classes
                                                  AnyRef
                                                  Annotations
                                                  + @throws( + + ... + ) + +
                                                  +
                                                19. + + +

                                                  + + final + def + + + wait(arg0: Long, arg1: Int): Unit + +

                                                  + + Permalink + + +
                                                  Definition Classes
                                                  AnyRef
                                                  Annotations
                                                  + @throws( + + ... + ) + +
                                                  +
                                                20. + + +

                                                  + + final + def + + + wait(arg0: Long): Unit + +

                                                  + + Permalink + + +
                                                  Definition Classes
                                                  AnyRef
                                                  Annotations
                                                  + @throws( + + ... + ) + +
                                                  +
                                                +
                                                + + + + +
                                                + +
                                                +
                                                +

                                                Inherited from Serializable

                                                +
                                                +

                                                Inherited from Serializable

                                                +
                                                +

                                                Inherited from AnyRef

                                                +
                                                +

                                                Inherited from Any

                                                +
                                                + +
                                                + +
                                                +
                                                +

                                                Ungrouped

                                                + +
                                                +
                                                + +
                                                + +
                                                + + + + + + diff --git a/manual1903/api_reference/components/scaladocs/ksb/csle/component/operator/integration/VectorAssembleColumnAddOperator.html b/manual1903/api_reference/components/scaladocs/ksb/csle/component/operator/integration/VectorAssembleColumnAddOperator.html new file mode 100644 index 0000000000000000000000000000000000000000..14f60b7b14e6f4009256d511a6c66719b08a3690 --- /dev/null +++ b/manual1903/api_reference/components/scaladocs/ksb/csle/component/operator/integration/VectorAssembleColumnAddOperator.html @@ -0,0 +1,593 @@ + + + + VectorAssembleColumnAddOperator - KSB COMPONENTS Scala App Project 1.0-SNAPSHOT API - ksb.csle.component.operator.integration.VectorAssembleColumnAddOperator + + + + + + + + + + + + + + + + + +

                                                + + + class + + + VectorAssembleColumnAddOperator extends BaseDataOperator[StreamOperatorInfo, DataFrame] + +

                                                + +

                                                :: ApplicationDeveloperApi ::

                                                Operator that adds vector assemble column into the input dataframe using a +given condition. The vector assemble column is used by ML predict. +

                                                + Linear Supertypes +
                                                BaseDataOperator[StreamOperatorInfo, DataFrame], BaseGenericOperator[StreamOperatorInfo, DataFrame], BaseGenericMutantOperator[StreamOperatorInfo, DataFrame, DataFrame], BaseDoer, Logging, Serializable, Serializable, AnyRef, Any
                                                +
                                                + + +
                                                +
                                                +
                                                + Ordering +
                                                  + +
                                                1. Alphabetic
                                                2. +
                                                3. By Inheritance
                                                4. +
                                                +
                                                +
                                                + Inherited
                                                +
                                                +
                                                  +
                                                1. VectorAssembleColumnAddOperator
                                                2. BaseDataOperator
                                                3. BaseGenericOperator
                                                4. BaseGenericMutantOperator
                                                5. BaseDoer
                                                6. Logging
                                                7. Serializable
                                                8. Serializable
                                                9. AnyRef
                                                10. Any
                                                11. +
                                                +
                                                + +
                                                  +
                                                1. Hide All
                                                2. +
                                                3. Show All
                                                4. +
                                                +
                                                +
                                                + Visibility +
                                                1. Public
                                                2. All
                                                +
                                                +
                                                + +
                                                +
                                                +
                                                +

                                                Instance Constructors

                                                +
                                                1. + + +

                                                  + + + new + + + VectorAssembleColumnAddOperator(o: StreamOperatorInfo) + +

                                                  + + Permalink + + +

                                                  o

                                                  Object that contains message + ksb.csle.common.proto.StreamOperatorProto.AddVectorAssembleColumnInfo + AddVectorAssembleColumnInfo contains attributes as follows:

                                                  • vectorAssembleColumnName: name of vectorAssembleColumn (required)

                                                  AddVectorAssembleColumnInfo

                                                  message AddVectorAssembleColumnInfo {
                                                  +required string vectorAssembleColumnName = 3;
                                                  +}
                                                  +
                                                +
                                                + + + + + +
                                                +

                                                Value Members

                                                +
                                                1. + + +

                                                  + + final + def + + + !=(arg0: Any): Boolean + +

                                                  + + Permalink + + +
                                                  Definition Classes
                                                  AnyRef → Any
                                                  +
                                                2. + + +

                                                  + + final + def + + + ##(): Int + +

                                                  + + Permalink + + +
                                                  Definition Classes
                                                  AnyRef → Any
                                                  +
                                                3. + + +

                                                  + + final + def + + + ==(arg0: Any): Boolean + +

                                                  + + Permalink + + +
                                                  Definition Classes
                                                  AnyRef → Any
                                                  +
                                                4. + + +

                                                  + + final + def + + + asInstanceOf[T0]: T0 + +

                                                  + + Permalink + + +
                                                  Definition Classes
                                                  Any
                                                  +
                                                5. + + +

                                                  + + + def + + + clone(): AnyRef + +

                                                  + + Permalink + + +
                                                  Attributes
                                                  protected[java.lang]
                                                  Definition Classes
                                                  AnyRef
                                                  Annotations
                                                  + @throws( + + ... + ) + +
                                                  +
                                                6. + + +

                                                  + + final + def + + + eq(arg0: AnyRef): Boolean + +

                                                  + + Permalink + + +
                                                  Definition Classes
                                                  AnyRef
                                                  +
                                                7. + + +

                                                  + + + def + + + equals(arg0: Any): Boolean + +

                                                  + + Permalink + + +
                                                  Definition Classes
                                                  AnyRef → Any
                                                  +
                                                8. + + +

                                                  + + + def + + + finalize(): Unit + +

                                                  + + Permalink + + +
                                                  Attributes
                                                  protected[java.lang]
                                                  Definition Classes
                                                  AnyRef
                                                  Annotations
                                                  + @throws( + + classOf[java.lang.Throwable] + ) + +
                                                  +
                                                9. + + +

                                                  + + final + def + + + getClass(): Class[_] + +

                                                  + + Permalink + + +
                                                  Definition Classes
                                                  AnyRef → Any
                                                  +
                                                10. + + +

                                                  + + + def + + + hashCode(): Int + +

                                                  + + Permalink + + +
                                                  Definition Classes
                                                  AnyRef → Any
                                                  +
                                                11. + + +

                                                  + + final + def + + + isInstanceOf[T0]: Boolean + +

                                                  + + Permalink + + +
                                                  Definition Classes
                                                  Any
                                                  +
                                                12. + + +

                                                  + + + val + + + logger: Logger + +

                                                  + + Permalink + + +
                                                  Attributes
                                                  protected
                                                  Definition Classes
                                                  Logging
                                                  +
                                                13. + + +

                                                  + + final + def + + + ne(arg0: AnyRef): Boolean + +

                                                  + + Permalink + + +
                                                  Definition Classes
                                                  AnyRef
                                                  +
                                                14. + + +

                                                  + + final + def + + + notify(): Unit + +

                                                  + + Permalink + + +
                                                  Definition Classes
                                                  AnyRef
                                                  +
                                                15. + + +

                                                  + + final + def + + + notifyAll(): Unit + +

                                                  + + Permalink + + +
                                                  Definition Classes
                                                  AnyRef
                                                  +
                                                16. + + +

                                                  + + + def + + + operate(df: DataFrame): DataFrame + +

                                                  + + Permalink + + +

                                                  Operates AddTimeIndexColumn.

                                                  Operates AddTimeIndexColumn. +

                                                  df

                                                  Input dataframe

                                                  returns

                                                  DataFrame Output dataframe

                                                  Definition Classes
                                                  VectorAssembleColumnAddOperator → BaseGenericOperator → BaseGenericMutantOperator
                                                  +
                                                17. + + +

                                                  + + + val + + + p: AddVectorAssembleColumnInfo + +

                                                  + + Permalink + + + +
                                                18. + + +

                                                  + + + def + + + stop: Unit + +

                                                  + + Permalink + + +
                                                  Definition Classes
                                                  BaseGenericOperator → BaseGenericMutantOperator
                                                  +
                                                19. + + +

                                                  + + final + def + + + synchronized[T0](arg0: ⇒ T0): T0 + +

                                                  + + Permalink + + +
                                                  Definition Classes
                                                  AnyRef
                                                  +
                                                20. + + +

                                                  + + + def + + + toString(): String + +

                                                  + + Permalink + + +
                                                  Definition Classes
                                                  AnyRef → Any
                                                  +
                                                21. + + +

                                                  + + final + def + + + wait(): Unit + +

                                                  + + Permalink + + +
                                                  Definition Classes
                                                  AnyRef
                                                  Annotations
                                                  + @throws( + + ... + ) + +
                                                  +
                                                22. + + +

                                                  + + final + def + + + wait(arg0: Long, arg1: Int): Unit + +

                                                  + + Permalink + + +
                                                  Definition Classes
                                                  AnyRef
                                                  Annotations
                                                  + @throws( + + ... + ) + +
                                                  +
                                                23. + + +

                                                  + + final + def + + + wait(arg0: Long): Unit + +

                                                  + + Permalink + + +
                                                  Definition Classes
                                                  AnyRef
                                                  Annotations
                                                  + @throws( + + ... + ) + +
                                                  +
                                                +
                                                + + + + +
                                                + +
                                                +
                                                +

                                                Inherited from BaseDataOperator[StreamOperatorInfo, DataFrame]

                                                +
                                                +

                                                Inherited from BaseGenericOperator[StreamOperatorInfo, DataFrame]

                                                +
                                                +

                                                Inherited from BaseGenericMutantOperator[StreamOperatorInfo, DataFrame, DataFrame]

                                                +
                                                +

                                                Inherited from BaseDoer

                                                +
                                                +

                                                Inherited from Logging

                                                +
                                                +

                                                Inherited from Serializable

                                                +
                                                +

                                                Inherited from Serializable

                                                +
                                                +

                                                Inherited from AnyRef

                                                +
                                                +

                                                Inherited from Any

                                                +
                                                + +
                                                + +
                                                +
                                                +

                                                Ungrouped

                                                + +
                                                +
                                                + +
                                                + +
                                                + + + + + + diff --git a/manual1903/api_reference/components/scaladocs/ksb/csle/component/operator/integration/package.html b/manual1903/api_reference/components/scaladocs/ksb/csle/component/operator/integration/package.html new file mode 100644 index 0000000000000000000000000000000000000000..c028ef21859def8c1b95fe75667c881402f6958c --- /dev/null +++ b/manual1903/api_reference/components/scaladocs/ksb/csle/component/operator/integration/package.html @@ -0,0 +1,283 @@ + + + + integration - KSB COMPONENTS Scala App Project 1.0-SNAPSHOT API - ksb.csle.component.operator.integration + + + + + + + + + + + + + + + +
                                                + Package +

                                                ksb.csle.component.operator

                                                +

                                                integration

                                                + + Permalink + + +
                                                + +

                                                + + + package + + + integration + +

                                                + +
                                                + + +
                                                +
                                                + + +
                                                + Visibility +
                                                1. Public
                                                2. All
                                                +
                                                +
                                                + +
                                                +
                                                + + +
                                                +

                                                Type Members

                                                +
                                                1. + + +

                                                  + + + class + + + ConcatAndReshapeOperator extends BaseDataOperator[StreamOperatorInfo, DataFrame] + +

                                                  + + Permalink + + +

                                                  :: ApplicationDeveloperApi ::

                                                  :: ApplicationDeveloperApi ::

                                                  Operator that reshapes with row concatenation in the given dataframe. +

                                                  +
                                                2. + + +

                                                  + + + class + + + GroupByOperator extends BaseDataOperator[StreamOperatorInfo, DataFrame] + +

                                                  + + Permalink + + +

                                                  :: ApplicationDeveloperApi ::

                                                  :: ApplicationDeveloperApi ::

                                                  Operator that creates dataframe by aggregating records +according to a given group condition. +

                                                  +
                                                3. + + +

                                                  + + + class + + + OrderByOperator extends BaseDataOperator[StreamOperatorInfo, DataFrame] + +

                                                  + + Permalink + + +

                                                  :: ApplicationDeveloperApi ::

                                                  :: ApplicationDeveloperApi ::

                                                  Operator that performs to order by a specific column using a given condition. +

                                                  +
                                                4. + + +

                                                  + + + class + + + TimeIndexAddOperator extends BaseDataOperator[StreamOperatorInfo, DataFrame] + +

                                                  + + Permalink + + +

                                                  :: ApplicationDeveloperApi ::

                                                  :: ApplicationDeveloperApi ::

                                                  Operator that adds a time index column to the input dataframe using a given +condition. The time index column generated from the column with time string +pattern has Unix time stamp (in seconds). +

                                                  +
                                                5. + + +

                                                  + + + class + + + VectorAssembleColumnAddOperator extends BaseDataOperator[StreamOperatorInfo, DataFrame] + +

                                                  + + Permalink + + +

                                                  :: ApplicationDeveloperApi ::

                                                  :: ApplicationDeveloperApi ::

                                                  Operator that adds vector assemble column into the input dataframe using a +given condition. The vector assemble column is used by ML predict. +

                                                  +
                                                +
                                                + + + +
                                                +

                                                Value Members

                                                +
                                                1. + + +

                                                  + + + object + + + GroupByOperator extends Serializable + +

                                                  + + Permalink + + + +
                                                2. + + +

                                                  + + + object + + + OrderByOperator extends Serializable + +

                                                  + + Permalink + + + +
                                                3. + + +

                                                  + + + object + + + ReshapeWithConcat + +

                                                  + + Permalink + + + +
                                                4. + + +

                                                  + + + object + + + TimeIndexAddOperator extends Serializable + +

                                                  + + Permalink + + + +
                                                5. + + +

                                                  + + + object + + + VectorAssembleColumnAddOperator extends Serializable + +

                                                  + + Permalink + + + +
                                                +
                                                + + + + +
                                                + +
                                                + + +
                                                + +
                                                +
                                                +

                                                Ungrouped

                                                + +
                                                +
                                                + +
                                                + +
                                                + + + + + + diff --git a/manual1903/api_reference/components/scaladocs/ksb/csle/component/operator/package.html b/manual1903/api_reference/components/scaladocs/ksb/csle/component/operator/package.html new file mode 100644 index 0000000000000000000000000000000000000000..1806beba2ca0d7d76071e243d55bdb91b5cc2422 --- /dev/null +++ b/manual1903/api_reference/components/scaladocs/ksb/csle/component/operator/package.html @@ -0,0 +1,237 @@ + + + + operator - KSB COMPONENTS Scala App Project 1.0-SNAPSHOT API - ksb.csle.component.operator + + + + + + + + + + + + + + + +
                                                + Package +

                                                ksb.csle.component

                                                +

                                                operator

                                                + + Permalink + + +
                                                + +

                                                + + + package + + + operator + +

                                                + +
                                                + + +
                                                +
                                                + + +
                                                + Visibility +
                                                1. Public
                                                2. All
                                                +
                                                +
                                                + +
                                                +
                                                + + + + + + +
                                                +

                                                Value Members

                                                +
                                                1. + + +

                                                  + + + package + + + analysis + +

                                                  + + Permalink + + + +
                                                2. + + +

                                                  + + + package + + + cleaning + +

                                                  + + Permalink + + + +
                                                3. + + +

                                                  + + + package + + + common + +

                                                  + + Permalink + + + +
                                                4. + + +

                                                  + + + package + + + integration + +

                                                  + + Permalink + + + +
                                                5. + + +

                                                  + + + package + + + reduction + +

                                                  + + Permalink + + + +
                                                6. + + +

                                                  + + + package + + + service + +

                                                  + + Permalink + + + +
                                                7. + + +

                                                  + + + package + + + transformation + +

                                                  + + Permalink + + + +
                                                8. + + +

                                                  + + + package + + + util + +

                                                  + + Permalink + + + +
                                                +
                                                + + + + +
                                                + +
                                                + + +
                                                + +
                                                +
                                                +

                                                Ungrouped

                                                + +
                                                +
                                                + +
                                                + +
                                                + + + + + + diff --git a/manual1903/api_reference/components/scaladocs/ksb/csle/component/operator/reduction/AggregateOperator$.html b/manual1903/api_reference/components/scaladocs/ksb/csle/component/operator/reduction/AggregateOperator$.html new file mode 100644 index 0000000000000000000000000000000000000000..17b843a1fa7cc1e1b5a05cd9207ee07518479798 --- /dev/null +++ b/manual1903/api_reference/components/scaladocs/ksb/csle/component/operator/reduction/AggregateOperator$.html @@ -0,0 +1,505 @@ + + + + AggregateOperator - KSB COMPONENTS Scala App Project 1.0-SNAPSHOT API - ksb.csle.component.operator.reduction.AggregateOperator + + + + + + + + + + + + + + + + + +

                                                + + + object + + + AggregateOperator extends Serializable + +

                                                + +
                                                + Linear Supertypes +
                                                Serializable, Serializable, AnyRef, Any
                                                +
                                                + + +
                                                +
                                                +
                                                + Ordering +
                                                  + +
                                                1. Alphabetic
                                                2. +
                                                3. By Inheritance
                                                4. +
                                                +
                                                +
                                                + Inherited
                                                +
                                                +
                                                  +
                                                1. AggregateOperator
                                                2. Serializable
                                                3. Serializable
                                                4. AnyRef
                                                5. Any
                                                6. +
                                                +
                                                + +
                                                  +
                                                1. Hide All
                                                2. +
                                                3. Show All
                                                4. +
                                                +
                                                +
                                                + Visibility +
                                                1. Public
                                                2. All
                                                +
                                                +
                                                + +
                                                +
                                                + + + + + + +
                                                +

                                                Value Members

                                                +
                                                1. + + +

                                                  + + final + def + + + !=(arg0: Any): Boolean + +

                                                  + + Permalink + + +
                                                  Definition Classes
                                                  AnyRef → Any
                                                  +
                                                2. + + +

                                                  + + final + def + + + ##(): Int + +

                                                  + + Permalink + + +
                                                  Definition Classes
                                                  AnyRef → Any
                                                  +
                                                3. + + +

                                                  + + final + def + + + ==(arg0: Any): Boolean + +

                                                  + + Permalink + + +
                                                  Definition Classes
                                                  AnyRef → Any
                                                  +
                                                4. + + +

                                                  + + + def + + + apply(o: StreamOperatorInfo): AggregateOperator + +

                                                  + + Permalink + + + +
                                                5. + + +

                                                  + + final + def + + + asInstanceOf[T0]: T0 + +

                                                  + + Permalink + + +
                                                  Definition Classes
                                                  Any
                                                  +
                                                6. + + +

                                                  + + + def + + + clone(): AnyRef + +

                                                  + + Permalink + + +
                                                  Attributes
                                                  protected[java.lang]
                                                  Definition Classes
                                                  AnyRef
                                                  Annotations
                                                  + @throws( + + ... + ) + +
                                                  +
                                                7. + + +

                                                  + + final + def + + + eq(arg0: AnyRef): Boolean + +

                                                  + + Permalink + + +
                                                  Definition Classes
                                                  AnyRef
                                                  +
                                                8. + + +

                                                  + + + def + + + equals(arg0: Any): Boolean + +

                                                  + + Permalink + + +
                                                  Definition Classes
                                                  AnyRef → Any
                                                  +
                                                9. + + +

                                                  + + + def + + + finalize(): Unit + +

                                                  + + Permalink + + +
                                                  Attributes
                                                  protected[java.lang]
                                                  Definition Classes
                                                  AnyRef
                                                  Annotations
                                                  + @throws( + + classOf[java.lang.Throwable] + ) + +
                                                  +
                                                10. + + +

                                                  + + final + def + + + getClass(): Class[_] + +

                                                  + + Permalink + + +
                                                  Definition Classes
                                                  AnyRef → Any
                                                  +
                                                11. + + +

                                                  + + + def + + + hashCode(): Int + +

                                                  + + Permalink + + +
                                                  Definition Classes
                                                  AnyRef → Any
                                                  +
                                                12. + + +

                                                  + + final + def + + + isInstanceOf[T0]: Boolean + +

                                                  + + Permalink + + +
                                                  Definition Classes
                                                  Any
                                                  +
                                                13. + + +

                                                  + + final + def + + + ne(arg0: AnyRef): Boolean + +

                                                  + + Permalink + + +
                                                  Definition Classes
                                                  AnyRef
                                                  +
                                                14. + + +

                                                  + + final + def + + + notify(): Unit + +

                                                  + + Permalink + + +
                                                  Definition Classes
                                                  AnyRef
                                                  +
                                                15. + + +

                                                  + + final + def + + + notifyAll(): Unit + +

                                                  + + Permalink + + +
                                                  Definition Classes
                                                  AnyRef
                                                  +
                                                16. + + +

                                                  + + final + def + + + synchronized[T0](arg0: ⇒ T0): T0 + +

                                                  + + Permalink + + +
                                                  Definition Classes
                                                  AnyRef
                                                  +
                                                17. + + +

                                                  + + + def + + + toString(): String + +

                                                  + + Permalink + + +
                                                  Definition Classes
                                                  AnyRef → Any
                                                  +
                                                18. + + +

                                                  + + final + def + + + wait(): Unit + +

                                                  + + Permalink + + +
                                                  Definition Classes
                                                  AnyRef
                                                  Annotations
                                                  + @throws( + + ... + ) + +
                                                  +
                                                19. + + +

                                                  + + final + def + + + wait(arg0: Long, arg1: Int): Unit + +

                                                  + + Permalink + + +
                                                  Definition Classes
                                                  AnyRef
                                                  Annotations
                                                  + @throws( + + ... + ) + +
                                                  +
                                                20. + + +

                                                  + + final + def + + + wait(arg0: Long): Unit + +

                                                  + + Permalink + + +
                                                  Definition Classes
                                                  AnyRef
                                                  Annotations
                                                  + @throws( + + ... + ) + +
                                                  +
                                                +
                                                + + + + +
                                                + +
                                                +
                                                +

                                                Inherited from Serializable

                                                +
                                                +

                                                Inherited from Serializable

                                                +
                                                +

                                                Inherited from AnyRef

                                                +
                                                +

                                                Inherited from Any

                                                +
                                                + +
                                                + +
                                                +
                                                +

                                                Ungrouped

                                                + +
                                                +
                                                + +
                                                + +
                                                + + + + + + diff --git a/manual1903/api_reference/components/scaladocs/ksb/csle/component/operator/reduction/AggregateOperator.html b/manual1903/api_reference/components/scaladocs/ksb/csle/component/operator/reduction/AggregateOperator.html new file mode 100644 index 0000000000000000000000000000000000000000..31c72dff9aabafcfee5e904d7e9fa34e7eb5c7ad --- /dev/null +++ b/manual1903/api_reference/components/scaladocs/ksb/csle/component/operator/reduction/AggregateOperator.html @@ -0,0 +1,636 @@ + + + + AggregateOperator - KSB COMPONENTS Scala App Project 1.0-SNAPSHOT API - ksb.csle.component.operator.reduction.AggregateOperator + + + + + + + + + + + + + + + + + +

                                                + + + class + + + AggregateOperator extends BaseDataOperator[StreamOperatorInfo, DataFrame] + +

                                                + +

                                                :: ApplicationDeveloperApi ::

                                                Operator that performs aggregation operation in the given dataframe. +

                                                + Linear Supertypes +
                                                BaseDataOperator[StreamOperatorInfo, DataFrame], BaseGenericOperator[StreamOperatorInfo, DataFrame], BaseGenericMutantOperator[StreamOperatorInfo, DataFrame, DataFrame], BaseDoer, Logging, Serializable, Serializable, AnyRef, Any
                                                +
                                                + + +
                                                +
                                                +
                                                + Ordering +
                                                  + +
                                                1. Alphabetic
                                                2. +
                                                3. By Inheritance
                                                4. +
                                                +
                                                +
                                                + Inherited
                                                +
                                                +
                                                  +
                                                1. AggregateOperator
                                                2. BaseDataOperator
                                                3. BaseGenericOperator
                                                4. BaseGenericMutantOperator
                                                5. BaseDoer
                                                6. Logging
                                                7. Serializable
                                                8. Serializable
                                                9. AnyRef
                                                10. Any
                                                11. +
                                                +
                                                + +
                                                  +
                                                1. Hide All
                                                2. +
                                                3. Show All
                                                4. +
                                                +
                                                +
                                                + Visibility +
                                                1. Public
                                                2. All
                                                +
                                                +
                                                + +
                                                +
                                                +
                                                +

                                                Instance Constructors

                                                +
                                                1. + + +

                                                  + + + new + + + AggregateOperator(o: StreamOperatorInfo) + +

                                                  + + Permalink + + +

                                                  o

                                                  Object that contains message + ksb.csle.common.proto.StreamOperatorProto.AggregateInfo + AggregateInfo contains attributes as follows:

                                                  • attributes: Parameter to select the attributes and the aggregation + function to apply on them (repeated)
                                                  • groupByAttributeName: Attribute names to be applied by groupby + operation. (repeated)

                                                  AggregateInfo

                                                  message AggregateInfo {
                                                  +repeated AttributeEntry attributes = 3;
                                                  +repeated string groupByAttributeName = 4;
                                                  +}
                                                  +
                                                +
                                                + + + + + +
                                                +

                                                Value Members

                                                +
                                                1. + + +

                                                  + + final + def + + + !=(arg0: Any): Boolean + +

                                                  + + Permalink + + +
                                                  Definition Classes
                                                  AnyRef → Any
                                                  +
                                                2. + + +

                                                  + + final + def + + + ##(): Int + +

                                                  + + Permalink + + +
                                                  Definition Classes
                                                  AnyRef → Any
                                                  +
                                                3. + + +

                                                  + + final + def + + + ==(arg0: Any): Boolean + +

                                                  + + Permalink + + +
                                                  Definition Classes
                                                  AnyRef → Any
                                                  +
                                                4. + + +

                                                  + + final + def + + + asInstanceOf[T0]: T0 + +

                                                  + + Permalink + + +
                                                  Definition Classes
                                                  Any
                                                  +
                                                5. + + +

                                                  + + + def + + + clone(): AnyRef + +

                                                  + + Permalink + + +
                                                  Attributes
                                                  protected[java.lang]
                                                  Definition Classes
                                                  AnyRef
                                                  Annotations
                                                  + @throws( + + ... + ) + +
                                                  +
                                                6. + + +

                                                  + + final + def + + + eq(arg0: AnyRef): Boolean + +

                                                  + + Permalink + + +
                                                  Definition Classes
                                                  AnyRef
                                                  +
                                                7. + + +

                                                  + + + def + + + equals(arg0: Any): Boolean + +

                                                  + + Permalink + + +
                                                  Definition Classes
                                                  AnyRef → Any
                                                  +
                                                8. + + +

                                                  + + + def + + + finalize(): Unit + +

                                                  + + Permalink + + +
                                                  Attributes
                                                  protected[java.lang]
                                                  Definition Classes
                                                  AnyRef
                                                  Annotations
                                                  + @throws( + + classOf[java.lang.Throwable] + ) + +
                                                  +
                                                9. + + +

                                                  + + + def + + + function_mapping(attributeName: String, functionType: FunctionType): Column + +

                                                  + + Permalink + + + +
                                                10. + + +

                                                  + + final + def + + + getClass(): Class[_] + +

                                                  + + Permalink + + +
                                                  Definition Classes
                                                  AnyRef → Any
                                                  +
                                                11. + + +

                                                  + + + def + + + hashCode(): Int + +

                                                  + + Permalink + + +
                                                  Definition Classes
                                                  AnyRef → Any
                                                  +
                                                12. + + +

                                                  + + final + def + + + isInstanceOf[T0]: Boolean + +

                                                  + + Permalink + + +
                                                  Definition Classes
                                                  Any
                                                  +
                                                13. + + +

                                                  + + + val + + + logger: Logger + +

                                                  + + Permalink + + +
                                                  Attributes
                                                  protected
                                                  Definition Classes
                                                  Logging
                                                  +
                                                14. + + +

                                                  + + final + def + + + ne(arg0: AnyRef): Boolean + +

                                                  + + Permalink + + +
                                                  Definition Classes
                                                  AnyRef
                                                  +
                                                15. + + +

                                                  + + final + def + + + notify(): Unit + +

                                                  + + Permalink + + +
                                                  Definition Classes
                                                  AnyRef
                                                  +
                                                16. + + +

                                                  + + final + def + + + notifyAll(): Unit + +

                                                  + + Permalink + + +
                                                  Definition Classes
                                                  AnyRef
                                                  +
                                                17. + + +

                                                  + + + def + + + operate(df: DataFrame): DataFrame + +

                                                  + + Permalink + + +

                                                  Operates Aggregate.

                                                  Operates Aggregate. +

                                                  df

                                                  Input dataframe

                                                  returns

                                                  DataFrame Output dataframe

                                                  Definition Classes
                                                  AggregateOperator → BaseGenericOperator → BaseGenericMutantOperator
                                                  +
                                                18. + + +

                                                  + + + val + + + p: AggregateInfo + +

                                                  + + Permalink + + + +
                                                19. + + +

                                                  + + + def + + + stop: Unit + +

                                                  + + Permalink + + +
                                                  Definition Classes
                                                  BaseGenericOperator → BaseGenericMutantOperator
                                                  +
                                                20. + + +

                                                  + + final + def + + + synchronized[T0](arg0: ⇒ T0): T0 + +

                                                  + + Permalink + + +
                                                  Definition Classes
                                                  AnyRef
                                                  +
                                                21. + + +

                                                  + + + def + + + toString(): String + +

                                                  + + Permalink + + +
                                                  Definition Classes
                                                  AnyRef → Any
                                                  +
                                                22. + + +

                                                  + + + def + + + validate(df: DataFrame): Unit + +

                                                  + + Permalink + + +

                                                  validates Aggregate info and dataframe schema info using following params.

                                                  validates Aggregate info and dataframe schema info using following params. +

                                                  Annotations
                                                  + @throws( + + classOf[KsbException] + ) + +
                                                  +
                                                23. + + +

                                                  + + final + def + + + wait(): Unit + +

                                                  + + Permalink + + +
                                                  Definition Classes
                                                  AnyRef
                                                  Annotations
                                                  + @throws( + + ... + ) + +
                                                  +
                                                24. + + +

                                                  + + final + def + + + wait(arg0: Long, arg1: Int): Unit + +

                                                  + + Permalink + + +
                                                  Definition Classes
                                                  AnyRef
                                                  Annotations
                                                  + @throws( + + ... + ) + +
                                                  +
                                                25. + + +

                                                  + + final + def + + + wait(arg0: Long): Unit + +

                                                  + + Permalink + + +
                                                  Definition Classes
                                                  AnyRef
                                                  Annotations
                                                  + @throws( + + ... + ) + +
                                                  +
                                                +
                                                + + + + +
                                                + +
                                                +
                                                +

                                                Inherited from BaseDataOperator[StreamOperatorInfo, DataFrame]

                                                +
                                                +

                                                Inherited from BaseGenericOperator[StreamOperatorInfo, DataFrame]

                                                +
                                                +

                                                Inherited from BaseGenericMutantOperator[StreamOperatorInfo, DataFrame, DataFrame]

                                                +
                                                +

                                                Inherited from BaseDoer

                                                +
                                                +

                                                Inherited from Logging

                                                +
                                                +

                                                Inherited from Serializable

                                                +
                                                +

                                                Inherited from Serializable

                                                +
                                                +

                                                Inherited from AnyRef

                                                +
                                                +

                                                Inherited from Any

                                                +
                                                + +
                                                + +
                                                +
                                                +

                                                Ungrouped

                                                + +
                                                +
                                                + +
                                                + +
                                                + + + + + + diff --git a/manual1903/api_reference/components/scaladocs/ksb/csle/component/operator/reduction/ChiSquareSelectOperator$.html b/manual1903/api_reference/components/scaladocs/ksb/csle/component/operator/reduction/ChiSquareSelectOperator$.html new file mode 100644 index 0000000000000000000000000000000000000000..7c0eea0742e10edb9a37d4159bf179f6d542386d --- /dev/null +++ b/manual1903/api_reference/components/scaladocs/ksb/csle/component/operator/reduction/ChiSquareSelectOperator$.html @@ -0,0 +1,505 @@ + + + + ChiSquareSelectOperator - KSB COMPONENTS Scala App Project 1.0-SNAPSHOT API - ksb.csle.component.operator.reduction.ChiSquareSelectOperator + + + + + + + + + + + + + + + + + +

                                                + + + object + + + ChiSquareSelectOperator extends Serializable + +

                                                + +
                                                + Linear Supertypes +
                                                Serializable, Serializable, AnyRef, Any
                                                +
                                                + + +
                                                +
                                                +
                                                + Ordering +
                                                  + +
                                                1. Alphabetic
                                                2. +
                                                3. By Inheritance
                                                4. +
                                                +
                                                +
                                                + Inherited
                                                +
                                                +
                                                  +
                                                1. ChiSquareSelectOperator
                                                2. Serializable
                                                3. Serializable
                                                4. AnyRef
                                                5. Any
                                                6. +
                                                +
                                                + +
                                                  +
                                                1. Hide All
                                                2. +
                                                3. Show All
                                                4. +
                                                +
                                                +
                                                + Visibility +
                                                1. Public
                                                2. All
                                                +
                                                +
                                                + +
                                                +
                                                + + + + + + +
                                                +

                                                Value Members

                                                +
                                                1. + + +

                                                  + + final + def + + + !=(arg0: Any): Boolean + +

                                                  + + Permalink + + +
                                                  Definition Classes
                                                  AnyRef → Any
                                                  +
                                                2. + + +

                                                  + + final + def + + + ##(): Int + +

                                                  + + Permalink + + +
                                                  Definition Classes
                                                  AnyRef → Any
                                                  +
                                                3. + + +

                                                  + + final + def + + + ==(arg0: Any): Boolean + +

                                                  + + Permalink + + +
                                                  Definition Classes
                                                  AnyRef → Any
                                                  +
                                                4. + + +

                                                  + + + def + + + apply(o: StreamOperatorInfo): ChiSquareSelectOperator + +

                                                  + + Permalink + + + +
                                                5. + + +

                                                  + + final + def + + + asInstanceOf[T0]: T0 + +

                                                  + + Permalink + + +
                                                  Definition Classes
                                                  Any
                                                  +
                                                6. + + +

                                                  + + + def + + + clone(): AnyRef + +

                                                  + + Permalink + + +
                                                  Attributes
                                                  protected[java.lang]
                                                  Definition Classes
                                                  AnyRef
                                                  Annotations
                                                  + @throws( + + ... + ) + +
                                                  +
                                                7. + + +

                                                  + + final + def + + + eq(arg0: AnyRef): Boolean + +

                                                  + + Permalink + + +
                                                  Definition Classes
                                                  AnyRef
                                                  +
                                                8. + + +

                                                  + + + def + + + equals(arg0: Any): Boolean + +

                                                  + + Permalink + + +
                                                  Definition Classes
                                                  AnyRef → Any
                                                  +
                                                9. + + +

                                                  + + + def + + + finalize(): Unit + +

                                                  + + Permalink + + +
                                                  Attributes
                                                  protected[java.lang]
                                                  Definition Classes
                                                  AnyRef
                                                  Annotations
                                                  + @throws( + + classOf[java.lang.Throwable] + ) + +
                                                  +
                                                10. + + +

                                                  + + final + def + + + getClass(): Class[_] + +

                                                  + + Permalink + + +
                                                  Definition Classes
                                                  AnyRef → Any
                                                  +
                                                11. + + +

                                                  + + + def + + + hashCode(): Int + +

                                                  + + Permalink + + +
                                                  Definition Classes
                                                  AnyRef → Any
                                                  +
                                                12. + + +

                                                  + + final + def + + + isInstanceOf[T0]: Boolean + +

                                                  + + Permalink + + +
                                                  Definition Classes
                                                  Any
                                                  +
                                                13. + + +

                                                  + + final + def + + + ne(arg0: AnyRef): Boolean + +

                                                  + + Permalink + + +
                                                  Definition Classes
                                                  AnyRef
                                                  +
                                                14. + + +

                                                  + + final + def + + + notify(): Unit + +

                                                  + + Permalink + + +
                                                  Definition Classes
                                                  AnyRef
                                                  +
                                                15. + + +

                                                  + + final + def + + + notifyAll(): Unit + +

                                                  + + Permalink + + +
                                                  Definition Classes
                                                  AnyRef
                                                  +
                                                16. + + +

                                                  + + final + def + + + synchronized[T0](arg0: ⇒ T0): T0 + +

                                                  + + Permalink + + +
                                                  Definition Classes
                                                  AnyRef
                                                  +
                                                17. + + +

                                                  + + + def + + + toString(): String + +

                                                  + + Permalink + + +
                                                  Definition Classes
                                                  AnyRef → Any
                                                  +
                                                18. + + +

                                                  + + final + def + + + wait(): Unit + +

                                                  + + Permalink + + +
                                                  Definition Classes
                                                  AnyRef
                                                  Annotations
                                                  + @throws( + + ... + ) + +
                                                  +
                                                19. + + +

                                                  + + final + def + + + wait(arg0: Long, arg1: Int): Unit + +

                                                  + + Permalink + + +
                                                  Definition Classes
                                                  AnyRef
                                                  Annotations
                                                  + @throws( + + ... + ) + +
                                                  +
                                                20. + + +

                                                  + + final + def + + + wait(arg0: Long): Unit + +

                                                  + + Permalink + + +
                                                  Definition Classes
                                                  AnyRef
                                                  Annotations
                                                  + @throws( + + ... + ) + +
                                                  +
                                                +
                                                + + + + +
                                                + +
                                                +
                                                +

                                                Inherited from Serializable

                                                +
                                                +

                                                Inherited from Serializable

                                                +
                                                +

                                                Inherited from AnyRef

                                                +
                                                +

                                                Inherited from Any

                                                +
                                                + +
                                                + +
                                                +
                                                +

                                                Ungrouped

                                                + +
                                                +
                                                + +
                                                + +
                                                + + + + + + diff --git a/manual1903/api_reference/components/scaladocs/ksb/csle/component/operator/reduction/ChiSquareSelectOperator.html b/manual1903/api_reference/components/scaladocs/ksb/csle/component/operator/reduction/ChiSquareSelectOperator.html new file mode 100644 index 0000000000000000000000000000000000000000..5da61faff00fb5527cd348695a139f97f2b3ce31 --- /dev/null +++ b/manual1903/api_reference/components/scaladocs/ksb/csle/component/operator/reduction/ChiSquareSelectOperator.html @@ -0,0 +1,637 @@ + + + + ChiSquareSelectOperator - KSB COMPONENTS Scala App Project 1.0-SNAPSHOT API - ksb.csle.component.operator.reduction.ChiSquareSelectOperator + + + + + + + + + + + + + + + + + +

                                                + + + class + + + ChiSquareSelectOperator extends BaseDataOperator[StreamOperatorInfo, DataFrame] + +

                                                + +

                                                :: ApplicationDeveloperApi ::

                                                Operator that performs ChiSquared feature selector. It uses the Chi-Squared +test of independence to decide which features to choose ChiSquareSelector +value in a given dataframe +

                                                + Linear Supertypes +
                                                BaseDataOperator[StreamOperatorInfo, DataFrame], BaseGenericOperator[StreamOperatorInfo, DataFrame], BaseGenericMutantOperator[StreamOperatorInfo, DataFrame, DataFrame], BaseDoer, Logging, Serializable, Serializable, AnyRef, Any
                                                +
                                                + + +
                                                +
                                                +
                                                + Ordering +
                                                  + +
                                                1. Alphabetic
                                                2. +
                                                3. By Inheritance
                                                4. +
                                                +
                                                +
                                                + Inherited
                                                +
                                                +
                                                  +
                                                1. ChiSquareSelectOperator
                                                2. BaseDataOperator
                                                3. BaseGenericOperator
                                                4. BaseGenericMutantOperator
                                                5. BaseDoer
                                                6. Logging
                                                7. Serializable
                                                8. Serializable
                                                9. AnyRef
                                                10. Any
                                                11. +
                                                +
                                                + +
                                                  +
                                                1. Hide All
                                                2. +
                                                3. Show All
                                                4. +
                                                +
                                                +
                                                + Visibility +
                                                1. Public
                                                2. All
                                                +
                                                +
                                                + +
                                                +
                                                +
                                                +

                                                Instance Constructors

                                                +
                                                1. + + +

                                                  + + + new + + + ChiSquareSelectOperator(o: StreamOperatorInfo) + +

                                                  + + Permalink + + +

                                                  o

                                                  Object that contains message + ksb.csle.common.proto.StreamOperatorProto.ChiSquareSelectorInfo + ChiSquareSelectorInfo contains attributes as follows:

                                                  • labelName: label Name (repeated)
                                                  • numTopFeatures: Parameter to choose a fixed number of top features + according to a chi-squared test (required)

                                                  ChiSquareSelectorInfo

                                                  message ChiSquareSelectorInfo {
                                                  +required string labelName = 1;
                                                  +required int32 numTopFeatures = 2 [default = 1];
                                                  +}
                                                  +
                                                +
                                                + + + + + +
                                                +

                                                Value Members

                                                +
                                                1. + + +

                                                  + + final + def + + + !=(arg0: Any): Boolean + +

                                                  + + Permalink + + +
                                                  Definition Classes
                                                  AnyRef → Any
                                                  +
                                                2. + + +

                                                  + + final + def + + + ##(): Int + +

                                                  + + Permalink + + +
                                                  Definition Classes
                                                  AnyRef → Any
                                                  +
                                                3. + + +

                                                  + + final + def + + + ==(arg0: Any): Boolean + +

                                                  + + Permalink + + +
                                                  Definition Classes
                                                  AnyRef → Any
                                                  +
                                                4. + + +

                                                  + + final + def + + + asInstanceOf[T0]: T0 + +

                                                  + + Permalink + + +
                                                  Definition Classes
                                                  Any
                                                  +
                                                5. + + +

                                                  + + + def + + + clone(): AnyRef + +

                                                  + + Permalink + + +
                                                  Attributes
                                                  protected[java.lang]
                                                  Definition Classes
                                                  AnyRef
                                                  Annotations
                                                  + @throws( + + ... + ) + +
                                                  +
                                                6. + + +

                                                  + + final + def + + + eq(arg0: AnyRef): Boolean + +

                                                  + + Permalink + + +
                                                  Definition Classes
                                                  AnyRef
                                                  +
                                                7. + + +

                                                  + + + def + + + equals(arg0: Any): Boolean + +

                                                  + + Permalink + + +
                                                  Definition Classes
                                                  AnyRef → Any
                                                  +
                                                8. + + +

                                                  + + + def + + + finalize(): Unit + +

                                                  + + Permalink + + +
                                                  Attributes
                                                  protected[java.lang]
                                                  Definition Classes
                                                  AnyRef
                                                  Annotations
                                                  + @throws( + + classOf[java.lang.Throwable] + ) + +
                                                  +
                                                9. + + +

                                                  + + final + def + + + getClass(): Class[_] + +

                                                  + + Permalink + + +
                                                  Definition Classes
                                                  AnyRef → Any
                                                  +
                                                10. + + +

                                                  + + + def + + + getFeaturesColumns(df: DataFrame): Array[String] + +

                                                  + + Permalink + + + +
                                                11. + + +

                                                  + + + def + + + hashCode(): Int + +

                                                  + + Permalink + + +
                                                  Definition Classes
                                                  AnyRef → Any
                                                  +
                                                12. + + +

                                                  + + final + def + + + isInstanceOf[T0]: Boolean + +

                                                  + + Permalink + + +
                                                  Definition Classes
                                                  Any
                                                  +
                                                13. + + +

                                                  + + + val + + + logger: Logger + +

                                                  + + Permalink + + +
                                                  Attributes
                                                  protected
                                                  Definition Classes
                                                  Logging
                                                  +
                                                14. + + +

                                                  + + final + def + + + ne(arg0: AnyRef): Boolean + +

                                                  + + Permalink + + +
                                                  Definition Classes
                                                  AnyRef
                                                  +
                                                15. + + +

                                                  + + final + def + + + notify(): Unit + +

                                                  + + Permalink + + +
                                                  Definition Classes
                                                  AnyRef
                                                  +
                                                16. + + +

                                                  + + final + def + + + notifyAll(): Unit + +

                                                  + + Permalink + + +
                                                  Definition Classes
                                                  AnyRef
                                                  +
                                                17. + + +

                                                  + + + def + + + operate(df: DataFrame): DataFrame + +

                                                  + + Permalink + + +

                                                  Operates ChiSquareSelector.

                                                  Operates ChiSquareSelector. +

                                                  df

                                                  Input dataframe

                                                  returns

                                                  DataFrame Output dataframe

                                                  Definition Classes
                                                  ChiSquareSelectOperator → BaseGenericOperator → BaseGenericMutantOperator
                                                  +
                                                18. + + +

                                                  + + + val + + + p: ChiSquareSelectorInfo + +

                                                  + + Permalink + + + +
                                                19. + + +

                                                  + + + def + + + stop: Unit + +

                                                  + + Permalink + + +
                                                  Definition Classes
                                                  BaseGenericOperator → BaseGenericMutantOperator
                                                  +
                                                20. + + +

                                                  + + final + def + + + synchronized[T0](arg0: ⇒ T0): T0 + +

                                                  + + Permalink + + +
                                                  Definition Classes
                                                  AnyRef
                                                  +
                                                21. + + +

                                                  + + + def + + + toString(): String + +

                                                  + + Permalink + + +
                                                  Definition Classes
                                                  AnyRef → Any
                                                  +
                                                22. + + +

                                                  + + + def + + + validate(df: DataFrame): DataFrame + +

                                                  + + Permalink + + +

                                                  validates ChiSquareSelector info and dataframe schema info using following params.

                                                  validates ChiSquareSelector info and dataframe schema info using following params. +

                                                  Annotations
                                                  + @throws( + + classOf[KsbException] + ) + +
                                                  +
                                                23. + + +

                                                  + + final + def + + + wait(): Unit + +

                                                  + + Permalink + + +
                                                  Definition Classes
                                                  AnyRef
                                                  Annotations
                                                  + @throws( + + ... + ) + +
                                                  +
                                                24. + + +

                                                  + + final + def + + + wait(arg0: Long, arg1: Int): Unit + +

                                                  + + Permalink + + +
                                                  Definition Classes
                                                  AnyRef
                                                  Annotations
                                                  + @throws( + + ... + ) + +
                                                  +
                                                25. + + +

                                                  + + final + def + + + wait(arg0: Long): Unit + +

                                                  + + Permalink + + +
                                                  Definition Classes
                                                  AnyRef
                                                  Annotations
                                                  + @throws( + + ... + ) + +
                                                  +
                                                +
                                                + + + + +
                                                + +
                                                +
                                                +

                                                Inherited from BaseDataOperator[StreamOperatorInfo, DataFrame]

                                                +
                                                +

                                                Inherited from BaseGenericOperator[StreamOperatorInfo, DataFrame]

                                                +
                                                +

                                                Inherited from BaseGenericMutantOperator[StreamOperatorInfo, DataFrame, DataFrame]

                                                +
                                                +

                                                Inherited from BaseDoer

                                                +
                                                +

                                                Inherited from Logging

                                                +
                                                +

                                                Inherited from Serializable

                                                +
                                                +

                                                Inherited from Serializable

                                                +
                                                +

                                                Inherited from AnyRef

                                                +
                                                +

                                                Inherited from Any

                                                +
                                                + +
                                                + +
                                                +
                                                +

                                                Ungrouped

                                                + +
                                                +
                                                + +
                                                + +
                                                + + + + + + diff --git a/manual1903/api_reference/components/scaladocs/ksb/csle/component/operator/reduction/ColumnRemoveOperator$.html b/manual1903/api_reference/components/scaladocs/ksb/csle/component/operator/reduction/ColumnRemoveOperator$.html new file mode 100644 index 0000000000000000000000000000000000000000..d8cf9807f55736cbdc05a7a081bd5f2d8b7d52c0 --- /dev/null +++ b/manual1903/api_reference/components/scaladocs/ksb/csle/component/operator/reduction/ColumnRemoveOperator$.html @@ -0,0 +1,505 @@ + + + + ColumnRemoveOperator - KSB COMPONENTS Scala App Project 1.0-SNAPSHOT API - ksb.csle.component.operator.reduction.ColumnRemoveOperator + + + + + + + + + + + + + + + + + +

                                                + + + object + + + ColumnRemoveOperator extends Serializable + +

                                                + +
                                                + Linear Supertypes +
                                                Serializable, Serializable, AnyRef, Any
                                                +
                                                + + +
                                                +
                                                +
                                                + Ordering +
                                                  + +
                                                1. Alphabetic
                                                2. +
                                                3. By Inheritance
                                                4. +
                                                +
                                                +
                                                + Inherited
                                                +
                                                +
                                                  +
                                                1. ColumnRemoveOperator
                                                2. Serializable
                                                3. Serializable
                                                4. AnyRef
                                                5. Any
                                                6. +
                                                +
                                                + +
                                                  +
                                                1. Hide All
                                                2. +
                                                3. Show All
                                                4. +
                                                +
                                                +
                                                + Visibility +
                                                1. Public
                                                2. All
                                                +
                                                +
                                                + +
                                                +
                                                + + + + + + +
                                                +

                                                Value Members

                                                +
                                                1. + + +

                                                  + + final + def + + + !=(arg0: Any): Boolean + +

                                                  + + Permalink + + +
                                                  Definition Classes
                                                  AnyRef → Any
                                                  +
                                                2. + + +

                                                  + + final + def + + + ##(): Int + +

                                                  + + Permalink + + +
                                                  Definition Classes
                                                  AnyRef → Any
                                                  +
                                                3. + + +

                                                  + + final + def + + + ==(arg0: Any): Boolean + +

                                                  + + Permalink + + +
                                                  Definition Classes
                                                  AnyRef → Any
                                                  +
                                                4. + + +

                                                  + + + def + + + apply(o: StreamOperatorInfo): ColumnRemoveOperator + +

                                                  + + Permalink + + + +
                                                5. + + +

                                                  + + final + def + + + asInstanceOf[T0]: T0 + +

                                                  + + Permalink + + +
                                                  Definition Classes
                                                  Any
                                                  +
                                                6. + + +

                                                  + + + def + + + clone(): AnyRef + +

                                                  + + Permalink + + +
                                                  Attributes
                                                  protected[java.lang]
                                                  Definition Classes
                                                  AnyRef
                                                  Annotations
                                                  + @throws( + + ... + ) + +
                                                  +
                                                7. + + +

                                                  + + final + def + + + eq(arg0: AnyRef): Boolean + +

                                                  + + Permalink + + +
                                                  Definition Classes
                                                  AnyRef
                                                  +
                                                8. + + +

                                                  + + + def + + + equals(arg0: Any): Boolean + +

                                                  + + Permalink + + +
                                                  Definition Classes
                                                  AnyRef → Any
                                                  +
                                                9. + + +

                                                  + + + def + + + finalize(): Unit + +

                                                  + + Permalink + + +
                                                  Attributes
                                                  protected[java.lang]
                                                  Definition Classes
                                                  AnyRef
                                                  Annotations
                                                  + @throws( + + classOf[java.lang.Throwable] + ) + +
                                                  +
                                                10. + + +

                                                  + + final + def + + + getClass(): Class[_] + +

                                                  + + Permalink + + +
                                                  Definition Classes
                                                  AnyRef → Any
                                                  +
                                                11. + + +

                                                  + + + def + + + hashCode(): Int + +

                                                  + + Permalink + + +
                                                  Definition Classes
                                                  AnyRef → Any
                                                  +
                                                12. + + +

                                                  + + final + def + + + isInstanceOf[T0]: Boolean + +

                                                  + + Permalink + + +
                                                  Definition Classes
                                                  Any
                                                  +
                                                13. + + +

                                                  + + final + def + + + ne(arg0: AnyRef): Boolean + +

                                                  + + Permalink + + +
                                                  Definition Classes
                                                  AnyRef
                                                  +
                                                14. + + +

                                                  + + final + def + + + notify(): Unit + +

                                                  + + Permalink + + +
                                                  Definition Classes
                                                  AnyRef
                                                  +
                                                15. + + +

                                                  + + final + def + + + notifyAll(): Unit + +

                                                  + + Permalink + + +
                                                  Definition Classes
                                                  AnyRef
                                                  +
                                                16. + + +

                                                  + + final + def + + + synchronized[T0](arg0: ⇒ T0): T0 + +

                                                  + + Permalink + + +
                                                  Definition Classes
                                                  AnyRef
                                                  +
                                                17. + + +

                                                  + + + def + + + toString(): String + +

                                                  + + Permalink + + +
                                                  Definition Classes
                                                  AnyRef → Any
                                                  +
                                                18. + + +

                                                  + + final + def + + + wait(): Unit + +

                                                  + + Permalink + + +
                                                  Definition Classes
                                                  AnyRef
                                                  Annotations
                                                  + @throws( + + ... + ) + +
                                                  +
                                                19. + + +

                                                  + + final + def + + + wait(arg0: Long, arg1: Int): Unit + +

                                                  + + Permalink + + +
                                                  Definition Classes
                                                  AnyRef
                                                  Annotations
                                                  + @throws( + + ... + ) + +
                                                  +
                                                20. + + +

                                                  + + final + def + + + wait(arg0: Long): Unit + +

                                                  + + Permalink + + +
                                                  Definition Classes
                                                  AnyRef
                                                  Annotations
                                                  + @throws( + + ... + ) + +
                                                  +
                                                +
                                                + + + + +
                                                + +
                                                +
                                                +

                                                Inherited from Serializable

                                                +
                                                +

                                                Inherited from Serializable

                                                +
                                                +

                                                Inherited from AnyRef

                                                +
                                                +

                                                Inherited from Any

                                                +
                                                + +
                                                + +
                                                +
                                                +

                                                Ungrouped

                                                + +
                                                +
                                                + +
                                                + +
                                                + + + + + + diff --git a/manual1903/api_reference/components/scaladocs/ksb/csle/component/operator/reduction/ColumnRemoveOperator.html b/manual1903/api_reference/components/scaladocs/ksb/csle/component/operator/reduction/ColumnRemoveOperator.html new file mode 100644 index 0000000000000000000000000000000000000000..912bcf7c0721fb07b3861fb818eab69d2f6c7ec6 --- /dev/null +++ b/manual1903/api_reference/components/scaladocs/ksb/csle/component/operator/reduction/ColumnRemoveOperator.html @@ -0,0 +1,592 @@ + + + + ColumnRemoveOperator - KSB COMPONENTS Scala App Project 1.0-SNAPSHOT API - ksb.csle.component.operator.reduction.ColumnRemoveOperator + + + + + + + + + + + + + + + + + +

                                                + + + class + + + ColumnRemoveOperator extends BaseDataOperator[StreamOperatorInfo, DataFrame] + +

                                                + +

                                                :: ApplicationDeveloperApi ::

                                                Operator that removes the selected columns in the given dataframe. +

                                                + Linear Supertypes +
                                                BaseDataOperator[StreamOperatorInfo, DataFrame], BaseGenericOperator[StreamOperatorInfo, DataFrame], BaseGenericMutantOperator[StreamOperatorInfo, DataFrame, DataFrame], BaseDoer, Logging, Serializable, Serializable, AnyRef, Any
                                                +
                                                + + +
                                                +
                                                +
                                                + Ordering +
                                                  + +
                                                1. Alphabetic
                                                2. +
                                                3. By Inheritance
                                                4. +
                                                +
                                                +
                                                + Inherited
                                                +
                                                +
                                                  +
                                                1. ColumnRemoveOperator
                                                2. BaseDataOperator
                                                3. BaseGenericOperator
                                                4. BaseGenericMutantOperator
                                                5. BaseDoer
                                                6. Logging
                                                7. Serializable
                                                8. Serializable
                                                9. AnyRef
                                                10. Any
                                                11. +
                                                +
                                                + +
                                                  +
                                                1. Hide All
                                                2. +
                                                3. Show All
                                                4. +
                                                +
                                                +
                                                + Visibility +
                                                1. Public
                                                2. All
                                                +
                                                +
                                                + +
                                                +
                                                +
                                                +

                                                Instance Constructors

                                                +
                                                1. + + +

                                                  + + + new + + + ColumnRemoveOperator(o: StreamOperatorInfo) + +

                                                  + + Permalink + + +

                                                  o

                                                  Object that contains message + ksb.csle.common.proto.StreamOperatorProto.RemoveSelectedColumnsInfo + RemoveSelectedColumnsInfo contains attributes as follows:

                                                  • selectedColumnId: Column ids to be removed. (repeated)

                                                  RemoveSelectedColumnsInfo

                                                  message RemoveSelectedColumnsInfo {
                                                  +repeated int32 selectedColumnId = 4;
                                                  +}
                                                  +
                                                +
                                                + + + + + +
                                                +

                                                Value Members

                                                +
                                                1. + + +

                                                  + + final + def + + + !=(arg0: Any): Boolean + +

                                                  + + Permalink + + +
                                                  Definition Classes
                                                  AnyRef → Any
                                                  +
                                                2. + + +

                                                  + + final + def + + + ##(): Int + +

                                                  + + Permalink + + +
                                                  Definition Classes
                                                  AnyRef → Any
                                                  +
                                                3. + + +

                                                  + + final + def + + + ==(arg0: Any): Boolean + +

                                                  + + Permalink + + +
                                                  Definition Classes
                                                  AnyRef → Any
                                                  +
                                                4. + + +

                                                  + + final + def + + + asInstanceOf[T0]: T0 + +

                                                  + + Permalink + + +
                                                  Definition Classes
                                                  Any
                                                  +
                                                5. + + +

                                                  + + + def + + + clone(): AnyRef + +

                                                  + + Permalink + + +
                                                  Attributes
                                                  protected[java.lang]
                                                  Definition Classes
                                                  AnyRef
                                                  Annotations
                                                  + @throws( + + ... + ) + +
                                                  +
                                                6. + + +

                                                  + + final + def + + + eq(arg0: AnyRef): Boolean + +

                                                  + + Permalink + + +
                                                  Definition Classes
                                                  AnyRef
                                                  +
                                                7. + + +

                                                  + + + def + + + equals(arg0: Any): Boolean + +

                                                  + + Permalink + + +
                                                  Definition Classes
                                                  AnyRef → Any
                                                  +
                                                8. + + +

                                                  + + + def + + + finalize(): Unit + +

                                                  + + Permalink + + +
                                                  Attributes
                                                  protected[java.lang]
                                                  Definition Classes
                                                  AnyRef
                                                  Annotations
                                                  + @throws( + + classOf[java.lang.Throwable] + ) + +
                                                  +
                                                9. + + +

                                                  + + final + def + + + getClass(): Class[_] + +

                                                  + + Permalink + + +
                                                  Definition Classes
                                                  AnyRef → Any
                                                  +
                                                10. + + +

                                                  + + + def + + + hashCode(): Int + +

                                                  + + Permalink + + +
                                                  Definition Classes
                                                  AnyRef → Any
                                                  +
                                                11. + + +

                                                  + + final + def + + + isInstanceOf[T0]: Boolean + +

                                                  + + Permalink + + +
                                                  Definition Classes
                                                  Any
                                                  +
                                                12. + + +

                                                  + + + val + + + logger: Logger + +

                                                  + + Permalink + + +
                                                  Attributes
                                                  protected
                                                  Definition Classes
                                                  Logging
                                                  +
                                                13. + + +

                                                  + + final + def + + + ne(arg0: AnyRef): Boolean + +

                                                  + + Permalink + + +
                                                  Definition Classes
                                                  AnyRef
                                                  +
                                                14. + + +

                                                  + + final + def + + + notify(): Unit + +

                                                  + + Permalink + + +
                                                  Definition Classes
                                                  AnyRef
                                                  +
                                                15. + + +

                                                  + + final + def + + + notifyAll(): Unit + +

                                                  + + Permalink + + +
                                                  Definition Classes
                                                  AnyRef
                                                  +
                                                16. + + +

                                                  + + + def + + + operate(df: DataFrame): DataFrame + +

                                                  + + Permalink + + +

                                                  Operates removeSelectedColumns function using following params.

                                                  Operates removeSelectedColumns function using following params. +

                                                  df

                                                  Input dataframe

                                                  returns

                                                  DataFrame Output dataframe

                                                  Definition Classes
                                                  ColumnRemoveOperator → BaseGenericOperator → BaseGenericMutantOperator
                                                  +
                                                17. + + +

                                                  + + + val + + + p: RemoveSelectedColumnsInfo + +

                                                  + + Permalink + + + +
                                                18. + + +

                                                  + + + def + + + stop: Unit + +

                                                  + + Permalink + + +
                                                  Definition Classes
                                                  BaseGenericOperator → BaseGenericMutantOperator
                                                  +
                                                19. + + +

                                                  + + final + def + + + synchronized[T0](arg0: ⇒ T0): T0 + +

                                                  + + Permalink + + +
                                                  Definition Classes
                                                  AnyRef
                                                  +
                                                20. + + +

                                                  + + + def + + + toString(): String + +

                                                  + + Permalink + + +
                                                  Definition Classes
                                                  AnyRef → Any
                                                  +
                                                21. + + +

                                                  + + final + def + + + wait(): Unit + +

                                                  + + Permalink + + +
                                                  Definition Classes
                                                  AnyRef
                                                  Annotations
                                                  + @throws( + + ... + ) + +
                                                  +
                                                22. + + +

                                                  + + final + def + + + wait(arg0: Long, arg1: Int): Unit + +

                                                  + + Permalink + + +
                                                  Definition Classes
                                                  AnyRef
                                                  Annotations
                                                  + @throws( + + ... + ) + +
                                                  +
                                                23. + + +

                                                  + + final + def + + + wait(arg0: Long): Unit + +

                                                  + + Permalink + + +
                                                  Definition Classes
                                                  AnyRef
                                                  Annotations
                                                  + @throws( + + ... + ) + +
                                                  +
                                                +
                                                + + + + +
                                                + +
                                                +
                                                +

                                                Inherited from BaseDataOperator[StreamOperatorInfo, DataFrame]

                                                +
                                                +

                                                Inherited from BaseGenericOperator[StreamOperatorInfo, DataFrame]

                                                +
                                                +

                                                Inherited from BaseGenericMutantOperator[StreamOperatorInfo, DataFrame, DataFrame]

                                                +
                                                +

                                                Inherited from BaseDoer

                                                +
                                                +

                                                Inherited from Logging

                                                +
                                                +

                                                Inherited from Serializable

                                                +
                                                +

                                                Inherited from Serializable

                                                +
                                                +

                                                Inherited from AnyRef

                                                +
                                                +

                                                Inherited from Any

                                                +
                                                + +
                                                + +
                                                +
                                                +

                                                Ungrouped

                                                + +
                                                +
                                                + +
                                                + +
                                                + + + + + + diff --git a/manual1903/api_reference/components/scaladocs/ksb/csle/component/operator/reduction/ColumnSelectOperator$.html b/manual1903/api_reference/components/scaladocs/ksb/csle/component/operator/reduction/ColumnSelectOperator$.html new file mode 100644 index 0000000000000000000000000000000000000000..a499036054081173edf589e34d0a4806b67f65b2 --- /dev/null +++ b/manual1903/api_reference/components/scaladocs/ksb/csle/component/operator/reduction/ColumnSelectOperator$.html @@ -0,0 +1,505 @@ + + + + ColumnSelectOperator - KSB COMPONENTS Scala App Project 1.0-SNAPSHOT API - ksb.csle.component.operator.reduction.ColumnSelectOperator + + + + + + + + + + + + + + + + + +

                                                + + + object + + + ColumnSelectOperator extends Serializable + +

                                                + +
                                                + Linear Supertypes +
                                                Serializable, Serializable, AnyRef, Any
                                                +
                                                + + +
                                                +
                                                +
                                                + Ordering +
                                                  + +
                                                1. Alphabetic
                                                2. +
                                                3. By Inheritance
                                                4. +
                                                +
                                                +
                                                + Inherited
                                                +
                                                +
                                                  +
                                                1. ColumnSelectOperator
                                                2. Serializable
                                                3. Serializable
                                                4. AnyRef
                                                5. Any
                                                6. +
                                                +
                                                + +
                                                  +
                                                1. Hide All
                                                2. +
                                                3. Show All
                                                4. +
                                                +
                                                +
                                                + Visibility +
                                                1. Public
                                                2. All
                                                +
                                                +
                                                + +
                                                +
                                                + + + + + + +
                                                +

                                                Value Members

                                                +
                                                1. + + +

                                                  + + final + def + + + !=(arg0: Any): Boolean + +

                                                  + + Permalink + + +
                                                  Definition Classes
                                                  AnyRef → Any
                                                  +
                                                2. + + +

                                                  + + final + def + + + ##(): Int + +

                                                  + + Permalink + + +
                                                  Definition Classes
                                                  AnyRef → Any
                                                  +
                                                3. + + +

                                                  + + final + def + + + ==(arg0: Any): Boolean + +

                                                  + + Permalink + + +
                                                  Definition Classes
                                                  AnyRef → Any
                                                  +
                                                4. + + +

                                                  + + + def + + + apply(o: StreamOperatorInfo): ColumnSelectOperator + +

                                                  + + Permalink + + + +
                                                5. + + +

                                                  + + final + def + + + asInstanceOf[T0]: T0 + +

                                                  + + Permalink + + +
                                                  Definition Classes
                                                  Any
                                                  +
                                                6. + + +

                                                  + + + def + + + clone(): AnyRef + +

                                                  + + Permalink + + +
                                                  Attributes
                                                  protected[java.lang]
                                                  Definition Classes
                                                  AnyRef
                                                  Annotations
                                                  + @throws( + + ... + ) + +
                                                  +
                                                7. + + +

                                                  + + final + def + + + eq(arg0: AnyRef): Boolean + +

                                                  + + Permalink + + +
                                                  Definition Classes
                                                  AnyRef
                                                  +
                                                8. + + +

                                                  + + + def + + + equals(arg0: Any): Boolean + +

                                                  + + Permalink + + +
                                                  Definition Classes
                                                  AnyRef → Any
                                                  +
                                                9. + + +

                                                  + + + def + + + finalize(): Unit + +

                                                  + + Permalink + + +
                                                  Attributes
                                                  protected[java.lang]
                                                  Definition Classes
                                                  AnyRef
                                                  Annotations
                                                  + @throws( + + classOf[java.lang.Throwable] + ) + +
                                                  +
                                                10. + + +

                                                  + + final + def + + + getClass(): Class[_] + +

                                                  + + Permalink + + +
                                                  Definition Classes
                                                  AnyRef → Any
                                                  +
                                                11. + + +

                                                  + + + def + + + hashCode(): Int + +

                                                  + + Permalink + + +
                                                  Definition Classes
                                                  AnyRef → Any
                                                  +
                                                12. + + +

                                                  + + final + def + + + isInstanceOf[T0]: Boolean + +

                                                  + + Permalink + + +
                                                  Definition Classes
                                                  Any
                                                  +
                                                13. + + +

                                                  + + final + def + + + ne(arg0: AnyRef): Boolean + +

                                                  + + Permalink + + +
                                                  Definition Classes
                                                  AnyRef
                                                  +
                                                14. + + +

                                                  + + final + def + + + notify(): Unit + +

                                                  + + Permalink + + +
                                                  Definition Classes
                                                  AnyRef
                                                  +
                                                15. + + +

                                                  + + final + def + + + notifyAll(): Unit + +

                                                  + + Permalink + + +
                                                  Definition Classes
                                                  AnyRef
                                                  +
                                                16. + + +

                                                  + + final + def + + + synchronized[T0](arg0: ⇒ T0): T0 + +

                                                  + + Permalink + + +
                                                  Definition Classes
                                                  AnyRef
                                                  +
                                                17. + + +

                                                  + + + def + + + toString(): String + +

                                                  + + Permalink + + +
                                                  Definition Classes
                                                  AnyRef → Any
                                                  +
                                                18. + + +

                                                  + + final + def + + + wait(): Unit + +

                                                  + + Permalink + + +
                                                  Definition Classes
                                                  AnyRef
                                                  Annotations
                                                  + @throws( + + ... + ) + +
                                                  +
                                                19. + + +

                                                  + + final + def + + + wait(arg0: Long, arg1: Int): Unit + +

                                                  + + Permalink + + +
                                                  Definition Classes
                                                  AnyRef
                                                  Annotations
                                                  + @throws( + + ... + ) + +
                                                  +
                                                20. + + +

                                                  + + final + def + + + wait(arg0: Long): Unit + +

                                                  + + Permalink + + +
                                                  Definition Classes
                                                  AnyRef
                                                  Annotations
                                                  + @throws( + + ... + ) + +
                                                  +
                                                +
                                                + + + + +
                                                + +
                                                +
                                                +

                                                Inherited from Serializable

                                                +
                                                +

                                                Inherited from Serializable

                                                +
                                                +

                                                Inherited from AnyRef

                                                +
                                                +

                                                Inherited from Any

                                                +
                                                + +
                                                + +
                                                +
                                                +

                                                Ungrouped

                                                + +
                                                +
                                                + +
                                                + +
                                                + + + + + + diff --git a/manual1903/api_reference/components/scaladocs/ksb/csle/component/operator/reduction/ColumnSelectOperator.html b/manual1903/api_reference/components/scaladocs/ksb/csle/component/operator/reduction/ColumnSelectOperator.html new file mode 100644 index 0000000000000000000000000000000000000000..f39da7a116939fecb109c9695a46a8ca19e670cd --- /dev/null +++ b/manual1903/api_reference/components/scaladocs/ksb/csle/component/operator/reduction/ColumnSelectOperator.html @@ -0,0 +1,595 @@ + + + + ColumnSelectOperator - KSB COMPONENTS Scala App Project 1.0-SNAPSHOT API - ksb.csle.component.operator.reduction.ColumnSelectOperator + + + + + + + + + + + + + + + + + +

                                                + + + class + + + ColumnSelectOperator extends BaseDataOperator[StreamOperatorInfo, DataFrame] + +

                                                + +

                                                :: ApplicationDeveloperApi ::

                                                Operator that selects the columns that user wants to choose. +

                                                + Linear Supertypes +
                                                BaseDataOperator[StreamOperatorInfo, DataFrame], BaseGenericOperator[StreamOperatorInfo, DataFrame], BaseGenericMutantOperator[StreamOperatorInfo, DataFrame, DataFrame], BaseDoer, Logging, Serializable, Serializable, AnyRef, Any
                                                +
                                                + + +
                                                +
                                                +
                                                + Ordering +
                                                  + +
                                                1. Alphabetic
                                                2. +
                                                3. By Inheritance
                                                4. +
                                                +
                                                +
                                                + Inherited
                                                +
                                                +
                                                  +
                                                1. ColumnSelectOperator
                                                2. BaseDataOperator
                                                3. BaseGenericOperator
                                                4. BaseGenericMutantOperator
                                                5. BaseDoer
                                                6. Logging
                                                7. Serializable
                                                8. Serializable
                                                9. AnyRef
                                                10. Any
                                                11. +
                                                +
                                                + +
                                                  +
                                                1. Hide All
                                                2. +
                                                3. Show All
                                                4. +
                                                +
                                                +
                                                + Visibility +
                                                1. Public
                                                2. All
                                                +
                                                +
                                                + +
                                                +
                                                +
                                                +

                                                Instance Constructors

                                                +
                                                1. + + +

                                                  + + + new + + + ColumnSelectOperator(o: StreamOperatorInfo) + +

                                                  + + Permalink + + +

                                                  o

                                                  Object that contains message + ksb.csle.common.proto.StreamOperatorProto.SelectColumnsInfo + SelectColumnsInfo contains attributes as follows:

                                                  • selectedColumnId: Column ids to be selected (repeated)
                                                  • subParam: Option to select (repeated) + Ex: {"order","1000000300,1000000100,1000000200,1000000500"}
                                                  • selectedColumnName: Column names to be selected (repeated)

                                                  SelectColumnsInfo

                                                  message SelectColumnsInfo {
                                                  +repeated int32 selectedColumnId = 4;
                                                  +repeated SubParameter subParam = 5;
                                                  +repeated string selectedColumnName = 6;
                                                  +}
                                                  +
                                                +
                                                + + + + + +
                                                +

                                                Value Members

                                                +
                                                1. + + +

                                                  + + final + def + + + !=(arg0: Any): Boolean + +

                                                  + + Permalink + + +
                                                  Definition Classes
                                                  AnyRef → Any
                                                  +
                                                2. + + +

                                                  + + final + def + + + ##(): Int + +

                                                  + + Permalink + + +
                                                  Definition Classes
                                                  AnyRef → Any
                                                  +
                                                3. + + +

                                                  + + final + def + + + ==(arg0: Any): Boolean + +

                                                  + + Permalink + + +
                                                  Definition Classes
                                                  AnyRef → Any
                                                  +
                                                4. + + +

                                                  + + final + def + + + asInstanceOf[T0]: T0 + +

                                                  + + Permalink + + +
                                                  Definition Classes
                                                  Any
                                                  +
                                                5. + + +

                                                  + + + def + + + clone(): AnyRef + +

                                                  + + Permalink + + +
                                                  Attributes
                                                  protected[java.lang]
                                                  Definition Classes
                                                  AnyRef
                                                  Annotations
                                                  + @throws( + + ... + ) + +
                                                  +
                                                6. + + +

                                                  + + final + def + + + eq(arg0: AnyRef): Boolean + +

                                                  + + Permalink + + +
                                                  Definition Classes
                                                  AnyRef
                                                  +
                                                7. + + +

                                                  + + + def + + + equals(arg0: Any): Boolean + +

                                                  + + Permalink + + +
                                                  Definition Classes
                                                  AnyRef → Any
                                                  +
                                                8. + + +

                                                  + + + def + + + finalize(): Unit + +

                                                  + + Permalink + + +
                                                  Attributes
                                                  protected[java.lang]
                                                  Definition Classes
                                                  AnyRef
                                                  Annotations
                                                  + @throws( + + classOf[java.lang.Throwable] + ) + +
                                                  +
                                                9. + + +

                                                  + + final + def + + + getClass(): Class[_] + +

                                                  + + Permalink + + +
                                                  Definition Classes
                                                  AnyRef → Any
                                                  +
                                                10. + + +

                                                  + + + def + + + hashCode(): Int + +

                                                  + + Permalink + + +
                                                  Definition Classes
                                                  AnyRef → Any
                                                  +
                                                11. + + +

                                                  + + final + def + + + isInstanceOf[T0]: Boolean + +

                                                  + + Permalink + + +
                                                  Definition Classes
                                                  Any
                                                  +
                                                12. + + +

                                                  + + + val + + + logger: Logger + +

                                                  + + Permalink + + +
                                                  Attributes
                                                  protected
                                                  Definition Classes
                                                  Logging
                                                  +
                                                13. + + +

                                                  + + final + def + + + ne(arg0: AnyRef): Boolean + +

                                                  + + Permalink + + +
                                                  Definition Classes
                                                  AnyRef
                                                  +
                                                14. + + +

                                                  + + final + def + + + notify(): Unit + +

                                                  + + Permalink + + +
                                                  Definition Classes
                                                  AnyRef
                                                  +
                                                15. + + +

                                                  + + final + def + + + notifyAll(): Unit + +

                                                  + + Permalink + + +
                                                  Definition Classes
                                                  AnyRef
                                                  +
                                                16. + + +

                                                  + + + def + + + operate(df: DataFrame): DataFrame + +

                                                  + + Permalink + + +

                                                  Operates selectColumns.

                                                  Operates selectColumns. +

                                                  df

                                                  Input dataframe

                                                  returns

                                                  DataFrame Output dataframe

                                                  Definition Classes
                                                  ColumnSelectOperator → BaseGenericOperator → BaseGenericMutantOperator
                                                  +
                                                17. + + +

                                                  + + + val + + + p: SelectColumnsInfo + +

                                                  + + Permalink + + + +
                                                18. + + +

                                                  + + + def + + + stop: Unit + +

                                                  + + Permalink + + +
                                                  Definition Classes
                                                  BaseGenericOperator → BaseGenericMutantOperator
                                                  +
                                                19. + + +

                                                  + + final + def + + + synchronized[T0](arg0: ⇒ T0): T0 + +

                                                  + + Permalink + + +
                                                  Definition Classes
                                                  AnyRef
                                                  +
                                                20. + + +

                                                  + + + def + + + toString(): String + +

                                                  + + Permalink + + +
                                                  Definition Classes
                                                  AnyRef → Any
                                                  +
                                                21. + + +

                                                  + + final + def + + + wait(): Unit + +

                                                  + + Permalink + + +
                                                  Definition Classes
                                                  AnyRef
                                                  Annotations
                                                  + @throws( + + ... + ) + +
                                                  +
                                                22. + + +

                                                  + + final + def + + + wait(arg0: Long, arg1: Int): Unit + +

                                                  + + Permalink + + +
                                                  Definition Classes
                                                  AnyRef
                                                  Annotations
                                                  + @throws( + + ... + ) + +
                                                  +
                                                23. + + +

                                                  + + final + def + + + wait(arg0: Long): Unit + +

                                                  + + Permalink + + +
                                                  Definition Classes
                                                  AnyRef
                                                  Annotations
                                                  + @throws( + + ... + ) + +
                                                  +
                                                +
                                                + + + + +
                                                + +
                                                +
                                                +

                                                Inherited from BaseDataOperator[StreamOperatorInfo, DataFrame]

                                                +
                                                +

                                                Inherited from BaseGenericOperator[StreamOperatorInfo, DataFrame]

                                                +
                                                +

                                                Inherited from BaseGenericMutantOperator[StreamOperatorInfo, DataFrame, DataFrame]

                                                +
                                                +

                                                Inherited from BaseDoer

                                                +
                                                +

                                                Inherited from Logging

                                                +
                                                +

                                                Inherited from Serializable

                                                +
                                                +

                                                Inherited from Serializable

                                                +
                                                +

                                                Inherited from AnyRef

                                                +
                                                +

                                                Inherited from Any

                                                +
                                                + +
                                                + +
                                                +
                                                +

                                                Ungrouped

                                                + +
                                                +
                                                + +
                                                + +
                                                + + + + + + diff --git a/manual1903/api_reference/components/scaladocs/ksb/csle/component/operator/reduction/ColumnSelectWithFileOperator$.html b/manual1903/api_reference/components/scaladocs/ksb/csle/component/operator/reduction/ColumnSelectWithFileOperator$.html new file mode 100644 index 0000000000000000000000000000000000000000..4fa624111e2377b60f4330f9de23d1726b04354b --- /dev/null +++ b/manual1903/api_reference/components/scaladocs/ksb/csle/component/operator/reduction/ColumnSelectWithFileOperator$.html @@ -0,0 +1,505 @@ + + + + ColumnSelectWithFileOperator - KSB COMPONENTS Scala App Project 1.0-SNAPSHOT API - ksb.csle.component.operator.reduction.ColumnSelectWithFileOperator + + + + + + + + + + + + + + + + + +

                                                + + + object + + + ColumnSelectWithFileOperator extends Serializable + +

                                                + +
                                                + Linear Supertypes +
                                                Serializable, Serializable, AnyRef, Any
                                                +
                                                + + +
                                                +
                                                +
                                                + Ordering +
                                                  + +
                                                1. Alphabetic
                                                2. +
                                                3. By Inheritance
                                                4. +
                                                +
                                                +
                                                + Inherited
                                                +
                                                +
                                                  +
                                                1. ColumnSelectWithFileOperator
                                                2. Serializable
                                                3. Serializable
                                                4. AnyRef
                                                5. Any
                                                6. +
                                                +
                                                + +
                                                  +
                                                1. Hide All
                                                2. +
                                                3. Show All
                                                4. +
                                                +
                                                +
                                                + Visibility +
                                                1. Public
                                                2. All
                                                +
                                                +
                                                + +
                                                +
                                                + + + + + + +
                                                +

                                                Value Members

                                                +
                                                1. + + +

                                                  + + final + def + + + !=(arg0: Any): Boolean + +

                                                  + + Permalink + + +
                                                  Definition Classes
                                                  AnyRef → Any
                                                  +
                                                2. + + +

                                                  + + final + def + + + ##(): Int + +

                                                  + + Permalink + + +
                                                  Definition Classes
                                                  AnyRef → Any
                                                  +
                                                3. + + +

                                                  + + final + def + + + ==(arg0: Any): Boolean + +

                                                  + + Permalink + + +
                                                  Definition Classes
                                                  AnyRef → Any
                                                  +
                                                4. + + +

                                                  + + + def + + + apply(o: StreamOperatorInfo): ColumnSelectWithFileOperator + +

                                                  + + Permalink + + + +
                                                5. + + +

                                                  + + final + def + + + asInstanceOf[T0]: T0 + +

                                                  + + Permalink + + +
                                                  Definition Classes
                                                  Any
                                                  +
                                                6. + + +

                                                  + + + def + + + clone(): AnyRef + +

                                                  + + Permalink + + +
                                                  Attributes
                                                  protected[java.lang]
                                                  Definition Classes
                                                  AnyRef
                                                  Annotations
                                                  + @throws( + + ... + ) + +
                                                  +
                                                7. + + +

                                                  + + final + def + + + eq(arg0: AnyRef): Boolean + +

                                                  + + Permalink + + +
                                                  Definition Classes
                                                  AnyRef
                                                  +
                                                8. + + +

                                                  + + + def + + + equals(arg0: Any): Boolean + +

                                                  + + Permalink + + +
                                                  Definition Classes
                                                  AnyRef → Any
                                                  +
                                                9. + + +

                                                  + + + def + + + finalize(): Unit + +

                                                  + + Permalink + + +
                                                  Attributes
                                                  protected[java.lang]
                                                  Definition Classes
                                                  AnyRef
                                                  Annotations
                                                  + @throws( + + classOf[java.lang.Throwable] + ) + +
                                                  +
                                                10. + + +

                                                  + + final + def + + + getClass(): Class[_] + +

                                                  + + Permalink + + +
                                                  Definition Classes
                                                  AnyRef → Any
                                                  +
                                                11. + + +

                                                  + + + def + + + hashCode(): Int + +

                                                  + + Permalink + + +
                                                  Definition Classes
                                                  AnyRef → Any
                                                  +
                                                12. + + +

                                                  + + final + def + + + isInstanceOf[T0]: Boolean + +

                                                  + + Permalink + + +
                                                  Definition Classes
                                                  Any
                                                  +
                                                13. + + +

                                                  + + final + def + + + ne(arg0: AnyRef): Boolean + +

                                                  + + Permalink + + +
                                                  Definition Classes
                                                  AnyRef
                                                  +
                                                14. + + +

                                                  + + final + def + + + notify(): Unit + +

                                                  + + Permalink + + +
                                                  Definition Classes
                                                  AnyRef
                                                  +
                                                15. + + +

                                                  + + final + def + + + notifyAll(): Unit + +

                                                  + + Permalink + + +
                                                  Definition Classes
                                                  AnyRef
                                                  +
                                                16. + + +

                                                  + + final + def + + + synchronized[T0](arg0: ⇒ T0): T0 + +

                                                  + + Permalink + + +
                                                  Definition Classes
                                                  AnyRef
                                                  +
                                                17. + + +

                                                  + + + def + + + toString(): String + +

                                                  + + Permalink + + +
                                                  Definition Classes
                                                  AnyRef → Any
                                                  +
                                                18. + + +

                                                  + + final + def + + + wait(): Unit + +

                                                  + + Permalink + + +
                                                  Definition Classes
                                                  AnyRef
                                                  Annotations
                                                  + @throws( + + ... + ) + +
                                                  +
                                                19. + + +

                                                  + + final + def + + + wait(arg0: Long, arg1: Int): Unit + +

                                                  + + Permalink + + +
                                                  Definition Classes
                                                  AnyRef
                                                  Annotations
                                                  + @throws( + + ... + ) + +
                                                  +
                                                20. + + +

                                                  + + final + def + + + wait(arg0: Long): Unit + +

                                                  + + Permalink + + +
                                                  Definition Classes
                                                  AnyRef
                                                  Annotations
                                                  + @throws( + + ... + ) + +
                                                  +
                                                +
                                                + + + + +
                                                + +
                                                +
                                                +

                                                Inherited from Serializable

                                                +
                                                +

                                                Inherited from Serializable

                                                +
                                                +

                                                Inherited from AnyRef

                                                +
                                                +

                                                Inherited from Any

                                                +
                                                + +
                                                + +
                                                +
                                                +

                                                Ungrouped

                                                + +
                                                +
                                                + +
                                                + +
                                                + + + + + + diff --git a/manual1903/api_reference/components/scaladocs/ksb/csle/component/operator/reduction/ColumnSelectWithFileOperator.html b/manual1903/api_reference/components/scaladocs/ksb/csle/component/operator/reduction/ColumnSelectWithFileOperator.html new file mode 100644 index 0000000000000000000000000000000000000000..86cdd08569acbd5901ab23b93e991734c1ecfbbe --- /dev/null +++ b/manual1903/api_reference/components/scaladocs/ksb/csle/component/operator/reduction/ColumnSelectWithFileOperator.html @@ -0,0 +1,575 @@ + + + + ColumnSelectWithFileOperator - KSB COMPONENTS Scala App Project 1.0-SNAPSHOT API - ksb.csle.component.operator.reduction.ColumnSelectWithFileOperator + + + + + + + + + + + + + + + + + +

                                                + + + class + + + ColumnSelectWithFileOperator extends BaseDataOperator[StreamOperatorInfo, DataFrame] + +

                                                + +

                                                :: ApplicationDeveloperApi ::

                                                Operator that selects the columns that user wants to choose. +

                                                + Linear Supertypes +
                                                BaseDataOperator[StreamOperatorInfo, DataFrame], BaseGenericOperator[StreamOperatorInfo, DataFrame], BaseGenericMutantOperator[StreamOperatorInfo, DataFrame, DataFrame], BaseDoer, Logging, Serializable, Serializable, AnyRef, Any
                                                +
                                                + + +
                                                +
                                                +
                                                + Ordering +
                                                  + +
                                                1. Alphabetic
                                                2. +
                                                3. By Inheritance
                                                4. +
                                                +
                                                +
                                                + Inherited
                                                +
                                                +
                                                  +
                                                1. ColumnSelectWithFileOperator
                                                2. BaseDataOperator
                                                3. BaseGenericOperator
                                                4. BaseGenericMutantOperator
                                                5. BaseDoer
                                                6. Logging
                                                7. Serializable
                                                8. Serializable
                                                9. AnyRef
                                                10. Any
                                                11. +
                                                +
                                                + +
                                                  +
                                                1. Hide All
                                                2. +
                                                3. Show All
                                                4. +
                                                +
                                                +
                                                + Visibility +
                                                1. Public
                                                2. All
                                                +
                                                +
                                                + +
                                                +
                                                +
                                                +

                                                Instance Constructors

                                                +
                                                1. + + +

                                                  + + + new + + + ColumnSelectWithFileOperator(o: StreamOperatorInfo) + +

                                                  + + Permalink + + +

                                                  o

                                                  Object that contains message + ksb.csle.common.proto.StreamOperatorProto.SelectColumnsWithFileInfo + SelectColumnsWithFileInfo contains attributes as follows:

                                                  • columnIdPath: Path of file containing (required)

                                                  SelectColumnsInfo

                                                  message SelectColumnsWithFileInfo {
                                                  +  repeated int32 columnIdPath = 1;
                                                  +}
                                                  +
                                                +
                                                + + + + + +
                                                +

                                                Value Members

                                                +
                                                1. + + +

                                                  + + final + def + + + !=(arg0: Any): Boolean + +

                                                  + + Permalink + + +
                                                  Definition Classes
                                                  AnyRef → Any
                                                  +
                                                2. + + +

                                                  + + final + def + + + ##(): Int + +

                                                  + + Permalink + + +
                                                  Definition Classes
                                                  AnyRef → Any
                                                  +
                                                3. + + +

                                                  + + final + def + + + ==(arg0: Any): Boolean + +

                                                  + + Permalink + + +
                                                  Definition Classes
                                                  AnyRef → Any
                                                  +
                                                4. + + +

                                                  + + final + def + + + asInstanceOf[T0]: T0 + +

                                                  + + Permalink + + +
                                                  Definition Classes
                                                  Any
                                                  +
                                                5. + + +

                                                  + + + def + + + clone(): AnyRef + +

                                                  + + Permalink + + +
                                                  Attributes
                                                  protected[java.lang]
                                                  Definition Classes
                                                  AnyRef
                                                  Annotations
                                                  + @throws( + + ... + ) + +
                                                  +
                                                6. + + +

                                                  + + final + def + + + eq(arg0: AnyRef): Boolean + +

                                                  + + Permalink + + +
                                                  Definition Classes
                                                  AnyRef
                                                  +
                                                7. + + +

                                                  + + + def + + + equals(arg0: Any): Boolean + +

                                                  + + Permalink + + +
                                                  Definition Classes
                                                  AnyRef → Any
                                                  +
                                                8. + + +

                                                  + + + def + + + finalize(): Unit + +

                                                  + + Permalink + + +
                                                  Attributes
                                                  protected[java.lang]
                                                  Definition Classes
                                                  AnyRef
                                                  Annotations
                                                  + @throws( + + classOf[java.lang.Throwable] + ) + +
                                                  +
                                                9. + + +

                                                  + + final + def + + + getClass(): Class[_] + +

                                                  + + Permalink + + +
                                                  Definition Classes
                                                  AnyRef → Any
                                                  +
                                                10. + + +

                                                  + + + def + + + hashCode(): Int + +

                                                  + + Permalink + + +
                                                  Definition Classes
                                                  AnyRef → Any
                                                  +
                                                11. + + +

                                                  + + final + def + + + isInstanceOf[T0]: Boolean + +

                                                  + + Permalink + + +
                                                  Definition Classes
                                                  Any
                                                  +
                                                12. + + +

                                                  + + + val + + + logger: Logger + +

                                                  + + Permalink + + +
                                                  Attributes
                                                  protected
                                                  Definition Classes
                                                  Logging
                                                  +
                                                13. + + +

                                                  + + final + def + + + ne(arg0: AnyRef): Boolean + +

                                                  + + Permalink + + +
                                                  Definition Classes
                                                  AnyRef
                                                  +
                                                14. + + +

                                                  + + final + def + + + notify(): Unit + +

                                                  + + Permalink + + +
                                                  Definition Classes
                                                  AnyRef
                                                  +
                                                15. + + +

                                                  + + final + def + + + notifyAll(): Unit + +

                                                  + + Permalink + + +
                                                  Definition Classes
                                                  AnyRef
                                                  +
                                                16. + + +

                                                  + + + def + + + operate(df: DataFrame): DataFrame + +

                                                  + + Permalink + + +

                                                  Operates selectColumns.

                                                  Operates selectColumns. +

                                                  df

                                                  Input dataframe

                                                  returns

                                                  DataFrame Output dataframe

                                                  Definition Classes
                                                  ColumnSelectWithFileOperator → BaseGenericOperator → BaseGenericMutantOperator
                                                  +
                                                17. + + +

                                                  + + + def + + + stop: Unit + +

                                                  + + Permalink + + +
                                                  Definition Classes
                                                  BaseGenericOperator → BaseGenericMutantOperator
                                                  +
                                                18. + + +

                                                  + + final + def + + + synchronized[T0](arg0: ⇒ T0): T0 + +

                                                  + + Permalink + + +
                                                  Definition Classes
                                                  AnyRef
                                                  +
                                                19. + + +

                                                  + + + def + + + toString(): String + +

                                                  + + Permalink + + +
                                                  Definition Classes
                                                  AnyRef → Any
                                                  +
                                                20. + + +

                                                  + + final + def + + + wait(): Unit + +

                                                  + + Permalink + + +
                                                  Definition Classes
                                                  AnyRef
                                                  Annotations
                                                  + @throws( + + ... + ) + +
                                                  +
                                                21. + + +

                                                  + + final + def + + + wait(arg0: Long, arg1: Int): Unit + +

                                                  + + Permalink + + +
                                                  Definition Classes
                                                  AnyRef
                                                  Annotations
                                                  + @throws( + + ... + ) + +
                                                  +
                                                22. + + +

                                                  + + final + def + + + wait(arg0: Long): Unit + +

                                                  + + Permalink + + +
                                                  Definition Classes
                                                  AnyRef
                                                  Annotations
                                                  + @throws( + + ... + ) + +
                                                  +
                                                +
                                                + + + + +
                                                + +
                                                +
                                                +

                                                Inherited from BaseDataOperator[StreamOperatorInfo, DataFrame]

                                                +
                                                +

                                                Inherited from BaseGenericOperator[StreamOperatorInfo, DataFrame]

                                                +
                                                +

                                                Inherited from BaseGenericMutantOperator[StreamOperatorInfo, DataFrame, DataFrame]

                                                +
                                                +

                                                Inherited from BaseDoer

                                                +
                                                +

                                                Inherited from Logging

                                                +
                                                +

                                                Inherited from Serializable

                                                +
                                                +

                                                Inherited from Serializable

                                                +
                                                +

                                                Inherited from AnyRef

                                                +
                                                +

                                                Inherited from Any

                                                +
                                                + +
                                                + +
                                                +
                                                +

                                                Ungrouped

                                                + +
                                                +
                                                + +
                                                + +
                                                + + + + + + diff --git a/manual1903/api_reference/components/scaladocs/ksb/csle/component/operator/reduction/DecisionTreeInductOperator$.html b/manual1903/api_reference/components/scaladocs/ksb/csle/component/operator/reduction/DecisionTreeInductOperator$.html new file mode 100644 index 0000000000000000000000000000000000000000..2204c02886c2ca03ac37bff8fc1f7396bd4dcc51 --- /dev/null +++ b/manual1903/api_reference/components/scaladocs/ksb/csle/component/operator/reduction/DecisionTreeInductOperator$.html @@ -0,0 +1,505 @@ + + + + DecisionTreeInductOperator - KSB COMPONENTS Scala App Project 1.0-SNAPSHOT API - ksb.csle.component.operator.reduction.DecisionTreeInductOperator + + + + + + + + + + + + + + + + + +

                                                + + + object + + + DecisionTreeInductOperator extends Serializable + +

                                                + +
                                                + Linear Supertypes +
                                                Serializable, Serializable, AnyRef, Any
                                                +
                                                + + +
                                                +
                                                +
                                                + Ordering +
                                                  + +
                                                1. Alphabetic
                                                2. +
                                                3. By Inheritance
                                                4. +
                                                +
                                                +
                                                + Inherited
                                                +
                                                +
                                                  +
                                                1. DecisionTreeInductOperator
                                                2. Serializable
                                                3. Serializable
                                                4. AnyRef
                                                5. Any
                                                6. +
                                                +
                                                + +
                                                  +
                                                1. Hide All
                                                2. +
                                                3. Show All
                                                4. +
                                                +
                                                +
                                                + Visibility +
                                                1. Public
                                                2. All
                                                +
                                                +
                                                + +
                                                +
                                                + + + + + + +
                                                +

                                                Value Members

                                                +
                                                1. + + +

                                                  + + final + def + + + !=(arg0: Any): Boolean + +

                                                  + + Permalink + + +
                                                  Definition Classes
                                                  AnyRef → Any
                                                  +
                                                2. + + +

                                                  + + final + def + + + ##(): Int + +

                                                  + + Permalink + + +
                                                  Definition Classes
                                                  AnyRef → Any
                                                  +
                                                3. + + +

                                                  + + final + def + + + ==(arg0: Any): Boolean + +

                                                  + + Permalink + + +
                                                  Definition Classes
                                                  AnyRef → Any
                                                  +
                                                4. + + +

                                                  + + + def + + + apply(o: StreamOperatorInfo): DecisionTreeInductOperator + +

                                                  + + Permalink + + + +
                                                5. + + +

                                                  + + final + def + + + asInstanceOf[T0]: T0 + +

                                                  + + Permalink + + +
                                                  Definition Classes
                                                  Any
                                                  +
                                                6. + + +

                                                  + + + def + + + clone(): AnyRef + +

                                                  + + Permalink + + +
                                                  Attributes
                                                  protected[java.lang]
                                                  Definition Classes
                                                  AnyRef
                                                  Annotations
                                                  + @throws( + + ... + ) + +
                                                  +
                                                7. + + +

                                                  + + final + def + + + eq(arg0: AnyRef): Boolean + +

                                                  + + Permalink + + +
                                                  Definition Classes
                                                  AnyRef
                                                  +
                                                8. + + +

                                                  + + + def + + + equals(arg0: Any): Boolean + +

                                                  + + Permalink + + +
                                                  Definition Classes
                                                  AnyRef → Any
                                                  +
                                                9. + + +

                                                  + + + def + + + finalize(): Unit + +

                                                  + + Permalink + + +
                                                  Attributes
                                                  protected[java.lang]
                                                  Definition Classes
                                                  AnyRef
                                                  Annotations
                                                  + @throws( + + classOf[java.lang.Throwable] + ) + +
                                                  +
                                                10. + + +

                                                  + + final + def + + + getClass(): Class[_] + +

                                                  + + Permalink + + +
                                                  Definition Classes
                                                  AnyRef → Any
                                                  +
                                                11. + + +

                                                  + + + def + + + hashCode(): Int + +

                                                  + + Permalink + + +
                                                  Definition Classes
                                                  AnyRef → Any
                                                  +
                                                12. + + +

                                                  + + final + def + + + isInstanceOf[T0]: Boolean + +

                                                  + + Permalink + + +
                                                  Definition Classes
                                                  Any
                                                  +
                                                13. + + +

                                                  + + final + def + + + ne(arg0: AnyRef): Boolean + +

                                                  + + Permalink + + +
                                                  Definition Classes
                                                  AnyRef
                                                  +
                                                14. + + +

                                                  + + final + def + + + notify(): Unit + +

                                                  + + Permalink + + +
                                                  Definition Classes
                                                  AnyRef
                                                  +
                                                15. + + +

                                                  + + final + def + + + notifyAll(): Unit + +

                                                  + + Permalink + + +
                                                  Definition Classes
                                                  AnyRef
                                                  +
                                                16. + + +

                                                  + + final + def + + + synchronized[T0](arg0: ⇒ T0): T0 + +

                                                  + + Permalink + + +
                                                  Definition Classes
                                                  AnyRef
                                                  +
                                                17. + + +

                                                  + + + def + + + toString(): String + +

                                                  + + Permalink + + +
                                                  Definition Classes
                                                  AnyRef → Any
                                                  +
                                                18. + + +

                                                  + + final + def + + + wait(): Unit + +

                                                  + + Permalink + + +
                                                  Definition Classes
                                                  AnyRef
                                                  Annotations
                                                  + @throws( + + ... + ) + +
                                                  +
                                                19. + + +

                                                  + + final + def + + + wait(arg0: Long, arg1: Int): Unit + +

                                                  + + Permalink + + +
                                                  Definition Classes
                                                  AnyRef
                                                  Annotations
                                                  + @throws( + + ... + ) + +
                                                  +
                                                20. + + +

                                                  + + final + def + + + wait(arg0: Long): Unit + +

                                                  + + Permalink + + +
                                                  Definition Classes
                                                  AnyRef
                                                  Annotations
                                                  + @throws( + + ... + ) + +
                                                  +
                                                +
                                                + + + + +
                                                + +
                                                +
                                                +

                                                Inherited from Serializable

                                                +
                                                +

                                                Inherited from Serializable

                                                +
                                                +

                                                Inherited from AnyRef

                                                +
                                                +

                                                Inherited from Any

                                                +
                                                + +
                                                + +
                                                +
                                                +

                                                Ungrouped

                                                + +
                                                +
                                                + +
                                                + +
                                                + + + + + + diff --git a/manual1903/api_reference/components/scaladocs/ksb/csle/component/operator/reduction/DecisionTreeInductOperator.html b/manual1903/api_reference/components/scaladocs/ksb/csle/component/operator/reduction/DecisionTreeInductOperator.html new file mode 100644 index 0000000000000000000000000000000000000000..3c0d795cc8e4f97f3355bf343f02dfb2d791ff72 --- /dev/null +++ b/manual1903/api_reference/components/scaladocs/ksb/csle/component/operator/reduction/DecisionTreeInductOperator.html @@ -0,0 +1,639 @@ + + + + DecisionTreeInductOperator - KSB COMPONENTS Scala App Project 1.0-SNAPSHOT API - ksb.csle.component.operator.reduction.DecisionTreeInductOperator + + + + + + + + + + + + + + + + + +

                                                + + + class + + + DecisionTreeInductOperator extends BaseDataOperator[StreamOperatorInfo, DataFrame] + +

                                                + +

                                                :: ApplicationDeveloperApi ::

                                                Operator that performs Decision Tree Induction. It selects the most relevant +columns. +

                                                + Linear Supertypes +
                                                BaseDataOperator[StreamOperatorInfo, DataFrame], BaseGenericOperator[StreamOperatorInfo, DataFrame], BaseGenericMutantOperator[StreamOperatorInfo, DataFrame, DataFrame], BaseDoer, Logging, Serializable, Serializable, AnyRef, Any
                                                +
                                                + + +
                                                +
                                                +
                                                + Ordering +
                                                  + +
                                                1. Alphabetic
                                                2. +
                                                3. By Inheritance
                                                4. +
                                                +
                                                +
                                                + Inherited
                                                +
                                                +
                                                  +
                                                1. DecisionTreeInductOperator
                                                2. BaseDataOperator
                                                3. BaseGenericOperator
                                                4. BaseGenericMutantOperator
                                                5. BaseDoer
                                                6. Logging
                                                7. Serializable
                                                8. Serializable
                                                9. AnyRef
                                                10. Any
                                                11. +
                                                +
                                                + +
                                                  +
                                                1. Hide All
                                                2. +
                                                3. Show All
                                                4. +
                                                +
                                                +
                                                + Visibility +
                                                1. Public
                                                2. All
                                                +
                                                +
                                                + +
                                                +
                                                +
                                                +

                                                Instance Constructors

                                                +
                                                1. + + +

                                                  + + + new + + + DecisionTreeInductOperator(o: StreamOperatorInfo) + +

                                                  + + Permalink + + +

                                                  o

                                                  Object that contains message + ksb.csle.common.proto.StreamOperatorProto.DecisionTreeInductionInfo + DecisionTreeInductionInfo contains attributes as follows:

                                                  • labelName: Column name of label (required)
                                                  • maxDepth: Size of the decision Tree (required)
                                                  • minInfoGain: Minimum information gain for a split to be considered + at a tree node (required)
                                                  • minInstancesPerNode: Minimum number of instances each child must + have after split (required)
                                                  • maxBins: Maximum number of bins used for discretizing continuous + features and for choosing how to split on features at + each node (required)
                                                  • cacheNodeIds: Parameter specifies whether caching is applied or + not (required) + If false, the algorithm will pass trees to executors + to match instances with nodes. + If true, the algorithm will cache node IDs for each + instance.
                                                  • checkpointInterval: Checkpoint interval(>= 1) or disable checkpoint(-1) + (required)
                                                  • impurityType: Inpurity type used for information gain calculation. + Enum(GINI, ENTROPY) (required)

                                                  DecisionTreeInductionInfo

                                                  message DecisionTreeInductionInfo {
                                                  +required string labelName = 3;
                                                  +required int32 maxDepth = 4;
                                                  +required double minInfoGain = 5;
                                                  +required int32 minInstancesPerNode = 6 [default = 1];
                                                  +required int32 maxBins = 7;
                                                  +required bool cacheNodeIds = 8 [default = false];
                                                  +required int32 checkpointInterval = 9 [default = 10];
                                                  +required ImpurityType impurityType = 10 [default = GINI];
                                                  +enum ImpurityType {
                                                  +    GINI = 0;
                                                  +    ENTROPY = 1;
                                                  +}
                                                  +}
                                                  +
                                                +
                                                + + + + + +
                                                +

                                                Value Members

                                                +
                                                1. + + +

                                                  + + final + def + + + !=(arg0: Any): Boolean + +

                                                  + + Permalink + + +
                                                  Definition Classes
                                                  AnyRef → Any
                                                  +
                                                2. + + +

                                                  + + final + def + + + ##(): Int + +

                                                  + + Permalink + + +
                                                  Definition Classes
                                                  AnyRef → Any
                                                  +
                                                3. + + +

                                                  + + final + def + + + ==(arg0: Any): Boolean + +

                                                  + + Permalink + + +
                                                  Definition Classes
                                                  AnyRef → Any
                                                  +
                                                4. + + +

                                                  + + final + def + + + asInstanceOf[T0]: T0 + +

                                                  + + Permalink + + +
                                                  Definition Classes
                                                  Any
                                                  +
                                                5. + + +

                                                  + + + def + + + clone(): AnyRef + +

                                                  + + Permalink + + +
                                                  Attributes
                                                  protected[java.lang]
                                                  Definition Classes
                                                  AnyRef
                                                  Annotations
                                                  + @throws( + + ... + ) + +
                                                  +
                                                6. + + +

                                                  + + final + def + + + eq(arg0: AnyRef): Boolean + +

                                                  + + Permalink + + +
                                                  Definition Classes
                                                  AnyRef
                                                  +
                                                7. + + +

                                                  + + + def + + + equals(arg0: Any): Boolean + +

                                                  + + Permalink + + +
                                                  Definition Classes
                                                  AnyRef → Any
                                                  +
                                                8. + + +

                                                  + + + def + + + finalize(): Unit + +

                                                  + + Permalink + + +
                                                  Attributes
                                                  protected[java.lang]
                                                  Definition Classes
                                                  AnyRef
                                                  Annotations
                                                  + @throws( + + classOf[java.lang.Throwable] + ) + +
                                                  +
                                                9. + + +

                                                  + + final + def + + + getClass(): Class[_] + +

                                                  + + Permalink + + +
                                                  Definition Classes
                                                  AnyRef → Any
                                                  +
                                                10. + + +

                                                  + + + def + + + hashCode(): Int + +

                                                  + + Permalink + + +
                                                  Definition Classes
                                                  AnyRef → Any
                                                  +
                                                11. + + +

                                                  + + final + def + + + isInstanceOf[T0]: Boolean + +

                                                  + + Permalink + + +
                                                  Definition Classes
                                                  Any
                                                  +
                                                12. + + +

                                                  + + + val + + + logger: Logger + +

                                                  + + Permalink + + +
                                                  Attributes
                                                  protected
                                                  Definition Classes
                                                  Logging
                                                  +
                                                13. + + +

                                                  + + final + def + + + ne(arg0: AnyRef): Boolean + +

                                                  + + Permalink + + +
                                                  Definition Classes
                                                  AnyRef
                                                  +
                                                14. + + +

                                                  + + final + def + + + notify(): Unit + +

                                                  + + Permalink + + +
                                                  Definition Classes
                                                  AnyRef
                                                  +
                                                15. + + +

                                                  + + final + def + + + notifyAll(): Unit + +

                                                  + + Permalink + + +
                                                  Definition Classes
                                                  AnyRef
                                                  +
                                                16. + + +

                                                  + + + def + + + operate(df: DataFrame): DataFrame + +

                                                  + + Permalink + + +

                                                  Operates Aggregate.

                                                  Operates Aggregate. +

                                                  df

                                                  Input dataframe

                                                  returns

                                                  DataFrame Output dataframe

                                                  Definition Classes
                                                  DecisionTreeInductOperator → BaseGenericOperator → BaseGenericMutantOperator
                                                  +
                                                17. + + +

                                                  + + + val + + + p: DecisionTreeInductionInfo + +

                                                  + + Permalink + + + +
                                                18. + + +

                                                  + + + def + + + stop: Unit + +

                                                  + + Permalink + + +
                                                  Definition Classes
                                                  BaseGenericOperator → BaseGenericMutantOperator
                                                  +
                                                19. + + +

                                                  + + final + def + + + synchronized[T0](arg0: ⇒ T0): T0 + +

                                                  + + Permalink + + +
                                                  Definition Classes
                                                  AnyRef
                                                  +
                                                20. + + +

                                                  + + + def + + + toString(): String + +

                                                  + + Permalink + + +
                                                  Definition Classes
                                                  AnyRef → Any
                                                  +
                                                21. + + +

                                                  + + + def + + + validate(df: DataFrame): Unit + +

                                                  + + Permalink + + +

                                                  validates DecisionTreeInduction info and dataframe schema info using following params.

                                                  validates DecisionTreeInduction info and dataframe schema info using following params. +

                                                  Annotations
                                                  + @throws( + + classOf[KsbException] + ) + +
                                                  +
                                                22. + + +

                                                  + + final + def + + + wait(): Unit + +

                                                  + + Permalink + + +
                                                  Definition Classes
                                                  AnyRef
                                                  Annotations
                                                  + @throws( + + ... + ) + +
                                                  +
                                                23. + + +

                                                  + + final + def + + + wait(arg0: Long, arg1: Int): Unit + +

                                                  + + Permalink + + +
                                                  Definition Classes
                                                  AnyRef
                                                  Annotations
                                                  + @throws( + + ... + ) + +
                                                  +
                                                24. + + +

                                                  + + final + def + + + wait(arg0: Long): Unit + +

                                                  + + Permalink + + +
                                                  Definition Classes
                                                  AnyRef
                                                  Annotations
                                                  + @throws( + + ... + ) + +
                                                  +
                                                +
                                                + + + + +
                                                + +
                                                +
                                                +

                                                Inherited from BaseDataOperator[StreamOperatorInfo, DataFrame]

                                                +
                                                +

                                                Inherited from BaseGenericOperator[StreamOperatorInfo, DataFrame]

                                                +
                                                +

                                                Inherited from BaseGenericMutantOperator[StreamOperatorInfo, DataFrame, DataFrame]

                                                +
                                                +

                                                Inherited from BaseDoer

                                                +
                                                +

                                                Inherited from Logging

                                                +
                                                +

                                                Inherited from Serializable

                                                +
                                                +

                                                Inherited from Serializable

                                                +
                                                +

                                                Inherited from AnyRef

                                                +
                                                +

                                                Inherited from Any

                                                +
                                                + +
                                                + +
                                                +
                                                +

                                                Ungrouped

                                                + +
                                                +
                                                + +
                                                + +
                                                + + + + + + diff --git a/manual1903/api_reference/components/scaladocs/ksb/csle/component/operator/reduction/FilterOperator$.html b/manual1903/api_reference/components/scaladocs/ksb/csle/component/operator/reduction/FilterOperator$.html new file mode 100644 index 0000000000000000000000000000000000000000..c7ce71cf6318211b1fb1d3e3246076f65a21e20d --- /dev/null +++ b/manual1903/api_reference/components/scaladocs/ksb/csle/component/operator/reduction/FilterOperator$.html @@ -0,0 +1,505 @@ + + + + FilterOperator - KSB COMPONENTS Scala App Project 1.0-SNAPSHOT API - ksb.csle.component.operator.reduction.FilterOperator + + + + + + + + + + + + + + + + + +

                                                + + + object + + + FilterOperator extends Serializable + +

                                                + +
                                                + Linear Supertypes +
                                                Serializable, Serializable, AnyRef, Any
                                                +
                                                + + +
                                                +
                                                +
                                                + Ordering +
                                                  + +
                                                1. Alphabetic
                                                2. +
                                                3. By Inheritance
                                                4. +
                                                +
                                                +
                                                + Inherited
                                                +
                                                +
                                                  +
                                                1. FilterOperator
                                                2. Serializable
                                                3. Serializable
                                                4. AnyRef
                                                5. Any
                                                6. +
                                                +
                                                + +
                                                  +
                                                1. Hide All
                                                2. +
                                                3. Show All
                                                4. +
                                                +
                                                +
                                                + Visibility +
                                                1. Public
                                                2. All
                                                +
                                                +
                                                + +
                                                +
                                                + + + + + + +
                                                +

                                                Value Members

                                                +
                                                1. + + +

                                                  + + final + def + + + !=(arg0: Any): Boolean + +

                                                  + + Permalink + + +
                                                  Definition Classes
                                                  AnyRef → Any
                                                  +
                                                2. + + +

                                                  + + final + def + + + ##(): Int + +

                                                  + + Permalink + + +
                                                  Definition Classes
                                                  AnyRef → Any
                                                  +
                                                3. + + +

                                                  + + final + def + + + ==(arg0: Any): Boolean + +

                                                  + + Permalink + + +
                                                  Definition Classes
                                                  AnyRef → Any
                                                  +
                                                4. + + +

                                                  + + + def + + + apply(o: StreamOperatorInfo): FilterOperator + +

                                                  + + Permalink + + + +
                                                5. + + +

                                                  + + final + def + + + asInstanceOf[T0]: T0 + +

                                                  + + Permalink + + +
                                                  Definition Classes
                                                  Any
                                                  +
                                                6. + + +

                                                  + + + def + + + clone(): AnyRef + +

                                                  + + Permalink + + +
                                                  Attributes
                                                  protected[java.lang]
                                                  Definition Classes
                                                  AnyRef
                                                  Annotations
                                                  + @throws( + + ... + ) + +
                                                  +
                                                7. + + +

                                                  + + final + def + + + eq(arg0: AnyRef): Boolean + +

                                                  + + Permalink + + +
                                                  Definition Classes
                                                  AnyRef
                                                  +
                                                8. + + +

                                                  + + + def + + + equals(arg0: Any): Boolean + +

                                                  + + Permalink + + +
                                                  Definition Classes
                                                  AnyRef → Any
                                                  +
                                                9. + + +

                                                  + + + def + + + finalize(): Unit + +

                                                  + + Permalink + + +
                                                  Attributes
                                                  protected[java.lang]
                                                  Definition Classes
                                                  AnyRef
                                                  Annotations
                                                  + @throws( + + classOf[java.lang.Throwable] + ) + +
                                                  +
                                                10. + + +

                                                  + + final + def + + + getClass(): Class[_] + +

                                                  + + Permalink + + +
                                                  Definition Classes
                                                  AnyRef → Any
                                                  +
                                                11. + + +

                                                  + + + def + + + hashCode(): Int + +

                                                  + + Permalink + + +
                                                  Definition Classes
                                                  AnyRef → Any
                                                  +
                                                12. + + +

                                                  + + final + def + + + isInstanceOf[T0]: Boolean + +

                                                  + + Permalink + + +
                                                  Definition Classes
                                                  Any
                                                  +
                                                13. + + +

                                                  + + final + def + + + ne(arg0: AnyRef): Boolean + +

                                                  + + Permalink + + +
                                                  Definition Classes
                                                  AnyRef
                                                  +
                                                14. + + +

                                                  + + final + def + + + notify(): Unit + +

                                                  + + Permalink + + +
                                                  Definition Classes
                                                  AnyRef
                                                  +
                                                15. + + +

                                                  + + final + def + + + notifyAll(): Unit + +

                                                  + + Permalink + + +
                                                  Definition Classes
                                                  AnyRef
                                                  +
                                                16. + + +

                                                  + + final + def + + + synchronized[T0](arg0: ⇒ T0): T0 + +

                                                  + + Permalink + + +
                                                  Definition Classes
                                                  AnyRef
                                                  +
                                                17. + + +

                                                  + + + def + + + toString(): String + +

                                                  + + Permalink + + +
                                                  Definition Classes
                                                  AnyRef → Any
                                                  +
                                                18. + + +

                                                  + + final + def + + + wait(): Unit + +

                                                  + + Permalink + + +
                                                  Definition Classes
                                                  AnyRef
                                                  Annotations
                                                  + @throws( + + ... + ) + +
                                                  +
                                                19. + + +

                                                  + + final + def + + + wait(arg0: Long, arg1: Int): Unit + +

                                                  + + Permalink + + +
                                                  Definition Classes
                                                  AnyRef
                                                  Annotations
                                                  + @throws( + + ... + ) + +
                                                  +
                                                20. + + +

                                                  + + final + def + + + wait(arg0: Long): Unit + +

                                                  + + Permalink + + +
                                                  Definition Classes
                                                  AnyRef
                                                  Annotations
                                                  + @throws( + + ... + ) + +
                                                  +
                                                +
                                                + + + + +
                                                + +
                                                +
                                                +

                                                Inherited from Serializable

                                                +
                                                +

                                                Inherited from Serializable

                                                +
                                                +

                                                Inherited from AnyRef

                                                +
                                                +

                                                Inherited from Any

                                                +
                                                + +
                                                + +
                                                +
                                                +

                                                Ungrouped

                                                + +
                                                +
                                                + +
                                                + +
                                                + + + + + + diff --git a/manual1903/api_reference/components/scaladocs/ksb/csle/component/operator/reduction/FilterOperator.html b/manual1903/api_reference/components/scaladocs/ksb/csle/component/operator/reduction/FilterOperator.html new file mode 100644 index 0000000000000000000000000000000000000000..1beb602b1266b96e1998e3b7070b572e60ee5f45 --- /dev/null +++ b/manual1903/api_reference/components/scaladocs/ksb/csle/component/operator/reduction/FilterOperator.html @@ -0,0 +1,610 @@ + + + + FilterOperator - KSB COMPONENTS Scala App Project 1.0-SNAPSHOT API - ksb.csle.component.operator.reduction.FilterOperator + + + + + + + + + + + + + + + + + +

                                                + + + class + + + FilterOperator extends BaseDataOperator[StreamOperatorInfo, DataFrame] + +

                                                + +

                                                :: ApplicationDeveloperApi ::

                                                Operator that selects which rows in a given column of input dataframe should +be kept and which rows should be removed. Rows satisfying the given condition +are kept, remaining rows are removed. +

                                                + Linear Supertypes +
                                                BaseDataOperator[StreamOperatorInfo, DataFrame], BaseGenericOperator[StreamOperatorInfo, DataFrame], BaseGenericMutantOperator[StreamOperatorInfo, DataFrame, DataFrame], BaseDoer, Logging, Serializable, Serializable, AnyRef, Any
                                                +
                                                + + +
                                                +
                                                +
                                                + Ordering +
                                                  + +
                                                1. Alphabetic
                                                2. +
                                                3. By Inheritance
                                                4. +
                                                +
                                                +
                                                + Inherited
                                                +
                                                +
                                                  +
                                                1. FilterOperator
                                                2. BaseDataOperator
                                                3. BaseGenericOperator
                                                4. BaseGenericMutantOperator
                                                5. BaseDoer
                                                6. Logging
                                                7. Serializable
                                                8. Serializable
                                                9. AnyRef
                                                10. Any
                                                11. +
                                                +
                                                + +
                                                  +
                                                1. Hide All
                                                2. +
                                                3. Show All
                                                4. +
                                                +
                                                +
                                                + Visibility +
                                                1. Public
                                                2. All
                                                +
                                                +
                                                + +
                                                +
                                                +
                                                +

                                                Instance Constructors

                                                +
                                                1. + + +

                                                  + + + new + + + FilterOperator(o: StreamOperatorInfo) + +

                                                  + + Permalink + + +

                                                  o

                                                  Object that contains message + ksb.csle.common.proto.StreamOperatorProto.FilterInfo + FilterInfo contains attributes as follows:

                                                  • columnName: Column name to be filtered in the given input dataframe + (required)
                                                  • condition: Condition to select rows. Enum(EQUAL,LESS_THAN, + LARGE_THAN,LESS_EQUAL,LARGE_EQUAL,EXIST,LIKE) (required)
                                                  • value: Base value to compare with the value of row (optional)
                                                  • pattern: String pattern to compare with the string value of row + (optional)

                                                  FilterInfo

                                                  message FilterInfo {
                                                  +required string colName = 4;
                                                  +required Condition condition = 5 [default = EQUAL];
                                                  +optional int32 value = 6;
                                                  +optional string pattern = 7;
                                                  +enum Condition {
                                                  +  EQUAL = 0;
                                                  +  LESS_THAN = 1;
                                                  +  LARGE_THAN = 2;
                                                  +  LESS_EQUAL = 3;
                                                  +  LARGE_EQUAL = 4;
                                                  +  EXIST = 5;
                                                  +  LIKE = 6;
                                                  +}
                                                  +}
                                                  +
                                                +
                                                + + + + + +
                                                +

                                                Value Members

                                                +
                                                1. + + +

                                                  + + final + def + + + !=(arg0: Any): Boolean + +

                                                  + + Permalink + + +
                                                  Definition Classes
                                                  AnyRef → Any
                                                  +
                                                2. + + +

                                                  + + final + def + + + ##(): Int + +

                                                  + + Permalink + + +
                                                  Definition Classes
                                                  AnyRef → Any
                                                  +
                                                3. + + +

                                                  + + final + def + + + ==(arg0: Any): Boolean + +

                                                  + + Permalink + + +
                                                  Definition Classes
                                                  AnyRef → Any
                                                  +
                                                4. + + +

                                                  + + final + def + + + asInstanceOf[T0]: T0 + +

                                                  + + Permalink + + +
                                                  Definition Classes
                                                  Any
                                                  +
                                                5. + + +

                                                  + + + def + + + clone(): AnyRef + +

                                                  + + Permalink + + +
                                                  Attributes
                                                  protected[java.lang]
                                                  Definition Classes
                                                  AnyRef
                                                  Annotations
                                                  + @throws( + + ... + ) + +
                                                  +
                                                6. + + +

                                                  + + final + def + + + eq(arg0: AnyRef): Boolean + +

                                                  + + Permalink + + +
                                                  Definition Classes
                                                  AnyRef
                                                  +
                                                7. + + +

                                                  + + + def + + + equals(arg0: Any): Boolean + +

                                                  + + Permalink + + +
                                                  Definition Classes
                                                  AnyRef → Any
                                                  +
                                                8. + + +

                                                  + + + def + + + finalize(): Unit + +

                                                  + + Permalink + + +
                                                  Attributes
                                                  protected[java.lang]
                                                  Definition Classes
                                                  AnyRef
                                                  Annotations
                                                  + @throws( + + classOf[java.lang.Throwable] + ) + +
                                                  +
                                                9. + + +

                                                  + + final + def + + + getClass(): Class[_] + +

                                                  + + Permalink + + +
                                                  Definition Classes
                                                  AnyRef → Any
                                                  +
                                                10. + + +

                                                  + + + def + + + hashCode(): Int + +

                                                  + + Permalink + + +
                                                  Definition Classes
                                                  AnyRef → Any
                                                  +
                                                11. + + +

                                                  + + final + def + + + isInstanceOf[T0]: Boolean + +

                                                  + + Permalink + + +
                                                  Definition Classes
                                                  Any
                                                  +
                                                12. + + +

                                                  + + + val + + + logger: Logger + +

                                                  + + Permalink + + +
                                                  Attributes
                                                  protected
                                                  Definition Classes
                                                  Logging
                                                  +
                                                13. + + +

                                                  + + final + def + + + ne(arg0: AnyRef): Boolean + +

                                                  + + Permalink + + +
                                                  Definition Classes
                                                  AnyRef
                                                  +
                                                14. + + +

                                                  + + final + def + + + notify(): Unit + +

                                                  + + Permalink + + +
                                                  Definition Classes
                                                  AnyRef
                                                  +
                                                15. + + +

                                                  + + final + def + + + notifyAll(): Unit + +

                                                  + + Permalink + + +
                                                  Definition Classes
                                                  AnyRef
                                                  +
                                                16. + + +

                                                  + + + def + + + operate(df: DataFrame): DataFrame + +

                                                  + + Permalink + + +

                                                  Operates filtering function for data cleaning +

                                                  Operates filtering function for data cleaning +

                                                  df

                                                  Input dataframe

                                                  returns

                                                  DataFrame Output dataframe

                                                  Definition Classes
                                                  FilterOperator → BaseGenericOperator → BaseGenericMutantOperator
                                                  +
                                                17. + + +

                                                  + + + val + + + p: FilterInfo + +

                                                  + + Permalink + + + +
                                                18. + + +

                                                  + + + def + + + stop: Unit + +

                                                  + + Permalink + + +
                                                  Definition Classes
                                                  BaseGenericOperator → BaseGenericMutantOperator
                                                  +
                                                19. + + +

                                                  + + final + def + + + synchronized[T0](arg0: ⇒ T0): T0 + +

                                                  + + Permalink + + +
                                                  Definition Classes
                                                  AnyRef
                                                  +
                                                20. + + +

                                                  + + + def + + + toString(): String + +

                                                  + + Permalink + + +
                                                  Definition Classes
                                                  AnyRef → Any
                                                  +
                                                21. + + +

                                                  + + final + def + + + wait(): Unit + +

                                                  + + Permalink + + +
                                                  Definition Classes
                                                  AnyRef
                                                  Annotations
                                                  + @throws( + + ... + ) + +
                                                  +
                                                22. + + +

                                                  + + final + def + + + wait(arg0: Long, arg1: Int): Unit + +

                                                  + + Permalink + + +
                                                  Definition Classes
                                                  AnyRef
                                                  Annotations
                                                  + @throws( + + ... + ) + +
                                                  +
                                                23. + + +

                                                  + + final + def + + + wait(arg0: Long): Unit + +

                                                  + + Permalink + + +
                                                  Definition Classes
                                                  AnyRef
                                                  Annotations
                                                  + @throws( + + ... + ) + +
                                                  +
                                                +
                                                + + + + +
                                                + +
                                                +
                                                +

                                                Inherited from BaseDataOperator[StreamOperatorInfo, DataFrame]

                                                +
                                                +

                                                Inherited from BaseGenericOperator[StreamOperatorInfo, DataFrame]

                                                +
                                                +

                                                Inherited from BaseGenericMutantOperator[StreamOperatorInfo, DataFrame, DataFrame]

                                                +
                                                +

                                                Inherited from BaseDoer

                                                +
                                                +

                                                Inherited from Logging

                                                +
                                                +

                                                Inherited from Serializable

                                                +
                                                +

                                                Inherited from Serializable

                                                +
                                                +

                                                Inherited from AnyRef

                                                +
                                                +

                                                Inherited from Any

                                                +
                                                + +
                                                + +
                                                +
                                                +

                                                Ungrouped

                                                + +
                                                +
                                                + +
                                                + +
                                                + + + + + + diff --git a/manual1903/api_reference/components/scaladocs/ksb/csle/component/operator/reduction/FilterUsingSqlOperator$.html b/manual1903/api_reference/components/scaladocs/ksb/csle/component/operator/reduction/FilterUsingSqlOperator$.html new file mode 100644 index 0000000000000000000000000000000000000000..4ef4b02389d88951c0dfae5123db77674666b321 --- /dev/null +++ b/manual1903/api_reference/components/scaladocs/ksb/csle/component/operator/reduction/FilterUsingSqlOperator$.html @@ -0,0 +1,505 @@ + + + + FilterUsingSqlOperator - KSB COMPONENTS Scala App Project 1.0-SNAPSHOT API - ksb.csle.component.operator.reduction.FilterUsingSqlOperator + + + + + + + + + + + + + + + + + +

                                                + + + object + + + FilterUsingSqlOperator extends Serializable + +

                                                + +
                                                + Linear Supertypes +
                                                Serializable, Serializable, AnyRef, Any
                                                +
                                                + + +
                                                +
                                                +
                                                + Ordering +
                                                  + +
                                                1. Alphabetic
                                                2. +
                                                3. By Inheritance
                                                4. +
                                                +
                                                +
                                                + Inherited
                                                +
                                                +
                                                  +
                                                1. FilterUsingSqlOperator
                                                2. Serializable
                                                3. Serializable
                                                4. AnyRef
                                                5. Any
                                                6. +
                                                +
                                                + +
                                                  +
                                                1. Hide All
                                                2. +
                                                3. Show All
                                                4. +
                                                +
                                                +
                                                + Visibility +
                                                1. Public
                                                2. All
                                                +
                                                +
                                                + +
                                                +
                                                + + + + + + +
                                                +

                                                Value Members

                                                +
                                                1. + + +

                                                  + + final + def + + + !=(arg0: Any): Boolean + +

                                                  + + Permalink + + +
                                                  Definition Classes
                                                  AnyRef → Any
                                                  +
                                                2. + + +

                                                  + + final + def + + + ##(): Int + +

                                                  + + Permalink + + +
                                                  Definition Classes
                                                  AnyRef → Any
                                                  +
                                                3. + + +

                                                  + + final + def + + + ==(arg0: Any): Boolean + +

                                                  + + Permalink + + +
                                                  Definition Classes
                                                  AnyRef → Any
                                                  +
                                                4. + + +

                                                  + + + def + + + apply(o: StreamOperatorInfo): FilterUsingSqlOperator + +

                                                  + + Permalink + + + +
                                                5. + + +

                                                  + + final + def + + + asInstanceOf[T0]: T0 + +

                                                  + + Permalink + + +
                                                  Definition Classes
                                                  Any
                                                  +
                                                6. + + +

                                                  + + + def + + + clone(): AnyRef + +

                                                  + + Permalink + + +
                                                  Attributes
                                                  protected[java.lang]
                                                  Definition Classes
                                                  AnyRef
                                                  Annotations
                                                  + @throws( + + ... + ) + +
                                                  +
                                                7. + + +

                                                  + + final + def + + + eq(arg0: AnyRef): Boolean + +

                                                  + + Permalink + + +
                                                  Definition Classes
                                                  AnyRef
                                                  +
                                                8. + + +

                                                  + + + def + + + equals(arg0: Any): Boolean + +

                                                  + + Permalink + + +
                                                  Definition Classes
                                                  AnyRef → Any
                                                  +
                                                9. + + +

                                                  + + + def + + + finalize(): Unit + +

                                                  + + Permalink + + +
                                                  Attributes
                                                  protected[java.lang]
                                                  Definition Classes
                                                  AnyRef
                                                  Annotations
                                                  + @throws( + + classOf[java.lang.Throwable] + ) + +
                                                  +
                                                10. + + +

                                                  + + final + def + + + getClass(): Class[_] + +

                                                  + + Permalink + + +
                                                  Definition Classes
                                                  AnyRef → Any
                                                  +
                                                11. + + +

                                                  + + + def + + + hashCode(): Int + +

                                                  + + Permalink + + +
                                                  Definition Classes
                                                  AnyRef → Any
                                                  +
                                                12. + + +

                                                  + + final + def + + + isInstanceOf[T0]: Boolean + +

                                                  + + Permalink + + +
                                                  Definition Classes
                                                  Any
                                                  +
                                                13. + + +

                                                  + + final + def + + + ne(arg0: AnyRef): Boolean + +

                                                  + + Permalink + + +
                                                  Definition Classes
                                                  AnyRef
                                                  +
                                                14. + + +

                                                  + + final + def + + + notify(): Unit + +

                                                  + + Permalink + + +
                                                  Definition Classes
                                                  AnyRef
                                                  +
                                                15. + + +

                                                  + + final + def + + + notifyAll(): Unit + +

                                                  + + Permalink + + +
                                                  Definition Classes
                                                  AnyRef
                                                  +
                                                16. + + +

                                                  + + final + def + + + synchronized[T0](arg0: ⇒ T0): T0 + +

                                                  + + Permalink + + +
                                                  Definition Classes
                                                  AnyRef
                                                  +
                                                17. + + +

                                                  + + + def + + + toString(): String + +

                                                  + + Permalink + + +
                                                  Definition Classes
                                                  AnyRef → Any
                                                  +
                                                18. + + +

                                                  + + final + def + + + wait(): Unit + +

                                                  + + Permalink + + +
                                                  Definition Classes
                                                  AnyRef
                                                  Annotations
                                                  + @throws( + + ... + ) + +
                                                  +
                                                19. + + +

                                                  + + final + def + + + wait(arg0: Long, arg1: Int): Unit + +

                                                  + + Permalink + + +
                                                  Definition Classes
                                                  AnyRef
                                                  Annotations
                                                  + @throws( + + ... + ) + +
                                                  +
                                                20. + + +

                                                  + + final + def + + + wait(arg0: Long): Unit + +

                                                  + + Permalink + + +
                                                  Definition Classes
                                                  AnyRef
                                                  Annotations
                                                  + @throws( + + ... + ) + +
                                                  +
                                                +
                                                + + + + +
                                                + +
                                                +
                                                +

                                                Inherited from Serializable

                                                +
                                                +

                                                Inherited from Serializable

                                                +
                                                +

                                                Inherited from AnyRef

                                                +
                                                +

                                                Inherited from Any

                                                +
                                                + +
                                                + +
                                                +
                                                +

                                                Ungrouped

                                                + +
                                                +
                                                + +
                                                + +
                                                + + + + + + diff --git a/manual1903/api_reference/components/scaladocs/ksb/csle/component/operator/reduction/FilterUsingSqlOperator.html b/manual1903/api_reference/components/scaladocs/ksb/csle/component/operator/reduction/FilterUsingSqlOperator.html new file mode 100644 index 0000000000000000000000000000000000000000..675c95fecba366eeb95ece88539ebd29730fbe82 --- /dev/null +++ b/manual1903/api_reference/components/scaladocs/ksb/csle/component/operator/reduction/FilterUsingSqlOperator.html @@ -0,0 +1,595 @@ + + + + FilterUsingSqlOperator - KSB COMPONENTS Scala App Project 1.0-SNAPSHOT API - ksb.csle.component.operator.reduction.FilterUsingSqlOperator + + + + + + + + + + + + + + + + + +

                                                + + + class + + + FilterUsingSqlOperator extends BaseDataOperator[StreamOperatorInfo, DataFrame] + +

                                                + +

                                                :: ApplicationDeveloperApi ::

                                                Operator that performs to filter using SQL in the given dataframe. +

                                                + Linear Supertypes +
                                                BaseDataOperator[StreamOperatorInfo, DataFrame], BaseGenericOperator[StreamOperatorInfo, DataFrame], BaseGenericMutantOperator[StreamOperatorInfo, DataFrame, DataFrame], BaseDoer, Logging, Serializable, Serializable, AnyRef, Any
                                                +
                                                + + +
                                                +
                                                +
                                                + Ordering +
                                                  + +
                                                1. Alphabetic
                                                2. +
                                                3. By Inheritance
                                                4. +
                                                +
                                                +
                                                + Inherited
                                                +
                                                +
                                                  +
                                                1. FilterUsingSqlOperator
                                                2. BaseDataOperator
                                                3. BaseGenericOperator
                                                4. BaseGenericMutantOperator
                                                5. BaseDoer
                                                6. Logging
                                                7. Serializable
                                                8. Serializable
                                                9. AnyRef
                                                10. Any
                                                11. +
                                                +
                                                + +
                                                  +
                                                1. Hide All
                                                2. +
                                                3. Show All
                                                4. +
                                                +
                                                +
                                                + Visibility +
                                                1. Public
                                                2. All
                                                +
                                                +
                                                + +
                                                +
                                                +
                                                +

                                                Instance Constructors

                                                +
                                                1. + + +

                                                  + + + new + + + FilterUsingSqlOperator(o: StreamOperatorInfo) + +

                                                  + + Permalink + + +

                                                  o

                                                  Object that contains message + ksb.csle.common.proto.StreamOperatorProto.FilterUsingSqlInfo + FilterUsingSqlInfo contains attributes as follows:

                                                  • selectedColumnId: Column ids to be filterd by SQL (required)
                                                  • subParam: Option to filter using SQL (repeated) + Ex: {"sql_where", "DATE_TIME < '2015_09_01_00_05' + ORDER BY DATE_TIME"}

                                                  FilterUsingSqlInfo

                                                  message FilterUsingSqlInfo {
                                                  +required int32 selectedColumnId = 4;
                                                  +repeated SubParameter subParam = 5;
                                                  +}
                                                  +
                                                +
                                                + + + + + +
                                                +

                                                Value Members

                                                +
                                                1. + + +

                                                  + + final + def + + + !=(arg0: Any): Boolean + +

                                                  + + Permalink + + +
                                                  Definition Classes
                                                  AnyRef → Any
                                                  +
                                                2. + + +

                                                  + + final + def + + + ##(): Int + +

                                                  + + Permalink + + +
                                                  Definition Classes
                                                  AnyRef → Any
                                                  +
                                                3. + + +

                                                  + + final + def + + + ==(arg0: Any): Boolean + +

                                                  + + Permalink + + +
                                                  Definition Classes
                                                  AnyRef → Any
                                                  +
                                                4. + + +

                                                  + + final + def + + + asInstanceOf[T0]: T0 + +

                                                  + + Permalink + + +
                                                  Definition Classes
                                                  Any
                                                  +
                                                5. + + +

                                                  + + + def + + + clone(): AnyRef + +

                                                  + + Permalink + + +
                                                  Attributes
                                                  protected[java.lang]
                                                  Definition Classes
                                                  AnyRef
                                                  Annotations
                                                  + @throws( + + ... + ) + +
                                                  +
                                                6. + + +

                                                  + + final + def + + + eq(arg0: AnyRef): Boolean + +

                                                  + + Permalink + + +
                                                  Definition Classes
                                                  AnyRef
                                                  +
                                                7. + + +

                                                  + + + def + + + equals(arg0: Any): Boolean + +

                                                  + + Permalink + + +
                                                  Definition Classes
                                                  AnyRef → Any
                                                  +
                                                8. + + +

                                                  + + + def + + + finalize(): Unit + +

                                                  + + Permalink + + +
                                                  Attributes
                                                  protected[java.lang]
                                                  Definition Classes
                                                  AnyRef
                                                  Annotations
                                                  + @throws( + + classOf[java.lang.Throwable] + ) + +
                                                  +
                                                9. + + +

                                                  + + final + def + + + getClass(): Class[_] + +

                                                  + + Permalink + + +
                                                  Definition Classes
                                                  AnyRef → Any
                                                  +
                                                10. + + +

                                                  + + + def + + + hashCode(): Int + +

                                                  + + Permalink + + +
                                                  Definition Classes
                                                  AnyRef → Any
                                                  +
                                                11. + + +

                                                  + + final + def + + + isInstanceOf[T0]: Boolean + +

                                                  + + Permalink + + +
                                                  Definition Classes
                                                  Any
                                                  +
                                                12. + + +

                                                  + + + val + + + logger: Logger + +

                                                  + + Permalink + + +
                                                  Attributes
                                                  protected
                                                  Definition Classes
                                                  Logging
                                                  +
                                                13. + + +

                                                  + + final + def + + + ne(arg0: AnyRef): Boolean + +

                                                  + + Permalink + + +
                                                  Definition Classes
                                                  AnyRef
                                                  +
                                                14. + + +

                                                  + + final + def + + + notify(): Unit + +

                                                  + + Permalink + + +
                                                  Definition Classes
                                                  AnyRef
                                                  +
                                                15. + + +

                                                  + + final + def + + + notifyAll(): Unit + +

                                                  + + Permalink + + +
                                                  Definition Classes
                                                  AnyRef
                                                  +
                                                16. + + +

                                                  + + + def + + + operate(df: DataFrame): DataFrame + +

                                                  + + Permalink + + +

                                                  Operates filterUsingSql function using following params.

                                                  Operates filterUsingSql function using following params. +

                                                  df

                                                  Input dataframe

                                                  returns

                                                  DataFrame Output dataframe

                                                  Definition Classes
                                                  FilterUsingSqlOperator → BaseGenericOperator → BaseGenericMutantOperator
                                                  +
                                                17. + + +

                                                  + + + val + + + p: FilterUsingSqlInfo + +

                                                  + + Permalink + + + +
                                                18. + + +

                                                  + + + def + + + stop: Unit + +

                                                  + + Permalink + + +
                                                  Definition Classes
                                                  BaseGenericOperator → BaseGenericMutantOperator
                                                  +
                                                19. + + +

                                                  + + final + def + + + synchronized[T0](arg0: ⇒ T0): T0 + +

                                                  + + Permalink + + +
                                                  Definition Classes
                                                  AnyRef
                                                  +
                                                20. + + +

                                                  + + + def + + + toString(): String + +

                                                  + + Permalink + + +
                                                  Definition Classes
                                                  AnyRef → Any
                                                  +
                                                21. + + +

                                                  + + final + def + + + wait(): Unit + +

                                                  + + Permalink + + +
                                                  Definition Classes
                                                  AnyRef
                                                  Annotations
                                                  + @throws( + + ... + ) + +
                                                  +
                                                22. + + +

                                                  + + final + def + + + wait(arg0: Long, arg1: Int): Unit + +

                                                  + + Permalink + + +
                                                  Definition Classes
                                                  AnyRef
                                                  Annotations
                                                  + @throws( + + ... + ) + +
                                                  +
                                                23. + + +

                                                  + + final + def + + + wait(arg0: Long): Unit + +

                                                  + + Permalink + + +
                                                  Definition Classes
                                                  AnyRef
                                                  Annotations
                                                  + @throws( + + ... + ) + +
                                                  +
                                                +
                                                + + + + +
                                                + +
                                                +
                                                +

                                                Inherited from BaseDataOperator[StreamOperatorInfo, DataFrame]

                                                +
                                                +

                                                Inherited from BaseGenericOperator[StreamOperatorInfo, DataFrame]

                                                +
                                                +

                                                Inherited from BaseGenericMutantOperator[StreamOperatorInfo, DataFrame, DataFrame]

                                                +
                                                +

                                                Inherited from BaseDoer

                                                +
                                                +

                                                Inherited from Logging

                                                +
                                                +

                                                Inherited from Serializable

                                                +
                                                +

                                                Inherited from Serializable

                                                +
                                                +

                                                Inherited from AnyRef

                                                +
                                                +

                                                Inherited from Any

                                                +
                                                + +
                                                + +
                                                +
                                                +

                                                Ungrouped

                                                + +
                                                +
                                                + +
                                                + +
                                                + + + + + + diff --git a/manual1903/api_reference/components/scaladocs/ksb/csle/component/operator/reduction/GroupByFilterOperator$.html b/manual1903/api_reference/components/scaladocs/ksb/csle/component/operator/reduction/GroupByFilterOperator$.html new file mode 100644 index 0000000000000000000000000000000000000000..8794ea66a6a9efab91a5ec02378742483c62151d --- /dev/null +++ b/manual1903/api_reference/components/scaladocs/ksb/csle/component/operator/reduction/GroupByFilterOperator$.html @@ -0,0 +1,505 @@ + + + + GroupByFilterOperator - KSB COMPONENTS Scala App Project 1.0-SNAPSHOT API - ksb.csle.component.operator.reduction.GroupByFilterOperator + + + + + + + + + + + + + + + + + +

                                                + + + object + + + GroupByFilterOperator extends Serializable + +

                                                + +
                                                + Linear Supertypes +
                                                Serializable, Serializable, AnyRef, Any
                                                +
                                                + + +
                                                +
                                                +
                                                + Ordering +
                                                  + +
                                                1. Alphabetic
                                                2. +
                                                3. By Inheritance
                                                4. +
                                                +
                                                +
                                                + Inherited
                                                +
                                                +
                                                  +
                                                1. GroupByFilterOperator
                                                2. Serializable
                                                3. Serializable
                                                4. AnyRef
                                                5. Any
                                                6. +
                                                +
                                                + +
                                                  +
                                                1. Hide All
                                                2. +
                                                3. Show All
                                                4. +
                                                +
                                                +
                                                + Visibility +
                                                1. Public
                                                2. All
                                                +
                                                +
                                                + +
                                                +
                                                + + + + + + +
                                                +

                                                Value Members

                                                +
                                                1. + + +

                                                  + + final + def + + + !=(arg0: Any): Boolean + +

                                                  + + Permalink + + +
                                                  Definition Classes
                                                  AnyRef → Any
                                                  +
                                                2. + + +

                                                  + + final + def + + + ##(): Int + +

                                                  + + Permalink + + +
                                                  Definition Classes
                                                  AnyRef → Any
                                                  +
                                                3. + + +

                                                  + + final + def + + + ==(arg0: Any): Boolean + +

                                                  + + Permalink + + +
                                                  Definition Classes
                                                  AnyRef → Any
                                                  +
                                                4. + + +

                                                  + + + def + + + apply(o: StreamOperatorInfo): GroupByFilterOperator + +

                                                  + + Permalink + + + +
                                                5. + + +

                                                  + + final + def + + + asInstanceOf[T0]: T0 + +

                                                  + + Permalink + + +
                                                  Definition Classes
                                                  Any
                                                  +
                                                6. + + +

                                                  + + + def + + + clone(): AnyRef + +

                                                  + + Permalink + + +
                                                  Attributes
                                                  protected[java.lang]
                                                  Definition Classes
                                                  AnyRef
                                                  Annotations
                                                  + @throws( + + ... + ) + +
                                                  +
                                                7. + + +

                                                  + + final + def + + + eq(arg0: AnyRef): Boolean + +

                                                  + + Permalink + + +
                                                  Definition Classes
                                                  AnyRef
                                                  +
                                                8. + + +

                                                  + + + def + + + equals(arg0: Any): Boolean + +

                                                  + + Permalink + + +
                                                  Definition Classes
                                                  AnyRef → Any
                                                  +
                                                9. + + +

                                                  + + + def + + + finalize(): Unit + +

                                                  + + Permalink + + +
                                                  Attributes
                                                  protected[java.lang]
                                                  Definition Classes
                                                  AnyRef
                                                  Annotations
                                                  + @throws( + + classOf[java.lang.Throwable] + ) + +
                                                  +
                                                10. + + +

                                                  + + final + def + + + getClass(): Class[_] + +

                                                  + + Permalink + + +
                                                  Definition Classes
                                                  AnyRef → Any
                                                  +
                                                11. + + +

                                                  + + + def + + + hashCode(): Int + +

                                                  + + Permalink + + +
                                                  Definition Classes
                                                  AnyRef → Any
                                                  +
                                                12. + + +

                                                  + + final + def + + + isInstanceOf[T0]: Boolean + +

                                                  + + Permalink + + +
                                                  Definition Classes
                                                  Any
                                                  +
                                                13. + + +

                                                  + + final + def + + + ne(arg0: AnyRef): Boolean + +

                                                  + + Permalink + + +
                                                  Definition Classes
                                                  AnyRef
                                                  +
                                                14. + + +

                                                  + + final + def + + + notify(): Unit + +

                                                  + + Permalink + + +
                                                  Definition Classes
                                                  AnyRef
                                                  +
                                                15. + + +

                                                  + + final + def + + + notifyAll(): Unit + +

                                                  + + Permalink + + +
                                                  Definition Classes
                                                  AnyRef
                                                  +
                                                16. + + +

                                                  + + final + def + + + synchronized[T0](arg0: ⇒ T0): T0 + +

                                                  + + Permalink + + +
                                                  Definition Classes
                                                  AnyRef
                                                  +
                                                17. + + +

                                                  + + + def + + + toString(): String + +

                                                  + + Permalink + + +
                                                  Definition Classes
                                                  AnyRef → Any
                                                  +
                                                18. + + +

                                                  + + final + def + + + wait(): Unit + +

                                                  + + Permalink + + +
                                                  Definition Classes
                                                  AnyRef
                                                  Annotations
                                                  + @throws( + + ... + ) + +
                                                  +
                                                19. + + +

                                                  + + final + def + + + wait(arg0: Long, arg1: Int): Unit + +

                                                  + + Permalink + + +
                                                  Definition Classes
                                                  AnyRef
                                                  Annotations
                                                  + @throws( + + ... + ) + +
                                                  +
                                                20. + + +

                                                  + + final + def + + + wait(arg0: Long): Unit + +

                                                  + + Permalink + + +
                                                  Definition Classes
                                                  AnyRef
                                                  Annotations
                                                  + @throws( + + ... + ) + +
                                                  +
                                                +
                                                + + + + +
                                                + +
                                                +
                                                +

                                                Inherited from Serializable

                                                +
                                                +

                                                Inherited from Serializable

                                                +
                                                +

                                                Inherited from AnyRef

                                                +
                                                +

                                                Inherited from Any

                                                +
                                                + +
                                                + +
                                                +
                                                +

                                                Ungrouped

                                                + +
                                                +
                                                + +
                                                + +
                                                + + + + + + diff --git a/manual1903/api_reference/components/scaladocs/ksb/csle/component/operator/reduction/GroupByFilterOperator.html b/manual1903/api_reference/components/scaladocs/ksb/csle/component/operator/reduction/GroupByFilterOperator.html new file mode 100644 index 0000000000000000000000000000000000000000..bc936313754c8b7e2da730c2586678c0b6a03209 --- /dev/null +++ b/manual1903/api_reference/components/scaladocs/ksb/csle/component/operator/reduction/GroupByFilterOperator.html @@ -0,0 +1,612 @@ + + + + GroupByFilterOperator - KSB COMPONENTS Scala App Project 1.0-SNAPSHOT API - ksb.csle.component.operator.reduction.GroupByFilterOperator + + + + + + + + + + + + + + + + + +

                                                + + + class + + + GroupByFilterOperator extends BaseDataOperator[StreamOperatorInfo, DataFrame] + +

                                                + +

                                                :: ApplicationDeveloperApi ::

                                                Operator that selects which rows in a given column of input dataframe should +be kept and which rows should be removed. Rows satisfying the given condition +are kept, remaining rows are removed. +

                                                + Linear Supertypes +
                                                BaseDataOperator[StreamOperatorInfo, DataFrame], BaseGenericOperator[StreamOperatorInfo, DataFrame], BaseGenericMutantOperator[StreamOperatorInfo, DataFrame, DataFrame], BaseDoer, Logging, Serializable, Serializable, AnyRef, Any
                                                +
                                                + + +
                                                +
                                                +
                                                + Ordering +
                                                  + +
                                                1. Alphabetic
                                                2. +
                                                3. By Inheritance
                                                4. +
                                                +
                                                +
                                                + Inherited
                                                +
                                                +
                                                  +
                                                1. GroupByFilterOperator
                                                2. BaseDataOperator
                                                3. BaseGenericOperator
                                                4. BaseGenericMutantOperator
                                                5. BaseDoer
                                                6. Logging
                                                7. Serializable
                                                8. Serializable
                                                9. AnyRef
                                                10. Any
                                                11. +
                                                +
                                                + +
                                                  +
                                                1. Hide All
                                                2. +
                                                3. Show All
                                                4. +
                                                +
                                                +
                                                + Visibility +
                                                1. Public
                                                2. All
                                                +
                                                +
                                                + +
                                                +
                                                +
                                                +

                                                Instance Constructors

                                                +
                                                1. + + +

                                                  + + + new + + + GroupByFilterOperator(o: StreamOperatorInfo) + +

                                                  + + Permalink + + +

                                                  o

                                                  Object that contains message + ksb.csle.common.proto.StreamOperatorProto.GroupbyFilterInfo + GroupbyFilterInfo contains attributes as follows:

                                                  • keyColName: Column name to be filtered in the given input dataframe + (required)
                                                  • valColName: Column name to be used as a value column (optional)
                                                  • groupby: method for aggregation. Enum(SUM, COUNT), (required)
                                                  • condition: Condition to select rows. Enum(EQUAL,LESS_THAN, + LARGE_THAN,LESS_EQUAL,LARGE_EQUAL) (required)
                                                  • value: Base value to compare with the value of row (required)

                                                  GroupbyFilterInfo

                                                  message GroupbyFilterInfo {
                                                  +required string keyColName = 1;
                                                  +optional string valColName = 2;
                                                  +required GroupbyOp groupby = 3;
                                                  +required Condition condition = 4 [default = EQUAL];
                                                  +required int32 value = 5;
                                                  +enum GroupbyOp {
                                                  +  SUM = 0;
                                                  +  COUNT = 1;
                                                  +}
                                                  +enum Condition {
                                                  +  EQUAL = 0;
                                                  +  LESS_THAN = 1;
                                                  +  LARGE_THAN = 2;
                                                  +  LESS_EQUAL = 3;
                                                  +  LARGE_EQUAL = 4;
                                                  +}
                                                  +}
                                                  +
                                                +
                                                + + + + + +
                                                +

                                                Value Members

                                                +
                                                1. + + +

                                                  + + final + def + + + !=(arg0: Any): Boolean + +

                                                  + + Permalink + + +
                                                  Definition Classes
                                                  AnyRef → Any
                                                  +
                                                2. + + +

                                                  + + final + def + + + ##(): Int + +

                                                  + + Permalink + + +
                                                  Definition Classes
                                                  AnyRef → Any
                                                  +
                                                3. + + +

                                                  + + final + def + + + ==(arg0: Any): Boolean + +

                                                  + + Permalink + + +
                                                  Definition Classes
                                                  AnyRef → Any
                                                  +
                                                4. + + +

                                                  + + final + def + + + asInstanceOf[T0]: T0 + +

                                                  + + Permalink + + +
                                                  Definition Classes
                                                  Any
                                                  +
                                                5. + + +

                                                  + + + def + + + clone(): AnyRef + +

                                                  + + Permalink + + +
                                                  Attributes
                                                  protected[java.lang]
                                                  Definition Classes
                                                  AnyRef
                                                  Annotations
                                                  + @throws( + + ... + ) + +
                                                  +
                                                6. + + +

                                                  + + final + def + + + eq(arg0: AnyRef): Boolean + +

                                                  + + Permalink + + +
                                                  Definition Classes
                                                  AnyRef
                                                  +
                                                7. + + +

                                                  + + + def + + + equals(arg0: Any): Boolean + +

                                                  + + Permalink + + +
                                                  Definition Classes
                                                  AnyRef → Any
                                                  +
                                                8. + + +

                                                  + + + def + + + finalize(): Unit + +

                                                  + + Permalink + + +
                                                  Attributes
                                                  protected[java.lang]
                                                  Definition Classes
                                                  AnyRef
                                                  Annotations
                                                  + @throws( + + classOf[java.lang.Throwable] + ) + +
                                                  +
                                                9. + + +

                                                  + + final + def + + + getClass(): Class[_] + +

                                                  + + Permalink + + +
                                                  Definition Classes
                                                  AnyRef → Any
                                                  +
                                                10. + + +

                                                  + + + def + + + hashCode(): Int + +

                                                  + + Permalink + + +
                                                  Definition Classes
                                                  AnyRef → Any
                                                  +
                                                11. + + +

                                                  + + final + def + + + isInstanceOf[T0]: Boolean + +

                                                  + + Permalink + + +
                                                  Definition Classes
                                                  Any
                                                  +
                                                12. + + +

                                                  + + + val + + + logger: Logger + +

                                                  + + Permalink + + +
                                                  Attributes
                                                  protected
                                                  Definition Classes
                                                  Logging
                                                  +
                                                13. + + +

                                                  + + final + def + + + ne(arg0: AnyRef): Boolean + +

                                                  + + Permalink + + +
                                                  Definition Classes
                                                  AnyRef
                                                  +
                                                14. + + +

                                                  + + final + def + + + notify(): Unit + +

                                                  + + Permalink + + +
                                                  Definition Classes
                                                  AnyRef
                                                  +
                                                15. + + +

                                                  + + final + def + + + notifyAll(): Unit + +

                                                  + + Permalink + + +
                                                  Definition Classes
                                                  AnyRef
                                                  +
                                                16. + + +

                                                  + + + def + + + operate(df: DataFrame): DataFrame + +

                                                  + + Permalink + + +

                                                  Operates filtering function for data cleaning +

                                                  Operates filtering function for data cleaning +

                                                  df

                                                  Input dataframe

                                                  returns

                                                  DataFrame Output dataframe

                                                  Definition Classes
                                                  GroupByFilterOperator → BaseGenericOperator → BaseGenericMutantOperator
                                                  +
                                                17. + + +

                                                  + + + val + + + p: GroupbyFilterInfo + +

                                                  + + Permalink + + + +
                                                18. + + +

                                                  + + + def + + + stop: Unit + +

                                                  + + Permalink + + +
                                                  Definition Classes
                                                  BaseGenericOperator → BaseGenericMutantOperator
                                                  +
                                                19. + + +

                                                  + + final + def + + + synchronized[T0](arg0: ⇒ T0): T0 + +

                                                  + + Permalink + + +
                                                  Definition Classes
                                                  AnyRef
                                                  +
                                                20. + + +

                                                  + + + def + + + toString(): String + +

                                                  + + Permalink + + +
                                                  Definition Classes
                                                  AnyRef → Any
                                                  +
                                                21. + + +

                                                  + + final + def + + + wait(): Unit + +

                                                  + + Permalink + + +
                                                  Definition Classes
                                                  AnyRef
                                                  Annotations
                                                  + @throws( + + ... + ) + +
                                                  +
                                                22. + + +

                                                  + + final + def + + + wait(arg0: Long, arg1: Int): Unit + +

                                                  + + Permalink + + +
                                                  Definition Classes
                                                  AnyRef
                                                  Annotations
                                                  + @throws( + + ... + ) + +
                                                  +
                                                23. + + +

                                                  + + final + def + + + wait(arg0: Long): Unit + +

                                                  + + Permalink + + +
                                                  Definition Classes
                                                  AnyRef
                                                  Annotations
                                                  + @throws( + + ... + ) + +
                                                  +
                                                +
                                                + + + + +
                                                + +
                                                +
                                                +

                                                Inherited from BaseDataOperator[StreamOperatorInfo, DataFrame]

                                                +
                                                +

                                                Inherited from BaseGenericOperator[StreamOperatorInfo, DataFrame]

                                                +
                                                +

                                                Inherited from BaseGenericMutantOperator[StreamOperatorInfo, DataFrame, DataFrame]

                                                +
                                                +

                                                Inherited from BaseDoer

                                                +
                                                +

                                                Inherited from Logging

                                                +
                                                +

                                                Inherited from Serializable

                                                +
                                                +

                                                Inherited from Serializable

                                                +
                                                +

                                                Inherited from AnyRef

                                                +
                                                +

                                                Inherited from Any

                                                +
                                                + +
                                                + +
                                                +
                                                +

                                                Ungrouped

                                                + +
                                                +
                                                + +
                                                + +
                                                + + + + + + diff --git a/manual1903/api_reference/components/scaladocs/ksb/csle/component/operator/reduction/OrderByFilterOperator$.html b/manual1903/api_reference/components/scaladocs/ksb/csle/component/operator/reduction/OrderByFilterOperator$.html new file mode 100644 index 0000000000000000000000000000000000000000..7bfe70a73fd4268a29ac51495f31ead6c9f84745 --- /dev/null +++ b/manual1903/api_reference/components/scaladocs/ksb/csle/component/operator/reduction/OrderByFilterOperator$.html @@ -0,0 +1,505 @@ + + + + OrderByFilterOperator - KSB COMPONENTS Scala App Project 1.0-SNAPSHOT API - ksb.csle.component.operator.reduction.OrderByFilterOperator + + + + + + + + + + + + + + + + + +

                                                + + + object + + + OrderByFilterOperator extends Serializable + +

                                                + +
                                                + Linear Supertypes +
                                                Serializable, Serializable, AnyRef, Any
                                                +
                                                + + +
                                                +
                                                +
                                                + Ordering +
                                                  + +
                                                1. Alphabetic
                                                2. +
                                                3. By Inheritance
                                                4. +
                                                +
                                                +
                                                + Inherited
                                                +
                                                +
                                                  +
                                                1. OrderByFilterOperator
                                                2. Serializable
                                                3. Serializable
                                                4. AnyRef
                                                5. Any
                                                6. +
                                                +
                                                + +
                                                  +
                                                1. Hide All
                                                2. +
                                                3. Show All
                                                4. +
                                                +
                                                +
                                                + Visibility +
                                                1. Public
                                                2. All
                                                +
                                                +
                                                + +
                                                +
                                                + + + + + + +
                                                +

                                                Value Members

                                                +
                                                1. + + +

                                                  + + final + def + + + !=(arg0: Any): Boolean + +

                                                  + + Permalink + + +
                                                  Definition Classes
                                                  AnyRef → Any
                                                  +
                                                2. + + +

                                                  + + final + def + + + ##(): Int + +

                                                  + + Permalink + + +
                                                  Definition Classes
                                                  AnyRef → Any
                                                  +
                                                3. + + +

                                                  + + final + def + + + ==(arg0: Any): Boolean + +

                                                  + + Permalink + + +
                                                  Definition Classes
                                                  AnyRef → Any
                                                  +
                                                4. + + +

                                                  + + + def + + + apply(o: StreamOperatorInfo): OrderByFilterOperator + +

                                                  + + Permalink + + + +
                                                5. + + +

                                                  + + final + def + + + asInstanceOf[T0]: T0 + +

                                                  + + Permalink + + +
                                                  Definition Classes
                                                  Any
                                                  +
                                                6. + + +

                                                  + + + def + + + clone(): AnyRef + +

                                                  + + Permalink + + +
                                                  Attributes
                                                  protected[java.lang]
                                                  Definition Classes
                                                  AnyRef
                                                  Annotations
                                                  + @throws( + + ... + ) + +
                                                  +
                                                7. + + +

                                                  + + final + def + + + eq(arg0: AnyRef): Boolean + +

                                                  + + Permalink + + +
                                                  Definition Classes
                                                  AnyRef
                                                  +
                                                8. + + +

                                                  + + + def + + + equals(arg0: Any): Boolean + +

                                                  + + Permalink + + +
                                                  Definition Classes
                                                  AnyRef → Any
                                                  +
                                                9. + + +

                                                  + + + def + + + finalize(): Unit + +

                                                  + + Permalink + + +
                                                  Attributes
                                                  protected[java.lang]
                                                  Definition Classes
                                                  AnyRef
                                                  Annotations
                                                  + @throws( + + classOf[java.lang.Throwable] + ) + +
                                                  +
                                                10. + + +

                                                  + + final + def + + + getClass(): Class[_] + +

                                                  + + Permalink + + +
                                                  Definition Classes
                                                  AnyRef → Any
                                                  +
                                                11. + + +

                                                  + + + def + + + hashCode(): Int + +

                                                  + + Permalink + + +
                                                  Definition Classes
                                                  AnyRef → Any
                                                  +
                                                12. + + +

                                                  + + final + def + + + isInstanceOf[T0]: Boolean + +

                                                  + + Permalink + + +
                                                  Definition Classes
                                                  Any
                                                  +
                                                13. + + +

                                                  + + final + def + + + ne(arg0: AnyRef): Boolean + +

                                                  + + Permalink + + +
                                                  Definition Classes
                                                  AnyRef
                                                  +
                                                14. + + +

                                                  + + final + def + + + notify(): Unit + +

                                                  + + Permalink + + +
                                                  Definition Classes
                                                  AnyRef
                                                  +
                                                15. + + +

                                                  + + final + def + + + notifyAll(): Unit + +

                                                  + + Permalink + + +
                                                  Definition Classes
                                                  AnyRef
                                                  +
                                                16. + + +

                                                  + + final + def + + + synchronized[T0](arg0: ⇒ T0): T0 + +

                                                  + + Permalink + + +
                                                  Definition Classes
                                                  AnyRef
                                                  +
                                                17. + + +

                                                  + + + def + + + toString(): String + +

                                                  + + Permalink + + +
                                                  Definition Classes
                                                  AnyRef → Any
                                                  +
                                                18. + + +

                                                  + + final + def + + + wait(): Unit + +

                                                  + + Permalink + + +
                                                  Definition Classes
                                                  AnyRef
                                                  Annotations
                                                  + @throws( + + ... + ) + +
                                                  +
                                                19. + + +

                                                  + + final + def + + + wait(arg0: Long, arg1: Int): Unit + +

                                                  + + Permalink + + +
                                                  Definition Classes
                                                  AnyRef
                                                  Annotations
                                                  + @throws( + + ... + ) + +
                                                  +
                                                20. + + +

                                                  + + final + def + + + wait(arg0: Long): Unit + +

                                                  + + Permalink + + +
                                                  Definition Classes
                                                  AnyRef
                                                  Annotations
                                                  + @throws( + + ... + ) + +
                                                  +
                                                +
                                                + + + + +
                                                + +
                                                +
                                                +

                                                Inherited from Serializable

                                                +
                                                +

                                                Inherited from Serializable

                                                +
                                                +

                                                Inherited from AnyRef

                                                +
                                                +

                                                Inherited from Any

                                                +
                                                + +
                                                + +
                                                +
                                                +

                                                Ungrouped

                                                + +
                                                +
                                                + +
                                                + +
                                                + + + + + + diff --git a/manual1903/api_reference/components/scaladocs/ksb/csle/component/operator/reduction/OrderByFilterOperator.html b/manual1903/api_reference/components/scaladocs/ksb/csle/component/operator/reduction/OrderByFilterOperator.html new file mode 100644 index 0000000000000000000000000000000000000000..defe385773f0787cca2e946b3c365011cd127ffe --- /dev/null +++ b/manual1903/api_reference/components/scaladocs/ksb/csle/component/operator/reduction/OrderByFilterOperator.html @@ -0,0 +1,603 @@ + + + + OrderByFilterOperator - KSB COMPONENTS Scala App Project 1.0-SNAPSHOT API - ksb.csle.component.operator.reduction.OrderByFilterOperator + + + + + + + + + + + + + + + + + +

                                                + + + class + + + OrderByFilterOperator extends BaseDataOperator[StreamOperatorInfo, DataFrame] + +

                                                + +

                                                :: ApplicationDeveloperApi ::

                                                Operator that selects which rows in a given column of input dataframe should +be kept and which rows should be removed. Rows satisfying the given condition +are kept, remaining rows are removed. +

                                                + Linear Supertypes +
                                                BaseDataOperator[StreamOperatorInfo, DataFrame], BaseGenericOperator[StreamOperatorInfo, DataFrame], BaseGenericMutantOperator[StreamOperatorInfo, DataFrame, DataFrame], BaseDoer, Logging, Serializable, Serializable, AnyRef, Any
                                                +
                                                + + +
                                                +
                                                +
                                                + Ordering +
                                                  + +
                                                1. Alphabetic
                                                2. +
                                                3. By Inheritance
                                                4. +
                                                +
                                                +
                                                + Inherited
                                                +
                                                +
                                                  +
                                                1. OrderByFilterOperator
                                                2. BaseDataOperator
                                                3. BaseGenericOperator
                                                4. BaseGenericMutantOperator
                                                5. BaseDoer
                                                6. Logging
                                                7. Serializable
                                                8. Serializable
                                                9. AnyRef
                                                10. Any
                                                11. +
                                                +
                                                + +
                                                  +
                                                1. Hide All
                                                2. +
                                                3. Show All
                                                4. +
                                                +
                                                +
                                                + Visibility +
                                                1. Public
                                                2. All
                                                +
                                                +
                                                + +
                                                +
                                                +
                                                +

                                                Instance Constructors

                                                +
                                                1. + + +

                                                  + + + new + + + OrderByFilterOperator(o: StreamOperatorInfo) + +

                                                  + + Permalink + + +

                                                  o

                                                  Object that contains message + ksb.csle.common.proto.StreamOperatorProto.OrderbyFilterInfo + OrderbyFilterInfo contains attributes as follows:

                                                  • keyColName: Column which should be used for sorting + (required)
                                                  • method: Direction of sorting (ascending, descending). Enum(ASC, + DESC) (required)
                                                  • value: value to select rows (required)

                                                  OrderbyFilterInfo

                                                  message OrderbyFilterInfo {
                                                  +required string keyColName = 1;
                                                  +required Method method = 2 [default = ASC];
                                                  +required int32 value = 3;
                                                  +enum Method {
                                                  +  ASC = 0;
                                                  +  DESC = 1;
                                                  +}
                                                  +}
                                                  +
                                                +
                                                + + + + + +
                                                +

                                                Value Members

                                                +
                                                1. + + +

                                                  + + final + def + + + !=(arg0: Any): Boolean + +

                                                  + + Permalink + + +
                                                  Definition Classes
                                                  AnyRef → Any
                                                  +
                                                2. + + +

                                                  + + final + def + + + ##(): Int + +

                                                  + + Permalink + + +
                                                  Definition Classes
                                                  AnyRef → Any
                                                  +
                                                3. + + +

                                                  + + final + def + + + ==(arg0: Any): Boolean + +

                                                  + + Permalink + + +
                                                  Definition Classes
                                                  AnyRef → Any
                                                  +
                                                4. + + +

                                                  + + final + def + + + asInstanceOf[T0]: T0 + +

                                                  + + Permalink + + +
                                                  Definition Classes
                                                  Any
                                                  +
                                                5. + + +

                                                  + + + def + + + clone(): AnyRef + +

                                                  + + Permalink + + +
                                                  Attributes
                                                  protected[java.lang]
                                                  Definition Classes
                                                  AnyRef
                                                  Annotations
                                                  + @throws( + + ... + ) + +
                                                  +
                                                6. + + +

                                                  + + final + def + + + eq(arg0: AnyRef): Boolean + +

                                                  + + Permalink + + +
                                                  Definition Classes
                                                  AnyRef
                                                  +
                                                7. + + +

                                                  + + + def + + + equals(arg0: Any): Boolean + +

                                                  + + Permalink + + +
                                                  Definition Classes
                                                  AnyRef → Any
                                                  +
                                                8. + + +

                                                  + + + def + + + finalize(): Unit + +

                                                  + + Permalink + + +
                                                  Attributes
                                                  protected[java.lang]
                                                  Definition Classes
                                                  AnyRef
                                                  Annotations
                                                  + @throws( + + classOf[java.lang.Throwable] + ) + +
                                                  +
                                                9. + + +

                                                  + + final + def + + + getClass(): Class[_] + +

                                                  + + Permalink + + +
                                                  Definition Classes
                                                  AnyRef → Any
                                                  +
                                                10. + + +

                                                  + + + def + + + hashCode(): Int + +

                                                  + + Permalink + + +
                                                  Definition Classes
                                                  AnyRef → Any
                                                  +
                                                11. + + +

                                                  + + final + def + + + isInstanceOf[T0]: Boolean + +

                                                  + + Permalink + + +
                                                  Definition Classes
                                                  Any
                                                  +
                                                12. + + +

                                                  + + + val + + + logger: Logger + +

                                                  + + Permalink + + +
                                                  Attributes
                                                  protected
                                                  Definition Classes
                                                  Logging
                                                  +
                                                13. + + +

                                                  + + final + def + + + ne(arg0: AnyRef): Boolean + +

                                                  + + Permalink + + +
                                                  Definition Classes
                                                  AnyRef
                                                  +
                                                14. + + +

                                                  + + final + def + + + notify(): Unit + +

                                                  + + Permalink + + +
                                                  Definition Classes
                                                  AnyRef
                                                  +
                                                15. + + +

                                                  + + final + def + + + notifyAll(): Unit + +

                                                  + + Permalink + + +
                                                  Definition Classes
                                                  AnyRef
                                                  +
                                                16. + + +

                                                  + + + def + + + operate(df: DataFrame): DataFrame + +

                                                  + + Permalink + + +

                                                  Operates filtering function for data cleaning +

                                                  Operates filtering function for data cleaning +

                                                  df

                                                  Input dataframe

                                                  returns

                                                  DataFrame Output dataframe

                                                  Definition Classes
                                                  OrderByFilterOperator → BaseGenericOperator → BaseGenericMutantOperator
                                                  +
                                                17. + + +

                                                  + + + val + + + p: OrderbyFilterInfo + +

                                                  + + Permalink + + + +
                                                18. + + +

                                                  + + + def + + + stop: Unit + +

                                                  + + Permalink + + +
                                                  Definition Classes
                                                  BaseGenericOperator → BaseGenericMutantOperator
                                                  +
                                                19. + + +

                                                  + + final + def + + + synchronized[T0](arg0: ⇒ T0): T0 + +

                                                  + + Permalink + + +
                                                  Definition Classes
                                                  AnyRef
                                                  +
                                                20. + + +

                                                  + + + def + + + toString(): String + +

                                                  + + Permalink + + +
                                                  Definition Classes
                                                  AnyRef → Any
                                                  +
                                                21. + + +

                                                  + + final + def + + + wait(): Unit + +

                                                  + + Permalink + + +
                                                  Definition Classes
                                                  AnyRef
                                                  Annotations
                                                  + @throws( + + ... + ) + +
                                                  +
                                                22. + + +

                                                  + + final + def + + + wait(arg0: Long, arg1: Int): Unit + +

                                                  + + Permalink + + +
                                                  Definition Classes
                                                  AnyRef
                                                  Annotations
                                                  + @throws( + + ... + ) + +
                                                  +
                                                23. + + +

                                                  + + final + def + + + wait(arg0: Long): Unit + +

                                                  + + Permalink + + +
                                                  Definition Classes
                                                  AnyRef
                                                  Annotations
                                                  + @throws( + + ... + ) + +
                                                  +
                                                +
                                                + + + + +
                                                + +
                                                +
                                                +

                                                Inherited from BaseDataOperator[StreamOperatorInfo, DataFrame]

                                                +
                                                +

                                                Inherited from BaseGenericOperator[StreamOperatorInfo, DataFrame]

                                                +
                                                +

                                                Inherited from BaseGenericMutantOperator[StreamOperatorInfo, DataFrame, DataFrame]

                                                +
                                                +

                                                Inherited from BaseDoer

                                                +
                                                +

                                                Inherited from Logging

                                                +
                                                +

                                                Inherited from Serializable

                                                +
                                                +

                                                Inherited from Serializable

                                                +
                                                +

                                                Inherited from AnyRef

                                                +
                                                +

                                                Inherited from Any

                                                +
                                                + +
                                                + +
                                                +
                                                +

                                                Ungrouped

                                                + +
                                                +
                                                + +
                                                + +
                                                + + + + + + diff --git a/manual1903/api_reference/components/scaladocs/ksb/csle/component/operator/reduction/PCAOperator$.html b/manual1903/api_reference/components/scaladocs/ksb/csle/component/operator/reduction/PCAOperator$.html new file mode 100644 index 0000000000000000000000000000000000000000..df1a905d01fe7498822ebeff686d92101f695186 --- /dev/null +++ b/manual1903/api_reference/components/scaladocs/ksb/csle/component/operator/reduction/PCAOperator$.html @@ -0,0 +1,505 @@ + + + + PCAOperator - KSB COMPONENTS Scala App Project 1.0-SNAPSHOT API - ksb.csle.component.operator.reduction.PCAOperator + + + + + + + + + + + + + + + + + +

                                                + + + object + + + PCAOperator extends Serializable + +

                                                + +
                                                + Linear Supertypes +
                                                Serializable, Serializable, AnyRef, Any
                                                +
                                                + + +
                                                +
                                                +
                                                + Ordering +
                                                  + +
                                                1. Alphabetic
                                                2. +
                                                3. By Inheritance
                                                4. +
                                                +
                                                +
                                                + Inherited
                                                +
                                                +
                                                  +
                                                1. PCAOperator
                                                2. Serializable
                                                3. Serializable
                                                4. AnyRef
                                                5. Any
                                                6. +
                                                +
                                                + +
                                                  +
                                                1. Hide All
                                                2. +
                                                3. Show All
                                                4. +
                                                +
                                                +
                                                + Visibility +
                                                1. Public
                                                2. All
                                                +
                                                +
                                                + +
                                                +
                                                + + + + + + +
                                                +

                                                Value Members

                                                +
                                                1. + + +

                                                  + + final + def + + + !=(arg0: Any): Boolean + +

                                                  + + Permalink + + +
                                                  Definition Classes
                                                  AnyRef → Any
                                                  +
                                                2. + + +

                                                  + + final + def + + + ##(): Int + +

                                                  + + Permalink + + +
                                                  Definition Classes
                                                  AnyRef → Any
                                                  +
                                                3. + + +

                                                  + + final + def + + + ==(arg0: Any): Boolean + +

                                                  + + Permalink + + +
                                                  Definition Classes
                                                  AnyRef → Any
                                                  +
                                                4. + + +

                                                  + + + def + + + apply(o: StreamOperatorInfo): PCAOperator + +

                                                  + + Permalink + + + +
                                                5. + + +

                                                  + + final + def + + + asInstanceOf[T0]: T0 + +

                                                  + + Permalink + + +
                                                  Definition Classes
                                                  Any
                                                  +
                                                6. + + +

                                                  + + + def + + + clone(): AnyRef + +

                                                  + + Permalink + + +
                                                  Attributes
                                                  protected[java.lang]
                                                  Definition Classes
                                                  AnyRef
                                                  Annotations
                                                  + @throws( + + ... + ) + +
                                                  +
                                                7. + + +

                                                  + + final + def + + + eq(arg0: AnyRef): Boolean + +

                                                  + + Permalink + + +
                                                  Definition Classes
                                                  AnyRef
                                                  +
                                                8. + + +

                                                  + + + def + + + equals(arg0: Any): Boolean + +

                                                  + + Permalink + + +
                                                  Definition Classes
                                                  AnyRef → Any
                                                  +
                                                9. + + +

                                                  + + + def + + + finalize(): Unit + +

                                                  + + Permalink + + +
                                                  Attributes
                                                  protected[java.lang]
                                                  Definition Classes
                                                  AnyRef
                                                  Annotations
                                                  + @throws( + + classOf[java.lang.Throwable] + ) + +
                                                  +
                                                10. + + +

                                                  + + final + def + + + getClass(): Class[_] + +

                                                  + + Permalink + + +
                                                  Definition Classes
                                                  AnyRef → Any
                                                  +
                                                11. + + +

                                                  + + + def + + + hashCode(): Int + +

                                                  + + Permalink + + +
                                                  Definition Classes
                                                  AnyRef → Any
                                                  +
                                                12. + + +

                                                  + + final + def + + + isInstanceOf[T0]: Boolean + +

                                                  + + Permalink + + +
                                                  Definition Classes
                                                  Any
                                                  +
                                                13. + + +

                                                  + + final + def + + + ne(arg0: AnyRef): Boolean + +

                                                  + + Permalink + + +
                                                  Definition Classes
                                                  AnyRef
                                                  +
                                                14. + + +

                                                  + + final + def + + + notify(): Unit + +

                                                  + + Permalink + + +
                                                  Definition Classes
                                                  AnyRef
                                                  +
                                                15. + + +

                                                  + + final + def + + + notifyAll(): Unit + +

                                                  + + Permalink + + +
                                                  Definition Classes
                                                  AnyRef
                                                  +
                                                16. + + +

                                                  + + final + def + + + synchronized[T0](arg0: ⇒ T0): T0 + +

                                                  + + Permalink + + +
                                                  Definition Classes
                                                  AnyRef
                                                  +
                                                17. + + +

                                                  + + + def + + + toString(): String + +

                                                  + + Permalink + + +
                                                  Definition Classes
                                                  AnyRef → Any
                                                  +
                                                18. + + +

                                                  + + final + def + + + wait(): Unit + +

                                                  + + Permalink + + +
                                                  Definition Classes
                                                  AnyRef
                                                  Annotations
                                                  + @throws( + + ... + ) + +
                                                  +
                                                19. + + +

                                                  + + final + def + + + wait(arg0: Long, arg1: Int): Unit + +

                                                  + + Permalink + + +
                                                  Definition Classes
                                                  AnyRef
                                                  Annotations
                                                  + @throws( + + ... + ) + +
                                                  +
                                                20. + + +

                                                  + + final + def + + + wait(arg0: Long): Unit + +

                                                  + + Permalink + + +
                                                  Definition Classes
                                                  AnyRef
                                                  Annotations
                                                  + @throws( + + ... + ) + +
                                                  +
                                                +
                                                + + + + +
                                                + +
                                                +
                                                +

                                                Inherited from Serializable

                                                +
                                                +

                                                Inherited from Serializable

                                                +
                                                +

                                                Inherited from AnyRef

                                                +
                                                +

                                                Inherited from Any

                                                +
                                                + +
                                                + +
                                                +
                                                +

                                                Ungrouped

                                                + +
                                                +
                                                + +
                                                + +
                                                + + + + + + diff --git a/manual1903/api_reference/components/scaladocs/ksb/csle/component/operator/reduction/PCAOperator.html b/manual1903/api_reference/components/scaladocs/ksb/csle/component/operator/reduction/PCAOperator.html new file mode 100644 index 0000000000000000000000000000000000000000..b92e9cedbe553e6b93aa194e7528ae27da114c85 --- /dev/null +++ b/manual1903/api_reference/components/scaladocs/ksb/csle/component/operator/reduction/PCAOperator.html @@ -0,0 +1,618 @@ + + + + PCAOperator - KSB COMPONENTS Scala App Project 1.0-SNAPSHOT API - ksb.csle.component.operator.reduction.PCAOperator + + + + + + + + + + + + + + + + + +

                                                + + + class + + + PCAOperator extends BaseDataOperator[StreamOperatorInfo, DataFrame] + +

                                                + +

                                                :: ApplicationDeveloperApi ::

                                                Operator that performs Principal Component Analysis. It converts a set of +observations of possibly correlated variables into a set of values of +linearly uncorrelated variables called principal components. +

                                                + Linear Supertypes +
                                                BaseDataOperator[StreamOperatorInfo, DataFrame], BaseGenericOperator[StreamOperatorInfo, DataFrame], BaseGenericMutantOperator[StreamOperatorInfo, DataFrame, DataFrame], BaseDoer, Logging, Serializable, Serializable, AnyRef, Any
                                                +
                                                + + +
                                                +
                                                +
                                                + Ordering +
                                                  + +
                                                1. Alphabetic
                                                2. +
                                                3. By Inheritance
                                                4. +
                                                +
                                                +
                                                + Inherited
                                                +
                                                +
                                                  +
                                                1. PCAOperator
                                                2. BaseDataOperator
                                                3. BaseGenericOperator
                                                4. BaseGenericMutantOperator
                                                5. BaseDoer
                                                6. Logging
                                                7. Serializable
                                                8. Serializable
                                                9. AnyRef
                                                10. Any
                                                11. +
                                                +
                                                + +
                                                  +
                                                1. Hide All
                                                2. +
                                                3. Show All
                                                4. +
                                                +
                                                +
                                                + Visibility +
                                                1. Public
                                                2. All
                                                +
                                                +
                                                + +
                                                +
                                                +
                                                +

                                                Instance Constructors

                                                +
                                                1. + + +

                                                  + + + new + + + PCAOperator(o: StreamOperatorInfo) + +

                                                  + + Permalink + + +

                                                  o

                                                  Object that contains message + ksb.csle.common.proto.StreamOperatorProto.PrincipalComponentAnalysisInfo + PrincipalComponentAnalysisInfo contains attributes as follows:

                                                  • k_value: Number of components (required)

                                                  PrincipalComponentAnalysisInfo

                                                  message PrincipalComponentAnalysisInfo {
                                                  +required int32 k_value = 3 [default = 2];
                                                  +}
                                                  +
                                                +
                                                + + + + + +
                                                +

                                                Value Members

                                                +
                                                1. + + +

                                                  + + final + def + + + !=(arg0: Any): Boolean + +

                                                  + + Permalink + + +
                                                  Definition Classes
                                                  AnyRef → Any
                                                  +
                                                2. + + +

                                                  + + final + def + + + ##(): Int + +

                                                  + + Permalink + + +
                                                  Definition Classes
                                                  AnyRef → Any
                                                  +
                                                3. + + +

                                                  + + final + def + + + ==(arg0: Any): Boolean + +

                                                  + + Permalink + + +
                                                  Definition Classes
                                                  AnyRef → Any
                                                  +
                                                4. + + +

                                                  + + final + def + + + asInstanceOf[T0]: T0 + +

                                                  + + Permalink + + +
                                                  Definition Classes
                                                  Any
                                                  +
                                                5. + + +

                                                  + + + def + + + clone(): AnyRef + +

                                                  + + Permalink + + +
                                                  Attributes
                                                  protected[java.lang]
                                                  Definition Classes
                                                  AnyRef
                                                  Annotations
                                                  + @throws( + + ... + ) + +
                                                  +
                                                6. + + +

                                                  + + final + def + + + eq(arg0: AnyRef): Boolean + +

                                                  + + Permalink + + +
                                                  Definition Classes
                                                  AnyRef
                                                  +
                                                7. + + +

                                                  + + + def + + + equals(arg0: Any): Boolean + +

                                                  + + Permalink + + +
                                                  Definition Classes
                                                  AnyRef → Any
                                                  +
                                                8. + + +

                                                  + + + def + + + finalize(): Unit + +

                                                  + + Permalink + + +
                                                  Attributes
                                                  protected[java.lang]
                                                  Definition Classes
                                                  AnyRef
                                                  Annotations
                                                  + @throws( + + classOf[java.lang.Throwable] + ) + +
                                                  +
                                                9. + + +

                                                  + + final + def + + + getClass(): Class[_] + +

                                                  + + Permalink + + +
                                                  Definition Classes
                                                  AnyRef → Any
                                                  +
                                                10. + + +

                                                  + + + def + + + hashCode(): Int + +

                                                  + + Permalink + + +
                                                  Definition Classes
                                                  AnyRef → Any
                                                  +
                                                11. + + +

                                                  + + final + def + + + isInstanceOf[T0]: Boolean + +

                                                  + + Permalink + + +
                                                  Definition Classes
                                                  Any
                                                  +
                                                12. + + +

                                                  + + + val + + + logger: Logger + +

                                                  + + Permalink + + +
                                                  Attributes
                                                  protected
                                                  Definition Classes
                                                  Logging
                                                  +
                                                13. + + +

                                                  + + final + def + + + ne(arg0: AnyRef): Boolean + +

                                                  + + Permalink + + +
                                                  Definition Classes
                                                  AnyRef
                                                  +
                                                14. + + +

                                                  + + final + def + + + notify(): Unit + +

                                                  + + Permalink + + +
                                                  Definition Classes
                                                  AnyRef
                                                  +
                                                15. + + +

                                                  + + final + def + + + notifyAll(): Unit + +

                                                  + + Permalink + + +
                                                  Definition Classes
                                                  AnyRef
                                                  +
                                                16. + + +

                                                  + + + def + + + operate(df: DataFrame): DataFrame + +

                                                  + + Permalink + + +

                                                  Operates PrincipalComponentAnalysis.

                                                  Operates PrincipalComponentAnalysis. +

                                                  df

                                                  Input dataframe

                                                  returns

                                                  DataFrame Output dataframe

                                                  Definition Classes
                                                  PCAOperator → BaseGenericOperator → BaseGenericMutantOperator
                                                  +
                                                17. + + +

                                                  + + + val + + + p: PrincipalComponentAnalysisInfo + +

                                                  + + Permalink + + + +
                                                18. + + +

                                                  + + + def + + + stop: Unit + +

                                                  + + Permalink + + +
                                                  Definition Classes
                                                  BaseGenericOperator → BaseGenericMutantOperator
                                                  +
                                                19. + + +

                                                  + + final + def + + + synchronized[T0](arg0: ⇒ T0): T0 + +

                                                  + + Permalink + + +
                                                  Definition Classes
                                                  AnyRef
                                                  +
                                                20. + + +

                                                  + + + def + + + toString(): String + +

                                                  + + Permalink + + +
                                                  Definition Classes
                                                  AnyRef → Any
                                                  +
                                                21. + + +

                                                  + + + def + + + validate(df: DataFrame): DataFrame + +

                                                  + + Permalink + + +

                                                  validates PrincipalComponentAnalysis info and dataframe schema info using following params.

                                                  validates PrincipalComponentAnalysis info and dataframe schema info using following params. +

                                                  Annotations
                                                  + @throws( + + classOf[KsbException] + ) + +
                                                  +
                                                22. + + +

                                                  + + final + def + + + wait(): Unit + +

                                                  + + Permalink + + +
                                                  Definition Classes
                                                  AnyRef
                                                  Annotations
                                                  + @throws( + + ... + ) + +
                                                  +
                                                23. + + +

                                                  + + final + def + + + wait(arg0: Long, arg1: Int): Unit + +

                                                  + + Permalink + + +
                                                  Definition Classes
                                                  AnyRef
                                                  Annotations
                                                  + @throws( + + ... + ) + +
                                                  +
                                                24. + + +

                                                  + + final + def + + + wait(arg0: Long): Unit + +

                                                  + + Permalink + + +
                                                  Definition Classes
                                                  AnyRef
                                                  Annotations
                                                  + @throws( + + ... + ) + +
                                                  +
                                                +
                                                + + + + +
                                                + +
                                                +
                                                +

                                                Inherited from BaseDataOperator[StreamOperatorInfo, DataFrame]

                                                +
                                                +

                                                Inherited from BaseGenericOperator[StreamOperatorInfo, DataFrame]

                                                +
                                                +

                                                Inherited from BaseGenericMutantOperator[StreamOperatorInfo, DataFrame, DataFrame]

                                                +
                                                +

                                                Inherited from BaseDoer

                                                +
                                                +

                                                Inherited from Logging

                                                +
                                                +

                                                Inherited from Serializable

                                                +
                                                +

                                                Inherited from Serializable

                                                +
                                                +

                                                Inherited from AnyRef

                                                +
                                                +

                                                Inherited from Any

                                                +
                                                + +
                                                + +
                                                +
                                                +

                                                Ungrouped

                                                + +
                                                +
                                                + +
                                                + +
                                                + + + + + + diff --git a/manual1903/api_reference/components/scaladocs/ksb/csle/component/operator/reduction/RandomSamplingOperator$.html b/manual1903/api_reference/components/scaladocs/ksb/csle/component/operator/reduction/RandomSamplingOperator$.html new file mode 100644 index 0000000000000000000000000000000000000000..c8ff85802513167022b76e243f5495783971af92 --- /dev/null +++ b/manual1903/api_reference/components/scaladocs/ksb/csle/component/operator/reduction/RandomSamplingOperator$.html @@ -0,0 +1,505 @@ + + + + RandomSamplingOperator - KSB COMPONENTS Scala App Project 1.0-SNAPSHOT API - ksb.csle.component.operator.reduction.RandomSamplingOperator + + + + + + + + + + + + + + + + + +

                                                + + + object + + + RandomSamplingOperator extends Serializable + +

                                                + +
                                                + Linear Supertypes +
                                                Serializable, Serializable, AnyRef, Any
                                                +
                                                + + +
                                                +
                                                +
                                                + Ordering +
                                                  + +
                                                1. Alphabetic
                                                2. +
                                                3. By Inheritance
                                                4. +
                                                +
                                                +
                                                + Inherited
                                                +
                                                +
                                                  +
                                                1. RandomSamplingOperator
                                                2. Serializable
                                                3. Serializable
                                                4. AnyRef
                                                5. Any
                                                6. +
                                                +
                                                + +
                                                  +
                                                1. Hide All
                                                2. +
                                                3. Show All
                                                4. +
                                                +
                                                +
                                                + Visibility +
                                                1. Public
                                                2. All
                                                +
                                                +
                                                + +
                                                +
                                                + + + + + + +
                                                +

                                                Value Members

                                                +
                                                1. + + +

                                                  + + final + def + + + !=(arg0: Any): Boolean + +

                                                  + + Permalink + + +
                                                  Definition Classes
                                                  AnyRef → Any
                                                  +
                                                2. + + +

                                                  + + final + def + + + ##(): Int + +

                                                  + + Permalink + + +
                                                  Definition Classes
                                                  AnyRef → Any
                                                  +
                                                3. + + +

                                                  + + final + def + + + ==(arg0: Any): Boolean + +

                                                  + + Permalink + + +
                                                  Definition Classes
                                                  AnyRef → Any
                                                  +
                                                4. + + +

                                                  + + + def + + + apply(o: StreamOperatorInfo): RandomSamplingOperator + +

                                                  + + Permalink + + + +
                                                5. + + +

                                                  + + final + def + + + asInstanceOf[T0]: T0 + +

                                                  + + Permalink + + +
                                                  Definition Classes
                                                  Any
                                                  +
                                                6. + + +

                                                  + + + def + + + clone(): AnyRef + +

                                                  + + Permalink + + +
                                                  Attributes
                                                  protected[java.lang]
                                                  Definition Classes
                                                  AnyRef
                                                  Annotations
                                                  + @throws( + + ... + ) + +
                                                  +
                                                7. + + +

                                                  + + final + def + + + eq(arg0: AnyRef): Boolean + +

                                                  + + Permalink + + +
                                                  Definition Classes
                                                  AnyRef
                                                  +
                                                8. + + +

                                                  + + + def + + + equals(arg0: Any): Boolean + +

                                                  + + Permalink + + +
                                                  Definition Classes
                                                  AnyRef → Any
                                                  +
                                                9. + + +

                                                  + + + def + + + finalize(): Unit + +

                                                  + + Permalink + + +
                                                  Attributes
                                                  protected[java.lang]
                                                  Definition Classes
                                                  AnyRef
                                                  Annotations
                                                  + @throws( + + classOf[java.lang.Throwable] + ) + +
                                                  +
                                                10. + + +

                                                  + + final + def + + + getClass(): Class[_] + +

                                                  + + Permalink + + +
                                                  Definition Classes
                                                  AnyRef → Any
                                                  +
                                                11. + + +

                                                  + + + def + + + hashCode(): Int + +

                                                  + + Permalink + + +
                                                  Definition Classes
                                                  AnyRef → Any
                                                  +
                                                12. + + +

                                                  + + final + def + + + isInstanceOf[T0]: Boolean + +

                                                  + + Permalink + + +
                                                  Definition Classes
                                                  Any
                                                  +
                                                13. + + +

                                                  + + final + def + + + ne(arg0: AnyRef): Boolean + +

                                                  + + Permalink + + +
                                                  Definition Classes
                                                  AnyRef
                                                  +
                                                14. + + +

                                                  + + final + def + + + notify(): Unit + +

                                                  + + Permalink + + +
                                                  Definition Classes
                                                  AnyRef
                                                  +
                                                15. + + +

                                                  + + final + def + + + notifyAll(): Unit + +

                                                  + + Permalink + + +
                                                  Definition Classes
                                                  AnyRef
                                                  +
                                                16. + + +

                                                  + + final + def + + + synchronized[T0](arg0: ⇒ T0): T0 + +

                                                  + + Permalink + + +
                                                  Definition Classes
                                                  AnyRef
                                                  +
                                                17. + + +

                                                  + + + def + + + toString(): String + +

                                                  + + Permalink + + +
                                                  Definition Classes
                                                  AnyRef → Any
                                                  +
                                                18. + + +

                                                  + + final + def + + + wait(): Unit + +

                                                  + + Permalink + + +
                                                  Definition Classes
                                                  AnyRef
                                                  Annotations
                                                  + @throws( + + ... + ) + +
                                                  +
                                                19. + + +

                                                  + + final + def + + + wait(arg0: Long, arg1: Int): Unit + +

                                                  + + Permalink + + +
                                                  Definition Classes
                                                  AnyRef
                                                  Annotations
                                                  + @throws( + + ... + ) + +
                                                  +
                                                20. + + +

                                                  + + final + def + + + wait(arg0: Long): Unit + +

                                                  + + Permalink + + +
                                                  Definition Classes
                                                  AnyRef
                                                  Annotations
                                                  + @throws( + + ... + ) + +
                                                  +
                                                +
                                                + + + + +
                                                + +
                                                +
                                                +

                                                Inherited from Serializable

                                                +
                                                +

                                                Inherited from Serializable

                                                +
                                                +

                                                Inherited from AnyRef

                                                +
                                                +

                                                Inherited from Any

                                                +
                                                + +
                                                + +
                                                +
                                                +

                                                Ungrouped

                                                + +
                                                +
                                                + +
                                                + +
                                                + + + + + + diff --git a/manual1903/api_reference/components/scaladocs/ksb/csle/component/operator/reduction/RandomSamplingOperator.html b/manual1903/api_reference/components/scaladocs/ksb/csle/component/operator/reduction/RandomSamplingOperator.html new file mode 100644 index 0000000000000000000000000000000000000000..8dad2c6f1647a73f32c9a4eec1515bbbf2babc0e --- /dev/null +++ b/manual1903/api_reference/components/scaladocs/ksb/csle/component/operator/reduction/RandomSamplingOperator.html @@ -0,0 +1,599 @@ + + + + RandomSamplingOperator - KSB COMPONENTS Scala App Project 1.0-SNAPSHOT API - ksb.csle.component.operator.reduction.RandomSamplingOperator + + + + + + + + + + + + + + + + + +

                                                + + + class + + + RandomSamplingOperator extends BaseDataOperator[StreamOperatorInfo, DataFrame] + +

                                                + +

                                                :: ApplicationDeveloperApi ::

                                                Operator that creates simple random samples from a selected column. +

                                                + Linear Supertypes +
                                                BaseDataOperator[StreamOperatorInfo, DataFrame], BaseGenericOperator[StreamOperatorInfo, DataFrame], BaseGenericMutantOperator[StreamOperatorInfo, DataFrame, DataFrame], BaseDoer, Logging, Serializable, Serializable, AnyRef, Any
                                                +
                                                + + +
                                                +
                                                +
                                                + Ordering +
                                                  + +
                                                1. Alphabetic
                                                2. +
                                                3. By Inheritance
                                                4. +
                                                +
                                                +
                                                + Inherited
                                                +
                                                +
                                                  +
                                                1. RandomSamplingOperator
                                                2. BaseDataOperator
                                                3. BaseGenericOperator
                                                4. BaseGenericMutantOperator
                                                5. BaseDoer
                                                6. Logging
                                                7. Serializable
                                                8. Serializable
                                                9. AnyRef
                                                10. Any
                                                11. +
                                                +
                                                + +
                                                  +
                                                1. Hide All
                                                2. +
                                                3. Show All
                                                4. +
                                                +
                                                +
                                                + Visibility +
                                                1. Public
                                                2. All
                                                +
                                                +
                                                + +
                                                +
                                                +
                                                +

                                                Instance Constructors

                                                +
                                                1. + + +

                                                  + + + new + + + RandomSamplingOperator(o: StreamOperatorInfo) + +

                                                  + + Permalink + + +

                                                  o

                                                  Object that contains message + ksb.csle.common.proto.StreamOperatorProto.SampleSimpleRandomInfo + SampleSimpleRandomInfo contains attributes as follows:

                                                  • fractions: map of specific the sampling rate (required) + If the fraction value is 1, the result dataframe is + same as the original dataframe.
                                                  • withReplacement: Parameter to specify whether to sample with or + without replacement (required) + If withReplacement is false, the result dataframe does + not have the same rows.
                                                  • seed: Local random seed (optional)

                                                  SampleSimpleRandomInfo

                                                  message SampleSimpleRandomInfo {
                                                  +required double fraction = 3;
                                                  +required bool withReplacement = 4 [default = false];
                                                  +optional int64 seed = 5;
                                                  +}
                                                  +
                                                +
                                                + + + + + +
                                                +

                                                Value Members

                                                +
                                                1. + + +

                                                  + + final + def + + + !=(arg0: Any): Boolean + +

                                                  + + Permalink + + +
                                                  Definition Classes
                                                  AnyRef → Any
                                                  +
                                                2. + + +

                                                  + + final + def + + + ##(): Int + +

                                                  + + Permalink + + +
                                                  Definition Classes
                                                  AnyRef → Any
                                                  +
                                                3. + + +

                                                  + + final + def + + + ==(arg0: Any): Boolean + +

                                                  + + Permalink + + +
                                                  Definition Classes
                                                  AnyRef → Any
                                                  +
                                                4. + + +

                                                  + + final + def + + + asInstanceOf[T0]: T0 + +

                                                  + + Permalink + + +
                                                  Definition Classes
                                                  Any
                                                  +
                                                5. + + +

                                                  + + + def + + + clone(): AnyRef + +

                                                  + + Permalink + + +
                                                  Attributes
                                                  protected[java.lang]
                                                  Definition Classes
                                                  AnyRef
                                                  Annotations
                                                  + @throws( + + ... + ) + +
                                                  +
                                                6. + + +

                                                  + + final + def + + + eq(arg0: AnyRef): Boolean + +

                                                  + + Permalink + + +
                                                  Definition Classes
                                                  AnyRef
                                                  +
                                                7. + + +

                                                  + + + def + + + equals(arg0: Any): Boolean + +

                                                  + + Permalink + + +
                                                  Definition Classes
                                                  AnyRef → Any
                                                  +
                                                8. + + +

                                                  + + + def + + + finalize(): Unit + +

                                                  + + Permalink + + +
                                                  Attributes
                                                  protected[java.lang]
                                                  Definition Classes
                                                  AnyRef
                                                  Annotations
                                                  + @throws( + + classOf[java.lang.Throwable] + ) + +
                                                  +
                                                9. + + +

                                                  + + final + def + + + getClass(): Class[_] + +

                                                  + + Permalink + + +
                                                  Definition Classes
                                                  AnyRef → Any
                                                  +
                                                10. + + +

                                                  + + + def + + + hashCode(): Int + +

                                                  + + Permalink + + +
                                                  Definition Classes
                                                  AnyRef → Any
                                                  +
                                                11. + + +

                                                  + + final + def + + + isInstanceOf[T0]: Boolean + +

                                                  + + Permalink + + +
                                                  Definition Classes
                                                  Any
                                                  +
                                                12. + + +

                                                  + + + val + + + logger: Logger + +

                                                  + + Permalink + + +
                                                  Attributes
                                                  protected
                                                  Definition Classes
                                                  Logging
                                                  +
                                                13. + + +

                                                  + + final + def + + + ne(arg0: AnyRef): Boolean + +

                                                  + + Permalink + + +
                                                  Definition Classes
                                                  AnyRef
                                                  +
                                                14. + + +

                                                  + + final + def + + + notify(): Unit + +

                                                  + + Permalink + + +
                                                  Definition Classes
                                                  AnyRef
                                                  +
                                                15. + + +

                                                  + + final + def + + + notifyAll(): Unit + +

                                                  + + Permalink + + +
                                                  Definition Classes
                                                  AnyRef
                                                  +
                                                16. + + +

                                                  + + + def + + + operate(df: DataFrame): DataFrame + +

                                                  + + Permalink + + +

                                                  Operates sampleSimpleRandom.

                                                  Operates sampleSimpleRandom. +

                                                  df

                                                  Input dataframe

                                                  returns

                                                  DataFrame Output dataframe

                                                  Definition Classes
                                                  RandomSamplingOperator → BaseGenericOperator → BaseGenericMutantOperator
                                                  +
                                                17. + + +

                                                  + + + val + + + p: SampleSimpleRandomInfo + +

                                                  + + Permalink + + + +
                                                18. + + +

                                                  + + + def + + + stop: Unit + +

                                                  + + Permalink + + +
                                                  Definition Classes
                                                  BaseGenericOperator → BaseGenericMutantOperator
                                                  +
                                                19. + + +

                                                  + + final + def + + + synchronized[T0](arg0: ⇒ T0): T0 + +

                                                  + + Permalink + + +
                                                  Definition Classes
                                                  AnyRef
                                                  +
                                                20. + + +

                                                  + + + def + + + toString(): String + +

                                                  + + Permalink + + +
                                                  Definition Classes
                                                  AnyRef → Any
                                                  +
                                                21. + + +

                                                  + + final + def + + + wait(): Unit + +

                                                  + + Permalink + + +
                                                  Definition Classes
                                                  AnyRef
                                                  Annotations
                                                  + @throws( + + ... + ) + +
                                                  +
                                                22. + + +

                                                  + + final + def + + + wait(arg0: Long, arg1: Int): Unit + +

                                                  + + Permalink + + +
                                                  Definition Classes
                                                  AnyRef
                                                  Annotations
                                                  + @throws( + + ... + ) + +
                                                  +
                                                23. + + +

                                                  + + final + def + + + wait(arg0: Long): Unit + +

                                                  + + Permalink + + +
                                                  Definition Classes
                                                  AnyRef
                                                  Annotations
                                                  + @throws( + + ... + ) + +
                                                  +
                                                +
                                                + + + + +
                                                + +
                                                +
                                                +

                                                Inherited from BaseDataOperator[StreamOperatorInfo, DataFrame]

                                                +
                                                +

                                                Inherited from BaseGenericOperator[StreamOperatorInfo, DataFrame]

                                                +
                                                +

                                                Inherited from BaseGenericMutantOperator[StreamOperatorInfo, DataFrame, DataFrame]

                                                +
                                                +

                                                Inherited from BaseDoer

                                                +
                                                +

                                                Inherited from Logging

                                                +
                                                +

                                                Inherited from Serializable

                                                +
                                                +

                                                Inherited from Serializable

                                                +
                                                +

                                                Inherited from AnyRef

                                                +
                                                +

                                                Inherited from Any

                                                +
                                                + +
                                                + +
                                                +
                                                +

                                                Ungrouped

                                                + +
                                                +
                                                + +
                                                + +
                                                + + + + + + diff --git a/manual1903/api_reference/components/scaladocs/ksb/csle/component/operator/reduction/StepwiseBackwardEliminateOperator$.html b/manual1903/api_reference/components/scaladocs/ksb/csle/component/operator/reduction/StepwiseBackwardEliminateOperator$.html new file mode 100644 index 0000000000000000000000000000000000000000..b8565bf23820aa2ddbb099ebc488fc90f111e9c8 --- /dev/null +++ b/manual1903/api_reference/components/scaladocs/ksb/csle/component/operator/reduction/StepwiseBackwardEliminateOperator$.html @@ -0,0 +1,505 @@ + + + + StepwiseBackwardEliminateOperator - KSB COMPONENTS Scala App Project 1.0-SNAPSHOT API - ksb.csle.component.operator.reduction.StepwiseBackwardEliminateOperator + + + + + + + + + + + + + + + + + +

                                                + + + object + + + StepwiseBackwardEliminateOperator extends Serializable + +

                                                + +
                                                + Linear Supertypes +
                                                Serializable, Serializable, AnyRef, Any
                                                +
                                                + + +
                                                +
                                                +
                                                + Ordering +
                                                  + +
                                                1. Alphabetic
                                                2. +
                                                3. By Inheritance
                                                4. +
                                                +
                                                +
                                                + Inherited
                                                +
                                                +
                                                  +
                                                1. StepwiseBackwardEliminateOperator
                                                2. Serializable
                                                3. Serializable
                                                4. AnyRef
                                                5. Any
                                                6. +
                                                +
                                                + +
                                                  +
                                                1. Hide All
                                                2. +
                                                3. Show All
                                                4. +
                                                +
                                                +
                                                + Visibility +
                                                1. Public
                                                2. All
                                                +
                                                +
                                                + +
                                                +
                                                + + + + + + +
                                                +

                                                Value Members

                                                +
                                                1. + + +

                                                  + + final + def + + + !=(arg0: Any): Boolean + +

                                                  + + Permalink + + +
                                                  Definition Classes
                                                  AnyRef → Any
                                                  +
                                                2. + + +

                                                  + + final + def + + + ##(): Int + +

                                                  + + Permalink + + +
                                                  Definition Classes
                                                  AnyRef → Any
                                                  +
                                                3. + + +

                                                  + + final + def + + + ==(arg0: Any): Boolean + +

                                                  + + Permalink + + +
                                                  Definition Classes
                                                  AnyRef → Any
                                                  +
                                                4. + + +

                                                  + + + def + + + apply(o: StreamOperatorInfo): StepwiseBackwardEliminateOperator + +

                                                  + + Permalink + + + +
                                                5. + + +

                                                  + + final + def + + + asInstanceOf[T0]: T0 + +

                                                  + + Permalink + + +
                                                  Definition Classes
                                                  Any
                                                  +
                                                6. + + +

                                                  + + + def + + + clone(): AnyRef + +

                                                  + + Permalink + + +
                                                  Attributes
                                                  protected[java.lang]
                                                  Definition Classes
                                                  AnyRef
                                                  Annotations
                                                  + @throws( + + ... + ) + +
                                                  +
                                                7. + + +

                                                  + + final + def + + + eq(arg0: AnyRef): Boolean + +

                                                  + + Permalink + + +
                                                  Definition Classes
                                                  AnyRef
                                                  +
                                                8. + + +

                                                  + + + def + + + equals(arg0: Any): Boolean + +

                                                  + + Permalink + + +
                                                  Definition Classes
                                                  AnyRef → Any
                                                  +
                                                9. + + +

                                                  + + + def + + + finalize(): Unit + +

                                                  + + Permalink + + +
                                                  Attributes
                                                  protected[java.lang]
                                                  Definition Classes
                                                  AnyRef
                                                  Annotations
                                                  + @throws( + + classOf[java.lang.Throwable] + ) + +
                                                  +
                                                10. + + +

                                                  + + final + def + + + getClass(): Class[_] + +

                                                  + + Permalink + + +
                                                  Definition Classes
                                                  AnyRef → Any
                                                  +
                                                11. + + +

                                                  + + + def + + + hashCode(): Int + +

                                                  + + Permalink + + +
                                                  Definition Classes
                                                  AnyRef → Any
                                                  +
                                                12. + + +

                                                  + + final + def + + + isInstanceOf[T0]: Boolean + +

                                                  + + Permalink + + +
                                                  Definition Classes
                                                  Any
                                                  +
                                                13. + + +

                                                  + + final + def + + + ne(arg0: AnyRef): Boolean + +

                                                  + + Permalink + + +
                                                  Definition Classes
                                                  AnyRef
                                                  +
                                                14. + + +

                                                  + + final + def + + + notify(): Unit + +

                                                  + + Permalink + + +
                                                  Definition Classes
                                                  AnyRef
                                                  +
                                                15. + + +

                                                  + + final + def + + + notifyAll(): Unit + +

                                                  + + Permalink + + +
                                                  Definition Classes
                                                  AnyRef
                                                  +
                                                16. + + +

                                                  + + final + def + + + synchronized[T0](arg0: ⇒ T0): T0 + +

                                                  + + Permalink + + +
                                                  Definition Classes
                                                  AnyRef
                                                  +
                                                17. + + +

                                                  + + + def + + + toString(): String + +

                                                  + + Permalink + + +
                                                  Definition Classes
                                                  AnyRef → Any
                                                  +
                                                18. + + +

                                                  + + final + def + + + wait(): Unit + +

                                                  + + Permalink + + +
                                                  Definition Classes
                                                  AnyRef
                                                  Annotations
                                                  + @throws( + + ... + ) + +
                                                  +
                                                19. + + +

                                                  + + final + def + + + wait(arg0: Long, arg1: Int): Unit + +

                                                  + + Permalink + + +
                                                  Definition Classes
                                                  AnyRef
                                                  Annotations
                                                  + @throws( + + ... + ) + +
                                                  +
                                                20. + + +

                                                  + + final + def + + + wait(arg0: Long): Unit + +

                                                  + + Permalink + + +
                                                  Definition Classes
                                                  AnyRef
                                                  Annotations
                                                  + @throws( + + ... + ) + +
                                                  +
                                                +
                                                + + + + +
                                                + +
                                                +
                                                +

                                                Inherited from Serializable

                                                +
                                                +

                                                Inherited from Serializable

                                                +
                                                +

                                                Inherited from AnyRef

                                                +
                                                +

                                                Inherited from Any

                                                +
                                                + +
                                                + +
                                                +
                                                +

                                                Ungrouped

                                                + +
                                                +
                                                + +
                                                + +
                                                + + + + + + diff --git a/manual1903/api_reference/components/scaladocs/ksb/csle/component/operator/reduction/StepwiseBackwardEliminateOperator.html b/manual1903/api_reference/components/scaladocs/ksb/csle/component/operator/reduction/StepwiseBackwardEliminateOperator.html new file mode 100644 index 0000000000000000000000000000000000000000..278c95c0bb364eddb173b46dd48773a93172d3bb --- /dev/null +++ b/manual1903/api_reference/components/scaladocs/ksb/csle/component/operator/reduction/StepwiseBackwardEliminateOperator.html @@ -0,0 +1,618 @@ + + + + StepwiseBackwardEliminateOperator - KSB COMPONENTS Scala App Project 1.0-SNAPSHOT API - ksb.csle.component.operator.reduction.StepwiseBackwardEliminateOperator + + + + + + + + + + + + + + + + + +

                                                + + + class + + + StepwiseBackwardEliminateOperator extends BaseDataOperator[StreamOperatorInfo, DataFrame] + +

                                                + +

                                                :: ApplicationDeveloperApi ::

                                                Operator that performs 'backward elimination' which is the deterministic +greedy feature selection algorithm. It selects the most relevant columns. +

                                                + Linear Supertypes +
                                                BaseDataOperator[StreamOperatorInfo, DataFrame], BaseGenericOperator[StreamOperatorInfo, DataFrame], BaseGenericMutantOperator[StreamOperatorInfo, DataFrame, DataFrame], BaseDoer, Logging, Serializable, Serializable, AnyRef, Any
                                                +
                                                + + +
                                                +
                                                +
                                                + Ordering +
                                                  + +
                                                1. Alphabetic
                                                2. +
                                                3. By Inheritance
                                                4. +
                                                +
                                                +
                                                + Inherited
                                                +
                                                +
                                                  +
                                                1. StepwiseBackwardEliminateOperator
                                                2. BaseDataOperator
                                                3. BaseGenericOperator
                                                4. BaseGenericMutantOperator
                                                5. BaseDoer
                                                6. Logging
                                                7. Serializable
                                                8. Serializable
                                                9. AnyRef
                                                10. Any
                                                11. +
                                                +
                                                + +
                                                  +
                                                1. Hide All
                                                2. +
                                                3. Show All
                                                4. +
                                                +
                                                +
                                                + Visibility +
                                                1. Public
                                                2. All
                                                +
                                                +
                                                + +
                                                +
                                                +
                                                +

                                                Instance Constructors

                                                +
                                                1. + + +

                                                  + + + new + + + StepwiseBackwardEliminateOperator(o: StreamOperatorInfo) + +

                                                  + + Permalink + + +

                                                  o

                                                  Object that contains message + ksb.csle.common.proto.StreamOperatorProto.StepwiseBackwardEliminationInfo + StepwiseBackwardEliminationInfo contains attributes as follows:

                                                  • labelName: Column name of label (required)
                                                  • pValue: P-value of estimated coefficients and intercept (required)

                                                  StepwiseBackwardEliminationInfo

                                                  message StepwiseBackwardEliminationInfo {
                                                  +required string labelName = 3;
                                                  +required double pValue = 4 [default = 0.01];
                                                  +}
                                                  +
                                                +
                                                + + + + + +
                                                +

                                                Value Members

                                                +
                                                1. + + +

                                                  + + final + def + + + !=(arg0: Any): Boolean + +

                                                  + + Permalink + + +
                                                  Definition Classes
                                                  AnyRef → Any
                                                  +
                                                2. + + +

                                                  + + final + def + + + ##(): Int + +

                                                  + + Permalink + + +
                                                  Definition Classes
                                                  AnyRef → Any
                                                  +
                                                3. + + +

                                                  + + final + def + + + ==(arg0: Any): Boolean + +

                                                  + + Permalink + + +
                                                  Definition Classes
                                                  AnyRef → Any
                                                  +
                                                4. + + +

                                                  + + final + def + + + asInstanceOf[T0]: T0 + +

                                                  + + Permalink + + +
                                                  Definition Classes
                                                  Any
                                                  +
                                                5. + + +

                                                  + + + def + + + clone(): AnyRef + +

                                                  + + Permalink + + +
                                                  Attributes
                                                  protected[java.lang]
                                                  Definition Classes
                                                  AnyRef
                                                  Annotations
                                                  + @throws( + + ... + ) + +
                                                  +
                                                6. + + +

                                                  + + final + def + + + eq(arg0: AnyRef): Boolean + +

                                                  + + Permalink + + +
                                                  Definition Classes
                                                  AnyRef
                                                  +
                                                7. + + +

                                                  + + + def + + + equals(arg0: Any): Boolean + +

                                                  + + Permalink + + +
                                                  Definition Classes
                                                  AnyRef → Any
                                                  +
                                                8. + + +

                                                  + + + def + + + finalize(): Unit + +

                                                  + + Permalink + + +
                                                  Attributes
                                                  protected[java.lang]
                                                  Definition Classes
                                                  AnyRef
                                                  Annotations
                                                  + @throws( + + classOf[java.lang.Throwable] + ) + +
                                                  +
                                                9. + + +

                                                  + + final + def + + + getClass(): Class[_] + +

                                                  + + Permalink + + +
                                                  Definition Classes
                                                  AnyRef → Any
                                                  +
                                                10. + + +

                                                  + + + def + + + hashCode(): Int + +

                                                  + + Permalink + + +
                                                  Definition Classes
                                                  AnyRef → Any
                                                  +
                                                11. + + +

                                                  + + final + def + + + isInstanceOf[T0]: Boolean + +

                                                  + + Permalink + + +
                                                  Definition Classes
                                                  Any
                                                  +
                                                12. + + +

                                                  + + + val + + + logger: Logger + +

                                                  + + Permalink + + +
                                                  Attributes
                                                  protected
                                                  Definition Classes
                                                  Logging
                                                  +
                                                13. + + +

                                                  + + final + def + + + ne(arg0: AnyRef): Boolean + +

                                                  + + Permalink + + +
                                                  Definition Classes
                                                  AnyRef
                                                  +
                                                14. + + +

                                                  + + final + def + + + notify(): Unit + +

                                                  + + Permalink + + +
                                                  Definition Classes
                                                  AnyRef
                                                  +
                                                15. + + +

                                                  + + final + def + + + notifyAll(): Unit + +

                                                  + + Permalink + + +
                                                  Definition Classes
                                                  AnyRef
                                                  +
                                                16. + + +

                                                  + + + def + + + operate(df: DataFrame): DataFrame + +

                                                  + + Permalink + + +

                                                  Operates Aggregate.

                                                  Operates Aggregate. +

                                                  df

                                                  Input dataframe

                                                  returns

                                                  DataFrame Output dataframe

                                                  Definition Classes
                                                  StepwiseBackwardEliminateOperator → BaseGenericOperator → BaseGenericMutantOperator
                                                  +
                                                17. + + +

                                                  + + + val + + + p: StepwiseBackwardEliminationInfo + +

                                                  + + Permalink + + + +
                                                18. + + +

                                                  + + + def + + + stop: Unit + +

                                                  + + Permalink + + +
                                                  Definition Classes
                                                  BaseGenericOperator → BaseGenericMutantOperator
                                                  +
                                                19. + + +

                                                  + + final + def + + + synchronized[T0](arg0: ⇒ T0): T0 + +

                                                  + + Permalink + + +
                                                  Definition Classes
                                                  AnyRef
                                                  +
                                                20. + + +

                                                  + + + def + + + toString(): String + +

                                                  + + Permalink + + +
                                                  Definition Classes
                                                  AnyRef → Any
                                                  +
                                                21. + + +

                                                  + + + def + + + validate(df: DataFrame): Unit + +

                                                  + + Permalink + + +

                                                  validates StepwiseBackwardElimination info and dataframe schema info.

                                                  validates StepwiseBackwardElimination info and dataframe schema info. +

                                                  Annotations
                                                  + @throws( + + classOf[KsbException] + ) + +
                                                  +
                                                22. + + +

                                                  + + final + def + + + wait(): Unit + +

                                                  + + Permalink + + +
                                                  Definition Classes
                                                  AnyRef
                                                  Annotations
                                                  + @throws( + + ... + ) + +
                                                  +
                                                23. + + +

                                                  + + final + def + + + wait(arg0: Long, arg1: Int): Unit + +

                                                  + + Permalink + + +
                                                  Definition Classes
                                                  AnyRef
                                                  Annotations
                                                  + @throws( + + ... + ) + +
                                                  +
                                                24. + + +

                                                  + + final + def + + + wait(arg0: Long): Unit + +

                                                  + + Permalink + + +
                                                  Definition Classes
                                                  AnyRef
                                                  Annotations
                                                  + @throws( + + ... + ) + +
                                                  +
                                                +
                                                + + + + +
                                                + +
                                                +
                                                +

                                                Inherited from BaseDataOperator[StreamOperatorInfo, DataFrame]

                                                +
                                                +

                                                Inherited from BaseGenericOperator[StreamOperatorInfo, DataFrame]

                                                +
                                                +

                                                Inherited from BaseGenericMutantOperator[StreamOperatorInfo, DataFrame, DataFrame]

                                                +
                                                +

                                                Inherited from BaseDoer

                                                +
                                                +

                                                Inherited from Logging

                                                +
                                                +

                                                Inherited from Serializable

                                                +
                                                +

                                                Inherited from Serializable

                                                +
                                                +

                                                Inherited from AnyRef

                                                +
                                                +

                                                Inherited from Any

                                                +
                                                + +
                                                + +
                                                +
                                                +

                                                Ungrouped

                                                + +
                                                +
                                                + +
                                                + +
                                                + + + + + + diff --git a/manual1903/api_reference/components/scaladocs/ksb/csle/component/operator/reduction/StepwiseForwardSelectOperator$.html b/manual1903/api_reference/components/scaladocs/ksb/csle/component/operator/reduction/StepwiseForwardSelectOperator$.html new file mode 100644 index 0000000000000000000000000000000000000000..7608897fcd0405394325a26fc315b202887d003c --- /dev/null +++ b/manual1903/api_reference/components/scaladocs/ksb/csle/component/operator/reduction/StepwiseForwardSelectOperator$.html @@ -0,0 +1,505 @@ + + + + StepwiseForwardSelectOperator - KSB COMPONENTS Scala App Project 1.0-SNAPSHOT API - ksb.csle.component.operator.reduction.StepwiseForwardSelectOperator + + + + + + + + + + + + + + + + + +

                                                + + + object + + + StepwiseForwardSelectOperator extends Serializable + +

                                                + +
                                                + Linear Supertypes +
                                                Serializable, Serializable, AnyRef, Any
                                                +
                                                + + +
                                                +
                                                +
                                                + Ordering +
                                                  + +
                                                1. Alphabetic
                                                2. +
                                                3. By Inheritance
                                                4. +
                                                +
                                                +
                                                + Inherited
                                                +
                                                +
                                                  +
                                                1. StepwiseForwardSelectOperator
                                                2. Serializable
                                                3. Serializable
                                                4. AnyRef
                                                5. Any
                                                6. +
                                                +
                                                + +
                                                  +
                                                1. Hide All
                                                2. +
                                                3. Show All
                                                4. +
                                                +
                                                +
                                                + Visibility +
                                                1. Public
                                                2. All
                                                +
                                                +
                                                + +
                                                +
                                                + + + + + + +
                                                +

                                                Value Members

                                                +
                                                1. + + +

                                                  + + final + def + + + !=(arg0: Any): Boolean + +

                                                  + + Permalink + + +
                                                  Definition Classes
                                                  AnyRef → Any
                                                  +
                                                2. + + +

                                                  + + final + def + + + ##(): Int + +

                                                  + + Permalink + + +
                                                  Definition Classes
                                                  AnyRef → Any
                                                  +
                                                3. + + +

                                                  + + final + def + + + ==(arg0: Any): Boolean + +

                                                  + + Permalink + + +
                                                  Definition Classes
                                                  AnyRef → Any
                                                  +
                                                4. + + +

                                                  + + + def + + + apply(o: StreamOperatorInfo): StepwiseForwardSelectOperator + +

                                                  + + Permalink + + + +
                                                5. + + +

                                                  + + final + def + + + asInstanceOf[T0]: T0 + +

                                                  + + Permalink + + +
                                                  Definition Classes
                                                  Any
                                                  +
                                                6. + + +

                                                  + + + def + + + clone(): AnyRef + +

                                                  + + Permalink + + +
                                                  Attributes
                                                  protected[java.lang]
                                                  Definition Classes
                                                  AnyRef
                                                  Annotations
                                                  + @throws( + + ... + ) + +
                                                  +
                                                7. + + +

                                                  + + final + def + + + eq(arg0: AnyRef): Boolean + +

                                                  + + Permalink + + +
                                                  Definition Classes
                                                  AnyRef
                                                  +
                                                8. + + +

                                                  + + + def + + + equals(arg0: Any): Boolean + +

                                                  + + Permalink + + +
                                                  Definition Classes
                                                  AnyRef → Any
                                                  +
                                                9. + + +

                                                  + + + def + + + finalize(): Unit + +

                                                  + + Permalink + + +
                                                  Attributes
                                                  protected[java.lang]
                                                  Definition Classes
                                                  AnyRef
                                                  Annotations
                                                  + @throws( + + classOf[java.lang.Throwable] + ) + +
                                                  +
                                                10. + + +

                                                  + + final + def + + + getClass(): Class[_] + +

                                                  + + Permalink + + +
                                                  Definition Classes
                                                  AnyRef → Any
                                                  +
                                                11. + + +

                                                  + + + def + + + hashCode(): Int + +

                                                  + + Permalink + + +
                                                  Definition Classes
                                                  AnyRef → Any
                                                  +
                                                12. + + +

                                                  + + final + def + + + isInstanceOf[T0]: Boolean + +

                                                  + + Permalink + + +
                                                  Definition Classes
                                                  Any
                                                  +
                                                13. + + +

                                                  + + final + def + + + ne(arg0: AnyRef): Boolean + +

                                                  + + Permalink + + +
                                                  Definition Classes
                                                  AnyRef
                                                  +
                                                14. + + +

                                                  + + final + def + + + notify(): Unit + +

                                                  + + Permalink + + +
                                                  Definition Classes
                                                  AnyRef
                                                  +
                                                15. + + +

                                                  + + final + def + + + notifyAll(): Unit + +

                                                  + + Permalink + + +
                                                  Definition Classes
                                                  AnyRef
                                                  +
                                                16. + + +

                                                  + + final + def + + + synchronized[T0](arg0: ⇒ T0): T0 + +

                                                  + + Permalink + + +
                                                  Definition Classes
                                                  AnyRef
                                                  +
                                                17. + + +

                                                  + + + def + + + toString(): String + +

                                                  + + Permalink + + +
                                                  Definition Classes
                                                  AnyRef → Any
                                                  +
                                                18. + + +

                                                  + + final + def + + + wait(): Unit + +

                                                  + + Permalink + + +
                                                  Definition Classes
                                                  AnyRef
                                                  Annotations
                                                  + @throws( + + ... + ) + +
                                                  +
                                                19. + + +

                                                  + + final + def + + + wait(arg0: Long, arg1: Int): Unit + +

                                                  + + Permalink + + +
                                                  Definition Classes
                                                  AnyRef
                                                  Annotations
                                                  + @throws( + + ... + ) + +
                                                  +
                                                20. + + +

                                                  + + final + def + + + wait(arg0: Long): Unit + +

                                                  + + Permalink + + +
                                                  Definition Classes
                                                  AnyRef
                                                  Annotations
                                                  + @throws( + + ... + ) + +
                                                  +
                                                +
                                                + + + + +
                                                + +
                                                +
                                                +

                                                Inherited from Serializable

                                                +
                                                +

                                                Inherited from Serializable

                                                +
                                                +

                                                Inherited from AnyRef

                                                +
                                                +

                                                Inherited from Any

                                                +
                                                + +
                                                + +
                                                +
                                                +

                                                Ungrouped

                                                + +
                                                +
                                                + +
                                                + +
                                                + + + + + + diff --git a/manual1903/api_reference/components/scaladocs/ksb/csle/component/operator/reduction/StepwiseForwardSelectOperator.html b/manual1903/api_reference/components/scaladocs/ksb/csle/component/operator/reduction/StepwiseForwardSelectOperator.html new file mode 100644 index 0000000000000000000000000000000000000000..33cea898fae31b2822a84a93954b9a81c9b4301e --- /dev/null +++ b/manual1903/api_reference/components/scaladocs/ksb/csle/component/operator/reduction/StepwiseForwardSelectOperator.html @@ -0,0 +1,618 @@ + + + + StepwiseForwardSelectOperator - KSB COMPONENTS Scala App Project 1.0-SNAPSHOT API - ksb.csle.component.operator.reduction.StepwiseForwardSelectOperator + + + + + + + + + + + + + + + + + +

                                                + + + class + + + StepwiseForwardSelectOperator extends BaseDataOperator[StreamOperatorInfo, DataFrame] + +

                                                + +

                                                :: ApplicationDeveloperApi ::

                                                Operator that performs 'forward selection' which is the deterministic greedy +feature selection algorithm. It selects the most relevant columns. +

                                                + Linear Supertypes +
                                                BaseDataOperator[StreamOperatorInfo, DataFrame], BaseGenericOperator[StreamOperatorInfo, DataFrame], BaseGenericMutantOperator[StreamOperatorInfo, DataFrame, DataFrame], BaseDoer, Logging, Serializable, Serializable, AnyRef, Any
                                                +
                                                + + +
                                                +
                                                +
                                                + Ordering +
                                                  + +
                                                1. Alphabetic
                                                2. +
                                                3. By Inheritance
                                                4. +
                                                +
                                                +
                                                + Inherited
                                                +
                                                +
                                                  +
                                                1. StepwiseForwardSelectOperator
                                                2. BaseDataOperator
                                                3. BaseGenericOperator
                                                4. BaseGenericMutantOperator
                                                5. BaseDoer
                                                6. Logging
                                                7. Serializable
                                                8. Serializable
                                                9. AnyRef
                                                10. Any
                                                11. +
                                                +
                                                + +
                                                  +
                                                1. Hide All
                                                2. +
                                                3. Show All
                                                4. +
                                                +
                                                +
                                                + Visibility +
                                                1. Public
                                                2. All
                                                +
                                                +
                                                + +
                                                +
                                                +
                                                +

                                                Instance Constructors

                                                +
                                                1. + + +

                                                  + + + new + + + StepwiseForwardSelectOperator(o: StreamOperatorInfo) + +

                                                  + + Permalink + + +

                                                  o

                                                  Object that contains message + ksb.csle.common.proto.StreamOperatorProto.StepwiseForwardSelectionInfo + StepwiseForwardSelectionInfo contains attributes as follows:

                                                  • labelName: Column name of label (required)
                                                  • pValue: P-value of estimated coefficients and intercept (required)

                                                  StepwiseForwardSelectionInfo

                                                  message StepwiseForwardSelectionInfo {
                                                  +required string labelName = 3;
                                                  +required double pValue = 4 [default = 0.01];
                                                  +}
                                                  +
                                                +
                                                + + + + + +
                                                +

                                                Value Members

                                                +
                                                1. + + +

                                                  + + final + def + + + !=(arg0: Any): Boolean + +

                                                  + + Permalink + + +
                                                  Definition Classes
                                                  AnyRef → Any
                                                  +
                                                2. + + +

                                                  + + final + def + + + ##(): Int + +

                                                  + + Permalink + + +
                                                  Definition Classes
                                                  AnyRef → Any
                                                  +
                                                3. + + +

                                                  + + final + def + + + ==(arg0: Any): Boolean + +

                                                  + + Permalink + + +
                                                  Definition Classes
                                                  AnyRef → Any
                                                  +
                                                4. + + +

                                                  + + final + def + + + asInstanceOf[T0]: T0 + +

                                                  + + Permalink + + +
                                                  Definition Classes
                                                  Any
                                                  +
                                                5. + + +

                                                  + + + def + + + clone(): AnyRef + +

                                                  + + Permalink + + +
                                                  Attributes
                                                  protected[java.lang]
                                                  Definition Classes
                                                  AnyRef
                                                  Annotations
                                                  + @throws( + + ... + ) + +
                                                  +
                                                6. + + +

                                                  + + final + def + + + eq(arg0: AnyRef): Boolean + +

                                                  + + Permalink + + +
                                                  Definition Classes
                                                  AnyRef
                                                  +
                                                7. + + +

                                                  + + + def + + + equals(arg0: Any): Boolean + +

                                                  + + Permalink + + +
                                                  Definition Classes
                                                  AnyRef → Any
                                                  +
                                                8. + + +

                                                  + + + def + + + finalize(): Unit + +

                                                  + + Permalink + + +
                                                  Attributes
                                                  protected[java.lang]
                                                  Definition Classes
                                                  AnyRef
                                                  Annotations
                                                  + @throws( + + classOf[java.lang.Throwable] + ) + +
                                                  +
                                                9. + + +

                                                  + + final + def + + + getClass(): Class[_] + +

                                                  + + Permalink + + +
                                                  Definition Classes
                                                  AnyRef → Any
                                                  +
                                                10. + + +

                                                  + + + def + + + hashCode(): Int + +

                                                  + + Permalink + + +
                                                  Definition Classes
                                                  AnyRef → Any
                                                  +
                                                11. + + +

                                                  + + final + def + + + isInstanceOf[T0]: Boolean + +

                                                  + + Permalink + + +
                                                  Definition Classes
                                                  Any
                                                  +
                                                12. + + +

                                                  + + + val + + + logger: Logger + +

                                                  + + Permalink + + +
                                                  Attributes
                                                  protected
                                                  Definition Classes
                                                  Logging
                                                  +
                                                13. + + +

                                                  + + final + def + + + ne(arg0: AnyRef): Boolean + +

                                                  + + Permalink + + +
                                                  Definition Classes
                                                  AnyRef
                                                  +
                                                14. + + +

                                                  + + final + def + + + notify(): Unit + +

                                                  + + Permalink + + +
                                                  Definition Classes
                                                  AnyRef
                                                  +
                                                15. + + +

                                                  + + final + def + + + notifyAll(): Unit + +

                                                  + + Permalink + + +
                                                  Definition Classes
                                                  AnyRef
                                                  +
                                                16. + + +

                                                  + + + def + + + operate(df: DataFrame): DataFrame + +

                                                  + + Permalink + + +

                                                  Operates Aggregate.

                                                  Operates Aggregate. +

                                                  df

                                                  Input dataframe

                                                  returns

                                                  DataFrame Output dataframe

                                                  Definition Classes
                                                  StepwiseForwardSelectOperator → BaseGenericOperator → BaseGenericMutantOperator
                                                  +
                                                17. + + +

                                                  + + + val + + + p: StepwiseForwardSelectionInfo + +

                                                  + + Permalink + + + +
                                                18. + + +

                                                  + + + def + + + stop: Unit + +

                                                  + + Permalink + + +
                                                  Definition Classes
                                                  BaseGenericOperator → BaseGenericMutantOperator
                                                  +
                                                19. + + +

                                                  + + final + def + + + synchronized[T0](arg0: ⇒ T0): T0 + +

                                                  + + Permalink + + +
                                                  Definition Classes
                                                  AnyRef
                                                  +
                                                20. + + +

                                                  + + + def + + + toString(): String + +

                                                  + + Permalink + + +
                                                  Definition Classes
                                                  AnyRef → Any
                                                  +
                                                21. + + +

                                                  + + + def + + + validate(df: DataFrame): Unit + +

                                                  + + Permalink + + +

                                                  validates StepwiseForwardSelection info and dataframe schema info using following params.

                                                  validates StepwiseForwardSelection info and dataframe schema info using following params. +

                                                  Annotations
                                                  + @throws( + + classOf[KsbException] + ) + +
                                                  +
                                                22. + + +

                                                  + + final + def + + + wait(): Unit + +

                                                  + + Permalink + + +
                                                  Definition Classes
                                                  AnyRef
                                                  Annotations
                                                  + @throws( + + ... + ) + +
                                                  +
                                                23. + + +

                                                  + + final + def + + + wait(arg0: Long, arg1: Int): Unit + +

                                                  + + Permalink + + +
                                                  Definition Classes
                                                  AnyRef
                                                  Annotations
                                                  + @throws( + + ... + ) + +
                                                  +
                                                24. + + +

                                                  + + final + def + + + wait(arg0: Long): Unit + +

                                                  + + Permalink + + +
                                                  Definition Classes
                                                  AnyRef
                                                  Annotations
                                                  + @throws( + + ... + ) + +
                                                  +
                                                +
                                                + + + + +
                                                + +
                                                +
                                                +

                                                Inherited from BaseDataOperator[StreamOperatorInfo, DataFrame]

                                                +
                                                +

                                                Inherited from BaseGenericOperator[StreamOperatorInfo, DataFrame]

                                                +
                                                +

                                                Inherited from BaseGenericMutantOperator[StreamOperatorInfo, DataFrame, DataFrame]

                                                +
                                                +

                                                Inherited from BaseDoer

                                                +
                                                +

                                                Inherited from Logging

                                                +
                                                +

                                                Inherited from Serializable

                                                +
                                                +

                                                Inherited from Serializable

                                                +
                                                +

                                                Inherited from AnyRef

                                                +
                                                +

                                                Inherited from Any

                                                +
                                                + +
                                                + +
                                                +
                                                +

                                                Ungrouped

                                                + +
                                                +
                                                + +
                                                + +
                                                + + + + + + diff --git a/manual1903/api_reference/components/scaladocs/ksb/csle/component/operator/reduction/StratifiedSamplingOperator$.html b/manual1903/api_reference/components/scaladocs/ksb/csle/component/operator/reduction/StratifiedSamplingOperator$.html new file mode 100644 index 0000000000000000000000000000000000000000..de99071e2db12bb97c3476f9adfabc30fe38e193 --- /dev/null +++ b/manual1903/api_reference/components/scaladocs/ksb/csle/component/operator/reduction/StratifiedSamplingOperator$.html @@ -0,0 +1,505 @@ + + + + StratifiedSamplingOperator - KSB COMPONENTS Scala App Project 1.0-SNAPSHOT API - ksb.csle.component.operator.reduction.StratifiedSamplingOperator + + + + + + + + + + + + + + + + + +

                                                + + + object + + + StratifiedSamplingOperator extends Serializable + +

                                                + +
                                                + Linear Supertypes +
                                                Serializable, Serializable, AnyRef, Any
                                                +
                                                + + +
                                                +
                                                +
                                                + Ordering +
                                                  + +
                                                1. Alphabetic
                                                2. +
                                                3. By Inheritance
                                                4. +
                                                +
                                                +
                                                + Inherited
                                                +
                                                +
                                                  +
                                                1. StratifiedSamplingOperator
                                                2. Serializable
                                                3. Serializable
                                                4. AnyRef
                                                5. Any
                                                6. +
                                                +
                                                + +
                                                  +
                                                1. Hide All
                                                2. +
                                                3. Show All
                                                4. +
                                                +
                                                +
                                                + Visibility +
                                                1. Public
                                                2. All
                                                +
                                                +
                                                + +
                                                +
                                                + + + + + + +
                                                +

                                                Value Members

                                                +
                                                1. + + +

                                                  + + final + def + + + !=(arg0: Any): Boolean + +

                                                  + + Permalink + + +
                                                  Definition Classes
                                                  AnyRef → Any
                                                  +
                                                2. + + +

                                                  + + final + def + + + ##(): Int + +

                                                  + + Permalink + + +
                                                  Definition Classes
                                                  AnyRef → Any
                                                  +
                                                3. + + +

                                                  + + final + def + + + ==(arg0: Any): Boolean + +

                                                  + + Permalink + + +
                                                  Definition Classes
                                                  AnyRef → Any
                                                  +
                                                4. + + +

                                                  + + + def + + + apply(o: StreamOperatorInfo): StratifiedSamplingOperator + +

                                                  + + Permalink + + + +
                                                5. + + +

                                                  + + final + def + + + asInstanceOf[T0]: T0 + +

                                                  + + Permalink + + +
                                                  Definition Classes
                                                  Any
                                                  +
                                                6. + + +

                                                  + + + def + + + clone(): AnyRef + +

                                                  + + Permalink + + +
                                                  Attributes
                                                  protected[java.lang]
                                                  Definition Classes
                                                  AnyRef
                                                  Annotations
                                                  + @throws( + + ... + ) + +
                                                  +
                                                7. + + +

                                                  + + final + def + + + eq(arg0: AnyRef): Boolean + +

                                                  + + Permalink + + +
                                                  Definition Classes
                                                  AnyRef
                                                  +
                                                8. + + +

                                                  + + + def + + + equals(arg0: Any): Boolean + +

                                                  + + Permalink + + +
                                                  Definition Classes
                                                  AnyRef → Any
                                                  +
                                                9. + + +

                                                  + + + def + + + finalize(): Unit + +

                                                  + + Permalink + + +
                                                  Attributes
                                                  protected[java.lang]
                                                  Definition Classes
                                                  AnyRef
                                                  Annotations
                                                  + @throws( + + classOf[java.lang.Throwable] + ) + +
                                                  +
                                                10. + + +

                                                  + + final + def + + + getClass(): Class[_] + +

                                                  + + Permalink + + +
                                                  Definition Classes
                                                  AnyRef → Any
                                                  +
                                                11. + + +

                                                  + + + def + + + hashCode(): Int + +

                                                  + + Permalink + + +
                                                  Definition Classes
                                                  AnyRef → Any
                                                  +
                                                12. + + +

                                                  + + final + def + + + isInstanceOf[T0]: Boolean + +

                                                  + + Permalink + + +
                                                  Definition Classes
                                                  Any
                                                  +
                                                13. + + +

                                                  + + final + def + + + ne(arg0: AnyRef): Boolean + +

                                                  + + Permalink + + +
                                                  Definition Classes
                                                  AnyRef
                                                  +
                                                14. + + +

                                                  + + final + def + + + notify(): Unit + +

                                                  + + Permalink + + +
                                                  Definition Classes
                                                  AnyRef
                                                  +
                                                15. + + +

                                                  + + final + def + + + notifyAll(): Unit + +

                                                  + + Permalink + + +
                                                  Definition Classes
                                                  AnyRef
                                                  +
                                                16. + + +

                                                  + + final + def + + + synchronized[T0](arg0: ⇒ T0): T0 + +

                                                  + + Permalink + + +
                                                  Definition Classes
                                                  AnyRef
                                                  +
                                                17. + + +

                                                  + + + def + + + toString(): String + +

                                                  + + Permalink + + +
                                                  Definition Classes
                                                  AnyRef → Any
                                                  +
                                                18. + + +

                                                  + + final + def + + + wait(): Unit + +

                                                  + + Permalink + + +
                                                  Definition Classes
                                                  AnyRef
                                                  Annotations
                                                  + @throws( + + ... + ) + +
                                                  +
                                                19. + + +

                                                  + + final + def + + + wait(arg0: Long, arg1: Int): Unit + +

                                                  + + Permalink + + +
                                                  Definition Classes
                                                  AnyRef
                                                  Annotations
                                                  + @throws( + + ... + ) + +
                                                  +
                                                20. + + +

                                                  + + final + def + + + wait(arg0: Long): Unit + +

                                                  + + Permalink + + +
                                                  Definition Classes
                                                  AnyRef
                                                  Annotations
                                                  + @throws( + + ... + ) + +
                                                  +
                                                +
                                                + + + + +
                                                + +
                                                +
                                                +

                                                Inherited from Serializable

                                                +
                                                +

                                                Inherited from Serializable

                                                +
                                                +

                                                Inherited from AnyRef

                                                +
                                                +

                                                Inherited from Any

                                                +
                                                + +
                                                + +
                                                +
                                                +

                                                Ungrouped

                                                + +
                                                +
                                                + +
                                                + +
                                                + + + + + + diff --git a/manual1903/api_reference/components/scaladocs/ksb/csle/component/operator/reduction/StratifiedSamplingOperator.html b/manual1903/api_reference/components/scaladocs/ksb/csle/component/operator/reduction/StratifiedSamplingOperator.html new file mode 100644 index 0000000000000000000000000000000000000000..5eee20626d5b03f1a5bcaa31c0c097b7455789fa --- /dev/null +++ b/manual1903/api_reference/components/scaladocs/ksb/csle/component/operator/reduction/StratifiedSamplingOperator.html @@ -0,0 +1,622 @@ + + + + StratifiedSamplingOperator - KSB COMPONENTS Scala App Project 1.0-SNAPSHOT API - ksb.csle.component.operator.reduction.StratifiedSamplingOperator + + + + + + + + + + + + + + + + + +

                                                + + + class + + + StratifiedSamplingOperator extends BaseDataOperator[StreamOperatorInfo, DataFrame] + +

                                                + +

                                                :: ApplicationDeveloperApi ::

                                                Operator that performs 'forward selection' which is the deterministic greedy +feature selection algorithm. It selects the most relevant columns. +

                                                + Linear Supertypes +
                                                BaseDataOperator[StreamOperatorInfo, DataFrame], BaseGenericOperator[StreamOperatorInfo, DataFrame], BaseGenericMutantOperator[StreamOperatorInfo, DataFrame, DataFrame], BaseDoer, Logging, Serializable, Serializable, AnyRef, Any
                                                +
                                                + + +
                                                +
                                                +
                                                + Ordering +
                                                  + +
                                                1. Alphabetic
                                                2. +
                                                3. By Inheritance
                                                4. +
                                                +
                                                +
                                                + Inherited
                                                +
                                                +
                                                  +
                                                1. StratifiedSamplingOperator
                                                2. BaseDataOperator
                                                3. BaseGenericOperator
                                                4. BaseGenericMutantOperator
                                                5. BaseDoer
                                                6. Logging
                                                7. Serializable
                                                8. Serializable
                                                9. AnyRef
                                                10. Any
                                                11. +
                                                +
                                                + +
                                                  +
                                                1. Hide All
                                                2. +
                                                3. Show All
                                                4. +
                                                +
                                                +
                                                + Visibility +
                                                1. Public
                                                2. All
                                                +
                                                +
                                                + +
                                                +
                                                +
                                                +

                                                Instance Constructors

                                                +
                                                1. + + +

                                                  + + + new + + + StratifiedSamplingOperator(o: StreamOperatorInfo) + +

                                                  + + Permalink + + +

                                                  o

                                                  Object that contains message + ksb.csle.common.proto.StreamOperatorProto.SampleStratifiedInfo + SampleStratifiedInfo contains attributes as follows:

                                                  • selectedColumnId: Column ids to be applied by stratified-sampling + (required)
                                                  • fractions: Map of specific keys to sampling rates (required)
                                                  • withReplacement: Parameter to specify whether to sample with or + without replacement. (required)
                                                  • seed: Local random seed(optional)

                                                  SampleStratifiedInfo

                                                  message SampleStratifiedInfo {
                                                  +required int32 selectedColumnId = 3;
                                                  +repeated FractionFieldEntry fractions = 4;
                                                  +required bool withReplacement = 5 [default = false];
                                                  +optional int64 seed = 6;
                                                  +}
                                                  +
                                                +
                                                + + + + + +
                                                +

                                                Value Members

                                                +
                                                1. + + +

                                                  + + final + def + + + !=(arg0: Any): Boolean + +

                                                  + + Permalink + + +
                                                  Definition Classes
                                                  AnyRef → Any
                                                  +
                                                2. + + +

                                                  + + final + def + + + ##(): Int + +

                                                  + + Permalink + + +
                                                  Definition Classes
                                                  AnyRef → Any
                                                  +
                                                3. + + +

                                                  + + final + def + + + ==(arg0: Any): Boolean + +

                                                  + + Permalink + + +
                                                  Definition Classes
                                                  AnyRef → Any
                                                  +
                                                4. + + +

                                                  + + final + def + + + asInstanceOf[T0]: T0 + +

                                                  + + Permalink + + +
                                                  Definition Classes
                                                  Any
                                                  +
                                                5. + + +

                                                  + + + def + + + clone(): AnyRef + +

                                                  + + Permalink + + +
                                                  Attributes
                                                  protected[java.lang]
                                                  Definition Classes
                                                  AnyRef
                                                  Annotations
                                                  + @throws( + + ... + ) + +
                                                  +
                                                6. + + +

                                                  + + final + def + + + eq(arg0: AnyRef): Boolean + +

                                                  + + Permalink + + +
                                                  Definition Classes
                                                  AnyRef
                                                  +
                                                7. + + +

                                                  + + + def + + + equals(arg0: Any): Boolean + +

                                                  + + Permalink + + +
                                                  Definition Classes
                                                  AnyRef → Any
                                                  +
                                                8. + + +

                                                  + + + def + + + finalize(): Unit + +

                                                  + + Permalink + + +
                                                  Attributes
                                                  protected[java.lang]
                                                  Definition Classes
                                                  AnyRef
                                                  Annotations
                                                  + @throws( + + classOf[java.lang.Throwable] + ) + +
                                                  +
                                                9. + + +

                                                  + + final + def + + + getClass(): Class[_] + +

                                                  + + Permalink + + +
                                                  Definition Classes
                                                  AnyRef → Any
                                                  +
                                                10. + + +

                                                  + + + def + + + hashCode(): Int + +

                                                  + + Permalink + + +
                                                  Definition Classes
                                                  AnyRef → Any
                                                  +
                                                11. + + +

                                                  + + final + def + + + isInstanceOf[T0]: Boolean + +

                                                  + + Permalink + + +
                                                  Definition Classes
                                                  Any
                                                  +
                                                12. + + +

                                                  + + + val + + + logger: Logger + +

                                                  + + Permalink + + +
                                                  Attributes
                                                  protected
                                                  Definition Classes
                                                  Logging
                                                  +
                                                13. + + +

                                                  + + final + def + + + ne(arg0: AnyRef): Boolean + +

                                                  + + Permalink + + +
                                                  Definition Classes
                                                  AnyRef
                                                  +
                                                14. + + +

                                                  + + final + def + + + notify(): Unit + +

                                                  + + Permalink + + +
                                                  Definition Classes
                                                  AnyRef
                                                  +
                                                15. + + +

                                                  + + final + def + + + notifyAll(): Unit + +

                                                  + + Permalink + + +
                                                  Definition Classes
                                                  AnyRef
                                                  +
                                                16. + + +

                                                  + + + def + + + operate(df: DataFrame): DataFrame + +

                                                  + + Permalink + + +

                                                  Operates sampleStratified.

                                                  Operates sampleStratified. +

                                                  df

                                                  Input dataframe

                                                  returns

                                                  DataFrame Output dataframe

                                                  Definition Classes
                                                  StratifiedSamplingOperator → BaseGenericOperator → BaseGenericMutantOperator
                                                  +
                                                17. + + +

                                                  + + + val + + + p: SampleStratifiedInfo + +

                                                  + + Permalink + + + +
                                                18. + + +

                                                  + + + def + + + stop: Unit + +

                                                  + + Permalink + + +
                                                  Definition Classes
                                                  BaseGenericOperator → BaseGenericMutantOperator
                                                  +
                                                19. + + +

                                                  + + final + def + + + synchronized[T0](arg0: ⇒ T0): T0 + +

                                                  + + Permalink + + +
                                                  Definition Classes
                                                  AnyRef
                                                  +
                                                20. + + +

                                                  + + + def + + + toString(): String + +

                                                  + + Permalink + + +
                                                  Definition Classes
                                                  AnyRef → Any
                                                  +
                                                21. + + +

                                                  + + + def + + + validate(df: DataFrame): DataFrame + +

                                                  + + Permalink + + +

                                                  validates sampleStratified info and dataframe schema info.

                                                  validates sampleStratified info and dataframe schema info. +

                                                  Annotations
                                                  + @throws( + + classOf[KsbException] + ) + +
                                                  +
                                                22. + + +

                                                  + + final + def + + + wait(): Unit + +

                                                  + + Permalink + + +
                                                  Definition Classes
                                                  AnyRef
                                                  Annotations
                                                  + @throws( + + ... + ) + +
                                                  +
                                                23. + + +

                                                  + + final + def + + + wait(arg0: Long, arg1: Int): Unit + +

                                                  + + Permalink + + +
                                                  Definition Classes
                                                  AnyRef
                                                  Annotations
                                                  + @throws( + + ... + ) + +
                                                  +
                                                24. + + +

                                                  + + final + def + + + wait(arg0: Long): Unit + +

                                                  + + Permalink + + +
                                                  Definition Classes
                                                  AnyRef
                                                  Annotations
                                                  + @throws( + + ... + ) + +
                                                  +
                                                +
                                                + + + + +
                                                + +
                                                +
                                                +

                                                Inherited from BaseDataOperator[StreamOperatorInfo, DataFrame]

                                                +
                                                +

                                                Inherited from BaseGenericOperator[StreamOperatorInfo, DataFrame]

                                                +
                                                +

                                                Inherited from BaseGenericMutantOperator[StreamOperatorInfo, DataFrame, DataFrame]

                                                +
                                                +

                                                Inherited from BaseDoer

                                                +
                                                +

                                                Inherited from Logging

                                                +
                                                +

                                                Inherited from Serializable

                                                +
                                                +

                                                Inherited from Serializable

                                                +
                                                +

                                                Inherited from AnyRef

                                                +
                                                +

                                                Inherited from Any

                                                +
                                                + +
                                                + +
                                                +
                                                +

                                                Ungrouped

                                                + +
                                                +
                                                + +
                                                + +
                                                + + + + + + diff --git a/manual1903/api_reference/components/scaladocs/ksb/csle/component/operator/reduction/TimeWindowAggregateOperator$.html b/manual1903/api_reference/components/scaladocs/ksb/csle/component/operator/reduction/TimeWindowAggregateOperator$.html new file mode 100644 index 0000000000000000000000000000000000000000..3280ff724fe8290a4d3eb2366515c312e31d42f8 --- /dev/null +++ b/manual1903/api_reference/components/scaladocs/ksb/csle/component/operator/reduction/TimeWindowAggregateOperator$.html @@ -0,0 +1,505 @@ + + + + TimeWindowAggregateOperator - KSB COMPONENTS Scala App Project 1.0-SNAPSHOT API - ksb.csle.component.operator.reduction.TimeWindowAggregateOperator + + + + + + + + + + + + + + + + + +

                                                + + + object + + + TimeWindowAggregateOperator extends Serializable + +

                                                + +
                                                + Linear Supertypes +
                                                Serializable, Serializable, AnyRef, Any
                                                +
                                                + + +
                                                +
                                                +
                                                + Ordering +
                                                  + +
                                                1. Alphabetic
                                                2. +
                                                3. By Inheritance
                                                4. +
                                                +
                                                +
                                                + Inherited
                                                +
                                                +
                                                  +
                                                1. TimeWindowAggregateOperator
                                                2. Serializable
                                                3. Serializable
                                                4. AnyRef
                                                5. Any
                                                6. +
                                                +
                                                + +
                                                  +
                                                1. Hide All
                                                2. +
                                                3. Show All
                                                4. +
                                                +
                                                +
                                                + Visibility +
                                                1. Public
                                                2. All
                                                +
                                                +
                                                + +
                                                +
                                                + + + + + + +
                                                +

                                                Value Members

                                                +
                                                1. + + +

                                                  + + final + def + + + !=(arg0: Any): Boolean + +

                                                  + + Permalink + + +
                                                  Definition Classes
                                                  AnyRef → Any
                                                  +
                                                2. + + +

                                                  + + final + def + + + ##(): Int + +

                                                  + + Permalink + + +
                                                  Definition Classes
                                                  AnyRef → Any
                                                  +
                                                3. + + +

                                                  + + final + def + + + ==(arg0: Any): Boolean + +

                                                  + + Permalink + + +
                                                  Definition Classes
                                                  AnyRef → Any
                                                  +
                                                4. + + +

                                                  + + + def + + + apply(o: StreamOperatorInfo): TimeWindowAggregateOperator + +

                                                  + + Permalink + + + +
                                                5. + + +

                                                  + + final + def + + + asInstanceOf[T0]: T0 + +

                                                  + + Permalink + + +
                                                  Definition Classes
                                                  Any
                                                  +
                                                6. + + +

                                                  + + + def + + + clone(): AnyRef + +

                                                  + + Permalink + + +
                                                  Attributes
                                                  protected[java.lang]
                                                  Definition Classes
                                                  AnyRef
                                                  Annotations
                                                  + @throws( + + ... + ) + +
                                                  +
                                                7. + + +

                                                  + + final + def + + + eq(arg0: AnyRef): Boolean + +

                                                  + + Permalink + + +
                                                  Definition Classes
                                                  AnyRef
                                                  +
                                                8. + + +

                                                  + + + def + + + equals(arg0: Any): Boolean + +

                                                  + + Permalink + + +
                                                  Definition Classes
                                                  AnyRef → Any
                                                  +
                                                9. + + +

                                                  + + + def + + + finalize(): Unit + +

                                                  + + Permalink + + +
                                                  Attributes
                                                  protected[java.lang]
                                                  Definition Classes
                                                  AnyRef
                                                  Annotations
                                                  + @throws( + + classOf[java.lang.Throwable] + ) + +
                                                  +
                                                10. + + +

                                                  + + final + def + + + getClass(): Class[_] + +

                                                  + + Permalink + + +
                                                  Definition Classes
                                                  AnyRef → Any
                                                  +
                                                11. + + +

                                                  + + + def + + + hashCode(): Int + +

                                                  + + Permalink + + +
                                                  Definition Classes
                                                  AnyRef → Any
                                                  +
                                                12. + + +

                                                  + + final + def + + + isInstanceOf[T0]: Boolean + +

                                                  + + Permalink + + +
                                                  Definition Classes
                                                  Any
                                                  +
                                                13. + + +

                                                  + + final + def + + + ne(arg0: AnyRef): Boolean + +

                                                  + + Permalink + + +
                                                  Definition Classes
                                                  AnyRef
                                                  +
                                                14. + + +

                                                  + + final + def + + + notify(): Unit + +

                                                  + + Permalink + + +
                                                  Definition Classes
                                                  AnyRef
                                                  +
                                                15. + + +

                                                  + + final + def + + + notifyAll(): Unit + +

                                                  + + Permalink + + +
                                                  Definition Classes
                                                  AnyRef
                                                  +
                                                16. + + +

                                                  + + final + def + + + synchronized[T0](arg0: ⇒ T0): T0 + +

                                                  + + Permalink + + +
                                                  Definition Classes
                                                  AnyRef
                                                  +
                                                17. + + +

                                                  + + + def + + + toString(): String + +

                                                  + + Permalink + + +
                                                  Definition Classes
                                                  AnyRef → Any
                                                  +
                                                18. + + +

                                                  + + final + def + + + wait(): Unit + +

                                                  + + Permalink + + +
                                                  Definition Classes
                                                  AnyRef
                                                  Annotations
                                                  + @throws( + + ... + ) + +
                                                  +
                                                19. + + +

                                                  + + final + def + + + wait(arg0: Long, arg1: Int): Unit + +

                                                  + + Permalink + + +
                                                  Definition Classes
                                                  AnyRef
                                                  Annotations
                                                  + @throws( + + ... + ) + +
                                                  +
                                                20. + + +

                                                  + + final + def + + + wait(arg0: Long): Unit + +

                                                  + + Permalink + + +
                                                  Definition Classes
                                                  AnyRef
                                                  Annotations
                                                  + @throws( + + ... + ) + +
                                                  +
                                                +
                                                + + + + +
                                                + +
                                                +
                                                +

                                                Inherited from Serializable

                                                +
                                                +

                                                Inherited from Serializable

                                                +
                                                +

                                                Inherited from AnyRef

                                                +
                                                +

                                                Inherited from Any

                                                +
                                                + +
                                                + +
                                                +
                                                +

                                                Ungrouped

                                                + +
                                                +
                                                + +
                                                + +
                                                + + + + + + diff --git a/manual1903/api_reference/components/scaladocs/ksb/csle/component/operator/reduction/TimeWindowAggregateOperator.html b/manual1903/api_reference/components/scaladocs/ksb/csle/component/operator/reduction/TimeWindowAggregateOperator.html new file mode 100644 index 0000000000000000000000000000000000000000..35365540bf98b2cf7acb67415c63d010b0472c1c --- /dev/null +++ b/manual1903/api_reference/components/scaladocs/ksb/csle/component/operator/reduction/TimeWindowAggregateOperator.html @@ -0,0 +1,601 @@ + + + + TimeWindowAggregateOperator - KSB COMPONENTS Scala App Project 1.0-SNAPSHOT API - ksb.csle.component.operator.reduction.TimeWindowAggregateOperator + + + + + + + + + + + + + + + + + +

                                                + + + class + + + TimeWindowAggregateOperator extends BaseDataOperator[StreamOperatorInfo, DataFrame] + +

                                                + +

                                                :: ApplicationDeveloperApi ::

                                                Operator that aggregates time window in the given dataframe. +Note: Input dataframe must have a Unix time stamp column(in seconds). +

                                                + Linear Supertypes +
                                                BaseDataOperator[StreamOperatorInfo, DataFrame], BaseGenericOperator[StreamOperatorInfo, DataFrame], BaseGenericMutantOperator[StreamOperatorInfo, DataFrame, DataFrame], BaseDoer, Logging, Serializable, Serializable, AnyRef, Any
                                                +
                                                + + +
                                                +
                                                +
                                                + Ordering +
                                                  + +
                                                1. Alphabetic
                                                2. +
                                                3. By Inheritance
                                                4. +
                                                +
                                                +
                                                + Inherited
                                                +
                                                +
                                                  +
                                                1. TimeWindowAggregateOperator
                                                2. BaseDataOperator
                                                3. BaseGenericOperator
                                                4. BaseGenericMutantOperator
                                                5. BaseDoer
                                                6. Logging
                                                7. Serializable
                                                8. Serializable
                                                9. AnyRef
                                                10. Any
                                                11. +
                                                +
                                                + +
                                                  +
                                                1. Hide All
                                                2. +
                                                3. Show All
                                                4. +
                                                +
                                                +
                                                + Visibility +
                                                1. Public
                                                2. All
                                                +
                                                +
                                                + +
                                                +
                                                +
                                                +

                                                Instance Constructors

                                                +
                                                1. + + +

                                                  + + + new + + + TimeWindowAggregateOperator(o: StreamOperatorInfo) + +

                                                  + + Permalink + + +

                                                  o

                                                  Object that contains message + ksb.csle.common.proto.StreamOperatorProto.AggregateTimeWindowInfo + AggregateTimeWindowInfo contains attributes as follows:

                                                  • scope: Scope to be applied. Enum(SCOPE_ALL, SCOPE_SELECTED) (required)
                                                  • selectedColumnId: Column ids to be aggregated by given condition + (repeated)
                                                  • subParam: Parameter to specify whether the option to aggregate + (required) Ex: {"minute", "10"},{"hour", "1"}

                                                  AggregateTimeWindowInfo

                                                  message AggregateTimeWindowInfo {
                                                  +required Scope scope = 4 [default = SCOPE_ALL];
                                                  +repeated int32 selectedColumnId = 5;
                                                  +repeated SubParameter subParam = 6;
                                                  +enum Scope {
                                                  +  SCOPE_ALL = 0;
                                                  +  SCOPE_SELECTED = 1;
                                                  +}
                                                  +}
                                                  +
                                                +
                                                + + + + + +
                                                +

                                                Value Members

                                                +
                                                1. + + +

                                                  + + final + def + + + !=(arg0: Any): Boolean + +

                                                  + + Permalink + + +
                                                  Definition Classes
                                                  AnyRef → Any
                                                  +
                                                2. + + +

                                                  + + final + def + + + ##(): Int + +

                                                  + + Permalink + + +
                                                  Definition Classes
                                                  AnyRef → Any
                                                  +
                                                3. + + +

                                                  + + final + def + + + ==(arg0: Any): Boolean + +

                                                  + + Permalink + + +
                                                  Definition Classes
                                                  AnyRef → Any
                                                  +
                                                4. + + +

                                                  + + final + def + + + asInstanceOf[T0]: T0 + +

                                                  + + Permalink + + +
                                                  Definition Classes
                                                  Any
                                                  +
                                                5. + + +

                                                  + + + def + + + clone(): AnyRef + +

                                                  + + Permalink + + +
                                                  Attributes
                                                  protected[java.lang]
                                                  Definition Classes
                                                  AnyRef
                                                  Annotations
                                                  + @throws( + + ... + ) + +
                                                  +
                                                6. + + +

                                                  + + final + def + + + eq(arg0: AnyRef): Boolean + +

                                                  + + Permalink + + +
                                                  Definition Classes
                                                  AnyRef
                                                  +
                                                7. + + +

                                                  + + + def + + + equals(arg0: Any): Boolean + +

                                                  + + Permalink + + +
                                                  Definition Classes
                                                  AnyRef → Any
                                                  +
                                                8. + + +

                                                  + + + def + + + finalize(): Unit + +

                                                  + + Permalink + + +
                                                  Attributes
                                                  protected[java.lang]
                                                  Definition Classes
                                                  AnyRef
                                                  Annotations
                                                  + @throws( + + classOf[java.lang.Throwable] + ) + +
                                                  +
                                                9. + + +

                                                  + + final + def + + + getClass(): Class[_] + +

                                                  + + Permalink + + +
                                                  Definition Classes
                                                  AnyRef → Any
                                                  +
                                                10. + + +

                                                  + + + def + + + hashCode(): Int + +

                                                  + + Permalink + + +
                                                  Definition Classes
                                                  AnyRef → Any
                                                  +
                                                11. + + +

                                                  + + final + def + + + isInstanceOf[T0]: Boolean + +

                                                  + + Permalink + + +
                                                  Definition Classes
                                                  Any
                                                  +
                                                12. + + +

                                                  + + + val + + + logger: Logger + +

                                                  + + Permalink + + +
                                                  Attributes
                                                  protected
                                                  Definition Classes
                                                  Logging
                                                  +
                                                13. + + +

                                                  + + final + def + + + ne(arg0: AnyRef): Boolean + +

                                                  + + Permalink + + +
                                                  Definition Classes
                                                  AnyRef
                                                  +
                                                14. + + +

                                                  + + final + def + + + notify(): Unit + +

                                                  + + Permalink + + +
                                                  Definition Classes
                                                  AnyRef
                                                  +
                                                15. + + +

                                                  + + final + def + + + notifyAll(): Unit + +

                                                  + + Permalink + + +
                                                  Definition Classes
                                                  AnyRef
                                                  +
                                                16. + + +

                                                  + + + def + + + operate(df: DataFrame): DataFrame + +

                                                  + + Permalink + + +

                                                  Operates aggregateTimeWindow.

                                                  Operates aggregateTimeWindow. +

                                                  df

                                                  Input dataframe

                                                  returns

                                                  DataFrame Output dataframe

                                                  Definition Classes
                                                  TimeWindowAggregateOperator → BaseGenericOperator → BaseGenericMutantOperator
                                                  +
                                                17. + + +

                                                  + + + val + + + p: AggregateTimeWindowInfo + +

                                                  + + Permalink + + + +
                                                18. + + +

                                                  + + + def + + + stop: Unit + +

                                                  + + Permalink + + +
                                                  Definition Classes
                                                  BaseGenericOperator → BaseGenericMutantOperator
                                                  +
                                                19. + + +

                                                  + + final + def + + + synchronized[T0](arg0: ⇒ T0): T0 + +

                                                  + + Permalink + + +
                                                  Definition Classes
                                                  AnyRef
                                                  +
                                                20. + + +

                                                  + + + def + + + toString(): String + +

                                                  + + Permalink + + +
                                                  Definition Classes
                                                  AnyRef → Any
                                                  +
                                                21. + + +

                                                  + + final + def + + + wait(): Unit + +

                                                  + + Permalink + + +
                                                  Definition Classes
                                                  AnyRef
                                                  Annotations
                                                  + @throws( + + ... + ) + +
                                                  +
                                                22. + + +

                                                  + + final + def + + + wait(arg0: Long, arg1: Int): Unit + +

                                                  + + Permalink + + +
                                                  Definition Classes
                                                  AnyRef
                                                  Annotations
                                                  + @throws( + + ... + ) + +
                                                  +
                                                23. + + +

                                                  + + final + def + + + wait(arg0: Long): Unit + +

                                                  + + Permalink + + +
                                                  Definition Classes
                                                  AnyRef
                                                  Annotations
                                                  + @throws( + + ... + ) + +
                                                  +
                                                +
                                                + + + + +
                                                + +
                                                +
                                                +

                                                Inherited from BaseDataOperator[StreamOperatorInfo, DataFrame]

                                                +
                                                +

                                                Inherited from BaseGenericOperator[StreamOperatorInfo, DataFrame]

                                                +
                                                +

                                                Inherited from BaseGenericMutantOperator[StreamOperatorInfo, DataFrame, DataFrame]

                                                +
                                                +

                                                Inherited from BaseDoer

                                                +
                                                +

                                                Inherited from Logging

                                                +
                                                +

                                                Inherited from Serializable

                                                +
                                                +

                                                Inherited from Serializable

                                                +
                                                +

                                                Inherited from AnyRef

                                                +
                                                +

                                                Inherited from Any

                                                +
                                                + +
                                                + +
                                                +
                                                +

                                                Ungrouped

                                                + +
                                                +
                                                + +
                                                + +
                                                + + + + + + diff --git a/manual1903/api_reference/components/scaladocs/ksb/csle/component/operator/reduction/package.html b/manual1903/api_reference/components/scaladocs/ksb/csle/component/operator/reduction/package.html new file mode 100644 index 0000000000000000000000000000000000000000..895109cf9dba8eed05d78b1c8825beba14995d5c --- /dev/null +++ b/manual1903/api_reference/components/scaladocs/ksb/csle/component/operator/reduction/package.html @@ -0,0 +1,679 @@ + + + + reduction - KSB COMPONENTS Scala App Project 1.0-SNAPSHOT API - ksb.csle.component.operator.reduction + + + + + + + + + + + + + + + +
                                                + Package +

                                                ksb.csle.component.operator

                                                +

                                                reduction

                                                + + Permalink + + +
                                                + +

                                                + + + package + + + reduction + +

                                                + +
                                                + + +
                                                +
                                                + + +
                                                + Visibility +
                                                1. Public
                                                2. All
                                                +
                                                +
                                                + +
                                                +
                                                + + +
                                                +

                                                Type Members

                                                +
                                                1. + + +

                                                  + + + class + + + AggregateOperator extends BaseDataOperator[StreamOperatorInfo, DataFrame] + +

                                                  + + Permalink + + +

                                                  :: ApplicationDeveloperApi ::

                                                  :: ApplicationDeveloperApi ::

                                                  Operator that performs aggregation operation in the given dataframe. +

                                                  +
                                                2. + + +

                                                  + + + class + + + ChiSquareSelectOperator extends BaseDataOperator[StreamOperatorInfo, DataFrame] + +

                                                  + + Permalink + + +

                                                  :: ApplicationDeveloperApi ::

                                                  :: ApplicationDeveloperApi ::

                                                  Operator that performs ChiSquared feature selector. It uses the Chi-Squared +test of independence to decide which features to choose ChiSquareSelector +value in a given dataframe +

                                                  +
                                                3. + + +

                                                  + + + class + + + ColumnRemoveOperator extends BaseDataOperator[StreamOperatorInfo, DataFrame] + +

                                                  + + Permalink + + +

                                                  :: ApplicationDeveloperApi ::

                                                  :: ApplicationDeveloperApi ::

                                                  Operator that removes the selected columns in the given dataframe. +

                                                  +
                                                4. + + +

                                                  + + + class + + + ColumnSelectOperator extends BaseDataOperator[StreamOperatorInfo, DataFrame] + +

                                                  + + Permalink + + +

                                                  :: ApplicationDeveloperApi ::

                                                  :: ApplicationDeveloperApi ::

                                                  Operator that selects the columns that user wants to choose. +

                                                  +
                                                5. + + +

                                                  + + + class + + + ColumnSelectWithFileOperator extends BaseDataOperator[StreamOperatorInfo, DataFrame] + +

                                                  + + Permalink + + +

                                                  :: ApplicationDeveloperApi ::

                                                  :: ApplicationDeveloperApi ::

                                                  Operator that selects the columns that user wants to choose. +

                                                  +
                                                6. + + +

                                                  + + + class + + + DecisionTreeInductOperator extends BaseDataOperator[StreamOperatorInfo, DataFrame] + +

                                                  + + Permalink + + +

                                                  :: ApplicationDeveloperApi ::

                                                  :: ApplicationDeveloperApi ::

                                                  Operator that performs Decision Tree Induction. It selects the most relevant +columns. +

                                                  +
                                                7. + + +

                                                  + + + class + + + FilterOperator extends BaseDataOperator[StreamOperatorInfo, DataFrame] + +

                                                  + + Permalink + + +

                                                  :: ApplicationDeveloperApi ::

                                                  :: ApplicationDeveloperApi ::

                                                  Operator that selects which rows in a given column of input dataframe should +be kept and which rows should be removed. Rows satisfying the given condition +are kept, remaining rows are removed. +

                                                  +
                                                8. + + +

                                                  + + + class + + + FilterUsingSqlOperator extends BaseDataOperator[StreamOperatorInfo, DataFrame] + +

                                                  + + Permalink + + +

                                                  :: ApplicationDeveloperApi ::

                                                  :: ApplicationDeveloperApi ::

                                                  Operator that performs to filter using SQL in the given dataframe. +

                                                  +
                                                9. + + +

                                                  + + + class + + + GroupByFilterOperator extends BaseDataOperator[StreamOperatorInfo, DataFrame] + +

                                                  + + Permalink + + +

                                                  :: ApplicationDeveloperApi ::

                                                  :: ApplicationDeveloperApi ::

                                                  Operator that selects which rows in a given column of input dataframe should +be kept and which rows should be removed. Rows satisfying the given condition +are kept, remaining rows are removed. +

                                                  +
                                                10. + + +

                                                  + + + class + + + OrderByFilterOperator extends BaseDataOperator[StreamOperatorInfo, DataFrame] + +

                                                  + + Permalink + + +

                                                  :: ApplicationDeveloperApi ::

                                                  :: ApplicationDeveloperApi ::

                                                  Operator that selects which rows in a given column of input dataframe should +be kept and which rows should be removed. Rows satisfying the given condition +are kept, remaining rows are removed. +

                                                  +
                                                11. + + +

                                                  + + + class + + + PCAOperator extends BaseDataOperator[StreamOperatorInfo, DataFrame] + +

                                                  + + Permalink + + +

                                                  :: ApplicationDeveloperApi ::

                                                  :: ApplicationDeveloperApi ::

                                                  Operator that performs Principal Component Analysis. It converts a set of +observations of possibly correlated variables into a set of values of +linearly uncorrelated variables called principal components. +

                                                  +
                                                12. + + +

                                                  + + + class + + + RandomSamplingOperator extends BaseDataOperator[StreamOperatorInfo, DataFrame] + +

                                                  + + Permalink + + +

                                                  :: ApplicationDeveloperApi ::

                                                  :: ApplicationDeveloperApi ::

                                                  Operator that creates simple random samples from a selected column. +

                                                  +
                                                13. + + +

                                                  + + + class + + + StepwiseBackwardEliminateOperator extends BaseDataOperator[StreamOperatorInfo, DataFrame] + +

                                                  + + Permalink + + +

                                                  :: ApplicationDeveloperApi ::

                                                  :: ApplicationDeveloperApi ::

                                                  Operator that performs 'backward elimination' which is the deterministic +greedy feature selection algorithm. It selects the most relevant columns. +

                                                  +
                                                14. + + +

                                                  + + + class + + + StepwiseForwardSelectOperator extends BaseDataOperator[StreamOperatorInfo, DataFrame] + +

                                                  + + Permalink + + +

                                                  :: ApplicationDeveloperApi ::

                                                  :: ApplicationDeveloperApi ::

                                                  Operator that performs 'forward selection' which is the deterministic greedy +feature selection algorithm. It selects the most relevant columns. +

                                                  +
                                                15. + + +

                                                  + + + class + + + StratifiedSamplingOperator extends BaseDataOperator[StreamOperatorInfo, DataFrame] + +

                                                  + + Permalink + + +

                                                  :: ApplicationDeveloperApi ::

                                                  :: ApplicationDeveloperApi ::

                                                  Operator that performs 'forward selection' which is the deterministic greedy +feature selection algorithm. It selects the most relevant columns. +

                                                  +
                                                16. + + +

                                                  + + + class + + + TimeWindowAggregateOperator extends BaseDataOperator[StreamOperatorInfo, DataFrame] + +

                                                  + + Permalink + + +

                                                  :: ApplicationDeveloperApi ::

                                                  :: ApplicationDeveloperApi ::

                                                  Operator that aggregates time window in the given dataframe. +Note: Input dataframe must have a Unix time stamp column(in seconds). +

                                                  +
                                                +
                                                + + + +
                                                +

                                                Value Members

                                                +
                                                1. + + +

                                                  + + + object + + + AggregateOperator extends Serializable + +

                                                  + + Permalink + + + +
                                                2. + + +

                                                  + + + object + + + ChiSquareSelectOperator extends Serializable + +

                                                  + + Permalink + + + +
                                                3. + + +

                                                  + + + object + + + ColumnRemoveOperator extends Serializable + +

                                                  + + Permalink + + + +
                                                4. + + +

                                                  + + + object + + + ColumnSelectOperator extends Serializable + +

                                                  + + Permalink + + + +
                                                5. + + +

                                                  + + + object + + + ColumnSelectWithFileOperator extends Serializable + +

                                                  + + Permalink + + + +
                                                6. + + +

                                                  + + + object + + + DecisionTreeInductOperator extends Serializable + +

                                                  + + Permalink + + + +
                                                7. + + +

                                                  + + + object + + + FilterOperator extends Serializable + +

                                                  + + Permalink + + + +
                                                8. + + +

                                                  + + + object + + + FilterUsingSqlOperator extends Serializable + +

                                                  + + Permalink + + + +
                                                9. + + +

                                                  + + + object + + + GroupByFilterOperator extends Serializable + +

                                                  + + Permalink + + + +
                                                10. + + +

                                                  + + + object + + + OrderByFilterOperator extends Serializable + +

                                                  + + Permalink + + + +
                                                11. + + +

                                                  + + + object + + + PCAOperator extends Serializable + +

                                                  + + Permalink + + + +
                                                12. + + +

                                                  + + + object + + + RandomSamplingOperator extends Serializable + +

                                                  + + Permalink + + + +
                                                13. + + +

                                                  + + + object + + + StepwiseBackwardEliminateOperator extends Serializable + +

                                                  + + Permalink + + + +
                                                14. + + +

                                                  + + + object + + + StepwiseForwardSelectOperator extends Serializable + +

                                                  + + Permalink + + + +
                                                15. + + +

                                                  + + + object + + + StratifiedSamplingOperator extends Serializable + +

                                                  + + Permalink + + + +
                                                16. + + +

                                                  + + + object + + + TimeWindowAggregateOperator extends Serializable + +

                                                  + + Permalink + + + +
                                                +
                                                + + + + +
                                                + +
                                                + + +
                                                + +
                                                +
                                                +

                                                Ungrouped

                                                + +
                                                +
                                                + +
                                                + +
                                                + + + + + + diff --git a/manual1903/api_reference/components/scaladocs/ksb/csle/component/operator/service/ControlContextQueryOperator$.html b/manual1903/api_reference/components/scaladocs/ksb/csle/component/operator/service/ControlContextQueryOperator$.html new file mode 100644 index 0000000000000000000000000000000000000000..0d302e760fac7e2cb5a0368305f17f25a84d9e5b --- /dev/null +++ b/manual1903/api_reference/components/scaladocs/ksb/csle/component/operator/service/ControlContextQueryOperator$.html @@ -0,0 +1,524 @@ + + + + ControlContextQueryOperator - KSB COMPONENTS Scala App Project 1.0-SNAPSHOT API - ksb.csle.component.operator.service.ControlContextQueryOperator + + + + + + + + + + + + + + + + + +

                                                + + + object + + + ControlContextQueryOperator extends Logging with Serializable + +

                                                + +
                                                + Linear Supertypes +
                                                Serializable, Serializable, Logging, AnyRef, Any
                                                +
                                                + + +
                                                +
                                                +
                                                + Ordering +
                                                  + +
                                                1. Alphabetic
                                                2. +
                                                3. By Inheritance
                                                4. +
                                                +
                                                +
                                                + Inherited
                                                +
                                                +
                                                  +
                                                1. ControlContextQueryOperator
                                                2. Serializable
                                                3. Serializable
                                                4. Logging
                                                5. AnyRef
                                                6. Any
                                                7. +
                                                +
                                                + +
                                                  +
                                                1. Hide All
                                                2. +
                                                3. Show All
                                                4. +
                                                +
                                                +
                                                + Visibility +
                                                1. Public
                                                2. All
                                                +
                                                +
                                                + +
                                                +
                                                + + + + + + +
                                                +

                                                Value Members

                                                +
                                                1. + + +

                                                  + + final + def + + + !=(arg0: Any): Boolean + +

                                                  + + Permalink + + +
                                                  Definition Classes
                                                  AnyRef → Any
                                                  +
                                                2. + + +

                                                  + + final + def + + + ##(): Int + +

                                                  + + Permalink + + +
                                                  Definition Classes
                                                  AnyRef → Any
                                                  +
                                                3. + + +

                                                  + + final + def + + + ==(arg0: Any): Boolean + +

                                                  + + Permalink + + +
                                                  Definition Classes
                                                  AnyRef → Any
                                                  +
                                                4. + + +

                                                  + + + def + + + apply(o: OnDemandOperatorInfo): ControlContextQueryOperator + +

                                                  + + Permalink + + + +
                                                5. + + +

                                                  + + final + def + + + asInstanceOf[T0]: T0 + +

                                                  + + Permalink + + +
                                                  Definition Classes
                                                  Any
                                                  +
                                                6. + + +

                                                  + + + def + + + clone(): AnyRef + +

                                                  + + Permalink + + +
                                                  Attributes
                                                  protected[java.lang]
                                                  Definition Classes
                                                  AnyRef
                                                  Annotations
                                                  + @throws( + + ... + ) + +
                                                  +
                                                7. + + +

                                                  + + final + def + + + eq(arg0: AnyRef): Boolean + +

                                                  + + Permalink + + +
                                                  Definition Classes
                                                  AnyRef
                                                  +
                                                8. + + +

                                                  + + + def + + + equals(arg0: Any): Boolean + +

                                                  + + Permalink + + +
                                                  Definition Classes
                                                  AnyRef → Any
                                                  +
                                                9. + + +

                                                  + + + def + + + finalize(): Unit + +

                                                  + + Permalink + + +
                                                  Attributes
                                                  protected[java.lang]
                                                  Definition Classes
                                                  AnyRef
                                                  Annotations
                                                  + @throws( + + classOf[java.lang.Throwable] + ) + +
                                                  +
                                                10. + + +

                                                  + + final + def + + + getClass(): Class[_] + +

                                                  + + Permalink + + +
                                                  Definition Classes
                                                  AnyRef → Any
                                                  +
                                                11. + + +

                                                  + + + def + + + hashCode(): Int + +

                                                  + + Permalink + + +
                                                  Definition Classes
                                                  AnyRef → Any
                                                  +
                                                12. + + +

                                                  + + final + def + + + isInstanceOf[T0]: Boolean + +

                                                  + + Permalink + + +
                                                  Definition Classes
                                                  Any
                                                  +
                                                13. + + +

                                                  + + + val + + + logger: Logger + +

                                                  + + Permalink + + +
                                                  Attributes
                                                  protected
                                                  Definition Classes
                                                  Logging
                                                  +
                                                14. + + +

                                                  + + final + def + + + ne(arg0: AnyRef): Boolean + +

                                                  + + Permalink + + +
                                                  Definition Classes
                                                  AnyRef
                                                  +
                                                15. + + +

                                                  + + final + def + + + notify(): Unit + +

                                                  + + Permalink + + +
                                                  Definition Classes
                                                  AnyRef
                                                  +
                                                16. + + +

                                                  + + final + def + + + notifyAll(): Unit + +

                                                  + + Permalink + + +
                                                  Definition Classes
                                                  AnyRef
                                                  +
                                                17. + + +

                                                  + + final + def + + + synchronized[T0](arg0: ⇒ T0): T0 + +

                                                  + + Permalink + + +
                                                  Definition Classes
                                                  AnyRef
                                                  +
                                                18. + + +

                                                  + + + def + + + toString(): String + +

                                                  + + Permalink + + +
                                                  Definition Classes
                                                  AnyRef → Any
                                                  +
                                                19. + + +

                                                  + + final + def + + + wait(): Unit + +

                                                  + + Permalink + + +
                                                  Definition Classes
                                                  AnyRef
                                                  Annotations
                                                  + @throws( + + ... + ) + +
                                                  +
                                                20. + + +

                                                  + + final + def + + + wait(arg0: Long, arg1: Int): Unit + +

                                                  + + Permalink + + +
                                                  Definition Classes
                                                  AnyRef
                                                  Annotations
                                                  + @throws( + + ... + ) + +
                                                  +
                                                21. + + +

                                                  + + final + def + + + wait(arg0: Long): Unit + +

                                                  + + Permalink + + +
                                                  Definition Classes
                                                  AnyRef
                                                  Annotations
                                                  + @throws( + + ... + ) + +
                                                  +
                                                +
                                                + + + + +
                                                + +
                                                +
                                                +

                                                Inherited from Serializable

                                                +
                                                +

                                                Inherited from Serializable

                                                +
                                                +

                                                Inherited from Logging

                                                +
                                                +

                                                Inherited from AnyRef

                                                +
                                                +

                                                Inherited from Any

                                                +
                                                + +
                                                + +
                                                +
                                                +

                                                Ungrouped

                                                + +
                                                +
                                                + +
                                                + +
                                                + + + + + + diff --git a/manual1903/api_reference/components/scaladocs/ksb/csle/component/operator/service/ControlContextQueryOperator.html b/manual1903/api_reference/components/scaladocs/ksb/csle/component/operator/service/ControlContextQueryOperator.html new file mode 100644 index 0000000000000000000000000000000000000000..3a6ac1f3c39c6c7c18101a3340601d861588e8f0 --- /dev/null +++ b/manual1903/api_reference/components/scaladocs/ksb/csle/component/operator/service/ControlContextQueryOperator.html @@ -0,0 +1,634 @@ + + + + ControlContextQueryOperator - KSB COMPONENTS Scala App Project 1.0-SNAPSHOT API - ksb.csle.component.operator.service.ControlContextQueryOperator + + + + + + + + + + + + + + + + + +

                                                + + + class + + + ControlContextQueryOperator extends BaseGenericMutantOperator[OnDemandOperatorInfo, Option[String], (Option[String]) ⇒ Option[KbeResponse]] + +

                                                + +
                                                + Linear Supertypes +
                                                BaseGenericMutantOperator[OnDemandOperatorInfo, Option[String], (Option[String]) ⇒ Option[KbeResponse]], BaseDoer, Logging, Serializable, Serializable, AnyRef, Any
                                                +
                                                + + +
                                                +
                                                +
                                                + Ordering +
                                                  + +
                                                1. Alphabetic
                                                2. +
                                                3. By Inheritance
                                                4. +
                                                +
                                                +
                                                + Inherited
                                                +
                                                +
                                                  +
                                                1. ControlContextQueryOperator
                                                2. BaseGenericMutantOperator
                                                3. BaseDoer
                                                4. Logging
                                                5. Serializable
                                                6. Serializable
                                                7. AnyRef
                                                8. Any
                                                9. +
                                                +
                                                + +
                                                  +
                                                1. Hide All
                                                2. +
                                                3. Show All
                                                4. +
                                                +
                                                +
                                                + Visibility +
                                                1. Public
                                                2. All
                                                +
                                                +
                                                + +
                                                +
                                                +
                                                +

                                                Instance Constructors

                                                +
                                                1. + + +

                                                  + + + new + + + ControlContextQueryOperator(o: OnDemandOperatorInfo) + +

                                                  + + Permalink + + + +
                                                +
                                                + + + + + +
                                                +

                                                Value Members

                                                +
                                                1. + + +

                                                  + + final + def + + + !=(arg0: Any): Boolean + +

                                                  + + Permalink + + +
                                                  Definition Classes
                                                  AnyRef → Any
                                                  +
                                                2. + + +

                                                  + + final + def + + + ##(): Int + +

                                                  + + Permalink + + +
                                                  Definition Classes
                                                  AnyRef → Any
                                                  +
                                                3. + + +

                                                  + + final + def + + + ==(arg0: Any): Boolean + +

                                                  + + Permalink + + +
                                                  Definition Classes
                                                  AnyRef → Any
                                                  +
                                                4. + + +

                                                  + + final + def + + + asInstanceOf[T0]: T0 + +

                                                  + + Permalink + + +
                                                  Definition Classes
                                                  Any
                                                  +
                                                5. + + +

                                                  + + + def + + + clone(): AnyRef + +

                                                  + + Permalink + + +
                                                  Attributes
                                                  protected[java.lang]
                                                  Definition Classes
                                                  AnyRef
                                                  Annotations
                                                  + @throws( + + ... + ) + +
                                                  +
                                                6. + + +

                                                  + + + val + + + cquery: ControlQueryInfo + +

                                                  + + Permalink + + + +
                                                7. + + +

                                                  + + + val + + + dtf: DateTimeFormatter + +

                                                  + + Permalink + + + +
                                                8. + + +

                                                  + + final + def + + + eq(arg0: AnyRef): Boolean + +

                                                  + + Permalink + + +
                                                  Definition Classes
                                                  AnyRef
                                                  +
                                                9. + + +

                                                  + + + def + + + equals(arg0: Any): Boolean + +

                                                  + + Permalink + + +
                                                  Definition Classes
                                                  AnyRef → Any
                                                  +
                                                10. + + +

                                                  + + + def + + + finalize(): Unit + +

                                                  + + Permalink + + +
                                                  Attributes
                                                  protected[java.lang]
                                                  Definition Classes
                                                  AnyRef
                                                  Annotations
                                                  + @throws( + + classOf[java.lang.Throwable] + ) + +
                                                  +
                                                11. + + +

                                                  + + final + def + + + getClass(): Class[_] + +

                                                  + + Permalink + + +
                                                  Definition Classes
                                                  AnyRef → Any
                                                  +
                                                12. + + +

                                                  + + + def + + + hashCode(): Int + +

                                                  + + Permalink + + +
                                                  Definition Classes
                                                  AnyRef → Any
                                                  +
                                                13. + + +

                                                  + + final + def + + + isInstanceOf[T0]: Boolean + +

                                                  + + Permalink + + +
                                                  Definition Classes
                                                  Any
                                                  +
                                                14. + + +

                                                  + + + val + + + logger: Logger + +

                                                  + + Permalink + + +
                                                  Attributes
                                                  protected
                                                  Definition Classes
                                                  Logging
                                                  +
                                                15. + + +

                                                  + + final + def + + + ne(arg0: AnyRef): Boolean + +

                                                  + + Permalink + + +
                                                  Definition Classes
                                                  AnyRef
                                                  +
                                                16. + + +

                                                  + + final + def + + + notify(): Unit + +

                                                  + + Permalink + + +
                                                  Definition Classes
                                                  AnyRef
                                                  +
                                                17. + + +

                                                  + + final + def + + + notifyAll(): Unit + +

                                                  + + Permalink + + +
                                                  Definition Classes
                                                  AnyRef
                                                  +
                                                18. + + +

                                                  + + + def + + + operate(value: Option[String]): (Option[String]) ⇒ Option[KbeResponse] + +

                                                  + + Permalink + + +

                                                  Operates prediction with SparkML Model.

                                                  Operates prediction with SparkML Model. +

                                                  returns

                                                  DataFrame Output dataframe

                                                  Definition Classes
                                                  ControlContextQueryOperator → BaseGenericMutantOperator
                                                  +
                                                19. + + +

                                                  + + + val + + + p: KbControlQueryInfo + +

                                                  + + Permalink + + + +
                                                20. + + +

                                                  + + + var + + + queuedPrediction: Option[String] + +

                                                  + + Permalink + + + +
                                                21. + + +

                                                  + + + def + + + stop: Unit + +

                                                  + + Permalink + + +
                                                  Definition Classes
                                                  BaseGenericMutantOperator
                                                  +
                                                22. + + +

                                                  + + final + def + + + synchronized[T0](arg0: ⇒ T0): T0 + +

                                                  + + Permalink + + +
                                                  Definition Classes
                                                  AnyRef
                                                  +
                                                23. + + +

                                                  + + + def + + + toString(): String + +

                                                  + + Permalink + + +
                                                  Definition Classes
                                                  AnyRef → Any
                                                  +
                                                24. + + +

                                                  + + final + def + + + wait(): Unit + +

                                                  + + Permalink + + +
                                                  Definition Classes
                                                  AnyRef
                                                  Annotations
                                                  + @throws( + + ... + ) + +
                                                  +
                                                25. + + +

                                                  + + final + def + + + wait(arg0: Long, arg1: Int): Unit + +

                                                  + + Permalink + + +
                                                  Definition Classes
                                                  AnyRef
                                                  Annotations
                                                  + @throws( + + ... + ) + +
                                                  +
                                                26. + + +

                                                  + + final + def + + + wait(arg0: Long): Unit + +

                                                  + + Permalink + + +
                                                  Definition Classes
                                                  AnyRef
                                                  Annotations
                                                  + @throws( + + ... + ) + +
                                                  +
                                                +
                                                + + + + +
                                                + +
                                                +
                                                +

                                                Inherited from BaseGenericMutantOperator[OnDemandOperatorInfo, Option[String], (Option[String]) ⇒ Option[KbeResponse]]

                                                +
                                                +

                                                Inherited from BaseDoer

                                                +
                                                +

                                                Inherited from Logging

                                                +
                                                +

                                                Inherited from Serializable

                                                +
                                                +

                                                Inherited from Serializable

                                                +
                                                +

                                                Inherited from AnyRef

                                                +
                                                +

                                                Inherited from Any

                                                +
                                                + +
                                                + +
                                                +
                                                +

                                                Ungrouped

                                                + +
                                                +
                                                + +
                                                + +
                                                + + + + + + diff --git a/manual1903/api_reference/components/scaladocs/ksb/csle/component/operator/service/HttpWeatherResponseReceiver$StopArgs.html b/manual1903/api_reference/components/scaladocs/ksb/csle/component/operator/service/HttpWeatherResponseReceiver$StopArgs.html new file mode 100644 index 0000000000000000000000000000000000000000..e50c9cf04eea1e1aaa50d7e6210b6f78efba80cb --- /dev/null +++ b/manual1903/api_reference/components/scaladocs/ksb/csle/component/operator/service/HttpWeatherResponseReceiver$StopArgs.html @@ -0,0 +1,493 @@ + + + + StopArgs - KSB COMPONENTS Scala App Project 1.0-SNAPSHOT API - ksb.csle.component.operator.service.HttpWeatherResponseReceiver.StopArgs + + + + + + + + + + + + + + + + + +

                                                + + + case class + + + StopArgs(system: ActorSystem, wsClient: AhcWSClient) extends Product with Serializable + +

                                                + +
                                                + Linear Supertypes +
                                                Serializable, Serializable, Product, Equals, AnyRef, Any
                                                +
                                                + + +
                                                +
                                                +
                                                + Ordering +
                                                  + +
                                                1. Alphabetic
                                                2. +
                                                3. By Inheritance
                                                4. +
                                                +
                                                +
                                                + Inherited
                                                +
                                                +
                                                  +
                                                1. StopArgs
                                                2. Serializable
                                                3. Serializable
                                                4. Product
                                                5. Equals
                                                6. AnyRef
                                                7. Any
                                                8. +
                                                +
                                                + +
                                                  +
                                                1. Hide All
                                                2. +
                                                3. Show All
                                                4. +
                                                +
                                                +
                                                + Visibility +
                                                1. Public
                                                2. All
                                                +
                                                +
                                                + +
                                                +
                                                +
                                                +

                                                Instance Constructors

                                                +
                                                1. + + +

                                                  + + + new + + + StopArgs(system: ActorSystem, wsClient: AhcWSClient) + +

                                                  + + Permalink + + + +
                                                +
                                                + + + + + +
                                                +

                                                Value Members

                                                +
                                                1. + + +

                                                  + + final + def + + + !=(arg0: Any): Boolean + +

                                                  + + Permalink + + +
                                                  Definition Classes
                                                  AnyRef → Any
                                                  +
                                                2. + + +

                                                  + + final + def + + + ##(): Int + +

                                                  + + Permalink + + +
                                                  Definition Classes
                                                  AnyRef → Any
                                                  +
                                                3. + + +

                                                  + + final + def + + + ==(arg0: Any): Boolean + +

                                                  + + Permalink + + +
                                                  Definition Classes
                                                  AnyRef → Any
                                                  +
                                                4. + + +

                                                  + + final + def + + + asInstanceOf[T0]: T0 + +

                                                  + + Permalink + + +
                                                  Definition Classes
                                                  Any
                                                  +
                                                5. + + +

                                                  + + + def + + + clone(): AnyRef + +

                                                  + + Permalink + + +
                                                  Attributes
                                                  protected[java.lang]
                                                  Definition Classes
                                                  AnyRef
                                                  Annotations
                                                  + @throws( + + ... + ) + +
                                                  +
                                                6. + + +

                                                  + + final + def + + + eq(arg0: AnyRef): Boolean + +

                                                  + + Permalink + + +
                                                  Definition Classes
                                                  AnyRef
                                                  +
                                                7. + + +

                                                  + + + def + + + finalize(): Unit + +

                                                  + + Permalink + + +
                                                  Attributes
                                                  protected[java.lang]
                                                  Definition Classes
                                                  AnyRef
                                                  Annotations
                                                  + @throws( + + classOf[java.lang.Throwable] + ) + +
                                                  +
                                                8. + + +

                                                  + + final + def + + + getClass(): Class[_] + +

                                                  + + Permalink + + +
                                                  Definition Classes
                                                  AnyRef → Any
                                                  +
                                                9. + + +

                                                  + + final + def + + + isInstanceOf[T0]: Boolean + +

                                                  + + Permalink + + +
                                                  Definition Classes
                                                  Any
                                                  +
                                                10. + + +

                                                  + + final + def + + + ne(arg0: AnyRef): Boolean + +

                                                  + + Permalink + + +
                                                  Definition Classes
                                                  AnyRef
                                                  +
                                                11. + + +

                                                  + + final + def + + + notify(): Unit + +

                                                  + + Permalink + + +
                                                  Definition Classes
                                                  AnyRef
                                                  +
                                                12. + + +

                                                  + + final + def + + + notifyAll(): Unit + +

                                                  + + Permalink + + +
                                                  Definition Classes
                                                  AnyRef
                                                  +
                                                13. + + +

                                                  + + final + def + + + synchronized[T0](arg0: ⇒ T0): T0 + +

                                                  + + Permalink + + +
                                                  Definition Classes
                                                  AnyRef
                                                  +
                                                14. + + +

                                                  + + + val + + + system: ActorSystem + +

                                                  + + Permalink + + + +
                                                15. + + +

                                                  + + final + def + + + wait(): Unit + +

                                                  + + Permalink + + +
                                                  Definition Classes
                                                  AnyRef
                                                  Annotations
                                                  + @throws( + + ... + ) + +
                                                  +
                                                16. + + +

                                                  + + final + def + + + wait(arg0: Long, arg1: Int): Unit + +

                                                  + + Permalink + + +
                                                  Definition Classes
                                                  AnyRef
                                                  Annotations
                                                  + @throws( + + ... + ) + +
                                                  +
                                                17. + + +

                                                  + + final + def + + + wait(arg0: Long): Unit + +

                                                  + + Permalink + + +
                                                  Definition Classes
                                                  AnyRef
                                                  Annotations
                                                  + @throws( + + ... + ) + +
                                                  +
                                                18. + + +

                                                  + + + val + + + wsClient: AhcWSClient + +

                                                  + + Permalink + + + +
                                                +
                                                + + + + +
                                                + +
                                                +
                                                +

                                                Inherited from Serializable

                                                +
                                                +

                                                Inherited from Serializable

                                                +
                                                +

                                                Inherited from Product

                                                +
                                                +

                                                Inherited from Equals

                                                +
                                                +

                                                Inherited from AnyRef

                                                +
                                                +

                                                Inherited from Any

                                                +
                                                + +
                                                + +
                                                +
                                                +

                                                Ungrouped

                                                + +
                                                +
                                                + +
                                                + +
                                                + + + + + + diff --git a/manual1903/api_reference/components/scaladocs/ksb/csle/component/operator/service/HttpWeatherResponseReceiver.html b/manual1903/api_reference/components/scaladocs/ksb/csle/component/operator/service/HttpWeatherResponseReceiver.html new file mode 100644 index 0000000000000000000000000000000000000000..34e18cae2c68c15e12ffef7db6692b49c0b55553 --- /dev/null +++ b/manual1903/api_reference/components/scaladocs/ksb/csle/component/operator/service/HttpWeatherResponseReceiver.html @@ -0,0 +1,1057 @@ + + + + HttpWeatherResponseReceiver - KSB COMPONENTS Scala App Project 1.0-SNAPSHOT API - ksb.csle.component.operator.service.HttpWeatherResponseReceiver + + + + + + + + + + + + + + + +
                                                + Class +

                                                ksb.csle.component.operator.service

                                                +

                                                HttpWeatherResponseReceiver

                                                Related Doc: + package service +

                                                + + Permalink + + +
                                                + +

                                                + + final + class + + + HttpWeatherResponseReceiver extends Receiver[String] with Logging + +

                                                + +
                                                + Linear Supertypes +
                                                Logging, Receiver[String], Serializable, Serializable, AnyRef, Any
                                                +
                                                + + +
                                                +
                                                +
                                                + Ordering +
                                                  + +
                                                1. Alphabetic
                                                2. +
                                                3. By Inheritance
                                                4. +
                                                +
                                                +
                                                + Inherited
                                                +
                                                +
                                                  +
                                                1. HttpWeatherResponseReceiver
                                                2. Logging
                                                3. Receiver
                                                4. Serializable
                                                5. Serializable
                                                6. AnyRef
                                                7. Any
                                                8. +
                                                +
                                                + +
                                                  +
                                                1. Hide All
                                                2. +
                                                3. Show All
                                                4. +
                                                +
                                                +
                                                + Visibility +
                                                1. Public
                                                2. All
                                                +
                                                +
                                                + +
                                                +
                                                +
                                                +

                                                Instance Constructors

                                                +
                                                1. + + +

                                                  + + + new + + + HttpWeatherResponseReceiver(name: String, clientType: String, serviceKey: String, locations: String) + +

                                                  + + Permalink + + + +
                                                +
                                                + +
                                                +

                                                Type Members

                                                +
                                                1. + + +

                                                  + + + case class + + + StopArgs(system: ActorSystem, wsClient: AhcWSClient) extends Product with Serializable + +

                                                  + + Permalink + + + +
                                                +
                                                + + + +
                                                +

                                                Value Members

                                                +
                                                1. + + +

                                                  + + final + def + + + !=(arg0: Any): Boolean + +

                                                  + + Permalink + + +
                                                  Definition Classes
                                                  AnyRef → Any
                                                  +
                                                2. + + +

                                                  + + final + def + + + ##(): Int + +

                                                  + + Permalink + + +
                                                  Definition Classes
                                                  AnyRef → Any
                                                  +
                                                3. + + +

                                                  + + final + def + + + ==(arg0: Any): Boolean + +

                                                  + + Permalink + + +
                                                  Definition Classes
                                                  AnyRef → Any
                                                  +
                                                4. + + +

                                                  + + + val + + + CLIENT_SLEEP_TIME: Int + +

                                                  + + Permalink + + + +
                                                5. + + +

                                                  + + + val + + + RESPONSE_TIMEOUT: FiniteDuration + +

                                                  + + Permalink + + + +
                                                6. + + +

                                                  + + final + def + + + asInstanceOf[T0]: T0 + +

                                                  + + Permalink + + +
                                                  Definition Classes
                                                  Any
                                                  +
                                                7. + + +

                                                  + + + val + + + clientType: String + +

                                                  + + Permalink + + + +
                                                8. + + +

                                                  + + + def + + + clone(): AnyRef + +

                                                  + + Permalink + + +
                                                  Attributes
                                                  protected[java.lang]
                                                  Definition Classes
                                                  AnyRef
                                                  Annotations
                                                  + @throws( + + ... + ) + +
                                                  +
                                                9. + + +

                                                  + + final + def + + + eq(arg0: AnyRef): Boolean + +

                                                  + + Permalink + + +
                                                  Definition Classes
                                                  AnyRef
                                                  +
                                                10. + + +

                                                  + + + def + + + equals(arg0: Any): Boolean + +

                                                  + + Permalink + + +
                                                  Definition Classes
                                                  AnyRef → Any
                                                  +
                                                11. + + +

                                                  + + + def + + + finalize(): Unit + +

                                                  + + Permalink + + +
                                                  Attributes
                                                  protected[java.lang]
                                                  Definition Classes
                                                  AnyRef
                                                  Annotations
                                                  + @throws( + + classOf[java.lang.Throwable] + ) + +
                                                  +
                                                12. + + +

                                                  + + final + def + + + getClass(): Class[_] + +

                                                  + + Permalink + + +
                                                  Definition Classes
                                                  AnyRef → Any
                                                  +
                                                13. + + +

                                                  + + + def + + + hashCode(): Int + +

                                                  + + Permalink + + +
                                                  Definition Classes
                                                  AnyRef → Any
                                                  +
                                                14. + + +

                                                  + + final + def + + + isInstanceOf[T0]: Boolean + +

                                                  + + Permalink + + +
                                                  Definition Classes
                                                  Any
                                                  +
                                                15. + + +

                                                  + + + def + + + isStarted(): Boolean + +

                                                  + + Permalink + + +
                                                  Definition Classes
                                                  Receiver
                                                  +
                                                16. + + +

                                                  + + + def + + + isStopped(): Boolean + +

                                                  + + Permalink + + +
                                                  Definition Classes
                                                  Receiver
                                                  +
                                                17. + + +

                                                  + + + val + + + locations: String + +

                                                  + + Permalink + + + +
                                                18. + + +

                                                  + + + val + + + logger: Logger + +

                                                  + + Permalink + + +
                                                  Attributes
                                                  protected
                                                  Definition Classes
                                                  Logging
                                                  +
                                                19. + + +

                                                  + + + val + + + name: String + +

                                                  + + Permalink + + + +
                                                20. + + +

                                                  + + final + def + + + ne(arg0: AnyRef): Boolean + +

                                                  + + Permalink + + +
                                                  Definition Classes
                                                  AnyRef
                                                  +
                                                21. + + +

                                                  + + final + def + + + notify(): Unit + +

                                                  + + Permalink + + +
                                                  Definition Classes
                                                  AnyRef
                                                  +
                                                22. + + +

                                                  + + final + def + + + notifyAll(): Unit + +

                                                  + + Permalink + + +
                                                  Definition Classes
                                                  AnyRef
                                                  +
                                                23. + + +

                                                  + + + def + + + onStart(): Unit + +

                                                  + + Permalink + + +
                                                  Definition Classes
                                                  HttpWeatherResponseReceiver → Receiver
                                                  +
                                                24. + + +

                                                  + + + def + + + onStop(): Unit + +

                                                  + + Permalink + + +
                                                  Definition Classes
                                                  HttpWeatherResponseReceiver → Receiver
                                                  +
                                                25. + + +

                                                  + + + def + + + preferredLocation: Option[String] + +

                                                  + + Permalink + + +
                                                  Definition Classes
                                                  Receiver
                                                  +
                                                26. + + +

                                                  + + + def + + + reportError(message: String, throwable: Throwable): Unit + +

                                                  + + Permalink + + +
                                                  Definition Classes
                                                  Receiver
                                                  +
                                                27. + + +

                                                  + + + def + + + restart(message: String, error: Throwable, millisecond: Int): Unit + +

                                                  + + Permalink + + +
                                                  Definition Classes
                                                  Receiver
                                                  +
                                                28. + + +

                                                  + + + def + + + restart(message: String, error: Throwable): Unit + +

                                                  + + Permalink + + +
                                                  Definition Classes
                                                  Receiver
                                                  +
                                                29. + + +

                                                  + + + def + + + restart(message: String): Unit + +

                                                  + + Permalink + + +
                                                  Definition Classes
                                                  Receiver
                                                  +
                                                30. + + +

                                                  + + + val + + + serviceKey: String + +

                                                  + + Permalink + + + +
                                                31. + + +

                                                  + + + val + + + serviceUrl: String + +

                                                  + + Permalink + + + +
                                                32. + + +

                                                  + + + def + + + stop(message: String, error: Throwable): Unit + +

                                                  + + Permalink + + +
                                                  Definition Classes
                                                  Receiver
                                                  +
                                                33. + + +

                                                  + + + def + + + stop(message: String): Unit + +

                                                  + + Permalink + + +
                                                  Definition Classes
                                                  Receiver
                                                  +
                                                34. + + +

                                                  + + + var + + + stopArgs: StopArgs + +

                                                  + + Permalink + + + +
                                                35. + + +

                                                  + + + val + + + storageLevel: StorageLevel + +

                                                  + + Permalink + + +
                                                  Definition Classes
                                                  Receiver
                                                  +
                                                36. + + +

                                                  + + + def + + + store(bytes: ByteBuffer, metadata: Any): Unit + +

                                                  + + Permalink + + +
                                                  Definition Classes
                                                  Receiver
                                                  +
                                                37. + + +

                                                  + + + def + + + store(bytes: ByteBuffer): Unit + +

                                                  + + Permalink + + +
                                                  Definition Classes
                                                  Receiver
                                                  +
                                                38. + + +

                                                  + + + def + + + store(dataIterator: Iterator[String], metadata: Any): Unit + +

                                                  + + Permalink + + +
                                                  Definition Classes
                                                  Receiver
                                                  +
                                                39. + + +

                                                  + + + def + + + store(dataIterator: Iterator[String]): Unit + +

                                                  + + Permalink + + +
                                                  Definition Classes
                                                  Receiver
                                                  +
                                                40. + + +

                                                  + + + def + + + store(dataIterator: Iterator[String], metadata: Any): Unit + +

                                                  + + Permalink + + +
                                                  Definition Classes
                                                  Receiver
                                                  +
                                                41. + + +

                                                  + + + def + + + store(dataIterator: Iterator[String]): Unit + +

                                                  + + Permalink + + +
                                                  Definition Classes
                                                  Receiver
                                                  +
                                                42. + + +

                                                  + + + def + + + store(dataBuffer: ArrayBuffer[String], metadata: Any): Unit + +

                                                  + + Permalink + + +
                                                  Definition Classes
                                                  Receiver
                                                  +
                                                43. + + +

                                                  + + + def + + + store(dataBuffer: ArrayBuffer[String]): Unit + +

                                                  + + Permalink + + +
                                                  Definition Classes
                                                  Receiver
                                                  +
                                                44. + + +

                                                  + + + def + + + store(dataItem: String): Unit + +

                                                  + + Permalink + + +
                                                  Definition Classes
                                                  Receiver
                                                  +
                                                45. + + +

                                                  + + + def + + + streamId: Int + +

                                                  + + Permalink + + +
                                                  Definition Classes
                                                  Receiver
                                                  +
                                                46. + + +

                                                  + + final + def + + + synchronized[T0](arg0: ⇒ T0): T0 + +

                                                  + + Permalink + + +
                                                  Definition Classes
                                                  AnyRef
                                                  +
                                                47. + + +

                                                  + + + def + + + toString(): String + +

                                                  + + Permalink + + +
                                                  Definition Classes
                                                  AnyRef → Any
                                                  +
                                                48. + + +

                                                  + + final + def + + + wait(): Unit + +

                                                  + + Permalink + + +
                                                  Definition Classes
                                                  AnyRef
                                                  Annotations
                                                  + @throws( + + ... + ) + +
                                                  +
                                                49. + + +

                                                  + + final + def + + + wait(arg0: Long, arg1: Int): Unit + +

                                                  + + Permalink + + +
                                                  Definition Classes
                                                  AnyRef
                                                  Annotations
                                                  + @throws( + + ... + ) + +
                                                  +
                                                50. + + +

                                                  + + final + def + + + wait(arg0: Long): Unit + +

                                                  + + Permalink + + +
                                                  Definition Classes
                                                  AnyRef
                                                  Annotations
                                                  + @throws( + + ... + ) + +
                                                  +
                                                +
                                                + + + + +
                                                + +
                                                +
                                                +

                                                Inherited from Logging

                                                +
                                                +

                                                Inherited from Receiver[String]

                                                +
                                                +

                                                Inherited from Serializable

                                                +
                                                +

                                                Inherited from Serializable

                                                +
                                                +

                                                Inherited from AnyRef

                                                +
                                                +

                                                Inherited from Any

                                                +
                                                + +
                                                + +
                                                +
                                                +

                                                Ungrouped

                                                + +
                                                +
                                                + +
                                                + +
                                                + + + + + + diff --git a/manual1903/api_reference/components/scaladocs/ksb/csle/component/operator/service/MyJsonProtocol$.html b/manual1903/api_reference/components/scaladocs/ksb/csle/component/operator/service/MyJsonProtocol$.html new file mode 100644 index 0000000000000000000000000000000000000000..88a23ff588baa75b9c0f1149a0f4c3aac8642778 --- /dev/null +++ b/manual1903/api_reference/components/scaladocs/ksb/csle/component/operator/service/MyJsonProtocol$.html @@ -0,0 +1,2182 @@ + + + + MyJsonProtocol - KSB COMPONENTS Scala App Project 1.0-SNAPSHOT API - ksb.csle.component.operator.service.MyJsonProtocol + + + + + + + + + + + + + + + +
                                                + Object +

                                                ksb.csle.component.operator.service

                                                +

                                                MyJsonProtocol

                                                Related Doc: + package service +

                                                + + Permalink + + +
                                                + +

                                                + + + object + + + MyJsonProtocol extends DefaultJsonProtocol + +

                                                + +
                                                + Linear Supertypes +
                                                DefaultJsonProtocol, AdditionalFormats, ProductFormats, ProductFormatsInstances, CollectionFormats, StandardFormats, BasicFormats, AnyRef, Any
                                                +
                                                + + +
                                                +
                                                +
                                                + Ordering +
                                                  + +
                                                1. Alphabetic
                                                2. +
                                                3. By Inheritance
                                                4. +
                                                +
                                                +
                                                + Inherited
                                                +
                                                +
                                                  +
                                                1. MyJsonProtocol
                                                2. DefaultJsonProtocol
                                                3. AdditionalFormats
                                                4. ProductFormats
                                                5. ProductFormatsInstances
                                                6. CollectionFormats
                                                7. StandardFormats
                                                8. BasicFormats
                                                9. AnyRef
                                                10. Any
                                                11. +
                                                +
                                                + +
                                                  +
                                                1. Hide All
                                                2. +
                                                3. Show All
                                                4. +
                                                +
                                                +
                                                + Visibility +
                                                1. Public
                                                2. All
                                                +
                                                +
                                                + +
                                                +
                                                + + +
                                                +

                                                Type Members

                                                +
                                                1. + + +

                                                  + + + class + + + OptionFormat[T] extends (StandardFormats.this)#JF[Option[T]] + +

                                                  + + Permalink + + +
                                                  Definition Classes
                                                  StandardFormats
                                                  +
                                                +
                                                + + + +
                                                +

                                                Value Members

                                                +
                                                1. + + +

                                                  + + final + def + + + !=(arg0: Any): Boolean + +

                                                  + + Permalink + + +
                                                  Definition Classes
                                                  AnyRef → Any
                                                  +
                                                2. + + +

                                                  + + final + def + + + ##(): Int + +

                                                  + + Permalink + + +
                                                  Definition Classes
                                                  AnyRef → Any
                                                  +
                                                3. + + +

                                                  + + final + def + + + ==(arg0: Any): Boolean + +

                                                  + + Permalink + + +
                                                  Definition Classes
                                                  AnyRef → Any
                                                  +
                                                4. + + +

                                                  + + implicit + object + + + BigDecimalJsonFormat extends JsonFormat[BigDecimal] + +

                                                  + + Permalink + + +
                                                  Definition Classes
                                                  BasicFormats
                                                  +
                                                5. + + +

                                                  + + implicit + object + + + BigIntJsonFormat extends JsonFormat[BigInt] + +

                                                  + + Permalink + + +
                                                  Definition Classes
                                                  BasicFormats
                                                  +
                                                6. + + +

                                                  + + implicit + object + + + BooleanJsonFormat extends JsonFormat[Boolean] + +

                                                  + + Permalink + + +
                                                  Definition Classes
                                                  BasicFormats
                                                  +
                                                7. + + +

                                                  + + implicit + object + + + ByteJsonFormat extends JsonFormat[Byte] + +

                                                  + + Permalink + + +
                                                  Definition Classes
                                                  BasicFormats
                                                  +
                                                8. + + +

                                                  + + implicit + object + + + CharJsonFormat extends JsonFormat[Char] + +

                                                  + + Permalink + + +
                                                  Definition Classes
                                                  BasicFormats
                                                  +
                                                9. + + +

                                                  + + implicit + object + + + DoubleJsonFormat extends JsonFormat[Double] + +

                                                  + + Permalink + + +
                                                  Definition Classes
                                                  BasicFormats
                                                  +
                                                10. + + +

                                                  + + implicit + object + + + FloatJsonFormat extends JsonFormat[Float] + +

                                                  + + Permalink + + +
                                                  Definition Classes
                                                  BasicFormats
                                                  +
                                                11. + + +

                                                  + + implicit + object + + + IntJsonFormat extends JsonFormat[Int] + +

                                                  + + Permalink + + +
                                                  Definition Classes
                                                  BasicFormats
                                                  +
                                                12. + + +

                                                  + + implicit + object + + + JsValueFormat extends JsonFormat[JsValue] + +

                                                  + + Permalink + + +
                                                  Definition Classes
                                                  AdditionalFormats
                                                  +
                                                13. + + +

                                                  + + implicit + object + + + LongJsonFormat extends JsonFormat[Long] + +

                                                  + + Permalink + + +
                                                  Definition Classes
                                                  BasicFormats
                                                  +
                                                14. + + +

                                                  + + implicit + val + + + PredictResultFormat: RootJsonFormat[PredictResult] + +

                                                  + + Permalink + + + +
                                                15. + + +

                                                  + + implicit + object + + + RootJsArrayFormat extends RootJsonFormat[JsArray] + +

                                                  + + Permalink + + +
                                                  Definition Classes
                                                  AdditionalFormats
                                                  +
                                                16. + + +

                                                  + + implicit + object + + + RootJsObjectFormat extends RootJsonFormat[JsObject] + +

                                                  + + Permalink + + +
                                                  Definition Classes
                                                  AdditionalFormats
                                                  +
                                                17. + + +

                                                  + + implicit + object + + + ShortJsonFormat extends JsonFormat[Short] + +

                                                  + + Permalink + + +
                                                  Definition Classes
                                                  BasicFormats
                                                  +
                                                18. + + +

                                                  + + implicit + object + + + StringJsonFormat extends JsonFormat[String] + +

                                                  + + Permalink + + +
                                                  Definition Classes
                                                  BasicFormats
                                                  +
                                                19. + + +

                                                  + + implicit + object + + + SymbolJsonFormat extends JsonFormat[Symbol] + +

                                                  + + Permalink + + +
                                                  Definition Classes
                                                  BasicFormats
                                                  +
                                                20. + + +

                                                  + + implicit + object + + + UnitJsonFormat extends JsonFormat[Unit] + +

                                                  + + Permalink + + +
                                                  Definition Classes
                                                  BasicFormats
                                                  +
                                                21. + + +

                                                  + + implicit + def + + + arrayFormat[T](implicit arg0: JsonFormat[T], arg1: ClassManifest[T]): RootJsonFormat[Array[T]] { def write(array: Array[T]): spray.json.JsArray } + +

                                                  + + Permalink + + +
                                                  Definition Classes
                                                  CollectionFormats
                                                  +
                                                22. + + +

                                                  + + final + def + + + asInstanceOf[T0]: T0 + +

                                                  + + Permalink + + +
                                                  Definition Classes
                                                  Any
                                                  +
                                                23. + + +

                                                  + + + def + + + clone(): AnyRef + +

                                                  + + Permalink + + +
                                                  Attributes
                                                  protected[java.lang]
                                                  Definition Classes
                                                  AnyRef
                                                  Annotations
                                                  + @throws( + + ... + ) + +
                                                  +
                                                24. + + +

                                                  + + implicit + def + + + eitherFormat[A, B](implicit arg0: JF[A], arg1: JF[B]): JF[Either[A, B]] + +

                                                  + + Permalink + + +
                                                  Definition Classes
                                                  StandardFormats
                                                  +
                                                25. + + +

                                                  + + final + def + + + eq(arg0: AnyRef): Boolean + +

                                                  + + Permalink + + +
                                                  Definition Classes
                                                  AnyRef
                                                  +
                                                26. + + +

                                                  + + + def + + + equals(arg0: Any): Boolean + +

                                                  + + Permalink + + +
                                                  Definition Classes
                                                  AnyRef → Any
                                                  +
                                                27. + + +

                                                  + + + def + + + extractFieldNames(classManifest: ClassManifest[_]): Array[String] + +

                                                  + + Permalink + + +
                                                  Attributes
                                                  protected
                                                  Definition Classes
                                                  ProductFormats
                                                  +
                                                28. + + +

                                                  + + + def + + + finalize(): Unit + +

                                                  + + Permalink + + +
                                                  Attributes
                                                  protected[java.lang]
                                                  Definition Classes
                                                  AnyRef
                                                  Annotations
                                                  + @throws( + + classOf[java.lang.Throwable] + ) + +
                                                  +
                                                29. + + +

                                                  + + + def + + + fromField[T](value: JsValue, fieldName: String)(implicit reader: JsonReader[T]): T + +

                                                  + + Permalink + + +
                                                  Attributes
                                                  protected
                                                  Definition Classes
                                                  ProductFormats
                                                  +
                                                30. + + +

                                                  + + final + def + + + getClass(): Class[_] + +

                                                  + + Permalink + + +
                                                  Definition Classes
                                                  AnyRef → Any
                                                  +
                                                31. + + +

                                                  + + + def + + + hashCode(): Int + +

                                                  + + Permalink + + +
                                                  Definition Classes
                                                  AnyRef → Any
                                                  +
                                                32. + + +

                                                  + + implicit + def + + + immIndexedSeqFormat[T](implicit arg0: JsonFormat[T]): RootJsonFormat[IndexedSeq[T]] + +

                                                  + + Permalink + + +
                                                  Definition Classes
                                                  CollectionFormats
                                                  +
                                                33. + + +

                                                  + + implicit + def + + + immIterableFormat[T](implicit arg0: JsonFormat[T]): RootJsonFormat[Iterable[T]] + +

                                                  + + Permalink + + +
                                                  Definition Classes
                                                  CollectionFormats
                                                  +
                                                34. + + +

                                                  + + implicit + def + + + immLinearSeqFormat[T](implicit arg0: JsonFormat[T]): RootJsonFormat[LinearSeq[T]] + +

                                                  + + Permalink + + +
                                                  Definition Classes
                                                  CollectionFormats
                                                  +
                                                35. + + +

                                                  + + implicit + def + + + immSeqFormat[T](implicit arg0: JsonFormat[T]): RootJsonFormat[Seq[T]] + +

                                                  + + Permalink + + +
                                                  Definition Classes
                                                  CollectionFormats
                                                  +
                                                36. + + +

                                                  + + implicit + def + + + immSetFormat[T](implicit arg0: JsonFormat[T]): RootJsonFormat[Set[T]] + +

                                                  + + Permalink + + +
                                                  Definition Classes
                                                  CollectionFormats
                                                  +
                                                37. + + +

                                                  + + implicit + def + + + indexedSeqFormat[T](implicit arg0: JsonFormat[T]): RootJsonFormat[IndexedSeq[T]] + +

                                                  + + Permalink + + +
                                                  Definition Classes
                                                  CollectionFormats
                                                  +
                                                38. + + +

                                                  + + final + def + + + isInstanceOf[T0]: Boolean + +

                                                  + + Permalink + + +
                                                  Definition Classes
                                                  Any
                                                  +
                                                39. + + +

                                                  + + implicit + def + + + iterableFormat[T](implicit arg0: JsonFormat[T]): RootJsonFormat[Iterable[T]] + +

                                                  + + Permalink + + +
                                                  Definition Classes
                                                  CollectionFormats
                                                  +
                                                40. + + +

                                                  + + + def + + + jsonFormat[T](reader: JsonReader[T], writer: JsonWriter[T]): JsonFormat[T] + +

                                                  + + Permalink + + +
                                                  Definition Classes
                                                  AdditionalFormats
                                                  +
                                                41. + + +

                                                  + + + def + + + jsonFormat[P1, P2, P3, P4, P5, P6, P7, P8, P9, P10, P11, P12, P13, P14, P15, P16, P17, P18, P19, P20, P21, P22, T <: Product](construct: (P1, P2, P3, P4, P5, P6, P7, P8, P9, P10, P11, P12, P13, P14, P15, P16, P17, P18, P19, P20, P21, P22) ⇒ T, fieldName1: String, fieldName2: String, fieldName3: String, fieldName4: String, fieldName5: String, fieldName6: String, fieldName7: String, fieldName8: String, fieldName9: String, fieldName10: String, fieldName11: String, fieldName12: String, fieldName13: String, fieldName14: String, fieldName15: String, fieldName16: String, fieldName17: String, fieldName18: String, fieldName19: String, fieldName20: String, fieldName21: String, fieldName22: String)(implicit arg0: JF[P1], arg1: JF[P2], arg2: JF[P3], arg3: JF[P4], arg4: JF[P5], arg5: JF[P6], arg6: JF[P7], arg7: JF[P8], arg8: JF[P9], arg9: JF[P10], arg10: JF[P11], arg11: JF[P12], arg12: JF[P13], arg13: JF[P14], arg14: JF[P15], arg15: JF[P16], arg16: JF[P17], arg17: JF[P18], arg18: JF[P19], arg19: JF[P20], arg20: JF[P21], arg21: JF[P22]): RootJsonFormat[T] + +

                                                  + + Permalink + + +
                                                  Definition Classes
                                                  ProductFormatsInstances
                                                  +
                                                42. + + +

                                                  + + + def + + + jsonFormat[P1, P2, P3, P4, P5, P6, P7, P8, P9, P10, P11, P12, P13, P14, P15, P16, P17, P18, P19, P20, P21, T <: Product](construct: (P1, P2, P3, P4, P5, P6, P7, P8, P9, P10, P11, P12, P13, P14, P15, P16, P17, P18, P19, P20, P21) ⇒ T, fieldName1: String, fieldName2: String, fieldName3: String, fieldName4: String, fieldName5: String, fieldName6: String, fieldName7: String, fieldName8: String, fieldName9: String, fieldName10: String, fieldName11: String, fieldName12: String, fieldName13: String, fieldName14: String, fieldName15: String, fieldName16: String, fieldName17: String, fieldName18: String, fieldName19: String, fieldName20: String, fieldName21: String)(implicit arg0: JF[P1], arg1: JF[P2], arg2: JF[P3], arg3: JF[P4], arg4: JF[P5], arg5: JF[P6], arg6: JF[P7], arg7: JF[P8], arg8: JF[P9], arg9: JF[P10], arg10: JF[P11], arg11: JF[P12], arg12: JF[P13], arg13: JF[P14], arg14: JF[P15], arg15: JF[P16], arg16: JF[P17], arg17: JF[P18], arg18: JF[P19], arg19: JF[P20], arg20: JF[P21]): RootJsonFormat[T] + +

                                                  + + Permalink + + +
                                                  Definition Classes
                                                  ProductFormatsInstances
                                                  +
                                                43. + + +

                                                  + + + def + + + jsonFormat[P1, P2, P3, P4, P5, P6, P7, P8, P9, P10, P11, P12, P13, P14, P15, P16, P17, P18, P19, P20, T <: Product](construct: (P1, P2, P3, P4, P5, P6, P7, P8, P9, P10, P11, P12, P13, P14, P15, P16, P17, P18, P19, P20) ⇒ T, fieldName1: String, fieldName2: String, fieldName3: String, fieldName4: String, fieldName5: String, fieldName6: String, fieldName7: String, fieldName8: String, fieldName9: String, fieldName10: String, fieldName11: String, fieldName12: String, fieldName13: String, fieldName14: String, fieldName15: String, fieldName16: String, fieldName17: String, fieldName18: String, fieldName19: String, fieldName20: String)(implicit arg0: JF[P1], arg1: JF[P2], arg2: JF[P3], arg3: JF[P4], arg4: JF[P5], arg5: JF[P6], arg6: JF[P7], arg7: JF[P8], arg8: JF[P9], arg9: JF[P10], arg10: JF[P11], arg11: JF[P12], arg12: JF[P13], arg13: JF[P14], arg14: JF[P15], arg15: JF[P16], arg16: JF[P17], arg17: JF[P18], arg18: JF[P19], arg19: JF[P20]): RootJsonFormat[T] + +

                                                  + + Permalink + + +
                                                  Definition Classes
                                                  ProductFormatsInstances
                                                  +
                                                44. + + +

                                                  + + + def + + + jsonFormat[P1, P2, P3, P4, P5, P6, P7, P8, P9, P10, P11, P12, P13, P14, P15, P16, P17, P18, P19, T <: Product](construct: (P1, P2, P3, P4, P5, P6, P7, P8, P9, P10, P11, P12, P13, P14, P15, P16, P17, P18, P19) ⇒ T, fieldName1: String, fieldName2: String, fieldName3: String, fieldName4: String, fieldName5: String, fieldName6: String, fieldName7: String, fieldName8: String, fieldName9: String, fieldName10: String, fieldName11: String, fieldName12: String, fieldName13: String, fieldName14: String, fieldName15: String, fieldName16: String, fieldName17: String, fieldName18: String, fieldName19: String)(implicit arg0: JF[P1], arg1: JF[P2], arg2: JF[P3], arg3: JF[P4], arg4: JF[P5], arg5: JF[P6], arg6: JF[P7], arg7: JF[P8], arg8: JF[P9], arg9: JF[P10], arg10: JF[P11], arg11: JF[P12], arg12: JF[P13], arg13: JF[P14], arg14: JF[P15], arg15: JF[P16], arg16: JF[P17], arg17: JF[P18], arg18: JF[P19]): RootJsonFormat[T] + +

                                                  + + Permalink + + +
                                                  Definition Classes
                                                  ProductFormatsInstances
                                                  +
                                                45. + + +

                                                  + + + def + + + jsonFormat[P1, P2, P3, P4, P5, P6, P7, P8, P9, P10, P11, P12, P13, P14, P15, P16, P17, P18, T <: Product](construct: (P1, P2, P3, P4, P5, P6, P7, P8, P9, P10, P11, P12, P13, P14, P15, P16, P17, P18) ⇒ T, fieldName1: String, fieldName2: String, fieldName3: String, fieldName4: String, fieldName5: String, fieldName6: String, fieldName7: String, fieldName8: String, fieldName9: String, fieldName10: String, fieldName11: String, fieldName12: String, fieldName13: String, fieldName14: String, fieldName15: String, fieldName16: String, fieldName17: String, fieldName18: String)(implicit arg0: JF[P1], arg1: JF[P2], arg2: JF[P3], arg3: JF[P4], arg4: JF[P5], arg5: JF[P6], arg6: JF[P7], arg7: JF[P8], arg8: JF[P9], arg9: JF[P10], arg10: JF[P11], arg11: JF[P12], arg12: JF[P13], arg13: JF[P14], arg14: JF[P15], arg15: JF[P16], arg16: JF[P17], arg17: JF[P18]): RootJsonFormat[T] + +

                                                  + + Permalink + + +
                                                  Definition Classes
                                                  ProductFormatsInstances
                                                  +
                                                46. + + +

                                                  + + + def + + + jsonFormat[P1, P2, P3, P4, P5, P6, P7, P8, P9, P10, P11, P12, P13, P14, P15, P16, P17, T <: Product](construct: (P1, P2, P3, P4, P5, P6, P7, P8, P9, P10, P11, P12, P13, P14, P15, P16, P17) ⇒ T, fieldName1: String, fieldName2: String, fieldName3: String, fieldName4: String, fieldName5: String, fieldName6: String, fieldName7: String, fieldName8: String, fieldName9: String, fieldName10: String, fieldName11: String, fieldName12: String, fieldName13: String, fieldName14: String, fieldName15: String, fieldName16: String, fieldName17: String)(implicit arg0: JF[P1], arg1: JF[P2], arg2: JF[P3], arg3: JF[P4], arg4: JF[P5], arg5: JF[P6], arg6: JF[P7], arg7: JF[P8], arg8: JF[P9], arg9: JF[P10], arg10: JF[P11], arg11: JF[P12], arg12: JF[P13], arg13: JF[P14], arg14: JF[P15], arg15: JF[P16], arg16: JF[P17]): RootJsonFormat[T] + +

                                                  + + Permalink + + +
                                                  Definition Classes
                                                  ProductFormatsInstances
                                                  +
                                                47. + + +

                                                  + + + def + + + jsonFormat[P1, P2, P3, P4, P5, P6, P7, P8, P9, P10, P11, P12, P13, P14, P15, P16, T <: Product](construct: (P1, P2, P3, P4, P5, P6, P7, P8, P9, P10, P11, P12, P13, P14, P15, P16) ⇒ T, fieldName1: String, fieldName2: String, fieldName3: String, fieldName4: String, fieldName5: String, fieldName6: String, fieldName7: String, fieldName8: String, fieldName9: String, fieldName10: String, fieldName11: String, fieldName12: String, fieldName13: String, fieldName14: String, fieldName15: String, fieldName16: String)(implicit arg0: JF[P1], arg1: JF[P2], arg2: JF[P3], arg3: JF[P4], arg4: JF[P5], arg5: JF[P6], arg6: JF[P7], arg7: JF[P8], arg8: JF[P9], arg9: JF[P10], arg10: JF[P11], arg11: JF[P12], arg12: JF[P13], arg13: JF[P14], arg14: JF[P15], arg15: JF[P16]): RootJsonFormat[T] + +

                                                  + + Permalink + + +
                                                  Definition Classes
                                                  ProductFormatsInstances
                                                  +
                                                48. + + +

                                                  + + + def + + + jsonFormat[P1, P2, P3, P4, P5, P6, P7, P8, P9, P10, P11, P12, P13, P14, P15, T <: Product](construct: (P1, P2, P3, P4, P5, P6, P7, P8, P9, P10, P11, P12, P13, P14, P15) ⇒ T, fieldName1: String, fieldName2: String, fieldName3: String, fieldName4: String, fieldName5: String, fieldName6: String, fieldName7: String, fieldName8: String, fieldName9: String, fieldName10: String, fieldName11: String, fieldName12: String, fieldName13: String, fieldName14: String, fieldName15: String)(implicit arg0: JF[P1], arg1: JF[P2], arg2: JF[P3], arg3: JF[P4], arg4: JF[P5], arg5: JF[P6], arg6: JF[P7], arg7: JF[P8], arg8: JF[P9], arg9: JF[P10], arg10: JF[P11], arg11: JF[P12], arg12: JF[P13], arg13: JF[P14], arg14: JF[P15]): RootJsonFormat[T] + +

                                                  + + Permalink + + +
                                                  Definition Classes
                                                  ProductFormatsInstances
                                                  +
                                                49. + + +

                                                  + + + def + + + jsonFormat[P1, P2, P3, P4, P5, P6, P7, P8, P9, P10, P11, P12, P13, P14, T <: Product](construct: (P1, P2, P3, P4, P5, P6, P7, P8, P9, P10, P11, P12, P13, P14) ⇒ T, fieldName1: String, fieldName2: String, fieldName3: String, fieldName4: String, fieldName5: String, fieldName6: String, fieldName7: String, fieldName8: String, fieldName9: String, fieldName10: String, fieldName11: String, fieldName12: String, fieldName13: String, fieldName14: String)(implicit arg0: JF[P1], arg1: JF[P2], arg2: JF[P3], arg3: JF[P4], arg4: JF[P5], arg5: JF[P6], arg6: JF[P7], arg7: JF[P8], arg8: JF[P9], arg9: JF[P10], arg10: JF[P11], arg11: JF[P12], arg12: JF[P13], arg13: JF[P14]): RootJsonFormat[T] + +

                                                  + + Permalink + + +
                                                  Definition Classes
                                                  ProductFormatsInstances
                                                  +
                                                50. + + +

                                                  + + + def + + + jsonFormat[P1, P2, P3, P4, P5, P6, P7, P8, P9, P10, P11, P12, P13, T <: Product](construct: (P1, P2, P3, P4, P5, P6, P7, P8, P9, P10, P11, P12, P13) ⇒ T, fieldName1: String, fieldName2: String, fieldName3: String, fieldName4: String, fieldName5: String, fieldName6: String, fieldName7: String, fieldName8: String, fieldName9: String, fieldName10: String, fieldName11: String, fieldName12: String, fieldName13: String)(implicit arg0: JF[P1], arg1: JF[P2], arg2: JF[P3], arg3: JF[P4], arg4: JF[P5], arg5: JF[P6], arg6: JF[P7], arg7: JF[P8], arg8: JF[P9], arg9: JF[P10], arg10: JF[P11], arg11: JF[P12], arg12: JF[P13]): RootJsonFormat[T] + +

                                                  + + Permalink + + +
                                                  Definition Classes
                                                  ProductFormatsInstances
                                                  +
                                                51. + + +

                                                  + + + def + + + jsonFormat[P1, P2, P3, P4, P5, P6, P7, P8, P9, P10, P11, P12, T <: Product](construct: (P1, P2, P3, P4, P5, P6, P7, P8, P9, P10, P11, P12) ⇒ T, fieldName1: String, fieldName2: String, fieldName3: String, fieldName4: String, fieldName5: String, fieldName6: String, fieldName7: String, fieldName8: String, fieldName9: String, fieldName10: String, fieldName11: String, fieldName12: String)(implicit arg0: JF[P1], arg1: JF[P2], arg2: JF[P3], arg3: JF[P4], arg4: JF[P5], arg5: JF[P6], arg6: JF[P7], arg7: JF[P8], arg8: JF[P9], arg9: JF[P10], arg10: JF[P11], arg11: JF[P12]): RootJsonFormat[T] + +

                                                  + + Permalink + + +
                                                  Definition Classes
                                                  ProductFormatsInstances
                                                  +
                                                52. + + +

                                                  + + + def + + + jsonFormat[P1, P2, P3, P4, P5, P6, P7, P8, P9, P10, P11, T <: Product](construct: (P1, P2, P3, P4, P5, P6, P7, P8, P9, P10, P11) ⇒ T, fieldName1: String, fieldName2: String, fieldName3: String, fieldName4: String, fieldName5: String, fieldName6: String, fieldName7: String, fieldName8: String, fieldName9: String, fieldName10: String, fieldName11: String)(implicit arg0: JF[P1], arg1: JF[P2], arg2: JF[P3], arg3: JF[P4], arg4: JF[P5], arg5: JF[P6], arg6: JF[P7], arg7: JF[P8], arg8: JF[P9], arg9: JF[P10], arg10: JF[P11]): RootJsonFormat[T] + +

                                                  + + Permalink + + +
                                                  Definition Classes
                                                  ProductFormatsInstances
                                                  +
                                                53. + + +

                                                  + + + def + + + jsonFormat[P1, P2, P3, P4, P5, P6, P7, P8, P9, P10, T <: Product](construct: (P1, P2, P3, P4, P5, P6, P7, P8, P9, P10) ⇒ T, fieldName1: String, fieldName2: String, fieldName3: String, fieldName4: String, fieldName5: String, fieldName6: String, fieldName7: String, fieldName8: String, fieldName9: String, fieldName10: String)(implicit arg0: JF[P1], arg1: JF[P2], arg2: JF[P3], arg3: JF[P4], arg4: JF[P5], arg5: JF[P6], arg6: JF[P7], arg7: JF[P8], arg8: JF[P9], arg9: JF[P10]): RootJsonFormat[T] + +

                                                  + + Permalink + + +
                                                  Definition Classes
                                                  ProductFormatsInstances
                                                  +
                                                54. + + +

                                                  + + + def + + + jsonFormat[P1, P2, P3, P4, P5, P6, P7, P8, P9, T <: Product](construct: (P1, P2, P3, P4, P5, P6, P7, P8, P9) ⇒ T, fieldName1: String, fieldName2: String, fieldName3: String, fieldName4: String, fieldName5: String, fieldName6: String, fieldName7: String, fieldName8: String, fieldName9: String)(implicit arg0: JF[P1], arg1: JF[P2], arg2: JF[P3], arg3: JF[P4], arg4: JF[P5], arg5: JF[P6], arg6: JF[P7], arg7: JF[P8], arg8: JF[P9]): RootJsonFormat[T] + +

                                                  + + Permalink + + +
                                                  Definition Classes
                                                  ProductFormatsInstances
                                                  +
                                                55. + + +

                                                  + + + def + + + jsonFormat[P1, P2, P3, P4, P5, P6, P7, P8, T <: Product](construct: (P1, P2, P3, P4, P5, P6, P7, P8) ⇒ T, fieldName1: String, fieldName2: String, fieldName3: String, fieldName4: String, fieldName5: String, fieldName6: String, fieldName7: String, fieldName8: String)(implicit arg0: JF[P1], arg1: JF[P2], arg2: JF[P3], arg3: JF[P4], arg4: JF[P5], arg5: JF[P6], arg6: JF[P7], arg7: JF[P8]): RootJsonFormat[T] + +

                                                  + + Permalink + + +
                                                  Definition Classes
                                                  ProductFormatsInstances
                                                  +
                                                56. + + +

                                                  + + + def + + + jsonFormat[P1, P2, P3, P4, P5, P6, P7, T <: Product](construct: (P1, P2, P3, P4, P5, P6, P7) ⇒ T, fieldName1: String, fieldName2: String, fieldName3: String, fieldName4: String, fieldName5: String, fieldName6: String, fieldName7: String)(implicit arg0: JF[P1], arg1: JF[P2], arg2: JF[P3], arg3: JF[P4], arg4: JF[P5], arg5: JF[P6], arg6: JF[P7]): RootJsonFormat[T] + +

                                                  + + Permalink + + +
                                                  Definition Classes
                                                  ProductFormatsInstances
                                                  +
                                                57. + + +

                                                  + + + def + + + jsonFormat[P1, P2, P3, P4, P5, P6, T <: Product](construct: (P1, P2, P3, P4, P5, P6) ⇒ T, fieldName1: String, fieldName2: String, fieldName3: String, fieldName4: String, fieldName5: String, fieldName6: String)(implicit arg0: JF[P1], arg1: JF[P2], arg2: JF[P3], arg3: JF[P4], arg4: JF[P5], arg5: JF[P6]): RootJsonFormat[T] + +

                                                  + + Permalink + + +
                                                  Definition Classes
                                                  ProductFormatsInstances
                                                  +
                                                58. + + +

                                                  + + + def + + + jsonFormat[P1, P2, P3, P4, P5, T <: Product](construct: (P1, P2, P3, P4, P5) ⇒ T, fieldName1: String, fieldName2: String, fieldName3: String, fieldName4: String, fieldName5: String)(implicit arg0: JF[P1], arg1: JF[P2], arg2: JF[P3], arg3: JF[P4], arg4: JF[P5]): RootJsonFormat[T] + +

                                                  + + Permalink + + +
                                                  Definition Classes
                                                  ProductFormatsInstances
                                                  +
                                                59. + + +

                                                  + + + def + + + jsonFormat[P1, P2, P3, P4, T <: Product](construct: (P1, P2, P3, P4) ⇒ T, fieldName1: String, fieldName2: String, fieldName3: String, fieldName4: String)(implicit arg0: JF[P1], arg1: JF[P2], arg2: JF[P3], arg3: JF[P4]): RootJsonFormat[T] + +

                                                  + + Permalink + + +
                                                  Definition Classes
                                                  ProductFormatsInstances
                                                  +
                                                60. + + +

                                                  + + + def + + + jsonFormat[P1, P2, P3, T <: Product](construct: (P1, P2, P3) ⇒ T, fieldName1: String, fieldName2: String, fieldName3: String)(implicit arg0: JF[P1], arg1: JF[P2], arg2: JF[P3]): RootJsonFormat[T] + +

                                                  + + Permalink + + +
                                                  Definition Classes
                                                  ProductFormatsInstances
                                                  +
                                                61. + + +

                                                  + + + def + + + jsonFormat[P1, P2, T <: Product](construct: (P1, P2) ⇒ T, fieldName1: String, fieldName2: String)(implicit arg0: JF[P1], arg1: JF[P2]): RootJsonFormat[T] + +

                                                  + + Permalink + + +
                                                  Definition Classes
                                                  ProductFormatsInstances
                                                  +
                                                62. + + +

                                                  + + + def + + + jsonFormat[P1, T <: Product](construct: (P1) ⇒ T, fieldName1: String)(implicit arg0: JF[P1]): RootJsonFormat[T] + +

                                                  + + Permalink + + +
                                                  Definition Classes
                                                  ProductFormatsInstances
                                                  +
                                                63. + + +

                                                  + + + def + + + jsonFormat0[T](construct: () ⇒ T): RootJsonFormat[T] + +

                                                  + + Permalink + + +
                                                  Definition Classes
                                                  ProductFormats
                                                  +
                                                64. + + +

                                                  + + + def + + + jsonFormat1[P1, T <: Product](construct: (P1) ⇒ T)(implicit arg0: JF[P1], arg1: ClassManifest[T]): RootJsonFormat[T] + +

                                                  + + Permalink + + +
                                                  Definition Classes
                                                  ProductFormatsInstances
                                                  +
                                                65. + + +

                                                  + + + def + + + jsonFormat10[P1, P2, P3, P4, P5, P6, P7, P8, P9, P10, T <: Product](construct: (P1, P2, P3, P4, P5, P6, P7, P8, P9, P10) ⇒ T)(implicit arg0: JF[P1], arg1: JF[P2], arg2: JF[P3], arg3: JF[P4], arg4: JF[P5], arg5: JF[P6], arg6: JF[P7], arg7: JF[P8], arg8: JF[P9], arg9: JF[P10], arg10: ClassManifest[T]): RootJsonFormat[T] + +

                                                  + + Permalink + + +
                                                  Definition Classes
                                                  ProductFormatsInstances
                                                  +
                                                66. + + +

                                                  + + + def + + + jsonFormat11[P1, P2, P3, P4, P5, P6, P7, P8, P9, P10, P11, T <: Product](construct: (P1, P2, P3, P4, P5, P6, P7, P8, P9, P10, P11) ⇒ T)(implicit arg0: JF[P1], arg1: JF[P2], arg2: JF[P3], arg3: JF[P4], arg4: JF[P5], arg5: JF[P6], arg6: JF[P7], arg7: JF[P8], arg8: JF[P9], arg9: JF[P10], arg10: JF[P11], arg11: ClassManifest[T]): RootJsonFormat[T] + +

                                                  + + Permalink + + +
                                                  Definition Classes
                                                  ProductFormatsInstances
                                                  +
                                                67. + + +

                                                  + + + def + + + jsonFormat12[P1, P2, P3, P4, P5, P6, P7, P8, P9, P10, P11, P12, T <: Product](construct: (P1, P2, P3, P4, P5, P6, P7, P8, P9, P10, P11, P12) ⇒ T)(implicit arg0: JF[P1], arg1: JF[P2], arg2: JF[P3], arg3: JF[P4], arg4: JF[P5], arg5: JF[P6], arg6: JF[P7], arg7: JF[P8], arg8: JF[P9], arg9: JF[P10], arg10: JF[P11], arg11: JF[P12], arg12: ClassManifest[T]): RootJsonFormat[T] + +

                                                  + + Permalink + + +
                                                  Definition Classes
                                                  ProductFormatsInstances
                                                  +
                                                68. + + +

                                                  + + + def + + + jsonFormat13[P1, P2, P3, P4, P5, P6, P7, P8, P9, P10, P11, P12, P13, T <: Product](construct: (P1, P2, P3, P4, P5, P6, P7, P8, P9, P10, P11, P12, P13) ⇒ T)(implicit arg0: JF[P1], arg1: JF[P2], arg2: JF[P3], arg3: JF[P4], arg4: JF[P5], arg5: JF[P6], arg6: JF[P7], arg7: JF[P8], arg8: JF[P9], arg9: JF[P10], arg10: JF[P11], arg11: JF[P12], arg12: JF[P13], arg13: ClassManifest[T]): RootJsonFormat[T] + +

                                                  + + Permalink + + +
                                                  Definition Classes
                                                  ProductFormatsInstances
                                                  +
                                                69. + + +

                                                  + + + def + + + jsonFormat14[P1, P2, P3, P4, P5, P6, P7, P8, P9, P10, P11, P12, P13, P14, T <: Product](construct: (P1, P2, P3, P4, P5, P6, P7, P8, P9, P10, P11, P12, P13, P14) ⇒ T)(implicit arg0: JF[P1], arg1: JF[P2], arg2: JF[P3], arg3: JF[P4], arg4: JF[P5], arg5: JF[P6], arg6: JF[P7], arg7: JF[P8], arg8: JF[P9], arg9: JF[P10], arg10: JF[P11], arg11: JF[P12], arg12: JF[P13], arg13: JF[P14], arg14: ClassManifest[T]): RootJsonFormat[T] + +

                                                  + + Permalink + + +
                                                  Definition Classes
                                                  ProductFormatsInstances
                                                  +
                                                70. + + +

                                                  + + + def + + + jsonFormat15[P1, P2, P3, P4, P5, P6, P7, P8, P9, P10, P11, P12, P13, P14, P15, T <: Product](construct: (P1, P2, P3, P4, P5, P6, P7, P8, P9, P10, P11, P12, P13, P14, P15) ⇒ T)(implicit arg0: JF[P1], arg1: JF[P2], arg2: JF[P3], arg3: JF[P4], arg4: JF[P5], arg5: JF[P6], arg6: JF[P7], arg7: JF[P8], arg8: JF[P9], arg9: JF[P10], arg10: JF[P11], arg11: JF[P12], arg12: JF[P13], arg13: JF[P14], arg14: JF[P15], arg15: ClassManifest[T]): RootJsonFormat[T] + +

                                                  + + Permalink + + +
                                                  Definition Classes
                                                  ProductFormatsInstances
                                                  +
                                                71. + + +

                                                  + + + def + + + jsonFormat16[P1, P2, P3, P4, P5, P6, P7, P8, P9, P10, P11, P12, P13, P14, P15, P16, T <: Product](construct: (P1, P2, P3, P4, P5, P6, P7, P8, P9, P10, P11, P12, P13, P14, P15, P16) ⇒ T)(implicit arg0: JF[P1], arg1: JF[P2], arg2: JF[P3], arg3: JF[P4], arg4: JF[P5], arg5: JF[P6], arg6: JF[P7], arg7: JF[P8], arg8: JF[P9], arg9: JF[P10], arg10: JF[P11], arg11: JF[P12], arg12: JF[P13], arg13: JF[P14], arg14: JF[P15], arg15: JF[P16], arg16: ClassManifest[T]): RootJsonFormat[T] + +

                                                  + + Permalink + + +
                                                  Definition Classes
                                                  ProductFormatsInstances
                                                  +
                                                72. + + +

                                                  + + + def + + + jsonFormat17[P1, P2, P3, P4, P5, P6, P7, P8, P9, P10, P11, P12, P13, P14, P15, P16, P17, T <: Product](construct: (P1, P2, P3, P4, P5, P6, P7, P8, P9, P10, P11, P12, P13, P14, P15, P16, P17) ⇒ T)(implicit arg0: JF[P1], arg1: JF[P2], arg2: JF[P3], arg3: JF[P4], arg4: JF[P5], arg5: JF[P6], arg6: JF[P7], arg7: JF[P8], arg8: JF[P9], arg9: JF[P10], arg10: JF[P11], arg11: JF[P12], arg12: JF[P13], arg13: JF[P14], arg14: JF[P15], arg15: JF[P16], arg16: JF[P17], arg17: ClassManifest[T]): RootJsonFormat[T] + +

                                                  + + Permalink + + +
                                                  Definition Classes
                                                  ProductFormatsInstances
                                                  +
                                                73. + + +

                                                  + + + def + + + jsonFormat18[P1, P2, P3, P4, P5, P6, P7, P8, P9, P10, P11, P12, P13, P14, P15, P16, P17, P18, T <: Product](construct: (P1, P2, P3, P4, P5, P6, P7, P8, P9, P10, P11, P12, P13, P14, P15, P16, P17, P18) ⇒ T)(implicit arg0: JF[P1], arg1: JF[P2], arg2: JF[P3], arg3: JF[P4], arg4: JF[P5], arg5: JF[P6], arg6: JF[P7], arg7: JF[P8], arg8: JF[P9], arg9: JF[P10], arg10: JF[P11], arg11: JF[P12], arg12: JF[P13], arg13: JF[P14], arg14: JF[P15], arg15: JF[P16], arg16: JF[P17], arg17: JF[P18], arg18: ClassManifest[T]): RootJsonFormat[T] + +

                                                  + + Permalink + + +
                                                  Definition Classes
                                                  ProductFormatsInstances
                                                  +
                                                74. + + +

                                                  + + + def + + + jsonFormat19[P1, P2, P3, P4, P5, P6, P7, P8, P9, P10, P11, P12, P13, P14, P15, P16, P17, P18, P19, T <: Product](construct: (P1, P2, P3, P4, P5, P6, P7, P8, P9, P10, P11, P12, P13, P14, P15, P16, P17, P18, P19) ⇒ T)(implicit arg0: JF[P1], arg1: JF[P2], arg2: JF[P3], arg3: JF[P4], arg4: JF[P5], arg5: JF[P6], arg6: JF[P7], arg7: JF[P8], arg8: JF[P9], arg9: JF[P10], arg10: JF[P11], arg11: JF[P12], arg12: JF[P13], arg13: JF[P14], arg14: JF[P15], arg15: JF[P16], arg16: JF[P17], arg17: JF[P18], arg18: JF[P19], arg19: ClassManifest[T]): RootJsonFormat[T] + +

                                                  + + Permalink + + +
                                                  Definition Classes
                                                  ProductFormatsInstances
                                                  +
                                                75. + + +

                                                  + + + def + + + jsonFormat2[P1, P2, T <: Product](construct: (P1, P2) ⇒ T)(implicit arg0: JF[P1], arg1: JF[P2], arg2: ClassManifest[T]): RootJsonFormat[T] + +

                                                  + + Permalink + + +
                                                  Definition Classes
                                                  ProductFormatsInstances
                                                  +
                                                76. + + +

                                                  + + + def + + + jsonFormat20[P1, P2, P3, P4, P5, P6, P7, P8, P9, P10, P11, P12, P13, P14, P15, P16, P17, P18, P19, P20, T <: Product](construct: (P1, P2, P3, P4, P5, P6, P7, P8, P9, P10, P11, P12, P13, P14, P15, P16, P17, P18, P19, P20) ⇒ T)(implicit arg0: JF[P1], arg1: JF[P2], arg2: JF[P3], arg3: JF[P4], arg4: JF[P5], arg5: JF[P6], arg6: JF[P7], arg7: JF[P8], arg8: JF[P9], arg9: JF[P10], arg10: JF[P11], arg11: JF[P12], arg12: JF[P13], arg13: JF[P14], arg14: JF[P15], arg15: JF[P16], arg16: JF[P17], arg17: JF[P18], arg18: JF[P19], arg19: JF[P20], arg20: ClassManifest[T]): RootJsonFormat[T] + +

                                                  + + Permalink + + +
                                                  Definition Classes
                                                  ProductFormatsInstances
                                                  +
                                                77. + + +

                                                  + + + def + + + jsonFormat21[P1, P2, P3, P4, P5, P6, P7, P8, P9, P10, P11, P12, P13, P14, P15, P16, P17, P18, P19, P20, P21, T <: Product](construct: (P1, P2, P3, P4, P5, P6, P7, P8, P9, P10, P11, P12, P13, P14, P15, P16, P17, P18, P19, P20, P21) ⇒ T)(implicit arg0: JF[P1], arg1: JF[P2], arg2: JF[P3], arg3: JF[P4], arg4: JF[P5], arg5: JF[P6], arg6: JF[P7], arg7: JF[P8], arg8: JF[P9], arg9: JF[P10], arg10: JF[P11], arg11: JF[P12], arg12: JF[P13], arg13: JF[P14], arg14: JF[P15], arg15: JF[P16], arg16: JF[P17], arg17: JF[P18], arg18: JF[P19], arg19: JF[P20], arg20: JF[P21], arg21: ClassManifest[T]): RootJsonFormat[T] + +

                                                  + + Permalink + + +
                                                  Definition Classes
                                                  ProductFormatsInstances
                                                  +
                                                78. + + +

                                                  + + + def + + + jsonFormat22[P1, P2, P3, P4, P5, P6, P7, P8, P9, P10, P11, P12, P13, P14, P15, P16, P17, P18, P19, P20, P21, P22, T <: Product](construct: (P1, P2, P3, P4, P5, P6, P7, P8, P9, P10, P11, P12, P13, P14, P15, P16, P17, P18, P19, P20, P21, P22) ⇒ T)(implicit arg0: JF[P1], arg1: JF[P2], arg2: JF[P3], arg3: JF[P4], arg4: JF[P5], arg5: JF[P6], arg6: JF[P7], arg7: JF[P8], arg8: JF[P9], arg9: JF[P10], arg10: JF[P11], arg11: JF[P12], arg12: JF[P13], arg13: JF[P14], arg14: JF[P15], arg15: JF[P16], arg16: JF[P17], arg17: JF[P18], arg18: JF[P19], arg19: JF[P20], arg20: JF[P21], arg21: JF[P22], arg22: ClassManifest[T]): RootJsonFormat[T] + +

                                                  + + Permalink + + +
                                                  Definition Classes
                                                  ProductFormatsInstances
                                                  +
                                                79. + + +

                                                  + + + def + + + jsonFormat3[P1, P2, P3, T <: Product](construct: (P1, P2, P3) ⇒ T)(implicit arg0: JF[P1], arg1: JF[P2], arg2: JF[P3], arg3: ClassManifest[T]): RootJsonFormat[T] + +

                                                  + + Permalink + + +
                                                  Definition Classes
                                                  ProductFormatsInstances
                                                  +
                                                80. + + +

                                                  + + + def + + + jsonFormat4[P1, P2, P3, P4, T <: Product](construct: (P1, P2, P3, P4) ⇒ T)(implicit arg0: JF[P1], arg1: JF[P2], arg2: JF[P3], arg3: JF[P4], arg4: ClassManifest[T]): RootJsonFormat[T] + +

                                                  + + Permalink + + +
                                                  Definition Classes
                                                  ProductFormatsInstances
                                                  +
                                                81. + + +

                                                  + + + def + + + jsonFormat5[P1, P2, P3, P4, P5, T <: Product](construct: (P1, P2, P3, P4, P5) ⇒ T)(implicit arg0: JF[P1], arg1: JF[P2], arg2: JF[P3], arg3: JF[P4], arg4: JF[P5], arg5: ClassManifest[T]): RootJsonFormat[T] + +

                                                  + + Permalink + + +
                                                  Definition Classes
                                                  ProductFormatsInstances
                                                  +
                                                82. + + +

                                                  + + + def + + + jsonFormat6[P1, P2, P3, P4, P5, P6, T <: Product](construct: (P1, P2, P3, P4, P5, P6) ⇒ T)(implicit arg0: JF[P1], arg1: JF[P2], arg2: JF[P3], arg3: JF[P4], arg4: JF[P5], arg5: JF[P6], arg6: ClassManifest[T]): RootJsonFormat[T] + +

                                                  + + Permalink + + +
                                                  Definition Classes
                                                  ProductFormatsInstances
                                                  +
                                                83. + + +

                                                  + + + def + + + jsonFormat7[P1, P2, P3, P4, P5, P6, P7, T <: Product](construct: (P1, P2, P3, P4, P5, P6, P7) ⇒ T)(implicit arg0: JF[P1], arg1: JF[P2], arg2: JF[P3], arg3: JF[P4], arg4: JF[P5], arg5: JF[P6], arg6: JF[P7], arg7: ClassManifest[T]): RootJsonFormat[T] + +

                                                  + + Permalink + + +
                                                  Definition Classes
                                                  ProductFormatsInstances
                                                  +
                                                84. + + +

                                                  + + + def + + + jsonFormat8[P1, P2, P3, P4, P5, P6, P7, P8, T <: Product](construct: (P1, P2, P3, P4, P5, P6, P7, P8) ⇒ T)(implicit arg0: JF[P1], arg1: JF[P2], arg2: JF[P3], arg3: JF[P4], arg4: JF[P5], arg5: JF[P6], arg6: JF[P7], arg7: JF[P8], arg8: ClassManifest[T]): RootJsonFormat[T] + +

                                                  + + Permalink + + +
                                                  Definition Classes
                                                  ProductFormatsInstances
                                                  +
                                                85. + + +

                                                  + + + def + + + jsonFormat9[P1, P2, P3, P4, P5, P6, P7, P8, P9, T <: Product](construct: (P1, P2, P3, P4, P5, P6, P7, P8, P9) ⇒ T)(implicit arg0: JF[P1], arg1: JF[P2], arg2: JF[P3], arg3: JF[P4], arg4: JF[P5], arg5: JF[P6], arg6: JF[P7], arg7: JF[P8], arg8: JF[P9], arg9: ClassManifest[T]): RootJsonFormat[T] + +

                                                  + + Permalink + + +
                                                  Definition Classes
                                                  ProductFormatsInstances
                                                  +
                                                86. + + +

                                                  + + + def + + + lazyFormat[T](format: ⇒ JsonFormat[T]): JsonFormat[T] { lazy val delegate: spray.json.JsonFormat[T] } + +

                                                  + + Permalink + + +
                                                  Definition Classes
                                                  AdditionalFormats
                                                  +
                                                87. + + +

                                                  + + + def + + + lift[T <: AnyRef](reader: RootJsonReader[T]): RootJsonFormat[T] + +

                                                  + + Permalink + + +
                                                  Definition Classes
                                                  AdditionalFormats
                                                  +
                                                88. + + +

                                                  + + + def + + + lift[T <: AnyRef](reader: JsonReader[T]): JsonFormat[T] + +

                                                  + + Permalink + + +
                                                  Definition Classes
                                                  AdditionalFormats
                                                  +
                                                89. + + +

                                                  + + + def + + + lift[T](writer: RootJsonWriter[T]): RootJsonFormat[T] + +

                                                  + + Permalink + + +
                                                  Definition Classes
                                                  AdditionalFormats
                                                  +
                                                90. + + +

                                                  + + + def + + + lift[T](writer: JsonWriter[T]): JsonFormat[T] { def read(value: spray.json.JsValue): Nothing } + +

                                                  + + Permalink + + +
                                                  Definition Classes
                                                  AdditionalFormats
                                                  +
                                                91. + + +

                                                  + + implicit + def + + + linearSeqFormat[T](implicit arg0: JsonFormat[T]): RootJsonFormat[LinearSeq[T]] + +

                                                  + + Permalink + + +
                                                  Definition Classes
                                                  CollectionFormats
                                                  +
                                                92. + + +

                                                  + + implicit + def + + + listFormat[T](implicit arg0: JsonFormat[T]): RootJsonFormat[List[T]] { def write(list: List[T]): spray.json.JsArray } + +

                                                  + + Permalink + + +
                                                  Definition Classes
                                                  CollectionFormats
                                                  +
                                                93. + + +

                                                  + + implicit + def + + + mapFormat[K, V](implicit arg0: JsonFormat[K], arg1: JsonFormat[V]): RootJsonFormat[Map[K, V]] { def write(m: Map[K,V]): spray.json.JsObject } + +

                                                  + + Permalink + + +
                                                  Definition Classes
                                                  CollectionFormats
                                                  +
                                                94. + + +

                                                  + + final + def + + + ne(arg0: AnyRef): Boolean + +

                                                  + + Permalink + + +
                                                  Definition Classes
                                                  AnyRef
                                                  +
                                                95. + + +

                                                  + + final + def + + + notify(): Unit + +

                                                  + + Permalink + + +
                                                  Definition Classes
                                                  AnyRef
                                                  +
                                                96. + + +

                                                  + + final + def + + + notifyAll(): Unit + +

                                                  + + Permalink + + +
                                                  Definition Classes
                                                  AnyRef
                                                  +
                                                97. + + +

                                                  + + implicit + def + + + optionFormat[T](implicit arg0: JF[T]): JF[Option[T]] + +

                                                  + + Permalink + + +
                                                  Definition Classes
                                                  StandardFormats
                                                  +
                                                98. + + +

                                                  + + + def + + + productElement2Field[T](fieldName: String, p: Product, ix: Int, rest: List[JsField])(implicit writer: JsonWriter[T]): List[JsField] + +

                                                  + + Permalink + + +
                                                  Attributes
                                                  protected
                                                  Definition Classes
                                                  ProductFormats
                                                  +
                                                99. + + +

                                                  + + + def + + + rootFormat[T](format: JsonFormat[T]): RootJsonFormat[T] + +

                                                  + + Permalink + + +
                                                  Definition Classes
                                                  AdditionalFormats
                                                  +
                                                100. + + +

                                                  + + + def + + + rootJsonFormat[T](reader: RootJsonReader[T], writer: RootJsonWriter[T]): RootJsonFormat[T] + +

                                                  + + Permalink + + +
                                                  Definition Classes
                                                  AdditionalFormats
                                                  +
                                                101. + + +

                                                  + + + def + + + safeReader[A](implicit arg0: JsonReader[A]): JsonReader[Either[Exception, A]] + +

                                                  + + Permalink + + +
                                                  Definition Classes
                                                  AdditionalFormats
                                                  +
                                                102. + + +

                                                  + + implicit + def + + + seqFormat[T](implicit arg0: JsonFormat[T]): RootJsonFormat[Seq[T]] + +

                                                  + + Permalink + + +
                                                  Definition Classes
                                                  CollectionFormats
                                                  +
                                                103. + + +

                                                  + + implicit + def + + + setFormat[T](implicit arg0: JsonFormat[T]): RootJsonFormat[Set[T]] + +

                                                  + + Permalink + + +
                                                  Definition Classes
                                                  CollectionFormats
                                                  +
                                                104. + + +

                                                  + + final + def + + + synchronized[T0](arg0: ⇒ T0): T0 + +

                                                  + + Permalink + + +
                                                  Definition Classes
                                                  AnyRef
                                                  +
                                                105. + + +

                                                  + + + def + + + toString(): String + +

                                                  + + Permalink + + +
                                                  Definition Classes
                                                  AnyRef → Any
                                                  +
                                                106. + + +

                                                  + + implicit + def + + + tuple1Format[A](implicit arg0: JF[A]): JF[(A)] + +

                                                  + + Permalink + + +
                                                  Definition Classes
                                                  StandardFormats
                                                  +
                                                107. + + +

                                                  + + implicit + def + + + tuple2Format[A, B](implicit arg0: JF[A], arg1: JF[B]): RootJsonFormat[(A, B)] { def write(t: (A, B)): spray.json.JsArray } + +

                                                  + + Permalink + + +
                                                  Definition Classes
                                                  StandardFormats
                                                  +
                                                108. + + +

                                                  + + implicit + def + + + tuple3Format[A, B, C](implicit arg0: JF[A], arg1: JF[B], arg2: JF[C]): RootJsonFormat[(A, B, C)] { def write(t: (A, B, C)): spray.json.JsArray } + +

                                                  + + Permalink + + +
                                                  Definition Classes
                                                  StandardFormats
                                                  +
                                                109. + + +

                                                  + + implicit + def + + + tuple4Format[A, B, C, D](implicit arg0: JF[A], arg1: JF[B], arg2: JF[C], arg3: JF[D]): RootJsonFormat[(A, B, C, D)] { def write(t: (A, B, C, D)): spray.json.JsArray } + +

                                                  + + Permalink + + +
                                                  Definition Classes
                                                  StandardFormats
                                                  +
                                                110. + + +

                                                  + + implicit + def + + + tuple5Format[A, B, C, D, E](implicit arg0: JF[A], arg1: JF[B], arg2: JF[C], arg3: JF[D], arg4: JF[E]): RootJsonFormat[(A, B, C, D, E)] { def write(t: (A, B, C, D, E)): spray.json.JsArray } + +

                                                  + + Permalink + + +
                                                  Definition Classes
                                                  StandardFormats
                                                  +
                                                111. + + +

                                                  + + implicit + def + + + tuple6Format[A, B, C, D, E, F](implicit arg0: JF[A], arg1: JF[B], arg2: JF[C], arg3: JF[D], arg4: JF[E], arg5: JF[F]): RootJsonFormat[(A, B, C, D, E, F)] { def write(t: (A, B, C, D, E, F)): spray.json.JsArray } + +

                                                  + + Permalink + + +
                                                  Definition Classes
                                                  StandardFormats
                                                  +
                                                112. + + +

                                                  + + implicit + def + + + tuple7Format[A, B, C, D, E, F, G](implicit arg0: JF[A], arg1: JF[B], arg2: JF[C], arg3: JF[D], arg4: JF[E], arg5: JF[F], arg6: JF[G]): RootJsonFormat[(A, B, C, D, E, F, G)] { def write(t: (A, B, C, D, E, F, G)): spray.json.JsArray } + +

                                                  + + Permalink + + +
                                                  Definition Classes
                                                  StandardFormats
                                                  +
                                                113. + + +

                                                  + + implicit + def + + + vectorFormat[T](implicit arg0: JsonFormat[T]): RootJsonFormat[Vector[T]] + +

                                                  + + Permalink + + +
                                                  Definition Classes
                                                  CollectionFormats
                                                  +
                                                114. + + +

                                                  + + + def + + + viaSeq[I <: Iterable[T], T](f: (Seq[T]) ⇒ I)(implicit arg0: JsonFormat[T]): RootJsonFormat[I] + +

                                                  + + Permalink + + +
                                                  Definition Classes
                                                  CollectionFormats
                                                  +
                                                115. + + +

                                                  + + final + def + + + wait(): Unit + +

                                                  + + Permalink + + +
                                                  Definition Classes
                                                  AnyRef
                                                  Annotations
                                                  + @throws( + + ... + ) + +
                                                  +
                                                116. + + +

                                                  + + final + def + + + wait(arg0: Long, arg1: Int): Unit + +

                                                  + + Permalink + + +
                                                  Definition Classes
                                                  AnyRef
                                                  Annotations
                                                  + @throws( + + ... + ) + +
                                                  +
                                                117. + + +

                                                  + + final + def + + + wait(arg0: Long): Unit + +

                                                  + + Permalink + + +
                                                  Definition Classes
                                                  AnyRef
                                                  Annotations
                                                  + @throws( + + ... + ) + +
                                                  +
                                                +
                                                + + + + +
                                                + +
                                                +
                                                +

                                                Inherited from DefaultJsonProtocol

                                                +
                                                +

                                                Inherited from AdditionalFormats

                                                +
                                                +

                                                Inherited from ProductFormats

                                                +
                                                +

                                                Inherited from ProductFormatsInstances

                                                +
                                                +

                                                Inherited from CollectionFormats

                                                +
                                                +

                                                Inherited from StandardFormats

                                                +
                                                +

                                                Inherited from BasicFormats

                                                +
                                                +

                                                Inherited from AnyRef

                                                +
                                                +

                                                Inherited from Any

                                                +
                                                + +
                                                + +
                                                +
                                                +

                                                Ungrouped

                                                + +
                                                +
                                                + +
                                                + +
                                                + + + + + + diff --git a/manual1903/api_reference/components/scaladocs/ksb/csle/component/operator/service/PredictResult.html b/manual1903/api_reference/components/scaladocs/ksb/csle/component/operator/service/PredictResult.html new file mode 100644 index 0000000000000000000000000000000000000000..c5c0d01761caca442e7323593ed8c94f1f3dd649 --- /dev/null +++ b/manual1903/api_reference/components/scaladocs/ksb/csle/component/operator/service/PredictResult.html @@ -0,0 +1,478 @@ + + + + PredictResult - KSB COMPONENTS Scala App Project 1.0-SNAPSHOT API - ksb.csle.component.operator.service.PredictResult + + + + + + + + + + + + + + + +
                                                + Class +

                                                ksb.csle.component.operator.service

                                                +

                                                PredictResult

                                                Related Doc: + package service +

                                                + + Permalink + + +
                                                + +

                                                + + final + case class + + + PredictResult(predicted_label: Double) extends Product with Serializable + +

                                                + +

                                                :: ApplicationDeveloperApi ::

                                                Operator that queries recommanded device control with pipelined data that passed +from predictoin engine. +

                                                + Linear Supertypes +
                                                Serializable, Serializable, Product, Equals, AnyRef, Any
                                                +
                                                + + +
                                                +
                                                +
                                                + Ordering +
                                                  + +
                                                1. Alphabetic
                                                2. +
                                                3. By Inheritance
                                                4. +
                                                +
                                                +
                                                + Inherited
                                                +
                                                +
                                                  +
                                                1. PredictResult
                                                2. Serializable
                                                3. Serializable
                                                4. Product
                                                5. Equals
                                                6. AnyRef
                                                7. Any
                                                8. +
                                                +
                                                + +
                                                  +
                                                1. Hide All
                                                2. +
                                                3. Show All
                                                4. +
                                                +
                                                +
                                                + Visibility +
                                                1. Public
                                                2. All
                                                +
                                                +
                                                + +
                                                +
                                                +
                                                +

                                                Instance Constructors

                                                +
                                                1. + + +

                                                  + + + new + + + PredictResult(predicted_label: Double) + +

                                                  + + Permalink + + +

                                                  +
                                                +
                                                + + + + + +
                                                +

                                                Value Members

                                                +
                                                1. + + +

                                                  + + final + def + + + !=(arg0: Any): Boolean + +

                                                  + + Permalink + + +
                                                  Definition Classes
                                                  AnyRef → Any
                                                  +
                                                2. + + +

                                                  + + final + def + + + ##(): Int + +

                                                  + + Permalink + + +
                                                  Definition Classes
                                                  AnyRef → Any
                                                  +
                                                3. + + +

                                                  + + final + def + + + ==(arg0: Any): Boolean + +

                                                  + + Permalink + + +
                                                  Definition Classes
                                                  AnyRef → Any
                                                  +
                                                4. + + +

                                                  + + final + def + + + asInstanceOf[T0]: T0 + +

                                                  + + Permalink + + +
                                                  Definition Classes
                                                  Any
                                                  +
                                                5. + + +

                                                  + + + def + + + clone(): AnyRef + +

                                                  + + Permalink + + +
                                                  Attributes
                                                  protected[java.lang]
                                                  Definition Classes
                                                  AnyRef
                                                  Annotations
                                                  + @throws( + + ... + ) + +
                                                  +
                                                6. + + +

                                                  + + final + def + + + eq(arg0: AnyRef): Boolean + +

                                                  + + Permalink + + +
                                                  Definition Classes
                                                  AnyRef
                                                  +
                                                7. + + +

                                                  + + + def + + + finalize(): Unit + +

                                                  + + Permalink + + +
                                                  Attributes
                                                  protected[java.lang]
                                                  Definition Classes
                                                  AnyRef
                                                  Annotations
                                                  + @throws( + + classOf[java.lang.Throwable] + ) + +
                                                  +
                                                8. + + +

                                                  + + final + def + + + getClass(): Class[_] + +

                                                  + + Permalink + + +
                                                  Definition Classes
                                                  AnyRef → Any
                                                  +
                                                9. + + +

                                                  + + final + def + + + isInstanceOf[T0]: Boolean + +

                                                  + + Permalink + + +
                                                  Definition Classes
                                                  Any
                                                  +
                                                10. + + +

                                                  + + final + def + + + ne(arg0: AnyRef): Boolean + +

                                                  + + Permalink + + +
                                                  Definition Classes
                                                  AnyRef
                                                  +
                                                11. + + +

                                                  + + final + def + + + notify(): Unit + +

                                                  + + Permalink + + +
                                                  Definition Classes
                                                  AnyRef
                                                  +
                                                12. + + +

                                                  + + final + def + + + notifyAll(): Unit + +

                                                  + + Permalink + + +
                                                  Definition Classes
                                                  AnyRef
                                                  +
                                                13. + + +

                                                  + + + val + + + predicted_label: Double + +

                                                  + + Permalink + + + +
                                                14. + + +

                                                  + + final + def + + + synchronized[T0](arg0: ⇒ T0): T0 + +

                                                  + + Permalink + + +
                                                  Definition Classes
                                                  AnyRef
                                                  +
                                                15. + + +

                                                  + + final + def + + + wait(): Unit + +

                                                  + + Permalink + + +
                                                  Definition Classes
                                                  AnyRef
                                                  Annotations
                                                  + @throws( + + ... + ) + +
                                                  +
                                                16. + + +

                                                  + + final + def + + + wait(arg0: Long, arg1: Int): Unit + +

                                                  + + Permalink + + +
                                                  Definition Classes
                                                  AnyRef
                                                  Annotations
                                                  + @throws( + + ... + ) + +
                                                  +
                                                17. + + +

                                                  + + final + def + + + wait(arg0: Long): Unit + +

                                                  + + Permalink + + +
                                                  Definition Classes
                                                  AnyRef
                                                  Annotations
                                                  + @throws( + + ... + ) + +
                                                  +
                                                +
                                                + + + + +
                                                + +
                                                +
                                                +

                                                Inherited from Serializable

                                                +
                                                +

                                                Inherited from Serializable

                                                +
                                                +

                                                Inherited from Product

                                                +
                                                +

                                                Inherited from Equals

                                                +
                                                +

                                                Inherited from AnyRef

                                                +
                                                +

                                                Inherited from Any

                                                +
                                                + +
                                                + +
                                                +
                                                +

                                                Ungrouped

                                                + +
                                                +
                                                + +
                                                + +
                                                + + + + + + diff --git a/manual1903/api_reference/components/scaladocs/ksb/csle/component/operator/service/TensorflowServingOperator.html b/manual1903/api_reference/components/scaladocs/ksb/csle/component/operator/service/TensorflowServingOperator.html new file mode 100644 index 0000000000000000000000000000000000000000..df141f80a40c76beb4b09267bea7506f2ed4b08c --- /dev/null +++ b/manual1903/api_reference/components/scaladocs/ksb/csle/component/operator/service/TensorflowServingOperator.html @@ -0,0 +1,569 @@ + + + + TensorflowServingOperator - KSB COMPONENTS Scala App Project 1.0-SNAPSHOT API - ksb.csle.component.operator.service.TensorflowServingOperator + + + + + + + + + + + + + + + +
                                                + Class +

                                                ksb.csle.component.operator.service

                                                +

                                                TensorflowServingOperator

                                                Related Doc: + package service +

                                                + + Permalink + + +
                                                + +

                                                + + + class + + + TensorflowServingOperator extends BaseGenericMutantOperator[OnDemandOperatorInfo, RequestContext, ResponseContext] + +

                                                + +

                                                :: ApplicationDeveloperApi ::

                                                Operator that processes the request of tensorflow model. +

                                                + Linear Supertypes +
                                                BaseGenericMutantOperator[OnDemandOperatorInfo, RequestContext, ResponseContext], BaseDoer, Logging, Serializable, Serializable, AnyRef, Any
                                                +
                                                + + +
                                                +
                                                +
                                                + Ordering +
                                                  + +
                                                1. Alphabetic
                                                2. +
                                                3. By Inheritance
                                                4. +
                                                +
                                                +
                                                + Inherited
                                                +
                                                +
                                                  +
                                                1. TensorflowServingOperator
                                                2. BaseGenericMutantOperator
                                                3. BaseDoer
                                                4. Logging
                                                5. Serializable
                                                6. Serializable
                                                7. AnyRef
                                                8. Any
                                                9. +
                                                +
                                                + +
                                                  +
                                                1. Hide All
                                                2. +
                                                3. Show All
                                                4. +
                                                +
                                                +
                                                + Visibility +
                                                1. Public
                                                2. All
                                                +
                                                +
                                                + +
                                                +
                                                +
                                                +

                                                Instance Constructors

                                                +
                                                1. + + +

                                                  + + + new + + + TensorflowServingOperator(o: OnDemandOperatorInfo) + +

                                                  + + Permalink + + +

                                                  o

                                                  Object that contains message + ksb.csle.common.proto.OndemandOperatorProto.TensorflowServingOperatorInfo + TensorflowPredictorInfo contains no attribute.

                                                  TensorflowServingOperatorInfo

                                                  message TensorflowServingOperatorInfo {
                                                  +}
                                                  +
                                                +
                                                + + + + + +
                                                +

                                                Value Members

                                                +
                                                1. + + +

                                                  + + final + def + + + !=(arg0: Any): Boolean + +

                                                  + + Permalink + + +
                                                  Definition Classes
                                                  AnyRef → Any
                                                  +
                                                2. + + +

                                                  + + final + def + + + ##(): Int + +

                                                  + + Permalink + + +
                                                  Definition Classes
                                                  AnyRef → Any
                                                  +
                                                3. + + +

                                                  + + final + def + + + ==(arg0: Any): Boolean + +

                                                  + + Permalink + + +
                                                  Definition Classes
                                                  AnyRef → Any
                                                  +
                                                4. + + +

                                                  + + final + def + + + asInstanceOf[T0]: T0 + +

                                                  + + Permalink + + +
                                                  Definition Classes
                                                  Any
                                                  +
                                                5. + + +

                                                  + + + def + + + clone(): AnyRef + +

                                                  + + Permalink + + +
                                                  Attributes
                                                  protected[java.lang]
                                                  Definition Classes
                                                  AnyRef
                                                  Annotations
                                                  + @throws( + + ... + ) + +
                                                  +
                                                6. + + +

                                                  + + final + def + + + eq(arg0: AnyRef): Boolean + +

                                                  + + Permalink + + +
                                                  Definition Classes
                                                  AnyRef
                                                  +
                                                7. + + +

                                                  + + + def + + + equals(arg0: Any): Boolean + +

                                                  + + Permalink + + +
                                                  Definition Classes
                                                  AnyRef → Any
                                                  +
                                                8. + + +

                                                  + + + def + + + finalize(): Unit + +

                                                  + + Permalink + + +
                                                  Attributes
                                                  protected[java.lang]
                                                  Definition Classes
                                                  AnyRef
                                                  Annotations
                                                  + @throws( + + classOf[java.lang.Throwable] + ) + +
                                                  +
                                                9. + + +

                                                  + + final + def + + + getClass(): Class[_] + +

                                                  + + Permalink + + +
                                                  Definition Classes
                                                  AnyRef → Any
                                                  +
                                                10. + + +

                                                  + + + def + + + hashCode(): Int + +

                                                  + + Permalink + + +
                                                  Definition Classes
                                                  AnyRef → Any
                                                  +
                                                11. + + +

                                                  + + final + def + + + isInstanceOf[T0]: Boolean + +

                                                  + + Permalink + + +
                                                  Definition Classes
                                                  Any
                                                  +
                                                12. + + +

                                                  + + + val + + + logger: Logger + +

                                                  + + Permalink + + +
                                                  Attributes
                                                  protected
                                                  Definition Classes
                                                  Logging
                                                  +
                                                13. + + +

                                                  + + final + def + + + ne(arg0: AnyRef): Boolean + +

                                                  + + Permalink + + +
                                                  Definition Classes
                                                  AnyRef
                                                  +
                                                14. + + +

                                                  + + final + def + + + notify(): Unit + +

                                                  + + Permalink + + +
                                                  Definition Classes
                                                  AnyRef
                                                  +
                                                15. + + +

                                                  + + final + def + + + notifyAll(): Unit + +

                                                  + + Permalink + + +
                                                  Definition Classes
                                                  AnyRef
                                                  +
                                                16. + + +

                                                  + + + def + + + operate(requestContext: RequestContext): ResponseContext + +

                                                  + + Permalink + + +

                                                  Process the request about tensorflow serving.

                                                  Process the request about tensorflow serving. +(e.g. retrieving meta data, prediction) +

                                                  requestContext

                                                  service request context

                                                  returns

                                                  ResponseContext service response context

                                                  Definition Classes
                                                  TensorflowServingOperator → BaseGenericMutantOperator
                                                  +
                                                17. + + +

                                                  + + + def + + + stop: Unit + +

                                                  + + Permalink + + +
                                                  Definition Classes
                                                  BaseGenericMutantOperator
                                                  +
                                                18. + + +

                                                  + + final + def + + + synchronized[T0](arg0: ⇒ T0): T0 + +

                                                  + + Permalink + + +
                                                  Definition Classes
                                                  AnyRef
                                                  +
                                                19. + + +

                                                  + + + def + + + toString(): String + +

                                                  + + Permalink + + +
                                                  Definition Classes
                                                  AnyRef → Any
                                                  +
                                                20. + + +

                                                  + + final + def + + + wait(): Unit + +

                                                  + + Permalink + + +
                                                  Definition Classes
                                                  AnyRef
                                                  Annotations
                                                  + @throws( + + ... + ) + +
                                                  +
                                                21. + + +

                                                  + + final + def + + + wait(arg0: Long, arg1: Int): Unit + +

                                                  + + Permalink + + +
                                                  Definition Classes
                                                  AnyRef
                                                  Annotations
                                                  + @throws( + + ... + ) + +
                                                  +
                                                22. + + +

                                                  + + final + def + + + wait(arg0: Long): Unit + +

                                                  + + Permalink + + +
                                                  Definition Classes
                                                  AnyRef
                                                  Annotations
                                                  + @throws( + + ... + ) + +
                                                  +
                                                +
                                                + + + + +
                                                + +
                                                +
                                                +

                                                Inherited from BaseGenericMutantOperator[OnDemandOperatorInfo, RequestContext, ResponseContext]

                                                +
                                                +

                                                Inherited from BaseDoer

                                                +
                                                +

                                                Inherited from Logging

                                                +
                                                +

                                                Inherited from Serializable

                                                +
                                                +

                                                Inherited from Serializable

                                                +
                                                +

                                                Inherited from AnyRef

                                                +
                                                +

                                                Inherited from Any

                                                +
                                                + +
                                                + +
                                                +
                                                +

                                                Ungrouped

                                                + +
                                                +
                                                + +
                                                + +
                                                + + + + + + diff --git a/manual1903/api_reference/components/scaladocs/ksb/csle/component/operator/service/WeatherJsonProtocol$.html b/manual1903/api_reference/components/scaladocs/ksb/csle/component/operator/service/WeatherJsonProtocol$.html new file mode 100644 index 0000000000000000000000000000000000000000..c438fb169e948d52f959cf0e9f31d3a8d6f33b97 --- /dev/null +++ b/manual1903/api_reference/components/scaladocs/ksb/csle/component/operator/service/WeatherJsonProtocol$.html @@ -0,0 +1,2165 @@ + + + + WeatherJsonProtocol - KSB COMPONENTS Scala App Project 1.0-SNAPSHOT API - ksb.csle.component.operator.service.WeatherJsonProtocol + + + + + + + + + + + + + + + +
                                                + Object +

                                                ksb.csle.component.operator.service

                                                +

                                                WeatherJsonProtocol

                                                Related Doc: + package service +

                                                + + Permalink + + +
                                                + +

                                                + + + object + + + WeatherJsonProtocol extends DefaultJsonProtocol + +

                                                + +
                                                + Linear Supertypes +
                                                DefaultJsonProtocol, AdditionalFormats, ProductFormats, ProductFormatsInstances, CollectionFormats, StandardFormats, BasicFormats, AnyRef, Any
                                                +
                                                + + +
                                                +
                                                +
                                                + Ordering +
                                                  + +
                                                1. Alphabetic
                                                2. +
                                                3. By Inheritance
                                                4. +
                                                +
                                                +
                                                + Inherited
                                                +
                                                +
                                                  +
                                                1. WeatherJsonProtocol
                                                2. DefaultJsonProtocol
                                                3. AdditionalFormats
                                                4. ProductFormats
                                                5. ProductFormatsInstances
                                                6. CollectionFormats
                                                7. StandardFormats
                                                8. BasicFormats
                                                9. AnyRef
                                                10. Any
                                                11. +
                                                +
                                                + +
                                                  +
                                                1. Hide All
                                                2. +
                                                3. Show All
                                                4. +
                                                +
                                                +
                                                + Visibility +
                                                1. Public
                                                2. All
                                                +
                                                +
                                                + +
                                                +
                                                + + +
                                                +

                                                Type Members

                                                +
                                                1. + + +

                                                  + + + class + + + OptionFormat[T] extends (StandardFormats.this)#JF[Option[T]] + +

                                                  + + Permalink + + +
                                                  Definition Classes
                                                  StandardFormats
                                                  +
                                                +
                                                + + + +
                                                +

                                                Value Members

                                                +
                                                1. + + +

                                                  + + final + def + + + !=(arg0: Any): Boolean + +

                                                  + + Permalink + + +
                                                  Definition Classes
                                                  AnyRef → Any
                                                  +
                                                2. + + +

                                                  + + final + def + + + ##(): Int + +

                                                  + + Permalink + + +
                                                  Definition Classes
                                                  AnyRef → Any
                                                  +
                                                3. + + +

                                                  + + final + def + + + ==(arg0: Any): Boolean + +

                                                  + + Permalink + + +
                                                  Definition Classes
                                                  AnyRef → Any
                                                  +
                                                4. + + +

                                                  + + implicit + object + + + BigDecimalJsonFormat extends JsonFormat[BigDecimal] + +

                                                  + + Permalink + + +
                                                  Definition Classes
                                                  BasicFormats
                                                  +
                                                5. + + +

                                                  + + implicit + object + + + BigIntJsonFormat extends JsonFormat[BigInt] + +

                                                  + + Permalink + + +
                                                  Definition Classes
                                                  BasicFormats
                                                  +
                                                6. + + +

                                                  + + implicit + object + + + BooleanJsonFormat extends JsonFormat[Boolean] + +

                                                  + + Permalink + + +
                                                  Definition Classes
                                                  BasicFormats
                                                  +
                                                7. + + +

                                                  + + implicit + object + + + ByteJsonFormat extends JsonFormat[Byte] + +

                                                  + + Permalink + + +
                                                  Definition Classes
                                                  BasicFormats
                                                  +
                                                8. + + +

                                                  + + implicit + object + + + CharJsonFormat extends JsonFormat[Char] + +

                                                  + + Permalink + + +
                                                  Definition Classes
                                                  BasicFormats
                                                  +
                                                9. + + +

                                                  + + implicit + object + + + DoubleJsonFormat extends JsonFormat[Double] + +

                                                  + + Permalink + + +
                                                  Definition Classes
                                                  BasicFormats
                                                  +
                                                10. + + +

                                                  + + implicit + object + + + FloatJsonFormat extends JsonFormat[Float] + +

                                                  + + Permalink + + +
                                                  Definition Classes
                                                  BasicFormats
                                                  +
                                                11. + + +

                                                  + + implicit + object + + + IntJsonFormat extends JsonFormat[Int] + +

                                                  + + Permalink + + +
                                                  Definition Classes
                                                  BasicFormats
                                                  +
                                                12. + + +

                                                  + + implicit + object + + + JsValueFormat extends JsonFormat[JsValue] + +

                                                  + + Permalink + + +
                                                  Definition Classes
                                                  AdditionalFormats
                                                  +
                                                13. + + +

                                                  + + implicit + object + + + LongJsonFormat extends JsonFormat[Long] + +

                                                  + + Permalink + + +
                                                  Definition Classes
                                                  BasicFormats
                                                  +
                                                14. + + +

                                                  + + implicit + object + + + RootJsArrayFormat extends RootJsonFormat[JsArray] + +

                                                  + + Permalink + + +
                                                  Definition Classes
                                                  AdditionalFormats
                                                  +
                                                15. + + +

                                                  + + implicit + object + + + RootJsObjectFormat extends RootJsonFormat[JsObject] + +

                                                  + + Permalink + + +
                                                  Definition Classes
                                                  AdditionalFormats
                                                  +
                                                16. + + +

                                                  + + implicit + object + + + ShortJsonFormat extends JsonFormat[Short] + +

                                                  + + Permalink + + +
                                                  Definition Classes
                                                  BasicFormats
                                                  +
                                                17. + + +

                                                  + + implicit + object + + + StringJsonFormat extends JsonFormat[String] + +

                                                  + + Permalink + + +
                                                  Definition Classes
                                                  BasicFormats
                                                  +
                                                18. + + +

                                                  + + implicit + object + + + SymbolJsonFormat extends JsonFormat[Symbol] + +

                                                  + + Permalink + + +
                                                  Definition Classes
                                                  BasicFormats
                                                  +
                                                19. + + +

                                                  + + implicit + object + + + UnitJsonFormat extends JsonFormat[Unit] + +

                                                  + + Permalink + + +
                                                  Definition Classes
                                                  BasicFormats
                                                  +
                                                20. + + +

                                                  + + implicit + def + + + arrayFormat[T](implicit arg0: JsonFormat[T], arg1: ClassManifest[T]): RootJsonFormat[Array[T]] { def write(array: Array[T]): spray.json.JsArray } + +

                                                  + + Permalink + + +
                                                  Definition Classes
                                                  CollectionFormats
                                                  +
                                                21. + + +

                                                  + + final + def + + + asInstanceOf[T0]: T0 + +

                                                  + + Permalink + + +
                                                  Definition Classes
                                                  Any
                                                  +
                                                22. + + +

                                                  + + + def + + + clone(): AnyRef + +

                                                  + + Permalink + + +
                                                  Attributes
                                                  protected[java.lang]
                                                  Definition Classes
                                                  AnyRef
                                                  Annotations
                                                  + @throws( + + ... + ) + +
                                                  +
                                                23. + + +

                                                  + + implicit + def + + + eitherFormat[A, B](implicit arg0: JF[A], arg1: JF[B]): JF[Either[A, B]] + +

                                                  + + Permalink + + +
                                                  Definition Classes
                                                  StandardFormats
                                                  +
                                                24. + + +

                                                  + + final + def + + + eq(arg0: AnyRef): Boolean + +

                                                  + + Permalink + + +
                                                  Definition Classes
                                                  AnyRef
                                                  +
                                                25. + + +

                                                  + + + def + + + equals(arg0: Any): Boolean + +

                                                  + + Permalink + + +
                                                  Definition Classes
                                                  AnyRef → Any
                                                  +
                                                26. + + +

                                                  + + + def + + + extractFieldNames(classManifest: ClassManifest[_]): Array[String] + +

                                                  + + Permalink + + +
                                                  Attributes
                                                  protected
                                                  Definition Classes
                                                  ProductFormats
                                                  +
                                                27. + + +

                                                  + + + def + + + finalize(): Unit + +

                                                  + + Permalink + + +
                                                  Attributes
                                                  protected[java.lang]
                                                  Definition Classes
                                                  AnyRef
                                                  Annotations
                                                  + @throws( + + classOf[java.lang.Throwable] + ) + +
                                                  +
                                                28. + + +

                                                  + + + def + + + fromField[T](value: JsValue, fieldName: String)(implicit reader: JsonReader[T]): T + +

                                                  + + Permalink + + +
                                                  Attributes
                                                  protected
                                                  Definition Classes
                                                  ProductFormats
                                                  +
                                                29. + + +

                                                  + + final + def + + + getClass(): Class[_] + +

                                                  + + Permalink + + +
                                                  Definition Classes
                                                  AnyRef → Any
                                                  +
                                                30. + + +

                                                  + + + def + + + hashCode(): Int + +

                                                  + + Permalink + + +
                                                  Definition Classes
                                                  AnyRef → Any
                                                  +
                                                31. + + +

                                                  + + implicit + def + + + immIndexedSeqFormat[T](implicit arg0: JsonFormat[T]): RootJsonFormat[IndexedSeq[T]] + +

                                                  + + Permalink + + +
                                                  Definition Classes
                                                  CollectionFormats
                                                  +
                                                32. + + +

                                                  + + implicit + def + + + immIterableFormat[T](implicit arg0: JsonFormat[T]): RootJsonFormat[Iterable[T]] + +

                                                  + + Permalink + + +
                                                  Definition Classes
                                                  CollectionFormats
                                                  +
                                                33. + + +

                                                  + + implicit + def + + + immLinearSeqFormat[T](implicit arg0: JsonFormat[T]): RootJsonFormat[LinearSeq[T]] + +

                                                  + + Permalink + + +
                                                  Definition Classes
                                                  CollectionFormats
                                                  +
                                                34. + + +

                                                  + + implicit + def + + + immSeqFormat[T](implicit arg0: JsonFormat[T]): RootJsonFormat[Seq[T]] + +

                                                  + + Permalink + + +
                                                  Definition Classes
                                                  CollectionFormats
                                                  +
                                                35. + + +

                                                  + + implicit + def + + + immSetFormat[T](implicit arg0: JsonFormat[T]): RootJsonFormat[Set[T]] + +

                                                  + + Permalink + + +
                                                  Definition Classes
                                                  CollectionFormats
                                                  +
                                                36. + + +

                                                  + + implicit + def + + + indexedSeqFormat[T](implicit arg0: JsonFormat[T]): RootJsonFormat[IndexedSeq[T]] + +

                                                  + + Permalink + + +
                                                  Definition Classes
                                                  CollectionFormats
                                                  +
                                                37. + + +

                                                  + + final + def + + + isInstanceOf[T0]: Boolean + +

                                                  + + Permalink + + +
                                                  Definition Classes
                                                  Any
                                                  +
                                                38. + + +

                                                  + + implicit + def + + + iterableFormat[T](implicit arg0: JsonFormat[T]): RootJsonFormat[Iterable[T]] + +

                                                  + + Permalink + + +
                                                  Definition Classes
                                                  CollectionFormats
                                                  +
                                                39. + + +

                                                  + + + def + + + jsonFormat[T](reader: JsonReader[T], writer: JsonWriter[T]): JsonFormat[T] + +

                                                  + + Permalink + + +
                                                  Definition Classes
                                                  AdditionalFormats
                                                  +
                                                40. + + +

                                                  + + + def + + + jsonFormat[P1, P2, P3, P4, P5, P6, P7, P8, P9, P10, P11, P12, P13, P14, P15, P16, P17, P18, P19, P20, P21, P22, T <: Product](construct: (P1, P2, P3, P4, P5, P6, P7, P8, P9, P10, P11, P12, P13, P14, P15, P16, P17, P18, P19, P20, P21, P22) ⇒ T, fieldName1: String, fieldName2: String, fieldName3: String, fieldName4: String, fieldName5: String, fieldName6: String, fieldName7: String, fieldName8: String, fieldName9: String, fieldName10: String, fieldName11: String, fieldName12: String, fieldName13: String, fieldName14: String, fieldName15: String, fieldName16: String, fieldName17: String, fieldName18: String, fieldName19: String, fieldName20: String, fieldName21: String, fieldName22: String)(implicit arg0: JF[P1], arg1: JF[P2], arg2: JF[P3], arg3: JF[P4], arg4: JF[P5], arg5: JF[P6], arg6: JF[P7], arg7: JF[P8], arg8: JF[P9], arg9: JF[P10], arg10: JF[P11], arg11: JF[P12], arg12: JF[P13], arg13: JF[P14], arg14: JF[P15], arg15: JF[P16], arg16: JF[P17], arg17: JF[P18], arg18: JF[P19], arg19: JF[P20], arg20: JF[P21], arg21: JF[P22]): RootJsonFormat[T] + +

                                                  + + Permalink + + +
                                                  Definition Classes
                                                  ProductFormatsInstances
                                                  +
                                                41. + + +

                                                  + + + def + + + jsonFormat[P1, P2, P3, P4, P5, P6, P7, P8, P9, P10, P11, P12, P13, P14, P15, P16, P17, P18, P19, P20, P21, T <: Product](construct: (P1, P2, P3, P4, P5, P6, P7, P8, P9, P10, P11, P12, P13, P14, P15, P16, P17, P18, P19, P20, P21) ⇒ T, fieldName1: String, fieldName2: String, fieldName3: String, fieldName4: String, fieldName5: String, fieldName6: String, fieldName7: String, fieldName8: String, fieldName9: String, fieldName10: String, fieldName11: String, fieldName12: String, fieldName13: String, fieldName14: String, fieldName15: String, fieldName16: String, fieldName17: String, fieldName18: String, fieldName19: String, fieldName20: String, fieldName21: String)(implicit arg0: JF[P1], arg1: JF[P2], arg2: JF[P3], arg3: JF[P4], arg4: JF[P5], arg5: JF[P6], arg6: JF[P7], arg7: JF[P8], arg8: JF[P9], arg9: JF[P10], arg10: JF[P11], arg11: JF[P12], arg12: JF[P13], arg13: JF[P14], arg14: JF[P15], arg15: JF[P16], arg16: JF[P17], arg17: JF[P18], arg18: JF[P19], arg19: JF[P20], arg20: JF[P21]): RootJsonFormat[T] + +

                                                  + + Permalink + + +
                                                  Definition Classes
                                                  ProductFormatsInstances
                                                  +
                                                42. + + +

                                                  + + + def + + + jsonFormat[P1, P2, P3, P4, P5, P6, P7, P8, P9, P10, P11, P12, P13, P14, P15, P16, P17, P18, P19, P20, T <: Product](construct: (P1, P2, P3, P4, P5, P6, P7, P8, P9, P10, P11, P12, P13, P14, P15, P16, P17, P18, P19, P20) ⇒ T, fieldName1: String, fieldName2: String, fieldName3: String, fieldName4: String, fieldName5: String, fieldName6: String, fieldName7: String, fieldName8: String, fieldName9: String, fieldName10: String, fieldName11: String, fieldName12: String, fieldName13: String, fieldName14: String, fieldName15: String, fieldName16: String, fieldName17: String, fieldName18: String, fieldName19: String, fieldName20: String)(implicit arg0: JF[P1], arg1: JF[P2], arg2: JF[P3], arg3: JF[P4], arg4: JF[P5], arg5: JF[P6], arg6: JF[P7], arg7: JF[P8], arg8: JF[P9], arg9: JF[P10], arg10: JF[P11], arg11: JF[P12], arg12: JF[P13], arg13: JF[P14], arg14: JF[P15], arg15: JF[P16], arg16: JF[P17], arg17: JF[P18], arg18: JF[P19], arg19: JF[P20]): RootJsonFormat[T] + +

                                                  + + Permalink + + +
                                                  Definition Classes
                                                  ProductFormatsInstances
                                                  +
                                                43. + + +

                                                  + + + def + + + jsonFormat[P1, P2, P3, P4, P5, P6, P7, P8, P9, P10, P11, P12, P13, P14, P15, P16, P17, P18, P19, T <: Product](construct: (P1, P2, P3, P4, P5, P6, P7, P8, P9, P10, P11, P12, P13, P14, P15, P16, P17, P18, P19) ⇒ T, fieldName1: String, fieldName2: String, fieldName3: String, fieldName4: String, fieldName5: String, fieldName6: String, fieldName7: String, fieldName8: String, fieldName9: String, fieldName10: String, fieldName11: String, fieldName12: String, fieldName13: String, fieldName14: String, fieldName15: String, fieldName16: String, fieldName17: String, fieldName18: String, fieldName19: String)(implicit arg0: JF[P1], arg1: JF[P2], arg2: JF[P3], arg3: JF[P4], arg4: JF[P5], arg5: JF[P6], arg6: JF[P7], arg7: JF[P8], arg8: JF[P9], arg9: JF[P10], arg10: JF[P11], arg11: JF[P12], arg12: JF[P13], arg13: JF[P14], arg14: JF[P15], arg15: JF[P16], arg16: JF[P17], arg17: JF[P18], arg18: JF[P19]): RootJsonFormat[T] + +

                                                  + + Permalink + + +
                                                  Definition Classes
                                                  ProductFormatsInstances
                                                  +
                                                44. + + +

                                                  + + + def + + + jsonFormat[P1, P2, P3, P4, P5, P6, P7, P8, P9, P10, P11, P12, P13, P14, P15, P16, P17, P18, T <: Product](construct: (P1, P2, P3, P4, P5, P6, P7, P8, P9, P10, P11, P12, P13, P14, P15, P16, P17, P18) ⇒ T, fieldName1: String, fieldName2: String, fieldName3: String, fieldName4: String, fieldName5: String, fieldName6: String, fieldName7: String, fieldName8: String, fieldName9: String, fieldName10: String, fieldName11: String, fieldName12: String, fieldName13: String, fieldName14: String, fieldName15: String, fieldName16: String, fieldName17: String, fieldName18: String)(implicit arg0: JF[P1], arg1: JF[P2], arg2: JF[P3], arg3: JF[P4], arg4: JF[P5], arg5: JF[P6], arg6: JF[P7], arg7: JF[P8], arg8: JF[P9], arg9: JF[P10], arg10: JF[P11], arg11: JF[P12], arg12: JF[P13], arg13: JF[P14], arg14: JF[P15], arg15: JF[P16], arg16: JF[P17], arg17: JF[P18]): RootJsonFormat[T] + +

                                                  + + Permalink + + +
                                                  Definition Classes
                                                  ProductFormatsInstances
                                                  +
                                                45. + + +

                                                  + + + def + + + jsonFormat[P1, P2, P3, P4, P5, P6, P7, P8, P9, P10, P11, P12, P13, P14, P15, P16, P17, T <: Product](construct: (P1, P2, P3, P4, P5, P6, P7, P8, P9, P10, P11, P12, P13, P14, P15, P16, P17) ⇒ T, fieldName1: String, fieldName2: String, fieldName3: String, fieldName4: String, fieldName5: String, fieldName6: String, fieldName7: String, fieldName8: String, fieldName9: String, fieldName10: String, fieldName11: String, fieldName12: String, fieldName13: String, fieldName14: String, fieldName15: String, fieldName16: String, fieldName17: String)(implicit arg0: JF[P1], arg1: JF[P2], arg2: JF[P3], arg3: JF[P4], arg4: JF[P5], arg5: JF[P6], arg6: JF[P7], arg7: JF[P8], arg8: JF[P9], arg9: JF[P10], arg10: JF[P11], arg11: JF[P12], arg12: JF[P13], arg13: JF[P14], arg14: JF[P15], arg15: JF[P16], arg16: JF[P17]): RootJsonFormat[T] + +

                                                  + + Permalink + + +
                                                  Definition Classes
                                                  ProductFormatsInstances
                                                  +
                                                46. + + +

                                                  + + + def + + + jsonFormat[P1, P2, P3, P4, P5, P6, P7, P8, P9, P10, P11, P12, P13, P14, P15, P16, T <: Product](construct: (P1, P2, P3, P4, P5, P6, P7, P8, P9, P10, P11, P12, P13, P14, P15, P16) ⇒ T, fieldName1: String, fieldName2: String, fieldName3: String, fieldName4: String, fieldName5: String, fieldName6: String, fieldName7: String, fieldName8: String, fieldName9: String, fieldName10: String, fieldName11: String, fieldName12: String, fieldName13: String, fieldName14: String, fieldName15: String, fieldName16: String)(implicit arg0: JF[P1], arg1: JF[P2], arg2: JF[P3], arg3: JF[P4], arg4: JF[P5], arg5: JF[P6], arg6: JF[P7], arg7: JF[P8], arg8: JF[P9], arg9: JF[P10], arg10: JF[P11], arg11: JF[P12], arg12: JF[P13], arg13: JF[P14], arg14: JF[P15], arg15: JF[P16]): RootJsonFormat[T] + +

                                                  + + Permalink + + +
                                                  Definition Classes
                                                  ProductFormatsInstances
                                                  +
                                                47. + + +

                                                  + + + def + + + jsonFormat[P1, P2, P3, P4, P5, P6, P7, P8, P9, P10, P11, P12, P13, P14, P15, T <: Product](construct: (P1, P2, P3, P4, P5, P6, P7, P8, P9, P10, P11, P12, P13, P14, P15) ⇒ T, fieldName1: String, fieldName2: String, fieldName3: String, fieldName4: String, fieldName5: String, fieldName6: String, fieldName7: String, fieldName8: String, fieldName9: String, fieldName10: String, fieldName11: String, fieldName12: String, fieldName13: String, fieldName14: String, fieldName15: String)(implicit arg0: JF[P1], arg1: JF[P2], arg2: JF[P3], arg3: JF[P4], arg4: JF[P5], arg5: JF[P6], arg6: JF[P7], arg7: JF[P8], arg8: JF[P9], arg9: JF[P10], arg10: JF[P11], arg11: JF[P12], arg12: JF[P13], arg13: JF[P14], arg14: JF[P15]): RootJsonFormat[T] + +

                                                  + + Permalink + + +
                                                  Definition Classes
                                                  ProductFormatsInstances
                                                  +
                                                48. + + +

                                                  + + + def + + + jsonFormat[P1, P2, P3, P4, P5, P6, P7, P8, P9, P10, P11, P12, P13, P14, T <: Product](construct: (P1, P2, P3, P4, P5, P6, P7, P8, P9, P10, P11, P12, P13, P14) ⇒ T, fieldName1: String, fieldName2: String, fieldName3: String, fieldName4: String, fieldName5: String, fieldName6: String, fieldName7: String, fieldName8: String, fieldName9: String, fieldName10: String, fieldName11: String, fieldName12: String, fieldName13: String, fieldName14: String)(implicit arg0: JF[P1], arg1: JF[P2], arg2: JF[P3], arg3: JF[P4], arg4: JF[P5], arg5: JF[P6], arg6: JF[P7], arg7: JF[P8], arg8: JF[P9], arg9: JF[P10], arg10: JF[P11], arg11: JF[P12], arg12: JF[P13], arg13: JF[P14]): RootJsonFormat[T] + +

                                                  + + Permalink + + +
                                                  Definition Classes
                                                  ProductFormatsInstances
                                                  +
                                                49. + + +

                                                  + + + def + + + jsonFormat[P1, P2, P3, P4, P5, P6, P7, P8, P9, P10, P11, P12, P13, T <: Product](construct: (P1, P2, P3, P4, P5, P6, P7, P8, P9, P10, P11, P12, P13) ⇒ T, fieldName1: String, fieldName2: String, fieldName3: String, fieldName4: String, fieldName5: String, fieldName6: String, fieldName7: String, fieldName8: String, fieldName9: String, fieldName10: String, fieldName11: String, fieldName12: String, fieldName13: String)(implicit arg0: JF[P1], arg1: JF[P2], arg2: JF[P3], arg3: JF[P4], arg4: JF[P5], arg5: JF[P6], arg6: JF[P7], arg7: JF[P8], arg8: JF[P9], arg9: JF[P10], arg10: JF[P11], arg11: JF[P12], arg12: JF[P13]): RootJsonFormat[T] + +

                                                  + + Permalink + + +
                                                  Definition Classes
                                                  ProductFormatsInstances
                                                  +
                                                50. + + +

                                                  + + + def + + + jsonFormat[P1, P2, P3, P4, P5, P6, P7, P8, P9, P10, P11, P12, T <: Product](construct: (P1, P2, P3, P4, P5, P6, P7, P8, P9, P10, P11, P12) ⇒ T, fieldName1: String, fieldName2: String, fieldName3: String, fieldName4: String, fieldName5: String, fieldName6: String, fieldName7: String, fieldName8: String, fieldName9: String, fieldName10: String, fieldName11: String, fieldName12: String)(implicit arg0: JF[P1], arg1: JF[P2], arg2: JF[P3], arg3: JF[P4], arg4: JF[P5], arg5: JF[P6], arg6: JF[P7], arg7: JF[P8], arg8: JF[P9], arg9: JF[P10], arg10: JF[P11], arg11: JF[P12]): RootJsonFormat[T] + +

                                                  + + Permalink + + +
                                                  Definition Classes
                                                  ProductFormatsInstances
                                                  +
                                                51. + + +

                                                  + + + def + + + jsonFormat[P1, P2, P3, P4, P5, P6, P7, P8, P9, P10, P11, T <: Product](construct: (P1, P2, P3, P4, P5, P6, P7, P8, P9, P10, P11) ⇒ T, fieldName1: String, fieldName2: String, fieldName3: String, fieldName4: String, fieldName5: String, fieldName6: String, fieldName7: String, fieldName8: String, fieldName9: String, fieldName10: String, fieldName11: String)(implicit arg0: JF[P1], arg1: JF[P2], arg2: JF[P3], arg3: JF[P4], arg4: JF[P5], arg5: JF[P6], arg6: JF[P7], arg7: JF[P8], arg8: JF[P9], arg9: JF[P10], arg10: JF[P11]): RootJsonFormat[T] + +

                                                  + + Permalink + + +
                                                  Definition Classes
                                                  ProductFormatsInstances
                                                  +
                                                52. + + +

                                                  + + + def + + + jsonFormat[P1, P2, P3, P4, P5, P6, P7, P8, P9, P10, T <: Product](construct: (P1, P2, P3, P4, P5, P6, P7, P8, P9, P10) ⇒ T, fieldName1: String, fieldName2: String, fieldName3: String, fieldName4: String, fieldName5: String, fieldName6: String, fieldName7: String, fieldName8: String, fieldName9: String, fieldName10: String)(implicit arg0: JF[P1], arg1: JF[P2], arg2: JF[P3], arg3: JF[P4], arg4: JF[P5], arg5: JF[P6], arg6: JF[P7], arg7: JF[P8], arg8: JF[P9], arg9: JF[P10]): RootJsonFormat[T] + +

                                                  + + Permalink + + +
                                                  Definition Classes
                                                  ProductFormatsInstances
                                                  +
                                                53. + + +

                                                  + + + def + + + jsonFormat[P1, P2, P3, P4, P5, P6, P7, P8, P9, T <: Product](construct: (P1, P2, P3, P4, P5, P6, P7, P8, P9) ⇒ T, fieldName1: String, fieldName2: String, fieldName3: String, fieldName4: String, fieldName5: String, fieldName6: String, fieldName7: String, fieldName8: String, fieldName9: String)(implicit arg0: JF[P1], arg1: JF[P2], arg2: JF[P3], arg3: JF[P4], arg4: JF[P5], arg5: JF[P6], arg6: JF[P7], arg7: JF[P8], arg8: JF[P9]): RootJsonFormat[T] + +

                                                  + + Permalink + + +
                                                  Definition Classes
                                                  ProductFormatsInstances
                                                  +
                                                54. + + +

                                                  + + + def + + + jsonFormat[P1, P2, P3, P4, P5, P6, P7, P8, T <: Product](construct: (P1, P2, P3, P4, P5, P6, P7, P8) ⇒ T, fieldName1: String, fieldName2: String, fieldName3: String, fieldName4: String, fieldName5: String, fieldName6: String, fieldName7: String, fieldName8: String)(implicit arg0: JF[P1], arg1: JF[P2], arg2: JF[P3], arg3: JF[P4], arg4: JF[P5], arg5: JF[P6], arg6: JF[P7], arg7: JF[P8]): RootJsonFormat[T] + +

                                                  + + Permalink + + +
                                                  Definition Classes
                                                  ProductFormatsInstances
                                                  +
                                                55. + + +

                                                  + + + def + + + jsonFormat[P1, P2, P3, P4, P5, P6, P7, T <: Product](construct: (P1, P2, P3, P4, P5, P6, P7) ⇒ T, fieldName1: String, fieldName2: String, fieldName3: String, fieldName4: String, fieldName5: String, fieldName6: String, fieldName7: String)(implicit arg0: JF[P1], arg1: JF[P2], arg2: JF[P3], arg3: JF[P4], arg4: JF[P5], arg5: JF[P6], arg6: JF[P7]): RootJsonFormat[T] + +

                                                  + + Permalink + + +
                                                  Definition Classes
                                                  ProductFormatsInstances
                                                  +
                                                56. + + +

                                                  + + + def + + + jsonFormat[P1, P2, P3, P4, P5, P6, T <: Product](construct: (P1, P2, P3, P4, P5, P6) ⇒ T, fieldName1: String, fieldName2: String, fieldName3: String, fieldName4: String, fieldName5: String, fieldName6: String)(implicit arg0: JF[P1], arg1: JF[P2], arg2: JF[P3], arg3: JF[P4], arg4: JF[P5], arg5: JF[P6]): RootJsonFormat[T] + +

                                                  + + Permalink + + +
                                                  Definition Classes
                                                  ProductFormatsInstances
                                                  +
                                                57. + + +

                                                  + + + def + + + jsonFormat[P1, P2, P3, P4, P5, T <: Product](construct: (P1, P2, P3, P4, P5) ⇒ T, fieldName1: String, fieldName2: String, fieldName3: String, fieldName4: String, fieldName5: String)(implicit arg0: JF[P1], arg1: JF[P2], arg2: JF[P3], arg3: JF[P4], arg4: JF[P5]): RootJsonFormat[T] + +

                                                  + + Permalink + + +
                                                  Definition Classes
                                                  ProductFormatsInstances
                                                  +
                                                58. + + +

                                                  + + + def + + + jsonFormat[P1, P2, P3, P4, T <: Product](construct: (P1, P2, P3, P4) ⇒ T, fieldName1: String, fieldName2: String, fieldName3: String, fieldName4: String)(implicit arg0: JF[P1], arg1: JF[P2], arg2: JF[P3], arg3: JF[P4]): RootJsonFormat[T] + +

                                                  + + Permalink + + +
                                                  Definition Classes
                                                  ProductFormatsInstances
                                                  +
                                                59. + + +

                                                  + + + def + + + jsonFormat[P1, P2, P3, T <: Product](construct: (P1, P2, P3) ⇒ T, fieldName1: String, fieldName2: String, fieldName3: String)(implicit arg0: JF[P1], arg1: JF[P2], arg2: JF[P3]): RootJsonFormat[T] + +

                                                  + + Permalink + + +
                                                  Definition Classes
                                                  ProductFormatsInstances
                                                  +
                                                60. + + +

                                                  + + + def + + + jsonFormat[P1, P2, T <: Product](construct: (P1, P2) ⇒ T, fieldName1: String, fieldName2: String)(implicit arg0: JF[P1], arg1: JF[P2]): RootJsonFormat[T] + +

                                                  + + Permalink + + +
                                                  Definition Classes
                                                  ProductFormatsInstances
                                                  +
                                                61. + + +

                                                  + + + def + + + jsonFormat[P1, T <: Product](construct: (P1) ⇒ T, fieldName1: String)(implicit arg0: JF[P1]): RootJsonFormat[T] + +

                                                  + + Permalink + + +
                                                  Definition Classes
                                                  ProductFormatsInstances
                                                  +
                                                62. + + +

                                                  + + + def + + + jsonFormat0[T](construct: () ⇒ T): RootJsonFormat[T] + +

                                                  + + Permalink + + +
                                                  Definition Classes
                                                  ProductFormats
                                                  +
                                                63. + + +

                                                  + + + def + + + jsonFormat1[P1, T <: Product](construct: (P1) ⇒ T)(implicit arg0: JF[P1], arg1: ClassManifest[T]): RootJsonFormat[T] + +

                                                  + + Permalink + + +
                                                  Definition Classes
                                                  ProductFormatsInstances
                                                  +
                                                64. + + +

                                                  + + + def + + + jsonFormat10[P1, P2, P3, P4, P5, P6, P7, P8, P9, P10, T <: Product](construct: (P1, P2, P3, P4, P5, P6, P7, P8, P9, P10) ⇒ T)(implicit arg0: JF[P1], arg1: JF[P2], arg2: JF[P3], arg3: JF[P4], arg4: JF[P5], arg5: JF[P6], arg6: JF[P7], arg7: JF[P8], arg8: JF[P9], arg9: JF[P10], arg10: ClassManifest[T]): RootJsonFormat[T] + +

                                                  + + Permalink + + +
                                                  Definition Classes
                                                  ProductFormatsInstances
                                                  +
                                                65. + + +

                                                  + + + def + + + jsonFormat11[P1, P2, P3, P4, P5, P6, P7, P8, P9, P10, P11, T <: Product](construct: (P1, P2, P3, P4, P5, P6, P7, P8, P9, P10, P11) ⇒ T)(implicit arg0: JF[P1], arg1: JF[P2], arg2: JF[P3], arg3: JF[P4], arg4: JF[P5], arg5: JF[P6], arg6: JF[P7], arg7: JF[P8], arg8: JF[P9], arg9: JF[P10], arg10: JF[P11], arg11: ClassManifest[T]): RootJsonFormat[T] + +

                                                  + + Permalink + + +
                                                  Definition Classes
                                                  ProductFormatsInstances
                                                  +
                                                66. + + +

                                                  + + + def + + + jsonFormat12[P1, P2, P3, P4, P5, P6, P7, P8, P9, P10, P11, P12, T <: Product](construct: (P1, P2, P3, P4, P5, P6, P7, P8, P9, P10, P11, P12) ⇒ T)(implicit arg0: JF[P1], arg1: JF[P2], arg2: JF[P3], arg3: JF[P4], arg4: JF[P5], arg5: JF[P6], arg6: JF[P7], arg7: JF[P8], arg8: JF[P9], arg9: JF[P10], arg10: JF[P11], arg11: JF[P12], arg12: ClassManifest[T]): RootJsonFormat[T] + +

                                                  + + Permalink + + +
                                                  Definition Classes
                                                  ProductFormatsInstances
                                                  +
                                                67. + + +

                                                  + + + def + + + jsonFormat13[P1, P2, P3, P4, P5, P6, P7, P8, P9, P10, P11, P12, P13, T <: Product](construct: (P1, P2, P3, P4, P5, P6, P7, P8, P9, P10, P11, P12, P13) ⇒ T)(implicit arg0: JF[P1], arg1: JF[P2], arg2: JF[P3], arg3: JF[P4], arg4: JF[P5], arg5: JF[P6], arg6: JF[P7], arg7: JF[P8], arg8: JF[P9], arg9: JF[P10], arg10: JF[P11], arg11: JF[P12], arg12: JF[P13], arg13: ClassManifest[T]): RootJsonFormat[T] + +

                                                  + + Permalink + + +
                                                  Definition Classes
                                                  ProductFormatsInstances
                                                  +
                                                68. + + +

                                                  + + + def + + + jsonFormat14[P1, P2, P3, P4, P5, P6, P7, P8, P9, P10, P11, P12, P13, P14, T <: Product](construct: (P1, P2, P3, P4, P5, P6, P7, P8, P9, P10, P11, P12, P13, P14) ⇒ T)(implicit arg0: JF[P1], arg1: JF[P2], arg2: JF[P3], arg3: JF[P4], arg4: JF[P5], arg5: JF[P6], arg6: JF[P7], arg7: JF[P8], arg8: JF[P9], arg9: JF[P10], arg10: JF[P11], arg11: JF[P12], arg12: JF[P13], arg13: JF[P14], arg14: ClassManifest[T]): RootJsonFormat[T] + +

                                                  + + Permalink + + +
                                                  Definition Classes
                                                  ProductFormatsInstances
                                                  +
                                                69. + + +

                                                  + + + def + + + jsonFormat15[P1, P2, P3, P4, P5, P6, P7, P8, P9, P10, P11, P12, P13, P14, P15, T <: Product](construct: (P1, P2, P3, P4, P5, P6, P7, P8, P9, P10, P11, P12, P13, P14, P15) ⇒ T)(implicit arg0: JF[P1], arg1: JF[P2], arg2: JF[P3], arg3: JF[P4], arg4: JF[P5], arg5: JF[P6], arg6: JF[P7], arg7: JF[P8], arg8: JF[P9], arg9: JF[P10], arg10: JF[P11], arg11: JF[P12], arg12: JF[P13], arg13: JF[P14], arg14: JF[P15], arg15: ClassManifest[T]): RootJsonFormat[T] + +

                                                  + + Permalink + + +
                                                  Definition Classes
                                                  ProductFormatsInstances
                                                  +
                                                70. + + +

                                                  + + + def + + + jsonFormat16[P1, P2, P3, P4, P5, P6, P7, P8, P9, P10, P11, P12, P13, P14, P15, P16, T <: Product](construct: (P1, P2, P3, P4, P5, P6, P7, P8, P9, P10, P11, P12, P13, P14, P15, P16) ⇒ T)(implicit arg0: JF[P1], arg1: JF[P2], arg2: JF[P3], arg3: JF[P4], arg4: JF[P5], arg5: JF[P6], arg6: JF[P7], arg7: JF[P8], arg8: JF[P9], arg9: JF[P10], arg10: JF[P11], arg11: JF[P12], arg12: JF[P13], arg13: JF[P14], arg14: JF[P15], arg15: JF[P16], arg16: ClassManifest[T]): RootJsonFormat[T] + +

                                                  + + Permalink + + +
                                                  Definition Classes
                                                  ProductFormatsInstances
                                                  +
                                                71. + + +

                                                  + + + def + + + jsonFormat17[P1, P2, P3, P4, P5, P6, P7, P8, P9, P10, P11, P12, P13, P14, P15, P16, P17, T <: Product](construct: (P1, P2, P3, P4, P5, P6, P7, P8, P9, P10, P11, P12, P13, P14, P15, P16, P17) ⇒ T)(implicit arg0: JF[P1], arg1: JF[P2], arg2: JF[P3], arg3: JF[P4], arg4: JF[P5], arg5: JF[P6], arg6: JF[P7], arg7: JF[P8], arg8: JF[P9], arg9: JF[P10], arg10: JF[P11], arg11: JF[P12], arg12: JF[P13], arg13: JF[P14], arg14: JF[P15], arg15: JF[P16], arg16: JF[P17], arg17: ClassManifest[T]): RootJsonFormat[T] + +

                                                  + + Permalink + + +
                                                  Definition Classes
                                                  ProductFormatsInstances
                                                  +
                                                72. + + +

                                                  + + + def + + + jsonFormat18[P1, P2, P3, P4, P5, P6, P7, P8, P9, P10, P11, P12, P13, P14, P15, P16, P17, P18, T <: Product](construct: (P1, P2, P3, P4, P5, P6, P7, P8, P9, P10, P11, P12, P13, P14, P15, P16, P17, P18) ⇒ T)(implicit arg0: JF[P1], arg1: JF[P2], arg2: JF[P3], arg3: JF[P4], arg4: JF[P5], arg5: JF[P6], arg6: JF[P7], arg7: JF[P8], arg8: JF[P9], arg9: JF[P10], arg10: JF[P11], arg11: JF[P12], arg12: JF[P13], arg13: JF[P14], arg14: JF[P15], arg15: JF[P16], arg16: JF[P17], arg17: JF[P18], arg18: ClassManifest[T]): RootJsonFormat[T] + +

                                                  + + Permalink + + +
                                                  Definition Classes
                                                  ProductFormatsInstances
                                                  +
                                                73. + + +

                                                  + + + def + + + jsonFormat19[P1, P2, P3, P4, P5, P6, P7, P8, P9, P10, P11, P12, P13, P14, P15, P16, P17, P18, P19, T <: Product](construct: (P1, P2, P3, P4, P5, P6, P7, P8, P9, P10, P11, P12, P13, P14, P15, P16, P17, P18, P19) ⇒ T)(implicit arg0: JF[P1], arg1: JF[P2], arg2: JF[P3], arg3: JF[P4], arg4: JF[P5], arg5: JF[P6], arg6: JF[P7], arg7: JF[P8], arg8: JF[P9], arg9: JF[P10], arg10: JF[P11], arg11: JF[P12], arg12: JF[P13], arg13: JF[P14], arg14: JF[P15], arg15: JF[P16], arg16: JF[P17], arg17: JF[P18], arg18: JF[P19], arg19: ClassManifest[T]): RootJsonFormat[T] + +

                                                  + + Permalink + + +
                                                  Definition Classes
                                                  ProductFormatsInstances
                                                  +
                                                74. + + +

                                                  + + + def + + + jsonFormat2[P1, P2, T <: Product](construct: (P1, P2) ⇒ T)(implicit arg0: JF[P1], arg1: JF[P2], arg2: ClassManifest[T]): RootJsonFormat[T] + +

                                                  + + Permalink + + +
                                                  Definition Classes
                                                  ProductFormatsInstances
                                                  +
                                                75. + + +

                                                  + + + def + + + jsonFormat20[P1, P2, P3, P4, P5, P6, P7, P8, P9, P10, P11, P12, P13, P14, P15, P16, P17, P18, P19, P20, T <: Product](construct: (P1, P2, P3, P4, P5, P6, P7, P8, P9, P10, P11, P12, P13, P14, P15, P16, P17, P18, P19, P20) ⇒ T)(implicit arg0: JF[P1], arg1: JF[P2], arg2: JF[P3], arg3: JF[P4], arg4: JF[P5], arg5: JF[P6], arg6: JF[P7], arg7: JF[P8], arg8: JF[P9], arg9: JF[P10], arg10: JF[P11], arg11: JF[P12], arg12: JF[P13], arg13: JF[P14], arg14: JF[P15], arg15: JF[P16], arg16: JF[P17], arg17: JF[P18], arg18: JF[P19], arg19: JF[P20], arg20: ClassManifest[T]): RootJsonFormat[T] + +

                                                  + + Permalink + + +
                                                  Definition Classes
                                                  ProductFormatsInstances
                                                  +
                                                76. + + +

                                                  + + + def + + + jsonFormat21[P1, P2, P3, P4, P5, P6, P7, P8, P9, P10, P11, P12, P13, P14, P15, P16, P17, P18, P19, P20, P21, T <: Product](construct: (P1, P2, P3, P4, P5, P6, P7, P8, P9, P10, P11, P12, P13, P14, P15, P16, P17, P18, P19, P20, P21) ⇒ T)(implicit arg0: JF[P1], arg1: JF[P2], arg2: JF[P3], arg3: JF[P4], arg4: JF[P5], arg5: JF[P6], arg6: JF[P7], arg7: JF[P8], arg8: JF[P9], arg9: JF[P10], arg10: JF[P11], arg11: JF[P12], arg12: JF[P13], arg13: JF[P14], arg14: JF[P15], arg15: JF[P16], arg16: JF[P17], arg17: JF[P18], arg18: JF[P19], arg19: JF[P20], arg20: JF[P21], arg21: ClassManifest[T]): RootJsonFormat[T] + +

                                                  + + Permalink + + +
                                                  Definition Classes
                                                  ProductFormatsInstances
                                                  +
                                                77. + + +

                                                  + + + def + + + jsonFormat22[P1, P2, P3, P4, P5, P6, P7, P8, P9, P10, P11, P12, P13, P14, P15, P16, P17, P18, P19, P20, P21, P22, T <: Product](construct: (P1, P2, P3, P4, P5, P6, P7, P8, P9, P10, P11, P12, P13, P14, P15, P16, P17, P18, P19, P20, P21, P22) ⇒ T)(implicit arg0: JF[P1], arg1: JF[P2], arg2: JF[P3], arg3: JF[P4], arg4: JF[P5], arg5: JF[P6], arg6: JF[P7], arg7: JF[P8], arg8: JF[P9], arg9: JF[P10], arg10: JF[P11], arg11: JF[P12], arg12: JF[P13], arg13: JF[P14], arg14: JF[P15], arg15: JF[P16], arg16: JF[P17], arg17: JF[P18], arg18: JF[P19], arg19: JF[P20], arg20: JF[P21], arg21: JF[P22], arg22: ClassManifest[T]): RootJsonFormat[T] + +

                                                  + + Permalink + + +
                                                  Definition Classes
                                                  ProductFormatsInstances
                                                  +
                                                78. + + +

                                                  + + + def + + + jsonFormat3[P1, P2, P3, T <: Product](construct: (P1, P2, P3) ⇒ T)(implicit arg0: JF[P1], arg1: JF[P2], arg2: JF[P3], arg3: ClassManifest[T]): RootJsonFormat[T] + +

                                                  + + Permalink + + +
                                                  Definition Classes
                                                  ProductFormatsInstances
                                                  +
                                                79. + + +

                                                  + + + def + + + jsonFormat4[P1, P2, P3, P4, T <: Product](construct: (P1, P2, P3, P4) ⇒ T)(implicit arg0: JF[P1], arg1: JF[P2], arg2: JF[P3], arg3: JF[P4], arg4: ClassManifest[T]): RootJsonFormat[T] + +

                                                  + + Permalink + + +
                                                  Definition Classes
                                                  ProductFormatsInstances
                                                  +
                                                80. + + +

                                                  + + + def + + + jsonFormat5[P1, P2, P3, P4, P5, T <: Product](construct: (P1, P2, P3, P4, P5) ⇒ T)(implicit arg0: JF[P1], arg1: JF[P2], arg2: JF[P3], arg3: JF[P4], arg4: JF[P5], arg5: ClassManifest[T]): RootJsonFormat[T] + +

                                                  + + Permalink + + +
                                                  Definition Classes
                                                  ProductFormatsInstances
                                                  +
                                                81. + + +

                                                  + + + def + + + jsonFormat6[P1, P2, P3, P4, P5, P6, T <: Product](construct: (P1, P2, P3, P4, P5, P6) ⇒ T)(implicit arg0: JF[P1], arg1: JF[P2], arg2: JF[P3], arg3: JF[P4], arg4: JF[P5], arg5: JF[P6], arg6: ClassManifest[T]): RootJsonFormat[T] + +

                                                  + + Permalink + + +
                                                  Definition Classes
                                                  ProductFormatsInstances
                                                  +
                                                82. + + +

                                                  + + + def + + + jsonFormat7[P1, P2, P3, P4, P5, P6, P7, T <: Product](construct: (P1, P2, P3, P4, P5, P6, P7) ⇒ T)(implicit arg0: JF[P1], arg1: JF[P2], arg2: JF[P3], arg3: JF[P4], arg4: JF[P5], arg5: JF[P6], arg6: JF[P7], arg7: ClassManifest[T]): RootJsonFormat[T] + +

                                                  + + Permalink + + +
                                                  Definition Classes
                                                  ProductFormatsInstances
                                                  +
                                                83. + + +

                                                  + + + def + + + jsonFormat8[P1, P2, P3, P4, P5, P6, P7, P8, T <: Product](construct: (P1, P2, P3, P4, P5, P6, P7, P8) ⇒ T)(implicit arg0: JF[P1], arg1: JF[P2], arg2: JF[P3], arg3: JF[P4], arg4: JF[P5], arg5: JF[P6], arg6: JF[P7], arg7: JF[P8], arg8: ClassManifest[T]): RootJsonFormat[T] + +

                                                  + + Permalink + + +
                                                  Definition Classes
                                                  ProductFormatsInstances
                                                  +
                                                84. + + +

                                                  + + + def + + + jsonFormat9[P1, P2, P3, P4, P5, P6, P7, P8, P9, T <: Product](construct: (P1, P2, P3, P4, P5, P6, P7, P8, P9) ⇒ T)(implicit arg0: JF[P1], arg1: JF[P2], arg2: JF[P3], arg3: JF[P4], arg4: JF[P5], arg5: JF[P6], arg6: JF[P7], arg7: JF[P8], arg8: JF[P9], arg9: ClassManifest[T]): RootJsonFormat[T] + +

                                                  + + Permalink + + +
                                                  Definition Classes
                                                  ProductFormatsInstances
                                                  +
                                                85. + + +

                                                  + + + def + + + lazyFormat[T](format: ⇒ JsonFormat[T]): JsonFormat[T] { lazy val delegate: spray.json.JsonFormat[T] } + +

                                                  + + Permalink + + +
                                                  Definition Classes
                                                  AdditionalFormats
                                                  +
                                                86. + + +

                                                  + + + def + + + lift[T <: AnyRef](reader: RootJsonReader[T]): RootJsonFormat[T] + +

                                                  + + Permalink + + +
                                                  Definition Classes
                                                  AdditionalFormats
                                                  +
                                                87. + + +

                                                  + + + def + + + lift[T <: AnyRef](reader: JsonReader[T]): JsonFormat[T] + +

                                                  + + Permalink + + +
                                                  Definition Classes
                                                  AdditionalFormats
                                                  +
                                                88. + + +

                                                  + + + def + + + lift[T](writer: RootJsonWriter[T]): RootJsonFormat[T] + +

                                                  + + Permalink + + +
                                                  Definition Classes
                                                  AdditionalFormats
                                                  +
                                                89. + + +

                                                  + + + def + + + lift[T](writer: JsonWriter[T]): JsonFormat[T] { def read(value: spray.json.JsValue): Nothing } + +

                                                  + + Permalink + + +
                                                  Definition Classes
                                                  AdditionalFormats
                                                  +
                                                90. + + +

                                                  + + implicit + def + + + linearSeqFormat[T](implicit arg0: JsonFormat[T]): RootJsonFormat[LinearSeq[T]] + +

                                                  + + Permalink + + +
                                                  Definition Classes
                                                  CollectionFormats
                                                  +
                                                91. + + +

                                                  + + implicit + def + + + listFormat[T](implicit arg0: JsonFormat[T]): RootJsonFormat[List[T]] { def write(list: List[T]): spray.json.JsArray } + +

                                                  + + Permalink + + +
                                                  Definition Classes
                                                  CollectionFormats
                                                  +
                                                92. + + +

                                                  + + implicit + def + + + mapFormat[K, V](implicit arg0: JsonFormat[K], arg1: JsonFormat[V]): RootJsonFormat[Map[K, V]] { def write(m: Map[K,V]): spray.json.JsObject } + +

                                                  + + Permalink + + +
                                                  Definition Classes
                                                  CollectionFormats
                                                  +
                                                93. + + +

                                                  + + final + def + + + ne(arg0: AnyRef): Boolean + +

                                                  + + Permalink + + +
                                                  Definition Classes
                                                  AnyRef
                                                  +
                                                94. + + +

                                                  + + final + def + + + notify(): Unit + +

                                                  + + Permalink + + +
                                                  Definition Classes
                                                  AnyRef
                                                  +
                                                95. + + +

                                                  + + final + def + + + notifyAll(): Unit + +

                                                  + + Permalink + + +
                                                  Definition Classes
                                                  AnyRef
                                                  +
                                                96. + + +

                                                  + + implicit + def + + + optionFormat[T](implicit arg0: JF[T]): JF[Option[T]] + +

                                                  + + Permalink + + +
                                                  Definition Classes
                                                  StandardFormats
                                                  +
                                                97. + + +

                                                  + + + def + + + productElement2Field[T](fieldName: String, p: Product, ix: Int, rest: List[JsField])(implicit writer: JsonWriter[T]): List[JsField] + +

                                                  + + Permalink + + +
                                                  Attributes
                                                  protected
                                                  Definition Classes
                                                  ProductFormats
                                                  +
                                                98. + + +

                                                  + + + def + + + rootFormat[T](format: JsonFormat[T]): RootJsonFormat[T] + +

                                                  + + Permalink + + +
                                                  Definition Classes
                                                  AdditionalFormats
                                                  +
                                                99. + + +

                                                  + + + def + + + rootJsonFormat[T](reader: RootJsonReader[T], writer: RootJsonWriter[T]): RootJsonFormat[T] + +

                                                  + + Permalink + + +
                                                  Definition Classes
                                                  AdditionalFormats
                                                  +
                                                100. + + +

                                                  + + + def + + + safeReader[A](implicit arg0: JsonReader[A]): JsonReader[Either[Exception, A]] + +

                                                  + + Permalink + + +
                                                  Definition Classes
                                                  AdditionalFormats
                                                  +
                                                101. + + +

                                                  + + implicit + def + + + seqFormat[T](implicit arg0: JsonFormat[T]): RootJsonFormat[Seq[T]] + +

                                                  + + Permalink + + +
                                                  Definition Classes
                                                  CollectionFormats
                                                  +
                                                102. + + +

                                                  + + implicit + def + + + setFormat[T](implicit arg0: JsonFormat[T]): RootJsonFormat[Set[T]] + +

                                                  + + Permalink + + +
                                                  Definition Classes
                                                  CollectionFormats
                                                  +
                                                103. + + +

                                                  + + final + def + + + synchronized[T0](arg0: ⇒ T0): T0 + +

                                                  + + Permalink + + +
                                                  Definition Classes
                                                  AnyRef
                                                  +
                                                104. + + +

                                                  + + + def + + + toString(): String + +

                                                  + + Permalink + + +
                                                  Definition Classes
                                                  AnyRef → Any
                                                  +
                                                105. + + +

                                                  + + implicit + def + + + tuple1Format[A](implicit arg0: JF[A]): JF[(A)] + +

                                                  + + Permalink + + +
                                                  Definition Classes
                                                  StandardFormats
                                                  +
                                                106. + + +

                                                  + + implicit + def + + + tuple2Format[A, B](implicit arg0: JF[A], arg1: JF[B]): RootJsonFormat[(A, B)] { def write(t: (A, B)): spray.json.JsArray } + +

                                                  + + Permalink + + +
                                                  Definition Classes
                                                  StandardFormats
                                                  +
                                                107. + + +

                                                  + + implicit + def + + + tuple3Format[A, B, C](implicit arg0: JF[A], arg1: JF[B], arg2: JF[C]): RootJsonFormat[(A, B, C)] { def write(t: (A, B, C)): spray.json.JsArray } + +

                                                  + + Permalink + + +
                                                  Definition Classes
                                                  StandardFormats
                                                  +
                                                108. + + +

                                                  + + implicit + def + + + tuple4Format[A, B, C, D](implicit arg0: JF[A], arg1: JF[B], arg2: JF[C], arg3: JF[D]): RootJsonFormat[(A, B, C, D)] { def write(t: (A, B, C, D)): spray.json.JsArray } + +

                                                  + + Permalink + + +
                                                  Definition Classes
                                                  StandardFormats
                                                  +
                                                109. + + +

                                                  + + implicit + def + + + tuple5Format[A, B, C, D, E](implicit arg0: JF[A], arg1: JF[B], arg2: JF[C], arg3: JF[D], arg4: JF[E]): RootJsonFormat[(A, B, C, D, E)] { def write(t: (A, B, C, D, E)): spray.json.JsArray } + +

                                                  + + Permalink + + +
                                                  Definition Classes
                                                  StandardFormats
                                                  +
                                                110. + + +

                                                  + + implicit + def + + + tuple6Format[A, B, C, D, E, F](implicit arg0: JF[A], arg1: JF[B], arg2: JF[C], arg3: JF[D], arg4: JF[E], arg5: JF[F]): RootJsonFormat[(A, B, C, D, E, F)] { def write(t: (A, B, C, D, E, F)): spray.json.JsArray } + +

                                                  + + Permalink + + +
                                                  Definition Classes
                                                  StandardFormats
                                                  +
                                                111. + + +

                                                  + + implicit + def + + + tuple7Format[A, B, C, D, E, F, G](implicit arg0: JF[A], arg1: JF[B], arg2: JF[C], arg3: JF[D], arg4: JF[E], arg5: JF[F], arg6: JF[G]): RootJsonFormat[(A, B, C, D, E, F, G)] { def write(t: (A, B, C, D, E, F, G)): spray.json.JsArray } + +

                                                  + + Permalink + + +
                                                  Definition Classes
                                                  StandardFormats
                                                  +
                                                112. + + +

                                                  + + implicit + def + + + vectorFormat[T](implicit arg0: JsonFormat[T]): RootJsonFormat[Vector[T]] + +

                                                  + + Permalink + + +
                                                  Definition Classes
                                                  CollectionFormats
                                                  +
                                                113. + + +

                                                  + + + def + + + viaSeq[I <: Iterable[T], T](f: (Seq[T]) ⇒ I)(implicit arg0: JsonFormat[T]): RootJsonFormat[I] + +

                                                  + + Permalink + + +
                                                  Definition Classes
                                                  CollectionFormats
                                                  +
                                                114. + + +

                                                  + + final + def + + + wait(): Unit + +

                                                  + + Permalink + + +
                                                  Definition Classes
                                                  AnyRef
                                                  Annotations
                                                  + @throws( + + ... + ) + +
                                                  +
                                                115. + + +

                                                  + + final + def + + + wait(arg0: Long, arg1: Int): Unit + +

                                                  + + Permalink + + +
                                                  Definition Classes
                                                  AnyRef
                                                  Annotations
                                                  + @throws( + + ... + ) + +
                                                  +
                                                116. + + +

                                                  + + final + def + + + wait(arg0: Long): Unit + +

                                                  + + Permalink + + +
                                                  Definition Classes
                                                  AnyRef
                                                  Annotations
                                                  + @throws( + + ... + ) + +
                                                  +
                                                +
                                                + + + + +
                                                + +
                                                +
                                                +

                                                Inherited from DefaultJsonProtocol

                                                +
                                                +

                                                Inherited from AdditionalFormats

                                                +
                                                +

                                                Inherited from ProductFormats

                                                +
                                                +

                                                Inherited from ProductFormatsInstances

                                                +
                                                +

                                                Inherited from CollectionFormats

                                                +
                                                +

                                                Inherited from StandardFormats

                                                +
                                                +

                                                Inherited from BasicFormats

                                                +
                                                +

                                                Inherited from AnyRef

                                                +
                                                +

                                                Inherited from Any

                                                +
                                                + +
                                                + +
                                                +
                                                +

                                                Ungrouped

                                                + +
                                                +
                                                + +
                                                + +
                                                + + + + + + diff --git a/manual1903/api_reference/components/scaladocs/ksb/csle/component/operator/service/WeatherQueryOperator$.html b/manual1903/api_reference/components/scaladocs/ksb/csle/component/operator/service/WeatherQueryOperator$.html new file mode 100644 index 0000000000000000000000000000000000000000..dfcc22207c1c784ec01151183d0f49100cc2fc7e --- /dev/null +++ b/manual1903/api_reference/components/scaladocs/ksb/csle/component/operator/service/WeatherQueryOperator$.html @@ -0,0 +1,524 @@ + + + + WeatherQueryOperator - KSB COMPONENTS Scala App Project 1.0-SNAPSHOT API - ksb.csle.component.operator.service.WeatherQueryOperator + + + + + + + + + + + + + + + + + +

                                                + + + object + + + WeatherQueryOperator extends Logging with Serializable + +

                                                + +
                                                + Linear Supertypes +
                                                Serializable, Serializable, Logging, AnyRef, Any
                                                +
                                                + + +
                                                +
                                                +
                                                + Ordering +
                                                  + +
                                                1. Alphabetic
                                                2. +
                                                3. By Inheritance
                                                4. +
                                                +
                                                +
                                                + Inherited
                                                +
                                                +
                                                  +
                                                1. WeatherQueryOperator
                                                2. Serializable
                                                3. Serializable
                                                4. Logging
                                                5. AnyRef
                                                6. Any
                                                7. +
                                                +
                                                + +
                                                  +
                                                1. Hide All
                                                2. +
                                                3. Show All
                                                4. +
                                                +
                                                +
                                                + Visibility +
                                                1. Public
                                                2. All
                                                +
                                                +
                                                + +
                                                +
                                                + + + + + + +
                                                +

                                                Value Members

                                                +
                                                1. + + +

                                                  + + final + def + + + !=(arg0: Any): Boolean + +

                                                  + + Permalink + + +
                                                  Definition Classes
                                                  AnyRef → Any
                                                  +
                                                2. + + +

                                                  + + final + def + + + ##(): Int + +

                                                  + + Permalink + + +
                                                  Definition Classes
                                                  AnyRef → Any
                                                  +
                                                3. + + +

                                                  + + final + def + + + ==(arg0: Any): Boolean + +

                                                  + + Permalink + + +
                                                  Definition Classes
                                                  AnyRef → Any
                                                  +
                                                4. + + +

                                                  + + + def + + + apply(o: OnDemandOperatorInfo): WeatherQueryOperator + +

                                                  + + Permalink + + + +
                                                5. + + +

                                                  + + final + def + + + asInstanceOf[T0]: T0 + +

                                                  + + Permalink + + +
                                                  Definition Classes
                                                  Any
                                                  +
                                                6. + + +

                                                  + + + def + + + clone(): AnyRef + +

                                                  + + Permalink + + +
                                                  Attributes
                                                  protected[java.lang]
                                                  Definition Classes
                                                  AnyRef
                                                  Annotations
                                                  + @throws( + + ... + ) + +
                                                  +
                                                7. + + +

                                                  + + final + def + + + eq(arg0: AnyRef): Boolean + +

                                                  + + Permalink + + +
                                                  Definition Classes
                                                  AnyRef
                                                  +
                                                8. + + +

                                                  + + + def + + + equals(arg0: Any): Boolean + +

                                                  + + Permalink + + +
                                                  Definition Classes
                                                  AnyRef → Any
                                                  +
                                                9. + + +

                                                  + + + def + + + finalize(): Unit + +

                                                  + + Permalink + + +
                                                  Attributes
                                                  protected[java.lang]
                                                  Definition Classes
                                                  AnyRef
                                                  Annotations
                                                  + @throws( + + classOf[java.lang.Throwable] + ) + +
                                                  +
                                                10. + + +

                                                  + + final + def + + + getClass(): Class[_] + +

                                                  + + Permalink + + +
                                                  Definition Classes
                                                  AnyRef → Any
                                                  +
                                                11. + + +

                                                  + + + def + + + hashCode(): Int + +

                                                  + + Permalink + + +
                                                  Definition Classes
                                                  AnyRef → Any
                                                  +
                                                12. + + +

                                                  + + final + def + + + isInstanceOf[T0]: Boolean + +

                                                  + + Permalink + + +
                                                  Definition Classes
                                                  Any
                                                  +
                                                13. + + +

                                                  + + + val + + + logger: Logger + +

                                                  + + Permalink + + +
                                                  Attributes
                                                  protected
                                                  Definition Classes
                                                  Logging
                                                  +
                                                14. + + +

                                                  + + final + def + + + ne(arg0: AnyRef): Boolean + +

                                                  + + Permalink + + +
                                                  Definition Classes
                                                  AnyRef
                                                  +
                                                15. + + +

                                                  + + final + def + + + notify(): Unit + +

                                                  + + Permalink + + +
                                                  Definition Classes
                                                  AnyRef
                                                  +
                                                16. + + +

                                                  + + final + def + + + notifyAll(): Unit + +

                                                  + + Permalink + + +
                                                  Definition Classes
                                                  AnyRef
                                                  +
                                                17. + + +

                                                  + + final + def + + + synchronized[T0](arg0: ⇒ T0): T0 + +

                                                  + + Permalink + + +
                                                  Definition Classes
                                                  AnyRef
                                                  +
                                                18. + + +

                                                  + + + def + + + toString(): String + +

                                                  + + Permalink + + +
                                                  Definition Classes
                                                  AnyRef → Any
                                                  +
                                                19. + + +

                                                  + + final + def + + + wait(): Unit + +

                                                  + + Permalink + + +
                                                  Definition Classes
                                                  AnyRef
                                                  Annotations
                                                  + @throws( + + ... + ) + +
                                                  +
                                                20. + + +

                                                  + + final + def + + + wait(arg0: Long, arg1: Int): Unit + +

                                                  + + Permalink + + +
                                                  Definition Classes
                                                  AnyRef
                                                  Annotations
                                                  + @throws( + + ... + ) + +
                                                  +
                                                21. + + +

                                                  + + final + def + + + wait(arg0: Long): Unit + +

                                                  + + Permalink + + +
                                                  Definition Classes
                                                  AnyRef
                                                  Annotations
                                                  + @throws( + + ... + ) + +
                                                  +
                                                +
                                                + + + + +
                                                + +
                                                +
                                                +

                                                Inherited from Serializable

                                                +
                                                +

                                                Inherited from Serializable

                                                +
                                                +

                                                Inherited from Logging

                                                +
                                                +

                                                Inherited from AnyRef

                                                +
                                                +

                                                Inherited from Any

                                                +
                                                + +
                                                + +
                                                +
                                                +

                                                Ungrouped

                                                + +
                                                +
                                                + +
                                                + +
                                                + + + + + + diff --git a/manual1903/api_reference/components/scaladocs/ksb/csle/component/operator/service/WeatherQueryOperator.html b/manual1903/api_reference/components/scaladocs/ksb/csle/component/operator/service/WeatherQueryOperator.html new file mode 100644 index 0000000000000000000000000000000000000000..57190cbfa9a369ff6b6ff3c862a11d2328c011c2 --- /dev/null +++ b/manual1903/api_reference/components/scaladocs/ksb/csle/component/operator/service/WeatherQueryOperator.html @@ -0,0 +1,633 @@ + + + + WeatherQueryOperator - KSB COMPONENTS Scala App Project 1.0-SNAPSHOT API - ksb.csle.component.operator.service.WeatherQueryOperator + + + + + + + + + + + + + + + + + +

                                                + + + class + + + WeatherQueryOperator extends BaseGenericMutantOperator[OnDemandOperatorInfo, Option[String], Option[String]] + +

                                                + +
                                                + Linear Supertypes +
                                                BaseGenericMutantOperator[OnDemandOperatorInfo, Option[String], Option[String]], BaseDoer, Logging, Serializable, Serializable, AnyRef, Any
                                                +
                                                + + +
                                                +
                                                +
                                                + Ordering +
                                                  + +
                                                1. Alphabetic
                                                2. +
                                                3. By Inheritance
                                                4. +
                                                +
                                                +
                                                + Inherited
                                                +
                                                +
                                                  +
                                                1. WeatherQueryOperator
                                                2. BaseGenericMutantOperator
                                                3. BaseDoer
                                                4. Logging
                                                5. Serializable
                                                6. Serializable
                                                7. AnyRef
                                                8. Any
                                                9. +
                                                +
                                                + +
                                                  +
                                                1. Hide All
                                                2. +
                                                3. Show All
                                                4. +
                                                +
                                                +
                                                + Visibility +
                                                1. Public
                                                2. All
                                                +
                                                +
                                                + +
                                                +
                                                +
                                                +

                                                Instance Constructors

                                                +
                                                1. + + +

                                                  + + + new + + + WeatherQueryOperator(o: OnDemandOperatorInfo) + +

                                                  + + Permalink + + + +
                                                +
                                                + + + + + +
                                                +

                                                Value Members

                                                +
                                                1. + + +

                                                  + + final + def + + + !=(arg0: Any): Boolean + +

                                                  + + Permalink + + +
                                                  Definition Classes
                                                  AnyRef → Any
                                                  +
                                                2. + + +

                                                  + + final + def + + + ##(): Int + +

                                                  + + Permalink + + +
                                                  Definition Classes
                                                  AnyRef → Any
                                                  +
                                                3. + + +

                                                  + + final + def + + + ==(arg0: Any): Boolean + +

                                                  + + Permalink + + +
                                                  Definition Classes
                                                  AnyRef → Any
                                                  +
                                                4. + + +

                                                  + + final + def + + + asInstanceOf[T0]: T0 + +

                                                  + + Permalink + + +
                                                  Definition Classes
                                                  Any
                                                  +
                                                5. + + +

                                                  + + + def + + + clone(): AnyRef + +

                                                  + + Permalink + + +
                                                  Attributes
                                                  protected[java.lang]
                                                  Definition Classes
                                                  AnyRef
                                                  Annotations
                                                  + @throws( + + ... + ) + +
                                                  +
                                                6. + + +

                                                  + + final + def + + + eq(arg0: AnyRef): Boolean + +

                                                  + + Permalink + + +
                                                  Definition Classes
                                                  AnyRef
                                                  +
                                                7. + + +

                                                  + + + def + + + equals(arg0: Any): Boolean + +

                                                  + + Permalink + + +
                                                  Definition Classes
                                                  AnyRef → Any
                                                  +
                                                8. + + +

                                                  + + + def + + + finalize(): Unit + +

                                                  + + Permalink + + +
                                                  Attributes
                                                  protected[java.lang]
                                                  Definition Classes
                                                  AnyRef
                                                  Annotations
                                                  + @throws( + + classOf[java.lang.Throwable] + ) + +
                                                  +
                                                9. + + +

                                                  + + final + def + + + getClass(): Class[_] + +

                                                  + + Permalink + + +
                                                  Definition Classes
                                                  AnyRef → Any
                                                  +
                                                10. + + +

                                                  + + + def + + + hashCode(): Int + +

                                                  + + Permalink + + +
                                                  Definition Classes
                                                  AnyRef → Any
                                                  +
                                                11. + + +

                                                  + + + val + + + info: KBEQueryOperatorInfo + +

                                                  + + Permalink + + + +
                                                12. + + +

                                                  + + final + def + + + isInstanceOf[T0]: Boolean + +

                                                  + + Permalink + + +
                                                  Definition Classes
                                                  Any
                                                  +
                                                13. + + +

                                                  + + + val + + + logger: Logger + +

                                                  + + Permalink + + +
                                                  Attributes
                                                  protected
                                                  Definition Classes
                                                  Logging
                                                  +
                                                14. + + +

                                                  + + final + def + + + ne(arg0: AnyRef): Boolean + +

                                                  + + Permalink + + +
                                                  Definition Classes
                                                  AnyRef
                                                  +
                                                15. + + +

                                                  + + final + def + + + notify(): Unit + +

                                                  + + Permalink + + +
                                                  Definition Classes
                                                  AnyRef
                                                  +
                                                16. + + +

                                                  + + final + def + + + notifyAll(): Unit + +

                                                  + + Permalink + + +
                                                  Definition Classes
                                                  AnyRef
                                                  +
                                                17. + + +

                                                  + + + def + + + operate(d: Option[String]): Option[String] + +

                                                  + + Permalink + + +
                                                  Definition Classes
                                                  WeatherQueryOperator → BaseGenericMutantOperator
                                                  +
                                                18. + + +

                                                  + + + val + + + serverIp: String + +

                                                  + + Permalink + + + +
                                                19. + + +

                                                  + + + val + + + serverPort: String + +

                                                  + + Permalink + + + +
                                                20. + + +

                                                  + + + val + + + serverUrl: String + +

                                                  + + Permalink + + + +
                                                21. + + +

                                                  + + + def + + + stop: Unit + +

                                                  + + Permalink + + +
                                                  Definition Classes
                                                  BaseGenericMutantOperator
                                                  +
                                                22. + + +

                                                  + + final + def + + + synchronized[T0](arg0: ⇒ T0): T0 + +

                                                  + + Permalink + + +
                                                  Definition Classes
                                                  AnyRef
                                                  +
                                                23. + + +

                                                  + + + def + + + toString(): String + +

                                                  + + Permalink + + +
                                                  Definition Classes
                                                  AnyRef → Any
                                                  +
                                                24. + + +

                                                  + + final + def + + + wait(): Unit + +

                                                  + + Permalink + + +
                                                  Definition Classes
                                                  AnyRef
                                                  Annotations
                                                  + @throws( + + ... + ) + +
                                                  +
                                                25. + + +

                                                  + + final + def + + + wait(arg0: Long, arg1: Int): Unit + +

                                                  + + Permalink + + +
                                                  Definition Classes
                                                  AnyRef
                                                  Annotations
                                                  + @throws( + + ... + ) + +
                                                  +
                                                26. + + +

                                                  + + final + def + + + wait(arg0: Long): Unit + +

                                                  + + Permalink + + +
                                                  Definition Classes
                                                  AnyRef
                                                  Annotations
                                                  + @throws( + + ... + ) + +
                                                  +
                                                +
                                                + + + + +
                                                + +
                                                +
                                                +

                                                Inherited from BaseGenericMutantOperator[OnDemandOperatorInfo, Option[String], Option[String]]

                                                +
                                                +

                                                Inherited from BaseDoer

                                                +
                                                +

                                                Inherited from Logging

                                                +
                                                +

                                                Inherited from Serializable

                                                +
                                                +

                                                Inherited from Serializable

                                                +
                                                +

                                                Inherited from AnyRef

                                                +
                                                +

                                                Inherited from Any

                                                +
                                                + +
                                                + +
                                                +
                                                +

                                                Ungrouped

                                                + +
                                                +
                                                + +
                                                + +
                                                + + + + + + diff --git a/manual1903/api_reference/components/scaladocs/ksb/csle/component/operator/service/WeatherRESTClient.html b/manual1903/api_reference/components/scaladocs/ksb/csle/component/operator/service/WeatherRESTClient.html new file mode 100644 index 0000000000000000000000000000000000000000..70b0d795fca0d1f69870ed8a4a0c9d06fb4271f2 --- /dev/null +++ b/manual1903/api_reference/components/scaladocs/ksb/csle/component/operator/service/WeatherRESTClient.html @@ -0,0 +1,839 @@ + + + + WeatherRESTClient - KSB COMPONENTS Scala App Project 1.0-SNAPSHOT API - ksb.csle.component.operator.service.WeatherRESTClient + + + + + + + + + + + + + + + +
                                                + Class +

                                                ksb.csle.component.operator.service

                                                +

                                                WeatherRESTClient

                                                Related Doc: + package service +

                                                + + Permalink + + +
                                                + +

                                                + + + class + + + WeatherRESTClient extends Actor with Logging + +

                                                + +
                                                + Linear Supertypes +
                                                Logging, Actor, AnyRef, Any
                                                +
                                                + + +
                                                +
                                                +
                                                + Ordering +
                                                  + +
                                                1. Alphabetic
                                                2. +
                                                3. By Inheritance
                                                4. +
                                                +
                                                +
                                                + Inherited
                                                +
                                                +
                                                  +
                                                1. WeatherRESTClient
                                                2. Logging
                                                3. Actor
                                                4. AnyRef
                                                5. Any
                                                6. +
                                                +
                                                + +
                                                  +
                                                1. Hide All
                                                2. +
                                                3. Show All
                                                4. +
                                                +
                                                +
                                                + Visibility +
                                                1. Public
                                                2. All
                                                +
                                                +
                                                + +
                                                +
                                                +
                                                +

                                                Instance Constructors

                                                +
                                                1. + + +

                                                  + + + new + + + WeatherRESTClient(as: ActorSystem, ws: AhcWSClient) + +

                                                  + + Permalink + + + +
                                                +
                                                + +
                                                +

                                                Type Members

                                                +
                                                1. + + +

                                                  + + + type + + + Receive = PartialFunction[Any, Unit] + +

                                                  + + Permalink + + +
                                                  Definition Classes
                                                  Actor
                                                  +
                                                +
                                                + + + +
                                                +

                                                Value Members

                                                +
                                                1. + + +

                                                  + + final + def + + + !=(arg0: Any): Boolean + +

                                                  + + Permalink + + +
                                                  Definition Classes
                                                  AnyRef → Any
                                                  +
                                                2. + + +

                                                  + + final + def + + + ##(): Int + +

                                                  + + Permalink + + +
                                                  Definition Classes
                                                  AnyRef → Any
                                                  +
                                                3. + + +

                                                  + + final + def + + + ==(arg0: Any): Boolean + +

                                                  + + Permalink + + +
                                                  Definition Classes
                                                  AnyRef → Any
                                                  +
                                                4. + + +

                                                  + + + val + + + RESPONSE_TIMEOUT: FiniteDuration + +

                                                  + + Permalink + + + +
                                                5. + + +

                                                  + + + def + + + aroundPostRestart(reason: Throwable): Unit + +

                                                  + + Permalink + + +
                                                  Attributes
                                                  protected[akka]
                                                  Definition Classes
                                                  Actor
                                                  +
                                                6. + + +

                                                  + + + def + + + aroundPostStop(): Unit + +

                                                  + + Permalink + + +
                                                  Attributes
                                                  protected[akka]
                                                  Definition Classes
                                                  Actor
                                                  +
                                                7. + + +

                                                  + + + def + + + aroundPreRestart(reason: Throwable, message: Option[Any]): Unit + +

                                                  + + Permalink + + +
                                                  Attributes
                                                  protected[akka]
                                                  Definition Classes
                                                  Actor
                                                  +
                                                8. + + +

                                                  + + + def + + + aroundPreStart(): Unit + +

                                                  + + Permalink + + +
                                                  Attributes
                                                  protected[akka]
                                                  Definition Classes
                                                  Actor
                                                  +
                                                9. + + +

                                                  + + + def + + + aroundReceive(receive: akka.actor.Actor.Receive, msg: Any): Unit + +

                                                  + + Permalink + + +
                                                  Attributes
                                                  protected[akka]
                                                  Definition Classes
                                                  Actor
                                                  +
                                                10. + + +

                                                  + + final + def + + + asInstanceOf[T0]: T0 + +

                                                  + + Permalink + + +
                                                  Definition Classes
                                                  Any
                                                  +
                                                11. + + +

                                                  + + + def + + + clone(): AnyRef + +

                                                  + + Permalink + + +
                                                  Attributes
                                                  protected[java.lang]
                                                  Definition Classes
                                                  AnyRef
                                                  Annotations
                                                  + @throws( + + ... + ) + +
                                                  +
                                                12. + + +

                                                  + + implicit + val + + + context: ActorContext + +

                                                  + + Permalink + + +
                                                  Definition Classes
                                                  Actor
                                                  +
                                                13. + + +

                                                  + + final + def + + + eq(arg0: AnyRef): Boolean + +

                                                  + + Permalink + + +
                                                  Definition Classes
                                                  AnyRef
                                                  +
                                                14. + + +

                                                  + + + def + + + equals(arg0: Any): Boolean + +

                                                  + + Permalink + + +
                                                  Definition Classes
                                                  AnyRef → Any
                                                  +
                                                15. + + +

                                                  + + + def + + + finalize(): Unit + +

                                                  + + Permalink + + +
                                                  Attributes
                                                  protected[java.lang]
                                                  Definition Classes
                                                  AnyRef
                                                  Annotations
                                                  + @throws( + + classOf[java.lang.Throwable] + ) + +
                                                  +
                                                16. + + +

                                                  + + final + def + + + getClass(): Class[_] + +

                                                  + + Permalink + + +
                                                  Definition Classes
                                                  AnyRef → Any
                                                  +
                                                17. + + +

                                                  + + + def + + + hashCode(): Int + +

                                                  + + Permalink + + +
                                                  Definition Classes
                                                  AnyRef → Any
                                                  +
                                                18. + + +

                                                  + + final + def + + + isInstanceOf[T0]: Boolean + +

                                                  + + Permalink + + +
                                                  Definition Classes
                                                  Any
                                                  +
                                                19. + + +

                                                  + + + val + + + logger: Logger + +

                                                  + + Permalink + + +
                                                  Attributes
                                                  protected
                                                  Definition Classes
                                                  Logging
                                                  +
                                                20. + + +

                                                  + + final + def + + + ne(arg0: AnyRef): Boolean + +

                                                  + + Permalink + + +
                                                  Definition Classes
                                                  AnyRef
                                                  +
                                                21. + + +

                                                  + + final + def + + + notify(): Unit + +

                                                  + + Permalink + + +
                                                  Definition Classes
                                                  AnyRef
                                                  +
                                                22. + + +

                                                  + + final + def + + + notifyAll(): Unit + +

                                                  + + Permalink + + +
                                                  Definition Classes
                                                  AnyRef
                                                  +
                                                23. + + +

                                                  + + + def + + + postRestart(reason: Throwable): Unit + +

                                                  + + Permalink + + +
                                                  Definition Classes
                                                  Actor
                                                  Annotations
                                                  + @throws( + + classOf[java.lang.Exception] + ) + +
                                                  +
                                                24. + + +

                                                  + + + def + + + postStop(): Unit + +

                                                  + + Permalink + + +
                                                  Definition Classes
                                                  Actor
                                                  Annotations
                                                  + @throws( + + classOf[java.lang.Exception] + ) + +
                                                  +
                                                25. + + +

                                                  + + + def + + + preRestart(reason: Throwable, message: Option[Any]): Unit + +

                                                  + + Permalink + + +
                                                  Definition Classes
                                                  Actor
                                                  Annotations
                                                  + @throws( + + classOf[java.lang.Exception] + ) + +
                                                  +
                                                26. + + +

                                                  + + + def + + + preStart(): Unit + +

                                                  + + Permalink + + +
                                                  Definition Classes
                                                  Actor
                                                  Annotations
                                                  + @throws( + + classOf[java.lang.Exception] + ) + +
                                                  +
                                                27. + + +

                                                  + + + def + + + receive: PartialFunction[Any, Unit] + +

                                                  + + Permalink + + +
                                                  Definition Classes
                                                  WeatherRESTClient → Actor
                                                  +
                                                28. + + +

                                                  + + implicit final + val + + + self: ActorRef + +

                                                  + + Permalink + + +
                                                  Definition Classes
                                                  Actor
                                                  +
                                                29. + + +

                                                  + + final + def + + + sender(): ActorRef + +

                                                  + + Permalink + + +
                                                  Definition Classes
                                                  Actor
                                                  +
                                                30. + + +

                                                  + + + def + + + supervisorStrategy: SupervisorStrategy + +

                                                  + + Permalink + + +
                                                  Definition Classes
                                                  Actor
                                                  +
                                                31. + + +

                                                  + + final + def + + + synchronized[T0](arg0: ⇒ T0): T0 + +

                                                  + + Permalink + + +
                                                  Definition Classes
                                                  AnyRef
                                                  +
                                                32. + + +

                                                  + + + def + + + toString(): String + +

                                                  + + Permalink + + +
                                                  Definition Classes
                                                  AnyRef → Any
                                                  +
                                                33. + + +

                                                  + + + def + + + unhandled(message: Any): Unit + +

                                                  + + Permalink + + +
                                                  Definition Classes
                                                  Actor
                                                  +
                                                34. + + +

                                                  + + final + def + + + wait(): Unit + +

                                                  + + Permalink + + +
                                                  Definition Classes
                                                  AnyRef
                                                  Annotations
                                                  + @throws( + + ... + ) + +
                                                  +
                                                35. + + +

                                                  + + final + def + + + wait(arg0: Long, arg1: Int): Unit + +

                                                  + + Permalink + + +
                                                  Definition Classes
                                                  AnyRef
                                                  Annotations
                                                  + @throws( + + ... + ) + +
                                                  +
                                                36. + + +

                                                  + + final + def + + + wait(arg0: Long): Unit + +

                                                  + + Permalink + + +
                                                  Definition Classes
                                                  AnyRef
                                                  Annotations
                                                  + @throws( + + ... + ) + +
                                                  +
                                                +
                                                + + + + +
                                                + +
                                                +
                                                +

                                                Inherited from Logging

                                                +
                                                +

                                                Inherited from Actor

                                                +
                                                +

                                                Inherited from AnyRef

                                                +
                                                +

                                                Inherited from Any

                                                +
                                                + +
                                                + +
                                                +
                                                +

                                                Ungrouped

                                                + +
                                                +
                                                + +
                                                + +
                                                + + + + + + diff --git a/manual1903/api_reference/components/scaladocs/ksb/csle/component/operator/service/package$$StrokeIndexRequest.html b/manual1903/api_reference/components/scaladocs/ksb/csle/component/operator/service/package$$StrokeIndexRequest.html new file mode 100644 index 0000000000000000000000000000000000000000..f5371454e78ed8a49cbdf279ad4a777f33eb4355 --- /dev/null +++ b/manual1903/api_reference/components/scaladocs/ksb/csle/component/operator/service/package$$StrokeIndexRequest.html @@ -0,0 +1,527 @@ + + + + StrokeIndexRequest - KSB COMPONENTS Scala App Project 1.0-SNAPSHOT API - ksb.csle.component.operator.service.StrokeIndexRequest + + + + + + + + + + + + + + + +
                                                + Class +

                                                ksb.csle.component.operator.service

                                                +

                                                StrokeIndexRequest

                                                Related Doc: + package service +

                                                + + Permalink + + +
                                                + +

                                                + + + case class + + + StrokeIndexRequest(baseUrl: String, serviceKey: String, time: String, coord: String) extends Product with Serializable + +

                                                + +
                                                + Linear Supertypes +
                                                Serializable, Serializable, Product, Equals, AnyRef, Any
                                                +
                                                + + +
                                                +
                                                +
                                                + Ordering +
                                                  + +
                                                1. Alphabetic
                                                2. +
                                                3. By Inheritance
                                                4. +
                                                +
                                                +
                                                + Inherited
                                                +
                                                +
                                                  +
                                                1. StrokeIndexRequest
                                                2. Serializable
                                                3. Serializable
                                                4. Product
                                                5. Equals
                                                6. AnyRef
                                                7. Any
                                                8. +
                                                +
                                                + +
                                                  +
                                                1. Hide All
                                                2. +
                                                3. Show All
                                                4. +
                                                +
                                                +
                                                + Visibility +
                                                1. Public
                                                2. All
                                                +
                                                +
                                                + +
                                                +
                                                +
                                                +

                                                Instance Constructors

                                                +
                                                1. + + +

                                                  + + + new + + + StrokeIndexRequest(baseUrl: String, serviceKey: String, time: String, coord: String) + +

                                                  + + Permalink + + + +
                                                +
                                                + + + + + +
                                                +

                                                Value Members

                                                +
                                                1. + + +

                                                  + + final + def + + + !=(arg0: Any): Boolean + +

                                                  + + Permalink + + +
                                                  Definition Classes
                                                  AnyRef → Any
                                                  +
                                                2. + + +

                                                  + + final + def + + + ##(): Int + +

                                                  + + Permalink + + +
                                                  Definition Classes
                                                  AnyRef → Any
                                                  +
                                                3. + + +

                                                  + + final + def + + + ==(arg0: Any): Boolean + +

                                                  + + Permalink + + +
                                                  Definition Classes
                                                  AnyRef → Any
                                                  +
                                                4. + + +

                                                  + + final + def + + + asInstanceOf[T0]: T0 + +

                                                  + + Permalink + + +
                                                  Definition Classes
                                                  Any
                                                  +
                                                5. + + +

                                                  + + + val + + + baseUrl: String + +

                                                  + + Permalink + + + +
                                                6. + + +

                                                  + + + def + + + clone(): AnyRef + +

                                                  + + Permalink + + +
                                                  Attributes
                                                  protected[java.lang]
                                                  Definition Classes
                                                  AnyRef
                                                  Annotations
                                                  + @throws( + + ... + ) + +
                                                  +
                                                7. + + +

                                                  + + + val + + + coord: String + +

                                                  + + Permalink + + + +
                                                8. + + +

                                                  + + final + def + + + eq(arg0: AnyRef): Boolean + +

                                                  + + Permalink + + +
                                                  Definition Classes
                                                  AnyRef
                                                  +
                                                9. + + +

                                                  + + + def + + + finalize(): Unit + +

                                                  + + Permalink + + +
                                                  Attributes
                                                  protected[java.lang]
                                                  Definition Classes
                                                  AnyRef
                                                  Annotations
                                                  + @throws( + + classOf[java.lang.Throwable] + ) + +
                                                  +
                                                10. + + +

                                                  + + final + def + + + getClass(): Class[_] + +

                                                  + + Permalink + + +
                                                  Definition Classes
                                                  AnyRef → Any
                                                  +
                                                11. + + +

                                                  + + final + def + + + isInstanceOf[T0]: Boolean + +

                                                  + + Permalink + + +
                                                  Definition Classes
                                                  Any
                                                  +
                                                12. + + +

                                                  + + final + def + + + ne(arg0: AnyRef): Boolean + +

                                                  + + Permalink + + +
                                                  Definition Classes
                                                  AnyRef
                                                  +
                                                13. + + +

                                                  + + final + def + + + notify(): Unit + +

                                                  + + Permalink + + +
                                                  Definition Classes
                                                  AnyRef
                                                  +
                                                14. + + +

                                                  + + final + def + + + notifyAll(): Unit + +

                                                  + + Permalink + + +
                                                  Definition Classes
                                                  AnyRef
                                                  +
                                                15. + + +

                                                  + + + val + + + serviceKey: String + +

                                                  + + Permalink + + + +
                                                16. + + +

                                                  + + final + def + + + synchronized[T0](arg0: ⇒ T0): T0 + +

                                                  + + Permalink + + +
                                                  Definition Classes
                                                  AnyRef
                                                  +
                                                17. + + +

                                                  + + + val + + + time: String + +

                                                  + + Permalink + + + +
                                                18. + + +

                                                  + + final + def + + + wait(): Unit + +

                                                  + + Permalink + + +
                                                  Definition Classes
                                                  AnyRef
                                                  Annotations
                                                  + @throws( + + ... + ) + +
                                                  +
                                                19. + + +

                                                  + + final + def + + + wait(arg0: Long, arg1: Int): Unit + +

                                                  + + Permalink + + +
                                                  Definition Classes
                                                  AnyRef
                                                  Annotations
                                                  + @throws( + + ... + ) + +
                                                  +
                                                20. + + +

                                                  + + final + def + + + wait(arg0: Long): Unit + +

                                                  + + Permalink + + +
                                                  Definition Classes
                                                  AnyRef
                                                  Annotations
                                                  + @throws( + + ... + ) + +
                                                  +
                                                +
                                                + + + + +
                                                + +
                                                +
                                                +

                                                Inherited from Serializable

                                                +
                                                +

                                                Inherited from Serializable

                                                +
                                                +

                                                Inherited from Product

                                                +
                                                +

                                                Inherited from Equals

                                                +
                                                +

                                                Inherited from AnyRef

                                                +
                                                +

                                                Inherited from Any

                                                +
                                                + +
                                                + +
                                                +
                                                +

                                                Ungrouped

                                                + +
                                                +
                                                + +
                                                + +
                                                + + + + + + diff --git a/manual1903/api_reference/components/scaladocs/ksb/csle/component/operator/service/package$$WeatherRequest.html b/manual1903/api_reference/components/scaladocs/ksb/csle/component/operator/service/package$$WeatherRequest.html new file mode 100644 index 0000000000000000000000000000000000000000..7fdff1991bac6fd014df9d512db35090c5db40f3 --- /dev/null +++ b/manual1903/api_reference/components/scaladocs/ksb/csle/component/operator/service/package$$WeatherRequest.html @@ -0,0 +1,544 @@ + + + + WeatherRequest - KSB COMPONENTS Scala App Project 1.0-SNAPSHOT API - ksb.csle.component.operator.service.WeatherRequest + + + + + + + + + + + + + + + +
                                                + Class +

                                                ksb.csle.component.operator.service

                                                +

                                                WeatherRequest

                                                Related Doc: + package service +

                                                + + Permalink + + +
                                                + +

                                                + + + case class + + + WeatherRequest(baseUrl: String, serviceKey: String, time: String, nx: String, ny: String) extends Product with Serializable + +

                                                + +
                                                + Linear Supertypes +
                                                Serializable, Serializable, Product, Equals, AnyRef, Any
                                                +
                                                + + +
                                                +
                                                +
                                                + Ordering +
                                                  + +
                                                1. Alphabetic
                                                2. +
                                                3. By Inheritance
                                                4. +
                                                +
                                                +
                                                + Inherited
                                                +
                                                +
                                                  +
                                                1. WeatherRequest
                                                2. Serializable
                                                3. Serializable
                                                4. Product
                                                5. Equals
                                                6. AnyRef
                                                7. Any
                                                8. +
                                                +
                                                + +
                                                  +
                                                1. Hide All
                                                2. +
                                                3. Show All
                                                4. +
                                                +
                                                +
                                                + Visibility +
                                                1. Public
                                                2. All
                                                +
                                                +
                                                + +
                                                +
                                                +
                                                +

                                                Instance Constructors

                                                +
                                                1. + + +

                                                  + + + new + + + WeatherRequest(baseUrl: String, serviceKey: String, time: String, nx: String, ny: String) + +

                                                  + + Permalink + + + +
                                                +
                                                + + + + + +
                                                +

                                                Value Members

                                                +
                                                1. + + +

                                                  + + final + def + + + !=(arg0: Any): Boolean + +

                                                  + + Permalink + + +
                                                  Definition Classes
                                                  AnyRef → Any
                                                  +
                                                2. + + +

                                                  + + final + def + + + ##(): Int + +

                                                  + + Permalink + + +
                                                  Definition Classes
                                                  AnyRef → Any
                                                  +
                                                3. + + +

                                                  + + final + def + + + ==(arg0: Any): Boolean + +

                                                  + + Permalink + + +
                                                  Definition Classes
                                                  AnyRef → Any
                                                  +
                                                4. + + +

                                                  + + final + def + + + asInstanceOf[T0]: T0 + +

                                                  + + Permalink + + +
                                                  Definition Classes
                                                  Any
                                                  +
                                                5. + + +

                                                  + + + val + + + baseUrl: String + +

                                                  + + Permalink + + + +
                                                6. + + +

                                                  + + + def + + + clone(): AnyRef + +

                                                  + + Permalink + + +
                                                  Attributes
                                                  protected[java.lang]
                                                  Definition Classes
                                                  AnyRef
                                                  Annotations
                                                  + @throws( + + ... + ) + +
                                                  +
                                                7. + + +

                                                  + + final + def + + + eq(arg0: AnyRef): Boolean + +

                                                  + + Permalink + + +
                                                  Definition Classes
                                                  AnyRef
                                                  +
                                                8. + + +

                                                  + + + def + + + finalize(): Unit + +

                                                  + + Permalink + + +
                                                  Attributes
                                                  protected[java.lang]
                                                  Definition Classes
                                                  AnyRef
                                                  Annotations
                                                  + @throws( + + classOf[java.lang.Throwable] + ) + +
                                                  +
                                                9. + + +

                                                  + + final + def + + + getClass(): Class[_] + +

                                                  + + Permalink + + +
                                                  Definition Classes
                                                  AnyRef → Any
                                                  +
                                                10. + + +

                                                  + + final + def + + + isInstanceOf[T0]: Boolean + +

                                                  + + Permalink + + +
                                                  Definition Classes
                                                  Any
                                                  +
                                                11. + + +

                                                  + + final + def + + + ne(arg0: AnyRef): Boolean + +

                                                  + + Permalink + + +
                                                  Definition Classes
                                                  AnyRef
                                                  +
                                                12. + + +

                                                  + + final + def + + + notify(): Unit + +

                                                  + + Permalink + + +
                                                  Definition Classes
                                                  AnyRef
                                                  +
                                                13. + + +

                                                  + + final + def + + + notifyAll(): Unit + +

                                                  + + Permalink + + +
                                                  Definition Classes
                                                  AnyRef
                                                  +
                                                14. + + +

                                                  + + + val + + + nx: String + +

                                                  + + Permalink + + + +
                                                15. + + +

                                                  + + + val + + + ny: String + +

                                                  + + Permalink + + + +
                                                16. + + +

                                                  + + + val + + + serviceKey: String + +

                                                  + + Permalink + + + +
                                                17. + + +

                                                  + + final + def + + + synchronized[T0](arg0: ⇒ T0): T0 + +

                                                  + + Permalink + + +
                                                  Definition Classes
                                                  AnyRef
                                                  +
                                                18. + + +

                                                  + + + val + + + time: String + +

                                                  + + Permalink + + + +
                                                19. + + +

                                                  + + final + def + + + wait(): Unit + +

                                                  + + Permalink + + +
                                                  Definition Classes
                                                  AnyRef
                                                  Annotations
                                                  + @throws( + + ... + ) + +
                                                  +
                                                20. + + +

                                                  + + final + def + + + wait(arg0: Long, arg1: Int): Unit + +

                                                  + + Permalink + + +
                                                  Definition Classes
                                                  AnyRef
                                                  Annotations
                                                  + @throws( + + ... + ) + +
                                                  +
                                                21. + + +

                                                  + + final + def + + + wait(arg0: Long): Unit + +

                                                  + + Permalink + + +
                                                  Definition Classes
                                                  AnyRef
                                                  Annotations
                                                  + @throws( + + ... + ) + +
                                                  +
                                                +
                                                + + + + +
                                                + +
                                                +
                                                +

                                                Inherited from Serializable

                                                +
                                                +

                                                Inherited from Serializable

                                                +
                                                +

                                                Inherited from Product

                                                +
                                                +

                                                Inherited from Equals

                                                +
                                                +

                                                Inherited from AnyRef

                                                +
                                                +

                                                Inherited from Any

                                                +
                                                + +
                                                + +
                                                +
                                                +

                                                Ungrouped

                                                + +
                                                +
                                                + +
                                                + +
                                                + + + + + + diff --git a/manual1903/api_reference/components/scaladocs/ksb/csle/component/operator/service/package.html b/manual1903/api_reference/components/scaladocs/ksb/csle/component/operator/service/package.html new file mode 100644 index 0000000000000000000000000000000000000000..11df99edfef355a87e98c22b41b4afcd8166497c --- /dev/null +++ b/manual1903/api_reference/components/scaladocs/ksb/csle/component/operator/service/package.html @@ -0,0 +1,337 @@ + + + + service - KSB COMPONENTS Scala App Project 1.0-SNAPSHOT API - ksb.csle.component.operator.service + + + + + + + + + + + + + + + +
                                                + Package +

                                                ksb.csle.component.operator

                                                +

                                                service

                                                + + Permalink + + +
                                                + +

                                                + + + package + + + service + +

                                                + +
                                                + Linear Supertypes +
                                                AnyRef, Any
                                                +
                                                + + +
                                                +
                                                +
                                                + Ordering +
                                                  + +
                                                1. Alphabetic
                                                2. +
                                                3. By Inheritance
                                                4. +
                                                +
                                                +
                                                + Inherited
                                                +
                                                +
                                                  +
                                                1. service
                                                2. AnyRef
                                                3. Any
                                                4. +
                                                +
                                                + +
                                                  +
                                                1. Hide All
                                                2. +
                                                3. Show All
                                                4. +
                                                +
                                                +
                                                + Visibility +
                                                1. Public
                                                2. All
                                                +
                                                +
                                                + +
                                                +
                                                + + +
                                                +

                                                Type Members

                                                +
                                                1. + + +

                                                  + + + class + + + ControlContextQueryOperator extends BaseGenericMutantOperator[OnDemandOperatorInfo, Option[String], (Option[String]) ⇒ Option[KbeResponse]] + +

                                                  + + Permalink + + + +
                                                2. + + +

                                                  + + final + class + + + HttpWeatherResponseReceiver extends Receiver[String] with Logging + +

                                                  + + Permalink + + + +
                                                3. + + +

                                                  + + final + case class + + + PredictResult(predicted_label: Double) extends Product with Serializable + +

                                                  + + Permalink + + +

                                                  :: ApplicationDeveloperApi ::

                                                  :: ApplicationDeveloperApi ::

                                                  Operator that queries recommanded device control with pipelined data that passed +from predictoin engine. +

                                                  +
                                                4. + + +

                                                  + + + case class + + + StrokeIndexRequest(baseUrl: String, serviceKey: String, time: String, coord: String) extends Product with Serializable + +

                                                  + + Permalink + + + +
                                                5. + + +

                                                  + + + class + + + TensorflowServingOperator extends BaseGenericMutantOperator[OnDemandOperatorInfo, RequestContext, ResponseContext] + +

                                                  + + Permalink + + +

                                                  :: ApplicationDeveloperApi ::

                                                  :: ApplicationDeveloperApi ::

                                                  Operator that processes the request of tensorflow model. +

                                                  +
                                                6. + + +

                                                  + + + class + + + WeatherQueryOperator extends BaseGenericMutantOperator[OnDemandOperatorInfo, Option[String], Option[String]] + +

                                                  + + Permalink + + +

                                                  +
                                                7. + + +

                                                  + + + class + + + WeatherRESTClient extends Actor with Logging + +

                                                  + + Permalink + + + +
                                                8. + + +

                                                  + + + case class + + + WeatherRequest(baseUrl: String, serviceKey: String, time: String, nx: String, ny: String) extends Product with Serializable + +

                                                  + + Permalink + + + +
                                                +
                                                + + + +
                                                +

                                                Value Members

                                                +
                                                1. + + +

                                                  + + + object + + + ControlContextQueryOperator extends Logging with Serializable + +

                                                  + + Permalink + + + +
                                                2. + + +

                                                  + + + object + + + MyJsonProtocol extends DefaultJsonProtocol + +

                                                  + + Permalink + + + +
                                                3. + + +

                                                  + + + object + + + WeatherJsonProtocol extends DefaultJsonProtocol + +

                                                  + + Permalink + + + +
                                                4. + + +

                                                  + + + object + + + WeatherQueryOperator extends Logging with Serializable + +

                                                  + + Permalink + + + +
                                                +
                                                + + + + +
                                                + +
                                                +
                                                +

                                                Inherited from AnyRef

                                                +
                                                +

                                                Inherited from Any

                                                +
                                                + +
                                                + +
                                                +
                                                +

                                                Ungrouped

                                                + +
                                                +
                                                + +
                                                + +
                                                + + + + + + diff --git a/manual1903/api_reference/components/scaladocs/ksb/csle/component/operator/transformation/AddConditionalColumnOperator.html b/manual1903/api_reference/components/scaladocs/ksb/csle/component/operator/transformation/AddConditionalColumnOperator.html new file mode 100644 index 0000000000000000000000000000000000000000..6a8492d1214e197050a3a976cee81071ae039bbd --- /dev/null +++ b/manual1903/api_reference/components/scaladocs/ksb/csle/component/operator/transformation/AddConditionalColumnOperator.html @@ -0,0 +1,579 @@ + + + + AddConditionalColumnOperator - KSB COMPONENTS Scala App Project 1.0-SNAPSHOT API - ksb.csle.component.operator.transformation.AddConditionalColumnOperator + + + + + + + + + + + + + + + +
                                                + Class +

                                                ksb.csle.component.operator.transformation

                                                +

                                                AddConditionalColumnOperator

                                                Related Doc: + package transformation +

                                                + + Permalink + + +
                                                + +

                                                + + + class + + + AddConditionalColumnOperator extends BaseDataOperator[StreamOperatorInfo, DataFrame] + +

                                                + +

                                                :: ApplicationDeveloperApi ::

                                                Operator that adds new column in the given rules. +

                                                + Linear Supertypes +
                                                BaseDataOperator[StreamOperatorInfo, DataFrame], BaseGenericOperator[StreamOperatorInfo, DataFrame], BaseGenericMutantOperator[StreamOperatorInfo, DataFrame, DataFrame], BaseDoer, Logging, Serializable, Serializable, AnyRef, Any
                                                +
                                                + + +
                                                +
                                                +
                                                + Ordering +
                                                  + +
                                                1. Alphabetic
                                                2. +
                                                3. By Inheritance
                                                4. +
                                                +
                                                +
                                                + Inherited
                                                +
                                                +
                                                  +
                                                1. AddConditionalColumnOperator
                                                2. BaseDataOperator
                                                3. BaseGenericOperator
                                                4. BaseGenericMutantOperator
                                                5. BaseDoer
                                                6. Logging
                                                7. Serializable
                                                8. Serializable
                                                9. AnyRef
                                                10. Any
                                                11. +
                                                +
                                                + +
                                                  +
                                                1. Hide All
                                                2. +
                                                3. Show All
                                                4. +
                                                +
                                                +
                                                + Visibility +
                                                1. Public
                                                2. All
                                                +
                                                +
                                                + +
                                                +
                                                +
                                                +

                                                Instance Constructors

                                                +
                                                1. + + +

                                                  + + + new + + + AddConditionalColumnOperator(o: StreamOperatorInfo) + +

                                                  + + Permalink + + +

                                                  o

                                                  Object that contains message + ksb.csle.common.proto.StreamOperatorProto.AddConditionalColumnInfo + AddConditionalColumnInfo contains attributes as follows:

                                                  • newColumnName: new column name (required)
                                                  • rules: rule list to set value to new column (optional) + AddColumnRule contains attributes as follows:
                                                  • condition: condition expression in SQL format (required)
                                                  • value: value if condition matched (required)

                                                  AddConditionalColumnInfo

                                                  message AddConditionalColumnInfo {
                                                  +  required string newColumnName = 1;
                                                  +  repeated AddColumnRule rules = 2;
                                                  +}
                                                  +message AddColumnRule {
                                                  +  required string condition = 1;
                                                  +  required string value = 2;
                                                  +}
                                                  +
                                                +
                                                + + + + + +
                                                +

                                                Value Members

                                                +
                                                1. + + +

                                                  + + final + def + + + !=(arg0: Any): Boolean + +

                                                  + + Permalink + + +
                                                  Definition Classes
                                                  AnyRef → Any
                                                  +
                                                2. + + +

                                                  + + final + def + + + ##(): Int + +

                                                  + + Permalink + + +
                                                  Definition Classes
                                                  AnyRef → Any
                                                  +
                                                3. + + +

                                                  + + final + def + + + ==(arg0: Any): Boolean + +

                                                  + + Permalink + + +
                                                  Definition Classes
                                                  AnyRef → Any
                                                  +
                                                4. + + +

                                                  + + final + def + + + asInstanceOf[T0]: T0 + +

                                                  + + Permalink + + +
                                                  Definition Classes
                                                  Any
                                                  +
                                                5. + + +

                                                  + + + def + + + clone(): AnyRef + +

                                                  + + Permalink + + +
                                                  Attributes
                                                  protected[java.lang]
                                                  Definition Classes
                                                  AnyRef
                                                  Annotations
                                                  + @throws( + + ... + ) + +
                                                  +
                                                6. + + +

                                                  + + final + def + + + eq(arg0: AnyRef): Boolean + +

                                                  + + Permalink + + +
                                                  Definition Classes
                                                  AnyRef
                                                  +
                                                7. + + +

                                                  + + + def + + + equals(arg0: Any): Boolean + +

                                                  + + Permalink + + +
                                                  Definition Classes
                                                  AnyRef → Any
                                                  +
                                                8. + + +

                                                  + + + def + + + finalize(): Unit + +

                                                  + + Permalink + + +
                                                  Attributes
                                                  protected[java.lang]
                                                  Definition Classes
                                                  AnyRef
                                                  Annotations
                                                  + @throws( + + classOf[java.lang.Throwable] + ) + +
                                                  +
                                                9. + + +

                                                  + + final + def + + + getClass(): Class[_] + +

                                                  + + Permalink + + +
                                                  Definition Classes
                                                  AnyRef → Any
                                                  +
                                                10. + + +

                                                  + + + def + + + hashCode(): Int + +

                                                  + + Permalink + + +
                                                  Definition Classes
                                                  AnyRef → Any
                                                  +
                                                11. + + +

                                                  + + final + def + + + isInstanceOf[T0]: Boolean + +

                                                  + + Permalink + + +
                                                  Definition Classes
                                                  Any
                                                  +
                                                12. + + +

                                                  + + + val + + + logger: Logger + +

                                                  + + Permalink + + +
                                                  Attributes
                                                  protected
                                                  Definition Classes
                                                  Logging
                                                  +
                                                13. + + +

                                                  + + final + def + + + ne(arg0: AnyRef): Boolean + +

                                                  + + Permalink + + +
                                                  Definition Classes
                                                  AnyRef
                                                  +
                                                14. + + +

                                                  + + final + def + + + notify(): Unit + +

                                                  + + Permalink + + +
                                                  Definition Classes
                                                  AnyRef
                                                  +
                                                15. + + +

                                                  + + final + def + + + notifyAll(): Unit + +

                                                  + + Permalink + + +
                                                  Definition Classes
                                                  AnyRef
                                                  +
                                                16. + + +

                                                  + + + def + + + operate(inputs: DataFrame): DataFrame + +

                                                  + + Permalink + + +

                                                  Operate adding new column in the given rules.

                                                  Operate adding new column in the given rules. +

                                                  inputs

                                                  Input dataframe

                                                  returns

                                                  DataFrame Output dataframe has new column.

                                                  Definition Classes
                                                  AddConditionalColumnOperator → BaseGenericOperator → BaseGenericMutantOperator
                                                  +
                                                17. + + +

                                                  + + + def + + + stop: Unit + +

                                                  + + Permalink + + +
                                                  Definition Classes
                                                  BaseGenericOperator → BaseGenericMutantOperator
                                                  +
                                                18. + + +

                                                  + + final + def + + + synchronized[T0](arg0: ⇒ T0): T0 + +

                                                  + + Permalink + + +
                                                  Definition Classes
                                                  AnyRef
                                                  +
                                                19. + + +

                                                  + + + def + + + toString(): String + +

                                                  + + Permalink + + +
                                                  Definition Classes
                                                  AnyRef → Any
                                                  +
                                                20. + + +

                                                  + + final + def + + + wait(): Unit + +

                                                  + + Permalink + + +
                                                  Definition Classes
                                                  AnyRef
                                                  Annotations
                                                  + @throws( + + ... + ) + +
                                                  +
                                                21. + + +

                                                  + + final + def + + + wait(arg0: Long, arg1: Int): Unit + +

                                                  + + Permalink + + +
                                                  Definition Classes
                                                  AnyRef
                                                  Annotations
                                                  + @throws( + + ... + ) + +
                                                  +
                                                22. + + +

                                                  + + final + def + + + wait(arg0: Long): Unit + +

                                                  + + Permalink + + +
                                                  Definition Classes
                                                  AnyRef
                                                  Annotations
                                                  + @throws( + + ... + ) + +
                                                  +
                                                +
                                                + + + + +
                                                + +
                                                +
                                                +

                                                Inherited from BaseDataOperator[StreamOperatorInfo, DataFrame]

                                                +
                                                +

                                                Inherited from BaseGenericOperator[StreamOperatorInfo, DataFrame]

                                                +
                                                +

                                                Inherited from BaseGenericMutantOperator[StreamOperatorInfo, DataFrame, DataFrame]

                                                +
                                                +

                                                Inherited from BaseDoer

                                                +
                                                +

                                                Inherited from Logging

                                                +
                                                +

                                                Inherited from Serializable

                                                +
                                                +

                                                Inherited from Serializable

                                                +
                                                +

                                                Inherited from AnyRef

                                                +
                                                +

                                                Inherited from Any

                                                +
                                                + +
                                                + +
                                                +
                                                +

                                                Ungrouped

                                                + +
                                                +
                                                + +
                                                + +
                                                + + + + + + diff --git a/manual1903/api_reference/components/scaladocs/ksb/csle/component/operator/transformation/ChangeColumnDataTypeOperator.html b/manual1903/api_reference/components/scaladocs/ksb/csle/component/operator/transformation/ChangeColumnDataTypeOperator.html new file mode 100644 index 0000000000000000000000000000000000000000..c5b3219906a6b87c6c8f3b135171dbe9e73c923a --- /dev/null +++ b/manual1903/api_reference/components/scaladocs/ksb/csle/component/operator/transformation/ChangeColumnDataTypeOperator.html @@ -0,0 +1,579 @@ + + + + ChangeColumnDataTypeOperator - KSB COMPONENTS Scala App Project 1.0-SNAPSHOT API - ksb.csle.component.operator.transformation.ChangeColumnDataTypeOperator + + + + + + + + + + + + + + + +
                                                + Class +

                                                ksb.csle.component.operator.transformation

                                                +

                                                ChangeColumnDataTypeOperator

                                                Related Doc: + package transformation +

                                                + + Permalink + + +
                                                + +

                                                + + + class + + + ChangeColumnDataTypeOperator extends BaseDataOperator[StreamOperatorInfo, DataFrame] + +

                                                + +

                                                :: ApplicationDeveloperApi ::

                                                Operator that changes column data type. +

                                                + Linear Supertypes +
                                                BaseDataOperator[StreamOperatorInfo, DataFrame], BaseGenericOperator[StreamOperatorInfo, DataFrame], BaseGenericMutantOperator[StreamOperatorInfo, DataFrame, DataFrame], BaseDoer, Logging, Serializable, Serializable, AnyRef, Any
                                                +
                                                + + +
                                                +
                                                +
                                                + Ordering +
                                                  + +
                                                1. Alphabetic
                                                2. +
                                                3. By Inheritance
                                                4. +
                                                +
                                                +
                                                + Inherited
                                                +
                                                +
                                                  +
                                                1. ChangeColumnDataTypeOperator
                                                2. BaseDataOperator
                                                3. BaseGenericOperator
                                                4. BaseGenericMutantOperator
                                                5. BaseDoer
                                                6. Logging
                                                7. Serializable
                                                8. Serializable
                                                9. AnyRef
                                                10. Any
                                                11. +
                                                +
                                                + +
                                                  +
                                                1. Hide All
                                                2. +
                                                3. Show All
                                                4. +
                                                +
                                                +
                                                + Visibility +
                                                1. Public
                                                2. All
                                                +
                                                +
                                                + +
                                                +
                                                +
                                                +

                                                Instance Constructors

                                                +
                                                1. + + +

                                                  + + + new + + + ChangeColumnDataTypeOperator(o: StreamOperatorInfo) + +

                                                  + + Permalink + + +

                                                  o

                                                  Object that contains message + ksb.csle.common.proto.StreamOperatorProto.? + ChangeColumnDataTypeInfo contains attributes as follows:

                                                  • columName: column name (required)
                                                  • dataType: column data type (required)
                                                  • more: additional schemes that change column data type (repeated)

                                                  ChangeColumnDataTypeInfo

                                                  message ChangeColumnDataTypeInfo {
                                                  +  required string columName = 1;
                                                  +  required FieldType dataType = 2;
                                                  +  repeated ChangeParam more = 3;
                                                  +}
                                                  +message ChangeParam {
                                                  +  required string columName = 1;
                                                  +  required FieldType dataType = 2;
                                                  +}
                                                  +
                                                +
                                                + + + + + +
                                                +

                                                Value Members

                                                +
                                                1. + + +

                                                  + + final + def + + + !=(arg0: Any): Boolean + +

                                                  + + Permalink + + +
                                                  Definition Classes
                                                  AnyRef → Any
                                                  +
                                                2. + + +

                                                  + + final + def + + + ##(): Int + +

                                                  + + Permalink + + +
                                                  Definition Classes
                                                  AnyRef → Any
                                                  +
                                                3. + + +

                                                  + + final + def + + + ==(arg0: Any): Boolean + +

                                                  + + Permalink + + +
                                                  Definition Classes
                                                  AnyRef → Any
                                                  +
                                                4. + + +

                                                  + + final + def + + + asInstanceOf[T0]: T0 + +

                                                  + + Permalink + + +
                                                  Definition Classes
                                                  Any
                                                  +
                                                5. + + +

                                                  + + + def + + + clone(): AnyRef + +

                                                  + + Permalink + + +
                                                  Attributes
                                                  protected[java.lang]
                                                  Definition Classes
                                                  AnyRef
                                                  Annotations
                                                  + @throws( + + ... + ) + +
                                                  +
                                                6. + + +

                                                  + + final + def + + + eq(arg0: AnyRef): Boolean + +

                                                  + + Permalink + + +
                                                  Definition Classes
                                                  AnyRef
                                                  +
                                                7. + + +

                                                  + + + def + + + equals(arg0: Any): Boolean + +

                                                  + + Permalink + + +
                                                  Definition Classes
                                                  AnyRef → Any
                                                  +
                                                8. + + +

                                                  + + + def + + + finalize(): Unit + +

                                                  + + Permalink + + +
                                                  Attributes
                                                  protected[java.lang]
                                                  Definition Classes
                                                  AnyRef
                                                  Annotations
                                                  + @throws( + + classOf[java.lang.Throwable] + ) + +
                                                  +
                                                9. + + +

                                                  + + final + def + + + getClass(): Class[_] + +

                                                  + + Permalink + + +
                                                  Definition Classes
                                                  AnyRef → Any
                                                  +
                                                10. + + +

                                                  + + + def + + + hashCode(): Int + +

                                                  + + Permalink + + +
                                                  Definition Classes
                                                  AnyRef → Any
                                                  +
                                                11. + + +

                                                  + + final + def + + + isInstanceOf[T0]: Boolean + +

                                                  + + Permalink + + +
                                                  Definition Classes
                                                  Any
                                                  +
                                                12. + + +

                                                  + + + val + + + logger: Logger + +

                                                  + + Permalink + + +
                                                  Attributes
                                                  protected
                                                  Definition Classes
                                                  Logging
                                                  +
                                                13. + + +

                                                  + + final + def + + + ne(arg0: AnyRef): Boolean + +

                                                  + + Permalink + + +
                                                  Definition Classes
                                                  AnyRef
                                                  +
                                                14. + + +

                                                  + + final + def + + + notify(): Unit + +

                                                  + + Permalink + + +
                                                  Definition Classes
                                                  AnyRef
                                                  +
                                                15. + + +

                                                  + + final + def + + + notifyAll(): Unit + +

                                                  + + Permalink + + +
                                                  Definition Classes
                                                  AnyRef
                                                  +
                                                16. + + +

                                                  + + + def + + + operate(inputs: DataFrame): DataFrame + +

                                                  + + Permalink + + +

                                                  Operate changing column data type.

                                                  Operate changing column data type. +

                                                  inputs

                                                  Input dataframe

                                                  returns

                                                  DataFrame Output dataframe with renamed column.

                                                  Definition Classes
                                                  ChangeColumnDataTypeOperator → BaseGenericOperator → BaseGenericMutantOperator
                                                  +
                                                17. + + +

                                                  + + + def + + + stop: Unit + +

                                                  + + Permalink + + +
                                                  Definition Classes
                                                  BaseGenericOperator → BaseGenericMutantOperator
                                                  +
                                                18. + + +

                                                  + + final + def + + + synchronized[T0](arg0: ⇒ T0): T0 + +

                                                  + + Permalink + + +
                                                  Definition Classes
                                                  AnyRef
                                                  +
                                                19. + + +

                                                  + + + def + + + toString(): String + +

                                                  + + Permalink + + +
                                                  Definition Classes
                                                  AnyRef → Any
                                                  +
                                                20. + + +

                                                  + + final + def + + + wait(): Unit + +

                                                  + + Permalink + + +
                                                  Definition Classes
                                                  AnyRef
                                                  Annotations
                                                  + @throws( + + ... + ) + +
                                                  +
                                                21. + + +

                                                  + + final + def + + + wait(arg0: Long, arg1: Int): Unit + +

                                                  + + Permalink + + +
                                                  Definition Classes
                                                  AnyRef
                                                  Annotations
                                                  + @throws( + + ... + ) + +
                                                  +
                                                22. + + +

                                                  + + final + def + + + wait(arg0: Long): Unit + +

                                                  + + Permalink + + +
                                                  Definition Classes
                                                  AnyRef
                                                  Annotations
                                                  + @throws( + + ... + ) + +
                                                  +
                                                +
                                                + + + + +
                                                + +
                                                +
                                                +

                                                Inherited from BaseDataOperator[StreamOperatorInfo, DataFrame]

                                                +
                                                +

                                                Inherited from BaseGenericOperator[StreamOperatorInfo, DataFrame]

                                                +
                                                +

                                                Inherited from BaseGenericMutantOperator[StreamOperatorInfo, DataFrame, DataFrame]

                                                +
                                                +

                                                Inherited from BaseDoer

                                                +
                                                +

                                                Inherited from Logging

                                                +
                                                +

                                                Inherited from Serializable

                                                +
                                                +

                                                Inherited from Serializable

                                                +
                                                +

                                                Inherited from AnyRef

                                                +
                                                +

                                                Inherited from Any

                                                +
                                                + +
                                                + +
                                                +
                                                +

                                                Ungrouped

                                                + +
                                                +
                                                + +
                                                + +
                                                + + + + + + diff --git a/manual1903/api_reference/components/scaladocs/ksb/csle/component/operator/transformation/ExplodeColumnOperator.html b/manual1903/api_reference/components/scaladocs/ksb/csle/component/operator/transformation/ExplodeColumnOperator.html new file mode 100644 index 0000000000000000000000000000000000000000..b3690fd949418b9d7b4042d7658a47917ff83262 --- /dev/null +++ b/manual1903/api_reference/components/scaladocs/ksb/csle/component/operator/transformation/ExplodeColumnOperator.html @@ -0,0 +1,574 @@ + + + + ExplodeColumnOperator - KSB COMPONENTS Scala App Project 1.0-SNAPSHOT API - ksb.csle.component.operator.transformation.ExplodeColumnOperator + + + + + + + + + + + + + + + +
                                                + Class +

                                                ksb.csle.component.operator.transformation

                                                +

                                                ExplodeColumnOperator

                                                Related Doc: + package transformation +

                                                + + Permalink + + +
                                                + +

                                                + + + class + + + ExplodeColumnOperator extends BaseDataOperator[StreamOperatorInfo, DataFrame] + +

                                                + +

                                                :: ApplicationDeveloperApi ::

                                                Operator that creates a new row for each element in the given array or map column. +

                                                + Linear Supertypes +
                                                BaseDataOperator[StreamOperatorInfo, DataFrame], BaseGenericOperator[StreamOperatorInfo, DataFrame], BaseGenericMutantOperator[StreamOperatorInfo, DataFrame, DataFrame], BaseDoer, Logging, Serializable, Serializable, AnyRef, Any
                                                +
                                                + + +
                                                +
                                                +
                                                + Ordering +
                                                  + +
                                                1. Alphabetic
                                                2. +
                                                3. By Inheritance
                                                4. +
                                                +
                                                +
                                                + Inherited
                                                +
                                                +
                                                  +
                                                1. ExplodeColumnOperator
                                                2. BaseDataOperator
                                                3. BaseGenericOperator
                                                4. BaseGenericMutantOperator
                                                5. BaseDoer
                                                6. Logging
                                                7. Serializable
                                                8. Serializable
                                                9. AnyRef
                                                10. Any
                                                11. +
                                                +
                                                + +
                                                  +
                                                1. Hide All
                                                2. +
                                                3. Show All
                                                4. +
                                                +
                                                +
                                                + Visibility +
                                                1. Public
                                                2. All
                                                +
                                                +
                                                + +
                                                +
                                                +
                                                +

                                                Instance Constructors

                                                +
                                                1. + + +

                                                  + + + new + + + ExplodeColumnOperator(o: StreamOperatorInfo) + +

                                                  + + Permalink + + +

                                                  o

                                                  Object that contains message + ksb.csle.common.proto.StreamOperatorProto.ExplodeColumnInfo + ExplodeColumnInfo contains attributes as follows:

                                                  • srcColumnName: existing column name to explode (required)
                                                  • destColumnName: output column name; if not set, will use 'srcColumnName' as output column name (optional)

                                                  ExplodeColumnInfo

                                                  message ExplodeColumnInfo {
                                                  + required string srcColumnName = 1;
                                                  + optional string destColumnName = 2;
                                                  +}
                                                  +
                                                +
                                                + + + + + +
                                                +

                                                Value Members

                                                +
                                                1. + + +

                                                  + + final + def + + + !=(arg0: Any): Boolean + +

                                                  + + Permalink + + +
                                                  Definition Classes
                                                  AnyRef → Any
                                                  +
                                                2. + + +

                                                  + + final + def + + + ##(): Int + +

                                                  + + Permalink + + +
                                                  Definition Classes
                                                  AnyRef → Any
                                                  +
                                                3. + + +

                                                  + + final + def + + + ==(arg0: Any): Boolean + +

                                                  + + Permalink + + +
                                                  Definition Classes
                                                  AnyRef → Any
                                                  +
                                                4. + + +

                                                  + + final + def + + + asInstanceOf[T0]: T0 + +

                                                  + + Permalink + + +
                                                  Definition Classes
                                                  Any
                                                  +
                                                5. + + +

                                                  + + + def + + + clone(): AnyRef + +

                                                  + + Permalink + + +
                                                  Attributes
                                                  protected[java.lang]
                                                  Definition Classes
                                                  AnyRef
                                                  Annotations
                                                  + @throws( + + ... + ) + +
                                                  +
                                                6. + + +

                                                  + + final + def + + + eq(arg0: AnyRef): Boolean + +

                                                  + + Permalink + + +
                                                  Definition Classes
                                                  AnyRef
                                                  +
                                                7. + + +

                                                  + + + def + + + equals(arg0: Any): Boolean + +

                                                  + + Permalink + + +
                                                  Definition Classes
                                                  AnyRef → Any
                                                  +
                                                8. + + +

                                                  + + + def + + + finalize(): Unit + +

                                                  + + Permalink + + +
                                                  Attributes
                                                  protected[java.lang]
                                                  Definition Classes
                                                  AnyRef
                                                  Annotations
                                                  + @throws( + + classOf[java.lang.Throwable] + ) + +
                                                  +
                                                9. + + +

                                                  + + final + def + + + getClass(): Class[_] + +

                                                  + + Permalink + + +
                                                  Definition Classes
                                                  AnyRef → Any
                                                  +
                                                10. + + +

                                                  + + + def + + + hashCode(): Int + +

                                                  + + Permalink + + +
                                                  Definition Classes
                                                  AnyRef → Any
                                                  +
                                                11. + + +

                                                  + + final + def + + + isInstanceOf[T0]: Boolean + +

                                                  + + Permalink + + +
                                                  Definition Classes
                                                  Any
                                                  +
                                                12. + + +

                                                  + + + val + + + logger: Logger + +

                                                  + + Permalink + + +
                                                  Attributes
                                                  protected
                                                  Definition Classes
                                                  Logging
                                                  +
                                                13. + + +

                                                  + + final + def + + + ne(arg0: AnyRef): Boolean + +

                                                  + + Permalink + + +
                                                  Definition Classes
                                                  AnyRef
                                                  +
                                                14. + + +

                                                  + + final + def + + + notify(): Unit + +

                                                  + + Permalink + + +
                                                  Definition Classes
                                                  AnyRef
                                                  +
                                                15. + + +

                                                  + + final + def + + + notifyAll(): Unit + +

                                                  + + Permalink + + +
                                                  Definition Classes
                                                  AnyRef
                                                  +
                                                16. + + +

                                                  + + + def + + + operate(df: DataFrame): DataFrame + +

                                                  + + Permalink + + +

                                                  Operate creating a new row for each element in the given array or map column.

                                                  Operate creating a new row for each element in the given array or map column. +

                                                  returns

                                                  DataFrame Output dataframe that a new row is added.

                                                  Definition Classes
                                                  ExplodeColumnOperator → BaseGenericOperator → BaseGenericMutantOperator
                                                  +
                                                17. + + +

                                                  + + + def + + + stop: Unit + +

                                                  + + Permalink + + +
                                                  Definition Classes
                                                  BaseGenericOperator → BaseGenericMutantOperator
                                                  +
                                                18. + + +

                                                  + + final + def + + + synchronized[T0](arg0: ⇒ T0): T0 + +

                                                  + + Permalink + + +
                                                  Definition Classes
                                                  AnyRef
                                                  +
                                                19. + + +

                                                  + + + def + + + toString(): String + +

                                                  + + Permalink + + +
                                                  Definition Classes
                                                  AnyRef → Any
                                                  +
                                                20. + + +

                                                  + + final + def + + + wait(): Unit + +

                                                  + + Permalink + + +
                                                  Definition Classes
                                                  AnyRef
                                                  Annotations
                                                  + @throws( + + ... + ) + +
                                                  +
                                                21. + + +

                                                  + + final + def + + + wait(arg0: Long, arg1: Int): Unit + +

                                                  + + Permalink + + +
                                                  Definition Classes
                                                  AnyRef
                                                  Annotations
                                                  + @throws( + + ... + ) + +
                                                  +
                                                22. + + +

                                                  + + final + def + + + wait(arg0: Long): Unit + +

                                                  + + Permalink + + +
                                                  Definition Classes
                                                  AnyRef
                                                  Annotations
                                                  + @throws( + + ... + ) + +
                                                  +
                                                +
                                                + + + + +
                                                + +
                                                +
                                                +

                                                Inherited from BaseDataOperator[StreamOperatorInfo, DataFrame]

                                                +
                                                +

                                                Inherited from BaseGenericOperator[StreamOperatorInfo, DataFrame]

                                                +
                                                +

                                                Inherited from BaseGenericMutantOperator[StreamOperatorInfo, DataFrame, DataFrame]

                                                +
                                                +

                                                Inherited from BaseDoer

                                                +
                                                +

                                                Inherited from Logging

                                                +
                                                +

                                                Inherited from Serializable

                                                +
                                                +

                                                Inherited from Serializable

                                                +
                                                +

                                                Inherited from AnyRef

                                                +
                                                +

                                                Inherited from Any

                                                +
                                                + +
                                                + +
                                                +
                                                +

                                                Ungrouped

                                                + +
                                                +
                                                + +
                                                + +
                                                + + + + + + diff --git a/manual1903/api_reference/components/scaladocs/ksb/csle/component/operator/transformation/FlattenOperator.html b/manual1903/api_reference/components/scaladocs/ksb/csle/component/operator/transformation/FlattenOperator.html new file mode 100644 index 0000000000000000000000000000000000000000..10e0b03d5aa07ade6b0aa3068255f85bfbc0a853 --- /dev/null +++ b/manual1903/api_reference/components/scaladocs/ksb/csle/component/operator/transformation/FlattenOperator.html @@ -0,0 +1,573 @@ + + + + FlattenOperator - KSB COMPONENTS Scala App Project 1.0-SNAPSHOT API - ksb.csle.component.operator.transformation.FlattenOperator + + + + + + + + + + + + + + + +
                                                + Class +

                                                ksb.csle.component.operator.transformation

                                                +

                                                FlattenOperator

                                                Related Doc: + package transformation +

                                                + + Permalink + + +
                                                + +

                                                + + + class + + + FlattenOperator extends BaseDataOperator[StreamOperatorInfo, DataFrame] + +

                                                + +

                                                :: ApplicationDeveloperApi ::

                                                Operator that flattens column. +

                                                + Linear Supertypes +
                                                BaseDataOperator[StreamOperatorInfo, DataFrame], BaseGenericOperator[StreamOperatorInfo, DataFrame], BaseGenericMutantOperator[StreamOperatorInfo, DataFrame, DataFrame], BaseDoer, Logging, Serializable, Serializable, AnyRef, Any
                                                +
                                                + + +
                                                +
                                                +
                                                + Ordering +
                                                  + +
                                                1. Alphabetic
                                                2. +
                                                3. By Inheritance
                                                4. +
                                                +
                                                +
                                                + Inherited
                                                +
                                                +
                                                  +
                                                1. FlattenOperator
                                                2. BaseDataOperator
                                                3. BaseGenericOperator
                                                4. BaseGenericMutantOperator
                                                5. BaseDoer
                                                6. Logging
                                                7. Serializable
                                                8. Serializable
                                                9. AnyRef
                                                10. Any
                                                11. +
                                                +
                                                + +
                                                  +
                                                1. Hide All
                                                2. +
                                                3. Show All
                                                4. +
                                                +
                                                +
                                                + Visibility +
                                                1. Public
                                                2. All
                                                +
                                                +
                                                + +
                                                +
                                                +
                                                +

                                                Instance Constructors

                                                +
                                                1. + + +

                                                  + + + new + + + FlattenOperator(o: StreamOperatorInfo) + +

                                                  + + Permalink + + +

                                                  o

                                                  Object that contains message + ksb.csle.common.proto.StreamOperatorProto.FlattenInfo + FlattenInfo contains attributes as follows:

                                                  • columnName: column name (required)

                                                  FlattenInfo

                                                  message FlattenInfo {
                                                  +  required string columnName = 1;
                                                  +}
                                                  +
                                                +
                                                + + + + + +
                                                +

                                                Value Members

                                                +
                                                1. + + +

                                                  + + final + def + + + !=(arg0: Any): Boolean + +

                                                  + + Permalink + + +
                                                  Definition Classes
                                                  AnyRef → Any
                                                  +
                                                2. + + +

                                                  + + final + def + + + ##(): Int + +

                                                  + + Permalink + + +
                                                  Definition Classes
                                                  AnyRef → Any
                                                  +
                                                3. + + +

                                                  + + final + def + + + ==(arg0: Any): Boolean + +

                                                  + + Permalink + + +
                                                  Definition Classes
                                                  AnyRef → Any
                                                  +
                                                4. + + +

                                                  + + final + def + + + asInstanceOf[T0]: T0 + +

                                                  + + Permalink + + +
                                                  Definition Classes
                                                  Any
                                                  +
                                                5. + + +

                                                  + + + def + + + clone(): AnyRef + +

                                                  + + Permalink + + +
                                                  Attributes
                                                  protected[java.lang]
                                                  Definition Classes
                                                  AnyRef
                                                  Annotations
                                                  + @throws( + + ... + ) + +
                                                  +
                                                6. + + +

                                                  + + final + def + + + eq(arg0: AnyRef): Boolean + +

                                                  + + Permalink + + +
                                                  Definition Classes
                                                  AnyRef
                                                  +
                                                7. + + +

                                                  + + + def + + + equals(arg0: Any): Boolean + +

                                                  + + Permalink + + +
                                                  Definition Classes
                                                  AnyRef → Any
                                                  +
                                                8. + + +

                                                  + + + def + + + finalize(): Unit + +

                                                  + + Permalink + + +
                                                  Attributes
                                                  protected[java.lang]
                                                  Definition Classes
                                                  AnyRef
                                                  Annotations
                                                  + @throws( + + classOf[java.lang.Throwable] + ) + +
                                                  +
                                                9. + + +

                                                  + + final + def + + + getClass(): Class[_] + +

                                                  + + Permalink + + +
                                                  Definition Classes
                                                  AnyRef → Any
                                                  +
                                                10. + + +

                                                  + + + def + + + hashCode(): Int + +

                                                  + + Permalink + + +
                                                  Definition Classes
                                                  AnyRef → Any
                                                  +
                                                11. + + +

                                                  + + final + def + + + isInstanceOf[T0]: Boolean + +

                                                  + + Permalink + + +
                                                  Definition Classes
                                                  Any
                                                  +
                                                12. + + +

                                                  + + + val + + + logger: Logger + +

                                                  + + Permalink + + +
                                                  Attributes
                                                  protected
                                                  Definition Classes
                                                  Logging
                                                  +
                                                13. + + +

                                                  + + final + def + + + ne(arg0: AnyRef): Boolean + +

                                                  + + Permalink + + +
                                                  Definition Classes
                                                  AnyRef
                                                  +
                                                14. + + +

                                                  + + final + def + + + notify(): Unit + +

                                                  + + Permalink + + +
                                                  Definition Classes
                                                  AnyRef
                                                  +
                                                15. + + +

                                                  + + final + def + + + notifyAll(): Unit + +

                                                  + + Permalink + + +
                                                  Definition Classes
                                                  AnyRef
                                                  +
                                                16. + + +

                                                  + + + def + + + operate(df: DataFrame): DataFrame + +

                                                  + + Permalink + + +

                                                  Operate flattening column.

                                                  Operate flattening column. +

                                                  returns

                                                  DataFrame Output dataframe which are flattened.

                                                  Definition Classes
                                                  FlattenOperator → BaseGenericOperator → BaseGenericMutantOperator
                                                  +
                                                17. + + +

                                                  + + + def + + + stop: Unit + +

                                                  + + Permalink + + +
                                                  Definition Classes
                                                  BaseGenericOperator → BaseGenericMutantOperator
                                                  +
                                                18. + + +

                                                  + + final + def + + + synchronized[T0](arg0: ⇒ T0): T0 + +

                                                  + + Permalink + + +
                                                  Definition Classes
                                                  AnyRef
                                                  +
                                                19. + + +

                                                  + + + def + + + toString(): String + +

                                                  + + Permalink + + +
                                                  Definition Classes
                                                  AnyRef → Any
                                                  +
                                                20. + + +

                                                  + + final + def + + + wait(): Unit + +

                                                  + + Permalink + + +
                                                  Definition Classes
                                                  AnyRef
                                                  Annotations
                                                  + @throws( + + ... + ) + +
                                                  +
                                                21. + + +

                                                  + + final + def + + + wait(arg0: Long, arg1: Int): Unit + +

                                                  + + Permalink + + +
                                                  Definition Classes
                                                  AnyRef
                                                  Annotations
                                                  + @throws( + + ... + ) + +
                                                  +
                                                22. + + +

                                                  + + final + def + + + wait(arg0: Long): Unit + +

                                                  + + Permalink + + +
                                                  Definition Classes
                                                  AnyRef
                                                  Annotations
                                                  + @throws( + + ... + ) + +
                                                  +
                                                +
                                                + + + + +
                                                + +
                                                +
                                                +

                                                Inherited from BaseDataOperator[StreamOperatorInfo, DataFrame]

                                                +
                                                +

                                                Inherited from BaseGenericOperator[StreamOperatorInfo, DataFrame]

                                                +
                                                +

                                                Inherited from BaseGenericMutantOperator[StreamOperatorInfo, DataFrame, DataFrame]

                                                +
                                                +

                                                Inherited from BaseDoer

                                                +
                                                +

                                                Inherited from Logging

                                                +
                                                +

                                                Inherited from Serializable

                                                +
                                                +

                                                Inherited from Serializable

                                                +
                                                +

                                                Inherited from AnyRef

                                                +
                                                +

                                                Inherited from Any

                                                +
                                                + +
                                                + +
                                                +
                                                +

                                                Ungrouped

                                                + +
                                                +
                                                + +
                                                + +
                                                + + + + + + diff --git a/manual1903/api_reference/components/scaladocs/ksb/csle/component/operator/transformation/InterpolateOperator.html b/manual1903/api_reference/components/scaladocs/ksb/csle/component/operator/transformation/InterpolateOperator.html new file mode 100644 index 0000000000000000000000000000000000000000..c6764e7e8a54b183a60b69337f0a69b58297e5ff --- /dev/null +++ b/manual1903/api_reference/components/scaladocs/ksb/csle/component/operator/transformation/InterpolateOperator.html @@ -0,0 +1,597 @@ + + + + InterpolateOperator - KSB COMPONENTS Scala App Project 1.0-SNAPSHOT API - ksb.csle.component.operator.transformation.InterpolateOperator + + + + + + + + + + + + + + + +
                                                + Class +

                                                ksb.csle.component.operator.transformation

                                                +

                                                InterpolateOperator

                                                Related Doc: + package transformation +

                                                + + Permalink + + +
                                                + +

                                                + + + class + + + InterpolateOperator extends BaseGenericOperator[StreamOperatorInfo, DataFrame] + +

                                                + +

                                                :: ApplicationDeveloperApi ::

                                                Operator that converts the dataframe at regular intervals by interpolation. +LINEAR: curve fitting using linear polynomials to construct new data points. +NEAREST: Nearest-neighbor interpolation, selects the value of the nearest point. +PREV_COPY: selects the previous value. +

                                                + Linear Supertypes +
                                                BaseGenericOperator[StreamOperatorInfo, DataFrame], BaseGenericMutantOperator[StreamOperatorInfo, DataFrame, DataFrame], BaseDoer, Logging, Serializable, Serializable, AnyRef, Any
                                                +
                                                + + +
                                                +
                                                +
                                                + Ordering +
                                                  + +
                                                1. Alphabetic
                                                2. +
                                                3. By Inheritance
                                                4. +
                                                +
                                                +
                                                + Inherited
                                                +
                                                +
                                                  +
                                                1. InterpolateOperator
                                                2. BaseGenericOperator
                                                3. BaseGenericMutantOperator
                                                4. BaseDoer
                                                5. Logging
                                                6. Serializable
                                                7. Serializable
                                                8. AnyRef
                                                9. Any
                                                10. +
                                                +
                                                + +
                                                  +
                                                1. Hide All
                                                2. +
                                                3. Show All
                                                4. +
                                                +
                                                +
                                                + Visibility +
                                                1. Public
                                                2. All
                                                +
                                                +
                                                + +
                                                +
                                                +
                                                +

                                                Instance Constructors

                                                +
                                                1. + + +

                                                  + + + new + + + InterpolateOperator(o: StreamOperatorInfo) + +

                                                  + + Permalink + + +

                                                  o

                                                  Object that contains message + ksb.csle.common.proto.StreamOperatorProto.InterpolationInfo + InterpolationInfo contains attributes as follows:

                                                  • indexColumnName: Column name of index column (required)
                                                  • stepSize: Intervals of index range (required)
                                                  • methodOption: Interpolation method. Enum(LINEAR, NEAREST, PREV_COPY) + (required)
                                                  • keepColumnType: Parameter to define whether to keep the original + column type (optional) + After interpolation option, the column type is + changed to double type.

                                                  InterpolationInfo

                                                  message InterpolationInfo {
                                                  +required string indexColumnName = 1;
                                                  +required int32 stepSize = 2 [default = 1];
                                                  +required InterpolationMethodOption methodOption = 3 [default = LINEAR];
                                                  +optional bool keepColumnType = 4 [default = false];
                                                  +}
                                                  +
                                                +
                                                + + + + + +
                                                +

                                                Value Members

                                                +
                                                1. + + +

                                                  + + final + def + + + !=(arg0: Any): Boolean + +

                                                  + + Permalink + + +
                                                  Definition Classes
                                                  AnyRef → Any
                                                  +
                                                2. + + +

                                                  + + final + def + + + ##(): Int + +

                                                  + + Permalink + + +
                                                  Definition Classes
                                                  AnyRef → Any
                                                  +
                                                3. + + +

                                                  + + final + def + + + ==(arg0: Any): Boolean + +

                                                  + + Permalink + + +
                                                  Definition Classes
                                                  AnyRef → Any
                                                  +
                                                4. + + +

                                                  + + final + def + + + asInstanceOf[T0]: T0 + +

                                                  + + Permalink + + +
                                                  Definition Classes
                                                  Any
                                                  +
                                                5. + + +

                                                  + + + def + + + clone(): AnyRef + +

                                                  + + Permalink + + +
                                                  Attributes
                                                  protected[java.lang]
                                                  Definition Classes
                                                  AnyRef
                                                  Annotations
                                                  + @throws( + + ... + ) + +
                                                  +
                                                6. + + +

                                                  + + final + def + + + eq(arg0: AnyRef): Boolean + +

                                                  + + Permalink + + +
                                                  Definition Classes
                                                  AnyRef
                                                  +
                                                7. + + +

                                                  + + + def + + + equals(arg0: Any): Boolean + +

                                                  + + Permalink + + +
                                                  Definition Classes
                                                  AnyRef → Any
                                                  +
                                                8. + + +

                                                  + + + def + + + finalize(): Unit + +

                                                  + + Permalink + + +
                                                  Attributes
                                                  protected[java.lang]
                                                  Definition Classes
                                                  AnyRef
                                                  Annotations
                                                  + @throws( + + classOf[java.lang.Throwable] + ) + +
                                                  +
                                                9. + + +

                                                  + + final + def + + + getClass(): Class[_] + +

                                                  + + Permalink + + +
                                                  Definition Classes
                                                  AnyRef → Any
                                                  +
                                                10. + + +

                                                  + + + def + + + hashCode(): Int + +

                                                  + + Permalink + + +
                                                  Definition Classes
                                                  AnyRef → Any
                                                  +
                                                11. + + +

                                                  + + final + def + + + isInstanceOf[T0]: Boolean + +

                                                  + + Permalink + + +
                                                  Definition Classes
                                                  Any
                                                  +
                                                12. + + +

                                                  + + + val + + + logger: Logger + +

                                                  + + Permalink + + +
                                                  Attributes
                                                  protected
                                                  Definition Classes
                                                  Logging
                                                  +
                                                13. + + +

                                                  + + final + def + + + ne(arg0: AnyRef): Boolean + +

                                                  + + Permalink + + +
                                                  Definition Classes
                                                  AnyRef
                                                  +
                                                14. + + +

                                                  + + final + def + + + notify(): Unit + +

                                                  + + Permalink + + +
                                                  Definition Classes
                                                  AnyRef
                                                  +
                                                15. + + +

                                                  + + final + def + + + notifyAll(): Unit + +

                                                  + + Permalink + + +
                                                  Definition Classes
                                                  AnyRef
                                                  +
                                                16. + + +

                                                  + + + def + + + operate(df: DataFrame): DataFrame + +

                                                  + + Permalink + + +
                                                  Definition Classes
                                                  InterpolateOperator → BaseGenericOperator → BaseGenericMutantOperator
                                                  +
                                                17. + + +

                                                  + + + val + + + p: InterpolationInfo + +

                                                  + + Permalink + + + +
                                                18. + + +

                                                  + + + def + + + stop: Unit + +

                                                  + + Permalink + + +
                                                  Definition Classes
                                                  InterpolateOperator → BaseGenericOperator → BaseGenericMutantOperator
                                                  +
                                                19. + + +

                                                  + + final + def + + + synchronized[T0](arg0: ⇒ T0): T0 + +

                                                  + + Permalink + + +
                                                  Definition Classes
                                                  AnyRef
                                                  +
                                                20. + + +

                                                  + + + def + + + toString(): String + +

                                                  + + Permalink + + +
                                                  Definition Classes
                                                  AnyRef → Any
                                                  +
                                                21. + + +

                                                  + + final + def + + + wait(): Unit + +

                                                  + + Permalink + + +
                                                  Definition Classes
                                                  AnyRef
                                                  Annotations
                                                  + @throws( + + ... + ) + +
                                                  +
                                                22. + + +

                                                  + + final + def + + + wait(arg0: Long, arg1: Int): Unit + +

                                                  + + Permalink + + +
                                                  Definition Classes
                                                  AnyRef
                                                  Annotations
                                                  + @throws( + + ... + ) + +
                                                  +
                                                23. + + +

                                                  + + final + def + + + wait(arg0: Long): Unit + +

                                                  + + Permalink + + +
                                                  Definition Classes
                                                  AnyRef
                                                  Annotations
                                                  + @throws( + + ... + ) + +
                                                  +
                                                +
                                                + + + + +
                                                + +
                                                +
                                                +

                                                Inherited from BaseGenericOperator[StreamOperatorInfo, DataFrame]

                                                +
                                                +

                                                Inherited from BaseGenericMutantOperator[StreamOperatorInfo, DataFrame, DataFrame]

                                                +
                                                +

                                                Inherited from BaseDoer

                                                +
                                                +

                                                Inherited from Logging

                                                +
                                                +

                                                Inherited from Serializable

                                                +
                                                +

                                                Inherited from Serializable

                                                +
                                                +

                                                Inherited from AnyRef

                                                +
                                                +

                                                Inherited from Any

                                                +
                                                + +
                                                + +
                                                +
                                                +

                                                Ungrouped

                                                + +
                                                +
                                                + +
                                                + +
                                                + + + + + + diff --git a/manual1903/api_reference/components/scaladocs/ksb/csle/component/operator/transformation/MinMaxScalingOperator$.html b/manual1903/api_reference/components/scaladocs/ksb/csle/component/operator/transformation/MinMaxScalingOperator$.html new file mode 100644 index 0000000000000000000000000000000000000000..7b467933bb1fec8d396d96b7e7a932879e222e14 --- /dev/null +++ b/manual1903/api_reference/components/scaladocs/ksb/csle/component/operator/transformation/MinMaxScalingOperator$.html @@ -0,0 +1,505 @@ + + + + MinMaxScalingOperator - KSB COMPONENTS Scala App Project 1.0-SNAPSHOT API - ksb.csle.component.operator.transformation.MinMaxScalingOperator + + + + + + + + + + + + + + + + + +

                                                + + + object + + + MinMaxScalingOperator extends Serializable + +

                                                + +
                                                + Linear Supertypes +
                                                Serializable, Serializable, AnyRef, Any
                                                +
                                                + + +
                                                +
                                                +
                                                + Ordering +
                                                  + +
                                                1. Alphabetic
                                                2. +
                                                3. By Inheritance
                                                4. +
                                                +
                                                +
                                                + Inherited
                                                +
                                                +
                                                  +
                                                1. MinMaxScalingOperator
                                                2. Serializable
                                                3. Serializable
                                                4. AnyRef
                                                5. Any
                                                6. +
                                                +
                                                + +
                                                  +
                                                1. Hide All
                                                2. +
                                                3. Show All
                                                4. +
                                                +
                                                +
                                                + Visibility +
                                                1. Public
                                                2. All
                                                +
                                                +
                                                + +
                                                +
                                                + + + + + + +
                                                +

                                                Value Members

                                                +
                                                1. + + +

                                                  + + final + def + + + !=(arg0: Any): Boolean + +

                                                  + + Permalink + + +
                                                  Definition Classes
                                                  AnyRef → Any
                                                  +
                                                2. + + +

                                                  + + final + def + + + ##(): Int + +

                                                  + + Permalink + + +
                                                  Definition Classes
                                                  AnyRef → Any
                                                  +
                                                3. + + +

                                                  + + final + def + + + ==(arg0: Any): Boolean + +

                                                  + + Permalink + + +
                                                  Definition Classes
                                                  AnyRef → Any
                                                  +
                                                4. + + +

                                                  + + + def + + + apply(o: StreamOperatorInfo): MinMaxScalingOperator + +

                                                  + + Permalink + + + +
                                                5. + + +

                                                  + + final + def + + + asInstanceOf[T0]: T0 + +

                                                  + + Permalink + + +
                                                  Definition Classes
                                                  Any
                                                  +
                                                6. + + +

                                                  + + + def + + + clone(): AnyRef + +

                                                  + + Permalink + + +
                                                  Attributes
                                                  protected[java.lang]
                                                  Definition Classes
                                                  AnyRef
                                                  Annotations
                                                  + @throws( + + ... + ) + +
                                                  +
                                                7. + + +

                                                  + + final + def + + + eq(arg0: AnyRef): Boolean + +

                                                  + + Permalink + + +
                                                  Definition Classes
                                                  AnyRef
                                                  +
                                                8. + + +

                                                  + + + def + + + equals(arg0: Any): Boolean + +

                                                  + + Permalink + + +
                                                  Definition Classes
                                                  AnyRef → Any
                                                  +
                                                9. + + +

                                                  + + + def + + + finalize(): Unit + +

                                                  + + Permalink + + +
                                                  Attributes
                                                  protected[java.lang]
                                                  Definition Classes
                                                  AnyRef
                                                  Annotations
                                                  + @throws( + + classOf[java.lang.Throwable] + ) + +
                                                  +
                                                10. + + +

                                                  + + final + def + + + getClass(): Class[_] + +

                                                  + + Permalink + + +
                                                  Definition Classes
                                                  AnyRef → Any
                                                  +
                                                11. + + +

                                                  + + + def + + + hashCode(): Int + +

                                                  + + Permalink + + +
                                                  Definition Classes
                                                  AnyRef → Any
                                                  +
                                                12. + + +

                                                  + + final + def + + + isInstanceOf[T0]: Boolean + +

                                                  + + Permalink + + +
                                                  Definition Classes
                                                  Any
                                                  +
                                                13. + + +

                                                  + + final + def + + + ne(arg0: AnyRef): Boolean + +

                                                  + + Permalink + + +
                                                  Definition Classes
                                                  AnyRef
                                                  +
                                                14. + + +

                                                  + + final + def + + + notify(): Unit + +

                                                  + + Permalink + + +
                                                  Definition Classes
                                                  AnyRef
                                                  +
                                                15. + + +

                                                  + + final + def + + + notifyAll(): Unit + +

                                                  + + Permalink + + +
                                                  Definition Classes
                                                  AnyRef
                                                  +
                                                16. + + +

                                                  + + final + def + + + synchronized[T0](arg0: ⇒ T0): T0 + +

                                                  + + Permalink + + +
                                                  Definition Classes
                                                  AnyRef
                                                  +
                                                17. + + +

                                                  + + + def + + + toString(): String + +

                                                  + + Permalink + + +
                                                  Definition Classes
                                                  AnyRef → Any
                                                  +
                                                18. + + +

                                                  + + final + def + + + wait(): Unit + +

                                                  + + Permalink + + +
                                                  Definition Classes
                                                  AnyRef
                                                  Annotations
                                                  + @throws( + + ... + ) + +
                                                  +
                                                19. + + +

                                                  + + final + def + + + wait(arg0: Long, arg1: Int): Unit + +

                                                  + + Permalink + + +
                                                  Definition Classes
                                                  AnyRef
                                                  Annotations
                                                  + @throws( + + ... + ) + +
                                                  +
                                                20. + + +

                                                  + + final + def + + + wait(arg0: Long): Unit + +

                                                  + + Permalink + + +
                                                  Definition Classes
                                                  AnyRef
                                                  Annotations
                                                  + @throws( + + ... + ) + +
                                                  +
                                                +
                                                + + + + +
                                                + +
                                                +
                                                +

                                                Inherited from Serializable

                                                +
                                                +

                                                Inherited from Serializable

                                                +
                                                +

                                                Inherited from AnyRef

                                                +
                                                +

                                                Inherited from Any

                                                +
                                                + +
                                                + +
                                                +
                                                +

                                                Ungrouped

                                                + +
                                                +
                                                + +
                                                + +
                                                + + + + + + diff --git a/manual1903/api_reference/components/scaladocs/ksb/csle/component/operator/transformation/MinMaxScalingOperator.html b/manual1903/api_reference/components/scaladocs/ksb/csle/component/operator/transformation/MinMaxScalingOperator.html new file mode 100644 index 0000000000000000000000000000000000000000..26eec69ae51838e7c2af87aa1ff2fd32307ce024 --- /dev/null +++ b/manual1903/api_reference/components/scaladocs/ksb/csle/component/operator/transformation/MinMaxScalingOperator.html @@ -0,0 +1,654 @@ + + + + MinMaxScalingOperator - KSB COMPONENTS Scala App Project 1.0-SNAPSHOT API - ksb.csle.component.operator.transformation.MinMaxScalingOperator + + + + + + + + + + + + + + + + + +

                                                + + + class + + + MinMaxScalingOperator extends BaseDataOperator[StreamOperatorInfo, DataFrame] + +

                                                + +

                                                :: ApplicationDeveloperApi ::

                                                Operator that rescales the selected columns individually to a common range +[min, max]. If 'withMinMaxRange' is false, the max value in selected column +becomes the rescaled max value. If 'withMinMaxRange' is true, 'maxRealValue' +parameter becomes the rescaled max value. +

                                                + Linear Supertypes +
                                                BaseDataOperator[StreamOperatorInfo, DataFrame], BaseGenericOperator[StreamOperatorInfo, DataFrame], BaseGenericMutantOperator[StreamOperatorInfo, DataFrame, DataFrame], BaseDoer, Logging, Serializable, Serializable, AnyRef, Any
                                                +
                                                + + +
                                                +
                                                +
                                                + Ordering +
                                                  + +
                                                1. Alphabetic
                                                2. +
                                                3. By Inheritance
                                                4. +
                                                +
                                                +
                                                + Inherited
                                                +
                                                +
                                                  +
                                                1. MinMaxScalingOperator
                                                2. BaseDataOperator
                                                3. BaseGenericOperator
                                                4. BaseGenericMutantOperator
                                                5. BaseDoer
                                                6. Logging
                                                7. Serializable
                                                8. Serializable
                                                9. AnyRef
                                                10. Any
                                                11. +
                                                +
                                                + +
                                                  +
                                                1. Hide All
                                                2. +
                                                3. Show All
                                                4. +
                                                +
                                                +
                                                + Visibility +
                                                1. Public
                                                2. All
                                                +
                                                +
                                                + +
                                                +
                                                +
                                                +

                                                Instance Constructors

                                                +
                                                1. + + +

                                                  + + + new + + + MinMaxScalingOperator(o: StreamOperatorInfo) + +

                                                  + + Permalink + + +

                                                  o

                                                  Object that contains message + ksb.csle.common.proto.StreamOperatorProto.MinMaxScalingInfo + MinMaxScalingInfo contains attributes as follows:

                                                  • selectedColumnId: Column ids to be rescaled (repeated)
                                                  • max: Max value of a range (required) + Max value in selected column becomes the rescaled max value.
                                                  • min: Min value of a range (required) + Min value in selected column becomes the rescaled min value.
                                                  • withMinMaxRange: Parameter to specify whether the specific max/min + value is used or not (required)
                                                  • maxRealValue: Real max value (optional)
                                                  • minRealValue: Real min value (optional)

                                                  MinMaxScalingInfo

                                                  message MinMaxScalingInfo {
                                                  +repeated int32 selectedColumnId = 4;
                                                  +required string max = 5;
                                                  +required string min = 6;
                                                  +required bool withMinMaxRange = 7 [default = false];
                                                  +optional string maxRealValue = 8;
                                                  +optional string minRealValue = 9;
                                                  +}
                                                  +
                                                +
                                                + + + + + +
                                                +

                                                Value Members

                                                +
                                                1. + + +

                                                  + + final + def + + + !=(arg0: Any): Boolean + +

                                                  + + Permalink + + +
                                                  Definition Classes
                                                  AnyRef → Any
                                                  +
                                                2. + + +

                                                  + + final + def + + + ##(): Int + +

                                                  + + Permalink + + +
                                                  Definition Classes
                                                  AnyRef → Any
                                                  +
                                                3. + + +

                                                  + + final + def + + + ==(arg0: Any): Boolean + +

                                                  + + Permalink + + +
                                                  Definition Classes
                                                  AnyRef → Any
                                                  +
                                                4. + + +

                                                  + + final + def + + + asInstanceOf[T0]: T0 + +

                                                  + + Permalink + + +
                                                  Definition Classes
                                                  Any
                                                  +
                                                5. + + +

                                                  + + + def + + + clone(): AnyRef + +

                                                  + + Permalink + + +
                                                  Attributes
                                                  protected[java.lang]
                                                  Definition Classes
                                                  AnyRef
                                                  Annotations
                                                  + @throws( + + ... + ) + +
                                                  +
                                                6. + + +

                                                  + + final + def + + + eq(arg0: AnyRef): Boolean + +

                                                  + + Permalink + + +
                                                  Definition Classes
                                                  AnyRef
                                                  +
                                                7. + + +

                                                  + + + def + + + equals(arg0: Any): Boolean + +

                                                  + + Permalink + + +
                                                  Definition Classes
                                                  AnyRef → Any
                                                  +
                                                8. + + +

                                                  + + + def + + + finalize(): Unit + +

                                                  + + Permalink + + +
                                                  Attributes
                                                  protected[java.lang]
                                                  Definition Classes
                                                  AnyRef
                                                  Annotations
                                                  + @throws( + + classOf[java.lang.Throwable] + ) + +
                                                  +
                                                9. + + +

                                                  + + final + def + + + getClass(): Class[_] + +

                                                  + + Permalink + + +
                                                  Definition Classes
                                                  AnyRef → Any
                                                  +
                                                10. + + +

                                                  + + + def + + + hashCode(): Int + +

                                                  + + Permalink + + +
                                                  Definition Classes
                                                  AnyRef → Any
                                                  +
                                                11. + + +

                                                  + + final + def + + + isInstanceOf[T0]: Boolean + +

                                                  + + Permalink + + +
                                                  Definition Classes
                                                  Any
                                                  +
                                                12. + + +

                                                  + + + val + + + logger: Logger + +

                                                  + + Permalink + + +
                                                  Attributes
                                                  protected
                                                  Definition Classes
                                                  Logging
                                                  +
                                                13. + + +

                                                  + + + var + + + modDf: DataFrame + +

                                                  + + Permalink + + + +
                                                14. + + +

                                                  + + final + def + + + ne(arg0: AnyRef): Boolean + +

                                                  + + Permalink + + +
                                                  Definition Classes
                                                  AnyRef
                                                  +
                                                15. + + +

                                                  + + final + def + + + notify(): Unit + +

                                                  + + Permalink + + +
                                                  Definition Classes
                                                  AnyRef
                                                  +
                                                16. + + +

                                                  + + final + def + + + notifyAll(): Unit + +

                                                  + + Permalink + + +
                                                  Definition Classes
                                                  AnyRef
                                                  +
                                                17. + + +

                                                  + + + def + + + operate(df: DataFrame): DataFrame + +

                                                  + + Permalink + + +

                                                  Operates minMaxScaling function using following params.

                                                  Operates minMaxScaling function using following params. +

                                                  df

                                                  Input dataframe

                                                  returns

                                                  DataFrame Output dataframe

                                                  Definition Classes
                                                  MinMaxScalingOperator → BaseGenericOperator → BaseGenericMutantOperator
                                                  +
                                                18. + + +

                                                  + + + val + + + p: MinMaxScalingInfo + +

                                                  + + Permalink + + + +
                                                19. + + +

                                                  + + + var + + + result: DataFrame + +

                                                  + + Permalink + + + +
                                                20. + + +

                                                  + + + def + + + stop: Unit + +

                                                  + + Permalink + + +
                                                  Definition Classes
                                                  BaseGenericOperator → BaseGenericMutantOperator
                                                  +
                                                21. + + +

                                                  + + final + def + + + synchronized[T0](arg0: ⇒ T0): T0 + +

                                                  + + Permalink + + +
                                                  Definition Classes
                                                  AnyRef
                                                  +
                                                22. + + +

                                                  + + + var + + + tempDf: DataFrame + +

                                                  + + Permalink + + + +
                                                23. + + +

                                                  + + + def + + + toString(): String + +

                                                  + + Permalink + + +
                                                  Definition Classes
                                                  AnyRef → Any
                                                  +
                                                24. + + +

                                                  + + final + def + + + wait(): Unit + +

                                                  + + Permalink + + +
                                                  Definition Classes
                                                  AnyRef
                                                  Annotations
                                                  + @throws( + + ... + ) + +
                                                  +
                                                25. + + +

                                                  + + final + def + + + wait(arg0: Long, arg1: Int): Unit + +

                                                  + + Permalink + + +
                                                  Definition Classes
                                                  AnyRef
                                                  Annotations
                                                  + @throws( + + ... + ) + +
                                                  +
                                                26. + + +

                                                  + + final + def + + + wait(arg0: Long): Unit + +

                                                  + + Permalink + + +
                                                  Definition Classes
                                                  AnyRef
                                                  Annotations
                                                  + @throws( + + ... + ) + +
                                                  +
                                                +
                                                + + + + +
                                                + +
                                                +
                                                +

                                                Inherited from BaseDataOperator[StreamOperatorInfo, DataFrame]

                                                +
                                                +

                                                Inherited from BaseGenericOperator[StreamOperatorInfo, DataFrame]

                                                +
                                                +

                                                Inherited from BaseGenericMutantOperator[StreamOperatorInfo, DataFrame, DataFrame]

                                                +
                                                +

                                                Inherited from BaseDoer

                                                +
                                                +

                                                Inherited from Logging

                                                +
                                                +

                                                Inherited from Serializable

                                                +
                                                +

                                                Inherited from Serializable

                                                +
                                                +

                                                Inherited from AnyRef

                                                +
                                                +

                                                Inherited from Any

                                                +
                                                + +
                                                + +
                                                +
                                                +

                                                Ungrouped

                                                + +
                                                +
                                                + +
                                                + +
                                                + + + + + + diff --git a/manual1903/api_reference/components/scaladocs/ksb/csle/component/operator/transformation/NullReplaceOperator$.html b/manual1903/api_reference/components/scaladocs/ksb/csle/component/operator/transformation/NullReplaceOperator$.html new file mode 100644 index 0000000000000000000000000000000000000000..6e44b995d3498db2320f1824f7a13b1406dc1e72 --- /dev/null +++ b/manual1903/api_reference/components/scaladocs/ksb/csle/component/operator/transformation/NullReplaceOperator$.html @@ -0,0 +1,505 @@ + + + + NullReplaceOperator - KSB COMPONENTS Scala App Project 1.0-SNAPSHOT API - ksb.csle.component.operator.transformation.NullReplaceOperator + + + + + + + + + + + + + + + + + +

                                                + + + object + + + NullReplaceOperator extends Serializable + +

                                                + +
                                                + Linear Supertypes +
                                                Serializable, Serializable, AnyRef, Any
                                                +
                                                + + +
                                                +
                                                +
                                                + Ordering +
                                                  + +
                                                1. Alphabetic
                                                2. +
                                                3. By Inheritance
                                                4. +
                                                +
                                                +
                                                + Inherited
                                                +
                                                +
                                                  +
                                                1. NullReplaceOperator
                                                2. Serializable
                                                3. Serializable
                                                4. AnyRef
                                                5. Any
                                                6. +
                                                +
                                                + +
                                                  +
                                                1. Hide All
                                                2. +
                                                3. Show All
                                                4. +
                                                +
                                                +
                                                + Visibility +
                                                1. Public
                                                2. All
                                                +
                                                +
                                                + +
                                                +
                                                + + + + + + +
                                                +

                                                Value Members

                                                +
                                                1. + + +

                                                  + + final + def + + + !=(arg0: Any): Boolean + +

                                                  + + Permalink + + +
                                                  Definition Classes
                                                  AnyRef → Any
                                                  +
                                                2. + + +

                                                  + + final + def + + + ##(): Int + +

                                                  + + Permalink + + +
                                                  Definition Classes
                                                  AnyRef → Any
                                                  +
                                                3. + + +

                                                  + + final + def + + + ==(arg0: Any): Boolean + +

                                                  + + Permalink + + +
                                                  Definition Classes
                                                  AnyRef → Any
                                                  +
                                                4. + + +

                                                  + + + def + + + apply(o: StreamOperatorInfo): NullReplaceOperator + +

                                                  + + Permalink + + + +
                                                5. + + +

                                                  + + final + def + + + asInstanceOf[T0]: T0 + +

                                                  + + Permalink + + +
                                                  Definition Classes
                                                  Any
                                                  +
                                                6. + + +

                                                  + + + def + + + clone(): AnyRef + +

                                                  + + Permalink + + +
                                                  Attributes
                                                  protected[java.lang]
                                                  Definition Classes
                                                  AnyRef
                                                  Annotations
                                                  + @throws( + + ... + ) + +
                                                  +
                                                7. + + +

                                                  + + final + def + + + eq(arg0: AnyRef): Boolean + +

                                                  + + Permalink + + +
                                                  Definition Classes
                                                  AnyRef
                                                  +
                                                8. + + +

                                                  + + + def + + + equals(arg0: Any): Boolean + +

                                                  + + Permalink + + +
                                                  Definition Classes
                                                  AnyRef → Any
                                                  +
                                                9. + + +

                                                  + + + def + + + finalize(): Unit + +

                                                  + + Permalink + + +
                                                  Attributes
                                                  protected[java.lang]
                                                  Definition Classes
                                                  AnyRef
                                                  Annotations
                                                  + @throws( + + classOf[java.lang.Throwable] + ) + +
                                                  +
                                                10. + + +

                                                  + + final + def + + + getClass(): Class[_] + +

                                                  + + Permalink + + +
                                                  Definition Classes
                                                  AnyRef → Any
                                                  +
                                                11. + + +

                                                  + + + def + + + hashCode(): Int + +

                                                  + + Permalink + + +
                                                  Definition Classes
                                                  AnyRef → Any
                                                  +
                                                12. + + +

                                                  + + final + def + + + isInstanceOf[T0]: Boolean + +

                                                  + + Permalink + + +
                                                  Definition Classes
                                                  Any
                                                  +
                                                13. + + +

                                                  + + final + def + + + ne(arg0: AnyRef): Boolean + +

                                                  + + Permalink + + +
                                                  Definition Classes
                                                  AnyRef
                                                  +
                                                14. + + +

                                                  + + final + def + + + notify(): Unit + +

                                                  + + Permalink + + +
                                                  Definition Classes
                                                  AnyRef
                                                  +
                                                15. + + +

                                                  + + final + def + + + notifyAll(): Unit + +

                                                  + + Permalink + + +
                                                  Definition Classes
                                                  AnyRef
                                                  +
                                                16. + + +

                                                  + + final + def + + + synchronized[T0](arg0: ⇒ T0): T0 + +

                                                  + + Permalink + + +
                                                  Definition Classes
                                                  AnyRef
                                                  +
                                                17. + + +

                                                  + + + def + + + toString(): String + +

                                                  + + Permalink + + +
                                                  Definition Classes
                                                  AnyRef → Any
                                                  +
                                                18. + + +

                                                  + + final + def + + + wait(): Unit + +

                                                  + + Permalink + + +
                                                  Definition Classes
                                                  AnyRef
                                                  Annotations
                                                  + @throws( + + ... + ) + +
                                                  +
                                                19. + + +

                                                  + + final + def + + + wait(arg0: Long, arg1: Int): Unit + +

                                                  + + Permalink + + +
                                                  Definition Classes
                                                  AnyRef
                                                  Annotations
                                                  + @throws( + + ... + ) + +
                                                  +
                                                20. + + +

                                                  + + final + def + + + wait(arg0: Long): Unit + +

                                                  + + Permalink + + +
                                                  Definition Classes
                                                  AnyRef
                                                  Annotations
                                                  + @throws( + + ... + ) + +
                                                  +
                                                +
                                                + + + + +
                                                + +
                                                +
                                                +

                                                Inherited from Serializable

                                                +
                                                +

                                                Inherited from Serializable

                                                +
                                                +

                                                Inherited from AnyRef

                                                +
                                                +

                                                Inherited from Any

                                                +
                                                + +
                                                + +
                                                +
                                                +

                                                Ungrouped

                                                + +
                                                +
                                                + +
                                                + +
                                                + + + + + + diff --git a/manual1903/api_reference/components/scaladocs/ksb/csle/component/operator/transformation/NullReplaceOperator.html b/manual1903/api_reference/components/scaladocs/ksb/csle/component/operator/transformation/NullReplaceOperator.html new file mode 100644 index 0000000000000000000000000000000000000000..b243e4e9fe80bcee6554850ab4a9825084bd2ee8 --- /dev/null +++ b/manual1903/api_reference/components/scaladocs/ksb/csle/component/operator/transformation/NullReplaceOperator.html @@ -0,0 +1,595 @@ + + + + NullReplaceOperator - KSB COMPONENTS Scala App Project 1.0-SNAPSHOT API - ksb.csle.component.operator.transformation.NullReplaceOperator + + + + + + + + + + + + + + + + + +

                                                + + + class + + + NullReplaceOperator extends BaseDataOperator[StreamOperatorInfo, DataFrame] + +

                                                + +

                                                :: ApplicationDeveloperApi ::

                                                Operator that replaces empty string and 0 value with null value. +

                                                + Linear Supertypes +
                                                BaseDataOperator[StreamOperatorInfo, DataFrame], BaseGenericOperator[StreamOperatorInfo, DataFrame], BaseGenericMutantOperator[StreamOperatorInfo, DataFrame, DataFrame], BaseDoer, Logging, Serializable, Serializable, AnyRef, Any
                                                +
                                                + + +
                                                +
                                                +
                                                + Ordering +
                                                  + +
                                                1. Alphabetic
                                                2. +
                                                3. By Inheritance
                                                4. +
                                                +
                                                +
                                                + Inherited
                                                +
                                                +
                                                  +
                                                1. NullReplaceOperator
                                                2. BaseDataOperator
                                                3. BaseGenericOperator
                                                4. BaseGenericMutantOperator
                                                5. BaseDoer
                                                6. Logging
                                                7. Serializable
                                                8. Serializable
                                                9. AnyRef
                                                10. Any
                                                11. +
                                                +
                                                + +
                                                  +
                                                1. Hide All
                                                2. +
                                                3. Show All
                                                4. +
                                                +
                                                +
                                                + Visibility +
                                                1. Public
                                                2. All
                                                +
                                                +
                                                + +
                                                +
                                                +
                                                +

                                                Instance Constructors

                                                +
                                                1. + + +

                                                  + + + new + + + NullReplaceOperator(o: StreamOperatorInfo) + +

                                                  + + Permalink + + +

                                                  o

                                                  Object that contains message + ksb.csle.common.proto.StreamOperatorProto.AsNullReplaceOperatorInfo + AsNullReplaceOperatorInfo contains attributes as follows:

                                                  • EmpytStringAsNullReplace: Parameter to specify whether to replace + empty string with null value or not (required)
                                                  • ZeroAsNullReplace: Parameter to specify whether to replace zero + value with null value or not (required)

                                                  AsNullReplaceOperatorInfo

                                                  message AsNullReplaceOperatorInfo {
                                                  +required bool EmpytStringAsNullReplace = 1 [default = true];
                                                  +required bool ZeroAsNullReplace = 2 [default = false];
                                                  +}
                                                  +
                                                +
                                                + + + + + +
                                                +

                                                Value Members

                                                +
                                                1. + + +

                                                  + + final + def + + + !=(arg0: Any): Boolean + +

                                                  + + Permalink + + +
                                                  Definition Classes
                                                  AnyRef → Any
                                                  +
                                                2. + + +

                                                  + + final + def + + + ##(): Int + +

                                                  + + Permalink + + +
                                                  Definition Classes
                                                  AnyRef → Any
                                                  +
                                                3. + + +

                                                  + + final + def + + + ==(arg0: Any): Boolean + +

                                                  + + Permalink + + +
                                                  Definition Classes
                                                  AnyRef → Any
                                                  +
                                                4. + + +

                                                  + + final + def + + + asInstanceOf[T0]: T0 + +

                                                  + + Permalink + + +
                                                  Definition Classes
                                                  Any
                                                  +
                                                5. + + +

                                                  + + + def + + + clone(): AnyRef + +

                                                  + + Permalink + + +
                                                  Attributes
                                                  protected[java.lang]
                                                  Definition Classes
                                                  AnyRef
                                                  Annotations
                                                  + @throws( + + ... + ) + +
                                                  +
                                                6. + + +

                                                  + + final + def + + + eq(arg0: AnyRef): Boolean + +

                                                  + + Permalink + + +
                                                  Definition Classes
                                                  AnyRef
                                                  +
                                                7. + + +

                                                  + + + def + + + equals(arg0: Any): Boolean + +

                                                  + + Permalink + + +
                                                  Definition Classes
                                                  AnyRef → Any
                                                  +
                                                8. + + +

                                                  + + + def + + + finalize(): Unit + +

                                                  + + Permalink + + +
                                                  Attributes
                                                  protected[java.lang]
                                                  Definition Classes
                                                  AnyRef
                                                  Annotations
                                                  + @throws( + + classOf[java.lang.Throwable] + ) + +
                                                  +
                                                9. + + +

                                                  + + final + def + + + getClass(): Class[_] + +

                                                  + + Permalink + + +
                                                  Definition Classes
                                                  AnyRef → Any
                                                  +
                                                10. + + +

                                                  + + + def + + + hashCode(): Int + +

                                                  + + Permalink + + +
                                                  Definition Classes
                                                  AnyRef → Any
                                                  +
                                                11. + + +

                                                  + + final + def + + + isInstanceOf[T0]: Boolean + +

                                                  + + Permalink + + +
                                                  Definition Classes
                                                  Any
                                                  +
                                                12. + + +

                                                  + + + val + + + logger: Logger + +

                                                  + + Permalink + + +
                                                  Attributes
                                                  protected
                                                  Definition Classes
                                                  Logging
                                                  +
                                                13. + + +

                                                  + + final + def + + + ne(arg0: AnyRef): Boolean + +

                                                  + + Permalink + + +
                                                  Definition Classes
                                                  AnyRef
                                                  +
                                                14. + + +

                                                  + + final + def + + + notify(): Unit + +

                                                  + + Permalink + + +
                                                  Definition Classes
                                                  AnyRef
                                                  +
                                                15. + + +

                                                  + + final + def + + + notifyAll(): Unit + +

                                                  + + Permalink + + +
                                                  Definition Classes
                                                  AnyRef
                                                  +
                                                16. + + +

                                                  + + + def + + + operate(df: DataFrame): DataFrame + +

                                                  + + Permalink + + +

                                                  Operates AsNullReplacer function using following params.

                                                  Operates AsNullReplacer function using following params. +

                                                  df

                                                  Input dataframe

                                                  returns

                                                  DataFrame Output dataframe

                                                  Definition Classes
                                                  NullReplaceOperator → BaseGenericOperator → BaseGenericMutantOperator
                                                  +
                                                17. + + +

                                                  + + + val + + + p: AsNullReplaceOperatorInfo + +

                                                  + + Permalink + + + +
                                                18. + + +

                                                  + + + def + + + stop: Unit + +

                                                  + + Permalink + + +
                                                  Definition Classes
                                                  BaseGenericOperator → BaseGenericMutantOperator
                                                  +
                                                19. + + +

                                                  + + final + def + + + synchronized[T0](arg0: ⇒ T0): T0 + +

                                                  + + Permalink + + +
                                                  Definition Classes
                                                  AnyRef
                                                  +
                                                20. + + +

                                                  + + + def + + + toString(): String + +

                                                  + + Permalink + + +
                                                  Definition Classes
                                                  AnyRef → Any
                                                  +
                                                21. + + +

                                                  + + final + def + + + wait(): Unit + +

                                                  + + Permalink + + +
                                                  Definition Classes
                                                  AnyRef
                                                  Annotations
                                                  + @throws( + + ... + ) + +
                                                  +
                                                22. + + +

                                                  + + final + def + + + wait(arg0: Long, arg1: Int): Unit + +

                                                  + + Permalink + + +
                                                  Definition Classes
                                                  AnyRef
                                                  Annotations
                                                  + @throws( + + ... + ) + +
                                                  +
                                                23. + + +

                                                  + + final + def + + + wait(arg0: Long): Unit + +

                                                  + + Permalink + + +
                                                  Definition Classes
                                                  AnyRef
                                                  Annotations
                                                  + @throws( + + ... + ) + +
                                                  +
                                                +
                                                + + + + +
                                                + +
                                                +
                                                +

                                                Inherited from BaseDataOperator[StreamOperatorInfo, DataFrame]

                                                +
                                                +

                                                Inherited from BaseGenericOperator[StreamOperatorInfo, DataFrame]

                                                +
                                                +

                                                Inherited from BaseGenericMutantOperator[StreamOperatorInfo, DataFrame, DataFrame]

                                                +
                                                +

                                                Inherited from BaseDoer

                                                +
                                                +

                                                Inherited from Logging

                                                +
                                                +

                                                Inherited from Serializable

                                                +
                                                +

                                                Inherited from Serializable

                                                +
                                                +

                                                Inherited from AnyRef

                                                +
                                                +

                                                Inherited from Any

                                                +
                                                + +
                                                + +
                                                +
                                                +

                                                Ungrouped

                                                + +
                                                +
                                                + +
                                                + +
                                                + + + + + + diff --git a/manual1903/api_reference/components/scaladocs/ksb/csle/component/operator/transformation/OneHotEncodingOperator$.html b/manual1903/api_reference/components/scaladocs/ksb/csle/component/operator/transformation/OneHotEncodingOperator$.html new file mode 100644 index 0000000000000000000000000000000000000000..22a394ab126a7fdfec65b5b871db0beb20d6be04 --- /dev/null +++ b/manual1903/api_reference/components/scaladocs/ksb/csle/component/operator/transformation/OneHotEncodingOperator$.html @@ -0,0 +1,505 @@ + + + + OneHotEncodingOperator - KSB COMPONENTS Scala App Project 1.0-SNAPSHOT API - ksb.csle.component.operator.transformation.OneHotEncodingOperator + + + + + + + + + + + + + + + + + +

                                                + + + object + + + OneHotEncodingOperator extends Serializable + +

                                                + +
                                                + Linear Supertypes +
                                                Serializable, Serializable, AnyRef, Any
                                                +
                                                + + +
                                                +
                                                +
                                                + Ordering +
                                                  + +
                                                1. Alphabetic
                                                2. +
                                                3. By Inheritance
                                                4. +
                                                +
                                                +
                                                + Inherited
                                                +
                                                +
                                                  +
                                                1. OneHotEncodingOperator
                                                2. Serializable
                                                3. Serializable
                                                4. AnyRef
                                                5. Any
                                                6. +
                                                +
                                                + +
                                                  +
                                                1. Hide All
                                                2. +
                                                3. Show All
                                                4. +
                                                +
                                                +
                                                + Visibility +
                                                1. Public
                                                2. All
                                                +
                                                +
                                                + +
                                                +
                                                + + + + + + +
                                                +

                                                Value Members

                                                +
                                                1. + + +

                                                  + + final + def + + + !=(arg0: Any): Boolean + +

                                                  + + Permalink + + +
                                                  Definition Classes
                                                  AnyRef → Any
                                                  +
                                                2. + + +

                                                  + + final + def + + + ##(): Int + +

                                                  + + Permalink + + +
                                                  Definition Classes
                                                  AnyRef → Any
                                                  +
                                                3. + + +

                                                  + + final + def + + + ==(arg0: Any): Boolean + +

                                                  + + Permalink + + +
                                                  Definition Classes
                                                  AnyRef → Any
                                                  +
                                                4. + + +

                                                  + + + def + + + apply(o: StreamOperatorInfo): OneHotEncodingOperator + +

                                                  + + Permalink + + + +
                                                5. + + +

                                                  + + final + def + + + asInstanceOf[T0]: T0 + +

                                                  + + Permalink + + +
                                                  Definition Classes
                                                  Any
                                                  +
                                                6. + + +

                                                  + + + def + + + clone(): AnyRef + +

                                                  + + Permalink + + +
                                                  Attributes
                                                  protected[java.lang]
                                                  Definition Classes
                                                  AnyRef
                                                  Annotations
                                                  + @throws( + + ... + ) + +
                                                  +
                                                7. + + +

                                                  + + final + def + + + eq(arg0: AnyRef): Boolean + +

                                                  + + Permalink + + +
                                                  Definition Classes
                                                  AnyRef
                                                  +
                                                8. + + +

                                                  + + + def + + + equals(arg0: Any): Boolean + +

                                                  + + Permalink + + +
                                                  Definition Classes
                                                  AnyRef → Any
                                                  +
                                                9. + + +

                                                  + + + def + + + finalize(): Unit + +

                                                  + + Permalink + + +
                                                  Attributes
                                                  protected[java.lang]
                                                  Definition Classes
                                                  AnyRef
                                                  Annotations
                                                  + @throws( + + classOf[java.lang.Throwable] + ) + +
                                                  +
                                                10. + + +

                                                  + + final + def + + + getClass(): Class[_] + +

                                                  + + Permalink + + +
                                                  Definition Classes
                                                  AnyRef → Any
                                                  +
                                                11. + + +

                                                  + + + def + + + hashCode(): Int + +

                                                  + + Permalink + + +
                                                  Definition Classes
                                                  AnyRef → Any
                                                  +
                                                12. + + +

                                                  + + final + def + + + isInstanceOf[T0]: Boolean + +

                                                  + + Permalink + + +
                                                  Definition Classes
                                                  Any
                                                  +
                                                13. + + +

                                                  + + final + def + + + ne(arg0: AnyRef): Boolean + +

                                                  + + Permalink + + +
                                                  Definition Classes
                                                  AnyRef
                                                  +
                                                14. + + +

                                                  + + final + def + + + notify(): Unit + +

                                                  + + Permalink + + +
                                                  Definition Classes
                                                  AnyRef
                                                  +
                                                15. + + +

                                                  + + final + def + + + notifyAll(): Unit + +

                                                  + + Permalink + + +
                                                  Definition Classes
                                                  AnyRef
                                                  +
                                                16. + + +

                                                  + + final + def + + + synchronized[T0](arg0: ⇒ T0): T0 + +

                                                  + + Permalink + + +
                                                  Definition Classes
                                                  AnyRef
                                                  +
                                                17. + + +

                                                  + + + def + + + toString(): String + +

                                                  + + Permalink + + +
                                                  Definition Classes
                                                  AnyRef → Any
                                                  +
                                                18. + + +

                                                  + + final + def + + + wait(): Unit + +

                                                  + + Permalink + + +
                                                  Definition Classes
                                                  AnyRef
                                                  Annotations
                                                  + @throws( + + ... + ) + +
                                                  +
                                                19. + + +

                                                  + + final + def + + + wait(arg0: Long, arg1: Int): Unit + +

                                                  + + Permalink + + +
                                                  Definition Classes
                                                  AnyRef
                                                  Annotations
                                                  + @throws( + + ... + ) + +
                                                  +
                                                20. + + +

                                                  + + final + def + + + wait(arg0: Long): Unit + +

                                                  + + Permalink + + +
                                                  Definition Classes
                                                  AnyRef
                                                  Annotations
                                                  + @throws( + + ... + ) + +
                                                  +
                                                +
                                                + + + + +
                                                + +
                                                +
                                                +

                                                Inherited from Serializable

                                                +
                                                +

                                                Inherited from Serializable

                                                +
                                                +

                                                Inherited from AnyRef

                                                +
                                                +

                                                Inherited from Any

                                                +
                                                + +
                                                + +
                                                +
                                                +

                                                Ungrouped

                                                + +
                                                +
                                                + +
                                                + +
                                                + + + + + + diff --git a/manual1903/api_reference/components/scaladocs/ksb/csle/component/operator/transformation/OneHotEncodingOperator.html b/manual1903/api_reference/components/scaladocs/ksb/csle/component/operator/transformation/OneHotEncodingOperator.html new file mode 100644 index 0000000000000000000000000000000000000000..8266d44bf7c7550fa6163ae67f4ff09552514b74 --- /dev/null +++ b/manual1903/api_reference/components/scaladocs/ksb/csle/component/operator/transformation/OneHotEncodingOperator.html @@ -0,0 +1,615 @@ + + + + OneHotEncodingOperator - KSB COMPONENTS Scala App Project 1.0-SNAPSHOT API - ksb.csle.component.operator.transformation.OneHotEncodingOperator + + + + + + + + + + + + + + + + + +

                                                + + + class + + + OneHotEncodingOperator extends BaseDataOperator[StreamOperatorInfo, DataFrame] + +

                                                + +

                                                :: ApplicationDeveloperApi ::

                                                Operator that replaces empty string and 0 value with null value. +

                                                + Linear Supertypes +
                                                BaseDataOperator[StreamOperatorInfo, DataFrame], BaseGenericOperator[StreamOperatorInfo, DataFrame], BaseGenericMutantOperator[StreamOperatorInfo, DataFrame, DataFrame], BaseDoer, Logging, Serializable, Serializable, AnyRef, Any
                                                +
                                                + + +
                                                +
                                                +
                                                + Ordering +
                                                  + +
                                                1. Alphabetic
                                                2. +
                                                3. By Inheritance
                                                4. +
                                                +
                                                +
                                                + Inherited
                                                +
                                                +
                                                  +
                                                1. OneHotEncodingOperator
                                                2. BaseDataOperator
                                                3. BaseGenericOperator
                                                4. BaseGenericMutantOperator
                                                5. BaseDoer
                                                6. Logging
                                                7. Serializable
                                                8. Serializable
                                                9. AnyRef
                                                10. Any
                                                11. +
                                                +
                                                + +
                                                  +
                                                1. Hide All
                                                2. +
                                                3. Show All
                                                4. +
                                                +
                                                +
                                                + Visibility +
                                                1. Public
                                                2. All
                                                +
                                                +
                                                + +
                                                +
                                                +
                                                +

                                                Instance Constructors

                                                +
                                                1. + + +

                                                  + + + new + + + OneHotEncodingOperator(o: StreamOperatorInfo) + +

                                                  + + Permalink + + +

                                                  o

                                                  Object that contains message + ksb.csle.common.proto.StreamOperatorProto.OneHotEncodingInfo + OneHotEncodingInfo contains attributes as follows:

                                                  • selectedColumnName: Column name to be selected (required)

                                                  OneHotEncodingInfo

                                                  message OneHotEncodingInfo {
                                                  +required string selectedColumnName = 1;
                                                  +}
                                                  +
                                                +
                                                + + + + + +
                                                +

                                                Value Members

                                                +
                                                1. + + +

                                                  + + final + def + + + !=(arg0: Any): Boolean + +

                                                  + + Permalink + + +
                                                  Definition Classes
                                                  AnyRef → Any
                                                  +
                                                2. + + +

                                                  + + final + def + + + ##(): Int + +

                                                  + + Permalink + + +
                                                  Definition Classes
                                                  AnyRef → Any
                                                  +
                                                3. + + +

                                                  + + final + def + + + ==(arg0: Any): Boolean + +

                                                  + + Permalink + + +
                                                  Definition Classes
                                                  AnyRef → Any
                                                  +
                                                4. + + +

                                                  + + final + def + + + asInstanceOf[T0]: T0 + +

                                                  + + Permalink + + +
                                                  Definition Classes
                                                  Any
                                                  +
                                                5. + + +

                                                  + + + def + + + clone(): AnyRef + +

                                                  + + Permalink + + +
                                                  Attributes
                                                  protected[java.lang]
                                                  Definition Classes
                                                  AnyRef
                                                  Annotations
                                                  + @throws( + + ... + ) + +
                                                  +
                                                6. + + +

                                                  + + final + def + + + eq(arg0: AnyRef): Boolean + +

                                                  + + Permalink + + +
                                                  Definition Classes
                                                  AnyRef
                                                  +
                                                7. + + +

                                                  + + + def + + + equals(arg0: Any): Boolean + +

                                                  + + Permalink + + +
                                                  Definition Classes
                                                  AnyRef → Any
                                                  +
                                                8. + + +

                                                  + + + def + + + finalize(): Unit + +

                                                  + + Permalink + + +
                                                  Attributes
                                                  protected[java.lang]
                                                  Definition Classes
                                                  AnyRef
                                                  Annotations
                                                  + @throws( + + classOf[java.lang.Throwable] + ) + +
                                                  +
                                                9. + + +

                                                  + + final + def + + + getClass(): Class[_] + +

                                                  + + Permalink + + +
                                                  Definition Classes
                                                  AnyRef → Any
                                                  +
                                                10. + + +

                                                  + + + def + + + hashCode(): Int + +

                                                  + + Permalink + + +
                                                  Definition Classes
                                                  AnyRef → Any
                                                  +
                                                11. + + +

                                                  + + final + def + + + isInstanceOf[T0]: Boolean + +

                                                  + + Permalink + + +
                                                  Definition Classes
                                                  Any
                                                  +
                                                12. + + +

                                                  + + + val + + + logger: Logger + +

                                                  + + Permalink + + +
                                                  Attributes
                                                  protected
                                                  Definition Classes
                                                  Logging
                                                  +
                                                13. + + +

                                                  + + final + def + + + ne(arg0: AnyRef): Boolean + +

                                                  + + Permalink + + +
                                                  Definition Classes
                                                  AnyRef
                                                  +
                                                14. + + +

                                                  + + final + def + + + notify(): Unit + +

                                                  + + Permalink + + +
                                                  Definition Classes
                                                  AnyRef
                                                  +
                                                15. + + +

                                                  + + final + def + + + notifyAll(): Unit + +

                                                  + + Permalink + + +
                                                  Definition Classes
                                                  AnyRef
                                                  +
                                                16. + + +

                                                  + + + def + + + operate(df: DataFrame): DataFrame + +

                                                  + + Permalink + + +

                                                  Operates OneHotEncoding.

                                                  Operates OneHotEncoding. +

                                                  df

                                                  Input dataframe

                                                  returns

                                                  DataFrame Output dataframe

                                                  Definition Classes
                                                  OneHotEncodingOperator → BaseGenericOperator → BaseGenericMutantOperator
                                                  +
                                                17. + + +

                                                  + + + val + + + p: OneHotEncodingInfo + +

                                                  + + Permalink + + + +
                                                18. + + +

                                                  + + + def + + + stop: Unit + +

                                                  + + Permalink + + +
                                                  Definition Classes
                                                  BaseGenericOperator → BaseGenericMutantOperator
                                                  +
                                                19. + + +

                                                  + + final + def + + + synchronized[T0](arg0: ⇒ T0): T0 + +

                                                  + + Permalink + + +
                                                  Definition Classes
                                                  AnyRef
                                                  +
                                                20. + + +

                                                  + + + def + + + toString(): String + +

                                                  + + Permalink + + +
                                                  Definition Classes
                                                  AnyRef → Any
                                                  +
                                                21. + + +

                                                  + + + def + + + validate(df: DataFrame): DataFrame + +

                                                  + + Permalink + + +
                                                  Annotations
                                                  + @throws( + + classOf[KsbException] + ) + +
                                                  +
                                                22. + + +

                                                  + + final + def + + + wait(): Unit + +

                                                  + + Permalink + + +
                                                  Definition Classes
                                                  AnyRef
                                                  Annotations
                                                  + @throws( + + ... + ) + +
                                                  +
                                                23. + + +

                                                  + + final + def + + + wait(arg0: Long, arg1: Int): Unit + +

                                                  + + Permalink + + +
                                                  Definition Classes
                                                  AnyRef
                                                  Annotations
                                                  + @throws( + + ... + ) + +
                                                  +
                                                24. + + +

                                                  + + final + def + + + wait(arg0: Long): Unit + +

                                                  + + Permalink + + +
                                                  Definition Classes
                                                  AnyRef
                                                  Annotations
                                                  + @throws( + + ... + ) + +
                                                  +
                                                +
                                                + + + + +
                                                + +
                                                +
                                                +

                                                Inherited from BaseDataOperator[StreamOperatorInfo, DataFrame]

                                                +
                                                +

                                                Inherited from BaseGenericOperator[StreamOperatorInfo, DataFrame]

                                                +
                                                +

                                                Inherited from BaseGenericMutantOperator[StreamOperatorInfo, DataFrame, DataFrame]

                                                +
                                                +

                                                Inherited from BaseDoer

                                                +
                                                +

                                                Inherited from Logging

                                                +
                                                +

                                                Inherited from Serializable

                                                +
                                                +

                                                Inherited from Serializable

                                                +
                                                +

                                                Inherited from AnyRef

                                                +
                                                +

                                                Inherited from Any

                                                +
                                                + +
                                                + +
                                                +
                                                +

                                                Ungrouped

                                                + +
                                                +
                                                + +
                                                + +
                                                + + + + + + diff --git a/manual1903/api_reference/components/scaladocs/ksb/csle/component/operator/transformation/PivotOperator$.html b/manual1903/api_reference/components/scaladocs/ksb/csle/component/operator/transformation/PivotOperator$.html new file mode 100644 index 0000000000000000000000000000000000000000..68af016bfd4c71558412fd4645755ae46a6613da --- /dev/null +++ b/manual1903/api_reference/components/scaladocs/ksb/csle/component/operator/transformation/PivotOperator$.html @@ -0,0 +1,505 @@ + + + + PivotOperator - KSB COMPONENTS Scala App Project 1.0-SNAPSHOT API - ksb.csle.component.operator.transformation.PivotOperator + + + + + + + + + + + + + + + + + +

                                                + + + object + + + PivotOperator extends Serializable + +

                                                + +
                                                + Linear Supertypes +
                                                Serializable, Serializable, AnyRef, Any
                                                +
                                                + + +
                                                +
                                                +
                                                + Ordering +
                                                  + +
                                                1. Alphabetic
                                                2. +
                                                3. By Inheritance
                                                4. +
                                                +
                                                +
                                                + Inherited
                                                +
                                                +
                                                  +
                                                1. PivotOperator
                                                2. Serializable
                                                3. Serializable
                                                4. AnyRef
                                                5. Any
                                                6. +
                                                +
                                                + +
                                                  +
                                                1. Hide All
                                                2. +
                                                3. Show All
                                                4. +
                                                +
                                                +
                                                + Visibility +
                                                1. Public
                                                2. All
                                                +
                                                +
                                                + +
                                                +
                                                + + + + + + +
                                                +

                                                Value Members

                                                +
                                                1. + + +

                                                  + + final + def + + + !=(arg0: Any): Boolean + +

                                                  + + Permalink + + +
                                                  Definition Classes
                                                  AnyRef → Any
                                                  +
                                                2. + + +

                                                  + + final + def + + + ##(): Int + +

                                                  + + Permalink + + +
                                                  Definition Classes
                                                  AnyRef → Any
                                                  +
                                                3. + + +

                                                  + + final + def + + + ==(arg0: Any): Boolean + +

                                                  + + Permalink + + +
                                                  Definition Classes
                                                  AnyRef → Any
                                                  +
                                                4. + + +

                                                  + + + def + + + apply(o: StreamOperatorInfo): PivotOperator + +

                                                  + + Permalink + + + +
                                                5. + + +

                                                  + + final + def + + + asInstanceOf[T0]: T0 + +

                                                  + + Permalink + + +
                                                  Definition Classes
                                                  Any
                                                  +
                                                6. + + +

                                                  + + + def + + + clone(): AnyRef + +

                                                  + + Permalink + + +
                                                  Attributes
                                                  protected[java.lang]
                                                  Definition Classes
                                                  AnyRef
                                                  Annotations
                                                  + @throws( + + ... + ) + +
                                                  +
                                                7. + + +

                                                  + + final + def + + + eq(arg0: AnyRef): Boolean + +

                                                  + + Permalink + + +
                                                  Definition Classes
                                                  AnyRef
                                                  +
                                                8. + + +

                                                  + + + def + + + equals(arg0: Any): Boolean + +

                                                  + + Permalink + + +
                                                  Definition Classes
                                                  AnyRef → Any
                                                  +
                                                9. + + +

                                                  + + + def + + + finalize(): Unit + +

                                                  + + Permalink + + +
                                                  Attributes
                                                  protected[java.lang]
                                                  Definition Classes
                                                  AnyRef
                                                  Annotations
                                                  + @throws( + + classOf[java.lang.Throwable] + ) + +
                                                  +
                                                10. + + +

                                                  + + final + def + + + getClass(): Class[_] + +

                                                  + + Permalink + + +
                                                  Definition Classes
                                                  AnyRef → Any
                                                  +
                                                11. + + +

                                                  + + + def + + + hashCode(): Int + +

                                                  + + Permalink + + +
                                                  Definition Classes
                                                  AnyRef → Any
                                                  +
                                                12. + + +

                                                  + + final + def + + + isInstanceOf[T0]: Boolean + +

                                                  + + Permalink + + +
                                                  Definition Classes
                                                  Any
                                                  +
                                                13. + + +

                                                  + + final + def + + + ne(arg0: AnyRef): Boolean + +

                                                  + + Permalink + + +
                                                  Definition Classes
                                                  AnyRef
                                                  +
                                                14. + + +

                                                  + + final + def + + + notify(): Unit + +

                                                  + + Permalink + + +
                                                  Definition Classes
                                                  AnyRef
                                                  +
                                                15. + + +

                                                  + + final + def + + + notifyAll(): Unit + +

                                                  + + Permalink + + +
                                                  Definition Classes
                                                  AnyRef
                                                  +
                                                16. + + +

                                                  + + final + def + + + synchronized[T0](arg0: ⇒ T0): T0 + +

                                                  + + Permalink + + +
                                                  Definition Classes
                                                  AnyRef
                                                  +
                                                17. + + +

                                                  + + + def + + + toString(): String + +

                                                  + + Permalink + + +
                                                  Definition Classes
                                                  AnyRef → Any
                                                  +
                                                18. + + +

                                                  + + final + def + + + wait(): Unit + +

                                                  + + Permalink + + +
                                                  Definition Classes
                                                  AnyRef
                                                  Annotations
                                                  + @throws( + + ... + ) + +
                                                  +
                                                19. + + +

                                                  + + final + def + + + wait(arg0: Long, arg1: Int): Unit + +

                                                  + + Permalink + + +
                                                  Definition Classes
                                                  AnyRef
                                                  Annotations
                                                  + @throws( + + ... + ) + +
                                                  +
                                                20. + + +

                                                  + + final + def + + + wait(arg0: Long): Unit + +

                                                  + + Permalink + + +
                                                  Definition Classes
                                                  AnyRef
                                                  Annotations
                                                  + @throws( + + ... + ) + +
                                                  +
                                                +
                                                + + + + +
                                                + +
                                                +
                                                +

                                                Inherited from Serializable

                                                +
                                                +

                                                Inherited from Serializable

                                                +
                                                +

                                                Inherited from AnyRef

                                                +
                                                +

                                                Inherited from Any

                                                +
                                                + +
                                                + +
                                                +
                                                +

                                                Ungrouped

                                                + +
                                                +
                                                + +
                                                + +
                                                + + + + + + diff --git a/manual1903/api_reference/components/scaladocs/ksb/csle/component/operator/transformation/PivotOperator.html b/manual1903/api_reference/components/scaladocs/ksb/csle/component/operator/transformation/PivotOperator.html new file mode 100644 index 0000000000000000000000000000000000000000..e866463b96575a3969837454693a84586dd5a3c4 --- /dev/null +++ b/manual1903/api_reference/components/scaladocs/ksb/csle/component/operator/transformation/PivotOperator.html @@ -0,0 +1,601 @@ + + + + PivotOperator - KSB COMPONENTS Scala App Project 1.0-SNAPSHOT API - ksb.csle.component.operator.transformation.PivotOperator + + + + + + + + + + + + + + + + + +

                                                + + + class + + + PivotOperator extends BaseDataOperator[StreamOperatorInfo, DataFrame] + +

                                                + +

                                                :: ApplicationDeveloperApi ::

                                                Operator that rotates the given dataframe by grouping multiple rows of same +groups to single rows. +

                                                + Linear Supertypes +
                                                BaseDataOperator[StreamOperatorInfo, DataFrame], BaseGenericOperator[StreamOperatorInfo, DataFrame], BaseGenericMutantOperator[StreamOperatorInfo, DataFrame, DataFrame], BaseDoer, Logging, Serializable, Serializable, AnyRef, Any
                                                +
                                                + + +
                                                +
                                                +
                                                + Ordering +
                                                  + +
                                                1. Alphabetic
                                                2. +
                                                3. By Inheritance
                                                4. +
                                                +
                                                +
                                                + Inherited
                                                +
                                                +
                                                  +
                                                1. PivotOperator
                                                2. BaseDataOperator
                                                3. BaseGenericOperator
                                                4. BaseGenericMutantOperator
                                                5. BaseDoer
                                                6. Logging
                                                7. Serializable
                                                8. Serializable
                                                9. AnyRef
                                                10. Any
                                                11. +
                                                +
                                                + +
                                                  +
                                                1. Hide All
                                                2. +
                                                3. Show All
                                                4. +
                                                +
                                                +
                                                + Visibility +
                                                1. Public
                                                2. All
                                                +
                                                +
                                                + +
                                                +
                                                +
                                                +

                                                Instance Constructors

                                                +
                                                1. + + +

                                                  + + + new + + + PivotOperator(o: StreamOperatorInfo) + +

                                                  + + Permalink + + +

                                                  o

                                                  Object that contains message + ksb.csle.common.proto.StreamOperatorProto.PivotInfo + PivotInfo contains attributes as follows:

                                                  • selectedColumnName: Column id which should be used for pivoting + (required)
                                                  • groupByColumn: Column set to do groupby (required)
                                                  • valueColumn: Column to be used as a value (required)
                                                  • method: Method of aggregation to groupby. Enum(AVG, SUM) (required)

                                                  PivotInfo

                                                  message PivotInfo {
                                                  +required int32 selectedColumnId = 4;
                                                  +required string groupByColumn = 5;
                                                  +required string valueColumn = 6;
                                                  +required Method method = 7 [default = AVG];
                                                  +enum Method {
                                                  +  AVG = 0;
                                                  +  SUM = 1;
                                                  +}
                                                  +}
                                                  +
                                                +
                                                + + + + + +
                                                +

                                                Value Members

                                                +
                                                1. + + +

                                                  + + final + def + + + !=(arg0: Any): Boolean + +

                                                  + + Permalink + + +
                                                  Definition Classes
                                                  AnyRef → Any
                                                  +
                                                2. + + +

                                                  + + final + def + + + ##(): Int + +

                                                  + + Permalink + + +
                                                  Definition Classes
                                                  AnyRef → Any
                                                  +
                                                3. + + +

                                                  + + final + def + + + ==(arg0: Any): Boolean + +

                                                  + + Permalink + + +
                                                  Definition Classes
                                                  AnyRef → Any
                                                  +
                                                4. + + +

                                                  + + final + def + + + asInstanceOf[T0]: T0 + +

                                                  + + Permalink + + +
                                                  Definition Classes
                                                  Any
                                                  +
                                                5. + + +

                                                  + + + def + + + clone(): AnyRef + +

                                                  + + Permalink + + +
                                                  Attributes
                                                  protected[java.lang]
                                                  Definition Classes
                                                  AnyRef
                                                  Annotations
                                                  + @throws( + + ... + ) + +
                                                  +
                                                6. + + +

                                                  + + final + def + + + eq(arg0: AnyRef): Boolean + +

                                                  + + Permalink + + +
                                                  Definition Classes
                                                  AnyRef
                                                  +
                                                7. + + +

                                                  + + + def + + + equals(arg0: Any): Boolean + +

                                                  + + Permalink + + +
                                                  Definition Classes
                                                  AnyRef → Any
                                                  +
                                                8. + + +

                                                  + + + def + + + finalize(): Unit + +

                                                  + + Permalink + + +
                                                  Attributes
                                                  protected[java.lang]
                                                  Definition Classes
                                                  AnyRef
                                                  Annotations
                                                  + @throws( + + classOf[java.lang.Throwable] + ) + +
                                                  +
                                                9. + + +

                                                  + + final + def + + + getClass(): Class[_] + +

                                                  + + Permalink + + +
                                                  Definition Classes
                                                  AnyRef → Any
                                                  +
                                                10. + + +

                                                  + + + def + + + hashCode(): Int + +

                                                  + + Permalink + + +
                                                  Definition Classes
                                                  AnyRef → Any
                                                  +
                                                11. + + +

                                                  + + final + def + + + isInstanceOf[T0]: Boolean + +

                                                  + + Permalink + + +
                                                  Definition Classes
                                                  Any
                                                  +
                                                12. + + +

                                                  + + + val + + + logger: Logger + +

                                                  + + Permalink + + +
                                                  Attributes
                                                  protected
                                                  Definition Classes
                                                  Logging
                                                  +
                                                13. + + +

                                                  + + final + def + + + ne(arg0: AnyRef): Boolean + +

                                                  + + Permalink + + +
                                                  Definition Classes
                                                  AnyRef
                                                  +
                                                14. + + +

                                                  + + final + def + + + notify(): Unit + +

                                                  + + Permalink + + +
                                                  Definition Classes
                                                  AnyRef
                                                  +
                                                15. + + +

                                                  + + final + def + + + notifyAll(): Unit + +

                                                  + + Permalink + + +
                                                  Definition Classes
                                                  AnyRef
                                                  +
                                                16. + + +

                                                  + + + def + + + operate(df: DataFrame): DataFrame + +

                                                  + + Permalink + + +

                                                  Operates Pivot.

                                                  Operates Pivot. +

                                                  df

                                                  Input dataframe

                                                  returns

                                                  DataFrame Output dataframe

                                                  Definition Classes
                                                  PivotOperator → BaseGenericOperator → BaseGenericMutantOperator
                                                  +
                                                17. + + +

                                                  + + + val + + + p: PivotInfo + +

                                                  + + Permalink + + + +
                                                18. + + +

                                                  + + + def + + + stop: Unit + +

                                                  + + Permalink + + +
                                                  Definition Classes
                                                  BaseGenericOperator → BaseGenericMutantOperator
                                                  +
                                                19. + + +

                                                  + + final + def + + + synchronized[T0](arg0: ⇒ T0): T0 + +

                                                  + + Permalink + + +
                                                  Definition Classes
                                                  AnyRef
                                                  +
                                                20. + + +

                                                  + + + def + + + toString(): String + +

                                                  + + Permalink + + +
                                                  Definition Classes
                                                  AnyRef → Any
                                                  +
                                                21. + + +

                                                  + + final + def + + + wait(): Unit + +

                                                  + + Permalink + + +
                                                  Definition Classes
                                                  AnyRef
                                                  Annotations
                                                  + @throws( + + ... + ) + +
                                                  +
                                                22. + + +

                                                  + + final + def + + + wait(arg0: Long, arg1: Int): Unit + +

                                                  + + Permalink + + +
                                                  Definition Classes
                                                  AnyRef
                                                  Annotations
                                                  + @throws( + + ... + ) + +
                                                  +
                                                23. + + +

                                                  + + final + def + + + wait(arg0: Long): Unit + +

                                                  + + Permalink + + +
                                                  Definition Classes
                                                  AnyRef
                                                  Annotations
                                                  + @throws( + + ... + ) + +
                                                  +
                                                +
                                                + + + + +
                                                + +
                                                +
                                                +

                                                Inherited from BaseDataOperator[StreamOperatorInfo, DataFrame]

                                                +
                                                +

                                                Inherited from BaseGenericOperator[StreamOperatorInfo, DataFrame]

                                                +
                                                +

                                                Inherited from BaseGenericMutantOperator[StreamOperatorInfo, DataFrame, DataFrame]

                                                +
                                                +

                                                Inherited from BaseDoer

                                                +
                                                +

                                                Inherited from Logging

                                                +
                                                +

                                                Inherited from Serializable

                                                +
                                                +

                                                Inherited from Serializable

                                                +
                                                +

                                                Inherited from AnyRef

                                                +
                                                +

                                                Inherited from Any

                                                +
                                                + +
                                                + +
                                                +
                                                +

                                                Ungrouped

                                                + +
                                                +
                                                + +
                                                + +
                                                + + + + + + diff --git a/manual1903/api_reference/components/scaladocs/ksb/csle/component/operator/transformation/RenameColumnOperator.html b/manual1903/api_reference/components/scaladocs/ksb/csle/component/operator/transformation/RenameColumnOperator.html new file mode 100644 index 0000000000000000000000000000000000000000..3ca02c050ffdb35fade68990720b015b426f1757 --- /dev/null +++ b/manual1903/api_reference/components/scaladocs/ksb/csle/component/operator/transformation/RenameColumnOperator.html @@ -0,0 +1,579 @@ + + + + RenameColumnOperator - KSB COMPONENTS Scala App Project 1.0-SNAPSHOT API - ksb.csle.component.operator.transformation.RenameColumnOperator + + + + + + + + + + + + + + + +
                                                + Class +

                                                ksb.csle.component.operator.transformation

                                                +

                                                RenameColumnOperator

                                                Related Doc: + package transformation +

                                                + + Permalink + + +
                                                + +

                                                + + + class + + + RenameColumnOperator extends BaseDataOperator[StreamOperatorInfo, DataFrame] + +

                                                + +

                                                :: ApplicationDeveloperApi ::

                                                Operator that renames existing column. +

                                                + Linear Supertypes +
                                                BaseDataOperator[StreamOperatorInfo, DataFrame], BaseGenericOperator[StreamOperatorInfo, DataFrame], BaseGenericMutantOperator[StreamOperatorInfo, DataFrame, DataFrame], BaseDoer, Logging, Serializable, Serializable, AnyRef, Any
                                                +
                                                + + +
                                                +
                                                +
                                                + Ordering +
                                                  + +
                                                1. Alphabetic
                                                2. +
                                                3. By Inheritance
                                                4. +
                                                +
                                                +
                                                + Inherited
                                                +
                                                +
                                                  +
                                                1. RenameColumnOperator
                                                2. BaseDataOperator
                                                3. BaseGenericOperator
                                                4. BaseGenericMutantOperator
                                                5. BaseDoer
                                                6. Logging
                                                7. Serializable
                                                8. Serializable
                                                9. AnyRef
                                                10. Any
                                                11. +
                                                +
                                                + +
                                                  +
                                                1. Hide All
                                                2. +
                                                3. Show All
                                                4. +
                                                +
                                                +
                                                + Visibility +
                                                1. Public
                                                2. All
                                                +
                                                +
                                                + +
                                                +
                                                +
                                                +

                                                Instance Constructors

                                                +
                                                1. + + +

                                                  + + + new + + + RenameColumnOperator(o: StreamOperatorInfo) + +

                                                  + + Permalink + + +

                                                  o

                                                  Object that contains message + ksb.csle.common.proto.StreamOperatorProto.RenameColumnInfo + RenameColumnInfo contains attributes as follows:

                                                  • existingName: existing name (required)
                                                  • newName: new name (required)
                                                  • more: additional renaming schemes (repeated)

                                                  RenameColumnInfo

                                                  message RenameColumnInfo {
                                                  +  required string existingName = 1;
                                                  +  required string newName = 2;
                                                  +  repeated RenamingParam more = 3;
                                                  +}
                                                  +message RenamingParam {
                                                  +  required string existingName = 1;
                                                  +  required string newName = 2;
                                                  +}
                                                  +
                                                +
                                                + + + + + +
                                                +

                                                Value Members

                                                +
                                                1. + + +

                                                  + + final + def + + + !=(arg0: Any): Boolean + +

                                                  + + Permalink + + +
                                                  Definition Classes
                                                  AnyRef → Any
                                                  +
                                                2. + + +

                                                  + + final + def + + + ##(): Int + +

                                                  + + Permalink + + +
                                                  Definition Classes
                                                  AnyRef → Any
                                                  +
                                                3. + + +

                                                  + + final + def + + + ==(arg0: Any): Boolean + +

                                                  + + Permalink + + +
                                                  Definition Classes
                                                  AnyRef → Any
                                                  +
                                                4. + + +

                                                  + + final + def + + + asInstanceOf[T0]: T0 + +

                                                  + + Permalink + + +
                                                  Definition Classes
                                                  Any
                                                  +
                                                5. + + +

                                                  + + + def + + + clone(): AnyRef + +

                                                  + + Permalink + + +
                                                  Attributes
                                                  protected[java.lang]
                                                  Definition Classes
                                                  AnyRef
                                                  Annotations
                                                  + @throws( + + ... + ) + +
                                                  +
                                                6. + + +

                                                  + + final + def + + + eq(arg0: AnyRef): Boolean + +

                                                  + + Permalink + + +
                                                  Definition Classes
                                                  AnyRef
                                                  +
                                                7. + + +

                                                  + + + def + + + equals(arg0: Any): Boolean + +

                                                  + + Permalink + + +
                                                  Definition Classes
                                                  AnyRef → Any
                                                  +
                                                8. + + +

                                                  + + + def + + + finalize(): Unit + +

                                                  + + Permalink + + +
                                                  Attributes
                                                  protected[java.lang]
                                                  Definition Classes
                                                  AnyRef
                                                  Annotations
                                                  + @throws( + + classOf[java.lang.Throwable] + ) + +
                                                  +
                                                9. + + +

                                                  + + final + def + + + getClass(): Class[_] + +

                                                  + + Permalink + + +
                                                  Definition Classes
                                                  AnyRef → Any
                                                  +
                                                10. + + +

                                                  + + + def + + + hashCode(): Int + +

                                                  + + Permalink + + +
                                                  Definition Classes
                                                  AnyRef → Any
                                                  +
                                                11. + + +

                                                  + + final + def + + + isInstanceOf[T0]: Boolean + +

                                                  + + Permalink + + +
                                                  Definition Classes
                                                  Any
                                                  +
                                                12. + + +

                                                  + + + val + + + logger: Logger + +

                                                  + + Permalink + + +
                                                  Attributes
                                                  protected
                                                  Definition Classes
                                                  Logging
                                                  +
                                                13. + + +

                                                  + + final + def + + + ne(arg0: AnyRef): Boolean + +

                                                  + + Permalink + + +
                                                  Definition Classes
                                                  AnyRef
                                                  +
                                                14. + + +

                                                  + + final + def + + + notify(): Unit + +

                                                  + + Permalink + + +
                                                  Definition Classes
                                                  AnyRef
                                                  +
                                                15. + + +

                                                  + + final + def + + + notifyAll(): Unit + +

                                                  + + Permalink + + +
                                                  Definition Classes
                                                  AnyRef
                                                  +
                                                16. + + +

                                                  + + + def + + + operate(inputs: DataFrame): DataFrame + +

                                                  + + Permalink + + +

                                                  Operate renaming one or more column.

                                                  Operate renaming one or more column. +

                                                  inputs

                                                  Input dataframe

                                                  returns

                                                  DataFrame Output dataframe has prediction output columns.

                                                  Definition Classes
                                                  RenameColumnOperator → BaseGenericOperator → BaseGenericMutantOperator
                                                  +
                                                17. + + +

                                                  + + + def + + + stop: Unit + +

                                                  + + Permalink + + +
                                                  Definition Classes
                                                  BaseGenericOperator → BaseGenericMutantOperator
                                                  +
                                                18. + + +

                                                  + + final + def + + + synchronized[T0](arg0: ⇒ T0): T0 + +

                                                  + + Permalink + + +
                                                  Definition Classes
                                                  AnyRef
                                                  +
                                                19. + + +

                                                  + + + def + + + toString(): String + +

                                                  + + Permalink + + +
                                                  Definition Classes
                                                  AnyRef → Any
                                                  +
                                                20. + + +

                                                  + + final + def + + + wait(): Unit + +

                                                  + + Permalink + + +
                                                  Definition Classes
                                                  AnyRef
                                                  Annotations
                                                  + @throws( + + ... + ) + +
                                                  +
                                                21. + + +

                                                  + + final + def + + + wait(arg0: Long, arg1: Int): Unit + +

                                                  + + Permalink + + +
                                                  Definition Classes
                                                  AnyRef
                                                  Annotations
                                                  + @throws( + + ... + ) + +
                                                  +
                                                22. + + +

                                                  + + final + def + + + wait(arg0: Long): Unit + +

                                                  + + Permalink + + +
                                                  Definition Classes
                                                  AnyRef
                                                  Annotations
                                                  + @throws( + + ... + ) + +
                                                  +
                                                +
                                                + + + + +
                                                + +
                                                +
                                                +

                                                Inherited from BaseDataOperator[StreamOperatorInfo, DataFrame]

                                                +
                                                +

                                                Inherited from BaseGenericOperator[StreamOperatorInfo, DataFrame]

                                                +
                                                +

                                                Inherited from BaseGenericMutantOperator[StreamOperatorInfo, DataFrame, DataFrame]

                                                +
                                                +

                                                Inherited from BaseDoer

                                                +
                                                +

                                                Inherited from Logging

                                                +
                                                +

                                                Inherited from Serializable

                                                +
                                                +

                                                Inherited from Serializable

                                                +
                                                +

                                                Inherited from AnyRef

                                                +
                                                +

                                                Inherited from Any

                                                +
                                                + +
                                                + +
                                                +
                                                +

                                                Ungrouped

                                                + +
                                                +
                                                + +
                                                + +
                                                + + + + + + diff --git a/manual1903/api_reference/components/scaladocs/ksb/csle/component/operator/transformation/ReshapeWithTimeWindowOperator$.html b/manual1903/api_reference/components/scaladocs/ksb/csle/component/operator/transformation/ReshapeWithTimeWindowOperator$.html new file mode 100644 index 0000000000000000000000000000000000000000..7cd7e64b2bfa28db24e6437cf9c88a58228c7ae4 --- /dev/null +++ b/manual1903/api_reference/components/scaladocs/ksb/csle/component/operator/transformation/ReshapeWithTimeWindowOperator$.html @@ -0,0 +1,505 @@ + + + + ReshapeWithTimeWindowOperator - KSB COMPONENTS Scala App Project 1.0-SNAPSHOT API - ksb.csle.component.operator.transformation.ReshapeWithTimeWindowOperator + + + + + + + + + + + + + + + + + +

                                                + + + object + + + ReshapeWithTimeWindowOperator extends Serializable + +

                                                + +
                                                + Linear Supertypes +
                                                Serializable, Serializable, AnyRef, Any
                                                +
                                                + + +
                                                +
                                                +
                                                + Ordering +
                                                  + +
                                                1. Alphabetic
                                                2. +
                                                3. By Inheritance
                                                4. +
                                                +
                                                +
                                                + Inherited
                                                +
                                                +
                                                  +
                                                1. ReshapeWithTimeWindowOperator
                                                2. Serializable
                                                3. Serializable
                                                4. AnyRef
                                                5. Any
                                                6. +
                                                +
                                                + +
                                                  +
                                                1. Hide All
                                                2. +
                                                3. Show All
                                                4. +
                                                +
                                                +
                                                + Visibility +
                                                1. Public
                                                2. All
                                                +
                                                +
                                                + +
                                                +
                                                + + + + + + +
                                                +

                                                Value Members

                                                +
                                                1. + + +

                                                  + + final + def + + + !=(arg0: Any): Boolean + +

                                                  + + Permalink + + +
                                                  Definition Classes
                                                  AnyRef → Any
                                                  +
                                                2. + + +

                                                  + + final + def + + + ##(): Int + +

                                                  + + Permalink + + +
                                                  Definition Classes
                                                  AnyRef → Any
                                                  +
                                                3. + + +

                                                  + + final + def + + + ==(arg0: Any): Boolean + +

                                                  + + Permalink + + +
                                                  Definition Classes
                                                  AnyRef → Any
                                                  +
                                                4. + + +

                                                  + + + def + + + apply(o: StreamOperatorInfo): ReshapeWithTimeWindowOperator + +

                                                  + + Permalink + + + +
                                                5. + + +

                                                  + + final + def + + + asInstanceOf[T0]: T0 + +

                                                  + + Permalink + + +
                                                  Definition Classes
                                                  Any
                                                  +
                                                6. + + +

                                                  + + + def + + + clone(): AnyRef + +

                                                  + + Permalink + + +
                                                  Attributes
                                                  protected[java.lang]
                                                  Definition Classes
                                                  AnyRef
                                                  Annotations
                                                  + @throws( + + ... + ) + +
                                                  +
                                                7. + + +

                                                  + + final + def + + + eq(arg0: AnyRef): Boolean + +

                                                  + + Permalink + + +
                                                  Definition Classes
                                                  AnyRef
                                                  +
                                                8. + + +

                                                  + + + def + + + equals(arg0: Any): Boolean + +

                                                  + + Permalink + + +
                                                  Definition Classes
                                                  AnyRef → Any
                                                  +
                                                9. + + +

                                                  + + + def + + + finalize(): Unit + +

                                                  + + Permalink + + +
                                                  Attributes
                                                  protected[java.lang]
                                                  Definition Classes
                                                  AnyRef
                                                  Annotations
                                                  + @throws( + + classOf[java.lang.Throwable] + ) + +
                                                  +
                                                10. + + +

                                                  + + final + def + + + getClass(): Class[_] + +

                                                  + + Permalink + + +
                                                  Definition Classes
                                                  AnyRef → Any
                                                  +
                                                11. + + +

                                                  + + + def + + + hashCode(): Int + +

                                                  + + Permalink + + +
                                                  Definition Classes
                                                  AnyRef → Any
                                                  +
                                                12. + + +

                                                  + + final + def + + + isInstanceOf[T0]: Boolean + +

                                                  + + Permalink + + +
                                                  Definition Classes
                                                  Any
                                                  +
                                                13. + + +

                                                  + + final + def + + + ne(arg0: AnyRef): Boolean + +

                                                  + + Permalink + + +
                                                  Definition Classes
                                                  AnyRef
                                                  +
                                                14. + + +

                                                  + + final + def + + + notify(): Unit + +

                                                  + + Permalink + + +
                                                  Definition Classes
                                                  AnyRef
                                                  +
                                                15. + + +

                                                  + + final + def + + + notifyAll(): Unit + +

                                                  + + Permalink + + +
                                                  Definition Classes
                                                  AnyRef
                                                  +
                                                16. + + +

                                                  + + final + def + + + synchronized[T0](arg0: ⇒ T0): T0 + +

                                                  + + Permalink + + +
                                                  Definition Classes
                                                  AnyRef
                                                  +
                                                17. + + +

                                                  + + + def + + + toString(): String + +

                                                  + + Permalink + + +
                                                  Definition Classes
                                                  AnyRef → Any
                                                  +
                                                18. + + +

                                                  + + final + def + + + wait(): Unit + +

                                                  + + Permalink + + +
                                                  Definition Classes
                                                  AnyRef
                                                  Annotations
                                                  + @throws( + + ... + ) + +
                                                  +
                                                19. + + +

                                                  + + final + def + + + wait(arg0: Long, arg1: Int): Unit + +

                                                  + + Permalink + + +
                                                  Definition Classes
                                                  AnyRef
                                                  Annotations
                                                  + @throws( + + ... + ) + +
                                                  +
                                                20. + + +

                                                  + + final + def + + + wait(arg0: Long): Unit + +

                                                  + + Permalink + + +
                                                  Definition Classes
                                                  AnyRef
                                                  Annotations
                                                  + @throws( + + ... + ) + +
                                                  +
                                                +
                                                + + + + +
                                                + +
                                                +
                                                +

                                                Inherited from Serializable

                                                +
                                                +

                                                Inherited from Serializable

                                                +
                                                +

                                                Inherited from AnyRef

                                                +
                                                +

                                                Inherited from Any

                                                +
                                                + +
                                                + +
                                                +
                                                +

                                                Ungrouped

                                                + +
                                                +
                                                + +
                                                + +
                                                + + + + + + diff --git a/manual1903/api_reference/components/scaladocs/ksb/csle/component/operator/transformation/ReshapeWithTimeWindowOperator.html b/manual1903/api_reference/components/scaladocs/ksb/csle/component/operator/transformation/ReshapeWithTimeWindowOperator.html new file mode 100644 index 0000000000000000000000000000000000000000..b71b62812cfa7639e4122f0705323e5163ee821f --- /dev/null +++ b/manual1903/api_reference/components/scaladocs/ksb/csle/component/operator/transformation/ReshapeWithTimeWindowOperator.html @@ -0,0 +1,592 @@ + + + + ReshapeWithTimeWindowOperator - KSB COMPONENTS Scala App Project 1.0-SNAPSHOT API - ksb.csle.component.operator.transformation.ReshapeWithTimeWindowOperator + + + + + + + + + + + + + + + + + +

                                                + + + class + + + ReshapeWithTimeWindowOperator extends BaseDataOperator[StreamOperatorInfo, DataFrame] + +

                                                + +

                                                :: ApplicationDeveloperApi ::

                                                Operator that makes the time windowing rows by time window value parameter. +

                                                + Linear Supertypes +
                                                BaseDataOperator[StreamOperatorInfo, DataFrame], BaseGenericOperator[StreamOperatorInfo, DataFrame], BaseGenericMutantOperator[StreamOperatorInfo, DataFrame, DataFrame], BaseDoer, Logging, Serializable, Serializable, AnyRef, Any
                                                +
                                                + + +
                                                +
                                                +
                                                + Ordering +
                                                  + +
                                                1. Alphabetic
                                                2. +
                                                3. By Inheritance
                                                4. +
                                                +
                                                +
                                                + Inherited
                                                +
                                                +
                                                  +
                                                1. ReshapeWithTimeWindowOperator
                                                2. BaseDataOperator
                                                3. BaseGenericOperator
                                                4. BaseGenericMutantOperator
                                                5. BaseDoer
                                                6. Logging
                                                7. Serializable
                                                8. Serializable
                                                9. AnyRef
                                                10. Any
                                                11. +
                                                +
                                                + +
                                                  +
                                                1. Hide All
                                                2. +
                                                3. Show All
                                                4. +
                                                +
                                                +
                                                + Visibility +
                                                1. Public
                                                2. All
                                                +
                                                +
                                                + +
                                                +
                                                +
                                                +

                                                Instance Constructors

                                                +
                                                1. + + +

                                                  + + + new + + + ReshapeWithTimeWindowOperator(o: StreamOperatorInfo) + +

                                                  + + Permalink + + +

                                                  o

                                                  Object that contains message + ksb.csle.common.proto.StreamOperatorProto.MakeTimeWindowRowsInfo + MakeTimeWindowRowsInfo contains attributes as follows:

                                                  • timeWindowValue: Length of rows to be time-windowed (required)

                                                  MakeTimeWindowRowsInfo

                                                  message MakeTimeWindowRowsInfo {
                                                  +required int32 timeWindowValue = 3;
                                                  +}
                                                  +
                                                +
                                                + + + + + +
                                                +

                                                Value Members

                                                +
                                                1. + + +

                                                  + + final + def + + + !=(arg0: Any): Boolean + +

                                                  + + Permalink + + +
                                                  Definition Classes
                                                  AnyRef → Any
                                                  +
                                                2. + + +

                                                  + + final + def + + + ##(): Int + +

                                                  + + Permalink + + +
                                                  Definition Classes
                                                  AnyRef → Any
                                                  +
                                                3. + + +

                                                  + + final + def + + + ==(arg0: Any): Boolean + +

                                                  + + Permalink + + +
                                                  Definition Classes
                                                  AnyRef → Any
                                                  +
                                                4. + + +

                                                  + + final + def + + + asInstanceOf[T0]: T0 + +

                                                  + + Permalink + + +
                                                  Definition Classes
                                                  Any
                                                  +
                                                5. + + +

                                                  + + + def + + + clone(): AnyRef + +

                                                  + + Permalink + + +
                                                  Attributes
                                                  protected[java.lang]
                                                  Definition Classes
                                                  AnyRef
                                                  Annotations
                                                  + @throws( + + ... + ) + +
                                                  +
                                                6. + + +

                                                  + + final + def + + + eq(arg0: AnyRef): Boolean + +

                                                  + + Permalink + + +
                                                  Definition Classes
                                                  AnyRef
                                                  +
                                                7. + + +

                                                  + + + def + + + equals(arg0: Any): Boolean + +

                                                  + + Permalink + + +
                                                  Definition Classes
                                                  AnyRef → Any
                                                  +
                                                8. + + +

                                                  + + + def + + + finalize(): Unit + +

                                                  + + Permalink + + +
                                                  Attributes
                                                  protected[java.lang]
                                                  Definition Classes
                                                  AnyRef
                                                  Annotations
                                                  + @throws( + + classOf[java.lang.Throwable] + ) + +
                                                  +
                                                9. + + +

                                                  + + final + def + + + getClass(): Class[_] + +

                                                  + + Permalink + + +
                                                  Definition Classes
                                                  AnyRef → Any
                                                  +
                                                10. + + +

                                                  + + + def + + + hashCode(): Int + +

                                                  + + Permalink + + +
                                                  Definition Classes
                                                  AnyRef → Any
                                                  +
                                                11. + + +

                                                  + + final + def + + + isInstanceOf[T0]: Boolean + +

                                                  + + Permalink + + +
                                                  Definition Classes
                                                  Any
                                                  +
                                                12. + + +

                                                  + + + val + + + logger: Logger + +

                                                  + + Permalink + + +
                                                  Attributes
                                                  protected
                                                  Definition Classes
                                                  Logging
                                                  +
                                                13. + + +

                                                  + + final + def + + + ne(arg0: AnyRef): Boolean + +

                                                  + + Permalink + + +
                                                  Definition Classes
                                                  AnyRef
                                                  +
                                                14. + + +

                                                  + + final + def + + + notify(): Unit + +

                                                  + + Permalink + + +
                                                  Definition Classes
                                                  AnyRef
                                                  +
                                                15. + + +

                                                  + + final + def + + + notifyAll(): Unit + +

                                                  + + Permalink + + +
                                                  Definition Classes
                                                  AnyRef
                                                  +
                                                16. + + +

                                                  + + + def + + + operate(df: DataFrame): DataFrame + +

                                                  + + Permalink + + +

                                                  Operates MakeTimeWindowRows.

                                                  Operates MakeTimeWindowRows. +

                                                  df

                                                  Input dataframe

                                                  returns

                                                  DataFrame Output dataframe

                                                  Definition Classes
                                                  ReshapeWithTimeWindowOperator → BaseGenericOperator → BaseGenericMutantOperator
                                                  +
                                                17. + + +

                                                  + + + val + + + p: MakeTimeWindowRowsInfo + +

                                                  + + Permalink + + + +
                                                18. + + +

                                                  + + + def + + + stop: Unit + +

                                                  + + Permalink + + +
                                                  Definition Classes
                                                  BaseGenericOperator → BaseGenericMutantOperator
                                                  +
                                                19. + + +

                                                  + + final + def + + + synchronized[T0](arg0: ⇒ T0): T0 + +

                                                  + + Permalink + + +
                                                  Definition Classes
                                                  AnyRef
                                                  +
                                                20. + + +

                                                  + + + def + + + toString(): String + +

                                                  + + Permalink + + +
                                                  Definition Classes
                                                  AnyRef → Any
                                                  +
                                                21. + + +

                                                  + + final + def + + + wait(): Unit + +

                                                  + + Permalink + + +
                                                  Definition Classes
                                                  AnyRef
                                                  Annotations
                                                  + @throws( + + ... + ) + +
                                                  +
                                                22. + + +

                                                  + + final + def + + + wait(arg0: Long, arg1: Int): Unit + +

                                                  + + Permalink + + +
                                                  Definition Classes
                                                  AnyRef
                                                  Annotations
                                                  + @throws( + + ... + ) + +
                                                  +
                                                23. + + +

                                                  + + final + def + + + wait(arg0: Long): Unit + +

                                                  + + Permalink + + +
                                                  Definition Classes
                                                  AnyRef
                                                  Annotations
                                                  + @throws( + + ... + ) + +
                                                  +
                                                +
                                                + + + + +
                                                + +
                                                +
                                                +

                                                Inherited from BaseDataOperator[StreamOperatorInfo, DataFrame]

                                                +
                                                +

                                                Inherited from BaseGenericOperator[StreamOperatorInfo, DataFrame]

                                                +
                                                +

                                                Inherited from BaseGenericMutantOperator[StreamOperatorInfo, DataFrame, DataFrame]

                                                +
                                                +

                                                Inherited from BaseDoer

                                                +
                                                +

                                                Inherited from Logging

                                                +
                                                +

                                                Inherited from Serializable

                                                +
                                                +

                                                Inherited from Serializable

                                                +
                                                +

                                                Inherited from AnyRef

                                                +
                                                +

                                                Inherited from Any

                                                +
                                                + +
                                                + +
                                                +
                                                +

                                                Ungrouped

                                                + +
                                                +
                                                + +
                                                + +
                                                + + + + + + diff --git a/manual1903/api_reference/components/scaladocs/ksb/csle/component/operator/transformation/SelectWithTimeWindowOperator$.html b/manual1903/api_reference/components/scaladocs/ksb/csle/component/operator/transformation/SelectWithTimeWindowOperator$.html new file mode 100644 index 0000000000000000000000000000000000000000..057249d869b01e22e96c69d97721cafdca7b637c --- /dev/null +++ b/manual1903/api_reference/components/scaladocs/ksb/csle/component/operator/transformation/SelectWithTimeWindowOperator$.html @@ -0,0 +1,505 @@ + + + + SelectWithTimeWindowOperator - KSB COMPONENTS Scala App Project 1.0-SNAPSHOT API - ksb.csle.component.operator.transformation.SelectWithTimeWindowOperator + + + + + + + + + + + + + + + + + +

                                                + + + object + + + SelectWithTimeWindowOperator extends Serializable + +

                                                + +
                                                + Linear Supertypes +
                                                Serializable, Serializable, AnyRef, Any
                                                +
                                                + + +
                                                +
                                                +
                                                + Ordering +
                                                  + +
                                                1. Alphabetic
                                                2. +
                                                3. By Inheritance
                                                4. +
                                                +
                                                +
                                                + Inherited
                                                +
                                                +
                                                  +
                                                1. SelectWithTimeWindowOperator
                                                2. Serializable
                                                3. Serializable
                                                4. AnyRef
                                                5. Any
                                                6. +
                                                +
                                                + +
                                                  +
                                                1. Hide All
                                                2. +
                                                3. Show All
                                                4. +
                                                +
                                                +
                                                + Visibility +
                                                1. Public
                                                2. All
                                                +
                                                +
                                                + +
                                                +
                                                + + + + + + +
                                                +

                                                Value Members

                                                +
                                                1. + + +

                                                  + + final + def + + + !=(arg0: Any): Boolean + +

                                                  + + Permalink + + +
                                                  Definition Classes
                                                  AnyRef → Any
                                                  +
                                                2. + + +

                                                  + + final + def + + + ##(): Int + +

                                                  + + Permalink + + +
                                                  Definition Classes
                                                  AnyRef → Any
                                                  +
                                                3. + + +

                                                  + + final + def + + + ==(arg0: Any): Boolean + +

                                                  + + Permalink + + +
                                                  Definition Classes
                                                  AnyRef → Any
                                                  +
                                                4. + + +

                                                  + + + def + + + apply(o: StreamOperatorInfo): SelectWithTimeWindowOperator + +

                                                  + + Permalink + + + +
                                                5. + + +

                                                  + + final + def + + + asInstanceOf[T0]: T0 + +

                                                  + + Permalink + + +
                                                  Definition Classes
                                                  Any
                                                  +
                                                6. + + +

                                                  + + + def + + + clone(): AnyRef + +

                                                  + + Permalink + + +
                                                  Attributes
                                                  protected[java.lang]
                                                  Definition Classes
                                                  AnyRef
                                                  Annotations
                                                  + @throws( + + ... + ) + +
                                                  +
                                                7. + + +

                                                  + + final + def + + + eq(arg0: AnyRef): Boolean + +

                                                  + + Permalink + + +
                                                  Definition Classes
                                                  AnyRef
                                                  +
                                                8. + + +

                                                  + + + def + + + equals(arg0: Any): Boolean + +

                                                  + + Permalink + + +
                                                  Definition Classes
                                                  AnyRef → Any
                                                  +
                                                9. + + +

                                                  + + + def + + + finalize(): Unit + +

                                                  + + Permalink + + +
                                                  Attributes
                                                  protected[java.lang]
                                                  Definition Classes
                                                  AnyRef
                                                  Annotations
                                                  + @throws( + + classOf[java.lang.Throwable] + ) + +
                                                  +
                                                10. + + +

                                                  + + final + def + + + getClass(): Class[_] + +

                                                  + + Permalink + + +
                                                  Definition Classes
                                                  AnyRef → Any
                                                  +
                                                11. + + +

                                                  + + + def + + + hashCode(): Int + +

                                                  + + Permalink + + +
                                                  Definition Classes
                                                  AnyRef → Any
                                                  +
                                                12. + + +

                                                  + + final + def + + + isInstanceOf[T0]: Boolean + +

                                                  + + Permalink + + +
                                                  Definition Classes
                                                  Any
                                                  +
                                                13. + + +

                                                  + + final + def + + + ne(arg0: AnyRef): Boolean + +

                                                  + + Permalink + + +
                                                  Definition Classes
                                                  AnyRef
                                                  +
                                                14. + + +

                                                  + + final + def + + + notify(): Unit + +

                                                  + + Permalink + + +
                                                  Definition Classes
                                                  AnyRef
                                                  +
                                                15. + + +

                                                  + + final + def + + + notifyAll(): Unit + +

                                                  + + Permalink + + +
                                                  Definition Classes
                                                  AnyRef
                                                  +
                                                16. + + +

                                                  + + final + def + + + synchronized[T0](arg0: ⇒ T0): T0 + +

                                                  + + Permalink + + +
                                                  Definition Classes
                                                  AnyRef
                                                  +
                                                17. + + +

                                                  + + + def + + + toString(): String + +

                                                  + + Permalink + + +
                                                  Definition Classes
                                                  AnyRef → Any
                                                  +
                                                18. + + +

                                                  + + final + def + + + wait(): Unit + +

                                                  + + Permalink + + +
                                                  Definition Classes
                                                  AnyRef
                                                  Annotations
                                                  + @throws( + + ... + ) + +
                                                  +
                                                19. + + +

                                                  + + final + def + + + wait(arg0: Long, arg1: Int): Unit + +

                                                  + + Permalink + + +
                                                  Definition Classes
                                                  AnyRef
                                                  Annotations
                                                  + @throws( + + ... + ) + +
                                                  +
                                                20. + + +

                                                  + + final + def + + + wait(arg0: Long): Unit + +

                                                  + + Permalink + + +
                                                  Definition Classes
                                                  AnyRef
                                                  Annotations
                                                  + @throws( + + ... + ) + +
                                                  +
                                                +
                                                + + + + +
                                                + +
                                                +
                                                +

                                                Inherited from Serializable

                                                +
                                                +

                                                Inherited from Serializable

                                                +
                                                +

                                                Inherited from AnyRef

                                                +
                                                +

                                                Inherited from Any

                                                +
                                                + +
                                                + +
                                                +
                                                +

                                                Ungrouped

                                                + +
                                                +
                                                + +
                                                + +
                                                + + + + + + diff --git a/manual1903/api_reference/components/scaladocs/ksb/csle/component/operator/transformation/SelectWithTimeWindowOperator.html b/manual1903/api_reference/components/scaladocs/ksb/csle/component/operator/transformation/SelectWithTimeWindowOperator.html new file mode 100644 index 0000000000000000000000000000000000000000..31d4f2e24f1579afc9777c42e77a87244d26e4f1 --- /dev/null +++ b/manual1903/api_reference/components/scaladocs/ksb/csle/component/operator/transformation/SelectWithTimeWindowOperator.html @@ -0,0 +1,592 @@ + + + + SelectWithTimeWindowOperator - KSB COMPONENTS Scala App Project 1.0-SNAPSHOT API - ksb.csle.component.operator.transformation.SelectWithTimeWindowOperator + + + + + + + + + + + + + + + + + +

                                                + + + class + + + SelectWithTimeWindowOperator extends BaseDataOperator[StreamOperatorInfo, DataFrame] + +

                                                + +

                                                :: ApplicationDeveloperApi ::

                                                Operator that selects the time windowing rows by time window value parameter. +

                                                + Linear Supertypes +
                                                BaseDataOperator[StreamOperatorInfo, DataFrame], BaseGenericOperator[StreamOperatorInfo, DataFrame], BaseGenericMutantOperator[StreamOperatorInfo, DataFrame, DataFrame], BaseDoer, Logging, Serializable, Serializable, AnyRef, Any
                                                +
                                                + + +
                                                +
                                                +
                                                + Ordering +
                                                  + +
                                                1. Alphabetic
                                                2. +
                                                3. By Inheritance
                                                4. +
                                                +
                                                +
                                                + Inherited
                                                +
                                                +
                                                  +
                                                1. SelectWithTimeWindowOperator
                                                2. BaseDataOperator
                                                3. BaseGenericOperator
                                                4. BaseGenericMutantOperator
                                                5. BaseDoer
                                                6. Logging
                                                7. Serializable
                                                8. Serializable
                                                9. AnyRef
                                                10. Any
                                                11. +
                                                +
                                                + +
                                                  +
                                                1. Hide All
                                                2. +
                                                3. Show All
                                                4. +
                                                +
                                                +
                                                + Visibility +
                                                1. Public
                                                2. All
                                                +
                                                +
                                                + +
                                                +
                                                +
                                                +

                                                Instance Constructors

                                                +
                                                1. + + +

                                                  + + + new + + + SelectWithTimeWindowOperator(o: StreamOperatorInfo) + +

                                                  + + Permalink + + +

                                                  o

                                                  Object that contains message + ksb.csle.common.proto.StreamOperatorProto.SelectTimeWindowRowsInfo + SelectTimeWindowRowsInfo contains attributes as follows:

                                                  • timeWindowValue: Length of rows to be time-windowed (required)

                                                  SelectTimeWindowRowsInfo

                                                  message SelectTimeWindowRowsInfo {
                                                  +required int32 timeWindowValue = 3;
                                                  +}
                                                  +
                                                +
                                                + + + + + +
                                                +

                                                Value Members

                                                +
                                                1. + + +

                                                  + + final + def + + + !=(arg0: Any): Boolean + +

                                                  + + Permalink + + +
                                                  Definition Classes
                                                  AnyRef → Any
                                                  +
                                                2. + + +

                                                  + + final + def + + + ##(): Int + +

                                                  + + Permalink + + +
                                                  Definition Classes
                                                  AnyRef → Any
                                                  +
                                                3. + + +

                                                  + + final + def + + + ==(arg0: Any): Boolean + +

                                                  + + Permalink + + +
                                                  Definition Classes
                                                  AnyRef → Any
                                                  +
                                                4. + + +

                                                  + + final + def + + + asInstanceOf[T0]: T0 + +

                                                  + + Permalink + + +
                                                  Definition Classes
                                                  Any
                                                  +
                                                5. + + +

                                                  + + + def + + + clone(): AnyRef + +

                                                  + + Permalink + + +
                                                  Attributes
                                                  protected[java.lang]
                                                  Definition Classes
                                                  AnyRef
                                                  Annotations
                                                  + @throws( + + ... + ) + +
                                                  +
                                                6. + + +

                                                  + + final + def + + + eq(arg0: AnyRef): Boolean + +

                                                  + + Permalink + + +
                                                  Definition Classes
                                                  AnyRef
                                                  +
                                                7. + + +

                                                  + + + def + + + equals(arg0: Any): Boolean + +

                                                  + + Permalink + + +
                                                  Definition Classes
                                                  AnyRef → Any
                                                  +
                                                8. + + +

                                                  + + + def + + + finalize(): Unit + +

                                                  + + Permalink + + +
                                                  Attributes
                                                  protected[java.lang]
                                                  Definition Classes
                                                  AnyRef
                                                  Annotations
                                                  + @throws( + + classOf[java.lang.Throwable] + ) + +
                                                  +
                                                9. + + +

                                                  + + final + def + + + getClass(): Class[_] + +

                                                  + + Permalink + + +
                                                  Definition Classes
                                                  AnyRef → Any
                                                  +
                                                10. + + +

                                                  + + + def + + + hashCode(): Int + +

                                                  + + Permalink + + +
                                                  Definition Classes
                                                  AnyRef → Any
                                                  +
                                                11. + + +

                                                  + + final + def + + + isInstanceOf[T0]: Boolean + +

                                                  + + Permalink + + +
                                                  Definition Classes
                                                  Any
                                                  +
                                                12. + + +

                                                  + + + val + + + logger: Logger + +

                                                  + + Permalink + + +
                                                  Attributes
                                                  protected
                                                  Definition Classes
                                                  Logging
                                                  +
                                                13. + + +

                                                  + + final + def + + + ne(arg0: AnyRef): Boolean + +

                                                  + + Permalink + + +
                                                  Definition Classes
                                                  AnyRef
                                                  +
                                                14. + + +

                                                  + + final + def + + + notify(): Unit + +

                                                  + + Permalink + + +
                                                  Definition Classes
                                                  AnyRef
                                                  +
                                                15. + + +

                                                  + + final + def + + + notifyAll(): Unit + +

                                                  + + Permalink + + +
                                                  Definition Classes
                                                  AnyRef
                                                  +
                                                16. + + +

                                                  + + + def + + + operate(df: DataFrame): DataFrame + +

                                                  + + Permalink + + +

                                                  Operates SelectTimeWindowRows.

                                                  Operates SelectTimeWindowRows. +

                                                  df

                                                  Input dataframe

                                                  returns

                                                  DataFrame Output dataframe

                                                  Definition Classes
                                                  SelectWithTimeWindowOperator → BaseGenericOperator → BaseGenericMutantOperator
                                                  +
                                                17. + + +

                                                  + + + val + + + p: SelectTimeWindowRowsInfo + +

                                                  + + Permalink + + + +
                                                18. + + +

                                                  + + + def + + + stop: Unit + +

                                                  + + Permalink + + +
                                                  Definition Classes
                                                  BaseGenericOperator → BaseGenericMutantOperator
                                                  +
                                                19. + + +

                                                  + + final + def + + + synchronized[T0](arg0: ⇒ T0): T0 + +

                                                  + + Permalink + + +
                                                  Definition Classes
                                                  AnyRef
                                                  +
                                                20. + + +

                                                  + + + def + + + toString(): String + +

                                                  + + Permalink + + +
                                                  Definition Classes
                                                  AnyRef → Any
                                                  +
                                                21. + + +

                                                  + + final + def + + + wait(): Unit + +

                                                  + + Permalink + + +
                                                  Definition Classes
                                                  AnyRef
                                                  Annotations
                                                  + @throws( + + ... + ) + +
                                                  +
                                                22. + + +

                                                  + + final + def + + + wait(arg0: Long, arg1: Int): Unit + +

                                                  + + Permalink + + +
                                                  Definition Classes
                                                  AnyRef
                                                  Annotations
                                                  + @throws( + + ... + ) + +
                                                  +
                                                23. + + +

                                                  + + final + def + + + wait(arg0: Long): Unit + +

                                                  + + Permalink + + +
                                                  Definition Classes
                                                  AnyRef
                                                  Annotations
                                                  + @throws( + + ... + ) + +
                                                  +
                                                +
                                                + + + + +
                                                + +
                                                +
                                                +

                                                Inherited from BaseDataOperator[StreamOperatorInfo, DataFrame]

                                                +
                                                +

                                                Inherited from BaseGenericOperator[StreamOperatorInfo, DataFrame]

                                                +
                                                +

                                                Inherited from BaseGenericMutantOperator[StreamOperatorInfo, DataFrame, DataFrame]

                                                +
                                                +

                                                Inherited from BaseDoer

                                                +
                                                +

                                                Inherited from Logging

                                                +
                                                +

                                                Inherited from Serializable

                                                +
                                                +

                                                Inherited from Serializable

                                                +
                                                +

                                                Inherited from AnyRef

                                                +
                                                +

                                                Inherited from Any

                                                +
                                                + +
                                                + +
                                                +
                                                +

                                                Ungrouped

                                                + +
                                                +
                                                + +
                                                + +
                                                + + + + + + diff --git a/manual1903/api_reference/components/scaladocs/ksb/csle/component/operator/transformation/SplitColumnOperator.html b/manual1903/api_reference/components/scaladocs/ksb/csle/component/operator/transformation/SplitColumnOperator.html new file mode 100644 index 0000000000000000000000000000000000000000..e2dcc2817f85a0c7580fffff83a10e8697494292 --- /dev/null +++ b/manual1903/api_reference/components/scaladocs/ksb/csle/component/operator/transformation/SplitColumnOperator.html @@ -0,0 +1,574 @@ + + + + SplitColumnOperator - KSB COMPONENTS Scala App Project 1.0-SNAPSHOT API - ksb.csle.component.operator.transformation.SplitColumnOperator + + + + + + + + + + + + + + + +
                                                + Class +

                                                ksb.csle.component.operator.transformation

                                                +

                                                SplitColumnOperator

                                                Related Doc: + package transformation +

                                                + + Permalink + + +
                                                + +

                                                + + + class + + + SplitColumnOperator extends BaseDataOperator[StreamOperatorInfo, DataFrame] + +

                                                + +

                                                :: ApplicationDeveloperApi ::

                                                Operator that splits the existing column into multiple columns. +

                                                + Linear Supertypes +
                                                BaseDataOperator[StreamOperatorInfo, DataFrame], BaseGenericOperator[StreamOperatorInfo, DataFrame], BaseGenericMutantOperator[StreamOperatorInfo, DataFrame, DataFrame], BaseDoer, Logging, Serializable, Serializable, AnyRef, Any
                                                +
                                                + + +
                                                +
                                                +
                                                + Ordering +
                                                  + +
                                                1. Alphabetic
                                                2. +
                                                3. By Inheritance
                                                4. +
                                                +
                                                +
                                                + Inherited
                                                +
                                                +
                                                  +
                                                1. SplitColumnOperator
                                                2. BaseDataOperator
                                                3. BaseGenericOperator
                                                4. BaseGenericMutantOperator
                                                5. BaseDoer
                                                6. Logging
                                                7. Serializable
                                                8. Serializable
                                                9. AnyRef
                                                10. Any
                                                11. +
                                                +
                                                + +
                                                  +
                                                1. Hide All
                                                2. +
                                                3. Show All
                                                4. +
                                                +
                                                +
                                                + Visibility +
                                                1. Public
                                                2. All
                                                +
                                                +
                                                + +
                                                +
                                                +
                                                +

                                                Instance Constructors

                                                +
                                                1. + + +

                                                  + + + new + + + SplitColumnOperator(o: StreamOperatorInfo) + +

                                                  + + Permalink + + +

                                                  o

                                                  Object that contains message + ksb.csle.common.proto.StreamOperatorProto.SplitColumnInfo + SplitColumnInfo contains attributes as follows:

                                                  • srcColumnName: existing column name to explode (required)
                                                  • keepSrcColumn: whether keeps the source column; default is false (optional)

                                                  SplitColumnInfo

                                                  message SplitColumnInfo {
                                                  +  required string srcColumnName = 1;
                                                  +  optional bool keepSrcColumn = 2 [default = false];
                                                  +}
                                                  +
                                                +
                                                + + + + + +
                                                +

                                                Value Members

                                                +
                                                1. + + +

                                                  + + final + def + + + !=(arg0: Any): Boolean + +

                                                  + + Permalink + + +
                                                  Definition Classes
                                                  AnyRef → Any
                                                  +
                                                2. + + +

                                                  + + final + def + + + ##(): Int + +

                                                  + + Permalink + + +
                                                  Definition Classes
                                                  AnyRef → Any
                                                  +
                                                3. + + +

                                                  + + final + def + + + ==(arg0: Any): Boolean + +

                                                  + + Permalink + + +
                                                  Definition Classes
                                                  AnyRef → Any
                                                  +
                                                4. + + +

                                                  + + final + def + + + asInstanceOf[T0]: T0 + +

                                                  + + Permalink + + +
                                                  Definition Classes
                                                  Any
                                                  +
                                                5. + + +

                                                  + + + def + + + clone(): AnyRef + +

                                                  + + Permalink + + +
                                                  Attributes
                                                  protected[java.lang]
                                                  Definition Classes
                                                  AnyRef
                                                  Annotations
                                                  + @throws( + + ... + ) + +
                                                  +
                                                6. + + +

                                                  + + final + def + + + eq(arg0: AnyRef): Boolean + +

                                                  + + Permalink + + +
                                                  Definition Classes
                                                  AnyRef
                                                  +
                                                7. + + +

                                                  + + + def + + + equals(arg0: Any): Boolean + +

                                                  + + Permalink + + +
                                                  Definition Classes
                                                  AnyRef → Any
                                                  +
                                                8. + + +

                                                  + + + def + + + finalize(): Unit + +

                                                  + + Permalink + + +
                                                  Attributes
                                                  protected[java.lang]
                                                  Definition Classes
                                                  AnyRef
                                                  Annotations
                                                  + @throws( + + classOf[java.lang.Throwable] + ) + +
                                                  +
                                                9. + + +

                                                  + + final + def + + + getClass(): Class[_] + +

                                                  + + Permalink + + +
                                                  Definition Classes
                                                  AnyRef → Any
                                                  +
                                                10. + + +

                                                  + + + def + + + hashCode(): Int + +

                                                  + + Permalink + + +
                                                  Definition Classes
                                                  AnyRef → Any
                                                  +
                                                11. + + +

                                                  + + final + def + + + isInstanceOf[T0]: Boolean + +

                                                  + + Permalink + + +
                                                  Definition Classes
                                                  Any
                                                  +
                                                12. + + +

                                                  + + + val + + + logger: Logger + +

                                                  + + Permalink + + +
                                                  Attributes
                                                  protected
                                                  Definition Classes
                                                  Logging
                                                  +
                                                13. + + +

                                                  + + final + def + + + ne(arg0: AnyRef): Boolean + +

                                                  + + Permalink + + +
                                                  Definition Classes
                                                  AnyRef
                                                  +
                                                14. + + +

                                                  + + final + def + + + notify(): Unit + +

                                                  + + Permalink + + +
                                                  Definition Classes
                                                  AnyRef
                                                  +
                                                15. + + +

                                                  + + final + def + + + notifyAll(): Unit + +

                                                  + + Permalink + + +
                                                  Definition Classes
                                                  AnyRef
                                                  +
                                                16. + + +

                                                  + + + def + + + operate(df: DataFrame): DataFrame + +

                                                  + + Permalink + + +

                                                  Operate splitting the existing column into multiple columns.

                                                  Operate splitting the existing column into multiple columns. +

                                                  returns

                                                  DataFrame Output dataframe has splitted columns.

                                                  Definition Classes
                                                  SplitColumnOperator → BaseGenericOperator → BaseGenericMutantOperator
                                                  +
                                                17. + + +

                                                  + + + def + + + stop: Unit + +

                                                  + + Permalink + + +
                                                  Definition Classes
                                                  BaseGenericOperator → BaseGenericMutantOperator
                                                  +
                                                18. + + +

                                                  + + final + def + + + synchronized[T0](arg0: ⇒ T0): T0 + +

                                                  + + Permalink + + +
                                                  Definition Classes
                                                  AnyRef
                                                  +
                                                19. + + +

                                                  + + + def + + + toString(): String + +

                                                  + + Permalink + + +
                                                  Definition Classes
                                                  AnyRef → Any
                                                  +
                                                20. + + +

                                                  + + final + def + + + wait(): Unit + +

                                                  + + Permalink + + +
                                                  Definition Classes
                                                  AnyRef
                                                  Annotations
                                                  + @throws( + + ... + ) + +
                                                  +
                                                21. + + +

                                                  + + final + def + + + wait(arg0: Long, arg1: Int): Unit + +

                                                  + + Permalink + + +
                                                  Definition Classes
                                                  AnyRef
                                                  Annotations
                                                  + @throws( + + ... + ) + +
                                                  +
                                                22. + + +

                                                  + + final + def + + + wait(arg0: Long): Unit + +

                                                  + + Permalink + + +
                                                  Definition Classes
                                                  AnyRef
                                                  Annotations
                                                  + @throws( + + ... + ) + +
                                                  +
                                                +
                                                + + + + +
                                                + +
                                                +
                                                +

                                                Inherited from BaseDataOperator[StreamOperatorInfo, DataFrame]

                                                +
                                                +

                                                Inherited from BaseGenericOperator[StreamOperatorInfo, DataFrame]

                                                +
                                                +

                                                Inherited from BaseGenericMutantOperator[StreamOperatorInfo, DataFrame, DataFrame]

                                                +
                                                +

                                                Inherited from BaseDoer

                                                +
                                                +

                                                Inherited from Logging

                                                +
                                                +

                                                Inherited from Serializable

                                                +
                                                +

                                                Inherited from Serializable

                                                +
                                                +

                                                Inherited from AnyRef

                                                +
                                                +

                                                Inherited from Any

                                                +
                                                + +
                                                + +
                                                +
                                                +

                                                Ungrouped

                                                + +
                                                +
                                                + +
                                                + +
                                                + + + + + + diff --git a/manual1903/api_reference/components/scaladocs/ksb/csle/component/operator/transformation/StringIndexOperator.html b/manual1903/api_reference/components/scaladocs/ksb/csle/component/operator/transformation/StringIndexOperator.html new file mode 100644 index 0000000000000000000000000000000000000000..442e638aab8015901d2ab10a61e6d7e908dba882 --- /dev/null +++ b/manual1903/api_reference/components/scaladocs/ksb/csle/component/operator/transformation/StringIndexOperator.html @@ -0,0 +1,579 @@ + + + + StringIndexOperator - KSB COMPONENTS Scala App Project 1.0-SNAPSHOT API - ksb.csle.component.operator.transformation.StringIndexOperator + + + + + + + + + + + + + + + +
                                                + Class +

                                                ksb.csle.component.operator.transformation

                                                +

                                                StringIndexOperator

                                                Related Doc: + package transformation +

                                                + + Permalink + + +
                                                + +

                                                + + + class + + + StringIndexOperator extends BaseDataOperator[StreamOperatorInfo, DataFrame] + +

                                                + +

                                                :: ApplicationDeveloperApi ::

                                                Operator that maps string column to index column. +

                                                + Linear Supertypes +
                                                BaseDataOperator[StreamOperatorInfo, DataFrame], BaseGenericOperator[StreamOperatorInfo, DataFrame], BaseGenericMutantOperator[StreamOperatorInfo, DataFrame, DataFrame], BaseDoer, Logging, Serializable, Serializable, AnyRef, Any
                                                +
                                                + + +
                                                +
                                                +
                                                + Ordering +
                                                  + +
                                                1. Alphabetic
                                                2. +
                                                3. By Inheritance
                                                4. +
                                                +
                                                +
                                                + Inherited
                                                +
                                                +
                                                  +
                                                1. StringIndexOperator
                                                2. BaseDataOperator
                                                3. BaseGenericOperator
                                                4. BaseGenericMutantOperator
                                                5. BaseDoer
                                                6. Logging
                                                7. Serializable
                                                8. Serializable
                                                9. AnyRef
                                                10. Any
                                                11. +
                                                +
                                                + +
                                                  +
                                                1. Hide All
                                                2. +
                                                3. Show All
                                                4. +
                                                +
                                                +
                                                + Visibility +
                                                1. Public
                                                2. All
                                                +
                                                +
                                                + +
                                                +
                                                +
                                                +

                                                Instance Constructors

                                                +
                                                1. + + +

                                                  + + + new + + + StringIndexOperator(o: StreamOperatorInfo) + +

                                                  + + Permalink + + +

                                                  o

                                                  Object that contains message + ksb.csle.common.proto.StreamOperatorProto.StringIndexInfo + StringIndexInfo contains attributes as follows:

                                                  • srcColumnName: string column (required)
                                                  • destColumnName: indexed column (required)
                                                  • more: additional indexing schemes (repeated)

                                                  StringIndexInfo

                                                  message StringIndexInfo {
                                                  +  required string srcColumnName = 1;
                                                  +  required string destColumnName = 2;
                                                  +  repeated StringIndexParam more = 3;
                                                  +}
                                                  +message StringIndexParam {
                                                  +  required string srcColumnName = 1;
                                                  +  required string destColumnName = 2;
                                                  +}
                                                  +
                                                +
                                                + + + + + +
                                                +

                                                Value Members

                                                +
                                                1. + + +

                                                  + + final + def + + + !=(arg0: Any): Boolean + +

                                                  + + Permalink + + +
                                                  Definition Classes
                                                  AnyRef → Any
                                                  +
                                                2. + + +

                                                  + + final + def + + + ##(): Int + +

                                                  + + Permalink + + +
                                                  Definition Classes
                                                  AnyRef → Any
                                                  +
                                                3. + + +

                                                  + + final + def + + + ==(arg0: Any): Boolean + +

                                                  + + Permalink + + +
                                                  Definition Classes
                                                  AnyRef → Any
                                                  +
                                                4. + + +

                                                  + + final + def + + + asInstanceOf[T0]: T0 + +

                                                  + + Permalink + + +
                                                  Definition Classes
                                                  Any
                                                  +
                                                5. + + +

                                                  + + + def + + + clone(): AnyRef + +

                                                  + + Permalink + + +
                                                  Attributes
                                                  protected[java.lang]
                                                  Definition Classes
                                                  AnyRef
                                                  Annotations
                                                  + @throws( + + ... + ) + +
                                                  +
                                                6. + + +

                                                  + + final + def + + + eq(arg0: AnyRef): Boolean + +

                                                  + + Permalink + + +
                                                  Definition Classes
                                                  AnyRef
                                                  +
                                                7. + + +

                                                  + + + def + + + equals(arg0: Any): Boolean + +

                                                  + + Permalink + + +
                                                  Definition Classes
                                                  AnyRef → Any
                                                  +
                                                8. + + +

                                                  + + + def + + + finalize(): Unit + +

                                                  + + Permalink + + +
                                                  Attributes
                                                  protected[java.lang]
                                                  Definition Classes
                                                  AnyRef
                                                  Annotations
                                                  + @throws( + + classOf[java.lang.Throwable] + ) + +
                                                  +
                                                9. + + +

                                                  + + final + def + + + getClass(): Class[_] + +

                                                  + + Permalink + + +
                                                  Definition Classes
                                                  AnyRef → Any
                                                  +
                                                10. + + +

                                                  + + + def + + + hashCode(): Int + +

                                                  + + Permalink + + +
                                                  Definition Classes
                                                  AnyRef → Any
                                                  +
                                                11. + + +

                                                  + + final + def + + + isInstanceOf[T0]: Boolean + +

                                                  + + Permalink + + +
                                                  Definition Classes
                                                  Any
                                                  +
                                                12. + + +

                                                  + + + val + + + logger: Logger + +

                                                  + + Permalink + + +
                                                  Attributes
                                                  protected
                                                  Definition Classes
                                                  Logging
                                                  +
                                                13. + + +

                                                  + + final + def + + + ne(arg0: AnyRef): Boolean + +

                                                  + + Permalink + + +
                                                  Definition Classes
                                                  AnyRef
                                                  +
                                                14. + + +

                                                  + + final + def + + + notify(): Unit + +

                                                  + + Permalink + + +
                                                  Definition Classes
                                                  AnyRef
                                                  +
                                                15. + + +

                                                  + + final + def + + + notifyAll(): Unit + +

                                                  + + Permalink + + +
                                                  Definition Classes
                                                  AnyRef
                                                  +
                                                16. + + +

                                                  + + + def + + + operate(inputs: DataFrame): DataFrame + +

                                                  + + Permalink + + +

                                                  Operate string column indexing.

                                                  Operate string column indexing. +

                                                  inputs

                                                  Input dataframe

                                                  returns

                                                  DataFrame Output dataframe has indexed columns.

                                                  Definition Classes
                                                  StringIndexOperator → BaseGenericOperator → BaseGenericMutantOperator
                                                  +
                                                17. + + +

                                                  + + + def + + + stop: Unit + +

                                                  + + Permalink + + +
                                                  Definition Classes
                                                  BaseGenericOperator → BaseGenericMutantOperator
                                                  +
                                                18. + + +

                                                  + + final + def + + + synchronized[T0](arg0: ⇒ T0): T0 + +

                                                  + + Permalink + + +
                                                  Definition Classes
                                                  AnyRef
                                                  +
                                                19. + + +

                                                  + + + def + + + toString(): String + +

                                                  + + Permalink + + +
                                                  Definition Classes
                                                  AnyRef → Any
                                                  +
                                                20. + + +

                                                  + + final + def + + + wait(): Unit + +

                                                  + + Permalink + + +
                                                  Definition Classes
                                                  AnyRef
                                                  Annotations
                                                  + @throws( + + ... + ) + +
                                                  +
                                                21. + + +

                                                  + + final + def + + + wait(arg0: Long, arg1: Int): Unit + +

                                                  + + Permalink + + +
                                                  Definition Classes
                                                  AnyRef
                                                  Annotations
                                                  + @throws( + + ... + ) + +
                                                  +
                                                22. + + +

                                                  + + final + def + + + wait(arg0: Long): Unit + +

                                                  + + Permalink + + +
                                                  Definition Classes
                                                  AnyRef
                                                  Annotations
                                                  + @throws( + + ... + ) + +
                                                  +
                                                +
                                                + + + + +
                                                + +
                                                +
                                                +

                                                Inherited from BaseDataOperator[StreamOperatorInfo, DataFrame]

                                                +
                                                +

                                                Inherited from BaseGenericOperator[StreamOperatorInfo, DataFrame]

                                                +
                                                +

                                                Inherited from BaseGenericMutantOperator[StreamOperatorInfo, DataFrame, DataFrame]

                                                +
                                                +

                                                Inherited from BaseDoer

                                                +
                                                +

                                                Inherited from Logging

                                                +
                                                +

                                                Inherited from Serializable

                                                +
                                                +

                                                Inherited from Serializable

                                                +
                                                +

                                                Inherited from AnyRef

                                                +
                                                +

                                                Inherited from Any

                                                +
                                                + +
                                                + +
                                                +
                                                +

                                                Ungrouped

                                                + +
                                                +
                                                + +
                                                + +
                                                + + + + + + diff --git a/manual1903/api_reference/components/scaladocs/ksb/csle/component/operator/transformation/TimeSynchronizeOperator.html b/manual1903/api_reference/components/scaladocs/ksb/csle/component/operator/transformation/TimeSynchronizeOperator.html new file mode 100644 index 0000000000000000000000000000000000000000..4b2beb35cc7e6ff487d8364198a25c82630949b4 --- /dev/null +++ b/manual1903/api_reference/components/scaladocs/ksb/csle/component/operator/transformation/TimeSynchronizeOperator.html @@ -0,0 +1,700 @@ + + + + TimeSynchronizeOperator - KSB COMPONENTS Scala App Project 1.0-SNAPSHOT API - ksb.csle.component.operator.transformation.TimeSynchronizeOperator + + + + + + + + + + + + + + + +
                                                + Class +

                                                ksb.csle.component.operator.transformation

                                                +

                                                TimeSynchronizeOperator

                                                Related Doc: + package transformation +

                                                + + Permalink + + +
                                                + +

                                                + + + class + + + TimeSynchronizeOperator extends BaseGenericOperator[StreamOperatorInfo, DataFrame] + +

                                                + +

                                                :: ApplicationDeveloperApi ::

                                                Operator that joins two dataframes according to timestamp. +The dataframe to be joined (second dataframe) is loaded by csv file format. +

                                                + Linear Supertypes +
                                                BaseGenericOperator[StreamOperatorInfo, DataFrame], BaseGenericMutantOperator[StreamOperatorInfo, DataFrame, DataFrame], BaseDoer, Logging, Serializable, Serializable, AnyRef, Any
                                                +
                                                + + +
                                                +
                                                +
                                                + Ordering +
                                                  + +
                                                1. Alphabetic
                                                2. +
                                                3. By Inheritance
                                                4. +
                                                +
                                                +
                                                + Inherited
                                                +
                                                +
                                                  +
                                                1. TimeSynchronizeOperator
                                                2. BaseGenericOperator
                                                3. BaseGenericMutantOperator
                                                4. BaseDoer
                                                5. Logging
                                                6. Serializable
                                                7. Serializable
                                                8. AnyRef
                                                9. Any
                                                10. +
                                                +
                                                + +
                                                  +
                                                1. Hide All
                                                2. +
                                                3. Show All
                                                4. +
                                                +
                                                +
                                                + Visibility +
                                                1. Public
                                                2. All
                                                +
                                                +
                                                + +
                                                +
                                                +
                                                +

                                                Instance Constructors

                                                +
                                                1. + + +

                                                  + + + new + + + TimeSynchronizeOperator(o: StreamOperatorInfo) + +

                                                  + + Permalink + + +

                                                  o

                                                  Object that contains message + ksb.csle.common.proto.StreamOperatorProto.TimeSynchronizationInfo + TimeSynchronizationInfo contains attributes as follows:

                                                  • hasTimeDelay: Parameter to define whether second dataframe has + a time delay (required)
                                                  • isAutoMode: If this parameter is true, time delay is calculated + automatically (optional) + (as smallest difference between two dataframes). + If this parameter is false, next parameter + is used.
                                                  • timeDelay: Paremeter to specify timeDelay if above parameter is + false (optional)
                                                  • interpolationInfo: interpolation operator of first dataframe + (required)
                                                  • isTimeStampColumn: Parameter to define whether selected column is + timestamp type (required) + If this parameter is false, next parameter is + used.
                                                  • userTimeStampPattern: Parameter to specify the timestamp pattern + of selected column if above parameter is + false (optional)
                                                  • joinDataInfo: Parameter to specify the parameters of second + dataframe for reading and interpolation. (required) + ksb.csle.common.proto.StreamOperatorProto.TimeSyncDataFrameInfo + TimeSyncDataFrameInfo contains attributes as follows:
                                                  • filePath: File path of second dataframe (required)
                                                  • hasHeader: Parameter to define whether csv file has header (optional)
                                                  • separator: separator of csv file (optional)
                                                  • interpolationInfo: interpolation operator of second dataframe + (required)
                                                  • isTimeStampColumn: Parameter to define whether selected column is + timestamp type (required) + If this parameter is false, next parameter is + used.
                                                  • userTimeStampPattern: Parameter to specify the timestamp pattern + of selected column if above parameter is + false (optional) + ksb.csle.common.proto.StreamOperatorProto.InterpolationInfo + InterpolationInfo contains attributes as follows:
                                                  • indexColumnName: Column name of timestamp column (required)
                                                  • stepSize: Intervals of time range, unit is second (optional)
                                                  • methodOption: Interpolation method (required)
                                                  • keepColumnType: Parameter to define whether to keep the originals + column type (optional) + After interpolation option, the column type is + changed to double type.

                                                  InterpolationInfo

                                                  message InterpolationInfo {
                                                  +required string indexColumnName = 1;
                                                  +required int32 stepSize = 2 [default = 1];
                                                  +required InterpolationMethodOption methodOption = 3 [default = LINEAR];
                                                  +optional bool keepColumnType = 4 [default = false];
                                                  +}

                                                  TimeSyncDataFrameInfo

                                                  message TimeSyncDataFrameInfo {
                                                  +required string filePath = 1;
                                                  +optional bool hasHeader = 2 [default = true];
                                                  +optional string separator = 3 [default = ","];
                                                  +required InterpolationInfo interpolationInfo = 4;
                                                  +required bool isTimeStampColumn = 5 [default = true];
                                                  +optional string userTimeStampPattern = 6 [default = "yyyy-mm-dd hh:mm:ss"];
                                                  +}

                                                  TimeSynchronizationInfo

                                                  message TimeSynchronizationInfo {
                                                  +required bool hasTimeDelay = 1 [default = false];
                                                  +optional bool isAutoMode = 2 [default = true];
                                                  +optional int32 timeDelay = 3;
                                                  +required InterpolationInfo interpolationInfo = 4;
                                                  +required bool isTimeStampColumn = 5 [default = true];
                                                  +optional string userTimeStampPattern = 6 [default = "yyyy-mm-dd hh:mm:ss"];
                                                  +required TimeSyncDataFrameInfo joinDataInfo = 7;
                                                  +}
                                                  +
                                                +
                                                + + + + + +
                                                +

                                                Value Members

                                                +
                                                1. + + +

                                                  + + final + def + + + !=(arg0: Any): Boolean + +

                                                  + + Permalink + + +
                                                  Definition Classes
                                                  AnyRef → Any
                                                  +
                                                2. + + +

                                                  + + final + def + + + ##(): Int + +

                                                  + + Permalink + + +
                                                  Definition Classes
                                                  AnyRef → Any
                                                  +
                                                3. + + +

                                                  + + final + def + + + ==(arg0: Any): Boolean + +

                                                  + + Permalink + + +
                                                  Definition Classes
                                                  AnyRef → Any
                                                  +
                                                4. + + +

                                                  + + final + def + + + asInstanceOf[T0]: T0 + +

                                                  + + Permalink + + +
                                                  Definition Classes
                                                  Any
                                                  +
                                                5. + + +

                                                  + + + def + + + clone(): AnyRef + +

                                                  + + Permalink + + +
                                                  Attributes
                                                  protected[java.lang]
                                                  Definition Classes
                                                  AnyRef
                                                  Annotations
                                                  + @throws( + + ... + ) + +
                                                  +
                                                6. + + +

                                                  + + final + def + + + eq(arg0: AnyRef): Boolean + +

                                                  + + Permalink + + +
                                                  Definition Classes
                                                  AnyRef
                                                  +
                                                7. + + +

                                                  + + + def + + + equals(arg0: Any): Boolean + +

                                                  + + Permalink + + +
                                                  Definition Classes
                                                  AnyRef → Any
                                                  +
                                                8. + + +

                                                  + + + def + + + finalize(): Unit + +

                                                  + + Permalink + + +
                                                  Attributes
                                                  protected[java.lang]
                                                  Definition Classes
                                                  AnyRef
                                                  Annotations
                                                  + @throws( + + classOf[java.lang.Throwable] + ) + +
                                                  +
                                                9. + + +

                                                  + + final + def + + + getClass(): Class[_] + +

                                                  + + Permalink + + +
                                                  Definition Classes
                                                  AnyRef → Any
                                                  +
                                                10. + + +

                                                  + + + def + + + hashCode(): Int + +

                                                  + + Permalink + + +
                                                  Definition Classes
                                                  AnyRef → Any
                                                  +
                                                11. + + +

                                                  + + + val + + + interpolationOp_df1: StreamOperatorInfo + +

                                                  + + Permalink + + + +
                                                12. + + +

                                                  + + + val + + + interpolationOp_df2: StreamOperatorInfo + +

                                                  + + Permalink + + + +
                                                13. + + +

                                                  + + + val + + + interpolation_df1: InterpolateOperator + +

                                                  + + Permalink + + + +
                                                14. + + +

                                                  + + + val + + + interpolation_df2: InterpolateOperator + +

                                                  + + Permalink + + + +
                                                15. + + +

                                                  + + final + def + + + isInstanceOf[T0]: Boolean + +

                                                  + + Permalink + + +
                                                  Definition Classes
                                                  Any
                                                  +
                                                16. + + +

                                                  + + + val + + + logger: Logger + +

                                                  + + Permalink + + +
                                                  Attributes
                                                  protected
                                                  Definition Classes
                                                  Logging
                                                  +
                                                17. + + +

                                                  + + final + def + + + ne(arg0: AnyRef): Boolean + +

                                                  + + Permalink + + +
                                                  Definition Classes
                                                  AnyRef
                                                  +
                                                18. + + +

                                                  + + final + def + + + notify(): Unit + +

                                                  + + Permalink + + +
                                                  Definition Classes
                                                  AnyRef
                                                  +
                                                19. + + +

                                                  + + final + def + + + notifyAll(): Unit + +

                                                  + + Permalink + + +
                                                  Definition Classes
                                                  AnyRef
                                                  +
                                                20. + + +

                                                  + + + def + + + operate(df: DataFrame): DataFrame + +

                                                  + + Permalink + + +
                                                  Definition Classes
                                                  TimeSynchronizeOperator → BaseGenericOperator → BaseGenericMutantOperator
                                                  +
                                                21. + + +

                                                  + + + val + + + p: TimeSynchronizationInfo + +

                                                  + + Permalink + + + +
                                                22. + + +

                                                  + + + def + + + stop: Unit + +

                                                  + + Permalink + + +
                                                  Definition Classes
                                                  TimeSynchronizeOperator → BaseGenericOperator → BaseGenericMutantOperator
                                                  +
                                                23. + + +

                                                  + + final + def + + + synchronized[T0](arg0: ⇒ T0): T0 + +

                                                  + + Permalink + + +
                                                  Definition Classes
                                                  AnyRef
                                                  +
                                                24. + + +

                                                  + + + def + + + toString(): String + +

                                                  + + Permalink + + +
                                                  Definition Classes
                                                  AnyRef → Any
                                                  +
                                                25. + + +

                                                  + + final + def + + + wait(): Unit + +

                                                  + + Permalink + + +
                                                  Definition Classes
                                                  AnyRef
                                                  Annotations
                                                  + @throws( + + ... + ) + +
                                                  +
                                                26. + + +

                                                  + + final + def + + + wait(arg0: Long, arg1: Int): Unit + +

                                                  + + Permalink + + +
                                                  Definition Classes
                                                  AnyRef
                                                  Annotations
                                                  + @throws( + + ... + ) + +
                                                  +
                                                27. + + +

                                                  + + final + def + + + wait(arg0: Long): Unit + +

                                                  + + Permalink + + +
                                                  Definition Classes
                                                  AnyRef
                                                  Annotations
                                                  + @throws( + + ... + ) + +
                                                  +
                                                +
                                                + + + + +
                                                + +
                                                +
                                                +

                                                Inherited from BaseGenericOperator[StreamOperatorInfo, DataFrame]

                                                +
                                                +

                                                Inherited from BaseGenericMutantOperator[StreamOperatorInfo, DataFrame, DataFrame]

                                                +
                                                +

                                                Inherited from BaseDoer

                                                +
                                                +

                                                Inherited from Logging

                                                +
                                                +

                                                Inherited from Serializable

                                                +
                                                +

                                                Inherited from Serializable

                                                +
                                                +

                                                Inherited from AnyRef

                                                +
                                                +

                                                Inherited from Any

                                                +
                                                + +
                                                + +
                                                +
                                                +

                                                Ungrouped

                                                + +
                                                +
                                                + +
                                                + +
                                                + + + + + + diff --git a/manual1903/api_reference/components/scaladocs/ksb/csle/component/operator/transformation/TransposeOperator$.html b/manual1903/api_reference/components/scaladocs/ksb/csle/component/operator/transformation/TransposeOperator$.html new file mode 100644 index 0000000000000000000000000000000000000000..a2bce04759bc3e1a45ee5cd5211ba71b722a28ed --- /dev/null +++ b/manual1903/api_reference/components/scaladocs/ksb/csle/component/operator/transformation/TransposeOperator$.html @@ -0,0 +1,505 @@ + + + + TransposeOperator - KSB COMPONENTS Scala App Project 1.0-SNAPSHOT API - ksb.csle.component.operator.transformation.TransposeOperator + + + + + + + + + + + + + + + + + +

                                                + + + object + + + TransposeOperator extends Serializable + +

                                                + +
                                                + Linear Supertypes +
                                                Serializable, Serializable, AnyRef, Any
                                                +
                                                + + +
                                                +
                                                +
                                                + Ordering +
                                                  + +
                                                1. Alphabetic
                                                2. +
                                                3. By Inheritance
                                                4. +
                                                +
                                                +
                                                + Inherited
                                                +
                                                +
                                                  +
                                                1. TransposeOperator
                                                2. Serializable
                                                3. Serializable
                                                4. AnyRef
                                                5. Any
                                                6. +
                                                +
                                                + +
                                                  +
                                                1. Hide All
                                                2. +
                                                3. Show All
                                                4. +
                                                +
                                                +
                                                + Visibility +
                                                1. Public
                                                2. All
                                                +
                                                +
                                                + +
                                                +
                                                + + + + + + +
                                                +

                                                Value Members

                                                +
                                                1. + + +

                                                  + + final + def + + + !=(arg0: Any): Boolean + +

                                                  + + Permalink + + +
                                                  Definition Classes
                                                  AnyRef → Any
                                                  +
                                                2. + + +

                                                  + + final + def + + + ##(): Int + +

                                                  + + Permalink + + +
                                                  Definition Classes
                                                  AnyRef → Any
                                                  +
                                                3. + + +

                                                  + + final + def + + + ==(arg0: Any): Boolean + +

                                                  + + Permalink + + +
                                                  Definition Classes
                                                  AnyRef → Any
                                                  +
                                                4. + + +

                                                  + + + def + + + apply(o: StreamOperatorInfo): TransposeOperator + +

                                                  + + Permalink + + + +
                                                5. + + +

                                                  + + final + def + + + asInstanceOf[T0]: T0 + +

                                                  + + Permalink + + +
                                                  Definition Classes
                                                  Any
                                                  +
                                                6. + + +

                                                  + + + def + + + clone(): AnyRef + +

                                                  + + Permalink + + +
                                                  Attributes
                                                  protected[java.lang]
                                                  Definition Classes
                                                  AnyRef
                                                  Annotations
                                                  + @throws( + + ... + ) + +
                                                  +
                                                7. + + +

                                                  + + final + def + + + eq(arg0: AnyRef): Boolean + +

                                                  + + Permalink + + +
                                                  Definition Classes
                                                  AnyRef
                                                  +
                                                8. + + +

                                                  + + + def + + + equals(arg0: Any): Boolean + +

                                                  + + Permalink + + +
                                                  Definition Classes
                                                  AnyRef → Any
                                                  +
                                                9. + + +

                                                  + + + def + + + finalize(): Unit + +

                                                  + + Permalink + + +
                                                  Attributes
                                                  protected[java.lang]
                                                  Definition Classes
                                                  AnyRef
                                                  Annotations
                                                  + @throws( + + classOf[java.lang.Throwable] + ) + +
                                                  +
                                                10. + + +

                                                  + + final + def + + + getClass(): Class[_] + +

                                                  + + Permalink + + +
                                                  Definition Classes
                                                  AnyRef → Any
                                                  +
                                                11. + + +

                                                  + + + def + + + hashCode(): Int + +

                                                  + + Permalink + + +
                                                  Definition Classes
                                                  AnyRef → Any
                                                  +
                                                12. + + +

                                                  + + final + def + + + isInstanceOf[T0]: Boolean + +

                                                  + + Permalink + + +
                                                  Definition Classes
                                                  Any
                                                  +
                                                13. + + +

                                                  + + final + def + + + ne(arg0: AnyRef): Boolean + +

                                                  + + Permalink + + +
                                                  Definition Classes
                                                  AnyRef
                                                  +
                                                14. + + +

                                                  + + final + def + + + notify(): Unit + +

                                                  + + Permalink + + +
                                                  Definition Classes
                                                  AnyRef
                                                  +
                                                15. + + +

                                                  + + final + def + + + notifyAll(): Unit + +

                                                  + + Permalink + + +
                                                  Definition Classes
                                                  AnyRef
                                                  +
                                                16. + + +

                                                  + + final + def + + + synchronized[T0](arg0: ⇒ T0): T0 + +

                                                  + + Permalink + + +
                                                  Definition Classes
                                                  AnyRef
                                                  +
                                                17. + + +

                                                  + + + def + + + toString(): String + +

                                                  + + Permalink + + +
                                                  Definition Classes
                                                  AnyRef → Any
                                                  +
                                                18. + + +

                                                  + + final + def + + + wait(): Unit + +

                                                  + + Permalink + + +
                                                  Definition Classes
                                                  AnyRef
                                                  Annotations
                                                  + @throws( + + ... + ) + +
                                                  +
                                                19. + + +

                                                  + + final + def + + + wait(arg0: Long, arg1: Int): Unit + +

                                                  + + Permalink + + +
                                                  Definition Classes
                                                  AnyRef
                                                  Annotations
                                                  + @throws( + + ... + ) + +
                                                  +
                                                20. + + +

                                                  + + final + def + + + wait(arg0: Long): Unit + +

                                                  + + Permalink + + +
                                                  Definition Classes
                                                  AnyRef
                                                  Annotations
                                                  + @throws( + + ... + ) + +
                                                  +
                                                +
                                                + + + + +
                                                + +
                                                +
                                                +

                                                Inherited from Serializable

                                                +
                                                +

                                                Inherited from Serializable

                                                +
                                                +

                                                Inherited from AnyRef

                                                +
                                                +

                                                Inherited from Any

                                                +
                                                + +
                                                + +
                                                +
                                                +

                                                Ungrouped

                                                + +
                                                +
                                                + +
                                                + +
                                                + + + + + + diff --git a/manual1903/api_reference/components/scaladocs/ksb/csle/component/operator/transformation/TransposeOperator.html b/manual1903/api_reference/components/scaladocs/ksb/csle/component/operator/transformation/TransposeOperator.html new file mode 100644 index 0000000000000000000000000000000000000000..5ae1bd476453f8d61cebfd37ac287dee01c41845 --- /dev/null +++ b/manual1903/api_reference/components/scaladocs/ksb/csle/component/operator/transformation/TransposeOperator.html @@ -0,0 +1,593 @@ + + + + TransposeOperator - KSB COMPONENTS Scala App Project 1.0-SNAPSHOT API - ksb.csle.component.operator.transformation.TransposeOperator + + + + + + + + + + + + + + + + + +

                                                + + + class + + + TransposeOperator extends BaseDataOperator[StreamOperatorInfo, DataFrame] + +

                                                + +

                                                :: ApplicationDeveloperApi ::

                                                Operator that converts the dataframe with single column to the dataframe +with one row. It can be used to transpose one column to one row. +

                                                + Linear Supertypes +
                                                BaseDataOperator[StreamOperatorInfo, DataFrame], BaseGenericOperator[StreamOperatorInfo, DataFrame], BaseGenericMutantOperator[StreamOperatorInfo, DataFrame, DataFrame], BaseDoer, Logging, Serializable, Serializable, AnyRef, Any
                                                +
                                                + + +
                                                +
                                                +
                                                + Ordering +
                                                  + +
                                                1. Alphabetic
                                                2. +
                                                3. By Inheritance
                                                4. +
                                                +
                                                +
                                                + Inherited
                                                +
                                                +
                                                  +
                                                1. TransposeOperator
                                                2. BaseDataOperator
                                                3. BaseGenericOperator
                                                4. BaseGenericMutantOperator
                                                5. BaseDoer
                                                6. Logging
                                                7. Serializable
                                                8. Serializable
                                                9. AnyRef
                                                10. Any
                                                11. +
                                                +
                                                + +
                                                  +
                                                1. Hide All
                                                2. +
                                                3. Show All
                                                4. +
                                                +
                                                +
                                                + Visibility +
                                                1. Public
                                                2. All
                                                +
                                                +
                                                + +
                                                +
                                                +
                                                +

                                                Instance Constructors

                                                +
                                                1. + + +

                                                  + + + new + + + TransposeOperator(o: StreamOperatorInfo) + +

                                                  + + Permalink + + +

                                                  o

                                                  Object that contains message + ksb.csle.common.proto.StreamOperatorProto.TransposeInfo + TransposeInfo contains attributes as follows:

                                                  • selectedColumnName: Column name to be selected. (required)

                                                  TransposeInfo

                                                  message TransposeInfo {
                                                  +required string selectedColumnName = 3;
                                                  +}
                                                  +
                                                +
                                                + + + + + +
                                                +

                                                Value Members

                                                +
                                                1. + + +

                                                  + + final + def + + + !=(arg0: Any): Boolean + +

                                                  + + Permalink + + +
                                                  Definition Classes
                                                  AnyRef → Any
                                                  +
                                                2. + + +

                                                  + + final + def + + + ##(): Int + +

                                                  + + Permalink + + +
                                                  Definition Classes
                                                  AnyRef → Any
                                                  +
                                                3. + + +

                                                  + + final + def + + + ==(arg0: Any): Boolean + +

                                                  + + Permalink + + +
                                                  Definition Classes
                                                  AnyRef → Any
                                                  +
                                                4. + + +

                                                  + + final + def + + + asInstanceOf[T0]: T0 + +

                                                  + + Permalink + + +
                                                  Definition Classes
                                                  Any
                                                  +
                                                5. + + +

                                                  + + + def + + + clone(): AnyRef + +

                                                  + + Permalink + + +
                                                  Attributes
                                                  protected[java.lang]
                                                  Definition Classes
                                                  AnyRef
                                                  Annotations
                                                  + @throws( + + ... + ) + +
                                                  +
                                                6. + + +

                                                  + + final + def + + + eq(arg0: AnyRef): Boolean + +

                                                  + + Permalink + + +
                                                  Definition Classes
                                                  AnyRef
                                                  +
                                                7. + + +

                                                  + + + def + + + equals(arg0: Any): Boolean + +

                                                  + + Permalink + + +
                                                  Definition Classes
                                                  AnyRef → Any
                                                  +
                                                8. + + +

                                                  + + + def + + + finalize(): Unit + +

                                                  + + Permalink + + +
                                                  Attributes
                                                  protected[java.lang]
                                                  Definition Classes
                                                  AnyRef
                                                  Annotations
                                                  + @throws( + + classOf[java.lang.Throwable] + ) + +
                                                  +
                                                9. + + +

                                                  + + final + def + + + getClass(): Class[_] + +

                                                  + + Permalink + + +
                                                  Definition Classes
                                                  AnyRef → Any
                                                  +
                                                10. + + +

                                                  + + + def + + + hashCode(): Int + +

                                                  + + Permalink + + +
                                                  Definition Classes
                                                  AnyRef → Any
                                                  +
                                                11. + + +

                                                  + + final + def + + + isInstanceOf[T0]: Boolean + +

                                                  + + Permalink + + +
                                                  Definition Classes
                                                  Any
                                                  +
                                                12. + + +

                                                  + + + val + + + logger: Logger + +

                                                  + + Permalink + + +
                                                  Attributes
                                                  protected
                                                  Definition Classes
                                                  Logging
                                                  +
                                                13. + + +

                                                  + + final + def + + + ne(arg0: AnyRef): Boolean + +

                                                  + + Permalink + + +
                                                  Definition Classes
                                                  AnyRef
                                                  +
                                                14. + + +

                                                  + + final + def + + + notify(): Unit + +

                                                  + + Permalink + + +
                                                  Definition Classes
                                                  AnyRef
                                                  +
                                                15. + + +

                                                  + + final + def + + + notifyAll(): Unit + +

                                                  + + Permalink + + +
                                                  Definition Classes
                                                  AnyRef
                                                  +
                                                16. + + +

                                                  + + + def + + + operate(df: DataFrame): DataFrame + +

                                                  + + Permalink + + +

                                                  Operates transpose function.

                                                  Operates transpose function. +

                                                  df

                                                  Input dataframe

                                                  returns

                                                  DataFrame Output dataframe

                                                  Definition Classes
                                                  TransposeOperator → BaseGenericOperator → BaseGenericMutantOperator
                                                  +
                                                17. + + +

                                                  + + + val + + + p: TransposeInfo + +

                                                  + + Permalink + + + +
                                                18. + + +

                                                  + + + def + + + stop: Unit + +

                                                  + + Permalink + + +
                                                  Definition Classes
                                                  BaseGenericOperator → BaseGenericMutantOperator
                                                  +
                                                19. + + +

                                                  + + final + def + + + synchronized[T0](arg0: ⇒ T0): T0 + +

                                                  + + Permalink + + +
                                                  Definition Classes
                                                  AnyRef
                                                  +
                                                20. + + +

                                                  + + + def + + + toString(): String + +

                                                  + + Permalink + + +
                                                  Definition Classes
                                                  AnyRef → Any
                                                  +
                                                21. + + +

                                                  + + final + def + + + wait(): Unit + +

                                                  + + Permalink + + +
                                                  Definition Classes
                                                  AnyRef
                                                  Annotations
                                                  + @throws( + + ... + ) + +
                                                  +
                                                22. + + +

                                                  + + final + def + + + wait(arg0: Long, arg1: Int): Unit + +

                                                  + + Permalink + + +
                                                  Definition Classes
                                                  AnyRef
                                                  Annotations
                                                  + @throws( + + ... + ) + +
                                                  +
                                                23. + + +

                                                  + + final + def + + + wait(arg0: Long): Unit + +

                                                  + + Permalink + + +
                                                  Definition Classes
                                                  AnyRef
                                                  Annotations
                                                  + @throws( + + ... + ) + +
                                                  +
                                                +
                                                + + + + +
                                                + +
                                                +
                                                +

                                                Inherited from BaseDataOperator[StreamOperatorInfo, DataFrame]

                                                +
                                                +

                                                Inherited from BaseGenericOperator[StreamOperatorInfo, DataFrame]

                                                +
                                                +

                                                Inherited from BaseGenericMutantOperator[StreamOperatorInfo, DataFrame, DataFrame]

                                                +
                                                +

                                                Inherited from BaseDoer

                                                +
                                                +

                                                Inherited from Logging

                                                +
                                                +

                                                Inherited from Serializable

                                                +
                                                +

                                                Inherited from Serializable

                                                +
                                                +

                                                Inherited from AnyRef

                                                +
                                                +

                                                Inherited from Any

                                                +
                                                + +
                                                + +
                                                +
                                                +

                                                Ungrouped

                                                + +
                                                +
                                                + +
                                                + +
                                                + + + + + + diff --git a/manual1903/api_reference/components/scaladocs/ksb/csle/component/operator/transformation/VectorizeColumnOperator.html b/manual1903/api_reference/components/scaladocs/ksb/csle/component/operator/transformation/VectorizeColumnOperator.html new file mode 100644 index 0000000000000000000000000000000000000000..82edada78534450646179d3364a0b266781e57a8 --- /dev/null +++ b/manual1903/api_reference/components/scaladocs/ksb/csle/component/operator/transformation/VectorizeColumnOperator.html @@ -0,0 +1,576 @@ + + + + VectorizeColumnOperator - KSB COMPONENTS Scala App Project 1.0-SNAPSHOT API - ksb.csle.component.operator.transformation.VectorizeColumnOperator + + + + + + + + + + + + + + + +
                                                + Class +

                                                ksb.csle.component.operator.transformation

                                                +

                                                VectorizeColumnOperator

                                                Related Doc: + package transformation +

                                                + + Permalink + + +
                                                + +

                                                + + + class + + + VectorizeColumnOperator extends BaseDataOperator[StreamOperatorInfo, DataFrame] + +

                                                + +

                                                :: ApplicationDeveloperApi ::

                                                Operator that vectorizes multiple columns to one column. +

                                                + Linear Supertypes +
                                                BaseDataOperator[StreamOperatorInfo, DataFrame], BaseGenericOperator[StreamOperatorInfo, DataFrame], BaseGenericMutantOperator[StreamOperatorInfo, DataFrame, DataFrame], BaseDoer, Logging, Serializable, Serializable, AnyRef, Any
                                                +
                                                + + +
                                                +
                                                +
                                                + Ordering +
                                                  + +
                                                1. Alphabetic
                                                2. +
                                                3. By Inheritance
                                                4. +
                                                +
                                                +
                                                + Inherited
                                                +
                                                +
                                                  +
                                                1. VectorizeColumnOperator
                                                2. BaseDataOperator
                                                3. BaseGenericOperator
                                                4. BaseGenericMutantOperator
                                                5. BaseDoer
                                                6. Logging
                                                7. Serializable
                                                8. Serializable
                                                9. AnyRef
                                                10. Any
                                                11. +
                                                +
                                                + +
                                                  +
                                                1. Hide All
                                                2. +
                                                3. Show All
                                                4. +
                                                +
                                                +
                                                + Visibility +
                                                1. Public
                                                2. All
                                                +
                                                +
                                                + +
                                                +
                                                +
                                                +

                                                Instance Constructors

                                                +
                                                1. + + +

                                                  + + + new + + + VectorizeColumnOperator(o: StreamOperatorInfo) + +

                                                  + + Permalink + + +

                                                  o

                                                  Object that contains message + ksb.csle.common.proto.StreamOperatorProto.VectorizeColumnInfo + VectorizeColumnInfo contains attributes as follows:

                                                  • srcColumnName: comma-separated column names to vectorize (required) + if set '*', will vectorize all columns
                                                  • destColumnName: output column name (required)
                                                  • keepSrcColumns: whether keeps source columns; default is true (optional)

                                                  VectorizeColumnInfo

                                                  message VectorizeColumnInfo {
                                                  +  required string srcColumnNames = 1 [default = "*"];
                                                  +  required string destColumnName = 2;
                                                  +  optional bool keepSrcColumns = 3 [default = true];
                                                  +}
                                                  +
                                                +
                                                + + + + + +
                                                +

                                                Value Members

                                                +
                                                1. + + +

                                                  + + final + def + + + !=(arg0: Any): Boolean + +

                                                  + + Permalink + + +
                                                  Definition Classes
                                                  AnyRef → Any
                                                  +
                                                2. + + +

                                                  + + final + def + + + ##(): Int + +

                                                  + + Permalink + + +
                                                  Definition Classes
                                                  AnyRef → Any
                                                  +
                                                3. + + +

                                                  + + final + def + + + ==(arg0: Any): Boolean + +

                                                  + + Permalink + + +
                                                  Definition Classes
                                                  AnyRef → Any
                                                  +
                                                4. + + +

                                                  + + final + def + + + asInstanceOf[T0]: T0 + +

                                                  + + Permalink + + +
                                                  Definition Classes
                                                  Any
                                                  +
                                                5. + + +

                                                  + + + def + + + clone(): AnyRef + +

                                                  + + Permalink + + +
                                                  Attributes
                                                  protected[java.lang]
                                                  Definition Classes
                                                  AnyRef
                                                  Annotations
                                                  + @throws( + + ... + ) + +
                                                  +
                                                6. + + +

                                                  + + final + def + + + eq(arg0: AnyRef): Boolean + +

                                                  + + Permalink + + +
                                                  Definition Classes
                                                  AnyRef
                                                  +
                                                7. + + +

                                                  + + + def + + + equals(arg0: Any): Boolean + +

                                                  + + Permalink + + +
                                                  Definition Classes
                                                  AnyRef → Any
                                                  +
                                                8. + + +

                                                  + + + def + + + finalize(): Unit + +

                                                  + + Permalink + + +
                                                  Attributes
                                                  protected[java.lang]
                                                  Definition Classes
                                                  AnyRef
                                                  Annotations
                                                  + @throws( + + classOf[java.lang.Throwable] + ) + +
                                                  +
                                                9. + + +

                                                  + + final + def + + + getClass(): Class[_] + +

                                                  + + Permalink + + +
                                                  Definition Classes
                                                  AnyRef → Any
                                                  +
                                                10. + + +

                                                  + + + def + + + hashCode(): Int + +

                                                  + + Permalink + + +
                                                  Definition Classes
                                                  AnyRef → Any
                                                  +
                                                11. + + +

                                                  + + final + def + + + isInstanceOf[T0]: Boolean + +

                                                  + + Permalink + + +
                                                  Definition Classes
                                                  Any
                                                  +
                                                12. + + +

                                                  + + + val + + + logger: Logger + +

                                                  + + Permalink + + +
                                                  Attributes
                                                  protected
                                                  Definition Classes
                                                  Logging
                                                  +
                                                13. + + +

                                                  + + final + def + + + ne(arg0: AnyRef): Boolean + +

                                                  + + Permalink + + +
                                                  Definition Classes
                                                  AnyRef
                                                  +
                                                14. + + +

                                                  + + final + def + + + notify(): Unit + +

                                                  + + Permalink + + +
                                                  Definition Classes
                                                  AnyRef
                                                  +
                                                15. + + +

                                                  + + final + def + + + notifyAll(): Unit + +

                                                  + + Permalink + + +
                                                  Definition Classes
                                                  AnyRef
                                                  +
                                                16. + + +

                                                  + + + def + + + operate(inputs: DataFrame): DataFrame + +

                                                  + + Permalink + + +

                                                  Operate vectorizing multiple columns to one column.

                                                  Operate vectorizing multiple columns to one column. +

                                                  inputs

                                                  Input dataframe

                                                  returns

                                                  DataFrame Output dataframe has a vectorized column

                                                  Definition Classes
                                                  VectorizeColumnOperator → BaseGenericOperator → BaseGenericMutantOperator
                                                  +
                                                17. + + +

                                                  + + + def + + + stop: Unit + +

                                                  + + Permalink + + +
                                                  Definition Classes
                                                  BaseGenericOperator → BaseGenericMutantOperator
                                                  +
                                                18. + + +

                                                  + + final + def + + + synchronized[T0](arg0: ⇒ T0): T0 + +

                                                  + + Permalink + + +
                                                  Definition Classes
                                                  AnyRef
                                                  +
                                                19. + + +

                                                  + + + def + + + toString(): String + +

                                                  + + Permalink + + +
                                                  Definition Classes
                                                  AnyRef → Any
                                                  +
                                                20. + + +

                                                  + + final + def + + + wait(): Unit + +

                                                  + + Permalink + + +
                                                  Definition Classes
                                                  AnyRef
                                                  Annotations
                                                  + @throws( + + ... + ) + +
                                                  +
                                                21. + + +

                                                  + + final + def + + + wait(arg0: Long, arg1: Int): Unit + +

                                                  + + Permalink + + +
                                                  Definition Classes
                                                  AnyRef
                                                  Annotations
                                                  + @throws( + + ... + ) + +
                                                  +
                                                22. + + +

                                                  + + final + def + + + wait(arg0: Long): Unit + +

                                                  + + Permalink + + +
                                                  Definition Classes
                                                  AnyRef
                                                  Annotations
                                                  + @throws( + + ... + ) + +
                                                  +
                                                +
                                                + + + + +
                                                + +
                                                +
                                                +

                                                Inherited from BaseDataOperator[StreamOperatorInfo, DataFrame]

                                                +
                                                +

                                                Inherited from BaseGenericOperator[StreamOperatorInfo, DataFrame]

                                                +
                                                +

                                                Inherited from BaseGenericMutantOperator[StreamOperatorInfo, DataFrame, DataFrame]

                                                +
                                                +

                                                Inherited from BaseDoer

                                                +
                                                +

                                                Inherited from Logging

                                                +
                                                +

                                                Inherited from Serializable

                                                +
                                                +

                                                Inherited from Serializable

                                                +
                                                +

                                                Inherited from AnyRef

                                                +
                                                +

                                                Inherited from Any

                                                +
                                                + +
                                                + +
                                                +
                                                +

                                                Ungrouped

                                                + +
                                                +
                                                + +
                                                + +
                                                + + + + + + diff --git a/manual1903/api_reference/components/scaladocs/ksb/csle/component/operator/transformation/package.html b/manual1903/api_reference/components/scaladocs/ksb/csle/component/operator/transformation/package.html new file mode 100644 index 0000000000000000000000000000000000000000..7678ebab91127bcf226d598ad1c825e5e36fe3e7 --- /dev/null +++ b/manual1903/api_reference/components/scaladocs/ksb/csle/component/operator/transformation/package.html @@ -0,0 +1,538 @@ + + + + transformation - KSB COMPONENTS Scala App Project 1.0-SNAPSHOT API - ksb.csle.component.operator.transformation + + + + + + + + + + + + + + + +
                                                + Package +

                                                ksb.csle.component.operator

                                                +

                                                transformation

                                                + + Permalink + + +
                                                + +

                                                + + + package + + + transformation + +

                                                + +
                                                + + +
                                                +
                                                + + +
                                                + Visibility +
                                                1. Public
                                                2. All
                                                +
                                                +
                                                + +
                                                +
                                                + + +
                                                +

                                                Type Members

                                                +
                                                1. + + +

                                                  + + + class + + + AddConditionalColumnOperator extends BaseDataOperator[StreamOperatorInfo, DataFrame] + +

                                                  + + Permalink + + +

                                                  :: ApplicationDeveloperApi ::

                                                  :: ApplicationDeveloperApi ::

                                                  Operator that adds new column in the given rules. +

                                                  +
                                                2. + + +

                                                  + + + class + + + ChangeColumnDataTypeOperator extends BaseDataOperator[StreamOperatorInfo, DataFrame] + +

                                                  + + Permalink + + +

                                                  :: ApplicationDeveloperApi ::

                                                  :: ApplicationDeveloperApi ::

                                                  Operator that changes column data type. +

                                                  +
                                                3. + + +

                                                  + + + class + + + ExplodeColumnOperator extends BaseDataOperator[StreamOperatorInfo, DataFrame] + +

                                                  + + Permalink + + +

                                                  :: ApplicationDeveloperApi ::

                                                  :: ApplicationDeveloperApi ::

                                                  Operator that creates a new row for each element in the given array or map column. +

                                                  +
                                                4. + + +

                                                  + + + class + + + FlattenOperator extends BaseDataOperator[StreamOperatorInfo, DataFrame] + +

                                                  + + Permalink + + +

                                                  :: ApplicationDeveloperApi ::

                                                  :: ApplicationDeveloperApi ::

                                                  Operator that flattens column. +

                                                  +
                                                5. + + +

                                                  + + + class + + + InterpolateOperator extends BaseGenericOperator[StreamOperatorInfo, DataFrame] + +

                                                  + + Permalink + + +

                                                  :: ApplicationDeveloperApi ::

                                                  :: ApplicationDeveloperApi ::

                                                  Operator that converts the dataframe at regular intervals by interpolation. +LINEAR: curve fitting using linear polynomials to construct new data points. +NEAREST: Nearest-neighbor interpolation, selects the value of the nearest point. +PREV_COPY: selects the previous value. +

                                                  +
                                                6. + + +

                                                  + + + class + + + MinMaxScalingOperator extends BaseDataOperator[StreamOperatorInfo, DataFrame] + +

                                                  + + Permalink + + +

                                                  :: ApplicationDeveloperApi ::

                                                  :: ApplicationDeveloperApi ::

                                                  Operator that rescales the selected columns individually to a common range +[min, max]. If 'withMinMaxRange' is false, the max value in selected column +becomes the rescaled max value. If 'withMinMaxRange' is true, 'maxRealValue' +parameter becomes the rescaled max value. +

                                                  +
                                                7. + + +

                                                  + + + class + + + NullReplaceOperator extends BaseDataOperator[StreamOperatorInfo, DataFrame] + +

                                                  + + Permalink + + +

                                                  :: ApplicationDeveloperApi ::

                                                  :: ApplicationDeveloperApi ::

                                                  Operator that replaces empty string and 0 value with null value. +

                                                  +
                                                8. + + +

                                                  + + + class + + + OneHotEncodingOperator extends BaseDataOperator[StreamOperatorInfo, DataFrame] + +

                                                  + + Permalink + + +

                                                  :: ApplicationDeveloperApi ::

                                                  :: ApplicationDeveloperApi ::

                                                  Operator that replaces empty string and 0 value with null value. +

                                                  +
                                                9. + + +

                                                  + + + class + + + PivotOperator extends BaseDataOperator[StreamOperatorInfo, DataFrame] + +

                                                  + + Permalink + + +

                                                  :: ApplicationDeveloperApi ::

                                                  :: ApplicationDeveloperApi ::

                                                  Operator that rotates the given dataframe by grouping multiple rows of same +groups to single rows. +

                                                  +
                                                10. + + +

                                                  + + + class + + + RenameColumnOperator extends BaseDataOperator[StreamOperatorInfo, DataFrame] + +

                                                  + + Permalink + + +

                                                  :: ApplicationDeveloperApi ::

                                                  :: ApplicationDeveloperApi ::

                                                  Operator that renames existing column. +

                                                  +
                                                11. + + +

                                                  + + + class + + + ReshapeWithTimeWindowOperator extends BaseDataOperator[StreamOperatorInfo, DataFrame] + +

                                                  + + Permalink + + +

                                                  :: ApplicationDeveloperApi ::

                                                  :: ApplicationDeveloperApi ::

                                                  Operator that makes the time windowing rows by time window value parameter. +

                                                  +
                                                12. + + +

                                                  + + + class + + + SelectWithTimeWindowOperator extends BaseDataOperator[StreamOperatorInfo, DataFrame] + +

                                                  + + Permalink + + +

                                                  :: ApplicationDeveloperApi ::

                                                  :: ApplicationDeveloperApi ::

                                                  Operator that selects the time windowing rows by time window value parameter. +

                                                  +
                                                13. + + +

                                                  + + + class + + + SplitColumnOperator extends BaseDataOperator[StreamOperatorInfo, DataFrame] + +

                                                  + + Permalink + + +

                                                  :: ApplicationDeveloperApi ::

                                                  :: ApplicationDeveloperApi ::

                                                  Operator that splits the existing column into multiple columns. +

                                                  +
                                                14. + + +

                                                  + + + class + + + StringIndexOperator extends BaseDataOperator[StreamOperatorInfo, DataFrame] + +

                                                  + + Permalink + + +

                                                  :: ApplicationDeveloperApi ::

                                                  :: ApplicationDeveloperApi ::

                                                  Operator that maps string column to index column. +

                                                  +
                                                15. + + +

                                                  + + + class + + + TimeSynchronizeOperator extends BaseGenericOperator[StreamOperatorInfo, DataFrame] + +

                                                  + + Permalink + + +

                                                  :: ApplicationDeveloperApi ::

                                                  :: ApplicationDeveloperApi ::

                                                  Operator that joins two dataframes according to timestamp. +The dataframe to be joined (second dataframe) is loaded by csv file format. +

                                                  +
                                                16. + + +

                                                  + + + class + + + TransposeOperator extends BaseDataOperator[StreamOperatorInfo, DataFrame] + +

                                                  + + Permalink + + +

                                                  :: ApplicationDeveloperApi ::

                                                  :: ApplicationDeveloperApi ::

                                                  Operator that converts the dataframe with single column to the dataframe +with one row. It can be used to transpose one column to one row. +

                                                  +
                                                17. + + +

                                                  + + + class + + + VectorizeColumnOperator extends BaseDataOperator[StreamOperatorInfo, DataFrame] + +

                                                  + + Permalink + + +

                                                  :: ApplicationDeveloperApi ::

                                                  :: ApplicationDeveloperApi ::

                                                  Operator that vectorizes multiple columns to one column. +

                                                  +
                                                +
                                                + + + +
                                                +

                                                Value Members

                                                +
                                                1. + + +

                                                  + + + object + + + MinMaxScalingOperator extends Serializable + +

                                                  + + Permalink + + + +
                                                2. + + +

                                                  + + + object + + + NullReplaceOperator extends Serializable + +

                                                  + + Permalink + + + +
                                                3. + + +

                                                  + + + object + + + OneHotEncodingOperator extends Serializable + +

                                                  + + Permalink + + + +
                                                4. + + +

                                                  + + + object + + + PivotOperator extends Serializable + +

                                                  + + Permalink + + + +
                                                5. + + +

                                                  + + + object + + + ReshapeWithTimeWindowOperator extends Serializable + +

                                                  + + Permalink + + + +
                                                6. + + +

                                                  + + + object + + + SelectWithTimeWindowOperator extends Serializable + +

                                                  + + Permalink + + + +
                                                7. + + +

                                                  + + + object + + + TransposeOperator extends Serializable + +

                                                  + + Permalink + + + +
                                                +
                                                + + + + +
                                                + +
                                                + + +
                                                + +
                                                +
                                                +

                                                Ungrouped

                                                + +
                                                +
                                                + +
                                                + +
                                                + + + + + + diff --git a/manual1903/api_reference/components/scaladocs/ksb/csle/component/operator/util/CalculatorUtils$.html b/manual1903/api_reference/components/scaladocs/ksb/csle/component/operator/util/CalculatorUtils$.html new file mode 100644 index 0000000000000000000000000000000000000000..9319335a5257f338f6d59b206ffda1c698093b03 --- /dev/null +++ b/manual1903/api_reference/components/scaladocs/ksb/csle/component/operator/util/CalculatorUtils$.html @@ -0,0 +1,522 @@ + + + + CalculatorUtils - KSB COMPONENTS Scala App Project 1.0-SNAPSHOT API - ksb.csle.component.operator.util.CalculatorUtils + + + + + + + + + + + + + + + +
                                                + Object +

                                                ksb.csle.component.operator.util

                                                +

                                                CalculatorUtils

                                                Related Doc: + package util +

                                                + + Permalink + + +
                                                + +

                                                + + + object + + + CalculatorUtils + +

                                                + +
                                                + Linear Supertypes +
                                                AnyRef, Any
                                                +
                                                + + +
                                                +
                                                +
                                                + Ordering +
                                                  + +
                                                1. Alphabetic
                                                2. +
                                                3. By Inheritance
                                                4. +
                                                +
                                                +
                                                + Inherited
                                                +
                                                +
                                                  +
                                                1. CalculatorUtils
                                                2. AnyRef
                                                3. Any
                                                4. +
                                                +
                                                + +
                                                  +
                                                1. Hide All
                                                2. +
                                                3. Show All
                                                4. +
                                                +
                                                +
                                                + Visibility +
                                                1. Public
                                                2. All
                                                +
                                                +
                                                + +
                                                +
                                                + + + + + + +
                                                +

                                                Value Members

                                                +
                                                1. + + +

                                                  + + final + def + + + !=(arg0: Any): Boolean + +

                                                  + + Permalink + + +
                                                  Definition Classes
                                                  AnyRef → Any
                                                  +
                                                2. + + +

                                                  + + final + def + + + ##(): Int + +

                                                  + + Permalink + + +
                                                  Definition Classes
                                                  AnyRef → Any
                                                  +
                                                3. + + +

                                                  + + final + def + + + ==(arg0: Any): Boolean + +

                                                  + + Permalink + + +
                                                  Definition Classes
                                                  AnyRef → Any
                                                  +
                                                4. + + +

                                                  + + final + def + + + asInstanceOf[T0]: T0 + +

                                                  + + Permalink + + +
                                                  Definition Classes
                                                  Any
                                                  +
                                                5. + + +

                                                  + + + def + + + clone(): AnyRef + +

                                                  + + Permalink + + +
                                                  Attributes
                                                  protected[java.lang]
                                                  Definition Classes
                                                  AnyRef
                                                  Annotations
                                                  + @throws( + + ... + ) + +
                                                  +
                                                6. + + +

                                                  + + final + def + + + eq(arg0: AnyRef): Boolean + +

                                                  + + Permalink + + +
                                                  Definition Classes
                                                  AnyRef
                                                  +
                                                7. + + +

                                                  + + + def + + + equals(arg0: Any): Boolean + +

                                                  + + Permalink + + +
                                                  Definition Classes
                                                  AnyRef → Any
                                                  +
                                                8. + + +

                                                  + + + def + + + finalize(): Unit + +

                                                  + + Permalink + + +
                                                  Attributes
                                                  protected[java.lang]
                                                  Definition Classes
                                                  AnyRef
                                                  Annotations
                                                  + @throws( + + classOf[java.lang.Throwable] + ) + +
                                                  +
                                                9. + + +

                                                  + + + def + + + getAverageListAllFromDF(df: DataFrame): Array[Double] + +

                                                  + + Permalink + + +
                                                  Annotations
                                                  + @throws( + + classOf[KsbException] + ) + +
                                                  +
                                                10. + + +

                                                  + + final + def + + + getClass(): Class[_] + +

                                                  + + Permalink + + +
                                                  Definition Classes
                                                  AnyRef → Any
                                                  +
                                                11. + + +

                                                  + + + def + + + hashCode(): Int + +

                                                  + + Permalink + + +
                                                  Definition Classes
                                                  AnyRef → Any
                                                  +
                                                12. + + +

                                                  + + final + def + + + isInstanceOf[T0]: Boolean + +

                                                  + + Permalink + + +
                                                  Definition Classes
                                                  Any
                                                  +
                                                13. + + +

                                                  + + final + def + + + ne(arg0: AnyRef): Boolean + +

                                                  + + Permalink + + +
                                                  Definition Classes
                                                  AnyRef
                                                  +
                                                14. + + +

                                                  + + final + def + + + notify(): Unit + +

                                                  + + Permalink + + +
                                                  Definition Classes
                                                  AnyRef
                                                  +
                                                15. + + +

                                                  + + final + def + + + notifyAll(): Unit + +

                                                  + + Permalink + + +
                                                  Definition Classes
                                                  AnyRef
                                                  +
                                                16. + + +

                                                  + + + def + + + round(input: Double, decimal: Int): Double + +

                                                  + + Permalink + + + +
                                                17. + + +

                                                  + + final + def + + + synchronized[T0](arg0: ⇒ T0): T0 + +

                                                  + + Permalink + + +
                                                  Definition Classes
                                                  AnyRef
                                                  +
                                                18. + + +

                                                  + + + def + + + toString(): String + +

                                                  + + Permalink + + +
                                                  Definition Classes
                                                  AnyRef → Any
                                                  +
                                                19. + + +

                                                  + + final + def + + + wait(): Unit + +

                                                  + + Permalink + + +
                                                  Definition Classes
                                                  AnyRef
                                                  Annotations
                                                  + @throws( + + ... + ) + +
                                                  +
                                                20. + + +

                                                  + + final + def + + + wait(arg0: Long, arg1: Int): Unit + +

                                                  + + Permalink + + +
                                                  Definition Classes
                                                  AnyRef
                                                  Annotations
                                                  + @throws( + + ... + ) + +
                                                  +
                                                21. + + +

                                                  + + final + def + + + wait(arg0: Long): Unit + +

                                                  + + Permalink + + +
                                                  Definition Classes
                                                  AnyRef
                                                  Annotations
                                                  + @throws( + + ... + ) + +
                                                  +
                                                +
                                                + + + + +
                                                + +
                                                +
                                                +

                                                Inherited from AnyRef

                                                +
                                                +

                                                Inherited from Any

                                                +
                                                + +
                                                + +
                                                +
                                                +

                                                Ungrouped

                                                + +
                                                +
                                                + +
                                                + +
                                                + + + + + + diff --git a/manual1903/api_reference/components/scaladocs/ksb/csle/component/operator/util/DataTypeUtil$.html b/manual1903/api_reference/components/scaladocs/ksb/csle/component/operator/util/DataTypeUtil$.html new file mode 100644 index 0000000000000000000000000000000000000000..74620fc413b2d10bf3299cb046453f1d01a7d3e8 --- /dev/null +++ b/manual1903/api_reference/components/scaladocs/ksb/csle/component/operator/util/DataTypeUtil$.html @@ -0,0 +1,516 @@ + + + + DataTypeUtil - KSB COMPONENTS Scala App Project 1.0-SNAPSHOT API - ksb.csle.component.operator.util.DataTypeUtil + + + + + + + + + + + + + + + +
                                                + Object +

                                                ksb.csle.component.operator.util

                                                +

                                                DataTypeUtil

                                                Related Doc: + package util +

                                                + + Permalink + + +
                                                + +

                                                + + + object + + + DataTypeUtil + +

                                                + +
                                                + Linear Supertypes +
                                                AnyRef, Any
                                                +
                                                + + +
                                                +
                                                +
                                                + Ordering +
                                                  + +
                                                1. Alphabetic
                                                2. +
                                                3. By Inheritance
                                                4. +
                                                +
                                                +
                                                + Inherited
                                                +
                                                +
                                                  +
                                                1. DataTypeUtil
                                                2. AnyRef
                                                3. Any
                                                4. +
                                                +
                                                + +
                                                  +
                                                1. Hide All
                                                2. +
                                                3. Show All
                                                4. +
                                                +
                                                +
                                                + Visibility +
                                                1. Public
                                                2. All
                                                +
                                                +
                                                + +
                                                +
                                                + + + + + + +
                                                +

                                                Value Members

                                                +
                                                1. + + +

                                                  + + final + def + + + !=(arg0: Any): Boolean + +

                                                  + + Permalink + + +
                                                  Definition Classes
                                                  AnyRef → Any
                                                  +
                                                2. + + +

                                                  + + final + def + + + ##(): Int + +

                                                  + + Permalink + + +
                                                  Definition Classes
                                                  AnyRef → Any
                                                  +
                                                3. + + +

                                                  + + final + def + + + ==(arg0: Any): Boolean + +

                                                  + + Permalink + + +
                                                  Definition Classes
                                                  AnyRef → Any
                                                  +
                                                4. + + +

                                                  + + final + def + + + asInstanceOf[T0]: T0 + +

                                                  + + Permalink + + +
                                                  Definition Classes
                                                  Any
                                                  +
                                                5. + + +

                                                  + + + def + + + castAnyToDobule(in: Any): Double + +

                                                  + + Permalink + + + +
                                                6. + + +

                                                  + + + def + + + clone(): AnyRef + +

                                                  + + Permalink + + +
                                                  Attributes
                                                  protected[java.lang]
                                                  Definition Classes
                                                  AnyRef
                                                  Annotations
                                                  + @throws( + + ... + ) + +
                                                  +
                                                7. + + +

                                                  + + final + def + + + eq(arg0: AnyRef): Boolean + +

                                                  + + Permalink + + +
                                                  Definition Classes
                                                  AnyRef
                                                  +
                                                8. + + +

                                                  + + + def + + + equals(arg0: Any): Boolean + +

                                                  + + Permalink + + +
                                                  Definition Classes
                                                  AnyRef → Any
                                                  +
                                                9. + + +

                                                  + + + def + + + finalize(): Unit + +

                                                  + + Permalink + + +
                                                  Attributes
                                                  protected[java.lang]
                                                  Definition Classes
                                                  AnyRef
                                                  Annotations
                                                  + @throws( + + classOf[java.lang.Throwable] + ) + +
                                                  +
                                                10. + + +

                                                  + + final + def + + + getClass(): Class[_] + +

                                                  + + Permalink + + +
                                                  Definition Classes
                                                  AnyRef → Any
                                                  +
                                                11. + + +

                                                  + + + def + + + hashCode(): Int + +

                                                  + + Permalink + + +
                                                  Definition Classes
                                                  AnyRef → Any
                                                  +
                                                12. + + +

                                                  + + final + def + + + isInstanceOf[T0]: Boolean + +

                                                  + + Permalink + + +
                                                  Definition Classes
                                                  Any
                                                  +
                                                13. + + +

                                                  + + + def + + + isNumericType(in: DataType): Boolean + +

                                                  + + Permalink + + + +
                                                14. + + +

                                                  + + final + def + + + ne(arg0: AnyRef): Boolean + +

                                                  + + Permalink + + +
                                                  Definition Classes
                                                  AnyRef
                                                  +
                                                15. + + +

                                                  + + final + def + + + notify(): Unit + +

                                                  + + Permalink + + +
                                                  Definition Classes
                                                  AnyRef
                                                  +
                                                16. + + +

                                                  + + final + def + + + notifyAll(): Unit + +

                                                  + + Permalink + + +
                                                  Definition Classes
                                                  AnyRef
                                                  +
                                                17. + + +

                                                  + + final + def + + + synchronized[T0](arg0: ⇒ T0): T0 + +

                                                  + + Permalink + + +
                                                  Definition Classes
                                                  AnyRef
                                                  +
                                                18. + + +

                                                  + + + def + + + toString(): String + +

                                                  + + Permalink + + +
                                                  Definition Classes
                                                  AnyRef → Any
                                                  +
                                                19. + + +

                                                  + + final + def + + + wait(): Unit + +

                                                  + + Permalink + + +
                                                  Definition Classes
                                                  AnyRef
                                                  Annotations
                                                  + @throws( + + ... + ) + +
                                                  +
                                                20. + + +

                                                  + + final + def + + + wait(arg0: Long, arg1: Int): Unit + +

                                                  + + Permalink + + +
                                                  Definition Classes
                                                  AnyRef
                                                  Annotations
                                                  + @throws( + + ... + ) + +
                                                  +
                                                21. + + +

                                                  + + final + def + + + wait(arg0: Long): Unit + +

                                                  + + Permalink + + +
                                                  Definition Classes
                                                  AnyRef
                                                  Annotations
                                                  + @throws( + + ... + ) + +
                                                  +
                                                +
                                                + + + + +
                                                + +
                                                +
                                                +

                                                Inherited from AnyRef

                                                +
                                                +

                                                Inherited from Any

                                                +
                                                + +
                                                + +
                                                +
                                                +

                                                Ungrouped

                                                + +
                                                +
                                                + +
                                                + +
                                                + + + + + + diff --git a/manual1903/api_reference/components/scaladocs/ksb/csle/component/operator/util/MedianUtil$.html b/manual1903/api_reference/components/scaladocs/ksb/csle/component/operator/util/MedianUtil$.html new file mode 100644 index 0000000000000000000000000000000000000000..696e08a5b68b929aafe7e1127c7a817d83bc29c2 --- /dev/null +++ b/manual1903/api_reference/components/scaladocs/ksb/csle/component/operator/util/MedianUtil$.html @@ -0,0 +1,501 @@ + + + + MedianUtil - KSB COMPONENTS Scala App Project 1.0-SNAPSHOT API - ksb.csle.component.operator.util.MedianUtil + + + + + + + + + + + + + + + +
                                                + Object +

                                                ksb.csle.component.operator.util

                                                +

                                                MedianUtil

                                                Related Doc: + package util +

                                                + + Permalink + + +
                                                + +

                                                + + + object + + + MedianUtil + +

                                                + +

                                                MedianUtil object to calculate the median value of a specific column in a dataframe. +

                                                + Linear Supertypes +
                                                AnyRef, Any
                                                +
                                                + + +
                                                +
                                                +
                                                + Ordering +
                                                  + +
                                                1. Alphabetic
                                                2. +
                                                3. By Inheritance
                                                4. +
                                                +
                                                +
                                                + Inherited
                                                +
                                                +
                                                  +
                                                1. MedianUtil
                                                2. AnyRef
                                                3. Any
                                                4. +
                                                +
                                                + +
                                                  +
                                                1. Hide All
                                                2. +
                                                3. Show All
                                                4. +
                                                +
                                                +
                                                + Visibility +
                                                1. Public
                                                2. All
                                                +
                                                +
                                                + +
                                                +
                                                + + + + + + +
                                                +

                                                Value Members

                                                +
                                                1. + + +

                                                  + + final + def + + + !=(arg0: Any): Boolean + +

                                                  + + Permalink + + +
                                                  Definition Classes
                                                  AnyRef → Any
                                                  +
                                                2. + + +

                                                  + + final + def + + + ##(): Int + +

                                                  + + Permalink + + +
                                                  Definition Classes
                                                  AnyRef → Any
                                                  +
                                                3. + + +

                                                  + + final + def + + + ==(arg0: Any): Boolean + +

                                                  + + Permalink + + +
                                                  Definition Classes
                                                  AnyRef → Any
                                                  +
                                                4. + + +

                                                  + + final + def + + + asInstanceOf[T0]: T0 + +

                                                  + + Permalink + + +
                                                  Definition Classes
                                                  Any
                                                  +
                                                5. + + +

                                                  + + + def + + + clone(): AnyRef + +

                                                  + + Permalink + + +
                                                  Attributes
                                                  protected[java.lang]
                                                  Definition Classes
                                                  AnyRef
                                                  Annotations
                                                  + @throws( + + ... + ) + +
                                                  +
                                                6. + + +

                                                  + + final + def + + + eq(arg0: AnyRef): Boolean + +

                                                  + + Permalink + + +
                                                  Definition Classes
                                                  AnyRef
                                                  +
                                                7. + + +

                                                  + + + def + + + equals(arg0: Any): Boolean + +

                                                  + + Permalink + + +
                                                  Definition Classes
                                                  AnyRef → Any
                                                  +
                                                8. + + +

                                                  + + + def + + + finalize(): Unit + +

                                                  + + Permalink + + +
                                                  Attributes
                                                  protected[java.lang]
                                                  Definition Classes
                                                  AnyRef
                                                  Annotations
                                                  + @throws( + + classOf[java.lang.Throwable] + ) + +
                                                  +
                                                9. + + +

                                                  + + final + def + + + getClass(): Class[_] + +

                                                  + + Permalink + + +
                                                  Definition Classes
                                                  AnyRef → Any
                                                  +
                                                10. + + +

                                                  + + + def + + + hashCode(): Int + +

                                                  + + Permalink + + +
                                                  Definition Classes
                                                  AnyRef → Any
                                                  +
                                                11. + + +

                                                  + + final + def + + + isInstanceOf[T0]: Boolean + +

                                                  + + Permalink + + +
                                                  Definition Classes
                                                  Any
                                                  +
                                                12. + + +

                                                  + + + def + + + median(dataset: Dataset[Row], colNames: Array[String]): Map[String, Any] + +

                                                  + + Permalink + + +

                                                  Calculates a median value using following params.

                                                  Calculates a median value using following params. +

                                                  dataset

                                                  Input dataframe.

                                                  colNames

                                                  The column names to be calculated.

                                                  returns

                                                  Map[String, Any] The map of colNames and median values.

                                                  +
                                                13. + + +

                                                  + + final + def + + + ne(arg0: AnyRef): Boolean + +

                                                  + + Permalink + + +
                                                  Definition Classes
                                                  AnyRef
                                                  +
                                                14. + + +

                                                  + + final + def + + + notify(): Unit + +

                                                  + + Permalink + + +
                                                  Definition Classes
                                                  AnyRef
                                                  +
                                                15. + + +

                                                  + + final + def + + + notifyAll(): Unit + +

                                                  + + Permalink + + +
                                                  Definition Classes
                                                  AnyRef
                                                  +
                                                16. + + +

                                                  + + final + def + + + synchronized[T0](arg0: ⇒ T0): T0 + +

                                                  + + Permalink + + +
                                                  Definition Classes
                                                  AnyRef
                                                  +
                                                17. + + +

                                                  + + + def + + + toString(): String + +

                                                  + + Permalink + + +
                                                  Definition Classes
                                                  AnyRef → Any
                                                  +
                                                18. + + +

                                                  + + final + def + + + wait(): Unit + +

                                                  + + Permalink + + +
                                                  Definition Classes
                                                  AnyRef
                                                  Annotations
                                                  + @throws( + + ... + ) + +
                                                  +
                                                19. + + +

                                                  + + final + def + + + wait(arg0: Long, arg1: Int): Unit + +

                                                  + + Permalink + + +
                                                  Definition Classes
                                                  AnyRef
                                                  Annotations
                                                  + @throws( + + ... + ) + +
                                                  +
                                                20. + + +

                                                  + + final + def + + + wait(arg0: Long): Unit + +

                                                  + + Permalink + + +
                                                  Definition Classes
                                                  AnyRef
                                                  Annotations
                                                  + @throws( + + ... + ) + +
                                                  +
                                                +
                                                + + + + +
                                                + +
                                                +
                                                +

                                                Inherited from AnyRef

                                                +
                                                +

                                                Inherited from Any

                                                +
                                                + +
                                                + +
                                                +
                                                +

                                                Ungrouped

                                                + +
                                                +
                                                + +
                                                + +
                                                + + + + + + diff --git a/manual1903/api_reference/components/scaladocs/ksb/csle/component/operator/util/Utils$.html b/manual1903/api_reference/components/scaladocs/ksb/csle/component/operator/util/Utils$.html new file mode 100644 index 0000000000000000000000000000000000000000..650df4f45e62380102725ec2705e2b2d13f52efe --- /dev/null +++ b/manual1903/api_reference/components/scaladocs/ksb/csle/component/operator/util/Utils$.html @@ -0,0 +1,643 @@ + + + + Utils - KSB COMPONENTS Scala App Project 1.0-SNAPSHOT API - ksb.csle.component.operator.util.Utils + + + + + + + + + + + + + + + +
                                                + Object +

                                                ksb.csle.component.operator.util

                                                +

                                                Utils

                                                Related Doc: + package util +

                                                + + Permalink + + +
                                                + +

                                                + + + object + + + Utils + +

                                                + +

                                                Utils object to use in data preprocessing classes. +

                                                + Linear Supertypes +
                                                AnyRef, Any
                                                +
                                                + + +
                                                +
                                                +
                                                + Ordering +
                                                  + +
                                                1. Alphabetic
                                                2. +
                                                3. By Inheritance
                                                4. +
                                                +
                                                +
                                                + Inherited
                                                +
                                                +
                                                  +
                                                1. Utils
                                                2. AnyRef
                                                3. Any
                                                4. +
                                                +
                                                + +
                                                  +
                                                1. Hide All
                                                2. +
                                                3. Show All
                                                4. +
                                                +
                                                +
                                                + Visibility +
                                                1. Public
                                                2. All
                                                +
                                                +
                                                + +
                                                +
                                                + + + + + + +
                                                +

                                                Value Members

                                                +
                                                1. + + +

                                                  + + final + def + + + !=(arg0: Any): Boolean + +

                                                  + + Permalink + + +
                                                  Definition Classes
                                                  AnyRef → Any
                                                  +
                                                2. + + +

                                                  + + final + def + + + ##(): Int + +

                                                  + + Permalink + + +
                                                  Definition Classes
                                                  AnyRef → Any
                                                  +
                                                3. + + +

                                                  + + final + def + + + ==(arg0: Any): Boolean + +

                                                  + + Permalink + + +
                                                  Definition Classes
                                                  AnyRef → Any
                                                  +
                                                4. + + +

                                                  + + + val + + + DEBUG: Boolean + +

                                                  + + Permalink + + + +
                                                5. + + +

                                                  + + + val + + + SHOW_NUM: Int + +

                                                  + + Permalink + + + +
                                                6. + + +

                                                  + + final + def + + + asInstanceOf[T0]: T0 + +

                                                  + + Permalink + + +
                                                  Definition Classes
                                                  Any
                                                  +
                                                7. + + +

                                                  + + + def + + + checkAggregateMethods(method: String): String + +

                                                  + + Permalink + + +

                                                  Checkes aggregate methods using following params.

                                                  Checkes aggregate methods using following params. +

                                                  method

                                                  The aggregate method to be checked.

                                                  returns

                                                  String The result string of method to be checked.

                                                  +
                                                8. + + +

                                                  + + + def + + + clone(): AnyRef + +

                                                  + + Permalink + + +
                                                  Attributes
                                                  protected[java.lang]
                                                  Definition Classes
                                                  AnyRef
                                                  Annotations
                                                  + @throws( + + ... + ) + +
                                                  +
                                                9. + + +

                                                  + + final + def + + + eq(arg0: AnyRef): Boolean + +

                                                  + + Permalink + + +
                                                  Definition Classes
                                                  AnyRef
                                                  +
                                                10. + + +

                                                  + + + def + + + equals(arg0: Any): Boolean + +

                                                  + + Permalink + + +
                                                  Definition Classes
                                                  AnyRef → Any
                                                  +
                                                11. + + +

                                                  + + + def + + + finalize(): Unit + +

                                                  + + Permalink + + +
                                                  Attributes
                                                  protected[java.lang]
                                                  Definition Classes
                                                  AnyRef
                                                  Annotations
                                                  + @throws( + + classOf[java.lang.Throwable] + ) + +
                                                  +
                                                12. + + +

                                                  + + final + def + + + getClass(): Class[_] + +

                                                  + + Permalink + + +
                                                  Definition Classes
                                                  AnyRef → Any
                                                  +
                                                13. + + +

                                                  + + + def + + + getColumnNames(columnIdList: List[Integer], src: Dataset[Row]): Array[String] + +

                                                  + + Permalink + + +

                                                  Gets multiple column names using following params.

                                                  Gets multiple column names using following params. +

                                                  columnIdList

                                                  The column ids list to obtain the column names.

                                                  src

                                                  Input dataframe.

                                                  returns

                                                  Array[String] The array string of column names.

                                                  +
                                                14. + + +

                                                  + + + def + + + getSingleColumnName(columnId: Integer, src: Dataset[Row]): String + +

                                                  + + Permalink + + +

                                                  Gets single column name using following params.

                                                  Gets single column name using following params. +

                                                  columnId

                                                  The column id to obtain the column name.

                                                  src

                                                  Input dataframe.

                                                  returns

                                                  String The string of column name.

                                                  +
                                                15. + + +

                                                  + + + def + + + hashCode(): Int + +

                                                  + + Permalink + + +
                                                  Definition Classes
                                                  AnyRef → Any
                                                  +
                                                16. + + +

                                                  + + final + def + + + isInstanceOf[T0]: Boolean + +

                                                  + + Permalink + + +
                                                  Definition Classes
                                                  Any
                                                  +
                                                17. + + +

                                                  + + + def + + + mergeFile(srcPath: String, dstPath: String): Unit + +

                                                  + + Permalink + + +

                                                  Merges files using following params.

                                                  Merges files using following params. +

                                                  srcPath

                                                  The file source path.

                                                  dstPath

                                                  The file destination path.

                                                  returns

                                                  Unit.

                                                  +
                                                18. + + +

                                                  + + final + def + + + ne(arg0: AnyRef): Boolean + +

                                                  + + Permalink + + +
                                                  Definition Classes
                                                  AnyRef
                                                  +
                                                19. + + +

                                                  + + final + def + + + notify(): Unit + +

                                                  + + Permalink + + +
                                                  Definition Classes
                                                  AnyRef
                                                  +
                                                20. + + +

                                                  + + final + def + + + notifyAll(): Unit + +

                                                  + + Permalink + + +
                                                  Definition Classes
                                                  AnyRef
                                                  +
                                                21. + + +

                                                  + + + def + + + printDEBUG(data: Dataset[Row]): Unit + +

                                                  + + Permalink + + +

                                                  Prints debug information using following params.

                                                  Prints debug information using following params. +It shows 6 rows by default. +

                                                  data

                                                  Input dataframe.

                                                  returns

                                                  Unit.

                                                  +
                                                22. + + +

                                                  + + + def + + + printDEBUG(data: Dataset[Row], num: Int): Unit + +

                                                  + + Permalink + + +

                                                  Prints debug information using following params.

                                                  Prints debug information using following params. +

                                                  data

                                                  Input dataframe.

                                                  num

                                                  The number of rows to be shown.

                                                  returns

                                                  Unit.

                                                  +
                                                23. + + +

                                                  + + + def + + + printNColumns(data: Dataset[Row], num: Int): Dataset[Row] + +

                                                  + + Permalink + + + +
                                                24. + + +

                                                  + + final + def + + + synchronized[T0](arg0: ⇒ T0): T0 + +

                                                  + + Permalink + + +
                                                  Definition Classes
                                                  AnyRef
                                                  +
                                                25. + + +

                                                  + + + def + + + toString(): String + +

                                                  + + Permalink + + +
                                                  Definition Classes
                                                  AnyRef → Any
                                                  +
                                                26. + + +

                                                  + + final + def + + + wait(): Unit + +

                                                  + + Permalink + + +
                                                  Definition Classes
                                                  AnyRef
                                                  Annotations
                                                  + @throws( + + ... + ) + +
                                                  +
                                                27. + + +

                                                  + + final + def + + + wait(arg0: Long, arg1: Int): Unit + +

                                                  + + Permalink + + +
                                                  Definition Classes
                                                  AnyRef
                                                  Annotations
                                                  + @throws( + + ... + ) + +
                                                  +
                                                28. + + +

                                                  + + final + def + + + wait(arg0: Long): Unit + +

                                                  + + Permalink + + +
                                                  Definition Classes
                                                  AnyRef
                                                  Annotations
                                                  + @throws( + + ... + ) + +
                                                  +
                                                +
                                                + + + + +
                                                + +
                                                +
                                                +

                                                Inherited from AnyRef

                                                +
                                                +

                                                Inherited from Any

                                                +
                                                + +
                                                + +
                                                +
                                                +

                                                Ungrouped

                                                + +
                                                +
                                                + +
                                                + +
                                                + + + + + + diff --git a/manual1903/api_reference/components/scaladocs/ksb/csle/component/operator/util/package.html b/manual1903/api_reference/components/scaladocs/ksb/csle/component/operator/util/package.html new file mode 100644 index 0000000000000000000000000000000000000000..36eed094f99eb71670bfadbde046b6959fb4c183 --- /dev/null +++ b/manual1903/api_reference/components/scaladocs/ksb/csle/component/operator/util/package.html @@ -0,0 +1,169 @@ + + + + util - KSB COMPONENTS Scala App Project 1.0-SNAPSHOT API - ksb.csle.component.operator.util + + + + + + + + + + + + + + + +
                                                + Package +

                                                ksb.csle.component.operator

                                                +

                                                util

                                                + + Permalink + + +
                                                + +

                                                + + + package + + + util + +

                                                + +
                                                + + +
                                                +
                                                + + +
                                                + Visibility +
                                                1. Public
                                                2. All
                                                +
                                                +
                                                + +
                                                +
                                                + + + + + + +
                                                +

                                                Value Members

                                                +
                                                1. + + +

                                                  + + + object + + + CalculatorUtils + +

                                                  + + Permalink + + + +
                                                2. + + +

                                                  + + + object + + + DataTypeUtil + +

                                                  + + Permalink + + + +
                                                3. + + +

                                                  + + + object + + + MedianUtil + +

                                                  + + Permalink + + +

                                                  MedianUtil object to calculate the median value of a specific column in a dataframe.

                                                  +
                                                4. + + +

                                                  + + + object + + + Utils + +

                                                  + + Permalink + + +

                                                  Utils object to use in data preprocessing classes.

                                                  +
                                                +
                                                + + + + +
                                                + +
                                                + + +
                                                + +
                                                +
                                                +

                                                Ungrouped

                                                + +
                                                +
                                                + +
                                                + +
                                                + + + + + + diff --git a/manual1903/api_reference/components/scaladocs/ksb/csle/component/package.html b/manual1903/api_reference/components/scaladocs/ksb/csle/component/package.html new file mode 100644 index 0000000000000000000000000000000000000000..f1e055a4933f51bbfcac80af4f1cb898f70160c9 --- /dev/null +++ b/manual1903/api_reference/components/scaladocs/ksb/csle/component/package.html @@ -0,0 +1,220 @@ + + + + component - KSB COMPONENTS Scala App Project 1.0-SNAPSHOT API - ksb.csle.component + + + + + + + + + + + + + + + +
                                                + Package +

                                                ksb.csle

                                                +

                                                component

                                                + + Permalink + + +
                                                + +

                                                + + + package + + + component + +

                                                + +
                                                + + +
                                                +
                                                + + +
                                                + Visibility +
                                                1. Public
                                                2. All
                                                +
                                                +
                                                + +
                                                +
                                                + + + + + + +
                                                +

                                                Value Members

                                                +
                                                1. + + +

                                                  + + + package + + + controller + +

                                                  + + Permalink + + + +
                                                2. + + +

                                                  + + + package + + + exception + +

                                                  + + Permalink + + + +
                                                3. + + +

                                                  + + + package + + + ingestion + +

                                                  + + Permalink + + + +
                                                4. + + +

                                                  + + + package + + + operator + +

                                                  + + Permalink + + + +
                                                5. + + +

                                                  + + + package + + + reader + +

                                                  + + Permalink + + + +
                                                6. + + +

                                                  + + + package + + + runner + +

                                                  + + Permalink + + + +
                                                7. + + +

                                                  + + + package + + + writer + +

                                                  + + Permalink + + + +
                                                +
                                                + + + + +
                                                + +
                                                + + +
                                                + +
                                                +
                                                +

                                                Ungrouped

                                                + +
                                                +
                                                + +
                                                + +
                                                + + + + + + diff --git a/manual1903/api_reference/components/scaladocs/ksb/csle/component/reader/FileReader$.html b/manual1903/api_reference/components/scaladocs/ksb/csle/component/reader/FileReader$.html new file mode 100644 index 0000000000000000000000000000000000000000..6fc2b7af9c2953e848d54fcca8a03149f5f628f1 --- /dev/null +++ b/manual1903/api_reference/components/scaladocs/ksb/csle/component/reader/FileReader$.html @@ -0,0 +1,505 @@ + + + + FileReader - KSB COMPONENTS Scala App Project 1.0-SNAPSHOT API - ksb.csle.component.reader.FileReader + + + + + + + + + + + + + + + + + +

                                                + + + object + + + FileReader extends Serializable + +

                                                + +
                                                + Linear Supertypes +
                                                Serializable, Serializable, AnyRef, Any
                                                +
                                                + + +
                                                +
                                                +
                                                + Ordering +
                                                  + +
                                                1. Alphabetic
                                                2. +
                                                3. By Inheritance
                                                4. +
                                                +
                                                +
                                                + Inherited
                                                +
                                                +
                                                  +
                                                1. FileReader
                                                2. Serializable
                                                3. Serializable
                                                4. AnyRef
                                                5. Any
                                                6. +
                                                +
                                                + +
                                                  +
                                                1. Hide All
                                                2. +
                                                3. Show All
                                                4. +
                                                +
                                                +
                                                + Visibility +
                                                1. Public
                                                2. All
                                                +
                                                +
                                                + +
                                                +
                                                + + + + + + +
                                                +

                                                Value Members

                                                +
                                                1. + + +

                                                  + + final + def + + + !=(arg0: Any): Boolean + +

                                                  + + Permalink + + +
                                                  Definition Classes
                                                  AnyRef → Any
                                                  +
                                                2. + + +

                                                  + + final + def + + + ##(): Int + +

                                                  + + Permalink + + +
                                                  Definition Classes
                                                  AnyRef → Any
                                                  +
                                                3. + + +

                                                  + + final + def + + + ==(arg0: Any): Boolean + +

                                                  + + Permalink + + +
                                                  Definition Classes
                                                  AnyRef → Any
                                                  +
                                                4. + + +

                                                  + + + def + + + apply(o: BatchReaderInfo): FileReader + +

                                                  + + Permalink + + + +
                                                5. + + +

                                                  + + final + def + + + asInstanceOf[T0]: T0 + +

                                                  + + Permalink + + +
                                                  Definition Classes
                                                  Any
                                                  +
                                                6. + + +

                                                  + + + def + + + clone(): AnyRef + +

                                                  + + Permalink + + +
                                                  Attributes
                                                  protected[java.lang]
                                                  Definition Classes
                                                  AnyRef
                                                  Annotations
                                                  + @throws( + + ... + ) + +
                                                  +
                                                7. + + +

                                                  + + final + def + + + eq(arg0: AnyRef): Boolean + +

                                                  + + Permalink + + +
                                                  Definition Classes
                                                  AnyRef
                                                  +
                                                8. + + +

                                                  + + + def + + + equals(arg0: Any): Boolean + +

                                                  + + Permalink + + +
                                                  Definition Classes
                                                  AnyRef → Any
                                                  +
                                                9. + + +

                                                  + + + def + + + finalize(): Unit + +

                                                  + + Permalink + + +
                                                  Attributes
                                                  protected[java.lang]
                                                  Definition Classes
                                                  AnyRef
                                                  Annotations
                                                  + @throws( + + classOf[java.lang.Throwable] + ) + +
                                                  +
                                                10. + + +

                                                  + + final + def + + + getClass(): Class[_] + +

                                                  + + Permalink + + +
                                                  Definition Classes
                                                  AnyRef → Any
                                                  +
                                                11. + + +

                                                  + + + def + + + hashCode(): Int + +

                                                  + + Permalink + + +
                                                  Definition Classes
                                                  AnyRef → Any
                                                  +
                                                12. + + +

                                                  + + final + def + + + isInstanceOf[T0]: Boolean + +

                                                  + + Permalink + + +
                                                  Definition Classes
                                                  Any
                                                  +
                                                13. + + +

                                                  + + final + def + + + ne(arg0: AnyRef): Boolean + +

                                                  + + Permalink + + +
                                                  Definition Classes
                                                  AnyRef
                                                  +
                                                14. + + +

                                                  + + final + def + + + notify(): Unit + +

                                                  + + Permalink + + +
                                                  Definition Classes
                                                  AnyRef
                                                  +
                                                15. + + +

                                                  + + final + def + + + notifyAll(): Unit + +

                                                  + + Permalink + + +
                                                  Definition Classes
                                                  AnyRef
                                                  +
                                                16. + + +

                                                  + + final + def + + + synchronized[T0](arg0: ⇒ T0): T0 + +

                                                  + + Permalink + + +
                                                  Definition Classes
                                                  AnyRef
                                                  +
                                                17. + + +

                                                  + + + def + + + toString(): String + +

                                                  + + Permalink + + +
                                                  Definition Classes
                                                  AnyRef → Any
                                                  +
                                                18. + + +

                                                  + + final + def + + + wait(): Unit + +

                                                  + + Permalink + + +
                                                  Definition Classes
                                                  AnyRef
                                                  Annotations
                                                  + @throws( + + ... + ) + +
                                                  +
                                                19. + + +

                                                  + + final + def + + + wait(arg0: Long, arg1: Int): Unit + +

                                                  + + Permalink + + +
                                                  Definition Classes
                                                  AnyRef
                                                  Annotations
                                                  + @throws( + + ... + ) + +
                                                  +
                                                20. + + +

                                                  + + final + def + + + wait(arg0: Long): Unit + +

                                                  + + Permalink + + +
                                                  Definition Classes
                                                  AnyRef
                                                  Annotations
                                                  + @throws( + + ... + ) + +
                                                  +
                                                +
                                                + + + + +
                                                + +
                                                +
                                                +

                                                Inherited from Serializable

                                                +
                                                +

                                                Inherited from Serializable

                                                +
                                                +

                                                Inherited from AnyRef

                                                +
                                                +

                                                Inherited from Any

                                                +
                                                + +
                                                + +
                                                +
                                                +

                                                Ungrouped

                                                + +
                                                +
                                                + +
                                                + +
                                                + + + + + + diff --git a/manual1903/api_reference/components/scaladocs/ksb/csle/component/reader/FileReader.html b/manual1903/api_reference/components/scaladocs/ksb/csle/component/reader/FileReader.html new file mode 100644 index 0000000000000000000000000000000000000000..06878e07437fa5f58ccafae15376c04e7cbbbd90 --- /dev/null +++ b/manual1903/api_reference/components/scaladocs/ksb/csle/component/reader/FileReader.html @@ -0,0 +1,615 @@ + + + + FileReader - KSB COMPONENTS Scala App Project 1.0-SNAPSHOT API - ksb.csle.component.reader.FileReader + + + + + + + + + + + + + + + + + +

                                                + + + class + + + FileReader extends BaseReader[DataFrame, BatchReaderInfo, SparkSession] + +

                                                + +

                                                :: ApplicationDeveloperApi ::

                                                Reader that loads records from one or more files. +

                                                + Linear Supertypes +
                                                BaseReader[DataFrame, BatchReaderInfo, SparkSession], BaseDoer, Logging, Serializable, Serializable, AnyRef, Any
                                                +
                                                + + +
                                                +
                                                +
                                                + Ordering +
                                                  + +
                                                1. Alphabetic
                                                2. +
                                                3. By Inheritance
                                                4. +
                                                +
                                                +
                                                + Inherited
                                                +
                                                +
                                                  +
                                                1. FileReader
                                                2. BaseReader
                                                3. BaseDoer
                                                4. Logging
                                                5. Serializable
                                                6. Serializable
                                                7. AnyRef
                                                8. Any
                                                9. +
                                                +
                                                + +
                                                  +
                                                1. Hide All
                                                2. +
                                                3. Show All
                                                4. +
                                                +
                                                +
                                                + Visibility +
                                                1. Public
                                                2. All
                                                +
                                                +
                                                + +
                                                +
                                                +
                                                +

                                                Instance Constructors

                                                +
                                                1. + + +

                                                  + + + new + + + FileReader(o: BatchReaderInfo) + +

                                                  + + Permalink + + +

                                                  o

                                                  Object that contains message + ksb.csle.common.proto.DatasourceProto.FileInfo + FileInfo contains attributes as follows:

                                                  • filePath: List of data file path (required)
                                                  • fileType: File type (optional)
                                                  • delimiter: Delimiter of each field (optional)
                                                  • field: Schema of input record (optional)
                                                  • header: True if has a header line (optional)

                                                  FileInfo

                                                  message FileInfo {
                                                  +  repeated string filePath = 1;
                                                  +  optional FileType fileType = 2 [default = JSON];
                                                  +  optional string delimiter = 3 [default = ","];
                                                  +  repeated FieldInfo field = 4;
                                                  +  optional bool header = 5 [default = false];
                                                  +  enum FileType {
                                                  +    CSV = 0;
                                                  +    JSON = 1;
                                                  +    PARQUET = 2;
                                                  +    TEXT = 3;
                                                  +  }
                                                  +}
                                                  +
                                                +
                                                + + + + + +
                                                +

                                                Value Members

                                                +
                                                1. + + +

                                                  + + final + def + + + !=(arg0: Any): Boolean + +

                                                  + + Permalink + + +
                                                  Definition Classes
                                                  AnyRef → Any
                                                  +
                                                2. + + +

                                                  + + final + def + + + ##(): Int + +

                                                  + + Permalink + + +
                                                  Definition Classes
                                                  AnyRef → Any
                                                  +
                                                3. + + +

                                                  + + final + def + + + ==(arg0: Any): Boolean + +

                                                  + + Permalink + + +
                                                  Definition Classes
                                                  AnyRef → Any
                                                  +
                                                4. + + +

                                                  + + final + def + + + asInstanceOf[T0]: T0 + +

                                                  + + Permalink + + +
                                                  Definition Classes
                                                  Any
                                                  +
                                                5. + + +

                                                  + + + def + + + clone(): AnyRef + +

                                                  + + Permalink + + +
                                                  Attributes
                                                  protected[java.lang]
                                                  Definition Classes
                                                  AnyRef
                                                  Annotations
                                                  + @throws( + + ... + ) + +
                                                  +
                                                6. + + +

                                                  + + + def + + + close: Unit + +

                                                  + + Permalink + + +

                                                  Close the FileReader.

                                                  Close the FileReader. +

                                                  Definition Classes
                                                  FileReader → BaseReader
                                                  +
                                                7. + + +

                                                  + + final + def + + + eq(arg0: AnyRef): Boolean + +

                                                  + + Permalink + + +
                                                  Definition Classes
                                                  AnyRef
                                                  +
                                                8. + + +

                                                  + + + def + + + equals(arg0: Any): Boolean + +

                                                  + + Permalink + + +
                                                  Definition Classes
                                                  AnyRef → Any
                                                  +
                                                9. + + +

                                                  + + + def + + + finalize(): Unit + +

                                                  + + Permalink + + +
                                                  Attributes
                                                  protected[java.lang]
                                                  Definition Classes
                                                  AnyRef
                                                  Annotations
                                                  + @throws( + + classOf[java.lang.Throwable] + ) + +
                                                  +
                                                10. + + +

                                                  + + final + def + + + getClass(): Class[_] + +

                                                  + + Permalink + + +
                                                  Definition Classes
                                                  AnyRef → Any
                                                  +
                                                11. + + +

                                                  + + + def + + + hashCode(): Int + +

                                                  + + Permalink + + +
                                                  Definition Classes
                                                  AnyRef → Any
                                                  +
                                                12. + + +

                                                  + + final + def + + + isInstanceOf[T0]: Boolean + +

                                                  + + Permalink + + +
                                                  Definition Classes
                                                  Any
                                                  +
                                                13. + + +

                                                  + + + val + + + logger: Logger + +

                                                  + + Permalink + + +
                                                  Attributes
                                                  protected
                                                  Definition Classes
                                                  Logging
                                                  +
                                                14. + + +

                                                  + + final + def + + + ne(arg0: AnyRef): Boolean + +

                                                  + + Permalink + + +
                                                  Definition Classes
                                                  AnyRef
                                                  +
                                                15. + + +

                                                  + + final + def + + + notify(): Unit + +

                                                  + + Permalink + + +
                                                  Definition Classes
                                                  AnyRef
                                                  +
                                                16. + + +

                                                  + + final + def + + + notifyAll(): Unit + +

                                                  + + Permalink + + +
                                                  Definition Classes
                                                  AnyRef
                                                  +
                                                17. + + +

                                                  + + + val + + + o: BatchReaderInfo + +

                                                  + + Permalink + + +

                                                  Object that contains message + ksb.csle.common.proto.DatasourceProto.FileInfo + FileInfo contains attributes as follows:

                                                  Object that contains message + ksb.csle.common.proto.DatasourceProto.FileInfo + FileInfo contains attributes as follows:

                                                  • filePath: List of data file path (required)
                                                  • fileType: File type (optional)
                                                  • delimiter: Delimiter of each field (optional)
                                                  • field: Schema of input record (optional)
                                                  • header: True if has a header line (optional)

                                                  FileInfo

                                                  message FileInfo {
                                                  +  repeated string filePath = 1;
                                                  +  optional FileType fileType = 2 [default = JSON];
                                                  +  optional string delimiter = 3 [default = ","];
                                                  +  repeated FieldInfo field = 4;
                                                  +  optional bool header = 5 [default = false];
                                                  +  enum FileType {
                                                  +    CSV = 0;
                                                  +    JSON = 1;
                                                  +    PARQUET = 2;
                                                  +    TEXT = 3;
                                                  +  }
                                                  +}
                                                  +
                                                18. + + +

                                                  + + + def + + + read(spark: SparkSession): DataFrame + +

                                                  + + Permalink + + +

                                                  Load records in as DataFrame from one or more files.

                                                  Load records in as DataFrame from one or more files. +

                                                  returns

                                                  DataFrame DataFrame read from one or more files.

                                                  Definition Classes
                                                  FileReader → BaseReader
                                                  +
                                                19. + + +

                                                  + + final + def + + + synchronized[T0](arg0: ⇒ T0): T0 + +

                                                  + + Permalink + + +
                                                  Definition Classes
                                                  AnyRef
                                                  +
                                                20. + + +

                                                  + + + def + + + toString(): String + +

                                                  + + Permalink + + +
                                                  Definition Classes
                                                  AnyRef → Any
                                                  +
                                                21. + + +

                                                  + + final + def + + + wait(): Unit + +

                                                  + + Permalink + + +
                                                  Definition Classes
                                                  AnyRef
                                                  Annotations
                                                  + @throws( + + ... + ) + +
                                                  +
                                                22. + + +

                                                  + + final + def + + + wait(arg0: Long, arg1: Int): Unit + +

                                                  + + Permalink + + +
                                                  Definition Classes
                                                  AnyRef
                                                  Annotations
                                                  + @throws( + + ... + ) + +
                                                  +
                                                23. + + +

                                                  + + final + def + + + wait(arg0: Long): Unit + +

                                                  + + Permalink + + +
                                                  Definition Classes
                                                  AnyRef
                                                  Annotations
                                                  + @throws( + + ... + ) + +
                                                  +
                                                +
                                                + + + + +
                                                + +
                                                +
                                                +

                                                Inherited from BaseReader[DataFrame, BatchReaderInfo, SparkSession]

                                                +
                                                +

                                                Inherited from BaseDoer

                                                +
                                                +

                                                Inherited from Logging

                                                +
                                                +

                                                Inherited from Serializable

                                                +
                                                +

                                                Inherited from Serializable

                                                +
                                                +

                                                Inherited from AnyRef

                                                +
                                                +

                                                Inherited from Any

                                                +
                                                + +
                                                + +
                                                +
                                                +

                                                Ungrouped

                                                + +
                                                +
                                                + +
                                                + +
                                                + + + + + + diff --git a/manual1903/api_reference/components/scaladocs/ksb/csle/component/reader/HBaseFuncAPI.html b/manual1903/api_reference/components/scaladocs/ksb/csle/component/reader/HBaseFuncAPI.html new file mode 100644 index 0000000000000000000000000000000000000000..f0652c2b4ff08dc785451846cc27348d6792e72d --- /dev/null +++ b/manual1903/api_reference/components/scaladocs/ksb/csle/component/reader/HBaseFuncAPI.html @@ -0,0 +1,590 @@ + + + + HBaseFuncAPI - KSB COMPONENTS Scala App Project 1.0-SNAPSHOT API - ksb.csle.component.reader.HBaseFuncAPI + + + + + + + + + + + + + + + +
                                                + Trait +

                                                ksb.csle.component.reader

                                                +

                                                HBaseFuncAPI

                                                Related Doc: + package reader +

                                                + + Permalink + + +
                                                + +

                                                + + + trait + + + HBaseFuncAPI extends Logging + +

                                                + +

                                                An utility class to interact with HBase. +

                                                + Linear Supertypes +
                                                Logging, AnyRef, Any
                                                +
                                                + + +
                                                +
                                                +
                                                + Ordering +
                                                  + +
                                                1. Alphabetic
                                                2. +
                                                3. By Inheritance
                                                4. +
                                                +
                                                +
                                                + Inherited
                                                +
                                                +
                                                  +
                                                1. HBaseFuncAPI
                                                2. Logging
                                                3. AnyRef
                                                4. Any
                                                5. +
                                                +
                                                + +
                                                  +
                                                1. Hide All
                                                2. +
                                                3. Show All
                                                4. +
                                                +
                                                +
                                                + Visibility +
                                                1. Public
                                                2. All
                                                +
                                                +
                                                + +
                                                +
                                                + + + + + + +
                                                +

                                                Value Members

                                                +
                                                1. + + +

                                                  + + final + def + + + !=(arg0: Any): Boolean + +

                                                  + + Permalink + + +
                                                  Definition Classes
                                                  AnyRef → Any
                                                  +
                                                2. + + +

                                                  + + final + def + + + ##(): Int + +

                                                  + + Permalink + + +
                                                  Definition Classes
                                                  AnyRef → Any
                                                  +
                                                3. + + +

                                                  + + final + def + + + ==(arg0: Any): Boolean + +

                                                  + + Permalink + + +
                                                  Definition Classes
                                                  AnyRef → Any
                                                  +
                                                4. + + +

                                                  + + final + def + + + asInstanceOf[T0]: T0 + +

                                                  + + Permalink + + +
                                                  Definition Classes
                                                  Any
                                                  +
                                                5. + + +

                                                  + + + def + + + clone(): AnyRef + +

                                                  + + Permalink + + +
                                                  Attributes
                                                  protected[java.lang]
                                                  Definition Classes
                                                  AnyRef
                                                  Annotations
                                                  + @throws( + + ... + ) + +
                                                  +
                                                6. + + +

                                                  + + final + def + + + eq(arg0: AnyRef): Boolean + +

                                                  + + Permalink + + +
                                                  Definition Classes
                                                  AnyRef
                                                  +
                                                7. + + +

                                                  + + + def + + + equals(arg0: Any): Boolean + +

                                                  + + Permalink + + +
                                                  Definition Classes
                                                  AnyRef → Any
                                                  +
                                                8. + + +

                                                  + + + def + + + executeQuery(stmt: Statement, sql: String): ResultSet + +

                                                  + + Permalink + + + +
                                                9. + + +

                                                  + + + def + + + finalize(): Unit + +

                                                  + + Permalink + + +
                                                  Attributes
                                                  protected[java.lang]
                                                  Definition Classes
                                                  AnyRef
                                                  Annotations
                                                  + @throws( + + classOf[java.lang.Throwable] + ) + +
                                                  +
                                                10. + + +

                                                  + + final + def + + + getClass(): Class[_] + +

                                                  + + Permalink + + +
                                                  Definition Classes
                                                  AnyRef → Any
                                                  +
                                                11. + + +

                                                  + + + def + + + getTableSchema(stmt: Statement, tableName: String): StructType + +

                                                  + + Permalink + + + +
                                                12. + + +

                                                  + + + def + + + getValueByType(rs: ResultSet, typeStr: String, index: Int): Any + +

                                                  + + Permalink + + + +
                                                13. + + +

                                                  + + + def + + + hashCode(): Int + +

                                                  + + Permalink + + +
                                                  Definition Classes
                                                  AnyRef → Any
                                                  +
                                                14. + + +

                                                  + + final + def + + + isInstanceOf[T0]: Boolean + +

                                                  + + Permalink + + +
                                                  Definition Classes
                                                  Any
                                                  +
                                                15. + + +

                                                  + + + val + + + logger: Logger + +

                                                  + + Permalink + + +
                                                  Attributes
                                                  protected
                                                  Definition Classes
                                                  Logging
                                                  +
                                                16. + + +

                                                  + + final + def + + + ne(arg0: AnyRef): Boolean + +

                                                  + + Permalink + + +
                                                  Definition Classes
                                                  AnyRef
                                                  +
                                                17. + + +

                                                  + + final + def + + + notify(): Unit + +

                                                  + + Permalink + + +
                                                  Definition Classes
                                                  AnyRef
                                                  +
                                                18. + + +

                                                  + + final + def + + + notifyAll(): Unit + +

                                                  + + Permalink + + +
                                                  Definition Classes
                                                  AnyRef
                                                  +
                                                19. + + +

                                                  + + + def + + + read(spark: SparkSession, info: PhoenixInfo): DataFrame + +

                                                  + + Permalink + + + +
                                                20. + + +

                                                  + + final + def + + + synchronized[T0](arg0: ⇒ T0): T0 + +

                                                  + + Permalink + + +
                                                  Definition Classes
                                                  AnyRef
                                                  +
                                                21. + + +

                                                  + + + def + + + toDataFrameType(name: String, dataType: String): StructField + +

                                                  + + Permalink + + + +
                                                22. + + +

                                                  + + + def + + + toString(): String + +

                                                  + + Permalink + + +
                                                  Definition Classes
                                                  AnyRef → Any
                                                  +
                                                23. + + +

                                                  + + final + def + + + wait(): Unit + +

                                                  + + Permalink + + +
                                                  Definition Classes
                                                  AnyRef
                                                  Annotations
                                                  + @throws( + + ... + ) + +
                                                  +
                                                24. + + +

                                                  + + final + def + + + wait(arg0: Long, arg1: Int): Unit + +

                                                  + + Permalink + + +
                                                  Definition Classes
                                                  AnyRef
                                                  Annotations
                                                  + @throws( + + ... + ) + +
                                                  +
                                                25. + + +

                                                  + + final + def + + + wait(arg0: Long): Unit + +

                                                  + + Permalink + + +
                                                  Definition Classes
                                                  AnyRef
                                                  Annotations
                                                  + @throws( + + ... + ) + +
                                                  +
                                                +
                                                + + + + +
                                                + +
                                                +
                                                +

                                                Inherited from Logging

                                                +
                                                +

                                                Inherited from AnyRef

                                                +
                                                +

                                                Inherited from Any

                                                +
                                                + +
                                                + +
                                                +
                                                +

                                                Ungrouped

                                                + +
                                                +
                                                + +
                                                + +
                                                + + + + + + diff --git a/manual1903/api_reference/components/scaladocs/ksb/csle/component/reader/HttpClientReader.html b/manual1903/api_reference/components/scaladocs/ksb/csle/component/reader/HttpClientReader.html new file mode 100644 index 0000000000000000000000000000000000000000..afe76183ea111198c889d493e0027dfc489c99f4 --- /dev/null +++ b/manual1903/api_reference/components/scaladocs/ksb/csle/component/reader/HttpClientReader.html @@ -0,0 +1,650 @@ + + + + HttpClientReader - KSB COMPONENTS Scala App Project 1.0-SNAPSHOT API - ksb.csle.component.reader.HttpClientReader + + + + + + + + + + + + + + + +
                                                + Class +

                                                ksb.csle.component.reader

                                                +

                                                HttpClientReader

                                                Related Doc: + package reader +

                                                + + Permalink + + +
                                                + +

                                                + + + class + + + HttpClientReader extends BaseReader[InputDStream[String], StreamReaderInfo, SparkSession] + +

                                                + +

                                                :: ApplicationDeveloperApi :: +A receiver that receives responses from a http server through +http methods and store it in spark memory +

                                                + Linear Supertypes +
                                                BaseReader[InputDStream[String], StreamReaderInfo, SparkSession], BaseDoer, Logging, Serializable, Serializable, AnyRef, Any
                                                +
                                                + + +
                                                +
                                                +
                                                + Ordering +
                                                  + +
                                                1. Alphabetic
                                                2. +
                                                3. By Inheritance
                                                4. +
                                                +
                                                +
                                                + Inherited
                                                +
                                                +
                                                  +
                                                1. HttpClientReader
                                                2. BaseReader
                                                3. BaseDoer
                                                4. Logging
                                                5. Serializable
                                                6. Serializable
                                                7. AnyRef
                                                8. Any
                                                9. +
                                                +
                                                + +
                                                  +
                                                1. Hide All
                                                2. +
                                                3. Show All
                                                4. +
                                                +
                                                +
                                                + Visibility +
                                                1. Public
                                                2. All
                                                +
                                                +
                                                + +
                                                +
                                                +
                                                +

                                                Instance Constructors

                                                +
                                                1. + + +

                                                  + + + new + + + HttpClientReader(o: StreamReaderInfo) + +

                                                  + + Permalink + + +

                                                  o

                                                  Object that contains message + ksb.csle.common.proto.DatasourceProto.HttpClientInfo + HttpClientInfo contains attributes as follows:

                                                  • url: http server url includes hostname, port and path (required)
                                                  • method: Http request primitives (required)
                                                  • hader: http request headers (optional, repeated)
                                                  • param: http request params (optional, repeated)
                                                  • body: http request body. To be provided when send a post or put request (optional)

                                                  HttpClientInfo

                                                  message HttpClientInfo {
                                                  + required string url = 1;
                                                  + required Method method = 2;
                                                  + enum Method {
                                                  +   POST = 1;
                                                  +   GET = 2;
                                                  +   PUT = 3;
                                                  +   DELETE = 4;
                                                  +}
                                                  +repeated HttpParam header = 3;
                                                  +repeated HttpParam param = 4;
                                                  +optional string body = 5;
                                                  +}
                                                  +message HttpParam {
                                                  +required string key = 1;
                                                  +required string value = 2;
                                                  +}
                                                  +
                                                +
                                                + + + + + +
                                                +

                                                Value Members

                                                +
                                                1. + + +

                                                  + + final + def + + + !=(arg0: Any): Boolean + +

                                                  + + Permalink + + +
                                                  Definition Classes
                                                  AnyRef → Any
                                                  +
                                                2. + + +

                                                  + + final + def + + + ##(): Int + +

                                                  + + Permalink + + +
                                                  Definition Classes
                                                  AnyRef → Any
                                                  +
                                                3. + + +

                                                  + + final + def + + + ==(arg0: Any): Boolean + +

                                                  + + Permalink + + +
                                                  Definition Classes
                                                  AnyRef → Any
                                                  +
                                                4. + + +

                                                  + + final + def + + + asInstanceOf[T0]: T0 + +

                                                  + + Permalink + + +
                                                  Definition Classes
                                                  Any
                                                  +
                                                5. + + +

                                                  + + + def + + + clone(): AnyRef + +

                                                  + + Permalink + + +
                                                  Attributes
                                                  protected[java.lang]
                                                  Definition Classes
                                                  AnyRef
                                                  Annotations
                                                  + @throws( + + ... + ) + +
                                                  +
                                                6. + + +

                                                  + + + def + + + close: Unit + +

                                                  + + Permalink + + +
                                                  Definition Classes
                                                  HttpClientReader → BaseReader
                                                  Annotations
                                                  + @throws( + + classOf[Exception] + ) + +
                                                  +
                                                7. + + +

                                                  + + final + def + + + eq(arg0: AnyRef): Boolean + +

                                                  + + Permalink + + +
                                                  Definition Classes
                                                  AnyRef
                                                  +
                                                8. + + +

                                                  + + + def + + + equals(arg0: Any): Boolean + +

                                                  + + Permalink + + +
                                                  Definition Classes
                                                  AnyRef → Any
                                                  +
                                                9. + + +

                                                  + + + def + + + finalize(): Unit + +

                                                  + + Permalink + + +
                                                  Attributes
                                                  protected[java.lang]
                                                  Definition Classes
                                                  AnyRef
                                                  Annotations
                                                  + @throws( + + classOf[java.lang.Throwable] + ) + +
                                                  +
                                                10. + + +

                                                  + + final + def + + + getClass(): Class[_] + +

                                                  + + Permalink + + +
                                                  Definition Classes
                                                  AnyRef → Any
                                                  +
                                                11. + + +

                                                  + + + def + + + hashCode(): Int + +

                                                  + + Permalink + + +
                                                  Definition Classes
                                                  AnyRef → Any
                                                  +
                                                12. + + +

                                                  + + final + def + + + isInstanceOf[T0]: Boolean + +

                                                  + + Permalink + + +
                                                  Definition Classes
                                                  Any
                                                  +
                                                13. + + +

                                                  + + + val + + + logger: Logger + +

                                                  + + Permalink + + +
                                                  Attributes
                                                  protected
                                                  Definition Classes
                                                  Logging
                                                  +
                                                14. + + +

                                                  + + final + def + + + ne(arg0: AnyRef): Boolean + +

                                                  + + Permalink + + +
                                                  Definition Classes
                                                  AnyRef
                                                  +
                                                15. + + +

                                                  + + final + def + + + notify(): Unit + +

                                                  + + Permalink + + +
                                                  Definition Classes
                                                  AnyRef
                                                  +
                                                16. + + +

                                                  + + final + def + + + notifyAll(): Unit + +

                                                  + + Permalink + + +
                                                  Definition Classes
                                                  AnyRef
                                                  +
                                                17. + + +

                                                  + + + val + + + o: StreamReaderInfo + +

                                                  + + Permalink + + +

                                                  Object that contains message + ksb.csle.common.proto.DatasourceProto.HttpClientInfo + HttpClientInfo contains attributes as follows:

                                                  Object that contains message + ksb.csle.common.proto.DatasourceProto.HttpClientInfo + HttpClientInfo contains attributes as follows:

                                                  • url: http server url includes hostname, port and path (required)
                                                  • method: Http request primitives (required)
                                                  • hader: http request headers (optional, repeated)
                                                  • param: http request params (optional, repeated)
                                                  • body: http request body. To be provided when send a post or put request (optional)

                                                  HttpClientInfo

                                                  message HttpClientInfo {
                                                  + required string url = 1;
                                                  + required Method method = 2;
                                                  + enum Method {
                                                  +   POST = 1;
                                                  +   GET = 2;
                                                  +   PUT = 3;
                                                  +   DELETE = 4;
                                                  +}
                                                  +repeated HttpParam header = 3;
                                                  +repeated HttpParam param = 4;
                                                  +optional string body = 5;
                                                  +}
                                                  +message HttpParam {
                                                  +required string key = 1;
                                                  +required string value = 2;
                                                  +}
                                                  +
                                                18. + + +

                                                  + + + def + + + read(session: SparkSession): InputDStream[String] + +

                                                  + + Permalink + + +
                                                  Definition Classes
                                                  HttpClientReader → BaseReader
                                                  Annotations
                                                  + @throws( + + classOf[Exception] + ) + +
                                                  +
                                                19. + + +

                                                  + + + var + + + ssc: StreamingContext + +

                                                  + + Permalink + + + +
                                                20. + + +

                                                  + + final + def + + + synchronized[T0](arg0: ⇒ T0): T0 + +

                                                  + + Permalink + + +
                                                  Definition Classes
                                                  AnyRef
                                                  +
                                                21. + + +

                                                  + + + def + + + toString(): String + +

                                                  + + Permalink + + +
                                                  Definition Classes
                                                  AnyRef → Any
                                                  +
                                                22. + + +

                                                  + + final + def + + + wait(): Unit + +

                                                  + + Permalink + + +
                                                  Definition Classes
                                                  AnyRef
                                                  Annotations
                                                  + @throws( + + ... + ) + +
                                                  +
                                                23. + + +

                                                  + + final + def + + + wait(arg0: Long, arg1: Int): Unit + +

                                                  + + Permalink + + +
                                                  Definition Classes
                                                  AnyRef
                                                  Annotations
                                                  + @throws( + + ... + ) + +
                                                  +
                                                24. + + +

                                                  + + final + def + + + wait(arg0: Long): Unit + +

                                                  + + Permalink + + +
                                                  Definition Classes
                                                  AnyRef
                                                  Annotations
                                                  + @throws( + + ... + ) + +
                                                  +
                                                +
                                                + + + + +
                                                + +
                                                +
                                                +

                                                Inherited from BaseReader[InputDStream[String], StreamReaderInfo, SparkSession]

                                                +
                                                +

                                                Inherited from BaseDoer

                                                +
                                                +

                                                Inherited from Logging

                                                +
                                                +

                                                Inherited from Serializable

                                                +
                                                +

                                                Inherited from Serializable

                                                +
                                                +

                                                Inherited from AnyRef

                                                +
                                                +

                                                Inherited from Any

                                                +
                                                + +
                                                + +
                                                +
                                                +

                                                Ungrouped

                                                + +
                                                +
                                                + +
                                                + +
                                                + + + + + + diff --git a/manual1903/api_reference/components/scaladocs/ksb/csle/component/reader/HttpServerReader.html b/manual1903/api_reference/components/scaladocs/ksb/csle/component/reader/HttpServerReader.html new file mode 100644 index 0000000000000000000000000000000000000000..20b6792ac36b6c2a01cc3f7d9ece716eb64643e9 --- /dev/null +++ b/manual1903/api_reference/components/scaladocs/ksb/csle/component/reader/HttpServerReader.html @@ -0,0 +1,609 @@ + + + + HttpServerReader - KSB COMPONENTS Scala App Project 1.0-SNAPSHOT API - ksb.csle.component.reader.HttpServerReader + + + + + + + + + + + + + + + +
                                                + Class +

                                                ksb.csle.component.reader

                                                +

                                                HttpServerReader

                                                Related Doc: + package reader +

                                                + + Permalink + + +
                                                + +

                                                + + + class + + + HttpServerReader extends BaseReader[InputDStream[String], StreamReaderInfo, SparkSession] + +

                                                + +

                                                :: ApplicationDeveloperApi ::

                                                Reader that receives streaming data via HTTP POST request. +

                                                + Linear Supertypes +
                                                BaseReader[InputDStream[String], StreamReaderInfo, SparkSession], BaseDoer, Logging, Serializable, Serializable, AnyRef, Any
                                                +
                                                + + +
                                                +
                                                +
                                                + Ordering +
                                                  + +
                                                1. Alphabetic
                                                2. +
                                                3. By Inheritance
                                                4. +
                                                +
                                                +
                                                + Inherited
                                                +
                                                +
                                                  +
                                                1. HttpServerReader
                                                2. BaseReader
                                                3. BaseDoer
                                                4. Logging
                                                5. Serializable
                                                6. Serializable
                                                7. AnyRef
                                                8. Any
                                                9. +
                                                +
                                                + +
                                                  +
                                                1. Hide All
                                                2. +
                                                3. Show All
                                                4. +
                                                +
                                                +
                                                + Visibility +
                                                1. Public
                                                2. All
                                                +
                                                +
                                                + +
                                                +
                                                +
                                                +

                                                Instance Constructors

                                                +
                                                1. + + +

                                                  + + + new + + + HttpServerReader(o: StreamReaderInfo) + +

                                                  + + Permalink + + +

                                                  o

                                                  Object that contains message + ksb.csle.common.proto.DatasourceProto.HttpServerInfo + HttpServerInfo contains attributes as follows:

                                                  • port: Port number of HTTP server (required)
                                                  • ip: IP address of HTTP server (optional)
                                                  • path: Path to receive the HTTP POST request (optional)

                                                  HttpServerInfo

                                                  message HttpServerInfo {
                                                  +  required int32 port = 1;
                                                  +  optional string ip = 2 [default = "0.0.0.0"];
                                                  +  optional string path = 3 [default = "/"];
                                                  +}
                                                  +
                                                +
                                                + + + + + +
                                                +

                                                Value Members

                                                +
                                                1. + + +

                                                  + + final + def + + + !=(arg0: Any): Boolean + +

                                                  + + Permalink + + +
                                                  Definition Classes
                                                  AnyRef → Any
                                                  +
                                                2. + + +

                                                  + + final + def + + + ##(): Int + +

                                                  + + Permalink + + +
                                                  Definition Classes
                                                  AnyRef → Any
                                                  +
                                                3. + + +

                                                  + + final + def + + + ==(arg0: Any): Boolean + +

                                                  + + Permalink + + +
                                                  Definition Classes
                                                  AnyRef → Any
                                                  +
                                                4. + + +

                                                  + + final + def + + + asInstanceOf[T0]: T0 + +

                                                  + + Permalink + + +
                                                  Definition Classes
                                                  Any
                                                  +
                                                5. + + +

                                                  + + + def + + + clone(): AnyRef + +

                                                  + + Permalink + + +
                                                  Attributes
                                                  protected[java.lang]
                                                  Definition Classes
                                                  AnyRef
                                                  Annotations
                                                  + @throws( + + ... + ) + +
                                                  +
                                                6. + + +

                                                  + + + def + + + close: Unit + +

                                                  + + Permalink + + +

                                                  Close the input stream.

                                                  Close the input stream. +

                                                  Definition Classes
                                                  HttpServerReader → BaseReader
                                                  Annotations
                                                  + @throws( + + classOf[Exception] + ) + +
                                                  +
                                                7. + + +

                                                  + + final + def + + + eq(arg0: AnyRef): Boolean + +

                                                  + + Permalink + + +
                                                  Definition Classes
                                                  AnyRef
                                                  +
                                                8. + + +

                                                  + + + def + + + equals(arg0: Any): Boolean + +

                                                  + + Permalink + + +
                                                  Definition Classes
                                                  AnyRef → Any
                                                  +
                                                9. + + +

                                                  + + + def + + + finalize(): Unit + +

                                                  + + Permalink + + +
                                                  Attributes
                                                  protected[java.lang]
                                                  Definition Classes
                                                  AnyRef
                                                  Annotations
                                                  + @throws( + + classOf[java.lang.Throwable] + ) + +
                                                  +
                                                10. + + +

                                                  + + final + def + + + getClass(): Class[_] + +

                                                  + + Permalink + + +
                                                  Definition Classes
                                                  AnyRef → Any
                                                  +
                                                11. + + +

                                                  + + + def + + + hashCode(): Int + +

                                                  + + Permalink + + +
                                                  Definition Classes
                                                  AnyRef → Any
                                                  +
                                                12. + + +

                                                  + + final + def + + + isInstanceOf[T0]: Boolean + +

                                                  + + Permalink + + +
                                                  Definition Classes
                                                  Any
                                                  +
                                                13. + + +

                                                  + + + val + + + logger: Logger + +

                                                  + + Permalink + + +
                                                  Attributes
                                                  protected
                                                  Definition Classes
                                                  Logging
                                                  +
                                                14. + + +

                                                  + + final + def + + + ne(arg0: AnyRef): Boolean + +

                                                  + + Permalink + + +
                                                  Definition Classes
                                                  AnyRef
                                                  +
                                                15. + + +

                                                  + + final + def + + + notify(): Unit + +

                                                  + + Permalink + + +
                                                  Definition Classes
                                                  AnyRef
                                                  +
                                                16. + + +

                                                  + + final + def + + + notifyAll(): Unit + +

                                                  + + Permalink + + +
                                                  Definition Classes
                                                  AnyRef
                                                  +
                                                17. + + +

                                                  + + + val + + + o: StreamReaderInfo + +

                                                  + + Permalink + + +

                                                  Object that contains message + ksb.csle.common.proto.DatasourceProto.HttpServerInfo + HttpServerInfo contains attributes as follows:

                                                  Object that contains message + ksb.csle.common.proto.DatasourceProto.HttpServerInfo + HttpServerInfo contains attributes as follows:

                                                  • port: Port number of HTTP server (required)
                                                  • ip: IP address of HTTP server (optional)
                                                  • path: Path to receive the HTTP POST request (optional)

                                                  HttpServerInfo

                                                  message HttpServerInfo {
                                                  +  required int32 port = 1;
                                                  +  optional string ip = 2 [default = "0.0.0.0"];
                                                  +  optional string path = 3 [default = "/"];
                                                  +}
                                                  +
                                                18. + + +

                                                  + + + def + + + read(session: SparkSession): InputDStream[String] + +

                                                  + + Permalink + + +

                                                  Create an input stream to receives streaming data via HTTP POST request.

                                                  Create an input stream to receives streaming data via HTTP POST request. +

                                                  session

                                                  Spark session

                                                  returns

                                                  InputDStream[String] Input stream to read HTTP POST request

                                                  Definition Classes
                                                  HttpServerReader → BaseReader
                                                  Annotations
                                                  + @throws( + + classOf[Exception] + ) + +
                                                  +
                                                19. + + +

                                                  + + final + def + + + synchronized[T0](arg0: ⇒ T0): T0 + +

                                                  + + Permalink + + +
                                                  Definition Classes
                                                  AnyRef
                                                  +
                                                20. + + +

                                                  + + + def + + + toString(): String + +

                                                  + + Permalink + + +
                                                  Definition Classes
                                                  AnyRef → Any
                                                  +
                                                21. + + +

                                                  + + final + def + + + wait(): Unit + +

                                                  + + Permalink + + +
                                                  Definition Classes
                                                  AnyRef
                                                  Annotations
                                                  + @throws( + + ... + ) + +
                                                  +
                                                22. + + +

                                                  + + final + def + + + wait(arg0: Long, arg1: Int): Unit + +

                                                  + + Permalink + + +
                                                  Definition Classes
                                                  AnyRef
                                                  Annotations
                                                  + @throws( + + ... + ) + +
                                                  +
                                                23. + + +

                                                  + + final + def + + + wait(arg0: Long): Unit + +

                                                  + + Permalink + + +
                                                  Definition Classes
                                                  AnyRef
                                                  Annotations
                                                  + @throws( + + ... + ) + +
                                                  +
                                                +
                                                + + + + +
                                                + +
                                                +
                                                +

                                                Inherited from BaseReader[InputDStream[String], StreamReaderInfo, SparkSession]

                                                +
                                                +

                                                Inherited from BaseDoer

                                                +
                                                +

                                                Inherited from Logging

                                                +
                                                +

                                                Inherited from Serializable

                                                +
                                                +

                                                Inherited from Serializable

                                                +
                                                +

                                                Inherited from AnyRef

                                                +
                                                +

                                                Inherited from Any

                                                +
                                                + +
                                                + +
                                                +
                                                +

                                                Ungrouped

                                                + +
                                                +
                                                + +
                                                + +
                                                + + + + + + diff --git a/manual1903/api_reference/components/scaladocs/ksb/csle/component/reader/HttpWeatherClientReader.html b/manual1903/api_reference/components/scaladocs/ksb/csle/component/reader/HttpWeatherClientReader.html new file mode 100644 index 0000000000000000000000000000000000000000..1a12fdedb101b5c0488426b3f350ae485847842b --- /dev/null +++ b/manual1903/api_reference/components/scaladocs/ksb/csle/component/reader/HttpWeatherClientReader.html @@ -0,0 +1,806 @@ + + + + HttpWeatherClientReader - KSB COMPONENTS Scala App Project 1.0-SNAPSHOT API - ksb.csle.component.reader.HttpWeatherClientReader + + + + + + + + + + + + + + + +
                                                + Class +

                                                ksb.csle.component.reader

                                                +

                                                HttpWeatherClientReader

                                                Related Doc: + package reader +

                                                + + Permalink + + +
                                                + +

                                                + + + class + + + HttpWeatherClientReader extends BaseReader[InputDStream[String], StreamReaderInfo, SparkSession] with Logging + +

                                                + +

                                                :: ApplicationDeveloperApi :: +A receiver that receives responses from a weather server +provided by Korea Meteorological Administration +

                                                + Linear Supertypes +
                                                BaseReader[InputDStream[String], StreamReaderInfo, SparkSession], BaseDoer, Logging, Serializable, Serializable, AnyRef, Any
                                                +
                                                + + +
                                                +
                                                +
                                                + Ordering +
                                                  + +
                                                1. Alphabetic
                                                2. +
                                                3. By Inheritance
                                                4. +
                                                +
                                                +
                                                + Inherited
                                                +
                                                +
                                                  +
                                                1. HttpWeatherClientReader
                                                2. BaseReader
                                                3. BaseDoer
                                                4. Logging
                                                5. Serializable
                                                6. Serializable
                                                7. AnyRef
                                                8. Any
                                                9. +
                                                +
                                                + +
                                                  +
                                                1. Hide All
                                                2. +
                                                3. Show All
                                                4. +
                                                +
                                                +
                                                + Visibility +
                                                1. Public
                                                2. All
                                                +
                                                +
                                                + +
                                                +
                                                +
                                                +

                                                Instance Constructors

                                                +
                                                1. + + +

                                                  + + + new + + + HttpWeatherClientReader(o: StreamReaderInfo) + +

                                                  + + Permalink + + +

                                                  o

                                                  Object that contains message + [ksb.csle.common.proto.DatasourceProto.HttpWeatherClientInfo]] + HttpWeatherClientInfo contains attributes as follows:

                                                  • kbClientType: weather source type, weather data or storke index data (required)
                                                  • location: target city to get the location of weather stations (required)
                                                  • getKbServer: Ontology repository server url (optional)
                                                  • serviceKey: session key to make a connection with data.go.kr (required)
                                                  message HttpWeatherClientInfo {
                                                  +required KbClientType kbClientType = 1;
                                                  +enum KbClientType {
                                                  +   WEATHER = 1;
                                                  +   STROKEINDEX = 2;
                                                  + }
                                                  + required string location = 2 [default = "대전"];
                                                  + optional string geoKbServer = 3 [default = "http://localhost:9876"];
                                                  + required string serviceKey = 4;
                                                  +}
                                                  +
                                                +
                                                + + + + + +
                                                +

                                                Value Members

                                                +
                                                1. + + +

                                                  + + final + def + + + !=(arg0: Any): Boolean + +

                                                  + + Permalink + + +
                                                  Definition Classes
                                                  AnyRef → Any
                                                  +
                                                2. + + +

                                                  + + final + def + + + ##(): Int + +

                                                  + + Permalink + + +
                                                  Definition Classes
                                                  AnyRef → Any
                                                  +
                                                3. + + +

                                                  + + final + def + + + ==(arg0: Any): Boolean + +

                                                  + + Permalink + + +
                                                  Definition Classes
                                                  AnyRef → Any
                                                  +
                                                4. + + +

                                                  + + final + def + + + asInstanceOf[T0]: T0 + +

                                                  + + Permalink + + +
                                                  Definition Classes
                                                  Any
                                                  +
                                                5. + + +

                                                  + + + val + + + clientType: String + +

                                                  + + Permalink + + + +
                                                6. + + +

                                                  + + + def + + + clone(): AnyRef + +

                                                  + + Permalink + + +
                                                  Attributes
                                                  protected[java.lang]
                                                  Definition Classes
                                                  AnyRef
                                                  Annotations
                                                  + @throws( + + ... + ) + +
                                                  +
                                                7. + + +

                                                  + + + def + + + close: Unit + +

                                                  + + Permalink + + +
                                                  Definition Classes
                                                  HttpWeatherClientReader → BaseReader
                                                  Annotations
                                                  + @throws( + + classOf[Exception] + ) + +
                                                  +
                                                8. + + +

                                                  + + + val + + + config: KsbConfigurator + +

                                                  + + Permalink + + + +
                                                9. + + +

                                                  + + + val + + + defaultServerIp: String + +

                                                  + + Permalink + + + +
                                                10. + + +

                                                  + + + val + + + defaultServerPort: String + +

                                                  + + Permalink + + + +
                                                11. + + +

                                                  + + + val + + + defaultServiceKey: String + +

                                                  + + Permalink + + + +
                                                12. + + +

                                                  + + final + def + + + eq(arg0: AnyRef): Boolean + +

                                                  + + Permalink + + +
                                                  Definition Classes
                                                  AnyRef
                                                  +
                                                13. + + +

                                                  + + + def + + + equals(arg0: Any): Boolean + +

                                                  + + Permalink + + +
                                                  Definition Classes
                                                  AnyRef → Any
                                                  +
                                                14. + + +

                                                  + + + def + + + finalize(): Unit + +

                                                  + + Permalink + + +
                                                  Attributes
                                                  protected[java.lang]
                                                  Definition Classes
                                                  AnyRef
                                                  Annotations
                                                  + @throws( + + classOf[java.lang.Throwable] + ) + +
                                                  +
                                                15. + + +

                                                  + + final + def + + + getClass(): Class[_] + +

                                                  + + Permalink + + +
                                                  Definition Classes
                                                  AnyRef → Any
                                                  +
                                                16. + + +

                                                  + + + def + + + hashCode(): Int + +

                                                  + + Permalink + + +
                                                  Definition Classes
                                                  AnyRef → Any
                                                  +
                                                17. + + +

                                                  + + final + def + + + isInstanceOf[T0]: Boolean + +

                                                  + + Permalink + + +
                                                  Definition Classes
                                                  Any
                                                  +
                                                18. + + +

                                                  + + + val + + + kbServerUrl: String + +

                                                  + + Permalink + + + +
                                                19. + + +

                                                  + + + val + + + location: String + +

                                                  + + Permalink + + + +
                                                20. + + +

                                                  + + + val + + + logger: Logger + +

                                                  + + Permalink + + +
                                                  Attributes
                                                  protected
                                                  Definition Classes
                                                  Logging
                                                  +
                                                21. + + +

                                                  + + final + def + + + ne(arg0: AnyRef): Boolean + +

                                                  + + Permalink + + +
                                                  Definition Classes
                                                  AnyRef
                                                  +
                                                22. + + +

                                                  + + final + def + + + notify(): Unit + +

                                                  + + Permalink + + +
                                                  Definition Classes
                                                  AnyRef
                                                  +
                                                23. + + +

                                                  + + final + def + + + notifyAll(): Unit + +

                                                  + + Permalink + + +
                                                  Definition Classes
                                                  AnyRef
                                                  +
                                                24. + + +

                                                  + + + val + + + o: StreamReaderInfo + +

                                                  + + Permalink + + +

                                                  Object that contains message + [ksb.csle.common.proto.DatasourceProto.HttpWeatherClientInfo]] + HttpWeatherClientInfo contains attributes as follows:

                                                  Object that contains message + [ksb.csle.common.proto.DatasourceProto.HttpWeatherClientInfo]] + HttpWeatherClientInfo contains attributes as follows:

                                                  • kbClientType: weather source type, weather data or storke index data (required)
                                                  • location: target city to get the location of weather stations (required)
                                                  • getKbServer: Ontology repository server url (optional)
                                                  • serviceKey: session key to make a connection with data.go.kr (required)
                                                  message HttpWeatherClientInfo {
                                                  +required KbClientType kbClientType = 1;
                                                  +enum KbClientType {
                                                  +   WEATHER = 1;
                                                  +   STROKEINDEX = 2;
                                                  + }
                                                  + required string location = 2 [default = "대전"];
                                                  + optional string geoKbServer = 3 [default = "http://localhost:9876"];
                                                  + required string serviceKey = 4;
                                                  +}
                                                  +
                                                25. + + +

                                                  + + + def + + + read(session: SparkSession): InputDStream[String] + +

                                                  + + Permalink + + +
                                                  Definition Classes
                                                  HttpWeatherClientReader → BaseReader
                                                  Annotations
                                                  + @throws( + + classOf[Exception] + ) + +
                                                  +
                                                26. + + +

                                                  + + + val + + + serviceKey: String + +

                                                  + + Permalink + + + +
                                                27. + + +

                                                  + + + var + + + ssc: StreamingContext + +

                                                  + + Permalink + + + +
                                                28. + + +

                                                  + + + val + + + strokeLocationQueryUrl: String + +

                                                  + + Permalink + + + +
                                                29. + + +

                                                  + + final + def + + + synchronized[T0](arg0: ⇒ T0): T0 + +

                                                  + + Permalink + + +
                                                  Definition Classes
                                                  AnyRef
                                                  +
                                                30. + + +

                                                  + + + def + + + toString(): String + +

                                                  + + Permalink + + +
                                                  Definition Classes
                                                  AnyRef → Any
                                                  +
                                                31. + + +

                                                  + + final + def + + + wait(): Unit + +

                                                  + + Permalink + + +
                                                  Definition Classes
                                                  AnyRef
                                                  Annotations
                                                  + @throws( + + ... + ) + +
                                                  +
                                                32. + + +

                                                  + + final + def + + + wait(arg0: Long, arg1: Int): Unit + +

                                                  + + Permalink + + +
                                                  Definition Classes
                                                  AnyRef
                                                  Annotations
                                                  + @throws( + + ... + ) + +
                                                  +
                                                33. + + +

                                                  + + final + def + + + wait(arg0: Long): Unit + +

                                                  + + Permalink + + +
                                                  Definition Classes
                                                  AnyRef
                                                  Annotations
                                                  + @throws( + + ... + ) + +
                                                  +
                                                34. + + +

                                                  + + + val + + + weatherLocationQueryUrl: String + +

                                                  + + Permalink + + + +
                                                +
                                                + + + + +
                                                + +
                                                +
                                                +

                                                Inherited from BaseReader[InputDStream[String], StreamReaderInfo, SparkSession]

                                                +
                                                +

                                                Inherited from BaseDoer

                                                +
                                                +

                                                Inherited from Logging

                                                +
                                                +

                                                Inherited from Serializable

                                                +
                                                +

                                                Inherited from Serializable

                                                +
                                                +

                                                Inherited from AnyRef

                                                +
                                                +

                                                Inherited from Any

                                                +
                                                + +
                                                + +
                                                +
                                                +

                                                Ungrouped

                                                + +
                                                +
                                                + +
                                                + +
                                                + + + + + + diff --git a/manual1903/api_reference/components/scaladocs/ksb/csle/component/reader/KafkaOnDemandReader$.html b/manual1903/api_reference/components/scaladocs/ksb/csle/component/reader/KafkaOnDemandReader$.html new file mode 100644 index 0000000000000000000000000000000000000000..0d10919b8604ea6949a7a5c824f4451e96563dd3 --- /dev/null +++ b/manual1903/api_reference/components/scaladocs/ksb/csle/component/reader/KafkaOnDemandReader$.html @@ -0,0 +1,522 @@ + + + + KafkaOnDemandReader - KSB COMPONENTS Scala App Project 1.0-SNAPSHOT API - ksb.csle.component.reader.KafkaOnDemandReader + + + + + + + + + + + + + + + + + +

                                                + + + object + + + KafkaOnDemandReader extends Serializable + +

                                                + +
                                                + Linear Supertypes +
                                                Serializable, Serializable, AnyRef, Any
                                                +
                                                + + +
                                                +
                                                +
                                                + Ordering +
                                                  + +
                                                1. Alphabetic
                                                2. +
                                                3. By Inheritance
                                                4. +
                                                +
                                                +
                                                + Inherited
                                                +
                                                +
                                                  +
                                                1. KafkaOnDemandReader
                                                2. Serializable
                                                3. Serializable
                                                4. AnyRef
                                                5. Any
                                                6. +
                                                +
                                                + +
                                                  +
                                                1. Hide All
                                                2. +
                                                3. Show All
                                                4. +
                                                +
                                                +
                                                + Visibility +
                                                1. Public
                                                2. All
                                                +
                                                +
                                                + +
                                                +
                                                + + + + + + +
                                                +

                                                Value Members

                                                +
                                                1. + + +

                                                  + + final + def + + + !=(arg0: Any): Boolean + +

                                                  + + Permalink + + +
                                                  Definition Classes
                                                  AnyRef → Any
                                                  +
                                                2. + + +

                                                  + + final + def + + + ##(): Int + +

                                                  + + Permalink + + +
                                                  Definition Classes
                                                  AnyRef → Any
                                                  +
                                                3. + + +

                                                  + + final + def + + + ==(arg0: Any): Boolean + +

                                                  + + Permalink + + +
                                                  Definition Classes
                                                  AnyRef → Any
                                                  +
                                                4. + + +

                                                  + + + def + + + apply[P](o: OnDemandReaderInfo): KafkaOnDemandReader + +

                                                  + + Permalink + + + +
                                                5. + + +

                                                  + + final + def + + + asInstanceOf[T0]: T0 + +

                                                  + + Permalink + + +
                                                  Definition Classes
                                                  Any
                                                  +
                                                6. + + +

                                                  + + + def + + + clone(): AnyRef + +

                                                  + + Permalink + + +
                                                  Attributes
                                                  protected[java.lang]
                                                  Definition Classes
                                                  AnyRef
                                                  Annotations
                                                  + @throws( + + ... + ) + +
                                                  +
                                                7. + + +

                                                  + + + def + + + createConsumerConfig(p: KafkaInfo): Properties + +

                                                  + + Permalink + + + +
                                                8. + + +

                                                  + + final + def + + + eq(arg0: AnyRef): Boolean + +

                                                  + + Permalink + + +
                                                  Definition Classes
                                                  AnyRef
                                                  +
                                                9. + + +

                                                  + + + def + + + equals(arg0: Any): Boolean + +

                                                  + + Permalink + + +
                                                  Definition Classes
                                                  AnyRef → Any
                                                  +
                                                10. + + +

                                                  + + + def + + + finalize(): Unit + +

                                                  + + Permalink + + +
                                                  Attributes
                                                  protected[java.lang]
                                                  Definition Classes
                                                  AnyRef
                                                  Annotations
                                                  + @throws( + + classOf[java.lang.Throwable] + ) + +
                                                  +
                                                11. + + +

                                                  + + final + def + + + getClass(): Class[_] + +

                                                  + + Permalink + + +
                                                  Definition Classes
                                                  AnyRef → Any
                                                  +
                                                12. + + +

                                                  + + + def + + + hashCode(): Int + +

                                                  + + Permalink + + +
                                                  Definition Classes
                                                  AnyRef → Any
                                                  +
                                                13. + + +

                                                  + + final + def + + + isInstanceOf[T0]: Boolean + +

                                                  + + Permalink + + +
                                                  Definition Classes
                                                  Any
                                                  +
                                                14. + + +

                                                  + + final + def + + + ne(arg0: AnyRef): Boolean + +

                                                  + + Permalink + + +
                                                  Definition Classes
                                                  AnyRef
                                                  +
                                                15. + + +

                                                  + + final + def + + + notify(): Unit + +

                                                  + + Permalink + + +
                                                  Definition Classes
                                                  AnyRef
                                                  +
                                                16. + + +

                                                  + + final + def + + + notifyAll(): Unit + +

                                                  + + Permalink + + +
                                                  Definition Classes
                                                  AnyRef
                                                  +
                                                17. + + +

                                                  + + final + def + + + synchronized[T0](arg0: ⇒ T0): T0 + +

                                                  + + Permalink + + +
                                                  Definition Classes
                                                  AnyRef
                                                  +
                                                18. + + +

                                                  + + + def + + + toString(): String + +

                                                  + + Permalink + + +
                                                  Definition Classes
                                                  AnyRef → Any
                                                  +
                                                19. + + +

                                                  + + final + def + + + wait(): Unit + +

                                                  + + Permalink + + +
                                                  Definition Classes
                                                  AnyRef
                                                  Annotations
                                                  + @throws( + + ... + ) + +
                                                  +
                                                20. + + +

                                                  + + final + def + + + wait(arg0: Long, arg1: Int): Unit + +

                                                  + + Permalink + + +
                                                  Definition Classes
                                                  AnyRef
                                                  Annotations
                                                  + @throws( + + ... + ) + +
                                                  +
                                                21. + + +

                                                  + + final + def + + + wait(arg0: Long): Unit + +

                                                  + + Permalink + + +
                                                  Definition Classes
                                                  AnyRef
                                                  Annotations
                                                  + @throws( + + ... + ) + +
                                                  +
                                                +
                                                + + + + +
                                                + +
                                                +
                                                +

                                                Inherited from Serializable

                                                +
                                                +

                                                Inherited from Serializable

                                                +
                                                +

                                                Inherited from AnyRef

                                                +
                                                +

                                                Inherited from Any

                                                +
                                                + +
                                                + +
                                                +
                                                +

                                                Ungrouped

                                                + +
                                                +
                                                + +
                                                + +
                                                + + + + + + diff --git a/manual1903/api_reference/components/scaladocs/ksb/csle/component/reader/KafkaOnDemandReader.html b/manual1903/api_reference/components/scaladocs/ksb/csle/component/reader/KafkaOnDemandReader.html new file mode 100644 index 0000000000000000000000000000000000000000..7388aaa6a514b10d4fdf5374a8a6661a413c732b --- /dev/null +++ b/manual1903/api_reference/components/scaladocs/ksb/csle/component/reader/KafkaOnDemandReader.html @@ -0,0 +1,652 @@ + + + + KafkaOnDemandReader - KSB COMPONENTS Scala App Project 1.0-SNAPSHOT API - ksb.csle.component.reader.KafkaOnDemandReader + + + + + + + + + + + + + + + + + +

                                                + + + class + + + KafkaOnDemandReader extends BaseReader[(Long) ⇒ Option[String], OnDemandReaderInfo, Long] + +

                                                + +

                                                :: ApplicationDeveloperApi ::

                                                Reader that fetchs data from Kafka. +

                                                + Linear Supertypes +
                                                BaseReader[(Long) ⇒ Option[String], OnDemandReaderInfo, Long], BaseDoer, Logging, Serializable, Serializable, AnyRef, Any
                                                +
                                                + + +
                                                +
                                                +
                                                + Ordering +
                                                  + +
                                                1. Alphabetic
                                                2. +
                                                3. By Inheritance
                                                4. +
                                                +
                                                +
                                                + Inherited
                                                +
                                                +
                                                  +
                                                1. KafkaOnDemandReader
                                                2. BaseReader
                                                3. BaseDoer
                                                4. Logging
                                                5. Serializable
                                                6. Serializable
                                                7. AnyRef
                                                8. Any
                                                9. +
                                                +
                                                + +
                                                  +
                                                1. Hide All
                                                2. +
                                                3. Show All
                                                4. +
                                                +
                                                +
                                                + Visibility +
                                                1. Public
                                                2. All
                                                +
                                                +
                                                + +
                                                +
                                                +
                                                +

                                                Instance Constructors

                                                +
                                                1. + + +

                                                  + + + new + + + KafkaOnDemandReader(o: OnDemandReaderInfo) + +

                                                  + + Permalink + + +

                                                  o

                                                  Object that contains message + ksb.csle.common.proto.DatasourceProto.KafkaInfo + KafkaInfo contains attributes as follows:

                                                  • bootStrapServers: Address of Kafka server (required)
                                                  • zooKeeperConnect: Address of Kafka Zookeeper (required)
                                                  • groupId: Group ID of Kafka consumers (required)
                                                  • topic: Topic where fetch data (required)

                                                  KafkaInfo

                                                  message KafkaInfo {
                                                  +  required string bootStrapServers = 1;
                                                  +  required string zooKeeperConnect = 2;
                                                  +  required string groupId = 3;
                                                  +  required string topic = 4;
                                                  +}
                                                  +
                                                +
                                                + + + + + +
                                                +

                                                Value Members

                                                +
                                                1. + + +

                                                  + + final + def + + + !=(arg0: Any): Boolean + +

                                                  + + Permalink + + +
                                                  Definition Classes
                                                  AnyRef → Any
                                                  +
                                                2. + + +

                                                  + + final + def + + + ##(): Int + +

                                                  + + Permalink + + +
                                                  Definition Classes
                                                  AnyRef → Any
                                                  +
                                                3. + + +

                                                  + + final + def + + + ==(arg0: Any): Boolean + +

                                                  + + Permalink + + +
                                                  Definition Classes
                                                  AnyRef → Any
                                                  +
                                                4. + + +

                                                  + + final + def + + + asInstanceOf[T0]: T0 + +

                                                  + + Permalink + + +
                                                  Definition Classes
                                                  Any
                                                  +
                                                5. + + +

                                                  + + + def + + + clone(): AnyRef + +

                                                  + + Permalink + + +
                                                  Attributes
                                                  protected[java.lang]
                                                  Definition Classes
                                                  AnyRef
                                                  Annotations
                                                  + @throws( + + ... + ) + +
                                                  +
                                                6. + + +

                                                  + + + def + + + close: Unit + +

                                                  + + Permalink + + +

                                                  Close the connection with Kafka.

                                                  Close the connection with Kafka. +

                                                  Definition Classes
                                                  KafkaOnDemandReader → BaseReader
                                                  +
                                                7. + + +

                                                  + + + val + + + consumer: KafkaConsumer[String, String] + +

                                                  + + Permalink + + + +
                                                8. + + +

                                                  + + final + def + + + eq(arg0: AnyRef): Boolean + +

                                                  + + Permalink + + +
                                                  Definition Classes
                                                  AnyRef
                                                  +
                                                9. + + +

                                                  + + + def + + + equals(arg0: Any): Boolean + +

                                                  + + Permalink + + +
                                                  Definition Classes
                                                  AnyRef → Any
                                                  +
                                                10. + + +

                                                  + + + def + + + finalize(): Unit + +

                                                  + + Permalink + + +
                                                  Attributes
                                                  protected[java.lang]
                                                  Definition Classes
                                                  AnyRef
                                                  Annotations
                                                  + @throws( + + classOf[java.lang.Throwable] + ) + +
                                                  +
                                                11. + + +

                                                  + + final + def + + + getClass(): Class[_] + +

                                                  + + Permalink + + +
                                                  Definition Classes
                                                  AnyRef → Any
                                                  +
                                                12. + + +

                                                  + + + def + + + hashCode(): Int + +

                                                  + + Permalink + + +
                                                  Definition Classes
                                                  AnyRef → Any
                                                  +
                                                13. + + +

                                                  + + final + def + + + isInstanceOf[T0]: Boolean + +

                                                  + + Permalink + + +
                                                  Definition Classes
                                                  Any
                                                  +
                                                14. + + +

                                                  + + + val + + + kafkaReaderInfo: KafkaInfo + +

                                                  + + Permalink + + + +
                                                15. + + +

                                                  + + + val + + + logger: Logger + +

                                                  + + Permalink + + +
                                                  Attributes
                                                  protected
                                                  Definition Classes
                                                  Logging
                                                  +
                                                16. + + +

                                                  + + final + def + + + ne(arg0: AnyRef): Boolean + +

                                                  + + Permalink + + +
                                                  Definition Classes
                                                  AnyRef
                                                  +
                                                17. + + +

                                                  + + final + def + + + notify(): Unit + +

                                                  + + Permalink + + +
                                                  Definition Classes
                                                  AnyRef
                                                  +
                                                18. + + +

                                                  + + final + def + + + notifyAll(): Unit + +

                                                  + + Permalink + + +
                                                  Definition Classes
                                                  AnyRef
                                                  +
                                                19. + + +

                                                  + + + val + + + o: OnDemandReaderInfo + +

                                                  + + Permalink + + +

                                                  Object that contains message + ksb.csle.common.proto.DatasourceProto.KafkaInfo + KafkaInfo contains attributes as follows:

                                                  Object that contains message + ksb.csle.common.proto.DatasourceProto.KafkaInfo + KafkaInfo contains attributes as follows:

                                                  • bootStrapServers: Address of Kafka server (required)
                                                  • zooKeeperConnect: Address of Kafka Zookeeper (required)
                                                  • groupId: Group ID of Kafka consumers (required)
                                                  • topic: Topic where fetch data (required)

                                                  KafkaInfo

                                                  message KafkaInfo {
                                                  +  required string bootStrapServers = 1;
                                                  +  required string zooKeeperConnect = 2;
                                                  +  required string groupId = 3;
                                                  +  required string topic = 4;
                                                  +}
                                                  +
                                                20. + + +

                                                  + + + val + + + props: Properties + +

                                                  + + Permalink + + + +
                                                21. + + +

                                                  + + + def + + + read(timeout: Long): (Long) ⇒ Option[String] + +

                                                  + + Permalink + + +

                                                  Read a data from Kafka within a given time.

                                                  Read a data from Kafka within a given time. +

                                                  timeout

                                                  Read timeout

                                                  returns

                                                  Option[String] A data

                                                  Definition Classes
                                                  KafkaOnDemandReader → BaseReader
                                                  +
                                                22. + + +

                                                  + + final + def + + + synchronized[T0](arg0: ⇒ T0): T0 + +

                                                  + + Permalink + + +
                                                  Definition Classes
                                                  AnyRef
                                                  +
                                                23. + + +

                                                  + + + def + + + toString(): String + +

                                                  + + Permalink + + +
                                                  Definition Classes
                                                  AnyRef → Any
                                                  +
                                                24. + + +

                                                  + + final + def + + + wait(): Unit + +

                                                  + + Permalink + + +
                                                  Definition Classes
                                                  AnyRef
                                                  Annotations
                                                  + @throws( + + ... + ) + +
                                                  +
                                                25. + + +

                                                  + + final + def + + + wait(arg0: Long, arg1: Int): Unit + +

                                                  + + Permalink + + +
                                                  Definition Classes
                                                  AnyRef
                                                  Annotations
                                                  + @throws( + + ... + ) + +
                                                  +
                                                26. + + +

                                                  + + final + def + + + wait(arg0: Long): Unit + +

                                                  + + Permalink + + +
                                                  Definition Classes
                                                  AnyRef
                                                  Annotations
                                                  + @throws( + + ... + ) + +
                                                  +
                                                +
                                                + + + + +
                                                + +
                                                +
                                                +

                                                Inherited from BaseReader[(Long) ⇒ Option[String], OnDemandReaderInfo, Long]

                                                +
                                                +

                                                Inherited from BaseDoer

                                                +
                                                +

                                                Inherited from Logging

                                                +
                                                +

                                                Inherited from Serializable

                                                +
                                                +

                                                Inherited from Serializable

                                                +
                                                +

                                                Inherited from AnyRef

                                                +
                                                +

                                                Inherited from Any

                                                +
                                                + +
                                                + +
                                                +
                                                +

                                                Ungrouped

                                                + +
                                                +
                                                + +
                                                + +
                                                + + + + + + diff --git a/manual1903/api_reference/components/scaladocs/ksb/csle/component/reader/KafkaReader$.html b/manual1903/api_reference/components/scaladocs/ksb/csle/component/reader/KafkaReader$.html new file mode 100644 index 0000000000000000000000000000000000000000..375ffb12b01374e80e4206539ef71d338e185397 --- /dev/null +++ b/manual1903/api_reference/components/scaladocs/ksb/csle/component/reader/KafkaReader$.html @@ -0,0 +1,505 @@ + + + + KafkaReader - KSB COMPONENTS Scala App Project 1.0-SNAPSHOT API - ksb.csle.component.reader.KafkaReader + + + + + + + + + + + + + + + + + +

                                                + + + object + + + KafkaReader extends Serializable + +

                                                + +
                                                + Linear Supertypes +
                                                Serializable, Serializable, AnyRef, Any
                                                +
                                                + + +
                                                +
                                                +
                                                + Ordering +
                                                  + +
                                                1. Alphabetic
                                                2. +
                                                3. By Inheritance
                                                4. +
                                                +
                                                +
                                                + Inherited
                                                +
                                                +
                                                  +
                                                1. KafkaReader
                                                2. Serializable
                                                3. Serializable
                                                4. AnyRef
                                                5. Any
                                                6. +
                                                +
                                                + +
                                                  +
                                                1. Hide All
                                                2. +
                                                3. Show All
                                                4. +
                                                +
                                                +
                                                + Visibility +
                                                1. Public
                                                2. All
                                                +
                                                +
                                                + +
                                                +
                                                + + + + + + +
                                                +

                                                Value Members

                                                +
                                                1. + + +

                                                  + + final + def + + + !=(arg0: Any): Boolean + +

                                                  + + Permalink + + +
                                                  Definition Classes
                                                  AnyRef → Any
                                                  +
                                                2. + + +

                                                  + + final + def + + + ##(): Int + +

                                                  + + Permalink + + +
                                                  Definition Classes
                                                  AnyRef → Any
                                                  +
                                                3. + + +

                                                  + + final + def + + + ==(arg0: Any): Boolean + +

                                                  + + Permalink + + +
                                                  Definition Classes
                                                  AnyRef → Any
                                                  +
                                                4. + + +

                                                  + + + def + + + apply[P](o: StreamReaderInfo): KafkaReader + +

                                                  + + Permalink + + + +
                                                5. + + +

                                                  + + final + def + + + asInstanceOf[T0]: T0 + +

                                                  + + Permalink + + +
                                                  Definition Classes
                                                  Any
                                                  +
                                                6. + + +

                                                  + + + def + + + clone(): AnyRef + +

                                                  + + Permalink + + +
                                                  Attributes
                                                  protected[java.lang]
                                                  Definition Classes
                                                  AnyRef
                                                  Annotations
                                                  + @throws( + + ... + ) + +
                                                  +
                                                7. + + +

                                                  + + final + def + + + eq(arg0: AnyRef): Boolean + +

                                                  + + Permalink + + +
                                                  Definition Classes
                                                  AnyRef
                                                  +
                                                8. + + +

                                                  + + + def + + + equals(arg0: Any): Boolean + +

                                                  + + Permalink + + +
                                                  Definition Classes
                                                  AnyRef → Any
                                                  +
                                                9. + + +

                                                  + + + def + + + finalize(): Unit + +

                                                  + + Permalink + + +
                                                  Attributes
                                                  protected[java.lang]
                                                  Definition Classes
                                                  AnyRef
                                                  Annotations
                                                  + @throws( + + classOf[java.lang.Throwable] + ) + +
                                                  +
                                                10. + + +

                                                  + + final + def + + + getClass(): Class[_] + +

                                                  + + Permalink + + +
                                                  Definition Classes
                                                  AnyRef → Any
                                                  +
                                                11. + + +

                                                  + + + def + + + hashCode(): Int + +

                                                  + + Permalink + + +
                                                  Definition Classes
                                                  AnyRef → Any
                                                  +
                                                12. + + +

                                                  + + final + def + + + isInstanceOf[T0]: Boolean + +

                                                  + + Permalink + + +
                                                  Definition Classes
                                                  Any
                                                  +
                                                13. + + +

                                                  + + final + def + + + ne(arg0: AnyRef): Boolean + +

                                                  + + Permalink + + +
                                                  Definition Classes
                                                  AnyRef
                                                  +
                                                14. + + +

                                                  + + final + def + + + notify(): Unit + +

                                                  + + Permalink + + +
                                                  Definition Classes
                                                  AnyRef
                                                  +
                                                15. + + +

                                                  + + final + def + + + notifyAll(): Unit + +

                                                  + + Permalink + + +
                                                  Definition Classes
                                                  AnyRef
                                                  +
                                                16. + + +

                                                  + + final + def + + + synchronized[T0](arg0: ⇒ T0): T0 + +

                                                  + + Permalink + + +
                                                  Definition Classes
                                                  AnyRef
                                                  +
                                                17. + + +

                                                  + + + def + + + toString(): String + +

                                                  + + Permalink + + +
                                                  Definition Classes
                                                  AnyRef → Any
                                                  +
                                                18. + + +

                                                  + + final + def + + + wait(): Unit + +

                                                  + + Permalink + + +
                                                  Definition Classes
                                                  AnyRef
                                                  Annotations
                                                  + @throws( + + ... + ) + +
                                                  +
                                                19. + + +

                                                  + + final + def + + + wait(arg0: Long, arg1: Int): Unit + +

                                                  + + Permalink + + +
                                                  Definition Classes
                                                  AnyRef
                                                  Annotations
                                                  + @throws( + + ... + ) + +
                                                  +
                                                20. + + +

                                                  + + final + def + + + wait(arg0: Long): Unit + +

                                                  + + Permalink + + +
                                                  Definition Classes
                                                  AnyRef
                                                  Annotations
                                                  + @throws( + + ... + ) + +
                                                  +
                                                +
                                                + + + + +
                                                + +
                                                +
                                                +

                                                Inherited from Serializable

                                                +
                                                +

                                                Inherited from Serializable

                                                +
                                                +

                                                Inherited from AnyRef

                                                +
                                                +

                                                Inherited from Any

                                                +
                                                + +
                                                + +
                                                +
                                                +

                                                Ungrouped

                                                + +
                                                +
                                                + +
                                                + +
                                                + + + + + + diff --git a/manual1903/api_reference/components/scaladocs/ksb/csle/component/reader/KafkaReader.html b/manual1903/api_reference/components/scaladocs/ksb/csle/component/reader/KafkaReader.html new file mode 100644 index 0000000000000000000000000000000000000000..8467ea4b9c7b2e589d6577def3adf2ae1b4cac97 --- /dev/null +++ b/manual1903/api_reference/components/scaladocs/ksb/csle/component/reader/KafkaReader.html @@ -0,0 +1,652 @@ + + + + KafkaReader - KSB COMPONENTS Scala App Project 1.0-SNAPSHOT API - ksb.csle.component.reader.KafkaReader + + + + + + + + + + + + + + + + + +

                                                + + + class + + + KafkaReader extends BaseReader[InputDStream[ConsumerRecord[String, String]], StreamReaderInfo, StreamingContext] + +

                                                + +

                                                :: ApplicationDeveloperApi ::

                                                Reader that receives streaming data from Kafka. +

                                                + Linear Supertypes +
                                                BaseReader[InputDStream[ConsumerRecord[String, String]], StreamReaderInfo, StreamingContext], BaseDoer, Logging, Serializable, Serializable, AnyRef, Any
                                                +
                                                + + +
                                                +
                                                +
                                                + Ordering +
                                                  + +
                                                1. Alphabetic
                                                2. +
                                                3. By Inheritance
                                                4. +
                                                +
                                                +
                                                + Inherited
                                                +
                                                +
                                                  +
                                                1. KafkaReader
                                                2. BaseReader
                                                3. BaseDoer
                                                4. Logging
                                                5. Serializable
                                                6. Serializable
                                                7. AnyRef
                                                8. Any
                                                9. +
                                                +
                                                + +
                                                  +
                                                1. Hide All
                                                2. +
                                                3. Show All
                                                4. +
                                                +
                                                +
                                                + Visibility +
                                                1. Public
                                                2. All
                                                +
                                                +
                                                + +
                                                +
                                                +
                                                +

                                                Instance Constructors

                                                +
                                                1. + + +

                                                  + + + new + + + KafkaReader(o: StreamReaderInfo) + +

                                                  + + Permalink + + +

                                                  o

                                                  Object that contains message + ksb.csle.common.proto.DatasourceProto.KafkaInfo + KafkaInfo contains attributes as follows:

                                                  • bootStrapServers: Address of Kafka server (required)
                                                  • zooKeeperConnect: Address of Kafka Zookeeper (required)
                                                  • groupId: Group ID of Kafka consumers (required)
                                                  • topic: Topic where fetch data (required)

                                                  KafkaInfo

                                                  message KafkaInfo {
                                                  +  required string bootStrapServers = 1;
                                                  +  required string zooKeeperConnect = 2;
                                                  +  required string groupId = 3;
                                                  +  required string topic = 4;
                                                  +}
                                                  +
                                                +
                                                + + + + + +
                                                +

                                                Value Members

                                                +
                                                1. + + +

                                                  + + final + def + + + !=(arg0: Any): Boolean + +

                                                  + + Permalink + + +
                                                  Definition Classes
                                                  AnyRef → Any
                                                  +
                                                2. + + +

                                                  + + final + def + + + ##(): Int + +

                                                  + + Permalink + + +
                                                  Definition Classes
                                                  AnyRef → Any
                                                  +
                                                3. + + +

                                                  + + final + def + + + ==(arg0: Any): Boolean + +

                                                  + + Permalink + + +
                                                  Definition Classes
                                                  AnyRef → Any
                                                  +
                                                4. + + +

                                                  + + final + def + + + asInstanceOf[T0]: T0 + +

                                                  + + Permalink + + +
                                                  Definition Classes
                                                  Any
                                                  +
                                                5. + + +

                                                  + + + def + + + clone(): AnyRef + +

                                                  + + Permalink + + +
                                                  Attributes
                                                  protected[java.lang]
                                                  Definition Classes
                                                  AnyRef
                                                  Annotations
                                                  + @throws( + + ... + ) + +
                                                  +
                                                6. + + +

                                                  + + + def + + + close: Unit + +

                                                  + + Permalink + + +

                                                  Close the KafkaReader.

                                                  Close the KafkaReader. +

                                                  Definition Classes
                                                  KafkaReader → BaseReader
                                                  +
                                                7. + + +

                                                  + + final + def + + + eq(arg0: AnyRef): Boolean + +

                                                  + + Permalink + + +
                                                  Definition Classes
                                                  AnyRef
                                                  +
                                                8. + + +

                                                  + + + def + + + equals(arg0: Any): Boolean + +

                                                  + + Permalink + + +
                                                  Definition Classes
                                                  AnyRef → Any
                                                  +
                                                9. + + +

                                                  + + + def + + + finalize(): Unit + +

                                                  + + Permalink + + +
                                                  Attributes
                                                  protected[java.lang]
                                                  Definition Classes
                                                  AnyRef
                                                  Annotations
                                                  + @throws( + + classOf[java.lang.Throwable] + ) + +
                                                  +
                                                10. + + +

                                                  + + final + def + + + getClass(): Class[_] + +

                                                  + + Permalink + + +
                                                  Definition Classes
                                                  AnyRef → Any
                                                  +
                                                11. + + +

                                                  + + + def + + + hashCode(): Int + +

                                                  + + Permalink + + +
                                                  Definition Classes
                                                  AnyRef → Any
                                                  +
                                                12. + + +

                                                  + + final + def + + + isInstanceOf[T0]: Boolean + +

                                                  + + Permalink + + +
                                                  Definition Classes
                                                  Any
                                                  +
                                                13. + + +

                                                  + + + val + + + kafkaParams: Map[String, AnyRef] + +

                                                  + + Permalink + + + +
                                                14. + + +

                                                  + + + val + + + logger: Logger + +

                                                  + + Permalink + + +
                                                  Attributes
                                                  protected
                                                  Definition Classes
                                                  Logging
                                                  +
                                                15. + + +

                                                  + + final + def + + + ne(arg0: AnyRef): Boolean + +

                                                  + + Permalink + + +
                                                  Definition Classes
                                                  AnyRef
                                                  +
                                                16. + + +

                                                  + + final + def + + + notify(): Unit + +

                                                  + + Permalink + + +
                                                  Definition Classes
                                                  AnyRef
                                                  +
                                                17. + + +

                                                  + + final + def + + + notifyAll(): Unit + +

                                                  + + Permalink + + +
                                                  Definition Classes
                                                  AnyRef
                                                  +
                                                18. + + +

                                                  + + + val + + + o: StreamReaderInfo + +

                                                  + + Permalink + + +

                                                  Object that contains message + ksb.csle.common.proto.DatasourceProto.KafkaInfo + KafkaInfo contains attributes as follows:

                                                  Object that contains message + ksb.csle.common.proto.DatasourceProto.KafkaInfo + KafkaInfo contains attributes as follows:

                                                  • bootStrapServers: Address of Kafka server (required)
                                                  • zooKeeperConnect: Address of Kafka Zookeeper (required)
                                                  • groupId: Group ID of Kafka consumers (required)
                                                  • topic: Topic where fetch data (required)

                                                  KafkaInfo

                                                  message KafkaInfo {
                                                  +  required string bootStrapServers = 1;
                                                  +  required string zooKeeperConnect = 2;
                                                  +  required string groupId = 3;
                                                  +  required string topic = 4;
                                                  +}
                                                  +
                                                19. + + +

                                                  + + + val + + + p: KafkaInfo + +

                                                  + + Permalink + + + +
                                                20. + + +

                                                  + + + def + + + read(ssc: StreamingContext): InputDStream[ConsumerRecord[String, String]] + +

                                                  + + Permalink + + +

                                                  Create an input stream to receives streaming data from Kafka.

                                                  Create an input stream to receives streaming data from Kafka. +

                                                  ssc

                                                  Spark streaming context

                                                  returns

                                                  InputDStream[ConsumerRecord[String, String]] Input stream to read streaming data

                                                  Definition Classes
                                                  KafkaReader → BaseReader
                                                  +
                                                21. + + +

                                                  + + final + def + + + synchronized[T0](arg0: ⇒ T0): T0 + +

                                                  + + Permalink + + +
                                                  Definition Classes
                                                  AnyRef
                                                  +
                                                22. + + +

                                                  + + + def + + + toString(): String + +

                                                  + + Permalink + + +
                                                  Definition Classes
                                                  AnyRef → Any
                                                  +
                                                23. + + +

                                                  + + + val + + + topics: Array[String] + +

                                                  + + Permalink + + + +
                                                24. + + +

                                                  + + final + def + + + wait(): Unit + +

                                                  + + Permalink + + +
                                                  Definition Classes
                                                  AnyRef
                                                  Annotations
                                                  + @throws( + + ... + ) + +
                                                  +
                                                25. + + +

                                                  + + final + def + + + wait(arg0: Long, arg1: Int): Unit + +

                                                  + + Permalink + + +
                                                  Definition Classes
                                                  AnyRef
                                                  Annotations
                                                  + @throws( + + ... + ) + +
                                                  +
                                                26. + + +

                                                  + + final + def + + + wait(arg0: Long): Unit + +

                                                  + + Permalink + + +
                                                  Definition Classes
                                                  AnyRef
                                                  Annotations
                                                  + @throws( + + ... + ) + +
                                                  +
                                                +
                                                + + + + +
                                                + +
                                                +
                                                +

                                                Inherited from BaseReader[InputDStream[ConsumerRecord[String, String]], StreamReaderInfo, StreamingContext]

                                                +
                                                +

                                                Inherited from BaseDoer

                                                +
                                                +

                                                Inherited from Logging

                                                +
                                                +

                                                Inherited from Serializable

                                                +
                                                +

                                                Inherited from Serializable

                                                +
                                                +

                                                Inherited from AnyRef

                                                +
                                                +

                                                Inherited from Any

                                                +
                                                + +
                                                + +
                                                +
                                                +

                                                Ungrouped

                                                + +
                                                +
                                                + +
                                                + +
                                                + + + + + + diff --git a/manual1903/api_reference/components/scaladocs/ksb/csle/component/reader/MongodbReader$.html b/manual1903/api_reference/components/scaladocs/ksb/csle/component/reader/MongodbReader$.html new file mode 100644 index 0000000000000000000000000000000000000000..df838b335b0993f0c608677b3a667c45a246b795 --- /dev/null +++ b/manual1903/api_reference/components/scaladocs/ksb/csle/component/reader/MongodbReader$.html @@ -0,0 +1,505 @@ + + + + MongodbReader - KSB COMPONENTS Scala App Project 1.0-SNAPSHOT API - ksb.csle.component.reader.MongodbReader + + + + + + + + + + + + + + + + + +

                                                + + + object + + + MongodbReader extends Serializable + +

                                                + +
                                                + Linear Supertypes +
                                                Serializable, Serializable, AnyRef, Any
                                                +
                                                + + +
                                                +
                                                +
                                                + Ordering +
                                                  + +
                                                1. Alphabetic
                                                2. +
                                                3. By Inheritance
                                                4. +
                                                +
                                                +
                                                + Inherited
                                                +
                                                +
                                                  +
                                                1. MongodbReader
                                                2. Serializable
                                                3. Serializable
                                                4. AnyRef
                                                5. Any
                                                6. +
                                                +
                                                + +
                                                  +
                                                1. Hide All
                                                2. +
                                                3. Show All
                                                4. +
                                                +
                                                +
                                                + Visibility +
                                                1. Public
                                                2. All
                                                +
                                                +
                                                + +
                                                +
                                                + + + + + + +
                                                +

                                                Value Members

                                                +
                                                1. + + +

                                                  + + final + def + + + !=(arg0: Any): Boolean + +

                                                  + + Permalink + + +
                                                  Definition Classes
                                                  AnyRef → Any
                                                  +
                                                2. + + +

                                                  + + final + def + + + ##(): Int + +

                                                  + + Permalink + + +
                                                  Definition Classes
                                                  AnyRef → Any
                                                  +
                                                3. + + +

                                                  + + final + def + + + ==(arg0: Any): Boolean + +

                                                  + + Permalink + + +
                                                  Definition Classes
                                                  AnyRef → Any
                                                  +
                                                4. + + +

                                                  + + + def + + + apply(o: BatchReaderInfo): MongodbReader + +

                                                  + + Permalink + + + +
                                                5. + + +

                                                  + + final + def + + + asInstanceOf[T0]: T0 + +

                                                  + + Permalink + + +
                                                  Definition Classes
                                                  Any
                                                  +
                                                6. + + +

                                                  + + + def + + + clone(): AnyRef + +

                                                  + + Permalink + + +
                                                  Attributes
                                                  protected[java.lang]
                                                  Definition Classes
                                                  AnyRef
                                                  Annotations
                                                  + @throws( + + ... + ) + +
                                                  +
                                                7. + + +

                                                  + + final + def + + + eq(arg0: AnyRef): Boolean + +

                                                  + + Permalink + + +
                                                  Definition Classes
                                                  AnyRef
                                                  +
                                                8. + + +

                                                  + + + def + + + equals(arg0: Any): Boolean + +

                                                  + + Permalink + + +
                                                  Definition Classes
                                                  AnyRef → Any
                                                  +
                                                9. + + +

                                                  + + + def + + + finalize(): Unit + +

                                                  + + Permalink + + +
                                                  Attributes
                                                  protected[java.lang]
                                                  Definition Classes
                                                  AnyRef
                                                  Annotations
                                                  + @throws( + + classOf[java.lang.Throwable] + ) + +
                                                  +
                                                10. + + +

                                                  + + final + def + + + getClass(): Class[_] + +

                                                  + + Permalink + + +
                                                  Definition Classes
                                                  AnyRef → Any
                                                  +
                                                11. + + +

                                                  + + + def + + + hashCode(): Int + +

                                                  + + Permalink + + +
                                                  Definition Classes
                                                  AnyRef → Any
                                                  +
                                                12. + + +

                                                  + + final + def + + + isInstanceOf[T0]: Boolean + +

                                                  + + Permalink + + +
                                                  Definition Classes
                                                  Any
                                                  +
                                                13. + + +

                                                  + + final + def + + + ne(arg0: AnyRef): Boolean + +

                                                  + + Permalink + + +
                                                  Definition Classes
                                                  AnyRef
                                                  +
                                                14. + + +

                                                  + + final + def + + + notify(): Unit + +

                                                  + + Permalink + + +
                                                  Definition Classes
                                                  AnyRef
                                                  +
                                                15. + + +

                                                  + + final + def + + + notifyAll(): Unit + +

                                                  + + Permalink + + +
                                                  Definition Classes
                                                  AnyRef
                                                  +
                                                16. + + +

                                                  + + final + def + + + synchronized[T0](arg0: ⇒ T0): T0 + +

                                                  + + Permalink + + +
                                                  Definition Classes
                                                  AnyRef
                                                  +
                                                17. + + +

                                                  + + + def + + + toString(): String + +

                                                  + + Permalink + + +
                                                  Definition Classes
                                                  AnyRef → Any
                                                  +
                                                18. + + +

                                                  + + final + def + + + wait(): Unit + +

                                                  + + Permalink + + +
                                                  Definition Classes
                                                  AnyRef
                                                  Annotations
                                                  + @throws( + + ... + ) + +
                                                  +
                                                19. + + +

                                                  + + final + def + + + wait(arg0: Long, arg1: Int): Unit + +

                                                  + + Permalink + + +
                                                  Definition Classes
                                                  AnyRef
                                                  Annotations
                                                  + @throws( + + ... + ) + +
                                                  +
                                                20. + + +

                                                  + + final + def + + + wait(arg0: Long): Unit + +

                                                  + + Permalink + + +
                                                  Definition Classes
                                                  AnyRef
                                                  Annotations
                                                  + @throws( + + ... + ) + +
                                                  +
                                                +
                                                + + + + +
                                                + +
                                                +
                                                +

                                                Inherited from Serializable

                                                +
                                                +

                                                Inherited from Serializable

                                                +
                                                +

                                                Inherited from AnyRef

                                                +
                                                +

                                                Inherited from Any

                                                +
                                                + +
                                                + +
                                                +
                                                +

                                                Ungrouped

                                                + +
                                                +
                                                + +
                                                + +
                                                + + + + + + diff --git a/manual1903/api_reference/components/scaladocs/ksb/csle/component/reader/MongodbReader.html b/manual1903/api_reference/components/scaladocs/ksb/csle/component/reader/MongodbReader.html new file mode 100644 index 0000000000000000000000000000000000000000..4d528f00f9a217f16856a297e922d1a9f3deb629 --- /dev/null +++ b/manual1903/api_reference/components/scaladocs/ksb/csle/component/reader/MongodbReader.html @@ -0,0 +1,623 @@ + + + + MongodbReader - KSB COMPONENTS Scala App Project 1.0-SNAPSHOT API - ksb.csle.component.reader.MongodbReader + + + + + + + + + + + + + + + + + +

                                                + + + class + + + MongodbReader extends BaseReader[DataFrame, BatchReaderInfo, SparkSession] + +

                                                + +

                                                :: ApplicationDeveloperApi ::

                                                Reader that loads records from MongoDB. +

                                                + Linear Supertypes +
                                                BaseReader[DataFrame, BatchReaderInfo, SparkSession], BaseDoer, Logging, Serializable, Serializable, AnyRef, Any
                                                +
                                                + + +
                                                +
                                                +
                                                + Ordering +
                                                  + +
                                                1. Alphabetic
                                                2. +
                                                3. By Inheritance
                                                4. +
                                                +
                                                +
                                                + Inherited
                                                +
                                                +
                                                  +
                                                1. MongodbReader
                                                2. BaseReader
                                                3. BaseDoer
                                                4. Logging
                                                5. Serializable
                                                6. Serializable
                                                7. AnyRef
                                                8. Any
                                                9. +
                                                +
                                                + +
                                                  +
                                                1. Hide All
                                                2. +
                                                3. Show All
                                                4. +
                                                +
                                                +
                                                + Visibility +
                                                1. Public
                                                2. All
                                                +
                                                +
                                                + +
                                                +
                                                +
                                                +

                                                Instance Constructors

                                                +
                                                1. + + +

                                                  + + + new + + + MongodbReader(o: BatchReaderInfo) + +

                                                  + + Permalink + + +

                                                  o

                                                  Object that contains message + ksb.csle.common.proto.DatasourceProto.MongodbInfo + MongodbInfo contains attributes as follows:

                                                  • serverAddress: MongoDB address + (e.g. 192.168.0.3:27017) (required)
                                                  • dbName: Database name to access (required)
                                                  • collectionName: Collection name to access (required)
                                                  • userName: User name if requires authentication (optional)
                                                  • password: Password if requires authentication (optional)
                                                  • cleaningDataInconsistency: Clean the record if has + inconsistent data (optional)
                                                  • field: Schema of input record (optional)

                                                  MongodbInfo

                                                  message MongodbInfo {
                                                  +  required string serverAddress = 1;
                                                  +  required string dbName = 2;
                                                  +  required string collectionName = 3;
                                                  +  optional string userName = 4;
                                                  +  optional string password = 5;
                                                  +  optional bool cleaningDataInconsistency = 6;
                                                  +  repeated FieldInfo field = 7;
                                                  +}
                                                  +
                                                +
                                                + + + + + +
                                                +

                                                Value Members

                                                +
                                                1. + + +

                                                  + + final + def + + + !=(arg0: Any): Boolean + +

                                                  + + Permalink + + +
                                                  Definition Classes
                                                  AnyRef → Any
                                                  +
                                                2. + + +

                                                  + + final + def + + + ##(): Int + +

                                                  + + Permalink + + +
                                                  Definition Classes
                                                  AnyRef → Any
                                                  +
                                                3. + + +

                                                  + + final + def + + + ==(arg0: Any): Boolean + +

                                                  + + Permalink + + +
                                                  Definition Classes
                                                  AnyRef → Any
                                                  +
                                                4. + + +

                                                  + + final + def + + + asInstanceOf[T0]: T0 + +

                                                  + + Permalink + + +
                                                  Definition Classes
                                                  Any
                                                  +
                                                5. + + +

                                                  + + + def + + + clone(): AnyRef + +

                                                  + + Permalink + + +
                                                  Attributes
                                                  protected[java.lang]
                                                  Definition Classes
                                                  AnyRef
                                                  Annotations
                                                  + @throws( + + ... + ) + +
                                                  +
                                                6. + + +

                                                  + + + def + + + close: Unit + +

                                                  + + Permalink + + +

                                                  Close the connection with MongoDB.

                                                  Close the connection with MongoDB. +

                                                  Definition Classes
                                                  MongodbReader → BaseReader
                                                  Annotations
                                                  + @throws( + + classOf[Exception] + ) + +
                                                  +
                                                7. + + +

                                                  + + final + def + + + eq(arg0: AnyRef): Boolean + +

                                                  + + Permalink + + +
                                                  Definition Classes
                                                  AnyRef
                                                  +
                                                8. + + +

                                                  + + + def + + + equals(arg0: Any): Boolean + +

                                                  + + Permalink + + +
                                                  Definition Classes
                                                  AnyRef → Any
                                                  +
                                                9. + + +

                                                  + + + def + + + finalize(): Unit + +

                                                  + + Permalink + + +
                                                  Attributes
                                                  protected[java.lang]
                                                  Definition Classes
                                                  AnyRef
                                                  Annotations
                                                  + @throws( + + classOf[java.lang.Throwable] + ) + +
                                                  +
                                                10. + + +

                                                  + + final + def + + + getClass(): Class[_] + +

                                                  + + Permalink + + +
                                                  Definition Classes
                                                  AnyRef → Any
                                                  +
                                                11. + + +

                                                  + + + def + + + hashCode(): Int + +

                                                  + + Permalink + + +
                                                  Definition Classes
                                                  AnyRef → Any
                                                  +
                                                12. + + +

                                                  + + final + def + + + isInstanceOf[T0]: Boolean + +

                                                  + + Permalink + + +
                                                  Definition Classes
                                                  Any
                                                  +
                                                13. + + +

                                                  + + + val + + + logger: Logger + +

                                                  + + Permalink + + +
                                                  Attributes
                                                  protected
                                                  Definition Classes
                                                  Logging
                                                  +
                                                14. + + +

                                                  + + final + def + + + ne(arg0: AnyRef): Boolean + +

                                                  + + Permalink + + +
                                                  Definition Classes
                                                  AnyRef
                                                  +
                                                15. + + +

                                                  + + final + def + + + notify(): Unit + +

                                                  + + Permalink + + +
                                                  Definition Classes
                                                  AnyRef
                                                  +
                                                16. + + +

                                                  + + final + def + + + notifyAll(): Unit + +

                                                  + + Permalink + + +
                                                  Definition Classes
                                                  AnyRef
                                                  +
                                                17. + + +

                                                  + + + val + + + o: BatchReaderInfo + +

                                                  + + Permalink + + +

                                                  Object that contains message + ksb.csle.common.proto.DatasourceProto.MongodbInfo + MongodbInfo contains attributes as follows:

                                                  Object that contains message + ksb.csle.common.proto.DatasourceProto.MongodbInfo + MongodbInfo contains attributes as follows:

                                                  • serverAddress: MongoDB address + (e.g. 192.168.0.3:27017) (required)
                                                  • dbName: Database name to access (required)
                                                  • collectionName: Collection name to access (required)
                                                  • userName: User name if requires authentication (optional)
                                                  • password: Password if requires authentication (optional)
                                                  • cleaningDataInconsistency: Clean the record if has + inconsistent data (optional)
                                                  • field: Schema of input record (optional)

                                                  MongodbInfo

                                                  message MongodbInfo {
                                                  +  required string serverAddress = 1;
                                                  +  required string dbName = 2;
                                                  +  required string collectionName = 3;
                                                  +  optional string userName = 4;
                                                  +  optional string password = 5;
                                                  +  optional bool cleaningDataInconsistency = 6;
                                                  +  repeated FieldInfo field = 7;
                                                  +}
                                                  +
                                                18. + + +

                                                  + + + def + + + read(session: SparkSession): Dataset[Row] + +

                                                  + + Permalink + + +

                                                  Load records in as DataFrame from MongoDB.

                                                  Load records in as DataFrame from MongoDB. +

                                                  session

                                                  Spark session

                                                  returns

                                                  DataFrame DataFrame read from MongoDB

                                                  Definition Classes
                                                  MongodbReader → BaseReader
                                                  Annotations
                                                  + @throws( + + classOf[Exception] + ) + +
                                                  +
                                                19. + + +

                                                  + + final + def + + + synchronized[T0](arg0: ⇒ T0): T0 + +

                                                  + + Permalink + + +
                                                  Definition Classes
                                                  AnyRef
                                                  +
                                                20. + + +

                                                  + + + def + + + toString(): String + +

                                                  + + Permalink + + +
                                                  Definition Classes
                                                  AnyRef → Any
                                                  +
                                                21. + + +

                                                  + + final + def + + + wait(): Unit + +

                                                  + + Permalink + + +
                                                  Definition Classes
                                                  AnyRef
                                                  Annotations
                                                  + @throws( + + ... + ) + +
                                                  +
                                                22. + + +

                                                  + + final + def + + + wait(arg0: Long, arg1: Int): Unit + +

                                                  + + Permalink + + +
                                                  Definition Classes
                                                  AnyRef
                                                  Annotations
                                                  + @throws( + + ... + ) + +
                                                  +
                                                23. + + +

                                                  + + final + def + + + wait(arg0: Long): Unit + +

                                                  + + Permalink + + +
                                                  Definition Classes
                                                  AnyRef
                                                  Annotations
                                                  + @throws( + + ... + ) + +
                                                  +
                                                +
                                                + + + + +
                                                + +
                                                +
                                                +

                                                Inherited from BaseReader[DataFrame, BatchReaderInfo, SparkSession]

                                                +
                                                +

                                                Inherited from BaseDoer

                                                +
                                                +

                                                Inherited from Logging

                                                +
                                                +

                                                Inherited from Serializable

                                                +
                                                +

                                                Inherited from Serializable

                                                +
                                                +

                                                Inherited from AnyRef

                                                +
                                                +

                                                Inherited from Any

                                                +
                                                + +
                                                + +
                                                +
                                                +

                                                Ungrouped

                                                + +
                                                +
                                                + +
                                                + +
                                                + + + + + + diff --git a/manual1903/api_reference/components/scaladocs/ksb/csle/component/reader/MultipleReaders$.html b/manual1903/api_reference/components/scaladocs/ksb/csle/component/reader/MultipleReaders$.html new file mode 100644 index 0000000000000000000000000000000000000000..08af5cb67a6ca98199780bd869f0df18ba15c76b --- /dev/null +++ b/manual1903/api_reference/components/scaladocs/ksb/csle/component/reader/MultipleReaders$.html @@ -0,0 +1,505 @@ + + + + MultipleReaders - KSB COMPONENTS Scala App Project 1.0-SNAPSHOT API - ksb.csle.component.reader.MultipleReaders + + + + + + + + + + + + + + + + + +

                                                + + + object + + + MultipleReaders extends Serializable + +

                                                + +
                                                + Linear Supertypes +
                                                Serializable, Serializable, AnyRef, Any
                                                +
                                                + + +
                                                +
                                                +
                                                + Ordering +
                                                  + +
                                                1. Alphabetic
                                                2. +
                                                3. By Inheritance
                                                4. +
                                                +
                                                +
                                                + Inherited
                                                +
                                                +
                                                  +
                                                1. MultipleReaders
                                                2. Serializable
                                                3. Serializable
                                                4. AnyRef
                                                5. Any
                                                6. +
                                                +
                                                + +
                                                  +
                                                1. Hide All
                                                2. +
                                                3. Show All
                                                4. +
                                                +
                                                +
                                                + Visibility +
                                                1. Public
                                                2. All
                                                +
                                                +
                                                + +
                                                +
                                                + + + + + + +
                                                +

                                                Value Members

                                                +
                                                1. + + +

                                                  + + final + def + + + !=(arg0: Any): Boolean + +

                                                  + + Permalink + + +
                                                  Definition Classes
                                                  AnyRef → Any
                                                  +
                                                2. + + +

                                                  + + final + def + + + ##(): Int + +

                                                  + + Permalink + + +
                                                  Definition Classes
                                                  AnyRef → Any
                                                  +
                                                3. + + +

                                                  + + final + def + + + ==(arg0: Any): Boolean + +

                                                  + + Permalink + + +
                                                  Definition Classes
                                                  AnyRef → Any
                                                  +
                                                4. + + +

                                                  + + + def + + + apply[P](o: BatchReaderInfo): MultipleReaders + +

                                                  + + Permalink + + + +
                                                5. + + +

                                                  + + final + def + + + asInstanceOf[T0]: T0 + +

                                                  + + Permalink + + +
                                                  Definition Classes
                                                  Any
                                                  +
                                                6. + + +

                                                  + + + def + + + clone(): AnyRef + +

                                                  + + Permalink + + +
                                                  Attributes
                                                  protected[java.lang]
                                                  Definition Classes
                                                  AnyRef
                                                  Annotations
                                                  + @throws( + + ... + ) + +
                                                  +
                                                7. + + +

                                                  + + final + def + + + eq(arg0: AnyRef): Boolean + +

                                                  + + Permalink + + +
                                                  Definition Classes
                                                  AnyRef
                                                  +
                                                8. + + +

                                                  + + + def + + + equals(arg0: Any): Boolean + +

                                                  + + Permalink + + +
                                                  Definition Classes
                                                  AnyRef → Any
                                                  +
                                                9. + + +

                                                  + + + def + + + finalize(): Unit + +

                                                  + + Permalink + + +
                                                  Attributes
                                                  protected[java.lang]
                                                  Definition Classes
                                                  AnyRef
                                                  Annotations
                                                  + @throws( + + classOf[java.lang.Throwable] + ) + +
                                                  +
                                                10. + + +

                                                  + + final + def + + + getClass(): Class[_] + +

                                                  + + Permalink + + +
                                                  Definition Classes
                                                  AnyRef → Any
                                                  +
                                                11. + + +

                                                  + + + def + + + hashCode(): Int + +

                                                  + + Permalink + + +
                                                  Definition Classes
                                                  AnyRef → Any
                                                  +
                                                12. + + +

                                                  + + final + def + + + isInstanceOf[T0]: Boolean + +

                                                  + + Permalink + + +
                                                  Definition Classes
                                                  Any
                                                  +
                                                13. + + +

                                                  + + final + def + + + ne(arg0: AnyRef): Boolean + +

                                                  + + Permalink + + +
                                                  Definition Classes
                                                  AnyRef
                                                  +
                                                14. + + +

                                                  + + final + def + + + notify(): Unit + +

                                                  + + Permalink + + +
                                                  Definition Classes
                                                  AnyRef
                                                  +
                                                15. + + +

                                                  + + final + def + + + notifyAll(): Unit + +

                                                  + + Permalink + + +
                                                  Definition Classes
                                                  AnyRef
                                                  +
                                                16. + + +

                                                  + + final + def + + + synchronized[T0](arg0: ⇒ T0): T0 + +

                                                  + + Permalink + + +
                                                  Definition Classes
                                                  AnyRef
                                                  +
                                                17. + + +

                                                  + + + def + + + toString(): String + +

                                                  + + Permalink + + +
                                                  Definition Classes
                                                  AnyRef → Any
                                                  +
                                                18. + + +

                                                  + + final + def + + + wait(): Unit + +

                                                  + + Permalink + + +
                                                  Definition Classes
                                                  AnyRef
                                                  Annotations
                                                  + @throws( + + ... + ) + +
                                                  +
                                                19. + + +

                                                  + + final + def + + + wait(arg0: Long, arg1: Int): Unit + +

                                                  + + Permalink + + +
                                                  Definition Classes
                                                  AnyRef
                                                  Annotations
                                                  + @throws( + + ... + ) + +
                                                  +
                                                20. + + +

                                                  + + final + def + + + wait(arg0: Long): Unit + +

                                                  + + Permalink + + +
                                                  Definition Classes
                                                  AnyRef
                                                  Annotations
                                                  + @throws( + + ... + ) + +
                                                  +
                                                +
                                                + + + + +
                                                + +
                                                +
                                                +

                                                Inherited from Serializable

                                                +
                                                +

                                                Inherited from Serializable

                                                +
                                                +

                                                Inherited from AnyRef

                                                +
                                                +

                                                Inherited from Any

                                                +
                                                + +
                                                + +
                                                +
                                                +

                                                Ungrouped

                                                + +
                                                +
                                                + +
                                                + +
                                                + + + + + + diff --git a/manual1903/api_reference/components/scaladocs/ksb/csle/component/reader/MultipleReaders.html b/manual1903/api_reference/components/scaladocs/ksb/csle/component/reader/MultipleReaders.html new file mode 100644 index 0000000000000000000000000000000000000000..745a378953d6826e7b0e30e0b144eb83973ca041 --- /dev/null +++ b/manual1903/api_reference/components/scaladocs/ksb/csle/component/reader/MultipleReaders.html @@ -0,0 +1,724 @@ + + + + MultipleReaders - KSB COMPONENTS Scala App Project 1.0-SNAPSHOT API - ksb.csle.component.reader.MultipleReaders + + + + + + + + + + + + + + + + + +

                                                + + + class + + + MultipleReaders extends BaseReader[DataFrame, BatchReaderInfo, SparkSession] with HBaseFuncAPI + +

                                                + +

                                                :: ApplicationDeveloperApi ::

                                                Reader that loads multiple DataFrame from files and HBase tables +and then merge them under given conditions. +

                                                + Linear Supertypes +
                                                HBaseFuncAPI, BaseReader[DataFrame, BatchReaderInfo, SparkSession], BaseDoer, Logging, Serializable, Serializable, AnyRef, Any
                                                +
                                                + + +
                                                +
                                                +
                                                + Ordering +
                                                  + +
                                                1. Alphabetic
                                                2. +
                                                3. By Inheritance
                                                4. +
                                                +
                                                +
                                                + Inherited
                                                +
                                                +
                                                  +
                                                1. MultipleReaders
                                                2. HBaseFuncAPI
                                                3. BaseReader
                                                4. BaseDoer
                                                5. Logging
                                                6. Serializable
                                                7. Serializable
                                                8. AnyRef
                                                9. Any
                                                10. +
                                                +
                                                + +
                                                  +
                                                1. Hide All
                                                2. +
                                                3. Show All
                                                4. +
                                                +
                                                +
                                                + Visibility +
                                                1. Public
                                                2. All
                                                +
                                                +
                                                + +
                                                +
                                                +
                                                +

                                                Instance Constructors

                                                +
                                                1. + + +

                                                  + + + new + + + MultipleReaders(o: BatchReaderInfo) + +

                                                  + + Permalink + + +

                                                  o

                                                  Object that contains message + ksb.csle.common.proto.DatasourceProto.MultipleReadersInfo + MultipleReadersInfo contains attributes as follows:

                                                  • fileInfo: Attributes to merge file data (required)
                                                  • phoenixInfo: Attributes to merge HBase table (required)
                                                  • joinColumnName: Column name for joining (optional)

                                                  MultipleReadersInfo

                                                  message MultipleReadersInfo {
                                                  +  repeated FileMergingInfo fileInfo = 1;
                                                  +  repeated PhoenixMergingInfo phoenixInfo = 2;
                                                  +  optional string joinColumnName = 3 [default = "TIMESTAMP"];
                                                  +}

                                                  ksb.csle.common.proto.DatasourceProto.FileMergingInfo + FileMergingInfo contains attributes as follows:

                                                  • fileInfo: Attributes to read file data (required) + Note: see 'FileReader' for more details
                                                  • mergeType: Merge method (optional)

                                                  FileMergingInfo

                                                  message FileMergingInfo {
                                                  +  required FileInfo fileInfo = 1;
                                                  +  optional MergeType mergeType = 2 [default = INNER_JOIN];
                                                  +}

                                                  ksb.csle.common.proto.DatasourceProto.PhoenixMergingInfo + PhoenixMergingInfo contains attributes as follows:

                                                  • phoenixInfo: Attributes to read HBase table (required) + Note: see 'PhoenixReader' for more details
                                                  • mergeType: Merge method (optional)

                                                  PhoenixMergingInfo

                                                  message PhoenixMergingInfo {
                                                  +  required PhoenixInfo phoenixInfo = 1;
                                                  +  optional MergeType mergeType = 2 [default = INNER_JOIN];
                                                  +}
                                                  +
                                                +
                                                + + + + + +
                                                +

                                                Value Members

                                                +
                                                1. + + +

                                                  + + final + def + + + !=(arg0: Any): Boolean + +

                                                  + + Permalink + + +
                                                  Definition Classes
                                                  AnyRef → Any
                                                  +
                                                2. + + +

                                                  + + final + def + + + ##(): Int + +

                                                  + + Permalink + + +
                                                  Definition Classes
                                                  AnyRef → Any
                                                  +
                                                3. + + +

                                                  + + final + def + + + ==(arg0: Any): Boolean + +

                                                  + + Permalink + + +
                                                  Definition Classes
                                                  AnyRef → Any
                                                  +
                                                4. + + +

                                                  + + final + def + + + asInstanceOf[T0]: T0 + +

                                                  + + Permalink + + +
                                                  Definition Classes
                                                  Any
                                                  +
                                                5. + + +

                                                  + + + def + + + clone(): AnyRef + +

                                                  + + Permalink + + +
                                                  Attributes
                                                  protected[java.lang]
                                                  Definition Classes
                                                  AnyRef
                                                  Annotations
                                                  + @throws( + + ... + ) + +
                                                  +
                                                6. + + +

                                                  + + + def + + + close: Unit + +

                                                  + + Permalink + + +

                                                  Close the MultipleReaders.

                                                  Close the MultipleReaders. +

                                                  Definition Classes
                                                  MultipleReaders → BaseReader
                                                  +
                                                7. + + +

                                                  + + final + def + + + eq(arg0: AnyRef): Boolean + +

                                                  + + Permalink + + +
                                                  Definition Classes
                                                  AnyRef
                                                  +
                                                8. + + +

                                                  + + + def + + + equals(arg0: Any): Boolean + +

                                                  + + Permalink + + +
                                                  Definition Classes
                                                  AnyRef → Any
                                                  +
                                                9. + + +

                                                  + + + def + + + executeQuery(stmt: Statement, sql: String): ResultSet + +

                                                  + + Permalink + + +
                                                  Definition Classes
                                                  HBaseFuncAPI
                                                  +
                                                10. + + +

                                                  + + + def + + + finalize(): Unit + +

                                                  + + Permalink + + +
                                                  Attributes
                                                  protected[java.lang]
                                                  Definition Classes
                                                  AnyRef
                                                  Annotations
                                                  + @throws( + + classOf[java.lang.Throwable] + ) + +
                                                  +
                                                11. + + +

                                                  + + final + def + + + getClass(): Class[_] + +

                                                  + + Permalink + + +
                                                  Definition Classes
                                                  AnyRef → Any
                                                  +
                                                12. + + +

                                                  + + + def + + + getTableSchema(stmt: Statement, tableName: String): StructType + +

                                                  + + Permalink + + +
                                                  Definition Classes
                                                  HBaseFuncAPI
                                                  +
                                                13. + + +

                                                  + + + def + + + getValueByType(rs: ResultSet, typeStr: String, index: Int): Any + +

                                                  + + Permalink + + +
                                                  Definition Classes
                                                  HBaseFuncAPI
                                                  +
                                                14. + + +

                                                  + + + def + + + hashCode(): Int + +

                                                  + + Permalink + + +
                                                  Definition Classes
                                                  AnyRef → Any
                                                  +
                                                15. + + +

                                                  + + final + def + + + isInstanceOf[T0]: Boolean + +

                                                  + + Permalink + + +
                                                  Definition Classes
                                                  Any
                                                  +
                                                16. + + +

                                                  + + + val + + + logger: Logger + +

                                                  + + Permalink + + +
                                                  Attributes
                                                  protected
                                                  Definition Classes
                                                  Logging
                                                  +
                                                17. + + +

                                                  + + final + def + + + ne(arg0: AnyRef): Boolean + +

                                                  + + Permalink + + +
                                                  Definition Classes
                                                  AnyRef
                                                  +
                                                18. + + +

                                                  + + final + def + + + notify(): Unit + +

                                                  + + Permalink + + +
                                                  Definition Classes
                                                  AnyRef
                                                  +
                                                19. + + +

                                                  + + final + def + + + notifyAll(): Unit + +

                                                  + + Permalink + + +
                                                  Definition Classes
                                                  AnyRef
                                                  +
                                                20. + + +

                                                  + + + val + + + o: BatchReaderInfo + +

                                                  + + Permalink + + +

                                                  Object that contains message + ksb.csle.common.proto.DatasourceProto.MultipleReadersInfo + MultipleReadersInfo contains attributes as follows:

                                                  Object that contains message + ksb.csle.common.proto.DatasourceProto.MultipleReadersInfo + MultipleReadersInfo contains attributes as follows:

                                                  • fileInfo: Attributes to merge file data (required)
                                                  • phoenixInfo: Attributes to merge HBase table (required)
                                                  • joinColumnName: Column name for joining (optional)

                                                  MultipleReadersInfo

                                                  message MultipleReadersInfo {
                                                  +  repeated FileMergingInfo fileInfo = 1;
                                                  +  repeated PhoenixMergingInfo phoenixInfo = 2;
                                                  +  optional string joinColumnName = 3 [default = "TIMESTAMP"];
                                                  +}

                                                  ksb.csle.common.proto.DatasourceProto.FileMergingInfo + FileMergingInfo contains attributes as follows:

                                                  • fileInfo: Attributes to read file data (required) + Note: see 'FileReader' for more details
                                                  • mergeType: Merge method (optional)

                                                  FileMergingInfo

                                                  message FileMergingInfo {
                                                  +  required FileInfo fileInfo = 1;
                                                  +  optional MergeType mergeType = 2 [default = INNER_JOIN];
                                                  +}

                                                  ksb.csle.common.proto.DatasourceProto.PhoenixMergingInfo + PhoenixMergingInfo contains attributes as follows:

                                                  • phoenixInfo: Attributes to read HBase table (required) + Note: see 'PhoenixReader' for more details
                                                  • mergeType: Merge method (optional)

                                                  PhoenixMergingInfo

                                                  message PhoenixMergingInfo {
                                                  +  required PhoenixInfo phoenixInfo = 1;
                                                  +  optional MergeType mergeType = 2 [default = INNER_JOIN];
                                                  +}
                                                  +
                                                21. + + +

                                                  + + + val + + + p: MultipleReadersInfo + +

                                                  + + Permalink + + + +
                                                22. + + +

                                                  + + + def + + + read(spark: SparkSession): DataFrame + +

                                                  + + Permalink + + +

                                                  This reads DataFrame from HBase table using Apache Phoenix.

                                                  This reads DataFrame from HBase table using Apache Phoenix. +

                                                  spark

                                                  SparkSession.

                                                  returns

                                                  DataFrame.

                                                  Definition Classes
                                                  MultipleReaders → BaseReader
                                                  +
                                                23. + + +

                                                  + + + def + + + read(spark: SparkSession, info: PhoenixInfo): DataFrame + +

                                                  + + Permalink + + +
                                                  Definition Classes
                                                  HBaseFuncAPI
                                                  +
                                                24. + + +

                                                  + + final + def + + + synchronized[T0](arg0: ⇒ T0): T0 + +

                                                  + + Permalink + + +
                                                  Definition Classes
                                                  AnyRef
                                                  +
                                                25. + + +

                                                  + + + def + + + toDataFrameType(name: String, dataType: String): StructField + +

                                                  + + Permalink + + +
                                                  Definition Classes
                                                  HBaseFuncAPI
                                                  +
                                                26. + + +

                                                  + + + def + + + toString(): String + +

                                                  + + Permalink + + +
                                                  Definition Classes
                                                  AnyRef → Any
                                                  +
                                                27. + + +

                                                  + + final + def + + + wait(): Unit + +

                                                  + + Permalink + + +
                                                  Definition Classes
                                                  AnyRef
                                                  Annotations
                                                  + @throws( + + ... + ) + +
                                                  +
                                                28. + + +

                                                  + + final + def + + + wait(arg0: Long, arg1: Int): Unit + +

                                                  + + Permalink + + +
                                                  Definition Classes
                                                  AnyRef
                                                  Annotations
                                                  + @throws( + + ... + ) + +
                                                  +
                                                29. + + +

                                                  + + final + def + + + wait(arg0: Long): Unit + +

                                                  + + Permalink + + +
                                                  Definition Classes
                                                  AnyRef
                                                  Annotations
                                                  + @throws( + + ... + ) + +
                                                  +
                                                +
                                                + + + + +
                                                + +
                                                +
                                                +

                                                Inherited from HBaseFuncAPI

                                                +
                                                +

                                                Inherited from BaseReader[DataFrame, BatchReaderInfo, SparkSession]

                                                +
                                                +

                                                Inherited from BaseDoer

                                                +
                                                +

                                                Inherited from Logging

                                                +
                                                +

                                                Inherited from Serializable

                                                +
                                                +

                                                Inherited from Serializable

                                                +
                                                +

                                                Inherited from AnyRef

                                                +
                                                +

                                                Inherited from Any

                                                +
                                                + +
                                                + +
                                                +
                                                +

                                                Ungrouped

                                                + +
                                                +
                                                + +
                                                + +
                                                + + + + + + diff --git a/manual1903/api_reference/components/scaladocs/ksb/csle/component/reader/Onem2mHttpReader.html b/manual1903/api_reference/components/scaladocs/ksb/csle/component/reader/Onem2mHttpReader.html new file mode 100644 index 0000000000000000000000000000000000000000..26eda9dbf17f775095843eacd25294ad6e8e8c69 --- /dev/null +++ b/manual1903/api_reference/components/scaladocs/ksb/csle/component/reader/Onem2mHttpReader.html @@ -0,0 +1,633 @@ + + + + Onem2mHttpReader - KSB COMPONENTS Scala App Project 1.0-SNAPSHOT API - ksb.csle.component.reader.Onem2mHttpReader + + + + + + + + + + + + + + + +
                                                + Class +

                                                ksb.csle.component.reader

                                                +

                                                Onem2mHttpReader

                                                Related Doc: + package reader +

                                                + + Permalink + + +
                                                + +

                                                + + + class + + + Onem2mHttpReader extends BaseReader[InputDStream[String], StreamReaderInfo, SparkSession] + +

                                                + +

                                                :: ApplicationDeveloperApi ::

                                                Reader that receives streaming data via oneM2M HTTP binding. +(Note: In the current version, assumes that container resource is already + subscribed by the external system.) +

                                                + Linear Supertypes +
                                                BaseReader[InputDStream[String], StreamReaderInfo, SparkSession], BaseDoer, Logging, Serializable, Serializable, AnyRef, Any
                                                +
                                                + + +
                                                +
                                                +
                                                + Ordering +
                                                  + +
                                                1. Alphabetic
                                                2. +
                                                3. By Inheritance
                                                4. +
                                                +
                                                +
                                                + Inherited
                                                +
                                                +
                                                  +
                                                1. Onem2mHttpReader
                                                2. BaseReader
                                                3. BaseDoer
                                                4. Logging
                                                5. Serializable
                                                6. Serializable
                                                7. AnyRef
                                                8. Any
                                                9. +
                                                +
                                                + +
                                                  +
                                                1. Hide All
                                                2. +
                                                3. Show All
                                                4. +
                                                +
                                                +
                                                + Visibility +
                                                1. Public
                                                2. All
                                                +
                                                +
                                                + +
                                                +
                                                +
                                                +

                                                Instance Constructors

                                                +
                                                1. + + +

                                                  + + + new + + + Onem2mHttpReader(o: StreamReaderInfo) + +

                                                  + + Permalink + + +

                                                  o

                                                  Object that contains message + ksb.csle.common.proto.DatasourceProto.OneM2MInfo + OneM2MInfo contains attributes as follows:

                                                  • cseBase: URI of CSEBase resource (TDB, set to empty string)
                                                  • originatorID: ID of subscriber (TDB, set to empty string)
                                                  • resourceURI: URIs of resources to subscribe (TDB, set to empty list)
                                                  • http: HTTP binding attributes, see 'OneM2MHttpInfo' (optional)

                                                  OneM2MInfo

                                                  message OneM2MInfo {
                                                  +  required string cseBase = 1;
                                                  +  required string originatorID = 2;
                                                  +  repeated string resourceURI = 3;
                                                  +  oneof oneof_protocols {
                                                  +    OneM2MHttpInfo http = 4;
                                                  +    OneM2MMqttInfo mqtt = 5;
                                                  +  }
                                                  +}

                                                  ksb.csle.common.proto.DatasourceProto.OneM2MHttpInfo + OneM2MHttpInfo contains attributes as follows:

                                                  • cseAddress: IP address of oneM2M CSE (TDB, set to empty string)
                                                  • csePort: Port number of oneM2M CSE (TDB, set to any integer)
                                                  • subscriberPort: Port number of HTTP server to receive + oneM2M notification (required)
                                                  • subscriberAddress: IP address of HTTP server (optional)

                                                  OneM2MHttpInfo

                                                  message OneM2MHttpInfo {
                                                  +  required string cseAddress = 1;
                                                  +  required int32 csePort = 2;
                                                  +  required int32 subscriberPort = 3;
                                                  +  optional string subscriberAddress = 4 [default = "0.0.0.0"];
                                                  +}
                                                  +
                                                +
                                                + + + + + +
                                                +

                                                Value Members

                                                +
                                                1. + + +

                                                  + + final + def + + + !=(arg0: Any): Boolean + +

                                                  + + Permalink + + +
                                                  Definition Classes
                                                  AnyRef → Any
                                                  +
                                                2. + + +

                                                  + + final + def + + + ##(): Int + +

                                                  + + Permalink + + +
                                                  Definition Classes
                                                  AnyRef → Any
                                                  +
                                                3. + + +

                                                  + + final + def + + + ==(arg0: Any): Boolean + +

                                                  + + Permalink + + +
                                                  Definition Classes
                                                  AnyRef → Any
                                                  +
                                                4. + + +

                                                  + + final + def + + + asInstanceOf[T0]: T0 + +

                                                  + + Permalink + + +
                                                  Definition Classes
                                                  Any
                                                  +
                                                5. + + +

                                                  + + + def + + + clone(): AnyRef + +

                                                  + + Permalink + + +
                                                  Attributes
                                                  protected[java.lang]
                                                  Definition Classes
                                                  AnyRef
                                                  Annotations
                                                  + @throws( + + ... + ) + +
                                                  +
                                                6. + + +

                                                  + + + def + + + close: Unit + +

                                                  + + Permalink + + +

                                                  Close the input stream.

                                                  Close the input stream. +

                                                  Definition Classes
                                                  Onem2mHttpReader → BaseReader
                                                  Annotations
                                                  + @throws( + + classOf[Exception] + ) + +
                                                  +
                                                7. + + +

                                                  + + final + def + + + eq(arg0: AnyRef): Boolean + +

                                                  + + Permalink + + +
                                                  Definition Classes
                                                  AnyRef
                                                  +
                                                8. + + +

                                                  + + + def + + + equals(arg0: Any): Boolean + +

                                                  + + Permalink + + +
                                                  Definition Classes
                                                  AnyRef → Any
                                                  +
                                                9. + + +

                                                  + + + def + + + finalize(): Unit + +

                                                  + + Permalink + + +
                                                  Attributes
                                                  protected[java.lang]
                                                  Definition Classes
                                                  AnyRef
                                                  Annotations
                                                  + @throws( + + classOf[java.lang.Throwable] + ) + +
                                                  +
                                                10. + + +

                                                  + + final + def + + + getClass(): Class[_] + +

                                                  + + Permalink + + +
                                                  Definition Classes
                                                  AnyRef → Any
                                                  +
                                                11. + + +

                                                  + + + def + + + hashCode(): Int + +

                                                  + + Permalink + + +
                                                  Definition Classes
                                                  AnyRef → Any
                                                  +
                                                12. + + +

                                                  + + final + def + + + isInstanceOf[T0]: Boolean + +

                                                  + + Permalink + + +
                                                  Definition Classes
                                                  Any
                                                  +
                                                13. + + +

                                                  + + + val + + + logger: Logger + +

                                                  + + Permalink + + +
                                                  Attributes
                                                  protected
                                                  Definition Classes
                                                  Logging
                                                  +
                                                14. + + +

                                                  + + final + def + + + ne(arg0: AnyRef): Boolean + +

                                                  + + Permalink + + +
                                                  Definition Classes
                                                  AnyRef
                                                  +
                                                15. + + +

                                                  + + final + def + + + notify(): Unit + +

                                                  + + Permalink + + +
                                                  Definition Classes
                                                  AnyRef
                                                  +
                                                16. + + +

                                                  + + final + def + + + notifyAll(): Unit + +

                                                  + + Permalink + + +
                                                  Definition Classes
                                                  AnyRef
                                                  +
                                                17. + + +

                                                  + + + val + + + o: StreamReaderInfo + +

                                                  + + Permalink + + +

                                                  Object that contains message + ksb.csle.common.proto.DatasourceProto.OneM2MInfo + OneM2MInfo contains attributes as follows:

                                                  Object that contains message + ksb.csle.common.proto.DatasourceProto.OneM2MInfo + OneM2MInfo contains attributes as follows:

                                                  • cseBase: URI of CSEBase resource (TDB, set to empty string)
                                                  • originatorID: ID of subscriber (TDB, set to empty string)
                                                  • resourceURI: URIs of resources to subscribe (TDB, set to empty list)
                                                  • http: HTTP binding attributes, see 'OneM2MHttpInfo' (optional)

                                                  OneM2MInfo

                                                  message OneM2MInfo {
                                                  +  required string cseBase = 1;
                                                  +  required string originatorID = 2;
                                                  +  repeated string resourceURI = 3;
                                                  +  oneof oneof_protocols {
                                                  +    OneM2MHttpInfo http = 4;
                                                  +    OneM2MMqttInfo mqtt = 5;
                                                  +  }
                                                  +}

                                                  ksb.csle.common.proto.DatasourceProto.OneM2MHttpInfo + OneM2MHttpInfo contains attributes as follows:

                                                  • cseAddress: IP address of oneM2M CSE (TDB, set to empty string)
                                                  • csePort: Port number of oneM2M CSE (TDB, set to any integer)
                                                  • subscriberPort: Port number of HTTP server to receive + oneM2M notification (required)
                                                  • subscriberAddress: IP address of HTTP server (optional)

                                                  OneM2MHttpInfo

                                                  message OneM2MHttpInfo {
                                                  +  required string cseAddress = 1;
                                                  +  required int32 csePort = 2;
                                                  +  required int32 subscriberPort = 3;
                                                  +  optional string subscriberAddress = 4 [default = "0.0.0.0"];
                                                  +}
                                                  +
                                                18. + + +

                                                  + + + def + + + read(session: SparkSession): InputDStream[String] + +

                                                  + + Permalink + + +

                                                  Create an input stream to receives streaming data via oneM2M HTTP binding.

                                                  Create an input stream to receives streaming data via oneM2M HTTP binding. +

                                                  session

                                                  Spark session

                                                  returns

                                                  InputDStream[String] Input stream to read oneM2M notification.

                                                  Definition Classes
                                                  Onem2mHttpReader → BaseReader
                                                  Annotations
                                                  + @throws( + + classOf[Exception] + ) + +
                                                  +
                                                19. + + +

                                                  + + final + def + + + synchronized[T0](arg0: ⇒ T0): T0 + +

                                                  + + Permalink + + +
                                                  Definition Classes
                                                  AnyRef
                                                  +
                                                20. + + +

                                                  + + + def + + + toString(): String + +

                                                  + + Permalink + + +
                                                  Definition Classes
                                                  AnyRef → Any
                                                  +
                                                21. + + +

                                                  + + final + def + + + wait(): Unit + +

                                                  + + Permalink + + +
                                                  Definition Classes
                                                  AnyRef
                                                  Annotations
                                                  + @throws( + + ... + ) + +
                                                  +
                                                22. + + +

                                                  + + final + def + + + wait(arg0: Long, arg1: Int): Unit + +

                                                  + + Permalink + + +
                                                  Definition Classes
                                                  AnyRef
                                                  Annotations
                                                  + @throws( + + ... + ) + +
                                                  +
                                                23. + + +

                                                  + + final + def + + + wait(arg0: Long): Unit + +

                                                  + + Permalink + + +
                                                  Definition Classes
                                                  AnyRef
                                                  Annotations
                                                  + @throws( + + ... + ) + +
                                                  +
                                                +
                                                + + + + +
                                                + +
                                                +
                                                +

                                                Inherited from BaseReader[InputDStream[String], StreamReaderInfo, SparkSession]

                                                +
                                                +

                                                Inherited from BaseDoer

                                                +
                                                +

                                                Inherited from Logging

                                                +
                                                +

                                                Inherited from Serializable

                                                +
                                                +

                                                Inherited from Serializable

                                                +
                                                +

                                                Inherited from AnyRef

                                                +
                                                +

                                                Inherited from Any

                                                +
                                                + +
                                                + +
                                                +
                                                +

                                                Ungrouped

                                                + +
                                                +
                                                + +
                                                + +
                                                + + + + + + diff --git a/manual1903/api_reference/components/scaladocs/ksb/csle/component/reader/PhoenixReader$.html b/manual1903/api_reference/components/scaladocs/ksb/csle/component/reader/PhoenixReader$.html new file mode 100644 index 0000000000000000000000000000000000000000..0946cb267c794d723e51cecc8b7920aa218377d2 --- /dev/null +++ b/manual1903/api_reference/components/scaladocs/ksb/csle/component/reader/PhoenixReader$.html @@ -0,0 +1,505 @@ + + + + PhoenixReader - KSB COMPONENTS Scala App Project 1.0-SNAPSHOT API - ksb.csle.component.reader.PhoenixReader + + + + + + + + + + + + + + + + + +

                                                + + + object + + + PhoenixReader extends Serializable + +

                                                + +
                                                + Linear Supertypes +
                                                Serializable, Serializable, AnyRef, Any
                                                +
                                                + + +
                                                +
                                                +
                                                + Ordering +
                                                  + +
                                                1. Alphabetic
                                                2. +
                                                3. By Inheritance
                                                4. +
                                                +
                                                +
                                                + Inherited
                                                +
                                                +
                                                  +
                                                1. PhoenixReader
                                                2. Serializable
                                                3. Serializable
                                                4. AnyRef
                                                5. Any
                                                6. +
                                                +
                                                + +
                                                  +
                                                1. Hide All
                                                2. +
                                                3. Show All
                                                4. +
                                                +
                                                +
                                                + Visibility +
                                                1. Public
                                                2. All
                                                +
                                                +
                                                + +
                                                +
                                                + + + + + + +
                                                +

                                                Value Members

                                                +
                                                1. + + +

                                                  + + final + def + + + !=(arg0: Any): Boolean + +

                                                  + + Permalink + + +
                                                  Definition Classes
                                                  AnyRef → Any
                                                  +
                                                2. + + +

                                                  + + final + def + + + ##(): Int + +

                                                  + + Permalink + + +
                                                  Definition Classes
                                                  AnyRef → Any
                                                  +
                                                3. + + +

                                                  + + final + def + + + ==(arg0: Any): Boolean + +

                                                  + + Permalink + + +
                                                  Definition Classes
                                                  AnyRef → Any
                                                  +
                                                4. + + +

                                                  + + + def + + + apply[P](o: BatchReaderInfo): PhoenixReader + +

                                                  + + Permalink + + + +
                                                5. + + +

                                                  + + final + def + + + asInstanceOf[T0]: T0 + +

                                                  + + Permalink + + +
                                                  Definition Classes
                                                  Any
                                                  +
                                                6. + + +

                                                  + + + def + + + clone(): AnyRef + +

                                                  + + Permalink + + +
                                                  Attributes
                                                  protected[java.lang]
                                                  Definition Classes
                                                  AnyRef
                                                  Annotations
                                                  + @throws( + + ... + ) + +
                                                  +
                                                7. + + +

                                                  + + final + def + + + eq(arg0: AnyRef): Boolean + +

                                                  + + Permalink + + +
                                                  Definition Classes
                                                  AnyRef
                                                  +
                                                8. + + +

                                                  + + + def + + + equals(arg0: Any): Boolean + +

                                                  + + Permalink + + +
                                                  Definition Classes
                                                  AnyRef → Any
                                                  +
                                                9. + + +

                                                  + + + def + + + finalize(): Unit + +

                                                  + + Permalink + + +
                                                  Attributes
                                                  protected[java.lang]
                                                  Definition Classes
                                                  AnyRef
                                                  Annotations
                                                  + @throws( + + classOf[java.lang.Throwable] + ) + +
                                                  +
                                                10. + + +

                                                  + + final + def + + + getClass(): Class[_] + +

                                                  + + Permalink + + +
                                                  Definition Classes
                                                  AnyRef → Any
                                                  +
                                                11. + + +

                                                  + + + def + + + hashCode(): Int + +

                                                  + + Permalink + + +
                                                  Definition Classes
                                                  AnyRef → Any
                                                  +
                                                12. + + +

                                                  + + final + def + + + isInstanceOf[T0]: Boolean + +

                                                  + + Permalink + + +
                                                  Definition Classes
                                                  Any
                                                  +
                                                13. + + +

                                                  + + final + def + + + ne(arg0: AnyRef): Boolean + +

                                                  + + Permalink + + +
                                                  Definition Classes
                                                  AnyRef
                                                  +
                                                14. + + +

                                                  + + final + def + + + notify(): Unit + +

                                                  + + Permalink + + +
                                                  Definition Classes
                                                  AnyRef
                                                  +
                                                15. + + +

                                                  + + final + def + + + notifyAll(): Unit + +

                                                  + + Permalink + + +
                                                  Definition Classes
                                                  AnyRef
                                                  +
                                                16. + + +

                                                  + + final + def + + + synchronized[T0](arg0: ⇒ T0): T0 + +

                                                  + + Permalink + + +
                                                  Definition Classes
                                                  AnyRef
                                                  +
                                                17. + + +

                                                  + + + def + + + toString(): String + +

                                                  + + Permalink + + +
                                                  Definition Classes
                                                  AnyRef → Any
                                                  +
                                                18. + + +

                                                  + + final + def + + + wait(): Unit + +

                                                  + + Permalink + + +
                                                  Definition Classes
                                                  AnyRef
                                                  Annotations
                                                  + @throws( + + ... + ) + +
                                                  +
                                                19. + + +

                                                  + + final + def + + + wait(arg0: Long, arg1: Int): Unit + +

                                                  + + Permalink + + +
                                                  Definition Classes
                                                  AnyRef
                                                  Annotations
                                                  + @throws( + + ... + ) + +
                                                  +
                                                20. + + +

                                                  + + final + def + + + wait(arg0: Long): Unit + +

                                                  + + Permalink + + +
                                                  Definition Classes
                                                  AnyRef
                                                  Annotations
                                                  + @throws( + + ... + ) + +
                                                  +
                                                +
                                                + + + + +
                                                + +
                                                +
                                                +

                                                Inherited from Serializable

                                                +
                                                +

                                                Inherited from Serializable

                                                +
                                                +

                                                Inherited from AnyRef

                                                +
                                                +

                                                Inherited from Any

                                                +
                                                + +
                                                + +
                                                +
                                                +

                                                Ungrouped

                                                + +
                                                +
                                                + +
                                                + +
                                                + + + + + + diff --git a/manual1903/api_reference/components/scaladocs/ksb/csle/component/reader/PhoenixReader.html b/manual1903/api_reference/components/scaladocs/ksb/csle/component/reader/PhoenixReader.html new file mode 100644 index 0000000000000000000000000000000000000000..103411d2f1180dcef5a94f8f5a62c0101708b8b5 --- /dev/null +++ b/manual1903/api_reference/components/scaladocs/ksb/csle/component/reader/PhoenixReader.html @@ -0,0 +1,690 @@ + + + + PhoenixReader - KSB COMPONENTS Scala App Project 1.0-SNAPSHOT API - ksb.csle.component.reader.PhoenixReader + + + + + + + + + + + + + + + + + +

                                                + + + class + + + PhoenixReader extends BaseReader[DataFrame, BatchReaderInfo, SparkSession] with HBaseFuncAPI + +

                                                + +

                                                :: ApplicationDeveloperApi ::

                                                Reader that loads records from HBase using Phoenix. +

                                                + Linear Supertypes +
                                                HBaseFuncAPI, BaseReader[DataFrame, BatchReaderInfo, SparkSession], BaseDoer, Logging, Serializable, Serializable, AnyRef, Any
                                                +
                                                + + +
                                                +
                                                +
                                                + Ordering +
                                                  + +
                                                1. Alphabetic
                                                2. +
                                                3. By Inheritance
                                                4. +
                                                +
                                                +
                                                + Inherited
                                                +
                                                +
                                                  +
                                                1. PhoenixReader
                                                2. HBaseFuncAPI
                                                3. BaseReader
                                                4. BaseDoer
                                                5. Logging
                                                6. Serializable
                                                7. Serializable
                                                8. AnyRef
                                                9. Any
                                                10. +
                                                +
                                                + +
                                                  +
                                                1. Hide All
                                                2. +
                                                3. Show All
                                                4. +
                                                +
                                                +
                                                + Visibility +
                                                1. Public
                                                2. All
                                                +
                                                +
                                                + +
                                                +
                                                +
                                                +

                                                Instance Constructors

                                                +
                                                1. + + +

                                                  + + + new + + + PhoenixReader(o: BatchReaderInfo) + +

                                                  + + Permalink + + +

                                                  o

                                                  Object that contains message + ksb.csle.common.proto.DatasourceProto.PhoenixInfo + PhoenixInfo contains attributes as follows:

                                                  • jdbcUrl: JDBC URL of Phoenix (required)
                                                  • zkUrl: Address of HBase Zookeeper (required)
                                                  • tableName: Table name to access (required)
                                                  • userName: User name if requires authentication (optional)
                                                  • password: Password if requires authentication (optional)

                                                  PhoenixInfo

                                                  message PhoenixInfo {
                                                  +  required string jdbcUrl = 1;
                                                  +  required string zkUrl = 2;
                                                  +  required string tableName = 3;
                                                  +  optional string userName = 4;
                                                  +  optional string password = 5;
                                                  +}
                                                  +
                                                +
                                                + + + + + +
                                                +

                                                Value Members

                                                +
                                                1. + + +

                                                  + + final + def + + + !=(arg0: Any): Boolean + +

                                                  + + Permalink + + +
                                                  Definition Classes
                                                  AnyRef → Any
                                                  +
                                                2. + + +

                                                  + + final + def + + + ##(): Int + +

                                                  + + Permalink + + +
                                                  Definition Classes
                                                  AnyRef → Any
                                                  +
                                                3. + + +

                                                  + + final + def + + + ==(arg0: Any): Boolean + +

                                                  + + Permalink + + +
                                                  Definition Classes
                                                  AnyRef → Any
                                                  +
                                                4. + + +

                                                  + + final + def + + + asInstanceOf[T0]: T0 + +

                                                  + + Permalink + + +
                                                  Definition Classes
                                                  Any
                                                  +
                                                5. + + +

                                                  + + + def + + + clone(): AnyRef + +

                                                  + + Permalink + + +
                                                  Attributes
                                                  protected[java.lang]
                                                  Definition Classes
                                                  AnyRef
                                                  Annotations
                                                  + @throws( + + ... + ) + +
                                                  +
                                                6. + + +

                                                  + + + def + + + close: Unit + +

                                                  + + Permalink + + +

                                                  Close the PhoenixReader.

                                                  Close the PhoenixReader. +

                                                  Definition Classes
                                                  PhoenixReader → BaseReader
                                                  +
                                                7. + + +

                                                  + + final + def + + + eq(arg0: AnyRef): Boolean + +

                                                  + + Permalink + + +
                                                  Definition Classes
                                                  AnyRef
                                                  +
                                                8. + + +

                                                  + + + def + + + equals(arg0: Any): Boolean + +

                                                  + + Permalink + + +
                                                  Definition Classes
                                                  AnyRef → Any
                                                  +
                                                9. + + +

                                                  + + + def + + + executeQuery(stmt: Statement, sql: String): ResultSet + +

                                                  + + Permalink + + +
                                                  Definition Classes
                                                  HBaseFuncAPI
                                                  +
                                                10. + + +

                                                  + + + def + + + finalize(): Unit + +

                                                  + + Permalink + + +
                                                  Attributes
                                                  protected[java.lang]
                                                  Definition Classes
                                                  AnyRef
                                                  Annotations
                                                  + @throws( + + classOf[java.lang.Throwable] + ) + +
                                                  +
                                                11. + + +

                                                  + + final + def + + + getClass(): Class[_] + +

                                                  + + Permalink + + +
                                                  Definition Classes
                                                  AnyRef → Any
                                                  +
                                                12. + + +

                                                  + + + def + + + getTableSchema(stmt: Statement, tableName: String): StructType + +

                                                  + + Permalink + + +
                                                  Definition Classes
                                                  HBaseFuncAPI
                                                  +
                                                13. + + +

                                                  + + + def + + + getValueByType(rs: ResultSet, typeStr: String, index: Int): Any + +

                                                  + + Permalink + + +
                                                  Definition Classes
                                                  HBaseFuncAPI
                                                  +
                                                14. + + +

                                                  + + + def + + + hashCode(): Int + +

                                                  + + Permalink + + +
                                                  Definition Classes
                                                  AnyRef → Any
                                                  +
                                                15. + + +

                                                  + + final + def + + + isInstanceOf[T0]: Boolean + +

                                                  + + Permalink + + +
                                                  Definition Classes
                                                  Any
                                                  +
                                                16. + + +

                                                  + + + val + + + logger: Logger + +

                                                  + + Permalink + + +
                                                  Attributes
                                                  protected
                                                  Definition Classes
                                                  Logging
                                                  +
                                                17. + + +

                                                  + + final + def + + + ne(arg0: AnyRef): Boolean + +

                                                  + + Permalink + + +
                                                  Definition Classes
                                                  AnyRef
                                                  +
                                                18. + + +

                                                  + + final + def + + + notify(): Unit + +

                                                  + + Permalink + + +
                                                  Definition Classes
                                                  AnyRef
                                                  +
                                                19. + + +

                                                  + + final + def + + + notifyAll(): Unit + +

                                                  + + Permalink + + +
                                                  Definition Classes
                                                  AnyRef
                                                  +
                                                20. + + +

                                                  + + + val + + + o: BatchReaderInfo + +

                                                  + + Permalink + + +

                                                  Object that contains message + ksb.csle.common.proto.DatasourceProto.PhoenixInfo + PhoenixInfo contains attributes as follows:

                                                  Object that contains message + ksb.csle.common.proto.DatasourceProto.PhoenixInfo + PhoenixInfo contains attributes as follows:

                                                  • jdbcUrl: JDBC URL of Phoenix (required)
                                                  • zkUrl: Address of HBase Zookeeper (required)
                                                  • tableName: Table name to access (required)
                                                  • userName: User name if requires authentication (optional)
                                                  • password: Password if requires authentication (optional)

                                                  PhoenixInfo

                                                  message PhoenixInfo {
                                                  +  required string jdbcUrl = 1;
                                                  +  required string zkUrl = 2;
                                                  +  required string tableName = 3;
                                                  +  optional string userName = 4;
                                                  +  optional string password = 5;
                                                  +}
                                                  +
                                                21. + + +

                                                  + + + def + + + read(spark: SparkSession): DataFrame + +

                                                  + + Permalink + + +

                                                  Loads records in as DataFrame from HBase using Pheonix SQL.

                                                  Loads records in as DataFrame from HBase using Pheonix SQL. +

                                                  returns

                                                  DataFrame DataFrame read from HBase

                                                  Definition Classes
                                                  PhoenixReader → BaseReader
                                                  +
                                                22. + + +

                                                  + + + def + + + read(spark: SparkSession, info: PhoenixInfo): DataFrame + +

                                                  + + Permalink + + +
                                                  Definition Classes
                                                  HBaseFuncAPI
                                                  +
                                                23. + + +

                                                  + + final + def + + + synchronized[T0](arg0: ⇒ T0): T0 + +

                                                  + + Permalink + + +
                                                  Definition Classes
                                                  AnyRef
                                                  +
                                                24. + + +

                                                  + + + def + + + toDataFrameType(name: String, dataType: String): StructField + +

                                                  + + Permalink + + +
                                                  Definition Classes
                                                  HBaseFuncAPI
                                                  +
                                                25. + + +

                                                  + + + def + + + toString(): String + +

                                                  + + Permalink + + +
                                                  Definition Classes
                                                  AnyRef → Any
                                                  +
                                                26. + + +

                                                  + + final + def + + + wait(): Unit + +

                                                  + + Permalink + + +
                                                  Definition Classes
                                                  AnyRef
                                                  Annotations
                                                  + @throws( + + ... + ) + +
                                                  +
                                                27. + + +

                                                  + + final + def + + + wait(arg0: Long, arg1: Int): Unit + +

                                                  + + Permalink + + +
                                                  Definition Classes
                                                  AnyRef
                                                  Annotations
                                                  + @throws( + + ... + ) + +
                                                  +
                                                28. + + +

                                                  + + final + def + + + wait(arg0: Long): Unit + +

                                                  + + Permalink + + +
                                                  Definition Classes
                                                  AnyRef
                                                  Annotations
                                                  + @throws( + + ... + ) + +
                                                  +
                                                +
                                                + + + + +
                                                + +
                                                +
                                                +

                                                Inherited from HBaseFuncAPI

                                                +
                                                +

                                                Inherited from BaseReader[DataFrame, BatchReaderInfo, SparkSession]

                                                +
                                                +

                                                Inherited from BaseDoer

                                                +
                                                +

                                                Inherited from Logging

                                                +
                                                +

                                                Inherited from Serializable

                                                +
                                                +

                                                Inherited from Serializable

                                                +
                                                +

                                                Inherited from AnyRef

                                                +
                                                +

                                                Inherited from Any

                                                +
                                                + +
                                                + +
                                                +
                                                +

                                                Ungrouped

                                                + +
                                                +
                                                + +
                                                + +
                                                + + + + + + diff --git a/manual1903/api_reference/components/scaladocs/ksb/csle/component/reader/PhoenixReaderBySql$.html b/manual1903/api_reference/components/scaladocs/ksb/csle/component/reader/PhoenixReaderBySql$.html new file mode 100644 index 0000000000000000000000000000000000000000..502b63040c14394c528780d09c93df8d3a3b4c4f --- /dev/null +++ b/manual1903/api_reference/components/scaladocs/ksb/csle/component/reader/PhoenixReaderBySql$.html @@ -0,0 +1,505 @@ + + + + PhoenixReaderBySql - KSB COMPONENTS Scala App Project 1.0-SNAPSHOT API - ksb.csle.component.reader.PhoenixReaderBySql + + + + + + + + + + + + + + + + + +

                                                + + + object + + + PhoenixReaderBySql extends Serializable + +

                                                + +
                                                + Linear Supertypes +
                                                Serializable, Serializable, AnyRef, Any
                                                +
                                                + + +
                                                +
                                                +
                                                + Ordering +
                                                  + +
                                                1. Alphabetic
                                                2. +
                                                3. By Inheritance
                                                4. +
                                                +
                                                +
                                                + Inherited
                                                +
                                                +
                                                  +
                                                1. PhoenixReaderBySql
                                                2. Serializable
                                                3. Serializable
                                                4. AnyRef
                                                5. Any
                                                6. +
                                                +
                                                + +
                                                  +
                                                1. Hide All
                                                2. +
                                                3. Show All
                                                4. +
                                                +
                                                +
                                                + Visibility +
                                                1. Public
                                                2. All
                                                +
                                                +
                                                + +
                                                +
                                                + + + + + + +
                                                +

                                                Value Members

                                                +
                                                1. + + +

                                                  + + final + def + + + !=(arg0: Any): Boolean + +

                                                  + + Permalink + + +
                                                  Definition Classes
                                                  AnyRef → Any
                                                  +
                                                2. + + +

                                                  + + final + def + + + ##(): Int + +

                                                  + + Permalink + + +
                                                  Definition Classes
                                                  AnyRef → Any
                                                  +
                                                3. + + +

                                                  + + final + def + + + ==(arg0: Any): Boolean + +

                                                  + + Permalink + + +
                                                  Definition Classes
                                                  AnyRef → Any
                                                  +
                                                4. + + +

                                                  + + + def + + + apply[P](o: BatchReaderInfo): PhoenixReaderBySql + +

                                                  + + Permalink + + + +
                                                5. + + +

                                                  + + final + def + + + asInstanceOf[T0]: T0 + +

                                                  + + Permalink + + +
                                                  Definition Classes
                                                  Any
                                                  +
                                                6. + + +

                                                  + + + def + + + clone(): AnyRef + +

                                                  + + Permalink + + +
                                                  Attributes
                                                  protected[java.lang]
                                                  Definition Classes
                                                  AnyRef
                                                  Annotations
                                                  + @throws( + + ... + ) + +
                                                  +
                                                7. + + +

                                                  + + final + def + + + eq(arg0: AnyRef): Boolean + +

                                                  + + Permalink + + +
                                                  Definition Classes
                                                  AnyRef
                                                  +
                                                8. + + +

                                                  + + + def + + + equals(arg0: Any): Boolean + +

                                                  + + Permalink + + +
                                                  Definition Classes
                                                  AnyRef → Any
                                                  +
                                                9. + + +

                                                  + + + def + + + finalize(): Unit + +

                                                  + + Permalink + + +
                                                  Attributes
                                                  protected[java.lang]
                                                  Definition Classes
                                                  AnyRef
                                                  Annotations
                                                  + @throws( + + classOf[java.lang.Throwable] + ) + +
                                                  +
                                                10. + + +

                                                  + + final + def + + + getClass(): Class[_] + +

                                                  + + Permalink + + +
                                                  Definition Classes
                                                  AnyRef → Any
                                                  +
                                                11. + + +

                                                  + + + def + + + hashCode(): Int + +

                                                  + + Permalink + + +
                                                  Definition Classes
                                                  AnyRef → Any
                                                  +
                                                12. + + +

                                                  + + final + def + + + isInstanceOf[T0]: Boolean + +

                                                  + + Permalink + + +
                                                  Definition Classes
                                                  Any
                                                  +
                                                13. + + +

                                                  + + final + def + + + ne(arg0: AnyRef): Boolean + +

                                                  + + Permalink + + +
                                                  Definition Classes
                                                  AnyRef
                                                  +
                                                14. + + +

                                                  + + final + def + + + notify(): Unit + +

                                                  + + Permalink + + +
                                                  Definition Classes
                                                  AnyRef
                                                  +
                                                15. + + +

                                                  + + final + def + + + notifyAll(): Unit + +

                                                  + + Permalink + + +
                                                  Definition Classes
                                                  AnyRef
                                                  +
                                                16. + + +

                                                  + + final + def + + + synchronized[T0](arg0: ⇒ T0): T0 + +

                                                  + + Permalink + + +
                                                  Definition Classes
                                                  AnyRef
                                                  +
                                                17. + + +

                                                  + + + def + + + toString(): String + +

                                                  + + Permalink + + +
                                                  Definition Classes
                                                  AnyRef → Any
                                                  +
                                                18. + + +

                                                  + + final + def + + + wait(): Unit + +

                                                  + + Permalink + + +
                                                  Definition Classes
                                                  AnyRef
                                                  Annotations
                                                  + @throws( + + ... + ) + +
                                                  +
                                                19. + + +

                                                  + + final + def + + + wait(arg0: Long, arg1: Int): Unit + +

                                                  + + Permalink + + +
                                                  Definition Classes
                                                  AnyRef
                                                  Annotations
                                                  + @throws( + + ... + ) + +
                                                  +
                                                20. + + +

                                                  + + final + def + + + wait(arg0: Long): Unit + +

                                                  + + Permalink + + +
                                                  Definition Classes
                                                  AnyRef
                                                  Annotations
                                                  + @throws( + + ... + ) + +
                                                  +
                                                +
                                                + + + + +
                                                + +
                                                +
                                                +

                                                Inherited from Serializable

                                                +
                                                +

                                                Inherited from Serializable

                                                +
                                                +

                                                Inherited from AnyRef

                                                +
                                                +

                                                Inherited from Any

                                                +
                                                + +
                                                + +
                                                +
                                                +

                                                Ungrouped

                                                + +
                                                +
                                                + +
                                                + +
                                                + + + + + + diff --git a/manual1903/api_reference/components/scaladocs/ksb/csle/component/reader/PhoenixReaderBySql.html b/manual1903/api_reference/components/scaladocs/ksb/csle/component/reader/PhoenixReaderBySql.html new file mode 100644 index 0000000000000000000000000000000000000000..b0b387a6191ea2ebf707d7f0c095b412923d3369 --- /dev/null +++ b/manual1903/api_reference/components/scaladocs/ksb/csle/component/reader/PhoenixReaderBySql.html @@ -0,0 +1,725 @@ + + + + PhoenixReaderBySql - KSB COMPONENTS Scala App Project 1.0-SNAPSHOT API - ksb.csle.component.reader.PhoenixReaderBySql + + + + + + + + + + + + + + + + + +

                                                + + + class + + + PhoenixReaderBySql extends BaseReader[DataFrame, BatchReaderInfo, SparkSession] with HBaseFuncAPI + +

                                                + +

                                                :: ApplicationDeveloperApi ::

                                                Reader that loads records from HBase using Phoenix SQL. +

                                                + Linear Supertypes +
                                                HBaseFuncAPI, BaseReader[DataFrame, BatchReaderInfo, SparkSession], BaseDoer, Logging, Serializable, Serializable, AnyRef, Any
                                                +
                                                + + +
                                                +
                                                +
                                                + Ordering +
                                                  + +
                                                1. Alphabetic
                                                2. +
                                                3. By Inheritance
                                                4. +
                                                +
                                                +
                                                + Inherited
                                                +
                                                +
                                                  +
                                                1. PhoenixReaderBySql
                                                2. HBaseFuncAPI
                                                3. BaseReader
                                                4. BaseDoer
                                                5. Logging
                                                6. Serializable
                                                7. Serializable
                                                8. AnyRef
                                                9. Any
                                                10. +
                                                +
                                                + +
                                                  +
                                                1. Hide All
                                                2. +
                                                3. Show All
                                                4. +
                                                +
                                                +
                                                + Visibility +
                                                1. Public
                                                2. All
                                                +
                                                +
                                                + +
                                                +
                                                +
                                                +

                                                Instance Constructors

                                                +
                                                1. + + +

                                                  + + + new + + + PhoenixReaderBySql(o: BatchReaderInfo) + +

                                                  + + Permalink + + +

                                                  o

                                                  Object that contains message + ksb.csle.common.proto.DatasourceProto.PhoenixInfo + PhoenixInfo contains attributes as follows:

                                                  • jdbcUrl: JDBC URL of Phoenix (required)
                                                  • zkUrl: Address of HBase Zookeeper (required)
                                                  • tableName: Table name to access (required)
                                                  • userName: User name if requires authentication (optional)
                                                  • password: Password if requires authentication (optional)
                                                  • sql: List of SQL to execute when loads records (optional)

                                                  PhoenixInfo

                                                  message PhoenixInfo {
                                                  +  required string jdbcUrl = 1;
                                                  +  required string zkUrl = 2;
                                                  +  required string tableName = 3;
                                                  +  optional string userName = 4;
                                                  +  optional string password = 5;
                                                  +  repeated string sql = 8;
                                                  +}
                                                  +
                                                +
                                                + + + + + +
                                                +

                                                Value Members

                                                +
                                                1. + + +

                                                  + + final + def + + + !=(arg0: Any): Boolean + +

                                                  + + Permalink + + +
                                                  Definition Classes
                                                  AnyRef → Any
                                                  +
                                                2. + + +

                                                  + + final + def + + + ##(): Int + +

                                                  + + Permalink + + +
                                                  Definition Classes
                                                  AnyRef → Any
                                                  +
                                                3. + + +

                                                  + + final + def + + + ==(arg0: Any): Boolean + +

                                                  + + Permalink + + +
                                                  Definition Classes
                                                  AnyRef → Any
                                                  +
                                                4. + + +

                                                  + + final + def + + + asInstanceOf[T0]: T0 + +

                                                  + + Permalink + + +
                                                  Definition Classes
                                                  Any
                                                  +
                                                5. + + +

                                                  + + + def + + + clone(): AnyRef + +

                                                  + + Permalink + + +
                                                  Attributes
                                                  protected[java.lang]
                                                  Definition Classes
                                                  AnyRef
                                                  Annotations
                                                  + @throws( + + ... + ) + +
                                                  +
                                                6. + + +

                                                  + + + def + + + close: Unit + +

                                                  + + Permalink + + +
                                                  Definition Classes
                                                  PhoenixReaderBySql → BaseReader
                                                  +
                                                7. + + +

                                                  + + + val + + + conn: Connection + +

                                                  + + Permalink + + + +
                                                8. + + +

                                                  + + final + def + + + eq(arg0: AnyRef): Boolean + +

                                                  + + Permalink + + +
                                                  Definition Classes
                                                  AnyRef
                                                  +
                                                9. + + +

                                                  + + + def + + + equals(arg0: Any): Boolean + +

                                                  + + Permalink + + +
                                                  Definition Classes
                                                  AnyRef → Any
                                                  +
                                                10. + + +

                                                  + + + def + + + executeQuery(stmt: Statement, sql: String): ResultSet + +

                                                  + + Permalink + + +
                                                  Definition Classes
                                                  HBaseFuncAPI
                                                  +
                                                11. + + +

                                                  + + + def + + + finalize(): Unit + +

                                                  + + Permalink + + +
                                                  Attributes
                                                  protected[java.lang]
                                                  Definition Classes
                                                  AnyRef
                                                  Annotations
                                                  + @throws( + + classOf[java.lang.Throwable] + ) + +
                                                  +
                                                12. + + +

                                                  + + final + def + + + getClass(): Class[_] + +

                                                  + + Permalink + + +
                                                  Definition Classes
                                                  AnyRef → Any
                                                  +
                                                13. + + +

                                                  + + + def + + + getTableSchema(stmt: Statement, tableName: String): StructType + +

                                                  + + Permalink + + +
                                                  Definition Classes
                                                  HBaseFuncAPI
                                                  +
                                                14. + + +

                                                  + + + def + + + getValueByType(rs: ResultSet, typeStr: String, index: Int): Any + +

                                                  + + Permalink + + +
                                                  Definition Classes
                                                  HBaseFuncAPI
                                                  +
                                                15. + + +

                                                  + + + def + + + hashCode(): Int + +

                                                  + + Permalink + + +
                                                  Definition Classes
                                                  AnyRef → Any
                                                  +
                                                16. + + +

                                                  + + final + def + + + isInstanceOf[T0]: Boolean + +

                                                  + + Permalink + + +
                                                  Definition Classes
                                                  Any
                                                  +
                                                17. + + +

                                                  + + + val + + + logger: Logger + +

                                                  + + Permalink + + +
                                                  Attributes
                                                  protected
                                                  Definition Classes
                                                  Logging
                                                  +
                                                18. + + +

                                                  + + final + def + + + ne(arg0: AnyRef): Boolean + +

                                                  + + Permalink + + +
                                                  Definition Classes
                                                  AnyRef
                                                  +
                                                19. + + +

                                                  + + final + def + + + notify(): Unit + +

                                                  + + Permalink + + +
                                                  Definition Classes
                                                  AnyRef
                                                  +
                                                20. + + +

                                                  + + final + def + + + notifyAll(): Unit + +

                                                  + + Permalink + + +
                                                  Definition Classes
                                                  AnyRef
                                                  +
                                                21. + + +

                                                  + + + val + + + o: BatchReaderInfo + +

                                                  + + Permalink + + +

                                                  Object that contains message + ksb.csle.common.proto.DatasourceProto.PhoenixInfo + PhoenixInfo contains attributes as follows:

                                                  Object that contains message + ksb.csle.common.proto.DatasourceProto.PhoenixInfo + PhoenixInfo contains attributes as follows:

                                                  • jdbcUrl: JDBC URL of Phoenix (required)
                                                  • zkUrl: Address of HBase Zookeeper (required)
                                                  • tableName: Table name to access (required)
                                                  • userName: User name if requires authentication (optional)
                                                  • password: Password if requires authentication (optional)
                                                  • sql: List of SQL to execute when loads records (optional)

                                                  PhoenixInfo

                                                  message PhoenixInfo {
                                                  +  required string jdbcUrl = 1;
                                                  +  required string zkUrl = 2;
                                                  +  required string tableName = 3;
                                                  +  optional string userName = 4;
                                                  +  optional string password = 5;
                                                  +  repeated string sql = 8;
                                                  +}
                                                  +
                                                22. + + +

                                                  + + + def + + + read(spark: SparkSession): DataFrame + +

                                                  + + Permalink + + +

                                                  This reads DataFrame from HBase table using Apache Phoenix.

                                                  This reads DataFrame from HBase table using Apache Phoenix. +

                                                  spark

                                                  SparkSession.

                                                  returns

                                                  DataFrame.

                                                  Definition Classes
                                                  PhoenixReaderBySql → BaseReader
                                                  +
                                                23. + + +

                                                  + + + def + + + read(spark: SparkSession, info: PhoenixInfo): DataFrame + +

                                                  + + Permalink + + +
                                                  Definition Classes
                                                  HBaseFuncAPI
                                                  +
                                                24. + + +

                                                  + + + val + + + stmt: Statement + +

                                                  + + Permalink + + + +
                                                25. + + +

                                                  + + final + def + + + synchronized[T0](arg0: ⇒ T0): T0 + +

                                                  + + Permalink + + +
                                                  Definition Classes
                                                  AnyRef
                                                  +
                                                26. + + +

                                                  + + + def + + + toDataFrameType(name: String, dataType: String): StructField + +

                                                  + + Permalink + + +
                                                  Definition Classes
                                                  HBaseFuncAPI
                                                  +
                                                27. + + +

                                                  + + + def + + + toString(): String + +

                                                  + + Permalink + + +
                                                  Definition Classes
                                                  AnyRef → Any
                                                  +
                                                28. + + +

                                                  + + final + def + + + wait(): Unit + +

                                                  + + Permalink + + +
                                                  Definition Classes
                                                  AnyRef
                                                  Annotations
                                                  + @throws( + + ... + ) + +
                                                  +
                                                29. + + +

                                                  + + final + def + + + wait(arg0: Long, arg1: Int): Unit + +

                                                  + + Permalink + + +
                                                  Definition Classes
                                                  AnyRef
                                                  Annotations
                                                  + @throws( + + ... + ) + +
                                                  +
                                                30. + + +

                                                  + + final + def + + + wait(arg0: Long): Unit + +

                                                  + + Permalink + + +
                                                  Definition Classes
                                                  AnyRef
                                                  Annotations
                                                  + @throws( + + ... + ) + +
                                                  +
                                                +
                                                + + + + +
                                                + +
                                                +
                                                +

                                                Inherited from HBaseFuncAPI

                                                +
                                                +

                                                Inherited from BaseReader[DataFrame, BatchReaderInfo, SparkSession]

                                                +
                                                +

                                                Inherited from BaseDoer

                                                +
                                                +

                                                Inherited from Logging

                                                +
                                                +

                                                Inherited from Serializable

                                                +
                                                +

                                                Inherited from Serializable

                                                +
                                                +

                                                Inherited from AnyRef

                                                +
                                                +

                                                Inherited from Any

                                                +
                                                + +
                                                + +
                                                +
                                                +

                                                Ungrouped

                                                + +
                                                +
                                                + +
                                                + +
                                                + + + + + + diff --git a/manual1903/api_reference/components/scaladocs/ksb/csle/component/reader/TableReader.html b/manual1903/api_reference/components/scaladocs/ksb/csle/component/reader/TableReader.html new file mode 100644 index 0000000000000000000000000000000000000000..0806ec77e10227febd4c06bbc1b19593574f371f --- /dev/null +++ b/manual1903/api_reference/components/scaladocs/ksb/csle/component/reader/TableReader.html @@ -0,0 +1,602 @@ + + + + TableReader - KSB COMPONENTS Scala App Project 1.0-SNAPSHOT API - ksb.csle.component.reader.TableReader + + + + + + + + + + + + + + + +
                                                + Class +

                                                ksb.csle.component.reader

                                                +

                                                TableReader

                                                Related Doc: + package reader +

                                                + + Permalink + + +
                                                + +

                                                + + + class + + + TableReader extends BaseReader[DataFrame, BatchReaderInfo, SparkSession] + +

                                                + +

                                                :: ApplicationDeveloperApi ::

                                                Reader that loads records from the target table in SQL Database. +(e.g. PostgresQL, MySQL, ...). +

                                                + Linear Supertypes +
                                                BaseReader[DataFrame, BatchReaderInfo, SparkSession], BaseDoer, Logging, Serializable, Serializable, AnyRef, Any
                                                +
                                                + + +
                                                +
                                                +
                                                + Ordering +
                                                  + +
                                                1. Alphabetic
                                                2. +
                                                3. By Inheritance
                                                4. +
                                                +
                                                +
                                                + Inherited
                                                +
                                                +
                                                  +
                                                1. TableReader
                                                2. BaseReader
                                                3. BaseDoer
                                                4. Logging
                                                5. Serializable
                                                6. Serializable
                                                7. AnyRef
                                                8. Any
                                                9. +
                                                +
                                                + +
                                                  +
                                                1. Hide All
                                                2. +
                                                3. Show All
                                                4. +
                                                +
                                                +
                                                + Visibility +
                                                1. Public
                                                2. All
                                                +
                                                +
                                                + +
                                                +
                                                +
                                                +

                                                Instance Constructors

                                                +
                                                1. + + +

                                                  + + + new + + + TableReader(o: BatchReaderInfo) + +

                                                  + + Permalink + + +

                                                  o

                                                  Object that contains message + ksb.csle.common.proto.DatasourceProto.TableInfo + TableInfo contains attributes as follows:

                                                  • jdbcUrl: JDBC URL of database to access (required)
                                                  • jdbcDriver: JDBC driver of database to access (required)
                                                  • tableName: Table name to access (required)
                                                  • userName: User name for authentication (required)
                                                  • password: Password for authentication (required)

                                                  TableInfo

                                                  message TableInfo {
                                                  +  required string jdbcUrl = 1;
                                                  +  required string jdbcDriver = 2;
                                                  +  required string tableName = 3;
                                                  +  required string userName = 4;
                                                  +  required string password = 5;
                                                  +}
                                                  +
                                                +
                                                + + + + + +
                                                +

                                                Value Members

                                                +
                                                1. + + +

                                                  + + final + def + + + !=(arg0: Any): Boolean + +

                                                  + + Permalink + + +
                                                  Definition Classes
                                                  AnyRef → Any
                                                  +
                                                2. + + +

                                                  + + final + def + + + ##(): Int + +

                                                  + + Permalink + + +
                                                  Definition Classes
                                                  AnyRef → Any
                                                  +
                                                3. + + +

                                                  + + final + def + + + ==(arg0: Any): Boolean + +

                                                  + + Permalink + + +
                                                  Definition Classes
                                                  AnyRef → Any
                                                  +
                                                4. + + +

                                                  + + final + def + + + asInstanceOf[T0]: T0 + +

                                                  + + Permalink + + +
                                                  Definition Classes
                                                  Any
                                                  +
                                                5. + + +

                                                  + + + def + + + clone(): AnyRef + +

                                                  + + Permalink + + +
                                                  Attributes
                                                  protected[java.lang]
                                                  Definition Classes
                                                  AnyRef
                                                  Annotations
                                                  + @throws( + + ... + ) + +
                                                  +
                                                6. + + +

                                                  + + + def + + + close: Unit + +

                                                  + + Permalink + + +

                                                  Close the TableReader.

                                                  Close the TableReader. +

                                                  Definition Classes
                                                  TableReader → BaseReader
                                                  +
                                                7. + + +

                                                  + + final + def + + + eq(arg0: AnyRef): Boolean + +

                                                  + + Permalink + + +
                                                  Definition Classes
                                                  AnyRef
                                                  +
                                                8. + + +

                                                  + + + def + + + equals(arg0: Any): Boolean + +

                                                  + + Permalink + + +
                                                  Definition Classes
                                                  AnyRef → Any
                                                  +
                                                9. + + +

                                                  + + + def + + + finalize(): Unit + +

                                                  + + Permalink + + +
                                                  Attributes
                                                  protected[java.lang]
                                                  Definition Classes
                                                  AnyRef
                                                  Annotations
                                                  + @throws( + + classOf[java.lang.Throwable] + ) + +
                                                  +
                                                10. + + +

                                                  + + final + def + + + getClass(): Class[_] + +

                                                  + + Permalink + + +
                                                  Definition Classes
                                                  AnyRef → Any
                                                  +
                                                11. + + +

                                                  + + + def + + + hashCode(): Int + +

                                                  + + Permalink + + +
                                                  Definition Classes
                                                  AnyRef → Any
                                                  +
                                                12. + + +

                                                  + + final + def + + + isInstanceOf[T0]: Boolean + +

                                                  + + Permalink + + +
                                                  Definition Classes
                                                  Any
                                                  +
                                                13. + + +

                                                  + + + val + + + logger: Logger + +

                                                  + + Permalink + + +
                                                  Attributes
                                                  protected
                                                  Definition Classes
                                                  Logging
                                                  +
                                                14. + + +

                                                  + + final + def + + + ne(arg0: AnyRef): Boolean + +

                                                  + + Permalink + + +
                                                  Definition Classes
                                                  AnyRef
                                                  +
                                                15. + + +

                                                  + + final + def + + + notify(): Unit + +

                                                  + + Permalink + + +
                                                  Definition Classes
                                                  AnyRef
                                                  +
                                                16. + + +

                                                  + + final + def + + + notifyAll(): Unit + +

                                                  + + Permalink + + +
                                                  Definition Classes
                                                  AnyRef
                                                  +
                                                17. + + +

                                                  + + + val + + + o: BatchReaderInfo + +

                                                  + + Permalink + + +

                                                  Object that contains message + ksb.csle.common.proto.DatasourceProto.TableInfo + TableInfo contains attributes as follows:

                                                  Object that contains message + ksb.csle.common.proto.DatasourceProto.TableInfo + TableInfo contains attributes as follows:

                                                  • jdbcUrl: JDBC URL of database to access (required)
                                                  • jdbcDriver: JDBC driver of database to access (required)
                                                  • tableName: Table name to access (required)
                                                  • userName: User name for authentication (required)
                                                  • password: Password for authentication (required)

                                                  TableInfo

                                                  message TableInfo {
                                                  +  required string jdbcUrl = 1;
                                                  +  required string jdbcDriver = 2;
                                                  +  required string tableName = 3;
                                                  +  required string userName = 4;
                                                  +  required string password = 5;
                                                  +}
                                                  +
                                                18. + + +

                                                  + + + def + + + read(spark: SparkSession): DataFrame + +

                                                  + + Permalink + + +

                                                  Load records in as DataFrame from SQL Database.

                                                  Load records in as DataFrame from SQL Database. +

                                                  returns

                                                  DataFrame DataFrame read from SQL Database

                                                  Definition Classes
                                                  TableReader → BaseReader
                                                  +
                                                19. + + +

                                                  + + final + def + + + synchronized[T0](arg0: ⇒ T0): T0 + +

                                                  + + Permalink + + +
                                                  Definition Classes
                                                  AnyRef
                                                  +
                                                20. + + +

                                                  + + + def + + + toString(): String + +

                                                  + + Permalink + + +
                                                  Definition Classes
                                                  AnyRef → Any
                                                  +
                                                21. + + +

                                                  + + final + def + + + wait(): Unit + +

                                                  + + Permalink + + +
                                                  Definition Classes
                                                  AnyRef
                                                  Annotations
                                                  + @throws( + + ... + ) + +
                                                  +
                                                22. + + +

                                                  + + final + def + + + wait(arg0: Long, arg1: Int): Unit + +

                                                  + + Permalink + + +
                                                  Definition Classes
                                                  AnyRef
                                                  Annotations
                                                  + @throws( + + ... + ) + +
                                                  +
                                                23. + + +

                                                  + + final + def + + + wait(arg0: Long): Unit + +

                                                  + + Permalink + + +
                                                  Definition Classes
                                                  AnyRef
                                                  Annotations
                                                  + @throws( + + ... + ) + +
                                                  +
                                                +
                                                + + + + +
                                                + +
                                                +
                                                +

                                                Inherited from BaseReader[DataFrame, BatchReaderInfo, SparkSession]

                                                +
                                                +

                                                Inherited from BaseDoer

                                                +
                                                +

                                                Inherited from Logging

                                                +
                                                +

                                                Inherited from Serializable

                                                +
                                                +

                                                Inherited from Serializable

                                                +
                                                +

                                                Inherited from AnyRef

                                                +
                                                +

                                                Inherited from Any

                                                +
                                                + +
                                                + +
                                                +
                                                +

                                                Ungrouped

                                                + +
                                                +
                                                + +
                                                + +
                                                + + + + + + diff --git a/manual1903/api_reference/components/scaladocs/ksb/csle/component/reader/package.html b/manual1903/api_reference/components/scaladocs/ksb/csle/component/reader/package.html new file mode 100644 index 0000000000000000000000000000000000000000..7c833e2d98fe500ca02e27fec1445db989a5a265 --- /dev/null +++ b/manual1903/api_reference/components/scaladocs/ksb/csle/component/reader/package.html @@ -0,0 +1,464 @@ + + + + reader - KSB COMPONENTS Scala App Project 1.0-SNAPSHOT API - ksb.csle.component.reader + + + + + + + + + + + + + + + +
                                                + Package +

                                                ksb.csle.component

                                                +

                                                reader

                                                + + Permalink + + +
                                                + +

                                                + + + package + + + reader + +

                                                + +
                                                + + +
                                                +
                                                + + +
                                                + Visibility +
                                                1. Public
                                                2. All
                                                +
                                                +
                                                + +
                                                +
                                                + + +
                                                +

                                                Type Members

                                                +
                                                1. + + +

                                                  + + + class + + + FileReader extends BaseReader[DataFrame, BatchReaderInfo, SparkSession] + +

                                                  + + Permalink + + +

                                                  :: ApplicationDeveloperApi ::

                                                  :: ApplicationDeveloperApi ::

                                                  Reader that loads records from one or more files. +

                                                  +
                                                2. + + +

                                                  + + + trait + + + HBaseFuncAPI extends Logging + +

                                                  + + Permalink + + +

                                                  An utility class to interact with HBase.

                                                  +
                                                3. + + +

                                                  + + + class + + + HttpClientReader extends BaseReader[InputDStream[String], StreamReaderInfo, SparkSession] + +

                                                  + + Permalink + + +

                                                  :: ApplicationDeveloperApi :: +A receiver that receives responses from a http server through +http methods and store it in spark memory +

                                                  +
                                                4. + + +

                                                  + + + class + + + HttpServerReader extends BaseReader[InputDStream[String], StreamReaderInfo, SparkSession] + +

                                                  + + Permalink + + +

                                                  :: ApplicationDeveloperApi ::

                                                  :: ApplicationDeveloperApi ::

                                                  Reader that receives streaming data via HTTP POST request. +

                                                  +
                                                5. + + +

                                                  + + + class + + + HttpWeatherClientReader extends BaseReader[InputDStream[String], StreamReaderInfo, SparkSession] with Logging + +

                                                  + + Permalink + + +

                                                  :: ApplicationDeveloperApi :: +A receiver that receives responses from a weather server +provided by Korea Meteorological Administration +

                                                  +
                                                6. + + +

                                                  + + + class + + + KafkaOnDemandReader extends BaseReader[(Long) ⇒ Option[String], OnDemandReaderInfo, Long] + +

                                                  + + Permalink + + +

                                                  :: ApplicationDeveloperApi ::

                                                  :: ApplicationDeveloperApi ::

                                                  Reader that fetchs data from Kafka. +

                                                  +
                                                7. + + +

                                                  + + + class + + + KafkaReader extends BaseReader[InputDStream[ConsumerRecord[String, String]], StreamReaderInfo, StreamingContext] + +

                                                  + + Permalink + + +

                                                  :: ApplicationDeveloperApi ::

                                                  :: ApplicationDeveloperApi ::

                                                  Reader that receives streaming data from Kafka. +

                                                  +
                                                8. + + +

                                                  + + + class + + + MongodbReader extends BaseReader[DataFrame, BatchReaderInfo, SparkSession] + +

                                                  + + Permalink + + +

                                                  :: ApplicationDeveloperApi ::

                                                  :: ApplicationDeveloperApi ::

                                                  Reader that loads records from MongoDB. +

                                                  +
                                                9. + + +

                                                  + + + class + + + MultipleReaders extends BaseReader[DataFrame, BatchReaderInfo, SparkSession] with HBaseFuncAPI + +

                                                  + + Permalink + + +

                                                  :: ApplicationDeveloperApi ::

                                                  :: ApplicationDeveloperApi ::

                                                  Reader that loads multiple DataFrame from files and HBase tables +and then merge them under given conditions. +

                                                  +
                                                10. + + +

                                                  + + + class + + + Onem2mHttpReader extends BaseReader[InputDStream[String], StreamReaderInfo, SparkSession] + +

                                                  + + Permalink + + +

                                                  :: ApplicationDeveloperApi ::

                                                  :: ApplicationDeveloperApi ::

                                                  Reader that receives streaming data via oneM2M HTTP binding. +(Note: In the current version, assumes that container resource is already + subscribed by the external system.) +

                                                  +
                                                11. + + +

                                                  + + + class + + + PhoenixReader extends BaseReader[DataFrame, BatchReaderInfo, SparkSession] with HBaseFuncAPI + +

                                                  + + Permalink + + +

                                                  :: ApplicationDeveloperApi ::

                                                  :: ApplicationDeveloperApi ::

                                                  Reader that loads records from HBase using Phoenix. +

                                                  +
                                                12. + + +

                                                  + + + class + + + PhoenixReaderBySql extends BaseReader[DataFrame, BatchReaderInfo, SparkSession] with HBaseFuncAPI + +

                                                  + + Permalink + + +

                                                  :: ApplicationDeveloperApi ::

                                                  :: ApplicationDeveloperApi ::

                                                  Reader that loads records from HBase using Phoenix SQL. +

                                                  +
                                                13. + + +

                                                  + + + class + + + TableReader extends BaseReader[DataFrame, BatchReaderInfo, SparkSession] + +

                                                  + + Permalink + + +

                                                  :: ApplicationDeveloperApi ::

                                                  :: ApplicationDeveloperApi ::

                                                  Reader that loads records from the target table in SQL Database. +(e.g. PostgresQL, MySQL, ...). +

                                                  +
                                                +
                                                + + + +
                                                +

                                                Value Members

                                                +
                                                1. + + +

                                                  + + + object + + + FileReader extends Serializable + +

                                                  + + Permalink + + + +
                                                2. + + +

                                                  + + + object + + + KafkaOnDemandReader extends Serializable + +

                                                  + + Permalink + + + +
                                                3. + + +

                                                  + + + object + + + KafkaReader extends Serializable + +

                                                  + + Permalink + + + +
                                                4. + + +

                                                  + + + object + + + MongodbReader extends Serializable + +

                                                  + + Permalink + + + +
                                                5. + + +

                                                  + + + object + + + MultipleReaders extends Serializable + +

                                                  + + Permalink + + + +
                                                6. + + +

                                                  + + + object + + + PhoenixReader extends Serializable + +

                                                  + + Permalink + + + +
                                                7. + + +

                                                  + + + object + + + PhoenixReaderBySql extends Serializable + +

                                                  + + Permalink + + + +
                                                +
                                                + + + + +
                                                + +
                                                + + +
                                                + +
                                                +
                                                +

                                                Ungrouped

                                                + +
                                                +
                                                + +
                                                + +
                                                + + + + + + diff --git a/manual1903/api_reference/components/scaladocs/ksb/csle/component/runner/BindServing.html b/manual1903/api_reference/components/scaladocs/ksb/csle/component/runner/BindServing.html new file mode 100644 index 0000000000000000000000000000000000000000..4cbd932dbc5173708a7df19760e12fca3f2f3e28 --- /dev/null +++ b/manual1903/api_reference/components/scaladocs/ksb/csle/component/runner/BindServing.html @@ -0,0 +1,459 @@ + + + + BindServing - KSB COMPONENTS Scala App Project 1.0-SNAPSHOT API - ksb.csle.component.runner.BindServing + + + + + + + + + + + + + + + +
                                                + Class +

                                                ksb.csle.component.runner

                                                +

                                                BindServing

                                                Related Doc: + package runner +

                                                + + Permalink + + +
                                                + +

                                                + + sealed + case class + + + BindServing() extends Product with Serializable + +

                                                + +
                                                + Linear Supertypes +
                                                Serializable, Serializable, Product, Equals, AnyRef, Any
                                                +
                                                + + +
                                                +
                                                +
                                                + Ordering +
                                                  + +
                                                1. Alphabetic
                                                2. +
                                                3. By Inheritance
                                                4. +
                                                +
                                                +
                                                + Inherited
                                                +
                                                +
                                                  +
                                                1. BindServing
                                                2. Serializable
                                                3. Serializable
                                                4. Product
                                                5. Equals
                                                6. AnyRef
                                                7. Any
                                                8. +
                                                +
                                                + +
                                                  +
                                                1. Hide All
                                                2. +
                                                3. Show All
                                                4. +
                                                +
                                                +
                                                + Visibility +
                                                1. Public
                                                2. All
                                                +
                                                +
                                                + +
                                                +
                                                +
                                                +

                                                Instance Constructors

                                                +
                                                1. + + +

                                                  + + + new + + + BindServing() + +

                                                  + + Permalink + + + +
                                                +
                                                + + + + + +
                                                +

                                                Value Members

                                                +
                                                1. + + +

                                                  + + final + def + + + !=(arg0: Any): Boolean + +

                                                  + + Permalink + + +
                                                  Definition Classes
                                                  AnyRef → Any
                                                  +
                                                2. + + +

                                                  + + final + def + + + ##(): Int + +

                                                  + + Permalink + + +
                                                  Definition Classes
                                                  AnyRef → Any
                                                  +
                                                3. + + +

                                                  + + final + def + + + ==(arg0: Any): Boolean + +

                                                  + + Permalink + + +
                                                  Definition Classes
                                                  AnyRef → Any
                                                  +
                                                4. + + +

                                                  + + final + def + + + asInstanceOf[T0]: T0 + +

                                                  + + Permalink + + +
                                                  Definition Classes
                                                  Any
                                                  +
                                                5. + + +

                                                  + + + def + + + clone(): AnyRef + +

                                                  + + Permalink + + +
                                                  Attributes
                                                  protected[java.lang]
                                                  Definition Classes
                                                  AnyRef
                                                  Annotations
                                                  + @throws( + + ... + ) + +
                                                  +
                                                6. + + +

                                                  + + final + def + + + eq(arg0: AnyRef): Boolean + +

                                                  + + Permalink + + +
                                                  Definition Classes
                                                  AnyRef
                                                  +
                                                7. + + +

                                                  + + + def + + + finalize(): Unit + +

                                                  + + Permalink + + +
                                                  Attributes
                                                  protected[java.lang]
                                                  Definition Classes
                                                  AnyRef
                                                  Annotations
                                                  + @throws( + + classOf[java.lang.Throwable] + ) + +
                                                  +
                                                8. + + +

                                                  + + final + def + + + getClass(): Class[_] + +

                                                  + + Permalink + + +
                                                  Definition Classes
                                                  AnyRef → Any
                                                  +
                                                9. + + +

                                                  + + final + def + + + isInstanceOf[T0]: Boolean + +

                                                  + + Permalink + + +
                                                  Definition Classes
                                                  Any
                                                  +
                                                10. + + +

                                                  + + final + def + + + ne(arg0: AnyRef): Boolean + +

                                                  + + Permalink + + +
                                                  Definition Classes
                                                  AnyRef
                                                  +
                                                11. + + +

                                                  + + final + def + + + notify(): Unit + +

                                                  + + Permalink + + +
                                                  Definition Classes
                                                  AnyRef
                                                  +
                                                12. + + +

                                                  + + final + def + + + notifyAll(): Unit + +

                                                  + + Permalink + + +
                                                  Definition Classes
                                                  AnyRef
                                                  +
                                                13. + + +

                                                  + + final + def + + + synchronized[T0](arg0: ⇒ T0): T0 + +

                                                  + + Permalink + + +
                                                  Definition Classes
                                                  AnyRef
                                                  +
                                                14. + + +

                                                  + + final + def + + + wait(): Unit + +

                                                  + + Permalink + + +
                                                  Definition Classes
                                                  AnyRef
                                                  Annotations
                                                  + @throws( + + ... + ) + +
                                                  +
                                                15. + + +

                                                  + + final + def + + + wait(arg0: Long, arg1: Int): Unit + +

                                                  + + Permalink + + +
                                                  Definition Classes
                                                  AnyRef
                                                  Annotations
                                                  + @throws( + + ... + ) + +
                                                  +
                                                16. + + +

                                                  + + final + def + + + wait(arg0: Long): Unit + +

                                                  + + Permalink + + +
                                                  Definition Classes
                                                  AnyRef
                                                  Annotations
                                                  + @throws( + + ... + ) + +
                                                  +
                                                +
                                                + + + + +
                                                + +
                                                +
                                                +

                                                Inherited from Serializable

                                                +
                                                +

                                                Inherited from Serializable

                                                +
                                                +

                                                Inherited from Product

                                                +
                                                +

                                                Inherited from Equals

                                                +
                                                +

                                                Inherited from AnyRef

                                                +
                                                +

                                                Inherited from Any

                                                +
                                                + +
                                                + +
                                                +
                                                +

                                                Ungrouped

                                                + +
                                                +
                                                + +
                                                + +
                                                + + + + + + diff --git a/manual1903/api_reference/components/scaladocs/ksb/csle/component/runner/KBERequest.html b/manual1903/api_reference/components/scaladocs/ksb/csle/component/runner/KBERequest.html new file mode 100644 index 0000000000000000000000000000000000000000..feaf9bb29e4b90a33ba76aeefd825328ff6292f3 --- /dev/null +++ b/manual1903/api_reference/components/scaladocs/ksb/csle/component/runner/KBERequest.html @@ -0,0 +1,493 @@ + + + + KBERequest - KSB COMPONENTS Scala App Project 1.0-SNAPSHOT API - ksb.csle.component.runner.KBERequest + + + + + + + + + + + + + + + +
                                                + Class +

                                                ksb.csle.component.runner

                                                +

                                                KBERequest

                                                Related Doc: + package runner +

                                                + + Permalink + + +
                                                + +

                                                + + + case class + + + KBERequest(queryType: String, query: String) extends Product with Serializable + +

                                                + +
                                                + Linear Supertypes +
                                                Serializable, Serializable, Product, Equals, AnyRef, Any
                                                +
                                                + + +
                                                +
                                                +
                                                + Ordering +
                                                  + +
                                                1. Alphabetic
                                                2. +
                                                3. By Inheritance
                                                4. +
                                                +
                                                +
                                                + Inherited
                                                +
                                                +
                                                  +
                                                1. KBERequest
                                                2. Serializable
                                                3. Serializable
                                                4. Product
                                                5. Equals
                                                6. AnyRef
                                                7. Any
                                                8. +
                                                +
                                                + +
                                                  +
                                                1. Hide All
                                                2. +
                                                3. Show All
                                                4. +
                                                +
                                                +
                                                + Visibility +
                                                1. Public
                                                2. All
                                                +
                                                +
                                                + +
                                                +
                                                +
                                                +

                                                Instance Constructors

                                                +
                                                1. + + +

                                                  + + + new + + + KBERequest(queryType: String, query: String) + +

                                                  + + Permalink + + + +
                                                +
                                                + + + + + +
                                                +

                                                Value Members

                                                +
                                                1. + + +

                                                  + + final + def + + + !=(arg0: Any): Boolean + +

                                                  + + Permalink + + +
                                                  Definition Classes
                                                  AnyRef → Any
                                                  +
                                                2. + + +

                                                  + + final + def + + + ##(): Int + +

                                                  + + Permalink + + +
                                                  Definition Classes
                                                  AnyRef → Any
                                                  +
                                                3. + + +

                                                  + + final + def + + + ==(arg0: Any): Boolean + +

                                                  + + Permalink + + +
                                                  Definition Classes
                                                  AnyRef → Any
                                                  +
                                                4. + + +

                                                  + + final + def + + + asInstanceOf[T0]: T0 + +

                                                  + + Permalink + + +
                                                  Definition Classes
                                                  Any
                                                  +
                                                5. + + +

                                                  + + + def + + + clone(): AnyRef + +

                                                  + + Permalink + + +
                                                  Attributes
                                                  protected[java.lang]
                                                  Definition Classes
                                                  AnyRef
                                                  Annotations
                                                  + @throws( + + ... + ) + +
                                                  +
                                                6. + + +

                                                  + + final + def + + + eq(arg0: AnyRef): Boolean + +

                                                  + + Permalink + + +
                                                  Definition Classes
                                                  AnyRef
                                                  +
                                                7. + + +

                                                  + + + def + + + finalize(): Unit + +

                                                  + + Permalink + + +
                                                  Attributes
                                                  protected[java.lang]
                                                  Definition Classes
                                                  AnyRef
                                                  Annotations
                                                  + @throws( + + classOf[java.lang.Throwable] + ) + +
                                                  +
                                                8. + + +

                                                  + + final + def + + + getClass(): Class[_] + +

                                                  + + Permalink + + +
                                                  Definition Classes
                                                  AnyRef → Any
                                                  +
                                                9. + + +

                                                  + + final + def + + + isInstanceOf[T0]: Boolean + +

                                                  + + Permalink + + +
                                                  Definition Classes
                                                  Any
                                                  +
                                                10. + + +

                                                  + + final + def + + + ne(arg0: AnyRef): Boolean + +

                                                  + + Permalink + + +
                                                  Definition Classes
                                                  AnyRef
                                                  +
                                                11. + + +

                                                  + + final + def + + + notify(): Unit + +

                                                  + + Permalink + + +
                                                  Definition Classes
                                                  AnyRef
                                                  +
                                                12. + + +

                                                  + + final + def + + + notifyAll(): Unit + +

                                                  + + Permalink + + +
                                                  Definition Classes
                                                  AnyRef
                                                  +
                                                13. + + +

                                                  + + + val + + + query: String + +

                                                  + + Permalink + + + +
                                                14. + + +

                                                  + + + val + + + queryType: String + +

                                                  + + Permalink + + + +
                                                15. + + +

                                                  + + final + def + + + synchronized[T0](arg0: ⇒ T0): T0 + +

                                                  + + Permalink + + +
                                                  Definition Classes
                                                  AnyRef
                                                  +
                                                16. + + +

                                                  + + final + def + + + wait(): Unit + +

                                                  + + Permalink + + +
                                                  Definition Classes
                                                  AnyRef
                                                  Annotations
                                                  + @throws( + + ... + ) + +
                                                  +
                                                17. + + +

                                                  + + final + def + + + wait(arg0: Long, arg1: Int): Unit + +

                                                  + + Permalink + + +
                                                  Definition Classes
                                                  AnyRef
                                                  Annotations
                                                  + @throws( + + ... + ) + +
                                                  +
                                                18. + + +

                                                  + + final + def + + + wait(arg0: Long): Unit + +

                                                  + + Permalink + + +
                                                  Definition Classes
                                                  AnyRef
                                                  Annotations
                                                  + @throws( + + ... + ) + +
                                                  +
                                                +
                                                + + + + +
                                                + +
                                                +
                                                +

                                                Inherited from Serializable

                                                +
                                                +

                                                Inherited from Serializable

                                                +
                                                +

                                                Inherited from Product

                                                +
                                                +

                                                Inherited from Equals

                                                +
                                                +

                                                Inherited from AnyRef

                                                +
                                                +

                                                Inherited from Any

                                                +
                                                + +
                                                + +
                                                +
                                                +

                                                Ungrouped

                                                + +
                                                +
                                                + +
                                                + +
                                                + + + + + + diff --git a/manual1903/api_reference/components/scaladocs/ksb/csle/component/runner/KBEResponse.html b/manual1903/api_reference/components/scaladocs/ksb/csle/component/runner/KBEResponse.html new file mode 100644 index 0000000000000000000000000000000000000000..104088f2f511881a87eb5eba675bd1ef5b747aa7 --- /dev/null +++ b/manual1903/api_reference/components/scaladocs/ksb/csle/component/runner/KBEResponse.html @@ -0,0 +1,493 @@ + + + + KBEResponse - KSB COMPONENTS Scala App Project 1.0-SNAPSHOT API - ksb.csle.component.runner.KBEResponse + + + + + + + + + + + + + + + +
                                                + Class +

                                                ksb.csle.component.runner

                                                +

                                                KBEResponse

                                                Related Doc: + package runner +

                                                + + Permalink + + +
                                                + +

                                                + + + case class + + + KBEResponse(statuscode: Int, body: String) extends Product with Serializable + +

                                                + +
                                                + Linear Supertypes +
                                                Serializable, Serializable, Product, Equals, AnyRef, Any
                                                +
                                                + + +
                                                +
                                                +
                                                + Ordering +
                                                  + +
                                                1. Alphabetic
                                                2. +
                                                3. By Inheritance
                                                4. +
                                                +
                                                +
                                                + Inherited
                                                +
                                                +
                                                  +
                                                1. KBEResponse
                                                2. Serializable
                                                3. Serializable
                                                4. Product
                                                5. Equals
                                                6. AnyRef
                                                7. Any
                                                8. +
                                                +
                                                + +
                                                  +
                                                1. Hide All
                                                2. +
                                                3. Show All
                                                4. +
                                                +
                                                +
                                                + Visibility +
                                                1. Public
                                                2. All
                                                +
                                                +
                                                + +
                                                +
                                                +
                                                +

                                                Instance Constructors

                                                +
                                                1. + + +

                                                  + + + new + + + KBEResponse(statuscode: Int, body: String) + +

                                                  + + Permalink + + + +
                                                +
                                                + + + + + +
                                                +

                                                Value Members

                                                +
                                                1. + + +

                                                  + + final + def + + + !=(arg0: Any): Boolean + +

                                                  + + Permalink + + +
                                                  Definition Classes
                                                  AnyRef → Any
                                                  +
                                                2. + + +

                                                  + + final + def + + + ##(): Int + +

                                                  + + Permalink + + +
                                                  Definition Classes
                                                  AnyRef → Any
                                                  +
                                                3. + + +

                                                  + + final + def + + + ==(arg0: Any): Boolean + +

                                                  + + Permalink + + +
                                                  Definition Classes
                                                  AnyRef → Any
                                                  +
                                                4. + + +

                                                  + + final + def + + + asInstanceOf[T0]: T0 + +

                                                  + + Permalink + + +
                                                  Definition Classes
                                                  Any
                                                  +
                                                5. + + +

                                                  + + + val + + + body: String + +

                                                  + + Permalink + + + +
                                                6. + + +

                                                  + + + def + + + clone(): AnyRef + +

                                                  + + Permalink + + +
                                                  Attributes
                                                  protected[java.lang]
                                                  Definition Classes
                                                  AnyRef
                                                  Annotations
                                                  + @throws( + + ... + ) + +
                                                  +
                                                7. + + +

                                                  + + final + def + + + eq(arg0: AnyRef): Boolean + +

                                                  + + Permalink + + +
                                                  Definition Classes
                                                  AnyRef
                                                  +
                                                8. + + +

                                                  + + + def + + + finalize(): Unit + +

                                                  + + Permalink + + +
                                                  Attributes
                                                  protected[java.lang]
                                                  Definition Classes
                                                  AnyRef
                                                  Annotations
                                                  + @throws( + + classOf[java.lang.Throwable] + ) + +
                                                  +
                                                9. + + +

                                                  + + final + def + + + getClass(): Class[_] + +

                                                  + + Permalink + + +
                                                  Definition Classes
                                                  AnyRef → Any
                                                  +
                                                10. + + +

                                                  + + final + def + + + isInstanceOf[T0]: Boolean + +

                                                  + + Permalink + + +
                                                  Definition Classes
                                                  Any
                                                  +
                                                11. + + +

                                                  + + final + def + + + ne(arg0: AnyRef): Boolean + +

                                                  + + Permalink + + +
                                                  Definition Classes
                                                  AnyRef
                                                  +
                                                12. + + +

                                                  + + final + def + + + notify(): Unit + +

                                                  + + Permalink + + +
                                                  Definition Classes
                                                  AnyRef
                                                  +
                                                13. + + +

                                                  + + final + def + + + notifyAll(): Unit + +

                                                  + + Permalink + + +
                                                  Definition Classes
                                                  AnyRef
                                                  +
                                                14. + + +

                                                  + + + val + + + statuscode: Int + +

                                                  + + Permalink + + + +
                                                15. + + +

                                                  + + final + def + + + synchronized[T0](arg0: ⇒ T0): T0 + +

                                                  + + Permalink + + +
                                                  Definition Classes
                                                  AnyRef
                                                  +
                                                16. + + +

                                                  + + final + def + + + wait(): Unit + +

                                                  + + Permalink + + +
                                                  Definition Classes
                                                  AnyRef
                                                  Annotations
                                                  + @throws( + + ... + ) + +
                                                  +
                                                17. + + +

                                                  + + final + def + + + wait(arg0: Long, arg1: Int): Unit + +

                                                  + + Permalink + + +
                                                  Definition Classes
                                                  AnyRef
                                                  Annotations
                                                  + @throws( + + ... + ) + +
                                                  +
                                                18. + + +

                                                  + + final + def + + + wait(arg0: Long): Unit + +

                                                  + + Permalink + + +
                                                  Definition Classes
                                                  AnyRef
                                                  Annotations
                                                  + @throws( + + ... + ) + +
                                                  +
                                                +
                                                + + + + +
                                                + +
                                                +
                                                +

                                                Inherited from Serializable

                                                +
                                                +

                                                Inherited from Serializable

                                                +
                                                +

                                                Inherited from Product

                                                +
                                                +

                                                Inherited from Equals

                                                +
                                                +

                                                Inherited from AnyRef

                                                +
                                                +

                                                Inherited from Any

                                                +
                                                + +
                                                + +
                                                +
                                                +

                                                Ungrouped

                                                + +
                                                +
                                                + +
                                                + +
                                                + + + + + + diff --git a/manual1903/api_reference/components/scaladocs/ksb/csle/component/runner/KBEServingRunner.html b/manual1903/api_reference/components/scaladocs/ksb/csle/component/runner/KBEServingRunner.html new file mode 100644 index 0000000000000000000000000000000000000000..43fa0ccd35633ca552fe949cb0085f342cc9ddfc --- /dev/null +++ b/manual1903/api_reference/components/scaladocs/ksb/csle/component/runner/KBEServingRunner.html @@ -0,0 +1,619 @@ + + + + KBEServingRunner - KSB COMPONENTS Scala App Project 1.0-SNAPSHOT API - ksb.csle.component.runner.KBEServingRunner + + + + + + + + + + + + + + + +
                                                + Class +

                                                ksb.csle.component.runner

                                                +

                                                KBEServingRunner

                                                Related Doc: + package runner +

                                                + + Permalink + + +
                                                + +

                                                + + + class + + + KBEServingRunner extends BaseRunner[SparkSession, OnDemandRunnerInfo, Unit] + +

                                                + +

                                                :: ApplicationDeveloperApi ::

                                                Operates as a runner of http server type and delivers a query request to the +knowledge base engine via http post request and provides a response from +the knowledge base engine. +

                                                + Linear Supertypes +
                                                BaseRunner[SparkSession, OnDemandRunnerInfo, Unit], BaseDoer, Logging, Serializable, Serializable, AnyRef, Any
                                                +
                                                + + +
                                                +
                                                +
                                                + Ordering +
                                                  + +
                                                1. Alphabetic
                                                2. +
                                                3. By Inheritance
                                                4. +
                                                +
                                                +
                                                + Inherited
                                                +
                                                +
                                                  +
                                                1. KBEServingRunner
                                                2. BaseRunner
                                                3. BaseDoer
                                                4. Logging
                                                5. Serializable
                                                6. Serializable
                                                7. AnyRef
                                                8. Any
                                                9. +
                                                +
                                                + +
                                                  +
                                                1. Hide All
                                                2. +
                                                3. Show All
                                                4. +
                                                +
                                                +
                                                + Visibility +
                                                1. Public
                                                2. All
                                                +
                                                +
                                                + +
                                                +
                                                +
                                                +

                                                Instance Constructors

                                                +
                                                1. + + +

                                                  + + + new + + + KBEServingRunner(baseInfo: OnDemandRunnerInfo) + +

                                                  + + Permalink + + +

                                                  +
                                                +
                                                + + + + + +
                                                +

                                                Value Members

                                                +
                                                1. + + +

                                                  + + final + def + + + !=(arg0: Any): Boolean + +

                                                  + + Permalink + + +
                                                  Definition Classes
                                                  AnyRef → Any
                                                  +
                                                2. + + +

                                                  + + final + def + + + ##(): Int + +

                                                  + + Permalink + + +
                                                  Definition Classes
                                                  AnyRef → Any
                                                  +
                                                3. + + +

                                                  + + final + def + + + ==(arg0: Any): Boolean + +

                                                  + + Permalink + + +
                                                  Definition Classes
                                                  AnyRef → Any
                                                  +
                                                4. + + +

                                                  + + final + def + + + asInstanceOf[T0]: T0 + +

                                                  + + Permalink + + +
                                                  Definition Classes
                                                  Any
                                                  +
                                                5. + + +

                                                  + + + def + + + clone(): AnyRef + +

                                                  + + Permalink + + +
                                                  Attributes
                                                  protected[java.lang]
                                                  Definition Classes
                                                  AnyRef
                                                  Annotations
                                                  + @throws( + + ... + ) + +
                                                  +
                                                6. + + +

                                                  + + final + def + + + eq(arg0: AnyRef): Boolean + +

                                                  + + Permalink + + +
                                                  Definition Classes
                                                  AnyRef
                                                  +
                                                7. + + +

                                                  + + + def + + + equals(arg0: Any): Boolean + +

                                                  + + Permalink + + +
                                                  Definition Classes
                                                  AnyRef → Any
                                                  +
                                                8. + + +

                                                  + + + def + + + finalize(): Unit + +

                                                  + + Permalink + + +
                                                  Attributes
                                                  protected[java.lang]
                                                  Definition Classes
                                                  AnyRef
                                                  Annotations
                                                  + @throws( + + classOf[java.lang.Throwable] + ) + +
                                                  +
                                                9. + + +

                                                  + + final + def + + + getClass(): Class[_] + +

                                                  + + Permalink + + +
                                                  Definition Classes
                                                  AnyRef → Any
                                                  +
                                                10. + + +

                                                  + + + def + + + getSession: SparkSession + +

                                                  + + Permalink + + +
                                                  Definition Classes
                                                  KBEServingRunner → BaseRunner
                                                  +
                                                11. + + +

                                                  + + + def + + + hashCode(): Int + +

                                                  + + Permalink + + +
                                                  Definition Classes
                                                  AnyRef → Any
                                                  +
                                                12. + + +

                                                  + + + def + + + init(predictPipeline: Any): Unit + +

                                                  + + Permalink + + +

                                                  Prepare to receive http request toward knowledgebase engine +

                                                  Prepare to receive http request toward knowledgebase engine +

                                                  Definition Classes
                                                  KBEServingRunner → BaseRunner
                                                  +
                                                13. + + +

                                                  + + final + def + + + isInstanceOf[T0]: Boolean + +

                                                  + + Permalink + + +
                                                  Definition Classes
                                                  Any
                                                  +
                                                14. + + +

                                                  + + + def + + + isTerminated(): Boolean + +

                                                  + + Permalink + + + +
                                                15. + + +

                                                  + + + val + + + logger: Logger + +

                                                  + + Permalink + + +
                                                  Attributes
                                                  protected
                                                  Definition Classes
                                                  Logging
                                                  +
                                                16. + + +

                                                  + + final + def + + + ne(arg0: AnyRef): Boolean + +

                                                  + + Permalink + + +
                                                  Definition Classes
                                                  AnyRef
                                                  +
                                                17. + + +

                                                  + + final + def + + + notify(): Unit + +

                                                  + + Permalink + + +
                                                  Definition Classes
                                                  AnyRef
                                                  +
                                                18. + + +

                                                  + + final + def + + + notifyAll(): Unit + +

                                                  + + Permalink + + +
                                                  Definition Classes
                                                  AnyRef
                                                  +
                                                19. + + +

                                                  + + + def + + + run(a: Any): Unit + +

                                                  + + Permalink + + +
                                                  Definition Classes
                                                  KBEServingRunner → BaseRunner
                                                  +
                                                20. + + +

                                                  + + + def + + + stop: Unit + +

                                                  + + Permalink + + +
                                                  Definition Classes
                                                  KBEServingRunner → BaseRunner
                                                  +
                                                21. + + +

                                                  + + final + def + + + synchronized[T0](arg0: ⇒ T0): T0 + +

                                                  + + Permalink + + +
                                                  Definition Classes
                                                  AnyRef
                                                  +
                                                22. + + +

                                                  + + + def + + + toString(): String + +

                                                  + + Permalink + + +
                                                  Definition Classes
                                                  AnyRef → Any
                                                  +
                                                23. + + +

                                                  + + final + def + + + wait(): Unit + +

                                                  + + Permalink + + +
                                                  Definition Classes
                                                  AnyRef
                                                  Annotations
                                                  + @throws( + + ... + ) + +
                                                  +
                                                24. + + +

                                                  + + final + def + + + wait(arg0: Long, arg1: Int): Unit + +

                                                  + + Permalink + + +
                                                  Definition Classes
                                                  AnyRef
                                                  Annotations
                                                  + @throws( + + ... + ) + +
                                                  +
                                                25. + + +

                                                  + + final + def + + + wait(arg0: Long): Unit + +

                                                  + + Permalink + + +
                                                  Definition Classes
                                                  AnyRef
                                                  Annotations
                                                  + @throws( + + ... + ) + +
                                                  +
                                                +
                                                + + + + +
                                                + +
                                                +
                                                +

                                                Inherited from BaseRunner[SparkSession, OnDemandRunnerInfo, Unit]

                                                +
                                                +

                                                Inherited from BaseDoer

                                                +
                                                +

                                                Inherited from Logging

                                                +
                                                +

                                                Inherited from Serializable

                                                +
                                                +

                                                Inherited from Serializable

                                                +
                                                +

                                                Inherited from AnyRef

                                                +
                                                +

                                                Inherited from Any

                                                +
                                                + +
                                                + +
                                                +
                                                +

                                                Ungrouped

                                                + +
                                                +
                                                + +
                                                + +
                                                + + + + + + diff --git a/manual1903/api_reference/components/scaladocs/ksb/csle/component/runner/PySparkRunner$.html b/manual1903/api_reference/components/scaladocs/ksb/csle/component/runner/PySparkRunner$.html new file mode 100644 index 0000000000000000000000000000000000000000..cfda85ca1db5e1d29839af9463fb9ec1509798aa --- /dev/null +++ b/manual1903/api_reference/components/scaladocs/ksb/csle/component/runner/PySparkRunner$.html @@ -0,0 +1,491 @@ + + + + PySparkRunner - KSB COMPONENTS Scala App Project 1.0-SNAPSHOT API - ksb.csle.component.runner.PySparkRunner + + + + + + + + + + + + + + + + + +

                                                + + + object + + + PySparkRunner extends Serializable + +

                                                + +
                                                Annotations
                                                + @Deprecated + +
                                                + Linear Supertypes +
                                                Serializable, Serializable, AnyRef, Any
                                                +
                                                + + +
                                                +
                                                +
                                                + Ordering +
                                                  + +
                                                1. Alphabetic
                                                2. +
                                                3. By Inheritance
                                                4. +
                                                +
                                                +
                                                + Inherited
                                                +
                                                +
                                                  +
                                                1. PySparkRunner
                                                2. Serializable
                                                3. Serializable
                                                4. AnyRef
                                                5. Any
                                                6. +
                                                +
                                                + +
                                                  +
                                                1. Hide All
                                                2. +
                                                3. Show All
                                                4. +
                                                +
                                                +
                                                + Visibility +
                                                1. Public
                                                2. All
                                                +
                                                +
                                                + +
                                                +
                                                + + + + + + +
                                                +

                                                Value Members

                                                +
                                                1. + + +

                                                  + + final + def + + + !=(arg0: Any): Boolean + +

                                                  + + Permalink + + +
                                                  Definition Classes
                                                  AnyRef → Any
                                                  +
                                                2. + + +

                                                  + + final + def + + + ##(): Int + +

                                                  + + Permalink + + +
                                                  Definition Classes
                                                  AnyRef → Any
                                                  +
                                                3. + + +

                                                  + + final + def + + + ==(arg0: Any): Boolean + +

                                                  + + Permalink + + +
                                                  Definition Classes
                                                  AnyRef → Any
                                                  +
                                                4. + + +

                                                  + + final + def + + + asInstanceOf[T0]: T0 + +

                                                  + + Permalink + + +
                                                  Definition Classes
                                                  Any
                                                  +
                                                5. + + +

                                                  + + + def + + + clone(): AnyRef + +

                                                  + + Permalink + + +
                                                  Attributes
                                                  protected[java.lang]
                                                  Definition Classes
                                                  AnyRef
                                                  Annotations
                                                  + @throws( + + ... + ) + +
                                                  +
                                                6. + + +

                                                  + + final + def + + + eq(arg0: AnyRef): Boolean + +

                                                  + + Permalink + + +
                                                  Definition Classes
                                                  AnyRef
                                                  +
                                                7. + + +

                                                  + + + def + + + equals(arg0: Any): Boolean + +

                                                  + + Permalink + + +
                                                  Definition Classes
                                                  AnyRef → Any
                                                  +
                                                8. + + +

                                                  + + + def + + + finalize(): Unit + +

                                                  + + Permalink + + +
                                                  Attributes
                                                  protected[java.lang]
                                                  Definition Classes
                                                  AnyRef
                                                  Annotations
                                                  + @throws( + + classOf[java.lang.Throwable] + ) + +
                                                  +
                                                9. + + +

                                                  + + final + def + + + getClass(): Class[_] + +

                                                  + + Permalink + + +
                                                  Definition Classes
                                                  AnyRef → Any
                                                  +
                                                10. + + +

                                                  + + + def + + + hashCode(): Int + +

                                                  + + Permalink + + +
                                                  Definition Classes
                                                  AnyRef → Any
                                                  +
                                                11. + + +

                                                  + + final + def + + + isInstanceOf[T0]: Boolean + +

                                                  + + Permalink + + +
                                                  Definition Classes
                                                  Any
                                                  +
                                                12. + + +

                                                  + + final + def + + + ne(arg0: AnyRef): Boolean + +

                                                  + + Permalink + + +
                                                  Definition Classes
                                                  AnyRef
                                                  +
                                                13. + + +

                                                  + + final + def + + + notify(): Unit + +

                                                  + + Permalink + + +
                                                  Definition Classes
                                                  AnyRef
                                                  +
                                                14. + + +

                                                  + + final + def + + + notifyAll(): Unit + +

                                                  + + Permalink + + +
                                                  Definition Classes
                                                  AnyRef
                                                  +
                                                15. + + +

                                                  + + final + def + + + synchronized[T0](arg0: ⇒ T0): T0 + +

                                                  + + Permalink + + +
                                                  Definition Classes
                                                  AnyRef
                                                  +
                                                16. + + +

                                                  + + + def + + + toString(): String + +

                                                  + + Permalink + + +
                                                  Definition Classes
                                                  AnyRef → Any
                                                  +
                                                17. + + +

                                                  + + final + def + + + wait(): Unit + +

                                                  + + Permalink + + +
                                                  Definition Classes
                                                  AnyRef
                                                  Annotations
                                                  + @throws( + + ... + ) + +
                                                  +
                                                18. + + +

                                                  + + final + def + + + wait(arg0: Long, arg1: Int): Unit + +

                                                  + + Permalink + + +
                                                  Definition Classes
                                                  AnyRef
                                                  Annotations
                                                  + @throws( + + ... + ) + +
                                                  +
                                                19. + + +

                                                  + + final + def + + + wait(arg0: Long): Unit + +

                                                  + + Permalink + + +
                                                  Definition Classes
                                                  AnyRef
                                                  Annotations
                                                  + @throws( + + ... + ) + +
                                                  +
                                                +
                                                + + + + +
                                                + +
                                                +
                                                +

                                                Inherited from Serializable

                                                +
                                                +

                                                Inherited from Serializable

                                                +
                                                +

                                                Inherited from AnyRef

                                                +
                                                +

                                                Inherited from Any

                                                +
                                                + +
                                                + +
                                                +
                                                +

                                                Ungrouped

                                                + +
                                                +
                                                + +
                                                + +
                                                + + + + + + diff --git a/manual1903/api_reference/components/scaladocs/ksb/csle/component/runner/PySparkRunner.html b/manual1903/api_reference/components/scaladocs/ksb/csle/component/runner/PySparkRunner.html new file mode 100644 index 0000000000000000000000000000000000000000..8c9d2f0e6d7671a5e87793d300fdeb985415ea21 --- /dev/null +++ b/manual1903/api_reference/components/scaladocs/ksb/csle/component/runner/PySparkRunner.html @@ -0,0 +1,653 @@ + + + + PySparkRunner - KSB COMPONENTS Scala App Project 1.0-SNAPSHOT API - ksb.csle.component.runner.PySparkRunner + + + + + + + + + + + + + + + + + +

                                                + + final + class + + + PySparkRunner[P] extends BasePredictiveAnalysisRunner[Any, BatchRunnerInfo, Any] + +

                                                + +

                                                :: ApplicationDeveloperApi ::

                                                Runner that gets session which derived from Spark context created by YARN. +

                                                Annotations
                                                + @Deprecated + +
                                                + Linear Supertypes +
                                                BasePredictiveAnalysisRunner[Any, BatchRunnerInfo, Any], BaseRunner[Any, BatchRunnerInfo, Any], BaseDoer, Logging, Serializable, Serializable, AnyRef, Any
                                                +
                                                + + +
                                                +
                                                +
                                                + Ordering +
                                                  + +
                                                1. Alphabetic
                                                2. +
                                                3. By Inheritance
                                                4. +
                                                +
                                                +
                                                + Inherited
                                                +
                                                +
                                                  +
                                                1. PySparkRunner
                                                2. BasePredictiveAnalysisRunner
                                                3. BaseRunner
                                                4. BaseDoer
                                                5. Logging
                                                6. Serializable
                                                7. Serializable
                                                8. AnyRef
                                                9. Any
                                                10. +
                                                +
                                                + +
                                                  +
                                                1. Hide All
                                                2. +
                                                3. Show All
                                                4. +
                                                +
                                                +
                                                + Visibility +
                                                1. Public
                                                2. All
                                                +
                                                +
                                                + +
                                                +
                                                +
                                                +

                                                Instance Constructors

                                                +
                                                1. + + +

                                                  + + + new + + + PySparkRunner(o: BatchRunnerInfo) + +

                                                  + + Permalink + + +

                                                  o

                                                  Object that contains message + ksb.csle.common.proto.RunnerProto.SparkRunnerInfo + PySparkRunnerInfo containing attributes are as follows:

                                                  • pyEntryPath: python file path for spark driver code. (required) + Default path value ("/pyML/autosparkml/bridge/call_trainer.py") + is highly recommended.
                                                  • sparkArgs: Spark argument message to be passed to spark (optional) + Spark arguement message contains belowed parameters.
                                                  • inJson: method parameter passing to spark (deprecated) + As of KSB v0.8.1, this paramter does not need to set any more.

                                                  SparkRunnerInfo

                                                  message SparkRunnerInfo {
                                                  + required string pyEntryPath = 1 [default = "/pyML/autosparkml/bridge/call_trainer.py"];
                                                  + optional SparkArgs sparkArgs = 1;
                                                  + optional bool inJson = 2 [default = false];
                                                  +}
                                                  • appName: Spark application name (Deprecated)
                                                  • master: Master URL passed to Spark (Deprecated) + This can be in one of formats in following reference link:
                                                  • deployMode: cluster or client (not used) + For more detailed information, please refer to following site: + https://spark.apache.org/docs/latest/submitting-applications.html

                                                  SparkArgsInfo

                                                  message SparkArgs {
                                                  +  optional string appName = 1;
                                                  +  optional string master =  2 [default = "local[*]"];
                                                  +  optional string deployMode = 3;
                                                  +  optional string mainClass = 4;
                                                  +  optional string conf = 5;
                                                  +  optional string executorCores = 7;
                                                  +  optional string memory = 8;
                                                  +  optional string driverMemory = 9;
                                                  +  optional string executerMemory = 10;
                                                  +  optional string numExecutors = 11;
                                                  +  optional string totalCores = 12;
                                                  +  optional string extraArgs = 13;
                                                  +  repeated string confOptions = 14;
                                                  +  optional string jars = 15;
                                                  +  optional string pyFiles = 16;
                                                  +  optional string mainJar = 17;
                                                  +  optional string sparkVersion = 18 [default = "2.1.1"];
                                                  +}
                                                  +
                                                +
                                                + + + + + +
                                                +

                                                Value Members

                                                +
                                                1. + + +

                                                  + + final + def + + + !=(arg0: Any): Boolean + +

                                                  + + Permalink + + +
                                                  Definition Classes
                                                  AnyRef → Any
                                                  +
                                                2. + + +

                                                  + + final + def + + + ##(): Int + +

                                                  + + Permalink + + +
                                                  Definition Classes
                                                  AnyRef → Any
                                                  +
                                                3. + + +

                                                  + + final + def + + + ==(arg0: Any): Boolean + +

                                                  + + Permalink + + +
                                                  Definition Classes
                                                  AnyRef → Any
                                                  +
                                                4. + + +

                                                  + + final + def + + + asInstanceOf[T0]: T0 + +

                                                  + + Permalink + + +
                                                  Definition Classes
                                                  Any
                                                  +
                                                5. + + +

                                                  + + + def + + + clone(): AnyRef + +

                                                  + + Permalink + + +
                                                  Attributes
                                                  protected[java.lang]
                                                  Definition Classes
                                                  AnyRef
                                                  Annotations
                                                  + @throws( + + ... + ) + +
                                                  +
                                                6. + + +

                                                  + + final + def + + + eq(arg0: AnyRef): Boolean + +

                                                  + + Permalink + + +
                                                  Definition Classes
                                                  AnyRef
                                                  +
                                                7. + + +

                                                  + + + def + + + equals(arg0: Any): Boolean + +

                                                  + + Permalink + + +
                                                  Definition Classes
                                                  AnyRef → Any
                                                  +
                                                8. + + +

                                                  + + + def + + + finalize(): Unit + +

                                                  + + Permalink + + +
                                                  Attributes
                                                  protected[java.lang]
                                                  Definition Classes
                                                  AnyRef
                                                  Annotations
                                                  + @throws( + + classOf[java.lang.Throwable] + ) + +
                                                  +
                                                9. + + +

                                                  + + final + def + + + getClass(): Class[_] + +

                                                  + + Permalink + + +
                                                  Definition Classes
                                                  AnyRef → Any
                                                  +
                                                10. + + +

                                                  + + + def + + + getSession: Any + +

                                                  + + Permalink + + +
                                                  Definition Classes
                                                  PySparkRunner → BaseRunner
                                                  +
                                                11. + + +

                                                  + + + def + + + hashCode(): Int + +

                                                  + + Permalink + + +
                                                  Definition Classes
                                                  AnyRef → Any
                                                  +
                                                12. + + +

                                                  + + + def + + + init(_params: Any): Any + +

                                                  + + Permalink + + +
                                                  Definition Classes
                                                  PySparkRunner → BaseRunner
                                                  +
                                                13. + + +

                                                  + + final + def + + + isInstanceOf[T0]: Boolean + +

                                                  + + Permalink + + +
                                                  Definition Classes
                                                  Any
                                                  +
                                                14. + + +

                                                  + + + val + + + logger: Logger + +

                                                  + + Permalink + + +
                                                  Attributes
                                                  protected
                                                  Definition Classes
                                                  Logging
                                                  +
                                                15. + + +

                                                  + + final + def + + + ne(arg0: AnyRef): Boolean + +

                                                  + + Permalink + + +
                                                  Definition Classes
                                                  AnyRef
                                                  +
                                                16. + + +

                                                  + + final + def + + + notify(): Unit + +

                                                  + + Permalink + + +
                                                  Definition Classes
                                                  AnyRef
                                                  +
                                                17. + + +

                                                  + + final + def + + + notifyAll(): Unit + +

                                                  + + Permalink + + +
                                                  Definition Classes
                                                  AnyRef
                                                  +
                                                18. + + +

                                                  + + + def + + + run(a: Any): Any + +

                                                  + + Permalink + + +
                                                  Definition Classes
                                                  BasePredictiveAnalysisRunner → BaseRunner
                                                  +
                                                19. + + +

                                                  + + + def + + + stop: Unit + +

                                                  + + Permalink + + +
                                                  Definition Classes
                                                  PySparkRunner → BaseRunner
                                                  +
                                                20. + + +

                                                  + + final + def + + + synchronized[T0](arg0: ⇒ T0): T0 + +

                                                  + + Permalink + + +
                                                  Definition Classes
                                                  AnyRef
                                                  +
                                                21. + + +

                                                  + + + def + + + toString(): String + +

                                                  + + Permalink + + +
                                                  Definition Classes
                                                  AnyRef → Any
                                                  +
                                                22. + + +

                                                  + + + def + + + trainOrPredict(df: Any): Any + +

                                                  + + Permalink + + +
                                                  Definition Classes
                                                  PySparkRunner → BasePredictiveAnalysisRunner
                                                  +
                                                23. + + +

                                                  + + final + def + + + wait(): Unit + +

                                                  + + Permalink + + +
                                                  Definition Classes
                                                  AnyRef
                                                  Annotations
                                                  + @throws( + + ... + ) + +
                                                  +
                                                24. + + +

                                                  + + final + def + + + wait(arg0: Long, arg1: Int): Unit + +

                                                  + + Permalink + + +
                                                  Definition Classes
                                                  AnyRef
                                                  Annotations
                                                  + @throws( + + ... + ) + +
                                                  +
                                                25. + + +

                                                  + + final + def + + + wait(arg0: Long): Unit + +

                                                  + + Permalink + + +
                                                  Definition Classes
                                                  AnyRef
                                                  Annotations
                                                  + @throws( + + ... + ) + +
                                                  +
                                                +
                                                + + + + +
                                                + +
                                                +
                                                +

                                                Inherited from BasePredictiveAnalysisRunner[Any, BatchRunnerInfo, Any]

                                                +
                                                +

                                                Inherited from BaseRunner[Any, BatchRunnerInfo, Any]

                                                +
                                                +

                                                Inherited from BaseDoer

                                                +
                                                +

                                                Inherited from Logging

                                                +
                                                +

                                                Inherited from Serializable

                                                +
                                                +

                                                Inherited from Serializable

                                                +
                                                +

                                                Inherited from AnyRef

                                                +
                                                +

                                                Inherited from Any

                                                +
                                                + +
                                                + +
                                                +
                                                +

                                                Ungrouped

                                                + +
                                                +
                                                + +
                                                + +
                                                + + + + + + diff --git a/manual1903/api_reference/components/scaladocs/ksb/csle/component/runner/ReloadServing.html b/manual1903/api_reference/components/scaladocs/ksb/csle/component/runner/ReloadServing.html new file mode 100644 index 0000000000000000000000000000000000000000..6a0d4450c5d894738c007926f5176b93695db479 --- /dev/null +++ b/manual1903/api_reference/components/scaladocs/ksb/csle/component/runner/ReloadServing.html @@ -0,0 +1,459 @@ + + + + ReloadServing - KSB COMPONENTS Scala App Project 1.0-SNAPSHOT API - ksb.csle.component.runner.ReloadServing + + + + + + + + + + + + + + + +
                                                + Class +

                                                ksb.csle.component.runner

                                                +

                                                ReloadServing

                                                Related Doc: + package runner +

                                                + + Permalink + + +
                                                + +

                                                + + sealed + case class + + + ReloadServing() extends Product with Serializable + +

                                                + +
                                                + Linear Supertypes +
                                                Serializable, Serializable, Product, Equals, AnyRef, Any
                                                +
                                                + + +
                                                +
                                                +
                                                + Ordering +
                                                  + +
                                                1. Alphabetic
                                                2. +
                                                3. By Inheritance
                                                4. +
                                                +
                                                +
                                                + Inherited
                                                +
                                                +
                                                  +
                                                1. ReloadServing
                                                2. Serializable
                                                3. Serializable
                                                4. Product
                                                5. Equals
                                                6. AnyRef
                                                7. Any
                                                8. +
                                                +
                                                + +
                                                  +
                                                1. Hide All
                                                2. +
                                                3. Show All
                                                4. +
                                                +
                                                +
                                                + Visibility +
                                                1. Public
                                                2. All
                                                +
                                                +
                                                + +
                                                +
                                                +
                                                +

                                                Instance Constructors

                                                +
                                                1. + + +

                                                  + + + new + + + ReloadServing() + +

                                                  + + Permalink + + + +
                                                +
                                                + + + + + +
                                                +

                                                Value Members

                                                +
                                                1. + + +

                                                  + + final + def + + + !=(arg0: Any): Boolean + +

                                                  + + Permalink + + +
                                                  Definition Classes
                                                  AnyRef → Any
                                                  +
                                                2. + + +

                                                  + + final + def + + + ##(): Int + +

                                                  + + Permalink + + +
                                                  Definition Classes
                                                  AnyRef → Any
                                                  +
                                                3. + + +

                                                  + + final + def + + + ==(arg0: Any): Boolean + +

                                                  + + Permalink + + +
                                                  Definition Classes
                                                  AnyRef → Any
                                                  +
                                                4. + + +

                                                  + + final + def + + + asInstanceOf[T0]: T0 + +

                                                  + + Permalink + + +
                                                  Definition Classes
                                                  Any
                                                  +
                                                5. + + +

                                                  + + + def + + + clone(): AnyRef + +

                                                  + + Permalink + + +
                                                  Attributes
                                                  protected[java.lang]
                                                  Definition Classes
                                                  AnyRef
                                                  Annotations
                                                  + @throws( + + ... + ) + +
                                                  +
                                                6. + + +

                                                  + + final + def + + + eq(arg0: AnyRef): Boolean + +

                                                  + + Permalink + + +
                                                  Definition Classes
                                                  AnyRef
                                                  +
                                                7. + + +

                                                  + + + def + + + finalize(): Unit + +

                                                  + + Permalink + + +
                                                  Attributes
                                                  protected[java.lang]
                                                  Definition Classes
                                                  AnyRef
                                                  Annotations
                                                  + @throws( + + classOf[java.lang.Throwable] + ) + +
                                                  +
                                                8. + + +

                                                  + + final + def + + + getClass(): Class[_] + +

                                                  + + Permalink + + +
                                                  Definition Classes
                                                  AnyRef → Any
                                                  +
                                                9. + + +

                                                  + + final + def + + + isInstanceOf[T0]: Boolean + +

                                                  + + Permalink + + +
                                                  Definition Classes
                                                  Any
                                                  +
                                                10. + + +

                                                  + + final + def + + + ne(arg0: AnyRef): Boolean + +

                                                  + + Permalink + + +
                                                  Definition Classes
                                                  AnyRef
                                                  +
                                                11. + + +

                                                  + + final + def + + + notify(): Unit + +

                                                  + + Permalink + + +
                                                  Definition Classes
                                                  AnyRef
                                                  +
                                                12. + + +

                                                  + + final + def + + + notifyAll(): Unit + +

                                                  + + Permalink + + +
                                                  Definition Classes
                                                  AnyRef
                                                  +
                                                13. + + +

                                                  + + final + def + + + synchronized[T0](arg0: ⇒ T0): T0 + +

                                                  + + Permalink + + +
                                                  Definition Classes
                                                  AnyRef
                                                  +
                                                14. + + +

                                                  + + final + def + + + wait(): Unit + +

                                                  + + Permalink + + +
                                                  Definition Classes
                                                  AnyRef
                                                  Annotations
                                                  + @throws( + + ... + ) + +
                                                  +
                                                15. + + +

                                                  + + final + def + + + wait(arg0: Long, arg1: Int): Unit + +

                                                  + + Permalink + + +
                                                  Definition Classes
                                                  AnyRef
                                                  Annotations
                                                  + @throws( + + ... + ) + +
                                                  +
                                                16. + + +

                                                  + + final + def + + + wait(arg0: Long): Unit + +

                                                  + + Permalink + + +
                                                  Definition Classes
                                                  AnyRef
                                                  Annotations
                                                  + @throws( + + ... + ) + +
                                                  +
                                                +
                                                + + + + +
                                                + +
                                                +
                                                +

                                                Inherited from Serializable

                                                +
                                                +

                                                Inherited from Serializable

                                                +
                                                +

                                                Inherited from Product

                                                +
                                                +

                                                Inherited from Equals

                                                +
                                                +

                                                Inherited from AnyRef

                                                +
                                                +

                                                Inherited from Any

                                                +
                                                + +
                                                + +
                                                +
                                                +

                                                Ungrouped

                                                + +
                                                +
                                                + +
                                                + +
                                                + + + + + + diff --git a/manual1903/api_reference/components/scaladocs/ksb/csle/component/runner/ServingMaster.html b/manual1903/api_reference/components/scaladocs/ksb/csle/component/runner/ServingMaster.html new file mode 100644 index 0000000000000000000000000000000000000000..5c2fd3f5447d67edc1a2c4312785775675a81727 --- /dev/null +++ b/manual1903/api_reference/components/scaladocs/ksb/csle/component/runner/ServingMaster.html @@ -0,0 +1,976 @@ + + + + ServingMaster - KSB COMPONENTS Scala App Project 1.0-SNAPSHOT API - ksb.csle.component.runner.ServingMaster + + + + + + + + + + + + + + + +
                                                + Class +

                                                ksb.csle.component.runner

                                                +

                                                ServingMaster

                                                Related Doc: + package runner +

                                                + + Permalink + + +
                                                + +

                                                + + + class + + + ServingMaster extends Actor with Logging + +

                                                + +

                                                Master Actor for Serving +

                                                + Linear Supertypes +
                                                Logging, Actor, AnyRef, Any
                                                +
                                                + + +
                                                +
                                                +
                                                + Ordering +
                                                  + +
                                                1. Alphabetic
                                                2. +
                                                3. By Inheritance
                                                4. +
                                                +
                                                +
                                                + Inherited
                                                +
                                                +
                                                  +
                                                1. ServingMaster
                                                2. Logging
                                                3. Actor
                                                4. AnyRef
                                                5. Any
                                                6. +
                                                +
                                                + +
                                                  +
                                                1. Hide All
                                                2. +
                                                3. Show All
                                                4. +
                                                +
                                                +
                                                + Visibility +
                                                1. Public
                                                2. All
                                                +
                                                +
                                                + +
                                                +
                                                +
                                                +

                                                Instance Constructors

                                                +
                                                1. + + +

                                                  + + + new + + + ServingMaster(runnerInfo: WebserviceRunnerInfo, actor: ActorRef) + +

                                                  + + Permalink + + + +
                                                +
                                                + +
                                                +

                                                Type Members

                                                +
                                                1. + + +

                                                  + + + type + + + Receive = PartialFunction[Any, Unit] + +

                                                  + + Permalink + + +
                                                  Definition Classes
                                                  Actor
                                                  +
                                                +
                                                + + + +
                                                +

                                                Value Members

                                                +
                                                1. + + +

                                                  + + final + def + + + !=(arg0: Any): Boolean + +

                                                  + + Permalink + + +
                                                  Definition Classes
                                                  AnyRef → Any
                                                  +
                                                2. + + +

                                                  + + final + def + + + ##(): Int + +

                                                  + + Permalink + + +
                                                  Definition Classes
                                                  AnyRef → Any
                                                  +
                                                3. + + +

                                                  + + final + def + + + ==(arg0: Any): Boolean + +

                                                  + + Permalink + + +
                                                  Definition Classes
                                                  AnyRef → Any
                                                  +
                                                4. + + +

                                                  + + + def + + + aroundPostRestart(reason: Throwable): Unit + +

                                                  + + Permalink + + +
                                                  Attributes
                                                  protected[akka]
                                                  Definition Classes
                                                  Actor
                                                  +
                                                5. + + +

                                                  + + + def + + + aroundPostStop(): Unit + +

                                                  + + Permalink + + +
                                                  Attributes
                                                  protected[akka]
                                                  Definition Classes
                                                  Actor
                                                  +
                                                6. + + +

                                                  + + + def + + + aroundPreRestart(reason: Throwable, message: Option[Any]): Unit + +

                                                  + + Permalink + + +
                                                  Attributes
                                                  protected[akka]
                                                  Definition Classes
                                                  Actor
                                                  +
                                                7. + + +

                                                  + + + def + + + aroundPreStart(): Unit + +

                                                  + + Permalink + + +
                                                  Attributes
                                                  protected[akka]
                                                  Definition Classes
                                                  Actor
                                                  +
                                                8. + + +

                                                  + + + def + + + aroundReceive(receive: akka.actor.Actor.Receive, msg: Any): Unit + +

                                                  + + Permalink + + +
                                                  Attributes
                                                  protected[akka]
                                                  Definition Classes
                                                  Actor
                                                  +
                                                9. + + +

                                                  + + final + def + + + asInstanceOf[T0]: T0 + +

                                                  + + Permalink + + +
                                                  Definition Classes
                                                  Any
                                                  +
                                                10. + + +

                                                  + + + def + + + clone(): AnyRef + +

                                                  + + Permalink + + +
                                                  Attributes
                                                  protected[java.lang]
                                                  Definition Classes
                                                  AnyRef
                                                  Annotations
                                                  + @throws( + + ... + ) + +
                                                  +
                                                11. + + +

                                                  + + implicit + val + + + context: ActorContext + +

                                                  + + Permalink + + +
                                                  Definition Classes
                                                  Actor
                                                  +
                                                12. + + +

                                                  + + + var + + + currentServingActor: Option[ActorRef] + +

                                                  + + Permalink + + + +
                                                13. + + +

                                                  + + final + def + + + eq(arg0: AnyRef): Boolean + +

                                                  + + Permalink + + +
                                                  Definition Classes
                                                  AnyRef
                                                  +
                                                14. + + +

                                                  + + + def + + + equals(arg0: Any): Boolean + +

                                                  + + Permalink + + +
                                                  Definition Classes
                                                  AnyRef → Any
                                                  +
                                                15. + + +

                                                  + + + def + + + finalize(): Unit + +

                                                  + + Permalink + + +
                                                  Attributes
                                                  protected[java.lang]
                                                  Definition Classes
                                                  AnyRef
                                                  Annotations
                                                  + @throws( + + classOf[java.lang.Throwable] + ) + +
                                                  +
                                                16. + + +

                                                  + + final + def + + + getClass(): Class[_] + +

                                                  + + Permalink + + +
                                                  Definition Classes
                                                  AnyRef → Any
                                                  +
                                                17. + + +

                                                  + + + def + + + hashCode(): Int + +

                                                  + + Permalink + + +
                                                  Definition Classes
                                                  AnyRef → Any
                                                  +
                                                18. + + +

                                                  + + + val + + + ip: String + +

                                                  + + Permalink + + + +
                                                19. + + +

                                                  + + final + def + + + isInstanceOf[T0]: Boolean + +

                                                  + + Permalink + + +
                                                  Definition Classes
                                                  Any
                                                  +
                                                20. + + +

                                                  + + + val + + + logger: Logger + +

                                                  + + Permalink + + +
                                                  Attributes
                                                  protected
                                                  Definition Classes
                                                  Logging
                                                  +
                                                21. + + +

                                                  + + final + def + + + ne(arg0: AnyRef): Boolean + +

                                                  + + Permalink + + +
                                                  Definition Classes
                                                  AnyRef
                                                  +
                                                22. + + +

                                                  + + final + def + + + notify(): Unit + +

                                                  + + Permalink + + +
                                                  Definition Classes
                                                  AnyRef
                                                  +
                                                23. + + +

                                                  + + final + def + + + notifyAll(): Unit + +

                                                  + + Permalink + + +
                                                  Definition Classes
                                                  AnyRef
                                                  +
                                                24. + + +

                                                  + + + val + + + port: Int + +

                                                  + + Permalink + + + +
                                                25. + + +

                                                  + + + def + + + postRestart(reason: Throwable): Unit + +

                                                  + + Permalink + + +
                                                  Definition Classes
                                                  Actor
                                                  Annotations
                                                  + @throws( + + classOf[java.lang.Exception] + ) + +
                                                  +
                                                26. + + +

                                                  + + + def + + + postStop(): Unit + +

                                                  + + Permalink + + +
                                                  Definition Classes
                                                  Actor
                                                  Annotations
                                                  + @throws( + + classOf[java.lang.Exception] + ) + +
                                                  +
                                                27. + + +

                                                  + + + def + + + preRestart(reason: Throwable, message: Option[Any]): Unit + +

                                                  + + Permalink + + +
                                                  Definition Classes
                                                  Actor
                                                  Annotations
                                                  + @throws( + + classOf[java.lang.Exception] + ) + +
                                                  +
                                                28. + + +

                                                  + + + def + + + preStart(): Unit + +

                                                  + + Permalink + + +
                                                  Definition Classes
                                                  Actor
                                                  Annotations
                                                  + @throws( + + classOf[java.lang.Exception] + ) + +
                                                  +
                                                29. + + +

                                                  + + + val + + + protocol: String + +

                                                  + + Permalink + + + +
                                                30. + + +

                                                  + + + def + + + receive: akka.actor.Actor.Receive + +

                                                  + + Permalink + + +
                                                  Definition Classes
                                                  ServingMaster → Actor
                                                  +
                                                31. + + +

                                                  + + + var + + + retry: Int + +

                                                  + + Permalink + + + +
                                                32. + + +

                                                  + + implicit final + val + + + self: ActorRef + +

                                                  + + Permalink + + +
                                                  Definition Classes
                                                  Actor
                                                  +
                                                33. + + +

                                                  + + final + def + + + sender(): ActorRef + +

                                                  + + Permalink + + +
                                                  Definition Classes
                                                  Actor
                                                  +
                                                34. + + +

                                                  + + + val + + + serverUrl: String + +

                                                  + + Permalink + + + +
                                                35. + + +

                                                  + + + var + + + sprayHttpListener: Option[ActorRef] + +

                                                  + + Permalink + + + +
                                                36. + + +

                                                  + + + val + + + ssl: Boolean + +

                                                  + + Permalink + + + +
                                                37. + + +

                                                  + + + def + + + supervisorStrategy: SupervisorStrategy + +

                                                  + + Permalink + + +
                                                  Definition Classes
                                                  Actor
                                                  +
                                                38. + + +

                                                  + + final + def + + + synchronized[T0](arg0: ⇒ T0): T0 + +

                                                  + + Permalink + + +
                                                  Definition Classes
                                                  AnyRef
                                                  +
                                                39. + + +

                                                  + + implicit + val + + + timeout: Timeout + +

                                                  + + Permalink + + + +
                                                40. + + +

                                                  + + + def + + + toString(): String + +

                                                  + + Permalink + + +
                                                  Definition Classes
                                                  AnyRef → Any
                                                  +
                                                41. + + +

                                                  + + + def + + + unhandled(message: Any): Unit + +

                                                  + + Permalink + + +
                                                  Definition Classes
                                                  Actor
                                                  +
                                                42. + + +

                                                  + + final + def + + + wait(): Unit + +

                                                  + + Permalink + + +
                                                  Definition Classes
                                                  AnyRef
                                                  Annotations
                                                  + @throws( + + ... + ) + +
                                                  +
                                                43. + + +

                                                  + + final + def + + + wait(arg0: Long, arg1: Int): Unit + +

                                                  + + Permalink + + +
                                                  Definition Classes
                                                  AnyRef
                                                  Annotations
                                                  + @throws( + + ... + ) + +
                                                  +
                                                44. + + +

                                                  + + final + def + + + wait(arg0: Long): Unit + +

                                                  + + Permalink + + +
                                                  Definition Classes
                                                  AnyRef
                                                  Annotations
                                                  + @throws( + + ... + ) + +
                                                  +
                                                +
                                                + + + + +
                                                + +
                                                +
                                                +

                                                Inherited from Logging

                                                +
                                                +

                                                Inherited from Actor

                                                +
                                                +

                                                Inherited from AnyRef

                                                +
                                                +

                                                Inherited from Any

                                                +
                                                + +
                                                + +
                                                +
                                                +

                                                Ungrouped

                                                + +
                                                +
                                                + +
                                                + +
                                                + + + + + + diff --git a/manual1903/api_reference/components/scaladocs/ksb/csle/component/runner/ServingRunner$.html b/manual1903/api_reference/components/scaladocs/ksb/csle/component/runner/ServingRunner$.html new file mode 100644 index 0000000000000000000000000000000000000000..702d113aa4317b50344effd667136234759f6b75 --- /dev/null +++ b/manual1903/api_reference/components/scaladocs/ksb/csle/component/runner/ServingRunner$.html @@ -0,0 +1,524 @@ + + + + ServingRunner - KSB COMPONENTS Scala App Project 1.0-SNAPSHOT API - ksb.csle.component.runner.ServingRunner + + + + + + + + + + + + + + + + + +

                                                + + + object + + + ServingRunner extends Logging with Serializable + +

                                                + +
                                                + Linear Supertypes +
                                                Serializable, Serializable, Logging, AnyRef, Any
                                                +
                                                + + +
                                                +
                                                +
                                                + Ordering +
                                                  + +
                                                1. Alphabetic
                                                2. +
                                                3. By Inheritance
                                                4. +
                                                +
                                                +
                                                + Inherited
                                                +
                                                +
                                                  +
                                                1. ServingRunner
                                                2. Serializable
                                                3. Serializable
                                                4. Logging
                                                5. AnyRef
                                                6. Any
                                                7. +
                                                +
                                                + +
                                                  +
                                                1. Hide All
                                                2. +
                                                3. Show All
                                                4. +
                                                +
                                                +
                                                + Visibility +
                                                1. Public
                                                2. All
                                                +
                                                +
                                                + +
                                                +
                                                + + + + + + +
                                                +

                                                Value Members

                                                +
                                                1. + + +

                                                  + + final + def + + + !=(arg0: Any): Boolean + +

                                                  + + Permalink + + +
                                                  Definition Classes
                                                  AnyRef → Any
                                                  +
                                                2. + + +

                                                  + + final + def + + + ##(): Int + +

                                                  + + Permalink + + +
                                                  Definition Classes
                                                  AnyRef → Any
                                                  +
                                                3. + + +

                                                  + + final + def + + + ==(arg0: Any): Boolean + +

                                                  + + Permalink + + +
                                                  Definition Classes
                                                  AnyRef → Any
                                                  +
                                                4. + + +

                                                  + + + def + + + apply(serviceInfo: OnDemandRunnerInfo): BaseRunner[ActorSystem, OnDemandRunnerInfo, BaseResult] + +

                                                  + + Permalink + + + +
                                                5. + + +

                                                  + + final + def + + + asInstanceOf[T0]: T0 + +

                                                  + + Permalink + + +
                                                  Definition Classes
                                                  Any
                                                  +
                                                6. + + +

                                                  + + + def + + + clone(): AnyRef + +

                                                  + + Permalink + + +
                                                  Attributes
                                                  protected[java.lang]
                                                  Definition Classes
                                                  AnyRef
                                                  Annotations
                                                  + @throws( + + ... + ) + +
                                                  +
                                                7. + + +

                                                  + + final + def + + + eq(arg0: AnyRef): Boolean + +

                                                  + + Permalink + + +
                                                  Definition Classes
                                                  AnyRef
                                                  +
                                                8. + + +

                                                  + + + def + + + equals(arg0: Any): Boolean + +

                                                  + + Permalink + + +
                                                  Definition Classes
                                                  AnyRef → Any
                                                  +
                                                9. + + +

                                                  + + + def + + + finalize(): Unit + +

                                                  + + Permalink + + +
                                                  Attributes
                                                  protected[java.lang]
                                                  Definition Classes
                                                  AnyRef
                                                  Annotations
                                                  + @throws( + + classOf[java.lang.Throwable] + ) + +
                                                  +
                                                10. + + +

                                                  + + final + def + + + getClass(): Class[_] + +

                                                  + + Permalink + + +
                                                  Definition Classes
                                                  AnyRef → Any
                                                  +
                                                11. + + +

                                                  + + + def + + + hashCode(): Int + +

                                                  + + Permalink + + +
                                                  Definition Classes
                                                  AnyRef → Any
                                                  +
                                                12. + + +

                                                  + + final + def + + + isInstanceOf[T0]: Boolean + +

                                                  + + Permalink + + +
                                                  Definition Classes
                                                  Any
                                                  +
                                                13. + + +

                                                  + + + val + + + logger: Logger + +

                                                  + + Permalink + + +
                                                  Attributes
                                                  protected
                                                  Definition Classes
                                                  Logging
                                                  +
                                                14. + + +

                                                  + + final + def + + + ne(arg0: AnyRef): Boolean + +

                                                  + + Permalink + + +
                                                  Definition Classes
                                                  AnyRef
                                                  +
                                                15. + + +

                                                  + + final + def + + + notify(): Unit + +

                                                  + + Permalink + + +
                                                  Definition Classes
                                                  AnyRef
                                                  +
                                                16. + + +

                                                  + + final + def + + + notifyAll(): Unit + +

                                                  + + Permalink + + +
                                                  Definition Classes
                                                  AnyRef
                                                  +
                                                17. + + +

                                                  + + final + def + + + synchronized[T0](arg0: ⇒ T0): T0 + +

                                                  + + Permalink + + +
                                                  Definition Classes
                                                  AnyRef
                                                  +
                                                18. + + +

                                                  + + + def + + + toString(): String + +

                                                  + + Permalink + + +
                                                  Definition Classes
                                                  AnyRef → Any
                                                  +
                                                19. + + +

                                                  + + final + def + + + wait(): Unit + +

                                                  + + Permalink + + +
                                                  Definition Classes
                                                  AnyRef
                                                  Annotations
                                                  + @throws( + + ... + ) + +
                                                  +
                                                20. + + +

                                                  + + final + def + + + wait(arg0: Long, arg1: Int): Unit + +

                                                  + + Permalink + + +
                                                  Definition Classes
                                                  AnyRef
                                                  Annotations
                                                  + @throws( + + ... + ) + +
                                                  +
                                                21. + + +

                                                  + + final + def + + + wait(arg0: Long): Unit + +

                                                  + + Permalink + + +
                                                  Definition Classes
                                                  AnyRef
                                                  Annotations
                                                  + @throws( + + ... + ) + +
                                                  +
                                                +
                                                + + + + +
                                                + +
                                                +
                                                +

                                                Inherited from Serializable

                                                +
                                                +

                                                Inherited from Serializable

                                                +
                                                +

                                                Inherited from Logging

                                                +
                                                +

                                                Inherited from AnyRef

                                                +
                                                +

                                                Inherited from Any

                                                +
                                                + +
                                                + +
                                                +
                                                +

                                                Ungrouped

                                                + +
                                                +
                                                + +
                                                + +
                                                + + + + + + diff --git a/manual1903/api_reference/components/scaladocs/ksb/csle/component/runner/ServingRunner.html b/manual1903/api_reference/components/scaladocs/ksb/csle/component/runner/ServingRunner.html new file mode 100644 index 0000000000000000000000000000000000000000..1b19f463d038d7332c14e7b44bc4e0d358312326 --- /dev/null +++ b/manual1903/api_reference/components/scaladocs/ksb/csle/component/runner/ServingRunner.html @@ -0,0 +1,628 @@ + + + + ServingRunner - KSB COMPONENTS Scala App Project 1.0-SNAPSHOT API - ksb.csle.component.runner.ServingRunner + + + + + + + + + + + + + + + + + +

                                                + + final + class + + + ServingRunner extends BaseRunner[ActorSystem, OnDemandRunnerInfo, BaseResult] + +

                                                + +

                                                :: ApplicationDeveloperApi ::

                                                Runner that serves with RESTful APIs with given service port. +

                                                + Linear Supertypes +
                                                BaseRunner[ActorSystem, OnDemandRunnerInfo, BaseResult], BaseDoer, Logging, Serializable, Serializable, AnyRef, Any
                                                +
                                                + + +
                                                +
                                                +
                                                + Ordering +
                                                  + +
                                                1. Alphabetic
                                                2. +
                                                3. By Inheritance
                                                4. +
                                                +
                                                +
                                                + Inherited
                                                +
                                                +
                                                  +
                                                1. ServingRunner
                                                2. BaseRunner
                                                3. BaseDoer
                                                4. Logging
                                                5. Serializable
                                                6. Serializable
                                                7. AnyRef
                                                8. Any
                                                9. +
                                                +
                                                + +
                                                  +
                                                1. Hide All
                                                2. +
                                                3. Show All
                                                4. +
                                                +
                                                +
                                                + Visibility +
                                                1. Public
                                                2. All
                                                +
                                                +
                                                + +
                                                +
                                                +
                                                +

                                                Instance Constructors

                                                +
                                                1. + + +

                                                  + + + new + + + ServingRunner(o: OnDemandRunnerInfo) + +

                                                  + + Permalink + + +

                                                  o

                                                  Object that contains message + ksb.csle.common.proto.RunnerProto.WebserviceRunnerInfo + WebserviceRunnerInfo contains followed attributes:

                                                  • host: host address (optional)
                                                  • port: Port number for RESTful APIs (required)
                                                  • uri: Additional path information (optional)
                                                  • ssl: toggle value if ssh enabled or not (optional). + As of now, this attribute is not used.

                                                  WebserviceRunnerInfo

                                                  message WebserviceRunnerInfo {
                                                  + optional string host = 1;
                                                  + required int32 port = 2;
                                                  + optional string uri = 3;
                                                  + optional bool ssl = 4 [default = false];
                                                  +}
                                                  +
                                                +
                                                + + + + + +
                                                +

                                                Value Members

                                                +
                                                1. + + +

                                                  + + final + def + + + !=(arg0: Any): Boolean + +

                                                  + + Permalink + + +
                                                  Definition Classes
                                                  AnyRef → Any
                                                  +
                                                2. + + +

                                                  + + final + def + + + ##(): Int + +

                                                  + + Permalink + + +
                                                  Definition Classes
                                                  AnyRef → Any
                                                  +
                                                3. + + +

                                                  + + final + def + + + ==(arg0: Any): Boolean + +

                                                  + + Permalink + + +
                                                  Definition Classes
                                                  AnyRef → Any
                                                  +
                                                4. + + +

                                                  + + final + def + + + asInstanceOf[T0]: T0 + +

                                                  + + Permalink + + +
                                                  Definition Classes
                                                  Any
                                                  +
                                                5. + + +

                                                  + + + def + + + clone(): AnyRef + +

                                                  + + Permalink + + +
                                                  Attributes
                                                  protected[java.lang]
                                                  Definition Classes
                                                  AnyRef
                                                  Annotations
                                                  + @throws( + + ... + ) + +
                                                  +
                                                6. + + +

                                                  + + final + def + + + eq(arg0: AnyRef): Boolean + +

                                                  + + Permalink + + +
                                                  Definition Classes
                                                  AnyRef
                                                  +
                                                7. + + +

                                                  + + + def + + + equals(arg0: Any): Boolean + +

                                                  + + Permalink + + +
                                                  Definition Classes
                                                  AnyRef → Any
                                                  +
                                                8. + + +

                                                  + + + def + + + finalize(): Unit + +

                                                  + + Permalink + + +
                                                  Attributes
                                                  protected[java.lang]
                                                  Definition Classes
                                                  AnyRef
                                                  Annotations
                                                  + @throws( + + classOf[java.lang.Throwable] + ) + +
                                                  +
                                                9. + + +

                                                  + + final + def + + + getClass(): Class[_] + +

                                                  + + Permalink + + +
                                                  Definition Classes
                                                  AnyRef → Any
                                                  +
                                                10. + + +

                                                  + + + def + + + getSession: ActorSystem + +

                                                  + + Permalink + + +
                                                  Definition Classes
                                                  ServingRunner → BaseRunner
                                                  +
                                                11. + + +

                                                  + + + def + + + hashCode(): Int + +

                                                  + + Permalink + + +
                                                  Definition Classes
                                                  AnyRef → Any
                                                  +
                                                12. + + +

                                                  + + + def + + + init(actor: Any): BaseResult + +

                                                  + + Permalink + + +

                                                  Initializes runner for web service.

                                                  Initializes runner for web service. +

                                                  actor

                                                  actor that will be pipelined.

                                                  returns

                                                  dummy value

                                                  Definition Classes
                                                  ServingRunner → BaseRunner
                                                  +
                                                13. + + +

                                                  + + final + def + + + isInstanceOf[T0]: Boolean + +

                                                  + + Permalink + + +
                                                  Definition Classes
                                                  Any
                                                  +
                                                14. + + +

                                                  + + + val + + + logger: Logger + +

                                                  + + Permalink + + +
                                                  Attributes
                                                  protected
                                                  Definition Classes
                                                  Logging
                                                  +
                                                15. + + +

                                                  + + final + def + + + ne(arg0: AnyRef): Boolean + +

                                                  + + Permalink + + +
                                                  Definition Classes
                                                  AnyRef
                                                  +
                                                16. + + +

                                                  + + final + def + + + notify(): Unit + +

                                                  + + Permalink + + +
                                                  Definition Classes
                                                  AnyRef
                                                  +
                                                17. + + +

                                                  + + final + def + + + notifyAll(): Unit + +

                                                  + + Permalink + + +
                                                  Definition Classes
                                                  AnyRef
                                                  +
                                                18. + + +

                                                  + + + def + + + run(actor: Any): BaseResult + +

                                                  + + Permalink + + +

                                                  Starts web service through given port.

                                                  Starts web service through given port. +

                                                  actor

                                                  actor that will be pipelined.

                                                  returns

                                                  dummy value

                                                  Definition Classes
                                                  ServingRunner → BaseRunner
                                                  +
                                                19. + + +

                                                  + + + var + + + servingMaster: ActorRef + +

                                                  + + Permalink + + + +
                                                20. + + +

                                                  + + + def + + + stop: Unit + +

                                                  + + Permalink + + +

                                                  Initializes runner for web service.

                                                  Initializes runner for web service. +

                                                  Definition Classes
                                                  ServingRunner → BaseRunner
                                                  +
                                                21. + + +

                                                  + + final + def + + + synchronized[T0](arg0: ⇒ T0): T0 + +

                                                  + + Permalink + + +
                                                  Definition Classes
                                                  AnyRef
                                                  +
                                                22. + + +

                                                  + + + def + + + toString(): String + +

                                                  + + Permalink + + +
                                                  Definition Classes
                                                  AnyRef → Any
                                                  +
                                                23. + + +

                                                  + + final + def + + + wait(): Unit + +

                                                  + + Permalink + + +
                                                  Definition Classes
                                                  AnyRef
                                                  Annotations
                                                  + @throws( + + ... + ) + +
                                                  +
                                                24. + + +

                                                  + + final + def + + + wait(arg0: Long, arg1: Int): Unit + +

                                                  + + Permalink + + +
                                                  Definition Classes
                                                  AnyRef
                                                  Annotations
                                                  + @throws( + + ... + ) + +
                                                  +
                                                25. + + +

                                                  + + final + def + + + wait(arg0: Long): Unit + +

                                                  + + Permalink + + +
                                                  Definition Classes
                                                  AnyRef
                                                  Annotations
                                                  + @throws( + + ... + ) + +
                                                  +
                                                +
                                                + + + + +
                                                + +
                                                +
                                                +

                                                Inherited from BaseRunner[ActorSystem, OnDemandRunnerInfo, BaseResult]

                                                +
                                                +

                                                Inherited from BaseDoer

                                                +
                                                +

                                                Inherited from Logging

                                                +
                                                +

                                                Inherited from Serializable

                                                +
                                                +

                                                Inherited from Serializable

                                                +
                                                +

                                                Inherited from AnyRef

                                                +
                                                +

                                                Inherited from Any

                                                +
                                                + +
                                                + +
                                                +
                                                +

                                                Ungrouped

                                                + +
                                                +
                                                + +
                                                + +
                                                + + + + + + diff --git a/manual1903/api_reference/components/scaladocs/ksb/csle/component/runner/SimpleSparkRunner.html b/manual1903/api_reference/components/scaladocs/ksb/csle/component/runner/SimpleSparkRunner.html new file mode 100644 index 0000000000000000000000000000000000000000..e2de84dc72d68f13ec24a5a024263d4f2806451e --- /dev/null +++ b/manual1903/api_reference/components/scaladocs/ksb/csle/component/runner/SimpleSparkRunner.html @@ -0,0 +1,660 @@ + + + + SimpleSparkRunner - KSB COMPONENTS Scala App Project 1.0-SNAPSHOT API - ksb.csle.component.runner.SimpleSparkRunner + + + + + + + + + + + + + + + +
                                                + Class +

                                                ksb.csle.component.runner

                                                +

                                                SimpleSparkRunner

                                                Related Doc: + package runner +

                                                + + Permalink + + +
                                                + +

                                                + + + class + + + SimpleSparkRunner[P] extends BaseRunner[SparkSession, P, Any] + +

                                                + +

                                                :: ApplicationDeveloperApi ::

                                                Runner that gets session which derived from Spark context created by YARN. +

                                                + Linear Supertypes +
                                                BaseRunner[SparkSession, P, Any], BaseDoer, Logging, Serializable, Serializable, AnyRef, Any
                                                +
                                                + + +
                                                +
                                                +
                                                + Ordering +
                                                  + +
                                                1. Alphabetic
                                                2. +
                                                3. By Inheritance
                                                4. +
                                                +
                                                +
                                                + Inherited
                                                +
                                                +
                                                  +
                                                1. SimpleSparkRunner
                                                2. BaseRunner
                                                3. BaseDoer
                                                4. Logging
                                                5. Serializable
                                                6. Serializable
                                                7. AnyRef
                                                8. Any
                                                9. +
                                                +
                                                + +
                                                  +
                                                1. Hide All
                                                2. +
                                                3. Show All
                                                4. +
                                                +
                                                +
                                                + Visibility +
                                                1. Public
                                                2. All
                                                +
                                                +
                                                + +
                                                +
                                                +
                                                +

                                                Instance Constructors

                                                +
                                                1. + + +

                                                  + + + new + + + SimpleSparkRunner(o: P) + +

                                                  + + Permalink + + +

                                                  o

                                                  Object that contains message + ksb.csle.common.proto.RunnerProto.SparkRunnerInfo + SparkRunnerInfo containing attributes are as follows:

                                                  • sparkArgs: Spark argument message to be passed to spark (optional) + Spark arguement message contains belowed parameters.
                                                  • inJson: method parameter passing to spark (deprecated) + As of KSB v0.8.1, this paramter does not need to set any more.

                                                  SparkRunnerInfo

                                                  message SparkRunnerInfo {
                                                  +  optional SparkArgs sparkArgs = 1;
                                                  +  optional bool inJson = 2 [default = false];
                                                  +}
                                                  • appName: Spark application name (Deprecated)
                                                  • master: Master URL passed to Spark (Deprecated) + This can be in one of formats in following reference link:
                                                  • deployMode: cluster or client (not used) + For more detailed information, please refer to following site: + https://spark.apache.org/docs/latest/submitting-applications.html

                                                  SparkArgsInfo

                                                  message SparkArgs {
                                                  +  optional string appName = 1;
                                                  +  optional string master =  2 [default = "local[*]"];
                                                  +  optional string deployMode = 3;
                                                  +  optional string mainClass = 4;
                                                  +  optional string conf = 5;
                                                  +  optional string executorCores = 7;
                                                  +  optional string memory = 8;
                                                  +  optional string driverMemory = 9;
                                                  +  optional string executerMemory = 10;
                                                  +  optional string numExecutors = 11;
                                                  +  optional string totalCores = 12;
                                                  +  optional string extraArgs = 13;
                                                  +  repeated string confOptions = 14;
                                                  +  optional string jars = 15;
                                                  +  optional string pyFiles = 16;
                                                  +  optional string mainJar = 17;
                                                  +  optional string sparkVersion = 18 [default = "2.1.1"];
                                                  +}
                                                  +
                                                +
                                                + + + + + +
                                                +

                                                Value Members

                                                +
                                                1. + + +

                                                  + + final + def + + + !=(arg0: Any): Boolean + +

                                                  + + Permalink + + +
                                                  Definition Classes
                                                  AnyRef → Any
                                                  +
                                                2. + + +

                                                  + + final + def + + + ##(): Int + +

                                                  + + Permalink + + +
                                                  Definition Classes
                                                  AnyRef → Any
                                                  +
                                                3. + + +

                                                  + + final + def + + + ==(arg0: Any): Boolean + +

                                                  + + Permalink + + +
                                                  Definition Classes
                                                  AnyRef → Any
                                                  +
                                                4. + + +

                                                  + + final + def + + + asInstanceOf[T0]: T0 + +

                                                  + + Permalink + + +
                                                  Definition Classes
                                                  Any
                                                  +
                                                5. + + +

                                                  + + + def + + + clone(): AnyRef + +

                                                  + + Permalink + + +
                                                  Attributes
                                                  protected[java.lang]
                                                  Definition Classes
                                                  AnyRef
                                                  Annotations
                                                  + @throws( + + ... + ) + +
                                                  +
                                                6. + + +

                                                  + + final + def + + + eq(arg0: AnyRef): Boolean + +

                                                  + + Permalink + + +
                                                  Definition Classes
                                                  AnyRef
                                                  +
                                                7. + + +

                                                  + + + def + + + equals(arg0: Any): Boolean + +

                                                  + + Permalink + + +
                                                  Definition Classes
                                                  AnyRef → Any
                                                  +
                                                8. + + +

                                                  + + + def + + + finalize(): Unit + +

                                                  + + Permalink + + +
                                                  Attributes
                                                  protected[java.lang]
                                                  Definition Classes
                                                  AnyRef
                                                  Annotations
                                                  + @throws( + + classOf[java.lang.Throwable] + ) + +
                                                  +
                                                9. + + +

                                                  + + final + def + + + getClass(): Class[_] + +

                                                  + + Permalink + + +
                                                  Definition Classes
                                                  AnyRef → Any
                                                  +
                                                10. + + +

                                                  + + + def + + + getSession: SparkSession + +

                                                  + + Permalink + + +

                                                  Definition Classes
                                                  SimpleSparkRunner → BaseRunner
                                                  +
                                                11. + + +

                                                  + + + def + + + hashCode(): Int + +

                                                  + + Permalink + + +
                                                  Definition Classes
                                                  AnyRef → Any
                                                  +
                                                12. + + +

                                                  + + + def + + + init(a: Any): Unit + +

                                                  + + Permalink + + +
                                                  Definition Classes
                                                  SimpleSparkRunner → BaseRunner
                                                  +
                                                13. + + +

                                                  + + final + def + + + isInstanceOf[T0]: Boolean + +

                                                  + + Permalink + + +
                                                  Definition Classes
                                                  Any
                                                  +
                                                14. + + +

                                                  + + + val + + + logger: Logger + +

                                                  + + Permalink + + +
                                                  Attributes
                                                  protected
                                                  Definition Classes
                                                  Logging
                                                  +
                                                15. + + +

                                                  + + final + def + + + ne(arg0: AnyRef): Boolean + +

                                                  + + Permalink + + +
                                                  Definition Classes
                                                  AnyRef
                                                  +
                                                16. + + +

                                                  + + final + def + + + notify(): Unit + +

                                                  + + Permalink + + +
                                                  Definition Classes
                                                  AnyRef
                                                  +
                                                17. + + +

                                                  + + final + def + + + notifyAll(): Unit + +

                                                  + + Permalink + + +
                                                  Definition Classes
                                                  AnyRef
                                                  +
                                                18. + + +

                                                  + + + val + + + p: SparkRunnerInfo + +

                                                  + + Permalink + + +
                                                  Attributes
                                                  protected
                                                  +
                                                19. + + +

                                                  + + + def + + + run(params: Any): Unit + +

                                                  + + Permalink + + +
                                                  Definition Classes
                                                  SimpleSparkRunner → BaseRunner
                                                  +
                                                20. + + +

                                                  + + + val + + + spark: SparkSession + +

                                                  + + Permalink + + +
                                                  Attributes
                                                  protected
                                                  +
                                                21. + + +

                                                  + + + def + + + stop: Unit + +

                                                  + + Permalink + + +
                                                  Definition Classes
                                                  SimpleSparkRunner → BaseRunner
                                                  +
                                                22. + + +

                                                  + + final + def + + + synchronized[T0](arg0: ⇒ T0): T0 + +

                                                  + + Permalink + + +
                                                  Definition Classes
                                                  AnyRef
                                                  +
                                                23. + + +

                                                  + + + def + + + toString(): String + +

                                                  + + Permalink + + +
                                                  Definition Classes
                                                  AnyRef → Any
                                                  +
                                                24. + + +

                                                  + + final + def + + + wait(): Unit + +

                                                  + + Permalink + + +
                                                  Definition Classes
                                                  AnyRef
                                                  Annotations
                                                  + @throws( + + ... + ) + +
                                                  +
                                                25. + + +

                                                  + + final + def + + + wait(arg0: Long, arg1: Int): Unit + +

                                                  + + Permalink + + +
                                                  Definition Classes
                                                  AnyRef
                                                  Annotations
                                                  + @throws( + + ... + ) + +
                                                  +
                                                26. + + +

                                                  + + final + def + + + wait(arg0: Long): Unit + +

                                                  + + Permalink + + +
                                                  Definition Classes
                                                  AnyRef
                                                  Annotations
                                                  + @throws( + + ... + ) + +
                                                  +
                                                +
                                                + + + + +
                                                + +
                                                +
                                                +

                                                Inherited from BaseRunner[SparkSession, P, Any]

                                                +
                                                +

                                                Inherited from BaseDoer

                                                +
                                                +

                                                Inherited from Logging

                                                +
                                                +

                                                Inherited from Serializable

                                                +
                                                +

                                                Inherited from Serializable

                                                +
                                                +

                                                Inherited from AnyRef

                                                +
                                                +

                                                Inherited from Any

                                                +
                                                + +
                                                + +
                                                +
                                                +

                                                Ungrouped

                                                + +
                                                +
                                                + +
                                                + +
                                                + + + + + + diff --git a/manual1903/api_reference/components/scaladocs/ksb/csle/component/runner/StartServing.html b/manual1903/api_reference/components/scaladocs/ksb/csle/component/runner/StartServing.html new file mode 100644 index 0000000000000000000000000000000000000000..f2280527f48cb00742844e0e9b6b5c00ae0de59b --- /dev/null +++ b/manual1903/api_reference/components/scaladocs/ksb/csle/component/runner/StartServing.html @@ -0,0 +1,459 @@ + + + + StartServing - KSB COMPONENTS Scala App Project 1.0-SNAPSHOT API - ksb.csle.component.runner.StartServing + + + + + + + + + + + + + + + +
                                                + Class +

                                                ksb.csle.component.runner

                                                +

                                                StartServing

                                                Related Doc: + package runner +

                                                + + Permalink + + +
                                                + +

                                                + + sealed + case class + + + StartServing() extends Product with Serializable + +

                                                + +
                                                + Linear Supertypes +
                                                Serializable, Serializable, Product, Equals, AnyRef, Any
                                                +
                                                + + +
                                                +
                                                +
                                                + Ordering +
                                                  + +
                                                1. Alphabetic
                                                2. +
                                                3. By Inheritance
                                                4. +
                                                +
                                                +
                                                + Inherited
                                                +
                                                +
                                                  +
                                                1. StartServing
                                                2. Serializable
                                                3. Serializable
                                                4. Product
                                                5. Equals
                                                6. AnyRef
                                                7. Any
                                                8. +
                                                +
                                                + +
                                                  +
                                                1. Hide All
                                                2. +
                                                3. Show All
                                                4. +
                                                +
                                                +
                                                + Visibility +
                                                1. Public
                                                2. All
                                                +
                                                +
                                                + +
                                                +
                                                +
                                                +

                                                Instance Constructors

                                                +
                                                1. + + +

                                                  + + + new + + + StartServing() + +

                                                  + + Permalink + + + +
                                                +
                                                + + + + + +
                                                +

                                                Value Members

                                                +
                                                1. + + +

                                                  + + final + def + + + !=(arg0: Any): Boolean + +

                                                  + + Permalink + + +
                                                  Definition Classes
                                                  AnyRef → Any
                                                  +
                                                2. + + +

                                                  + + final + def + + + ##(): Int + +

                                                  + + Permalink + + +
                                                  Definition Classes
                                                  AnyRef → Any
                                                  +
                                                3. + + +

                                                  + + final + def + + + ==(arg0: Any): Boolean + +

                                                  + + Permalink + + +
                                                  Definition Classes
                                                  AnyRef → Any
                                                  +
                                                4. + + +

                                                  + + final + def + + + asInstanceOf[T0]: T0 + +

                                                  + + Permalink + + +
                                                  Definition Classes
                                                  Any
                                                  +
                                                5. + + +

                                                  + + + def + + + clone(): AnyRef + +

                                                  + + Permalink + + +
                                                  Attributes
                                                  protected[java.lang]
                                                  Definition Classes
                                                  AnyRef
                                                  Annotations
                                                  + @throws( + + ... + ) + +
                                                  +
                                                6. + + +

                                                  + + final + def + + + eq(arg0: AnyRef): Boolean + +

                                                  + + Permalink + + +
                                                  Definition Classes
                                                  AnyRef
                                                  +
                                                7. + + +

                                                  + + + def + + + finalize(): Unit + +

                                                  + + Permalink + + +
                                                  Attributes
                                                  protected[java.lang]
                                                  Definition Classes
                                                  AnyRef
                                                  Annotations
                                                  + @throws( + + classOf[java.lang.Throwable] + ) + +
                                                  +
                                                8. + + +

                                                  + + final + def + + + getClass(): Class[_] + +

                                                  + + Permalink + + +
                                                  Definition Classes
                                                  AnyRef → Any
                                                  +
                                                9. + + +

                                                  + + final + def + + + isInstanceOf[T0]: Boolean + +

                                                  + + Permalink + + +
                                                  Definition Classes
                                                  Any
                                                  +
                                                10. + + +

                                                  + + final + def + + + ne(arg0: AnyRef): Boolean + +

                                                  + + Permalink + + +
                                                  Definition Classes
                                                  AnyRef
                                                  +
                                                11. + + +

                                                  + + final + def + + + notify(): Unit + +

                                                  + + Permalink + + +
                                                  Definition Classes
                                                  AnyRef
                                                  +
                                                12. + + +

                                                  + + final + def + + + notifyAll(): Unit + +

                                                  + + Permalink + + +
                                                  Definition Classes
                                                  AnyRef
                                                  +
                                                13. + + +

                                                  + + final + def + + + synchronized[T0](arg0: ⇒ T0): T0 + +

                                                  + + Permalink + + +
                                                  Definition Classes
                                                  AnyRef
                                                  +
                                                14. + + +

                                                  + + final + def + + + wait(): Unit + +

                                                  + + Permalink + + +
                                                  Definition Classes
                                                  AnyRef
                                                  Annotations
                                                  + @throws( + + ... + ) + +
                                                  +
                                                15. + + +

                                                  + + final + def + + + wait(arg0: Long, arg1: Int): Unit + +

                                                  + + Permalink + + +
                                                  Definition Classes
                                                  AnyRef
                                                  Annotations
                                                  + @throws( + + ... + ) + +
                                                  +
                                                16. + + +

                                                  + + final + def + + + wait(arg0: Long): Unit + +

                                                  + + Permalink + + +
                                                  Definition Classes
                                                  AnyRef
                                                  Annotations
                                                  + @throws( + + ... + ) + +
                                                  +
                                                +
                                                + + + + +
                                                + +
                                                +
                                                +

                                                Inherited from Serializable

                                                +
                                                +

                                                Inherited from Serializable

                                                +
                                                +

                                                Inherited from Product

                                                +
                                                +

                                                Inherited from Equals

                                                +
                                                +

                                                Inherited from AnyRef

                                                +
                                                +

                                                Inherited from Any

                                                +
                                                + +
                                                + +
                                                +
                                                +

                                                Ungrouped

                                                + +
                                                +
                                                + +
                                                + +
                                                + + + + + + diff --git a/manual1903/api_reference/components/scaladocs/ksb/csle/component/runner/StopServing.html b/manual1903/api_reference/components/scaladocs/ksb/csle/component/runner/StopServing.html new file mode 100644 index 0000000000000000000000000000000000000000..a16047d4adf5fa5219a9804d6d71aa3024731bea --- /dev/null +++ b/manual1903/api_reference/components/scaladocs/ksb/csle/component/runner/StopServing.html @@ -0,0 +1,459 @@ + + + + StopServing - KSB COMPONENTS Scala App Project 1.0-SNAPSHOT API - ksb.csle.component.runner.StopServing + + + + + + + + + + + + + + + +
                                                + Class +

                                                ksb.csle.component.runner

                                                +

                                                StopServing

                                                Related Doc: + package runner +

                                                + + Permalink + + +
                                                + +

                                                + + sealed + case class + + + StopServing() extends Product with Serializable + +

                                                + +
                                                + Linear Supertypes +
                                                Serializable, Serializable, Product, Equals, AnyRef, Any
                                                +
                                                + + +
                                                +
                                                +
                                                + Ordering +
                                                  + +
                                                1. Alphabetic
                                                2. +
                                                3. By Inheritance
                                                4. +
                                                +
                                                +
                                                + Inherited
                                                +
                                                +
                                                  +
                                                1. StopServing
                                                2. Serializable
                                                3. Serializable
                                                4. Product
                                                5. Equals
                                                6. AnyRef
                                                7. Any
                                                8. +
                                                +
                                                + +
                                                  +
                                                1. Hide All
                                                2. +
                                                3. Show All
                                                4. +
                                                +
                                                +
                                                + Visibility +
                                                1. Public
                                                2. All
                                                +
                                                +
                                                + +
                                                +
                                                +
                                                +

                                                Instance Constructors

                                                +
                                                1. + + +

                                                  + + + new + + + StopServing() + +

                                                  + + Permalink + + + +
                                                +
                                                + + + + + +
                                                +

                                                Value Members

                                                +
                                                1. + + +

                                                  + + final + def + + + !=(arg0: Any): Boolean + +

                                                  + + Permalink + + +
                                                  Definition Classes
                                                  AnyRef → Any
                                                  +
                                                2. + + +

                                                  + + final + def + + + ##(): Int + +

                                                  + + Permalink + + +
                                                  Definition Classes
                                                  AnyRef → Any
                                                  +
                                                3. + + +

                                                  + + final + def + + + ==(arg0: Any): Boolean + +

                                                  + + Permalink + + +
                                                  Definition Classes
                                                  AnyRef → Any
                                                  +
                                                4. + + +

                                                  + + final + def + + + asInstanceOf[T0]: T0 + +

                                                  + + Permalink + + +
                                                  Definition Classes
                                                  Any
                                                  +
                                                5. + + +

                                                  + + + def + + + clone(): AnyRef + +

                                                  + + Permalink + + +
                                                  Attributes
                                                  protected[java.lang]
                                                  Definition Classes
                                                  AnyRef
                                                  Annotations
                                                  + @throws( + + ... + ) + +
                                                  +
                                                6. + + +

                                                  + + final + def + + + eq(arg0: AnyRef): Boolean + +

                                                  + + Permalink + + +
                                                  Definition Classes
                                                  AnyRef
                                                  +
                                                7. + + +

                                                  + + + def + + + finalize(): Unit + +

                                                  + + Permalink + + +
                                                  Attributes
                                                  protected[java.lang]
                                                  Definition Classes
                                                  AnyRef
                                                  Annotations
                                                  + @throws( + + classOf[java.lang.Throwable] + ) + +
                                                  +
                                                8. + + +

                                                  + + final + def + + + getClass(): Class[_] + +

                                                  + + Permalink + + +
                                                  Definition Classes
                                                  AnyRef → Any
                                                  +
                                                9. + + +

                                                  + + final + def + + + isInstanceOf[T0]: Boolean + +

                                                  + + Permalink + + +
                                                  Definition Classes
                                                  Any
                                                  +
                                                10. + + +

                                                  + + final + def + + + ne(arg0: AnyRef): Boolean + +

                                                  + + Permalink + + +
                                                  Definition Classes
                                                  AnyRef
                                                  +
                                                11. + + +

                                                  + + final + def + + + notify(): Unit + +

                                                  + + Permalink + + +
                                                  Definition Classes
                                                  AnyRef
                                                  +
                                                12. + + +

                                                  + + final + def + + + notifyAll(): Unit + +

                                                  + + Permalink + + +
                                                  Definition Classes
                                                  AnyRef
                                                  +
                                                13. + + +

                                                  + + final + def + + + synchronized[T0](arg0: ⇒ T0): T0 + +

                                                  + + Permalink + + +
                                                  Definition Classes
                                                  AnyRef
                                                  +
                                                14. + + +

                                                  + + final + def + + + wait(): Unit + +

                                                  + + Permalink + + +
                                                  Definition Classes
                                                  AnyRef
                                                  Annotations
                                                  + @throws( + + ... + ) + +
                                                  +
                                                15. + + +

                                                  + + final + def + + + wait(arg0: Long, arg1: Int): Unit + +

                                                  + + Permalink + + +
                                                  Definition Classes
                                                  AnyRef
                                                  Annotations
                                                  + @throws( + + ... + ) + +
                                                  +
                                                16. + + +

                                                  + + final + def + + + wait(arg0: Long): Unit + +

                                                  + + Permalink + + +
                                                  Definition Classes
                                                  AnyRef
                                                  Annotations
                                                  + @throws( + + ... + ) + +
                                                  +
                                                +
                                                + + + + +
                                                + +
                                                +
                                                +

                                                Inherited from Serializable

                                                +
                                                +

                                                Inherited from Serializable

                                                +
                                                +

                                                Inherited from Product

                                                +
                                                +

                                                Inherited from Equals

                                                +
                                                +

                                                Inherited from AnyRef

                                                +
                                                +

                                                Inherited from Any

                                                +
                                                + +
                                                + +
                                                +
                                                +

                                                Ungrouped

                                                + +
                                                +
                                                + +
                                                + +
                                                + + + + + + diff --git a/manual1903/api_reference/components/scaladocs/ksb/csle/component/runner/TensorflowServingRunner$$FormdataParser$.html b/manual1903/api_reference/components/scaladocs/ksb/csle/component/runner/TensorflowServingRunner$$FormdataParser$.html new file mode 100644 index 0000000000000000000000000000000000000000..3b5d818ba9367b5afb4a04a8167d48e251bd70d0 --- /dev/null +++ b/manual1903/api_reference/components/scaladocs/ksb/csle/component/runner/TensorflowServingRunner$$FormdataParser$.html @@ -0,0 +1,499 @@ + + + + FormdataParser - KSB COMPONENTS Scala App Project 1.0-SNAPSHOT API - ksb.csle.component.runner.TensorflowServingRunner.FormdataParser + + + + + + + + + + + + + + + + + +

                                                + + + object + + + FormdataParser + +

                                                + +
                                                + Linear Supertypes +
                                                AnyRef, Any
                                                +
                                                + + +
                                                +
                                                +
                                                + Ordering +
                                                  + +
                                                1. Alphabetic
                                                2. +
                                                3. By Inheritance
                                                4. +
                                                +
                                                +
                                                + Inherited
                                                +
                                                +
                                                  +
                                                1. FormdataParser
                                                2. AnyRef
                                                3. Any
                                                4. +
                                                +
                                                + +
                                                  +
                                                1. Hide All
                                                2. +
                                                3. Show All
                                                4. +
                                                +
                                                +
                                                + Visibility +
                                                1. Public
                                                2. All
                                                +
                                                +
                                                + +
                                                +
                                                + + + + + + +
                                                +

                                                Value Members

                                                +
                                                1. + + +

                                                  + + final + def + + + !=(arg0: Any): Boolean + +

                                                  + + Permalink + + +
                                                  Definition Classes
                                                  AnyRef → Any
                                                  +
                                                2. + + +

                                                  + + final + def + + + ##(): Int + +

                                                  + + Permalink + + +
                                                  Definition Classes
                                                  AnyRef → Any
                                                  +
                                                3. + + +

                                                  + + final + def + + + ==(arg0: Any): Boolean + +

                                                  + + Permalink + + +
                                                  Definition Classes
                                                  AnyRef → Any
                                                  +
                                                4. + + +

                                                  + + final + def + + + asInstanceOf[T0]: T0 + +

                                                  + + Permalink + + +
                                                  Definition Classes
                                                  Any
                                                  +
                                                5. + + +

                                                  + + + def + + + clone(): AnyRef + +

                                                  + + Permalink + + +
                                                  Attributes
                                                  protected[java.lang]
                                                  Definition Classes
                                                  AnyRef
                                                  Annotations
                                                  + @throws( + + ... + ) + +
                                                  +
                                                6. + + +

                                                  + + final + def + + + eq(arg0: AnyRef): Boolean + +

                                                  + + Permalink + + +
                                                  Definition Classes
                                                  AnyRef
                                                  +
                                                7. + + +

                                                  + + + def + + + equals(arg0: Any): Boolean + +

                                                  + + Permalink + + +
                                                  Definition Classes
                                                  AnyRef → Any
                                                  +
                                                8. + + +

                                                  + + + def + + + finalize(): Unit + +

                                                  + + Permalink + + +
                                                  Attributes
                                                  protected[java.lang]
                                                  Definition Classes
                                                  AnyRef
                                                  Annotations
                                                  + @throws( + + classOf[java.lang.Throwable] + ) + +
                                                  +
                                                9. + + +

                                                  + + final + def + + + getClass(): Class[_] + +

                                                  + + Permalink + + +
                                                  Definition Classes
                                                  AnyRef → Any
                                                  +
                                                10. + + +

                                                  + + + def + + + hashCode(): Int + +

                                                  + + Permalink + + +
                                                  Definition Classes
                                                  AnyRef → Any
                                                  +
                                                11. + + +

                                                  + + final + def + + + isInstanceOf[T0]: Boolean + +

                                                  + + Permalink + + +
                                                  Definition Classes
                                                  Any
                                                  +
                                                12. + + +

                                                  + + final + def + + + ne(arg0: AnyRef): Boolean + +

                                                  + + Permalink + + +
                                                  Definition Classes
                                                  AnyRef
                                                  +
                                                13. + + +

                                                  + + final + def + + + notify(): Unit + +

                                                  + + Permalink + + +
                                                  Definition Classes
                                                  AnyRef
                                                  +
                                                14. + + +

                                                  + + final + def + + + notifyAll(): Unit + +

                                                  + + Permalink + + +
                                                  Definition Classes
                                                  AnyRef
                                                  +
                                                15. + + +

                                                  + + + def + + + parse(mediaType: String, content: String): Map[String, (String, String)] + +

                                                  + + Permalink + + + +
                                                16. + + +

                                                  + + final + def + + + synchronized[T0](arg0: ⇒ T0): T0 + +

                                                  + + Permalink + + +
                                                  Definition Classes
                                                  AnyRef
                                                  +
                                                17. + + +

                                                  + + + def + + + toString(): String + +

                                                  + + Permalink + + +
                                                  Definition Classes
                                                  AnyRef → Any
                                                  +
                                                18. + + +

                                                  + + final + def + + + wait(): Unit + +

                                                  + + Permalink + + +
                                                  Definition Classes
                                                  AnyRef
                                                  Annotations
                                                  + @throws( + + ... + ) + +
                                                  +
                                                19. + + +

                                                  + + final + def + + + wait(arg0: Long, arg1: Int): Unit + +

                                                  + + Permalink + + +
                                                  Definition Classes
                                                  AnyRef
                                                  Annotations
                                                  + @throws( + + ... + ) + +
                                                  +
                                                20. + + +

                                                  + + final + def + + + wait(arg0: Long): Unit + +

                                                  + + Permalink + + +
                                                  Definition Classes
                                                  AnyRef
                                                  Annotations
                                                  + @throws( + + ... + ) + +
                                                  +
                                                +
                                                + + + + +
                                                + +
                                                +
                                                +

                                                Inherited from AnyRef

                                                +
                                                +

                                                Inherited from Any

                                                +
                                                + +
                                                + +
                                                +
                                                +

                                                Ungrouped

                                                + +
                                                +
                                                + +
                                                + +
                                                + + + + + + diff --git a/manual1903/api_reference/components/scaladocs/ksb/csle/component/runner/TensorflowServingRunner$.html b/manual1903/api_reference/components/scaladocs/ksb/csle/component/runner/TensorflowServingRunner$.html new file mode 100644 index 0000000000000000000000000000000000000000..3544d1ee657c7b250e21f3b7b01cf476e043fcf6 --- /dev/null +++ b/manual1903/api_reference/components/scaladocs/ksb/csle/component/runner/TensorflowServingRunner$.html @@ -0,0 +1,505 @@ + + + + TensorflowServingRunner - KSB COMPONENTS Scala App Project 1.0-SNAPSHOT API - ksb.csle.component.runner.TensorflowServingRunner + + + + + + + + + + + + + + + + + +

                                                + + + object + + + TensorflowServingRunner extends Serializable + +

                                                + +
                                                + Linear Supertypes +
                                                Serializable, Serializable, AnyRef, Any
                                                +
                                                + + +
                                                +
                                                +
                                                + Ordering +
                                                  + +
                                                1. Alphabetic
                                                2. +
                                                3. By Inheritance
                                                4. +
                                                +
                                                +
                                                + Inherited
                                                +
                                                +
                                                  +
                                                1. TensorflowServingRunner
                                                2. Serializable
                                                3. Serializable
                                                4. AnyRef
                                                5. Any
                                                6. +
                                                +
                                                + +
                                                  +
                                                1. Hide All
                                                2. +
                                                3. Show All
                                                4. +
                                                +
                                                +
                                                + Visibility +
                                                1. Public
                                                2. All
                                                +
                                                +
                                                + +
                                                +
                                                + + + + + + +
                                                +

                                                Value Members

                                                +
                                                1. + + +

                                                  + + final + def + + + !=(arg0: Any): Boolean + +

                                                  + + Permalink + + +
                                                  Definition Classes
                                                  AnyRef → Any
                                                  +
                                                2. + + +

                                                  + + final + def + + + ##(): Int + +

                                                  + + Permalink + + +
                                                  Definition Classes
                                                  AnyRef → Any
                                                  +
                                                3. + + +

                                                  + + final + def + + + ==(arg0: Any): Boolean + +

                                                  + + Permalink + + +
                                                  Definition Classes
                                                  AnyRef → Any
                                                  +
                                                4. + + +

                                                  + + + object + + + FormdataParser + +

                                                  + + Permalink + + + +
                                                5. + + +

                                                  + + final + def + + + asInstanceOf[T0]: T0 + +

                                                  + + Permalink + + +
                                                  Definition Classes
                                                  Any
                                                  +
                                                6. + + +

                                                  + + + def + + + clone(): AnyRef + +

                                                  + + Permalink + + +
                                                  Attributes
                                                  protected[java.lang]
                                                  Definition Classes
                                                  AnyRef
                                                  Annotations
                                                  + @throws( + + ... + ) + +
                                                  +
                                                7. + + +

                                                  + + final + def + + + eq(arg0: AnyRef): Boolean + +

                                                  + + Permalink + + +
                                                  Definition Classes
                                                  AnyRef
                                                  +
                                                8. + + +

                                                  + + + def + + + equals(arg0: Any): Boolean + +

                                                  + + Permalink + + +
                                                  Definition Classes
                                                  AnyRef → Any
                                                  +
                                                9. + + +

                                                  + + + def + + + finalize(): Unit + +

                                                  + + Permalink + + +
                                                  Attributes
                                                  protected[java.lang]
                                                  Definition Classes
                                                  AnyRef
                                                  Annotations
                                                  + @throws( + + classOf[java.lang.Throwable] + ) + +
                                                  +
                                                10. + + +

                                                  + + final + def + + + getClass(): Class[_] + +

                                                  + + Permalink + + +
                                                  Definition Classes
                                                  AnyRef → Any
                                                  +
                                                11. + + +

                                                  + + + def + + + hashCode(): Int + +

                                                  + + Permalink + + +
                                                  Definition Classes
                                                  AnyRef → Any
                                                  +
                                                12. + + +

                                                  + + final + def + + + isInstanceOf[T0]: Boolean + +

                                                  + + Permalink + + +
                                                  Definition Classes
                                                  Any
                                                  +
                                                13. + + +

                                                  + + final + def + + + ne(arg0: AnyRef): Boolean + +

                                                  + + Permalink + + +
                                                  Definition Classes
                                                  AnyRef
                                                  +
                                                14. + + +

                                                  + + final + def + + + notify(): Unit + +

                                                  + + Permalink + + +
                                                  Definition Classes
                                                  AnyRef
                                                  +
                                                15. + + +

                                                  + + final + def + + + notifyAll(): Unit + +

                                                  + + Permalink + + +
                                                  Definition Classes
                                                  AnyRef
                                                  +
                                                16. + + +

                                                  + + final + def + + + synchronized[T0](arg0: ⇒ T0): T0 + +

                                                  + + Permalink + + +
                                                  Definition Classes
                                                  AnyRef
                                                  +
                                                17. + + +

                                                  + + + def + + + toString(): String + +

                                                  + + Permalink + + +
                                                  Definition Classes
                                                  AnyRef → Any
                                                  +
                                                18. + + +

                                                  + + final + def + + + wait(): Unit + +

                                                  + + Permalink + + +
                                                  Definition Classes
                                                  AnyRef
                                                  Annotations
                                                  + @throws( + + ... + ) + +
                                                  +
                                                19. + + +

                                                  + + final + def + + + wait(arg0: Long, arg1: Int): Unit + +

                                                  + + Permalink + + +
                                                  Definition Classes
                                                  AnyRef
                                                  Annotations
                                                  + @throws( + + ... + ) + +
                                                  +
                                                20. + + +

                                                  + + final + def + + + wait(arg0: Long): Unit + +

                                                  + + Permalink + + +
                                                  Definition Classes
                                                  AnyRef
                                                  Annotations
                                                  + @throws( + + ... + ) + +
                                                  +
                                                +
                                                + + + + +
                                                + +
                                                +
                                                +

                                                Inherited from Serializable

                                                +
                                                +

                                                Inherited from Serializable

                                                +
                                                +

                                                Inherited from AnyRef

                                                +
                                                +

                                                Inherited from Any

                                                +
                                                + +
                                                + +
                                                +
                                                +

                                                Ungrouped

                                                + +
                                                +
                                                + +
                                                + +
                                                + + + + + + diff --git a/manual1903/api_reference/components/scaladocs/ksb/csle/component/runner/TensorflowServingRunner.html b/manual1903/api_reference/components/scaladocs/ksb/csle/component/runner/TensorflowServingRunner.html new file mode 100644 index 0000000000000000000000000000000000000000..561cd73326c0858617b1ef93a1afd53c4006cce3 --- /dev/null +++ b/manual1903/api_reference/components/scaladocs/ksb/csle/component/runner/TensorflowServingRunner.html @@ -0,0 +1,614 @@ + + + + TensorflowServingRunner - KSB COMPONENTS Scala App Project 1.0-SNAPSHOT API - ksb.csle.component.runner.TensorflowServingRunner + + + + + + + + + + + + + + + + + +

                                                + + final + class + + + TensorflowServingRunner extends BaseRunner[ModelSession, OnDemandRunnerInfo, ModelServingState] + +

                                                + +

                                                :: ApplicationDeveloperApi ::

                                                Runner that serves a tensorflow model and provides RESTful APIs. +

                                                + Linear Supertypes +
                                                BaseRunner[ModelSession, OnDemandRunnerInfo, ModelServingState], BaseDoer, Logging, Serializable, Serializable, AnyRef, Any
                                                +
                                                + + +
                                                +
                                                +
                                                + Ordering +
                                                  + +
                                                1. Alphabetic
                                                2. +
                                                3. By Inheritance
                                                4. +
                                                +
                                                +
                                                + Inherited
                                                +
                                                +
                                                  +
                                                1. TensorflowServingRunner
                                                2. BaseRunner
                                                3. BaseDoer
                                                4. Logging
                                                5. Serializable
                                                6. Serializable
                                                7. AnyRef
                                                8. Any
                                                9. +
                                                +
                                                + +
                                                  +
                                                1. Hide All
                                                2. +
                                                3. Show All
                                                4. +
                                                +
                                                +
                                                + Visibility +
                                                1. Public
                                                2. All
                                                +
                                                +
                                                + +
                                                +
                                                +
                                                +

                                                Instance Constructors

                                                +
                                                1. + + +

                                                  + + + new + + + TensorflowServingRunner(o: OnDemandRunnerInfo) + +

                                                  + + Permalink + + +

                                                  o

                                                  Object that contains message + ksb.csle.common.proto.RunnerProto.TensorflowServingRunnerInfo + TensorflowServingRunnerInfo containing attributes are as follows:

                                                  • port: Port number for RESTful APIs (required)
                                                  • modelName: Model name (required)
                                                  • modelBasePath: Model location (required) + if in the local file system, set '/model/base'. + if in the HDFS, set 'hdfs://ip:port/model/base'. + if gRPC model server, set 'grpc://ip:port'.
                                                  • options: options of tensorflow model serving (repeated)

                                                  TensorflowServingRunnerInfo

                                                  message TensorflowServingRunnerInfo {
                                                  +  required int32 port = 1 [default = 8001];
                                                  +  required string modelName = 2 [default = "default"];
                                                  +  required string modelBasePath = 3 [default = "/your/model/base"];
                                                  +  repeated ServingOption options = 4;
                                                  +}
                                                  +
                                                +
                                                + + + + + +
                                                +

                                                Value Members

                                                +
                                                1. + + +

                                                  + + final + def + + + !=(arg0: Any): Boolean + +

                                                  + + Permalink + + +
                                                  Definition Classes
                                                  AnyRef → Any
                                                  +
                                                2. + + +

                                                  + + final + def + + + ##(): Int + +

                                                  + + Permalink + + +
                                                  Definition Classes
                                                  AnyRef → Any
                                                  +
                                                3. + + +

                                                  + + final + def + + + ==(arg0: Any): Boolean + +

                                                  + + Permalink + + +
                                                  Definition Classes
                                                  AnyRef → Any
                                                  +
                                                4. + + +

                                                  + + final + def + + + asInstanceOf[T0]: T0 + +

                                                  + + Permalink + + +
                                                  Definition Classes
                                                  Any
                                                  +
                                                5. + + +

                                                  + + + def + + + clone(): AnyRef + +

                                                  + + Permalink + + +
                                                  Attributes
                                                  protected[java.lang]
                                                  Definition Classes
                                                  AnyRef
                                                  Annotations
                                                  + @throws( + + ... + ) + +
                                                  +
                                                6. + + +

                                                  + + final + def + + + eq(arg0: AnyRef): Boolean + +

                                                  + + Permalink + + +
                                                  Definition Classes
                                                  AnyRef
                                                  +
                                                7. + + +

                                                  + + + def + + + equals(arg0: Any): Boolean + +

                                                  + + Permalink + + +
                                                  Definition Classes
                                                  AnyRef → Any
                                                  +
                                                8. + + +

                                                  + + + def + + + finalize(): Unit + +

                                                  + + Permalink + + +
                                                  Attributes
                                                  protected[java.lang]
                                                  Definition Classes
                                                  AnyRef
                                                  Annotations
                                                  + @throws( + + classOf[java.lang.Throwable] + ) + +
                                                  +
                                                9. + + +

                                                  + + final + def + + + getClass(): Class[_] + +

                                                  + + Permalink + + +
                                                  Definition Classes
                                                  AnyRef → Any
                                                  +
                                                10. + + +

                                                  + + + def + + + getSession: ModelSession + +

                                                  + + Permalink + + +

                                                  Get the session to access the model server.

                                                  Get the session to access the model server. +

                                                  returns

                                                  ModelSession Session to access the model server

                                                  Definition Classes
                                                  TensorflowServingRunner → BaseRunner
                                                  +
                                                11. + + +

                                                  + + + def + + + hashCode(): Int + +

                                                  + + Permalink + + +
                                                  Definition Classes
                                                  AnyRef → Any
                                                  +
                                                12. + + +

                                                  + + + def + + + init(op: Any): ModelServingState + +

                                                  + + Permalink + + +

                                                  Initialize the runner for tensorflow model serving.

                                                  Initialize the runner for tensorflow model serving. +

                                                  op

                                                  TensorflowServingOperator instance.

                                                  returns

                                                  ModelServingState State of model serving

                                                  Definition Classes
                                                  TensorflowServingRunner → BaseRunner
                                                  +
                                                13. + + +

                                                  + + final + def + + + isInstanceOf[T0]: Boolean + +

                                                  + + Permalink + + +
                                                  Definition Classes
                                                  Any
                                                  +
                                                14. + + +

                                                  + + + val + + + logger: Logger + +

                                                  + + Permalink + + +
                                                  Attributes
                                                  protected
                                                  Definition Classes
                                                  Logging
                                                  +
                                                15. + + +

                                                  + + final + def + + + ne(arg0: AnyRef): Boolean + +

                                                  + + Permalink + + +
                                                  Definition Classes
                                                  AnyRef
                                                  +
                                                16. + + +

                                                  + + final + def + + + notify(): Unit + +

                                                  + + Permalink + + +
                                                  Definition Classes
                                                  AnyRef
                                                  +
                                                17. + + +

                                                  + + final + def + + + notifyAll(): Unit + +

                                                  + + Permalink + + +
                                                  Definition Classes
                                                  AnyRef
                                                  +
                                                18. + + +

                                                  + + + def + + + run(a: Any): ModelServingState + +

                                                  + + Permalink + + +

                                                  Start the runner for tensorflow model serving.

                                                  Start the runner for tensorflow model serving. +

                                                  returns

                                                  ModelServingState State of model serving

                                                  Definition Classes
                                                  TensorflowServingRunner → BaseRunner
                                                  +
                                                19. + + +

                                                  + + + def + + + stop: Unit + +

                                                  + + Permalink + + +

                                                  Stop the runner.

                                                  Stop the runner. +

                                                  Definition Classes
                                                  TensorflowServingRunner → BaseRunner
                                                  +
                                                20. + + +

                                                  + + final + def + + + synchronized[T0](arg0: ⇒ T0): T0 + +

                                                  + + Permalink + + +
                                                  Definition Classes
                                                  AnyRef
                                                  +
                                                21. + + +

                                                  + + + def + + + toString(): String + +

                                                  + + Permalink + + +
                                                  Definition Classes
                                                  AnyRef → Any
                                                  +
                                                22. + + +

                                                  + + final + def + + + wait(): Unit + +

                                                  + + Permalink + + +
                                                  Definition Classes
                                                  AnyRef
                                                  Annotations
                                                  + @throws( + + ... + ) + +
                                                  +
                                                23. + + +

                                                  + + final + def + + + wait(arg0: Long, arg1: Int): Unit + +

                                                  + + Permalink + + +
                                                  Definition Classes
                                                  AnyRef
                                                  Annotations
                                                  + @throws( + + ... + ) + +
                                                  +
                                                24. + + +

                                                  + + final + def + + + wait(arg0: Long): Unit + +

                                                  + + Permalink + + +
                                                  Definition Classes
                                                  AnyRef
                                                  Annotations
                                                  + @throws( + + ... + ) + +
                                                  +
                                                +
                                                + + + + +
                                                + +
                                                +
                                                +

                                                Inherited from BaseRunner[ModelSession, OnDemandRunnerInfo, ModelServingState]

                                                +
                                                +

                                                Inherited from BaseDoer

                                                +
                                                +

                                                Inherited from Logging

                                                +
                                                +

                                                Inherited from Serializable

                                                +
                                                +

                                                Inherited from Serializable

                                                +
                                                +

                                                Inherited from AnyRef

                                                +
                                                +

                                                Inherited from Any

                                                +
                                                + +
                                                + +
                                                +
                                                +

                                                Ungrouped

                                                + +
                                                +
                                                + +
                                                + +
                                                + + + + + + diff --git a/manual1903/api_reference/components/scaladocs/ksb/csle/component/runner/actor/MlKbServingActor.html b/manual1903/api_reference/components/scaladocs/ksb/csle/component/runner/actor/MlKbServingActor.html new file mode 100644 index 0000000000000000000000000000000000000000..2644ac869b77c1390d8d042ac671ac47b2ab9496 --- /dev/null +++ b/manual1903/api_reference/components/scaladocs/ksb/csle/component/runner/actor/MlKbServingActor.html @@ -0,0 +1,878 @@ + + + + MlKbServingActor - KSB COMPONENTS Scala App Project 1.0-SNAPSHOT API - ksb.csle.component.runner.actor.MlKbServingActor + + + + + + + + + + + + + + + +
                                                + Class +

                                                ksb.csle.component.runner.actor

                                                +

                                                MlKbServingActor

                                                Related Doc: + package actor +

                                                + + Permalink + + +
                                                + +

                                                + + + class + + + MlKbServingActor extends Actor with Logging + +

                                                + +
                                                + Linear Supertypes +
                                                Logging, Actor, AnyRef, Any
                                                +
                                                + + +
                                                +
                                                +
                                                + Ordering +
                                                  + +
                                                1. Alphabetic
                                                2. +
                                                3. By Inheritance
                                                4. +
                                                +
                                                +
                                                + Inherited
                                                +
                                                +
                                                  +
                                                1. MlKbServingActor
                                                2. Logging
                                                3. Actor
                                                4. AnyRef
                                                5. Any
                                                6. +
                                                +
                                                + +
                                                  +
                                                1. Hide All
                                                2. +
                                                3. Show All
                                                4. +
                                                +
                                                +
                                                + Visibility +
                                                1. Public
                                                2. All
                                                +
                                                +
                                                + +
                                                +
                                                +
                                                +

                                                Instance Constructors

                                                +
                                                1. + + +

                                                  + + + new + + + MlKbServingActor(rOps: ((Long) ⇒ Option[String], (Option[String]) ⇒ Option[KbeResponse])) + +

                                                  + + Permalink + + + +
                                                +
                                                + +
                                                +

                                                Type Members

                                                +
                                                1. + + +

                                                  + + + type + + + Receive = PartialFunction[Any, Unit] + +

                                                  + + Permalink + + +
                                                  Definition Classes
                                                  Actor
                                                  +
                                                +
                                                + + + +
                                                +

                                                Value Members

                                                +
                                                1. + + +

                                                  + + final + def + + + !=(arg0: Any): Boolean + +

                                                  + + Permalink + + +
                                                  Definition Classes
                                                  AnyRef → Any
                                                  +
                                                2. + + +

                                                  + + final + def + + + ##(): Int + +

                                                  + + Permalink + + +
                                                  Definition Classes
                                                  AnyRef → Any
                                                  +
                                                3. + + +

                                                  + + final + def + + + ==(arg0: Any): Boolean + +

                                                  + + Permalink + + +
                                                  Definition Classes
                                                  AnyRef → Any
                                                  +
                                                4. + + +

                                                  + + + def + + + actorRefFactory: ActorContext + +

                                                  + + Permalink + + + +
                                                5. + + +

                                                  + + + def + + + aroundPostRestart(reason: Throwable): Unit + +

                                                  + + Permalink + + +
                                                  Attributes
                                                  protected[akka]
                                                  Definition Classes
                                                  Actor
                                                  +
                                                6. + + +

                                                  + + + def + + + aroundPostStop(): Unit + +

                                                  + + Permalink + + +
                                                  Attributes
                                                  protected[akka]
                                                  Definition Classes
                                                  Actor
                                                  +
                                                7. + + +

                                                  + + + def + + + aroundPreRestart(reason: Throwable, message: Option[Any]): Unit + +

                                                  + + Permalink + + +
                                                  Attributes
                                                  protected[akka]
                                                  Definition Classes
                                                  Actor
                                                  +
                                                8. + + +

                                                  + + + def + + + aroundPreStart(): Unit + +

                                                  + + Permalink + + +
                                                  Attributes
                                                  protected[akka]
                                                  Definition Classes
                                                  Actor
                                                  +
                                                9. + + +

                                                  + + + def + + + aroundReceive(receive: akka.actor.Actor.Receive, msg: Any): Unit + +

                                                  + + Permalink + + +
                                                  Attributes
                                                  protected[akka]
                                                  Definition Classes
                                                  Actor
                                                  +
                                                10. + + +

                                                  + + final + def + + + asInstanceOf[T0]: T0 + +

                                                  + + Permalink + + +
                                                  Definition Classes
                                                  Any
                                                  +
                                                11. + + +

                                                  + + + def + + + clone(): AnyRef + +

                                                  + + Permalink + + +
                                                  Attributes
                                                  protected[java.lang]
                                                  Definition Classes
                                                  AnyRef
                                                  Annotations
                                                  + @throws( + + ... + ) + +
                                                  +
                                                12. + + +

                                                  + + implicit + val + + + context: ActorContext + +

                                                  + + Permalink + + +
                                                  Definition Classes
                                                  Actor
                                                  +
                                                13. + + +

                                                  + + final + def + + + eq(arg0: AnyRef): Boolean + +

                                                  + + Permalink + + +
                                                  Definition Classes
                                                  AnyRef
                                                  +
                                                14. + + +

                                                  + + + def + + + equals(arg0: Any): Boolean + +

                                                  + + Permalink + + +
                                                  Definition Classes
                                                  AnyRef → Any
                                                  +
                                                15. + + +

                                                  + + + def + + + finalize(): Unit + +

                                                  + + Permalink + + +
                                                  Attributes
                                                  protected[java.lang]
                                                  Definition Classes
                                                  AnyRef
                                                  Annotations
                                                  + @throws( + + classOf[java.lang.Throwable] + ) + +
                                                  +
                                                16. + + +

                                                  + + final + def + + + getClass(): Class[_] + +

                                                  + + Permalink + + +
                                                  Definition Classes
                                                  AnyRef → Any
                                                  +
                                                17. + + +

                                                  + + + def + + + hashCode(): Int + +

                                                  + + Permalink + + +
                                                  Definition Classes
                                                  AnyRef → Any
                                                  +
                                                18. + + +

                                                  + + final + def + + + isInstanceOf[T0]: Boolean + +

                                                  + + Permalink + + +
                                                  Definition Classes
                                                  Any
                                                  +
                                                19. + + +

                                                  + + + val + + + logger: Logger + +

                                                  + + Permalink + + +
                                                  Attributes
                                                  protected
                                                  Definition Classes
                                                  Logging
                                                  +
                                                20. + + +

                                                  + + final + def + + + ne(arg0: AnyRef): Boolean + +

                                                  + + Permalink + + +
                                                  Definition Classes
                                                  AnyRef
                                                  +
                                                21. + + +

                                                  + + final + def + + + notify(): Unit + +

                                                  + + Permalink + + +
                                                  Definition Classes
                                                  AnyRef
                                                  +
                                                22. + + +

                                                  + + final + def + + + notifyAll(): Unit + +

                                                  + + Permalink + + +
                                                  Definition Classes
                                                  AnyRef
                                                  +
                                                23. + + +

                                                  + + + def + + + postRestart(reason: Throwable): Unit + +

                                                  + + Permalink + + +
                                                  Definition Classes
                                                  Actor
                                                  Annotations
                                                  + @throws( + + classOf[java.lang.Exception] + ) + +
                                                  +
                                                24. + + +

                                                  + + + def + + + postStop(): Unit + +

                                                  + + Permalink + + +
                                                  Definition Classes
                                                  MlKbServingActor → Actor
                                                  +
                                                25. + + +

                                                  + + + def + + + preRestart(reason: Throwable, message: Option[Any]): Unit + +

                                                  + + Permalink + + +
                                                  Definition Classes
                                                  Actor
                                                  Annotations
                                                  + @throws( + + classOf[java.lang.Exception] + ) + +
                                                  +
                                                26. + + +

                                                  + + + def + + + preStart(): Unit + +

                                                  + + Permalink + + +
                                                  Definition Classes
                                                  MlKbServingActor → Actor
                                                  +
                                                27. + + +

                                                  + + + def + + + receive: akka.actor.Actor.Receive + +

                                                  + + Permalink + + +
                                                  Definition Classes
                                                  MlKbServingActor → Actor
                                                  +
                                                28. + + +

                                                  + + + val + + + route: Route + +

                                                  + + Permalink + + + +
                                                29. + + +

                                                  + + implicit final + val + + + self: ActorRef + +

                                                  + + Permalink + + +
                                                  Definition Classes
                                                  Actor
                                                  +
                                                30. + + +

                                                  + + final + def + + + sender(): ActorRef + +

                                                  + + Permalink + + +
                                                  Definition Classes
                                                  Actor
                                                  +
                                                31. + + +

                                                  + + + val + + + serviceStartTime: DateTime + +

                                                  + + Permalink + + + +
                                                32. + + +

                                                  + + + def + + + supervisorStrategy: SupervisorStrategy + +

                                                  + + Permalink + + +
                                                  Definition Classes
                                                  Actor
                                                  +
                                                33. + + +

                                                  + + final + def + + + synchronized[T0](arg0: ⇒ T0): T0 + +

                                                  + + Permalink + + +
                                                  Definition Classes
                                                  AnyRef
                                                  +
                                                34. + + +

                                                  + + implicit + val + + + timeout: Timeout + +

                                                  + + Permalink + + + +
                                                35. + + +

                                                  + + + def + + + toString(): String + +

                                                  + + Permalink + + +
                                                  Definition Classes
                                                  AnyRef → Any
                                                  +
                                                36. + + +

                                                  + + + def + + + unhandled(message: Any): Unit + +

                                                  + + Permalink + + +
                                                  Definition Classes
                                                  Actor
                                                  +
                                                37. + + +

                                                  + + final + def + + + wait(): Unit + +

                                                  + + Permalink + + +
                                                  Definition Classes
                                                  AnyRef
                                                  Annotations
                                                  + @throws( + + ... + ) + +
                                                  +
                                                38. + + +

                                                  + + final + def + + + wait(arg0: Long, arg1: Int): Unit + +

                                                  + + Permalink + + +
                                                  Definition Classes
                                                  AnyRef
                                                  Annotations
                                                  + @throws( + + ... + ) + +
                                                  +
                                                39. + + +

                                                  + + final + def + + + wait(arg0: Long): Unit + +

                                                  + + Permalink + + +
                                                  Definition Classes
                                                  AnyRef
                                                  Annotations
                                                  + @throws( + + ... + ) + +
                                                  +
                                                +
                                                + + + + +
                                                + +
                                                +
                                                +

                                                Inherited from Logging

                                                +
                                                +

                                                Inherited from Actor

                                                +
                                                +

                                                Inherited from AnyRef

                                                +
                                                +

                                                Inherited from Any

                                                +
                                                + +
                                                + +
                                                +
                                                +

                                                Ungrouped

                                                + +
                                                +
                                                + +
                                                + +
                                                + + + + + + diff --git a/manual1903/api_reference/components/scaladocs/ksb/csle/component/runner/actor/ServingActor.html b/manual1903/api_reference/components/scaladocs/ksb/csle/component/runner/actor/ServingActor.html new file mode 100644 index 0000000000000000000000000000000000000000..a625daa2fbb0c99d733ad68fe5a574cd16d34aa0 --- /dev/null +++ b/manual1903/api_reference/components/scaladocs/ksb/csle/component/runner/actor/ServingActor.html @@ -0,0 +1,878 @@ + + + + ServingActor - KSB COMPONENTS Scala App Project 1.0-SNAPSHOT API - ksb.csle.component.runner.actor.ServingActor + + + + + + + + + + + + + + + +
                                                + Class +

                                                ksb.csle.component.runner.actor

                                                +

                                                ServingActor

                                                Related Doc: + package actor +

                                                + + Permalink + + +
                                                + +

                                                + + + class + + + ServingActor extends Actor with Logging + +

                                                + +
                                                + Linear Supertypes +
                                                Logging, Actor, AnyRef, Any
                                                +
                                                + + +
                                                +
                                                +
                                                + Ordering +
                                                  + +
                                                1. Alphabetic
                                                2. +
                                                3. By Inheritance
                                                4. +
                                                +
                                                +
                                                + Inherited
                                                +
                                                +
                                                  +
                                                1. ServingActor
                                                2. Logging
                                                3. Actor
                                                4. AnyRef
                                                5. Any
                                                6. +
                                                +
                                                + +
                                                  +
                                                1. Hide All
                                                2. +
                                                3. Show All
                                                4. +
                                                +
                                                +
                                                + Visibility +
                                                1. Public
                                                2. All
                                                +
                                                +
                                                + +
                                                +
                                                +
                                                +

                                                Instance Constructors

                                                +
                                                1. + + +

                                                  + + + new + + + ServingActor(readers: Iterable[(Long) ⇒ Option[String]]) + +

                                                  + + Permalink + + + +
                                                +
                                                + +
                                                +

                                                Type Members

                                                +
                                                1. + + +

                                                  + + + type + + + Receive = PartialFunction[Any, Unit] + +

                                                  + + Permalink + + +
                                                  Definition Classes
                                                  Actor
                                                  +
                                                +
                                                + + + +
                                                +

                                                Value Members

                                                +
                                                1. + + +

                                                  + + final + def + + + !=(arg0: Any): Boolean + +

                                                  + + Permalink + + +
                                                  Definition Classes
                                                  AnyRef → Any
                                                  +
                                                2. + + +

                                                  + + final + def + + + ##(): Int + +

                                                  + + Permalink + + +
                                                  Definition Classes
                                                  AnyRef → Any
                                                  +
                                                3. + + +

                                                  + + final + def + + + ==(arg0: Any): Boolean + +

                                                  + + Permalink + + +
                                                  Definition Classes
                                                  AnyRef → Any
                                                  +
                                                4. + + +

                                                  + + + def + + + actorRefFactory: ActorContext + +

                                                  + + Permalink + + + +
                                                5. + + +

                                                  + + + def + + + aroundPostRestart(reason: Throwable): Unit + +

                                                  + + Permalink + + +
                                                  Attributes
                                                  protected[akka]
                                                  Definition Classes
                                                  Actor
                                                  +
                                                6. + + +

                                                  + + + def + + + aroundPostStop(): Unit + +

                                                  + + Permalink + + +
                                                  Attributes
                                                  protected[akka]
                                                  Definition Classes
                                                  Actor
                                                  +
                                                7. + + +

                                                  + + + def + + + aroundPreRestart(reason: Throwable, message: Option[Any]): Unit + +

                                                  + + Permalink + + +
                                                  Attributes
                                                  protected[akka]
                                                  Definition Classes
                                                  Actor
                                                  +
                                                8. + + +

                                                  + + + def + + + aroundPreStart(): Unit + +

                                                  + + Permalink + + +
                                                  Attributes
                                                  protected[akka]
                                                  Definition Classes
                                                  Actor
                                                  +
                                                9. + + +

                                                  + + + def + + + aroundReceive(receive: akka.actor.Actor.Receive, msg: Any): Unit + +

                                                  + + Permalink + + +
                                                  Attributes
                                                  protected[akka]
                                                  Definition Classes
                                                  Actor
                                                  +
                                                10. + + +

                                                  + + final + def + + + asInstanceOf[T0]: T0 + +

                                                  + + Permalink + + +
                                                  Definition Classes
                                                  Any
                                                  +
                                                11. + + +

                                                  + + + def + + + clone(): AnyRef + +

                                                  + + Permalink + + +
                                                  Attributes
                                                  protected[java.lang]
                                                  Definition Classes
                                                  AnyRef
                                                  Annotations
                                                  + @throws( + + ... + ) + +
                                                  +
                                                12. + + +

                                                  + + implicit + val + + + context: ActorContext + +

                                                  + + Permalink + + +
                                                  Definition Classes
                                                  Actor
                                                  +
                                                13. + + +

                                                  + + final + def + + + eq(arg0: AnyRef): Boolean + +

                                                  + + Permalink + + +
                                                  Definition Classes
                                                  AnyRef
                                                  +
                                                14. + + +

                                                  + + + def + + + equals(arg0: Any): Boolean + +

                                                  + + Permalink + + +
                                                  Definition Classes
                                                  AnyRef → Any
                                                  +
                                                15. + + +

                                                  + + + def + + + finalize(): Unit + +

                                                  + + Permalink + + +
                                                  Attributes
                                                  protected[java.lang]
                                                  Definition Classes
                                                  AnyRef
                                                  Annotations
                                                  + @throws( + + classOf[java.lang.Throwable] + ) + +
                                                  +
                                                16. + + +

                                                  + + final + def + + + getClass(): Class[_] + +

                                                  + + Permalink + + +
                                                  Definition Classes
                                                  AnyRef → Any
                                                  +
                                                17. + + +

                                                  + + + def + + + hashCode(): Int + +

                                                  + + Permalink + + +
                                                  Definition Classes
                                                  AnyRef → Any
                                                  +
                                                18. + + +

                                                  + + final + def + + + isInstanceOf[T0]: Boolean + +

                                                  + + Permalink + + +
                                                  Definition Classes
                                                  Any
                                                  +
                                                19. + + +

                                                  + + + val + + + logger: Logger + +

                                                  + + Permalink + + +
                                                  Attributes
                                                  protected
                                                  Definition Classes
                                                  Logging
                                                  +
                                                20. + + +

                                                  + + final + def + + + ne(arg0: AnyRef): Boolean + +

                                                  + + Permalink + + +
                                                  Definition Classes
                                                  AnyRef
                                                  +
                                                21. + + +

                                                  + + final + def + + + notify(): Unit + +

                                                  + + Permalink + + +
                                                  Definition Classes
                                                  AnyRef
                                                  +
                                                22. + + +

                                                  + + final + def + + + notifyAll(): Unit + +

                                                  + + Permalink + + +
                                                  Definition Classes
                                                  AnyRef
                                                  +
                                                23. + + +

                                                  + + + def + + + postRestart(reason: Throwable): Unit + +

                                                  + + Permalink + + +
                                                  Definition Classes
                                                  Actor
                                                  Annotations
                                                  + @throws( + + classOf[java.lang.Exception] + ) + +
                                                  +
                                                24. + + +

                                                  + + + def + + + postStop(): Unit + +

                                                  + + Permalink + + +
                                                  Definition Classes
                                                  ServingActor → Actor
                                                  +
                                                25. + + +

                                                  + + + def + + + preRestart(reason: Throwable, message: Option[Any]): Unit + +

                                                  + + Permalink + + +
                                                  Definition Classes
                                                  Actor
                                                  Annotations
                                                  + @throws( + + classOf[java.lang.Exception] + ) + +
                                                  +
                                                26. + + +

                                                  + + + def + + + preStart(): Unit + +

                                                  + + Permalink + + +
                                                  Definition Classes
                                                  ServingActor → Actor
                                                  +
                                                27. + + +

                                                  + + + def + + + receive: akka.actor.Actor.Receive + +

                                                  + + Permalink + + +
                                                  Definition Classes
                                                  ServingActor → Actor
                                                  +
                                                28. + + +

                                                  + + + val + + + route: Route + +

                                                  + + Permalink + + + +
                                                29. + + +

                                                  + + implicit final + val + + + self: ActorRef + +

                                                  + + Permalink + + +
                                                  Definition Classes
                                                  Actor
                                                  +
                                                30. + + +

                                                  + + final + def + + + sender(): ActorRef + +

                                                  + + Permalink + + +
                                                  Definition Classes
                                                  Actor
                                                  +
                                                31. + + +

                                                  + + + val + + + serviceStartTime: DateTime + +

                                                  + + Permalink + + + +
                                                32. + + +

                                                  + + + def + + + supervisorStrategy: SupervisorStrategy + +

                                                  + + Permalink + + +
                                                  Definition Classes
                                                  Actor
                                                  +
                                                33. + + +

                                                  + + final + def + + + synchronized[T0](arg0: ⇒ T0): T0 + +

                                                  + + Permalink + + +
                                                  Definition Classes
                                                  AnyRef
                                                  +
                                                34. + + +

                                                  + + implicit + val + + + timeout: Timeout + +

                                                  + + Permalink + + + +
                                                35. + + +

                                                  + + + def + + + toString(): String + +

                                                  + + Permalink + + +
                                                  Definition Classes
                                                  AnyRef → Any
                                                  +
                                                36. + + +

                                                  + + + def + + + unhandled(message: Any): Unit + +

                                                  + + Permalink + + +
                                                  Definition Classes
                                                  Actor
                                                  +
                                                37. + + +

                                                  + + final + def + + + wait(): Unit + +

                                                  + + Permalink + + +
                                                  Definition Classes
                                                  AnyRef
                                                  Annotations
                                                  + @throws( + + ... + ) + +
                                                  +
                                                38. + + +

                                                  + + final + def + + + wait(arg0: Long, arg1: Int): Unit + +

                                                  + + Permalink + + +
                                                  Definition Classes
                                                  AnyRef
                                                  Annotations
                                                  + @throws( + + ... + ) + +
                                                  +
                                                39. + + +

                                                  + + final + def + + + wait(arg0: Long): Unit + +

                                                  + + Permalink + + +
                                                  Definition Classes
                                                  AnyRef
                                                  Annotations
                                                  + @throws( + + ... + ) + +
                                                  +
                                                +
                                                + + + + +
                                                + +
                                                +
                                                +

                                                Inherited from Logging

                                                +
                                                +

                                                Inherited from Actor

                                                +
                                                +

                                                Inherited from AnyRef

                                                +
                                                +

                                                Inherited from Any

                                                +
                                                + +
                                                + +
                                                +
                                                +

                                                Ungrouped

                                                + +
                                                +
                                                + +
                                                + +
                                                + + + + + + diff --git a/manual1903/api_reference/components/scaladocs/ksb/csle/component/runner/actor/package$$ControlContext.html b/manual1903/api_reference/components/scaladocs/ksb/csle/component/runner/actor/package$$ControlContext.html new file mode 100644 index 0000000000000000000000000000000000000000..2f609fb089264c17210e77729aec77bd5c86845a --- /dev/null +++ b/manual1903/api_reference/components/scaladocs/ksb/csle/component/runner/actor/package$$ControlContext.html @@ -0,0 +1,493 @@ + + + + ControlContext - KSB COMPONENTS Scala App Project 1.0-SNAPSHOT API - ksb.csle.component.runner.actor.ControlContext + + + + + + + + + + + + + + + +
                                                + Class +

                                                ksb.csle.component.runner.actor

                                                +

                                                ControlContext

                                                Related Doc: + package actor +

                                                + + Permalink + + +
                                                + +

                                                + + + case class + + + ControlContext(dateTime: DateTime, params: Map[String, String]) extends Product with Serializable + +

                                                + +
                                                + Linear Supertypes +
                                                Serializable, Serializable, Product, Equals, AnyRef, Any
                                                +
                                                + + +
                                                +
                                                +
                                                + Ordering +
                                                  + +
                                                1. Alphabetic
                                                2. +
                                                3. By Inheritance
                                                4. +
                                                +
                                                +
                                                + Inherited
                                                +
                                                +
                                                  +
                                                1. ControlContext
                                                2. Serializable
                                                3. Serializable
                                                4. Product
                                                5. Equals
                                                6. AnyRef
                                                7. Any
                                                8. +
                                                +
                                                + +
                                                  +
                                                1. Hide All
                                                2. +
                                                3. Show All
                                                4. +
                                                +
                                                +
                                                + Visibility +
                                                1. Public
                                                2. All
                                                +
                                                +
                                                + +
                                                +
                                                +
                                                +

                                                Instance Constructors

                                                +
                                                1. + + +

                                                  + + + new + + + ControlContext(dateTime: DateTime, params: Map[String, String]) + +

                                                  + + Permalink + + + +
                                                +
                                                + + + + + +
                                                +

                                                Value Members

                                                +
                                                1. + + +

                                                  + + final + def + + + !=(arg0: Any): Boolean + +

                                                  + + Permalink + + +
                                                  Definition Classes
                                                  AnyRef → Any
                                                  +
                                                2. + + +

                                                  + + final + def + + + ##(): Int + +

                                                  + + Permalink + + +
                                                  Definition Classes
                                                  AnyRef → Any
                                                  +
                                                3. + + +

                                                  + + final + def + + + ==(arg0: Any): Boolean + +

                                                  + + Permalink + + +
                                                  Definition Classes
                                                  AnyRef → Any
                                                  +
                                                4. + + +

                                                  + + final + def + + + asInstanceOf[T0]: T0 + +

                                                  + + Permalink + + +
                                                  Definition Classes
                                                  Any
                                                  +
                                                5. + + +

                                                  + + + def + + + clone(): AnyRef + +

                                                  + + Permalink + + +
                                                  Attributes
                                                  protected[java.lang]
                                                  Definition Classes
                                                  AnyRef
                                                  Annotations
                                                  + @throws( + + ... + ) + +
                                                  +
                                                6. + + +

                                                  + + + val + + + dateTime: DateTime + +

                                                  + + Permalink + + + +
                                                7. + + +

                                                  + + final + def + + + eq(arg0: AnyRef): Boolean + +

                                                  + + Permalink + + +
                                                  Definition Classes
                                                  AnyRef
                                                  +
                                                8. + + +

                                                  + + + def + + + finalize(): Unit + +

                                                  + + Permalink + + +
                                                  Attributes
                                                  protected[java.lang]
                                                  Definition Classes
                                                  AnyRef
                                                  Annotations
                                                  + @throws( + + classOf[java.lang.Throwable] + ) + +
                                                  +
                                                9. + + +

                                                  + + final + def + + + getClass(): Class[_] + +

                                                  + + Permalink + + +
                                                  Definition Classes
                                                  AnyRef → Any
                                                  +
                                                10. + + +

                                                  + + final + def + + + isInstanceOf[T0]: Boolean + +

                                                  + + Permalink + + +
                                                  Definition Classes
                                                  Any
                                                  +
                                                11. + + +

                                                  + + final + def + + + ne(arg0: AnyRef): Boolean + +

                                                  + + Permalink + + +
                                                  Definition Classes
                                                  AnyRef
                                                  +
                                                12. + + +

                                                  + + final + def + + + notify(): Unit + +

                                                  + + Permalink + + +
                                                  Definition Classes
                                                  AnyRef
                                                  +
                                                13. + + +

                                                  + + final + def + + + notifyAll(): Unit + +

                                                  + + Permalink + + +
                                                  Definition Classes
                                                  AnyRef
                                                  +
                                                14. + + +

                                                  + + + val + + + params: Map[String, String] + +

                                                  + + Permalink + + + +
                                                15. + + +

                                                  + + final + def + + + synchronized[T0](arg0: ⇒ T0): T0 + +

                                                  + + Permalink + + +
                                                  Definition Classes
                                                  AnyRef
                                                  +
                                                16. + + +

                                                  + + final + def + + + wait(): Unit + +

                                                  + + Permalink + + +
                                                  Definition Classes
                                                  AnyRef
                                                  Annotations
                                                  + @throws( + + ... + ) + +
                                                  +
                                                17. + + +

                                                  + + final + def + + + wait(arg0: Long, arg1: Int): Unit + +

                                                  + + Permalink + + +
                                                  Definition Classes
                                                  AnyRef
                                                  Annotations
                                                  + @throws( + + ... + ) + +
                                                  +
                                                18. + + +

                                                  + + final + def + + + wait(arg0: Long): Unit + +

                                                  + + Permalink + + +
                                                  Definition Classes
                                                  AnyRef
                                                  Annotations
                                                  + @throws( + + ... + ) + +
                                                  +
                                                +
                                                + + + + +
                                                + +
                                                +
                                                +

                                                Inherited from Serializable

                                                +
                                                +

                                                Inherited from Serializable

                                                +
                                                +

                                                Inherited from Product

                                                +
                                                +

                                                Inherited from Equals

                                                +
                                                +

                                                Inherited from AnyRef

                                                +
                                                +

                                                Inherited from Any

                                                +
                                                + +
                                                + +
                                                +
                                                +

                                                Ungrouped

                                                + +
                                                +
                                                + +
                                                + +
                                                + + + + + + diff --git a/manual1903/api_reference/components/scaladocs/ksb/csle/component/runner/actor/package$$ControlContextProtocol$$AnyJsonFormat$.html b/manual1903/api_reference/components/scaladocs/ksb/csle/component/runner/actor/package$$ControlContextProtocol$$AnyJsonFormat$.html new file mode 100644 index 0000000000000000000000000000000000000000..ada4b2ba76ba73891424b9a226efda68b42fd4bf --- /dev/null +++ b/manual1903/api_reference/components/scaladocs/ksb/csle/component/runner/actor/package$$ControlContextProtocol$$AnyJsonFormat$.html @@ -0,0 +1,522 @@ + + + + AnyJsonFormat - KSB COMPONENTS Scala App Project 1.0-SNAPSHOT API - ksb.csle.component.runner.actor.ControlContextProtocol.AnyJsonFormat + + + + + + + + + + + + + + + + + +

                                                + + implicit + object + + + AnyJsonFormat extends JsonFormat[Any] + +

                                                + +
                                                + Linear Supertypes +
                                                JsonFormat[Any], JsonWriter[Any], JsonReader[Any], AnyRef, Any
                                                +
                                                + + +
                                                +
                                                +
                                                + Ordering +
                                                  + +
                                                1. Alphabetic
                                                2. +
                                                3. By Inheritance
                                                4. +
                                                +
                                                +
                                                + Inherited
                                                +
                                                +
                                                  +
                                                1. AnyJsonFormat
                                                2. JsonFormat
                                                3. JsonWriter
                                                4. JsonReader
                                                5. AnyRef
                                                6. Any
                                                7. +
                                                +
                                                + +
                                                  +
                                                1. Hide All
                                                2. +
                                                3. Show All
                                                4. +
                                                +
                                                +
                                                + Visibility +
                                                1. Public
                                                2. All
                                                +
                                                +
                                                + +
                                                +
                                                + + + + + + +
                                                +

                                                Value Members

                                                +
                                                1. + + +

                                                  + + final + def + + + !=(arg0: Any): Boolean + +

                                                  + + Permalink + + +
                                                  Definition Classes
                                                  AnyRef → Any
                                                  +
                                                2. + + +

                                                  + + final + def + + + ##(): Int + +

                                                  + + Permalink + + +
                                                  Definition Classes
                                                  AnyRef → Any
                                                  +
                                                3. + + +

                                                  + + final + def + + + ==(arg0: Any): Boolean + +

                                                  + + Permalink + + +
                                                  Definition Classes
                                                  AnyRef → Any
                                                  +
                                                4. + + +

                                                  + + final + def + + + asInstanceOf[T0]: T0 + +

                                                  + + Permalink + + +
                                                  Definition Classes
                                                  Any
                                                  +
                                                5. + + +

                                                  + + + def + + + clone(): AnyRef + +

                                                  + + Permalink + + +
                                                  Attributes
                                                  protected[java.lang]
                                                  Definition Classes
                                                  AnyRef
                                                  Annotations
                                                  + @throws( + + ... + ) + +
                                                  +
                                                6. + + +

                                                  + + final + def + + + eq(arg0: AnyRef): Boolean + +

                                                  + + Permalink + + +
                                                  Definition Classes
                                                  AnyRef
                                                  +
                                                7. + + +

                                                  + + + def + + + equals(arg0: Any): Boolean + +

                                                  + + Permalink + + +
                                                  Definition Classes
                                                  AnyRef → Any
                                                  +
                                                8. + + +

                                                  + + + def + + + finalize(): Unit + +

                                                  + + Permalink + + +
                                                  Attributes
                                                  protected[java.lang]
                                                  Definition Classes
                                                  AnyRef
                                                  Annotations
                                                  + @throws( + + classOf[java.lang.Throwable] + ) + +
                                                  +
                                                9. + + +

                                                  + + final + def + + + getClass(): Class[_] + +

                                                  + + Permalink + + +
                                                  Definition Classes
                                                  AnyRef → Any
                                                  +
                                                10. + + +

                                                  + + + def + + + hashCode(): Int + +

                                                  + + Permalink + + +
                                                  Definition Classes
                                                  AnyRef → Any
                                                  +
                                                11. + + +

                                                  + + final + def + + + isInstanceOf[T0]: Boolean + +

                                                  + + Permalink + + +
                                                  Definition Classes
                                                  Any
                                                  +
                                                12. + + +

                                                  + + final + def + + + ne(arg0: AnyRef): Boolean + +

                                                  + + Permalink + + +
                                                  Definition Classes
                                                  AnyRef
                                                  +
                                                13. + + +

                                                  + + final + def + + + notify(): Unit + +

                                                  + + Permalink + + +
                                                  Definition Classes
                                                  AnyRef
                                                  +
                                                14. + + +

                                                  + + final + def + + + notifyAll(): Unit + +

                                                  + + Permalink + + +
                                                  Definition Classes
                                                  AnyRef
                                                  +
                                                15. + + +

                                                  + + + def + + + read(value: JsValue): Any + +

                                                  + + Permalink + + +
                                                  Definition Classes
                                                  AnyJsonFormat → JsonReader
                                                  +
                                                16. + + +

                                                  + + final + def + + + synchronized[T0](arg0: ⇒ T0): T0 + +

                                                  + + Permalink + + +
                                                  Definition Classes
                                                  AnyRef
                                                  +
                                                17. + + +

                                                  + + + def + + + toString(): String + +

                                                  + + Permalink + + +
                                                  Definition Classes
                                                  AnyRef → Any
                                                  +
                                                18. + + +

                                                  + + final + def + + + wait(): Unit + +

                                                  + + Permalink + + +
                                                  Definition Classes
                                                  AnyRef
                                                  Annotations
                                                  + @throws( + + ... + ) + +
                                                  +
                                                19. + + +

                                                  + + final + def + + + wait(arg0: Long, arg1: Int): Unit + +

                                                  + + Permalink + + +
                                                  Definition Classes
                                                  AnyRef
                                                  Annotations
                                                  + @throws( + + ... + ) + +
                                                  +
                                                20. + + +

                                                  + + final + def + + + wait(arg0: Long): Unit + +

                                                  + + Permalink + + +
                                                  Definition Classes
                                                  AnyRef
                                                  Annotations
                                                  + @throws( + + ... + ) + +
                                                  +
                                                21. + + +

                                                  + + + def + + + write(x: Any): JsValue + +

                                                  + + Permalink + + +
                                                  Definition Classes
                                                  AnyJsonFormat → JsonWriter
                                                  +
                                                +
                                                + + + + +
                                                + +
                                                +
                                                +

                                                Inherited from JsonFormat[Any]

                                                +
                                                +

                                                Inherited from JsonWriter[Any]

                                                +
                                                +

                                                Inherited from JsonReader[Any]

                                                +
                                                +

                                                Inherited from AnyRef

                                                +
                                                +

                                                Inherited from Any

                                                +
                                                + +
                                                + +
                                                +
                                                +

                                                Ungrouped

                                                + +
                                                +
                                                + +
                                                + +
                                                + + + + + + diff --git a/manual1903/api_reference/components/scaladocs/ksb/csle/component/runner/actor/package$$ControlContextProtocol$$DateTimeFormat$.html b/manual1903/api_reference/components/scaladocs/ksb/csle/component/runner/actor/package$$ControlContextProtocol$$DateTimeFormat$.html new file mode 100644 index 0000000000000000000000000000000000000000..b65c9dbb9a74ba745cb3a0ed3cdec99b4270c9dc --- /dev/null +++ b/manual1903/api_reference/components/scaladocs/ksb/csle/component/runner/actor/package$$ControlContextProtocol$$DateTimeFormat$.html @@ -0,0 +1,545 @@ + + + + DateTimeFormat - KSB COMPONENTS Scala App Project 1.0-SNAPSHOT API - ksb.csle.component.runner.actor.ControlContextProtocol.DateTimeFormat + + + + + + + + + + + + + + + + + +

                                                + + implicit + object + + + DateTimeFormat extends RootJsonFormat[DateTime] + +

                                                + +
                                                + Linear Supertypes +
                                                RootJsonFormat[DateTime], RootJsonWriter[DateTime], RootJsonReader[DateTime], JsonFormat[DateTime], JsonWriter[DateTime], JsonReader[DateTime], AnyRef, Any
                                                +
                                                + + +
                                                +
                                                +
                                                + Ordering +
                                                  + +
                                                1. Alphabetic
                                                2. +
                                                3. By Inheritance
                                                4. +
                                                +
                                                +
                                                + Inherited
                                                +
                                                +
                                                  +
                                                1. DateTimeFormat
                                                2. RootJsonFormat
                                                3. RootJsonWriter
                                                4. RootJsonReader
                                                5. JsonFormat
                                                6. JsonWriter
                                                7. JsonReader
                                                8. AnyRef
                                                9. Any
                                                10. +
                                                +
                                                + +
                                                  +
                                                1. Hide All
                                                2. +
                                                3. Show All
                                                4. +
                                                +
                                                +
                                                + Visibility +
                                                1. Public
                                                2. All
                                                +
                                                +
                                                + +
                                                +
                                                + + + + + + +
                                                +

                                                Value Members

                                                +
                                                1. + + +

                                                  + + final + def + + + !=(arg0: Any): Boolean + +

                                                  + + Permalink + + +
                                                  Definition Classes
                                                  AnyRef → Any
                                                  +
                                                2. + + +

                                                  + + final + def + + + ##(): Int + +

                                                  + + Permalink + + +
                                                  Definition Classes
                                                  AnyRef → Any
                                                  +
                                                3. + + +

                                                  + + final + def + + + ==(arg0: Any): Boolean + +

                                                  + + Permalink + + +
                                                  Definition Classes
                                                  AnyRef → Any
                                                  +
                                                4. + + +

                                                  + + final + def + + + asInstanceOf[T0]: T0 + +

                                                  + + Permalink + + +
                                                  Definition Classes
                                                  Any
                                                  +
                                                5. + + +

                                                  + + + def + + + clone(): AnyRef + +

                                                  + + Permalink + + +
                                                  Attributes
                                                  protected[java.lang]
                                                  Definition Classes
                                                  AnyRef
                                                  Annotations
                                                  + @throws( + + ... + ) + +
                                                  +
                                                6. + + +

                                                  + + final + def + + + eq(arg0: AnyRef): Boolean + +

                                                  + + Permalink + + +
                                                  Definition Classes
                                                  AnyRef
                                                  +
                                                7. + + +

                                                  + + + def + + + equals(arg0: Any): Boolean + +

                                                  + + Permalink + + +
                                                  Definition Classes
                                                  AnyRef → Any
                                                  +
                                                8. + + +

                                                  + + + def + + + finalize(): Unit + +

                                                  + + Permalink + + +
                                                  Attributes
                                                  protected[java.lang]
                                                  Definition Classes
                                                  AnyRef
                                                  Annotations
                                                  + @throws( + + classOf[java.lang.Throwable] + ) + +
                                                  +
                                                9. + + +

                                                  + + + val + + + formatter: DateTimeFormatter + +

                                                  + + Permalink + + + +
                                                10. + + +

                                                  + + final + def + + + getClass(): Class[_] + +

                                                  + + Permalink + + +
                                                  Definition Classes
                                                  AnyRef → Any
                                                  +
                                                11. + + +

                                                  + + + def + + + hashCode(): Int + +

                                                  + + Permalink + + +
                                                  Definition Classes
                                                  AnyRef → Any
                                                  +
                                                12. + + +

                                                  + + final + def + + + isInstanceOf[T0]: Boolean + +

                                                  + + Permalink + + +
                                                  Definition Classes
                                                  Any
                                                  +
                                                13. + + +

                                                  + + final + def + + + ne(arg0: AnyRef): Boolean + +

                                                  + + Permalink + + +
                                                  Definition Classes
                                                  AnyRef
                                                  +
                                                14. + + +

                                                  + + final + def + + + notify(): Unit + +

                                                  + + Permalink + + +
                                                  Definition Classes
                                                  AnyRef
                                                  +
                                                15. + + +

                                                  + + final + def + + + notifyAll(): Unit + +

                                                  + + Permalink + + +
                                                  Definition Classes
                                                  AnyRef
                                                  +
                                                16. + + +

                                                  + + + def + + + read(json: JsValue): DateTime + +

                                                  + + Permalink + + +
                                                  Definition Classes
                                                  DateTimeFormat → JsonReader
                                                  +
                                                17. + + +

                                                  + + final + def + + + synchronized[T0](arg0: ⇒ T0): T0 + +

                                                  + + Permalink + + +
                                                  Definition Classes
                                                  AnyRef
                                                  +
                                                18. + + +

                                                  + + + def + + + toString(): String + +

                                                  + + Permalink + + +
                                                  Definition Classes
                                                  AnyRef → Any
                                                  +
                                                19. + + +

                                                  + + final + def + + + wait(): Unit + +

                                                  + + Permalink + + +
                                                  Definition Classes
                                                  AnyRef
                                                  Annotations
                                                  + @throws( + + ... + ) + +
                                                  +
                                                20. + + +

                                                  + + final + def + + + wait(arg0: Long, arg1: Int): Unit + +

                                                  + + Permalink + + +
                                                  Definition Classes
                                                  AnyRef
                                                  Annotations
                                                  + @throws( + + ... + ) + +
                                                  +
                                                21. + + +

                                                  + + final + def + + + wait(arg0: Long): Unit + +

                                                  + + Permalink + + +
                                                  Definition Classes
                                                  AnyRef
                                                  Annotations
                                                  + @throws( + + ... + ) + +
                                                  +
                                                22. + + +

                                                  + + + def + + + write(jodaTime: DateTime): JsValue + +

                                                  + + Permalink + + +
                                                  Definition Classes
                                                  DateTimeFormat → JsonWriter
                                                  +
                                                +
                                                + + + + +
                                                + +
                                                +
                                                +

                                                Inherited from RootJsonFormat[DateTime]

                                                +
                                                +

                                                Inherited from RootJsonWriter[DateTime]

                                                +
                                                +

                                                Inherited from RootJsonReader[DateTime]

                                                +
                                                +

                                                Inherited from JsonFormat[DateTime]

                                                +
                                                +

                                                Inherited from JsonWriter[DateTime]

                                                +
                                                +

                                                Inherited from JsonReader[DateTime]

                                                +
                                                +

                                                Inherited from AnyRef

                                                +
                                                +

                                                Inherited from Any

                                                +
                                                + +
                                                + +
                                                +
                                                +

                                                Ungrouped

                                                + +
                                                +
                                                + +
                                                + +
                                                + + + + + + diff --git a/manual1903/api_reference/components/scaladocs/ksb/csle/component/runner/actor/package$$ControlContextProtocol$.html b/manual1903/api_reference/components/scaladocs/ksb/csle/component/runner/actor/package$$ControlContextProtocol$.html new file mode 100644 index 0000000000000000000000000000000000000000..ab7023098bd3c2062b1790d8908a902255fcb3d3 --- /dev/null +++ b/manual1903/api_reference/components/scaladocs/ksb/csle/component/runner/actor/package$$ControlContextProtocol$.html @@ -0,0 +1,2216 @@ + + + + ControlContextProtocol - KSB COMPONENTS Scala App Project 1.0-SNAPSHOT API - ksb.csle.component.runner.actor.ControlContextProtocol + + + + + + + + + + + + + + + +
                                                + Object +

                                                ksb.csle.component.runner.actor

                                                +

                                                ControlContextProtocol

                                                Related Doc: + package actor +

                                                + + Permalink + + +
                                                + +

                                                + + + object + + + ControlContextProtocol extends DefaultJsonProtocol + +

                                                + +
                                                + Linear Supertypes +
                                                DefaultJsonProtocol, AdditionalFormats, ProductFormats, ProductFormatsInstances, CollectionFormats, StandardFormats, BasicFormats, AnyRef, Any
                                                +
                                                + + +
                                                +
                                                +
                                                + Ordering +
                                                  + +
                                                1. Alphabetic
                                                2. +
                                                3. By Inheritance
                                                4. +
                                                +
                                                +
                                                + Inherited
                                                +
                                                +
                                                  +
                                                1. ControlContextProtocol
                                                2. DefaultJsonProtocol
                                                3. AdditionalFormats
                                                4. ProductFormats
                                                5. ProductFormatsInstances
                                                6. CollectionFormats
                                                7. StandardFormats
                                                8. BasicFormats
                                                9. AnyRef
                                                10. Any
                                                11. +
                                                +
                                                + +
                                                  +
                                                1. Hide All
                                                2. +
                                                3. Show All
                                                4. +
                                                +
                                                +
                                                + Visibility +
                                                1. Public
                                                2. All
                                                +
                                                +
                                                + +
                                                +
                                                + + +
                                                +

                                                Type Members

                                                +
                                                1. + + +

                                                  + + + class + + + OptionFormat[T] extends (StandardFormats.this)#JF[Option[T]] + +

                                                  + + Permalink + + +
                                                  Definition Classes
                                                  StandardFormats
                                                  +
                                                +
                                                + + + +
                                                +

                                                Value Members

                                                +
                                                1. + + +

                                                  + + final + def + + + !=(arg0: Any): Boolean + +

                                                  + + Permalink + + +
                                                  Definition Classes
                                                  AnyRef → Any
                                                  +
                                                2. + + +

                                                  + + final + def + + + ##(): Int + +

                                                  + + Permalink + + +
                                                  Definition Classes
                                                  AnyRef → Any
                                                  +
                                                3. + + +

                                                  + + final + def + + + ==(arg0: Any): Boolean + +

                                                  + + Permalink + + +
                                                  Definition Classes
                                                  AnyRef → Any
                                                  +
                                                4. + + +

                                                  + + implicit + object + + + AnyJsonFormat extends JsonFormat[Any] + +

                                                  + + Permalink + + + +
                                                5. + + +

                                                  + + implicit + object + + + BigDecimalJsonFormat extends JsonFormat[BigDecimal] + +

                                                  + + Permalink + + +
                                                  Definition Classes
                                                  BasicFormats
                                                  +
                                                6. + + +

                                                  + + implicit + object + + + BigIntJsonFormat extends JsonFormat[BigInt] + +

                                                  + + Permalink + + +
                                                  Definition Classes
                                                  BasicFormats
                                                  +
                                                7. + + +

                                                  + + implicit + object + + + BooleanJsonFormat extends JsonFormat[Boolean] + +

                                                  + + Permalink + + +
                                                  Definition Classes
                                                  BasicFormats
                                                  +
                                                8. + + +

                                                  + + implicit + object + + + ByteJsonFormat extends JsonFormat[Byte] + +

                                                  + + Permalink + + +
                                                  Definition Classes
                                                  BasicFormats
                                                  +
                                                9. + + +

                                                  + + implicit + object + + + CharJsonFormat extends JsonFormat[Char] + +

                                                  + + Permalink + + +
                                                  Definition Classes
                                                  BasicFormats
                                                  +
                                                10. + + +

                                                  + + implicit + object + + + DateTimeFormat extends RootJsonFormat[DateTime] + +

                                                  + + Permalink + + + +
                                                11. + + +

                                                  + + implicit + object + + + DoubleJsonFormat extends JsonFormat[Double] + +

                                                  + + Permalink + + +
                                                  Definition Classes
                                                  BasicFormats
                                                  +
                                                12. + + +

                                                  + + implicit + object + + + FloatJsonFormat extends JsonFormat[Float] + +

                                                  + + Permalink + + +
                                                  Definition Classes
                                                  BasicFormats
                                                  +
                                                13. + + +

                                                  + + implicit + object + + + IntJsonFormat extends JsonFormat[Int] + +

                                                  + + Permalink + + +
                                                  Definition Classes
                                                  BasicFormats
                                                  +
                                                14. + + +

                                                  + + implicit + object + + + JsValueFormat extends JsonFormat[JsValue] + +

                                                  + + Permalink + + +
                                                  Definition Classes
                                                  AdditionalFormats
                                                  +
                                                15. + + +

                                                  + + implicit + object + + + LongJsonFormat extends JsonFormat[Long] + +

                                                  + + Permalink + + +
                                                  Definition Classes
                                                  BasicFormats
                                                  +
                                                16. + + +

                                                  + + implicit + object + + + RootJsArrayFormat extends RootJsonFormat[JsArray] + +

                                                  + + Permalink + + +
                                                  Definition Classes
                                                  AdditionalFormats
                                                  +
                                                17. + + +

                                                  + + implicit + object + + + RootJsObjectFormat extends RootJsonFormat[JsObject] + +

                                                  + + Permalink + + +
                                                  Definition Classes
                                                  AdditionalFormats
                                                  +
                                                18. + + +

                                                  + + implicit + object + + + ShortJsonFormat extends JsonFormat[Short] + +

                                                  + + Permalink + + +
                                                  Definition Classes
                                                  BasicFormats
                                                  +
                                                19. + + +

                                                  + + implicit + object + + + StringJsonFormat extends JsonFormat[String] + +

                                                  + + Permalink + + +
                                                  Definition Classes
                                                  BasicFormats
                                                  +
                                                20. + + +

                                                  + + implicit + object + + + SymbolJsonFormat extends JsonFormat[Symbol] + +

                                                  + + Permalink + + +
                                                  Definition Classes
                                                  BasicFormats
                                                  +
                                                21. + + +

                                                  + + implicit + object + + + UnitJsonFormat extends JsonFormat[Unit] + +

                                                  + + Permalink + + +
                                                  Definition Classes
                                                  BasicFormats
                                                  +
                                                22. + + +

                                                  + + implicit + def + + + arrayFormat[T](implicit arg0: JsonFormat[T], arg1: ClassManifest[T]): RootJsonFormat[Array[T]] { def write(array: Array[T]): spray.json.JsArray } + +

                                                  + + Permalink + + +
                                                  Definition Classes
                                                  CollectionFormats
                                                  +
                                                23. + + +

                                                  + + final + def + + + asInstanceOf[T0]: T0 + +

                                                  + + Permalink + + +
                                                  Definition Classes
                                                  Any
                                                  +
                                                24. + + +

                                                  + + + def + + + clone(): AnyRef + +

                                                  + + Permalink + + +
                                                  Attributes
                                                  protected[java.lang]
                                                  Definition Classes
                                                  AnyRef
                                                  Annotations
                                                  + @throws( + + ... + ) + +
                                                  +
                                                25. + + +

                                                  + + implicit + val + + + controlContextFormat: RootJsonFormat[ControlContext] + +

                                                  + + Permalink + + + +
                                                26. + + +

                                                  + + implicit + def + + + eitherFormat[A, B](implicit arg0: JF[A], arg1: JF[B]): JF[Either[A, B]] + +

                                                  + + Permalink + + +
                                                  Definition Classes
                                                  StandardFormats
                                                  +
                                                27. + + +

                                                  + + final + def + + + eq(arg0: AnyRef): Boolean + +

                                                  + + Permalink + + +
                                                  Definition Classes
                                                  AnyRef
                                                  +
                                                28. + + +

                                                  + + + def + + + equals(arg0: Any): Boolean + +

                                                  + + Permalink + + +
                                                  Definition Classes
                                                  AnyRef → Any
                                                  +
                                                29. + + +

                                                  + + + def + + + extractFieldNames(classManifest: ClassManifest[_]): Array[String] + +

                                                  + + Permalink + + +
                                                  Attributes
                                                  protected
                                                  Definition Classes
                                                  ProductFormats
                                                  +
                                                30. + + +

                                                  + + + def + + + finalize(): Unit + +

                                                  + + Permalink + + +
                                                  Attributes
                                                  protected[java.lang]
                                                  Definition Classes
                                                  AnyRef
                                                  Annotations
                                                  + @throws( + + classOf[java.lang.Throwable] + ) + +
                                                  +
                                                31. + + +

                                                  + + + def + + + fromField[T](value: JsValue, fieldName: String)(implicit reader: JsonReader[T]): T + +

                                                  + + Permalink + + +
                                                  Attributes
                                                  protected
                                                  Definition Classes
                                                  ProductFormats
                                                  +
                                                32. + + +

                                                  + + final + def + + + getClass(): Class[_] + +

                                                  + + Permalink + + +
                                                  Definition Classes
                                                  AnyRef → Any
                                                  +
                                                33. + + +

                                                  + + + def + + + hashCode(): Int + +

                                                  + + Permalink + + +
                                                  Definition Classes
                                                  AnyRef → Any
                                                  +
                                                34. + + +

                                                  + + implicit + def + + + immIndexedSeqFormat[T](implicit arg0: JsonFormat[T]): RootJsonFormat[IndexedSeq[T]] + +

                                                  + + Permalink + + +
                                                  Definition Classes
                                                  CollectionFormats
                                                  +
                                                35. + + +

                                                  + + implicit + def + + + immIterableFormat[T](implicit arg0: JsonFormat[T]): RootJsonFormat[Iterable[T]] + +

                                                  + + Permalink + + +
                                                  Definition Classes
                                                  CollectionFormats
                                                  +
                                                36. + + +

                                                  + + implicit + def + + + immLinearSeqFormat[T](implicit arg0: JsonFormat[T]): RootJsonFormat[LinearSeq[T]] + +

                                                  + + Permalink + + +
                                                  Definition Classes
                                                  CollectionFormats
                                                  +
                                                37. + + +

                                                  + + implicit + def + + + immSeqFormat[T](implicit arg0: JsonFormat[T]): RootJsonFormat[Seq[T]] + +

                                                  + + Permalink + + +
                                                  Definition Classes
                                                  CollectionFormats
                                                  +
                                                38. + + +

                                                  + + implicit + def + + + immSetFormat[T](implicit arg0: JsonFormat[T]): RootJsonFormat[Set[T]] + +

                                                  + + Permalink + + +
                                                  Definition Classes
                                                  CollectionFormats
                                                  +
                                                39. + + +

                                                  + + implicit + def + + + indexedSeqFormat[T](implicit arg0: JsonFormat[T]): RootJsonFormat[IndexedSeq[T]] + +

                                                  + + Permalink + + +
                                                  Definition Classes
                                                  CollectionFormats
                                                  +
                                                40. + + +

                                                  + + final + def + + + isInstanceOf[T0]: Boolean + +

                                                  + + Permalink + + +
                                                  Definition Classes
                                                  Any
                                                  +
                                                41. + + +

                                                  + + implicit + def + + + iterableFormat[T](implicit arg0: JsonFormat[T]): RootJsonFormat[Iterable[T]] + +

                                                  + + Permalink + + +
                                                  Definition Classes
                                                  CollectionFormats
                                                  +
                                                42. + + +

                                                  + + + def + + + jsonFormat[T](reader: JsonReader[T], writer: JsonWriter[T]): JsonFormat[T] + +

                                                  + + Permalink + + +
                                                  Definition Classes
                                                  AdditionalFormats
                                                  +
                                                43. + + +

                                                  + + + def + + + jsonFormat[P1, P2, P3, P4, P5, P6, P7, P8, P9, P10, P11, P12, P13, P14, P15, P16, P17, P18, P19, P20, P21, P22, T <: Product](construct: (P1, P2, P3, P4, P5, P6, P7, P8, P9, P10, P11, P12, P13, P14, P15, P16, P17, P18, P19, P20, P21, P22) ⇒ T, fieldName1: String, fieldName2: String, fieldName3: String, fieldName4: String, fieldName5: String, fieldName6: String, fieldName7: String, fieldName8: String, fieldName9: String, fieldName10: String, fieldName11: String, fieldName12: String, fieldName13: String, fieldName14: String, fieldName15: String, fieldName16: String, fieldName17: String, fieldName18: String, fieldName19: String, fieldName20: String, fieldName21: String, fieldName22: String)(implicit arg0: JF[P1], arg1: JF[P2], arg2: JF[P3], arg3: JF[P4], arg4: JF[P5], arg5: JF[P6], arg6: JF[P7], arg7: JF[P8], arg8: JF[P9], arg9: JF[P10], arg10: JF[P11], arg11: JF[P12], arg12: JF[P13], arg13: JF[P14], arg14: JF[P15], arg15: JF[P16], arg16: JF[P17], arg17: JF[P18], arg18: JF[P19], arg19: JF[P20], arg20: JF[P21], arg21: JF[P22]): RootJsonFormat[T] + +

                                                  + + Permalink + + +
                                                  Definition Classes
                                                  ProductFormatsInstances
                                                  +
                                                44. + + +

                                                  + + + def + + + jsonFormat[P1, P2, P3, P4, P5, P6, P7, P8, P9, P10, P11, P12, P13, P14, P15, P16, P17, P18, P19, P20, P21, T <: Product](construct: (P1, P2, P3, P4, P5, P6, P7, P8, P9, P10, P11, P12, P13, P14, P15, P16, P17, P18, P19, P20, P21) ⇒ T, fieldName1: String, fieldName2: String, fieldName3: String, fieldName4: String, fieldName5: String, fieldName6: String, fieldName7: String, fieldName8: String, fieldName9: String, fieldName10: String, fieldName11: String, fieldName12: String, fieldName13: String, fieldName14: String, fieldName15: String, fieldName16: String, fieldName17: String, fieldName18: String, fieldName19: String, fieldName20: String, fieldName21: String)(implicit arg0: JF[P1], arg1: JF[P2], arg2: JF[P3], arg3: JF[P4], arg4: JF[P5], arg5: JF[P6], arg6: JF[P7], arg7: JF[P8], arg8: JF[P9], arg9: JF[P10], arg10: JF[P11], arg11: JF[P12], arg12: JF[P13], arg13: JF[P14], arg14: JF[P15], arg15: JF[P16], arg16: JF[P17], arg17: JF[P18], arg18: JF[P19], arg19: JF[P20], arg20: JF[P21]): RootJsonFormat[T] + +

                                                  + + Permalink + + +
                                                  Definition Classes
                                                  ProductFormatsInstances
                                                  +
                                                45. + + +

                                                  + + + def + + + jsonFormat[P1, P2, P3, P4, P5, P6, P7, P8, P9, P10, P11, P12, P13, P14, P15, P16, P17, P18, P19, P20, T <: Product](construct: (P1, P2, P3, P4, P5, P6, P7, P8, P9, P10, P11, P12, P13, P14, P15, P16, P17, P18, P19, P20) ⇒ T, fieldName1: String, fieldName2: String, fieldName3: String, fieldName4: String, fieldName5: String, fieldName6: String, fieldName7: String, fieldName8: String, fieldName9: String, fieldName10: String, fieldName11: String, fieldName12: String, fieldName13: String, fieldName14: String, fieldName15: String, fieldName16: String, fieldName17: String, fieldName18: String, fieldName19: String, fieldName20: String)(implicit arg0: JF[P1], arg1: JF[P2], arg2: JF[P3], arg3: JF[P4], arg4: JF[P5], arg5: JF[P6], arg6: JF[P7], arg7: JF[P8], arg8: JF[P9], arg9: JF[P10], arg10: JF[P11], arg11: JF[P12], arg12: JF[P13], arg13: JF[P14], arg14: JF[P15], arg15: JF[P16], arg16: JF[P17], arg17: JF[P18], arg18: JF[P19], arg19: JF[P20]): RootJsonFormat[T] + +

                                                  + + Permalink + + +
                                                  Definition Classes
                                                  ProductFormatsInstances
                                                  +
                                                46. + + +

                                                  + + + def + + + jsonFormat[P1, P2, P3, P4, P5, P6, P7, P8, P9, P10, P11, P12, P13, P14, P15, P16, P17, P18, P19, T <: Product](construct: (P1, P2, P3, P4, P5, P6, P7, P8, P9, P10, P11, P12, P13, P14, P15, P16, P17, P18, P19) ⇒ T, fieldName1: String, fieldName2: String, fieldName3: String, fieldName4: String, fieldName5: String, fieldName6: String, fieldName7: String, fieldName8: String, fieldName9: String, fieldName10: String, fieldName11: String, fieldName12: String, fieldName13: String, fieldName14: String, fieldName15: String, fieldName16: String, fieldName17: String, fieldName18: String, fieldName19: String)(implicit arg0: JF[P1], arg1: JF[P2], arg2: JF[P3], arg3: JF[P4], arg4: JF[P5], arg5: JF[P6], arg6: JF[P7], arg7: JF[P8], arg8: JF[P9], arg9: JF[P10], arg10: JF[P11], arg11: JF[P12], arg12: JF[P13], arg13: JF[P14], arg14: JF[P15], arg15: JF[P16], arg16: JF[P17], arg17: JF[P18], arg18: JF[P19]): RootJsonFormat[T] + +

                                                  + + Permalink + + +
                                                  Definition Classes
                                                  ProductFormatsInstances
                                                  +
                                                47. + + +

                                                  + + + def + + + jsonFormat[P1, P2, P3, P4, P5, P6, P7, P8, P9, P10, P11, P12, P13, P14, P15, P16, P17, P18, T <: Product](construct: (P1, P2, P3, P4, P5, P6, P7, P8, P9, P10, P11, P12, P13, P14, P15, P16, P17, P18) ⇒ T, fieldName1: String, fieldName2: String, fieldName3: String, fieldName4: String, fieldName5: String, fieldName6: String, fieldName7: String, fieldName8: String, fieldName9: String, fieldName10: String, fieldName11: String, fieldName12: String, fieldName13: String, fieldName14: String, fieldName15: String, fieldName16: String, fieldName17: String, fieldName18: String)(implicit arg0: JF[P1], arg1: JF[P2], arg2: JF[P3], arg3: JF[P4], arg4: JF[P5], arg5: JF[P6], arg6: JF[P7], arg7: JF[P8], arg8: JF[P9], arg9: JF[P10], arg10: JF[P11], arg11: JF[P12], arg12: JF[P13], arg13: JF[P14], arg14: JF[P15], arg15: JF[P16], arg16: JF[P17], arg17: JF[P18]): RootJsonFormat[T] + +

                                                  + + Permalink + + +
                                                  Definition Classes
                                                  ProductFormatsInstances
                                                  +
                                                48. + + +

                                                  + + + def + + + jsonFormat[P1, P2, P3, P4, P5, P6, P7, P8, P9, P10, P11, P12, P13, P14, P15, P16, P17, T <: Product](construct: (P1, P2, P3, P4, P5, P6, P7, P8, P9, P10, P11, P12, P13, P14, P15, P16, P17) ⇒ T, fieldName1: String, fieldName2: String, fieldName3: String, fieldName4: String, fieldName5: String, fieldName6: String, fieldName7: String, fieldName8: String, fieldName9: String, fieldName10: String, fieldName11: String, fieldName12: String, fieldName13: String, fieldName14: String, fieldName15: String, fieldName16: String, fieldName17: String)(implicit arg0: JF[P1], arg1: JF[P2], arg2: JF[P3], arg3: JF[P4], arg4: JF[P5], arg5: JF[P6], arg6: JF[P7], arg7: JF[P8], arg8: JF[P9], arg9: JF[P10], arg10: JF[P11], arg11: JF[P12], arg12: JF[P13], arg13: JF[P14], arg14: JF[P15], arg15: JF[P16], arg16: JF[P17]): RootJsonFormat[T] + +

                                                  + + Permalink + + +
                                                  Definition Classes
                                                  ProductFormatsInstances
                                                  +
                                                49. + + +

                                                  + + + def + + + jsonFormat[P1, P2, P3, P4, P5, P6, P7, P8, P9, P10, P11, P12, P13, P14, P15, P16, T <: Product](construct: (P1, P2, P3, P4, P5, P6, P7, P8, P9, P10, P11, P12, P13, P14, P15, P16) ⇒ T, fieldName1: String, fieldName2: String, fieldName3: String, fieldName4: String, fieldName5: String, fieldName6: String, fieldName7: String, fieldName8: String, fieldName9: String, fieldName10: String, fieldName11: String, fieldName12: String, fieldName13: String, fieldName14: String, fieldName15: String, fieldName16: String)(implicit arg0: JF[P1], arg1: JF[P2], arg2: JF[P3], arg3: JF[P4], arg4: JF[P5], arg5: JF[P6], arg6: JF[P7], arg7: JF[P8], arg8: JF[P9], arg9: JF[P10], arg10: JF[P11], arg11: JF[P12], arg12: JF[P13], arg13: JF[P14], arg14: JF[P15], arg15: JF[P16]): RootJsonFormat[T] + +

                                                  + + Permalink + + +
                                                  Definition Classes
                                                  ProductFormatsInstances
                                                  +
                                                50. + + +

                                                  + + + def + + + jsonFormat[P1, P2, P3, P4, P5, P6, P7, P8, P9, P10, P11, P12, P13, P14, P15, T <: Product](construct: (P1, P2, P3, P4, P5, P6, P7, P8, P9, P10, P11, P12, P13, P14, P15) ⇒ T, fieldName1: String, fieldName2: String, fieldName3: String, fieldName4: String, fieldName5: String, fieldName6: String, fieldName7: String, fieldName8: String, fieldName9: String, fieldName10: String, fieldName11: String, fieldName12: String, fieldName13: String, fieldName14: String, fieldName15: String)(implicit arg0: JF[P1], arg1: JF[P2], arg2: JF[P3], arg3: JF[P4], arg4: JF[P5], arg5: JF[P6], arg6: JF[P7], arg7: JF[P8], arg8: JF[P9], arg9: JF[P10], arg10: JF[P11], arg11: JF[P12], arg12: JF[P13], arg13: JF[P14], arg14: JF[P15]): RootJsonFormat[T] + +

                                                  + + Permalink + + +
                                                  Definition Classes
                                                  ProductFormatsInstances
                                                  +
                                                51. + + +

                                                  + + + def + + + jsonFormat[P1, P2, P3, P4, P5, P6, P7, P8, P9, P10, P11, P12, P13, P14, T <: Product](construct: (P1, P2, P3, P4, P5, P6, P7, P8, P9, P10, P11, P12, P13, P14) ⇒ T, fieldName1: String, fieldName2: String, fieldName3: String, fieldName4: String, fieldName5: String, fieldName6: String, fieldName7: String, fieldName8: String, fieldName9: String, fieldName10: String, fieldName11: String, fieldName12: String, fieldName13: String, fieldName14: String)(implicit arg0: JF[P1], arg1: JF[P2], arg2: JF[P3], arg3: JF[P4], arg4: JF[P5], arg5: JF[P6], arg6: JF[P7], arg7: JF[P8], arg8: JF[P9], arg9: JF[P10], arg10: JF[P11], arg11: JF[P12], arg12: JF[P13], arg13: JF[P14]): RootJsonFormat[T] + +

                                                  + + Permalink + + +
                                                  Definition Classes
                                                  ProductFormatsInstances
                                                  +
                                                52. + + +

                                                  + + + def + + + jsonFormat[P1, P2, P3, P4, P5, P6, P7, P8, P9, P10, P11, P12, P13, T <: Product](construct: (P1, P2, P3, P4, P5, P6, P7, P8, P9, P10, P11, P12, P13) ⇒ T, fieldName1: String, fieldName2: String, fieldName3: String, fieldName4: String, fieldName5: String, fieldName6: String, fieldName7: String, fieldName8: String, fieldName9: String, fieldName10: String, fieldName11: String, fieldName12: String, fieldName13: String)(implicit arg0: JF[P1], arg1: JF[P2], arg2: JF[P3], arg3: JF[P4], arg4: JF[P5], arg5: JF[P6], arg6: JF[P7], arg7: JF[P8], arg8: JF[P9], arg9: JF[P10], arg10: JF[P11], arg11: JF[P12], arg12: JF[P13]): RootJsonFormat[T] + +

                                                  + + Permalink + + +
                                                  Definition Classes
                                                  ProductFormatsInstances
                                                  +
                                                53. + + +

                                                  + + + def + + + jsonFormat[P1, P2, P3, P4, P5, P6, P7, P8, P9, P10, P11, P12, T <: Product](construct: (P1, P2, P3, P4, P5, P6, P7, P8, P9, P10, P11, P12) ⇒ T, fieldName1: String, fieldName2: String, fieldName3: String, fieldName4: String, fieldName5: String, fieldName6: String, fieldName7: String, fieldName8: String, fieldName9: String, fieldName10: String, fieldName11: String, fieldName12: String)(implicit arg0: JF[P1], arg1: JF[P2], arg2: JF[P3], arg3: JF[P4], arg4: JF[P5], arg5: JF[P6], arg6: JF[P7], arg7: JF[P8], arg8: JF[P9], arg9: JF[P10], arg10: JF[P11], arg11: JF[P12]): RootJsonFormat[T] + +

                                                  + + Permalink + + +
                                                  Definition Classes
                                                  ProductFormatsInstances
                                                  +
                                                54. + + +

                                                  + + + def + + + jsonFormat[P1, P2, P3, P4, P5, P6, P7, P8, P9, P10, P11, T <: Product](construct: (P1, P2, P3, P4, P5, P6, P7, P8, P9, P10, P11) ⇒ T, fieldName1: String, fieldName2: String, fieldName3: String, fieldName4: String, fieldName5: String, fieldName6: String, fieldName7: String, fieldName8: String, fieldName9: String, fieldName10: String, fieldName11: String)(implicit arg0: JF[P1], arg1: JF[P2], arg2: JF[P3], arg3: JF[P4], arg4: JF[P5], arg5: JF[P6], arg6: JF[P7], arg7: JF[P8], arg8: JF[P9], arg9: JF[P10], arg10: JF[P11]): RootJsonFormat[T] + +

                                                  + + Permalink + + +
                                                  Definition Classes
                                                  ProductFormatsInstances
                                                  +
                                                55. + + +

                                                  + + + def + + + jsonFormat[P1, P2, P3, P4, P5, P6, P7, P8, P9, P10, T <: Product](construct: (P1, P2, P3, P4, P5, P6, P7, P8, P9, P10) ⇒ T, fieldName1: String, fieldName2: String, fieldName3: String, fieldName4: String, fieldName5: String, fieldName6: String, fieldName7: String, fieldName8: String, fieldName9: String, fieldName10: String)(implicit arg0: JF[P1], arg1: JF[P2], arg2: JF[P3], arg3: JF[P4], arg4: JF[P5], arg5: JF[P6], arg6: JF[P7], arg7: JF[P8], arg8: JF[P9], arg9: JF[P10]): RootJsonFormat[T] + +

                                                  + + Permalink + + +
                                                  Definition Classes
                                                  ProductFormatsInstances
                                                  +
                                                56. + + +

                                                  + + + def + + + jsonFormat[P1, P2, P3, P4, P5, P6, P7, P8, P9, T <: Product](construct: (P1, P2, P3, P4, P5, P6, P7, P8, P9) ⇒ T, fieldName1: String, fieldName2: String, fieldName3: String, fieldName4: String, fieldName5: String, fieldName6: String, fieldName7: String, fieldName8: String, fieldName9: String)(implicit arg0: JF[P1], arg1: JF[P2], arg2: JF[P3], arg3: JF[P4], arg4: JF[P5], arg5: JF[P6], arg6: JF[P7], arg7: JF[P8], arg8: JF[P9]): RootJsonFormat[T] + +

                                                  + + Permalink + + +
                                                  Definition Classes
                                                  ProductFormatsInstances
                                                  +
                                                57. + + +

                                                  + + + def + + + jsonFormat[P1, P2, P3, P4, P5, P6, P7, P8, T <: Product](construct: (P1, P2, P3, P4, P5, P6, P7, P8) ⇒ T, fieldName1: String, fieldName2: String, fieldName3: String, fieldName4: String, fieldName5: String, fieldName6: String, fieldName7: String, fieldName8: String)(implicit arg0: JF[P1], arg1: JF[P2], arg2: JF[P3], arg3: JF[P4], arg4: JF[P5], arg5: JF[P6], arg6: JF[P7], arg7: JF[P8]): RootJsonFormat[T] + +

                                                  + + Permalink + + +
                                                  Definition Classes
                                                  ProductFormatsInstances
                                                  +
                                                58. + + +

                                                  + + + def + + + jsonFormat[P1, P2, P3, P4, P5, P6, P7, T <: Product](construct: (P1, P2, P3, P4, P5, P6, P7) ⇒ T, fieldName1: String, fieldName2: String, fieldName3: String, fieldName4: String, fieldName5: String, fieldName6: String, fieldName7: String)(implicit arg0: JF[P1], arg1: JF[P2], arg2: JF[P3], arg3: JF[P4], arg4: JF[P5], arg5: JF[P6], arg6: JF[P7]): RootJsonFormat[T] + +

                                                  + + Permalink + + +
                                                  Definition Classes
                                                  ProductFormatsInstances
                                                  +
                                                59. + + +

                                                  + + + def + + + jsonFormat[P1, P2, P3, P4, P5, P6, T <: Product](construct: (P1, P2, P3, P4, P5, P6) ⇒ T, fieldName1: String, fieldName2: String, fieldName3: String, fieldName4: String, fieldName5: String, fieldName6: String)(implicit arg0: JF[P1], arg1: JF[P2], arg2: JF[P3], arg3: JF[P4], arg4: JF[P5], arg5: JF[P6]): RootJsonFormat[T] + +

                                                  + + Permalink + + +
                                                  Definition Classes
                                                  ProductFormatsInstances
                                                  +
                                                60. + + +

                                                  + + + def + + + jsonFormat[P1, P2, P3, P4, P5, T <: Product](construct: (P1, P2, P3, P4, P5) ⇒ T, fieldName1: String, fieldName2: String, fieldName3: String, fieldName4: String, fieldName5: String)(implicit arg0: JF[P1], arg1: JF[P2], arg2: JF[P3], arg3: JF[P4], arg4: JF[P5]): RootJsonFormat[T] + +

                                                  + + Permalink + + +
                                                  Definition Classes
                                                  ProductFormatsInstances
                                                  +
                                                61. + + +

                                                  + + + def + + + jsonFormat[P1, P2, P3, P4, T <: Product](construct: (P1, P2, P3, P4) ⇒ T, fieldName1: String, fieldName2: String, fieldName3: String, fieldName4: String)(implicit arg0: JF[P1], arg1: JF[P2], arg2: JF[P3], arg3: JF[P4]): RootJsonFormat[T] + +

                                                  + + Permalink + + +
                                                  Definition Classes
                                                  ProductFormatsInstances
                                                  +
                                                62. + + +

                                                  + + + def + + + jsonFormat[P1, P2, P3, T <: Product](construct: (P1, P2, P3) ⇒ T, fieldName1: String, fieldName2: String, fieldName3: String)(implicit arg0: JF[P1], arg1: JF[P2], arg2: JF[P3]): RootJsonFormat[T] + +

                                                  + + Permalink + + +
                                                  Definition Classes
                                                  ProductFormatsInstances
                                                  +
                                                63. + + +

                                                  + + + def + + + jsonFormat[P1, P2, T <: Product](construct: (P1, P2) ⇒ T, fieldName1: String, fieldName2: String)(implicit arg0: JF[P1], arg1: JF[P2]): RootJsonFormat[T] + +

                                                  + + Permalink + + +
                                                  Definition Classes
                                                  ProductFormatsInstances
                                                  +
                                                64. + + +

                                                  + + + def + + + jsonFormat[P1, T <: Product](construct: (P1) ⇒ T, fieldName1: String)(implicit arg0: JF[P1]): RootJsonFormat[T] + +

                                                  + + Permalink + + +
                                                  Definition Classes
                                                  ProductFormatsInstances
                                                  +
                                                65. + + +

                                                  + + + def + + + jsonFormat0[T](construct: () ⇒ T): RootJsonFormat[T] + +

                                                  + + Permalink + + +
                                                  Definition Classes
                                                  ProductFormats
                                                  +
                                                66. + + +

                                                  + + + def + + + jsonFormat1[P1, T <: Product](construct: (P1) ⇒ T)(implicit arg0: JF[P1], arg1: ClassManifest[T]): RootJsonFormat[T] + +

                                                  + + Permalink + + +
                                                  Definition Classes
                                                  ProductFormatsInstances
                                                  +
                                                67. + + +

                                                  + + + def + + + jsonFormat10[P1, P2, P3, P4, P5, P6, P7, P8, P9, P10, T <: Product](construct: (P1, P2, P3, P4, P5, P6, P7, P8, P9, P10) ⇒ T)(implicit arg0: JF[P1], arg1: JF[P2], arg2: JF[P3], arg3: JF[P4], arg4: JF[P5], arg5: JF[P6], arg6: JF[P7], arg7: JF[P8], arg8: JF[P9], arg9: JF[P10], arg10: ClassManifest[T]): RootJsonFormat[T] + +

                                                  + + Permalink + + +
                                                  Definition Classes
                                                  ProductFormatsInstances
                                                  +
                                                68. + + +

                                                  + + + def + + + jsonFormat11[P1, P2, P3, P4, P5, P6, P7, P8, P9, P10, P11, T <: Product](construct: (P1, P2, P3, P4, P5, P6, P7, P8, P9, P10, P11) ⇒ T)(implicit arg0: JF[P1], arg1: JF[P2], arg2: JF[P3], arg3: JF[P4], arg4: JF[P5], arg5: JF[P6], arg6: JF[P7], arg7: JF[P8], arg8: JF[P9], arg9: JF[P10], arg10: JF[P11], arg11: ClassManifest[T]): RootJsonFormat[T] + +

                                                  + + Permalink + + +
                                                  Definition Classes
                                                  ProductFormatsInstances
                                                  +
                                                69. + + +

                                                  + + + def + + + jsonFormat12[P1, P2, P3, P4, P5, P6, P7, P8, P9, P10, P11, P12, T <: Product](construct: (P1, P2, P3, P4, P5, P6, P7, P8, P9, P10, P11, P12) ⇒ T)(implicit arg0: JF[P1], arg1: JF[P2], arg2: JF[P3], arg3: JF[P4], arg4: JF[P5], arg5: JF[P6], arg6: JF[P7], arg7: JF[P8], arg8: JF[P9], arg9: JF[P10], arg10: JF[P11], arg11: JF[P12], arg12: ClassManifest[T]): RootJsonFormat[T] + +

                                                  + + Permalink + + +
                                                  Definition Classes
                                                  ProductFormatsInstances
                                                  +
                                                70. + + +

                                                  + + + def + + + jsonFormat13[P1, P2, P3, P4, P5, P6, P7, P8, P9, P10, P11, P12, P13, T <: Product](construct: (P1, P2, P3, P4, P5, P6, P7, P8, P9, P10, P11, P12, P13) ⇒ T)(implicit arg0: JF[P1], arg1: JF[P2], arg2: JF[P3], arg3: JF[P4], arg4: JF[P5], arg5: JF[P6], arg6: JF[P7], arg7: JF[P8], arg8: JF[P9], arg9: JF[P10], arg10: JF[P11], arg11: JF[P12], arg12: JF[P13], arg13: ClassManifest[T]): RootJsonFormat[T] + +

                                                  + + Permalink + + +
                                                  Definition Classes
                                                  ProductFormatsInstances
                                                  +
                                                71. + + +

                                                  + + + def + + + jsonFormat14[P1, P2, P3, P4, P5, P6, P7, P8, P9, P10, P11, P12, P13, P14, T <: Product](construct: (P1, P2, P3, P4, P5, P6, P7, P8, P9, P10, P11, P12, P13, P14) ⇒ T)(implicit arg0: JF[P1], arg1: JF[P2], arg2: JF[P3], arg3: JF[P4], arg4: JF[P5], arg5: JF[P6], arg6: JF[P7], arg7: JF[P8], arg8: JF[P9], arg9: JF[P10], arg10: JF[P11], arg11: JF[P12], arg12: JF[P13], arg13: JF[P14], arg14: ClassManifest[T]): RootJsonFormat[T] + +

                                                  + + Permalink + + +
                                                  Definition Classes
                                                  ProductFormatsInstances
                                                  +
                                                72. + + +

                                                  + + + def + + + jsonFormat15[P1, P2, P3, P4, P5, P6, P7, P8, P9, P10, P11, P12, P13, P14, P15, T <: Product](construct: (P1, P2, P3, P4, P5, P6, P7, P8, P9, P10, P11, P12, P13, P14, P15) ⇒ T)(implicit arg0: JF[P1], arg1: JF[P2], arg2: JF[P3], arg3: JF[P4], arg4: JF[P5], arg5: JF[P6], arg6: JF[P7], arg7: JF[P8], arg8: JF[P9], arg9: JF[P10], arg10: JF[P11], arg11: JF[P12], arg12: JF[P13], arg13: JF[P14], arg14: JF[P15], arg15: ClassManifest[T]): RootJsonFormat[T] + +

                                                  + + Permalink + + +
                                                  Definition Classes
                                                  ProductFormatsInstances
                                                  +
                                                73. + + +

                                                  + + + def + + + jsonFormat16[P1, P2, P3, P4, P5, P6, P7, P8, P9, P10, P11, P12, P13, P14, P15, P16, T <: Product](construct: (P1, P2, P3, P4, P5, P6, P7, P8, P9, P10, P11, P12, P13, P14, P15, P16) ⇒ T)(implicit arg0: JF[P1], arg1: JF[P2], arg2: JF[P3], arg3: JF[P4], arg4: JF[P5], arg5: JF[P6], arg6: JF[P7], arg7: JF[P8], arg8: JF[P9], arg9: JF[P10], arg10: JF[P11], arg11: JF[P12], arg12: JF[P13], arg13: JF[P14], arg14: JF[P15], arg15: JF[P16], arg16: ClassManifest[T]): RootJsonFormat[T] + +

                                                  + + Permalink + + +
                                                  Definition Classes
                                                  ProductFormatsInstances
                                                  +
                                                74. + + +

                                                  + + + def + + + jsonFormat17[P1, P2, P3, P4, P5, P6, P7, P8, P9, P10, P11, P12, P13, P14, P15, P16, P17, T <: Product](construct: (P1, P2, P3, P4, P5, P6, P7, P8, P9, P10, P11, P12, P13, P14, P15, P16, P17) ⇒ T)(implicit arg0: JF[P1], arg1: JF[P2], arg2: JF[P3], arg3: JF[P4], arg4: JF[P5], arg5: JF[P6], arg6: JF[P7], arg7: JF[P8], arg8: JF[P9], arg9: JF[P10], arg10: JF[P11], arg11: JF[P12], arg12: JF[P13], arg13: JF[P14], arg14: JF[P15], arg15: JF[P16], arg16: JF[P17], arg17: ClassManifest[T]): RootJsonFormat[T] + +

                                                  + + Permalink + + +
                                                  Definition Classes
                                                  ProductFormatsInstances
                                                  +
                                                75. + + +

                                                  + + + def + + + jsonFormat18[P1, P2, P3, P4, P5, P6, P7, P8, P9, P10, P11, P12, P13, P14, P15, P16, P17, P18, T <: Product](construct: (P1, P2, P3, P4, P5, P6, P7, P8, P9, P10, P11, P12, P13, P14, P15, P16, P17, P18) ⇒ T)(implicit arg0: JF[P1], arg1: JF[P2], arg2: JF[P3], arg3: JF[P4], arg4: JF[P5], arg5: JF[P6], arg6: JF[P7], arg7: JF[P8], arg8: JF[P9], arg9: JF[P10], arg10: JF[P11], arg11: JF[P12], arg12: JF[P13], arg13: JF[P14], arg14: JF[P15], arg15: JF[P16], arg16: JF[P17], arg17: JF[P18], arg18: ClassManifest[T]): RootJsonFormat[T] + +

                                                  + + Permalink + + +
                                                  Definition Classes
                                                  ProductFormatsInstances
                                                  +
                                                76. + + +

                                                  + + + def + + + jsonFormat19[P1, P2, P3, P4, P5, P6, P7, P8, P9, P10, P11, P12, P13, P14, P15, P16, P17, P18, P19, T <: Product](construct: (P1, P2, P3, P4, P5, P6, P7, P8, P9, P10, P11, P12, P13, P14, P15, P16, P17, P18, P19) ⇒ T)(implicit arg0: JF[P1], arg1: JF[P2], arg2: JF[P3], arg3: JF[P4], arg4: JF[P5], arg5: JF[P6], arg6: JF[P7], arg7: JF[P8], arg8: JF[P9], arg9: JF[P10], arg10: JF[P11], arg11: JF[P12], arg12: JF[P13], arg13: JF[P14], arg14: JF[P15], arg15: JF[P16], arg16: JF[P17], arg17: JF[P18], arg18: JF[P19], arg19: ClassManifest[T]): RootJsonFormat[T] + +

                                                  + + Permalink + + +
                                                  Definition Classes
                                                  ProductFormatsInstances
                                                  +
                                                77. + + +

                                                  + + + def + + + jsonFormat2[P1, P2, T <: Product](construct: (P1, P2) ⇒ T)(implicit arg0: JF[P1], arg1: JF[P2], arg2: ClassManifest[T]): RootJsonFormat[T] + +

                                                  + + Permalink + + +
                                                  Definition Classes
                                                  ProductFormatsInstances
                                                  +
                                                78. + + +

                                                  + + + def + + + jsonFormat20[P1, P2, P3, P4, P5, P6, P7, P8, P9, P10, P11, P12, P13, P14, P15, P16, P17, P18, P19, P20, T <: Product](construct: (P1, P2, P3, P4, P5, P6, P7, P8, P9, P10, P11, P12, P13, P14, P15, P16, P17, P18, P19, P20) ⇒ T)(implicit arg0: JF[P1], arg1: JF[P2], arg2: JF[P3], arg3: JF[P4], arg4: JF[P5], arg5: JF[P6], arg6: JF[P7], arg7: JF[P8], arg8: JF[P9], arg9: JF[P10], arg10: JF[P11], arg11: JF[P12], arg12: JF[P13], arg13: JF[P14], arg14: JF[P15], arg15: JF[P16], arg16: JF[P17], arg17: JF[P18], arg18: JF[P19], arg19: JF[P20], arg20: ClassManifest[T]): RootJsonFormat[T] + +

                                                  + + Permalink + + +
                                                  Definition Classes
                                                  ProductFormatsInstances
                                                  +
                                                79. + + +

                                                  + + + def + + + jsonFormat21[P1, P2, P3, P4, P5, P6, P7, P8, P9, P10, P11, P12, P13, P14, P15, P16, P17, P18, P19, P20, P21, T <: Product](construct: (P1, P2, P3, P4, P5, P6, P7, P8, P9, P10, P11, P12, P13, P14, P15, P16, P17, P18, P19, P20, P21) ⇒ T)(implicit arg0: JF[P1], arg1: JF[P2], arg2: JF[P3], arg3: JF[P4], arg4: JF[P5], arg5: JF[P6], arg6: JF[P7], arg7: JF[P8], arg8: JF[P9], arg9: JF[P10], arg10: JF[P11], arg11: JF[P12], arg12: JF[P13], arg13: JF[P14], arg14: JF[P15], arg15: JF[P16], arg16: JF[P17], arg17: JF[P18], arg18: JF[P19], arg19: JF[P20], arg20: JF[P21], arg21: ClassManifest[T]): RootJsonFormat[T] + +

                                                  + + Permalink + + +
                                                  Definition Classes
                                                  ProductFormatsInstances
                                                  +
                                                80. + + +

                                                  + + + def + + + jsonFormat22[P1, P2, P3, P4, P5, P6, P7, P8, P9, P10, P11, P12, P13, P14, P15, P16, P17, P18, P19, P20, P21, P22, T <: Product](construct: (P1, P2, P3, P4, P5, P6, P7, P8, P9, P10, P11, P12, P13, P14, P15, P16, P17, P18, P19, P20, P21, P22) ⇒ T)(implicit arg0: JF[P1], arg1: JF[P2], arg2: JF[P3], arg3: JF[P4], arg4: JF[P5], arg5: JF[P6], arg6: JF[P7], arg7: JF[P8], arg8: JF[P9], arg9: JF[P10], arg10: JF[P11], arg11: JF[P12], arg12: JF[P13], arg13: JF[P14], arg14: JF[P15], arg15: JF[P16], arg16: JF[P17], arg17: JF[P18], arg18: JF[P19], arg19: JF[P20], arg20: JF[P21], arg21: JF[P22], arg22: ClassManifest[T]): RootJsonFormat[T] + +

                                                  + + Permalink + + +
                                                  Definition Classes
                                                  ProductFormatsInstances
                                                  +
                                                81. + + +

                                                  + + + def + + + jsonFormat3[P1, P2, P3, T <: Product](construct: (P1, P2, P3) ⇒ T)(implicit arg0: JF[P1], arg1: JF[P2], arg2: JF[P3], arg3: ClassManifest[T]): RootJsonFormat[T] + +

                                                  + + Permalink + + +
                                                  Definition Classes
                                                  ProductFormatsInstances
                                                  +
                                                82. + + +

                                                  + + + def + + + jsonFormat4[P1, P2, P3, P4, T <: Product](construct: (P1, P2, P3, P4) ⇒ T)(implicit arg0: JF[P1], arg1: JF[P2], arg2: JF[P3], arg3: JF[P4], arg4: ClassManifest[T]): RootJsonFormat[T] + +

                                                  + + Permalink + + +
                                                  Definition Classes
                                                  ProductFormatsInstances
                                                  +
                                                83. + + +

                                                  + + + def + + + jsonFormat5[P1, P2, P3, P4, P5, T <: Product](construct: (P1, P2, P3, P4, P5) ⇒ T)(implicit arg0: JF[P1], arg1: JF[P2], arg2: JF[P3], arg3: JF[P4], arg4: JF[P5], arg5: ClassManifest[T]): RootJsonFormat[T] + +

                                                  + + Permalink + + +
                                                  Definition Classes
                                                  ProductFormatsInstances
                                                  +
                                                84. + + +

                                                  + + + def + + + jsonFormat6[P1, P2, P3, P4, P5, P6, T <: Product](construct: (P1, P2, P3, P4, P5, P6) ⇒ T)(implicit arg0: JF[P1], arg1: JF[P2], arg2: JF[P3], arg3: JF[P4], arg4: JF[P5], arg5: JF[P6], arg6: ClassManifest[T]): RootJsonFormat[T] + +

                                                  + + Permalink + + +
                                                  Definition Classes
                                                  ProductFormatsInstances
                                                  +
                                                85. + + +

                                                  + + + def + + + jsonFormat7[P1, P2, P3, P4, P5, P6, P7, T <: Product](construct: (P1, P2, P3, P4, P5, P6, P7) ⇒ T)(implicit arg0: JF[P1], arg1: JF[P2], arg2: JF[P3], arg3: JF[P4], arg4: JF[P5], arg5: JF[P6], arg6: JF[P7], arg7: ClassManifest[T]): RootJsonFormat[T] + +

                                                  + + Permalink + + +
                                                  Definition Classes
                                                  ProductFormatsInstances
                                                  +
                                                86. + + +

                                                  + + + def + + + jsonFormat8[P1, P2, P3, P4, P5, P6, P7, P8, T <: Product](construct: (P1, P2, P3, P4, P5, P6, P7, P8) ⇒ T)(implicit arg0: JF[P1], arg1: JF[P2], arg2: JF[P3], arg3: JF[P4], arg4: JF[P5], arg5: JF[P6], arg6: JF[P7], arg7: JF[P8], arg8: ClassManifest[T]): RootJsonFormat[T] + +

                                                  + + Permalink + + +
                                                  Definition Classes
                                                  ProductFormatsInstances
                                                  +
                                                87. + + +

                                                  + + + def + + + jsonFormat9[P1, P2, P3, P4, P5, P6, P7, P8, P9, T <: Product](construct: (P1, P2, P3, P4, P5, P6, P7, P8, P9) ⇒ T)(implicit arg0: JF[P1], arg1: JF[P2], arg2: JF[P3], arg3: JF[P4], arg4: JF[P5], arg5: JF[P6], arg6: JF[P7], arg7: JF[P8], arg8: JF[P9], arg9: ClassManifest[T]): RootJsonFormat[T] + +

                                                  + + Permalink + + +
                                                  Definition Classes
                                                  ProductFormatsInstances
                                                  +
                                                88. + + +

                                                  + + + def + + + lazyFormat[T](format: ⇒ JsonFormat[T]): JsonFormat[T] { lazy val delegate: spray.json.JsonFormat[T] } + +

                                                  + + Permalink + + +
                                                  Definition Classes
                                                  AdditionalFormats
                                                  +
                                                89. + + +

                                                  + + + def + + + lift[T <: AnyRef](reader: RootJsonReader[T]): RootJsonFormat[T] + +

                                                  + + Permalink + + +
                                                  Definition Classes
                                                  AdditionalFormats
                                                  +
                                                90. + + +

                                                  + + + def + + + lift[T <: AnyRef](reader: JsonReader[T]): JsonFormat[T] + +

                                                  + + Permalink + + +
                                                  Definition Classes
                                                  AdditionalFormats
                                                  +
                                                91. + + +

                                                  + + + def + + + lift[T](writer: RootJsonWriter[T]): RootJsonFormat[T] + +

                                                  + + Permalink + + +
                                                  Definition Classes
                                                  AdditionalFormats
                                                  +
                                                92. + + +

                                                  + + + def + + + lift[T](writer: JsonWriter[T]): JsonFormat[T] { def read(value: spray.json.JsValue): Nothing } + +

                                                  + + Permalink + + +
                                                  Definition Classes
                                                  AdditionalFormats
                                                  +
                                                93. + + +

                                                  + + implicit + def + + + linearSeqFormat[T](implicit arg0: JsonFormat[T]): RootJsonFormat[LinearSeq[T]] + +

                                                  + + Permalink + + +
                                                  Definition Classes
                                                  CollectionFormats
                                                  +
                                                94. + + +

                                                  + + implicit + def + + + listFormat[T](implicit arg0: JsonFormat[T]): RootJsonFormat[List[T]] { def write(list: List[T]): spray.json.JsArray } + +

                                                  + + Permalink + + +
                                                  Definition Classes
                                                  CollectionFormats
                                                  +
                                                95. + + +

                                                  + + implicit + def + + + mapFormat[K, V](implicit arg0: JsonFormat[K], arg1: JsonFormat[V]): RootJsonFormat[Map[K, V]] { def write(m: Map[K,V]): spray.json.JsObject } + +

                                                  + + Permalink + + +
                                                  Definition Classes
                                                  CollectionFormats
                                                  +
                                                96. + + +

                                                  + + final + def + + + ne(arg0: AnyRef): Boolean + +

                                                  + + Permalink + + +
                                                  Definition Classes
                                                  AnyRef
                                                  +
                                                97. + + +

                                                  + + final + def + + + notify(): Unit + +

                                                  + + Permalink + + +
                                                  Definition Classes
                                                  AnyRef
                                                  +
                                                98. + + +

                                                  + + final + def + + + notifyAll(): Unit + +

                                                  + + Permalink + + +
                                                  Definition Classes
                                                  AnyRef
                                                  +
                                                99. + + +

                                                  + + implicit + def + + + optionFormat[T](implicit arg0: JF[T]): JF[Option[T]] + +

                                                  + + Permalink + + +
                                                  Definition Classes
                                                  StandardFormats
                                                  +
                                                100. + + +

                                                  + + + def + + + productElement2Field[T](fieldName: String, p: Product, ix: Int, rest: List[JsField])(implicit writer: JsonWriter[T]): List[JsField] + +

                                                  + + Permalink + + +
                                                  Attributes
                                                  protected
                                                  Definition Classes
                                                  ProductFormats
                                                  +
                                                101. + + +

                                                  + + + def + + + rootFormat[T](format: JsonFormat[T]): RootJsonFormat[T] + +

                                                  + + Permalink + + +
                                                  Definition Classes
                                                  AdditionalFormats
                                                  +
                                                102. + + +

                                                  + + + def + + + rootJsonFormat[T](reader: RootJsonReader[T], writer: RootJsonWriter[T]): RootJsonFormat[T] + +

                                                  + + Permalink + + +
                                                  Definition Classes
                                                  AdditionalFormats
                                                  +
                                                103. + + +

                                                  + + + def + + + safeReader[A](implicit arg0: JsonReader[A]): JsonReader[Either[Exception, A]] + +

                                                  + + Permalink + + +
                                                  Definition Classes
                                                  AdditionalFormats
                                                  +
                                                104. + + +

                                                  + + implicit + def + + + seqFormat[T](implicit arg0: JsonFormat[T]): RootJsonFormat[Seq[T]] + +

                                                  + + Permalink + + +
                                                  Definition Classes
                                                  CollectionFormats
                                                  +
                                                105. + + +

                                                  + + implicit + def + + + setFormat[T](implicit arg0: JsonFormat[T]): RootJsonFormat[Set[T]] + +

                                                  + + Permalink + + +
                                                  Definition Classes
                                                  CollectionFormats
                                                  +
                                                106. + + +

                                                  + + final + def + + + synchronized[T0](arg0: ⇒ T0): T0 + +

                                                  + + Permalink + + +
                                                  Definition Classes
                                                  AnyRef
                                                  +
                                                107. + + +

                                                  + + + def + + + toString(): String + +

                                                  + + Permalink + + +
                                                  Definition Classes
                                                  AnyRef → Any
                                                  +
                                                108. + + +

                                                  + + implicit + def + + + tuple1Format[A](implicit arg0: JF[A]): JF[(A)] + +

                                                  + + Permalink + + +
                                                  Definition Classes
                                                  StandardFormats
                                                  +
                                                109. + + +

                                                  + + implicit + def + + + tuple2Format[A, B](implicit arg0: JF[A], arg1: JF[B]): RootJsonFormat[(A, B)] { def write(t: (A, B)): spray.json.JsArray } + +

                                                  + + Permalink + + +
                                                  Definition Classes
                                                  StandardFormats
                                                  +
                                                110. + + +

                                                  + + implicit + def + + + tuple3Format[A, B, C](implicit arg0: JF[A], arg1: JF[B], arg2: JF[C]): RootJsonFormat[(A, B, C)] { def write(t: (A, B, C)): spray.json.JsArray } + +

                                                  + + Permalink + + +
                                                  Definition Classes
                                                  StandardFormats
                                                  +
                                                111. + + +

                                                  + + implicit + def + + + tuple4Format[A, B, C, D](implicit arg0: JF[A], arg1: JF[B], arg2: JF[C], arg3: JF[D]): RootJsonFormat[(A, B, C, D)] { def write(t: (A, B, C, D)): spray.json.JsArray } + +

                                                  + + Permalink + + +
                                                  Definition Classes
                                                  StandardFormats
                                                  +
                                                112. + + +

                                                  + + implicit + def + + + tuple5Format[A, B, C, D, E](implicit arg0: JF[A], arg1: JF[B], arg2: JF[C], arg3: JF[D], arg4: JF[E]): RootJsonFormat[(A, B, C, D, E)] { def write(t: (A, B, C, D, E)): spray.json.JsArray } + +

                                                  + + Permalink + + +
                                                  Definition Classes
                                                  StandardFormats
                                                  +
                                                113. + + +

                                                  + + implicit + def + + + tuple6Format[A, B, C, D, E, F](implicit arg0: JF[A], arg1: JF[B], arg2: JF[C], arg3: JF[D], arg4: JF[E], arg5: JF[F]): RootJsonFormat[(A, B, C, D, E, F)] { def write(t: (A, B, C, D, E, F)): spray.json.JsArray } + +

                                                  + + Permalink + + +
                                                  Definition Classes
                                                  StandardFormats
                                                  +
                                                114. + + +

                                                  + + implicit + def + + + tuple7Format[A, B, C, D, E, F, G](implicit arg0: JF[A], arg1: JF[B], arg2: JF[C], arg3: JF[D], arg4: JF[E], arg5: JF[F], arg6: JF[G]): RootJsonFormat[(A, B, C, D, E, F, G)] { def write(t: (A, B, C, D, E, F, G)): spray.json.JsArray } + +

                                                  + + Permalink + + +
                                                  Definition Classes
                                                  StandardFormats
                                                  +
                                                115. + + +

                                                  + + implicit + def + + + vectorFormat[T](implicit arg0: JsonFormat[T]): RootJsonFormat[Vector[T]] + +

                                                  + + Permalink + + +
                                                  Definition Classes
                                                  CollectionFormats
                                                  +
                                                116. + + +

                                                  + + + def + + + viaSeq[I <: Iterable[T], T](f: (Seq[T]) ⇒ I)(implicit arg0: JsonFormat[T]): RootJsonFormat[I] + +

                                                  + + Permalink + + +
                                                  Definition Classes
                                                  CollectionFormats
                                                  +
                                                117. + + +

                                                  + + final + def + + + wait(): Unit + +

                                                  + + Permalink + + +
                                                  Definition Classes
                                                  AnyRef
                                                  Annotations
                                                  + @throws( + + ... + ) + +
                                                  +
                                                118. + + +

                                                  + + final + def + + + wait(arg0: Long, arg1: Int): Unit + +

                                                  + + Permalink + + +
                                                  Definition Classes
                                                  AnyRef
                                                  Annotations
                                                  + @throws( + + ... + ) + +
                                                  +
                                                119. + + +

                                                  + + final + def + + + wait(arg0: Long): Unit + +

                                                  + + Permalink + + +
                                                  Definition Classes
                                                  AnyRef
                                                  Annotations
                                                  + @throws( + + ... + ) + +
                                                  +
                                                +
                                                + + + + +
                                                + +
                                                +
                                                +

                                                Inherited from DefaultJsonProtocol

                                                +
                                                +

                                                Inherited from AdditionalFormats

                                                +
                                                +

                                                Inherited from ProductFormats

                                                +
                                                +

                                                Inherited from ProductFormatsInstances

                                                +
                                                +

                                                Inherited from CollectionFormats

                                                +
                                                +

                                                Inherited from StandardFormats

                                                +
                                                +

                                                Inherited from BasicFormats

                                                +
                                                +

                                                Inherited from AnyRef

                                                +
                                                +

                                                Inherited from Any

                                                +
                                                + +
                                                + +
                                                +
                                                +

                                                Ungrouped

                                                + +
                                                +
                                                + +
                                                + +
                                                + + + + + + diff --git a/manual1903/api_reference/components/scaladocs/ksb/csle/component/runner/actor/package.html b/manual1903/api_reference/components/scaladocs/ksb/csle/component/runner/actor/package.html new file mode 100644 index 0000000000000000000000000000000000000000..33386a9cbeb78fcc8cf9a4f2bdc1283cdc3fa41a --- /dev/null +++ b/manual1903/api_reference/components/scaladocs/ksb/csle/component/runner/actor/package.html @@ -0,0 +1,198 @@ + + + + actor - KSB COMPONENTS Scala App Project 1.0-SNAPSHOT API - ksb.csle.component.runner.actor + + + + + + + + + + + + + + + +
                                                + Package +

                                                ksb.csle.component.runner

                                                +

                                                actor

                                                + + Permalink + + +
                                                + +

                                                + + + package + + + actor + +

                                                + +
                                                + Linear Supertypes +
                                                AnyRef, Any
                                                +
                                                + + +
                                                +
                                                +
                                                + Ordering +
                                                  + +
                                                1. Alphabetic
                                                2. +
                                                3. By Inheritance
                                                4. +
                                                +
                                                +
                                                + Inherited
                                                +
                                                +
                                                  +
                                                1. actor
                                                2. AnyRef
                                                3. Any
                                                4. +
                                                +
                                                + +
                                                  +
                                                1. Hide All
                                                2. +
                                                3. Show All
                                                4. +
                                                +
                                                +
                                                + Visibility +
                                                1. Public
                                                2. All
                                                +
                                                +
                                                + +
                                                +
                                                + + +
                                                +

                                                Type Members

                                                +
                                                1. + + +

                                                  + + + case class + + + ControlContext(dateTime: DateTime, params: Map[String, String]) extends Product with Serializable + +

                                                  + + Permalink + + + +
                                                2. + + +

                                                  + + + class + + + MlKbServingActor extends Actor with Logging + +

                                                  + + Permalink + + + +
                                                3. + + +

                                                  + + + class + + + ServingActor extends Actor with Logging + +

                                                  + + Permalink + + + +
                                                +
                                                + + + +
                                                +

                                                Value Members

                                                +
                                                1. + + +

                                                  + + + object + + + ControlContextProtocol extends DefaultJsonProtocol + +

                                                  + + Permalink + + + +
                                                +
                                                + + + + +
                                                + +
                                                +
                                                +

                                                Inherited from AnyRef

                                                +
                                                +

                                                Inherited from Any

                                                +
                                                + +
                                                + +
                                                +
                                                +

                                                Ungrouped

                                                + +
                                                +
                                                + +
                                                + +
                                                + + + + + + diff --git a/manual1903/api_reference/components/scaladocs/ksb/csle/component/runner/analysis/TensorflowRunner$.html b/manual1903/api_reference/components/scaladocs/ksb/csle/component/runner/analysis/TensorflowRunner$.html new file mode 100644 index 0000000000000000000000000000000000000000..40e221369d1b1b259be53805cc9444010dcce905 --- /dev/null +++ b/manual1903/api_reference/components/scaladocs/ksb/csle/component/runner/analysis/TensorflowRunner$.html @@ -0,0 +1,522 @@ + + + + TensorflowRunner - KSB COMPONENTS Scala App Project 1.0-SNAPSHOT API - ksb.csle.component.runner.analysis.TensorflowRunner + + + + + + + + + + + + + + + + + +

                                                + + + object + + + TensorflowRunner extends Serializable + +

                                                + +
                                                + Linear Supertypes +
                                                Serializable, Serializable, AnyRef, Any
                                                +
                                                + + +
                                                +
                                                +
                                                + Ordering +
                                                  + +
                                                1. Alphabetic
                                                2. +
                                                3. By Inheritance
                                                4. +
                                                +
                                                +
                                                + Inherited
                                                +
                                                +
                                                  +
                                                1. TensorflowRunner
                                                2. Serializable
                                                3. Serializable
                                                4. AnyRef
                                                5. Any
                                                6. +
                                                +
                                                + +
                                                  +
                                                1. Hide All
                                                2. +
                                                3. Show All
                                                4. +
                                                +
                                                +
                                                + Visibility +
                                                1. Public
                                                2. All
                                                +
                                                +
                                                + +
                                                +
                                                + + + + + + +
                                                +

                                                Value Members

                                                +
                                                1. + + +

                                                  + + final + def + + + !=(arg0: Any): Boolean + +

                                                  + + Permalink + + +
                                                  Definition Classes
                                                  AnyRef → Any
                                                  +
                                                2. + + +

                                                  + + final + def + + + ##(): Int + +

                                                  + + Permalink + + +
                                                  Definition Classes
                                                  AnyRef → Any
                                                  +
                                                3. + + +

                                                  + + final + def + + + ==(arg0: Any): Boolean + +

                                                  + + Permalink + + +
                                                  Definition Classes
                                                  AnyRef → Any
                                                  +
                                                4. + + +

                                                  + + final + def + + + asInstanceOf[T0]: T0 + +

                                                  + + Permalink + + +
                                                  Definition Classes
                                                  Any
                                                  +
                                                5. + + +

                                                  + + + def + + + clone(): AnyRef + +

                                                  + + Permalink + + +
                                                  Attributes
                                                  protected[java.lang]
                                                  Definition Classes
                                                  AnyRef
                                                  Annotations
                                                  + @throws( + + ... + ) + +
                                                  +
                                                6. + + +

                                                  + + + def + + + createAppName(pythonCodePath: String): String + +

                                                  + + Permalink + + + +
                                                7. + + +

                                                  + + + def + + + createCommandLine(pythonCodePath: String): Seq[String] + +

                                                  + + Permalink + + + +
                                                8. + + +

                                                  + + final + def + + + eq(arg0: AnyRef): Boolean + +

                                                  + + Permalink + + +
                                                  Definition Classes
                                                  AnyRef
                                                  +
                                                9. + + +

                                                  + + + def + + + equals(arg0: Any): Boolean + +

                                                  + + Permalink + + +
                                                  Definition Classes
                                                  AnyRef → Any
                                                  +
                                                10. + + +

                                                  + + + def + + + finalize(): Unit + +

                                                  + + Permalink + + +
                                                  Attributes
                                                  protected[java.lang]
                                                  Definition Classes
                                                  AnyRef
                                                  Annotations
                                                  + @throws( + + classOf[java.lang.Throwable] + ) + +
                                                  +
                                                11. + + +

                                                  + + final + def + + + getClass(): Class[_] + +

                                                  + + Permalink + + +
                                                  Definition Classes
                                                  AnyRef → Any
                                                  +
                                                12. + + +

                                                  + + + def + + + hashCode(): Int + +

                                                  + + Permalink + + +
                                                  Definition Classes
                                                  AnyRef → Any
                                                  +
                                                13. + + +

                                                  + + final + def + + + isInstanceOf[T0]: Boolean + +

                                                  + + Permalink + + +
                                                  Definition Classes
                                                  Any
                                                  +
                                                14. + + +

                                                  + + final + def + + + ne(arg0: AnyRef): Boolean + +

                                                  + + Permalink + + +
                                                  Definition Classes
                                                  AnyRef
                                                  +
                                                15. + + +

                                                  + + final + def + + + notify(): Unit + +

                                                  + + Permalink + + +
                                                  Definition Classes
                                                  AnyRef
                                                  +
                                                16. + + +

                                                  + + final + def + + + notifyAll(): Unit + +

                                                  + + Permalink + + +
                                                  Definition Classes
                                                  AnyRef
                                                  +
                                                17. + + +

                                                  + + final + def + + + synchronized[T0](arg0: ⇒ T0): T0 + +

                                                  + + Permalink + + +
                                                  Definition Classes
                                                  AnyRef
                                                  +
                                                18. + + +

                                                  + + + def + + + toString(): String + +

                                                  + + Permalink + + +
                                                  Definition Classes
                                                  AnyRef → Any
                                                  +
                                                19. + + +

                                                  + + final + def + + + wait(): Unit + +

                                                  + + Permalink + + +
                                                  Definition Classes
                                                  AnyRef
                                                  Annotations
                                                  + @throws( + + ... + ) + +
                                                  +
                                                20. + + +

                                                  + + final + def + + + wait(arg0: Long, arg1: Int): Unit + +

                                                  + + Permalink + + +
                                                  Definition Classes
                                                  AnyRef
                                                  Annotations
                                                  + @throws( + + ... + ) + +
                                                  +
                                                21. + + +

                                                  + + final + def + + + wait(arg0: Long): Unit + +

                                                  + + Permalink + + +
                                                  Definition Classes
                                                  AnyRef
                                                  Annotations
                                                  + @throws( + + ... + ) + +
                                                  +
                                                +
                                                + + + + +
                                                + +
                                                +
                                                +

                                                Inherited from Serializable

                                                +
                                                +

                                                Inherited from Serializable

                                                +
                                                +

                                                Inherited from AnyRef

                                                +
                                                +

                                                Inherited from Any

                                                +
                                                + +
                                                + +
                                                +
                                                +

                                                Ungrouped

                                                + +
                                                +
                                                + +
                                                + +
                                                + + + + + + diff --git a/manual1903/api_reference/components/scaladocs/ksb/csle/component/runner/analysis/TensorflowRunner.html b/manual1903/api_reference/components/scaladocs/ksb/csle/component/runner/analysis/TensorflowRunner.html new file mode 100644 index 0000000000000000000000000000000000000000..92ffee121a76668cfbf712925340c23e398d65e1 --- /dev/null +++ b/manual1903/api_reference/components/scaladocs/ksb/csle/component/runner/analysis/TensorflowRunner.html @@ -0,0 +1,616 @@ + + + + TensorflowRunner - KSB COMPONENTS Scala App Project 1.0-SNAPSHOT API - ksb.csle.component.runner.analysis.TensorflowRunner + + + + + + + + + + + + + + + + + +

                                                + + final + class + + + TensorflowRunner[P] extends BaseRunner[SparkSession, P, Any] + +

                                                + +

                                                :: ApplicationDeveloperApi ::

                                                Runner that creates command-line and calls tensorflow with python code +

                                                + Linear Supertypes +
                                                BaseRunner[SparkSession, P, Any], BaseDoer, Logging, Serializable, Serializable, AnyRef, Any
                                                +
                                                + + +
                                                +
                                                +
                                                + Ordering +
                                                  + +
                                                1. Alphabetic
                                                2. +
                                                3. By Inheritance
                                                4. +
                                                +
                                                +
                                                + Inherited
                                                +
                                                +
                                                  +
                                                1. TensorflowRunner
                                                2. BaseRunner
                                                3. BaseDoer
                                                4. Logging
                                                5. Serializable
                                                6. Serializable
                                                7. AnyRef
                                                8. Any
                                                9. +
                                                +
                                                + +
                                                  +
                                                1. Hide All
                                                2. +
                                                3. Show All
                                                4. +
                                                +
                                                +
                                                + Visibility +
                                                1. Public
                                                2. All
                                                +
                                                +
                                                + +
                                                +
                                                +
                                                +

                                                Instance Constructors

                                                +
                                                1. + + +

                                                  + + + new + + + TensorflowRunner(o: P) + +

                                                  + + Permalink + + +

                                                  o

                                                  Object that contains message + ksb.csle.common.proto.RunnerProto.TensorflowRunnerInfo + TensorflowRunnerInfo containing attributes are as follows:

                                                  • pyEntryPath: Python file path for python code that will be called + by process (required)
                                                  • cluster: Mode flag that indicates tensorflow cluster. + Default value is false. + If it is true, distributed tensorflow model will be used. + If you set CODDL-enable tensorflow cluster, you can set as true, + but it's not, you should set it false.
                                                  • host: A series of hosts consisting of Tensorflow cluster + (optional/repeated).
                                                  • inJson: Flag that indicates the way to pass parameter to tensorflow. + If it is true, json-style parameters to be passed to tensorflow, + and it is false, command-line parameter key-value pair will be passed.
                                                  • tfVersion: Tensorflow version (optional)

                                                  TensorflowRunnerInfo

                                                  message TensorflowRunnerInfo {
                                                  + required string pyEntryPath = 1;
                                                  + optional bool cluster = 2 [default = false];
                                                  + repeated string host = 3;
                                                  + optional bool inJson = 4 [default = false];
                                                  + optional string tfVersion = 5 [default = "r1.3"];
                                                  +}
                                                  +
                                                +
                                                + + + + + +
                                                +

                                                Value Members

                                                +
                                                1. + + +

                                                  + + final + def + + + !=(arg0: Any): Boolean + +

                                                  + + Permalink + + +
                                                  Definition Classes
                                                  AnyRef → Any
                                                  +
                                                2. + + +

                                                  + + final + def + + + ##(): Int + +

                                                  + + Permalink + + +
                                                  Definition Classes
                                                  AnyRef → Any
                                                  +
                                                3. + + +

                                                  + + final + def + + + ==(arg0: Any): Boolean + +

                                                  + + Permalink + + +
                                                  Definition Classes
                                                  AnyRef → Any
                                                  +
                                                4. + + +

                                                  + + final + def + + + asInstanceOf[T0]: T0 + +

                                                  + + Permalink + + +
                                                  Definition Classes
                                                  Any
                                                  +
                                                5. + + +

                                                  + + + def + + + clone(): AnyRef + +

                                                  + + Permalink + + +
                                                  Attributes
                                                  protected[java.lang]
                                                  Definition Classes
                                                  AnyRef
                                                  Annotations
                                                  + @throws( + + ... + ) + +
                                                  +
                                                6. + + +

                                                  + + final + def + + + eq(arg0: AnyRef): Boolean + +

                                                  + + Permalink + + +
                                                  Definition Classes
                                                  AnyRef
                                                  +
                                                7. + + +

                                                  + + + def + + + equals(arg0: Any): Boolean + +

                                                  + + Permalink + + +
                                                  Definition Classes
                                                  AnyRef → Any
                                                  +
                                                8. + + +

                                                  + + + def + + + finalize(): Unit + +

                                                  + + Permalink + + +
                                                  Attributes
                                                  protected[java.lang]
                                                  Definition Classes
                                                  AnyRef
                                                  Annotations
                                                  + @throws( + + classOf[java.lang.Throwable] + ) + +
                                                  +
                                                9. + + +

                                                  + + final + def + + + getClass(): Class[_] + +

                                                  + + Permalink + + +
                                                  Definition Classes
                                                  AnyRef → Any
                                                  +
                                                10. + + +

                                                  + + + def + + + getSession: SparkSession + +

                                                  + + Permalink + + +
                                                  Definition Classes
                                                  TensorflowRunner → BaseRunner
                                                  +
                                                11. + + +

                                                  + + + def + + + hashCode(): Int + +

                                                  + + Permalink + + +
                                                  Definition Classes
                                                  AnyRef → Any
                                                  +
                                                12. + + +

                                                  + + + def + + + init(_params: Any): Any + +

                                                  + + Permalink + + +
                                                  Definition Classes
                                                  TensorflowRunner → BaseRunner
                                                  +
                                                13. + + +

                                                  + + final + def + + + isInstanceOf[T0]: Boolean + +

                                                  + + Permalink + + +
                                                  Definition Classes
                                                  Any
                                                  +
                                                14. + + +

                                                  + + + val + + + logger: Logger + +

                                                  + + Permalink + + +
                                                  Attributes
                                                  protected
                                                  Definition Classes
                                                  Logging
                                                  +
                                                15. + + +

                                                  + + final + def + + + ne(arg0: AnyRef): Boolean + +

                                                  + + Permalink + + +
                                                  Definition Classes
                                                  AnyRef
                                                  +
                                                16. + + +

                                                  + + final + def + + + notify(): Unit + +

                                                  + + Permalink + + +
                                                  Definition Classes
                                                  AnyRef
                                                  +
                                                17. + + +

                                                  + + final + def + + + notifyAll(): Unit + +

                                                  + + Permalink + + +
                                                  Definition Classes
                                                  AnyRef
                                                  +
                                                18. + + +

                                                  + + + def + + + run(data: Any): Any + +

                                                  + + Permalink + + +

                                                  Executes process call by command-line when controller calls this.

                                                  Executes process call by command-line when controller calls this.

                                                  data

                                                  Data

                                                  returns

                                                  Any value

                                                  Definition Classes
                                                  TensorflowRunner → BaseRunner
                                                  +
                                                19. + + +

                                                  + + + def + + + stop: Unit + +

                                                  + + Permalink + + +
                                                  Definition Classes
                                                  TensorflowRunner → BaseRunner
                                                  +
                                                20. + + +

                                                  + + final + def + + + synchronized[T0](arg0: ⇒ T0): T0 + +

                                                  + + Permalink + + +
                                                  Definition Classes
                                                  AnyRef
                                                  +
                                                21. + + +

                                                  + + + def + + + toString(): String + +

                                                  + + Permalink + + +
                                                  Definition Classes
                                                  AnyRef → Any
                                                  +
                                                22. + + +

                                                  + + final + def + + + wait(): Unit + +

                                                  + + Permalink + + +
                                                  Definition Classes
                                                  AnyRef
                                                  Annotations
                                                  + @throws( + + ... + ) + +
                                                  +
                                                23. + + +

                                                  + + final + def + + + wait(arg0: Long, arg1: Int): Unit + +

                                                  + + Permalink + + +
                                                  Definition Classes
                                                  AnyRef
                                                  Annotations
                                                  + @throws( + + ... + ) + +
                                                  +
                                                24. + + +

                                                  + + final + def + + + wait(arg0: Long): Unit + +

                                                  + + Permalink + + +
                                                  Definition Classes
                                                  AnyRef
                                                  Annotations
                                                  + @throws( + + ... + ) + +
                                                  +
                                                +
                                                + + + + +
                                                + +
                                                +
                                                +

                                                Inherited from BaseRunner[SparkSession, P, Any]

                                                +
                                                +

                                                Inherited from BaseDoer

                                                +
                                                +

                                                Inherited from Logging

                                                +
                                                +

                                                Inherited from Serializable

                                                +
                                                +

                                                Inherited from Serializable

                                                +
                                                +

                                                Inherited from AnyRef

                                                +
                                                +

                                                Inherited from Any

                                                +
                                                + +
                                                + +
                                                +
                                                +

                                                Ungrouped

                                                + +
                                                +
                                                + +
                                                + +
                                                + + + + + + diff --git a/manual1903/api_reference/components/scaladocs/ksb/csle/component/runner/analysis/package.html b/manual1903/api_reference/components/scaladocs/ksb/csle/component/runner/analysis/package.html new file mode 100644 index 0000000000000000000000000000000000000000..f3dc90e21056054fb2f5939f0cb0e3b5e242b61f --- /dev/null +++ b/manual1903/api_reference/components/scaladocs/ksb/csle/component/runner/analysis/package.html @@ -0,0 +1,139 @@ + + + + analysis - KSB COMPONENTS Scala App Project 1.0-SNAPSHOT API - ksb.csle.component.runner.analysis + + + + + + + + + + + + + + + +
                                                + Package +

                                                ksb.csle.component.runner

                                                +

                                                analysis

                                                + + Permalink + + +
                                                + +

                                                + + + package + + + analysis + +

                                                + +
                                                + + +
                                                +
                                                + + +
                                                + Visibility +
                                                1. Public
                                                2. All
                                                +
                                                +
                                                + +
                                                +
                                                + + +
                                                +

                                                Type Members

                                                +
                                                1. + + +

                                                  + + final + class + + + TensorflowRunner[P] extends BaseRunner[SparkSession, P, Any] + +

                                                  + + Permalink + + +

                                                  :: ApplicationDeveloperApi ::

                                                  :: ApplicationDeveloperApi ::

                                                  Runner that creates command-line and calls tensorflow with python code +

                                                  +
                                                +
                                                + + + +
                                                +

                                                Value Members

                                                +
                                                1. + + +

                                                  + + + object + + + TensorflowRunner extends Serializable + +

                                                  + + Permalink + + + +
                                                +
                                                + + + + +
                                                + +
                                                + + +
                                                + +
                                                +
                                                +

                                                Ungrouped

                                                + +
                                                +
                                                + +
                                                + +
                                                + + + + + + diff --git a/manual1903/api_reference/components/scaladocs/ksb/csle/component/runner/package.html b/manual1903/api_reference/components/scaladocs/ksb/csle/component/runner/package.html new file mode 100644 index 0000000000000000000000000000000000000000..3610ffbd13519e72be87cb30b6a6f7132b12e9d7 --- /dev/null +++ b/manual1903/api_reference/components/scaladocs/ksb/csle/component/runner/package.html @@ -0,0 +1,407 @@ + + + + runner - KSB COMPONENTS Scala App Project 1.0-SNAPSHOT API - ksb.csle.component.runner + + + + + + + + + + + + + + + +
                                                + Package +

                                                ksb.csle.component

                                                +

                                                runner

                                                + + Permalink + + +
                                                + +

                                                + + + package + + + runner + +

                                                + +
                                                + + +
                                                +
                                                + + +
                                                + Visibility +
                                                1. Public
                                                2. All
                                                +
                                                +
                                                + +
                                                +
                                                + + +
                                                +

                                                Type Members

                                                +
                                                1. + + +

                                                  + + sealed + case class + + + BindServing() extends Product with Serializable + +

                                                  + + Permalink + + + +
                                                2. + + +

                                                  + + + case class + + + KBERequest(queryType: String, query: String) extends Product with Serializable + +

                                                  + + Permalink + + + +
                                                3. + + +

                                                  + + + case class + + + KBEResponse(statuscode: Int, body: String) extends Product with Serializable + +

                                                  + + Permalink + + + +
                                                4. + + +

                                                  + + + class + + + KBEServingRunner extends BaseRunner[SparkSession, OnDemandRunnerInfo, Unit] + +

                                                  + + Permalink + + +

                                                  :: ApplicationDeveloperApi ::

                                                  :: ApplicationDeveloperApi ::

                                                  Operates as a runner of http server type and delivers a query request to the +knowledge base engine via http post request and provides a response from +the knowledge base engine. +

                                                  +
                                                5. + + +

                                                  + + final + class + + + PySparkRunner[P] extends BasePredictiveAnalysisRunner[Any, BatchRunnerInfo, Any] + +

                                                  + + Permalink + + +

                                                  :: ApplicationDeveloperApi ::

                                                  :: ApplicationDeveloperApi ::

                                                  Runner that gets session which derived from Spark context created by YARN. +

                                                  Annotations
                                                  + @Deprecated + +
                                                  +
                                                6. + + +

                                                  + + sealed + case class + + + ReloadServing() extends Product with Serializable + +

                                                  + + Permalink + + + +
                                                7. + + +

                                                  + + + class + + + ServingMaster extends Actor with Logging + +

                                                  + + Permalink + + +

                                                  Master Actor for Serving +

                                                  +
                                                8. + + +

                                                  + + final + class + + + ServingRunner extends BaseRunner[ActorSystem, OnDemandRunnerInfo, BaseResult] + +

                                                  + + Permalink + + +

                                                  :: ApplicationDeveloperApi ::

                                                  :: ApplicationDeveloperApi ::

                                                  Runner that serves with RESTful APIs with given service port. +

                                                  +
                                                9. + + +

                                                  + + + class + + + SimpleSparkRunner[P] extends BaseRunner[SparkSession, P, Any] + +

                                                  + + Permalink + + +

                                                  :: ApplicationDeveloperApi ::

                                                  :: ApplicationDeveloperApi ::

                                                  Runner that gets session which derived from Spark context created by YARN. +

                                                  +
                                                10. + + +

                                                  + + sealed + case class + + + StartServing() extends Product with Serializable + +

                                                  + + Permalink + + + +
                                                11. + + +

                                                  + + sealed + case class + + + StopServing() extends Product with Serializable + +

                                                  + + Permalink + + + +
                                                12. + + +

                                                  + + final + class + + + TensorflowServingRunner extends BaseRunner[ModelSession, OnDemandRunnerInfo, ModelServingState] + +

                                                  + + Permalink + + +

                                                  :: ApplicationDeveloperApi ::

                                                  :: ApplicationDeveloperApi ::

                                                  Runner that serves a tensorflow model and provides RESTful APIs. +

                                                  +
                                                +
                                                + + + +
                                                +

                                                Value Members

                                                +
                                                1. + + +

                                                  + + + object + + + PySparkRunner extends Serializable + +

                                                  + + Permalink + + +
                                                  Annotations
                                                  + @Deprecated + +
                                                  +
                                                2. + + +

                                                  + + + object + + + ServingRunner extends Logging with Serializable + +

                                                  + + Permalink + + + +
                                                3. + + +

                                                  + + + object + + + TensorflowServingRunner extends Serializable + +

                                                  + + Permalink + + + +
                                                4. + + +

                                                  + + + package + + + actor + +

                                                  + + Permalink + + + +
                                                5. + + +

                                                  + + + package + + + analysis + +

                                                  + + Permalink + + + +
                                                +
                                                + + + + +
                                                + +
                                                + + +
                                                + +
                                                +
                                                +

                                                Ungrouped

                                                + +
                                                +
                                                + +
                                                + +
                                                + + + + + + diff --git a/manual1903/api_reference/components/scaladocs/ksb/csle/component/writer/FileStreamWriter.html b/manual1903/api_reference/components/scaladocs/ksb/csle/component/writer/FileStreamWriter.html new file mode 100644 index 0000000000000000000000000000000000000000..0a5245c9cc624584aa2a95d81e6dffa0f5f8ac6e --- /dev/null +++ b/manual1903/api_reference/components/scaladocs/ksb/csle/component/writer/FileStreamWriter.html @@ -0,0 +1,643 @@ + + + + FileStreamWriter - KSB COMPONENTS Scala App Project 1.0-SNAPSHOT API - ksb.csle.component.writer.FileStreamWriter + + + + + + + + + + + + + + + +
                                                + Class +

                                                ksb.csle.component.writer

                                                +

                                                FileStreamWriter

                                                Related Doc: + package writer +

                                                + + Permalink + + +
                                                + +

                                                + + + class + + + FileStreamWriter extends BaseWriter[DataFrame, StreamWriterInfo, StreamingContext] + +

                                                + +

                                                :: ApplicationDeveloperApi ::

                                                Writer that saves DataFrame to a file. +

                                                + Linear Supertypes +
                                                BaseWriter[DataFrame, StreamWriterInfo, StreamingContext], BaseDoer, Logging, Serializable, Serializable, AnyRef, Any
                                                +
                                                + + +
                                                +
                                                +
                                                + Ordering +
                                                  + +
                                                1. Alphabetic
                                                2. +
                                                3. By Inheritance
                                                4. +
                                                +
                                                +
                                                + Inherited
                                                +
                                                +
                                                  +
                                                1. FileStreamWriter
                                                2. BaseWriter
                                                3. BaseDoer
                                                4. Logging
                                                5. Serializable
                                                6. Serializable
                                                7. AnyRef
                                                8. Any
                                                9. +
                                                +
                                                + +
                                                  +
                                                1. Hide All
                                                2. +
                                                3. Show All
                                                4. +
                                                +
                                                +
                                                + Visibility +
                                                1. Public
                                                2. All
                                                +
                                                +
                                                + +
                                                +
                                                +
                                                +

                                                Instance Constructors

                                                +
                                                1. + + +

                                                  + + + new + + + FileStreamWriter(o: StreamWriterInfo) + +

                                                  + + Permalink + + +

                                                  o

                                                  Object that contains message + ksb.csle.common.proto.DatasourceProto.FileStreamWriterInfo + FileStreamWriterInfo contains attributes as follows:

                                                  • filePath: file path where writes records (required)
                                                  • fileType: file type, default is 'CSV' (optional)
                                                  • header: true if has a header line (optional)
                                                  • saveMode: specify the expected behavior of saving a DataFrame to a data source, default is 'OVERWRITE' (optional)

                                                  FileInfo

                                                  message FileStreamWriterInfo {
                                                  +  enum FileType {
                                                  +      CSV = 0;
                                                  +      JSON = 1;
                                                  +      PARQUET = 2;
                                                  +      TEXT = 3;
                                                  +  }
                                                  +  enum SaveMode {
                                                  +      APPEND = 0;
                                                  +      OVERWRITE = 1;
                                                  +      ERROR_IF_EXISTS = 2;
                                                  +      IGNORE = 3;
                                                  +  }
                                                  +  required string filePath = 1;
                                                  +  optional FileType fileType = 2 [default = CSV];
                                                  +  optional bool header = 3 [default = true];
                                                  +  optional SaveMode saveMode = 4 [default = OVERWRITE];
                                                  +}
                                                  +
                                                +
                                                + + + + + +
                                                +

                                                Value Members

                                                +
                                                1. + + +

                                                  + + final + def + + + !=(arg0: Any): Boolean + +

                                                  + + Permalink + + +
                                                  Definition Classes
                                                  AnyRef → Any
                                                  +
                                                2. + + +

                                                  + + final + def + + + ##(): Int + +

                                                  + + Permalink + + +
                                                  Definition Classes
                                                  AnyRef → Any
                                                  +
                                                3. + + +

                                                  + + final + def + + + ==(arg0: Any): Boolean + +

                                                  + + Permalink + + +
                                                  Definition Classes
                                                  AnyRef → Any
                                                  +
                                                4. + + +

                                                  + + final + def + + + asInstanceOf[T0]: T0 + +

                                                  + + Permalink + + +
                                                  Definition Classes
                                                  Any
                                                  +
                                                5. + + +

                                                  + + + def + + + clone(): AnyRef + +

                                                  + + Permalink + + +
                                                  Attributes
                                                  protected[java.lang]
                                                  Definition Classes
                                                  AnyRef
                                                  Annotations
                                                  + @throws( + + ... + ) + +
                                                  +
                                                6. + + +

                                                  + + + def + + + close: Unit + +

                                                  + + Permalink + + +

                                                  Close the FileWriter.

                                                  Close the FileWriter. +

                                                  Definition Classes
                                                  FileStreamWriter → BaseWriter
                                                  +
                                                7. + + +

                                                  + + final + def + + + eq(arg0: AnyRef): Boolean + +

                                                  + + Permalink + + +
                                                  Definition Classes
                                                  AnyRef
                                                  +
                                                8. + + +

                                                  + + + def + + + equals(arg0: Any): Boolean + +

                                                  + + Permalink + + +
                                                  Definition Classes
                                                  AnyRef → Any
                                                  +
                                                9. + + +

                                                  + + + def + + + finalize(): Unit + +

                                                  + + Permalink + + +
                                                  Attributes
                                                  protected[java.lang]
                                                  Definition Classes
                                                  AnyRef
                                                  Annotations
                                                  + @throws( + + classOf[java.lang.Throwable] + ) + +
                                                  +
                                                10. + + +

                                                  + + final + def + + + getClass(): Class[_] + +

                                                  + + Permalink + + +
                                                  Definition Classes
                                                  AnyRef → Any
                                                  +
                                                11. + + +

                                                  + + + def + + + hashCode(): Int + +

                                                  + + Permalink + + +
                                                  Definition Classes
                                                  AnyRef → Any
                                                  +
                                                12. + + +

                                                  + + final + def + + + isInstanceOf[T0]: Boolean + +

                                                  + + Permalink + + +
                                                  Definition Classes
                                                  Any
                                                  +
                                                13. + + +

                                                  + + + val + + + logger: Logger + +

                                                  + + Permalink + + +
                                                  Attributes
                                                  protected
                                                  Definition Classes
                                                  Logging
                                                  +
                                                14. + + +

                                                  + + final + def + + + ne(arg0: AnyRef): Boolean + +

                                                  + + Permalink + + +
                                                  Definition Classes
                                                  AnyRef
                                                  +
                                                15. + + +

                                                  + + final + def + + + notify(): Unit + +

                                                  + + Permalink + + +
                                                  Definition Classes
                                                  AnyRef
                                                  +
                                                16. + + +

                                                  + + final + def + + + notifyAll(): Unit + +

                                                  + + Permalink + + +
                                                  Definition Classes
                                                  AnyRef
                                                  +
                                                17. + + +

                                                  + + + val + + + o: StreamWriterInfo + +

                                                  + + Permalink + + +

                                                  Object that contains message + ksb.csle.common.proto.DatasourceProto.FileStreamWriterInfo + FileStreamWriterInfo contains attributes as follows:

                                                  Object that contains message + ksb.csle.common.proto.DatasourceProto.FileStreamWriterInfo + FileStreamWriterInfo contains attributes as follows:

                                                  • filePath: file path where writes records (required)
                                                  • fileType: file type, default is 'CSV' (optional)
                                                  • header: true if has a header line (optional)
                                                  • saveMode: specify the expected behavior of saving a DataFrame to a data source, default is 'OVERWRITE' (optional)

                                                  FileInfo

                                                  message FileStreamWriterInfo {
                                                  +  enum FileType {
                                                  +      CSV = 0;
                                                  +      JSON = 1;
                                                  +      PARQUET = 2;
                                                  +      TEXT = 3;
                                                  +  }
                                                  +  enum SaveMode {
                                                  +      APPEND = 0;
                                                  +      OVERWRITE = 1;
                                                  +      ERROR_IF_EXISTS = 2;
                                                  +      IGNORE = 3;
                                                  +  }
                                                  +  required string filePath = 1;
                                                  +  optional FileType fileType = 2 [default = CSV];
                                                  +  optional bool header = 3 [default = true];
                                                  +  optional SaveMode saveMode = 4 [default = OVERWRITE];
                                                  +}
                                                  +
                                                18. + + +

                                                  + + final + def + + + synchronized[T0](arg0: ⇒ T0): T0 + +

                                                  + + Permalink + + +
                                                  Definition Classes
                                                  AnyRef
                                                  +
                                                19. + + +

                                                  + + + def + + + toString(): String + +

                                                  + + Permalink + + +
                                                  Definition Classes
                                                  AnyRef → Any
                                                  +
                                                20. + + +

                                                  + + final + def + + + wait(): Unit + +

                                                  + + Permalink + + +
                                                  Definition Classes
                                                  AnyRef
                                                  Annotations
                                                  + @throws( + + ... + ) + +
                                                  +
                                                21. + + +

                                                  + + final + def + + + wait(arg0: Long, arg1: Int): Unit + +

                                                  + + Permalink + + +
                                                  Definition Classes
                                                  AnyRef
                                                  Annotations
                                                  + @throws( + + ... + ) + +
                                                  +
                                                22. + + +

                                                  + + final + def + + + wait(arg0: Long): Unit + +

                                                  + + Permalink + + +
                                                  Definition Classes
                                                  AnyRef
                                                  Annotations
                                                  + @throws( + + ... + ) + +
                                                  +
                                                23. + + +

                                                  + + + def + + + write(df: DataFrame): Unit + +

                                                  + + Permalink + + +

                                                  Save DataFrame to the file.

                                                  Save DataFrame to the file. +

                                                  Definition Classes
                                                  FileStreamWriter → BaseWriter
                                                  +
                                                24. + + +

                                                  + + + def + + + write(s: StreamingContext, d: DataFrame): Any + +

                                                  + + Permalink + + +
                                                  Definition Classes
                                                  BaseWriter
                                                  Annotations
                                                  + @DeveloperApi() + +
                                                  +
                                                +
                                                + + + + +
                                                + +
                                                +
                                                +

                                                Inherited from BaseWriter[DataFrame, StreamWriterInfo, StreamingContext]

                                                +
                                                +

                                                Inherited from BaseDoer

                                                +
                                                +

                                                Inherited from Logging

                                                +
                                                +

                                                Inherited from Serializable

                                                +
                                                +

                                                Inherited from Serializable

                                                +
                                                +

                                                Inherited from AnyRef

                                                +
                                                +

                                                Inherited from Any

                                                +
                                                + +
                                                + +
                                                +
                                                +

                                                Ungrouped

                                                + +
                                                +
                                                + +
                                                + +
                                                + + + + + + diff --git a/manual1903/api_reference/components/scaladocs/ksb/csle/component/writer/FileWriter$.html b/manual1903/api_reference/components/scaladocs/ksb/csle/component/writer/FileWriter$.html new file mode 100644 index 0000000000000000000000000000000000000000..eb4fbf73c461aa0db6b2d3979b5c4c3b25390770 --- /dev/null +++ b/manual1903/api_reference/components/scaladocs/ksb/csle/component/writer/FileWriter$.html @@ -0,0 +1,505 @@ + + + + FileWriter - KSB COMPONENTS Scala App Project 1.0-SNAPSHOT API - ksb.csle.component.writer.FileWriter + + + + + + + + + + + + + + + + + +

                                                + + + object + + + FileWriter extends Serializable + +

                                                + +
                                                + Linear Supertypes +
                                                Serializable, Serializable, AnyRef, Any
                                                +
                                                + + +
                                                +
                                                +
                                                + Ordering +
                                                  + +
                                                1. Alphabetic
                                                2. +
                                                3. By Inheritance
                                                4. +
                                                +
                                                +
                                                + Inherited
                                                +
                                                +
                                                  +
                                                1. FileWriter
                                                2. Serializable
                                                3. Serializable
                                                4. AnyRef
                                                5. Any
                                                6. +
                                                +
                                                + +
                                                  +
                                                1. Hide All
                                                2. +
                                                3. Show All
                                                4. +
                                                +
                                                +
                                                + Visibility +
                                                1. Public
                                                2. All
                                                +
                                                +
                                                + +
                                                +
                                                + + + + + + +
                                                +

                                                Value Members

                                                +
                                                1. + + +

                                                  + + final + def + + + !=(arg0: Any): Boolean + +

                                                  + + Permalink + + +
                                                  Definition Classes
                                                  AnyRef → Any
                                                  +
                                                2. + + +

                                                  + + final + def + + + ##(): Int + +

                                                  + + Permalink + + +
                                                  Definition Classes
                                                  AnyRef → Any
                                                  +
                                                3. + + +

                                                  + + final + def + + + ==(arg0: Any): Boolean + +

                                                  + + Permalink + + +
                                                  Definition Classes
                                                  AnyRef → Any
                                                  +
                                                4. + + +

                                                  + + + def + + + apply(o: BatchWriterInfo): FileWriter + +

                                                  + + Permalink + + + +
                                                5. + + +

                                                  + + final + def + + + asInstanceOf[T0]: T0 + +

                                                  + + Permalink + + +
                                                  Definition Classes
                                                  Any
                                                  +
                                                6. + + +

                                                  + + + def + + + clone(): AnyRef + +

                                                  + + Permalink + + +
                                                  Attributes
                                                  protected[java.lang]
                                                  Definition Classes
                                                  AnyRef
                                                  Annotations
                                                  + @throws( + + ... + ) + +
                                                  +
                                                7. + + +

                                                  + + final + def + + + eq(arg0: AnyRef): Boolean + +

                                                  + + Permalink + + +
                                                  Definition Classes
                                                  AnyRef
                                                  +
                                                8. + + +

                                                  + + + def + + + equals(arg0: Any): Boolean + +

                                                  + + Permalink + + +
                                                  Definition Classes
                                                  AnyRef → Any
                                                  +
                                                9. + + +

                                                  + + + def + + + finalize(): Unit + +

                                                  + + Permalink + + +
                                                  Attributes
                                                  protected[java.lang]
                                                  Definition Classes
                                                  AnyRef
                                                  Annotations
                                                  + @throws( + + classOf[java.lang.Throwable] + ) + +
                                                  +
                                                10. + + +

                                                  + + final + def + + + getClass(): Class[_] + +

                                                  + + Permalink + + +
                                                  Definition Classes
                                                  AnyRef → Any
                                                  +
                                                11. + + +

                                                  + + + def + + + hashCode(): Int + +

                                                  + + Permalink + + +
                                                  Definition Classes
                                                  AnyRef → Any
                                                  +
                                                12. + + +

                                                  + + final + def + + + isInstanceOf[T0]: Boolean + +

                                                  + + Permalink + + +
                                                  Definition Classes
                                                  Any
                                                  +
                                                13. + + +

                                                  + + final + def + + + ne(arg0: AnyRef): Boolean + +

                                                  + + Permalink + + +
                                                  Definition Classes
                                                  AnyRef
                                                  +
                                                14. + + +

                                                  + + final + def + + + notify(): Unit + +

                                                  + + Permalink + + +
                                                  Definition Classes
                                                  AnyRef
                                                  +
                                                15. + + +

                                                  + + final + def + + + notifyAll(): Unit + +

                                                  + + Permalink + + +
                                                  Definition Classes
                                                  AnyRef
                                                  +
                                                16. + + +

                                                  + + final + def + + + synchronized[T0](arg0: ⇒ T0): T0 + +

                                                  + + Permalink + + +
                                                  Definition Classes
                                                  AnyRef
                                                  +
                                                17. + + +

                                                  + + + def + + + toString(): String + +

                                                  + + Permalink + + +
                                                  Definition Classes
                                                  AnyRef → Any
                                                  +
                                                18. + + +

                                                  + + final + def + + + wait(): Unit + +

                                                  + + Permalink + + +
                                                  Definition Classes
                                                  AnyRef
                                                  Annotations
                                                  + @throws( + + ... + ) + +
                                                  +
                                                19. + + +

                                                  + + final + def + + + wait(arg0: Long, arg1: Int): Unit + +

                                                  + + Permalink + + +
                                                  Definition Classes
                                                  AnyRef
                                                  Annotations
                                                  + @throws( + + ... + ) + +
                                                  +
                                                20. + + +

                                                  + + final + def + + + wait(arg0: Long): Unit + +

                                                  + + Permalink + + +
                                                  Definition Classes
                                                  AnyRef
                                                  Annotations
                                                  + @throws( + + ... + ) + +
                                                  +
                                                +
                                                + + + + +
                                                + +
                                                +
                                                +

                                                Inherited from Serializable

                                                +
                                                +

                                                Inherited from Serializable

                                                +
                                                +

                                                Inherited from AnyRef

                                                +
                                                +

                                                Inherited from Any

                                                +
                                                + +
                                                + +
                                                +
                                                +

                                                Ungrouped

                                                + +
                                                +
                                                + +
                                                + +
                                                + + + + + + diff --git a/manual1903/api_reference/components/scaladocs/ksb/csle/component/writer/FileWriter.html b/manual1903/api_reference/components/scaladocs/ksb/csle/component/writer/FileWriter.html new file mode 100644 index 0000000000000000000000000000000000000000..29411a51745e529ea383e20f187314e33113c0d2 --- /dev/null +++ b/manual1903/api_reference/components/scaladocs/ksb/csle/component/writer/FileWriter.html @@ -0,0 +1,649 @@ + + + + FileWriter - KSB COMPONENTS Scala App Project 1.0-SNAPSHOT API - ksb.csle.component.writer.FileWriter + + + + + + + + + + + + + + + + + +

                                                + + + class + + + FileWriter extends BaseWriter[DataFrame, BatchWriterInfo, SparkSession] + +

                                                + +

                                                :: ApplicationDeveloperApi ::

                                                Writer that saves DataFrame to a file. +

                                                + Linear Supertypes +
                                                BaseWriter[DataFrame, BatchWriterInfo, SparkSession], BaseDoer, Logging, Serializable, Serializable, AnyRef, Any
                                                +
                                                + + +
                                                +
                                                +
                                                + Ordering +
                                                  + +
                                                1. Alphabetic
                                                2. +
                                                3. By Inheritance
                                                4. +
                                                +
                                                +
                                                + Inherited
                                                +
                                                +
                                                  +
                                                1. FileWriter
                                                2. BaseWriter
                                                3. BaseDoer
                                                4. Logging
                                                5. Serializable
                                                6. Serializable
                                                7. AnyRef
                                                8. Any
                                                9. +
                                                +
                                                + +
                                                  +
                                                1. Hide All
                                                2. +
                                                3. Show All
                                                4. +
                                                +
                                                +
                                                + Visibility +
                                                1. Public
                                                2. All
                                                +
                                                +
                                                + +
                                                +
                                                +
                                                +

                                                Instance Constructors

                                                +
                                                1. + + +

                                                  + + + new + + + FileWriter(o: BatchWriterInfo) + +

                                                  + + Permalink + + +

                                                  o

                                                  Object that contains message + ksb.csle.common.proto.DatasourceProto.FileInfo + FileInfo contains attributes as follows:

                                                  • filePath: File path where writes records (required)
                                                  • fileType: File type (optional)
                                                  • delimiter: Delimiter of each field (optional)
                                                  • field: Schema of input record (optional)
                                                  • header: True if has a header line (optional)
                                                  • saveMode: specify the expected behavior of saving a DataFrame to a data source. (optional)

                                                  FileInfo

                                                  message FileInfo {
                                                  +  repeated string filePath = 1;
                                                  +  optional FileType fileType = 2 [default = JSON];
                                                  +  optional string delimiter = 3 [default = ","];
                                                  +  repeated FieldInfo field = 4;
                                                  +  optional bool header = 5 [default = false];
                                                  +  optional SaveMode saveMode = 6 [default = OVERWRITE];
                                                  +  enum FileType {
                                                  +    CSV = 0;
                                                  +    JSON = 1;
                                                  +    PARQUET = 2;
                                                  +    TEXT = 3;
                                                  +  }
                                                  +  enum SaveMode {
                                                  +    APPEND = 0;
                                                  +    OVERWRITE = 1;
                                                  +    ERROR_IF_EXISTS = 2;
                                                  +   IGNORE = 3;
                                                  +  }
                                                  +}
                                                  +
                                                +
                                                + + + + + +
                                                +

                                                Value Members

                                                +
                                                1. + + +

                                                  + + final + def + + + !=(arg0: Any): Boolean + +

                                                  + + Permalink + + +
                                                  Definition Classes
                                                  AnyRef → Any
                                                  +
                                                2. + + +

                                                  + + final + def + + + ##(): Int + +

                                                  + + Permalink + + +
                                                  Definition Classes
                                                  AnyRef → Any
                                                  +
                                                3. + + +

                                                  + + final + def + + + ==(arg0: Any): Boolean + +

                                                  + + Permalink + + +
                                                  Definition Classes
                                                  AnyRef → Any
                                                  +
                                                4. + + +

                                                  + + final + def + + + asInstanceOf[T0]: T0 + +

                                                  + + Permalink + + +
                                                  Definition Classes
                                                  Any
                                                  +
                                                5. + + +

                                                  + + + def + + + clone(): AnyRef + +

                                                  + + Permalink + + +
                                                  Attributes
                                                  protected[java.lang]
                                                  Definition Classes
                                                  AnyRef
                                                  Annotations
                                                  + @throws( + + ... + ) + +
                                                  +
                                                6. + + +

                                                  + + + def + + + close: Unit + +

                                                  + + Permalink + + +

                                                  Close the FileWriter.

                                                  Close the FileWriter. +

                                                  Definition Classes
                                                  FileWriter → BaseWriter
                                                  +
                                                7. + + +

                                                  + + final + def + + + eq(arg0: AnyRef): Boolean + +

                                                  + + Permalink + + +
                                                  Definition Classes
                                                  AnyRef
                                                  +
                                                8. + + +

                                                  + + + def + + + equals(arg0: Any): Boolean + +

                                                  + + Permalink + + +
                                                  Definition Classes
                                                  AnyRef → Any
                                                  +
                                                9. + + +

                                                  + + + def + + + finalize(): Unit + +

                                                  + + Permalink + + +
                                                  Attributes
                                                  protected[java.lang]
                                                  Definition Classes
                                                  AnyRef
                                                  Annotations
                                                  + @throws( + + classOf[java.lang.Throwable] + ) + +
                                                  +
                                                10. + + +

                                                  + + final + def + + + getClass(): Class[_] + +

                                                  + + Permalink + + +
                                                  Definition Classes
                                                  AnyRef → Any
                                                  +
                                                11. + + +

                                                  + + + def + + + hashCode(): Int + +

                                                  + + Permalink + + +
                                                  Definition Classes
                                                  AnyRef → Any
                                                  +
                                                12. + + +

                                                  + + final + def + + + isInstanceOf[T0]: Boolean + +

                                                  + + Permalink + + +
                                                  Definition Classes
                                                  Any
                                                  +
                                                13. + + +

                                                  + + + val + + + logger: Logger + +

                                                  + + Permalink + + +
                                                  Attributes
                                                  protected
                                                  Definition Classes
                                                  Logging
                                                  +
                                                14. + + +

                                                  + + final + def + + + ne(arg0: AnyRef): Boolean + +

                                                  + + Permalink + + +
                                                  Definition Classes
                                                  AnyRef
                                                  +
                                                15. + + +

                                                  + + final + def + + + notify(): Unit + +

                                                  + + Permalink + + +
                                                  Definition Classes
                                                  AnyRef
                                                  +
                                                16. + + +

                                                  + + final + def + + + notifyAll(): Unit + +

                                                  + + Permalink + + +
                                                  Definition Classes
                                                  AnyRef
                                                  +
                                                17. + + +

                                                  + + + val + + + o: BatchWriterInfo + +

                                                  + + Permalink + + +

                                                  Object that contains message + ksb.csle.common.proto.DatasourceProto.FileInfo + FileInfo contains attributes as follows:

                                                  Object that contains message + ksb.csle.common.proto.DatasourceProto.FileInfo + FileInfo contains attributes as follows:

                                                  • filePath: File path where writes records (required)
                                                  • fileType: File type (optional)
                                                  • delimiter: Delimiter of each field (optional)
                                                  • field: Schema of input record (optional)
                                                  • header: True if has a header line (optional)
                                                  • saveMode: specify the expected behavior of saving a DataFrame to a data source. (optional)

                                                  FileInfo

                                                  message FileInfo {
                                                  +  repeated string filePath = 1;
                                                  +  optional FileType fileType = 2 [default = JSON];
                                                  +  optional string delimiter = 3 [default = ","];
                                                  +  repeated FieldInfo field = 4;
                                                  +  optional bool header = 5 [default = false];
                                                  +  optional SaveMode saveMode = 6 [default = OVERWRITE];
                                                  +  enum FileType {
                                                  +    CSV = 0;
                                                  +    JSON = 1;
                                                  +    PARQUET = 2;
                                                  +    TEXT = 3;
                                                  +  }
                                                  +  enum SaveMode {
                                                  +    APPEND = 0;
                                                  +    OVERWRITE = 1;
                                                  +    ERROR_IF_EXISTS = 2;
                                                  +   IGNORE = 3;
                                                  +  }
                                                  +}
                                                  +
                                                18. + + +

                                                  + + final + def + + + synchronized[T0](arg0: ⇒ T0): T0 + +

                                                  + + Permalink + + +
                                                  Definition Classes
                                                  AnyRef
                                                  +
                                                19. + + +

                                                  + + + def + + + toString(): String + +

                                                  + + Permalink + + +
                                                  Definition Classes
                                                  AnyRef → Any
                                                  +
                                                20. + + +

                                                  + + final + def + + + wait(): Unit + +

                                                  + + Permalink + + +
                                                  Definition Classes
                                                  AnyRef
                                                  Annotations
                                                  + @throws( + + ... + ) + +
                                                  +
                                                21. + + +

                                                  + + final + def + + + wait(arg0: Long, arg1: Int): Unit + +

                                                  + + Permalink + + +
                                                  Definition Classes
                                                  AnyRef
                                                  Annotations
                                                  + @throws( + + ... + ) + +
                                                  +
                                                22. + + +

                                                  + + final + def + + + wait(arg0: Long): Unit + +

                                                  + + Permalink + + +
                                                  Definition Classes
                                                  AnyRef
                                                  Annotations
                                                  + @throws( + + ... + ) + +
                                                  +
                                                23. + + +

                                                  + + + def + + + write(d: DataFrame): Unit + +

                                                  + + Permalink + + +

                                                  Save DataFrame to the file.

                                                  Save DataFrame to the file. +

                                                  d

                                                  DataFrame to save

                                                  Definition Classes
                                                  FileWriter → BaseWriter
                                                  +
                                                24. + + +

                                                  + + + def + + + write(s: SparkSession, d: DataFrame): Any + +

                                                  + + Permalink + + +
                                                  Definition Classes
                                                  BaseWriter
                                                  Annotations
                                                  + @DeveloperApi() + +
                                                  +
                                                +
                                                + + + + +
                                                + +
                                                +
                                                +

                                                Inherited from BaseWriter[DataFrame, BatchWriterInfo, SparkSession]

                                                +
                                                +

                                                Inherited from BaseDoer

                                                +
                                                +

                                                Inherited from Logging

                                                +
                                                +

                                                Inherited from Serializable

                                                +
                                                +

                                                Inherited from Serializable

                                                +
                                                +

                                                Inherited from AnyRef

                                                +
                                                +

                                                Inherited from Any

                                                +
                                                + +
                                                + +
                                                +
                                                +

                                                Ungrouped

                                                + +
                                                +
                                                + +
                                                + +
                                                + + + + + + diff --git a/manual1903/api_reference/components/scaladocs/ksb/csle/component/writer/HttpClientWriter.html b/manual1903/api_reference/components/scaladocs/ksb/csle/component/writer/HttpClientWriter.html new file mode 100644 index 0000000000000000000000000000000000000000..814392176e545f7da752e93975e2b99f1322534e --- /dev/null +++ b/manual1903/api_reference/components/scaladocs/ksb/csle/component/writer/HttpClientWriter.html @@ -0,0 +1,659 @@ + + + + HttpClientWriter - KSB COMPONENTS Scala App Project 1.0-SNAPSHOT API - ksb.csle.component.writer.HttpClientWriter + + + + + + + + + + + + + + + +
                                                + Class +

                                                ksb.csle.component.writer

                                                +

                                                HttpClientWriter

                                                Related Doc: + package writer +

                                                + + Permalink + + +
                                                + +

                                                + + + class + + + HttpClientWriter extends BaseWriter[DataFrame, StreamWriterInfo, SparkSession] + +

                                                + +

                                                :: ApplicationDeveloperApi ::

                                                Writer that send spark output stream to a http server +

                                                + Linear Supertypes +
                                                BaseWriter[DataFrame, StreamWriterInfo, SparkSession], BaseDoer, Logging, Serializable, Serializable, AnyRef, Any
                                                +
                                                + + +
                                                +
                                                +
                                                + Ordering +
                                                  + +
                                                1. Alphabetic
                                                2. +
                                                3. By Inheritance
                                                4. +
                                                +
                                                +
                                                + Inherited
                                                +
                                                +
                                                  +
                                                1. HttpClientWriter
                                                2. BaseWriter
                                                3. BaseDoer
                                                4. Logging
                                                5. Serializable
                                                6. Serializable
                                                7. AnyRef
                                                8. Any
                                                9. +
                                                +
                                                + +
                                                  +
                                                1. Hide All
                                                2. +
                                                3. Show All
                                                4. +
                                                +
                                                +
                                                + Visibility +
                                                1. Public
                                                2. All
                                                +
                                                +
                                                + +
                                                +
                                                +
                                                +

                                                Instance Constructors

                                                +
                                                1. + + +

                                                  + + + new + + + HttpClientWriter(o: StreamWriterInfo) + +

                                                  + + Permalink + + +

                                                  o

                                                  Object that contains message + ksb.csle.common.proto.DatasourceProto.HttpClientInfo + HttpClientInfo contains attributes as follows:

                                                  • url: http server url includes hostname, port and path (required)
                                                  • method: Http request primitives (required)
                                                  • hader: http request headers (optional, repeated)
                                                  • param: http request params (optional, repeated)
                                                  • body: http request body. To be provided when send a post or put request (optional)
                                                  • srcColumnName: column to send (optional)

                                                  HttpClientInfo

                                                  message HttpClientInfo {
                                                  +  required string url = 1;
                                                  +  required Method method = 2;
                                                  +  enum Method {
                                                  +    POST = 1;
                                                  +    GET = 2;
                                                  +    PUT = 3;
                                                  +    DELETE = 4;
                                                  +  }
                                                  +  repeated HttpParam header = 3;
                                                  +  repeated HttpParam param = 4;
                                                  +  optional string body = 5;
                                                  +  optional string srcColumnName = 6;
                                                  +}
                                                  +message HttpParam {
                                                  +  required string key = 1;
                                                  +  required string value = 2;
                                                  +}
                                                  +
                                                +
                                                + + + + + +
                                                +

                                                Value Members

                                                +
                                                1. + + +

                                                  + + final + def + + + !=(arg0: Any): Boolean + +

                                                  + + Permalink + + +
                                                  Definition Classes
                                                  AnyRef → Any
                                                  +
                                                2. + + +

                                                  + + final + def + + + ##(): Int + +

                                                  + + Permalink + + +
                                                  Definition Classes
                                                  AnyRef → Any
                                                  +
                                                3. + + +

                                                  + + final + def + + + ==(arg0: Any): Boolean + +

                                                  + + Permalink + + +
                                                  Definition Classes
                                                  AnyRef → Any
                                                  +
                                                4. + + +

                                                  + + + val + + + REQUEST_TIMEOUT: FiniteDuration + +

                                                  + + Permalink + + + +
                                                5. + + +

                                                  + + final + def + + + asInstanceOf[T0]: T0 + +

                                                  + + Permalink + + +
                                                  Definition Classes
                                                  Any
                                                  +
                                                6. + + +

                                                  + + + def + + + clone(): AnyRef + +

                                                  + + Permalink + + +
                                                  Attributes
                                                  protected[java.lang]
                                                  Definition Classes
                                                  AnyRef
                                                  Annotations
                                                  + @throws( + + ... + ) + +
                                                  +
                                                7. + + +

                                                  + + + def + + + close: Any + +

                                                  + + Permalink + + +
                                                  Definition Classes
                                                  HttpClientWriter → BaseWriter
                                                  +
                                                8. + + +

                                                  + + final + def + + + eq(arg0: AnyRef): Boolean + +

                                                  + + Permalink + + +
                                                  Definition Classes
                                                  AnyRef
                                                  +
                                                9. + + +

                                                  + + + def + + + equals(arg0: Any): Boolean + +

                                                  + + Permalink + + +
                                                  Definition Classes
                                                  AnyRef → Any
                                                  +
                                                10. + + +

                                                  + + + def + + + finalize(): Unit + +

                                                  + + Permalink + + +
                                                  Attributes
                                                  protected[java.lang]
                                                  Definition Classes
                                                  AnyRef
                                                  Annotations
                                                  + @throws( + + classOf[java.lang.Throwable] + ) + +
                                                  +
                                                11. + + +

                                                  + + final + def + + + getClass(): Class[_] + +

                                                  + + Permalink + + +
                                                  Definition Classes
                                                  AnyRef → Any
                                                  +
                                                12. + + +

                                                  + + + def + + + hashCode(): Int + +

                                                  + + Permalink + + +
                                                  Definition Classes
                                                  AnyRef → Any
                                                  +
                                                13. + + +

                                                  + + final + def + + + isInstanceOf[T0]: Boolean + +

                                                  + + Permalink + + +
                                                  Definition Classes
                                                  Any
                                                  +
                                                14. + + +

                                                  + + + val + + + logger: Logger + +

                                                  + + Permalink + + +
                                                  Attributes
                                                  protected
                                                  Definition Classes
                                                  Logging
                                                  +
                                                15. + + +

                                                  + + final + def + + + ne(arg0: AnyRef): Boolean + +

                                                  + + Permalink + + +
                                                  Definition Classes
                                                  AnyRef
                                                  +
                                                16. + + +

                                                  + + final + def + + + notify(): Unit + +

                                                  + + Permalink + + +
                                                  Definition Classes
                                                  AnyRef
                                                  +
                                                17. + + +

                                                  + + final + def + + + notifyAll(): Unit + +

                                                  + + Permalink + + +
                                                  Definition Classes
                                                  AnyRef
                                                  +
                                                18. + + +

                                                  + + + val + + + o: StreamWriterInfo + +

                                                  + + Permalink + + +

                                                  Object that contains message + ksb.csle.common.proto.DatasourceProto.HttpClientInfo + HttpClientInfo contains attributes as follows:

                                                  Object that contains message + ksb.csle.common.proto.DatasourceProto.HttpClientInfo + HttpClientInfo contains attributes as follows:

                                                  • url: http server url includes hostname, port and path (required)
                                                  • method: Http request primitives (required)
                                                  • hader: http request headers (optional, repeated)
                                                  • param: http request params (optional, repeated)
                                                  • body: http request body. To be provided when send a post or put request (optional)
                                                  • srcColumnName: column to send (optional)

                                                  HttpClientInfo

                                                  message HttpClientInfo {
                                                  +  required string url = 1;
                                                  +  required Method method = 2;
                                                  +  enum Method {
                                                  +    POST = 1;
                                                  +    GET = 2;
                                                  +    PUT = 3;
                                                  +    DELETE = 4;
                                                  +  }
                                                  +  repeated HttpParam header = 3;
                                                  +  repeated HttpParam param = 4;
                                                  +  optional string body = 5;
                                                  +  optional string srcColumnName = 6;
                                                  +}
                                                  +message HttpParam {
                                                  +  required string key = 1;
                                                  +  required string value = 2;
                                                  +}
                                                  +
                                                19. + + +

                                                  + + final + def + + + synchronized[T0](arg0: ⇒ T0): T0 + +

                                                  + + Permalink + + +
                                                  Definition Classes
                                                  AnyRef
                                                  +
                                                20. + + +

                                                  + + + def + + + toString(): String + +

                                                  + + Permalink + + +
                                                  Definition Classes
                                                  AnyRef → Any
                                                  +
                                                21. + + +

                                                  + + final + def + + + wait(): Unit + +

                                                  + + Permalink + + +
                                                  Definition Classes
                                                  AnyRef
                                                  Annotations
                                                  + @throws( + + ... + ) + +
                                                  +
                                                22. + + +

                                                  + + final + def + + + wait(arg0: Long, arg1: Int): Unit + +

                                                  + + Permalink + + +
                                                  Definition Classes
                                                  AnyRef
                                                  Annotations
                                                  + @throws( + + ... + ) + +
                                                  +
                                                23. + + +

                                                  + + final + def + + + wait(arg0: Long): Unit + +

                                                  + + Permalink + + +
                                                  Definition Classes
                                                  AnyRef
                                                  Annotations
                                                  + @throws( + + ... + ) + +
                                                  +
                                                24. + + +

                                                  + + + def + + + write(df: DataFrame): Any + +

                                                  + + Permalink + + +

                                                  Operates Write out.

                                                  Operates Write out. +

                                                  df

                                                  Input dataframe

                                                  returns

                                                  Any http response message

                                                  Definition Classes
                                                  HttpClientWriter → BaseWriter
                                                  +
                                                25. + + +

                                                  + + + def + + + write(s: SparkSession, d: DataFrame): Any + +

                                                  + + Permalink + + +
                                                  Definition Classes
                                                  BaseWriter
                                                  Annotations
                                                  + @DeveloperApi() + +
                                                  +
                                                +
                                                + + + + +
                                                + +
                                                +
                                                +

                                                Inherited from BaseWriter[DataFrame, StreamWriterInfo, SparkSession]

                                                +
                                                +

                                                Inherited from BaseDoer

                                                +
                                                +

                                                Inherited from Logging

                                                +
                                                +

                                                Inherited from Serializable

                                                +
                                                +

                                                Inherited from Serializable

                                                +
                                                +

                                                Inherited from AnyRef

                                                +
                                                +

                                                Inherited from Any

                                                +
                                                + +
                                                + +
                                                +
                                                +

                                                Ungrouped

                                                + +
                                                +
                                                + +
                                                + +
                                                + + + + + + diff --git a/manual1903/api_reference/components/scaladocs/ksb/csle/component/writer/KafkaWriter$.html b/manual1903/api_reference/components/scaladocs/ksb/csle/component/writer/KafkaWriter$.html new file mode 100644 index 0000000000000000000000000000000000000000..334665cde129d200b7e011926f6430d316a82e09 --- /dev/null +++ b/manual1903/api_reference/components/scaladocs/ksb/csle/component/writer/KafkaWriter$.html @@ -0,0 +1,505 @@ + + + + KafkaWriter - KSB COMPONENTS Scala App Project 1.0-SNAPSHOT API - ksb.csle.component.writer.KafkaWriter + + + + + + + + + + + + + + + + + +

                                                + + + object + + + KafkaWriter extends Serializable + +

                                                + +
                                                + Linear Supertypes +
                                                Serializable, Serializable, AnyRef, Any
                                                +
                                                + + +
                                                +
                                                +
                                                + Ordering +
                                                  + +
                                                1. Alphabetic
                                                2. +
                                                3. By Inheritance
                                                4. +
                                                +
                                                +
                                                + Inherited
                                                +
                                                +
                                                  +
                                                1. KafkaWriter
                                                2. Serializable
                                                3. Serializable
                                                4. AnyRef
                                                5. Any
                                                6. +
                                                +
                                                + +
                                                  +
                                                1. Hide All
                                                2. +
                                                3. Show All
                                                4. +
                                                +
                                                +
                                                + Visibility +
                                                1. Public
                                                2. All
                                                +
                                                +
                                                + +
                                                +
                                                + + + + + + +
                                                +

                                                Value Members

                                                +
                                                1. + + +

                                                  + + final + def + + + !=(arg0: Any): Boolean + +

                                                  + + Permalink + + +
                                                  Definition Classes
                                                  AnyRef → Any
                                                  +
                                                2. + + +

                                                  + + final + def + + + ##(): Int + +

                                                  + + Permalink + + +
                                                  Definition Classes
                                                  AnyRef → Any
                                                  +
                                                3. + + +

                                                  + + final + def + + + ==(arg0: Any): Boolean + +

                                                  + + Permalink + + +
                                                  Definition Classes
                                                  AnyRef → Any
                                                  +
                                                4. + + +

                                                  + + + def + + + apply(o: StreamWriterInfo): KafkaWriter + +

                                                  + + Permalink + + + +
                                                5. + + +

                                                  + + final + def + + + asInstanceOf[T0]: T0 + +

                                                  + + Permalink + + +
                                                  Definition Classes
                                                  Any
                                                  +
                                                6. + + +

                                                  + + + def + + + clone(): AnyRef + +

                                                  + + Permalink + + +
                                                  Attributes
                                                  protected[java.lang]
                                                  Definition Classes
                                                  AnyRef
                                                  Annotations
                                                  + @throws( + + ... + ) + +
                                                  +
                                                7. + + +

                                                  + + final + def + + + eq(arg0: AnyRef): Boolean + +

                                                  + + Permalink + + +
                                                  Definition Classes
                                                  AnyRef
                                                  +
                                                8. + + +

                                                  + + + def + + + equals(arg0: Any): Boolean + +

                                                  + + Permalink + + +
                                                  Definition Classes
                                                  AnyRef → Any
                                                  +
                                                9. + + +

                                                  + + + def + + + finalize(): Unit + +

                                                  + + Permalink + + +
                                                  Attributes
                                                  protected[java.lang]
                                                  Definition Classes
                                                  AnyRef
                                                  Annotations
                                                  + @throws( + + classOf[java.lang.Throwable] + ) + +
                                                  +
                                                10. + + +

                                                  + + final + def + + + getClass(): Class[_] + +

                                                  + + Permalink + + +
                                                  Definition Classes
                                                  AnyRef → Any
                                                  +
                                                11. + + +

                                                  + + + def + + + hashCode(): Int + +

                                                  + + Permalink + + +
                                                  Definition Classes
                                                  AnyRef → Any
                                                  +
                                                12. + + +

                                                  + + final + def + + + isInstanceOf[T0]: Boolean + +

                                                  + + Permalink + + +
                                                  Definition Classes
                                                  Any
                                                  +
                                                13. + + +

                                                  + + final + def + + + ne(arg0: AnyRef): Boolean + +

                                                  + + Permalink + + +
                                                  Definition Classes
                                                  AnyRef
                                                  +
                                                14. + + +

                                                  + + final + def + + + notify(): Unit + +

                                                  + + Permalink + + +
                                                  Definition Classes
                                                  AnyRef
                                                  +
                                                15. + + +

                                                  + + final + def + + + notifyAll(): Unit + +

                                                  + + Permalink + + +
                                                  Definition Classes
                                                  AnyRef
                                                  +
                                                16. + + +

                                                  + + final + def + + + synchronized[T0](arg0: ⇒ T0): T0 + +

                                                  + + Permalink + + +
                                                  Definition Classes
                                                  AnyRef
                                                  +
                                                17. + + +

                                                  + + + def + + + toString(): String + +

                                                  + + Permalink + + +
                                                  Definition Classes
                                                  AnyRef → Any
                                                  +
                                                18. + + +

                                                  + + final + def + + + wait(): Unit + +

                                                  + + Permalink + + +
                                                  Definition Classes
                                                  AnyRef
                                                  Annotations
                                                  + @throws( + + ... + ) + +
                                                  +
                                                19. + + +

                                                  + + final + def + + + wait(arg0: Long, arg1: Int): Unit + +

                                                  + + Permalink + + +
                                                  Definition Classes
                                                  AnyRef
                                                  Annotations
                                                  + @throws( + + ... + ) + +
                                                  +
                                                20. + + +

                                                  + + final + def + + + wait(arg0: Long): Unit + +

                                                  + + Permalink + + +
                                                  Definition Classes
                                                  AnyRef
                                                  Annotations
                                                  + @throws( + + ... + ) + +
                                                  +
                                                +
                                                + + + + +
                                                + +
                                                +
                                                +

                                                Inherited from Serializable

                                                +
                                                +

                                                Inherited from Serializable

                                                +
                                                +

                                                Inherited from AnyRef

                                                +
                                                +

                                                Inherited from Any

                                                +
                                                + +
                                                + +
                                                +
                                                +

                                                Ungrouped

                                                + +
                                                +
                                                + +
                                                + +
                                                + + + + + + diff --git a/manual1903/api_reference/components/scaladocs/ksb/csle/component/writer/KafkaWriter.html b/manual1903/api_reference/components/scaladocs/ksb/csle/component/writer/KafkaWriter.html new file mode 100644 index 0000000000000000000000000000000000000000..5ce9489f8aac2cfd25d74877564b85b8e72a21bb --- /dev/null +++ b/manual1903/api_reference/components/scaladocs/ksb/csle/component/writer/KafkaWriter.html @@ -0,0 +1,655 @@ + + + + KafkaWriter - KSB COMPONENTS Scala App Project 1.0-SNAPSHOT API - ksb.csle.component.writer.KafkaWriter + + + + + + + + + + + + + + + + + +

                                                + + + class + + + KafkaWriter extends BaseWriter[DataFrame, StreamWriterInfo, StreamingContext] + +

                                                + +

                                                :: ApplicationDeveloperApi ::

                                                Writer that sends DataFrame to Kafka. +

                                                + Linear Supertypes +
                                                BaseWriter[DataFrame, StreamWriterInfo, StreamingContext], BaseDoer, Logging, Serializable, Serializable, AnyRef, Any
                                                +
                                                + + +
                                                +
                                                +
                                                + Ordering +
                                                  + +
                                                1. Alphabetic
                                                2. +
                                                3. By Inheritance
                                                4. +
                                                +
                                                +
                                                + Inherited
                                                +
                                                +
                                                  +
                                                1. KafkaWriter
                                                2. BaseWriter
                                                3. BaseDoer
                                                4. Logging
                                                5. Serializable
                                                6. Serializable
                                                7. AnyRef
                                                8. Any
                                                9. +
                                                +
                                                + +
                                                  +
                                                1. Hide All
                                                2. +
                                                3. Show All
                                                4. +
                                                +
                                                +
                                                + Visibility +
                                                1. Public
                                                2. All
                                                +
                                                +
                                                + +
                                                +
                                                +
                                                +

                                                Instance Constructors

                                                +
                                                1. + + +

                                                  + + + new + + + KafkaWriter(o: StreamWriterInfo) + +

                                                  + + Permalink + + +

                                                  o

                                                  Object that contains message + ksb.csle.common.proto.DatasourceProto.KafkaInfo + KafkaInfo contains attributes as follows:

                                                  • bootStrapServers: Address of Kafka server (required)
                                                  • zooKeeperConnect: Address of Kafka Zookeeper (required)
                                                  • groupId: Group ID of Kafka producers (required)
                                                  • topic: Topic where fetch data (required)

                                                  KafkaInfo

                                                  message KafkaInfo {
                                                  +  required string bootStrapServers = 1;
                                                  +  required string zooKeeperConnect = 2;
                                                  +  required string groupId = 3;
                                                  +  required string topic = 4;
                                                  +}
                                                  +
                                                +
                                                + + + + + +
                                                +

                                                Value Members

                                                +
                                                1. + + +

                                                  + + final + def + + + !=(arg0: Any): Boolean + +

                                                  + + Permalink + + +
                                                  Definition Classes
                                                  AnyRef → Any
                                                  +
                                                2. + + +

                                                  + + final + def + + + ##(): Int + +

                                                  + + Permalink + + +
                                                  Definition Classes
                                                  AnyRef → Any
                                                  +
                                                3. + + +

                                                  + + final + def + + + ==(arg0: Any): Boolean + +

                                                  + + Permalink + + +
                                                  Definition Classes
                                                  AnyRef → Any
                                                  +
                                                4. + + +

                                                  + + final + def + + + asInstanceOf[T0]: T0 + +

                                                  + + Permalink + + +
                                                  Definition Classes
                                                  Any
                                                  +
                                                5. + + +

                                                  + + + def + + + clone(): AnyRef + +

                                                  + + Permalink + + +
                                                  Attributes
                                                  protected[java.lang]
                                                  Definition Classes
                                                  AnyRef
                                                  Annotations
                                                  + @throws( + + ... + ) + +
                                                  +
                                                6. + + +

                                                  + + + def + + + close: Unit + +

                                                  + + Permalink + + +

                                                  Close the connection with Kafka.

                                                  Close the connection with Kafka. +

                                                  Definition Classes
                                                  KafkaWriter → BaseWriter
                                                  +
                                                7. + + +

                                                  + + final + def + + + eq(arg0: AnyRef): Boolean + +

                                                  + + Permalink + + +
                                                  Definition Classes
                                                  AnyRef
                                                  +
                                                8. + + +

                                                  + + + def + + + equals(arg0: Any): Boolean + +

                                                  + + Permalink + + +
                                                  Definition Classes
                                                  AnyRef → Any
                                                  +
                                                9. + + +

                                                  + + + def + + + finalize(): Unit + +

                                                  + + Permalink + + +
                                                  Attributes
                                                  protected[java.lang]
                                                  Definition Classes
                                                  AnyRef
                                                  Annotations
                                                  + @throws( + + classOf[java.lang.Throwable] + ) + +
                                                  +
                                                10. + + +

                                                  + + final + def + + + getClass(): Class[_] + +

                                                  + + Permalink + + +
                                                  Definition Classes
                                                  AnyRef → Any
                                                  +
                                                11. + + +

                                                  + + + def + + + hashCode(): Int + +

                                                  + + Permalink + + +
                                                  Definition Classes
                                                  AnyRef → Any
                                                  +
                                                12. + + +

                                                  + + final + def + + + isInstanceOf[T0]: Boolean + +

                                                  + + Permalink + + +
                                                  Definition Classes
                                                  Any
                                                  +
                                                13. + + +

                                                  + + + val + + + logger: Logger + +

                                                  + + Permalink + + +
                                                  Attributes
                                                  protected
                                                  Definition Classes
                                                  Logging
                                                  +
                                                14. + + +

                                                  + + final + def + + + ne(arg0: AnyRef): Boolean + +

                                                  + + Permalink + + +
                                                  Definition Classes
                                                  AnyRef
                                                  +
                                                15. + + +

                                                  + + final + def + + + notify(): Unit + +

                                                  + + Permalink + + +
                                                  Definition Classes
                                                  AnyRef
                                                  +
                                                16. + + +

                                                  + + final + def + + + notifyAll(): Unit + +

                                                  + + Permalink + + +
                                                  Definition Classes
                                                  AnyRef
                                                  +
                                                17. + + +

                                                  + + + val + + + o: StreamWriterInfo + +

                                                  + + Permalink + + +

                                                  Object that contains message + ksb.csle.common.proto.DatasourceProto.KafkaInfo + KafkaInfo contains attributes as follows:

                                                  Object that contains message + ksb.csle.common.proto.DatasourceProto.KafkaInfo + KafkaInfo contains attributes as follows:

                                                  • bootStrapServers: Address of Kafka server (required)
                                                  • zooKeeperConnect: Address of Kafka Zookeeper (required)
                                                  • groupId: Group ID of Kafka producers (required)
                                                  • topic: Topic where fetch data (required)

                                                  KafkaInfo

                                                  message KafkaInfo {
                                                  +  required string bootStrapServers = 1;
                                                  +  required string zooKeeperConnect = 2;
                                                  +  required string groupId = 3;
                                                  +  required string topic = 4;
                                                  +}
                                                  +
                                                18. + + +

                                                  + + + val + + + p: KafkaInfo + +

                                                  + + Permalink + + + +
                                                19. + + +

                                                  + + + val + + + producer: KafkaProducer[String, String] + +

                                                  + + Permalink + + + +
                                                20. + + +

                                                  + + final + def + + + synchronized[T0](arg0: ⇒ T0): T0 + +

                                                  + + Permalink + + +
                                                  Definition Classes
                                                  AnyRef
                                                  +
                                                21. + + +

                                                  + + + def + + + toString(): String + +

                                                  + + Permalink + + +
                                                  Definition Classes
                                                  AnyRef → Any
                                                  +
                                                22. + + +

                                                  + + final + def + + + wait(): Unit + +

                                                  + + Permalink + + +
                                                  Definition Classes
                                                  AnyRef
                                                  Annotations
                                                  + @throws( + + ... + ) + +
                                                  +
                                                23. + + +

                                                  + + final + def + + + wait(arg0: Long, arg1: Int): Unit + +

                                                  + + Permalink + + +
                                                  Definition Classes
                                                  AnyRef
                                                  Annotations
                                                  + @throws( + + ... + ) + +
                                                  +
                                                24. + + +

                                                  + + final + def + + + wait(arg0: Long): Unit + +

                                                  + + Permalink + + +
                                                  Definition Classes
                                                  AnyRef
                                                  Annotations
                                                  + @throws( + + ... + ) + +
                                                  +
                                                25. + + +

                                                  + + + def + + + write(d: DataFrame): Unit + +

                                                  + + Permalink + + +

                                                  Send DataFrame to the given Kafka topic as JSON format.

                                                  Send DataFrame to the given Kafka topic as JSON format. +

                                                  d

                                                  DataFrame to send

                                                  Definition Classes
                                                  KafkaWriter → BaseWriter
                                                  +
                                                26. + + +

                                                  + + + def + + + write(s: StreamingContext, d: DataFrame): Any + +

                                                  + + Permalink + + +
                                                  Definition Classes
                                                  BaseWriter
                                                  Annotations
                                                  + @DeveloperApi() + +
                                                  +
                                                +
                                                + + + + +
                                                + +
                                                +
                                                +

                                                Inherited from BaseWriter[DataFrame, StreamWriterInfo, StreamingContext]

                                                +
                                                +

                                                Inherited from BaseDoer

                                                +
                                                +

                                                Inherited from Logging

                                                +
                                                +

                                                Inherited from Serializable

                                                +
                                                +

                                                Inherited from Serializable

                                                +
                                                +

                                                Inherited from AnyRef

                                                +
                                                +

                                                Inherited from Any

                                                +
                                                + +
                                                + +
                                                +
                                                +

                                                Ungrouped

                                                + +
                                                +
                                                + +
                                                + +
                                                + + + + + + diff --git a/manual1903/api_reference/components/scaladocs/ksb/csle/component/writer/MongodbWriter.html b/manual1903/api_reference/components/scaladocs/ksb/csle/component/writer/MongodbWriter.html new file mode 100644 index 0000000000000000000000000000000000000000..5ff7c338c1c8e9c3556720fe3ea7dbd959b10456 --- /dev/null +++ b/manual1903/api_reference/components/scaladocs/ksb/csle/component/writer/MongodbWriter.html @@ -0,0 +1,623 @@ + + + + MongodbWriter - KSB COMPONENTS Scala App Project 1.0-SNAPSHOT API - ksb.csle.component.writer.MongodbWriter + + + + + + + + + + + + + + + +
                                                + Class +

                                                ksb.csle.component.writer

                                                +

                                                MongodbWriter

                                                Related Doc: + package writer +

                                                + + Permalink + + +
                                                + +

                                                + + + class + + + MongodbWriter extends BaseWriter[DataFrame, BatchWriterInfo, SparkSession] + +

                                                + +

                                                :: ApplicationDeveloperApi ::

                                                Writer that saves DataFrame to MongoDB. +

                                                + Linear Supertypes +
                                                BaseWriter[DataFrame, BatchWriterInfo, SparkSession], BaseDoer, Logging, Serializable, Serializable, AnyRef, Any
                                                +
                                                + + +
                                                +
                                                +
                                                + Ordering +
                                                  + +
                                                1. Alphabetic
                                                2. +
                                                3. By Inheritance
                                                4. +
                                                +
                                                +
                                                + Inherited
                                                +
                                                +
                                                  +
                                                1. MongodbWriter
                                                2. BaseWriter
                                                3. BaseDoer
                                                4. Logging
                                                5. Serializable
                                                6. Serializable
                                                7. AnyRef
                                                8. Any
                                                9. +
                                                +
                                                + +
                                                  +
                                                1. Hide All
                                                2. +
                                                3. Show All
                                                4. +
                                                +
                                                +
                                                + Visibility +
                                                1. Public
                                                2. All
                                                +
                                                +
                                                + +
                                                +
                                                +
                                                +

                                                Instance Constructors

                                                +
                                                1. + + +

                                                  + + + new + + + MongodbWriter(o: BatchWriterInfo) + +

                                                  + + Permalink + + +

                                                  o

                                                  Object that contains message + ksb.csle.common.proto.DatasourceProto.MongodbInfo + MongodbInfo contains attributes as follows:

                                                  • serverAddress: MongoDB address + (e.g. 192.168.0.3:27017) (required)
                                                  • dbName: Database name to save (required)
                                                  • collectionName: Collection name to save (required)
                                                  • userName: User name if requires authentication (optional)
                                                  • password: Password if requires authentication (optional)

                                                  MongodbInfo

                                                  message MongodbInfo {
                                                  +  required string serverAddress = 1;
                                                  +  required string dbName = 2;
                                                  +  required string collectionName = 3;
                                                  +  optional string userName = 4;
                                                  +  optional string password = 5;
                                                  +}
                                                  +
                                                +
                                                + + + + + +
                                                +

                                                Value Members

                                                +
                                                1. + + +

                                                  + + final + def + + + !=(arg0: Any): Boolean + +

                                                  + + Permalink + + +
                                                  Definition Classes
                                                  AnyRef → Any
                                                  +
                                                2. + + +

                                                  + + final + def + + + ##(): Int + +

                                                  + + Permalink + + +
                                                  Definition Classes
                                                  AnyRef → Any
                                                  +
                                                3. + + +

                                                  + + final + def + + + ==(arg0: Any): Boolean + +

                                                  + + Permalink + + +
                                                  Definition Classes
                                                  AnyRef → Any
                                                  +
                                                4. + + +

                                                  + + final + def + + + asInstanceOf[T0]: T0 + +

                                                  + + Permalink + + +
                                                  Definition Classes
                                                  Any
                                                  +
                                                5. + + +

                                                  + + + def + + + clone(): AnyRef + +

                                                  + + Permalink + + +
                                                  Attributes
                                                  protected[java.lang]
                                                  Definition Classes
                                                  AnyRef
                                                  Annotations
                                                  + @throws( + + ... + ) + +
                                                  +
                                                6. + + +

                                                  + + + def + + + close: Unit + +

                                                  + + Permalink + + +

                                                  Close the MongodbWriter.

                                                  Close the MongodbWriter. +

                                                  Definition Classes
                                                  MongodbWriter → BaseWriter
                                                  +
                                                7. + + +

                                                  + + final + def + + + eq(arg0: AnyRef): Boolean + +

                                                  + + Permalink + + +
                                                  Definition Classes
                                                  AnyRef
                                                  +
                                                8. + + +

                                                  + + + def + + + equals(arg0: Any): Boolean + +

                                                  + + Permalink + + +
                                                  Definition Classes
                                                  AnyRef → Any
                                                  +
                                                9. + + +

                                                  + + + def + + + finalize(): Unit + +

                                                  + + Permalink + + +
                                                  Attributes
                                                  protected[java.lang]
                                                  Definition Classes
                                                  AnyRef
                                                  Annotations
                                                  + @throws( + + classOf[java.lang.Throwable] + ) + +
                                                  +
                                                10. + + +

                                                  + + final + def + + + getClass(): Class[_] + +

                                                  + + Permalink + + +
                                                  Definition Classes
                                                  AnyRef → Any
                                                  +
                                                11. + + +

                                                  + + + def + + + hashCode(): Int + +

                                                  + + Permalink + + +
                                                  Definition Classes
                                                  AnyRef → Any
                                                  +
                                                12. + + +

                                                  + + final + def + + + isInstanceOf[T0]: Boolean + +

                                                  + + Permalink + + +
                                                  Definition Classes
                                                  Any
                                                  +
                                                13. + + +

                                                  + + + val + + + logger: Logger + +

                                                  + + Permalink + + +
                                                  Attributes
                                                  protected
                                                  Definition Classes
                                                  Logging
                                                  +
                                                14. + + +

                                                  + + final + def + + + ne(arg0: AnyRef): Boolean + +

                                                  + + Permalink + + +
                                                  Definition Classes
                                                  AnyRef
                                                  +
                                                15. + + +

                                                  + + final + def + + + notify(): Unit + +

                                                  + + Permalink + + +
                                                  Definition Classes
                                                  AnyRef
                                                  +
                                                16. + + +

                                                  + + final + def + + + notifyAll(): Unit + +

                                                  + + Permalink + + +
                                                  Definition Classes
                                                  AnyRef
                                                  +
                                                17. + + +

                                                  + + + val + + + o: BatchWriterInfo + +

                                                  + + Permalink + + +

                                                  Object that contains message + ksb.csle.common.proto.DatasourceProto.MongodbInfo + MongodbInfo contains attributes as follows:

                                                  Object that contains message + ksb.csle.common.proto.DatasourceProto.MongodbInfo + MongodbInfo contains attributes as follows:

                                                  • serverAddress: MongoDB address + (e.g. 192.168.0.3:27017) (required)
                                                  • dbName: Database name to save (required)
                                                  • collectionName: Collection name to save (required)
                                                  • userName: User name if requires authentication (optional)
                                                  • password: Password if requires authentication (optional)

                                                  MongodbInfo

                                                  message MongodbInfo {
                                                  +  required string serverAddress = 1;
                                                  +  required string dbName = 2;
                                                  +  required string collectionName = 3;
                                                  +  optional string userName = 4;
                                                  +  optional string password = 5;
                                                  +}
                                                  +
                                                18. + + +

                                                  + + final + def + + + synchronized[T0](arg0: ⇒ T0): T0 + +

                                                  + + Permalink + + +
                                                  Definition Classes
                                                  AnyRef
                                                  +
                                                19. + + +

                                                  + + + def + + + toString(): String + +

                                                  + + Permalink + + +
                                                  Definition Classes
                                                  AnyRef → Any
                                                  +
                                                20. + + +

                                                  + + final + def + + + wait(): Unit + +

                                                  + + Permalink + + +
                                                  Definition Classes
                                                  AnyRef
                                                  Annotations
                                                  + @throws( + + ... + ) + +
                                                  +
                                                21. + + +

                                                  + + final + def + + + wait(arg0: Long, arg1: Int): Unit + +

                                                  + + Permalink + + +
                                                  Definition Classes
                                                  AnyRef
                                                  Annotations
                                                  + @throws( + + ... + ) + +
                                                  +
                                                22. + + +

                                                  + + final + def + + + wait(arg0: Long): Unit + +

                                                  + + Permalink + + +
                                                  Definition Classes
                                                  AnyRef
                                                  Annotations
                                                  + @throws( + + ... + ) + +
                                                  +
                                                23. + + +

                                                  + + + def + + + write(df: DataFrame): Unit + +

                                                  + + Permalink + + +

                                                  Save DataFrame to the given MongoDB collection.

                                                  Save DataFrame to the given MongoDB collection. +

                                                  df

                                                  DataFrame to save

                                                  Definition Classes
                                                  MongodbWriter → BaseWriter
                                                  +
                                                24. + + +

                                                  + + + def + + + write(s: SparkSession, d: DataFrame): Any + +

                                                  + + Permalink + + +
                                                  Definition Classes
                                                  BaseWriter
                                                  Annotations
                                                  + @DeveloperApi() + +
                                                  +
                                                +
                                                + + + + +
                                                + +
                                                +
                                                +

                                                Inherited from BaseWriter[DataFrame, BatchWriterInfo, SparkSession]

                                                +
                                                +

                                                Inherited from BaseDoer

                                                +
                                                +

                                                Inherited from Logging

                                                +
                                                +

                                                Inherited from Serializable

                                                +
                                                +

                                                Inherited from Serializable

                                                +
                                                +

                                                Inherited from AnyRef

                                                +
                                                +

                                                Inherited from Any

                                                +
                                                + +
                                                + +
                                                +
                                                +

                                                Ungrouped

                                                + +
                                                +
                                                + +
                                                + +
                                                + + + + + + diff --git a/manual1903/api_reference/components/scaladocs/ksb/csle/component/writer/PhoenixWriter$.html b/manual1903/api_reference/components/scaladocs/ksb/csle/component/writer/PhoenixWriter$.html new file mode 100644 index 0000000000000000000000000000000000000000..83fb71dda81536ec4ed4b924e9f790b18daa6aa4 --- /dev/null +++ b/manual1903/api_reference/components/scaladocs/ksb/csle/component/writer/PhoenixWriter$.html @@ -0,0 +1,539 @@ + + + + PhoenixWriter - KSB COMPONENTS Scala App Project 1.0-SNAPSHOT API - ksb.csle.component.writer.PhoenixWriter + + + + + + + + + + + + + + + + + +

                                                + + + object + + + PhoenixWriter extends Serializable + +

                                                + +
                                                + Linear Supertypes +
                                                Serializable, Serializable, AnyRef, Any
                                                +
                                                + + +
                                                +
                                                +
                                                + Ordering +
                                                  + +
                                                1. Alphabetic
                                                2. +
                                                3. By Inheritance
                                                4. +
                                                +
                                                +
                                                + Inherited
                                                +
                                                +
                                                  +
                                                1. PhoenixWriter
                                                2. Serializable
                                                3. Serializable
                                                4. AnyRef
                                                5. Any
                                                6. +
                                                +
                                                + +
                                                  +
                                                1. Hide All
                                                2. +
                                                3. Show All
                                                4. +
                                                +
                                                +
                                                + Visibility +
                                                1. Public
                                                2. All
                                                +
                                                +
                                                + +
                                                +
                                                + + + + + + +
                                                +

                                                Value Members

                                                +
                                                1. + + +

                                                  + + final + def + + + !=(arg0: Any): Boolean + +

                                                  + + Permalink + + +
                                                  Definition Classes
                                                  AnyRef → Any
                                                  +
                                                2. + + +

                                                  + + final + def + + + ##(): Int + +

                                                  + + Permalink + + +
                                                  Definition Classes
                                                  AnyRef → Any
                                                  +
                                                3. + + +

                                                  + + final + def + + + ==(arg0: Any): Boolean + +

                                                  + + Permalink + + +
                                                  Definition Classes
                                                  AnyRef → Any
                                                  +
                                                4. + + +

                                                  + + + val + + + PK_ROW_ID: String + +

                                                  + + Permalink + + + +
                                                5. + + +

                                                  + + + val + + + PK_WRITE_TIME: String + +

                                                  + + Permalink + + + +
                                                6. + + +

                                                  + + + def + + + apply(o: BatchWriterInfo): PhoenixWriter + +

                                                  + + Permalink + + + +
                                                7. + + +

                                                  + + final + def + + + asInstanceOf[T0]: T0 + +

                                                  + + Permalink + + +
                                                  Definition Classes
                                                  Any
                                                  +
                                                8. + + +

                                                  + + + def + + + clone(): AnyRef + +

                                                  + + Permalink + + +
                                                  Attributes
                                                  protected[java.lang]
                                                  Definition Classes
                                                  AnyRef
                                                  Annotations
                                                  + @throws( + + ... + ) + +
                                                  +
                                                9. + + +

                                                  + + final + def + + + eq(arg0: AnyRef): Boolean + +

                                                  + + Permalink + + +
                                                  Definition Classes
                                                  AnyRef
                                                  +
                                                10. + + +

                                                  + + + def + + + equals(arg0: Any): Boolean + +

                                                  + + Permalink + + +
                                                  Definition Classes
                                                  AnyRef → Any
                                                  +
                                                11. + + +

                                                  + + + def + + + finalize(): Unit + +

                                                  + + Permalink + + +
                                                  Attributes
                                                  protected[java.lang]
                                                  Definition Classes
                                                  AnyRef
                                                  Annotations
                                                  + @throws( + + classOf[java.lang.Throwable] + ) + +
                                                  +
                                                12. + + +

                                                  + + final + def + + + getClass(): Class[_] + +

                                                  + + Permalink + + +
                                                  Definition Classes
                                                  AnyRef → Any
                                                  +
                                                13. + + +

                                                  + + + def + + + hashCode(): Int + +

                                                  + + Permalink + + +
                                                  Definition Classes
                                                  AnyRef → Any
                                                  +
                                                14. + + +

                                                  + + final + def + + + isInstanceOf[T0]: Boolean + +

                                                  + + Permalink + + +
                                                  Definition Classes
                                                  Any
                                                  +
                                                15. + + +

                                                  + + final + def + + + ne(arg0: AnyRef): Boolean + +

                                                  + + Permalink + + +
                                                  Definition Classes
                                                  AnyRef
                                                  +
                                                16. + + +

                                                  + + final + def + + + notify(): Unit + +

                                                  + + Permalink + + +
                                                  Definition Classes
                                                  AnyRef
                                                  +
                                                17. + + +

                                                  + + final + def + + + notifyAll(): Unit + +

                                                  + + Permalink + + +
                                                  Definition Classes
                                                  AnyRef
                                                  +
                                                18. + + +

                                                  + + final + def + + + synchronized[T0](arg0: ⇒ T0): T0 + +

                                                  + + Permalink + + +
                                                  Definition Classes
                                                  AnyRef
                                                  +
                                                19. + + +

                                                  + + + def + + + toString(): String + +

                                                  + + Permalink + + +
                                                  Definition Classes
                                                  AnyRef → Any
                                                  +
                                                20. + + +

                                                  + + final + def + + + wait(): Unit + +

                                                  + + Permalink + + +
                                                  Definition Classes
                                                  AnyRef
                                                  Annotations
                                                  + @throws( + + ... + ) + +
                                                  +
                                                21. + + +

                                                  + + final + def + + + wait(arg0: Long, arg1: Int): Unit + +

                                                  + + Permalink + + +
                                                  Definition Classes
                                                  AnyRef
                                                  Annotations
                                                  + @throws( + + ... + ) + +
                                                  +
                                                22. + + +

                                                  + + final + def + + + wait(arg0: Long): Unit + +

                                                  + + Permalink + + +
                                                  Definition Classes
                                                  AnyRef
                                                  Annotations
                                                  + @throws( + + ... + ) + +
                                                  +
                                                +
                                                + + + + +
                                                + +
                                                +
                                                +

                                                Inherited from Serializable

                                                +
                                                +

                                                Inherited from Serializable

                                                +
                                                +

                                                Inherited from AnyRef

                                                +
                                                +

                                                Inherited from Any

                                                +
                                                + +
                                                + +
                                                +
                                                +

                                                Ungrouped

                                                + +
                                                +
                                                + +
                                                + +
                                                + + + + + + diff --git a/manual1903/api_reference/components/scaladocs/ksb/csle/component/writer/PhoenixWriter.html b/manual1903/api_reference/components/scaladocs/ksb/csle/component/writer/PhoenixWriter.html new file mode 100644 index 0000000000000000000000000000000000000000..32c0c2d4524b551d0435c880762278ac9361c3d8 --- /dev/null +++ b/manual1903/api_reference/components/scaladocs/ksb/csle/component/writer/PhoenixWriter.html @@ -0,0 +1,627 @@ + + + + PhoenixWriter - KSB COMPONENTS Scala App Project 1.0-SNAPSHOT API - ksb.csle.component.writer.PhoenixWriter + + + + + + + + + + + + + + + + + +

                                                + + + class + + + PhoenixWriter extends BaseWriter[DataFrame, BatchWriterInfo, SparkSession] + +

                                                + +

                                                :: ApplicationDeveloperApi ::

                                                Writer that saves DataFrame to HBase using Phoenix. +

                                                + Linear Supertypes +
                                                BaseWriter[DataFrame, BatchWriterInfo, SparkSession], BaseDoer, Logging, Serializable, Serializable, AnyRef, Any
                                                +
                                                + + +
                                                +
                                                +
                                                + Ordering +
                                                  + +
                                                1. Alphabetic
                                                2. +
                                                3. By Inheritance
                                                4. +
                                                +
                                                +
                                                + Inherited
                                                +
                                                +
                                                  +
                                                1. PhoenixWriter
                                                2. BaseWriter
                                                3. BaseDoer
                                                4. Logging
                                                5. Serializable
                                                6. Serializable
                                                7. AnyRef
                                                8. Any
                                                9. +
                                                +
                                                + +
                                                  +
                                                1. Hide All
                                                2. +
                                                3. Show All
                                                4. +
                                                +
                                                +
                                                + Visibility +
                                                1. Public
                                                2. All
                                                +
                                                +
                                                + +
                                                +
                                                +
                                                +

                                                Instance Constructors

                                                +
                                                1. + + +

                                                  + + + new + + + PhoenixWriter(o: BatchWriterInfo) + +

                                                  + + Permalink + + +

                                                  o

                                                  Object that contains message + ksb.csle.common.proto.DatasourceProto.PhoenixInfo + PhoenixInfo contains attributes as follows:

                                                  • jdbcUrl: JDBC URL of Phoenix (required)
                                                  • zkUrl: Address of HBase Zookeeper (required)
                                                  • tableName: Table name to save (required)
                                                  • userName: User name if requires authentication (optional)
                                                  • password: Password if requires authentication (optional)
                                                  • writeMode: Writing Mode; APPEND or OVERWRITE (optional)
                                                  • primaryKey: List of column name to use as primary key (optional)

                                                  PhoenixInfo

                                                  message PhoenixInfo {
                                                  +  required string jdbcUrl = 1;
                                                  +  required string zkUrl = 2;
                                                  +  required string tableName = 3;
                                                  +  optional string userName = 4;
                                                  +  optional string password = 5;
                                                  +  optional WriteMode writeMode = 6 [default = APPEND];
                                                  +  repeated string primaryKey = 7;
                                                  +}
                                                  +
                                                +
                                                + + + + + +
                                                +

                                                Value Members

                                                +
                                                1. + + +

                                                  + + final + def + + + !=(arg0: Any): Boolean + +

                                                  + + Permalink + + +
                                                  Definition Classes
                                                  AnyRef → Any
                                                  +
                                                2. + + +

                                                  + + final + def + + + ##(): Int + +

                                                  + + Permalink + + +
                                                  Definition Classes
                                                  AnyRef → Any
                                                  +
                                                3. + + +

                                                  + + final + def + + + ==(arg0: Any): Boolean + +

                                                  + + Permalink + + +
                                                  Definition Classes
                                                  AnyRef → Any
                                                  +
                                                4. + + +

                                                  + + final + def + + + asInstanceOf[T0]: T0 + +

                                                  + + Permalink + + +
                                                  Definition Classes
                                                  Any
                                                  +
                                                5. + + +

                                                  + + + def + + + clone(): AnyRef + +

                                                  + + Permalink + + +
                                                  Attributes
                                                  protected[java.lang]
                                                  Definition Classes
                                                  AnyRef
                                                  Annotations
                                                  + @throws( + + ... + ) + +
                                                  +
                                                6. + + +

                                                  + + + def + + + close: Any + +

                                                  + + Permalink + + +

                                                  Close the connection with HBase.

                                                  Close the connection with HBase. +

                                                  Definition Classes
                                                  PhoenixWriter → BaseWriter
                                                  +
                                                7. + + +

                                                  + + final + def + + + eq(arg0: AnyRef): Boolean + +

                                                  + + Permalink + + +
                                                  Definition Classes
                                                  AnyRef
                                                  +
                                                8. + + +

                                                  + + + def + + + equals(arg0: Any): Boolean + +

                                                  + + Permalink + + +
                                                  Definition Classes
                                                  AnyRef → Any
                                                  +
                                                9. + + +

                                                  + + + def + + + finalize(): Unit + +

                                                  + + Permalink + + +
                                                  Attributes
                                                  protected[java.lang]
                                                  Definition Classes
                                                  AnyRef
                                                  Annotations
                                                  + @throws( + + classOf[java.lang.Throwable] + ) + +
                                                  +
                                                10. + + +

                                                  + + final + def + + + getClass(): Class[_] + +

                                                  + + Permalink + + +
                                                  Definition Classes
                                                  AnyRef → Any
                                                  +
                                                11. + + +

                                                  + + + def + + + hashCode(): Int + +

                                                  + + Permalink + + +
                                                  Definition Classes
                                                  AnyRef → Any
                                                  +
                                                12. + + +

                                                  + + final + def + + + isInstanceOf[T0]: Boolean + +

                                                  + + Permalink + + +
                                                  Definition Classes
                                                  Any
                                                  +
                                                13. + + +

                                                  + + + val + + + logger: Logger + +

                                                  + + Permalink + + +
                                                  Attributes
                                                  protected
                                                  Definition Classes
                                                  Logging
                                                  +
                                                14. + + +

                                                  + + final + def + + + ne(arg0: AnyRef): Boolean + +

                                                  + + Permalink + + +
                                                  Definition Classes
                                                  AnyRef
                                                  +
                                                15. + + +

                                                  + + final + def + + + notify(): Unit + +

                                                  + + Permalink + + +
                                                  Definition Classes
                                                  AnyRef
                                                  +
                                                16. + + +

                                                  + + final + def + + + notifyAll(): Unit + +

                                                  + + Permalink + + +
                                                  Definition Classes
                                                  AnyRef
                                                  +
                                                17. + + +

                                                  + + + val + + + o: BatchWriterInfo + +

                                                  + + Permalink + + +

                                                  Object that contains message + ksb.csle.common.proto.DatasourceProto.PhoenixInfo + PhoenixInfo contains attributes as follows:

                                                  Object that contains message + ksb.csle.common.proto.DatasourceProto.PhoenixInfo + PhoenixInfo contains attributes as follows:

                                                  • jdbcUrl: JDBC URL of Phoenix (required)
                                                  • zkUrl: Address of HBase Zookeeper (required)
                                                  • tableName: Table name to save (required)
                                                  • userName: User name if requires authentication (optional)
                                                  • password: Password if requires authentication (optional)
                                                  • writeMode: Writing Mode; APPEND or OVERWRITE (optional)
                                                  • primaryKey: List of column name to use as primary key (optional)

                                                  PhoenixInfo

                                                  message PhoenixInfo {
                                                  +  required string jdbcUrl = 1;
                                                  +  required string zkUrl = 2;
                                                  +  required string tableName = 3;
                                                  +  optional string userName = 4;
                                                  +  optional string password = 5;
                                                  +  optional WriteMode writeMode = 6 [default = APPEND];
                                                  +  repeated string primaryKey = 7;
                                                  +}
                                                  +
                                                18. + + +

                                                  + + final + def + + + synchronized[T0](arg0: ⇒ T0): T0 + +

                                                  + + Permalink + + +
                                                  Definition Classes
                                                  AnyRef
                                                  +
                                                19. + + +

                                                  + + + def + + + toString(): String + +

                                                  + + Permalink + + +
                                                  Definition Classes
                                                  AnyRef → Any
                                                  +
                                                20. + + +

                                                  + + final + def + + + wait(): Unit + +

                                                  + + Permalink + + +
                                                  Definition Classes
                                                  AnyRef
                                                  Annotations
                                                  + @throws( + + ... + ) + +
                                                  +
                                                21. + + +

                                                  + + final + def + + + wait(arg0: Long, arg1: Int): Unit + +

                                                  + + Permalink + + +
                                                  Definition Classes
                                                  AnyRef
                                                  Annotations
                                                  + @throws( + + ... + ) + +
                                                  +
                                                22. + + +

                                                  + + final + def + + + wait(arg0: Long): Unit + +

                                                  + + Permalink + + +
                                                  Definition Classes
                                                  AnyRef
                                                  Annotations
                                                  + @throws( + + ... + ) + +
                                                  +
                                                23. + + +

                                                  + + + def + + + write(df: DataFrame): Unit + +

                                                  + + Permalink + + +

                                                  Save DataFrame to the given HBase table using Phoenix.

                                                  Save DataFrame to the given HBase table using Phoenix. +

                                                  df

                                                  DataFrame to save

                                                  Definition Classes
                                                  PhoenixWriter → BaseWriter
                                                  +
                                                24. + + +

                                                  + + + def + + + write(s: SparkSession, d: DataFrame): Any + +

                                                  + + Permalink + + +
                                                  Definition Classes
                                                  BaseWriter
                                                  Annotations
                                                  + @DeveloperApi() + +
                                                  +
                                                +
                                                + + + + +
                                                + +
                                                +
                                                +

                                                Inherited from BaseWriter[DataFrame, BatchWriterInfo, SparkSession]

                                                +
                                                +

                                                Inherited from BaseDoer

                                                +
                                                +

                                                Inherited from Logging

                                                +
                                                +

                                                Inherited from Serializable

                                                +
                                                +

                                                Inherited from Serializable

                                                +
                                                +

                                                Inherited from AnyRef

                                                +
                                                +

                                                Inherited from Any

                                                +
                                                + +
                                                + +
                                                +
                                                +

                                                Ungrouped

                                                + +
                                                +
                                                + +
                                                + +
                                                + + + + + + diff --git a/manual1903/api_reference/components/scaladocs/ksb/csle/component/writer/StdoutWriter$.html b/manual1903/api_reference/components/scaladocs/ksb/csle/component/writer/StdoutWriter$.html new file mode 100644 index 0000000000000000000000000000000000000000..2d6774e77cfe5d286067d01f359418f257a1f60d --- /dev/null +++ b/manual1903/api_reference/components/scaladocs/ksb/csle/component/writer/StdoutWriter$.html @@ -0,0 +1,505 @@ + + + + StdoutWriter - KSB COMPONENTS Scala App Project 1.0-SNAPSHOT API - ksb.csle.component.writer.StdoutWriter + + + + + + + + + + + + + + + + + +

                                                + + + object + + + StdoutWriter extends Serializable + +

                                                + +
                                                + Linear Supertypes +
                                                Serializable, Serializable, AnyRef, Any
                                                +
                                                + + +
                                                +
                                                +
                                                + Ordering +
                                                  + +
                                                1. Alphabetic
                                                2. +
                                                3. By Inheritance
                                                4. +
                                                +
                                                +
                                                + Inherited
                                                +
                                                +
                                                  +
                                                1. StdoutWriter
                                                2. Serializable
                                                3. Serializable
                                                4. AnyRef
                                                5. Any
                                                6. +
                                                +
                                                + +
                                                  +
                                                1. Hide All
                                                2. +
                                                3. Show All
                                                4. +
                                                +
                                                +
                                                + Visibility +
                                                1. Public
                                                2. All
                                                +
                                                +
                                                + +
                                                +
                                                + + + + + + +
                                                +

                                                Value Members

                                                +
                                                1. + + +

                                                  + + final + def + + + !=(arg0: Any): Boolean + +

                                                  + + Permalink + + +
                                                  Definition Classes
                                                  AnyRef → Any
                                                  +
                                                2. + + +

                                                  + + final + def + + + ##(): Int + +

                                                  + + Permalink + + +
                                                  Definition Classes
                                                  AnyRef → Any
                                                  +
                                                3. + + +

                                                  + + final + def + + + ==(arg0: Any): Boolean + +

                                                  + + Permalink + + +
                                                  Definition Classes
                                                  AnyRef → Any
                                                  +
                                                4. + + +

                                                  + + + def + + + apply[P](p: P): StdoutWriter[P] + +

                                                  + + Permalink + + + +
                                                5. + + +

                                                  + + final + def + + + asInstanceOf[T0]: T0 + +

                                                  + + Permalink + + +
                                                  Definition Classes
                                                  Any
                                                  +
                                                6. + + +

                                                  + + + def + + + clone(): AnyRef + +

                                                  + + Permalink + + +
                                                  Attributes
                                                  protected[java.lang]
                                                  Definition Classes
                                                  AnyRef
                                                  Annotations
                                                  + @throws( + + ... + ) + +
                                                  +
                                                7. + + +

                                                  + + final + def + + + eq(arg0: AnyRef): Boolean + +

                                                  + + Permalink + + +
                                                  Definition Classes
                                                  AnyRef
                                                  +
                                                8. + + +

                                                  + + + def + + + equals(arg0: Any): Boolean + +

                                                  + + Permalink + + +
                                                  Definition Classes
                                                  AnyRef → Any
                                                  +
                                                9. + + +

                                                  + + + def + + + finalize(): Unit + +

                                                  + + Permalink + + +
                                                  Attributes
                                                  protected[java.lang]
                                                  Definition Classes
                                                  AnyRef
                                                  Annotations
                                                  + @throws( + + classOf[java.lang.Throwable] + ) + +
                                                  +
                                                10. + + +

                                                  + + final + def + + + getClass(): Class[_] + +

                                                  + + Permalink + + +
                                                  Definition Classes
                                                  AnyRef → Any
                                                  +
                                                11. + + +

                                                  + + + def + + + hashCode(): Int + +

                                                  + + Permalink + + +
                                                  Definition Classes
                                                  AnyRef → Any
                                                  +
                                                12. + + +

                                                  + + final + def + + + isInstanceOf[T0]: Boolean + +

                                                  + + Permalink + + +
                                                  Definition Classes
                                                  Any
                                                  +
                                                13. + + +

                                                  + + final + def + + + ne(arg0: AnyRef): Boolean + +

                                                  + + Permalink + + +
                                                  Definition Classes
                                                  AnyRef
                                                  +
                                                14. + + +

                                                  + + final + def + + + notify(): Unit + +

                                                  + + Permalink + + +
                                                  Definition Classes
                                                  AnyRef
                                                  +
                                                15. + + +

                                                  + + final + def + + + notifyAll(): Unit + +

                                                  + + Permalink + + +
                                                  Definition Classes
                                                  AnyRef
                                                  +
                                                16. + + +

                                                  + + final + def + + + synchronized[T0](arg0: ⇒ T0): T0 + +

                                                  + + Permalink + + +
                                                  Definition Classes
                                                  AnyRef
                                                  +
                                                17. + + +

                                                  + + + def + + + toString(): String + +

                                                  + + Permalink + + +
                                                  Definition Classes
                                                  AnyRef → Any
                                                  +
                                                18. + + +

                                                  + + final + def + + + wait(): Unit + +

                                                  + + Permalink + + +
                                                  Definition Classes
                                                  AnyRef
                                                  Annotations
                                                  + @throws( + + ... + ) + +
                                                  +
                                                19. + + +

                                                  + + final + def + + + wait(arg0: Long, arg1: Int): Unit + +

                                                  + + Permalink + + +
                                                  Definition Classes
                                                  AnyRef
                                                  Annotations
                                                  + @throws( + + ... + ) + +
                                                  +
                                                20. + + +

                                                  + + final + def + + + wait(arg0: Long): Unit + +

                                                  + + Permalink + + +
                                                  Definition Classes
                                                  AnyRef
                                                  Annotations
                                                  + @throws( + + ... + ) + +
                                                  +
                                                +
                                                + + + + +
                                                + +
                                                +
                                                +

                                                Inherited from Serializable

                                                +
                                                +

                                                Inherited from Serializable

                                                +
                                                +

                                                Inherited from AnyRef

                                                +
                                                +

                                                Inherited from Any

                                                +
                                                + +
                                                + +
                                                +
                                                +

                                                Ungrouped

                                                + +
                                                +
                                                + +
                                                + +
                                                + + + + + + diff --git a/manual1903/api_reference/components/scaladocs/ksb/csle/component/writer/StdoutWriter.html b/manual1903/api_reference/components/scaladocs/ksb/csle/component/writer/StdoutWriter.html new file mode 100644 index 0000000000000000000000000000000000000000..f7dcd2ab601e740457316358a0961fa8d4ce73d8 --- /dev/null +++ b/manual1903/api_reference/components/scaladocs/ksb/csle/component/writer/StdoutWriter.html @@ -0,0 +1,605 @@ + + + + StdoutWriter - KSB COMPONENTS Scala App Project 1.0-SNAPSHOT API - ksb.csle.component.writer.StdoutWriter + + + + + + + + + + + + + + + + + +

                                                + + + class + + + StdoutWriter[P] extends BaseWriter[DataFrame, P, SparkSession] + +

                                                + +

                                                :: ApplicationDeveloperApi ::

                                                Writer that print the schema and some rows of DataFrame to standard output. +

                                                + Linear Supertypes +
                                                BaseWriter[DataFrame, P, SparkSession], BaseDoer, Logging, Serializable, Serializable, AnyRef, Any
                                                +
                                                + + +
                                                +
                                                +
                                                + Ordering +
                                                  + +
                                                1. Alphabetic
                                                2. +
                                                3. By Inheritance
                                                4. +
                                                +
                                                +
                                                + Inherited
                                                +
                                                +
                                                  +
                                                1. StdoutWriter
                                                2. BaseWriter
                                                3. BaseDoer
                                                4. Logging
                                                5. Serializable
                                                6. Serializable
                                                7. AnyRef
                                                8. Any
                                                9. +
                                                +
                                                + +
                                                  +
                                                1. Hide All
                                                2. +
                                                3. Show All
                                                4. +
                                                +
                                                +
                                                + Visibility +
                                                1. Public
                                                2. All
                                                +
                                                +
                                                + +
                                                +
                                                +
                                                +

                                                Instance Constructors

                                                +
                                                1. + + +

                                                  + + + new + + + StdoutWriter(p: P) + +

                                                  + + Permalink + + +

                                                  +
                                                +
                                                + + + + + +
                                                +

                                                Value Members

                                                +
                                                1. + + +

                                                  + + final + def + + + !=(arg0: Any): Boolean + +

                                                  + + Permalink + + +
                                                  Definition Classes
                                                  AnyRef → Any
                                                  +
                                                2. + + +

                                                  + + final + def + + + ##(): Int + +

                                                  + + Permalink + + +
                                                  Definition Classes
                                                  AnyRef → Any
                                                  +
                                                3. + + +

                                                  + + final + def + + + ==(arg0: Any): Boolean + +

                                                  + + Permalink + + +
                                                  Definition Classes
                                                  AnyRef → Any
                                                  +
                                                4. + + +

                                                  + + final + def + + + asInstanceOf[T0]: T0 + +

                                                  + + Permalink + + +
                                                  Definition Classes
                                                  Any
                                                  +
                                                5. + + +

                                                  + + + def + + + clone(): AnyRef + +

                                                  + + Permalink + + +
                                                  Attributes
                                                  protected[java.lang]
                                                  Definition Classes
                                                  AnyRef
                                                  Annotations
                                                  + @throws( + + ... + ) + +
                                                  +
                                                6. + + +

                                                  + + + def + + + close: Unit + +

                                                  + + Permalink + + +

                                                  Close the StdoutWriter.

                                                  Close the StdoutWriter. +

                                                  Definition Classes
                                                  StdoutWriter → BaseWriter
                                                  +
                                                7. + + +

                                                  + + final + def + + + eq(arg0: AnyRef): Boolean + +

                                                  + + Permalink + + +
                                                  Definition Classes
                                                  AnyRef
                                                  +
                                                8. + + +

                                                  + + + def + + + equals(arg0: Any): Boolean + +

                                                  + + Permalink + + +
                                                  Definition Classes
                                                  AnyRef → Any
                                                  +
                                                9. + + +

                                                  + + + def + + + finalize(): Unit + +

                                                  + + Permalink + + +
                                                  Attributes
                                                  protected[java.lang]
                                                  Definition Classes
                                                  AnyRef
                                                  Annotations
                                                  + @throws( + + classOf[java.lang.Throwable] + ) + +
                                                  +
                                                10. + + +

                                                  + + final + def + + + getClass(): Class[_] + +

                                                  + + Permalink + + +
                                                  Definition Classes
                                                  AnyRef → Any
                                                  +
                                                11. + + +

                                                  + + + def + + + hashCode(): Int + +

                                                  + + Permalink + + +
                                                  Definition Classes
                                                  AnyRef → Any
                                                  +
                                                12. + + +

                                                  + + final + def + + + isInstanceOf[T0]: Boolean + +

                                                  + + Permalink + + +
                                                  Definition Classes
                                                  Any
                                                  +
                                                13. + + +

                                                  + + + val + + + logger: Logger + +

                                                  + + Permalink + + +
                                                  Attributes
                                                  protected
                                                  Definition Classes
                                                  Logging
                                                  +
                                                14. + + +

                                                  + + final + def + + + ne(arg0: AnyRef): Boolean + +

                                                  + + Permalink + + +
                                                  Definition Classes
                                                  AnyRef
                                                  +
                                                15. + + +

                                                  + + final + def + + + notify(): Unit + +

                                                  + + Permalink + + +
                                                  Definition Classes
                                                  AnyRef
                                                  +
                                                16. + + +

                                                  + + final + def + + + notifyAll(): Unit + +

                                                  + + Permalink + + +
                                                  Definition Classes
                                                  AnyRef
                                                  +
                                                17. + + +

                                                  + + + val + + + p: P + +

                                                  + + Permalink + + + +
                                                18. + + +

                                                  + + final + def + + + synchronized[T0](arg0: ⇒ T0): T0 + +

                                                  + + Permalink + + +
                                                  Definition Classes
                                                  AnyRef
                                                  +
                                                19. + + +

                                                  + + + def + + + toString(): String + +

                                                  + + Permalink + + +
                                                  Definition Classes
                                                  AnyRef → Any
                                                  +
                                                20. + + +

                                                  + + final + def + + + wait(): Unit + +

                                                  + + Permalink + + +
                                                  Definition Classes
                                                  AnyRef
                                                  Annotations
                                                  + @throws( + + ... + ) + +
                                                  +
                                                21. + + +

                                                  + + final + def + + + wait(arg0: Long, arg1: Int): Unit + +

                                                  + + Permalink + + +
                                                  Definition Classes
                                                  AnyRef
                                                  Annotations
                                                  + @throws( + + ... + ) + +
                                                  +
                                                22. + + +

                                                  + + final + def + + + wait(arg0: Long): Unit + +

                                                  + + Permalink + + +
                                                  Definition Classes
                                                  AnyRef
                                                  Annotations
                                                  + @throws( + + ... + ) + +
                                                  +
                                                23. + + +

                                                  + + + def + + + write(d: DataFrame): Unit + +

                                                  + + Permalink + + +

                                                  Print the schema and some rows of DataFrame to standard output.

                                                  Print the schema and some rows of DataFrame to standard output. +

                                                  Definition Classes
                                                  StdoutWriter → BaseWriter
                                                  +
                                                24. + + +

                                                  + + + def + + + write(s: SparkSession, d: DataFrame): Any + +

                                                  + + Permalink + + +
                                                  Definition Classes
                                                  BaseWriter
                                                  Annotations
                                                  + @DeveloperApi() + +
                                                  +
                                                +
                                                + + + + +
                                                + +
                                                +
                                                +

                                                Inherited from BaseWriter[DataFrame, P, SparkSession]

                                                +
                                                +

                                                Inherited from BaseDoer

                                                +
                                                +

                                                Inherited from Logging

                                                +
                                                +

                                                Inherited from Serializable

                                                +
                                                +

                                                Inherited from Serializable

                                                +
                                                +

                                                Inherited from AnyRef

                                                +
                                                +

                                                Inherited from Any

                                                +
                                                + +
                                                + +
                                                +
                                                +

                                                Ungrouped

                                                + +
                                                +
                                                + +
                                                + +
                                                + + + + + + diff --git a/manual1903/api_reference/components/scaladocs/ksb/csle/component/writer/TableWriter.html b/manual1903/api_reference/components/scaladocs/ksb/csle/component/writer/TableWriter.html new file mode 100644 index 0000000000000000000000000000000000000000..ce0b046f648f1aea873ed0474d494fcce084f6e7 --- /dev/null +++ b/manual1903/api_reference/components/scaladocs/ksb/csle/component/writer/TableWriter.html @@ -0,0 +1,626 @@ + + + + TableWriter - KSB COMPONENTS Scala App Project 1.0-SNAPSHOT API - ksb.csle.component.writer.TableWriter + + + + + + + + + + + + + + + +
                                                + Class +

                                                ksb.csle.component.writer

                                                +

                                                TableWriter

                                                Related Doc: + package writer +

                                                + + Permalink + + +
                                                + +

                                                + + + class + + + TableWriter extends BaseWriter[DataFrame, BatchWriterInfo, SparkSession] + +

                                                + +

                                                :: ApplicationDeveloperApi ::

                                                Writer that saves DataFrame to SQL Database. +(e.g. PostgresQL, MySQL, ...). +

                                                + Linear Supertypes +
                                                BaseWriter[DataFrame, BatchWriterInfo, SparkSession], BaseDoer, Logging, Serializable, Serializable, AnyRef, Any
                                                +
                                                + + +
                                                +
                                                +
                                                + Ordering +
                                                  + +
                                                1. Alphabetic
                                                2. +
                                                3. By Inheritance
                                                4. +
                                                +
                                                +
                                                + Inherited
                                                +
                                                +
                                                  +
                                                1. TableWriter
                                                2. BaseWriter
                                                3. BaseDoer
                                                4. Logging
                                                5. Serializable
                                                6. Serializable
                                                7. AnyRef
                                                8. Any
                                                9. +
                                                +
                                                + +
                                                  +
                                                1. Hide All
                                                2. +
                                                3. Show All
                                                4. +
                                                +
                                                +
                                                + Visibility +
                                                1. Public
                                                2. All
                                                +
                                                +
                                                + +
                                                +
                                                +
                                                +

                                                Instance Constructors

                                                +
                                                1. + + +

                                                  + + + new + + + TableWriter(o: BatchWriterInfo) + +

                                                  + + Permalink + + +

                                                  o

                                                  Object that contains message + ksb.csle.common.proto.DatasourceProto.TableInfo + TableInfo contains attributes as follows:

                                                  • jdbcUrl: JDBC URL of database to save (required)
                                                  • jdbcDriver: JDBC driver of database to save (required)
                                                  • tableName: Table name to save (required)
                                                  • userName: User name for authentication (required)
                                                  • password: Password for authentication (required)
                                                  • writeMode: Writing Mode; APPEND or OVERWRITE (optional)
                                                  • primaryKey: List of column name to use as primary key (optional)

                                                  TableInfo

                                                  message TableInfo {
                                                  +  required string jdbcUrl = 1;
                                                  +  required string jdbcDriver = 2;
                                                  +  required string tableName = 3;
                                                  +  required string userName = 4;
                                                  +  required string password = 5;
                                                  +  optional WriteMode writeMode = 6 [default = APPEND];
                                                  +  repeated string primaryKey = 7;
                                                  +}
                                                  +
                                                +
                                                + + + + + +
                                                +

                                                Value Members

                                                +
                                                1. + + +

                                                  + + final + def + + + !=(arg0: Any): Boolean + +

                                                  + + Permalink + + +
                                                  Definition Classes
                                                  AnyRef → Any
                                                  +
                                                2. + + +

                                                  + + final + def + + + ##(): Int + +

                                                  + + Permalink + + +
                                                  Definition Classes
                                                  AnyRef → Any
                                                  +
                                                3. + + +

                                                  + + final + def + + + ==(arg0: Any): Boolean + +

                                                  + + Permalink + + +
                                                  Definition Classes
                                                  AnyRef → Any
                                                  +
                                                4. + + +

                                                  + + final + def + + + asInstanceOf[T0]: T0 + +

                                                  + + Permalink + + +
                                                  Definition Classes
                                                  Any
                                                  +
                                                5. + + +

                                                  + + + def + + + clone(): AnyRef + +

                                                  + + Permalink + + +
                                                  Attributes
                                                  protected[java.lang]
                                                  Definition Classes
                                                  AnyRef
                                                  Annotations
                                                  + @throws( + + ... + ) + +
                                                  +
                                                6. + + +

                                                  + + + def + + + close: Any + +

                                                  + + Permalink + + +

                                                  Close the connection with SQL Database.

                                                  Close the connection with SQL Database. +

                                                  Definition Classes
                                                  TableWriter → BaseWriter
                                                  +
                                                7. + + +

                                                  + + final + def + + + eq(arg0: AnyRef): Boolean + +

                                                  + + Permalink + + +
                                                  Definition Classes
                                                  AnyRef
                                                  +
                                                8. + + +

                                                  + + + def + + + equals(arg0: Any): Boolean + +

                                                  + + Permalink + + +
                                                  Definition Classes
                                                  AnyRef → Any
                                                  +
                                                9. + + +

                                                  + + + def + + + finalize(): Unit + +

                                                  + + Permalink + + +
                                                  Attributes
                                                  protected[java.lang]
                                                  Definition Classes
                                                  AnyRef
                                                  Annotations
                                                  + @throws( + + classOf[java.lang.Throwable] + ) + +
                                                  +
                                                10. + + +

                                                  + + final + def + + + getClass(): Class[_] + +

                                                  + + Permalink + + +
                                                  Definition Classes
                                                  AnyRef → Any
                                                  +
                                                11. + + +

                                                  + + + def + + + hashCode(): Int + +

                                                  + + Permalink + + +
                                                  Definition Classes
                                                  AnyRef → Any
                                                  +
                                                12. + + +

                                                  + + final + def + + + isInstanceOf[T0]: Boolean + +

                                                  + + Permalink + + +
                                                  Definition Classes
                                                  Any
                                                  +
                                                13. + + +

                                                  + + + val + + + logger: Logger + +

                                                  + + Permalink + + +
                                                  Attributes
                                                  protected
                                                  Definition Classes
                                                  Logging
                                                  +
                                                14. + + +

                                                  + + final + def + + + ne(arg0: AnyRef): Boolean + +

                                                  + + Permalink + + +
                                                  Definition Classes
                                                  AnyRef
                                                  +
                                                15. + + +

                                                  + + final + def + + + notify(): Unit + +

                                                  + + Permalink + + +
                                                  Definition Classes
                                                  AnyRef
                                                  +
                                                16. + + +

                                                  + + final + def + + + notifyAll(): Unit + +

                                                  + + Permalink + + +
                                                  Definition Classes
                                                  AnyRef
                                                  +
                                                17. + + +

                                                  + + + val + + + o: BatchWriterInfo + +

                                                  + + Permalink + + +

                                                  Object that contains message + ksb.csle.common.proto.DatasourceProto.TableInfo + TableInfo contains attributes as follows:

                                                  Object that contains message + ksb.csle.common.proto.DatasourceProto.TableInfo + TableInfo contains attributes as follows:

                                                  • jdbcUrl: JDBC URL of database to save (required)
                                                  • jdbcDriver: JDBC driver of database to save (required)
                                                  • tableName: Table name to save (required)
                                                  • userName: User name for authentication (required)
                                                  • password: Password for authentication (required)
                                                  • writeMode: Writing Mode; APPEND or OVERWRITE (optional)
                                                  • primaryKey: List of column name to use as primary key (optional)

                                                  TableInfo

                                                  message TableInfo {
                                                  +  required string jdbcUrl = 1;
                                                  +  required string jdbcDriver = 2;
                                                  +  required string tableName = 3;
                                                  +  required string userName = 4;
                                                  +  required string password = 5;
                                                  +  optional WriteMode writeMode = 6 [default = APPEND];
                                                  +  repeated string primaryKey = 7;
                                                  +}
                                                  +
                                                18. + + +

                                                  + + final + def + + + synchronized[T0](arg0: ⇒ T0): T0 + +

                                                  + + Permalink + + +
                                                  Definition Classes
                                                  AnyRef
                                                  +
                                                19. + + +

                                                  + + + def + + + toString(): String + +

                                                  + + Permalink + + +
                                                  Definition Classes
                                                  AnyRef → Any
                                                  +
                                                20. + + +

                                                  + + final + def + + + wait(): Unit + +

                                                  + + Permalink + + +
                                                  Definition Classes
                                                  AnyRef
                                                  Annotations
                                                  + @throws( + + ... + ) + +
                                                  +
                                                21. + + +

                                                  + + final + def + + + wait(arg0: Long, arg1: Int): Unit + +

                                                  + + Permalink + + +
                                                  Definition Classes
                                                  AnyRef
                                                  Annotations
                                                  + @throws( + + ... + ) + +
                                                  +
                                                22. + + +

                                                  + + final + def + + + wait(arg0: Long): Unit + +

                                                  + + Permalink + + +
                                                  Definition Classes
                                                  AnyRef
                                                  Annotations
                                                  + @throws( + + ... + ) + +
                                                  +
                                                23. + + +

                                                  + + + def + + + write(df: DataFrame): Unit + +

                                                  + + Permalink + + +

                                                  Save DataFrame to the given table in SQL Database.

                                                  Save DataFrame to the given table in SQL Database. +

                                                  df

                                                  DataFrame to save

                                                  Definition Classes
                                                  TableWriter → BaseWriter
                                                  +
                                                24. + + +

                                                  + + + def + + + write(s: SparkSession, d: DataFrame): Any + +

                                                  + + Permalink + + +
                                                  Definition Classes
                                                  BaseWriter
                                                  Annotations
                                                  + @DeveloperApi() + +
                                                  +
                                                +
                                                + + + + +
                                                + +
                                                +
                                                +

                                                Inherited from BaseWriter[DataFrame, BatchWriterInfo, SparkSession]

                                                +
                                                +

                                                Inherited from BaseDoer

                                                +
                                                +

                                                Inherited from Logging

                                                +
                                                +

                                                Inherited from Serializable

                                                +
                                                +

                                                Inherited from Serializable

                                                +
                                                +

                                                Inherited from AnyRef

                                                +
                                                +

                                                Inherited from Any

                                                +
                                                + +
                                                + +
                                                +
                                                +

                                                Ungrouped

                                                + +
                                                +
                                                + +
                                                + +
                                                + + + + + + diff --git a/manual1903/api_reference/components/scaladocs/ksb/csle/component/writer/package.html b/manual1903/api_reference/components/scaladocs/ksb/csle/component/writer/package.html new file mode 100644 index 0000000000000000000000000000000000000000..da1aee18192e901ffe546d73679a845ddf9b4185 --- /dev/null +++ b/manual1903/api_reference/components/scaladocs/ksb/csle/component/writer/package.html @@ -0,0 +1,317 @@ + + + + writer - KSB COMPONENTS Scala App Project 1.0-SNAPSHOT API - ksb.csle.component.writer + + + + + + + + + + + + + + + +
                                                + Package +

                                                ksb.csle.component

                                                +

                                                writer

                                                + + Permalink + + +
                                                + +

                                                + + + package + + + writer + +

                                                + +
                                                + + +
                                                +
                                                + + +
                                                + Visibility +
                                                1. Public
                                                2. All
                                                +
                                                +
                                                + +
                                                +
                                                + + +
                                                +

                                                Type Members

                                                +
                                                1. + + +

                                                  + + + class + + + FileStreamWriter extends BaseWriter[DataFrame, StreamWriterInfo, StreamingContext] + +

                                                  + + Permalink + + +

                                                  :: ApplicationDeveloperApi ::

                                                  :: ApplicationDeveloperApi ::

                                                  Writer that saves DataFrame to a file. +

                                                  +
                                                2. + + +

                                                  + + + class + + + FileWriter extends BaseWriter[DataFrame, BatchWriterInfo, SparkSession] + +

                                                  + + Permalink + + +

                                                  :: ApplicationDeveloperApi ::

                                                  :: ApplicationDeveloperApi ::

                                                  Writer that saves DataFrame to a file. +

                                                  +
                                                3. + + +

                                                  + + + class + + + HttpClientWriter extends BaseWriter[DataFrame, StreamWriterInfo, SparkSession] + +

                                                  + + Permalink + + +

                                                  :: ApplicationDeveloperApi ::

                                                  :: ApplicationDeveloperApi ::

                                                  Writer that send spark output stream to a http server +

                                                  +
                                                4. + + +

                                                  + + + class + + + KafkaWriter extends BaseWriter[DataFrame, StreamWriterInfo, StreamingContext] + +

                                                  + + Permalink + + +

                                                  :: ApplicationDeveloperApi ::

                                                  :: ApplicationDeveloperApi ::

                                                  Writer that sends DataFrame to Kafka. +

                                                  +
                                                5. + + +

                                                  + + + class + + + MongodbWriter extends BaseWriter[DataFrame, BatchWriterInfo, SparkSession] + +

                                                  + + Permalink + + +

                                                  :: ApplicationDeveloperApi ::

                                                  :: ApplicationDeveloperApi ::

                                                  Writer that saves DataFrame to MongoDB. +

                                                  +
                                                6. + + +

                                                  + + + class + + + PhoenixWriter extends BaseWriter[DataFrame, BatchWriterInfo, SparkSession] + +

                                                  + + Permalink + + +

                                                  :: ApplicationDeveloperApi ::

                                                  :: ApplicationDeveloperApi ::

                                                  Writer that saves DataFrame to HBase using Phoenix. +

                                                  +
                                                7. + + +

                                                  + + + class + + + StdoutWriter[P] extends BaseWriter[DataFrame, P, SparkSession] + +

                                                  + + Permalink + + +

                                                  :: ApplicationDeveloperApi ::

                                                  :: ApplicationDeveloperApi ::

                                                  Writer that print the schema and some rows of DataFrame to standard output. +

                                                  +
                                                8. + + +

                                                  + + + class + + + TableWriter extends BaseWriter[DataFrame, BatchWriterInfo, SparkSession] + +

                                                  + + Permalink + + +

                                                  :: ApplicationDeveloperApi ::

                                                  :: ApplicationDeveloperApi ::

                                                  Writer that saves DataFrame to SQL Database. +(e.g. PostgresQL, MySQL, ...). +

                                                  +
                                                +
                                                + + + +
                                                +

                                                Value Members

                                                +
                                                1. + + +

                                                  + + + object + + + FileWriter extends Serializable + +

                                                  + + Permalink + + + +
                                                2. + + +

                                                  + + + object + + + KafkaWriter extends Serializable + +

                                                  + + Permalink + + + +
                                                3. + + +

                                                  + + + object + + + PhoenixWriter extends Serializable + +

                                                  + + Permalink + + + +
                                                4. + + +

                                                  + + + object + + + StdoutWriter extends Serializable + +

                                                  + + Permalink + + + +
                                                +
                                                + + + + +
                                                + +
                                                + + +
                                                + +
                                                +
                                                +

                                                Ungrouped

                                                + +
                                                +
                                                + +
                                                + +
                                                + + + + + + diff --git a/manual1903/api_reference/components/scaladocs/ksb/csle/components/App.html b/manual1903/api_reference/components/scaladocs/ksb/csle/components/App.html new file mode 100644 index 0000000000000000000000000000000000000000..8d1c7e54680d31a66730d0a4224eb31caaf44308 --- /dev/null +++ b/manual1903/api_reference/components/scaladocs/ksb/csle/components/App.html @@ -0,0 +1,502 @@ + + + + App - KSB COMPONENTS Scala App Project 1.0-SNAPSHOT API - ksb.csle.components.App + + + + + + + + + + + + + + + +
                                                + Class +

                                                ksb.csle.components

                                                +

                                                App

                                                Related Doc: + package components +

                                                + + Permalink + + +
                                                + +

                                                + + + class + + + App extends AnyRef + +

                                                + +
                                                + Linear Supertypes +
                                                AnyRef, Any
                                                +
                                                + + +
                                                +
                                                +
                                                + Ordering +
                                                  + +
                                                1. Alphabetic
                                                2. +
                                                3. By Inheritance
                                                4. +
                                                +
                                                +
                                                + Inherited
                                                +
                                                +
                                                  +
                                                1. App
                                                2. AnyRef
                                                3. Any
                                                4. +
                                                +
                                                + +
                                                  +
                                                1. Hide All
                                                2. +
                                                3. Show All
                                                4. +
                                                +
                                                +
                                                + Visibility +
                                                1. Public
                                                2. All
                                                +
                                                +
                                                + +
                                                +
                                                +
                                                +

                                                Instance Constructors

                                                +
                                                1. + + +

                                                  + + + new + + + App() + +

                                                  + + Permalink + + + +
                                                +
                                                + + + + + +
                                                +

                                                Value Members

                                                +
                                                1. + + +

                                                  + + final + def + + + !=(arg0: Any): Boolean + +

                                                  + + Permalink + + +
                                                  Definition Classes
                                                  AnyRef → Any
                                                  +
                                                2. + + +

                                                  + + final + def + + + ##(): Int + +

                                                  + + Permalink + + +
                                                  Definition Classes
                                                  AnyRef → Any
                                                  +
                                                3. + + +

                                                  + + final + def + + + ==(arg0: Any): Boolean + +

                                                  + + Permalink + + +
                                                  Definition Classes
                                                  AnyRef → Any
                                                  +
                                                4. + + +

                                                  + + final + def + + + asInstanceOf[T0]: T0 + +

                                                  + + Permalink + + +
                                                  Definition Classes
                                                  Any
                                                  +
                                                5. + + +

                                                  + + + def + + + clone(): AnyRef + +

                                                  + + Permalink + + +
                                                  Attributes
                                                  protected[java.lang]
                                                  Definition Classes
                                                  AnyRef
                                                  Annotations
                                                  + @throws( + + ... + ) + +
                                                  +
                                                6. + + +

                                                  + + final + def + + + eq(arg0: AnyRef): Boolean + +

                                                  + + Permalink + + +
                                                  Definition Classes
                                                  AnyRef
                                                  +
                                                7. + + +

                                                  + + + def + + + equals(arg0: Any): Boolean + +

                                                  + + Permalink + + +
                                                  Definition Classes
                                                  AnyRef → Any
                                                  +
                                                8. + + +

                                                  + + + def + + + finalize(): Unit + +

                                                  + + Permalink + + +
                                                  Attributes
                                                  protected[java.lang]
                                                  Definition Classes
                                                  AnyRef
                                                  Annotations
                                                  + @throws( + + classOf[java.lang.Throwable] + ) + +
                                                  +
                                                9. + + +

                                                  + + final + def + + + getClass(): Class[_] + +

                                                  + + Permalink + + +
                                                  Definition Classes
                                                  AnyRef → Any
                                                  +
                                                10. + + +

                                                  + + + def + + + hashCode(): Int + +

                                                  + + Permalink + + +
                                                  Definition Classes
                                                  AnyRef → Any
                                                  +
                                                11. + + +

                                                  + + final + def + + + isInstanceOf[T0]: Boolean + +

                                                  + + Permalink + + +
                                                  Definition Classes
                                                  Any
                                                  +
                                                12. + + +

                                                  + + final + def + + + ne(arg0: AnyRef): Boolean + +

                                                  + + Permalink + + +
                                                  Definition Classes
                                                  AnyRef
                                                  +
                                                13. + + +

                                                  + + final + def + + + notify(): Unit + +

                                                  + + Permalink + + +
                                                  Definition Classes
                                                  AnyRef
                                                  +
                                                14. + + +

                                                  + + final + def + + + notifyAll(): Unit + +

                                                  + + Permalink + + +
                                                  Definition Classes
                                                  AnyRef
                                                  +
                                                15. + + +

                                                  + + final + def + + + synchronized[T0](arg0: ⇒ T0): T0 + +

                                                  + + Permalink + + +
                                                  Definition Classes
                                                  AnyRef
                                                  +
                                                16. + + +

                                                  + + + def + + + toString(): String + +

                                                  + + Permalink + + +
                                                  Definition Classes
                                                  AnyRef → Any
                                                  +
                                                17. + + +

                                                  + + final + def + + + wait(): Unit + +

                                                  + + Permalink + + +
                                                  Definition Classes
                                                  AnyRef
                                                  Annotations
                                                  + @throws( + + ... + ) + +
                                                  +
                                                18. + + +

                                                  + + final + def + + + wait(arg0: Long, arg1: Int): Unit + +

                                                  + + Permalink + + +
                                                  Definition Classes
                                                  AnyRef
                                                  Annotations
                                                  + @throws( + + ... + ) + +
                                                  +
                                                19. + + +

                                                  + + final + def + + + wait(arg0: Long): Unit + +

                                                  + + Permalink + + +
                                                  Definition Classes
                                                  AnyRef
                                                  Annotations
                                                  + @throws( + + ... + ) + +
                                                  +
                                                +
                                                + + + + +
                                                + +
                                                +
                                                +

                                                Inherited from AnyRef

                                                +
                                                +

                                                Inherited from Any

                                                +
                                                + +
                                                + +
                                                +
                                                +

                                                Ungrouped

                                                + +
                                                +
                                                + +
                                                + +
                                                + + + + + + diff --git a/manual1903/api_reference/components/scaladocs/ksb/csle/components/package.html b/manual1903/api_reference/components/scaladocs/ksb/csle/components/package.html new file mode 100644 index 0000000000000000000000000000000000000000..1b33b25a41b6cc12edb131ed5bbc58960370e6cc --- /dev/null +++ b/manual1903/api_reference/components/scaladocs/ksb/csle/components/package.html @@ -0,0 +1,118 @@ + + + + components - KSB COMPONENTS Scala App Project 1.0-SNAPSHOT API - ksb.csle.components + + + + + + + + + + + + + + + +
                                                + Package +

                                                ksb.csle

                                                +

                                                components

                                                + + Permalink + + +
                                                + +

                                                + + + package + + + components + +

                                                + +
                                                + + +
                                                +
                                                + + +
                                                + Visibility +
                                                1. Public
                                                2. All
                                                +
                                                +
                                                + +
                                                +
                                                + + +
                                                +

                                                Type Members

                                                +
                                                1. + + +

                                                  + + + class + + + App extends AnyRef + +

                                                  + + Permalink + + + +
                                                +
                                                + + + + + + + + +
                                                + +
                                                + + +
                                                + +
                                                +
                                                +

                                                Ungrouped

                                                + +
                                                +
                                                + +
                                                + +
                                                + + + + + + diff --git a/manual1903/api_reference/components/scaladocs/ksb/csle/ingestion/package.html b/manual1903/api_reference/components/scaladocs/ksb/csle/ingestion/package.html new file mode 100644 index 0000000000000000000000000000000000000000..c1f19f922bfc7b6da2e1568df2e0b0634da73760 --- /dev/null +++ b/manual1903/api_reference/components/scaladocs/ksb/csle/ingestion/package.html @@ -0,0 +1,118 @@ + + + + ingestion - KSB COMPONENTS Scala App Project 1.0-SNAPSHOT API - ksb.csle.ingestion + + + + + + + + + + + + + + + +
                                                + Package +

                                                ksb.csle

                                                +

                                                ingestion

                                                + + Permalink + + +
                                                + +

                                                + + + package + + + ingestion + +

                                                + +
                                                + + +
                                                +
                                                + + +
                                                + Visibility +
                                                1. Public
                                                2. All
                                                +
                                                +
                                                + +
                                                +
                                                + + + + + + +
                                                +

                                                Value Members

                                                +
                                                1. + + +

                                                  + + + package + + + runner + +

                                                  + + Permalink + + + +
                                                +
                                                + + + + +
                                                + +
                                                + + +
                                                + +
                                                +
                                                +

                                                Ungrouped

                                                + +
                                                +
                                                + +
                                                + +
                                                + + + + + + diff --git a/manual1903/api_reference/components/scaladocs/ksb/csle/ingestion/runner/PhoenixTest.html b/manual1903/api_reference/components/scaladocs/ksb/csle/ingestion/runner/PhoenixTest.html new file mode 100644 index 0000000000000000000000000000000000000000..e90df26ce9e6617ef4a4c69bb14be05dab5307e9 --- /dev/null +++ b/manual1903/api_reference/components/scaladocs/ksb/csle/ingestion/runner/PhoenixTest.html @@ -0,0 +1,502 @@ + + + + PhoenixTest - KSB COMPONENTS Scala App Project 1.0-SNAPSHOT API - ksb.csle.ingestion.runner.PhoenixTest + + + + + + + + + + + + + + + +
                                                + Class +

                                                ksb.csle.ingestion.runner

                                                +

                                                PhoenixTest

                                                Related Doc: + package runner +

                                                + + Permalink + + +
                                                + +

                                                + + + class + + + PhoenixTest extends AnyRef + +

                                                + +
                                                + Linear Supertypes +
                                                AnyRef, Any
                                                +
                                                + + +
                                                +
                                                +
                                                + Ordering +
                                                  + +
                                                1. Alphabetic
                                                2. +
                                                3. By Inheritance
                                                4. +
                                                +
                                                +
                                                + Inherited
                                                +
                                                +
                                                  +
                                                1. PhoenixTest
                                                2. AnyRef
                                                3. Any
                                                4. +
                                                +
                                                + +
                                                  +
                                                1. Hide All
                                                2. +
                                                3. Show All
                                                4. +
                                                +
                                                +
                                                + Visibility +
                                                1. Public
                                                2. All
                                                +
                                                +
                                                + +
                                                +
                                                +
                                                +

                                                Instance Constructors

                                                +
                                                1. + + +

                                                  + + + new + + + PhoenixTest() + +

                                                  + + Permalink + + + +
                                                +
                                                + + + + + +
                                                +

                                                Value Members

                                                +
                                                1. + + +

                                                  + + final + def + + + !=(arg0: Any): Boolean + +

                                                  + + Permalink + + +
                                                  Definition Classes
                                                  AnyRef → Any
                                                  +
                                                2. + + +

                                                  + + final + def + + + ##(): Int + +

                                                  + + Permalink + + +
                                                  Definition Classes
                                                  AnyRef → Any
                                                  +
                                                3. + + +

                                                  + + final + def + + + ==(arg0: Any): Boolean + +

                                                  + + Permalink + + +
                                                  Definition Classes
                                                  AnyRef → Any
                                                  +
                                                4. + + +

                                                  + + final + def + + + asInstanceOf[T0]: T0 + +

                                                  + + Permalink + + +
                                                  Definition Classes
                                                  Any
                                                  +
                                                5. + + +

                                                  + + + def + + + clone(): AnyRef + +

                                                  + + Permalink + + +
                                                  Attributes
                                                  protected[java.lang]
                                                  Definition Classes
                                                  AnyRef
                                                  Annotations
                                                  + @throws( + + ... + ) + +
                                                  +
                                                6. + + +

                                                  + + final + def + + + eq(arg0: AnyRef): Boolean + +

                                                  + + Permalink + + +
                                                  Definition Classes
                                                  AnyRef
                                                  +
                                                7. + + +

                                                  + + + def + + + equals(arg0: Any): Boolean + +

                                                  + + Permalink + + +
                                                  Definition Classes
                                                  AnyRef → Any
                                                  +
                                                8. + + +

                                                  + + + def + + + finalize(): Unit + +

                                                  + + Permalink + + +
                                                  Attributes
                                                  protected[java.lang]
                                                  Definition Classes
                                                  AnyRef
                                                  Annotations
                                                  + @throws( + + classOf[java.lang.Throwable] + ) + +
                                                  +
                                                9. + + +

                                                  + + final + def + + + getClass(): Class[_] + +

                                                  + + Permalink + + +
                                                  Definition Classes
                                                  AnyRef → Any
                                                  +
                                                10. + + +

                                                  + + + def + + + hashCode(): Int + +

                                                  + + Permalink + + +
                                                  Definition Classes
                                                  AnyRef → Any
                                                  +
                                                11. + + +

                                                  + + final + def + + + isInstanceOf[T0]: Boolean + +

                                                  + + Permalink + + +
                                                  Definition Classes
                                                  Any
                                                  +
                                                12. + + +

                                                  + + final + def + + + ne(arg0: AnyRef): Boolean + +

                                                  + + Permalink + + +
                                                  Definition Classes
                                                  AnyRef
                                                  +
                                                13. + + +

                                                  + + final + def + + + notify(): Unit + +

                                                  + + Permalink + + +
                                                  Definition Classes
                                                  AnyRef
                                                  +
                                                14. + + +

                                                  + + final + def + + + notifyAll(): Unit + +

                                                  + + Permalink + + +
                                                  Definition Classes
                                                  AnyRef
                                                  +
                                                15. + + +

                                                  + + final + def + + + synchronized[T0](arg0: ⇒ T0): T0 + +

                                                  + + Permalink + + +
                                                  Definition Classes
                                                  AnyRef
                                                  +
                                                16. + + +

                                                  + + + def + + + toString(): String + +

                                                  + + Permalink + + +
                                                  Definition Classes
                                                  AnyRef → Any
                                                  +
                                                17. + + +

                                                  + + final + def + + + wait(): Unit + +

                                                  + + Permalink + + +
                                                  Definition Classes
                                                  AnyRef
                                                  Annotations
                                                  + @throws( + + ... + ) + +
                                                  +
                                                18. + + +

                                                  + + final + def + + + wait(arg0: Long, arg1: Int): Unit + +

                                                  + + Permalink + + +
                                                  Definition Classes
                                                  AnyRef
                                                  Annotations
                                                  + @throws( + + ... + ) + +
                                                  +
                                                19. + + +

                                                  + + final + def + + + wait(arg0: Long): Unit + +

                                                  + + Permalink + + +
                                                  Definition Classes
                                                  AnyRef
                                                  Annotations
                                                  + @throws( + + ... + ) + +
                                                  +
                                                +
                                                + + + + +
                                                + +
                                                +
                                                +

                                                Inherited from AnyRef

                                                +
                                                +

                                                Inherited from Any

                                                +
                                                + +
                                                + +
                                                +
                                                +

                                                Ungrouped

                                                + +
                                                +
                                                + +
                                                + +
                                                + + + + + + diff --git a/manual1903/api_reference/components/scaladocs/ksb/csle/ingestion/runner/package.html b/manual1903/api_reference/components/scaladocs/ksb/csle/ingestion/runner/package.html new file mode 100644 index 0000000000000000000000000000000000000000..c1f25e04de222c78f0b4b3e424b73ca3ed535c56 --- /dev/null +++ b/manual1903/api_reference/components/scaladocs/ksb/csle/ingestion/runner/package.html @@ -0,0 +1,118 @@ + + + + runner - KSB COMPONENTS Scala App Project 1.0-SNAPSHOT API - ksb.csle.ingestion.runner + + + + + + + + + + + + + + + +
                                                + Package +

                                                ksb.csle.ingestion

                                                +

                                                runner

                                                + + Permalink + + +
                                                + +

                                                + + + package + + + runner + +

                                                + +
                                                + + +
                                                +
                                                + + +
                                                + Visibility +
                                                1. Public
                                                2. All
                                                +
                                                +
                                                + +
                                                +
                                                + + +
                                                +

                                                Type Members

                                                +
                                                1. + + +

                                                  + + + class + + + PhoenixTest extends AnyRef + +

                                                  + + Permalink + + + +
                                                +
                                                + + + + + + + + +
                                                + +
                                                + + +
                                                + +
                                                +
                                                +

                                                Ungrouped

                                                + +
                                                +
                                                + +
                                                + +
                                                + + + + + + diff --git a/manual1903/api_reference/components/scaladocs/ksb/csle/package.html b/manual1903/api_reference/components/scaladocs/ksb/csle/package.html new file mode 100644 index 0000000000000000000000000000000000000000..93cd590a33eb5da4f1b9f4d6e181f9fd264c68dd --- /dev/null +++ b/manual1903/api_reference/components/scaladocs/ksb/csle/package.html @@ -0,0 +1,152 @@ + + + + csle - KSB COMPONENTS Scala App Project 1.0-SNAPSHOT API - ksb.csle + + + + + + + + + + + + + + + +
                                                + Package +

                                                ksb

                                                +

                                                csle

                                                + + Permalink + + +
                                                + +

                                                + + + package + + + csle + +

                                                + +
                                                + + +
                                                +
                                                + + +
                                                + Visibility +
                                                1. Public
                                                2. All
                                                +
                                                +
                                                + +
                                                +
                                                + + + + + + +
                                                +

                                                Value Members

                                                +
                                                1. + + +

                                                  + + + package + + + component + +

                                                  + + Permalink + + + +
                                                2. + + +

                                                  + + + package + + + components + +

                                                  + + Permalink + + + +
                                                3. + + +

                                                  + + + package + + + ingestion + +

                                                  + + Permalink + + + +
                                                +
                                                + + + + +
                                                + +
                                                + + +
                                                + +
                                                +
                                                +

                                                Ungrouped

                                                + +
                                                +
                                                + +
                                                + +
                                                + + + + + + diff --git a/manual1903/api_reference/components/scaladocs/ksb/package.html b/manual1903/api_reference/components/scaladocs/ksb/package.html new file mode 100644 index 0000000000000000000000000000000000000000..a688b5685cfe2af12db6b4a53cff92fad4b01c6d --- /dev/null +++ b/manual1903/api_reference/components/scaladocs/ksb/package.html @@ -0,0 +1,118 @@ + + + + ksb - KSB COMPONENTS Scala App Project 1.0-SNAPSHOT API - ksb + + + + + + + + + + + + + + + +
                                                + Package + +

                                                ksb

                                                + + Permalink + + +
                                                + +

                                                + + + package + + + ksb + +

                                                + +
                                                + + +
                                                +
                                                + + +
                                                + Visibility +
                                                1. Public
                                                2. All
                                                +
                                                +
                                                + +
                                                +
                                                + + + + + + +
                                                +

                                                Value Members

                                                +
                                                1. + + +

                                                  + + + package + + + csle + +

                                                  + + Permalink + + + +
                                                +
                                                + + + + +
                                                + +
                                                + + +
                                                + +
                                                +
                                                +

                                                Ungrouped

                                                + +
                                                +
                                                + +
                                                + +
                                                + + + + + + diff --git a/manual1903/api_reference/components/scaladocs/lib/arrow-down.png b/manual1903/api_reference/components/scaladocs/lib/arrow-down.png new file mode 100644 index 0000000000000000000000000000000000000000..7229603ae5b30ce0e0bd09863543b260085c8f2d Binary files /dev/null and b/manual1903/api_reference/components/scaladocs/lib/arrow-down.png differ diff --git a/manual1903/api_reference/components/scaladocs/lib/arrow-right.png b/manual1903/api_reference/components/scaladocs/lib/arrow-right.png new file mode 100644 index 0000000000000000000000000000000000000000..b2f2935dc9be286841e9ae586a78551ed13617b7 Binary files /dev/null and b/manual1903/api_reference/components/scaladocs/lib/arrow-right.png differ diff --git a/manual1903/api_reference/components/scaladocs/lib/class.png b/manual1903/api_reference/components/scaladocs/lib/class.png new file mode 100644 index 0000000000000000000000000000000000000000..97edbd49db03f5a728c0ce855e6dd30fb869ebb3 Binary files /dev/null and b/manual1903/api_reference/components/scaladocs/lib/class.png differ diff --git a/manual1903/api_reference/components/scaladocs/lib/class_big.png b/manual1903/api_reference/components/scaladocs/lib/class_big.png new file mode 100644 index 0000000000000000000000000000000000000000..cb1f638a585c50456f57b73c4d043c75762ff9a5 Binary files /dev/null and b/manual1903/api_reference/components/scaladocs/lib/class_big.png differ diff --git a/manual1903/api_reference/components/scaladocs/lib/class_diagram.png b/manual1903/api_reference/components/scaladocs/lib/class_diagram.png new file mode 100644 index 0000000000000000000000000000000000000000..9d7aec792bebaea124455ad1918fbf0a7c1fc9a1 Binary files /dev/null and b/manual1903/api_reference/components/scaladocs/lib/class_diagram.png differ diff --git a/manual1903/api_reference/components/scaladocs/lib/class_to_object_big.png b/manual1903/api_reference/components/scaladocs/lib/class_to_object_big.png new file mode 100644 index 0000000000000000000000000000000000000000..5dd6e38d2e24ce832413d1a3e83deac76861f471 Binary files /dev/null and b/manual1903/api_reference/components/scaladocs/lib/class_to_object_big.png differ diff --git a/manual1903/api_reference/components/scaladocs/lib/constructorsbg.gif b/manual1903/api_reference/components/scaladocs/lib/constructorsbg.gif new file mode 100644 index 0000000000000000000000000000000000000000..2e3f5ea53025f68e2636f9c65e5115a3aa1bb581 Binary files /dev/null and b/manual1903/api_reference/components/scaladocs/lib/constructorsbg.gif differ diff --git a/manual1903/api_reference/components/scaladocs/lib/conversionbg.gif b/manual1903/api_reference/components/scaladocs/lib/conversionbg.gif new file mode 100644 index 0000000000000000000000000000000000000000..4be145d0af89d312ff04a6bd6efefd5106fd31ee Binary files /dev/null and b/manual1903/api_reference/components/scaladocs/lib/conversionbg.gif differ diff --git a/manual1903/api_reference/components/scaladocs/lib/defbg-blue.gif b/manual1903/api_reference/components/scaladocs/lib/defbg-blue.gif new file mode 100644 index 0000000000000000000000000000000000000000..69038337a793be5ec04430183980b7e393113ea1 Binary files /dev/null and b/manual1903/api_reference/components/scaladocs/lib/defbg-blue.gif differ diff --git a/manual1903/api_reference/components/scaladocs/lib/defbg-green.gif b/manual1903/api_reference/components/scaladocs/lib/defbg-green.gif new file mode 100644 index 0000000000000000000000000000000000000000..36c43be3a2c67992ce648a7bdf008d818d7fc0b6 Binary files /dev/null and b/manual1903/api_reference/components/scaladocs/lib/defbg-green.gif differ diff --git a/manual1903/api_reference/components/scaladocs/lib/diagrams.css b/manual1903/api_reference/components/scaladocs/lib/diagrams.css new file mode 100644 index 0000000000000000000000000000000000000000..5fe33f72f5bb4f3ad30465f435b72cbb12e639f9 --- /dev/null +++ b/manual1903/api_reference/components/scaladocs/lib/diagrams.css @@ -0,0 +1,143 @@ +.diagram-container +{ + display: none; +} + +.diagram +{ + overflow: hidden; + padding-top:15px; +} + +.diagram svg +{ + display: block; + position: absolute; + visibility: hidden; + margin: auto; +} + +.diagram-help +{ + float:right; + display:none; +} + +.magnifying +{ + cursor: -webkit-zoom-in ! important; + cursor: -moz-zoom-in ! important; + cursor: pointer; +} + +#close-link +{ + position: absolute; + z-index: 100; + font-family: Arial, sans-serif; + font-size: 10pt; + text-decoration: underline; + color: #315479; +} + +#close:hover +{ + text-decoration: none; +} + +svg a +{ + cursor:pointer; +} + +svg text +{ + font-size: 10px; +} + +/* try to move the node text 1px in order to be vertically + centered (does not work in all browsers) */ +svg .node text +{ + transform: translate(0px,1px); + -ms-transform: translate(0px,1px); + -webkit-transform: translate(0px,1px); + -o-transform: translate(0px,1px); + -moz-transform: translate(0px,1px); +} + +/* hover effect for edges */ + +svg .edge.over text, +svg .edge.implicit-incoming.over polygon, +svg .edge.implicit-outgoing.over polygon +{ + fill: #202020; +} + +svg .edge.over path, +svg .edge.over polygon +{ + stroke: #202020; +} + +/* hover effect for nodes in class diagrams */ + +svg.class-diagram .node +{ + opacity: 0.75; +} + +svg.class-diagram .node.this +{ + opacity: 1.0; +} + +svg.class-diagram .node.over +{ + opacity: 1.0; +} + +svg .node.over polygon +{ + stroke: #202020; +} + +/* hover effect for nodes in package diagrams */ + +svg.package-diagram .node.class.over polygon, +svg.class-diagram .node.this.class.over polygon +{ + fill: #098552; + fill: #04663e; +} + +svg.package-diagram .node.trait.over polygon, +svg.class-diagram .node.this.trait.over polygon +{ + fill: #3c7b9b; + fill: #235d7b; +} + +svg.package-diagram .node.type.over polygon, +svg.class-diagram .node.this.type.over polygon +{ + fill: #098552; + fill: #04663e; +} + + +svg.package-diagram .node.object.over polygon +{ + fill: #183377; +} + +svg.package-diagram .node.outside.over polygon +{ + fill: #d4d4d4; +} + +svg.package-diagram .node.default.over polygon +{ + fill: #d4d4d4; +} diff --git a/manual1903/api_reference/components/scaladocs/lib/diagrams.js b/manual1903/api_reference/components/scaladocs/lib/diagrams.js new file mode 100644 index 0000000000000000000000000000000000000000..680ead7a593d21f926fb2587c990d79405c0a3d1 --- /dev/null +++ b/manual1903/api_reference/components/scaladocs/lib/diagrams.js @@ -0,0 +1,324 @@ +/** + * JavaScript functions enhancing the SVG diagrams. + * + * @author Damien Obrist + */ + +var diagrams = {}; + +/** + * Initializes the diagrams in the main window. + */ +$(document).ready(function() +{ + // hide diagrams in browsers not supporting SVG + if(Modernizr && !Modernizr.inlinesvg) + return; + + // only execute this in the main window + if(diagrams.isPopup) + return; + + if($("#content-diagram").length) + $("#inheritance-diagram").css("padding-bottom", "20px"); + + $(".diagram-container").css("display", "block"); + + $(".diagram").each(function() { + // store initial dimensions + $(this).data("width", $("svg", $(this)).width()); + $(this).data("height", $("svg", $(this)).height()); + // store unscaled clone of SVG element + $(this).data("svg", $(this).get(0).childNodes[0].cloneNode(true)); + }); + + // make diagram visible, hide container + $(".diagram").css("display", "none"); + $(".diagram svg").css({ + "position": "static", + "visibility": "visible", + "z-index": "auto" + }); + + // enable linking to diagrams + if($(location).attr("hash") == "#inheritance-diagram") { + diagrams.toggle($("#inheritance-diagram-container"), true); + } else if($(location).attr("hash") == "#content-diagram") { + diagrams.toggle($("#content-diagram-container"), true); + } + + $(".diagram-link").click(function() { + diagrams.toggle($(this).parent()); + }); + + // register resize function + $(window).resize(diagrams.resize); + + // don't bubble event to parent div + // when clicking on a node of a resized + // diagram + $("svg a").click(function(e) { + e.stopPropagation(); + }); + + diagrams.initHighlighting(); +}); + +/** + * Initializes the diagrams in the popup. + */ +diagrams.initPopup = function(id) +{ + // copy diagram from main window + if(!jQuery.browser.msie) + $("body").append(opener.$("#" + id).data("svg")); + + // positioning + $("svg").css("position", "absolute"); + $(window).resize(function() + { + var svg_w = $("svg").css("width").replace("px", ""); + var svg_h = $("svg").css("height").replace("px", ""); + var x = $(window).width() / 2 - svg_w / 2; + if(x < 0) x = 0; + var y = $(window).height() / 2 - svg_h / 2; + if(y < 0) y = 0; + $("svg").css("left", x + "px"); + $("svg").css("top", y + "px"); + }); + $(window).resize(); + + diagrams.initHighlighting(); + $("svg a").click(function(e) { + opener.diagrams.redirectFromPopup(this.href.baseVal); + window.close(); + }); + $(document).keyup(function(e) { + if (e.keyCode == 27) window.close(); + }); +} + +/** + * Initializes highlighting for nodes and edges. + */ +diagrams.initHighlighting = function() +{ + // helper function since $.hover doesn't work in IE + + function hover(elements, fn) + { + elements.mouseover(fn); + elements.mouseout(fn); + } + + // inheritance edges + + hover($("svg .edge.inheritance"), function(evt){ + var toggleClass = evt.type == "mouseout" ? diagrams.removeClass : diagrams.addClass; + var parts = $(this).attr("id").split("_"); + toggleClass($("#" + parts[0] + "_" + parts[1])); + toggleClass($("#" + parts[0] + "_" + parts[2])); + toggleClass($(this)); + }); + + // nodes + + hover($("svg .node"), function(evt){ + var toggleClass = evt.type == "mouseout" ? diagrams.removeClass : diagrams.addClass; + toggleClass($(this)); + var parts = $(this).attr("id").split("_"); + var index = parts[1]; + $("svg#" + parts[0] + " .edge.inheritance").each(function(){ + var parts2 = $(this).attr("id").split("_"); + if(parts2[1] == index) + { + toggleClass($("#" + parts2[0] + "_" + parts2[2])); + toggleClass($(this)); + } else if(parts2[2] == index) + { + toggleClass($("#" + parts2[0] + "_" + parts2[1])); + toggleClass($(this)); + } + }); + }); + + // incoming implicits + + hover($("svg .node.implicit-incoming"), function(evt){ + var toggleClass = evt.type == "mouseout" ? diagrams.removeClass : diagrams.addClass; + toggleClass($(this)); + toggleClass($("svg .edge.implicit-incoming")); + toggleClass($("svg .node.this")); + }); + + hover($("svg .edge.implicit-incoming"), function(evt){ + var toggleClass = evt.type == "mouseout" ? diagrams.removeClass : diagrams.addClass; + toggleClass($(this)); + toggleClass($("svg .node.this")); + $("svg .node.implicit-incoming").each(function(){ + toggleClass($(this)); + }); + }); + + // implicit outgoing nodes + + hover($("svg .node.implicit-outgoing"), function(evt){ + var toggleClass = evt.type == "mouseout" ? diagrams.removeClass : diagrams.addClass; + toggleClass($(this)); + toggleClass($("svg .edge.implicit-outgoing")); + toggleClass($("svg .node.this")); + }); + + hover($("svg .edge.implicit-outgoing"), function(evt){ + var toggleClass = evt.type == "mouseout" ? diagrams.removeClass : diagrams.addClass; + toggleClass($(this)); + toggleClass($("svg .node.this")); + $("svg .node.implicit-outgoing").each(function(){ + toggleClass($(this)); + }); + }); +}; + +/** + * Resizes the diagrams according to the available width. + */ +diagrams.resize = function() +{ + // available width + var availableWidth = $("body").width() - 20; + + $(".diagram-container").each(function() { + // unregister click event on whole div + $(".diagram", this).unbind("click"); + var diagramWidth = $(".diagram", this).data("width"); + var diagramHeight = $(".diagram", this).data("height"); + + if(diagramWidth > availableWidth) + { + // resize diagram + var height = diagramHeight / diagramWidth * availableWidth; + $(".diagram svg", this).width(availableWidth); + $(".diagram svg", this).height(height); + + // register click event on whole div + $(".diagram", this).click(function() { + diagrams.popup($(this)); + }); + $(".diagram", this).addClass("magnifying"); + } + else + { + // restore full size of diagram + $(".diagram svg", this).width(diagramWidth); + $(".diagram svg", this).height(diagramHeight); + // don't show custom cursor any more + $(".diagram", this).removeClass("magnifying"); + } + }); +}; + +/** + * Shows or hides a diagram depending on its current state. + */ +diagrams.toggle = function(container, dontAnimate) +{ + // change class of link + $(".diagram-link", container).toggleClass("open"); + // get element to show / hide + var div = $(".diagram", container); + if (div.is(':visible')) + { + $(".diagram-help", container).hide(); + div.unbind("click"); + div.removeClass("magnifying"); + div.slideUp(100); + } + else + { + diagrams.resize(); + if(dontAnimate) + div.show(); + else + div.slideDown(100); + $(".diagram-help", container).show(); + } +}; + +/** + * Opens a popup containing a copy of a diagram. + */ +diagrams.windows = {}; +diagrams.popup = function(diagram) +{ + var id = diagram.attr("id"); + if(!diagrams.windows[id] || diagrams.windows[id].closed) { + var title = $(".symbol .name", $("#signature")).text(); + // cloning from parent window to popup somehow doesn't work in IE + // therefore include the SVG as a string into the HTML + var svgIE = jQuery.browser.msie ? $("
                                                ").append(diagram.data("svg")).html() : ""; + var html = '' + + '\n' + + '\n' + + '\n' + + ' \n' + + ' ' + title + '\n' + + ' \n' + + ' \n' + + ' \n' + + ' \n' + + ' \n' + + ' \n' + + ' Close this window\n' + + ' ' + svgIE + '\n' + + ' \n' + + ''; + + var padding = 30; + var screenHeight = screen.availHeight; + var screenWidth = screen.availWidth; + var w = Math.min(screenWidth, diagram.data("width") + 2 * padding); + var h = Math.min(screenHeight, diagram.data("height") + 2 * padding); + var left = (screenWidth - w) / 2; + var top = (screenHeight - h) / 2; + var parameters = "height=" + h + ", width=" + w + ", left=" + left + ", top=" + top + ", scrollbars=yes, location=no, resizable=yes"; + var win = window.open("about:blank", "_blank", parameters); + win.document.open(); + win.document.write(html); + win.document.close(); + diagrams.windows[id] = win; + } + win.focus(); +}; + +/** + * This method is called from within the popup when a node is clicked. + */ +diagrams.redirectFromPopup = function(url) +{ + window.location = url; +}; + +/** + * Helper method that adds a class to a SVG element. + */ +diagrams.addClass = function(svgElem, newClass) { + newClass = newClass || "over"; + var classes = svgElem.attr("class"); + if ($.inArray(newClass, classes.split(/\s+/)) == -1) { + classes += (classes ? ' ' : '') + newClass; + svgElem.attr("class", classes); + } +}; + +/** + * Helper method that removes a class from a SVG element. + */ +diagrams.removeClass = function(svgElem, oldClass) { + oldClass = oldClass || "over"; + var classes = svgElem.attr("class"); + classes = $.grep(classes.split(/\s+/), function(n, i) { return n != oldClass; }).join(' '); + svgElem.attr("class", classes); +}; + diff --git a/manual1903/api_reference/components/scaladocs/lib/filter_box_left.png b/manual1903/api_reference/components/scaladocs/lib/filter_box_left.png new file mode 100644 index 0000000000000000000000000000000000000000..0e8c893315e7955b02474d3a544b9145aafb15b2 Binary files /dev/null and b/manual1903/api_reference/components/scaladocs/lib/filter_box_left.png differ diff --git a/manual1903/api_reference/components/scaladocs/lib/filter_box_left2.gif b/manual1903/api_reference/components/scaladocs/lib/filter_box_left2.gif new file mode 100644 index 0000000000000000000000000000000000000000..b9b49076a6410112fd18b370bc661154bbab8f80 Binary files /dev/null and b/manual1903/api_reference/components/scaladocs/lib/filter_box_left2.gif differ diff --git a/manual1903/api_reference/components/scaladocs/lib/filter_box_right.png b/manual1903/api_reference/components/scaladocs/lib/filter_box_right.png new file mode 100644 index 0000000000000000000000000000000000000000..f127e35b48d39bd048fea2a8e98dd68fb5984601 Binary files /dev/null and b/manual1903/api_reference/components/scaladocs/lib/filter_box_right.png differ diff --git a/manual1903/api_reference/components/scaladocs/lib/filterbg.gif b/manual1903/api_reference/components/scaladocs/lib/filterbg.gif new file mode 100644 index 0000000000000000000000000000000000000000..542ba4aa5a59c8753bfdaa2fa1db8db0bb452d25 Binary files /dev/null and b/manual1903/api_reference/components/scaladocs/lib/filterbg.gif differ diff --git a/manual1903/api_reference/components/scaladocs/lib/filterboxbarbg.gif b/manual1903/api_reference/components/scaladocs/lib/filterboxbarbg.gif new file mode 100644 index 0000000000000000000000000000000000000000..b5075c16cd8c70fca9e2acf29e3cc6cd462517ea Binary files /dev/null and b/manual1903/api_reference/components/scaladocs/lib/filterboxbarbg.gif differ diff --git a/manual1903/api_reference/components/scaladocs/lib/filterboxbarbg.png b/manual1903/api_reference/components/scaladocs/lib/filterboxbarbg.png new file mode 100644 index 0000000000000000000000000000000000000000..d613cf5633954d02ef3260288c8429608bc72b86 Binary files /dev/null and b/manual1903/api_reference/components/scaladocs/lib/filterboxbarbg.png differ diff --git a/manual1903/api_reference/components/scaladocs/lib/filterboxbg.gif b/manual1903/api_reference/components/scaladocs/lib/filterboxbg.gif new file mode 100644 index 0000000000000000000000000000000000000000..ae2f85823bbbd77d85a28d8348bfd75a1ec626ba Binary files /dev/null and b/manual1903/api_reference/components/scaladocs/lib/filterboxbg.gif differ diff --git a/manual1903/api_reference/components/scaladocs/lib/fullcommenttopbg.gif b/manual1903/api_reference/components/scaladocs/lib/fullcommenttopbg.gif new file mode 100644 index 0000000000000000000000000000000000000000..a0d93f4844ef407432e0984a2c1cc58b0707e0d9 Binary files /dev/null and b/manual1903/api_reference/components/scaladocs/lib/fullcommenttopbg.gif differ diff --git a/manual1903/api_reference/components/scaladocs/lib/index.css b/manual1903/api_reference/components/scaladocs/lib/index.css new file mode 100644 index 0000000000000000000000000000000000000000..3e352a95b3a935332bdf1cc25a1115cc01ccffbb --- /dev/null +++ b/manual1903/api_reference/components/scaladocs/lib/index.css @@ -0,0 +1,339 @@ +* { + color: inherit; + font-size: 10pt; + text-decoration: none; + font-family: Arial, sans-serif; + border-width: 0px; + padding: 0px; + margin: 0px; +} + +a { + cursor: pointer; +} + +a:hover { + text-decoration: underline; +} + +h1 { + display: none; +} + +.selected { + -moz-box-shadow: inset 0px 5px 10px rgba(58, 88, 97, .36); + -webkit-box-shadow: inset 0px 5px 10px rgba(58, 88, 97, .36); + border-top: solid 1px rgba(119, 138, 153, 0.8); + border-bottom: solid 1px rgba(151, 173, 191, 0.4); + background-color: #ced2d9; + margin: -1px 0px; +} + +/*.letters { + font-family: monospace; + font-size: 2pt; + padding: 5px; + background-color: #DADADA; + text-shadow: #ffffff 0 1px 0; +}*/ + +#library { + display: none; +} + +#browser { + top: 0px; + left: 0px; + bottom: 0px; + width: 100%; + display: block; + position: fixed; +} + +#filter { + position: absolute; + display: block; +/* padding: 5px;*/ + right: 0; + left: 0; + top: 0; + background-image:url('filterbg.gif'); + background-repeat:repeat-x; + background-color: #ededee; /* light gray */ + /*background-color: #DADADA;*/ + border:1px solid #bbbbbb; + border-top:0; + border-left:0; + border-right:0; +} + +#textfilter { + position: relative; + display: block; + height: 20px; + margin-top: 5px; + margin-bottom: 5px; +} + +#textfilter > .pre { + display: block; + position: absolute; + top: 0; + left: 0; + height: 23px; + width: 21px; + background: url("filter_box_left.png"); +} + +#textfilter > .input { + display: block; + position: absolute; + top: 0; + right: 20px; + left: 20px; +} + +#textfilter > .input > input { + height: 20px; + padding: 1px; + font-weight: bold; + color: #000000; + background: #ffffff url("filterboxbarbg.png") repeat-x bottom left; + width: 100%; +} + +#textfilter > .post { + display: block; + position: absolute; + top: 0; + right: 0; + height: 23px; + width: 21px; + background: url("filter_box_right.png"); +} + +/*#textfilter { + position: relative; + display: block; + height: 20px; + margin-bottom: 5px; +} + +#textfilter > .pre { + display: block; + position: absolute; + top: 0; + left: 0; + height: 20px; + width: 20px; + background: url("filter_box_left.png"); +} + +#textfilter > .input { + display: block; + position: absolute; + top: 0; + right: 20px; + left: 20px; +} + +#textfilter > .input > input { + height: 16px; + padding: 2px; + font-weight: bold; + color: darkblue; + background-color: white; + width: 100%; +} + +#textfilter > .post { + display: block; + position: absolute; + top: 0; + right: 0; + height: 20px; + width: 20px; + background: url("filter_box_right.png"); +}*/ + +#focusfilter { + position: relative; + text-align: center; + display: block; + padding: 5px; + background-color: #fffebd; /* light yellow*/ + text-shadow: #ffffff 0 1px 0; +} + +#focusfilter .focuscoll { + font-weight: bold; + text-shadow: #ffffff 0 1px 0; +} + +#focusfilter img { + bottom: -2px; + position: relative; +} + +#kindfilter { + position: relative; + display: block; + padding: 5px; +/* background-color: #999;*/ + text-align: center; +} + +#kindfilter > a { + color: black; +/* text-decoration: underline;*/ + text-shadow: #ffffff 0 1px 0; + +} + +#kindfilter > a:hover { + color: #4C4C4C; + text-decoration: none; + text-shadow: #ffffff 0 1px 0; +} + +#letters { + position: relative; + text-align: center; + padding-bottom: 5px; + border:1px solid #bbbbbb; + border-top:0; + border-left:0; + border-right:0; +} + +#letters > a, #letters > span { +/* font-family: monospace;*/ + color: #858484; + font-weight: bold; + font-size: 8pt; + text-shadow: #ffffff 0 1px 0; + padding-right: 2px; +} + +#letters > span { + color: #bbb; +} + +#tpl { + display: block; + position: fixed; + overflow: auto; + right: 0; + left: 0; + bottom: 0; + top: 5px; + position: absolute; + display: block; +} + +#tpl .packhide { + display: block; + float: right; + font-weight: normal; + color: white; +} + +#tpl .packfocus { + display: block; + float: right; + font-weight: normal; + color: white; +} + +#tpl .packages > ol { + background-color: #dadfe6; + /*margin-bottom: 5px;*/ +} + +/*#tpl .packages > ol > li { + margin-bottom: 1px; +}*/ + +#tpl .packages > li > a { + padding: 0px 5px; +} + +#tpl .packages > li > a.tplshow { + display: block; + color: white; + font-weight: bold; + display: block; + text-shadow: #000000 0 1px 0; +} + +#tpl ol > li.pack { + padding: 3px 5px; + background: url("packagesbg.gif"); + background-repeat:repeat-x; + min-height: 14px; + background-color: #6e808e; +} + +#tpl ol > li { + display: block; +} + +#tpl .templates > li { + padding-left: 5px; + min-height: 18px; +} + +#tpl ol > li .icon { + padding-right: 5px; + bottom: -2px; + position: relative; +} + +#tpl .templates div.placeholder { + padding-right: 5px; + width: 13px; + display: inline-block; +} + +#tpl .templates span.tplLink { + padding-left: 5px; +} + +#content { + border-left-width: 1px; + border-left-color: black; + border-left-style: white; + right: 0px; + left: 0px; + bottom: 0px; + top: 0px; + position: fixed; + margin-left: 300px; + display: block; + -webkit-overflow-scrolling: touch; +} + +#content > iframe { + display: block; + height: 100%; + width: 100%; +} + +.ui-layout-pane { + background: #FFF; + overflow: auto; +} + +.ui-layout-resizer { + background-image:url('filterbg.gif'); + background-repeat:repeat-x; + background-color: #ededee; /* light gray */ + border:1px solid #bbbbbb; + border-top:0; + border-bottom:0; + border-left: 0; +} + +.ui-layout-toggler { + background: #AAA; +} \ No newline at end of file diff --git a/manual1903/api_reference/components/scaladocs/lib/index.js b/manual1903/api_reference/components/scaladocs/lib/index.js new file mode 100644 index 0000000000000000000000000000000000000000..cf81f7fdf5065743eda39df500cb05ad45a3449e --- /dev/null +++ b/manual1903/api_reference/components/scaladocs/lib/index.js @@ -0,0 +1,577 @@ +// © 2009–2010 EPFL/LAMP +// code by Gilles Dubochet with contributions by Johannes Rudolph, "spiros" and Marcin Kubala + +var topLevelTemplates = undefined; +var topLevelPackages = undefined; + +var scheduler = undefined; + +var kindFilterState = undefined; +var focusFilterState = undefined; + +var title = $(document).attr('title'); + +var lastFragment = ""; + +$(document).ready(function() { + $('body').layout({ + west__size: '20%', + center__maskContents: true + }); + $('#browser').layout({ + center__paneSelector: ".ui-west-center" + //,center__initClosed:true + ,north__paneSelector: ".ui-west-north" + }); + $('iframe').bind("load", function(){ + try { + var subtitle = $(this).contents().find('title').text(); + $(document).attr('title', (title ? title + " - " : "") + subtitle); + } catch (e) { + // Chrome doesn't allow reading the iframe's contents when + // used on the local file system. + } + setUrlFragmentFromFrameSrc(); + }); + + // workaround for IE's iframe sizing lack of smartness + if($.browser.msie) { + function fixIFrame() { + $('iframe').height($(window).height() ) + } + $('iframe').bind("load",fixIFrame) + $('iframe').bind("resize",fixIFrame) + } + + scheduler = new Scheduler(); + scheduler.addLabel("init", 1); + scheduler.addLabel("focus", 2); + scheduler.addLabel("filter", 4); + + prepareEntityList(); + + configureTextFilter(); + configureKindFilter(); + configureEntityList(); + + setFrameSrcFromUrlFragment(); + + // If the url fragment changes, adjust the src of iframe "template". + $(window).bind('hashchange', function() { + if(lastFragment != window.location.hash) { + lastFragment = window.location.hash; + setFrameSrcFromUrlFragment(); + } + }); +}); + +// Set the iframe's src according to the fragment of the current url. +// fragment = "#scala.Either" => iframe url = "scala/Either.html" +// fragment = "#scala.Either@isRight:Boolean" => iframe url = "scala/Either.html#isRight:Boolean" +// fragment = "#scalaz.iteratee.package@>@>[E,A]=scalaz.iteratee.package.Iteratee[E,A]" => iframe url = "scalaz/iteratee/package.html#>@>[E,A]=scalaz.iteratee.package.Iteratee[E,A]" +function setFrameSrcFromUrlFragment() { + + function extractLoc(fragment) { + var loc = fragment.split('@')[0].replace(/\./g, "/"); + if (loc.indexOf(".html") < 0) { + loc += ".html"; + } + return loc; + } + + function extractMemberSig(fragment) { + var splitIdx = fragment.indexOf('@'); + if (splitIdx < 0) { + return; + } + return fragment.substr(splitIdx + 1); + } + + var fragment = location.hash.slice(1); + if (fragment) { + var locWithMemeberSig = extractLoc(fragment); + var memberSig = extractMemberSig(fragment); + if (memberSig) { + locWithMemeberSig += "#" + memberSig; + } + frames["template"].location.replace(location.protocol + locWithMemeberSig); + } else { + console.log("empty fragment detected"); + frames["template"].location.replace("package.html"); + } +} + +// Set the url fragment according to the src of the iframe "template". +// iframe url = "scala/Either.html" => url fragment = "#scala.Either" +// iframe url = "scala/Either.html#isRight:Boolean" => url fragment = "#scala.Either@isRight:Boolean" +// iframe url = "scalaz/iteratee/package.html#>@>[E,A]=scalaz.iteratee.package.Iteratee[E,A]" => fragment = "#scalaz.iteratee.package@>@>[E,A]=scalaz.iteratee.package.Iteratee[E,A]" +function setUrlFragmentFromFrameSrc() { + try { + var commonLength = location.pathname.lastIndexOf("/"); + var frameLocation = frames["template"].location; + var relativePath = frameLocation.pathname.slice(commonLength + 1); + + if(!relativePath || frameLocation.pathname.indexOf("/") < 0) + return; + + // Add #, remove ".html" and replace "/" with "." + fragment = "#" + relativePath.replace(/\.html$/, "").replace(/\//g, "."); + + // Add the frame's hash after an @ + if(frameLocation.hash) fragment += ("@" + frameLocation.hash.slice(1)); + + // Use replace to not add history items + lastFragment = fragment; + location.replace(fragment); + } + catch(e) { + // Chrome doesn't allow reading the iframe's location when + // used on the local file system. + } +} + +var Index = {}; + +(function (ns) { + function openLink(t, type) { + var href; + if (type == 'object') { + href = t['object']; + } else { + href = t['class'] || t['trait'] || t['case class'] || t['type']; + } + return [ + '' + ].join(''); + } + + function createPackageHeader(pack) { + return [ + '
                                              1. ', + 'focushide', + '', + pack, + '
                                              2. ' + ].join(''); + }; + + function createListItem(template) { + var inner = ''; + + + if (template.object) { + inner += openLink(template, 'object'); + } + + if (template['class'] || template['trait'] || template['case class'] || template['type']) { + inner += (inner == '') ? + '
                                                ' : ''; + inner += openLink(template, template['trait'] ? 'trait' : template['type'] ? 'type' : 'class'); + } else { + inner += '
                                                '; + } + + return [ + '
                                              3. ', + inner, + '', + template.name.replace(/^.*\./, ''), + '
                                              4. ' + ].join(''); + } + + + ns.createPackageTree = function (pack, matched, focused) { + var html = $.map(matched, function (child, i) { + return createListItem(child); + }).join(''); + + var header; + if (focused && pack == focused) { + header = ''; + } else { + header = createPackageHeader(pack); + } + + return [ + '
                                                  ', + header, + '
                                                    ', + html, + '
                                                ' + ].join(''); + } + + ns.keys = function (obj) { + var result = []; + var key; + for (key in obj) { + result.push(key); + } + return result; + } + + var hiddenPackages = {}; + + function subPackages(pack) { + return $.grep($('#tpl ol.packages'), function (element, index) { + var pack = $('li.pack > .tplshow', element).text(); + return pack.indexOf(pack + '.') == 0; + }); + } + + ns.hidePackage = function (ol) { + var selected = $('li.pack > .tplshow', ol).text(); + hiddenPackages[selected] = true; + + $('ol.templates', ol).hide(); + + $.each(subPackages(selected), function (index, element) { + $(element).hide(); + }); + } + + ns.showPackage = function (ol, state) { + var selected = $('li.pack > .tplshow', ol).text(); + hiddenPackages[selected] = false; + + $('ol.templates', ol).show(); + + $.each(subPackages(selected), function (index, element) { + $(element).show(); + + // When the filter is in "packs" state, + // we don't want to show the `.templates` + var key = $('li.pack > .tplshow', element).text(); + if (hiddenPackages[key] || state == 'packs') { + $('ol.templates', element).hide(); + } + }); + } + +})(Index); + +function configureEntityList() { + kindFilterSync(); + configureHideFilter(); + configureFocusFilter(); + textFilter(); +} + +/* Updates the list of entities (i.e. the content of the #tpl element) from the raw form generated by Scaladoc to a + form suitable for display. In particular, it adds class and object etc. icons, and it configures links to open in + the right frame. Furthermore, it sets the two reference top-level entities lists (topLevelTemplates and + topLevelPackages) to serve as reference for resetting the list when needed. + Be advised: this function should only be called once, on page load. */ +function prepareEntityList() { + var classIcon = $("#library > img.class"); + var traitIcon = $("#library > img.trait"); + var typeIcon = $("#library > img.type"); + var objectIcon = $("#library > img.object"); + var packageIcon = $("#library > img.package"); + + $('#tpl li.pack > a.tplshow').attr("target", "template"); + $('#tpl li.pack').each(function () { + $("span.class", this).each(function() { $(this).replaceWith(classIcon.clone()); }); + $("span.trait", this).each(function() { $(this).replaceWith(traitIcon.clone()); }); + $("span.type", this).each(function() { $(this).replaceWith(typeIcon.clone()); }); + $("span.object", this).each(function() { $(this).replaceWith(objectIcon.clone()); }); + $("span.package", this).each(function() { $(this).replaceWith(packageIcon.clone()); }); + }); + $('#tpl li.pack') + .prepend("hide") + .prepend("focus"); +} + +/* Handles all key presses while scrolling around with keyboard shortcuts in left panel */ +function keyboardScrolldownLeftPane() { + scheduler.add("init", function() { + $("#textfilter input").blur(); + var $items = $("#tpl li"); + $items.first().addClass('selected'); + + $(window).bind("keydown", function(e) { + var $old = $items.filter('.selected'), + $new; + + switch ( e.keyCode ) { + + case 9: // tab + $old.removeClass('selected'); + break; + + case 13: // enter + $old.removeClass('selected'); + var $url = $old.children().filter('a:last').attr('href'); + $("#template").attr("src",$url); + break; + + case 27: // escape + $old.removeClass('selected'); + $(window).unbind(e); + $("#textfilter input").focus(); + + break; + + case 38: // up + $new = $old.prev(); + + if (!$new.length) { + $new = $old.parent().prev(); + } + + if ($new.is('ol') && $new.children(':last').is('ol')) { + $new = $new.children().children(':last'); + } else if ($new.is('ol')) { + $new = $new.children(':last'); + } + + break; + + case 40: // down + $new = $old.next(); + if (!$new.length) { + $new = $old.parent().parent().next(); + } + if ($new.is('ol')) { + $new = $new.children(':first'); + } + break; + } + + if ($new.is('li')) { + $old.removeClass('selected'); + $new.addClass('selected'); + } else if (e.keyCode == 38) { + $(window).unbind(e); + $("#textfilter input").focus(); + } + }); + }); +} + +/* Configures the text filter */ +function configureTextFilter() { + scheduler.add("init", function() { + $("#textfilter").append(""); + var input = $("#textfilter input"); + resizeFilterBlock(); + input.bind('keyup', function(event) { + if (event.keyCode == 27) { // escape + input.attr("value", ""); + } + if (event.keyCode == 40) { // down arrow + $(window).unbind("keydown"); + keyboardScrolldownLeftPane(); + return false; + } + textFilter(); + }); + input.bind('keydown', function(event) { + if (event.keyCode == 9) { // tab + $("#template").contents().find("#mbrsel-input").focus(); + input.attr("value", ""); + return false; + } + textFilter(); + }); + input.focus(function(event) { input.select(); }); + }); + scheduler.add("init", function() { + $("#textfilter > .post").click(function(){ + $("#textfilter input").attr("value", ""); + textFilter(); + }); + }); +} + +function compilePattern(query) { + var escaped = query.replace(/([\.\*\+\?\|\(\)\[\]\\])/g, '\\$1'); + + if (query.toLowerCase() != query) { + // Regexp that matches CamelCase subbits: "BiSe" is + // "[a-z]*Bi[a-z]*Se" and matches "BitSet", "ABitSet", ... + return new RegExp(escaped.replace(/([A-Z])/g,"[a-z]*$1")); + } + else { // if query is all lower case make a normal case insensitive search + return new RegExp(escaped, "i"); + } +} + +// Filters all focused templates and packages. This function should be made less-blocking. +// @param query The string of the query +function textFilter() { + var query = $("#textfilter input").attr("value") || ''; + var queryRegExp = compilePattern(query); + + // if we are filtering on types, then we have to display types + // ("display packages only" is not possible when filtering) + if (query !== "") { + kindFilter("all"); + } + + // Three things trigger a reload of the left pane list: + // typeof textFilter.lastQuery === "undefined" <-- first load, there is nothing yet in the left pane + // textFilter.lastQuery !== query <-- the filter text has changed + // focusFilterState != null <-- a package has been "focused" + if ((typeof textFilter.lastQuery === "undefined") || (textFilter.lastQuery !== query) || (focusFilterState != null)) { + + textFilter.lastQuery = query; + + scheduler.clear("filter"); + + $('#tpl').html(''); + + var index = 0; + + var searchLoop = function () { + var packages = Index.keys(Index.PACKAGES).sort(); + + while (packages[index]) { + var pack = packages[index]; + var children = Index.PACKAGES[pack]; + index++; + + if (focusFilterState) { + if (pack == focusFilterState || + pack.indexOf(focusFilterState + '.') == 0) { + ; + } else { + continue; + } + } + + var matched = $.grep(children, function (child, i) { + return queryRegExp.test(child.name); + }); + + if (matched.length > 0) { + $('#tpl').append(Index.createPackageTree(pack, matched, + focusFilterState)); + scheduler.add('filter', searchLoop); + return; + } + } + + $('#tpl a.packfocus').click(function () { + focusFilter($(this).parent().parent()); + }); + configureHideFilter(); + }; + + scheduler.add('filter', searchLoop); + } +} + +/* Configures the hide tool by adding the hide link to all packages. */ +function configureHideFilter() { + $('#tpl li.pack a.packhide').click(function () { + var packhide = $(this) + var action = packhide.text(); + + var ol = $(this).parent().parent(); + + if (action == "hide") { + Index.hidePackage(ol); + packhide.text("show"); + } + else { + Index.showPackage(ol, kindFilterState); + packhide.text("hide"); + } + return false; + }); +} + +/* Configures the focus tool by adding the focus bar in the filter box (initially hidden), and by adding the focus + link to all packages. */ +function configureFocusFilter() { + scheduler.add("init", function() { + focusFilterState = null; + if ($("#focusfilter").length == 0) { + $("#filter").append("
                                                focused on
                                                "); + $("#focusfilter > .focusremove").click(function(event) { + textFilter(); + + $("#focusfilter").hide(); + $("#kindfilter").show(); + resizeFilterBlock(); + focusFilterState = null; + }); + $("#focusfilter").hide(); + resizeFilterBlock(); + } + }); + scheduler.add("init", function() { + $('#tpl li.pack a.packfocus').click(function () { + focusFilter($(this).parent()); + return false; + }); + }); +} + +/* Focuses the entity index on a specific package. To do so, it will copy the sub-templates and sub-packages of the + focuses package into the top-level templates and packages position of the index. The original top-level + @param package The
                                              5. element that corresponds to the package in the entity index */ +function focusFilter(package) { + scheduler.clear("filter"); + + var currentFocus = $('li.pack > .tplshow', package).text(); + $("#focusfilter > .focuscoll").empty(); + $("#focusfilter > .focuscoll").append(currentFocus); + + $("#focusfilter").show(); + $("#kindfilter").hide(); + resizeFilterBlock(); + focusFilterState = currentFocus; + kindFilterSync(); + + textFilter(); +} + +function configureKindFilter() { + scheduler.add("init", function() { + kindFilterState = "all"; + $("#filter").append(""); + $("#kindfilter > a").click(function(event) { kindFilter("packs"); }); + resizeFilterBlock(); + }); +} + +function kindFilter(kind) { + if (kind == "packs") { + kindFilterState = "packs"; + kindFilterSync(); + $("#kindfilter > a").replaceWith("display all entities"); + $("#kindfilter > a").click(function(event) { kindFilter("all"); }); + } + else { + kindFilterState = "all"; + kindFilterSync(); + $("#kindfilter > a").replaceWith("display packages only"); + $("#kindfilter > a").click(function(event) { kindFilter("packs"); }); + } +} + +/* Applies the kind filter. */ +function kindFilterSync() { + if (kindFilterState == "all" || focusFilterState != null) { + $("#tpl a.packhide").text('hide'); + $("#tpl ol.templates").show(); + } else { + $("#tpl a.packhide").text('show'); + $("#tpl ol.templates").hide(); + } +} + +function resizeFilterBlock() { + $("#tpl").css("top", $("#filter").outerHeight(true)); +} diff --git a/manual1903/api_reference/components/scaladocs/lib/jquery-ui.js b/manual1903/api_reference/components/scaladocs/lib/jquery-ui.js new file mode 100644 index 0000000000000000000000000000000000000000..faab0cf1a31b3fb4de9a982ba0db7f6eb881da83 --- /dev/null +++ b/manual1903/api_reference/components/scaladocs/lib/jquery-ui.js @@ -0,0 +1,6 @@ +/*! jQuery UI - v1.9.0 - 2012-10-05 +* http://jqueryui.com +* Includes: jquery.ui.core.js, jquery.ui.widget.js, jquery.ui.mouse.js, jquery.ui.position.js, jquery.ui.accordion.js, jquery.ui.autocomplete.js, jquery.ui.button.js, jquery.ui.datepicker.js, jquery.ui.dialog.js, jquery.ui.draggable.js, jquery.ui.droppable.js, jquery.ui.effect.js, jquery.ui.effect-blind.js, jquery.ui.effect-bounce.js, jquery.ui.effect-clip.js, jquery.ui.effect-drop.js, jquery.ui.effect-explode.js, jquery.ui.effect-fade.js, jquery.ui.effect-fold.js, jquery.ui.effect-highlight.js, jquery.ui.effect-pulsate.js, jquery.ui.effect-scale.js, jquery.ui.effect-shake.js, jquery.ui.effect-slide.js, jquery.ui.effect-transfer.js, jquery.ui.menu.js, jquery.ui.progressbar.js, jquery.ui.resizable.js, jquery.ui.selectable.js, jquery.ui.slider.js, jquery.ui.sortable.js, jquery.ui.spinner.js, jquery.ui.tabs.js, jquery.ui.tooltip.js +* Copyright (c) 2012 jQuery Foundation and other contributors Licensed MIT */ + +(function(e,t){function i(t,n){var r,i,o,u=t.nodeName.toLowerCase();return"area"===u?(r=t.parentNode,i=r.name,!t.href||!i||r.nodeName.toLowerCase()!=="map"?!1:(o=e("img[usemap=#"+i+"]")[0],!!o&&s(o))):(/input|select|textarea|button|object/.test(u)?!t.disabled:"a"===u?t.href||n:n)&&s(t)}function s(t){return!e(t).parents().andSelf().filter(function(){return e.css(this,"visibility")==="hidden"||e.expr.filters.hidden(this)}).length}var n=0,r=/^ui-id-\d+$/;e.ui=e.ui||{};if(e.ui.version)return;e.extend(e.ui,{version:"1.9.0",keyCode:{BACKSPACE:8,COMMA:188,DELETE:46,DOWN:40,END:35,ENTER:13,ESCAPE:27,HOME:36,LEFT:37,NUMPAD_ADD:107,NUMPAD_DECIMAL:110,NUMPAD_DIVIDE:111,NUMPAD_ENTER:108,NUMPAD_MULTIPLY:106,NUMPAD_SUBTRACT:109,PAGE_DOWN:34,PAGE_UP:33,PERIOD:190,RIGHT:39,SPACE:32,TAB:9,UP:38}}),e.fn.extend({_focus:e.fn.focus,focus:function(t,n){return typeof t=="number"?this.each(function(){var r=this;setTimeout(function(){e(r).focus(),n&&n.call(r)},t)}):this._focus.apply(this,arguments)},scrollParent:function(){var t;return e.browser.msie&&/(static|relative)/.test(this.css("position"))||/absolute/.test(this.css("position"))?t=this.parents().filter(function(){return/(relative|absolute|fixed)/.test(e.css(this,"position"))&&/(auto|scroll)/.test(e.css(this,"overflow")+e.css(this,"overflow-y")+e.css(this,"overflow-x"))}).eq(0):t=this.parents().filter(function(){return/(auto|scroll)/.test(e.css(this,"overflow")+e.css(this,"overflow-y")+e.css(this,"overflow-x"))}).eq(0),/fixed/.test(this.css("position"))||!t.length?e(document):t},zIndex:function(n){if(n!==t)return this.css("zIndex",n);if(this.length){var r=e(this[0]),i,s;while(r.length&&r[0]!==document){i=r.css("position");if(i==="absolute"||i==="relative"||i==="fixed"){s=parseInt(r.css("zIndex"),10);if(!isNaN(s)&&s!==0)return s}r=r.parent()}}return 0},uniqueId:function(){return this.each(function(){this.id||(this.id="ui-id-"+ ++n)})},removeUniqueId:function(){return this.each(function(){r.test(this.id)&&e(this).removeAttr("id")})}}),e("").outerWidth(1).jquery||e.each(["Width","Height"],function(n,r){function u(t,n,r,s){return e.each(i,function(){n-=parseFloat(e.css(t,"padding"+this))||0,r&&(n-=parseFloat(e.css(t,"border"+this+"Width"))||0),s&&(n-=parseFloat(e.css(t,"margin"+this))||0)}),n}var i=r==="Width"?["Left","Right"]:["Top","Bottom"],s=r.toLowerCase(),o={innerWidth:e.fn.innerWidth,innerHeight:e.fn.innerHeight,outerWidth:e.fn.outerWidth,outerHeight:e.fn.outerHeight};e.fn["inner"+r]=function(n){return n===t?o["inner"+r].call(this):this.each(function(){e(this).css(s,u(this,n)+"px")})},e.fn["outer"+r]=function(t,n){return typeof t!="number"?o["outer"+r].call(this,t):this.each(function(){e(this).css(s,u(this,t,!0,n)+"px")})}}),e.extend(e.expr[":"],{data:e.expr.createPseudo?e.expr.createPseudo(function(t){return function(n){return!!e.data(n,t)}}):function(t,n,r){return!!e.data(t,r[3])},focusable:function(t){return i(t,!isNaN(e.attr(t,"tabindex")))},tabbable:function(t){var n=e.attr(t,"tabindex"),r=isNaN(n);return(r||n>=0)&&i(t,!r)}}),e(function(){var t=document.body,n=t.appendChild(n=document.createElement("div"));n.offsetHeight,e.extend(n.style,{minHeight:"100px",height:"auto",padding:0,borderWidth:0}),e.support.minHeight=n.offsetHeight===100,e.support.selectstart="onselectstart"in n,t.removeChild(n).style.display="none"}),e.fn.extend({disableSelection:function(){return this.bind((e.support.selectstart?"selectstart":"mousedown")+".ui-disableSelection",function(e){e.preventDefault()})},enableSelection:function(){return this.unbind(".ui-disableSelection")}}),e.extend(e.ui,{plugin:{add:function(t,n,r){var i,s=e.ui[t].prototype;for(i in r)s.plugins[i]=s.plugins[i]||[],s.plugins[i].push([n,r[i]])},call:function(e,t,n){var r,i=e.plugins[t];if(!i||!e.element[0].parentNode||e.element[0].parentNode.nodeType===11)return;for(r=0;r0?!0:(t[r]=1,i=t[r]>0,t[r]=0,i)},isOverAxis:function(e,t,n){return e>t&&e",options:{disabled:!1,create:null},_createWidget:function(t,r){r=e(r||this.defaultElement||this)[0],this.element=e(r),this.uuid=n++,this.eventNamespace="."+this.widgetName+this.uuid,this.options=e.widget.extend({},this.options,this._getCreateOptions(),t),this.bindings=e(),this.hoverable=e(),this.focusable=e(),r!==this&&(e.data(r,this.widgetName,this),e.data(r,this.widgetFullName,this),this._on({remove:"destroy"}),this.document=e(r.style?r.ownerDocument:r.document||r),this.window=e(this.document[0].defaultView||this.document[0].parentWindow)),this._create(),this._trigger("create",null,this._getCreateEventData()),this._init()},_getCreateOptions:e.noop,_getCreateEventData:e.noop,_create:e.noop,_init:e.noop,destroy:function(){this._destroy(),this.element.unbind(this.eventNamespace).removeData(this.widgetName).removeData(this.widgetFullName).removeData(e.camelCase(this.widgetFullName)),this.widget().unbind(this.eventNamespace).removeAttr("aria-disabled").removeClass(this.widgetFullName+"-disabled "+"ui-state-disabled"),this.bindings.unbind(this.eventNamespace),this.hoverable.removeClass("ui-state-hover"),this.focusable.removeClass("ui-state-focus")},_destroy:e.noop,widget:function(){return this.element},option:function(n,r){var i=n,s,o,u;if(arguments.length===0)return e.widget.extend({},this.options);if(typeof n=="string"){i={},s=n.split("."),n=s.shift();if(s.length){o=i[n]=e.widget.extend({},this.options[n]);for(u=0;u=9||!!t.button?this._mouseStarted?(this._mouseDrag(t),t.preventDefault()):(this._mouseDistanceMet(t)&&this._mouseDelayMet(t)&&(this._mouseStarted=this._mouseStart(this._mouseDownEvent,t)!==!1,this._mouseStarted?this._mouseDrag(t):this._mouseUp(t)),!this._mouseStarted):this._mouseUp(t)},_mouseUp:function(t){return e(document).unbind("mousemove."+this.widgetName,this._mouseMoveDelegate).unbind("mouseup."+this.widgetName,this._mouseUpDelegate),this._mouseStarted&&(this._mouseStarted=!1,t.target===this._mouseDownEvent.target&&e.data(t.target,this.widgetName+".preventClickEvent",!0),this._mouseStop(t)),!1},_mouseDistanceMet:function(e){return Math.max(Math.abs(this._mouseDownEvent.pageX-e.pageX),Math.abs(this._mouseDownEvent.pageY-e.pageY))>=this.options.distance},_mouseDelayMet:function(e){return this.mouseDelayMet},_mouseStart:function(e){},_mouseDrag:function(e){},_mouseStop:function(e){},_mouseCapture:function(e){return!0}})})(jQuery);(function(e,t){function h(e,t,n){return[parseInt(e[0],10)*(l.test(e[0])?t/100:1),parseInt(e[1],10)*(l.test(e[1])?n/100:1)]}function p(t,n){return parseInt(e.css(t,n),10)||0}e.ui=e.ui||{};var n,r=Math.max,i=Math.abs,s=Math.round,o=/left|center|right/,u=/top|center|bottom/,a=/[\+\-]\d+%?/,f=/^\w+/,l=/%$/,c=e.fn.position;e.position={scrollbarWidth:function(){if(n!==t)return n;var r,i,s=e("
                                                "),o=s.children()[0];return e("body").append(s),r=o.offsetWidth,s.css("overflow","scroll"),i=o.offsetWidth,r===i&&(i=s[0].clientWidth),s.remove(),n=r-i},getScrollInfo:function(t){var n=t.isWindow?"":t.element.css("overflow-x"),r=t.isWindow?"":t.element.css("overflow-y"),i=n==="scroll"||n==="auto"&&t.width0?"right":"center",vertical:u<0?"top":o>0?"bottom":"middle"};lr(i(o),i(u))?h.important="horizontal":h.important="vertical",t.using.call(this,e,h)}),a.offset(e.extend(C,{using:u}))})},e.ui.position={fit:{left:function(e,t){var n=t.within,i=n.isWindow?n.scrollLeft:n.offset.left,s=n.width,o=e.left-t.collisionPosition.marginLeft,u=i-o,a=o+t.collisionWidth-s-i,f;t.collisionWidth>s?u>0&&a<=0?(f=e.left+u+t.collisionWidth-s-i,e.left+=u-f):a>0&&u<=0?e.left=i:u>a?e.left=i+s-t.collisionWidth:e.left=i:u>0?e.left+=u:a>0?e.left-=a:e.left=r(e.left-o,e.left)},top:function(e,t){var n=t.within,i=n.isWindow?n.scrollTop:n.offset.top,s=t.within.height,o=e.top-t.collisionPosition.marginTop,u=i-o,a=o+t.collisionHeight-s-i,f;t.collisionHeight>s?u>0&&a<=0?(f=e.top+u+t.collisionHeight-s-i,e.top+=u-f):a>0&&u<=0?e.top=i:u>a?e.top=i+s-t.collisionHeight:e.top=i:u>0?e.top+=u:a>0?e.top-=a:e.top=r(e.top-o,e.top)}},flip:{left:function(e,t){var n=t.within,r=n.offset.left+n.scrollLeft,s=n.width,o=n.isWindow?n.scrollLeft:n.offset.left,u=e.left-t.collisionPosition.marginLeft,a=u-o,f=u+t.collisionWidth-s-o,l=t.my[0]==="left"?-t.elemWidth:t.my[0]==="right"?t.elemWidth:0,c=t.at[0]==="left"?t.targetWidth:t.at[0]==="right"?-t.targetWidth:0,h=-2*t.offset[0],p,d;if(a<0){p=e.left+l+c+h+t.collisionWidth-s-r;if(p<0||p0){d=e.left-t.collisionPosition.marginLeft+l+c+h-o;if(d>0||i(d)a&&(v<0||v0&&(d=e.top-t.collisionPosition.marginTop+c+h+p-o,e.top+c+h+p>f&&(d>0||i(d)10&&i<11,t.innerHTML="",n.removeChild(t)}(),e.uiBackCompat!==!1&&function(e){var n=e.fn.position;e.fn.position=function(r){if(!r||!r.offset)return n.call(this,r);var i=r.offset.split(" "),s=r.at.split(" ");return i.length===1&&(i[1]=i[0]),/^\d/.test(i[0])&&(i[0]="+"+i[0]),/^\d/.test(i[1])&&(i[1]="+"+i[1]),s.length===1&&(/left|center|right/.test(s[0])?s[1]="center":(s[1]=s[0],s[0]="center")),n.call(this,e.extend(r,{at:s[0]+i[0]+" "+s[1]+i[1],offset:t}))}}(jQuery)})(jQuery);(function(e,t){var n=0,r={},i={};r.height=r.paddingTop=r.paddingBottom=r.borderTopWidth=r.borderBottomWidth="hide",i.height=i.paddingTop=i.paddingBottom=i.borderTopWidth=i.borderBottomWidth="show",e.widget("ui.accordion",{version:"1.9.0",options:{active:0,animate:{},collapsible:!1,event:"click",header:"> li > :first-child,> :not(li):even",heightStyle:"auto",icons:{activeHeader:"ui-icon-triangle-1-s",header:"ui-icon-triangle-1-e"},activate:null,beforeActivate:null},_create:function(){var t=this.accordionId="ui-accordion-"+(this.element.attr("id")||++n),r=this.options;this.prevShow=this.prevHide=e(),this.element.addClass("ui-accordion ui-widget ui-helper-reset"),this.headers=this.element.find(r.header).addClass("ui-accordion-header ui-helper-reset ui-state-default ui-corner-all"),this._hoverable(this.headers),this._focusable(this.headers),this.headers.next().addClass("ui-accordion-content ui-helper-reset ui-widget-content ui-corner-bottom").hide(),!r.collapsible&&r.active===!1&&(r.active=0),r.active<0&&(r.active+=this.headers.length),this.active=this._findActive(r.active).addClass("ui-accordion-header-active ui-state-active").toggleClass("ui-corner-all ui-corner-top"),this.active.next().addClass("ui-accordion-content-active").show(),this._createIcons(),this.originalHeight=this.element[0].style.height,this.refresh(),this.element.attr("role","tablist"),this.headers.attr("role","tab").each(function(n){var r=e(this),i=r.attr("id"),s=r.next(),o=s.attr("id");i||(i=t+"-header-"+n,r.attr("id",i)),o||(o=t+"-panel-"+n,s.attr("id",o)),r.attr("aria-controls",o),s.attr("aria-labelledby",i)}).next().attr("role","tabpanel"),this.headers.not(this.active).attr({"aria-selected":"false",tabIndex:-1}).next().attr({"aria-expanded":"false","aria-hidden":"true"}).hide(),this.active.length?this.active.attr({"aria-selected":"true",tabIndex:0}).next().attr({"aria-expanded":"true","aria-hidden":"false"}):this.headers.eq(0).attr("tabIndex",0),this._on(this.headers,{keydown:"_keydown"}),this._on(this.headers.next(),{keydown:"_panelKeyDown"}),this._setupEvents(r.event)},_getCreateEventData:function(){return{header:this.active,content:this.active.length?this.active.next():e()}},_createIcons:function(){var t=this.options.icons;t&&(e("").addClass("ui-accordion-header-icon ui-icon "+t.header).prependTo(this.headers),this.active.children(".ui-accordion-header-icon").removeClass(t.header).addClass(t.activeHeader),this.headers.addClass("ui-accordion-icons"))},_destroyIcons:function(){this.headers.removeClass("ui-accordion-icons").children(".ui-accordion-header-icon").remove()},_destroy:function(){var e;this.element.removeClass("ui-accordion ui-widget ui-helper-reset").removeAttr("role"),this.headers.removeClass("ui-accordion-header ui-accordion-header-active ui-helper-reset ui-state-default ui-corner-all ui-state-active ui-state-disabled ui-corner-top").removeAttr("role").removeAttr("aria-selected").removeAttr("aria-controls").removeAttr("tabIndex").each(function(){/^ui-accordion/.test(this.id)&&this.removeAttribute("id")}),this._destroyIcons(),e=this.headers.next().css("display","").removeAttr("role").removeAttr("aria-expanded").removeAttr("aria-hidden").removeAttr("aria-labelledby").removeClass("ui-helper-reset ui-widget-content ui-corner-bottom ui-accordion-content ui-accordion-content-active ui-state-disabled").each(function(){/^ui-accordion/.test(this.id)&&this.removeAttribute("id")}),this.options.heightStyle!=="content"&&(this.element.css("height",this.originalHeight),e.css("height",""))},_setOption:function(e,t){if(e==="active"){this._activate(t);return}e==="event"&&(this.options.event&&this._off(this.headers,this.options.event),this._setupEvents(t)),this._super(e,t),e==="collapsible"&&!t&&this.options.active===!1&&this._activate(0),e==="icons"&&(this._destroyIcons(),t&&this._createIcons()),e==="disabled"&&this.headers.add(this.headers.next()).toggleClass("ui-state-disabled",!!t)},_keydown:function(t){if(t.altKey||t.ctrlKey)return;var n=e.ui.keyCode,r=this.headers.length,i=this.headers.index(t.target),s=!1;switch(t.keyCode){case n.RIGHT:case n.DOWN:s=this.headers[(i+1)%r];break;case n.LEFT:case n.UP:s=this.headers[(i-1+r)%r];break;case n.SPACE:case n.ENTER:this._eventHandler(t);break;case n.HOME:s=this.headers[0];break;case n.END:s=this.headers[r-1]}s&&(e(t.target).attr("tabIndex",-1),e(s).attr("tabIndex",0),s.focus(),t.preventDefault())},_panelKeyDown:function(t){t.keyCode===e.ui.keyCode.UP&&t.ctrlKey&&e(t.currentTarget).prev().focus()},refresh:function(){var t,n,r=this.options.heightStyle,i=this.element.parent();this.element.css("height",this.originalHeight),r==="fill"?(e.support.minHeight||(n=i.css("overflow"),i.css("overflow","hidden")),t=i.height(),this.element.siblings(":visible").each(function(){var n=e(this),r=n.css("position");if(r==="absolute"||r==="fixed")return;t-=n.outerHeight(!0)}),n&&i.css("overflow",n),this.headers.each(function(){t-=e(this).outerHeight(!0)}),this.headers.next().each(function(){e(this).height(Math.max(0,t-e(this).innerHeight()+e(this).height()))}).css("overflow","auto")):r==="auto"&&(t=0,this.headers.next().each(function(){t=Math.max(t,e(this).height("").height())}).height(t)),r!=="content"&&this.element.height(this.element.height())},_activate:function(t){var n=this._findActive(t)[0];if(n===this.active[0])return;n=n||this.active[0],this._eventHandler({target:n,currentTarget:n,preventDefault:e.noop})},_findActive:function(t){return typeof t=="number"?this.headers.eq(t):e()},_setupEvents:function(t){var n={};if(!t)return;e.each(t.split(" "),function(e,t){n[t]="_eventHandler"}),this._on(this.headers,n)},_eventHandler:function(t){var n=this.options,r=this.active,i=e(t.currentTarget),s=i[0]===r[0],o=s&&n.collapsible,u=o?e():i.next(),a=r.next(),f={oldHeader:r,oldPanel:a,newHeader:o?e():i,newPanel:u};t.preventDefault();if(s&&!n.collapsible||this._trigger("beforeActivate",t,f)===!1)return;n.active=o?!1:this.headers.index(i),this.active=s?e():i,this._toggle(f),r.removeClass("ui-accordion-header-active ui-state-active"),n.icons&&r.children(".ui-accordion-header-icon").removeClass(n.icons.activeHeader).addClass(n.icons.header),s||(i.removeClass("ui-corner-all").addClass("ui-accordion-header-active ui-state-active ui-corner-top"),n.icons&&i.children(".ui-accordion-header-icon").removeClass(n.icons.header).addClass(n.icons.activeHeader),i.next().addClass("ui-accordion-content-active"))},_toggle:function(t){var n=t.newPanel,r=this.prevShow.length?this.prevShow:t.oldPanel;this.prevShow.add(this.prevHide).stop(!0,!0),this.prevShow=n,this.prevHide=r,this.options.animate?this._animate(n,r,t):(r.hide(),n.show(),this._toggleComplete(t)),r.attr({"aria-expanded":"false","aria-hidden":"true"}),r.prev().attr("aria-selected","false"),n.length&&r.length?r.prev().attr("tabIndex",-1):n.length&&this.headers.filter(function(){return e(this).attr("tabIndex")===0}).attr("tabIndex",-1),n.attr({"aria-expanded":"true","aria-hidden":"false"}).prev().attr({"aria-selected":"true",tabIndex:0})},_animate:function(e,t,n){var s,o,u,a=this,f=0,l=e.length&&(!t.length||e.index()",options:{appendTo:"body",autoFocus:!1,delay:300,minLength:1,position:{my:"left top",at:"left bottom",collision:"none"},source:null,change:null,close:null,focus:null,open:null,response:null,search:null,select:null},pending:0,_create:function(){var t,n,r;this.isMultiLine=this._isMultiLine(),this.valueMethod=this.element[this.element.is("input,textarea")?"val":"text"],this.isNewMenu=!0,this.element.addClass("ui-autocomplete-input").attr("autocomplete","off"),this._on({keydown:function(i){if(this.element.prop("readOnly")){t=!0,r=!0,n=!0;return}t=!1,r=!1,n=!1;var s=e.ui.keyCode;switch(i.keyCode){case s.PAGE_UP:t=!0,this._move("previousPage",i);break;case s.PAGE_DOWN:t=!0,this._move("nextPage",i);break;case s.UP:t=!0,this._keyEvent("previous",i);break;case s.DOWN:t=!0,this._keyEvent("next",i);break;case s.ENTER:case s.NUMPAD_ENTER:this.menu.active&&(t=!0,i.preventDefault(),this.menu.select(i));break;case s.TAB:this.menu.active&&this.menu.select(i);break;case s.ESCAPE:this.menu.element.is(":visible")&&(this._value(this.term),this.close(i),i.preventDefault());break;default:n=!0,this._searchTimeout(i)}},keypress:function(r){if(t){t=!1,r.preventDefault();return}if(n)return;var i=e.ui.keyCode;switch(r.keyCode){case i.PAGE_UP:this._move("previousPage",r);break;case i.PAGE_DOWN:this._move("nextPage",r);break;case i.UP:this._keyEvent("previous",r);break;case i.DOWN:this._keyEvent("next",r)}},input:function(e){if(r){r=!1,e.preventDefault();return}this._searchTimeout(e)},focus:function(){this.selectedItem=null,this.previous=this._value()},blur:function(e){if(this.cancelBlur){delete this.cancelBlur;return}clearTimeout(this.searching),this.close(e),this._change(e)}}),this._initSource(),this.menu=e("
                                              6. '+"";var z=N?'":"";for(var W=0;W<7;W++){var X=(W+T)%7;z+="=5?' class="ui-datepicker-week-end"':"")+">"+''+L[X]+""}U+=z+"";var V=this._getDaysInMonth(d,p);d==e.selectedYear&&p==e.selectedMonth&&(e.selectedDay=Math.min(e.selectedDay,V));var J=(this._getFirstDayOfMonth(d,p)-T+7)%7,K=Math.ceil((J+V)/7),Q=f?this.maxRows>K?this.maxRows:K:K;this.maxRows=Q;var G=this._daylightSavingAdjust(new Date(d,p,1-J));for(var Y=0;Y";var Z=N?'":"";for(var W=0;W<7;W++){var et=M?M.apply(e.input?e.input[0]:null,[G]):[!0,""],tt=G.getMonth()!=p,nt=tt&&!D||!et[0]||c&&Gh;Z+='",G.setDate(G.getDate()+1),G=this._daylightSavingAdjust(G)}U+=Z+""}p++,p>11&&(p=0,d++),U+="
                                                '+this._get(e,"weekHeader")+"
                                                '+this._get(e,"calculateWeek")(G)+""+(tt&&!_?" ":nt?''+G.getDate()+"":''+G.getDate()+"")+"
                                                "+(f?"
                                                "+(o[0]>0&&I==o[1]-1?'
                                                ':""):""),F+=U}B+=F}return B+=x+($.browser.msie&&parseInt($.browser.version,10)<7&&!e.inline?'':""),e._keyEvent=!1,B},_generateMonthYearHeader:function(e,t,n,r,i,s,o,u){var a=this._get(e,"changeMonth"),f=this._get(e,"changeYear"),l=this._get(e,"showMonthAfterYear"),c='
                                                ',h="";if(s||!a)h+=''+o[t]+"";else{var p=r&&r.getFullYear()==n,d=i&&i.getFullYear()==n;h+='"}l||(c+=h+(s||!a||!f?" ":""));if(!e.yearshtml){e.yearshtml="";if(s||!f)c+=''+n+"";else{var m=this._get(e,"yearRange").split(":"),g=(new Date).getFullYear(),y=function(e){var t=e.match(/c[+-].*/)?n+parseInt(e.substring(1),10):e.match(/[+-].*/)?g+parseInt(e,10):parseInt(e,10);return isNaN(t)?g:t},b=y(m[0]),w=Math.max(b,y(m[1]||""));b=r?Math.max(b,r.getFullYear()):b,w=i?Math.min(w,i.getFullYear()):w,e.yearshtml+='",c+=e.yearshtml,e.yearshtml=null}}return c+=this._get(e,"yearSuffix"),l&&(c+=(s||!a||!f?" ":"")+h),c+="
                                                ",c},_adjustInstDate:function(e,t,n){var r=e.drawYear+(n=="Y"?t:0),i=e.drawMonth+(n=="M"?t:0),s=Math.min(e.selectedDay,this._getDaysInMonth(r,i))+(n=="D"?t:0),o=this._restrictMinMax(e,this._daylightSavingAdjust(new Date(r,i,s)));e.selectedDay=o.getDate(),e.drawMonth=e.selectedMonth=o.getMonth(),e.drawYear=e.selectedYear=o.getFullYear(),(n=="M"||n=="Y")&&this._notifyChange(e)},_restrictMinMax:function(e,t){var n=this._getMinMaxDate(e,"min"),r=this._getMinMaxDate(e,"max"),i=n&&tr?r:i,i},_notifyChange:function(e){var t=this._get(e,"onChangeMonthYear");t&&t.apply(e.input?e.input[0]:null,[e.selectedYear,e.selectedMonth+1,e])},_getNumberOfMonths:function(e){var t=this._get(e,"numberOfMonths");return t==null?[1,1]:typeof t=="number"?[1,t]:t},_getMinMaxDate:function(e,t){return this._determineDate(e,this._get(e,t+"Date"),null)},_getDaysInMonth:function(e,t){return 32-this._daylightSavingAdjust(new Date(e,t,32)).getDate()},_getFirstDayOfMonth:function(e,t){return(new Date(e,t,1)).getDay()},_canAdjustMonth:function(e,t,n,r){var i=this._getNumberOfMonths(e),s=this._daylightSavingAdjust(new Date(n,r+(t<0?t:i[0]*i[1]),1));return t<0&&s.setDate(this._getDaysInMonth(s.getFullYear(),s.getMonth())),this._isInRange(e,s)},_isInRange:function(e,t){var n=this._getMinMaxDate(e,"min"),r=this._getMinMaxDate(e,"max");return(!n||t.getTime()>=n.getTime())&&(!r||t.getTime()<=r.getTime())},_getFormatConfig:function(e){var t=this._get(e,"shortYearCutoff");return t=typeof t!="string"?t:(new Date).getFullYear()%100+parseInt(t,10),{shortYearCutoff:t,dayNamesShort:this._get(e,"dayNamesShort"),dayNames:this._get(e,"dayNames"),monthNamesShort:this._get(e,"monthNamesShort"),monthNames:this._get(e,"monthNames")}},_formatDate:function(e,t,n,r){t||(e.currentDay=e.selectedDay,e.currentMonth=e.selectedMonth,e.currentYear=e.selectedYear);var i=t?typeof t=="object"?t:this._daylightSavingAdjust(new Date(r,n,t)):this._daylightSavingAdjust(new Date(e.currentYear,e.currentMonth,e.currentDay));return this.formatDate(this._get(e,"dateFormat"),i,this._getFormatConfig(e))}}),$.fn.datepicker=function(e){if(!this.length)return this;$.datepicker.initialized||($(document).mousedown($.datepicker._checkExternalClick).find(document.body).append($.datepicker.dpDiv),$.datepicker.initialized=!0);var t=Array.prototype.slice.call(arguments,1);return typeof e!="string"||e!="isDisabled"&&e!="getDate"&&e!="widget"?e=="option"&&arguments.length==2&&typeof arguments[1]=="string"?$.datepicker["_"+e+"Datepicker"].apply($.datepicker,[this[0]].concat(t)):this.each(function(){typeof e=="string"?$.datepicker["_"+e+"Datepicker"].apply($.datepicker,[this].concat(t)):$.datepicker._attachDatepicker(this,e)}):$.datepicker["_"+e+"Datepicker"].apply($.datepicker,[this[0]].concat(t))},$.datepicker=new Datepicker,$.datepicker.initialized=!1,$.datepicker.uuid=(new Date).getTime(),$.datepicker.version="1.9.0",window["DP_jQuery_"+dpuuid]=$})(jQuery);(function(e,t){var n="ui-dialog ui-widget ui-widget-content ui-corner-all ",r={buttons:!0,height:!0,maxHeight:!0,maxWidth:!0,minHeight:!0,minWidth:!0,width:!0},i={maxHeight:!0,maxWidth:!0,minHeight:!0,minWidth:!0};e.widget("ui.dialog",{version:"1.9.0",options:{autoOpen:!0,buttons:{},closeOnEscape:!0,closeText:"close",dialogClass:"",draggable:!0,hide:null,height:"auto",maxHeight:!1,maxWidth:!1,minHeight:150,minWidth:150,modal:!1,position:{my:"center",at:"center",of:window,collision:"fit",using:function(t){var n=e(this).css(t).offset().top;n<0&&e(this).css("top",t.top-n)}},resizable:!0,show:null,stack:!0,title:"",width:300,zIndex:1e3},_create:function(){this.originalTitle=this.element.attr("title"),typeof this.originalTitle!="string"&&(this.originalTitle=""),this.oldPosition={parent:this.element.parent(),index:this.element.parent().children().index(this.element)},this.options.title=this.options.title||this.originalTitle;var t=this,r=this.options,i=r.title||" ",s=(this.uiDialog=e("
                                                ")).addClass(n+r.dialogClass).css({display:"none",outline:0,zIndex:r.zIndex}).attr("tabIndex",-1).keydown(function(n){r.closeOnEscape&&!n.isDefaultPrevented()&&n.keyCode&&n.keyCode===e.ui.keyCode.ESCAPE&&(t.close(n),n.preventDefault())}).mousedown(function(e){t.moveToTop(!1,e)}).appendTo("body"),o=this.element.show().removeAttr("title").addClass("ui-dialog-content ui-widget-content").appendTo(s),u=(this.uiDialogTitlebar=e("
                                                ")).addClass("ui-dialog-titlebar ui-widget-header ui-corner-all ui-helper-clearfix").prependTo(s),a=e("").addClass("ui-dialog-titlebar-close ui-corner-all").attr("role","button").click(function(e){e.preventDefault(),t.close(e)}).appendTo(u),f=(this.uiDialogTitlebarCloseText=e("")).addClass("ui-icon ui-icon-closethick").text(r.closeText).appendTo(a),l=e("").uniqueId().addClass("ui-dialog-title").html(i).prependTo(u),c=(this.uiDialogButtonPane=e("
                                                ")).addClass("ui-dialog-buttonpane ui-widget-content ui-helper-clearfix"),h=(this.uiButtonSet=e("
                                                ")).addClass("ui-dialog-buttonset").appendTo(c);s.attr({role:"dialog","aria-labelledby":l.attr("id")}),u.find("*").add(u).disableSelection(),this._hoverable(a),this._focusable(a),r.draggable&&e.fn.draggable&&this._makeDraggable(),r.resizable&&e.fn.resizable&&this._makeResizable(),this._createButtons(r.buttons),this._isOpen=!1,e.fn.bgiframe&&s.bgiframe(),this._on(s,{keydown:function(t){if(!r.modal||t.keyCode!==e.ui.keyCode.TAB)return;var n=e(":tabbable",s),i=n.filter(":first"),o=n.filter(":last");if(t.target===o[0]&&!t.shiftKey)return i.focus(1),!1;if(t.target===i[0]&&t.shiftKey)return o.focus(1),!1}})},_init:function(){this.options.autoOpen&&this.open()},_destroy:function(){var e,t=this.oldPosition;this.overlay&&this.overlay.destroy(),this.uiDialog.hide(),this.element.removeClass("ui-dialog-content ui-widget-content").hide().appendTo("body"),this.uiDialog.remove(),this.originalTitle&&this.element.attr("title",this.originalTitle),e=t.parent.children().eq(t.index),e.length&&e[0]!==this.element[0]?e.before(this.element):t.parent.append(this.element)},widget:function(){return this.uiDialog},close:function(t){var n=this,r,i;if(!this._isOpen)return;if(!1===this._trigger("beforeClose",t))return;return this._isOpen=!1,this.overlay&&this.overlay.destroy(),this.options.hide?this.uiDialog.hide(this.options.hide,function(){n._trigger("close",t)}):(this.uiDialog.hide(),this._trigger("close",t)),e.ui.dialog.overlay.resize(),this.options.modal&&(r=0,e(".ui-dialog").each(function(){this!==n.uiDialog[0]&&(i=e(this).css("z-index"),isNaN(i)||(r=Math.max(r,i)))}),e.ui.dialog.maxZ=r),this},isOpen:function(){return this._isOpen},moveToTop:function(t,n){var r=this.options,i;return r.modal&&!t||!r.stack&&!r.modal?this._trigger("focus",n):(r.zIndex>e.ui.dialog.maxZ&&(e.ui.dialog.maxZ=r.zIndex),this.overlay&&(e.ui.dialog.maxZ+=1,e.ui.dialog.overlay.maxZ=e.ui.dialog.maxZ,this.overlay.$el.css("z-index",e.ui.dialog.overlay.maxZ)),i={scrollTop:this.element.scrollTop(),scrollLeft:this.element.scrollLeft()},e.ui.dialog.maxZ+=1,this.uiDialog.css("z-index",e.ui.dialog.maxZ),this.element.attr(i),this._trigger("focus",n),this)},open:function(){if(this._isOpen)return;var t,n=this.options,r=this.uiDialog;return this._size(),this._position(n.position),r.show(n.show),this.overlay=n.modal?new e.ui.dialog.overlay(this):null,this.moveToTop(!0),t=this.element.find(":tabbable"),t.length||(t=this.uiDialogButtonPane.find(":tabbable"),t.length||(t=r)),t.eq(0).focus(),this._isOpen=!0,this._trigger("open"),this},_createButtons:function(t){var n,r,i=this,s=!1;this.uiDialogButtonPane.remove(),this.uiButtonSet.empty(),typeof t=="object"&&t!==null&&e.each(t,function(){return!(s=!0)}),s?(e.each(t,function(t,n){n=e.isFunction(n)?{click:n,text:t}:n;var r=e("
                                                ').css({width:this.offsetWidth+"px",height:this.offsetHeight+"px",position:"absolute",opacity:"0.001",zIndex:1e3}).css(e(this).offset()).appendTo("body")}),!0):!1)},_mouseStart:function(t){var n=this.options;return this.helper=this._createHelper(t),this.helper.addClass("ui-draggable-dragging"),this._cacheHelperProportions(),e.ui.ddmanager&&(e.ui.ddmanager.current=this),this._cacheMargins(),this.cssPosition=this.helper.css("position"),this.scrollParent=this.helper.scrollParent(),this.offset=this.positionAbs=this.element.offset(),this.offset={top:this.offset.top-this.margins.top,left:this.offset.left-this.margins.left},e.extend(this.offset,{click:{left:t.pageX-this.offset.left,top:t.pageY-this.offset.top},parent:this._getParentOffset(),relative:this._getRelativeOffset()}),this.originalPosition=this.position=this._generatePosition(t),this.originalPageX=t.pageX,this.originalPageY=t.pageY,n.cursorAt&&this._adjustOffsetFromHelper(n.cursorAt),n.containment&&this._setContainment(),this._trigger("start",t)===!1?(this._clear(),!1):(this._cacheHelperProportions(),e.ui.ddmanager&&!n.dropBehaviour&&e.ui.ddmanager.prepareOffsets(this,t),this._mouseDrag(t,!0),e.ui.ddmanager&&e.ui.ddmanager.dragStart(this,t),!0)},_mouseDrag:function(t,n){this.position=this._generatePosition(t),this.positionAbs=this._convertPositionTo("absolute");if(!n){var r=this._uiHash();if(this._trigger("drag",t,r)===!1)return this._mouseUp({}),!1;this.position=r.position}if(!this.options.axis||this.options.axis!="y")this.helper[0].style.left=this.position.left+"px";if(!this.options.axis||this.options.axis!="x")this.helper[0].style.top=this.position.top+"px";return e.ui.ddmanager&&e.ui.ddmanager.drag(this,t),!1},_mouseStop:function(t){var n=!1;e.ui.ddmanager&&!this.options.dropBehaviour&&(n=e.ui.ddmanager.drop(this,t)),this.dropped&&(n=this.dropped,this.dropped=!1);var r=this.element[0],i=!1;while(r&&(r=r.parentNode))r==document&&(i=!0);if(!i&&this.options.helper==="original")return!1;if(this.options.revert=="invalid"&&!n||this.options.revert=="valid"&&n||this.options.revert===!0||e.isFunction(this.options.revert)&&this.options.revert.call(this.element,n)){var s=this;e(this.helper).animate(this.originalPosition,parseInt(this.options.revertDuration,10),function(){s._trigger("stop",t)!==!1&&s._clear()})}else this._trigger("stop",t)!==!1&&this._clear();return!1},_mouseUp:function(t){return e("div.ui-draggable-iframeFix").each(function(){this.parentNode.removeChild(this)}),e.ui.ddmanager&&e.ui.ddmanager.dragStop(this,t),e.ui.mouse.prototype._mouseUp.call(this,t)},cancel:function(){return this.helper.is(".ui-draggable-dragging")?this._mouseUp({}):this._clear(),this},_getHandle:function(t){var n=!this.options.handle||!e(this.options.handle,this.element).length?!0:!1;return e(this.options.handle,this.element).find("*").andSelf().each(function(){this==t.target&&(n=!0)}),n},_createHelper:function(t){var n=this.options,r=e.isFunction(n.helper)?e(n.helper.apply(this.element[0],[t])):n.helper=="clone"?this.element.clone().removeAttr("id"):this.element;return r.parents("body").length||r.appendTo(n.appendTo=="parent"?this.element[0].parentNode:n.appendTo),r[0]!=this.element[0]&&!/(fixed|absolute)/.test(r.css("position"))&&r.css("position","absolute"),r},_adjustOffsetFromHelper:function(t){typeof t=="string"&&(t=t.split(" ")),e.isArray(t)&&(t={left:+t[0],top:+t[1]||0}),"left"in t&&(this.offset.click.left=t.left+this.margins.left),"right"in t&&(this.offset.click.left=this.helperProportions.width-t.right+this.margins.left),"top"in t&&(this.offset.click.top=t.top+this.margins.top),"bottom"in t&&(this.offset.click.top=this.helperProportions.height-t.bottom+this.margins.top)},_getParentOffset:function(){this.offsetParent=this.helper.offsetParent();var t=this.offsetParent.offset();this.cssPosition=="absolute"&&this.scrollParent[0]!=document&&e.contains(this.scrollParent[0],this.offsetParent[0])&&(t.left+=this.scrollParent.scrollLeft(),t.top+=this.scrollParent.scrollTop());if(this.offsetParent[0]==document.body||this.offsetParent[0].tagName&&this.offsetParent[0].tagName.toLowerCase()=="html"&&e.browser.msie)t={top:0,left:0};return{top:t.top+(parseInt(this.offsetParent.css("borderTopWidth"),10)||0),left:t.left+(parseInt(this.offsetParent.css("borderLeftWidth"),10)||0)}},_getRelativeOffset:function(){if(this.cssPosition=="relative"){var e=this.element.position();return{top:e.top-(parseInt(this.helper.css("top"),10)||0)+this.scrollParent.scrollTop(),left:e.left-(parseInt(this.helper.css("left"),10)||0)+this.scrollParent.scrollLeft()}}return{top:0,left:0}},_cacheMargins:function(){this.margins={left:parseInt(this.element.css("marginLeft"),10)||0,top:parseInt(this.element.css("marginTop"),10)||0,right:parseInt(this.element.css("marginRight"),10)||0,bottom:parseInt(this.element.css("marginBottom"),10)||0}},_cacheHelperProportions:function(){this.helperProportions={width:this.helper.outerWidth(),height:this.helper.outerHeight()}},_setContainment:function(){var t=this.options;t.containment=="parent"&&(t.containment=this.helper[0].parentNode);if(t.containment=="document"||t.containment=="window")this.containment=[t.containment=="document"?0:e(window).scrollLeft()-this.offset.relative.left-this.offset.parent.left,t.containment=="document"?0:e(window).scrollTop()-this.offset.relative.top-this.offset.parent.top,(t.containment=="document"?0:e(window).scrollLeft())+e(t.containment=="document"?document:window).width()-this.helperProportions.width-this.margins.left,(t.containment=="document"?0:e(window).scrollTop())+(e(t.containment=="document"?document:window).height()||document.body.parentNode.scrollHeight)-this.helperProportions.height-this.margins.top];if(!/^(document|window|parent)$/.test(t.containment)&&t.containment.constructor!=Array){var n=e(t.containment),r=n[0];if(!r)return;var i=n.offset(),s=e(r).css("overflow")!="hidden";this.containment=[(parseInt(e(r).css("borderLeftWidth"),10)||0)+(parseInt(e(r).css("paddingLeft"),10)||0),(parseInt(e(r).css("borderTopWidth"),10)||0)+(parseInt(e(r).css("paddingTop"),10)||0),(s?Math.max(r.scrollWidth,r.offsetWidth):r.offsetWidth)-(parseInt(e(r).css("borderLeftWidth"),10)||0)-(parseInt(e(r).css("paddingRight"),10)||0)-this.helperProportions.width-this.margins.left-this.margins.right,(s?Math.max(r.scrollHeight,r.offsetHeight):r.offsetHeight)-(parseInt(e(r).css("borderTopWidth"),10)||0)-(parseInt(e(r).css("paddingBottom"),10)||0)-this.helperProportions.height-this.margins.top-this.margins.bottom],this.relative_container=n}else t.containment.constructor==Array&&(this.containment=t.containment)},_convertPositionTo:function(t,n){n||(n=this.position);var r=t=="absolute"?1:-1,i=this.options,s=this.cssPosition!="absolute"||this.scrollParent[0]!=document&&!!e.contains(this.scrollParent[0],this.offsetParent[0])?this.scrollParent:this.offsetParent,o=/(html|body)/i.test(s[0].tagName);return{top:n.top+this.offset.relative.top*r+this.offset.parent.top*r-(this.cssPosition=="fixed"?-this.scrollParent.scrollTop():o?0:s.scrollTop())*r,left:n.left+this.offset.relative.left*r+this.offset.parent.left*r-(this.cssPosition=="fixed"?-this.scrollParent.scrollLeft():o?0:s.scrollLeft())*r}},_generatePosition:function(t){var n=this.options,r=this.cssPosition!="absolute"||this.scrollParent[0]!=document&&!!e.contains(this.scrollParent[0],this.offsetParent[0])?this.scrollParent:this.offsetParent,i=/(html|body)/i.test(r[0].tagName),s=t.pageX,o=t.pageY;if(this.originalPosition){var u;if(this.containment){if(this.relative_container){var a=this.relative_container.offset();u=[this.containment[0]+a.left,this.containment[1]+a.top,this.containment[2]+a.left,this.containment[3]+a.top]}else u=this.containment;t.pageX-this.offset.click.leftu[2]&&(s=u[2]+this.offset.click.left),t.pageY-this.offset.click.top>u[3]&&(o=u[3]+this.offset.click.top)}if(n.grid){var f=n.grid[1]?this.originalPageY+Math.round((o-this.originalPageY)/n.grid[1])*n.grid[1]:this.originalPageY;o=u?f-this.offset.click.topu[3]?f-this.offset.click.topu[2]?l-this.offset.click.left=0;l--){var c=r.snapElements[l].left,h=c+r.snapElements[l].width,p=r.snapElements[l].top,d=p+r.snapElements[l].height;if(!(c-s=l&&o<=c||u>=l&&u<=c||oc)&&(i>=a&&i<=f||s>=a&&s<=f||if);default:return!1}},e.ui.ddmanager={current:null,droppables:{"default":[]},prepareOffsets:function(t,n){var r=e.ui.ddmanager.droppables[t.options.scope]||[],i=n?n.type:null,s=(t.currentItem||t.element).find(":data(droppable)").andSelf();e:for(var o=0;oe?0:r.max")[0],c,h=t.each;l.style.cssText="background-color:rgba(1,1,1,.5)",f.rgba=l.style.backgroundColor.indexOf("rgba")>-1,h(u,function(e,t){t.cache="_"+e,t.props.alpha={idx:3,type:"percent",def:1}}),o.fn=t.extend(o.prototype,{parse:function(r,i,s,a){if(r===n)return this._rgba=[null,null,null,null],this;if(r.jquery||r.nodeType)r=t(r).css(i),i=n;var f=this,l=t.type(r),v=this._rgba=[],m;i!==n&&(r=[r,i,s,a],l="array");if(l==="string")return this.parse(d(r)||c._default);if(l==="array")return h(u.rgba.props,function(e,t){v[t.idx]=p(r[t.idx],t)}),this;if(l==="object")return r instanceof o?h(u,function(e,t){r[t.cache]&&(f[t.cache]=r[t.cache].slice())}):h(u,function(t,n){var i=n.cache;h(n.props,function(e,t){if(!f[i]&&n.to){if(e==="alpha"||r[e]==null)return;f[i]=n.to(f._rgba)}f[i][t.idx]=p(r[e],t,!0)}),f[i]&&e.inArray(null,f[i].slice(0,3))<0&&(f[i][3]=1,n.from&&(f._rgba=n.from(f[i])))}),this},is:function(e){var t=o(e),n=!0,r=this;return h(u,function(e,i){var s,o=t[i.cache];return o&&(s=r[i.cache]||i.to&&i.to(r._rgba)||[],h(i.props,function(e,t){if(o[t.idx]!=null)return n=o[t.idx]===s[t.idx],n})),n}),n},_space:function(){var e=[],t=this;return h(u,function(n,r){t[r.cache]&&e.push(n)}),e.pop()},transition:function(e,t){var n=o(e),r=n._space(),i=u[r],s=this.alpha()===0?o("transparent"):this,f=s[i.cache]||i.to(s._rgba),l=f.slice();return n=n[i.cache],h(i.props,function(e,r){var i=r.idx,s=f[i],o=n[i],u=a[r.type]||{};if(o===null)return;s===null?l[i]=o:(u.mod&&(o-s>u.mod/2?s+=u.mod:s-o>u.mod/2&&(s-=u.mod)),l[i]=p((o-s)*t+s,r))}),this[r](l)},blend:function(e){if(this._rgba[3]===1)return this;var n=this._rgba.slice(),r=n.pop(),i=o(e)._rgba;return o(t.map(n,function(e,t){return(1-r)*i[t]+r*e}))},toRgbaString:function(){var e="rgba(",n=t.map(this._rgba,function(e,t){return e==null?t>2?1:0:e});return n[3]===1&&(n.pop(),e="rgb("),e+n.join()+")"},toHslaString:function(){var e="hsla(",n=t.map(this.hsla(),function(e,t){return e==null&&(e=t>2?1:0),t&&t<3&&(e=Math.round(e*100)+"%"),e});return n[3]===1&&(n.pop(),e="hsl("),e+n.join()+")"},toHexString:function(e){var n=this._rgba.slice(),r=n.pop();return e&&n.push(~~(r*255)),"#"+t.map(n,function(e,t){return e=(e||0).toString(16),e.length===1?"0"+e:e}).join("")},toString:function(){return this._rgba[3]===0?"transparent":this.toRgbaString()}}),o.fn.parse.prototype=o.fn,u.hsla.to=function(e){if(e[0]==null||e[1]==null||e[2]==null)return[null,null,null,e[3]];var t=e[0]/255,n=e[1]/255,r=e[2]/255,i=e[3],s=Math.max(t,n,r),o=Math.min(t,n,r),u=s-o,a=s+o,f=a*.5,l,c;return o===s?l=0:t===s?l=60*(n-r)/u+360:n===s?l=60*(r-t)/u+120:l=60*(t-n)/u+240,f===0||f===1?c=f:f<=.5?c=u/a:c=u/(2-a),[Math.round(l)%360,c,f,i==null?1:i]},u.hsla.from=function(e){if(e[0]==null||e[1]==null||e[2]==null)return[null,null,null,e[3]];var t=e[0]/360,n=e[1],r=e[2],i=e[3],s=r<=.5?r*(1+n):r+n-r*n,o=2*r-s,u,a,f;return[Math.round(v(o,s,t+1/3)*255),Math.round(v(o,s,t)*255),Math.round(v(o,s,t-1/3)*255),i]},h(u,function(e,r){var s=r.props,u=r.cache,a=r.to,f=r.from;o.fn[e]=function(e){a&&!this[u]&&(this[u]=a(this._rgba));if(e===n)return this[u].slice();var r,i=t.type(e),l=i==="array"||i==="object"?e:arguments,c=this[u].slice();return h(s,function(e,t){var n=l[i==="object"?e:t.idx];n==null&&(n=c[t.idx]),c[t.idx]=p(n,t)}),f?(r=o(f(c)),r[u]=c,r):o(c)},h(s,function(n,r){if(o.fn[n])return;o.fn[n]=function(s){var o=t.type(s),u=n==="alpha"?this._hsla?"hsla":"rgba":e,a=this[u](),f=a[r.idx],l;return o==="undefined"?f:(o==="function"&&(s=s.call(this,f),o=t.type(s)),s==null&&r.empty?this:(o==="string"&&(l=i.exec(s),l&&(s=f+parseFloat(l[2])*(l[1]==="+"?1:-1))),a[r.idx]=s,this[u](a)))}})}),h(r,function(e,n){t.cssHooks[n]={set:function(e,r){var i,s,u="";if(t.type(r)!=="string"||(i=d(r))){r=o(i||r);if(!f.rgba&&r._rgba[3]!==1){s=n==="backgroundColor"?e.parentNode:e;while((u===""||u==="transparent")&&s&&s.style)try{u=t.css(s,"backgroundColor"),s=s.parentNode}catch(a){}r=r.blend(u&&u!=="transparent"?u:"_default")}r=r.toRgbaString()}try{e.style[n]=r}catch(r){}}},t.fx.step[n]=function(e){e.colorInit||(e.start=o(e.elem,n),e.end=o(e.end),e.colorInit=!0),t.cssHooks[n].set(e.elem,e.start.transition(e.end,e.pos))}}),t.cssHooks.borderColor={expand:function(e){var t={};return h(["Top","Right","Bottom","Left"],function(n,r){t["border"+r+"Color"]=e}),t}},c=t.Color.names={aqua:"#00ffff",black:"#000000",blue:"#0000ff",fuchsia:"#ff00ff",gray:"#808080",green:"#008000",lime:"#00ff00",maroon:"#800000",navy:"#000080",olive:"#808000",purple:"#800080",red:"#ff0000",silver:"#c0c0c0",teal:"#008080",white:"#ffffff",yellow:"#ffff00",transparent:[null,null,null,0],_default:"#ffffff"}}(jQuery),function(){function i(){var t=this.ownerDocument.defaultView?this.ownerDocument.defaultView.getComputedStyle(this,null):this.currentStyle,n={},r,i,s;if(t&&t.length&&t[0]&&t[t[0]]){s=t.length;while(s--)r=t[s],typeof t[r]=="string"&&(n[e.camelCase(r)]=t[r])}else for(r in t)typeof t[r]=="string"&&(n[r]=t[r]);return n}function s(t,n){var i={},s,o;for(s in n)o=n[s],t[s]!==o&&!r[s]&&(e.fx.step[s]||!isNaN(parseFloat(o)))&&(i[s]=o);return i}var n=["add","remove","toggle"],r={border:1,borderBottom:1,borderColor:1,borderLeft:1,borderRight:1,borderTop:1,borderWidth:1,margin:1,padding:1};e.each(["borderLeftStyle","borderRightStyle","borderBottomStyle","borderTopStyle"],function(t,n){e.fx.step[n]=function(e){if(e.end!=="none"&&!e.setAttr||e.pos===1&&!e.setAttr)jQuery.style(e.elem,n,e.end),e.setAttr=!0}}),e.effects.animateClass=function(t,r,o,u){var a=e.speed(r,o,u);return this.queue(function(){var r=e(this),o=r.attr("class")||"",u,f=a.children?r.find("*").andSelf():r;f=f.map(function(){var t=e(this);return{el:t,start:i.call(this)}}),u=function(){e.each(n,function(e,n){t[n]&&r[n+"Class"](t[n])})},u(),f=f.map(function(){return this.end=i.call(this.el[0]),this.diff=s(this.start,this.end),this}),r.attr("class",o),f=f.map(function(){var t=this,n=e.Deferred(),r=jQuery.extend({},a,{queue:!1,complete:function(){n.resolve(t)}});return this.el.animate(this.diff,r),n.promise()}),e.when.apply(e,f.get()).done(function(){u(),e.each(arguments,function(){var t=this.el;e.each(this.diff,function(e){t.css(e,"")})}),a.complete.call(r[0])})})},e.fn.extend({_addClass:e.fn.addClass,addClass:function(t,n,r,i){return n?e.effects.animateClass.call(this,{add:t},n,r,i):this._addClass(t)},_removeClass:e.fn.removeClass,removeClass:function(t,n,r,i){return n?e.effects.animateClass.call(this,{remove:t},n,r,i):this._removeClass(t)},_toggleClass:e.fn.toggleClass,toggleClass:function(n,r,i,s,o){return typeof r=="boolean"||r===t?i?e.effects.animateClass.call(this,r?{add:n}:{remove:n},i,s,o):this._toggleClass(n,r):e.effects.animateClass.call(this,{toggle:n},r,i,s)},switchClass:function(t,n,r,i,s){return e.effects.animateClass.call(this,{add:n,remove:t},r,i,s)}})}(),function(){function i(n,r,i,s){e.isPlainObject(n)&&(r=n,n=n.effect),n={effect:n},r===t&&(r={}),e.isFunction(r)&&(s=r,i=null,r={});if(typeof r=="number"||e.fx.speeds[r])s=i,i=r,r={};return e.isFunction(i)&&(s=i,i=null),r&&e.extend(n,r),i=i||r.duration,n.duration=e.fx.off?0:typeof i=="number"?i:i in e.fx.speeds?e.fx.speeds[i]:e.fx.speeds._default,n.complete=s||r.complete,n}function s(t){return!t||typeof t=="number"||e.fx.speeds[t]?!0:typeof t=="string"&&!e.effects.effect[t]?n&&e.effects[t]?!1:!0:!1}e.extend(e.effects,{version:"1.9.0",save:function(e,t){for(var n=0;n
                                                ").addClass("ui-effects-wrapper").css({fontSize:"100%",background:"transparent",border:"none",margin:0,padding:0}),i={width:t.width(),height:t.height()},s=document.activeElement;try{s.id}catch(o){s=document.body}return t.wrap(r),(t[0]===s||e.contains(t[0],s))&&e(s).focus(),r=t.parent(),t.css("position")==="static"?(r.css({position:"relative"}),t.css({position:"relative"})):(e.extend(n,{position:t.css("position"),zIndex:t.css("z-index")}),e.each(["top","left","bottom","right"],function(e,r){n[r]=t.css(r),isNaN(parseInt(n[r],10))&&(n[r]="auto")}),t.css({position:"relative",top:0,left:0,right:"auto",bottom:"auto"})),t.css(i),r.css(n).show()},removeWrapper:function(t){var n=document.activeElement;return t.parent().is(".ui-effects-wrapper")&&(t.parent().replaceWith(t),(t[0]===n||e.contains(t[0],n))&&e(n).focus()),t},setTransition:function(t,n,r,i){return i=i||{},e.each(n,function(e,n){var s=t.cssUnit(n);s[0]>0&&(i[n]=s[0]*r+s[1])}),i}}),e.fn.extend({effect:function(t,r,s,o){function h(t){function s(){e.isFunction(r)&&r.call(n[0]),e.isFunction(t)&&t()}var n=e(this),r=u.complete,i=u.mode;(n.is(":hidden")?i==="hide":i==="show")?s():l.call(n[0],u,s)}var u=i.apply(this,arguments),a=u.mode,f=u.queue,l=e.effects.effect[u.effect],c=!l&&n&&e.effects[u.effect];return e.fx.off||!l&&!c?a?this[a](u.duration,u.complete):this.each(function(){u.complete&&u.complete.call(this)}):l?f===!1?this.each(h):this.queue(f||"fx",h):c.call(this,{options:u,duration:u.duration,callback:u.complete,mode:u.mode})},_show:e.fn.show,show:function(e){if(s(e))return this._show.apply(this,arguments);var t=i.apply(this,arguments);return t.mode="show",this.effect.call(this,t)},_hide:e.fn.hide,hide:function(e){if(s(e))return this._hide.apply(this,arguments);var t=i.apply(this,arguments);return t.mode="hide",this.effect.call(this,t)},__toggle:e.fn.toggle,toggle:function(t){if(s(t)||typeof t=="boolean"||e.isFunction(t))return this.__toggle.apply(this,arguments);var n=i.apply(this,arguments);return n.mode="toggle",this.effect.call(this,n)},cssUnit:function(t){var n=this.css(t),r=[];return e.each(["em","px","%","pt"],function(e,t){n.indexOf(t)>0&&(r=[parseFloat(n),t])}),r}})}(),function(){var t={};e.each(["Quad","Cubic","Quart","Quint","Expo"],function(e,n){t[n]=function(t){return Math.pow(t,e+2)}}),e.extend(t,{Sine:function(e){return 1-Math.cos(e*Math.PI/2)},Circ:function(e){return 1-Math.sqrt(1-e*e)},Elastic:function(e){return e===0||e===1?e:-Math.pow(2,8*(e-1))*Math.sin(((e-1)*80-7.5)*Math.PI/15)},Back:function(e){return e*e*(3*e-2)},Bounce:function(e){var t,n=4;while(e<((t=Math.pow(2,--n))-1)/11);return 1/Math.pow(4,3-n)-7.5625*Math.pow((t*3-2)/22-e,2)}}),e.each(t,function(t,n){e.easing["easeIn"+t]=n,e.easing["easeOut"+t]=function(e){return 1-n(1-e)},e.easing["easeInOut"+t]=function(e){return e<.5?n(e*2)/2:1-n(e*-2+2)/2}})}()}(jQuery);(function(e,t){var n=/up|down|vertical/,r=/up|left|vertical|horizontal/;e.effects.effect.blind=function(t,i){var s=e(this),o=["position","top","bottom","left","right","height","width"],u=e.effects.setMode(s,t.mode||"hide"),a=t.direction||"up",f=n.test(a),l=f?"height":"width",c=f?"top":"left",h=r.test(a),p={},d=u==="show",v,m,g;s.parent().is(".ui-effects-wrapper")?e.effects.save(s.parent(),o):e.effects.save(s,o),s.show(),v=e.effects.createWrapper(s).css({overflow:"hidden"}),m=v[l](),g=parseFloat(v.css(c))||0,p[l]=d?m:0,h||(s.css(f?"bottom":"right",0).css(f?"top":"left","auto").css({position:"absolute"}),p[c]=d?g:m+g),d&&(v.css(l,0),h||v.css(c,g+m)),v.animate(p,{duration:t.duration,easing:t.easing,queue:!1,complete:function(){u==="hide"&&s.hide(),e.effects.restore(s,o),e.effects.removeWrapper(s),i()}})}})(jQuery);(function(e,t){e.effects.effect.bounce=function(t,n){var r=e(this),i=["position","top","bottom","left","right","height","width"],s=e.effects.setMode(r,t.mode||"effect"),o=s==="hide",u=s==="show",a=t.direction||"up",f=t.distance,l=t.times||5,c=l*2+(u||o?1:0),h=t.duration/c,p=t.easing,d=a==="up"||a==="down"?"top":"left",v=a==="up"||a==="left",m,g,y,b=r.queue(),w=b.length;(u||o)&&i.push("opacity"),e.effects.save(r,i),r.show(),e.effects.createWrapper(r),f||(f=r[d==="top"?"outerHeight":"outerWidth"]()/3),u&&(y={opacity:1},y[d]=0,r.css("opacity",0).css(d,v?-f*2:f*2).animate(y,h,p)),o&&(f/=Math.pow(2,l-1)),y={},y[d]=0;for(m=0;m1&&b.splice.apply(b,[1,0].concat(b.splice(w,c+1))),r.dequeue()}})(jQuery);(function(e,t){e.effects.effect.clip=function(t,n){var r=e(this),i=["position","top","bottom","left","right","height","width"],s=e.effects.setMode(r,t.mode||"hide"),o=s==="show",u=t.direction||"vertical",a=u==="vertical",f=a?"height":"width",l=a?"top":"left",c={},h,p,d;e.effects.save(r,i),r.show(),h=e.effects.createWrapper(r).css({overflow:"hidden"}),p=r[0].tagName==="IMG"?h:r,d=p[f](),o&&(p.css(f,0),p.css(l,d/2)),c[f]=o?d:0,c[l]=o?0:d/2,p.animate(c,{queue:!1,duration:t.duration,easing:t.easing,complete:function(){o||r.hide(),e.effects.restore(r,i),e.effects.removeWrapper(r),n()}})}})(jQuery);(function(e,t){e.effects.effect.drop=function(t,n){var r=e(this),i=["position","top","bottom","left","right","opacity","height","width"],s=e.effects.setMode(r,t.mode||"hide"),o=s==="show",u=t.direction||"left",a=u==="up"||u==="down"?"top":"left",f=u==="up"||u==="left"?"pos":"neg",l={opacity:o?1:0},c;e.effects.save(r,i),r.show(),e.effects.createWrapper(r),c=t.distance||r[a==="top"?"outerHeight":"outerWidth"](!0)/2,o&&r.css("opacity",0).css(a,f==="pos"?-c:c),l[a]=(o?f==="pos"?"+=":"-=":f==="pos"?"-=":"+=")+c,r.animate(l,{queue:!1,duration:t.duration,easing:t.easing,complete:function(){s==="hide"&&r.hide(),e.effects.restore(r,i),e.effects.removeWrapper(r),n()}})}})(jQuery);(function(e,t){e.effects.effect.explode=function(t,n){function y(){c.push(this),c.length===r*i&&b()}function b(){s.css({visibility:"visible"}),e(c).remove(),u||s.hide(),n()}var r=t.pieces?Math.round(Math.sqrt(t.pieces)):3,i=r,s=e(this),o=e.effects.setMode(s,t.mode||"hide"),u=o==="show",a=s.show().css("visibility","hidden").offset(),f=Math.ceil(s.outerWidth()/i),l=Math.ceil(s.outerHeight()/r),c=[],h,p,d,v,m,g;for(h=0;h
                                                ").css({position:"absolute",visibility:"visible",left:-p*f,top:-h*l}).parent().addClass("ui-effects-explode").css({position:"absolute",overflow:"hidden",width:f,height:l,left:d+(u?m*f:0),top:v+(u?g*l:0),opacity:u?0:1}).animate({left:d+(u?0:m*f),top:v+(u?0:g*l),opacity:u?1:0},t.duration||500,t.easing,y)}}})(jQuery);(function(e,t){e.effects.effect.fade=function(t,n){var r=e(this),i=e.effects.setMode(r,t.mode||"toggle");r.animate({opacity:i},{queue:!1,duration:t.duration,easing:t.easing,complete:n})}})(jQuery);(function(e,t){e.effects.effect.fold=function(t,n){var r=e(this),i=["position","top","bottom","left","right","height","width"],s=e.effects.setMode(r,t.mode||"hide"),o=s==="show",u=s==="hide",a=t.size||15,f=/([0-9]+)%/.exec(a),l=!!t.horizFirst,c=o!==l,h=c?["width","height"]:["height","width"],p=t.duration/2,d,v,m={},g={};e.effects.save(r,i),r.show(),d=e.effects.createWrapper(r).css({overflow:"hidden"}),v=c?[d.width(),d.height()]:[d.height(),d.width()],f&&(a=parseInt(f[1],10)/100*v[u?0:1]),o&&d.css(l?{height:0,width:a}:{height:a,width:0}),m[h[0]]=o?v[0]:a,g[h[1]]=o?v[1]:0,d.animate(m,p,t.easing).animate(g,p,t.easing,function(){u&&r.hide(),e.effects.restore(r,i),e.effects.removeWrapper(r),n()})}})(jQuery);(function(e,t){e.effects.effect.highlight=function(t,n){var r=e(this),i=["backgroundImage","backgroundColor","opacity"],s=e.effects.setMode(r,t.mode||"show"),o={backgroundColor:r.css("backgroundColor")};s==="hide"&&(o.opacity=0),e.effects.save(r,i),r.show().css({backgroundImage:"none",backgroundColor:t.color||"#ffff99"}).animate(o,{queue:!1,duration:t.duration,easing:t.easing,complete:function(){s==="hide"&&r.hide(),e.effects.restore(r,i),n()}})}})(jQuery);(function(e,t){e.effects.effect.pulsate=function(t,n){var r=e(this),i=e.effects.setMode(r,t.mode||"show"),s=i==="show",o=i==="hide",u=s||i==="hide",a=(t.times||5)*2+(u?1:0),f=t.duration/a,l=0,c=r.queue(),h=c.length,p;if(s||!r.is(":visible"))r.css("opacity",0).show(),l=1;for(p=1;p1&&c.splice.apply(c,[1,0].concat(c.splice(h,a+1))),r.dequeue()}})(jQuery);(function(e,t){e.effects.effect.puff=function(t,n){var r=e(this),i=e.effects.setMode(r,t.mode||"hide"),s=i==="hide",o=parseInt(t.percent,10)||150,u=o/100,a={height:r.height(),width:r.width()};e.extend(t,{effect:"scale",queue:!1,fade:!0,mode:i,complete:n,percent:s?o:100,from:s?a:{height:a.height*u,width:a.width*u}}),r.effect(t)},e.effects.effect.scale=function(t,n){var r=e(this),i=e.extend(!0,{},t),s=e.effects.setMode(r,t.mode||"effect"),o=parseInt(t.percent,10)||(parseInt(t.percent,10)===0?0:s==="hide"?0:100),u=t.direction||"both",a=t.origin,f={height:r.height(),width:r.width(),outerHeight:r.outerHeight(),outerWidth:r.outerWidth()},l={y:u!=="horizontal"?o/100:1,x:u!=="vertical"?o/100:1};i.effect="size",i.queue=!1,i.complete=n,s!=="effect"&&(i.origin=a||["middle","center"],i.restore=!0),i.from=t.from||(s==="show"?{height:0,width:0}:f),i.to={height:f.height*l.y,width:f.width*l.x,outerHeight:f.outerHeight*l.y,outerWidth:f.outerWidth*l.x},i.fade&&(s==="show"&&(i.from.opacity=0,i.to.opacity=1),s==="hide"&&(i.from.opacity=1,i.to.opacity=0)),r.effect(i)},e.effects.effect.size=function(t,n){var r=e(this),i=["position","top","bottom","left","right","width","height","overflow","opacity"],s=["position","top","bottom","left","right","overflow","opacity"],o=["width","height","overflow"],u=["fontSize"],a=["borderTopWidth","borderBottomWidth","paddingTop","paddingBottom"],f=["borderLeftWidth","borderRightWidth","paddingLeft","paddingRight"],l=e.effects.setMode(r,t.mode||"effect"),c=t.restore||l!=="effect",h=t.scale||"both",p=t.origin||["middle","center"],d,v,m,g=r.css("position");l==="show"&&r.show(),d={height:r.height(),width:r.width(),outerHeight:r.outerHeight(),outerWidth:r.outerWidth()},r.from=t.from||d,r.to=t.to||d,m={from:{y:r.from.height/d.height,x:r.from.width/d.width},to:{y:r.to.height/d.height,x:r.to.width/d.width}};if(h==="box"||h==="both")m.from.y!==m.to.y&&(i=i.concat(a),r.from=e.effects.setTransition(r,a,m.from.y,r.from),r.to=e.effects.setTransition(r,a,m.to.y,r.to)),m.from.x!==m.to.x&&(i=i.concat(f),r.from=e.effects.setTransition(r,f,m.from.x,r.from),r.to=e.effects.setTransition(r,f,m.to.x,r.to));(h==="content"||h==="both")&&m.from.y!==m.to.y&&(i=i.concat(u),r.from=e.effects.setTransition(r,u,m.from.y,r.from),r.to=e.effects.setTransition(r,u,m.to.y,r.to)),e.effects.save(r,c?i:s),r.show(),e.effects.createWrapper(r),r.css("overflow","hidden").css(r.from),p&&(v=e.effects.getBaseline(p,d),r.from.top=(d.outerHeight-r.outerHeight())*v.y,r.from.left=(d.outerWidth-r.outerWidth())*v.x,r.to.top=(d.outerHeight-r.to.outerHeight)*v.y,r.to.left=(d.outerWidth-r.to.outerWidth)*v.x),r.css(r.from);if(h==="content"||h==="both")a=a.concat(["marginTop","marginBottom"]).concat(u),f=f.concat(["marginLeft","marginRight"]),o=i.concat(a).concat(f),r.find("*[width]").each(function(){var n=e(this),r={height:n.height(),width:n.width()};c&&e.effects.save(n,o),n.from={height:r.height*m.from.y,width:r.width*m.from.x},n.to={height:r.height*m.to.y,width:r.width*m.to.x},m.from.y!==m.to.y&&(n.from=e.effects.setTransition(n,a,m.from.y,n.from),n.to=e.effects.setTransition(n,a,m.to.y,n.to)),m.from.x!==m.to.x&&(n.from=e.effects.setTransition(n,f,m.from.x,n.from),n.to=e.effects.setTransition(n,f,m.to.x,n.to)),n.css(n.from),n.animate(n.to,t.duration,t.easing,function(){c&&e.effects.restore(n,o)})});r.animate(r.to,{queue:!1,duration:t.duration,easing:t.easing,complete:function(){r.to.opacity===0&&r.css("opacity",r.from.opacity),l==="hide"&&r.hide(),e.effects.restore(r,c?i:s),c||(g==="static"?r.css({position:"relative",top:r.to.top,left:r.to.left}):e.each(["top","left"],function(e,t){r.css(t,function(t,n){var i=parseInt(n,10),s=e?r.to.left:r.to.top;return n==="auto"?s+"px":i+s+"px"})})),e.effects.removeWrapper(r),n()}})}})(jQuery);(function(e,t){e.effects.effect.shake=function(t,n){var r=e(this),i=["position","top","bottom","left","right","height","width"],s=e.effects.setMode(r,t.mode||"effect"),o=t.direction||"left",u=t.distance||20,a=t.times||3,f=a*2+1,l=Math.round(t.duration/f),c=o==="up"||o==="down"?"top":"left",h=o==="up"||o==="left",p={},d={},v={},m,g=r.queue(),y=g.length;e.effects.save(r,i),r.show(),e.effects.createWrapper(r),p[c]=(h?"-=":"+=")+u,d[c]=(h?"+=":"-=")+u*2,v[c]=(h?"-=":"+=")+u*2,r.animate(p,l,t.easing);for(m=1;m1&&g.splice.apply(g,[1,0].concat(g.splice(y,f+1))),r.dequeue()}})(jQuery);(function(e,t){e.effects.effect.slide=function(t,n){var r=e(this),i=["position","top","bottom","left","right","width","height"],s=e.effects.setMode(r,t.mode||"show"),o=s==="show",u=t.direction||"left",a=u==="up"||u==="down"?"top":"left",f=u==="up"||u==="left",l,c={};e.effects.save(r,i),r.show(),l=t.distance||r[a==="top"?"outerHeight":"outerWidth"](!0),e.effects.createWrapper(r).css({overflow:"hidden"}),o&&r.css(a,f?isNaN(l)?"-"+l:-l:l),c[a]=(o?f?"+=":"-=":f?"-=":"+=")+l,r.animate(c,{queue:!1,duration:t.duration,easing:t.easing,complete:function(){s==="hide"&&r.hide(),e.effects.restore(r,i),e.effects.removeWrapper(r),n()}})}})(jQuery);(function(e,t){e.effects.effect.transfer=function(t,n){var r=e(this),i=e(t.to),s=i.css("position")==="fixed",o=e("body"),u=s?o.scrollTop():0,a=s?o.scrollLeft():0,f=i.offset(),l={top:f.top-u,left:f.left-a,height:i.innerHeight(),width:i.innerWidth()},c=r.offset(),h=e('
                                                ').appendTo(document.body).addClass(t.className).css({top:c.top-u,left:c.left-a,height:r.innerHeight(),width:r.innerWidth(),position:s?"fixed":"absolute"}).animate(l,t.duration,t.easing,function(){h.remove(),n()})}})(jQuery);(function(e,t){var n=!1;e.widget("ui.menu",{version:"1.9.0",defaultElement:"
                                                  ",delay:300,options:{icons:{submenu:"ui-icon-carat-1-e"},menus:"ul",position:{my:"left top",at:"right top"},role:"menu",blur:null,focus:null,select:null},_create:function(){this.activeMenu=this.element,this.element.uniqueId().addClass("ui-menu ui-widget ui-widget-content ui-corner-all").toggleClass("ui-menu-icons",!!this.element.find(".ui-icon").length).attr({role:this.options.role,tabIndex:0}).bind("click"+this.eventNamespace,e.proxy(function(e){this.options.disabled&&e.preventDefault()},this)),this.options.disabled&&this.element.addClass("ui-state-disabled").attr("aria-disabled","true"),this._on({"mousedown .ui-menu-item > a":function(e){e.preventDefault()},"click .ui-state-disabled > a":function(e){e.preventDefault()},"click .ui-menu-item:has(a)":function(t){var r=e(t.target).closest(".ui-menu-item");!n&&r.not(".ui-state-disabled").length&&(n=!0,this.select(t),r.has(".ui-menu").length?this.expand(t):this.element.is(":focus")||(this.element.trigger("focus",[!0]),this.active&&this.active.parents(".ui-menu").length===1&&clearTimeout(this.timer)))},"mouseenter .ui-menu-item":function(t){var n=e(t.currentTarget);n.siblings().children(".ui-state-active").removeClass("ui-state-active"),this.focus(t,n)},mouseleave:"collapseAll","mouseleave .ui-menu":"collapseAll",focus:function(e,t){var n=this.active||this.element.children(".ui-menu-item").eq(0);t||this.focus(e,n)},blur:function(t){this._delay(function(){e.contains(this.element[0],this.document[0].activeElement)||this.collapseAll(t)})},keydown:"_keydown"}),this.refresh(),this._on(this.document,{click:function(t){e(t.target).closest(".ui-menu").length||this.collapseAll(t),n=!1}})},_destroy:function(){this.element.removeAttr("aria-activedescendant").find(".ui-menu").andSelf().removeClass("ui-menu ui-widget ui-widget-content ui-corner-all ui-menu-icons").removeAttr("role").removeAttr("tabIndex").removeAttr("aria-labelledby").removeAttr("aria-expanded").removeAttr("aria-hidden").removeAttr("aria-disabled").removeUniqueId().show(),this.element.find(".ui-menu-item").removeClass("ui-menu-item").removeAttr("role").removeAttr("aria-disabled").children("a").removeUniqueId().removeClass("ui-corner-all ui-state-hover").removeAttr("tabIndex").removeAttr("role").removeAttr("aria-haspopup").children().each(function(){var t=e(this);t.data("ui-menu-submenu-carat")&&t.remove()}),this.element.find(".ui-menu-divider").removeClass("ui-menu-divider ui-widget-content")},_keydown:function(t){function a(e){return e.replace(/[\-\[\]{}()*+?.,\\\^$|#\s]/g,"\\$&")}var n,r,i,s,o,u=!0;switch(t.keyCode){case e.ui.keyCode.PAGE_UP:this.previousPage(t);break;case e.ui.keyCode.PAGE_DOWN:this.nextPage(t);break;case e.ui.keyCode.HOME:this._move("first","first",t);break;case e.ui.keyCode.END:this._move("last","last",t);break;case e.ui.keyCode.UP:this.previous(t);break;case e.ui.keyCode.DOWN:this.next(t);break;case e.ui.keyCode.LEFT:this.collapse(t);break;case e.ui.keyCode.RIGHT:this.active&&!this.active.is(".ui-state-disabled")&&this.expand(t);break;case e.ui.keyCode.ENTER:case e.ui.keyCode.SPACE:this._activate(t);break;case e.ui.keyCode.ESCAPE:this.collapse(t);break;default:u=!1,r=this.previousFilter||"",i=String.fromCharCode(t.keyCode),s=!1,clearTimeout(this.filterTimer),i===r?s=!0:i=r+i,o=new RegExp("^"+a(i),"i"),n=this.activeMenu.children(".ui-menu-item").filter(function(){return o.test(e(this).children("a").text())}),n=s&&n.index(this.active.next())!==-1?this.active.nextAll(".ui-menu-item"):n,n.length||(i=String.fromCharCode(t.keyCode),o=new RegExp("^"+a(i),"i"),n=this.activeMenu.children(".ui-menu-item").filter(function(){return o.test(e(this).children("a").text())})),n.length?(this.focus(t,n),n.length>1?(this.previousFilter=i,this.filterTimer=this._delay(function(){delete this.previousFilter},1e3)):delete this.previousFilter):delete this.previousFilter}u&&t.preventDefault()},_activate:function(e){this.active.is(".ui-state-disabled")||(this.active.children("a[aria-haspopup='true']").length?this.expand(e):this.select(e))},refresh:function(){var t,n=this.options.icons.submenu,r=this.element.find(this.options.menus+":not(.ui-menu)").addClass("ui-menu ui-widget ui-widget-content ui-corner-all").hide().attr({role:this.options.role,"aria-hidden":"true","aria-expanded":"false"});t=r.add(this.element),t.children(":not(.ui-menu-item):has(a)").addClass("ui-menu-item").attr("role","presentation").children("a").uniqueId().addClass("ui-corner-all").attr({tabIndex:-1,role:this._itemRole()}),t.children(":not(.ui-menu-item)").each(function(){var t=e(this);/[^\-—–\s]/.test(t.text())||t.addClass("ui-widget-content ui-menu-divider")}),t.children(".ui-state-disabled").attr("aria-disabled","true"),r.each(function(){var t=e(this),r=t.prev("a"),i=e("").addClass("ui-menu-icon ui-icon "+n).data("ui-menu-submenu-carat",!0);r.attr("aria-haspopup","true").prepend(i),t.attr("aria-labelledby",r.attr("id"))}),this.active&&!e.contains(this.element[0],this.active[0])&&this.blur()},_itemRole:function(){return{menu:"menuitem",listbox:"option"}[this.options.role]},focus:function(e,t){var n,r;this.blur(e,e&&e.type==="focus"),this._scrollIntoView(t),this.active=t.first(),r=this.active.children("a").addClass("ui-state-focus"),this.options.role&&this.element.attr("aria-activedescendant",r.attr("id")),this.active.parent().closest(".ui-menu-item").children("a:first").addClass("ui-state-active"),e&&e.type==="keydown"?this._close():this.timer=this._delay(function(){this._close()},this.delay),n=t.children(".ui-menu"),n.length&&/^mouse/.test(e.type)&&this._startOpening(n),this.activeMenu=t.parent(),this._trigger("focus",e,{item:t})},_scrollIntoView:function(t){var n,r,i,s,o,u;this._hasScroll()&&(n=parseFloat(e.css(this.activeMenu[0],"borderTopWidth"))||0,r=parseFloat(e.css(this.activeMenu[0],"paddingTop"))||0,i=t.offset().top-this.activeMenu.offset().top-n-r,s=this.activeMenu.scrollTop(),o=this.activeMenu.height(),u=t.height(),i<0?this.activeMenu.scrollTop(s+i):i+u>o&&this.activeMenu.scrollTop(s+i-o+u))},blur:function(e,t){t||clearTimeout(this.timer);if(!this.active)return;this.active.children("a").removeClass("ui-state-focus"),this.active=null,this._trigger("blur",e,{item:this.active})},_startOpening:function(e){clearTimeout(this.timer);if(e.attr("aria-hidden")!=="true")return;this.timer=this._delay(function(){this._close(),this._open(e)},this.delay)},_open:function(t){var n=e.extend({of:this.active},this.options.position);clearTimeout(this.timer),this.element.find(".ui-menu").not(t.parents(".ui-menu")).hide().attr("aria-hidden","true"),t.show().removeAttr("aria-hidden").attr("aria-expanded","true").position(n)},collapseAll:function(t,n){clearTimeout(this.timer),this.timer=this._delay(function(){var r=n?this.element:e(t&&t.target).closest(this.element.find(".ui-menu"));r.length||(r=this.element),this._close(r),this.blur(t),this.activeMenu=r},this.delay)},_close:function(e){e||(e=this.active?this.active.parent():this.element),e.find(".ui-menu").hide().attr("aria-hidden","true").attr("aria-expanded","false").end().find("a.ui-state-active").removeClass("ui-state-active")},collapse:function(e){var t=this.active&&this.active.parent().closest(".ui-menu-item",this.element);t&&t.length&&(this._close(),this.focus(e,t))},expand:function(e){var t=this.active&&this.active.children(".ui-menu ").children(".ui-menu-item").first();t&&t.length&&(this._open(t.parent()),this._delay(function(){this.focus(e,t)}))},next:function(e){this._move("next","first",e)},previous:function(e){this._move("prev","last",e)},isFirstItem:function(){return this.active&&!this.active.prevAll(".ui-menu-item").length},isLastItem:function(){return this.active&&!this.active.nextAll(".ui-menu-item").length},_move:function(e,t,n){var r;this.active&&(e==="first"||e==="last"?r=this.active[e==="first"?"prevAll":"nextAll"](".ui-menu-item").eq(-1):r=this.active[e+"All"](".ui-menu-item").eq(0));if(!r||!r.length||!this.active)r=this.activeMenu.children(".ui-menu-item")[t]();this.focus(n,r)},nextPage:function(t){var n,r,i;if(!this.active){this.next(t);return}if(this.isLastItem())return;this._hasScroll()?(r=this.active.offset().top,i=this.element.height(),this.active.nextAll(".ui-menu-item").each(function(){return n=e(this),n.offset().top-r-i<0}),this.focus(t,n)):this.focus(t,this.activeMenu.children(".ui-menu-item")[this.active?"last":"first"]())},previousPage:function(t){var n,r,i;if(!this.active){this.next(t);return}if(this.isFirstItem())return;this._hasScroll()?(r=this.active.offset().top,i=this.element.height(),this.active.prevAll(".ui-menu-item").each(function(){return n=e(this),n.offset().top-r+i>0}),this.focus(t,n)):this.focus(t,this.activeMenu.children(".ui-menu-item").first())},_hasScroll:function(){return this.element.outerHeight()
                                                ").appendTo(this.element),this.oldValue=this._value(),this._refreshValue()},_destroy:function(){this.element.removeClass("ui-progressbar ui-widget ui-widget-content ui-corner-all").removeAttr("role").removeAttr("aria-valuemin").removeAttr("aria-valuemax").removeAttr("aria-valuenow"),this.valueDiv.remove()},value:function(e){return e===t?this._value():(this._setOption("value",e),this)},_setOption:function(e,t){e==="value"&&(this.options.value=t,this._refreshValue(),this._value()===this.options.max&&this._trigger("complete")),this._super(e,t)},_value:function(){var e=this.options.value;return typeof e!="number"&&(e=0),Math.min(this.options.max,Math.max(this.min,e))},_percentage:function(){return 100*this._value()/this.options.max},_refreshValue:function(){var e=this.value(),t=this._percentage();this.oldValue!==e&&(this.oldValue=e,this._trigger("change")),this.valueDiv.toggle(e>this.min).toggleClass("ui-corner-right",e===this.options.max).width(t.toFixed(0)+"%"),this.element.attr("aria-valuenow",e)}})})(jQuery);(function(e,t){e.widget("ui.resizable",e.ui.mouse,{version:"1.9.0",widgetEventPrefix:"resize",options:{alsoResize:!1,animate:!1,animateDuration:"slow",animateEasing:"swing",aspectRatio:!1,autoHide:!1,containment:!1,ghost:!1,grid:!1,handles:"e,s,se",helper:!1,maxHeight:null,maxWidth:null,minHeight:10,minWidth:10,zIndex:1e3},_create:function(){var t=this,n=this.options;this.element.addClass("ui-resizable"),e.extend(this,{_aspectRatio:!!n.aspectRatio,aspectRatio:n.aspectRatio,originalElement:this.element,_proportionallyResizeElements:[],_helper:n.helper||n.ghost||n.animate?n.helper||"ui-resizable-helper":null}),this.element[0].nodeName.match(/canvas|textarea|input|select|button|img/i)&&(this.element.wrap(e('
                                                ').css({position:this.element.css("position"),width:this.element.outerWidth(),height:this.element.outerHeight(),top:this.element.css("top"),left:this.element.css("left")})),this.element=this.element.parent().data("resizable",this.element.data("resizable")),this.elementIsWrapper=!0,this.element.css({marginLeft:this.originalElement.css("marginLeft"),marginTop:this.originalElement.css("marginTop"),marginRight:this.originalElement.css("marginRight"),marginBottom:this.originalElement.css("marginBottom")}),this.originalElement.css({marginLeft:0,marginTop:0,marginRight:0,marginBottom:0}),this.originalResizeStyle=this.originalElement.css("resize"),this.originalElement.css("resize","none"),this._proportionallyResizeElements.push(this.originalElement.css({position:"static",zoom:1,display:"block"})),this.originalElement.css({margin:this.originalElement.css("margin")}),this._proportionallyResize()),this.handles=n.handles||(e(".ui-resizable-handle",this.element).length?{n:".ui-resizable-n",e:".ui-resizable-e",s:".ui-resizable-s",w:".ui-resizable-w",se:".ui-resizable-se",sw:".ui-resizable-sw",ne:".ui-resizable-ne",nw:".ui-resizable-nw"}:"e,s,se");if(this.handles.constructor==String){this.handles=="all"&&(this.handles="n,e,s,w,se,sw,ne,nw");var r=this.handles.split(",");this.handles={};for(var i=0;i
                                                ');u.css({zIndex:n.zIndex}),"se"==s&&u.addClass("ui-icon ui-icon-gripsmall-diagonal-se"),this.handles[s]=".ui-resizable-"+s,this.element.append(u)}}this._renderAxis=function(t){t=t||this.element;for(var n in this.handles){this.handles[n].constructor==String&&(this.handles[n]=e(this.handles[n],this.element).show());if(this.elementIsWrapper&&this.originalElement[0].nodeName.match(/textarea|input|select|button/i)){var r=e(this.handles[n],this.element),i=0;i=/sw|ne|nw|se|n|s/.test(n)?r.outerHeight():r.outerWidth();var s=["padding",/ne|nw|n/.test(n)?"Top":/se|sw|s/.test(n)?"Bottom":/^e$/.test(n)?"Right":"Left"].join("");t.css(s,i),this._proportionallyResize()}if(!e(this.handles[n]).length)continue}},this._renderAxis(this.element),this._handles=e(".ui-resizable-handle",this.element).disableSelection(),this._handles.mouseover(function(){if(!t.resizing){if(this.className)var e=this.className.match(/ui-resizable-(se|sw|ne|nw|n|e|s|w)/i);t.axis=e&&e[1]?e[1]:"se"}}),n.autoHide&&(this._handles.hide(),e(this.element).addClass("ui-resizable-autohide").mouseenter(function(){if(n.disabled)return;e(this).removeClass("ui-resizable-autohide"),t._handles.show()}).mouseleave(function(){if(n.disabled)return;t.resizing||(e(this).addClass("ui-resizable-autohide"),t._handles.hide())})),this._mouseInit()},_destroy:function(){this._mouseDestroy();var t=function(t){e(t).removeClass("ui-resizable ui-resizable-disabled ui-resizable-resizing").removeData("resizable").removeData("ui-resizable").unbind(".resizable").find(".ui-resizable-handle").remove()};if(this.elementIsWrapper){t(this.element);var n=this.element;n.after(this.originalElement.css({position:n.css("position"),width:n.outerWidth(),height:n.outerHeight(),top:n.css("top"),left:n.css("left")})).remove()}return this.originalElement.css("resize",this.originalResizeStyle),t(this.originalElement),this},_mouseCapture:function(t){var n=!1;for(var r in this.handles)e(this.handles[r])[0]==t.target&&(n=!0);return!this.options.disabled&&n},_mouseStart:function(t){var r=this.options,i=this.element.position(),s=this.element;this.resizing=!0,this.documentScroll={top:e(document).scrollTop(),left:e(document).scrollLeft()},(s.is(".ui-draggable")||/absolute/.test(s.css("position")))&&s.css({position:"absolute",top:i.top,left:i.left}),this._renderProxy();var o=n(this.helper.css("left")),u=n(this.helper.css("top"));r.containment&&(o+=e(r.containment).scrollLeft()||0,u+=e(r.containment).scrollTop()||0),this.offset=this.helper.offset(),this.position={left:o,top:u},this.size=this._helper?{width:s.outerWidth(),height:s.outerHeight()}:{width:s.width(),height:s.height()},this.originalSize=this._helper?{width:s.outerWidth(),height:s.outerHeight()}:{width:s.width(),height:s.height()},this.originalPosition={left:o,top:u},this.sizeDiff={width:s.outerWidth()-s.width(),height:s.outerHeight()-s.height()},this.originalMousePosition={left:t.pageX,top:t.pageY},this.aspectRatio=typeof r.aspectRatio=="number"?r.aspectRatio:this.originalSize.width/this.originalSize.height||1;var a=e(".ui-resizable-"+this.axis).css("cursor");return e("body").css("cursor",a=="auto"?this.axis+"-resize":a),s.addClass("ui-resizable-resizing"),this._propagate("start",t),!0},_mouseDrag:function(e){var t=this.helper,n=this.options,r={},i=this,s=this.originalMousePosition,o=this.axis,u=e.pageX-s.left||0,a=e.pageY-s.top||0,f=this._change[o];if(!f)return!1;var l=f.apply(this,[e,u,a]);this._updateVirtualBoundaries(e.shiftKey);if(this._aspectRatio||e.shiftKey)l=this._updateRatio(l,e);return l=this._respectSize(l,e),this._propagate("resize",e),t.css({top:this.position.top+"px",left:this.position.left+"px",width:this.size.width+"px",height:this.size.height+"px"}),!this._helper&&this._proportionallyResizeElements.length&&this._proportionallyResize(),this._updateCache(l),this._trigger("resize",e,this.ui()),!1},_mouseStop:function(t){this.resizing=!1;var n=this.options,r=this;if(this._helper){var i=this._proportionallyResizeElements,s=i.length&&/textarea/i.test(i[0].nodeName),o=s&&e.ui.hasScroll(i[0],"left")?0:r.sizeDiff.height,u=s?0:r.sizeDiff.width,a={width:r.helper.width()-u,height:r.helper.height()-o},f=parseInt(r.element.css("left"),10)+(r.position.left-r.originalPosition.left)||null,l=parseInt(r.element.css("top"),10)+(r.position.top-r.originalPosition.top)||null;n.animate||this.element.css(e.extend(a,{top:l,left:f})),r.helper.height(r.size.height),r.helper.width(r.size.width),this._helper&&!n.animate&&this._proportionallyResize()}return e("body").css("cursor","auto"),this.element.removeClass("ui-resizable-resizing"),this._propagate("stop",t),this._helper&&this.helper.remove(),!1},_updateVirtualBoundaries:function(e){var t=this.options,n,i,s,o,u;u={minWidth:r(t.minWidth)?t.minWidth:0,maxWidth:r(t.maxWidth)?t.maxWidth:Infinity,minHeight:r(t.minHeight)?t.minHeight:0,maxHeight:r(t.maxHeight)?t.maxHeight:Infinity};if(this._aspectRatio||e)n=u.minHeight*this.aspectRatio,s=u.minWidth/this.aspectRatio,i=u.maxHeight*this.aspectRatio,o=u.maxWidth/this.aspectRatio,n>u.minWidth&&(u.minWidth=n),s>u.minHeight&&(u.minHeight=s),ie.width,l=r(e.height)&&i.minHeight&&i.minHeight>e.height;f&&(e.width=i.minWidth),l&&(e.height=i.minHeight),u&&(e.width=i.maxWidth),a&&(e.height=i.maxHeight);var c=this.originalPosition.left+this.originalSize.width,h=this.position.top+this.size.height,p=/sw|nw|w/.test(o),d=/nw|ne|n/.test(o);f&&p&&(e.left=c-i.minWidth),u&&p&&(e.left=c-i.maxWidth),l&&d&&(e.top=h-i.minHeight),a&&d&&(e.top=h-i.maxHeight);var v=!e.width&&!e.height;return v&&!e.left&&e.top?e.top=null:v&&!e.top&&e.left&&(e.left=null),e},_proportionallyResize:function(){var t=this.options;if(!this._proportionallyResizeElements.length)return;var n=this.helper||this.element;for(var r=0;r
                                                ');var r=e.browser.msie&&e.browser.version<7,i=r?1:0,s=r?2:-1;this.helper.addClass(this._helper).css({width:this.element.outerWidth()+s,height:this.element.outerHeight()+s,position:"absolute",left:this.elementOffset.left-i+"px",top:this.elementOffset.top-i+"px",zIndex:++n.zIndex}),this.helper.appendTo("body").disableSelection()}else this.helper=this.element},_change:{e:function(e,t,n){return{width:this.originalSize.width+t}},w:function(e,t,n){var r=this.options,i=this.originalSize,s=this.originalPosition;return{left:s.left+t,width:i.width-t}},n:function(e,t,n){var r=this.options,i=this.originalSize,s=this.originalPosition;return{top:s.top+n,height:i.height-n}},s:function(e,t,n){return{height:this.originalSize.height+n}},se:function(t,n,r){return e.extend(this._change.s.apply(this,arguments),this._change.e.apply(this,[t,n,r]))},sw:function(t,n,r){return e.extend(this._change.s.apply(this,arguments),this._change.w.apply(this,[t,n,r]))},ne:function(t,n,r){return e.extend(this._change.n.apply(this,arguments),this._change.e.apply(this,[t,n,r]))},nw:function(t,n,r){return e.extend(this._change.n.apply(this,arguments),this._change.w.apply(this,[t,n,r]))}},_propagate:function(t,n){e.ui.plugin.call(this,t,[n,this.ui()]),t!="resize"&&this._trigger(t,n,this.ui())},plugins:{},ui:function(){return{originalElement:this.originalElement,element:this.element,helper:this.helper,position:this.position,size:this.size,originalSize:this.originalSize,originalPosition:this.originalPosition}}}),e.ui.plugin.add("resizable","alsoResize",{start:function(t,n){var r=e(this).data("resizable"),i=r.options,s=function(t){e(t).each(function(){var t=e(this);t.data("resizable-alsoresize",{width:parseInt(t.width(),10),height:parseInt(t.height(),10),left:parseInt(t.css("left"),10),top:parseInt(t.css("top"),10)})})};typeof i.alsoResize=="object"&&!i.alsoResize.parentNode?i.alsoResize.length?(i.alsoResize=i.alsoResize[0],s(i.alsoResize)):e.each(i.alsoResize,function(e){s(e)}):s(i.alsoResize)},resize:function(t,n){var r=e(this).data("resizable"),i=r.options,s=r.originalSize,o=r.originalPosition,u={height:r.size.height-s.height||0,width:r.size.width-s.width||0,top:r.position.top-o.top||0,left:r.position.left-o.left||0},a=function(t,r){e(t).each(function(){var t=e(this),i=e(this).data("resizable-alsoresize"),s={},o=r&&r.length?r:t.parents(n.originalElement[0]).length?["width","height"]:["width","height","top","left"];e.each(o,function(e,t){var n=(i[t]||0)+(u[t]||0);n&&n>=0&&(s[t]=n||null)}),t.css(s)})};typeof i.alsoResize=="object"&&!i.alsoResize.nodeType?e.each(i.alsoResize,function(e,t){a(e,t)}):a(i.alsoResize)},stop:function(t,n){e(this).removeData("resizable-alsoresize")}}),e.ui.plugin.add("resizable","animate",{stop:function(t,n){var r=e(this).data("resizable"),i=r.options,s=r._proportionallyResizeElements,o=s.length&&/textarea/i.test(s[0].nodeName),u=o&&e.ui.hasScroll(s[0],"left")?0:r.sizeDiff.height,a=o?0:r.sizeDiff.width,f={width:r.size.width-a,height:r.size.height-u},l=parseInt(r.element.css("left"),10)+(r.position.left-r.originalPosition.left)||null,c=parseInt(r.element.css("top"),10)+(r.position.top-r.originalPosition.top)||null;r.element.animate(e.extend(f,c&&l?{top:c,left:l}:{}),{duration:i.animateDuration,easing:i.animateEasing,step:function(){var n={width:parseInt(r.element.css("width"),10),height:parseInt(r.element.css("height"),10),top:parseInt(r.element.css("top"),10),left:parseInt(r.element.css("left"),10)};s&&s.length&&e(s[0]).css({width:n.width,height:n.height}),r._updateCache(n),r._propagate("resize",t)}})}}),e.ui.plugin.add("resizable","containment",{start:function(t,r){var i=e(this).data("resizable"),s=i.options,o=i.element,u=s.containment,a=u instanceof e?u.get(0):/parent/.test(u)?o.parent().get(0):u;if(!a)return;i.containerElement=e(a);if(/document/.test(u)||u==document)i.containerOffset={left:0,top:0},i.containerPosition={left:0,top:0},i.parentData={element:e(document),left:0,top:0,width:e(document).width(),height:e(document).height()||document.body.parentNode.scrollHeight};else{var f=e(a),l=[];e(["Top","Right","Left","Bottom"]).each(function(e,t){l[e]=n(f.css("padding"+t))}),i.containerOffset=f.offset(),i.containerPosition=f.position(),i.containerSize={height:f.innerHeight()-l[3],width:f.innerWidth()-l[1]};var c=i.containerOffset,h=i.containerSize.height,p=i.containerSize.width,d=e.ui.hasScroll(a,"left")?a.scrollWidth:p,v=e.ui.hasScroll(a)?a.scrollHeight:h;i.parentData={element:a,left:c.left,top:c.top,width:d,height:v}}},resize:function(t,n){var r=e(this).data("resizable"),i=r.options,s=r.containerSize,o=r.containerOffset,u=r.size,a=r.position,f=r._aspectRatio||t.shiftKey,l={top:0,left:0},c=r.containerElement;c[0]!=document&&/static/.test(c.css("position"))&&(l=o),a.left<(r._helper?o.left:0)&&(r.size.width=r.size.width+(r._helper?r.position.left-o.left:r.position.left-l.left),f&&(r.size.height=r.size.width/r.aspectRatio),r.position.left=i.helper?o.left:0),a.top<(r._helper?o.top:0)&&(r.size.height=r.size.height+(r._helper?r.position.top-o.top:r.position.top),f&&(r.size.width=r.size.height*r.aspectRatio),r.position.top=r._helper?o.top:0),r.offset.left=r.parentData.left+r.position.left,r.offset.top=r.parentData.top+r.position.top;var h=Math.abs((r._helper?r.offset.left-l.left:r.offset.left-l.left)+r.sizeDiff.width),p=Math.abs((r._helper?r.offset.top-l.top:r.offset.top-o.top)+r.sizeDiff.height),d=r.containerElement.get(0)==r.element.parent().get(0),v=/relative|absolute/.test(r.containerElement.css("position"));d&&v&&(h-=r.parentData.left),h+r.size.width>=r.parentData.width&&(r.size.width=r.parentData.width-h,f&&(r.size.height=r.size.width/r.aspectRatio)),p+r.size.height>=r.parentData.height&&(r.size.height=r.parentData.height-p,f&&(r.size.width=r.size.height*r.aspectRatio))},stop:function(t,n){var r=e(this).data("resizable"),i=r.options,s=r.position,o=r.containerOffset,u=r.containerPosition,a=r.containerElement,f=e(r.helper),l=f.offset(),c=f.outerWidth()-r.sizeDiff.width,h=f.outerHeight()-r.sizeDiff.height;r._helper&&!i.animate&&/relative/.test(a.css("position"))&&e(this).css({left:l.left-u.left-o.left,width:c,height:h}),r._helper&&!i.animate&&/static/.test(a.css("position"))&&e(this).css({left:l.left-u.left-o.left,width:c,height:h})}}),e.ui.plugin.add("resizable","ghost",{start:function(t,n){var r=e(this).data("resizable"),i=r.options,s=r.size;r.ghost=r.originalElement.clone(),r.ghost.css({opacity:.25,display:"block",position:"relative",height:s.height,width:s.width,margin:0,left:0,top:0}).addClass("ui-resizable-ghost").addClass(typeof i.ghost=="string"?i.ghost:""),r.ghost.appendTo(r.helper)},resize:function(t,n){var r=e(this).data("resizable"),i=r.options;r.ghost&&r.ghost.css({position:"relative",height:r.size.height,width:r.size.width})},stop:function(t,n){var r=e(this).data("resizable"),i=r.options;r.ghost&&r.helper&&r.helper.get(0).removeChild(r.ghost.get(0))}}),e.ui.plugin.add("resizable","grid",{resize:function(t,n){var r=e(this).data("resizable"),i=r.options,s=r.size,o=r.originalSize,u=r.originalPosition,a=r.axis,f=i._aspectRatio||t.shiftKey;i.grid=typeof i.grid=="number"?[i.grid,i.grid]:i.grid;var l=Math.round((s.width-o.width)/(i.grid[0]||1))*(i.grid[0]||1),c=Math.round((s.height-o.height)/(i.grid[1]||1))*(i.grid[1]||1);/^(se|s|e)$/.test(a)?(r.size.width=o.width+l,r.size.height=o.height+c):/^(ne)$/.test(a)?(r.size.width=o.width+l,r.size.height=o.height+c,r.position.top=u.top-c):/^(sw)$/.test(a)?(r.size.width=o.width+l,r.size.height=o.height+c,r.position.left=u.left-l):(r.size.width=o.width+l,r.size.height=o.height+c,r.position.top=u.top-c,r.position.left=u.left-l)}});var n=function(e){return parseInt(e,10)||0},r=function(e){return!isNaN(parseInt(e,10))}})(jQuery);(function(e,t){e.widget("ui.selectable",e.ui.mouse,{version:"1.9.0",options:{appendTo:"body",autoRefresh:!0,distance:0,filter:"*",tolerance:"touch"},_create:function(){var t=this;this.element.addClass("ui-selectable"),this.dragged=!1;var n;this.refresh=function(){n=e(t.options.filter,t.element[0]),n.addClass("ui-selectee"),n.each(function(){var t=e(this),n=t.offset();e.data(this,"selectable-item",{element:this,$element:t,left:n.left,top:n.top,right:n.left+t.outerWidth(),bottom:n.top+t.outerHeight(),startselected:!1,selected:t.hasClass("ui-selected"),selecting:t.hasClass("ui-selecting"),unselecting:t.hasClass("ui-unselecting")})})},this.refresh(),this.selectees=n.addClass("ui-selectee"),this._mouseInit(),this.helper=e("
                                                ")},_destroy:function(){this.selectees.removeClass("ui-selectee").removeData("selectable-item"),this.element.removeClass("ui-selectable ui-selectable-disabled"),this._mouseDestroy()},_mouseStart:function(t){var n=this;this.opos=[t.pageX,t.pageY];if(this.options.disabled)return;var r=this.options;this.selectees=e(r.filter,this.element[0]),this._trigger("start",t),e(r.appendTo).append(this.helper),this.helper.css({left:t.clientX,top:t.clientY,width:0,height:0}),r.autoRefresh&&this.refresh(),this.selectees.filter(".ui-selected").each(function(){var r=e.data(this,"selectable-item");r.startselected=!0,!t.metaKey&&!t.ctrlKey&&(r.$element.removeClass("ui-selected"),r.selected=!1,r.$element.addClass("ui-unselecting"),r.unselecting=!0,n._trigger("unselecting",t,{unselecting:r.element}))}),e(t.target).parents().andSelf().each(function(){var r=e.data(this,"selectable-item");if(r){var i=!t.metaKey&&!t.ctrlKey||!r.$element.hasClass("ui-selected");return r.$element.removeClass(i?"ui-unselecting":"ui-selected").addClass(i?"ui-selecting":"ui-unselecting"),r.unselecting=!i,r.selecting=i,r.selected=i,i?n._trigger("selecting",t,{selecting:r.element}):n._trigger("unselecting",t,{unselecting:r.element}),!1}})},_mouseDrag:function(t){var n=this;this.dragged=!0;if(this.options.disabled)return;var r=this.options,i=this.opos[0],s=this.opos[1],o=t.pageX,u=t.pageY;if(i>o){var a=o;o=i,i=a}if(s>u){var a=u;u=s,s=a}return this.helper.css({left:i,top:s,width:o-i,height:u-s}),this.selectees.each(function(){var a=e.data(this,"selectable-item");if(!a||a.element==n.element[0])return;var f=!1;r.tolerance=="touch"?f=!(a.left>o||a.rightu||a.bottomi&&a.rights&&a.bottom").appendTo(this.element).addClass("ui-slider-range ui-widget-header"+(r.range==="min"||r.range==="max"?" ui-slider-range-"+r.range:"")));for(t=i.length;tn&&(i=n,s=e(this),o=t)}),c.range===!0&&this.values(1)===c.min&&(o+=1,s=e(this.handles[o])),u=this._start(t,o),u===!1?!1:(this._mouseSliding=!0,this._handleIndex=o,s.addClass("ui-state-active").focus(),a=s.offset(),f=!e(t.target).parents().andSelf().is(".ui-slider-handle"),this._clickOffset=f?{left:0,top:0}:{left:t.pageX-a.left-s.width()/2,top:t.pageY-a.top-s.height()/2-(parseInt(s.css("borderTopWidth"),10)||0)-(parseInt(s.css("borderBottomWidth"),10)||0)+(parseInt(s.css("marginTop"),10)||0)},this.handles.hasClass("ui-state-hover")||this._slide(t,o,r),this._animateOff=!0,!0))},_mouseStart:function(e){return!0},_mouseDrag:function(e){var t={x:e.pageX,y:e.pageY},n=this._normValueFromMouse(t);return this._slide(e,this._handleIndex,n),!1},_mouseStop:function(e){return this.handles.removeClass("ui-state-active"),this._mouseSliding=!1,this._stop(e,this._handleIndex),this._change(e,this._handleIndex),this._handleIndex=null,this._clickOffset=null,this._animateOff=!1,!1},_detectOrientation:function(){this.orientation=this.options.orientation==="vertical"?"vertical":"horizontal"},_normValueFromMouse:function(e){var t,n,r,i,s;return this.orientation==="horizontal"?(t=this.elementSize.width,n=e.x-this.elementOffset.left-(this._clickOffset?this._clickOffset.left:0)):(t=this.elementSize.height,n=e.y-this.elementOffset.top-(this._clickOffset?this._clickOffset.top:0)),r=n/t,r>1&&(r=1),r<0&&(r=0),this.orientation==="vertical"&&(r=1-r),i=this._valueMax()-this._valueMin(),s=this._valueMin()+r*i,this._trimAlignValue(s)},_start:function(e,t){var n={handle:this.handles[t],value:this.value()};return this.options.values&&this.options.values.length&&(n.value=this.values(t),n.values=this.values()),this._trigger("start",e,n)},_slide:function(e,t,n){var r,i,s;this.options.values&&this.options.values.length?(r=this.values(t?0:1),this.options.values.length===2&&this.options.range===!0&&(t===0&&n>r||t===1&&n1){this.options.values[t]=this._trimAlignValue(n),this._refreshValue(),this._change(null,t);return}if(!arguments.length)return this._values();if(!e.isArray(arguments[0]))return this.options.values&&this.options.values.length?this._values(t):this.value();r=this.options.values,i=arguments[0];for(s=0;s=this._valueMax())return this._valueMax();var t=this.options.step>0?this.options.step:1,n=(e-this._valueMin())%t,r=e-n;return Math.abs(n)*2>=t&&(r+=n>0?t:-t),parseFloat(r.toFixed(5))},_valueMin:function(){return this.options.min},_valueMax:function(){return this.options.max},_refreshValue:function(){var t,n,r,i,s,o=this.options.range,u=this.options,a=this,f=this._animateOff?!1:u.animate,l={};this.options.values&&this.options.values.length?this.handles.each(function(r,i){n=(a.values(r)-a._valueMin())/(a._valueMax()-a._valueMin())*100,l[a.orientation==="horizontal"?"left":"bottom"]=n+"%",e(this).stop(1,1)[f?"animate":"css"](l,u.animate),a.options.range===!0&&(a.orientation==="horizontal"?(r===0&&a.range.stop(1,1)[f?"animate":"css"]({left:n+"%"},u.animate),r===1&&a.range[f?"animate":"css"]({width:n-t+"%"},{queue:!1,duration:u.animate})):(r===0&&a.range.stop(1,1)[f?"animate":"css"]({bottom:n+"%"},u.animate),r===1&&a.range[f?"animate":"css"]({height:n-t+"%"},{queue:!1,duration:u.animate}))),t=n}):(r=this.value(),i=this._valueMin(),s=this._valueMax(),n=s!==i?(r-i)/(s-i)*100:0,l[this.orientation==="horizontal"?"left":"bottom"]=n+"%",this.handle.stop(1,1)[f?"animate":"css"](l,u.animate),o==="min"&&this.orientation==="horizontal"&&this.range.stop(1,1)[f?"animate":"css"]({width:n+"%"},u.animate),o==="max"&&this.orientation==="horizontal"&&this.range[f?"animate":"css"]({width:100-n+"%"},{queue:!1,duration:u.animate}),o==="min"&&this.orientation==="vertical"&&this.range.stop(1,1)[f?"animate":"css"]({height:n+"%"},u.animate),o==="max"&&this.orientation==="vertical"&&this.range[f?"animate":"css"]({height:100-n+"%"},{queue:!1,duration:u.animate}))}})})(jQuery);(function(e,t){e.widget("ui.sortable",e.ui.mouse,{version:"1.9.0",widgetEventPrefix:"sort",ready:!1,options:{appendTo:"parent",axis:!1,connectWith:!1,containment:!1,cursor:"auto",cursorAt:!1,dropOnEmpty:!0,forcePlaceholderSize:!1,forceHelperSize:!1,grid:!1,handle:!1,helper:"original",items:"> *",opacity:!1,placeholder:!1,revert:!1,scroll:!0,scrollSensitivity:20,scrollSpeed:20,scope:"default",tolerance:"intersect",zIndex:1e3},_create:function(){var e=this.options;this.containerCache={},this.element.addClass("ui-sortable"),this.refresh(),this.floating=this.items.length?e.axis==="x"||/left|right/.test(this.items[0].item.css("float"))||/inline|table-cell/.test(this.items[0].item.css("display")):!1,this.offset=this.element.offset(),this._mouseInit(),this.ready=!0},_destroy:function(){this.element.removeClass("ui-sortable ui-sortable-disabled"),this._mouseDestroy();for(var e=this.items.length-1;e>=0;e--)this.items[e].item.removeData(this.widgetName+"-item");return this},_setOption:function(t,n){t==="disabled"?(this.options[t]=n,this.widget().toggleClass("ui-sortable-disabled",!!n)):e.Widget.prototype._setOption.apply(this,arguments)},_mouseCapture:function(t,n){var r=this;if(this.reverting)return!1;if(this.options.disabled||this.options.type=="static")return!1;this._refreshItems(t);var i=null,s=e(t.target).parents().each(function(){if(e.data(this,r.widgetName+"-item")==r)return i=e(this),!1});e.data(t.target,r.widgetName+"-item")==r&&(i=e(t.target));if(!i)return!1;if(this.options.handle&&!n){var o=!1;e(this.options.handle,i).find("*").andSelf().each(function(){this==t.target&&(o=!0)});if(!o)return!1}return this.currentItem=i,this._removeCurrentsFromItems(),!0},_mouseStart:function(t,n,r){var i=this.options;this.currentContainer=this,this.refreshPositions(),this.helper=this._createHelper(t),this._cacheHelperProportions(),this._cacheMargins(),this.scrollParent=this.helper.scrollParent(),this.offset=this.currentItem.offset(),this.offset={top:this.offset.top-this.margins.top,left:this.offset.left-this.margins.left},e.extend(this.offset,{click:{left:t.pageX-this.offset.left,top:t.pageY-this.offset.top},parent:this._getParentOffset(),relative:this._getRelativeOffset()}),this.helper.css("position","absolute"),this.cssPosition=this.helper.css("position"),this.originalPosition=this._generatePosition(t),this.originalPageX=t.pageX,this.originalPageY=t.pageY,i.cursorAt&&this._adjustOffsetFromHelper(i.cursorAt),this.domPosition={prev:this.currentItem.prev()[0],parent:this.currentItem.parent()[0]},this.helper[0]!=this.currentItem[0]&&this.currentItem.hide(),this._createPlaceholder(),i.containment&&this._setContainment(),i.cursor&&(e("body").css("cursor")&&(this._storedCursor=e("body").css("cursor")),e("body").css("cursor",i.cursor)),i.opacity&&(this.helper.css("opacity")&&(this._storedOpacity=this.helper.css("opacity")),this.helper.css("opacity",i.opacity)),i.zIndex&&(this.helper.css("zIndex")&&(this._storedZIndex=this.helper.css("zIndex")),this.helper.css("zIndex",i.zIndex)),this.scrollParent[0]!=document&&this.scrollParent[0].tagName!="HTML"&&(this.overflowOffset=this.scrollParent.offset()),this._trigger("start",t,this._uiHash()),this._preserveHelperProportions||this._cacheHelperProportions();if(!r)for(var s=this.containers.length-1;s>=0;s--)this.containers[s]._trigger("activate",t,this._uiHash(this));return e.ui.ddmanager&&(e.ui.ddmanager.current=this),e.ui.ddmanager&&!i.dropBehaviour&&e.ui.ddmanager.prepareOffsets(this,t),this.dragging=!0,this.helper.addClass("ui-sortable-helper"),this._mouseDrag(t),!0},_mouseDrag:function(t){this.position=this._generatePosition(t),this.positionAbs=this._convertPositionTo("absolute"),this.lastPositionAbs||(this.lastPositionAbs=this.positionAbs);if(this.options.scroll){var n=this.options,r=!1;this.scrollParent[0]!=document&&this.scrollParent[0].tagName!="HTML"?(this.overflowOffset.top+this.scrollParent[0].offsetHeight-t.pageY=0;i--){var s=this.items[i],o=s.item[0],u=this._intersectsWithPointer(s);if(!u)continue;if(s.instance!==this.currentContainer)continue;if(o!=this.currentItem[0]&&this.placeholder[u==1?"next":"prev"]()[0]!=o&&!e.contains(this.placeholder[0],o)&&(this.options.type=="semi-dynamic"?!e.contains(this.element[0],o):!0)){this.direction=u==1?"down":"up";if(this.options.tolerance!="pointer"&&!this._intersectsWithSides(s))break;this._rearrange(t,s),this._trigger("change",t,this._uiHash());break}}return this._contactContainers(t),e.ui.ddmanager&&e.ui.ddmanager.drag(this,t),this._trigger("sort",t,this._uiHash()),this.lastPositionAbs=this.positionAbs,!1},_mouseStop:function(t,n){if(!t)return;e.ui.ddmanager&&!this.options.dropBehaviour&&e.ui.ddmanager.drop(this,t);if(this.options.revert){var r=this,i=this.placeholder.offset();this.reverting=!0,e(this.helper).animate({left:i.left-this.offset.parent.left-this.margins.left+(this.offsetParent[0]==document.body?0:this.offsetParent[0].scrollLeft),top:i.top-this.offset.parent.top-this.margins.top+(this.offsetParent[0]==document.body?0:this.offsetParent[0].scrollTop)},parseInt(this.options.revert,10)||500,function(){r._clear(t)})}else this._clear(t,n);return!1},cancel:function(){if(this.dragging){this._mouseUp({target:null}),this.options.helper=="original"?this.currentItem.css(this._storedCSS).removeClass("ui-sortable-helper"):this.currentItem.show();for(var t=this.containers.length-1;t>=0;t--)this.containers[t]._trigger("deactivate",null,this._uiHash(this)),this.containers[t].containerCache.over&&(this.containers[t]._trigger("out",null,this._uiHash(this)),this.containers[t].containerCache.over=0)}return this.placeholder&&(this.placeholder[0].parentNode&&this.placeholder[0].parentNode.removeChild(this.placeholder[0]),this.options.helper!="original"&&this.helper&&this.helper[0].parentNode&&this.helper.remove(),e.extend(this,{helper:null,dragging:!1,reverting:!1,_noFinalSort:null}),this.domPosition.prev?e(this.domPosition.prev).after(this.currentItem):e(this.domPosition.parent).prepend(this.currentItem)),this},serialize:function(t){var n=this._getItemsAsjQuery(t&&t.connected),r=[];return t=t||{},e(n).each(function(){var n=(e(t.item||this).attr(t.attribute||"id")||"").match(t.expression||/(.+)[-=_](.+)/);n&&r.push((t.key||n[1]+"[]")+"="+(t.key&&t.expression?n[1]:n[2]))}),!r.length&&t.key&&r.push(t.key+"="),r.join("&")},toArray:function(t){var n=this._getItemsAsjQuery(t&&t.connected),r=[];return t=t||{},n.each(function(){r.push(e(t.item||this).attr(t.attribute||"id")||"")}),r},_intersectsWith:function(e){var t=this.positionAbs.left,n=t+this.helperProportions.width,r=this.positionAbs.top,i=r+this.helperProportions.height,s=e.left,o=s+e.width,u=e.top,a=u+e.height,f=this.offset.click.top,l=this.offset.click.left,c=r+f>u&&r+fs&&t+le[this.floating?"width":"height"]?c:s0?"down":"up")},_getDragHorizontalDirection:function(){var e=this.positionAbs.left-this.lastPositionAbs.left;return e!=0&&(e>0?"right":"left")},refresh:function(e){return this._refreshItems(e),this.refreshPositions(),this},_connectWith:function(){var e=this.options;return e.connectWith.constructor==String?[e.connectWith]:e.connectWith},_getItemsAsjQuery:function(t){var n=[],r=[],i=this._connectWith();if(i&&t)for(var s=i.length-1;s>=0;s--){var o=e(i[s]);for(var u=o.length-1;u>=0;u--){var a=e.data(o[u],this.widgetName);a&&a!=this&&!a.options.disabled&&r.push([e.isFunction(a.options.items)?a.options.items.call(a.element):e(a.options.items,a.element).not(".ui-sortable-helper").not(".ui-sortable-placeholder"),a])}}r.push([e.isFunction(this.options.items)?this.options.items.call(this.element,null,{options:this.options,item:this.currentItem}):e(this.options.items,this.element).not(".ui-sortable-helper").not(".ui-sortable-placeholder"),this]);for(var s=r.length-1;s>=0;s--)r[s][0].each(function(){n.push(this)});return e(n)},_removeCurrentsFromItems:function(){var e=this.currentItem.find(":data("+this.widgetName+"-item)");for(var t=0;t=0;s--){var o=e(i[s]);for(var u=o.length-1;u>=0;u--){var a=e.data(o[u],this.widgetName);a&&a!=this&&!a.options.disabled&&(r.push([e.isFunction(a.options.items)?a.options.items.call(a.element[0],t,{item:this.currentItem}):e(a.options.items,a.element),a]),this.containers.push(a))}}for(var s=r.length-1;s>=0;s--){var f=r[s][1],l=r[s][0];for(var u=0,c=l.length;u=0;n--){var r=this.items[n];if(r.instance!=this.currentContainer&&this.currentContainer&&r.item[0]!=this.currentItem[0])continue;var i=this.options.toleranceElement?e(this.options.toleranceElement,r.item):r.item;t||(r.width=i.outerWidth(),r.height=i.outerHeight());var s=i.offset();r.left=s.left,r.top=s.top}if(this.options.custom&&this.options.custom.refreshContainers)this.options.custom.refreshContainers.call(this);else for(var n=this.containers.length-1;n>=0;n--){var s=this.containers[n].element.offset();this.containers[n].containerCache.left=s.left,this.containers[n].containerCache.top=s.top,this.containers[n].containerCache.width=this.containers[n].element.outerWidth(),this.containers[n].containerCache.height=this.containers[n].element.outerHeight()}return this},_createPlaceholder:function(t){t=t||this;var n=t.options;if(!n.placeholder||n.placeholder.constructor==String){var r=n.placeholder;n.placeholder={element:function(){var n=e(document.createElement(t.currentItem[0].nodeName)).addClass(r||t.currentItem[0].className+" ui-sortable-placeholder").removeClass("ui-sortable-helper")[0];return r||(n.style.visibility="hidden"),n},update:function(e,i){if(r&&!n.forcePlaceholderSize)return;i.height()||i.height(t.currentItem.innerHeight()-parseInt(t.currentItem.css("paddingTop")||0,10)-parseInt(t.currentItem.css("paddingBottom")||0,10)),i.width()||i.width(t.currentItem.innerWidth()-parseInt(t.currentItem.css("paddingLeft")||0,10)-parseInt(t.currentItem.css("paddingRight")||0,10))}}}t.placeholder=e(n.placeholder.element.call(t.element,t.currentItem)),t.currentItem.after(t.placeholder),n.placeholder.update(t,t.placeholder)},_contactContainers:function(t){var n=null,r=null;for(var i=this.containers.length-1;i>=0;i--){if(e.contains(this.currentItem[0],this.containers[i].element[0]))continue;if(this._intersectsWith(this.containers[i].containerCache)){if(n&&e.contains(this.containers[i].element[0],n.element[0]))continue;n=this.containers[i],r=i}else this.containers[i].containerCache.over&&(this.containers[i]._trigger("out",t,this._uiHash(this)),this.containers[i].containerCache.over=0)}if(!n)return;if(this.containers.length===1)this.containers[r]._trigger("over",t,this._uiHash(this)),this.containers[r].containerCache.over=1;else if(this.currentContainer!=this.containers[r]){var s=1e4,o=null,u=this.positionAbs[this.containers[r].floating?"left":"top"];for(var a=this.items.length-1;a>=0;a--){if(!e.contains(this.containers[r].element[0],this.items[a].item[0]))continue;var f=this.containers[r].floating?this.items[a].item.offset().left:this.items[a].item.offset().top;Math.abs(f-u)0?"down":"up")}if(!o&&!this.options.dropOnEmpty)return;this.currentContainer=this.containers[r],o?this._rearrange(t,o,null,!0):this._rearrange(t,null,this.containers[r].element,!0),this._trigger("change",t,this._uiHash()),this.containers[r]._trigger("change",t,this._uiHash(this)),this.options.placeholder.update(this.currentContainer,this.placeholder),this.containers[r]._trigger("over",t,this._uiHash(this)),this.containers[r].containerCache.over=1}},_createHelper:function(t){var n=this.options,r=e.isFunction(n.helper)?e(n.helper.apply(this.element[0],[t,this.currentItem])):n.helper=="clone"?this.currentItem.clone():this.currentItem;return r.parents("body").length||e(n.appendTo!="parent"?n.appendTo:this.currentItem[0].parentNode)[0].appendChild(r[0]),r[0]==this.currentItem[0]&&(this._storedCSS={width:this.currentItem[0].style.width,height:this.currentItem[0].style.height,position:this.currentItem.css("position"),top:this.currentItem.css("top"),left:this.currentItem.css("left")}),(r[0].style.width==""||n.forceHelperSize)&&r.width(this.currentItem.width()),(r[0].style.height==""||n.forceHelperSize)&&r.height(this.currentItem.height()),r},_adjustOffsetFromHelper:function(t){typeof t=="string"&&(t=t.split(" ")),e.isArray(t)&&(t={left:+t[0],top:+t[1]||0}),"left"in t&&(this.offset.click.left=t.left+this.margins.left),"right"in t&&(this.offset.click.left=this.helperProportions.width-t.right+this.margins.left),"top"in t&&(this.offset.click.top=t.top+this.margins.top),"bottom"in t&&(this.offset.click.top=this.helperProportions.height-t.bottom+this.margins.top)},_getParentOffset:function(){this.offsetParent=this.helper.offsetParent();var t=this.offsetParent.offset();this.cssPosition=="absolute"&&this.scrollParent[0]!=document&&e.contains(this.scrollParent[0],this.offsetParent[0])&&(t.left+=this.scrollParent.scrollLeft(),t.top+=this.scrollParent.scrollTop());if(this.offsetParent[0]==document.body||this.offsetParent[0].tagName&&this.offsetParent[0].tagName.toLowerCase()=="html"&&e.browser.msie)t={top:0,left:0};return{top:t.top+(parseInt(this.offsetParent.css("borderTopWidth"),10)||0),left:t.left+(parseInt(this.offsetParent.css("borderLeftWidth"),10)||0)}},_getRelativeOffset:function(){if(this.cssPosition=="relative"){var e=this.currentItem.position();return{top:e.top-(parseInt(this.helper.css("top"),10)||0)+this.scrollParent.scrollTop(),left:e.left-(parseInt(this.helper.css("left"),10)||0)+this.scrollParent.scrollLeft()}}return{top:0,left:0}},_cacheMargins:function(){this.margins={left:parseInt(this.currentItem.css("marginLeft"),10)||0,top:parseInt(this.currentItem.css("marginTop"),10)||0}},_cacheHelperProportions:function(){this.helperProportions={width:this.helper.outerWidth(),height:this.helper.outerHeight()}},_setContainment:function(){var t=this.options;t.containment=="parent"&&(t.containment=this.helper[0].parentNode);if(t.containment=="document"||t.containment=="window")this.containment=[0-this.offset.relative.left-this.offset.parent.left,0-this.offset.relative.top-this.offset.parent.top,e(t.containment=="document"?document:window).width()-this.helperProportions.width-this.margins.left,(e(t.containment=="document"?document:window).height()||document.body.parentNode.scrollHeight)-this.helperProportions.height-this.margins.top];if(!/^(document|window|parent)$/.test(t.containment)){var n=e(t.containment)[0],r=e(t.containment).offset(),i=e(n).css("overflow")!="hidden";this.containment=[r.left+(parseInt(e(n).css("borderLeftWidth"),10)||0)+(parseInt(e(n).css("paddingLeft"),10)||0)-this.margins.left,r.top+(parseInt(e(n).css("borderTopWidth"),10)||0)+(parseInt(e(n).css("paddingTop"),10)||0)-this.margins.top,r.left+(i?Math.max(n.scrollWidth,n.offsetWidth):n.offsetWidth)-(parseInt(e(n).css("borderLeftWidth"),10)||0)-(parseInt(e(n).css("paddingRight"),10)||0)-this.helperProportions.width-this.margins.left,r.top+(i?Math.max(n.scrollHeight,n.offsetHeight):n.offsetHeight)-(parseInt(e(n).css("borderTopWidth"),10)||0)-(parseInt(e(n).css("paddingBottom"),10)||0)-this.helperProportions.height-this.margins.top]}},_convertPositionTo:function(t,n){n||(n=this.position);var r=t=="absolute"?1:-1,i=this.options,s=this.cssPosition!="absolute"||this.scrollParent[0]!=document&&!!e.contains(this.scrollParent[0],this.offsetParent[0])?this.scrollParent:this.offsetParent,o=/(html|body)/i.test(s[0].tagName);return{top:n.top+this.offset.relative.top*r+this.offset.parent.top*r-(this.cssPosition=="fixed"?-this.scrollParent.scrollTop():o?0:s.scrollTop())*r,left:n.left+this.offset.relative.left*r+this.offset.parent.left*r-(this.cssPosition=="fixed"?-this.scrollParent.scrollLeft():o?0:s.scrollLeft())*r}},_generatePosition:function(t){var n=this.options,r=this.cssPosition!="absolute"||this.scrollParent[0]!=document&&!!e.contains(this.scrollParent[0],this.offsetParent[0])?this.scrollParent:this.offsetParent,i=/(html|body)/i.test(r[0].tagName);this.cssPosition=="relative"&&(this.scrollParent[0]==document||this.scrollParent[0]==this.offsetParent[0])&&(this.offset.relative=this._getRelativeOffset());var s=t.pageX,o=t.pageY;if(this.originalPosition){this.containment&&(t.pageX-this.offset.click.leftthis.containment[2]&&(s=this.containment[2]+this.offset.click.left),t.pageY-this.offset.click.top>this.containment[3]&&(o=this.containment[3]+this.offset.click.top));if(n.grid){var u=this.originalPageY+Math.round((o-this.originalPageY)/n.grid[1])*n.grid[1];o=this.containment?u-this.offset.click.topthis.containment[3]?u-this.offset.click.topthis.containment[2]?a-this.offset.click.left=0;i--)n||r.push(function(e){return function(t){e._trigger("deactivate",t,this._uiHash(this))}}.call(this,this.containers[i])),this.containers[i].containerCache.over&&(r.push(function(e){return function(t){e._trigger("out",t,this._uiHash(this))}}.call(this,this.containers[i])),this.containers[i].containerCache.over=0);this._storedCursor&&e("body").css("cursor",this._storedCursor),this._storedOpacity&&this.helper.css("opacity",this._storedOpacity),this._storedZIndex&&this.helper.css("zIndex",this._storedZIndex=="auto"?"":this._storedZIndex),this.dragging=!1;if(this.cancelHelperRemoval){if(!n){this._trigger("beforeStop",t,this._uiHash());for(var i=0;i",widgetEventPrefix:"spin",options:{culture:null,icons:{down:"ui-icon-triangle-1-s",up:"ui-icon-triangle-1-n"},incremental:!0,max:null,min:null,numberFormat:null,page:10,step:1,change:null,spin:null,start:null,stop:null},_create:function(){this._setOption("max",this.options.max),this._setOption("min",this.options.min),this._setOption("step",this.options.step),this._value(this.element.val(),!0),this._draw(),this._on(this._events),this._refresh(),this._on(this.window,{beforeunload:function(){this.element.removeAttr("autocomplete")}})},_getCreateOptions:function(){var t={},n=this.element;return e.each(["min","max","step"],function(e,r){var i=n.attr(r);i!==undefined&&i.length&&(t[r]=i)}),t},_events:{keydown:function(e){this._start(e)&&this._keydown(e)&&e.preventDefault()},keyup:"_stop",focus:function(){this.uiSpinner.addClass("ui-state-active"),this.previous=this.element.val()},blur:function(e){if(this.cancelBlur){delete this.cancelBlur;return}this._refresh(),this.uiSpinner.removeClass("ui-state-active"),this.previous!==this.element.val()&&this._trigger("change",e)},mousewheel:function(e,t){if(!t)return;if(!this.spinning&&!this._start(e))return!1;this._spin((t>0?1:-1)*this.options.step,e),clearTimeout(this.mousewheelTimer),this.mousewheelTimer=this._delay(function(){this.spinning&&this._stop(e)},100),e.preventDefault()},"mousedown .ui-spinner-button":function(t){function r(){var e=this.element[0]===this.document[0].activeElement;e||(this.element.focus(),this.previous=n,this._delay(function(){this.previous=n}))}var n;n=this.element[0]===this.document[0].activeElement?this.previous:this.element.val(),t.preventDefault(),r.call(this),this.cancelBlur=!0,this._delay(function(){delete this.cancelBlur,r.call(this)});if(this._start(t)===!1)return;this._repeat(null,e(t.currentTarget).hasClass("ui-spinner-up")?1:-1,t)},"mouseup .ui-spinner-button":"_stop","mouseenter .ui-spinner-button":function(t){if(!e(t.currentTarget).hasClass("ui-state-active"))return;if(this._start(t)===!1)return!1;this._repeat(null,e(t.currentTarget).hasClass("ui-spinner-up")?1:-1,t)},"mouseleave .ui-spinner-button":"_stop"},_draw:function(){var e=this.uiSpinner=this.element.addClass("ui-spinner-input").attr("autocomplete","off").wrap(this._uiSpinnerHtml()).parent().append(this._buttonHtml());this._hoverable(e),this.element.attr("role","spinbutton"),this.buttons=e.find(".ui-spinner-button").attr("tabIndex",-1).button().removeClass("ui-corner-all"),this.buttons.height()>Math.ceil(e.height()*.5)&&e.height()>0&&e.height(e.height()),this.options.disabled&&this.disable()},_keydown:function(t){var n=this.options,r=e.ui.keyCode;switch(t.keyCode){case r.UP:return this._repeat(null,1,t),!0;case r.DOWN:return this._repeat(null,-1,t),!0;case r.PAGE_UP:return this._repeat(null,n.page,t),!0;case r.PAGE_DOWN:return this._repeat(null,-n.page,t),!0}return!1},_uiSpinnerHtml:function(){return""},_buttonHtml:function(){return""+""+""+""+""},_start:function(e){return!this.spinning&&this._trigger("start",e)===!1?!1:(this.counter||(this.counter=1),this.spinning=!0,!0)},_repeat:function(e,t,n){e=e||500,clearTimeout(this.timer),this.timer=this._delay(function(){this._repeat(40,t,n)},e),this._spin(t*this.options.step,n)},_spin:function(e,t){var n=this.value()||0;this.counter||(this.counter=1),n=this._adjustValue(n+e*this._increment(this.counter));if(!this.spinning||this._trigger("spin",t,{value:n})!==!1)this._value(n),this.counter++},_increment:function(t){var n=this.options.incremental;return n?e.isFunction(n)?n(t):Math.floor(t*t*t/5e4-t*t/500+17*t/200+1):1},_precision:function(){var e=this._precisionOf(this.options.step);return this.options.min!==null&&(e=Math.max(e,this._precisionOf(this.options.min))),e},_precisionOf:function(e){var t=e.toString(),n=t.indexOf(".");return n===-1?0:t.length-n-1},_adjustValue:function(e){var t,n,r=this.options;return t=r.min!==null?r.min:0,n=e-t,n=Math.round(n/r.step)*r.step,e=t+n,e=parseFloat(e.toFixed(this._precision())),r.max!==null&&e>r.max?r.max:r.min!==null&&e1&&e.href.replace(r,"")===location.href.replace(r,"")}var n=0,r=/#.*$/;e.widget("ui.tabs",{version:"1.9.0",delay:300,options:{active:null,collapsible:!1,event:"click",heightStyle:"content",hide:null,show:null,activate:null,beforeActivate:null,beforeLoad:null,load:null},_create:function(){var t,n=this,r=this.options,i=r.active;this.running=!1,this.element.addClass("ui-tabs ui-widget ui-widget-content ui-corner-all").toggleClass("ui-tabs-collapsible",r.collapsible).delegate(".ui-tabs-nav > li","mousedown"+this.eventNamespace,function(t){e(this).is(".ui-state-disabled")&&t.preventDefault()}).delegate(".ui-tabs-anchor","focus"+this.eventNamespace,function(){e(this).closest("li").is(".ui-state-disabled")&&this.blur()}),this._processTabs();if(i===null){location.hash&&this.anchors.each(function(e,t){if(t.hash===location.hash)return i=e,!1}),i===null&&(i=this.tabs.filter(".ui-tabs-active").index());if(i===null||i===-1)i=this.tabs.length?0:!1}i!==!1&&(i=this.tabs.index(this.tabs.eq(i)),i===-1&&(i=r.collapsible?!1:0)),r.active=i,!r.collapsible&&r.active===!1&&this.anchors.length&&(r.active=0),e.isArray(r.disabled)&&(r.disabled=e.unique(r.disabled.concat(e.map(this.tabs.filter(".ui-state-disabled"),function(e){return n.tabs.index(e)}))).sort()),this.options.active!==!1&&this.anchors.length?this.active=this._findActive(this.options.active):this.active=e(),this._refresh(),this.active.length&&this.load(r.active)},_getCreateEventData:function(){return{tab:this.active,panel:this.active.length?this._getPanelForTab(this.active):e()}},_tabKeydown:function(t){var n=e(this.document[0].activeElement).closest("li"),r=this.tabs.index(n),i=!0;if(this._handlePageNav(t))return;switch(t.keyCode){case e.ui.keyCode.RIGHT:case e.ui.keyCode.DOWN:r++;break;case e.ui.keyCode.UP:case e.ui.keyCode.LEFT:i=!1,r--;break;case e.ui.keyCode.END:r=this.anchors.length-1;break;case e.ui.keyCode.HOME:r=0;break;case e.ui.keyCode.SPACE:t.preventDefault(),clearTimeout(this.activating),this._activate(r);return;case e.ui.keyCode.ENTER:t.preventDefault(),clearTimeout(this.activating),this._activate(r===this.options.active?!1:r);return;default:return}t.preventDefault(),clearTimeout(this.activating),r=this._focusNextTab(r,i),t.ctrlKey||(n.attr("aria-selected","false"),this.tabs.eq(r).attr("aria-selected","true"),this.activating=this._delay(function(){this.option("active",r)},this.delay))},_panelKeydown:function(t){if(this._handlePageNav(t))return;t.ctrlKey&&t.keyCode===e.ui.keyCode.UP&&(t.preventDefault(),this.active.focus())},_handlePageNav:function(t){if(t.altKey&&t.keyCode===e.ui.keyCode.PAGE_UP)return this._activate(this._focusNextTab(this.options.active-1,!1)),!0;if(t.altKey&&t.keyCode===e.ui.keyCode.PAGE_DOWN)return this._activate(this._focusNextTab(this.options.active+1,!0)),!0},_findNextTab:function(t,n){function i(){return t>r&&(t=0),t<0&&(t=r),t}var r=this.tabs.length-1;while(e.inArray(i(),this.options.disabled)!==-1)t=n?t+1:t-1;return t},_focusNextTab:function(e,t){return e=this._findNextTab(e,t),this.tabs.eq(e).focus(),e},_setOption:function(e,t){if(e==="active"){this._activate(t);return}if(e==="disabled"){this._setupDisabled(t);return}this._super(e,t),e==="collapsible"&&(this.element.toggleClass("ui-tabs-collapsible",t),!t&&this.options.active===!1&&this._activate(0)),e==="event"&&this._setupEvents(t),e==="heightStyle"&&this._setupHeightStyle(t)},_tabId:function(e){return e.attr("aria-controls")||"ui-tabs-"+i()},_sanitizeSelector:function(e){return e?e.replace(/[!"$%&'()*+,.\/:;<=>?@\[\]\^`{|}~]/g,"\\$&"):""},refresh:function(){var t,n=this.options,r=this.tablist.children(":has(a[href])");n.disabled=e.map(r.filter(".ui-state-disabled"),function(e){return r.index(e)}),this._processTabs(),n.active===!1||!this.anchors.length?(n.active=!1,this.active=e()):this.active.length&&!e.contains(this.tablist[0],this.active[0])?this.tabs.length===n.disabled.length?(n.active=!1,this.active=e()):this._activate(this._findNextTab(Math.max(0,n.active-1),!1)):n.active=this.tabs.index(this.active),this._refresh()},_refresh:function(){this._setupDisabled(this.options.disabled),this._setupEvents(this.options.event),this._setupHeightStyle(this.options.heightStyle),this.tabs.not(this.active).attr({"aria-selected":"false",tabIndex:-1}),this.panels.not(this._getPanelForTab(this.active)).hide().attr({"aria-expanded":"false","aria-hidden":"true"}),this.active.length?(this.active.addClass("ui-tabs-active ui-state-active").attr({"aria-selected":"true",tabIndex:0}),this._getPanelForTab(this.active).show().attr({"aria-expanded":"true","aria-hidden":"false"})):this.tabs.eq(0).attr("tabIndex",0)},_processTabs:function(){var t=this;this.tablist=this._getList().addClass("ui-tabs-nav ui-helper-reset ui-helper-clearfix ui-widget-header ui-corner-all").attr("role","tablist"),this.tabs=this.tablist.find("> li:has(a[href])").addClass("ui-state-default ui-corner-top").attr({role:"tab",tabIndex:-1}),this.anchors=this.tabs.map(function(){return e("a",this)[0]}).addClass("ui-tabs-anchor").attr({role:"presentation",tabIndex:-1}),this.panels=e(),this.anchors.each(function(n,r){var i,o,u,a=e(r).uniqueId().attr("id"),f=e(r).closest("li"),l=f.attr("aria-controls");s(r)?(i=r.hash,o=t.element.find(t._sanitizeSelector(i))):(u=t._tabId(f),i="#"+u,o=t.element.find(i),o.length||(o=t._createPanel(u),o.insertAfter(t.panels[n-1]||t.tablist)),o.attr("aria-live","polite")),o.length&&(t.panels=t.panels.add(o)),l&&f.data("ui-tabs-aria-controls",l),f.attr({"aria-controls":i.substring(1),"aria-labelledby":a}),o.attr("aria-labelledby",a)}),this.panels.addClass("ui-tabs-panel ui-widget-content ui-corner-bottom").attr("role","tabpanel")},_getList:function(){return this.element.find("ol,ul").eq(0)},_createPanel:function(t){return e("
                                                ").attr("id",t).addClass("ui-tabs-panel ui-widget-content ui-corner-bottom").data("ui-tabs-destroy",!0)},_setupDisabled:function(t){e.isArray(t)&&(t.length?t.length===this.anchors.length&&(t=!0):t=!1);for(var n=0,r;r=this.tabs[n];n++)t===!0||e.inArray(n,t)!==-1?e(r).addClass("ui-state-disabled").attr("aria-disabled","true"):e(r).removeClass("ui-state-disabled").removeAttr("aria-disabled");this.options.disabled=t},_setupEvents:function(t){var n={click:function(e){e.preventDefault()}};t&&e.each(t.split(" "),function(e,t){n[t]="_eventHandler"}),this._off(this.anchors.add(this.tabs).add(this.panels)),this._on(this.anchors,n),this._on(this.tabs,{keydown:"_tabKeydown"}),this._on(this.panels,{keydown:"_panelKeydown"}),this._focusable(this.tabs),this._hoverable(this.tabs)},_setupHeightStyle:function(t){var n,r,i=this.element.parent();t==="fill"?(e.support.minHeight||(r=i.css("overflow"),i.css("overflow","hidden")),n=i.height(),this.element.siblings(":visible").each(function(){var t=e(this),r=t.css("position");if(r==="absolute"||r==="fixed")return;n-=t.outerHeight(!0)}),r&&i.css("overflow",r),this.element.children().not(this.panels).each(function(){n-=e(this).outerHeight(!0)}),this.panels.each(function(){e(this).height(Math.max(0,n-e(this).innerHeight()+e(this).height()))}).css("overflow","auto")):t==="auto"&&(n=0,this.panels.each(function(){n=Math.max(n,e(this).height("").height())}).height(n))},_eventHandler:function(t){var n=this.options,r=this.active,i=e(t.currentTarget),s=i.closest("li"),o=s[0]===r[0],u=o&&n.collapsible,a=u?e():this._getPanelForTab(s),f=r.length?this._getPanelForTab(r):e(),l={oldTab:r,oldPanel:f,newTab:u?e():s,newPanel:a};t.preventDefault();if(s.hasClass("ui-state-disabled")||s.hasClass("ui-tabs-loading")||this.running||o&&!n.collapsible||this._trigger("beforeActivate",t,l)===!1)return;n.active=u?!1:this.tabs.index(s),this.active=o?e():s,this.xhr&&this.xhr.abort(),!f.length&&!a.length&&e.error("jQuery UI Tabs: Mismatching fragment identifier."),a.length&&this.load(this.tabs.index(s),t),this._toggle(t,l)},_toggle:function(t,n){function o(){r.running=!1,r._trigger("activate",t,n)}function u(){n.newTab.closest("li").addClass("ui-tabs-active ui-state-active"),i.length&&r.options.show?r._show(i,r.options.show,o):(i.show(),o())}var r=this,i=n.newPanel,s=n.oldPanel;this.running=!0,s.length&&this.options.hide?this._hide(s,this.options.hide,function(){n.oldTab.closest("li").removeClass("ui-tabs-active ui-state-active"),u()}):(n.oldTab.closest("li").removeClass("ui-tabs-active ui-state-active"),s.hide(),u()),s.attr({"aria-expanded":"false","aria-hidden":"true"}),n.oldTab.attr("aria-selected","false"),i.length&&s.length?n.oldTab.attr("tabIndex",-1):i.length&&this.tabs.filter(function(){return e(this).attr("tabIndex")===0}).attr("tabIndex",-1),i.attr({"aria-expanded":"true","aria-hidden":"false"}),n.newTab.attr({"aria-selected":"true",tabIndex:0})},_activate:function(t){var n,r=this._findActive(t);if(r[0]===this.active[0])return;r.length||(r=this.active),n=r.find(".ui-tabs-anchor")[0],this._eventHandler({target:n,currentTarget:n,preventDefault:e.noop})},_findActive:function(t){return t===!1?e():this.tabs.eq(t)},_getIndex:function(e){return typeof e=="string"&&(e=this.anchors.index(this.anchors.filter("[href$='"+e+"']"))),e},_destroy:function(){this.xhr&&this.xhr.abort(),this.element.removeClass("ui-tabs ui-widget ui-widget-content ui-corner-all ui-tabs-collapsible"),this.tablist.removeClass("ui-tabs-nav ui-helper-reset ui-helper-clearfix ui-widget-header ui-corner-all").removeAttr("role"),this.anchors.removeClass("ui-tabs-anchor").removeAttr("role").removeAttr("tabIndex").removeData("href.tabs").removeData("load.tabs").removeUniqueId(),this.tabs.add(this.panels).each(function(){e.data(this,"ui-tabs-destroy")?e(this).remove():e(this).removeClass("ui-state-default ui-state-active ui-state-disabled ui-corner-top ui-corner-bottom ui-widget-content ui-tabs-active ui-tabs-panel").removeAttr("tabIndex").removeAttr("aria-live").removeAttr("aria-busy").removeAttr("aria-selected").removeAttr("aria-labelledby").removeAttr("aria-hidden").removeAttr("aria-expanded").removeAttr("role")}),this.tabs.each(function(){var t=e(this),n=t.data("ui-tabs-aria-controls");n?t.attr("aria-controls",n):t.removeAttr("aria-controls")}),this.options.heightStyle!=="content"&&this.panels.css("height","")},enable:function(n){var r=this.options.disabled;if(r===!1)return;n===t?r=!1:(n=this._getIndex(n),e.isArray(r)?r=e.map(r,function(e){return e!==n?e:null}):r=e.map(this.tabs,function(e,t){return t!==n?t:null})),this._setupDisabled(r)},disable:function(n){var r=this.options.disabled;if(r===!0)return;if(n===t)r=!0;else{n=this._getIndex(n);if(e.inArray(n,r)!==-1)return;e.isArray(r)?r=e.merge([n],r).sort():r=[n]}this._setupDisabled(r)},load:function(t,n){t=this._getIndex(t);var r=this,i=this.tabs.eq(t),o=i.find(".ui-tabs-anchor"),u=this._getPanelForTab(i),a={tab:i,panel:u};if(s(o[0]))return;this.xhr=e.ajax(this._ajaxSettings(o,n,a)),this.xhr&&this.xhr.statusText!=="canceled"&&(i.addClass("ui-tabs-loading"),u.attr("aria-busy","true"),this.xhr.success(function(e){setTimeout(function(){u.html(e),r._trigger("load",n,a)},1)}).complete(function(e,t){setTimeout(function(){t==="abort"&&r.panels.stop(!1,!0),i.removeClass("ui-tabs-loading"),u.removeAttr("aria-busy"),e===r.xhr&&delete r.xhr},1)}))},_ajaxSettings:function(t,n,r){var i=this;return{url:t.attr("href"),beforeSend:function(t,s){return i._trigger("beforeLoad",n,e.extend({jqXHR:t,ajaxSettings:s},r))}}},_getPanelForTab:function(t){var n=e(t).attr("aria-controls");return this.element.find(this._sanitizeSelector("#"+n))}}),e.uiBackCompat!==!1&&(e.ui.tabs.prototype._ui=function(e,t){return{tab:e,panel:t,index:this.anchors.index(e)}},e.widget("ui.tabs",e.ui.tabs,{url:function(e,t){this.anchors.eq(e).attr("href",t)}}),e.widget("ui.tabs",e.ui.tabs,{options:{ajaxOptions:null,cache:!1},_create:function(){this._super();var t=this;this._on({tabsbeforeload:function(n,r){if(e.data(r.tab[0],"cache.tabs")){n.preventDefault();return}r.jqXHR.success(function(){t.options.cache&&e.data(r.tab[0],"cache.tabs",!0)})}})},_ajaxSettings:function(t,n,r){var i=this.options.ajaxOptions;return e.extend({},i,{error:function(e,t,n){try{i.error(e,t,r.tab.closest("li").index(),r.tab[0])}catch(n){}}},this._superApply(arguments))},_setOption:function(e,t){e==="cache"&&t===!1&&this.anchors.removeData("cache.tabs"),this._super(e,t)},_destroy:function(){this.anchors.removeData("cache.tabs"),this._super()},url:function(e,t){this.anchors.eq(e).removeData("cache.tabs"),this._superApply(arguments)}}),e.widget("ui.tabs",e.ui.tabs,{abort:function(){this.xhr&&this.xhr.abort()}}),e.widget("ui.tabs",e.ui.tabs,{options:{spinner:"Loading…"},_create:function(){this._super(),this._on({tabsbeforeload:function(e,t){if(e.target!==this.element[0]||!this.options.spinner)return;var n=t.tab.find("span"),r=n.html();n.html(this.options.spinner),t.jqXHR.complete(function(){n.html(r)})}})}}),e.widget("ui.tabs",e.ui.tabs,{options:{enable:null,disable:null},enable:function(t){var n=this.options,r;if(t&&n.disabled===!0||e.isArray(n.disabled)&&e.inArray(t,n.disabled)!==-1)r=!0;this._superApply(arguments),r&&this._trigger("enable",null,this._ui(this.anchors[t],this.panels[t]))},disable:function(t){var n=this.options,r;if(t&&n.disabled===!1||e.isArray(n.disabled)&&e.inArray(t,n.disabled)===-1)r=!0;this._superApply(arguments),r&&this._trigger("disable",null,this._ui(this.anchors[t],this.panels[t]))}}),e.widget("ui.tabs",e.ui.tabs,{options:{add:null,remove:null,tabTemplate:"
                                              7. #{label}
                                              8. "},add:function(n,r,i){i===t&&(i=this.anchors.length);var s,o,u=this.options,a=e(u.tabTemplate.replace(/#\{href\}/g,n).replace(/#\{label\}/g,r)),f=n.indexOf("#")?this._tabId(a):n.replace("#","");return a.addClass("ui-state-default ui-corner-top").data("ui-tabs-destroy",!0),a.attr("aria-controls",f),s=i>=this.tabs.length,o=this.element.find("#"+f),o.length||(o=this._createPanel(f),s?i>0?o.insertAfter(this.panels.eq(-1)):o.appendTo(this.element):o.insertBefore(this.panels[i])),o.addClass("ui-tabs-panel ui-widget-content ui-corner-bottom").hide(),s?a.appendTo(this.tablist):a.insertBefore(this.tabs[i]),u.disabled=e.map(u.disabled,function(e){return e>=i?++e:e}),this.refresh(),this.tabs.length===1&&u.active===!1&&this.option("active",0),this._trigger("add",null,this._ui(this.anchors[i],this.panels[i])),this},remove:function(t){t=this._getIndex(t);var n=this.options,r=this.tabs.eq(t).remove(),i=this._getPanelForTab(r).remove();return r.hasClass("ui-tabs-active")&&this.anchors.length>2&&this._activate(t+(t+1=t?--e:e}),this.refresh(),this._trigger("remove",null,this._ui(r.find("a")[0],i[0])),this}}),e.widget("ui.tabs",e.ui.tabs,{length:function(){return this.anchors.length}}),e.widget("ui.tabs",e.ui.tabs,{options:{idPrefix:"ui-tabs-"},_tabId:function(t){var n=t.is("li")?t.find("a[href]"):t;return n=n[0],e(n).closest("li").attr("aria-controls")||n.title&&n.title.replace(/\s/g,"_").replace(/[^\w\u00c0-\uFFFF\-]/g,"")||this.options.idPrefix+i()}}),e.widget("ui.tabs",e.ui.tabs,{options:{panelTemplate:"
                                                "},_createPanel:function(t){return e(this.options.panelTemplate).attr("id",t).addClass("ui-tabs-panel ui-widget-content ui-corner-bottom").data("ui-tabs-destroy",!0)}}),e.widget("ui.tabs",e.ui.tabs,{_create:function(){var e=this.options;e.active===null&&e.selected!==t&&(e.active=e.selected===-1?!1:e.selected),this._super(),e.selected=e.active,e.selected===!1&&(e.selected=-1)},_setOption:function(e,t){if(e!=="selected")return this._super(e,t);var n=this.options;this._super("active",t===-1?!1:t),n.selected=n.active,n.selected===!1&&(n.selected=-1)},_eventHandler:function(e){this._superApply(arguments),this.options.selected=this.options.active,this.options.selected===!1&&(this.options.selected=-1)}}),e.widget("ui.tabs",e.ui.tabs,{options:{show:null,select:null},_create:function(){this._super(),this.options.active!==!1&&this._trigger("show",null,this._ui(this.active.find(".ui-tabs-anchor")[0],this._getPanelForTab(this.active)[0]))},_trigger:function(e,t,n){var r=this._superApply(arguments);return r?(e==="beforeActivate"&&n.newTab.length?r=this._super("select",t,{tab:n.newTab.find(".ui-tabs-anchor")[0],panel:n.newPanel[0],index:n.newTab.closest("li").index()}):e==="activate"&&n.newTab.length&&(r=this._super("show",t,{tab:n.newTab.find(".ui-tabs-anchor")[0],panel:n.newPanel[0],index:n.newTab.closest("li").index()})),r):!1}}),e.widget("ui.tabs",e.ui.tabs,{select:function(e){e=this._getIndex(e);if(e===-1){if(!this.options.collapsible||this.options.selected===-1)return;e=this.options.selected}this.anchors.eq(e).trigger(this.options.event+this.eventNamespace)}}),function(){var t=0;e.widget("ui.tabs",e.ui.tabs,{options:{cookie:null},_create:function(){var e=this.options,t;e.active==null&&e.cookie&&(t=parseInt(this._cookie(),10),t===-1&&(t=!1),e.active=t),this._super()},_cookie:function(n){var r=[this.cookie||(this.cookie=this.options.cookie.name||"ui-tabs-"+ ++t)];return arguments.length&&(r.push(n===!1?-1:n),r.push(this.options.cookie)),e.cookie.apply(null,r)},_refresh:function(){this._super(),this.options.cookie&&this._cookie(this.options.active,this.options.cookie)},_eventHandler:function(e){this._superApply(arguments),this.options.cookie&&this._cookie(this.options.active,this.options.cookie)},_destroy:function(){this._super(),this.options.cookie&&this._cookie(null,this.options.cookie)}})}(),e.widget("ui.tabs",e.ui.tabs,{_trigger:function(t,n,r){var i=e.extend({},r);return t==="load"&&(i.panel=i.panel[0],i.tab=i.tab.find(".ui-tabs-anchor")[0]),this._super(t,n,i)}}),e.widget("ui.tabs",e.ui.tabs,{options:{fx:null},_getFx:function(){var t,n,r=this.options.fx;return r&&(e.isArray(r)?(t=r[0],n=r[1]):t=n=r),r?{show:n,hide:t}:null},_toggle:function(e,t){function o(){n.running=!1,n._trigger("activate",e,t)}function u(){t.newTab.closest("li").addClass("ui-tabs-active ui-state-active"),r.length&&s.show?r.animate(s.show,s.show.duration,function(){o()}):(r.show(),o())}var n=this,r=t.newPanel,i=t.oldPanel,s=this._getFx();if(!s)return this._super(e,t);n.running=!0,i.length&&s.hide?i.animate(s.hide,s.hide.duration,function(){t.oldTab.closest("li").removeClass("ui-tabs-active ui-state-active"),u()}):(t.oldTab.closest("li").removeClass("ui-tabs-active ui-state-active"),i.hide(),u())}}))})(jQuery);(function(e){function n(t,n){var r=(t.attr("aria-describedby")||"").split(/\s+/);r.push(n),t.data("ui-tooltip-id",n).attr("aria-describedby",e.trim(r.join(" ")))}function r(t){var n=t.data("ui-tooltip-id"),r=(t.attr("aria-describedby")||"").split(/\s+/),i=e.inArray(n,r);i!==-1&&r.splice(i,1),t.removeData("ui-tooltip-id"),r=e.trim(r.join(" ")),r?t.attr("aria-describedby",r):t.removeAttr("aria-describedby")}var t=0;e.widget("ui.tooltip",{version:"1.9.0",options:{content:function(){return e(this).attr("title")},hide:!0,items:"[title]",position:{my:"left+15 center",at:"right center",collision:"flipfit flipfit"},show:!0,tooltipClass:null,track:!1,close:null,open:null},_create:function(){this._on({mouseover:"open",focusin:"open"}),this.tooltips={}},_setOption:function(t,n){var r=this;if(t==="disabled"){this[n?"_disable":"_enable"](),this.options[t]=n;return}this._super(t,n),t==="content"&&e.each(this.tooltips,function(e,t){r._updateContent(t)})},_disable:function(){var t=this;e.each(this.tooltips,function(n,r){var i=e.Event("blur");i.target=i.currentTarget=r[0],t.close(i,!0)}),this.element.find(this.options.items).andSelf().each(function(){var t=e(this);t.is("[title]")&&t.data("ui-tooltip-title",t.attr("title")).attr("title","")})},_enable:function(){this.element.find(this.options.items).andSelf().each(function(){var t=e(this);t.data("ui-tooltip-title")&&t.attr("title",t.data("ui-tooltip-title"))})},open:function(t){var n=e(t?t.target:this.element).closest(this.options.items);if(!n.length)return;if(this.options.track&&n.data("ui-tooltip-id")){this._find(n).position(e.extend({of:n},this.options.position)),this._off(this.document,"mousemove");return}n.attr("title")&&n.data("ui-tooltip-title",n.attr("title")),n.data("tooltip-open",!0),this._updateContent(n,t)},_updateContent:function(e,t){var n,r=this.options.content,i=this;if(typeof r=="string")return this._open(t,e,r);n=r.call(e[0],function(n){if(!e.data("tooltip-open"))return;i._delay(function(){this._open(t,e,n)})}),n&&this._open(t,e,n)},_open:function(t,r,i){function u(e){o.of=e,s.position(o)}var s,o;if(!i)return;s=this._find(r);if(s.length){s.find(".ui-tooltip-content").html(i);return}r.is("[title]")&&(t&&t.type==="mouseover"?r.attr("title",""):r.removeAttr("title")),s=this._tooltip(r),n(r,s.attr("id")),s.find(".ui-tooltip-content").html(i),this.options.track&&t&&/^mouse/.test(t.originalEvent.type)?(o=e.extend({},this.options.position),this._on(this.document,{mousemove:u}),u(t)):s.position(e.extend({of:r},this.options.position)),s.hide(),this._show(s,this.options.show),this._trigger("open",t,{tooltip:s}),this._on(r,{mouseleave:"close",focusout:"close",keyup:function(t){if(t.keyCode===e.ui.keyCode.ESCAPE){var n=e.Event(t);n.currentTarget=r[0],this.close(n,!0)}}})},close:function(t,n){var i=this,s=e(t?t.currentTarget:this.element),o=this._find(s);if(this.closing)return;if(!n&&t&&t.type!=="focusout"&&this.document[0].activeElement===s[0])return;s.data("ui-tooltip-title")&&s.attr("title",s.data("ui-tooltip-title")),r(s),o.stop(!0),this._hide(o,this.options.hide,function(){e(this).remove(),delete i.tooltips[this.id]}),s.removeData("tooltip-open"),this._off(s,"mouseleave focusout keyup"),this._off(this.document,"mousemove"),this.closing=!0,this._trigger("close",t,{tooltip:o}),this.closing=!1},_tooltip:function(n){var r="ui-tooltip-"+t++,i=e("
                                                ").attr({id:r,role:"tooltip"}).addClass("ui-tooltip ui-widget ui-corner-all ui-widget-content "+(this.options.tooltipClass||""));return e("
                                                ").addClass("ui-tooltip-content").appendTo(i),i.appendTo(this.document[0].body),e.fn.bgiframe&&i.bgiframe(),this.tooltips[r]=n,i},_find:function(t){var n=t.data("ui-tooltip-id");return n?e("#"+n):e()},_destroy:function(){var t=this;e.each(this.tooltips,function(n,r){var i=e.Event("blur");i.target=i.currentTarget=r[0],t.close(i,!0),e("#"+n).remove(),r.data("ui-tooltip-title")&&(r.attr("title",r.data("ui-tooltip-title")),r.removeData("ui-tooltip-title"))})}})})(jQuery); \ No newline at end of file diff --git a/manual1903/api_reference/components/scaladocs/lib/jquery.js b/manual1903/api_reference/components/scaladocs/lib/jquery.js new file mode 100644 index 0000000000000000000000000000000000000000..bc3fbc81b261b9dd759fd83917b93664138faa4a --- /dev/null +++ b/manual1903/api_reference/components/scaladocs/lib/jquery.js @@ -0,0 +1,2 @@ +/*! jQuery v1.8.2 jquery.com | jquery.org/license */ +(function(a,b){function G(a){var b=F[a]={};return p.each(a.split(s),function(a,c){b[c]=!0}),b}function J(a,c,d){if(d===b&&a.nodeType===1){var e="data-"+c.replace(I,"-$1").toLowerCase();d=a.getAttribute(e);if(typeof d=="string"){try{d=d==="true"?!0:d==="false"?!1:d==="null"?null:+d+""===d?+d:H.test(d)?p.parseJSON(d):d}catch(f){}p.data(a,c,d)}else d=b}return d}function K(a){var b;for(b in a){if(b==="data"&&p.isEmptyObject(a[b]))continue;if(b!=="toJSON")return!1}return!0}function ba(){return!1}function bb(){return!0}function bh(a){return!a||!a.parentNode||a.parentNode.nodeType===11}function bi(a,b){do a=a[b];while(a&&a.nodeType!==1);return a}function bj(a,b,c){b=b||0;if(p.isFunction(b))return p.grep(a,function(a,d){var e=!!b.call(a,d,a);return e===c});if(b.nodeType)return p.grep(a,function(a,d){return a===b===c});if(typeof b=="string"){var d=p.grep(a,function(a){return a.nodeType===1});if(be.test(b))return p.filter(b,d,!c);b=p.filter(b,d)}return p.grep(a,function(a,d){return p.inArray(a,b)>=0===c})}function bk(a){var b=bl.split("|"),c=a.createDocumentFragment();if(c.createElement)while(b.length)c.createElement(b.pop());return c}function bC(a,b){return a.getElementsByTagName(b)[0]||a.appendChild(a.ownerDocument.createElement(b))}function bD(a,b){if(b.nodeType!==1||!p.hasData(a))return;var c,d,e,f=p._data(a),g=p._data(b,f),h=f.events;if(h){delete g.handle,g.events={};for(c in h)for(d=0,e=h[c].length;d").appendTo(e.body),c=b.css("display");b.remove();if(c==="none"||c===""){bI=e.body.appendChild(bI||p.extend(e.createElement("iframe"),{frameBorder:0,width:0,height:0}));if(!bJ||!bI.createElement)bJ=(bI.contentWindow||bI.contentDocument).document,bJ.write(""),bJ.close();b=bJ.body.appendChild(bJ.createElement(a)),c=bH(b,"display"),e.body.removeChild(bI)}return bS[a]=c,c}function ci(a,b,c,d){var e;if(p.isArray(b))p.each(b,function(b,e){c||ce.test(a)?d(a,e):ci(a+"["+(typeof e=="object"?b:"")+"]",e,c,d)});else if(!c&&p.type(b)==="object")for(e in b)ci(a+"["+e+"]",b[e],c,d);else d(a,b)}function cz(a){return function(b,c){typeof b!="string"&&(c=b,b="*");var d,e,f,g=b.toLowerCase().split(s),h=0,i=g.length;if(p.isFunction(c))for(;h)[^>]*$|#([\w\-]*)$)/,v=/^<(\w+)\s*\/?>(?:<\/\1>|)$/,w=/^[\],:{}\s]*$/,x=/(?:^|:|,)(?:\s*\[)+/g,y=/\\(?:["\\\/bfnrt]|u[\da-fA-F]{4})/g,z=/"[^"\\\r\n]*"|true|false|null|-?(?:\d\d*\.|)\d+(?:[eE][\-+]?\d+|)/g,A=/^-ms-/,B=/-([\da-z])/gi,C=function(a,b){return(b+"").toUpperCase()},D=function(){e.addEventListener?(e.removeEventListener("DOMContentLoaded",D,!1),p.ready()):e.readyState==="complete"&&(e.detachEvent("onreadystatechange",D),p.ready())},E={};p.fn=p.prototype={constructor:p,init:function(a,c,d){var f,g,h,i;if(!a)return this;if(a.nodeType)return this.context=this[0]=a,this.length=1,this;if(typeof a=="string"){a.charAt(0)==="<"&&a.charAt(a.length-1)===">"&&a.length>=3?f=[null,a,null]:f=u.exec(a);if(f&&(f[1]||!c)){if(f[1])return c=c instanceof p?c[0]:c,i=c&&c.nodeType?c.ownerDocument||c:e,a=p.parseHTML(f[1],i,!0),v.test(f[1])&&p.isPlainObject(c)&&this.attr.call(a,c,!0),p.merge(this,a);g=e.getElementById(f[2]);if(g&&g.parentNode){if(g.id!==f[2])return d.find(a);this.length=1,this[0]=g}return this.context=e,this.selector=a,this}return!c||c.jquery?(c||d).find(a):this.constructor(c).find(a)}return p.isFunction(a)?d.ready(a):(a.selector!==b&&(this.selector=a.selector,this.context=a.context),p.makeArray(a,this))},selector:"",jquery:"1.8.2",length:0,size:function(){return this.length},toArray:function(){return k.call(this)},get:function(a){return a==null?this.toArray():a<0?this[this.length+a]:this[a]},pushStack:function(a,b,c){var d=p.merge(this.constructor(),a);return d.prevObject=this,d.context=this.context,b==="find"?d.selector=this.selector+(this.selector?" ":"")+c:b&&(d.selector=this.selector+"."+b+"("+c+")"),d},each:function(a,b){return p.each(this,a,b)},ready:function(a){return p.ready.promise().done(a),this},eq:function(a){return a=+a,a===-1?this.slice(a):this.slice(a,a+1)},first:function(){return this.eq(0)},last:function(){return this.eq(-1)},slice:function(){return this.pushStack(k.apply(this,arguments),"slice",k.call(arguments).join(","))},map:function(a){return this.pushStack(p.map(this,function(b,c){return a.call(b,c,b)}))},end:function(){return this.prevObject||this.constructor(null)},push:j,sort:[].sort,splice:[].splice},p.fn.init.prototype=p.fn,p.extend=p.fn.extend=function(){var a,c,d,e,f,g,h=arguments[0]||{},i=1,j=arguments.length,k=!1;typeof h=="boolean"&&(k=h,h=arguments[1]||{},i=2),typeof h!="object"&&!p.isFunction(h)&&(h={}),j===i&&(h=this,--i);for(;i0)return;d.resolveWith(e,[p]),p.fn.trigger&&p(e).trigger("ready").off("ready")},isFunction:function(a){return p.type(a)==="function"},isArray:Array.isArray||function(a){return p.type(a)==="array"},isWindow:function(a){return a!=null&&a==a.window},isNumeric:function(a){return!isNaN(parseFloat(a))&&isFinite(a)},type:function(a){return a==null?String(a):E[m.call(a)]||"object"},isPlainObject:function(a){if(!a||p.type(a)!=="object"||a.nodeType||p.isWindow(a))return!1;try{if(a.constructor&&!n.call(a,"constructor")&&!n.call(a.constructor.prototype,"isPrototypeOf"))return!1}catch(c){return!1}var d;for(d in a);return d===b||n.call(a,d)},isEmptyObject:function(a){var b;for(b in a)return!1;return!0},error:function(a){throw new Error(a)},parseHTML:function(a,b,c){var d;return!a||typeof a!="string"?null:(typeof b=="boolean"&&(c=b,b=0),b=b||e,(d=v.exec(a))?[b.createElement(d[1])]:(d=p.buildFragment([a],b,c?null:[]),p.merge([],(d.cacheable?p.clone(d.fragment):d.fragment).childNodes)))},parseJSON:function(b){if(!b||typeof b!="string")return null;b=p.trim(b);if(a.JSON&&a.JSON.parse)return a.JSON.parse(b);if(w.test(b.replace(y,"@").replace(z,"]").replace(x,"")))return(new Function("return "+b))();p.error("Invalid JSON: "+b)},parseXML:function(c){var d,e;if(!c||typeof c!="string")return null;try{a.DOMParser?(e=new DOMParser,d=e.parseFromString(c,"text/xml")):(d=new ActiveXObject("Microsoft.XMLDOM"),d.async="false",d.loadXML(c))}catch(f){d=b}return(!d||!d.documentElement||d.getElementsByTagName("parsererror").length)&&p.error("Invalid XML: "+c),d},noop:function(){},globalEval:function(b){b&&r.test(b)&&(a.execScript||function(b){a.eval.call(a,b)})(b)},camelCase:function(a){return a.replace(A,"ms-").replace(B,C)},nodeName:function(a,b){return a.nodeName&&a.nodeName.toLowerCase()===b.toLowerCase()},each:function(a,c,d){var e,f=0,g=a.length,h=g===b||p.isFunction(a);if(d){if(h){for(e in a)if(c.apply(a[e],d)===!1)break}else for(;f0&&a[0]&&a[i-1]||i===0||p.isArray(a));if(j)for(;h-1)i.splice(c,1),e&&(c<=g&&g--,c<=h&&h--)}),this},has:function(a){return p.inArray(a,i)>-1},empty:function(){return i=[],this},disable:function(){return i=j=c=b,this},disabled:function(){return!i},lock:function(){return j=b,c||l.disable(),this},locked:function(){return!j},fireWith:function(a,b){return b=b||[],b=[a,b.slice?b.slice():b],i&&(!d||j)&&(e?j.push(b):k(b)),this},fire:function(){return l.fireWith(this,arguments),this},fired:function(){return!!d}};return l},p.extend({Deferred:function(a){var b=[["resolve","done",p.Callbacks("once memory"),"resolved"],["reject","fail",p.Callbacks("once memory"),"rejected"],["notify","progress",p.Callbacks("memory")]],c="pending",d={state:function(){return c},always:function(){return e.done(arguments).fail(arguments),this},then:function(){var a=arguments;return p.Deferred(function(c){p.each(b,function(b,d){var f=d[0],g=a[b];e[d[1]](p.isFunction(g)?function(){var a=g.apply(this,arguments);a&&p.isFunction(a.promise)?a.promise().done(c.resolve).fail(c.reject).progress(c.notify):c[f+"With"](this===e?c:this,[a])}:c[f])}),a=null}).promise()},promise:function(a){return a!=null?p.extend(a,d):d}},e={};return d.pipe=d.then,p.each(b,function(a,f){var g=f[2],h=f[3];d[f[1]]=g.add,h&&g.add(function(){c=h},b[a^1][2].disable,b[2][2].lock),e[f[0]]=g.fire,e[f[0]+"With"]=g.fireWith}),d.promise(e),a&&a.call(e,e),e},when:function(a){var b=0,c=k.call(arguments),d=c.length,e=d!==1||a&&p.isFunction(a.promise)?d:0,f=e===1?a:p.Deferred(),g=function(a,b,c){return function(d){b[a]=this,c[a]=arguments.length>1?k.call(arguments):d,c===h?f.notifyWith(b,c):--e||f.resolveWith(b,c)}},h,i,j;if(d>1){h=new Array(d),i=new Array(d),j=new Array(d);for(;b
                                                a",c=n.getElementsByTagName("*"),d=n.getElementsByTagName("a")[0],d.style.cssText="top:1px;float:left;opacity:.5";if(!c||!c.length)return{};f=e.createElement("select"),g=f.appendChild(e.createElement("option")),h=n.getElementsByTagName("input")[0],b={leadingWhitespace:n.firstChild.nodeType===3,tbody:!n.getElementsByTagName("tbody").length,htmlSerialize:!!n.getElementsByTagName("link").length,style:/top/.test(d.getAttribute("style")),hrefNormalized:d.getAttribute("href")==="/a",opacity:/^0.5/.test(d.style.opacity),cssFloat:!!d.style.cssFloat,checkOn:h.value==="on",optSelected:g.selected,getSetAttribute:n.className!=="t",enctype:!!e.createElement("form").enctype,html5Clone:e.createElement("nav").cloneNode(!0).outerHTML!=="<:nav>",boxModel:e.compatMode==="CSS1Compat",submitBubbles:!0,changeBubbles:!0,focusinBubbles:!1,deleteExpando:!0,noCloneEvent:!0,inlineBlockNeedsLayout:!1,shrinkWrapBlocks:!1,reliableMarginRight:!0,boxSizingReliable:!0,pixelPosition:!1},h.checked=!0,b.noCloneChecked=h.cloneNode(!0).checked,f.disabled=!0,b.optDisabled=!g.disabled;try{delete n.test}catch(o){b.deleteExpando=!1}!n.addEventListener&&n.attachEvent&&n.fireEvent&&(n.attachEvent("onclick",m=function(){b.noCloneEvent=!1}),n.cloneNode(!0).fireEvent("onclick"),n.detachEvent("onclick",m)),h=e.createElement("input"),h.value="t",h.setAttribute("type","radio"),b.radioValue=h.value==="t",h.setAttribute("checked","checked"),h.setAttribute("name","t"),n.appendChild(h),i=e.createDocumentFragment(),i.appendChild(n.lastChild),b.checkClone=i.cloneNode(!0).cloneNode(!0).lastChild.checked,b.appendChecked=h.checked,i.removeChild(h),i.appendChild(n);if(n.attachEvent)for(k in{submit:!0,change:!0,focusin:!0})j="on"+k,l=j in n,l||(n.setAttribute(j,"return;"),l=typeof n[j]=="function"),b[k+"Bubbles"]=l;return p(function(){var c,d,f,g,h="padding:0;margin:0;border:0;display:block;overflow:hidden;",i=e.getElementsByTagName("body")[0];if(!i)return;c=e.createElement("div"),c.style.cssText="visibility:hidden;border:0;width:0;height:0;position:static;top:0;margin-top:1px",i.insertBefore(c,i.firstChild),d=e.createElement("div"),c.appendChild(d),d.innerHTML="
                                                t
                                                ",f=d.getElementsByTagName("td"),f[0].style.cssText="padding:0;margin:0;border:0;display:none",l=f[0].offsetHeight===0,f[0].style.display="",f[1].style.display="none",b.reliableHiddenOffsets=l&&f[0].offsetHeight===0,d.innerHTML="",d.style.cssText="box-sizing:border-box;-moz-box-sizing:border-box;-webkit-box-sizing:border-box;padding:1px;border:1px;display:block;width:4px;margin-top:1%;position:absolute;top:1%;",b.boxSizing=d.offsetWidth===4,b.doesNotIncludeMarginInBodyOffset=i.offsetTop!==1,a.getComputedStyle&&(b.pixelPosition=(a.getComputedStyle(d,null)||{}).top!=="1%",b.boxSizingReliable=(a.getComputedStyle(d,null)||{width:"4px"}).width==="4px",g=e.createElement("div"),g.style.cssText=d.style.cssText=h,g.style.marginRight=g.style.width="0",d.style.width="1px",d.appendChild(g),b.reliableMarginRight=!parseFloat((a.getComputedStyle(g,null)||{}).marginRight)),typeof d.style.zoom!="undefined"&&(d.innerHTML="",d.style.cssText=h+"width:1px;padding:1px;display:inline;zoom:1",b.inlineBlockNeedsLayout=d.offsetWidth===3,d.style.display="block",d.style.overflow="visible",d.innerHTML="
                                                ",d.firstChild.style.width="5px",b.shrinkWrapBlocks=d.offsetWidth!==3,c.style.zoom=1),i.removeChild(c),c=d=f=g=null}),i.removeChild(n),c=d=f=g=h=i=n=null,b}();var H=/(?:\{[\s\S]*\}|\[[\s\S]*\])$/,I=/([A-Z])/g;p.extend({cache:{},deletedIds:[],uuid:0,expando:"jQuery"+(p.fn.jquery+Math.random()).replace(/\D/g,""),noData:{embed:!0,object:"clsid:D27CDB6E-AE6D-11cf-96B8-444553540000",applet:!0},hasData:function(a){return a=a.nodeType?p.cache[a[p.expando]]:a[p.expando],!!a&&!K(a)},data:function(a,c,d,e){if(!p.acceptData(a))return;var f,g,h=p.expando,i=typeof c=="string",j=a.nodeType,k=j?p.cache:a,l=j?a[h]:a[h]&&h;if((!l||!k[l]||!e&&!k[l].data)&&i&&d===b)return;l||(j?a[h]=l=p.deletedIds.pop()||p.guid++:l=h),k[l]||(k[l]={},j||(k[l].toJSON=p.noop));if(typeof c=="object"||typeof c=="function")e?k[l]=p.extend(k[l],c):k[l].data=p.extend(k[l].data,c);return f=k[l],e||(f.data||(f.data={}),f=f.data),d!==b&&(f[p.camelCase(c)]=d),i?(g=f[c],g==null&&(g=f[p.camelCase(c)])):g=f,g},removeData:function(a,b,c){if(!p.acceptData(a))return;var d,e,f,g=a.nodeType,h=g?p.cache:a,i=g?a[p.expando]:p.expando;if(!h[i])return;if(b){d=c?h[i]:h[i].data;if(d){p.isArray(b)||(b in d?b=[b]:(b=p.camelCase(b),b in d?b=[b]:b=b.split(" ")));for(e=0,f=b.length;e1,null,!1))},removeData:function(a){return this.each(function(){p.removeData(this,a)})}}),p.extend({queue:function(a,b,c){var d;if(a)return b=(b||"fx")+"queue",d=p._data(a,b),c&&(!d||p.isArray(c)?d=p._data(a,b,p.makeArray(c)):d.push(c)),d||[]},dequeue:function(a,b){b=b||"fx";var c=p.queue(a,b),d=c.length,e=c.shift(),f=p._queueHooks(a,b),g=function(){p.dequeue(a,b)};e==="inprogress"&&(e=c.shift(),d--),e&&(b==="fx"&&c.unshift("inprogress"),delete f.stop,e.call(a,g,f)),!d&&f&&f.empty.fire()},_queueHooks:function(a,b){var c=b+"queueHooks";return p._data(a,c)||p._data(a,c,{empty:p.Callbacks("once memory").add(function(){p.removeData(a,b+"queue",!0),p.removeData(a,c,!0)})})}}),p.fn.extend({queue:function(a,c){var d=2;return typeof a!="string"&&(c=a,a="fx",d--),arguments.length1)},removeAttr:function(a){return this.each(function(){p.removeAttr(this,a)})},prop:function(a,b){return p.access(this,p.prop,a,b,arguments.length>1)},removeProp:function(a){return a=p.propFix[a]||a,this.each(function(){try{this[a]=b,delete this[a]}catch(c){}})},addClass:function(a){var b,c,d,e,f,g,h;if(p.isFunction(a))return this.each(function(b){p(this).addClass(a.call(this,b,this.className))});if(a&&typeof a=="string"){b=a.split(s);for(c=0,d=this.length;c=0)d=d.replace(" "+c[f]+" "," ");e.className=a?p.trim(d):""}}}return this},toggleClass:function(a,b){var c=typeof a,d=typeof b=="boolean";return p.isFunction(a)?this.each(function(c){p(this).toggleClass(a.call(this,c,this.className,b),b)}):this.each(function(){if(c==="string"){var e,f=0,g=p(this),h=b,i=a.split(s);while(e=i[f++])h=d?h:!g.hasClass(e),g[h?"addClass":"removeClass"](e)}else if(c==="undefined"||c==="boolean")this.className&&p._data(this,"__className__",this.className),this.className=this.className||a===!1?"":p._data(this,"__className__")||""})},hasClass:function(a){var b=" "+a+" ",c=0,d=this.length;for(;c=0)return!0;return!1},val:function(a){var c,d,e,f=this[0];if(!arguments.length){if(f)return c=p.valHooks[f.type]||p.valHooks[f.nodeName.toLowerCase()],c&&"get"in c&&(d=c.get(f,"value"))!==b?d:(d=f.value,typeof d=="string"?d.replace(P,""):d==null?"":d);return}return e=p.isFunction(a),this.each(function(d){var f,g=p(this);if(this.nodeType!==1)return;e?f=a.call(this,d,g.val()):f=a,f==null?f="":typeof f=="number"?f+="":p.isArray(f)&&(f=p.map(f,function(a){return a==null?"":a+""})),c=p.valHooks[this.type]||p.valHooks[this.nodeName.toLowerCase()];if(!c||!("set"in c)||c.set(this,f,"value")===b)this.value=f})}}),p.extend({valHooks:{option:{get:function(a){var b=a.attributes.value;return!b||b.specified?a.value:a.text}},select:{get:function(a){var b,c,d,e,f=a.selectedIndex,g=[],h=a.options,i=a.type==="select-one";if(f<0)return null;c=i?f:0,d=i?f+1:h.length;for(;c=0}),c.length||(a.selectedIndex=-1),c}}},attrFn:{},attr:function(a,c,d,e){var f,g,h,i=a.nodeType;if(!a||i===3||i===8||i===2)return;if(e&&p.isFunction(p.fn[c]))return p(a)[c](d);if(typeof a.getAttribute=="undefined")return p.prop(a,c,d);h=i!==1||!p.isXMLDoc(a),h&&(c=c.toLowerCase(),g=p.attrHooks[c]||(T.test(c)?M:L));if(d!==b){if(d===null){p.removeAttr(a,c);return}return g&&"set"in g&&h&&(f=g.set(a,d,c))!==b?f:(a.setAttribute(c,d+""),d)}return g&&"get"in g&&h&&(f=g.get(a,c))!==null?f:(f=a.getAttribute(c),f===null?b:f)},removeAttr:function(a,b){var c,d,e,f,g=0;if(b&&a.nodeType===1){d=b.split(s);for(;g=0}})});var V=/^(?:textarea|input|select)$/i,W=/^([^\.]*|)(?:\.(.+)|)$/,X=/(?:^|\s)hover(\.\S+|)\b/,Y=/^key/,Z=/^(?:mouse|contextmenu)|click/,$=/^(?:focusinfocus|focusoutblur)$/,_=function(a){return p.event.special.hover?a:a.replace(X,"mouseenter$1 mouseleave$1")};p.event={add:function(a,c,d,e,f){var g,h,i,j,k,l,m,n,o,q,r;if(a.nodeType===3||a.nodeType===8||!c||!d||!(g=p._data(a)))return;d.handler&&(o=d,d=o.handler,f=o.selector),d.guid||(d.guid=p.guid++),i=g.events,i||(g.events=i={}),h=g.handle,h||(g.handle=h=function(a){return typeof p!="undefined"&&(!a||p.event.triggered!==a.type)?p.event.dispatch.apply(h.elem,arguments):b},h.elem=a),c=p.trim(_(c)).split(" ");for(j=0;j=0&&(s=s.slice(0,-1),i=!0),s.indexOf(".")>=0&&(t=s.split("."),s=t.shift(),t.sort());if((!f||p.event.customEvent[s])&&!p.event.global[s])return;c=typeof c=="object"?c[p.expando]?c:new p.Event(s,c):new p.Event(s),c.type=s,c.isTrigger=!0,c.exclusive=i,c.namespace=t.join("."),c.namespace_re=c.namespace?new RegExp("(^|\\.)"+t.join("\\.(?:.*\\.|)")+"(\\.|$)"):null,m=s.indexOf(":")<0?"on"+s:"";if(!f){h=p.cache;for(j in h)h[j].events&&h[j].events[s]&&p.event.trigger(c,d,h[j].handle.elem,!0);return}c.result=b,c.target||(c.target=f),d=d!=null?p.makeArray(d):[],d.unshift(c),n=p.event.special[s]||{};if(n.trigger&&n.trigger.apply(f,d)===!1)return;q=[[f,n.bindType||s]];if(!g&&!n.noBubble&&!p.isWindow(f)){r=n.delegateType||s,k=$.test(r+s)?f:f.parentNode;for(l=f;k;k=k.parentNode)q.push([k,r]),l=k;l===(f.ownerDocument||e)&&q.push([l.defaultView||l.parentWindow||a,r])}for(j=0;j=0:p.find(m,this,null,[f]).length),h[m]&&j.push(l);j.length&&u.push({elem:f,matches:j})}o.length>q&&u.push({elem:this,matches:o.slice(q)});for(d=0;d0?this.on(b,null,a,c):this.trigger(b)},Y.test(b)&&(p.event.fixHooks[b]=p.event.keyHooks),Z.test(b)&&(p.event.fixHooks[b]=p.event.mouseHooks)}),function(a,b){function bc(a,b,c,d){c=c||[],b=b||r;var e,f,i,j,k=b.nodeType;if(!a||typeof a!="string")return c;if(k!==1&&k!==9)return[];i=g(b);if(!i&&!d)if(e=P.exec(a))if(j=e[1]){if(k===9){f=b.getElementById(j);if(!f||!f.parentNode)return c;if(f.id===j)return c.push(f),c}else if(b.ownerDocument&&(f=b.ownerDocument.getElementById(j))&&h(b,f)&&f.id===j)return c.push(f),c}else{if(e[2])return w.apply(c,x.call(b.getElementsByTagName(a),0)),c;if((j=e[3])&&_&&b.getElementsByClassName)return w.apply(c,x.call(b.getElementsByClassName(j),0)),c}return bp(a.replace(L,"$1"),b,c,d,i)}function bd(a){return function(b){var c=b.nodeName.toLowerCase();return c==="input"&&b.type===a}}function be(a){return function(b){var c=b.nodeName.toLowerCase();return(c==="input"||c==="button")&&b.type===a}}function bf(a){return z(function(b){return b=+b,z(function(c,d){var e,f=a([],c.length,b),g=f.length;while(g--)c[e=f[g]]&&(c[e]=!(d[e]=c[e]))})})}function bg(a,b,c){if(a===b)return c;var d=a.nextSibling;while(d){if(d===b)return-1;d=d.nextSibling}return 1}function bh(a,b){var c,d,f,g,h,i,j,k=C[o][a];if(k)return b?0:k.slice(0);h=a,i=[],j=e.preFilter;while(h){if(!c||(d=M.exec(h)))d&&(h=h.slice(d[0].length)),i.push(f=[]);c=!1;if(d=N.exec(h))f.push(c=new q(d.shift())),h=h.slice(c.length),c.type=d[0].replace(L," ");for(g in e.filter)(d=W[g].exec(h))&&(!j[g]||(d=j[g](d,r,!0)))&&(f.push(c=new q(d.shift())),h=h.slice(c.length),c.type=g,c.matches=d);if(!c)break}return b?h.length:h?bc.error(a):C(a,i).slice(0)}function bi(a,b,d){var e=b.dir,f=d&&b.dir==="parentNode",g=u++;return b.first?function(b,c,d){while(b=b[e])if(f||b.nodeType===1)return a(b,c,d)}:function(b,d,h){if(!h){var i,j=t+" "+g+" ",k=j+c;while(b=b[e])if(f||b.nodeType===1){if((i=b[o])===k)return b.sizset;if(typeof i=="string"&&i.indexOf(j)===0){if(b.sizset)return b}else{b[o]=k;if(a(b,d,h))return b.sizset=!0,b;b.sizset=!1}}}else while(b=b[e])if(f||b.nodeType===1)if(a(b,d,h))return b}}function bj(a){return a.length>1?function(b,c,d){var e=a.length;while(e--)if(!a[e](b,c,d))return!1;return!0}:a[0]}function bk(a,b,c,d,e){var f,g=[],h=0,i=a.length,j=b!=null;for(;h-1},h,!0),m=[function(a,c,d){return!g&&(d||c!==l)||((b=c).nodeType?j(a,c,d):k(a,c,d))}];for(;i1&&bj(m),i>1&&a.slice(0,i-1).join("").replace(L,"$1"),c,i0,f=a.length>0,g=function(h,i,j,k,m){var n,o,p,q=[],s=0,u="0",x=h&&[],y=m!=null,z=l,A=h||f&&e.find.TAG("*",m&&i.parentNode||i),B=t+=z==null?1:Math.E;y&&(l=i!==r&&i,c=g.el);for(;(n=A[u])!=null;u++){if(f&&n){for(o=0;p=a[o];o++)if(p(n,i,j)){k.push(n);break}y&&(t=B,c=++g.el)}d&&((n=!p&&n)&&s--,h&&x.push(n))}s+=u;if(d&&u!==s){for(o=0;p=b[o];o++)p(x,q,i,j);if(h){if(s>0)while(u--)!x[u]&&!q[u]&&(q[u]=v.call(k));q=bk(q)}w.apply(k,q),y&&!h&&q.length>0&&s+b.length>1&&bc.uniqueSort(k)}return y&&(t=B,l=z),x};return g.el=0,d?z(g):g}function bo(a,b,c,d){var e=0,f=b.length;for(;e2&&(j=h[0]).type==="ID"&&b.nodeType===9&&!f&&e.relative[h[1].type]){b=e.find.ID(j.matches[0].replace(V,""),b,f)[0];if(!b)return c;a=a.slice(h.shift().length)}for(g=W.POS.test(a)?-1:h.length-1;g>=0;g--){j=h[g];if(e.relative[k=j.type])break;if(l=e.find[k])if(d=l(j.matches[0].replace(V,""),R.test(h[0].type)&&b.parentNode||b,f)){h.splice(g,1),a=d.length&&h.join("");if(!a)return w.apply(c,x.call(d,0)),c;break}}}return i(a,m)(d,b,f,c,R.test(a)),c}function bq(){}var c,d,e,f,g,h,i,j,k,l,m=!0,n="undefined",o=("sizcache"+Math.random()).replace(".",""),q=String,r=a.document,s=r.documentElement,t=0,u=0,v=[].pop,w=[].push,x=[].slice,y=[].indexOf||function(a){var b=0,c=this.length;for(;be.cacheLength&&delete a[b.shift()],a[c]=d},a)},B=A(),C=A(),D=A(),E="[\\x20\\t\\r\\n\\f]",F="(?:\\\\.|[-\\w]|[^\\x00-\\xa0])+",G=F.replace("w","w#"),H="([*^$|!~]?=)",I="\\["+E+"*("+F+")"+E+"*(?:"+H+E+"*(?:(['\"])((?:\\\\.|[^\\\\])*?)\\3|("+G+")|)|)"+E+"*\\]",J=":("+F+")(?:\\((?:(['\"])((?:\\\\.|[^\\\\])*?)\\2|([^()[\\]]*|(?:(?:"+I+")|[^:]|\\\\.)*|.*))\\)|)",K=":(even|odd|eq|gt|lt|nth|first|last)(?:\\("+E+"*((?:-\\d)?\\d*)"+E+"*\\)|)(?=[^-]|$)",L=new RegExp("^"+E+"+|((?:^|[^\\\\])(?:\\\\.)*)"+E+"+$","g"),M=new RegExp("^"+E+"*,"+E+"*"),N=new RegExp("^"+E+"*([\\x20\\t\\r\\n\\f>+~])"+E+"*"),O=new RegExp(J),P=/^(?:#([\w\-]+)|(\w+)|\.([\w\-]+))$/,Q=/^:not/,R=/[\x20\t\r\n\f]*[+~]/,S=/:not\($/,T=/h\d/i,U=/input|select|textarea|button/i,V=/\\(?!\\)/g,W={ID:new RegExp("^#("+F+")"),CLASS:new RegExp("^\\.("+F+")"),NAME:new RegExp("^\\[name=['\"]?("+F+")['\"]?\\]"),TAG:new RegExp("^("+F.replace("w","w*")+")"),ATTR:new RegExp("^"+I),PSEUDO:new RegExp("^"+J),POS:new RegExp(K,"i"),CHILD:new RegExp("^:(only|nth|first|last)-child(?:\\("+E+"*(even|odd|(([+-]|)(\\d*)n|)"+E+"*(?:([+-]|)"+E+"*(\\d+)|))"+E+"*\\)|)","i"),needsContext:new RegExp("^"+E+"*[>+~]|"+K,"i")},X=function(a){var b=r.createElement("div");try{return a(b)}catch(c){return!1}finally{b=null}},Y=X(function(a){return a.appendChild(r.createComment("")),!a.getElementsByTagName("*").length}),Z=X(function(a){return a.innerHTML="",a.firstChild&&typeof a.firstChild.getAttribute!==n&&a.firstChild.getAttribute("href")==="#"}),$=X(function(a){a.innerHTML="";var b=typeof a.lastChild.getAttribute("multiple");return b!=="boolean"&&b!=="string"}),_=X(function(a){return a.innerHTML="",!a.getElementsByClassName||!a.getElementsByClassName("e").length?!1:(a.lastChild.className="e",a.getElementsByClassName("e").length===2)}),ba=X(function(a){a.id=o+0,a.innerHTML="
                                                ",s.insertBefore(a,s.firstChild);var b=r.getElementsByName&&r.getElementsByName(o).length===2+r.getElementsByName(o+0).length;return d=!r.getElementById(o),s.removeChild(a),b});try{x.call(s.childNodes,0)[0].nodeType}catch(bb){x=function(a){var b,c=[];for(;b=this[a];a++)c.push(b);return c}}bc.matches=function(a,b){return bc(a,null,null,b)},bc.matchesSelector=function(a,b){return bc(b,null,null,[a]).length>0},f=bc.getText=function(a){var b,c="",d=0,e=a.nodeType;if(e){if(e===1||e===9||e===11){if(typeof a.textContent=="string")return a.textContent;for(a=a.firstChild;a;a=a.nextSibling)c+=f(a)}else if(e===3||e===4)return a.nodeValue}else for(;b=a[d];d++)c+=f(b);return c},g=bc.isXML=function(a){var b=a&&(a.ownerDocument||a).documentElement;return b?b.nodeName!=="HTML":!1},h=bc.contains=s.contains?function(a,b){var c=a.nodeType===9?a.documentElement:a,d=b&&b.parentNode;return a===d||!!(d&&d.nodeType===1&&c.contains&&c.contains(d))}:s.compareDocumentPosition?function(a,b){return b&&!!(a.compareDocumentPosition(b)&16)}:function(a,b){while(b=b.parentNode)if(b===a)return!0;return!1},bc.attr=function(a,b){var c,d=g(a);return d||(b=b.toLowerCase()),(c=e.attrHandle[b])?c(a):d||$?a.getAttribute(b):(c=a.getAttributeNode(b),c?typeof a[b]=="boolean"?a[b]?b:null:c.specified?c.value:null:null)},e=bc.selectors={cacheLength:50,createPseudo:z,match:W,attrHandle:Z?{}:{href:function(a){return a.getAttribute("href",2)},type:function(a){return a.getAttribute("type")}},find:{ID:d?function(a,b,c){if(typeof b.getElementById!==n&&!c){var d=b.getElementById(a);return d&&d.parentNode?[d]:[]}}:function(a,c,d){if(typeof c.getElementById!==n&&!d){var e=c.getElementById(a);return e?e.id===a||typeof e.getAttributeNode!==n&&e.getAttributeNode("id").value===a?[e]:b:[]}},TAG:Y?function(a,b){if(typeof b.getElementsByTagName!==n)return b.getElementsByTagName(a)}:function(a,b){var c=b.getElementsByTagName(a);if(a==="*"){var d,e=[],f=0;for(;d=c[f];f++)d.nodeType===1&&e.push(d);return e}return c},NAME:ba&&function(a,b){if(typeof b.getElementsByName!==n)return b.getElementsByName(name)},CLASS:_&&function(a,b,c){if(typeof b.getElementsByClassName!==n&&!c)return b.getElementsByClassName(a)}},relative:{">":{dir:"parentNode",first:!0}," ":{dir:"parentNode"},"+":{dir:"previousSibling",first:!0},"~":{dir:"previousSibling"}},preFilter:{ATTR:function(a){return a[1]=a[1].replace(V,""),a[3]=(a[4]||a[5]||"").replace(V,""),a[2]==="~="&&(a[3]=" "+a[3]+" "),a.slice(0,4)},CHILD:function(a){return a[1]=a[1].toLowerCase(),a[1]==="nth"?(a[2]||bc.error(a[0]),a[3]=+(a[3]?a[4]+(a[5]||1):2*(a[2]==="even"||a[2]==="odd")),a[4]=+(a[6]+a[7]||a[2]==="odd")):a[2]&&bc.error(a[0]),a},PSEUDO:function(a){var b,c;if(W.CHILD.test(a[0]))return null;if(a[3])a[2]=a[3];else if(b=a[4])O.test(b)&&(c=bh(b,!0))&&(c=b.indexOf(")",b.length-c)-b.length)&&(b=b.slice(0,c),a[0]=a[0].slice(0,c)),a[2]=b;return a.slice(0,3)}},filter:{ID:d?function(a){return a=a.replace(V,""),function(b){return b.getAttribute("id")===a}}:function(a){return a=a.replace(V,""),function(b){var c=typeof b.getAttributeNode!==n&&b.getAttributeNode("id");return c&&c.value===a}},TAG:function(a){return a==="*"?function(){return!0}:(a=a.replace(V,"").toLowerCase(),function(b){return b.nodeName&&b.nodeName.toLowerCase()===a})},CLASS:function(a){var b=B[o][a];return b||(b=B(a,new RegExp("(^|"+E+")"+a+"("+E+"|$)"))),function(a){return b.test(a.className||typeof a.getAttribute!==n&&a.getAttribute("class")||"")}},ATTR:function(a,b,c){return function(d,e){var f=bc.attr(d,a);return f==null?b==="!=":b?(f+="",b==="="?f===c:b==="!="?f!==c:b==="^="?c&&f.indexOf(c)===0:b==="*="?c&&f.indexOf(c)>-1:b==="$="?c&&f.substr(f.length-c.length)===c:b==="~="?(" "+f+" ").indexOf(c)>-1:b==="|="?f===c||f.substr(0,c.length+1)===c+"-":!1):!0}},CHILD:function(a,b,c,d){return a==="nth"?function(a){var b,e,f=a.parentNode;if(c===1&&d===0)return!0;if(f){e=0;for(b=f.firstChild;b;b=b.nextSibling)if(b.nodeType===1){e++;if(a===b)break}}return e-=d,e===c||e%c===0&&e/c>=0}:function(b){var c=b;switch(a){case"only":case"first":while(c=c.previousSibling)if(c.nodeType===1)return!1;if(a==="first")return!0;c=b;case"last":while(c=c.nextSibling)if(c.nodeType===1)return!1;return!0}}},PSEUDO:function(a,b){var c,d=e.pseudos[a]||e.setFilters[a.toLowerCase()]||bc.error("unsupported pseudo: "+a);return d[o]?d(b):d.length>1?(c=[a,a,"",b],e.setFilters.hasOwnProperty(a.toLowerCase())?z(function(a,c){var e,f=d(a,b),g=f.length;while(g--)e=y.call(a,f[g]),a[e]=!(c[e]=f[g])}):function(a){return d(a,0,c)}):d}},pseudos:{not:z(function(a){var b=[],c=[],d=i(a.replace(L,"$1"));return d[o]?z(function(a,b,c,e){var f,g=d(a,null,e,[]),h=a.length;while(h--)if(f=g[h])a[h]=!(b[h]=f)}):function(a,e,f){return b[0]=a,d(b,null,f,c),!c.pop()}}),has:z(function(a){return function(b){return bc(a,b).length>0}}),contains:z(function(a){return function(b){return(b.textContent||b.innerText||f(b)).indexOf(a)>-1}}),enabled:function(a){return a.disabled===!1},disabled:function(a){return a.disabled===!0},checked:function(a){var b=a.nodeName.toLowerCase();return b==="input"&&!!a.checked||b==="option"&&!!a.selected},selected:function(a){return a.parentNode&&a.parentNode.selectedIndex,a.selected===!0},parent:function(a){return!e.pseudos.empty(a)},empty:function(a){var b;a=a.firstChild;while(a){if(a.nodeName>"@"||(b=a.nodeType)===3||b===4)return!1;a=a.nextSibling}return!0},header:function(a){return T.test(a.nodeName)},text:function(a){var b,c;return a.nodeName.toLowerCase()==="input"&&(b=a.type)==="text"&&((c=a.getAttribute("type"))==null||c.toLowerCase()===b)},radio:bd("radio"),checkbox:bd("checkbox"),file:bd("file"),password:bd("password"),image:bd("image"),submit:be("submit"),reset:be("reset"),button:function(a){var b=a.nodeName.toLowerCase();return b==="input"&&a.type==="button"||b==="button"},input:function(a){return U.test(a.nodeName)},focus:function(a){var b=a.ownerDocument;return a===b.activeElement&&(!b.hasFocus||b.hasFocus())&&(!!a.type||!!a.href)},active:function(a){return a===a.ownerDocument.activeElement},first:bf(function(a,b,c){return[0]}),last:bf(function(a,b,c){return[b-1]}),eq:bf(function(a,b,c){return[c<0?c+b:c]}),even:bf(function(a,b,c){for(var d=0;d=0;)a.push(d);return a}),gt:bf(function(a,b,c){for(var d=c<0?c+b:c;++d",a.querySelectorAll("[selected]").length||e.push("\\["+E+"*(?:checked|disabled|ismap|multiple|readonly|selected|value)"),a.querySelectorAll(":checked").length||e.push(":checked")}),X(function(a){a.innerHTML="

                                                ",a.querySelectorAll("[test^='']").length&&e.push("[*^$]="+E+"*(?:\"\"|'')"),a.innerHTML="",a.querySelectorAll(":enabled").length||e.push(":enabled",":disabled")}),e=new RegExp(e.join("|")),bp=function(a,d,f,g,h){if(!g&&!h&&(!e||!e.test(a))){var i,j,k=!0,l=o,m=d,n=d.nodeType===9&&a;if(d.nodeType===1&&d.nodeName.toLowerCase()!=="object"){i=bh(a),(k=d.getAttribute("id"))?l=k.replace(c,"\\$&"):d.setAttribute("id",l),l="[id='"+l+"'] ",j=i.length;while(j--)i[j]=l+i[j].join("");m=R.test(a)&&d.parentNode||d,n=i.join(",")}if(n)try{return w.apply(f,x.call(m.querySelectorAll(n),0)),f}catch(p){}finally{k||d.removeAttribute("id")}}return b(a,d,f,g,h)},h&&(X(function(b){a=h.call(b,"div");try{h.call(b,"[test!='']:sizzle"),f.push("!=",J)}catch(c){}}),f=new RegExp(f.join("|")),bc.matchesSelector=function(b,c){c=c.replace(d,"='$1']");if(!g(b)&&!f.test(c)&&(!e||!e.test(c)))try{var i=h.call(b,c);if(i||a||b.document&&b.document.nodeType!==11)return i}catch(j){}return bc(c,null,null,[b]).length>0})}(),e.pseudos.nth=e.pseudos.eq,e.filters=bq.prototype=e.pseudos,e.setFilters=new bq,bc.attr=p.attr,p.find=bc,p.expr=bc.selectors,p.expr[":"]=p.expr.pseudos,p.unique=bc.uniqueSort,p.text=bc.getText,p.isXMLDoc=bc.isXML,p.contains=bc.contains}(a);var bc=/Until$/,bd=/^(?:parents|prev(?:Until|All))/,be=/^.[^:#\[\.,]*$/,bf=p.expr.match.needsContext,bg={children:!0,contents:!0,next:!0,prev:!0};p.fn.extend({find:function(a){var b,c,d,e,f,g,h=this;if(typeof a!="string")return p(a).filter(function(){for(b=0,c=h.length;b0)for(e=d;e=0:p.filter(a,this).length>0:this.filter(a).length>0)},closest:function(a,b){var c,d=0,e=this.length,f=[],g=bf.test(a)||typeof a!="string"?p(a,b||this.context):0;for(;d-1:p.find.matchesSelector(c,a)){f.push(c);break}c=c.parentNode}}return f=f.length>1?p.unique(f):f,this.pushStack(f,"closest",a)},index:function(a){return a?typeof a=="string"?p.inArray(this[0],p(a)):p.inArray(a.jquery?a[0]:a,this):this[0]&&this[0].parentNode?this.prevAll().length:-1},add:function(a,b){var c=typeof a=="string"?p(a,b):p.makeArray(a&&a.nodeType?[a]:a),d=p.merge(this.get(),c);return this.pushStack(bh(c[0])||bh(d[0])?d:p.unique(d))},addBack:function(a){return this.add(a==null?this.prevObject:this.prevObject.filter(a))}}),p.fn.andSelf=p.fn.addBack,p.each({parent:function(a){var b=a.parentNode;return b&&b.nodeType!==11?b:null},parents:function(a){return p.dir(a,"parentNode")},parentsUntil:function(a,b,c){return p.dir(a,"parentNode",c)},next:function(a){return bi(a,"nextSibling")},prev:function(a){return bi(a,"previousSibling")},nextAll:function(a){return p.dir(a,"nextSibling")},prevAll:function(a){return p.dir(a,"previousSibling")},nextUntil:function(a,b,c){return p.dir(a,"nextSibling",c)},prevUntil:function(a,b,c){return p.dir(a,"previousSibling",c)},siblings:function(a){return p.sibling((a.parentNode||{}).firstChild,a)},children:function(a){return p.sibling(a.firstChild)},contents:function(a){return p.nodeName(a,"iframe")?a.contentDocument||a.contentWindow.document:p.merge([],a.childNodes)}},function(a,b){p.fn[a]=function(c,d){var e=p.map(this,b,c);return bc.test(a)||(d=c),d&&typeof d=="string"&&(e=p.filter(d,e)),e=this.length>1&&!bg[a]?p.unique(e):e,this.length>1&&bd.test(a)&&(e=e.reverse()),this.pushStack(e,a,k.call(arguments).join(","))}}),p.extend({filter:function(a,b,c){return c&&(a=":not("+a+")"),b.length===1?p.find.matchesSelector(b[0],a)?[b[0]]:[]:p.find.matches(a,b)},dir:function(a,c,d){var e=[],f=a[c];while(f&&f.nodeType!==9&&(d===b||f.nodeType!==1||!p(f).is(d)))f.nodeType===1&&e.push(f),f=f[c];return e},sibling:function(a,b){var c=[];for(;a;a=a.nextSibling)a.nodeType===1&&a!==b&&c.push(a);return c}});var bl="abbr|article|aside|audio|bdi|canvas|data|datalist|details|figcaption|figure|footer|header|hgroup|mark|meter|nav|output|progress|section|summary|time|video",bm=/ jQuery\d+="(?:null|\d+)"/g,bn=/^\s+/,bo=/<(?!area|br|col|embed|hr|img|input|link|meta|param)(([\w:]+)[^>]*)\/>/gi,bp=/<([\w:]+)/,bq=/]","i"),bv=/^(?:checkbox|radio)$/,bw=/checked\s*(?:[^=]|=\s*.checked.)/i,bx=/\/(java|ecma)script/i,by=/^\s*\s*$/g,bz={option:[1,""],legend:[1,"
                                                ","
                                                "],thead:[1,"","
                                                "],tr:[2,"","
                                                "],td:[3,"","
                                                "],col:[2,"","
                                                "],area:[1,"",""],_default:[0,"",""]},bA=bk(e),bB=bA.appendChild(e.createElement("div"));bz.optgroup=bz.option,bz.tbody=bz.tfoot=bz.colgroup=bz.caption=bz.thead,bz.th=bz.td,p.support.htmlSerialize||(bz._default=[1,"X
                                                ","
                                                "]),p.fn.extend({text:function(a){return p.access(this,function(a){return a===b?p.text(this):this.empty().append((this[0]&&this[0].ownerDocument||e).createTextNode(a))},null,a,arguments.length)},wrapAll:function(a){if(p.isFunction(a))return this.each(function(b){p(this).wrapAll(a.call(this,b))});if(this[0]){var b=p(a,this[0].ownerDocument).eq(0).clone(!0);this[0].parentNode&&b.insertBefore(this[0]),b.map(function(){var a=this;while(a.firstChild&&a.firstChild.nodeType===1)a=a.firstChild;return a}).append(this)}return this},wrapInner:function(a){return p.isFunction(a)?this.each(function(b){p(this).wrapInner(a.call(this,b))}):this.each(function(){var b=p(this),c=b.contents();c.length?c.wrapAll(a):b.append(a)})},wrap:function(a){var b=p.isFunction(a);return this.each(function(c){p(this).wrapAll(b?a.call(this,c):a)})},unwrap:function(){return this.parent().each(function(){p.nodeName(this,"body")||p(this).replaceWith(this.childNodes)}).end()},append:function(){return this.domManip(arguments,!0,function(a){(this.nodeType===1||this.nodeType===11)&&this.appendChild(a)})},prepend:function(){return this.domManip(arguments,!0,function(a){(this.nodeType===1||this.nodeType===11)&&this.insertBefore(a,this.firstChild)})},before:function(){if(!bh(this[0]))return this.domManip(arguments,!1,function(a){this.parentNode.insertBefore(a,this)});if(arguments.length){var a=p.clean(arguments);return this.pushStack(p.merge(a,this),"before",this.selector)}},after:function(){if(!bh(this[0]))return this.domManip(arguments,!1,function(a){this.parentNode.insertBefore(a,this.nextSibling)});if(arguments.length){var a=p.clean(arguments);return this.pushStack(p.merge(this,a),"after",this.selector)}},remove:function(a,b){var c,d=0;for(;(c=this[d])!=null;d++)if(!a||p.filter(a,[c]).length)!b&&c.nodeType===1&&(p.cleanData(c.getElementsByTagName("*")),p.cleanData([c])),c.parentNode&&c.parentNode.removeChild(c);return this},empty:function(){var a,b=0;for(;(a=this[b])!=null;b++){a.nodeType===1&&p.cleanData(a.getElementsByTagName("*"));while(a.firstChild)a.removeChild(a.firstChild)}return this},clone:function(a,b){return a=a==null?!1:a,b=b==null?a:b,this.map(function(){return p.clone(this,a,b)})},html:function(a){return p.access(this,function(a){var c=this[0]||{},d=0,e=this.length;if(a===b)return c.nodeType===1?c.innerHTML.replace(bm,""):b;if(typeof a=="string"&&!bs.test(a)&&(p.support.htmlSerialize||!bu.test(a))&&(p.support.leadingWhitespace||!bn.test(a))&&!bz[(bp.exec(a)||["",""])[1].toLowerCase()]){a=a.replace(bo,"<$1>");try{for(;d1&&typeof j=="string"&&bw.test(j))return this.each(function(){p(this).domManip(a,c,d)});if(p.isFunction(j))return this.each(function(e){var f=p(this);a[0]=j.call(this,e,c?f.html():b),f.domManip(a,c,d)});if(this[0]){e=p.buildFragment(a,this,k),g=e.fragment,f=g.firstChild,g.childNodes.length===1&&(g=f);if(f){c=c&&p.nodeName(f,"tr");for(h=e.cacheable||l-1;i0?this.clone(!0):this).get(),p(g[e])[b](d),f=f.concat(d);return this.pushStack(f,a,g.selector)}}),p.extend({clone:function(a,b,c){var d,e,f,g;p.support.html5Clone||p.isXMLDoc(a)||!bu.test("<"+a.nodeName+">")?g=a.cloneNode(!0):(bB.innerHTML=a.outerHTML,bB.removeChild(g=bB.firstChild));if((!p.support.noCloneEvent||!p.support.noCloneChecked)&&(a.nodeType===1||a.nodeType===11)&&!p.isXMLDoc(a)){bE(a,g),d=bF(a),e=bF(g);for(f=0;d[f];++f)e[f]&&bE(d[f],e[f])}if(b){bD(a,g);if(c){d=bF(a),e=bF(g);for(f=0;d[f];++f)bD(d[f],e[f])}}return d=e=null,g},clean:function(a,b,c,d){var f,g,h,i,j,k,l,m,n,o,q,r,s=b===e&&bA,t=[];if(!b||typeof b.createDocumentFragment=="undefined")b=e;for(f=0;(h=a[f])!=null;f++){typeof h=="number"&&(h+="");if(!h)continue;if(typeof h=="string")if(!br.test(h))h=b.createTextNode(h);else{s=s||bk(b),l=b.createElement("div"),s.appendChild(l),h=h.replace(bo,"<$1>"),i=(bp.exec(h)||["",""])[1].toLowerCase(),j=bz[i]||bz._default,k=j[0],l.innerHTML=j[1]+h+j[2];while(k--)l=l.lastChild;if(!p.support.tbody){m=bq.test(h),n=i==="table"&&!m?l.firstChild&&l.firstChild.childNodes:j[1]===""&&!m?l.childNodes:[];for(g=n.length-1;g>=0;--g)p.nodeName(n[g],"tbody")&&!n[g].childNodes.length&&n[g].parentNode.removeChild(n[g])}!p.support.leadingWhitespace&&bn.test(h)&&l.insertBefore(b.createTextNode(bn.exec(h)[0]),l.firstChild),h=l.childNodes,l.parentNode.removeChild(l)}h.nodeType?t.push(h):p.merge(t,h)}l&&(h=l=s=null);if(!p.support.appendChecked)for(f=0;(h=t[f])!=null;f++)p.nodeName(h,"input")?bG(h):typeof h.getElementsByTagName!="undefined"&&p.grep(h.getElementsByTagName("input"),bG);if(c){q=function(a){if(!a.type||bx.test(a.type))return d?d.push(a.parentNode?a.parentNode.removeChild(a):a):c.appendChild(a)};for(f=0;(h=t[f])!=null;f++)if(!p.nodeName(h,"script")||!q(h))c.appendChild(h),typeof h.getElementsByTagName!="undefined"&&(r=p.grep(p.merge([],h.getElementsByTagName("script")),q),t.splice.apply(t,[f+1,0].concat(r)),f+=r.length)}return t},cleanData:function(a,b){var c,d,e,f,g=0,h=p.expando,i=p.cache,j=p.support.deleteExpando,k=p.event.special;for(;(e=a[g])!=null;g++)if(b||p.acceptData(e)){d=e[h],c=d&&i[d];if(c){if(c.events)for(f in c.events)k[f]?p.event.remove(e,f):p.removeEvent(e,f,c.handle);i[d]&&(delete i[d],j?delete e[h]:e.removeAttribute?e.removeAttribute(h):e[h]=null,p.deletedIds.push(d))}}}}),function(){var a,b;p.uaMatch=function(a){a=a.toLowerCase();var b=/(chrome)[ \/]([\w.]+)/.exec(a)||/(webkit)[ \/]([\w.]+)/.exec(a)||/(opera)(?:.*version|)[ \/]([\w.]+)/.exec(a)||/(msie) ([\w.]+)/.exec(a)||a.indexOf("compatible")<0&&/(mozilla)(?:.*? rv:([\w.]+)|)/.exec(a)||[];return{browser:b[1]||"",version:b[2]||"0"}},a=p.uaMatch(g.userAgent),b={},a.browser&&(b[a.browser]=!0,b.version=a.version),b.chrome?b.webkit=!0:b.webkit&&(b.safari=!0),p.browser=b,p.sub=function(){function a(b,c){return new a.fn.init(b,c)}p.extend(!0,a,this),a.superclass=this,a.fn=a.prototype=this(),a.fn.constructor=a,a.sub=this.sub,a.fn.init=function c(c,d){return d&&d instanceof p&&!(d instanceof a)&&(d=a(d)),p.fn.init.call(this,c,d,b)},a.fn.init.prototype=a.fn;var b=a(e);return a}}();var bH,bI,bJ,bK=/alpha\([^)]*\)/i,bL=/opacity=([^)]*)/,bM=/^(top|right|bottom|left)$/,bN=/^(none|table(?!-c[ea]).+)/,bO=/^margin/,bP=new RegExp("^("+q+")(.*)$","i"),bQ=new RegExp("^("+q+")(?!px)[a-z%]+$","i"),bR=new RegExp("^([-+])=("+q+")","i"),bS={},bT={position:"absolute",visibility:"hidden",display:"block"},bU={letterSpacing:0,fontWeight:400},bV=["Top","Right","Bottom","Left"],bW=["Webkit","O","Moz","ms"],bX=p.fn.toggle;p.fn.extend({css:function(a,c){return p.access(this,function(a,c,d){return d!==b?p.style(a,c,d):p.css(a,c)},a,c,arguments.length>1)},show:function(){return b$(this,!0)},hide:function(){return b$(this)},toggle:function(a,b){var c=typeof a=="boolean";return p.isFunction(a)&&p.isFunction(b)?bX.apply(this,arguments):this.each(function(){(c?a:bZ(this))?p(this).show():p(this).hide()})}}),p.extend({cssHooks:{opacity:{get:function(a,b){if(b){var c=bH(a,"opacity");return c===""?"1":c}}}},cssNumber:{fillOpacity:!0,fontWeight:!0,lineHeight:!0,opacity:!0,orphans:!0,widows:!0,zIndex:!0,zoom:!0},cssProps:{"float":p.support.cssFloat?"cssFloat":"styleFloat"},style:function(a,c,d,e){if(!a||a.nodeType===3||a.nodeType===8||!a.style)return;var f,g,h,i=p.camelCase(c),j=a.style;c=p.cssProps[i]||(p.cssProps[i]=bY(j,i)),h=p.cssHooks[c]||p.cssHooks[i];if(d===b)return h&&"get"in h&&(f=h.get(a,!1,e))!==b?f:j[c];g=typeof d,g==="string"&&(f=bR.exec(d))&&(d=(f[1]+1)*f[2]+parseFloat(p.css(a,c)),g="number");if(d==null||g==="number"&&isNaN(d))return;g==="number"&&!p.cssNumber[i]&&(d+="px");if(!h||!("set"in h)||(d=h.set(a,d,e))!==b)try{j[c]=d}catch(k){}},css:function(a,c,d,e){var f,g,h,i=p.camelCase(c);return c=p.cssProps[i]||(p.cssProps[i]=bY(a.style,i)),h=p.cssHooks[c]||p.cssHooks[i],h&&"get"in h&&(f=h.get(a,!0,e)),f===b&&(f=bH(a,c)),f==="normal"&&c in bU&&(f=bU[c]),d||e!==b?(g=parseFloat(f),d||p.isNumeric(g)?g||0:f):f},swap:function(a,b,c){var d,e,f={};for(e in b)f[e]=a.style[e],a.style[e]=b[e];d=c.call(a);for(e in b)a.style[e]=f[e];return d}}),a.getComputedStyle?bH=function(b,c){var d,e,f,g,h=a.getComputedStyle(b,null),i=b.style;return h&&(d=h[c],d===""&&!p.contains(b.ownerDocument,b)&&(d=p.style(b,c)),bQ.test(d)&&bO.test(c)&&(e=i.width,f=i.minWidth,g=i.maxWidth,i.minWidth=i.maxWidth=i.width=d,d=h.width,i.width=e,i.minWidth=f,i.maxWidth=g)),d}:e.documentElement.currentStyle&&(bH=function(a,b){var c,d,e=a.currentStyle&&a.currentStyle[b],f=a.style;return e==null&&f&&f[b]&&(e=f[b]),bQ.test(e)&&!bM.test(b)&&(c=f.left,d=a.runtimeStyle&&a.runtimeStyle.left,d&&(a.runtimeStyle.left=a.currentStyle.left),f.left=b==="fontSize"?"1em":e,e=f.pixelLeft+"px",f.left=c,d&&(a.runtimeStyle.left=d)),e===""?"auto":e}),p.each(["height","width"],function(a,b){p.cssHooks[b]={get:function(a,c,d){if(c)return a.offsetWidth===0&&bN.test(bH(a,"display"))?p.swap(a,bT,function(){return cb(a,b,d)}):cb(a,b,d)},set:function(a,c,d){return b_(a,c,d?ca(a,b,d,p.support.boxSizing&&p.css(a,"boxSizing")==="border-box"):0)}}}),p.support.opacity||(p.cssHooks.opacity={get:function(a,b){return bL.test((b&&a.currentStyle?a.currentStyle.filter:a.style.filter)||"")?.01*parseFloat(RegExp.$1)+"":b?"1":""},set:function(a,b){var c=a.style,d=a.currentStyle,e=p.isNumeric(b)?"alpha(opacity="+b*100+")":"",f=d&&d.filter||c.filter||"";c.zoom=1;if(b>=1&&p.trim(f.replace(bK,""))===""&&c.removeAttribute){c.removeAttribute("filter");if(d&&!d.filter)return}c.filter=bK.test(f)?f.replace(bK,e):f+" "+e}}),p(function(){p.support.reliableMarginRight||(p.cssHooks.marginRight={get:function(a,b){return p.swap(a,{display:"inline-block"},function(){if(b)return bH(a,"marginRight")})}}),!p.support.pixelPosition&&p.fn.position&&p.each(["top","left"],function(a,b){p.cssHooks[b]={get:function(a,c){if(c){var d=bH(a,b);return bQ.test(d)?p(a).position()[b]+"px":d}}}})}),p.expr&&p.expr.filters&&(p.expr.filters.hidden=function(a){return a.offsetWidth===0&&a.offsetHeight===0||!p.support.reliableHiddenOffsets&&(a.style&&a.style.display||bH(a,"display"))==="none"},p.expr.filters.visible=function(a){return!p.expr.filters.hidden(a)}),p.each({margin:"",padding:"",border:"Width"},function(a,b){p.cssHooks[a+b]={expand:function(c){var d,e=typeof c=="string"?c.split(" "):[c],f={};for(d=0;d<4;d++)f[a+bV[d]+b]=e[d]||e[d-2]||e[0];return f}},bO.test(a)||(p.cssHooks[a+b].set=b_)});var cd=/%20/g,ce=/\[\]$/,cf=/\r?\n/g,cg=/^(?:color|date|datetime|datetime-local|email|hidden|month|number|password|range|search|tel|text|time|url|week)$/i,ch=/^(?:select|textarea)/i;p.fn.extend({serialize:function(){return p.param(this.serializeArray())},serializeArray:function(){return this.map(function(){return this.elements?p.makeArray(this.elements):this}).filter(function(){return this.name&&!this.disabled&&(this.checked||ch.test(this.nodeName)||cg.test(this.type))}).map(function(a,b){var c=p(this).val();return c==null?null:p.isArray(c)?p.map(c,function(a,c){return{name:b.name,value:a.replace(cf,"\r\n")}}):{name:b.name,value:c.replace(cf,"\r\n")}}).get()}}),p.param=function(a,c){var d,e=[],f=function(a,b){b=p.isFunction(b)?b():b==null?"":b,e[e.length]=encodeURIComponent(a)+"="+encodeURIComponent(b)};c===b&&(c=p.ajaxSettings&&p.ajaxSettings.traditional);if(p.isArray(a)||a.jquery&&!p.isPlainObject(a))p.each(a,function(){f(this.name,this.value)});else for(d in a)ci(d,a[d],c,f);return e.join("&").replace(cd,"+")};var cj,ck,cl=/#.*$/,cm=/^(.*?):[ \t]*([^\r\n]*)\r?$/mg,cn=/^(?:about|app|app\-storage|.+\-extension|file|res|widget):$/,co=/^(?:GET|HEAD)$/,cp=/^\/\//,cq=/\?/,cr=/)<[^<]*)*<\/script>/gi,cs=/([?&])_=[^&]*/,ct=/^([\w\+\.\-]+:)(?:\/\/([^\/?#:]*)(?::(\d+)|)|)/,cu=p.fn.load,cv={},cw={},cx=["*/"]+["*"];try{ck=f.href}catch(cy){ck=e.createElement("a"),ck.href="",ck=ck.href}cj=ct.exec(ck.toLowerCase())||[],p.fn.load=function(a,c,d){if(typeof a!="string"&&cu)return cu.apply(this,arguments);if(!this.length)return this;var e,f,g,h=this,i=a.indexOf(" ");return i>=0&&(e=a.slice(i,a.length),a=a.slice(0,i)),p.isFunction(c)?(d=c,c=b):c&&typeof c=="object"&&(f="POST"),p.ajax({url:a,type:f,dataType:"html",data:c,complete:function(a,b){d&&h.each(d,g||[a.responseText,b,a])}}).done(function(a){g=arguments,h.html(e?p("
                                                ").append(a.replace(cr,"")).find(e):a)}),this},p.each("ajaxStart ajaxStop ajaxComplete ajaxError ajaxSuccess ajaxSend".split(" "),function(a,b){p.fn[b]=function(a){return this.on(b,a)}}),p.each(["get","post"],function(a,c){p[c]=function(a,d,e,f){return p.isFunction(d)&&(f=f||e,e=d,d=b),p.ajax({type:c,url:a,data:d,success:e,dataType:f})}}),p.extend({getScript:function(a,c){return p.get(a,b,c,"script")},getJSON:function(a,b,c){return p.get(a,b,c,"json")},ajaxSetup:function(a,b){return b?cB(a,p.ajaxSettings):(b=a,a=p.ajaxSettings),cB(a,b),a},ajaxSettings:{url:ck,isLocal:cn.test(cj[1]),global:!0,type:"GET",contentType:"application/x-www-form-urlencoded; charset=UTF-8",processData:!0,async:!0,accepts:{xml:"application/xml, text/xml",html:"text/html",text:"text/plain",json:"application/json, text/javascript","*":cx},contents:{xml:/xml/,html:/html/,json:/json/},responseFields:{xml:"responseXML",text:"responseText"},converters:{"* text":a.String,"text html":!0,"text json":p.parseJSON,"text xml":p.parseXML},flatOptions:{context:!0,url:!0}},ajaxPrefilter:cz(cv),ajaxTransport:cz(cw),ajax:function(a,c){function y(a,c,f,i){var k,s,t,u,w,y=c;if(v===2)return;v=2,h&&clearTimeout(h),g=b,e=i||"",x.readyState=a>0?4:0,f&&(u=cC(l,x,f));if(a>=200&&a<300||a===304)l.ifModified&&(w=x.getResponseHeader("Last-Modified"),w&&(p.lastModified[d]=w),w=x.getResponseHeader("Etag"),w&&(p.etag[d]=w)),a===304?(y="notmodified",k=!0):(k=cD(l,u),y=k.state,s=k.data,t=k.error,k=!t);else{t=y;if(!y||a)y="error",a<0&&(a=0)}x.status=a,x.statusText=(c||y)+"",k?o.resolveWith(m,[s,y,x]):o.rejectWith(m,[x,y,t]),x.statusCode(r),r=b,j&&n.trigger("ajax"+(k?"Success":"Error"),[x,l,k?s:t]),q.fireWith(m,[x,y]),j&&(n.trigger("ajaxComplete",[x,l]),--p.active||p.event.trigger("ajaxStop"))}typeof a=="object"&&(c=a,a=b),c=c||{};var d,e,f,g,h,i,j,k,l=p.ajaxSetup({},c),m=l.context||l,n=m!==l&&(m.nodeType||m instanceof p)?p(m):p.event,o=p.Deferred(),q=p.Callbacks("once memory"),r=l.statusCode||{},t={},u={},v=0,w="canceled",x={readyState:0,setRequestHeader:function(a,b){if(!v){var c=a.toLowerCase();a=u[c]=u[c]||a,t[a]=b}return this},getAllResponseHeaders:function(){return v===2?e:null},getResponseHeader:function(a){var c;if(v===2){if(!f){f={};while(c=cm.exec(e))f[c[1].toLowerCase()]=c[2]}c=f[a.toLowerCase()]}return c===b?null:c},overrideMimeType:function(a){return v||(l.mimeType=a),this},abort:function(a){return a=a||w,g&&g.abort(a),y(0,a),this}};o.promise(x),x.success=x.done,x.error=x.fail,x.complete=q.add,x.statusCode=function(a){if(a){var b;if(v<2)for(b in a)r[b]=[r[b],a[b]];else b=a[x.status],x.always(b)}return this},l.url=((a||l.url)+"").replace(cl,"").replace(cp,cj[1]+"//"),l.dataTypes=p.trim(l.dataType||"*").toLowerCase().split(s),l.crossDomain==null&&(i=ct.exec(l.url.toLowerCase())||!1,l.crossDomain=i&&i.join(":")+(i[3]?"":i[1]==="http:"?80:443)!==cj.join(":")+(cj[3]?"":cj[1]==="http:"?80:443)),l.data&&l.processData&&typeof l.data!="string"&&(l.data=p.param(l.data,l.traditional)),cA(cv,l,c,x);if(v===2)return x;j=l.global,l.type=l.type.toUpperCase(),l.hasContent=!co.test(l.type),j&&p.active++===0&&p.event.trigger("ajaxStart");if(!l.hasContent){l.data&&(l.url+=(cq.test(l.url)?"&":"?")+l.data,delete l.data),d=l.url;if(l.cache===!1){var z=p.now(),A=l.url.replace(cs,"$1_="+z);l.url=A+(A===l.url?(cq.test(l.url)?"&":"?")+"_="+z:"")}}(l.data&&l.hasContent&&l.contentType!==!1||c.contentType)&&x.setRequestHeader("Content-Type",l.contentType),l.ifModified&&(d=d||l.url,p.lastModified[d]&&x.setRequestHeader("If-Modified-Since",p.lastModified[d]),p.etag[d]&&x.setRequestHeader("If-None-Match",p.etag[d])),x.setRequestHeader("Accept",l.dataTypes[0]&&l.accepts[l.dataTypes[0]]?l.accepts[l.dataTypes[0]]+(l.dataTypes[0]!=="*"?", "+cx+"; q=0.01":""):l.accepts["*"]);for(k in l.headers)x.setRequestHeader(k,l.headers[k]);if(!l.beforeSend||l.beforeSend.call(m,x,l)!==!1&&v!==2){w="abort";for(k in{success:1,error:1,complete:1})x[k](l[k]);g=cA(cw,l,c,x);if(!g)y(-1,"No Transport");else{x.readyState=1,j&&n.trigger("ajaxSend",[x,l]),l.async&&l.timeout>0&&(h=setTimeout(function(){x.abort("timeout")},l.timeout));try{v=1,g.send(t,y)}catch(B){if(v<2)y(-1,B);else throw B}}return x}return x.abort()},active:0,lastModified:{},etag:{}});var cE=[],cF=/\?/,cG=/(=)\?(?=&|$)|\?\?/,cH=p.now();p.ajaxSetup({jsonp:"callback",jsonpCallback:function(){var a=cE.pop()||p.expando+"_"+cH++;return this[a]=!0,a}}),p.ajaxPrefilter("json jsonp",function(c,d,e){var f,g,h,i=c.data,j=c.url,k=c.jsonp!==!1,l=k&&cG.test(j),m=k&&!l&&typeof i=="string"&&!(c.contentType||"").indexOf("application/x-www-form-urlencoded")&&cG.test(i);if(c.dataTypes[0]==="jsonp"||l||m)return f=c.jsonpCallback=p.isFunction(c.jsonpCallback)?c.jsonpCallback():c.jsonpCallback,g=a[f],l?c.url=j.replace(cG,"$1"+f):m?c.data=i.replace(cG,"$1"+f):k&&(c.url+=(cF.test(j)?"&":"?")+c.jsonp+"="+f),c.converters["script json"]=function(){return h||p.error(f+" was not called"),h[0]},c.dataTypes[0]="json",a[f]=function(){h=arguments},e.always(function(){a[f]=g,c[f]&&(c.jsonpCallback=d.jsonpCallback,cE.push(f)),h&&p.isFunction(g)&&g(h[0]),h=g=b}),"script"}),p.ajaxSetup({accepts:{script:"text/javascript, application/javascript, application/ecmascript, application/x-ecmascript"},contents:{script:/javascript|ecmascript/},converters:{"text script":function(a){return p.globalEval(a),a}}}),p.ajaxPrefilter("script",function(a){a.cache===b&&(a.cache=!1),a.crossDomain&&(a.type="GET",a.global=!1)}),p.ajaxTransport("script",function(a){if(a.crossDomain){var c,d=e.head||e.getElementsByTagName("head")[0]||e.documentElement;return{send:function(f,g){c=e.createElement("script"),c.async="async",a.scriptCharset&&(c.charset=a.scriptCharset),c.src=a.url,c.onload=c.onreadystatechange=function(a,e){if(e||!c.readyState||/loaded|complete/.test(c.readyState))c.onload=c.onreadystatechange=null,d&&c.parentNode&&d.removeChild(c),c=b,e||g(200,"success")},d.insertBefore(c,d.firstChild)},abort:function(){c&&c.onload(0,1)}}}});var cI,cJ=a.ActiveXObject?function(){for(var a in cI)cI[a](0,1)}:!1,cK=0;p.ajaxSettings.xhr=a.ActiveXObject?function(){return!this.isLocal&&cL()||cM()}:cL,function(a){p.extend(p.support,{ajax:!!a,cors:!!a&&"withCredentials"in a})}(p.ajaxSettings.xhr()),p.support.ajax&&p.ajaxTransport(function(c){if(!c.crossDomain||p.support.cors){var d;return{send:function(e,f){var g,h,i=c.xhr();c.username?i.open(c.type,c.url,c.async,c.username,c.password):i.open(c.type,c.url,c.async);if(c.xhrFields)for(h in c.xhrFields)i[h]=c.xhrFields[h];c.mimeType&&i.overrideMimeType&&i.overrideMimeType(c.mimeType),!c.crossDomain&&!e["X-Requested-With"]&&(e["X-Requested-With"]="XMLHttpRequest");try{for(h in e)i.setRequestHeader(h,e[h])}catch(j){}i.send(c.hasContent&&c.data||null),d=function(a,e){var h,j,k,l,m;try{if(d&&(e||i.readyState===4)){d=b,g&&(i.onreadystatechange=p.noop,cJ&&delete cI[g]);if(e)i.readyState!==4&&i.abort();else{h=i.status,k=i.getAllResponseHeaders(),l={},m=i.responseXML,m&&m.documentElement&&(l.xml=m);try{l.text=i.responseText}catch(a){}try{j=i.statusText}catch(n){j=""}!h&&c.isLocal&&!c.crossDomain?h=l.text?200:404:h===1223&&(h=204)}}}catch(o){e||f(-1,o)}l&&f(h,j,l,k)},c.async?i.readyState===4?setTimeout(d,0):(g=++cK,cJ&&(cI||(cI={},p(a).unload(cJ)),cI[g]=d),i.onreadystatechange=d):d()},abort:function(){d&&d(0,1)}}}});var cN,cO,cP=/^(?:toggle|show|hide)$/,cQ=new RegExp("^(?:([-+])=|)("+q+")([a-z%]*)$","i"),cR=/queueHooks$/,cS=[cY],cT={"*":[function(a,b){var c,d,e=this.createTween(a,b),f=cQ.exec(b),g=e.cur(),h=+g||0,i=1,j=20;if(f){c=+f[2],d=f[3]||(p.cssNumber[a]?"":"px");if(d!=="px"&&h){h=p.css(e.elem,a,!0)||c||1;do i=i||".5",h=h/i,p.style(e.elem,a,h+d);while(i!==(i=e.cur()/g)&&i!==1&&--j)}e.unit=d,e.start=h,e.end=f[1]?h+(f[1]+1)*c:c}return e}]};p.Animation=p.extend(cW,{tweener:function(a,b){p.isFunction(a)?(b=a,a=["*"]):a=a.split(" ");var c,d=0,e=a.length;for(;d-1,j={},k={},l,m;i?(k=e.position(),l=k.top,m=k.left):(l=parseFloat(g)||0,m=parseFloat(h)||0),p.isFunction(b)&&(b=b.call(a,c,f)),b.top!=null&&(j.top=b.top-f.top+l),b.left!=null&&(j.left=b.left-f.left+m),"using"in b?b.using.call(a,j):e.css(j)}},p.fn.extend({position:function(){if(!this[0])return;var a=this[0],b=this.offsetParent(),c=this.offset(),d=c_.test(b[0].nodeName)?{top:0,left:0}:b.offset();return c.top-=parseFloat(p.css(a,"marginTop"))||0,c.left-=parseFloat(p.css(a,"marginLeft"))||0,d.top+=parseFloat(p.css(b[0],"borderTopWidth"))||0,d.left+=parseFloat(p.css(b[0],"borderLeftWidth"))||0,{top:c.top-d.top,left:c.left-d.left}},offsetParent:function(){return this.map(function(){var a=this.offsetParent||e.body;while(a&&!c_.test(a.nodeName)&&p.css(a,"position")==="static")a=a.offsetParent;return a||e.body})}}),p.each({scrollLeft:"pageXOffset",scrollTop:"pageYOffset"},function(a,c){var d=/Y/.test(c);p.fn[a]=function(e){return p.access(this,function(a,e,f){var g=da(a);if(f===b)return g?c in g?g[c]:g.document.documentElement[e]:a[e];g?g.scrollTo(d?p(g).scrollLeft():f,d?f:p(g).scrollTop()):a[e]=f},a,e,arguments.length,null)}}),p.each({Height:"height",Width:"width"},function(a,c){p.each({padding:"inner"+a,content:c,"":"outer"+a},function(d,e){p.fn[e]=function(e,f){var g=arguments.length&&(d||typeof e!="boolean"),h=d||(e===!0||f===!0?"margin":"border");return p.access(this,function(c,d,e){var f;return p.isWindow(c)?c.document.documentElement["client"+a]:c.nodeType===9?(f=c.documentElement,Math.max(c.body["scroll"+a],f["scroll"+a],c.body["offset"+a],f["offset"+a],f["client"+a])):e===b?p.css(c,d,e,h):p.style(c,d,e,h)},c,g?e:b,g,null)}})}),a.jQuery=a.$=p,typeof define=="function"&&define.amd&&define.amd.jQuery&&define("jquery",[],function(){return p})})(window); \ No newline at end of file diff --git a/manual1903/api_reference/components/scaladocs/lib/jquery.layout.js b/manual1903/api_reference/components/scaladocs/lib/jquery.layout.js new file mode 100644 index 0000000000000000000000000000000000000000..d5e008d2899581b2d3b83cbdbb87d86e05543ff3 --- /dev/null +++ b/manual1903/api_reference/components/scaladocs/lib/jquery.layout.js @@ -0,0 +1,5486 @@ +/** + * @preserve jquery.layout 1.3.0 - Release Candidate 30.62 + * $Date: 2012-08-04 08:00:00 (Thu, 23 Aug 2012) $ + * $Rev: 303006 $ + * + * Copyright (c) 2012 + * Fabrizio Balliano (http://www.fabrizioballiano.net) + * Kevin Dalman (http://allpro.net) + * + * Dual licensed under the GPL (http://www.gnu.org/licenses/gpl.html) + * and MIT (http://www.opensource.org/licenses/mit-license.php) licenses. + * + * Changelog: http://layout.jquery-dev.net/changelog.cfm#1.3.0.rc30.62 + * NOTE: This is a short-term release to patch a couple of bugs. + * These bugs are listed as officially fixed in RC30.7, which will be released shortly. + * + * Docs: http://layout.jquery-dev.net/documentation.html + * Tips: http://layout.jquery-dev.net/tips.html + * Help: http://groups.google.com/group/jquery-ui-layout + */ + +/* JavaDoc Info: http://code.google.com/closure/compiler/docs/js-for-compiler.html + * {!Object} non-nullable type (never NULL) + * {?string} nullable type (sometimes NULL) - default for {Object} + * {number=} optional parameter + * {*} ALL types + */ + +// NOTE: For best readability, view with a fixed-width font and tabs equal to 4-chars + +;(function ($) { + +// alias Math methods - used a lot! +var min = Math.min +, max = Math.max +, round = Math.floor + +, isStr = function (v) { return $.type(v) === "string"; } + +, runPluginCallbacks = function (Instance, a_fn) { + if ($.isArray(a_fn)) + for (var i=0, c=a_fn.length; i
                                                ').appendTo("body"); + var d = { width: $c.width() - $c[0].clientWidth, height: $c.height() - $c[0].clientHeight }; + $c.remove(); + window.scrollbarWidth = d.width; + window.scrollbarHeight = d.height; + return dim.match(/^(width|height)$/) ? d[dim] : d; + } + + + /** + * Returns hash container 'display' and 'visibility' + * + * @see $.swap() - swaps CSS, runs callback, resets CSS + */ +, showInvisibly: function ($E, force) { + if ($E && $E.length && (force || $E.css('display') === "none")) { // only if not *already hidden* + var s = $E[0].style + // save ONLY the 'style' props because that is what we must restore + , CSS = { display: s.display || '', visibility: s.visibility || '' }; + // show element 'invisibly' so can be measured + $E.css({ display: "block", visibility: "hidden" }); + return CSS; + } + return {}; + } + + /** + * Returns data for setting size of an element (container or a pane). + * + * @see _create(), onWindowResize() for container, plus others for pane + * @return JSON Returns a hash of all dimensions: top, bottom, left, right, outerWidth, innerHeight, etc + */ +, getElementDimensions: function ($E) { + var + d = {} // dimensions hash + , x = d.css = {} // CSS hash + , i = {} // TEMP insets + , b, p // TEMP border, padding + , N = $.layout.cssNum + , off = $E.offset() + ; + d.offsetLeft = off.left; + d.offsetTop = off.top; + + $.each("Left,Right,Top,Bottom".split(","), function (idx, e) { // e = edge + b = x["border" + e] = $.layout.borderWidth($E, e); + p = x["padding"+ e] = $.layout.cssNum($E, "padding"+e); + i[e] = b + p; // total offset of content from outer side + d["inset"+ e] = p; // eg: insetLeft = paddingLeft + }); + + d.offsetWidth = $E.innerWidth(); // offsetWidth is used in calc when doing manual resize + d.offsetHeight = $E.innerHeight(); // ditto + d.outerWidth = $E.outerWidth(); + d.outerHeight = $E.outerHeight(); + d.innerWidth = max(0, d.outerWidth - i.Left - i.Right); + d.innerHeight = max(0, d.outerHeight - i.Top - i.Bottom); + + x.width = $E.width(); + x.height = $E.height(); + x.top = N($E,"top",true); + x.bottom = N($E,"bottom",true); + x.left = N($E,"left",true); + x.right = N($E,"right",true); + + //d.visible = $E.is(":visible");// && x.width > 0 && x.height > 0; + + return d; + } + +, getElementCSS: function ($E, list) { + var + CSS = {} + , style = $E[0].style + , props = list.split(",") + , sides = "Top,Bottom,Left,Right".split(",") + , attrs = "Color,Style,Width".split(",") + , p, s, a, i, j, k + ; + for (i=0; i < props.length; i++) { + p = props[i]; + if (p.match(/(border|padding|margin)$/)) + for (j=0; j < 4; j++) { + s = sides[j]; + if (p === "border") + for (k=0; k < 3; k++) { + a = attrs[k]; + CSS[p+s+a] = style[p+s+a]; + } + else + CSS[p+s] = style[p+s]; + } + else + CSS[p] = style[p]; + }; + return CSS + } + + /** + * Return the innerWidth for the current browser/doctype + * + * @see initPanes(), sizeMidPanes(), initHandles(), sizeHandles() + * @param {Array.} $E Must pass a jQuery object - first element is processed + * @param {number=} outerWidth (optional) Can pass a width, allowing calculations BEFORE element is resized + * @return {number} Returns the innerWidth of the elem by subtracting padding and borders + */ +, cssWidth: function ($E, outerWidth) { + // a 'calculated' outerHeight can be passed so borders and/or padding are removed if needed + if (outerWidth <= 0) return 0; + + if (!$.layout.browser.boxModel) return outerWidth; + + // strip border and padding from outerWidth to get CSS Width + var b = $.layout.borderWidth + , n = $.layout.cssNum + , W = outerWidth + - b($E, "Left") + - b($E, "Right") + - n($E, "paddingLeft") + - n($E, "paddingRight"); + + return max(0,W); + } + + /** + * Return the innerHeight for the current browser/doctype + * + * @see initPanes(), sizeMidPanes(), initHandles(), sizeHandles() + * @param {Array.} $E Must pass a jQuery object - first element is processed + * @param {number=} outerHeight (optional) Can pass a width, allowing calculations BEFORE element is resized + * @return {number} Returns the innerHeight of the elem by subtracting padding and borders + */ +, cssHeight: function ($E, outerHeight) { + // a 'calculated' outerHeight can be passed so borders and/or padding are removed if needed + if (outerHeight <= 0) return 0; + + if (!$.layout.browser.boxModel) return outerHeight; + + // strip border and padding from outerHeight to get CSS Height + var b = $.layout.borderWidth + , n = $.layout.cssNum + , H = outerHeight + - b($E, "Top") + - b($E, "Bottom") + - n($E, "paddingTop") + - n($E, "paddingBottom"); + + return max(0,H); + } + + /** + * Returns the 'current CSS numeric value' for a CSS property - 0 if property does not exist + * + * @see Called by many methods + * @param {Array.} $E Must pass a jQuery object - first element is processed + * @param {string} prop The name of the CSS property, eg: top, width, etc. + * @param {boolean=} [allowAuto=false] true = return 'auto' if that is value; false = return 0 + * @return {(string|number)} Usually used to get an integer value for position (top, left) or size (height, width) + */ +, cssNum: function ($E, prop, allowAuto) { + if (!$E.jquery) $E = $($E); + var CSS = $.layout.showInvisibly($E) + , p = $.css($E[0], prop, true) + , v = allowAuto && p=="auto" ? p : (parseInt(p, 10) || 0); + $E.css( CSS ); // RESET + return v; + } + +, borderWidth: function (el, side) { + if (el.jquery) el = el[0]; + var b = "border"+ side.substr(0,1).toUpperCase() + side.substr(1); // left => Left + return $.css(el, b+"Style", true) === "none" ? 0 : (parseInt($.css(el, b+"Width", true), 10) || 0); + } + + /** + * Mouse-tracking utility - FUTURE REFERENCE + * + * init: if (!window.mouse) { + * window.mouse = { x: 0, y: 0 }; + * $(document).mousemove( $.layout.trackMouse ); + * } + * + * @param {Object} evt + * +, trackMouse: function (evt) { + window.mouse = { x: evt.clientX, y: evt.clientY }; + } + */ + + /** + * SUBROUTINE for preventPrematureSlideClose option + * + * @param {Object} evt + * @param {Object=} el + */ +, isMouseOverElem: function (evt, el) { + var + $E = $(el || this) + , d = $E.offset() + , T = d.top + , L = d.left + , R = L + $E.outerWidth() + , B = T + $E.outerHeight() + , x = evt.pageX // evt.clientX ? + , y = evt.pageY // evt.clientY ? + ; + // if X & Y are < 0, probably means is over an open SELECT + return ($.layout.browser.msie && x < 0 && y < 0) || ((x >= L && x <= R) && (y >= T && y <= B)); + } + + /** + * Message/Logging Utility + * + * @example $.layout.msg("My message"); // log text + * @example $.layout.msg("My message", true); // alert text + * @example $.layout.msg({ foo: "bar" }, "Title"); // log hash-data, with custom title + * @example $.layout.msg({ foo: "bar" }, true, "Title", { sort: false }); -OR- + * @example $.layout.msg({ foo: "bar" }, "Title", { sort: false, display: true }); // alert hash-data + * + * @param {(Object|string)} info String message OR Hash/Array + * @param {(Boolean|string|Object)=} [popup=false] True means alert-box - can be skipped + * @param {(Object|string)=} [debugTitle=""] Title for Hash data - can be skipped + * @param {Object=} [debugOpts] Extra options for debug output + */ +, msg: function (info, popup, debugTitle, debugOpts) { + if ($.isPlainObject(info) && window.debugData) { + if (typeof popup === "string") { + debugOpts = debugTitle; + debugTitle = popup; + } + else if (typeof debugTitle === "object") { + debugOpts = debugTitle; + debugTitle = null; + } + var t = debugTitle || "log( )" + , o = $.extend({ sort: false, returnHTML: false, display: false }, debugOpts); + if (popup === true || o.display) + debugData( info, t, o ); + else if (window.console) + console.log(debugData( info, t, o )); + } + else if (popup) + alert(info); + else if (window.console) + console.log(info); + else { + var id = "#layoutLogger" + , $l = $(id); + if (!$l.length) + $l = createLog(); + $l.children("ul").append('
                                              9. '+ info.replace(/\/g,">") +'
                                              10. '); + } + + function createLog () { + var pos = $.support.fixedPosition ? 'fixed' : 'absolute' + , $e = $('
                                                ' + + '
                                                ' + + 'XLayout console.log
                                                ' + + '
                                                  ' + + '
                                                  ' + ).appendTo("body"); + $e.css('left', $(window).width() - $e.outerWidth() - 5) + if ($.ui.draggable) $e.draggable({ handle: ':first-child' }); + return $e; + }; + } + +}; + +// DEFAULT OPTIONS +$.layout.defaults = { +/* + * LAYOUT & LAYOUT-CONTAINER OPTIONS + * - none of these options are applicable to individual panes + */ + name: "" // Not required, but useful for buttons and used for the state-cookie +, containerSelector: "" // ONLY used when specifying a childOptions - to find container-element that is NOT directly-nested +, containerClass: "ui-layout-container" // layout-container element +, scrollToBookmarkOnLoad: true // after creating a layout, scroll to bookmark in URL (.../page.htm#myBookmark) +, resizeWithWindow: true // bind thisLayout.resizeAll() to the window.resize event +, resizeWithWindowDelay: 200 // delay calling resizeAll because makes window resizing very jerky +, resizeWithWindowMaxDelay: 0 // 0 = none - force resize every XX ms while window is being resized +, onresizeall_start: null // CALLBACK when resizeAll() STARTS - NOT pane-specific +, onresizeall_end: null // CALLBACK when resizeAll() ENDS - NOT pane-specific +, onload_start: null // CALLBACK when Layout inits - after options initialized, but before elements +, onload_end: null // CALLBACK when Layout inits - after EVERYTHING has been initialized +, onunload_start: null // CALLBACK when Layout is destroyed OR onWindowUnload +, onunload_end: null // CALLBACK when Layout is destroyed OR onWindowUnload +, initPanes: true // false = DO NOT initialize the panes onLoad - will init later +, showErrorMessages: true // enables fatal error messages to warn developers of common errors +, showDebugMessages: false // display console-and-alert debug msgs - IF this Layout version _has_ debugging code! +// Changing this zIndex value will cause other zIndex values to automatically change +, zIndex: null // the PANE zIndex - resizers and masks will be +1 +// DO NOT CHANGE the zIndex values below unless you clearly understand their relationships +, zIndexes: { // set _default_ z-index values here... + pane_normal: 0 // normal z-index for panes + , content_mask: 1 // applied to overlays used to mask content INSIDE panes during resizing + , resizer_normal: 2 // normal z-index for resizer-bars + , pane_sliding: 100 // applied to *BOTH* the pane and its resizer when a pane is 'slid open' + , pane_animate: 1000 // applied to the pane when being animated - not applied to the resizer + , resizer_drag: 10000 // applied to the CLONED resizer-bar when being 'dragged' + } +, errors: { + pane: "pane" // description of "layout pane element" - used only in error messages + , selector: "selector" // description of "jQuery-selector" - used only in error messages + , addButtonError: "Error Adding Button \n\nInvalid " + , containerMissing: "UI Layout Initialization Error\n\nThe specified layout-container does not exist." + , centerPaneMissing: "UI Layout Initialization Error\n\nThe center-pane element does not exist.\n\nThe center-pane is a required element." + , noContainerHeight: "UI Layout Initialization Warning\n\nThe layout-container \"CONTAINER\" has no height.\n\nTherefore the layout is 0-height and hence 'invisible'!" + , callbackError: "UI Layout Callback Error\n\nThe EVENT callback is not a valid function." + } +/* + * PANE DEFAULT SETTINGS + * - settings under the 'panes' key become the default settings for *all panes* + * - ALL pane-options can also be set specifically for each panes, which will override these 'default values' + */ +, panes: { // default options for 'all panes' - will be overridden by 'per-pane settings' + applyDemoStyles: false // NOTE: renamed from applyDefaultStyles for clarity + , closable: true // pane can open & close + , resizable: true // when open, pane can be resized + , slidable: true // when closed, pane can 'slide open' over other panes - closes on mouse-out + , initClosed: false // true = init pane as 'closed' + , initHidden: false // true = init pane as 'hidden' - no resizer-bar/spacing + // SELECTORS + //, paneSelector: "" // MUST be pane-specific - jQuery selector for pane + , contentSelector: ".ui-layout-content" // INNER div/element to auto-size so only it scrolls, not the entire pane! + , contentIgnoreSelector: ".ui-layout-ignore" // element(s) to 'ignore' when measuring 'content' + , findNestedContent: false // true = $P.find(contentSelector), false = $P.children(contentSelector) + // GENERIC ROOT-CLASSES - for auto-generated classNames + , paneClass: "ui-layout-pane" // Layout Pane + , resizerClass: "ui-layout-resizer" // Resizer Bar + , togglerClass: "ui-layout-toggler" // Toggler Button + , buttonClass: "ui-layout-button" // CUSTOM Buttons - eg: '[ui-layout-button]-toggle/-open/-close/-pin' + // ELEMENT SIZE & SPACING + //, size: 100 // MUST be pane-specific -initial size of pane + , minSize: 0 // when manually resizing a pane + , maxSize: 0 // ditto, 0 = no limit + , spacing_open: 6 // space between pane and adjacent panes - when pane is 'open' + , spacing_closed: 6 // ditto - when pane is 'closed' + , togglerLength_open: 50 // Length = WIDTH of toggler button on north/south sides - HEIGHT on east/west sides + , togglerLength_closed: 50 // 100% OR -1 means 'full height/width of resizer bar' - 0 means 'hidden' + , togglerAlign_open: "center" // top/left, bottom/right, center, OR... + , togglerAlign_closed: "center" // 1 => nn = offset from top/left, -1 => -nn == offset from bottom/right + , togglerContent_open: "" // text or HTML to put INSIDE the toggler + , togglerContent_closed: "" // ditto + // RESIZING OPTIONS + , resizerDblClickToggle: true // + , autoResize: true // IF size is 'auto' or a percentage, then recalc 'pixel size' whenever the layout resizes + , autoReopen: true // IF a pane was auto-closed due to noRoom, reopen it when there is room? False = leave it closed + , resizerDragOpacity: 1 // option for ui.draggable + //, resizerCursor: "" // MUST be pane-specific - cursor when over resizer-bar + , maskContents: false // true = add DIV-mask over-or-inside this pane so can 'drag' over IFRAMES + , maskObjects: false // true = add IFRAME-mask over-or-inside this pane to cover objects/applets - content-mask will overlay this mask + , maskZindex: null // will override zIndexes.content_mask if specified - not applicable to iframe-panes + , resizingGrid: false // grid size that the resizers will snap-to during resizing, eg: [20,20] + , livePaneResizing: false // true = LIVE Resizing as resizer is dragged + , liveContentResizing: false // true = re-measure header/footer heights as resizer is dragged + , liveResizingTolerance: 1 // how many px change before pane resizes, to control performance + // SLIDING OPTIONS + , sliderCursor: "pointer" // cursor when resizer-bar will trigger 'sliding' + , slideTrigger_open: "click" // click, dblclick, mouseenter + , slideTrigger_close: "mouseleave"// click, mouseleave + , slideDelay_open: 300 // applies only for mouseenter event - 0 = instant open + , slideDelay_close: 300 // applies only for mouseleave event (300ms is the minimum!) + , hideTogglerOnSlide: false // when pane is slid-open, should the toggler show? + , preventQuickSlideClose: $.layout.browser.webkit // Chrome triggers slideClosed as it is opening + , preventPrematureSlideClose: false // handle incorrect mouseleave trigger, like when over a SELECT-list in IE + // PANE-SPECIFIC TIPS & MESSAGES + , tips: { + Open: "Open" // eg: "Open Pane" + , Close: "Close" + , Resize: "Resize" + , Slide: "Slide Open" + , Pin: "Pin" + , Unpin: "Un-Pin" + , noRoomToOpen: "Not enough room to show this panel." // alert if user tries to open a pane that cannot + , minSizeWarning: "Panel has reached its minimum size" // displays in browser statusbar + , maxSizeWarning: "Panel has reached its maximum size" // ditto + } + // HOT-KEYS & MISC + , showOverflowOnHover: false // will bind allowOverflow() utility to pane.onMouseOver + , enableCursorHotkey: true // enabled 'cursor' hotkeys + //, customHotkey: "" // MUST be pane-specific - EITHER a charCode OR a character + , customHotkeyModifier: "SHIFT" // either 'SHIFT', 'CTRL' or 'CTRL+SHIFT' - NOT 'ALT' + // PANE ANIMATION + // NOTE: fxSss_open, fxSss_close & fxSss_size options (eg: fxName_open) are auto-generated if not passed + , fxName: "slide" // ('none' or blank), slide, drop, scale -- only relevant to 'open' & 'close', NOT 'size' + , fxSpeed: null // slow, normal, fast, 200, nnn - if passed, will OVERRIDE fxSettings.duration + , fxSettings: {} // can be passed, eg: { easing: "easeOutBounce", duration: 1500 } + , fxOpacityFix: true // tries to fix opacity in IE to restore anti-aliasing after animation + , animatePaneSizing: false // true = animate resizing after dragging resizer-bar OR sizePane() is called + /* NOTE: Action-specific FX options are auto-generated from the options above if not specifically set: + fxName_open: "slide" // 'Open' pane animation + fnName_close: "slide" // 'Close' pane animation + fxName_size: "slide" // 'Size' pane animation - when animatePaneSizing = true + fxSpeed_open: null + fxSpeed_close: null + fxSpeed_size: null + fxSettings_open: {} + fxSettings_close: {} + fxSettings_size: {} + */ + // CHILD/NESTED LAYOUTS + , childOptions: null // Layout-options for nested/child layout - even {} is valid as options + , initChildLayout: true // true = child layout will be created as soon as _this_ layout completes initialization + , destroyChildLayout: true // true = destroy child-layout if this pane is destroyed + , resizeChildLayout: true // true = trigger child-layout.resizeAll() when this pane is resized + // EVENT TRIGGERING + , triggerEventsOnLoad: false // true = trigger onopen OR onclose callbacks when layout initializes + , triggerEventsDuringLiveResize: true // true = trigger onresize callback REPEATEDLY if livePaneResizing==true + // PANE CALLBACKS + , onshow_start: null // CALLBACK when pane STARTS to Show - BEFORE onopen/onhide_start + , onshow_end: null // CALLBACK when pane ENDS being Shown - AFTER onopen/onhide_end + , onhide_start: null // CALLBACK when pane STARTS to Close - BEFORE onclose_start + , onhide_end: null // CALLBACK when pane ENDS being Closed - AFTER onclose_end + , onopen_start: null // CALLBACK when pane STARTS to Open + , onopen_end: null // CALLBACK when pane ENDS being Opened + , onclose_start: null // CALLBACK when pane STARTS to Close + , onclose_end: null // CALLBACK when pane ENDS being Closed + , onresize_start: null // CALLBACK when pane STARTS being Resized ***FOR ANY REASON*** + , onresize_end: null // CALLBACK when pane ENDS being Resized ***FOR ANY REASON*** + , onsizecontent_start: null // CALLBACK when sizing of content-element STARTS + , onsizecontent_end: null // CALLBACK when sizing of content-element ENDS + , onswap_start: null // CALLBACK when pane STARTS to Swap + , onswap_end: null // CALLBACK when pane ENDS being Swapped + , ondrag_start: null // CALLBACK when pane STARTS being ***MANUALLY*** Resized + , ondrag_end: null // CALLBACK when pane ENDS being ***MANUALLY*** Resized + } +/* + * PANE-SPECIFIC SETTINGS + * - options listed below MUST be specified per-pane - they CANNOT be set under 'panes' + * - all options under the 'panes' key can also be set specifically for any pane + * - most options under the 'panes' key apply only to 'border-panes' - NOT the center-pane + */ +, north: { + paneSelector: ".ui-layout-north" + , size: "auto" // eg: "auto", "30%", .30, 200 + , resizerCursor: "n-resize" // custom = url(myCursor.cur) + , customHotkey: "" // EITHER a charCode (43) OR a character ("o") + } +, south: { + paneSelector: ".ui-layout-south" + , size: "auto" + , resizerCursor: "s-resize" + , customHotkey: "" + } +, east: { + paneSelector: ".ui-layout-east" + , size: 200 + , resizerCursor: "e-resize" + , customHotkey: "" + } +, west: { + paneSelector: ".ui-layout-west" + , size: 200 + , resizerCursor: "w-resize" + , customHotkey: "" + } +, center: { + paneSelector: ".ui-layout-center" + , minWidth: 0 + , minHeight: 0 + } +}; + +$.layout.optionsMap = { + // layout/global options - NOT pane-options + layout: ("stateManagement,effects,zIndexes,errors," + + "name,zIndex,scrollToBookmarkOnLoad,showErrorMessages," + + "resizeWithWindow,resizeWithWindowDelay,resizeWithWindowMaxDelay," + + "onresizeall,onresizeall_start,onresizeall_end,onload,onunload").split(",") +// borderPanes: [ ALL options that are NOT specified as 'layout' ] + // default.panes options that apply to the center-pane (most options apply _only_ to border-panes) +, center: ("paneClass,contentSelector,contentIgnoreSelector,findNestedContent,applyDemoStyles,triggerEventsOnLoad," + + "showOverflowOnHover,maskContents,maskObjects,liveContentResizing," + + "childOptions,initChildLayout,resizeChildLayout,destroyChildLayout," + + "onresize,onresize_start,onresize_end,onsizecontent,onsizecontent_start,onsizecontent_end").split(",") + // options that MUST be specifically set 'per-pane' - CANNOT set in the panes (defaults) key +, noDefault: ("paneSelector,resizerCursor,customHotkey").split(",") +}; + +/** + * Processes options passed in converts flat-format data into subkey (JSON) format + * In flat-format, subkeys are _currently_ separated with 2 underscores, like north__optName + * Plugins may also call this method so they can transform their own data + * + * @param {!Object} hash Data/options passed by user - may be a single level or nested levels + * @return {Object} Returns hash of minWidth & minHeight + */ +$.layout.transformData = function (hash) { + var json = { panes: {}, center: {} } // init return object + , data, branch, optKey, keys, key, val, i, c; + + if (typeof hash !== "object") return json; // no options passed + + // convert all 'flat-keys' to 'sub-key' format + for (optKey in hash) { + branch = json; + data = $.layout.optionsMap.layout; + val = hash[ optKey ]; + keys = optKey.split("__"); // eg: west__size or north__fxSettings__duration + c = keys.length - 1; + // convert underscore-delimited to subkeys + for (i=0; i <= c; i++) { + key = keys[i]; + if (i === c) + branch[key] = val; + else if (!branch[key]) + branch[key] = {}; // create the subkey + // recurse to sub-key for next loop - if not done + branch = branch[key]; + } + } + + return json; +}; + +// INTERNAL CONFIG DATA - DO NOT CHANGE THIS! +$.layout.backwardCompatibility = { + // data used by renameOldOptions() + map: { + // OLD Option Name: NEW Option Name + applyDefaultStyles: "applyDemoStyles" + , resizeNestedLayout: "resizeChildLayout" + , resizeWhileDragging: "livePaneResizing" + , resizeContentWhileDragging: "liveContentResizing" + , triggerEventsWhileDragging: "triggerEventsDuringLiveResize" + , maskIframesOnResize: "maskContents" + , useStateCookie: "stateManagement.enabled" + , "cookie.autoLoad": "stateManagement.autoLoad" + , "cookie.autoSave": "stateManagement.autoSave" + , "cookie.keys": "stateManagement.stateKeys" + , "cookie.name": "stateManagement.cookie.name" + , "cookie.domain": "stateManagement.cookie.domain" + , "cookie.path": "stateManagement.cookie.path" + , "cookie.expires": "stateManagement.cookie.expires" + , "cookie.secure": "stateManagement.cookie.secure" + // OLD Language options + , noRoomToOpenTip: "tips.noRoomToOpen" + , togglerTip_open: "tips.Close" // open = Close + , togglerTip_closed: "tips.Open" // closed = Open + , resizerTip: "tips.Resize" + , sliderTip: "tips.Slide" + } + +/** +* @param {Object} opts +*/ +, renameOptions: function (opts) { + var map = $.layout.backwardCompatibility.map + , oldData, newData, value + ; + for (var itemPath in map) { + oldData = getBranch( itemPath ); + value = oldData.branch[ oldData.key ]; + if (value !== undefined) { + newData = getBranch( map[itemPath], true ); + newData.branch[ newData.key ] = value; + delete oldData.branch[ oldData.key ]; + } + } + + /** + * @param {string} path + * @param {boolean=} [create=false] Create path if does not exist + */ + function getBranch (path, create) { + var a = path.split(".") // split keys into array + , c = a.length - 1 + , D = { branch: opts, key: a[c] } // init branch at top & set key (last item) + , i = 0, k, undef; + for (; i 0) { + if (autoHide && $E.data('autoHidden') && $E.innerHeight() > 0) { + $E.show().data('autoHidden', false); + if (!browser.mozilla) // FireFox refreshes iframes - IE does not + // make hidden, then visible to 'refresh' display after animation + $E.css(_c.hidden).css(_c.visible); + } + } + else if (autoHide && !$E.data('autoHidden')) + $E.hide().data('autoHidden', true); + } + + /** + * @param {(string|!Object)} el + * @param {number=} outerHeight + * @param {boolean=} [autoHide=false] + */ +, setOuterHeight = function (el, outerHeight, autoHide) { + var $E = el, h; + if (isStr(el)) $E = $Ps[el]; // west + else if (!el.jquery) $E = $(el); + h = cssH($E, outerHeight); + $E.css({ height: h, visibility: "visible" }); // may have been 'hidden' by sizeContent + if (h > 0 && $E.innerWidth() > 0) { + if (autoHide && $E.data('autoHidden')) { + $E.show().data('autoHidden', false); + if (!browser.mozilla) // FireFox refreshes iframes - IE does not + $E.css(_c.hidden).css(_c.visible); + } + } + else if (autoHide && !$E.data('autoHidden')) + $E.hide().data('autoHidden', true); + } + + /** + * @param {(string|!Object)} el + * @param {number=} outerSize + * @param {boolean=} [autoHide=false] + */ +, setOuterSize = function (el, outerSize, autoHide) { + if (_c[pane].dir=="horz") // pane = north or south + setOuterHeight(el, outerSize, autoHide); + else // pane = east or west + setOuterWidth(el, outerSize, autoHide); + } + + + /** + * Converts any 'size' params to a pixel/integer size, if not already + * If 'auto' or a decimal/percentage is passed as 'size', a pixel-size is calculated + * + /** + * @param {string} pane + * @param {(string|number)=} size + * @param {string=} [dir] + * @return {number} + */ +, _parseSize = function (pane, size, dir) { + if (!dir) dir = _c[pane].dir; + + if (isStr(size) && size.match(/%/)) + size = (size === '100%') ? -1 : parseInt(size, 10) / 100; // convert % to decimal + + if (size === 0) + return 0; + else if (size >= 1) + return parseInt(size, 10); + + var o = options, avail = 0; + if (dir=="horz") // north or south or center.minHeight + avail = sC.innerHeight - ($Ps.north ? o.north.spacing_open : 0) - ($Ps.south ? o.south.spacing_open : 0); + else if (dir=="vert") // east or west or center.minWidth + avail = sC.innerWidth - ($Ps.west ? o.west.spacing_open : 0) - ($Ps.east ? o.east.spacing_open : 0); + + if (size === -1) // -1 == 100% + return avail; + else if (size > 0) // percentage, eg: .25 + return round(avail * size); + else if (pane=="center") + return 0; + else { // size < 0 || size=='auto' || size==Missing || size==Invalid + // auto-size the pane + var dim = (dir === "horz" ? "height" : "width") + , $P = $Ps[pane] + , $C = dim === 'height' ? $Cs[pane] : false + , vis = $.layout.showInvisibly($P) // show pane invisibly if hidden + , szP = $P.css(dim) // SAVE current pane size + , szC = $C ? $C.css(dim) : 0 // SAVE current content size + ; + $P.css(dim, "auto"); + if ($C) $C.css(dim, "auto"); + size = (dim === "height") ? $P.outerHeight() : $P.outerWidth(); // MEASURE + $P.css(dim, szP).css(vis); // RESET size & visibility + if ($C) $C.css(dim, szC); + return size; + } + } + + /** + * Calculates current 'size' (outer-width or outer-height) of a border-pane - optionally with 'pane-spacing' added + * + * @param {(string|!Object)} pane + * @param {boolean=} [inclSpace=false] + * @return {number} Returns EITHER Width for east/west panes OR Height for north/south panes + */ +, getPaneSize = function (pane, inclSpace) { + var + $P = $Ps[pane] + , o = options[pane] + , s = state[pane] + , oSp = (inclSpace ? o.spacing_open : 0) + , cSp = (inclSpace ? o.spacing_closed : 0) + ; + if (!$P || s.isHidden) + return 0; + else if (s.isClosed || (s.isSliding && inclSpace)) + return cSp; + else if (_c[pane].dir === "horz") + return $P.outerHeight() + oSp; + else // dir === "vert" + return $P.outerWidth() + oSp; + } + + /** + * Calculate min/max pane dimensions and limits for resizing + * + * @param {string} pane + * @param {boolean=} [slide=false] + */ +, setSizeLimits = function (pane, slide) { + if (!isInitialized()) return; + var + o = options[pane] + , s = state[pane] + , c = _c[pane] + , dir = c.dir + , side = c.side.toLowerCase() + , type = c.sizeType.toLowerCase() + , isSliding = (slide != undefined ? slide : s.isSliding) // only open() passes 'slide' param + , $P = $Ps[pane] + , paneSpacing = o.spacing_open + // measure the pane on the *opposite side* from this pane + , altPane = _c.oppositeEdge[pane] + , altS = state[altPane] + , $altP = $Ps[altPane] + , altPaneSize = (!$altP || altS.isVisible===false || altS.isSliding ? 0 : (dir=="horz" ? $altP.outerHeight() : $altP.outerWidth())) + , altPaneSpacing = ((!$altP || altS.isHidden ? 0 : options[altPane][ altS.isClosed !== false ? "spacing_closed" : "spacing_open" ]) || 0) + // limitSize prevents this pane from 'overlapping' opposite pane + , containerSize = (dir=="horz" ? sC.innerHeight : sC.innerWidth) + , minCenterDims = cssMinDims("center") + , minCenterSize = dir=="horz" ? max(options.center.minHeight, minCenterDims.minHeight) : max(options.center.minWidth, minCenterDims.minWidth) + // if pane is 'sliding', then ignore center and alt-pane sizes - because 'overlays' them + , limitSize = (containerSize - paneSpacing - (isSliding ? 0 : (_parseSize("center", minCenterSize, dir) + altPaneSize + altPaneSpacing))) + , minSize = s.minSize = max( _parseSize(pane, o.minSize), cssMinDims(pane).minSize ) + , maxSize = s.maxSize = min( (o.maxSize ? _parseSize(pane, o.maxSize) : 100000), limitSize ) + , r = s.resizerPosition = {} // used to set resizing limits + , top = sC.insetTop + , left = sC.insetLeft + , W = sC.innerWidth + , H = sC.innerHeight + , rW = o.spacing_open // subtract resizer-width to get top/left position for south/east + ; + switch (pane) { + case "north": r.min = top + minSize; + r.max = top + maxSize; + break; + case "west": r.min = left + minSize; + r.max = left + maxSize; + break; + case "south": r.min = top + H - maxSize - rW; + r.max = top + H - minSize - rW; + break; + case "east": r.min = left + W - maxSize - rW; + r.max = left + W - minSize - rW; + break; + }; + } + + /** + * Returns data for setting the size/position of center pane. Also used to set Height for east/west panes + * + * @return JSON Returns a hash of all dimensions: top, bottom, left, right, (outer) width and (outer) height + */ +, calcNewCenterPaneDims = function () { + var d = { + top: getPaneSize("north", true) // true = include 'spacing' value for pane + , bottom: getPaneSize("south", true) + , left: getPaneSize("west", true) + , right: getPaneSize("east", true) + , width: 0 + , height: 0 + }; + + // NOTE: sC = state.container + // calc center-pane outer dimensions + d.width = sC.innerWidth - d.left - d.right; // outerWidth + d.height = sC.innerHeight - d.bottom - d.top; // outerHeight + // add the 'container border/padding' to get final positions relative to the container + d.top += sC.insetTop; + d.bottom += sC.insetBottom; + d.left += sC.insetLeft; + d.right += sC.insetRight; + + return d; + } + + + /** + * @param {!Object} el + * @param {boolean=} [allStates=false] + */ +, getHoverClasses = function (el, allStates) { + var + $El = $(el) + , type = $El.data("layoutRole") + , pane = $El.data("layoutEdge") + , o = options[pane] + , root = o[type +"Class"] + , _pane = "-"+ pane // eg: "-west" + , _open = "-open" + , _closed = "-closed" + , _slide = "-sliding" + , _hover = "-hover " // NOTE the trailing space + , _state = $El.hasClass(root+_closed) ? _closed : _open + , _alt = _state === _closed ? _open : _closed + , classes = (root+_hover) + (root+_pane+_hover) + (root+_state+_hover) + (root+_pane+_state+_hover) + ; + if (allStates) // when 'removing' classes, also remove alternate-state classes + classes += (root+_alt+_hover) + (root+_pane+_alt+_hover); + + if (type=="resizer" && $El.hasClass(root+_slide)) + classes += (root+_slide+_hover) + (root+_pane+_slide+_hover); + + return $.trim(classes); + } +, addHover = function (evt, el) { + var $E = $(el || this); + if (evt && $E.data("layoutRole") === "toggler") + evt.stopPropagation(); // prevent triggering 'slide' on Resizer-bar + $E.addClass( getHoverClasses($E) ); + } +, removeHover = function (evt, el) { + var $E = $(el || this); + $E.removeClass( getHoverClasses($E, true) ); + } + +, onResizerEnter = function (evt) { // ALSO called by toggler.mouseenter + if ($.fn.disableSelection) + $("body").disableSelection(); + } +, onResizerLeave = function (evt, el) { + var + e = el || this // el is only passed when called by the timer + , pane = $(e).data("layoutEdge") + , name = pane +"ResizerLeave" + ; + timer.clear(pane+"_openSlider"); // cancel slideOpen timer, if set + timer.clear(name); // cancel enableSelection timer - may re/set below + // this method calls itself on a timer because it needs to allow + // enough time for dragging to kick-in and set the isResizing flag + // dragging has a 100ms delay set, so this delay must be >100 + if (!el) // 1st call - mouseleave event + timer.set(name, function(){ onResizerLeave(evt, e); }, 200); + // if user is resizing, then dragStop will enableSelection(), so can skip it here + else if (!state[pane].isResizing && $.fn.enableSelection) // 2nd call - by timer + $("body").enableSelection(); + } + +/* + * ########################### + * INITIALIZATION METHODS + * ########################### + */ + + /** + * Initialize the layout - called automatically whenever an instance of layout is created + * + * @see none - triggered onInit + * @return mixed true = fully initialized | false = panes not initialized (yet) | 'cancel' = abort + */ +, _create = function () { + // initialize config/options + initOptions(); + var o = options; + + // TEMP state so isInitialized returns true during init process + state.creatingLayout = true; + + // init plugins for this layout, if there are any (eg: stateManagement) + runPluginCallbacks( Instance, $.layout.onCreate ); + + // options & state have been initialized, so now run beforeLoad callback + // onload will CANCEL layout creation if it returns false + if (false === _runCallbacks("onload_start")) + return 'cancel'; + + // initialize the container element + _initContainer(); + + // bind hotkey function - keyDown - if required + initHotkeys(); + + // bind window.onunload + $(window).bind("unload."+ sID, unload); + + // init plugins for this layout, if there are any (eg: customButtons) + runPluginCallbacks( Instance, $.layout.onLoad ); + + // if layout elements are hidden, then layout WILL NOT complete initialization! + // initLayoutElements will set initialized=true and run the onload callback IF successful + if (o.initPanes) _initLayoutElements(); + + delete state.creatingLayout; + + return state.initialized; + } + + /** + * Initialize the layout IF not already + * + * @see All methods in Instance run this test + * @return boolean true = layoutElements have been initialized | false = panes are not initialized (yet) + */ +, isInitialized = function () { + if (state.initialized || state.creatingLayout) return true; // already initialized + else return _initLayoutElements(); // try to init panes NOW + } + + /** + * Initialize the layout - called automatically whenever an instance of layout is created + * + * @see _create() & isInitialized + * @return An object pointer to the instance created + */ +, _initLayoutElements = function (retry) { + // initialize config/options + var o = options; + + // CANNOT init panes inside a hidden container! + if (!$N.is(":visible")) { + // handle Chrome bug where popup window 'has no height' + // if layout is BODY element, try again in 50ms + // SEE: http://layout.jquery-dev.net/samples/test_popup_window.html + if ( !retry && browser.webkit && $N[0].tagName === "BODY" ) + setTimeout(function(){ _initLayoutElements(true); }, 50); + return false; + } + + // a center pane is required, so make sure it exists + if (!getPane("center").length) { + return _log( o.errors.centerPaneMissing ); + } + + // TEMP state so isInitialized returns true during init process + state.creatingLayout = true; + + // update Container dims + $.extend(sC, elDims( $N )); + + // initialize all layout elements + initPanes(); // size & position panes - calls initHandles() - which calls initResizable() + + if (o.scrollToBookmarkOnLoad) { + var l = self.location; + if (l.hash) l.replace( l.hash ); // scrollTo Bookmark + } + + // check to see if this layout 'nested' inside a pane + if (Instance.hasParentLayout) + o.resizeWithWindow = false; + // bind resizeAll() for 'this layout instance' to window.resize event + else if (o.resizeWithWindow) + $(window).bind("resize."+ sID, windowResize); + + delete state.creatingLayout; + state.initialized = true; + + // init plugins for this layout, if there are any + runPluginCallbacks( Instance, $.layout.onReady ); + + // now run the onload callback, if exists + _runCallbacks("onload_end"); + + return true; // elements initialized successfully + } + + /** + * Initialize nested layouts - called when _initLayoutElements completes + * + * NOT CURRENTLY USED + * + * @see _initLayoutElements + * @return An object pointer to the instance created + */ +, _initChildLayouts = function () { + $.each(_c.allPanes, function (idx, pane) { + if (options[pane].initChildLayout) + createChildLayout( pane ); + }); + } + + /** + * Initialize nested layouts for a specific pane - can optionally pass layout-options + * + * @see _initChildLayouts + * @param {string|Object} evt_or_pane The pane being opened, ie: north, south, east, or west + * @param {Object=} [opts] Layout-options - if passed, will OVERRRIDE options[pane].childOptions + * @return An object pointer to the layout instance created - or null + */ +, createChildLayout = function (evt_or_pane, opts) { + var pane = evtPane.call(this, evt_or_pane) + , $P = $Ps[pane] + , C = children + ; + if ($P) { + var $C = $Cs[pane] + , o = opts || options[pane].childOptions + , d = "layout" + // determine which element is supposed to be the 'child container' + // if pane has a 'containerSelector' OR a 'content-div', use those instead of the pane + , $Cont = o.containerSelector ? $P.find( o.containerSelector ) : ($C || $P) + , containerFound = $Cont.length + // see if a child-layout ALREADY exists on this element + , child = containerFound ? (C[pane] = $Cont.data(d) || null) : null + ; + // if no layout exists, but childOptions are set, try to create the layout now + if (!child && containerFound && o) + child = C[pane] = $Cont.eq(0).layout(o) || null; + if (child) + child.hasParentLayout = true; // set parent-flag in child + } + Instance[pane].child = C[pane]; // ALWAYS set pane-object pointer, even if null + } + +, windowResize = function () { + var delay = Number(options.resizeWithWindowDelay); + if (delay < 10) delay = 100; // MUST have a delay! + // resizing uses a delay-loop because the resize event fires repeatly - except in FF, but delay anyway + timer.clear("winResize"); // if already running + timer.set("winResize", function(){ + timer.clear("winResize"); + timer.clear("winResizeRepeater"); + var dims = elDims( $N ); + // only trigger resizeAll() if container has changed size + if (dims.innerWidth !== sC.innerWidth || dims.innerHeight !== sC.innerHeight) + resizeAll(); + }, delay); + // ALSO set fixed-delay timer, if not already running + if (!timer.data["winResizeRepeater"]) setWindowResizeRepeater(); + } + +, setWindowResizeRepeater = function () { + var delay = Number(options.resizeWithWindowMaxDelay); + if (delay > 0) + timer.set("winResizeRepeater", function(){ setWindowResizeRepeater(); resizeAll(); }, delay); + } + +, unload = function () { + var o = options; + + _runCallbacks("onunload_start"); + + // trigger plugin callabacks for this layout (eg: stateManagement) + runPluginCallbacks( Instance, $.layout.onUnload ); + + _runCallbacks("onunload_end"); + } + + /** + * Validate and initialize container CSS and events + * + * @see _create() + */ +, _initContainer = function () { + var + N = $N[0] + , tag = sC.tagName = N.tagName + , id = sC.id = N.id + , cls = sC.className = N.className + , o = options + , name = o.name + , fullPage= (tag === "BODY") + , props = "overflow,position,margin,padding,border" + , css = "layoutCSS" + , CSS = {} + , hid = "hidden" // used A LOT! + // see if this container is a 'pane' inside an outer-layout + , parent = $N.data("parentLayout") // parent-layout Instance + , pane = $N.data("layoutEdge") // pane-name in parent-layout + , isChild = parent && pane + ; + // sC -> state.container + sC.selector = $N.selector.split(".slice")[0]; + sC.ref = (o.name ? o.name +' layout / ' : '') + tag + (id ? "#"+id : cls ? '.['+cls+']' : ''); // used in messages + + $N .data({ + layout: Instance + , layoutContainer: sID // FLAG to indicate this is a layout-container - contains unique internal ID + }) + .addClass(o.containerClass) + ; + var layoutMethods = { + destroy: '' + , initPanes: '' + , resizeAll: 'resizeAll' + , resize: 'resizeAll' + }; + // loop hash and bind all methods - include layoutID namespacing + for (name in layoutMethods) { + $N.bind("layout"+ name.toLowerCase() +"."+ sID, Instance[ layoutMethods[name] || name ]); + } + + // if this container is another layout's 'pane', then set child/parent pointers + if (isChild) { + // update parent flag + Instance.hasParentLayout = true; + // set pointers to THIS child-layout (Instance) in parent-layout + // NOTE: parent.PANE.child is an ALIAS to parent.children.PANE + parent[pane].child = parent.children[pane] = $N.data("layout"); + } + + // SAVE original container CSS for use in destroy() + if (!$N.data(css)) { + // handle props like overflow different for BODY & HTML - has 'system default' values + if (fullPage) { + CSS = $.extend( elCSS($N, props), { + height: $N.css("height") + , overflow: $N.css("overflow") + , overflowX: $N.css("overflowX") + , overflowY: $N.css("overflowY") + }); + // ALSO SAVE CSS + var $H = $("html"); + $H.data(css, { + height: "auto" // FF would return a fixed px-size! + , overflow: $H.css("overflow") + , overflowX: $H.css("overflowX") + , overflowY: $H.css("overflowY") + }); + } + else // handle props normally for non-body elements + CSS = elCSS($N, props+",top,bottom,left,right,width,height,overflow,overflowX,overflowY"); + + $N.data(css, CSS); + } + + try { // format html/body if this is a full page layout + if (fullPage) { + $("html").css({ + height: "100%" + , overflow: hid + , overflowX: hid + , overflowY: hid + }); + $("body").css({ + position: "relative" + , height: "100%" + , overflow: hid + , overflowX: hid + , overflowY: hid + , margin: 0 + , padding: 0 // TODO: test whether body-padding could be handled? + , border: "none" // a body-border creates problems because it cannot be measured! + }); + + // set current layout-container dimensions + $.extend(sC, elDims( $N )); + } + else { // set required CSS for overflow and position + // ENSURE container will not 'scroll' + CSS = { overflow: hid, overflowX: hid, overflowY: hid } + var + p = $N.css("position") + , h = $N.css("height") + ; + // if this is a NESTED layout, then container/outer-pane ALREADY has position and height + if (!isChild) { + if (!p || !p.match(/fixed|absolute|relative/)) + CSS.position = "relative"; // container MUST have a 'position' + /* + if (!h || h=="auto") + CSS.height = "100%"; // container MUST have a 'height' + */ + } + $N.css( CSS ); + + // set current layout-container dimensions + if ( $N.is(":visible") ) { + $.extend(sC, elDims( $N )); + if (sC.innerHeight < 1) + _log( o.errors.noContainerHeight.replace(/CONTAINER/, sC.ref) ); + } + } + } catch (ex) {} + } + + /** + * Bind layout hotkeys - if options enabled + * + * @see _create() and addPane() + * @param {string=} [panes=""] The edge(s) to process + */ +, initHotkeys = function (panes) { + panes = panes ? panes.split(",") : _c.borderPanes; + // bind keyDown to capture hotkeys, if option enabled for ANY pane + $.each(panes, function (i, pane) { + var o = options[pane]; + if (o.enableCursorHotkey || o.customHotkey) { + $(document).bind("keydown."+ sID, keyDown); // only need to bind this ONCE + return false; // BREAK - binding was done + } + }); + } + + /** + * Build final OPTIONS data + * + * @see _create() + */ +, initOptions = function () { + var data, d, pane, key, val, i, c, o; + + // reprocess user's layout-options to have correct options sub-key structure + opts = $.layout.transformData( opts ); // panes = default subkey + + // auto-rename old options for backward compatibility + opts = $.layout.backwardCompatibility.renameAllOptions( opts ); + + // if user-options has 'panes' key (pane-defaults), clean it... + if (!$.isEmptyObject(opts.panes)) { + // REMOVE any pane-defaults that MUST be set per-pane + data = $.layout.optionsMap.noDefault; + for (i=0, c=data.length; i 0) { + z.pane_normal = zo; + z.content_mask = max(zo+1, z.content_mask); // MIN = +1 + z.resizer_normal = max(zo+2, z.resizer_normal); // MIN = +2 + } + + // DELETE 'panes' key now that we are done - values were copied to EACH pane + delete options.panes; + + + function createFxOptions ( pane ) { + var o = options[pane] + , d = options.panes; + // ensure fxSettings key to avoid errors + if (!o.fxSettings) o.fxSettings = {}; + if (!d.fxSettings) d.fxSettings = {}; + + $.each(["_open","_close","_size"], function (i,n) { + var + sName = "fxName"+ n + , sSpeed = "fxSpeed"+ n + , sSettings = "fxSettings"+ n + // recalculate fxName according to specificity rules + , fxName = o[sName] = + o[sName] // options.west.fxName_open + || d[sName] // options.panes.fxName_open + || o.fxName // options.west.fxName + || d.fxName // options.panes.fxName + || "none" // MEANS $.layout.defaults.panes.fxName == "" || false || null || 0 + ; + // validate fxName to ensure is valid effect - MUST have effect-config data in options.effects + if (fxName === "none" || !$.effects || !$.effects[fxName] || !options.effects[fxName]) + fxName = o[sName] = "none"; // effect not loaded OR unrecognized fxName + + // set vars for effects subkeys to simplify logic + var fx = options.effects[fxName] || {} // effects.slide + , fx_all = fx.all || null // effects.slide.all + , fx_pane = fx[pane] || null // effects.slide.west + ; + // create fxSpeed[_open|_close|_size] + o[sSpeed] = + o[sSpeed] // options.west.fxSpeed_open + || d[sSpeed] // options.west.fxSpeed_open + || o.fxSpeed // options.west.fxSpeed + || d.fxSpeed // options.panes.fxSpeed + || null // DEFAULT - let fxSetting.duration control speed + ; + // create fxSettings[_open|_close|_size] + o[sSettings] = $.extend( + true + , {} + , fx_all // effects.slide.all + , fx_pane // effects.slide.west + , d.fxSettings // options.panes.fxSettings + , o.fxSettings // options.west.fxSettings + , d[sSettings] // options.panes.fxSettings_open + , o[sSettings] // options.west.fxSettings_open + ); + }); + + // DONE creating action-specific-settings for this pane, + // so DELETE generic options - are no longer meaningful + delete o.fxName; + delete o.fxSpeed; + delete o.fxSettings; + } + } + + /** + * Initialize module objects, styling, size and position for all panes + * + * @see _initElements() + * @param {string} pane The pane to process + */ +, getPane = function (pane) { + var sel = options[pane].paneSelector + if (sel.substr(0,1)==="#") // ID selector + // NOTE: elements selected 'by ID' DO NOT have to be 'children' + return $N.find(sel).eq(0); + else { // class or other selector + var $P = $N.children(sel).eq(0); + // look for the pane nested inside a 'form' element + return $P.length ? $P : $N.children("form:first").children(sel).eq(0); + } + } + +, initPanes = function (evt) { + // stopPropagation if called by trigger("layoutinitpanes") - use evtPane utility + evtPane(evt); + + // NOTE: do north & south FIRST so we can measure their height - do center LAST + $.each(_c.allPanes, function (idx, pane) { + addPane( pane, true ); + }); + + // init the pane-handles NOW in case we have to hide or close the pane below + initHandles(); + + // now that all panes have been initialized and initially-sized, + // make sure there is really enough space available for each pane + $.each(_c.borderPanes, function (i, pane) { + if ($Ps[pane] && state[pane].isVisible) { // pane is OPEN + setSizeLimits(pane); + makePaneFit(pane); // pane may be Closed, Hidden or Resized by makePaneFit() + } + }); + // size center-pane AGAIN in case we 'closed' a border-pane in loop above + sizeMidPanes("center"); + + // Chrome/Webkit sometimes fires callbacks BEFORE it completes resizing! + // Before RC30.3, there was a 10ms delay here, but that caused layout + // to load asynchrously, which is BAD, so try skipping delay for now + + // process pane contents and callbacks, and init/resize child-layout if exists + $.each(_c.allPanes, function (i, pane) { + var o = options[pane]; + if ($Ps[pane]) { + if (state[pane].isVisible) { // pane is OPEN + sizeContent(pane); + // trigger pane.onResize if triggerEventsOnLoad = true + if (o.triggerEventsOnLoad) + _runCallbacks("onresize_end", pane); + else // automatic if onresize called, otherwise call it specifically + // resize child - IF inner-layout already exists (created before this layout) + resizeChildLayout(pane); + } + // init childLayout - even if pane is not visible + if (o.initChildLayout && o.childOptions) + createChildLayout(pane); + } + }); + } + + /** + * Add a pane to the layout - subroutine of initPanes() + * + * @see initPanes() + * @param {string} pane The pane to process + * @param {boolean=} [force=false] Size content after init + */ +, addPane = function (pane, force) { + if (!force && !isInitialized()) return; + var + o = options[pane] + , s = state[pane] + , c = _c[pane] + , fx = s.fx + , dir = c.dir + , spacing = o.spacing_open || 0 + , isCenter = (pane === "center") + , CSS = {} + , $P = $Ps[pane] + , size, minSize, maxSize + ; + // if pane-pointer already exists, remove the old one first + if ($P) + removePane( pane, false, true, false ); + else + $Cs[pane] = false; // init + + $P = $Ps[pane] = getPane(pane); + if (!$P.length) { + $Ps[pane] = false; // logic + return; + } + + // SAVE original Pane CSS + if (!$P.data("layoutCSS")) { + var props = "position,top,left,bottom,right,width,height,overflow,zIndex,display,backgroundColor,padding,margin,border"; + $P.data("layoutCSS", elCSS($P, props)); + } + + // create alias for pane data in Instance - initHandles will add more + Instance[pane] = { name: pane, pane: $Ps[pane], content: $Cs[pane], options: options[pane], state: state[pane], child: children[pane] }; + + // add classes, attributes & events + $P .data({ + parentLayout: Instance // pointer to Layout Instance + , layoutPane: Instance[pane] // NEW pointer to pane-alias-object + , layoutEdge: pane + , layoutRole: "pane" + }) + .css(c.cssReq).css("zIndex", options.zIndexes.pane_normal) + .css(o.applyDemoStyles ? c.cssDemo : {}) // demo styles + .addClass( o.paneClass +" "+ o.paneClass+"-"+pane ) // default = "ui-layout-pane ui-layout-pane-west" - may be a dupe of 'paneSelector' + .bind("mouseenter."+ sID, addHover ) + .bind("mouseleave."+ sID, removeHover ) + ; + var paneMethods = { + hide: '' + , show: '' + , toggle: '' + , close: '' + , open: '' + , slideOpen: '' + , slideClose: '' + , slideToggle: '' + , size: 'sizePane' + , sizePane: 'sizePane' + , sizeContent: '' + , sizeHandles: '' + , enableClosable: '' + , disableClosable: '' + , enableSlideable: '' + , disableSlideable: '' + , enableResizable: '' + , disableResizable: '' + , swapPanes: 'swapPanes' + , swap: 'swapPanes' + , move: 'swapPanes' + , removePane: 'removePane' + , remove: 'removePane' + , createChildLayout: '' + , resizeChildLayout: '' + , resizeAll: 'resizeAll' + , resizeLayout: 'resizeAll' + } + , name; + // loop hash and bind all methods - include layoutID namespacing + for (name in paneMethods) { + $P.bind("layoutpane"+ name.toLowerCase() +"."+ sID, Instance[ paneMethods[name] || name ]); + } + + // see if this pane has a 'scrolling-content element' + initContent(pane, false); // false = do NOT sizeContent() - called later + + if (!isCenter) { + // call _parseSize AFTER applying pane classes & styles - but before making visible (if hidden) + // if o.size is auto or not valid, then MEASURE the pane and use that as its 'size' + size = s.size = _parseSize(pane, o.size); + minSize = _parseSize(pane,o.minSize) || 1; + maxSize = _parseSize(pane,o.maxSize) || 100000; + if (size > 0) size = max(min(size, maxSize), minSize); + + // state for border-panes + s.isClosed = false; // true = pane is closed + s.isSliding = false; // true = pane is currently open by 'sliding' over adjacent panes + s.isResizing= false; // true = pane is in process of being resized + s.isHidden = false; // true = pane is hidden - no spacing, resizer or toggler is visible! + + // array for 'pin buttons' whose classNames are auto-updated on pane-open/-close + if (!s.pins) s.pins = []; + } + // states common to ALL panes + s.tagName = $P[0].tagName; + s.edge = pane; // useful if pane is (or about to be) 'swapped' - easy find out where it is (or is going) + s.noRoom = false; // true = pane 'automatically' hidden due to insufficient room - will unhide automatically + s.isVisible = true; // false = pane is invisible - closed OR hidden - simplify logic + + // set css-position to account for container borders & padding + switch (pane) { + case "north": CSS.top = sC.insetTop; + CSS.left = sC.insetLeft; + CSS.right = sC.insetRight; + break; + case "south": CSS.bottom = sC.insetBottom; + CSS.left = sC.insetLeft; + CSS.right = sC.insetRight; + break; + case "west": CSS.left = sC.insetLeft; // top, bottom & height set by sizeMidPanes() + break; + case "east": CSS.right = sC.insetRight; // ditto + break; + case "center": // top, left, width & height set by sizeMidPanes() + } + + if (dir === "horz") // north or south pane + CSS.height = cssH($P, size); + else if (dir === "vert") // east or west pane + CSS.width = cssW($P, size); + //else if (isCenter) {} + + $P.css(CSS); // apply size -- top, bottom & height will be set by sizeMidPanes + if (dir != "horz") sizeMidPanes(pane, true); // true = skipCallback + + // close or hide the pane if specified in settings + if (o.initClosed && o.closable && !o.initHidden) + close(pane, true, true); // true, true = force, noAnimation + else if (o.initHidden || o.initClosed) + hide(pane); // will be completely invisible - no resizer or spacing + else if (!s.noRoom) + // make the pane visible - in case was initially hidden + $P.css("display","block"); + // ELSE setAsOpen() - called later by initHandles() + + // RESET visibility now - pane will appear IF display:block + $P.css("visibility","visible"); + + // check option for auto-handling of pop-ups & drop-downs + if (o.showOverflowOnHover) + $P.hover( allowOverflow, resetOverflow ); + + // if manually adding a pane AFTER layout initialization, then... + if (state.initialized) { + initHandles( pane ); + initHotkeys( pane ); + resizeAll(); // will sizeContent if pane is visible + if (s.isVisible) { // pane is OPEN + if (o.triggerEventsOnLoad) + _runCallbacks("onresize_end", pane); + else // automatic if onresize called, otherwise call it specifically + // resize child - IF inner-layout already exists (created before this layout) + resizeChildLayout(pane); // a previously existing childLayout + } + if (o.initChildLayout && o.childOptions) + createChildLayout(pane); + } + } + + /** + * Initialize module objects, styling, size and position for all resize bars and toggler buttons + * + * @see _create() + * @param {string=} [panes=""] The edge(s) to process + */ +, initHandles = function (panes) { + panes = panes ? panes.split(",") : _c.borderPanes; + + // create toggler DIVs for each pane, and set object pointers for them, eg: $R.north = north toggler DIV + $.each(panes, function (i, pane) { + var $P = $Ps[pane]; + $Rs[pane] = false; // INIT + $Ts[pane] = false; + if (!$P) return; // pane does not exist - skip + + var + o = options[pane] + , s = state[pane] + , c = _c[pane] + , paneId = o.paneSelector.substr(0,1) === "#" ? o.paneSelector.substr(1) : "" + , rClass = o.resizerClass + , tClass = o.togglerClass + , side = c.side.toLowerCase() + , spacing = (s.isVisible ? o.spacing_open : o.spacing_closed) + , _pane = "-"+ pane // used for classNames + , _state = (s.isVisible ? "-open" : "-closed") // used for classNames + , I = Instance[pane] + // INIT RESIZER BAR + , $R = I.resizer = $Rs[pane] = $("
                                                  ") + // INIT TOGGLER BUTTON + , $T = I.toggler = (o.closable ? $Ts[pane] = $("
                                                  ") : false) + ; + + //if (s.isVisible && o.resizable) ... handled by initResizable + if (!s.isVisible && o.slidable) + $R.attr("title", o.tips.Slide).css("cursor", o.sliderCursor); + + $R // if paneSelector is an ID, then create a matching ID for the resizer, eg: "#paneLeft" => "paneLeft-resizer" + .attr("id", paneId ? paneId +"-resizer" : "" ) + .data({ + parentLayout: Instance + , layoutPane: Instance[pane] // NEW pointer to pane-alias-object + , layoutEdge: pane + , layoutRole: "resizer" + }) + .css(_c.resizers.cssReq).css("zIndex", options.zIndexes.resizer_normal) + .css(o.applyDemoStyles ? _c.resizers.cssDemo : {}) // add demo styles + .addClass(rClass +" "+ rClass+_pane) + .hover(addHover, removeHover) // ALWAYS add hover-classes, even if resizing is not enabled - handle with CSS instead + .hover(onResizerEnter, onResizerLeave) // ALWAYS NEED resizer.mouseleave to balance toggler.mouseenter + .appendTo($N) // append DIV to container + ; + + if ($T) { + $T // if paneSelector is an ID, then create a matching ID for the resizer, eg: "#paneLeft" => "#paneLeft-toggler" + .attr("id", paneId ? paneId +"-toggler" : "" ) + .data({ + parentLayout: Instance + , layoutPane: Instance[pane] // NEW pointer to pane-alias-object + , layoutEdge: pane + , layoutRole: "toggler" + }) + .css(_c.togglers.cssReq) // add base/required styles + .css(o.applyDemoStyles ? _c.togglers.cssDemo : {}) // add demo styles + .addClass(tClass +" "+ tClass+_pane) + .hover(addHover, removeHover) // ALWAYS add hover-classes, even if toggling is not enabled - handle with CSS instead + .bind("mouseenter", onResizerEnter) // NEED toggler.mouseenter because mouseenter MAY NOT fire on resizer + .appendTo($R) // append SPAN to resizer DIV + ; + // ADD INNER-SPANS TO TOGGLER + if (o.togglerContent_open) // ui-layout-open + $(""+ o.togglerContent_open +"") + .data({ + layoutEdge: pane + , layoutRole: "togglerContent" + }) + .data("layoutRole", "togglerContent") + .data("layoutEdge", pane) + .addClass("content content-open") + .css("display","none") + .appendTo( $T ) + //.hover( addHover, removeHover ) // use ui-layout-toggler-west-hover .content-open instead! + ; + if (o.togglerContent_closed) // ui-layout-closed + $(""+ o.togglerContent_closed +"") + .data({ + layoutEdge: pane + , layoutRole: "togglerContent" + }) + .addClass("content content-closed") + .css("display","none") + .appendTo( $T ) + //.hover( addHover, removeHover ) // use ui-layout-toggler-west-hover .content-closed instead! + ; + // ADD TOGGLER.click/.hover + enableClosable(pane); + } + + // add Draggable events + initResizable(pane); + + // ADD CLASSNAMES & SLIDE-BINDINGS - eg: class="resizer resizer-west resizer-open" + if (s.isVisible) + setAsOpen(pane); // onOpen will be called, but NOT onResize + else { + setAsClosed(pane); // onClose will be called + bindStartSlidingEvent(pane, true); // will enable events IF option is set + } + + }); + + // SET ALL HANDLE DIMENSIONS + sizeHandles(); + } + + + /** + * Initialize scrolling ui-layout-content div - if exists + * + * @see initPane() - or externally after an Ajax injection + * @param {string} [pane] The pane to process + * @param {boolean=} [resize=true] Size content after init + */ +, initContent = function (pane, resize) { + if (!isInitialized()) return; + var + o = options[pane] + , sel = o.contentSelector + , I = Instance[pane] + , $P = $Ps[pane] + , $C + ; + if (sel) $C = I.content = $Cs[pane] = (o.findNestedContent) + ? $P.find(sel).eq(0) // match 1-element only + : $P.children(sel).eq(0) + ; + if ($C && $C.length) { + $C.data("layoutRole", "content"); + // SAVE original Pane CSS + if (!$C.data("layoutCSS")) + $C.data("layoutCSS", elCSS($C, "height")); + $C.css( _c.content.cssReq ); + if (o.applyDemoStyles) { + $C.css( _c.content.cssDemo ); // add padding & overflow: auto to content-div + $P.css( _c.content.cssDemoPane ); // REMOVE padding/scrolling from pane + } + state[pane].content = {}; // init content state + if (resize !== false) sizeContent(pane); + // sizeContent() is called AFTER init of all elements + } + else + I.content = $Cs[pane] = false; + } + + + /** + * Add resize-bars to all panes that specify it in options + * -dependancy: $.fn.resizable - will skip if not found + * + * @see _create() + * @param {string=} [panes=""] The edge(s) to process + */ +, initResizable = function (panes) { + var draggingAvailable = $.layout.plugins.draggable + , side // set in start() + ; + panes = panes ? panes.split(",") : _c.borderPanes; + + $.each(panes, function (idx, pane) { + var o = options[pane]; + if (!draggingAvailable || !$Ps[pane] || !o.resizable) { + o.resizable = false; + return true; // skip to next + } + + var s = state[pane] + , z = options.zIndexes + , c = _c[pane] + , side = c.dir=="horz" ? "top" : "left" + , opEdge = _c.oppositeEdge[pane] + , masks = pane +",center,"+ opEdge + (c.dir=="horz" ? ",west,east" : "") + , $P = $Ps[pane] + , $R = $Rs[pane] + , base = o.resizerClass + , lastPos = 0 // used when live-resizing + , r, live // set in start because may change + // 'drag' classes are applied to the ORIGINAL resizer-bar while dragging is in process + , resizerClass = base+"-drag" // resizer-drag + , resizerPaneClass = base+"-"+pane+"-drag" // resizer-north-drag + // 'helper' class is applied to the CLONED resizer-bar while it is being dragged + , helperClass = base+"-dragging" // resizer-dragging + , helperPaneClass = base+"-"+pane+"-dragging" // resizer-north-dragging + , helperLimitClass = base+"-dragging-limit" // resizer-drag + , helperPaneLimitClass = base+"-"+pane+"-dragging-limit" // resizer-north-drag + , helperClassesSet = false // logic var + ; + + if (!s.isClosed) + $R.attr("title", o.tips.Resize) + .css("cursor", o.resizerCursor); // n-resize, s-resize, etc + + $R.draggable({ + containment: $N[0] // limit resizing to layout container + , axis: (c.dir=="horz" ? "y" : "x") // limit resizing to horz or vert axis + , delay: 0 + , distance: 1 + , grid: o.resizingGrid + // basic format for helper - style it using class: .ui-draggable-dragging + , helper: "clone" + , opacity: o.resizerDragOpacity + , addClasses: false // avoid ui-state-disabled class when disabled + //, iframeFix: o.draggableIframeFix // TODO: consider using when bug is fixed + , zIndex: z.resizer_drag + + , start: function (e, ui) { + // REFRESH options & state pointers in case we used swapPanes + o = options[pane]; + s = state[pane]; + // re-read options + live = o.livePaneResizing; + + // ondrag_start callback - will CANCEL hide if returns false + // TODO: dragging CANNOT be cancelled like this, so see if there is a way? + if (false === _runCallbacks("ondrag_start", pane)) return false; + + s.isResizing = true; // prevent pane from closing while resizing + timer.clear(pane+"_closeSlider"); // just in case already triggered + + // SET RESIZER LIMITS - used in drag() + setSizeLimits(pane); // update pane/resizer state + r = s.resizerPosition; + lastPos = ui.position[ side ] + + $R.addClass( resizerClass +" "+ resizerPaneClass ); // add drag classes + helperClassesSet = false; // reset logic var - see drag() + + // DISABLE TEXT SELECTION (probably already done by resizer.mouseOver) + $('body').disableSelection(); + + // MASK PANES CONTAINING IFRAMES, APPLETS OR OTHER TROUBLESOME ELEMENTS + showMasks( masks ); + } + + , drag: function (e, ui) { + if (!helperClassesSet) { // can only add classes after clone has been added to the DOM + //$(".ui-draggable-dragging") + ui.helper + .addClass( helperClass +" "+ helperPaneClass ) // add helper classes + .css({ right: "auto", bottom: "auto" }) // fix dir="rtl" issue + .children().css("visibility","hidden") // hide toggler inside dragged resizer-bar + ; + helperClassesSet = true; + // draggable bug!? RE-SET zIndex to prevent E/W resize-bar showing through N/S pane! + if (s.isSliding) $Ps[pane].css("zIndex", z.pane_sliding); + } + // CONTAIN RESIZER-BAR TO RESIZING LIMITS + var limit = 0; + if (ui.position[side] < r.min) { + ui.position[side] = r.min; + limit = -1; + } + else if (ui.position[side] > r.max) { + ui.position[side] = r.max; + limit = 1; + } + // ADD/REMOVE dragging-limit CLASS + if (limit) { + ui.helper.addClass( helperLimitClass +" "+ helperPaneLimitClass ); // at dragging-limit + window.defaultStatus = (limit>0 && pane.match(/(north|west)/)) || (limit<0 && pane.match(/(south|east)/)) ? o.tips.maxSizeWarning : o.tips.minSizeWarning; + } + else { + ui.helper.removeClass( helperLimitClass +" "+ helperPaneLimitClass ); // not at dragging-limit + window.defaultStatus = ""; + } + // DYNAMICALLY RESIZE PANES IF OPTION ENABLED + // won't trigger unless resizer has actually moved! + if (live && Math.abs(ui.position[side] - lastPos) >= o.liveResizingTolerance) { + lastPos = ui.position[side]; + resizePanes(e, ui, pane) + } + } + + , stop: function (e, ui) { + $('body').enableSelection(); // RE-ENABLE TEXT SELECTION + window.defaultStatus = ""; // clear 'resizing limit' message from statusbar + $R.removeClass( resizerClass +" "+ resizerPaneClass ); // remove drag classes from Resizer + s.isResizing = false; + resizePanes(e, ui, pane, true, masks); // true = resizingDone + } + + }); + }); + + /** + * resizePanes + * + * Sub-routine called from stop() - and drag() if livePaneResizing + * + * @param {!Object} evt + * @param {!Object} ui + * @param {string} pane + * @param {boolean=} [resizingDone=false] + */ + var resizePanes = function (evt, ui, pane, resizingDone, masks) { + var dragPos = ui.position + , c = _c[pane] + , o = options[pane] + , s = state[pane] + , resizerPos + ; + switch (pane) { + case "north": resizerPos = dragPos.top; break; + case "west": resizerPos = dragPos.left; break; + case "south": resizerPos = sC.offsetHeight - dragPos.top - o.spacing_open; break; + case "east": resizerPos = sC.offsetWidth - dragPos.left - o.spacing_open; break; + }; + // remove container margin from resizer position to get the pane size + var newSize = resizerPos - sC["inset"+ c.side]; + + // Disable OR Resize Mask(s) created in drag.start + if (!resizingDone) { + // ensure we meet liveResizingTolerance criteria + if (Math.abs(newSize - s.size) < o.liveResizingTolerance) + return; // SKIP resize this time + // resize the pane + manualSizePane(pane, newSize, false, true); // true = noAnimation + sizeMasks(); // resize all visible masks + } + else { // resizingDone + // ondrag_end callback + if (false !== _runCallbacks("ondrag_end", pane)) + manualSizePane(pane, newSize, false, true); // true = noAnimation + hideMasks(); // hide all masks, which include panes with 'content/iframe-masks' + if (s.isSliding && masks) // RE-SHOW only 'object-masks' so objects won't show through sliding pane + showMasks( masks, true ); // true = onlyForObjects + } + }; + } + + /** + * sizeMask + * + * Needed to overlay a DIV over an IFRAME-pane because mask CANNOT be *inside* the pane + * Called when mask created, and during livePaneResizing + */ +, sizeMask = function () { + var $M = $(this) + , pane = $M.data("layoutMask") // eg: "west" + , s = state[pane] + ; + // only masks over an IFRAME-pane need manual resizing + if (s.tagName == "IFRAME" && s.isVisible) // no need to mask closed/hidden panes + $M.css({ + top: s.offsetTop + , left: s.offsetLeft + , width: s.outerWidth + , height: s.outerHeight + }); + /* ALT Method... + var $P = $Ps[pane]; + $M.css( $P.position() ).css({ width: $P[0].offsetWidth, height: $P[0].offsetHeight }); + */ + } +, sizeMasks = function () { + $Ms.each( sizeMask ); // resize all 'visible' masks + } + +, showMasks = function (panes, onlyForObjects) { + var a = panes ? panes.split(",") : $.layout.config.allPanes + , z = options.zIndexes + , o, s; + $.each(a, function(i,p){ + s = state[p]; + o = options[p]; + if (s.isVisible && ( (!onlyForObjects && o.maskContents) || o.maskObjects )) { + getMasks(p).each(function(){ + sizeMask.call(this); + this.style.zIndex = s.isSliding ? z.pane_sliding+1 : z.pane_normal+1 + this.style.display = "block"; + }); + } + }); + } + +, hideMasks = function () { + // ensure no pane is resizing - could be a timing issue + var skip; + $.each( $.layout.config.borderPanes, function(i,p){ + if (state[p].isResizing) { + skip = true; + return false; // BREAK + } + }); + if (!skip) + $Ms.hide(); // hide ALL masks + } + +, getMasks = function (pane) { + var $Masks = $([]) + , $M, i = 0, c = $Ms.length + ; + for (; i CSS + if (sC.tagName === "BODY" && ($N = $("html")).data(css)) // RESET CSS + $N.css( $N.data(css) ).removeData(css); + + // trigger plugins for this layout, if there are any + runPluginCallbacks( Instance, $.layout.onDestroy ); + + // trigger state-management and onunload callback + unload(); + + // clear the Instance of everything except for container & options (so could recreate) + // RE-CREATE: myLayout = myLayout.container.layout( myLayout.options ); + for (n in Instance) + if (!n.match(/^(container|options)$/)) delete Instance[ n ]; + // add a 'destroyed' flag to make it easy to check + Instance.destroyed = true; + + // if this is a child layout, CLEAR the child-pointer in the parent + /* for now the pointer REMAINS, but with only container, options and destroyed keys + if (parentPane) { + var layout = parentPane.pane.data("parentLayout"); + parentPane.child = layout.children[ parentPane.name ] = null; + } + */ + + return Instance; // for coding convenience + } + + /** + * Remove a pane from the layout - subroutine of destroy() + * + * @see destroy() + * @param {string|Object} evt_or_pane The pane to process + * @param {boolean=} [remove=false] Remove the DOM element? + * @param {boolean=} [skipResize=false] Skip calling resizeAll()? + * @param {boolean=} [destroyChild=true] Destroy Child-layouts? If not passed, obeys options setting + */ +, removePane = function (evt_or_pane, remove, skipResize, destroyChild) { + if (!isInitialized()) return; + var pane = evtPane.call(this, evt_or_pane) + , $P = $Ps[pane] + , $C = $Cs[pane] + , $R = $Rs[pane] + , $T = $Ts[pane] + ; + // NOTE: elements can still exist even after remove() + // so check for missing data(), which is cleared by removed() + if ($P && $.isEmptyObject( $P.data() )) $P = false; + if ($C && $.isEmptyObject( $C.data() )) $C = false; + if ($R && $.isEmptyObject( $R.data() )) $R = false; + if ($T && $.isEmptyObject( $T.data() )) $T = false; + + if ($P) $P.stop(true, true); + + // check for a child layout + var o = options[pane] + , s = state[pane] + , d = "layout" + , css = "layoutCSS" + , child = children[pane] || ($P ? $P.data(d) : 0) || ($C ? $C.data(d) : 0) || null + , destroy = destroyChild !== undefined ? destroyChild : o.destroyChildLayout + ; + + // FIRST destroy the child-layout(s) + if (destroy && child && !child.destroyed) { + child.destroy(true); // tell child-layout to destroy ALL its child-layouts too + if (child.destroyed) // destroy was successful + child = null; // clear pointer for logic below + } + + if ($P && remove && !child) + $P.remove(); + else if ($P && $P[0]) { + // create list of ALL pane-classes that need to be removed + var root = o.paneClass // default="ui-layout-pane" + , pRoot = root +"-"+ pane // eg: "ui-layout-pane-west" + , _open = "-open" + , _sliding= "-sliding" + , _closed = "-closed" + , classes = [ root, root+_open, root+_closed, root+_sliding, // generic classes + pRoot, pRoot+_open, pRoot+_closed, pRoot+_sliding ] // pane-specific classes + ; + $.merge(classes, getHoverClasses($P, true)); // ADD hover-classes + // remove all Layout classes from pane-element + $P .removeClass( classes.join(" ") ) // remove ALL pane-classes + .removeData("parentLayout") + .removeData("layoutPane") + .removeData("layoutRole") + .removeData("layoutEdge") + .removeData("autoHidden") // in case set + .unbind("."+ sID) // remove ALL Layout events + // TODO: remove these extra unbind commands when jQuery is fixed + //.unbind("mouseenter"+ sID) + //.unbind("mouseleave"+ sID) + ; + // do NOT reset CSS if this pane/content is STILL the container of a nested layout! + // the nested layout will reset its 'container' CSS when/if it is destroyed + if ($C && $C.data(d)) { + // a content-div may not have a specific width, so give it one to contain the Layout + $C.width( $C.width() ); + child.resizeAll(); // now resize the Layout + } + else if ($C) + $C.css( $C.data(css) ).removeData(css).removeData("layoutRole"); + // remove pane AFTER content in case there was a nested layout + if (!$P.data(d)) + $P.css( $P.data(css) ).removeData(css); + } + + // REMOVE pane resizer and toggler elements + if ($T) $T.remove(); + if ($R) $R.remove(); + + // CLEAR all pointers and state data + Instance[pane] = $Ps[pane] = $Cs[pane] = $Rs[pane] = $Ts[pane] = children[pane] = false; + s = { removed: true }; + + if (!skipResize) + resizeAll(); + } + + +/* + * ########################### + * ACTION METHODS + * ########################### + */ + +, _hidePane = function (pane) { + var $P = $Ps[pane] + , o = options[pane] + , s = $P[0].style + ; + if (o.useOffscreenClose) { + if (!$P.data(_c.offscreenReset)) + $P.data(_c.offscreenReset, { left: s.left, right: s.right }); + $P.css( _c.offscreenCSS ); + } + else + $P.hide().removeData(_c.offscreenReset); + } + +, _showPane = function (pane) { + var $P = $Ps[pane] + , o = options[pane] + , off = _c.offscreenCSS + , old = $P.data(_c.offscreenReset) + , s = $P[0].style + ; + $P .show() // ALWAYS show, just in case + .removeData(_c.offscreenReset); + if (o.useOffscreenClose && old) { + if (s.left == off.left) + s.left = old.left; + if (s.right == off.right) + s.right = old.right; + } + } + + + /** + * Completely 'hides' a pane, including its spacing - as if it does not exist + * The pane is not actually 'removed' from the source, so can use 'show' to un-hide it + * + * @param {string|Object} evt_or_pane The pane being hidden, ie: north, south, east, or west + * @param {boolean=} [noAnimation=false] + */ +, hide = function (evt_or_pane, noAnimation) { + if (!isInitialized()) return; + var pane = evtPane.call(this, evt_or_pane) + , o = options[pane] + , s = state[pane] + , $P = $Ps[pane] + , $R = $Rs[pane] + ; + if (!$P || s.isHidden) return; // pane does not exist OR is already hidden + + // onhide_start callback - will CANCEL hide if returns false + if (state.initialized && false === _runCallbacks("onhide_start", pane)) return; + + s.isSliding = false; // just in case + + // now hide the elements + if ($R) $R.hide(); // hide resizer-bar + if (!state.initialized || s.isClosed) { + s.isClosed = true; // to trigger open-animation on show() + s.isHidden = true; + s.isVisible = false; + if (!state.initialized) + _hidePane(pane); // no animation when loading page + sizeMidPanes(_c[pane].dir === "horz" ? "" : "center"); + if (state.initialized || o.triggerEventsOnLoad) + _runCallbacks("onhide_end", pane); + } + else { + s.isHiding = true; // used by onclose + close(pane, false, noAnimation); // adjust all panes to fit + } + } + + /** + * Show a hidden pane - show as 'closed' by default unless openPane = true + * + * @param {string|Object} evt_or_pane The pane being opened, ie: north, south, east, or west + * @param {boolean=} [openPane=false] + * @param {boolean=} [noAnimation=false] + * @param {boolean=} [noAlert=false] + */ +, show = function (evt_or_pane, openPane, noAnimation, noAlert) { + if (!isInitialized()) return; + var pane = evtPane.call(this, evt_or_pane) + , o = options[pane] + , s = state[pane] + , $P = $Ps[pane] + , $R = $Rs[pane] + ; + if (!$P || !s.isHidden) return; // pane does not exist OR is not hidden + + // onshow_start callback - will CANCEL show if returns false + if (false === _runCallbacks("onshow_start", pane)) return; + + s.isSliding = false; // just in case + s.isShowing = true; // used by onopen/onclose + //s.isHidden = false; - will be set by open/close - if not cancelled + + // now show the elements + //if ($R) $R.show(); - will be shown by open/close + if (openPane === false) + close(pane, true); // true = force + else + open(pane, false, noAnimation, noAlert); // adjust all panes to fit + } + + + /** + * Toggles a pane open/closed by calling either open or close + * + * @param {string|Object} evt_or_pane The pane being toggled, ie: north, south, east, or west + * @param {boolean=} [slide=false] + */ +, toggle = function (evt_or_pane, slide) { + if (!isInitialized()) return; + var evt = evtObj(evt_or_pane) + , pane = evtPane.call(this, evt_or_pane) + , s = state[pane] + ; + if (evt) // called from to $R.dblclick OR triggerPaneEvent + evt.stopImmediatePropagation(); + if (s.isHidden) + show(pane); // will call 'open' after unhiding it + else if (s.isClosed) + open(pane, !!slide); + else + close(pane); + } + + + /** + * Utility method used during init or other auto-processes + * + * @param {string} pane The pane being closed + * @param {boolean=} [setHandles=false] + */ +, _closePane = function (pane, setHandles) { + var + $P = $Ps[pane] + , s = state[pane] + ; + _hidePane(pane); + s.isClosed = true; + s.isVisible = false; + // UNUSED: if (setHandles) setAsClosed(pane, true); // true = force + } + + /** + * Close the specified pane (animation optional), and resize all other panes as needed + * + * @param {string|Object} evt_or_pane The pane being closed, ie: north, south, east, or west + * @param {boolean=} [force=false] + * @param {boolean=} [noAnimation=false] + * @param {boolean=} [skipCallback=false] + */ +, close = function (evt_or_pane, force, noAnimation, skipCallback) { + var pane = evtPane.call(this, evt_or_pane); + // if pane has been initialized, but NOT the complete layout, close pane instantly + if (!state.initialized && $Ps[pane]) { + _closePane(pane); // INIT pane as closed + return; + } + if (!isInitialized()) return; + + var + $P = $Ps[pane] + , $R = $Rs[pane] + , $T = $Ts[pane] + , o = options[pane] + , s = state[pane] + , c = _c[pane] + , doFX, isShowing, isHiding, wasSliding; + + // QUEUE in case another action/animation is in progress + $N.queue(function( queueNext ){ + + if ( !$P + || (!o.closable && !s.isShowing && !s.isHiding) // invalid request // (!o.resizable && !o.closable) ??? + || (!force && s.isClosed && !s.isShowing) // already closed + ) return queueNext(); + + // onclose_start callback - will CANCEL hide if returns false + // SKIP if just 'showing' a hidden pane as 'closed' + var abort = !s.isShowing && false === _runCallbacks("onclose_start", pane); + + // transfer logic vars to temp vars + isShowing = s.isShowing; + isHiding = s.isHiding; + wasSliding = s.isSliding; + // now clear the logic vars (REQUIRED before aborting) + delete s.isShowing; + delete s.isHiding; + + if (abort) return queueNext(); + + doFX = !noAnimation && !s.isClosed && (o.fxName_close != "none"); + s.isMoving = true; + s.isClosed = true; + s.isVisible = false; + // update isHidden BEFORE sizing panes + if (isHiding) s.isHidden = true; + else if (isShowing) s.isHidden = false; + + if (s.isSliding) // pane is being closed, so UNBIND trigger events + bindStopSlidingEvents(pane, false); // will set isSliding=false + else // resize panes adjacent to this one + sizeMidPanes(_c[pane].dir === "horz" ? "" : "center", false); // false = NOT skipCallback + + // if this pane has a resizer bar, move it NOW - before animation + setAsClosed(pane); + + // CLOSE THE PANE + if (doFX) { // animate the close + // mask panes with objects + var masks = "center"+ (c.dir=="horz" ? ",west,east" : ""); + showMasks( masks, true ); // true = ONLY mask panes with maskObjects=true + lockPaneForFX(pane, true); // need to set left/top so animation will work + $P.hide( o.fxName_close, o.fxSettings_close, o.fxSpeed_close, function () { + lockPaneForFX(pane, false); // undo + if (s.isClosed) close_2(); + queueNext(); + }); + } + else { // hide the pane without animation + _hidePane(pane); + close_2(); + queueNext(); + }; + }); + + // SUBROUTINE + function close_2 () { + s.isMoving = false; + bindStartSlidingEvent(pane, true); // will enable if o.slidable = true + + // if opposite-pane was autoClosed, see if it can be autoOpened now + var altPane = _c.oppositeEdge[pane]; + if (state[ altPane ].noRoom) { + setSizeLimits( altPane ); + makePaneFit( altPane ); + } + + // hide any masks shown while closing + hideMasks(); + + if (!skipCallback && (state.initialized || o.triggerEventsOnLoad)) { + // onclose callback - UNLESS just 'showing' a hidden pane as 'closed' + if (!isShowing) _runCallbacks("onclose_end", pane); + // onhide OR onshow callback + if (isShowing) _runCallbacks("onshow_end", pane); + if (isHiding) _runCallbacks("onhide_end", pane); + } + } + } + + /** + * @param {string} pane The pane just closed, ie: north, south, east, or west + */ +, setAsClosed = function (pane) { + var + $P = $Ps[pane] + , $R = $Rs[pane] + , $T = $Ts[pane] + , o = options[pane] + , s = state[pane] + , side = _c[pane].side.toLowerCase() + , inset = "inset"+ _c[pane].side + , rClass = o.resizerClass + , tClass = o.togglerClass + , _pane = "-"+ pane // used for classNames + , _open = "-open" + , _sliding= "-sliding" + , _closed = "-closed" + ; + $R + .css(side, sC[inset]) // move the resizer + .removeClass( rClass+_open +" "+ rClass+_pane+_open ) + .removeClass( rClass+_sliding +" "+ rClass+_pane+_sliding ) + .addClass( rClass+_closed +" "+ rClass+_pane+_closed ) + .unbind("dblclick."+ sID) + ; + // DISABLE 'resizing' when closed - do this BEFORE bindStartSlidingEvent? + if (o.resizable && $.layout.plugins.draggable) + $R + .draggable("disable") + .removeClass("ui-state-disabled") // do NOT apply disabled styling - not suitable here + .css("cursor", "default") + .attr("title","") + ; + + // if pane has a toggler button, adjust that too + if ($T) { + $T + .removeClass( tClass+_open +" "+ tClass+_pane+_open ) + .addClass( tClass+_closed +" "+ tClass+_pane+_closed ) + .attr("title", o.tips.Open) // may be blank + ; + // toggler-content - if exists + $T.children(".content-open").hide(); + $T.children(".content-closed").css("display","block"); + } + + // sync any 'pin buttons' + syncPinBtns(pane, false); + + if (state.initialized) { + // resize 'length' and position togglers for adjacent panes + sizeHandles(); + } + } + + /** + * Open the specified pane (animation optional), and resize all other panes as needed + * + * @param {string|Object} evt_or_pane The pane being opened, ie: north, south, east, or west + * @param {boolean=} [slide=false] + * @param {boolean=} [noAnimation=false] + * @param {boolean=} [noAlert=false] + */ +, open = function (evt_or_pane, slide, noAnimation, noAlert) { + if (!isInitialized()) return; + var pane = evtPane.call(this, evt_or_pane) + , $P = $Ps[pane] + , $R = $Rs[pane] + , $T = $Ts[pane] + , o = options[pane] + , s = state[pane] + , c = _c[pane] + , doFX, isShowing + ; + // QUEUE in case another action/animation is in progress + $N.queue(function( queueNext ){ + + if ( !$P + || (!o.resizable && !o.closable && !s.isShowing) // invalid request + || (s.isVisible && !s.isSliding) // already open + ) return queueNext(); + + // pane can ALSO be unhidden by just calling show(), so handle this scenario + if (s.isHidden && !s.isShowing) { + queueNext(); // call before show() because it needs the queue free + show(pane, true); + return; + } + + if (o.autoResize && s.size != o.size) // resize pane to original size set in options + sizePane(pane, o.size, true, true, true); // true=skipCallback/forceResize/noAnimation + else + // make sure there is enough space available to open the pane + setSizeLimits(pane, slide); + + // onopen_start callback - will CANCEL open if returns false + var cbReturn = _runCallbacks("onopen_start", pane); + + if (cbReturn === "abort") + return queueNext(); + + // update pane-state again in case options were changed in onopen_start + if (cbReturn !== "NC") // NC = "No Callback" + setSizeLimits(pane, slide); + + if (s.minSize > s.maxSize) { // INSUFFICIENT ROOM FOR PANE TO OPEN! + syncPinBtns(pane, false); // make sure pin-buttons are reset + if (!noAlert && o.tips.noRoomToOpen) + alert(o.tips.noRoomToOpen); + return queueNext(); // ABORT + } + + if (slide) // START Sliding - will set isSliding=true + bindStopSlidingEvents(pane, true); // BIND trigger events to close sliding-pane + else if (s.isSliding) // PIN PANE (stop sliding) - open pane 'normally' instead + bindStopSlidingEvents(pane, false); // UNBIND trigger events - will set isSliding=false + else if (o.slidable) + bindStartSlidingEvent(pane, false); // UNBIND trigger events + + s.noRoom = false; // will be reset by makePaneFit if 'noRoom' + makePaneFit(pane); + + // transfer logic var to temp var + isShowing = s.isShowing; + // now clear the logic var + delete s.isShowing; + + doFX = !noAnimation && s.isClosed && (o.fxName_open != "none"); + s.isMoving = true; + s.isVisible = true; + s.isClosed = false; + // update isHidden BEFORE sizing panes - WHY??? Old? + if (isShowing) s.isHidden = false; + + if (doFX) { // ANIMATE + // mask panes with objects + var masks = "center"+ (c.dir=="horz" ? ",west,east" : ""); + if (s.isSliding) masks += ","+ _c.oppositeEdge[pane]; + showMasks( masks, true ); // true = ONLY mask panes with maskObjects=true + lockPaneForFX(pane, true); // need to set left/top so animation will work + $P.show( o.fxName_open, o.fxSettings_open, o.fxSpeed_open, function() { + lockPaneForFX(pane, false); // undo + if (s.isVisible) open_2(); // continue + queueNext(); + }); + } + else { // no animation + _showPane(pane);// just show pane and... + open_2(); // continue + queueNext(); + }; + }); + + // SUBROUTINE + function open_2 () { + s.isMoving = false; + + // cure iframe display issues + _fixIframe(pane); + + // NOTE: if isSliding, then other panes are NOT 'resized' + if (!s.isSliding) { // resize all panes adjacent to this one + hideMasks(); // remove any masks shown while opening + sizeMidPanes(_c[pane].dir=="vert" ? "center" : "", false); // false = NOT skipCallback + } + + // set classes, position handles and execute callbacks... + setAsOpen(pane); + }; + + } + + /** + * @param {string} pane The pane just opened, ie: north, south, east, or west + * @param {boolean=} [skipCallback=false] + */ +, setAsOpen = function (pane, skipCallback) { + var + $P = $Ps[pane] + , $R = $Rs[pane] + , $T = $Ts[pane] + , o = options[pane] + , s = state[pane] + , side = _c[pane].side.toLowerCase() + , inset = "inset"+ _c[pane].side + , rClass = o.resizerClass + , tClass = o.togglerClass + , _pane = "-"+ pane // used for classNames + , _open = "-open" + , _closed = "-closed" + , _sliding= "-sliding" + ; + $R + .css(side, sC[inset] + getPaneSize(pane)) // move the resizer + .removeClass( rClass+_closed +" "+ rClass+_pane+_closed ) + .addClass( rClass+_open +" "+ rClass+_pane+_open ) + ; + if (s.isSliding) + $R.addClass( rClass+_sliding +" "+ rClass+_pane+_sliding ) + else // in case 'was sliding' + $R.removeClass( rClass+_sliding +" "+ rClass+_pane+_sliding ) + + if (o.resizerDblClickToggle) + $R.bind("dblclick", toggle ); + removeHover( 0, $R ); // remove hover classes + if (o.resizable && $.layout.plugins.draggable) + $R .draggable("enable") + .css("cursor", o.resizerCursor) + .attr("title", o.tips.Resize); + else if (!s.isSliding) + $R.css("cursor", "default"); // n-resize, s-resize, etc + + // if pane also has a toggler button, adjust that too + if ($T) { + $T .removeClass( tClass+_closed +" "+ tClass+_pane+_closed ) + .addClass( tClass+_open +" "+ tClass+_pane+_open ) + .attr("title", o.tips.Close); // may be blank + removeHover( 0, $T ); // remove hover classes + // toggler-content - if exists + $T.children(".content-closed").hide(); + $T.children(".content-open").css("display","block"); + } + + // sync any 'pin buttons' + syncPinBtns(pane, !s.isSliding); + + // update pane-state dimensions - BEFORE resizing content + $.extend(s, elDims($P)); + + if (state.initialized) { + // resize resizer & toggler sizes for all panes + sizeHandles(); + // resize content every time pane opens - to be sure + sizeContent(pane, true); // true = remeasure headers/footers, even if 'pane.isMoving' + } + + if (!skipCallback && (state.initialized || o.triggerEventsOnLoad) && $P.is(":visible")) { + // onopen callback + _runCallbacks("onopen_end", pane); + // onshow callback - TODO: should this be here? + if (s.isShowing) _runCallbacks("onshow_end", pane); + + // ALSO call onresize because layout-size *may* have changed while pane was closed + if (state.initialized) + _runCallbacks("onresize_end", pane); + } + + // TODO: Somehow sizePane("north") is being called after this point??? + } + + + /** + * slideOpen / slideClose / slideToggle + * + * Pass-though methods for sliding + */ +, slideOpen = function (evt_or_pane) { + if (!isInitialized()) return; + var evt = evtObj(evt_or_pane) + , pane = evtPane.call(this, evt_or_pane) + , s = state[pane] + , delay = options[pane].slideDelay_open + ; + // prevent event from triggering on NEW resizer binding created below + if (evt) evt.stopImmediatePropagation(); + + if (s.isClosed && evt && evt.type === "mouseenter" && delay > 0) + // trigger = mouseenter - use a delay + timer.set(pane+"_openSlider", open_NOW, delay); + else + open_NOW(); // will unbind events if is already open + + /** + * SUBROUTINE for timed open + */ + function open_NOW () { + if (!s.isClosed) // skip if no longer closed! + bindStopSlidingEvents(pane, true); // BIND trigger events to close sliding-pane + else if (!s.isMoving) + open(pane, true); // true = slide - open() will handle binding + }; + } + +, slideClose = function (evt_or_pane) { + if (!isInitialized()) return; + var evt = evtObj(evt_or_pane) + , pane = evtPane.call(this, evt_or_pane) + , o = options[pane] + , s = state[pane] + , delay = s.isMoving ? 1000 : 300 // MINIMUM delay - option may override + ; + if (s.isClosed || s.isResizing) + return; // skip if already closed OR in process of resizing + else if (o.slideTrigger_close === "click") + close_NOW(); // close immediately onClick + else if (o.preventQuickSlideClose && s.isMoving) + return; // handle Chrome quick-close on slide-open + else if (o.preventPrematureSlideClose && evt && $.layout.isMouseOverElem(evt, $Ps[pane])) + return; // handle incorrect mouseleave trigger, like when over a SELECT-list in IE + else if (evt) // trigger = mouseleave - use a delay + // 1 sec delay if 'opening', else .3 sec + timer.set(pane+"_closeSlider", close_NOW, max(o.slideDelay_close, delay)); + else // called programically + close_NOW(); + + /** + * SUBROUTINE for timed close + */ + function close_NOW () { + if (s.isClosed) // skip 'close' if already closed! + bindStopSlidingEvents(pane, false); // UNBIND trigger events - TODO: is this needed here? + else if (!s.isMoving) + close(pane); // close will handle unbinding + }; + } + + /** + * @param {string|Object} evt_or_pane The pane being opened, ie: north, south, east, or west + */ +, slideToggle = function (evt_or_pane) { + var pane = evtPane.call(this, evt_or_pane); + toggle(pane, true); + } + + + /** + * Must set left/top on East/South panes so animation will work properly + * + * @param {string} pane The pane to lock, 'east' or 'south' - any other is ignored! + * @param {boolean} doLock true = set left/top, false = remove + */ +, lockPaneForFX = function (pane, doLock) { + var $P = $Ps[pane] + , s = state[pane] + , o = options[pane] + , z = options.zIndexes + ; + if (doLock) { + $P.css({ zIndex: z.pane_animate }); // overlay all elements during animation + if (pane=="south") + $P.css({ top: sC.insetTop + sC.innerHeight - $P.outerHeight() }); + else if (pane=="east") + $P.css({ left: sC.insetLeft + sC.innerWidth - $P.outerWidth() }); + } + else { // animation DONE - RESET CSS + // TODO: see if this can be deleted. It causes a quick-close when sliding in Chrome + $P.css({ zIndex: (s.isSliding ? z.pane_sliding : z.pane_normal) }); + if (pane=="south") + $P.css({ top: "auto" }); + // if pane is positioned 'off-screen', then DO NOT screw with it! + else if (pane=="east" && !$P.css("left").match(/\-99999/)) + $P.css({ left: "auto" }); + // fix anti-aliasing in IE - only needed for animations that change opacity + if (browser.msie && o.fxOpacityFix && o.fxName_open != "slide" && $P.css("filter") && $P.css("opacity") == 1) + $P[0].style.removeAttribute('filter'); + } + } + + + /** + * Toggle sliding functionality of a specific pane on/off by adding removing 'slide open' trigger + * + * @see open(), close() + * @param {string} pane The pane to enable/disable, 'north', 'south', etc. + * @param {boolean} enable Enable or Disable sliding? + */ +, bindStartSlidingEvent = function (pane, enable) { + var o = options[pane] + , $P = $Ps[pane] + , $R = $Rs[pane] + , evtName = o.slideTrigger_open.toLowerCase() + ; + if (!$R || (enable && !o.slidable)) return; + + // make sure we have a valid event + if (evtName.match(/mouseover/)) + evtName = o.slideTrigger_open = "mouseenter"; + else if (!evtName.match(/(click|dblclick|mouseenter)/)) + evtName = o.slideTrigger_open = "click"; + + $R + // add or remove event + [enable ? "bind" : "unbind"](evtName +'.'+ sID, slideOpen) + // set the appropriate cursor & title/tip + .css("cursor", enable ? o.sliderCursor : "default") + .attr("title", enable ? o.tips.Slide : "") + ; + } + + /** + * Add or remove 'mouseleave' events to 'slide close' when pane is 'sliding' open or closed + * Also increases zIndex when pane is sliding open + * See bindStartSlidingEvent for code to control 'slide open' + * + * @see slideOpen(), slideClose() + * @param {string} pane The pane to process, 'north', 'south', etc. + * @param {boolean} enable Enable or Disable events? + */ +, bindStopSlidingEvents = function (pane, enable) { + var o = options[pane] + , s = state[pane] + , c = _c[pane] + , z = options.zIndexes + , evtName = o.slideTrigger_close.toLowerCase() + , action = (enable ? "bind" : "unbind") + , $P = $Ps[pane] + , $R = $Rs[pane] + ; + s.isSliding = enable; // logic + timer.clear(pane+"_closeSlider"); // just in case + + // remove 'slideOpen' event from resizer + // ALSO will raise the zIndex of the pane & resizer + if (enable) bindStartSlidingEvent(pane, false); + + // RE/SET zIndex - increases when pane is sliding-open, resets to normal when not + $P.css("zIndex", enable ? z.pane_sliding : z.pane_normal); + $R.css("zIndex", enable ? z.pane_sliding+2 : z.resizer_normal); // NOTE: mask = pane_sliding+1 + + // make sure we have a valid event + if (!evtName.match(/(click|mouseleave)/)) + evtName = o.slideTrigger_close = "mouseleave"; // also catches 'mouseout' + + // add/remove slide triggers + $R[action](evtName, slideClose); // base event on resize + // need extra events for mouseleave + if (evtName === "mouseleave") { + // also close on pane.mouseleave + $P[action]("mouseleave."+ sID, slideClose); + // cancel timer when mouse moves between 'pane' and 'resizer' + $R[action]("mouseenter."+ sID, cancelMouseOut); + $P[action]("mouseenter."+ sID, cancelMouseOut); + } + + if (!enable) + timer.clear(pane+"_closeSlider"); + else if (evtName === "click" && !o.resizable) { + // IF pane is not resizable (which already has a cursor and tip) + // then set the a cursor & title/tip on resizer when sliding + $R.css("cursor", enable ? o.sliderCursor : "default"); + $R.attr("title", enable ? o.tips.Close : ""); // use Toggler-tip, eg: "Close Pane" + } + + // SUBROUTINE for mouseleave timer clearing + function cancelMouseOut (evt) { + timer.clear(pane+"_closeSlider"); + evt.stopPropagation(); + } + } + + + /** + * Hides/closes a pane if there is insufficient room - reverses this when there is room again + * MUST have already called setSizeLimits() before calling this method + * + * @param {string} pane The pane being resized + * @param {boolean=} [isOpening=false] Called from onOpen? + * @param {boolean=} [skipCallback=false] Should the onresize callback be run? + * @param {boolean=} [force=false] + */ +, makePaneFit = function (pane, isOpening, skipCallback, force) { + var + o = options[pane] + , s = state[pane] + , c = _c[pane] + , $P = $Ps[pane] + , $R = $Rs[pane] + , isSidePane = c.dir==="vert" + , hasRoom = false + ; + // special handling for center & east/west panes + if (pane === "center" || (isSidePane && s.noVerticalRoom)) { + // see if there is enough room to display the pane + // ERROR: hasRoom = s.minHeight <= s.maxHeight && (isSidePane || s.minWidth <= s.maxWidth); + hasRoom = (s.maxHeight >= 0); + if (hasRoom && s.noRoom) { // previously hidden due to noRoom, so show now + _showPane(pane); + if ($R) $R.show(); + s.isVisible = true; + s.noRoom = false; + if (isSidePane) s.noVerticalRoom = false; + _fixIframe(pane); + } + else if (!hasRoom && !s.noRoom) { // not currently hidden, so hide now + _hidePane(pane); + if ($R) $R.hide(); + s.isVisible = false; + s.noRoom = true; + } + } + + // see if there is enough room to fit the border-pane + if (pane === "center") { + // ignore center in this block + } + else if (s.minSize <= s.maxSize) { // pane CAN fit + hasRoom = true; + if (s.size > s.maxSize) // pane is too big - shrink it + sizePane(pane, s.maxSize, skipCallback, force, true); // true = noAnimation + else if (s.size < s.minSize) // pane is too small - enlarge it + sizePane(pane, s.minSize, skipCallback, force, true); + // need s.isVisible because new pseudoClose method keeps pane visible, but off-screen + else if ($R && s.isVisible && $P.is(":visible")) { + // make sure resizer-bar is positioned correctly + // handles situation where nested layout was 'hidden' when initialized + var side = c.side.toLowerCase() + , pos = s.size + sC["inset"+ c.side] + ; + if ($.layout.cssNum($R, side) != pos) $R.css( side, pos ); + } + + // if was previously hidden due to noRoom, then RESET because NOW there is room + if (s.noRoom) { + // s.noRoom state will be set by open or show + if (s.wasOpen && o.closable) { + if (o.autoReopen) + open(pane, false, true, true); // true = noAnimation, true = noAlert + else // leave the pane closed, so just update state + s.noRoom = false; + } + else + show(pane, s.wasOpen, true, true); // true = noAnimation, true = noAlert + } + } + else { // !hasRoom - pane CANNOT fit + if (!s.noRoom) { // pane not set as noRoom yet, so hide or close it now... + s.noRoom = true; // update state + s.wasOpen = !s.isClosed && !s.isSliding; + if (s.isClosed){} // SKIP + else if (o.closable) // 'close' if possible + close(pane, true, true); // true = force, true = noAnimation + else // 'hide' pane if cannot just be closed + hide(pane, true); // true = noAnimation + } + } + } + + + /** + * sizePane / manualSizePane + * sizePane is called only by internal methods whenever a pane needs to be resized + * manualSizePane is an exposed flow-through method allowing extra code when pane is 'manually resized' + * + * @param {string|Object} evt_or_pane The pane being resized + * @param {number} size The *desired* new size for this pane - will be validated + * @param {boolean=} [skipCallback=false] Should the onresize callback be run? + * @param {boolean=} [noAnimation=false] + */ +, manualSizePane = function (evt_or_pane, size, skipCallback, noAnimation) { + if (!isInitialized()) return; + var pane = evtPane.call(this, evt_or_pane) + , o = options[pane] + , s = state[pane] + // if resizing callbacks have been delayed and resizing is now DONE, force resizing to complete... + , forceResize = o.livePaneResizing && !s.isResizing + ; + // ANY call to manualSizePane disables autoResize - ie, percentage sizing + o.autoResize = false; + // flow-through... + sizePane(pane, size, skipCallback, forceResize, noAnimation); // will animate resize if option enabled + } + + /** + * @param {string|Object} evt_or_pane The pane being resized + * @param {number} size The *desired* new size for this pane - will be validated + * @param {boolean=} [skipCallback=false] Should the onresize callback be run? + * @param {boolean=} [force=false] Force resizing even if does not seem necessary + * @param {boolean=} [noAnimation=false] + */ +, sizePane = function (evt_or_pane, size, skipCallback, force, noAnimation) { + if (!isInitialized()) return; + var pane = evtPane.call(this, evt_or_pane) // probably NEVER called from event? + , o = options[pane] + , s = state[pane] + , $P = $Ps[pane] + , $R = $Rs[pane] + , side = _c[pane].side.toLowerCase() + , dimName = _c[pane].sizeType.toLowerCase() + , inset = "inset"+ _c[pane].side + , skipResizeWhileDragging = s.isResizing && !o.triggerEventsDuringLiveResize + , doFX = noAnimation !== true && o.animatePaneSizing + , oldSize, newSize + ; + // QUEUE in case another action/animation is in progress + $N.queue(function( queueNext ){ + // calculate 'current' min/max sizes + setSizeLimits(pane); // update pane-state + oldSize = s.size; + size = _parseSize(pane, size); // handle percentages & auto + size = max(size, _parseSize(pane, o.minSize)); + size = min(size, s.maxSize); + if (size < s.minSize) { // not enough room for pane! + queueNext(); // call before makePaneFit() because it needs the queue free + makePaneFit(pane, false, skipCallback); // will hide or close pane + return; + } + + // IF newSize is same as oldSize, then nothing to do - abort + if (!force && size === oldSize) + return queueNext(); + + // onresize_start callback CANNOT cancel resizing because this would break the layout! + if (!skipCallback && state.initialized && s.isVisible) + _runCallbacks("onresize_start", pane); + + // resize the pane, and make sure its visible + newSize = cssSize(pane, size); + + if (doFX && $P.is(":visible")) { // ANIMATE + var fx = $.layout.effects.size[pane] || $.layout.effects.size.all + , easing = o.fxSettings_size.easing || fx.easing + , z = options.zIndexes + , props = {}; + props[ dimName ] = newSize +'px'; + s.isMoving = true; + // overlay all elements during animation + $P.css({ zIndex: z.pane_animate }) + .show().animate( props, o.fxSpeed_size, easing, function(){ + // reset zIndex after animation + $P.css({ zIndex: (s.isSliding ? z.pane_sliding : z.pane_normal) }); + s.isMoving = false; + sizePane_2(); // continue + queueNext(); + }); + } + else { // no animation + $P.css( dimName, newSize ); // resize pane + // if pane is visible, then + if ($P.is(":visible")) + sizePane_2(); // continue + else { + // pane is NOT VISIBLE, so just update state data... + // when pane is *next opened*, it will have the new size + s.size = size; // update state.size + $.extend(s, elDims($P)); // update state dimensions + } + queueNext(); + }; + + }); + + // SUBROUTINE + function sizePane_2 () { + /* Panes are sometimes not sized precisely in some browsers!? + * This code will resize the pane up to 3 times to nudge the pane to the correct size + */ + var actual = dimName==='width' ? $P.outerWidth() : $P.outerHeight() + , tries = [{ + pane: pane + , count: 1 + , target: size + , actual: actual + , correct: (size === actual) + , attempt: size + , cssSize: newSize + }] + , lastTry = tries[0] + , thisTry = {} + , msg = 'Inaccurate size after resizing the '+ pane +'-pane.' + ; + while ( !lastTry.correct ) { + thisTry = { pane: pane, count: lastTry.count+1, target: size }; + + if (lastTry.actual > size) + thisTry.attempt = max(0, lastTry.attempt - (lastTry.actual - size)); + else // lastTry.actual < size + thisTry.attempt = max(0, lastTry.attempt + (size - lastTry.actual)); + + thisTry.cssSize = cssSize(pane, thisTry.attempt); + $P.css( dimName, thisTry.cssSize ); + + thisTry.actual = dimName=='width' ? $P.outerWidth() : $P.outerHeight(); + thisTry.correct = (size === thisTry.actual); + + // log attempts and alert the user of this *non-fatal error* (if showDebugMessages) + if ( tries.length === 1) { + _log(msg, false, true); + _log(lastTry, false, true); + } + _log(thisTry, false, true); + // after 4 tries, is as close as its gonna get! + if (tries.length > 3) break; + + tries.push( thisTry ); + lastTry = tries[ tries.length - 1 ]; + } + // END TESTING CODE + + // update pane-state dimensions + s.size = size; + $.extend(s, elDims($P)); + + if (s.isVisible && $P.is(":visible")) { + // reposition the resizer-bar + if ($R) $R.css( side, size + sC[inset] ); + // resize the content-div + sizeContent(pane); + } + + if (!skipCallback && !skipResizeWhileDragging && state.initialized && s.isVisible) + _runCallbacks("onresize_end", pane); + + // resize all the adjacent panes, and adjust their toggler buttons + // when skipCallback passed, it means the controlling method will handle 'other panes' + if (!skipCallback) { + // also no callback if live-resize is in progress and NOT triggerEventsDuringLiveResize + if (!s.isSliding) sizeMidPanes(_c[pane].dir=="horz" ? "" : "center", skipResizeWhileDragging, force); + sizeHandles(); + } + + // if opposite-pane was autoClosed, see if it can be autoOpened now + var altPane = _c.oppositeEdge[pane]; + if (size < oldSize && state[ altPane ].noRoom) { + setSizeLimits( altPane ); + makePaneFit( altPane, false, skipCallback ); + } + + // DEBUG - ALERT user/developer so they know there was a sizing problem + if (tries.length > 1) + _log(msg +'\nSee the Error Console for details.', true, true); + } + } + + /** + * @see initPanes(), sizePane(), resizeAll(), open(), close(), hide() + * @param {Array.|string} panes The pane(s) being resized, comma-delmited string + * @param {boolean=} [skipCallback=false] Should the onresize callback be run? + * @param {boolean=} [force=false] + */ +, sizeMidPanes = function (panes, skipCallback, force) { + panes = (panes ? panes : "east,west,center").split(","); + + $.each(panes, function (i, pane) { + if (!$Ps[pane]) return; // NO PANE - skip + var + o = options[pane] + , s = state[pane] + , $P = $Ps[pane] + , $R = $Rs[pane] + , isCenter= (pane=="center") + , hasRoom = true + , CSS = {} + , newCenter = calcNewCenterPaneDims() + ; + // update pane-state dimensions + $.extend(s, elDims($P)); + + if (pane === "center") { + if (!force && s.isVisible && newCenter.width === s.outerWidth && newCenter.height === s.outerHeight) + return true; // SKIP - pane already the correct size + // set state for makePaneFit() logic + $.extend(s, cssMinDims(pane), { + maxWidth: newCenter.width + , maxHeight: newCenter.height + }); + CSS = newCenter; + // convert OUTER width/height to CSS width/height + CSS.width = cssW($P, CSS.width); + // NEW - allow pane to extend 'below' visible area rather than hide it + CSS.height = cssH($P, CSS.height); + hasRoom = CSS.width >= 0 && CSS.height >= 0; // height >= 0 = ALWAYS TRUE NOW + // during layout init, try to shrink east/west panes to make room for center + if (!state.initialized && o.minWidth > s.outerWidth) { + var + reqPx = o.minWidth - s.outerWidth + , minE = options.east.minSize || 0 + , minW = options.west.minSize || 0 + , sizeE = state.east.size + , sizeW = state.west.size + , newE = sizeE + , newW = sizeW + ; + if (reqPx > 0 && state.east.isVisible && sizeE > minE) { + newE = max( sizeE-minE, sizeE-reqPx ); + reqPx -= sizeE-newE; + } + if (reqPx > 0 && state.west.isVisible && sizeW > minW) { + newW = max( sizeW-minW, sizeW-reqPx ); + reqPx -= sizeW-newW; + } + // IF we found enough extra space, then resize the border panes as calculated + if (reqPx === 0) { + if (sizeE && sizeE != minE) + sizePane('east', newE, true, force, true); // true = skipCallback/noAnimation - initPanes will handle when done + if (sizeW && sizeW != minW) + sizePane('west', newW, true, force, true); + // now start over! + sizeMidPanes('center', skipCallback, force); + return; // abort this loop + } + } + } + else { // for east and west, set only the height, which is same as center height + // set state.min/maxWidth/Height for makePaneFit() logic + if (s.isVisible && !s.noVerticalRoom) + $.extend(s, elDims($P), cssMinDims(pane)) + if (!force && !s.noVerticalRoom && newCenter.height === s.outerHeight) + return true; // SKIP - pane already the correct size + // east/west have same top, bottom & height as center + CSS.top = newCenter.top; + CSS.bottom = newCenter.bottom; + // NEW - allow pane to extend 'below' visible area rather than hide it + CSS.height = cssH($P, newCenter.height); + s.maxHeight = CSS.height; + hasRoom = (s.maxHeight >= 0); // ALWAYS TRUE NOW + if (!hasRoom) s.noVerticalRoom = true; // makePaneFit() logic + } + + if (hasRoom) { + // resizeAll passes skipCallback because it triggers callbacks after ALL panes are resized + if (!skipCallback && state.initialized) + _runCallbacks("onresize_start", pane); + + $P.css(CSS); // apply the CSS to pane + if (pane !== "center") + sizeHandles(pane); // also update resizer length + if (s.noRoom && !s.isClosed && !s.isHidden) + makePaneFit(pane); // will re-open/show auto-closed/hidden pane + if (s.isVisible) { + $.extend(s, elDims($P)); // update pane dimensions + if (state.initialized) sizeContent(pane); // also resize the contents, if exists + } + } + else if (!s.noRoom && s.isVisible) // no room for pane + makePaneFit(pane); // will hide or close pane + + if (!s.isVisible) + return true; // DONE - next pane + + /* + * Extra CSS for IE6 or IE7 in Quirks-mode - add 'width' to NORTH/SOUTH panes + * Normally these panes have only 'left' & 'right' positions so pane auto-sizes + * ALSO required when pane is an IFRAME because will NOT default to 'full width' + * TODO: Can I use width:100% for a north/south iframe? + * TODO: Sounds like a job for $P.outerWidth( sC.innerWidth ) SETTER METHOD + */ + if (pane === "center") { // finished processing midPanes + var fix = browser.isIE6 || !browser.boxModel; + if ($Ps.north && (fix || state.north.tagName=="IFRAME")) + $Ps.north.css("width", cssW($Ps.north, sC.innerWidth)); + if ($Ps.south && (fix || state.south.tagName=="IFRAME")) + $Ps.south.css("width", cssW($Ps.south, sC.innerWidth)); + } + + // resizeAll passes skipCallback because it triggers callbacks after ALL panes are resized + if (!skipCallback && state.initialized) + _runCallbacks("onresize_end", pane); + }); + } + + + /** + * @see window.onresize(), callbacks or custom code + */ +, resizeAll = function (evt) { + // stopPropagation if called by trigger("layoutdestroy") - use evtPane utility + evtPane(evt); + + if (!state.initialized) { + _initLayoutElements(); + return; // no need to resize since we just initialized! + } + var oldW = sC.innerWidth + , oldH = sC.innerHeight + ; + // cannot size layout when 'container' is hidden or collapsed + if (!$N.is(":visible") ) return; + $.extend(state.container, elDims( $N )); // UPDATE container dimensions + if (!sC.outerHeight) return; + + // onresizeall_start will CANCEL resizing if returns false + // state.container has already been set, so user can access this info for calcuations + if (false === _runCallbacks("onresizeall_start")) return false; + + var // see if container is now 'smaller' than before + shrunkH = (sC.innerHeight < oldH) + , shrunkW = (sC.innerWidth < oldW) + , $P, o, s, dir + ; + // NOTE special order for sizing: S-N-E-W + $.each(["south","north","east","west"], function (i, pane) { + if (!$Ps[pane]) return; // no pane - SKIP + s = state[pane]; + o = options[pane]; + dir = _c[pane].dir; + + if (o.autoResize && s.size != o.size) // resize pane to original size set in options + sizePane(pane, o.size, true, true, true); // true=skipCallback/forceResize/noAnimation + else { + setSizeLimits(pane); + makePaneFit(pane, false, true, true); // true=skipCallback/forceResize + } + }); + + sizeMidPanes("", true, true); // true=skipCallback, true=forceResize + sizeHandles(); // reposition the toggler elements + + // trigger all individual pane callbacks AFTER layout has finished resizing + o = options; // reuse alias + $.each(_c.allPanes, function (i, pane) { + $P = $Ps[pane]; + if (!$P) return; // SKIP + if (state[pane].isVisible) // undefined for non-existent panes + _runCallbacks("onresize_end", pane); // callback - if exists + }); + + _runCallbacks("onresizeall_end"); + //_triggerLayoutEvent(pane, 'resizeall'); + } + + /** + * Whenever a pane resizes or opens that has a nested layout, trigger resizeAll + * + * @param {string|Object} evt_or_pane The pane just resized or opened + */ +, resizeChildLayout = function (evt_or_pane) { + var pane = evtPane.call(this, evt_or_pane); + if (!options[pane].resizeChildLayout) return; + var $P = $Ps[pane] + , $C = $Cs[pane] + , d = "layout" + , P = Instance[pane] + , L = children[pane] + ; + // user may have manually set EITHER instance pointer, so handle that + if (P.child && !L) { + // have to reverse the pointers! + var el = P.child.container; + L = children[pane] = (el ? el.data(d) : 0) || null; // set pointer _directly_ to layout instance + } + + // if a layout-pointer exists, see if child has been destroyed + if (L && L.destroyed) + L = children[pane] = null; // clear child pointers + // no child layout pointer is set - see if there is a child layout NOW + if (!L) L = children[pane] = $P.data(d) || ($C ? $C.data(d) : 0) || null; // set/update child pointers + + // ALWAYS refresh the pane.child alias + P.child = children[pane]; + + if (L) L.resizeAll(); + } + + + /** + * IF pane has a content-div, then resize all elements inside pane to fit pane-height + * + * @param {string|Object} evt_or_panes The pane(s) being resized + * @param {boolean=} [remeasure=false] Should the content (header/footer) be remeasured? + */ +, sizeContent = function (evt_or_panes, remeasure) { + if (!isInitialized()) return; + + var panes = evtPane.call(this, evt_or_panes); + panes = panes ? panes.split(",") : _c.allPanes; + + $.each(panes, function (idx, pane) { + var + $P = $Ps[pane] + , $C = $Cs[pane] + , o = options[pane] + , s = state[pane] + , m = s.content // m = measurements + ; + if (!$P || !$C || !$P.is(":visible")) return true; // NOT VISIBLE - skip + + // if content-element was REMOVED, update OR remove the pointer + if (!$C.length) { + initContent(pane, false); // false = do NOT sizeContent() - already there! + if (!$C) return; // no replacement element found - pointer have been removed + } + + // onsizecontent_start will CANCEL resizing if returns false + if (false === _runCallbacks("onsizecontent_start", pane)) return; + + // skip re-measuring offsets if live-resizing + if ((!s.isMoving && !s.isResizing) || o.liveContentResizing || remeasure || m.top == undefined) { + _measure(); + // if any footers are below pane-bottom, they may not measure correctly, + // so allow pane overflow and re-measure + if (m.hiddenFooters > 0 && $P.css("overflow") === "hidden") { + $P.css("overflow", "visible"); + _measure(); // remeasure while overflowing + $P.css("overflow", "hidden"); + } + } + // NOTE: spaceAbove/Below *includes* the pane paddingTop/Bottom, but not pane.borders + var newH = s.innerHeight - (m.spaceAbove - s.css.paddingTop) - (m.spaceBelow - s.css.paddingBottom); + + if (!$C.is(":visible") || m.height != newH) { + // size the Content element to fit new pane-size - will autoHide if not enough room + setOuterHeight($C, newH, true); // true=autoHide + m.height = newH; // save new height + }; + + if (state.initialized) + _runCallbacks("onsizecontent_end", pane); + + function _below ($E) { + return max(s.css.paddingBottom, (parseInt($E.css("marginBottom"), 10) || 0)); + }; + + function _measure () { + var + ignore = options[pane].contentIgnoreSelector + , $Fs = $C.nextAll().not(ignore || ':lt(0)') // not :lt(0) = ALL + , $Fs_vis = $Fs.filter(':visible') + , $F = $Fs_vis.filter(':last') + ; + m = { + top: $C[0].offsetTop + , height: $C.outerHeight() + , numFooters: $Fs.length + , hiddenFooters: $Fs.length - $Fs_vis.length + , spaceBelow: 0 // correct if no content footer ($E) + } + m.spaceAbove = m.top; // just for state - not used in calc + m.bottom = m.top + m.height; + if ($F.length) + //spaceBelow = (LastFooter.top + LastFooter.height) [footerBottom] - Content.bottom + max(LastFooter.marginBottom, pane.paddingBotom) + m.spaceBelow = ($F[0].offsetTop + $F.outerHeight()) - m.bottom + _below($F); + else // no footer - check marginBottom on Content element itself + m.spaceBelow = _below($C); + }; + }); + } + + + /** + * Called every time a pane is opened, closed, or resized to slide the togglers to 'center' and adjust their length if necessary + * + * @see initHandles(), open(), close(), resizeAll() + * @param {string|Object} evt_or_panes The pane(s) being resized + */ +, sizeHandles = function (evt_or_panes) { + var panes = evtPane.call(this, evt_or_panes) + panes = panes ? panes.split(",") : _c.borderPanes; + + $.each(panes, function (i, pane) { + var + o = options[pane] + , s = state[pane] + , $P = $Ps[pane] + , $R = $Rs[pane] + , $T = $Ts[pane] + , $TC + ; + if (!$P || !$R) return; + + var + dir = _c[pane].dir + , _state = (s.isClosed ? "_closed" : "_open") + , spacing = o["spacing"+ _state] + , togAlign = o["togglerAlign"+ _state] + , togLen = o["togglerLength"+ _state] + , paneLen + , left + , offset + , CSS = {} + ; + + if (spacing === 0) { + $R.hide(); + return; + } + else if (!s.noRoom && !s.isHidden) // skip if resizer was hidden for any reason + $R.show(); // in case was previously hidden + + // Resizer Bar is ALWAYS same width/height of pane it is attached to + if (dir === "horz") { // north/south + //paneLen = $P.outerWidth(); // s.outerWidth || + paneLen = sC.innerWidth; // handle offscreen-panes + s.resizerLength = paneLen; + left = $.layout.cssNum($P, "left") + $R.css({ + width: cssW($R, paneLen) // account for borders & padding + , height: cssH($R, spacing) // ditto + , left: left > -9999 ? left : sC.insetLeft // handle offscreen-panes + }); + } + else { // east/west + paneLen = $P.outerHeight(); // s.outerHeight || + s.resizerLength = paneLen; + $R.css({ + height: cssH($R, paneLen) // account for borders & padding + , width: cssW($R, spacing) // ditto + , top: sC.insetTop + getPaneSize("north", true) // TODO: what if no North pane? + //, top: $.layout.cssNum($Ps["center"], "top") + }); + } + + // remove hover classes + removeHover( o, $R ); + + if ($T) { + if (togLen === 0 || (s.isSliding && o.hideTogglerOnSlide)) { + $T.hide(); // always HIDE the toggler when 'sliding' + return; + } + else + $T.show(); // in case was previously hidden + + if (!(togLen > 0) || togLen === "100%" || togLen > paneLen) { + togLen = paneLen; + offset = 0; + } + else { // calculate 'offset' based on options.PANE.togglerAlign_open/closed + if (isStr(togAlign)) { + switch (togAlign) { + case "top": + case "left": offset = 0; + break; + case "bottom": + case "right": offset = paneLen - togLen; + break; + case "middle": + case "center": + default: offset = round((paneLen - togLen) / 2); // 'default' catches typos + } + } + else { // togAlign = number + var x = parseInt(togAlign, 10); // + if (togAlign >= 0) offset = x; + else offset = paneLen - togLen + x; // NOTE: x is negative! + } + } + + if (dir === "horz") { // north/south + var width = cssW($T, togLen); + $T.css({ + width: width // account for borders & padding + , height: cssH($T, spacing) // ditto + , left: offset // TODO: VERIFY that toggler positions correctly for ALL values + , top: 0 + }); + // CENTER the toggler content SPAN + $T.children(".content").each(function(){ + $TC = $(this); + $TC.css("marginLeft", round((width-$TC.outerWidth())/2)); // could be negative + }); + } + else { // east/west + var height = cssH($T, togLen); + $T.css({ + height: height // account for borders & padding + , width: cssW($T, spacing) // ditto + , top: offset // POSITION the toggler + , left: 0 + }); + // CENTER the toggler content SPAN + $T.children(".content").each(function(){ + $TC = $(this); + $TC.css("marginTop", round((height-$TC.outerHeight())/2)); // could be negative + }); + } + + // remove ALL hover classes + removeHover( 0, $T ); + } + + // DONE measuring and sizing this resizer/toggler, so can be 'hidden' now + if (!state.initialized && (o.initHidden || s.noRoom)) { + $R.hide(); + if ($T) $T.hide(); + } + }); + } + + + /** + * @param {string|Object} evt_or_pane + */ +, enableClosable = function (evt_or_pane) { + if (!isInitialized()) return; + var pane = evtPane.call(this, evt_or_pane) + , $T = $Ts[pane] + , o = options[pane] + ; + if (!$T) return; + o.closable = true; + $T .bind("click."+ sID, function(evt){ evt.stopPropagation(); toggle(pane); }) + .css("visibility", "visible") + .css("cursor", "pointer") + .attr("title", state[pane].isClosed ? o.tips.Open : o.tips.Close) // may be blank + .show(); + } + /** + * @param {string|Object} evt_or_pane + * @param {boolean=} [hide=false] + */ +, disableClosable = function (evt_or_pane, hide) { + if (!isInitialized()) return; + var pane = evtPane.call(this, evt_or_pane) + , $T = $Ts[pane] + ; + if (!$T) return; + options[pane].closable = false; + // is closable is disable, then pane MUST be open! + if (state[pane].isClosed) open(pane, false, true); + $T .unbind("."+ sID) + .css("visibility", hide ? "hidden" : "visible") // instead of hide(), which creates logic issues + .css("cursor", "default") + .attr("title", ""); + } + + + /** + * @param {string|Object} evt_or_pane + */ +, enableSlidable = function (evt_or_pane) { + if (!isInitialized()) return; + var pane = evtPane.call(this, evt_or_pane) + , $R = $Rs[pane] + ; + if (!$R || !$R.data('draggable')) return; + options[pane].slidable = true; + if (state[pane].isClosed) + bindStartSlidingEvent(pane, true); + } + /** + * @param {string|Object} evt_or_pane + */ +, disableSlidable = function (evt_or_pane) { + if (!isInitialized()) return; + var pane = evtPane.call(this, evt_or_pane) + , $R = $Rs[pane] + ; + if (!$R) return; + options[pane].slidable = false; + if (state[pane].isSliding) + close(pane, false, true); + else { + bindStartSlidingEvent(pane, false); + $R .css("cursor", "default") + .attr("title", ""); + removeHover(null, $R[0]); // in case currently hovered + } + } + + + /** + * @param {string|Object} evt_or_pane + */ +, enableResizable = function (evt_or_pane) { + if (!isInitialized()) return; + var pane = evtPane.call(this, evt_or_pane) + , $R = $Rs[pane] + , o = options[pane] + ; + if (!$R || !$R.data('draggable')) return; + o.resizable = true; + $R.draggable("enable"); + if (!state[pane].isClosed) + $R .css("cursor", o.resizerCursor) + .attr("title", o.tips.Resize); + } + /** + * @param {string|Object} evt_or_pane + */ +, disableResizable = function (evt_or_pane) { + if (!isInitialized()) return; + var pane = evtPane.call(this, evt_or_pane) + , $R = $Rs[pane] + ; + if (!$R || !$R.data('draggable')) return; + options[pane].resizable = false; + $R .draggable("disable") + .css("cursor", "default") + .attr("title", ""); + removeHover(null, $R[0]); // in case currently hovered + } + + + /** + * Move a pane from source-side (eg, west) to target-side (eg, east) + * If pane exists on target-side, move that to source-side, ie, 'swap' the panes + * + * @param {string|Object} evt_or_pane1 The pane/edge being swapped + * @param {string} pane2 ditto + */ +, swapPanes = function (evt_or_pane1, pane2) { + if (!isInitialized()) return; + var pane1 = evtPane.call(this, evt_or_pane1); + // change state.edge NOW so callbacks can know where pane is headed... + state[pane1].edge = pane2; + state[pane2].edge = pane1; + // run these even if NOT state.initialized + if (false === _runCallbacks("onswap_start", pane1) + || false === _runCallbacks("onswap_start", pane2) + ) { + state[pane1].edge = pane1; // reset + state[pane2].edge = pane2; + return; + } + + var + oPane1 = copy( pane1 ) + , oPane2 = copy( pane2 ) + , sizes = {} + ; + sizes[pane1] = oPane1 ? oPane1.state.size : 0; + sizes[pane2] = oPane2 ? oPane2.state.size : 0; + + // clear pointers & state + $Ps[pane1] = false; + $Ps[pane2] = false; + state[pane1] = {}; + state[pane2] = {}; + + // ALWAYS remove the resizer & toggler elements + if ($Ts[pane1]) $Ts[pane1].remove(); + if ($Ts[pane2]) $Ts[pane2].remove(); + if ($Rs[pane1]) $Rs[pane1].remove(); + if ($Rs[pane2]) $Rs[pane2].remove(); + $Rs[pane1] = $Rs[pane2] = $Ts[pane1] = $Ts[pane2] = false; + + // transfer element pointers and data to NEW Layout keys + move( oPane1, pane2 ); + move( oPane2, pane1 ); + + // cleanup objects + oPane1 = oPane2 = sizes = null; + + // make panes 'visible' again + if ($Ps[pane1]) $Ps[pane1].css(_c.visible); + if ($Ps[pane2]) $Ps[pane2].css(_c.visible); + + // fix any size discrepancies caused by swap + resizeAll(); + + // run these even if NOT state.initialized + _runCallbacks("onswap_end", pane1); + _runCallbacks("onswap_end", pane2); + + return; + + function copy (n) { // n = pane + var + $P = $Ps[n] + , $C = $Cs[n] + ; + return !$P ? false : { + pane: n + , P: $P ? $P[0] : false + , C: $C ? $C[0] : false + , state: $.extend(true, {}, state[n]) + , options: $.extend(true, {}, options[n]) + } + }; + + function move (oPane, pane) { + if (!oPane) return; + var + P = oPane.P + , C = oPane.C + , oldPane = oPane.pane + , c = _c[pane] + , side = c.side.toLowerCase() + , inset = "inset"+ c.side + // save pane-options that should be retained + , s = $.extend(true, {}, state[pane]) + , o = options[pane] + // RETAIN side-specific FX Settings - more below + , fx = { resizerCursor: o.resizerCursor } + , re, size, pos + ; + $.each("fxName,fxSpeed,fxSettings".split(","), function (i, k) { + fx[k +"_open"] = o[k +"_open"]; + fx[k +"_close"] = o[k +"_close"]; + fx[k +"_size"] = o[k +"_size"]; + }); + + // update object pointers and attributes + $Ps[pane] = $(P) + .data({ + layoutPane: Instance[pane] // NEW pointer to pane-alias-object + , layoutEdge: pane + }) + .css(_c.hidden) + .css(c.cssReq) + ; + $Cs[pane] = C ? $(C) : false; + + // set options and state + options[pane] = $.extend(true, {}, oPane.options, fx); + state[pane] = $.extend(true, {}, oPane.state); + + // change classNames on the pane, eg: ui-layout-pane-east ==> ui-layout-pane-west + re = new RegExp(o.paneClass +"-"+ oldPane, "g"); + P.className = P.className.replace(re, o.paneClass +"-"+ pane); + + // ALWAYS regenerate the resizer & toggler elements + initHandles(pane); // create the required resizer & toggler + + // if moving to different orientation, then keep 'target' pane size + if (c.dir != _c[oldPane].dir) { + size = sizes[pane] || 0; + setSizeLimits(pane); // update pane-state + size = max(size, state[pane].minSize); + // use manualSizePane to disable autoResize - not useful after panes are swapped + manualSizePane(pane, size, true, true); // true/true = skipCallback/noAnimation + } + else // move the resizer here + $Rs[pane].css(side, sC[inset] + (state[pane].isVisible ? getPaneSize(pane) : 0)); + + + // ADD CLASSNAMES & SLIDE-BINDINGS + if (oPane.state.isVisible && !s.isVisible) + setAsOpen(pane, true); // true = skipCallback + else { + setAsClosed(pane); + bindStartSlidingEvent(pane, true); // will enable events IF option is set + } + + // DESTROY the object + oPane = null; + }; + } + + + /** + * INTERNAL method to sync pin-buttons when pane is opened or closed + * Unpinned means the pane is 'sliding' - ie, over-top of the adjacent panes + * + * @see open(), setAsOpen(), setAsClosed() + * @param {string} pane These are the params returned to callbacks by layout() + * @param {boolean} doPin True means set the pin 'down', False means 'up' + */ +, syncPinBtns = function (pane, doPin) { + if ($.layout.plugins.buttons) + $.each(state[pane].pins, function (i, selector) { + $.layout.buttons.setPinState(Instance, $(selector), pane, doPin); + }); + } + +; // END var DECLARATIONS + + /** + * Capture keys when enableCursorHotkey - toggle pane if hotkey pressed + * + * @see document.keydown() + */ + function keyDown (evt) { + if (!evt) return true; + var code = evt.keyCode; + if (code < 33) return true; // ignore special keys: ENTER, TAB, etc + + var + PANE = { + 38: "north" // Up Cursor - $.ui.keyCode.UP + , 40: "south" // Down Cursor - $.ui.keyCode.DOWN + , 37: "west" // Left Cursor - $.ui.keyCode.LEFT + , 39: "east" // Right Cursor - $.ui.keyCode.RIGHT + } + , ALT = evt.altKey // no worky! + , SHIFT = evt.shiftKey + , CTRL = evt.ctrlKey + , CURSOR = (CTRL && code >= 37 && code <= 40) + , o, k, m, pane + ; + + if (CURSOR && options[PANE[code]].enableCursorHotkey) // valid cursor-hotkey + pane = PANE[code]; + else if (CTRL || SHIFT) // check to see if this matches a custom-hotkey + $.each(_c.borderPanes, function (i, p) { // loop each pane to check its hotkey + o = options[p]; + k = o.customHotkey; + m = o.customHotkeyModifier; // if missing or invalid, treated as "CTRL+SHIFT" + if ((SHIFT && m=="SHIFT") || (CTRL && m=="CTRL") || (CTRL && SHIFT)) { // Modifier matches + if (k && code === (isNaN(k) || k <= 9 ? k.toUpperCase().charCodeAt(0) : k)) { // Key matches + pane = p; + return false; // BREAK + } + } + }); + + // validate pane + if (!pane || !$Ps[pane] || !options[pane].closable || state[pane].isHidden) + return true; + + toggle(pane); + + evt.stopPropagation(); + evt.returnValue = false; // CANCEL key + return false; + }; + + +/* + * ###################################### + * UTILITY METHODS + * called externally or by initButtons + * ###################################### + */ + + /** + * Change/reset a pane overflow setting & zIndex to allow popups/drop-downs to work + * + * @param {Object=} [el] (optional) Can also be 'bound' to a click, mouseOver, or other event + */ + function allowOverflow (el) { + if (!isInitialized()) return; + if (this && this.tagName) el = this; // BOUND to element + var $P; + if (isStr(el)) + $P = $Ps[el]; + else if ($(el).data("layoutRole")) + $P = $(el); + else + $(el).parents().each(function(){ + if ($(this).data("layoutRole")) { + $P = $(this); + return false; // BREAK + } + }); + if (!$P || !$P.length) return; // INVALID + + var + pane = $P.data("layoutEdge") + , s = state[pane] + ; + + // if pane is already raised, then reset it before doing it again! + // this would happen if allowOverflow is attached to BOTH the pane and an element + if (s.cssSaved) + resetOverflow(pane); // reset previous CSS before continuing + + // if pane is raised by sliding or resizing, or its closed, then abort + if (s.isSliding || s.isResizing || s.isClosed) { + s.cssSaved = false; + return; + } + + var + newCSS = { zIndex: (options.zIndexes.resizer_normal + 1) } + , curCSS = {} + , of = $P.css("overflow") + , ofX = $P.css("overflowX") + , ofY = $P.css("overflowY") + ; + // determine which, if any, overflow settings need to be changed + if (of != "visible") { + curCSS.overflow = of; + newCSS.overflow = "visible"; + } + if (ofX && !ofX.match(/(visible|auto)/)) { + curCSS.overflowX = ofX; + newCSS.overflowX = "visible"; + } + if (ofY && !ofY.match(/(visible|auto)/)) { + curCSS.overflowY = ofX; + newCSS.overflowY = "visible"; + } + + // save the current overflow settings - even if blank! + s.cssSaved = curCSS; + + // apply new CSS to raise zIndex and, if necessary, make overflow 'visible' + $P.css( newCSS ); + + // make sure the zIndex of all other panes is normal + $.each(_c.allPanes, function(i, p) { + if (p != pane) resetOverflow(p); + }); + + }; + /** + * @param {Object=} [el] (optional) Can also be 'bound' to a click, mouseOver, or other event + */ + function resetOverflow (el) { + if (!isInitialized()) return; + if (this && this.tagName) el = this; // BOUND to element + var $P; + if (isStr(el)) + $P = $Ps[el]; + else if ($(el).data("layoutRole")) + $P = $(el); + else + $(el).parents().each(function(){ + if ($(this).data("layoutRole")) { + $P = $(this); + return false; // BREAK + } + }); + if (!$P || !$P.length) return; // INVALID + + var + pane = $P.data("layoutEdge") + , s = state[pane] + , CSS = s.cssSaved || {} + ; + // reset the zIndex + if (!s.isSliding && !s.isResizing) + $P.css("zIndex", options.zIndexes.pane_normal); + + // reset Overflow - if necessary + $P.css( CSS ); + + // clear var + s.cssSaved = false; + }; + +/* + * ##################### + * CREATE/RETURN LAYOUT + * ##################### + */ + + // validate that container exists + var $N = $(this).eq(0); // FIRST matching Container element + if (!$N.length) { + return _log( options.errors.containerMissing ); + }; + + // Users retrieve Instance of a layout with: $N.layout() OR $N.data("layout") + // return the Instance-pointer if layout has already been initialized + if ($N.data("layoutContainer") && $N.data("layout")) + return $N.data("layout"); // cached pointer + + // init global vars + var + $Ps = {} // Panes x5 - set in initPanes() + , $Cs = {} // Content x5 - set in initPanes() + , $Rs = {} // Resizers x4 - set in initHandles() + , $Ts = {} // Togglers x4 - set in initHandles() + , $Ms = $([]) // Masks - up to 2 masks per pane (IFRAME + DIV) + // aliases for code brevity + , sC = state.container // alias for easy access to 'container dimensions' + , sID = state.id // alias for unique layout ID/namespace - eg: "layout435" + ; + + // create Instance object to expose data & option Properties, and primary action Methods + var Instance = { + // layout data + options: options // property - options hash + , state: state // property - dimensions hash + // object pointers + , container: $N // property - object pointers for layout container + , panes: $Ps // property - object pointers for ALL Panes: panes.north, panes.center + , contents: $Cs // property - object pointers for ALL Content: contents.north, contents.center + , resizers: $Rs // property - object pointers for ALL Resizers, eg: resizers.north + , togglers: $Ts // property - object pointers for ALL Togglers, eg: togglers.north + // border-pane open/close + , hide: hide // method - ditto + , show: show // method - ditto + , toggle: toggle // method - pass a 'pane' ("north", "west", etc) + , open: open // method - ditto + , close: close // method - ditto + , slideOpen: slideOpen // method - ditto + , slideClose: slideClose // method - ditto + , slideToggle: slideToggle // method - ditto + // pane actions + , setSizeLimits: setSizeLimits // method - pass a 'pane' - update state min/max data + , _sizePane: sizePane // method -intended for user by plugins only! + , sizePane: manualSizePane // method - pass a 'pane' AND an 'outer-size' in pixels or percent, or 'auto' + , sizeContent: sizeContent // method - pass a 'pane' + , swapPanes: swapPanes // method - pass TWO 'panes' - will swap them + , showMasks: showMasks // method - pass a 'pane' OR list of panes - default = all panes with mask option set + , hideMasks: hideMasks // method - ditto' + // pane element methods + , initContent: initContent // method - ditto + , addPane: addPane // method - pass a 'pane' + , removePane: removePane // method - pass a 'pane' to remove from layout, add 'true' to delete the pane-elem + , createChildLayout: createChildLayout// method - pass a 'pane' and (optional) layout-options (OVERRIDES options[pane].childOptions + // special pane option setting + , enableClosable: enableClosable // method - pass a 'pane' + , disableClosable: disableClosable // method - ditto + , enableSlidable: enableSlidable // method - ditto + , disableSlidable: disableSlidable // method - ditto + , enableResizable: enableResizable // method - ditto + , disableResizable: disableResizable// method - ditto + // utility methods for panes + , allowOverflow: allowOverflow // utility - pass calling element (this) + , resetOverflow: resetOverflow // utility - ditto + // layout control + , destroy: destroy // method - no parameters + , initPanes: isInitialized // method - no parameters + , resizeAll: resizeAll // method - no parameters + // callback triggering + , runCallbacks: _runCallbacks // method - pass evtName & pane (if a pane-event), eg: trigger("onopen", "west") + // alias collections of options, state and children - created in addPane and extended elsewhere + , hasParentLayout: false // set by initContainer() + , children: children // pointers to child-layouts, eg: Instance.children["west"] + , north: false // alias group: { name: pane, pane: $Ps[pane], options: options[pane], state: state[pane], child: children[pane] } + , south: false // ditto + , west: false // ditto + , east: false // ditto + , center: false // ditto + }; + + // create the border layout NOW + if (_create() === 'cancel') // onload_start callback returned false to CANCEL layout creation + return null; + else // true OR false -- if layout-elements did NOT init (hidden or do not exist), can auto-init later + return Instance; // return the Instance object + +} + + +/* OLD versions of jQuery only set $.support.boxModel after page is loaded + * so if this is IE, use support.boxModel to test for quirks-mode (ONLY IE changes boxModel). + */ +$(function(){ + var b = $.layout.browser; + if (b.msie) b.boxModel = $.support.boxModel; +}); + + +/** + * jquery.layout.state 1.0 + * $Date: 2011-07-16 08:00:00 (Sat, 16 July 2011) $ + * + * Copyright (c) 2010 + * Kevin Dalman (http://allpro.net) + * + * Dual licensed under the GPL (http://www.gnu.org/licenses/gpl.html) + * and MIT (http://www.opensource.org/licenses/mit-license.php) licenses. + * + * @dependancies: UI Layout 1.3.0.rc30.1 or higher + * @dependancies: $.ui.cookie (above) + * + * @support: http://groups.google.com/group/jquery-ui-layout + */ +/* + * State-management options stored in options.stateManagement, which includes a .cookie hash + * Default options saves ALL KEYS for ALL PANES, ie: pane.size, pane.isClosed, pane.isHidden + * + * // STATE/COOKIE OPTIONS + * @example $(el).layout({ + stateManagement: { + enabled: true + , stateKeys: "east.size,west.size,east.isClosed,west.isClosed" + , cookie: { name: "appLayout", path: "/" } + } + }) + * @example $(el).layout({ stateManagement__enabled: true }) // enable auto-state-management using cookies + * @example $(el).layout({ stateManagement__cookie: { name: "appLayout", path: "/" } }) + * @example $(el).layout({ stateManagement__cookie__name: "appLayout", stateManagement__cookie__path: "/" }) + * + * // STATE/COOKIE METHODS + * @example myLayout.saveCookie( "west.isClosed,north.size,south.isHidden", {expires: 7} ); + * @example myLayout.loadCookie(); + * @example myLayout.deleteCookie(); + * @example var JSON = myLayout.readState(); // CURRENT Layout State + * @example var JSON = myLayout.readCookie(); // SAVED Layout State (from cookie) + * @example var JSON = myLayout.state.stateData; // LAST LOADED Layout State (cookie saved in layout.state hash) + * + * CUSTOM STATE-MANAGEMENT (eg, saved in a database) + * @example var JSON = myLayout.readState( "west.isClosed,north.size,south.isHidden" ); + * @example myLayout.loadState( JSON ); + */ + +/** + * UI COOKIE UTILITY + * + * A $.cookie OR $.ui.cookie namespace *should be standard*, but until then... + * This creates $.ui.cookie so Layout does not need the cookie.jquery.js plugin + * NOTE: This utility is REQUIRED by the layout.state plugin + * + * Cookie methods in Layout are created as part of State Management + */ +if (!$.ui) $.ui = {}; +$.ui.cookie = { + + // cookieEnabled is not in DOM specs, but DOES works in all browsers,including IE6 + acceptsCookies: !!navigator.cookieEnabled + +, read: function (name) { + var + c = document.cookie + , cs = c ? c.split(';') : [] + , pair // loop var + ; + for (var i=0, n=cs.length; i < n; i++) { + pair = $.trim(cs[i]).split('='); // name=value pair + if (pair[0] == name) // found the layout cookie + return decodeURIComponent(pair[1]); + + } + return null; + } + +, write: function (name, val, cookieOpts) { + var + params = '' + , date = '' + , clear = false + , o = cookieOpts || {} + , x = o.expires + ; + if (x && x.toUTCString) + date = x; + else if (x === null || typeof x === 'number') { + date = new Date(); + if (x > 0) + date.setDate(date.getDate() + x); + else { + date.setFullYear(1970); + clear = true; + } + } + if (date) params += ';expires='+ date.toUTCString(); + if (o.path) params += ';path='+ o.path; + if (o.domain) params += ';domain='+ o.domain; + if (o.secure) params += ';secure'; + document.cookie = name +'='+ (clear ? "" : encodeURIComponent( val )) + params; // write or clear cookie + } + +, clear: function (name) { + $.ui.cookie.write(name, '', {expires: -1}); + } + +}; +// if cookie.jquery.js is not loaded, create an alias to replicate it +// this may be useful to other plugins or code dependent on that plugin +if (!$.cookie) $.cookie = function (k, v, o) { + var C = $.ui.cookie; + if (v === null) + C.clear(k); + else if (v === undefined) + return C.read(k); + else + C.write(k, v, o); +}; + + +// tell Layout that the state plugin is available +$.layout.plugins.stateManagement = true; + +// Add State-Management options to layout.defaults +$.layout.config.optionRootKeys.push("stateManagement"); +$.layout.defaults.stateManagement = { + enabled: false // true = enable state-management, even if not using cookies +, autoSave: true // Save a state-cookie when page exits? +, autoLoad: true // Load the state-cookie when Layout inits? + // List state-data to save - must be pane-specific +, stateKeys: "north.size,south.size,east.size,west.size,"+ + "north.isClosed,south.isClosed,east.isClosed,west.isClosed,"+ + "north.isHidden,south.isHidden,east.isHidden,west.isHidden" +, cookie: { + name: "" // If not specified, will use Layout.name, else just "Layout" + , domain: "" // blank = current domain + , path: "" // blank = current page, '/' = entire website + , expires: "" // 'days' to keep cookie - leave blank for 'session cookie' + , secure: false + } +}; +// Set stateManagement as a layout-option, NOT a pane-option +$.layout.optionsMap.layout.push("stateManagement"); + +/* + * State Management methods + */ +$.layout.state = { + + /** + * Get the current layout state and save it to a cookie + * + * myLayout.saveCookie( keys, cookieOpts ) + * + * @param {Object} inst + * @param {(string|Array)=} keys + * @param {Object=} cookieOpts + */ + saveCookie: function (inst, keys, cookieOpts) { + var o = inst.options + , oS = o.stateManagement + , oC = $.extend(true, {}, oS.cookie, cookieOpts || null) + , data = inst.state.stateData = inst.readState( keys || oS.stateKeys ) // read current panes-state + ; + $.ui.cookie.write( oC.name || o.name || "Layout", $.layout.state.encodeJSON(data), oC ); + return $.extend(true, {}, data); // return COPY of state.stateData data + } + + /** + * Remove the state cookie + * + * @param {Object} inst + */ +, deleteCookie: function (inst) { + var o = inst.options; + $.ui.cookie.clear( o.stateManagement.cookie.name || o.name || "Layout" ); + } + + /** + * Read & return data from the cookie - as JSON + * + * @param {Object} inst + */ +, readCookie: function (inst) { + var o = inst.options; + var c = $.ui.cookie.read( o.stateManagement.cookie.name || o.name || "Layout" ); + // convert cookie string back to a hash and return it + return c ? $.layout.state.decodeJSON(c) : {}; + } + + /** + * Get data from the cookie and USE IT to loadState + * + * @param {Object} inst + */ +, loadCookie: function (inst) { + var c = $.layout.state.readCookie(inst); // READ the cookie + if (c) { + inst.state.stateData = $.extend(true, {}, c); // SET state.stateData + inst.loadState(c); // LOAD the retrieved state + } + return c; + } + + /** + * Update layout options from the cookie, if one exists + * + * @param {Object} inst + * @param {Object=} stateData + * @param {boolean=} animate + */ +, loadState: function (inst, stateData, animate) { + stateData = $.layout.transformData( stateData ); // panes = default subkey + if ($.isEmptyObject( stateData )) return; + $.extend(true, inst.options, stateData); // update layout options + // if layout has already been initialized, then UPDATE layout state + if (inst.state.initialized) { + var pane, vis, o, s, h, c + , noAnimate = (animate===false) + ; + $.each($.layout.config.borderPanes, function (idx, pane) { + state = inst.state[pane]; + o = stateData[ pane ]; + if (typeof o != 'object') return; // no key, continue + s = o.size; + c = o.initClosed; + h = o.initHidden; + vis = state.isVisible; + // resize BEFORE opening + if (!vis) + inst.sizePane(pane, s, false, false); + if (h === true) inst.hide(pane, noAnimate); + else if (c === false) inst.open (pane, false, noAnimate); + else if (c === true) inst.close(pane, false, noAnimate); + else if (h === false) inst.show (pane, false, noAnimate); + // resize AFTER any other actions + if (vis) + inst.sizePane(pane, s, false, noAnimate); // animate resize if option passed + }); + }; + } + + /** + * Get the *current layout state* and return it as a hash + * + * @param {Object=} inst + * @param {(string|Array)=} keys + */ +, readState: function (inst, keys) { + var + data = {} + , alt = { isClosed: 'initClosed', isHidden: 'initHidden' } + , state = inst.state + , panes = $.layout.config.allPanes + , pair, pane, key, val + ; + if (!keys) keys = inst.options.stateManagement.stateKeys; // if called by user + if ($.isArray(keys)) keys = keys.join(","); + // convert keys to an array and change delimiters from '__' to '.' + keys = keys.replace(/__/g, ".").split(','); + // loop keys and create a data hash + for (var i=0, n=keys.length; i < n; i++) { + pair = keys[i].split("."); + pane = pair[0]; + key = pair[1]; + if ($.inArray(pane, panes) < 0) continue; // bad pane! + val = state[ pane ][ key ]; + if (val == undefined) continue; + if (key=="isClosed" && state[pane]["isSliding"]) + val = true; // if sliding, then *really* isClosed + ( data[pane] || (data[pane]={}) )[ alt[key] ? alt[key] : key ] = val; + } + return data; + } + + /** + * Stringify a JSON hash so can save in a cookie or db-field + */ +, encodeJSON: function (JSON) { + return parse(JSON); + function parse (h) { + var D=[], i=0, k, v, t; // k = key, v = value + for (k in h) { + v = h[k]; + t = typeof v; + if (t == 'string') // STRING - add quotes + v = '"'+ v +'"'; + else if (t == 'object') // SUB-KEY - recurse into it + v = parse(v); + D[i++] = '"'+ k +'":'+ v; + } + return '{'+ D.join(',') +'}'; + }; + } + + /** + * Convert stringified JSON back to a hash object + * @see $.parseJSON(), adding in jQuery 1.4.1 + */ +, decodeJSON: function (str) { + try { return $.parseJSON ? $.parseJSON(str) : window["eval"]("("+ str +")") || {}; } + catch (e) { return {}; } + } + + +, _create: function (inst) { + var _ = $.layout.state; + // ADD State-Management plugin methods to inst + $.extend( inst, { + // readCookie - update options from cookie - returns hash of cookie data + readCookie: function () { return _.readCookie(inst); } + // deleteCookie + , deleteCookie: function () { _.deleteCookie(inst); } + // saveCookie - optionally pass keys-list and cookie-options (hash) + , saveCookie: function (keys, cookieOpts) { return _.saveCookie(inst, keys, cookieOpts); } + // loadCookie - readCookie and use to loadState() - returns hash of cookie data + , loadCookie: function () { return _.loadCookie(inst); } + // loadState - pass a hash of state to use to update options + , loadState: function (stateData, animate) { _.loadState(inst, stateData, animate); } + // readState - returns hash of current layout-state + , readState: function (keys) { return _.readState(inst, keys); } + // add JSON utility methods too... + , encodeJSON: _.encodeJSON + , decodeJSON: _.decodeJSON + }); + + // init state.stateData key, even if plugin is initially disabled + inst.state.stateData = {}; + + // read and load cookie-data per options + var oS = inst.options.stateManagement; + if (oS.enabled) { + if (oS.autoLoad) // update the options from the cookie + inst.loadCookie(); + else // don't modify options - just store cookie data in state.stateData + inst.state.stateData = inst.readCookie(); + } + } + +, _unload: function (inst) { + var oS = inst.options.stateManagement; + if (oS.enabled) { + if (oS.autoSave) // save a state-cookie automatically + inst.saveCookie(); + else // don't save a cookie, but do store state-data in state.stateData key + inst.state.stateData = inst.readState(); + } + } + +}; + +// add state initialization method to Layout's onCreate array of functions +$.layout.onCreate.push( $.layout.state._create ); +$.layout.onUnload.push( $.layout.state._unload ); + + + + +/** + * jquery.layout.buttons 1.0 + * $Date: 2011-07-16 08:00:00 (Sat, 16 July 2011) $ + * + * Copyright (c) 2010 + * Kevin Dalman (http://allpro.net) + * + * Dual licensed under the GPL (http://www.gnu.org/licenses/gpl.html) + * and MIT (http://www.opensource.org/licenses/mit-license.php) licenses. + * + * @dependancies: UI Layout 1.3.0.rc30.1 or higher + * + * @support: http://groups.google.com/group/jquery-ui-layout + * + * Docs: [ to come ] + * Tips: [ to come ] + */ + +// tell Layout that the state plugin is available +$.layout.plugins.buttons = true; + +// Add buttons options to layout.defaults +$.layout.defaults.autoBindCustomButtons = false; +// Specify autoBindCustomButtons as a layout-option, NOT a pane-option +$.layout.optionsMap.layout.push("autoBindCustomButtons"); + +/* + * Button methods + */ +$.layout.buttons = { + + /** + * Searches for .ui-layout-button-xxx elements and auto-binds them as layout-buttons + * + * @see _create() + * + * @param {Object} inst Layout Instance object + */ + init: function (inst) { + var pre = "ui-layout-button-" + , layout = inst.options.name || "" + , name; + $.each("toggle,open,close,pin,toggle-slide,open-slide".split(","), function (i, action) { + $.each($.layout.config.borderPanes, function (ii, pane) { + $("."+pre+action+"-"+pane).each(function(){ + // if button was previously 'bound', data.layoutName was set, but is blank if layout has no 'name' + name = $(this).data("layoutName") || $(this).attr("layoutName"); + if (name == undefined || name === layout) + inst.bindButton(this, action, pane); + }); + }); + }); + } + + /** + * Helper function to validate params received by addButton utilities + * + * Two classes are added to the element, based on the buttonClass... + * The type of button is appended to create the 2nd className: + * - ui-layout-button-pin // action btnClass + * - ui-layout-button-pin-west // action btnClass + pane + * - ui-layout-button-toggle + * - ui-layout-button-open + * - ui-layout-button-close + * + * @param {Object} inst Layout Instance object + * @param {(string|!Object)} selector jQuery selector (or element) for button, eg: ".ui-layout-north .toggle-button" + * @param {string} pane Name of the pane the button is for: 'north', 'south', etc. + * + * @return {Array.} If both params valid, the element matching 'selector' in a jQuery wrapper - otherwise returns null + */ +, get: function (inst, selector, pane, action) { + var $E = $(selector) + , o = inst.options + , err = o.errors.addButtonError + ; + if (!$E.length) { // element not found + $.layout.msg(err +" "+ o.errors.selector +": "+ selector, true); + } + else if ($.inArray(pane, $.layout.config.borderPanes) < 0) { // invalid 'pane' sepecified + $.layout.msg(err +" "+ o.errors.pane +": "+ pane, true); + $E = $(""); // NO BUTTON + } + else { // VALID + var btn = o[pane].buttonClass +"-"+ action; + $E .addClass( btn +" "+ btn +"-"+ pane ) + .data("layoutName", o.name); // add layout identifier - even if blank! + } + return $E; + } + + + /** + * NEW syntax for binding layout-buttons - will eventually replace addToggle, addOpen, etc. + * + * @param {Object} inst Layout Instance object + * @param {(string|!Object)} selector jQuery selector (or element) for button, eg: ".ui-layout-north .toggle-button" + * @param {string} action + * @param {string} pane + */ +, bind: function (inst, selector, action, pane) { + var _ = $.layout.buttons; + switch (action.toLowerCase()) { + case "toggle": _.addToggle (inst, selector, pane); break; + case "open": _.addOpen (inst, selector, pane); break; + case "close": _.addClose (inst, selector, pane); break; + case "pin": _.addPin (inst, selector, pane); break; + case "toggle-slide": _.addToggle (inst, selector, pane, true); break; + case "open-slide": _.addOpen (inst, selector, pane, true); break; + } + return inst; + } + + /** + * Add a custom Toggler button for a pane + * + * @param {Object} inst Layout Instance object + * @param {(string|!Object)} selector jQuery selector (or element) for button, eg: ".ui-layout-north .toggle-button" + * @param {string} pane Name of the pane the button is for: 'north', 'south', etc. + * @param {boolean=} slide true = slide-open, false = pin-open + */ +, addToggle: function (inst, selector, pane, slide) { + $.layout.buttons.get(inst, selector, pane, "toggle") + .click(function(evt){ + inst.toggle(pane, !!slide); + evt.stopPropagation(); + }); + return inst; + } + + /** + * Add a custom Open button for a pane + * + * @param {Object} inst Layout Instance object + * @param {(string|!Object)} selector jQuery selector (or element) for button, eg: ".ui-layout-north .toggle-button" + * @param {string} pane Name of the pane the button is for: 'north', 'south', etc. + * @param {boolean=} slide true = slide-open, false = pin-open + */ +, addOpen: function (inst, selector, pane, slide) { + $.layout.buttons.get(inst, selector, pane, "open") + .attr("title", inst.options[pane].tips.Open) + .click(function (evt) { + inst.open(pane, !!slide); + evt.stopPropagation(); + }); + return inst; + } + + /** + * Add a custom Close button for a pane + * + * @param {Object} inst Layout Instance object + * @param {(string|!Object)} selector jQuery selector (or element) for button, eg: ".ui-layout-north .toggle-button" + * @param {string} pane Name of the pane the button is for: 'north', 'south', etc. + */ +, addClose: function (inst, selector, pane) { + $.layout.buttons.get(inst, selector, pane, "close") + .attr("title", inst.options[pane].tips.Close) + .click(function (evt) { + inst.close(pane); + evt.stopPropagation(); + }); + return inst; + } + + /** + * Add a custom Pin button for a pane + * + * Four classes are added to the element, based on the paneClass for the associated pane... + * Assuming the default paneClass and the pin is 'up', these classes are added for a west-pane pin: + * - ui-layout-pane-pin + * - ui-layout-pane-west-pin + * - ui-layout-pane-pin-up + * - ui-layout-pane-west-pin-up + * + * @param {Object} inst Layout Instance object + * @param {(string|!Object)} selector jQuery selector (or element) for button, eg: ".ui-layout-north .toggle-button" + * @param {string} pane Name of the pane the pin is for: 'north', 'south', etc. + */ +, addPin: function (inst, selector, pane) { + var _ = $.layout.buttons + , $E = _.get(inst, selector, pane, "pin"); + if ($E.length) { + var s = inst.state[pane]; + $E.click(function (evt) { + _.setPinState(inst, $(this), pane, (s.isSliding || s.isClosed)); + if (s.isSliding || s.isClosed) inst.open( pane ); // change from sliding to open + else inst.close( pane ); // slide-closed + evt.stopPropagation(); + }); + // add up/down pin attributes and classes + _.setPinState(inst, $E, pane, (!s.isClosed && !s.isSliding)); + // add this pin to the pane data so we can 'sync it' automatically + // PANE.pins key is an array so we can store multiple pins for each pane + s.pins.push( selector ); // just save the selector string + } + return inst; + } + + /** + * Change the class of the pin button to make it look 'up' or 'down' + * + * @see addPin(), syncPins() + * + * @param {Object} inst Layout Instance object + * @param {Array.} $Pin The pin-span element in a jQuery wrapper + * @param {string} pane These are the params returned to callbacks by layout() + * @param {boolean} doPin true = set the pin 'down', false = set it 'up' + */ +, setPinState: function (inst, $Pin, pane, doPin) { + var updown = $Pin.attr("pin"); + if (updown && doPin === (updown=="down")) return; // already in correct state + var + o = inst.options[pane] + , pin = o.buttonClass +"-pin" + , side = pin +"-"+ pane + , UP = pin +"-up "+ side +"-up" + , DN = pin +"-down "+side +"-down" + ; + $Pin + .attr("pin", doPin ? "down" : "up") // logic + .attr("title", doPin ? o.tips.Unpin : o.tips.Pin) + .removeClass( doPin ? UP : DN ) + .addClass( doPin ? DN : UP ) + ; + } + + /** + * INTERNAL function to sync 'pin buttons' when pane is opened or closed + * Unpinned means the pane is 'sliding' - ie, over-top of the adjacent panes + * + * @see open(), close() + * + * @param {Object} inst Layout Instance object + * @param {string} pane These are the params returned to callbacks by layout() + * @param {boolean} doPin True means set the pin 'down', False means 'up' + */ +, syncPinBtns: function (inst, pane, doPin) { + // REAL METHOD IS _INSIDE_ LAYOUT - THIS IS HERE JUST FOR REFERENCE + $.each(inst.state[pane].pins, function (i, selector) { + $.layout.buttons.setPinState(inst, $(selector), pane, doPin); + }); + } + + +, _load: function (inst) { + var _ = $.layout.buttons; + // ADD Button methods to Layout Instance + // Note: sel = jQuery Selector string + $.extend( inst, { + bindButton: function (sel, action, pane) { return _.bind(inst, sel, action, pane); } + // DEPRECATED METHODS + , addToggleBtn: function (sel, pane, slide) { return _.addToggle(inst, sel, pane, slide); } + , addOpenBtn: function (sel, pane, slide) { return _.addOpen(inst, sel, pane, slide); } + , addCloseBtn: function (sel, pane) { return _.addClose(inst, sel, pane); } + , addPinBtn: function (sel, pane) { return _.addPin(inst, sel, pane); } + }); + + // init state array to hold pin-buttons + for (var i=0; i<4; i++) { + var pane = $.layout.config.borderPanes[i]; + inst.state[pane].pins = []; + } + + // auto-init buttons onLoad if option is enabled + if ( inst.options.autoBindCustomButtons ) + _.init(inst); + } + +, _unload: function (inst) { + // TODO: unbind all buttons??? + } + +}; + +// add initialization method to Layout's onLoad array of functions +$.layout.onLoad.push( $.layout.buttons._load ); +//$.layout.onUnload.push( $.layout.buttons._unload ); + + + +/** + * jquery.layout.browserZoom 1.0 + * $Date: 2011-12-29 08:00:00 (Thu, 29 Dec 2011) $ + * + * Copyright (c) 2012 + * Kevin Dalman (http://allpro.net) + * + * Dual licensed under the GPL (http://www.gnu.org/licenses/gpl.html) + * and MIT (http://www.opensource.org/licenses/mit-license.php) licenses. + * + * @dependancies: UI Layout 1.3.0.rc30.1 or higher + * + * @support: http://groups.google.com/group/jquery-ui-layout + * + * @todo: Extend logic to handle other problematic zooming in browsers + * @todo: Add hotkey/mousewheel bindings to _instantly_ respond to these zoom event + */ + +// tell Layout that the plugin is available +$.layout.plugins.browserZoom = true; + +$.layout.defaults.browserZoomCheckInterval = 1000; +$.layout.optionsMap.layout.push("browserZoomCheckInterval"); + +/* + * browserZoom methods + */ +$.layout.browserZoom = { + + _init: function (inst) { + // abort if browser does not need this check + if ($.layout.browserZoom.ratio() !== false) + $.layout.browserZoom._setTimer(inst); + } + +, _setTimer: function (inst) { + // abort if layout destroyed or browser does not need this check + if (inst.destroyed) return; + var o = inst.options + , s = inst.state + // don't need check if inst has parentLayout, but check occassionally in case parent destroyed! + // MINIMUM 100ms interval, for performance + , ms = inst.hasParentLayout ? 5000 : Math.max( o.browserZoomCheckInterval, 100 ) + ; + // set the timer + setTimeout(function(){ + if (inst.destroyed || !o.resizeWithWindow) return; + var d = $.layout.browserZoom.ratio(); + if (d !== s.browserZoom) { + s.browserZoom = d; + inst.resizeAll(); + } + // set a NEW timeout + $.layout.browserZoom._setTimer(inst); + } + , ms ); + } + +, ratio: function () { + var w = window + , s = screen + , d = document + , dE = d.documentElement || d.body + , b = $.layout.browser + , v = b.version + , r, sW, cW + ; + // we can ignore all browsers that fire window.resize event onZoom + if ((b.msie && v > 8) + || !b.msie + ) return false; // don't need to track zoom + + if (s.deviceXDPI) + return calc(s.deviceXDPI, s.systemXDPI); + // everything below is just for future reference! + if (b.webkit && (r = d.body.getBoundingClientRect)) + return calc((r.left - r.right), d.body.offsetWidth); + if (b.webkit && (sW = w.outerWidth)) + return calc(sW, w.innerWidth); + if ((sW = s.width) && (cW = dE.clientWidth)) + return calc(sW, cW); + return false; // no match, so cannot - or don't need to - track zoom + + function calc (x,y) { return (parseInt(x,10) / parseInt(y,10) * 100).toFixed(); } + } + +}; +// add initialization method to Layout's onLoad array of functions +$.layout.onReady.push( $.layout.browserZoom._init ); + + + +})( jQuery ); diff --git a/manual1903/api_reference/components/scaladocs/lib/modernizr.custom.js b/manual1903/api_reference/components/scaladocs/lib/modernizr.custom.js new file mode 100644 index 0000000000000000000000000000000000000000..4688d633fe15b2bb5f49ecb274cae0e6557eeba0 --- /dev/null +++ b/manual1903/api_reference/components/scaladocs/lib/modernizr.custom.js @@ -0,0 +1,4 @@ +/* Modernizr 2.5.3 (Custom Build) | MIT & BSD + * Build: http://www.modernizr.com/download/#-inlinesvg + */ +;window.Modernizr=function(a,b,c){function u(a){i.cssText=a}function v(a,b){return u(prefixes.join(a+";")+(b||""))}function w(a,b){return typeof a===b}function x(a,b){return!!~(""+a).indexOf(b)}function y(a,b,d){for(var e in a){var f=b[a[e]];if(f!==c)return d===!1?a[e]:w(f,"function")?f.bind(d||b):f}return!1}var d="2.5.3",e={},f=b.documentElement,g="modernizr",h=b.createElement(g),i=h.style,j,k={}.toString,l={svg:"http://www.w3.org/2000/svg"},m={},n={},o={},p=[],q=p.slice,r,s={}.hasOwnProperty,t;!w(s,"undefined")&&!w(s.call,"undefined")?t=function(a,b){return s.call(a,b)}:t=function(a,b){return b in a&&w(a.constructor.prototype[b],"undefined")},Function.prototype.bind||(Function.prototype.bind=function(b){var c=this;if(typeof c!="function")throw new TypeError;var d=q.call(arguments,1),e=function(){if(this instanceof e){var a=function(){};a.prototype=c.prototype;var f=new a,g=c.apply(f,d.concat(q.call(arguments)));return Object(g)===g?g:f}return c.apply(b,d.concat(q.call(arguments)))};return e}),m.inlinesvg=function(){var a=b.createElement("div");return a.innerHTML="",(a.firstChild&&a.firstChild.namespaceURI)==l.svg};for(var z in m)t(m,z)&&(r=z.toLowerCase(),e[r]=m[z](),p.push((e[r]?"":"no-")+r));return u(""),h=j=null,e._version=d,e}(this,this.document); \ No newline at end of file diff --git a/manual1903/api_reference/components/scaladocs/lib/navigation-li-a.png b/manual1903/api_reference/components/scaladocs/lib/navigation-li-a.png new file mode 100644 index 0000000000000000000000000000000000000000..9b32288e045cd94e6aaa0e35f1382a32b66b64da Binary files /dev/null and b/manual1903/api_reference/components/scaladocs/lib/navigation-li-a.png differ diff --git a/manual1903/api_reference/components/scaladocs/lib/navigation-li.png b/manual1903/api_reference/components/scaladocs/lib/navigation-li.png new file mode 100644 index 0000000000000000000000000000000000000000..fd0ad06e819742b15f3a982a9b2e50bbaa886a1e Binary files /dev/null and b/manual1903/api_reference/components/scaladocs/lib/navigation-li.png differ diff --git a/manual1903/api_reference/components/scaladocs/lib/object.png b/manual1903/api_reference/components/scaladocs/lib/object.png new file mode 100644 index 0000000000000000000000000000000000000000..ad312793ea64e50c60dce89da57a78b4b6d44730 Binary files /dev/null and b/manual1903/api_reference/components/scaladocs/lib/object.png differ diff --git a/manual1903/api_reference/components/scaladocs/lib/object_big.png b/manual1903/api_reference/components/scaladocs/lib/object_big.png new file mode 100644 index 0000000000000000000000000000000000000000..67ffca79defdbb0531437d41fc27ce1ea58a17c5 Binary files /dev/null and b/manual1903/api_reference/components/scaladocs/lib/object_big.png differ diff --git a/manual1903/api_reference/components/scaladocs/lib/object_diagram.png b/manual1903/api_reference/components/scaladocs/lib/object_diagram.png new file mode 100644 index 0000000000000000000000000000000000000000..6e9f2f743f67c15e04846f14819a913713b216e4 Binary files /dev/null and b/manual1903/api_reference/components/scaladocs/lib/object_diagram.png differ diff --git a/manual1903/api_reference/components/scaladocs/lib/object_to_class_big.png b/manual1903/api_reference/components/scaladocs/lib/object_to_class_big.png new file mode 100644 index 0000000000000000000000000000000000000000..7502942eb68134f5569c5c00e84533f452093c43 Binary files /dev/null and b/manual1903/api_reference/components/scaladocs/lib/object_to_class_big.png differ diff --git a/manual1903/api_reference/components/scaladocs/lib/object_to_trait_big.png b/manual1903/api_reference/components/scaladocs/lib/object_to_trait_big.png new file mode 100644 index 0000000000000000000000000000000000000000..c777bfce8dd0a169f484641a3f439720fd23c427 Binary files /dev/null and b/manual1903/api_reference/components/scaladocs/lib/object_to_trait_big.png differ diff --git a/manual1903/api_reference/components/scaladocs/lib/object_to_type_big.png b/manual1903/api_reference/components/scaladocs/lib/object_to_type_big.png new file mode 100644 index 0000000000000000000000000000000000000000..7502942eb68134f5569c5c00e84533f452093c43 Binary files /dev/null and b/manual1903/api_reference/components/scaladocs/lib/object_to_type_big.png differ diff --git a/manual1903/api_reference/components/scaladocs/lib/ownderbg2.gif b/manual1903/api_reference/components/scaladocs/lib/ownderbg2.gif new file mode 100644 index 0000000000000000000000000000000000000000..848dd5963a133dc18b9f055928150dc5e762dde0 Binary files /dev/null and b/manual1903/api_reference/components/scaladocs/lib/ownderbg2.gif differ diff --git a/manual1903/api_reference/components/scaladocs/lib/ownerbg.gif b/manual1903/api_reference/components/scaladocs/lib/ownerbg.gif new file mode 100644 index 0000000000000000000000000000000000000000..34a04249ee9edc75662a2539fe7daa04424cbe8d Binary files /dev/null and b/manual1903/api_reference/components/scaladocs/lib/ownerbg.gif differ diff --git a/manual1903/api_reference/components/scaladocs/lib/ownerbg2.gif b/manual1903/api_reference/components/scaladocs/lib/ownerbg2.gif new file mode 100644 index 0000000000000000000000000000000000000000..2ed33b0aa4a3741c9b7c2b0c0e83555d371f0c6e Binary files /dev/null and b/manual1903/api_reference/components/scaladocs/lib/ownerbg2.gif differ diff --git a/manual1903/api_reference/components/scaladocs/lib/package.png b/manual1903/api_reference/components/scaladocs/lib/package.png new file mode 100644 index 0000000000000000000000000000000000000000..6ea17ac320ec13c02680c5549cf496d007ea6acf Binary files /dev/null and b/manual1903/api_reference/components/scaladocs/lib/package.png differ diff --git a/manual1903/api_reference/components/scaladocs/lib/package_big.png b/manual1903/api_reference/components/scaladocs/lib/package_big.png new file mode 100644 index 0000000000000000000000000000000000000000..529aa9318851b5207355cf316ce35a50bc4731bb Binary files /dev/null and b/manual1903/api_reference/components/scaladocs/lib/package_big.png differ diff --git a/manual1903/api_reference/components/scaladocs/lib/packagesbg.gif b/manual1903/api_reference/components/scaladocs/lib/packagesbg.gif new file mode 100644 index 0000000000000000000000000000000000000000..00c3378a2a3af6ed04c42476fda69db07d622787 Binary files /dev/null and b/manual1903/api_reference/components/scaladocs/lib/packagesbg.gif differ diff --git a/manual1903/api_reference/components/scaladocs/lib/permalink.png b/manual1903/api_reference/components/scaladocs/lib/permalink.png new file mode 100644 index 0000000000000000000000000000000000000000..d54bc93f6a709dc33c59bd99280ebc6505ff14a9 Binary files /dev/null and b/manual1903/api_reference/components/scaladocs/lib/permalink.png differ diff --git a/manual1903/api_reference/components/scaladocs/lib/ref-index.css b/manual1903/api_reference/components/scaladocs/lib/ref-index.css new file mode 100644 index 0000000000000000000000000000000000000000..7d64b9c5c533e0acaab95fdb5b2705b1c9fb7978 --- /dev/null +++ b/manual1903/api_reference/components/scaladocs/lib/ref-index.css @@ -0,0 +1,30 @@ +body { + font-size: 10pt; + font-family: Arial, sans-serif; +} + +a { + color:#315479; +} + +.letters { + width:100%; + text-align:center; + margin:0.6em; + padding:0.1em; + border-bottom:1px solid gray; +} + +.entry { + border-bottom: 1px solid lightgray; + padding: 5px 0 8px; +} + +.name { + /* background-color:#E5E5E5; */ +} + +.occurrences { + margin-left: 1em; + margin-top: 5px; +} \ No newline at end of file diff --git a/manual1903/api_reference/components/scaladocs/lib/remove.png b/manual1903/api_reference/components/scaladocs/lib/remove.png new file mode 100644 index 0000000000000000000000000000000000000000..4625f9df7439960a2109b08e9019c2615dfd44e7 Binary files /dev/null and b/manual1903/api_reference/components/scaladocs/lib/remove.png differ diff --git a/manual1903/api_reference/components/scaladocs/lib/scheduler.js b/manual1903/api_reference/components/scaladocs/lib/scheduler.js new file mode 100644 index 0000000000000000000000000000000000000000..4417f5b4385729f6023b05c03bd75c59fe82e596 --- /dev/null +++ b/manual1903/api_reference/components/scaladocs/lib/scheduler.js @@ -0,0 +1,71 @@ +// © 2010 EPFL/LAMP +// code by Gilles Dubochet + +function Scheduler() { + var scheduler = this; + var resolution = 0; + this.timeout = undefined; + this.queues = new Array(0); // an array of work pacakges indexed by index in the labels table. + this.labels = new Array(0); // an indexed array of labels indexed by priority. This should be short. + this.label = function(name, priority) { + this.name = name; + this.priority = priority; + } + this.work = function(fn, self, args) { + this.fn = fn; + this.self = self; + this.args = args; + } + this.addLabel = function(name, priority) { + var idx = 0; + while (idx < scheduler.queues.length && scheduler.labels[idx].priority <= priority) { idx = idx + 1; } + scheduler.labels.splice(idx, 0, new scheduler.label(name, priority)); + scheduler.queues.splice(idx, 0, new Array(0)); + } + this.clearLabel = function(name) { + var idx = 0; + while (idx < scheduler.queues.length && scheduler.labels[idx].name != name) { idx = idx + 1; } + if (idx < scheduler.queues.length && scheduler.labels[i].name == name) { + scheduler.labels.splice(idx, 1); + scheduler.queues.splice(idx, 1); + } + } + this.nextWork = function() { + var fn = undefined; + var idx = 0; + while (idx < scheduler.queues.length && scheduler.queues[idx].length == 0) { idx = idx + 1; } + if (idx < scheduler.queues.length && scheduler.queues[idx].length > 0) { + var fn = scheduler.queues[idx].shift(); + } + return fn; + } + this.add = function(labelName, fn, self, args) { + var doWork = function() { + scheduler.timeout = setTimeout(function() { + var work = scheduler.nextWork(); + if (work != undefined) { + if (work.args == undefined) { work.args = new Array(0); } + work.fn.apply(work.self, work.args); + doWork(); + } + else { + scheduler.timeout = undefined; + } + }, resolution); + } + var idx = 0; + while (idx < scheduler.labels.length && scheduler.labels[idx].name != labelName) { idx = idx + 1; } + if (idx < scheduler.queues.length && scheduler.labels[idx].name == labelName) { + scheduler.queues[idx].push(new scheduler.work(fn, self, args)); + if (scheduler.timeout == undefined) doWork(); + } + else throw("queue for add is non existant"); + } + this.clear = function(labelName) { + var idx = 0; + while (idx < scheduler.labels.length && scheduler.labels[idx].name != labelName) { idx = idx + 1; } + if (idx < scheduler.queues.length && scheduler.labels[idx].name == labelName) { + scheduler.queues[idx] = new Array(); + } + } +}; diff --git a/manual1903/api_reference/components/scaladocs/lib/selected-implicits.png b/manual1903/api_reference/components/scaladocs/lib/selected-implicits.png new file mode 100644 index 0000000000000000000000000000000000000000..bc29efb3e60134039e702d5449e685a3bc103f06 Binary files /dev/null and b/manual1903/api_reference/components/scaladocs/lib/selected-implicits.png differ diff --git a/manual1903/api_reference/components/scaladocs/lib/selected-right-implicits.png b/manual1903/api_reference/components/scaladocs/lib/selected-right-implicits.png new file mode 100644 index 0000000000000000000000000000000000000000..8313f4975b4e7191d18183adcd8de77659622874 Binary files /dev/null and b/manual1903/api_reference/components/scaladocs/lib/selected-right-implicits.png differ diff --git a/manual1903/api_reference/components/scaladocs/lib/selected-right.png b/manual1903/api_reference/components/scaladocs/lib/selected-right.png new file mode 100644 index 0000000000000000000000000000000000000000..04eda2f3071a81ada129b906e60709eb5b1c4e29 Binary files /dev/null and b/manual1903/api_reference/components/scaladocs/lib/selected-right.png differ diff --git a/manual1903/api_reference/components/scaladocs/lib/selected.png b/manual1903/api_reference/components/scaladocs/lib/selected.png new file mode 100644 index 0000000000000000000000000000000000000000..c89765239e074f40ac120c7429b5d65a47dc218d Binary files /dev/null and b/manual1903/api_reference/components/scaladocs/lib/selected.png differ diff --git a/manual1903/api_reference/components/scaladocs/lib/selected2-right.png b/manual1903/api_reference/components/scaladocs/lib/selected2-right.png new file mode 100644 index 0000000000000000000000000000000000000000..bf984ef0bac9acacf732a22f6dbb9f648a6dc26a Binary files /dev/null and b/manual1903/api_reference/components/scaladocs/lib/selected2-right.png differ diff --git a/manual1903/api_reference/components/scaladocs/lib/selected2.png b/manual1903/api_reference/components/scaladocs/lib/selected2.png new file mode 100644 index 0000000000000000000000000000000000000000..a790bb1169b6b54de1d51f7778ee552979f52183 Binary files /dev/null and b/manual1903/api_reference/components/scaladocs/lib/selected2.png differ diff --git a/manual1903/api_reference/components/scaladocs/lib/signaturebg.gif b/manual1903/api_reference/components/scaladocs/lib/signaturebg.gif new file mode 100644 index 0000000000000000000000000000000000000000..b6ac4415e4a3a3ce7e38401a476beea7b1938585 Binary files /dev/null and b/manual1903/api_reference/components/scaladocs/lib/signaturebg.gif differ diff --git a/manual1903/api_reference/components/scaladocs/lib/signaturebg2.gif b/manual1903/api_reference/components/scaladocs/lib/signaturebg2.gif new file mode 100644 index 0000000000000000000000000000000000000000..9aae5ba0aaa44ba14acce95565d9610a03e3defb Binary files /dev/null and b/manual1903/api_reference/components/scaladocs/lib/signaturebg2.gif differ diff --git a/manual1903/api_reference/components/scaladocs/lib/template.css b/manual1903/api_reference/components/scaladocs/lib/template.css new file mode 100644 index 0000000000000000000000000000000000000000..e84d7c1ca66d1b8a6ac542f3918c53738049f3a1 --- /dev/null +++ b/manual1903/api_reference/components/scaladocs/lib/template.css @@ -0,0 +1,893 @@ +/* Reset */ + +html, body, div, span, object, iframe, +h1, h2, h3, h4, h5, h6, p, blockquote, pre, +a, abbr, acronym, address, code, pre, +del, dfn, em, img, q, dl, dt, dd, ol, ul, li, +fieldset, form, label, legend, input, +table, caption, tbody, tfoot, thead, tr, th, td { + margin: 0; + padding: 0; + border: 0; + font-weight: inherit; + font-style: inherit; + font-size: 100%; + font-family: inherit; + vertical-align: baseline; +} + +table { border-collapse: separate; border-spacing: 0; } +caption, th, td { text-align: left; font-weight: normal; } +table, td, th { vertical-align: middle; } + +blockquote:before, blockquote:after, q:before, q:after { content: ""; } +blockquote, q { quotes: none; } + +a img { border: none; } + +input { border-width: 0px; } + +/* Page */ + +body { + font-family: Arial, sans-serif; + font-size: 10pt; +} + +#footer { + font-size: 9pt; + text-align: center; + color: #858484; + bottom: 0; + width: 100%; + height: 20px; +} + +a[href] { + text-decoration: underline; + color: #315479; +} + +a[href]:hover { + text-decoration: none; +} + +#types ol li > p { + margin-top: 5px; +} + +#types ol li:last-child { + margin-bottom: 5px; +} + +/* +#definition { + padding: 6px 0 6px 6px; + min-height: 59px; + color: white; +} +*/ + +#definition { + display: block-inline; + padding: 5px 0px; + height: 61px; +} + +#definition > img { + float: left; + padding-right: 6px; + padding-left: 5px; +} + +#definition > a > img { + float: left; + padding-right: 6px; + padding-left: 5px; +} + +#definition p + h1 { + margin-top: 3px; +} + +#definition > h1 { +/* padding: 12px 0 12px 6px;*/ + color: white; + text-shadow: 3px black; + text-shadow: black 0px 2px 0px; + font-size: 24pt; + display: inline-block; + overflow: hidden; + margin-top: 10px; +} + +#definition h1 > a { + color: #ffffff; + font-size: 24pt; + text-shadow: black 0px 2px 0px; +/* text-shadow: black 0px 0px 0px;*/ +text-decoration: none; +} + +#definition #owner { + color: #ffffff; + margin-top: 4px; + font-size: 10pt; + overflow: hidden; +} + +#definition #owner > a { + color: #ffffff; +} + +#definition #owner > a:hover { + text-decoration: none; +} + +#signature { + background-image:url('signaturebg2.gif'); + background-color: #d7d7d7; + min-height: 18px; + background-repeat:repeat-x; + font-size: 11.5pt; +/* margin-bottom: 10px;*/ + padding: 8px; +} + +#signature > span.modifier_kind { + display: inline; + float: left; + text-align: left; + width: auto; + position: static; + text-shadow: 2px white; + text-shadow: white 0px 1px 0px; +} + +#signature > span.symbol { + text-align: left; + display: inline; + padding-left: 0.7em; + text-shadow: 2px white; + text-shadow: white 0px 1px 0px; +} + +/* Linear super types and known subclasses */ +.hiddenContent { + display: none; +} + +.toggleContainer .toggle { + cursor: pointer; + padding-left: 15px; + background: url("arrow-right.png") no-repeat 0 3px transparent; +} + +.toggleContainer .toggle.open { + background: url("arrow-down.png") no-repeat 0 3px transparent; +} + +.toggleContainer .hiddenContent { + margin-top: 5px; +} + +.value #definition { + background-color: #2C475C; /* blue */ + background-image:url('defbg-blue.gif'); + background-repeat:repeat-x; +} + +.type #definition { + background-color: #316555; /* green */ + background-image:url('defbg-green.gif'); + background-repeat:repeat-x; +} + +#template { + margin-bottom: 50px; +} + +h3 { + color: white; + padding: 5px 10px; + font-size: 12pt; + font-weight: bold; + text-shadow: black 1px 1px 0px; +} + +dl.attributes > dt { + display: block; + float: left; + font-style: italic; +} + +dl.attributes > dt.implicit { + font-weight: bold; + color: darkgreen; +} + +dl.attributes > dd { + display: block; + padding-left: 10em; + margin-bottom: 5px; + min-height: 15px; +} + +#template .values > h3 { + background: #2C475C url("valuemembersbg.gif") repeat-x bottom left; /* grayish blue */ + height: 18px; +} + +#values ol li:last-child { + margin-bottom: 5px; +} + +#template .types > h3 { + background: #316555 url("typebg.gif") repeat-x bottom left; /* green */ + height: 18px; +} + +#constructors > h3 { + background: #4f504f url("constructorsbg.gif") repeat-x bottom left; /* gray */ + height: 18px; +} + +#inheritedMembers > div.parent > h3 { + background: #dadada url("constructorsbg.gif") repeat-x bottom left; /* gray */ + height: 17px; + font-style: italic; + font-size: 12pt; +} + +#inheritedMembers > div.parent > h3 * { + color: white; +} + +#inheritedMembers > div.conversion > h3 { + background: #dadada url("conversionbg.gif") repeat-x bottom left; /* gray */ + height: 17px; + font-style: italic; + font-size: 12pt; +} + +#inheritedMembers > div.conversion > h3 * { + color: white; +} + +#groupedMembers > div.group > h3 { + background: #dadada url("typebg.gif") repeat-x bottom left; /* green */ + height: 17px; + font-size: 12pt; +} + +#groupedMembers > div.group > h3 * { + color: white; +} + + +/* Member cells */ + +div.members > ol { + background-color: white; + list-style: none +} + +div.members > ol > li { + display: block; + border-bottom: 1px solid gray; + padding: 5px 0 6px; + margin: 0 10px; + position: relative; +} + +div.members > ol > li:last-child { + border: 0; + padding: 5px 0 5px; +} + +/* Member signatures */ + +#tooltip { + background: #EFD5B5; + border: 1px solid gray; + color: black; + display: none; + padding: 5px; + position: absolute; +} + +.signature { + font-family: monospace; + font-size: 10pt; + line-height: 18px; + clear: both; + display: block; + text-shadow: 2px white; + text-shadow: white 0px 1px 0px; +} + +.signature .modifier_kind { + position: absolute; + text-align: right; + width: 14em; +} + +.signature > a > .symbol > .name { + text-decoration: underline; +} + +.signature > a:hover > .symbol > .name { + text-decoration: none; +} + +.signature > a { + text-decoration: none; +} + +.signature > .symbol { + display: block; + padding-left: 14.7em; +} + +.signature .name { + display: inline-block; + font-weight: bold; +} + +.signature .symbol > .implicit { + display: inline-block; + font-weight: bold; + text-decoration: underline; + color: darkgreen; +} + +.signature .symbol .shadowed { + color: darkseagreen; +} + +.signature .symbol .params > .implicit { + font-style: italic; +} + +.signature .symbol .deprecated { + text-decoration: line-through; +} + +.signature .symbol .params .default { + font-style: italic; +} + +#template .signature.closed { + background: url("arrow-right.png") no-repeat 0 5px transparent; + cursor: pointer; +} + +#template .signature.opened { + background: url("arrow-down.png") no-repeat 0 5px transparent; + cursor: pointer; +} + +#template .values .signature .name { + color: darkblue; +} + +#template .types .signature .name { + color: darkgreen; +} + +.full-signature-usecase h4 span { + font-size: 10pt; +} + +.full-signature-usecase > #signature { + padding-top: 0px; +} + +#template .full-signature-usecase > .signature.closed { + background: none; +} + +#template .full-signature-usecase > .signature.opened { + background: none; +} + +.full-signature-block { + padding: 5px 0 0; + border-top: 1px solid #EBEBEB; + margin-top: 5px; + margin-bottom: 5px; +} + +#definition .morelinks { + text-align: right; + position: absolute; + top: 40px; + right: 10px; + width: 450px; +} + +#definition .morelinks a { + color: #EBEBEB; +} + +#template .members li .permalink { + position: absolute; + top: 5px; + right: 5px; +} + +#definition .permalink { + position: absolute; + top: 10px; + right: 15px; +} + +#definition .permalink a { + color: #EBEBEB; +} + +#template .members li .permalink, +#definition .permalink a { + display: none; +} + +#template .members li:hover .permalink, +#definition:hover .permalink a { + display: block; +} + +#template .members li .permalink a, +#definition .permalink a { + text-decoration: none; + font-weight: bold; +} + +/* Comments text formating */ + +.cmt {} + +.cmt p { + margin: 0.7em 0; +} + +.cmt p:first-child { + margin-top: 0; +} + +.cmt p:last-child { + margin-bottom: 0; +} + +.cmt h3, +.cmt h4, +.cmt h5, +.cmt h6 { + margin-bottom: 0.7em; + margin-top: 1.4em; + display: block; + text-align: left; + font-weight: bold; +} + +.cmt h3 { + font-size: 14pt; +} + +.cmt h4 { + font-size: 13pt; +} + +.cmt h5 { + font-size: 12pt; +} + +.cmt h6 { + font-size: 11pt; +} + +.cmt pre { + padding: 5px; + border: 1px solid #ddd; + background-color: #eee; + margin: 5px 0; + display: block; + font-family: monospace; +} + +.cmt pre span.ano { + color: blue; +} + +.cmt pre span.cmt { + color: green; +} + +.cmt pre span.kw { + font-weight: bold; +} + +.cmt pre span.lit { + color: #c71585; +} + +.cmt pre span.num { + color: #1e90ff; /* dodgerblue */ +} + +.cmt pre span.std { + color: #008080; /* teal */ +} + +.cmt ul { + display: block; + list-style: circle; + padding-left: 20px; +} + +.cmt ol { + display: block; + padding-left:20px; +} + +.cmt ol.decimal { + list-style: decimal; +} + +.cmt ol.lowerAlpha { + list-style: lower-alpha; +} + +.cmt ol.upperAlpha { + list-style: upper-alpha; +} + +.cmt ol.lowerRoman { + list-style: lower-roman; +} + +.cmt ol.upperRoman { + list-style: upper-roman; +} + +.cmt li { + display: list-item; +} + +.cmt code { + font-family: monospace; +} + +.cmt a { + font-style: bold; +} + +.cmt em, .cmt i { + font-style: italic; +} + +.cmt strong, .cmt b { + font-weight: bold; +} + +/* Comments structured layout */ + +.group > div.comment { + padding-top: 5px; + padding-bottom: 5px; + padding-right: 5px; + padding-left: 5px; + border: 1px solid #ddd; + background-color: #eeeee; + margin-top:5px; + margin-bottom:5px; + margin-right:5px; + margin-left:5px; + display: block; +} + +p.comment { + display: block; + margin-left: 14.7em; + margin-top: 5px; +} + +.shortcomment { + display: block; + margin: 5px 10px; +} + +div.fullcommenttop { + padding: 10px 10px; + background-image:url('fullcommenttopbg.gif'); + background-repeat:repeat-x; +} + +div.fullcomment { + margin: 5px 10px; +} + +#template div.fullcommenttop, +#template div.fullcomment { + display:none; + margin: 5px 0 0 14.7em; +} + +#template .shortcomment { + margin: 5px 0 0 14.7em; + padding: 0; +} + +div.fullcomment .block { + padding: 5px 0 0; + border-top: 1px solid #EBEBEB; + margin-top: 5px; + overflow: hidden; +} + +div.fullcommenttop .block { + padding: 5px 0 0; + border-top: 1px solid #EBEBEB; + margin-top: 5px; + margin-bottom: 5px +} + +div.fullcomment div.block ol li p, +div.fullcomment div.block ol li { + display:inline +} + +div.fullcomment .block > h5 { + font-style: italic; + font-weight: normal; + display: inline-block; +} + +div.fullcomment .comment { + margin: 5px 0 10px; +} + +div.fullcommenttop .comment:last-child, +div.fullcomment .comment:last-child { + margin-bottom: 0; +} + +div.fullcommenttop dl.paramcmts { + margin-bottom: 0.8em; + padding-bottom: 0.8em; +} + +div.fullcommenttop dl.paramcmts > dt, +div.fullcomment dl.paramcmts > dt { + display: block; + float: left; + font-weight: bold; + min-width: 70px; +} + +div.fullcommenttop dl.paramcmts > dd, +div.fullcomment dl.paramcmts > dd { + display: block; + padding-left: 10px; + margin-bottom: 5px; + margin-left: 70px; + min-height: 15px; +} + +/* Members filter tool */ + +#textfilter { + position: relative; + display: block; + height: 20px; + margin-bottom: 5px; +} + +#textfilter > .pre { + display: block; + position: absolute; + top: 0; + left: 0; + height: 23px; + width: 21px; + background: url("filter_box_left.png"); +} + +#textfilter > .input { + display: block; + position: absolute; + top: 0; + right: 20px; + left: 20px; +} + +#textfilter > .input > input { + height: 20px; + padding: 1px; + font-weight: bold; + color: #000000; + background: #ffffff url("filterboxbarbg.png") repeat-x top left; + width: 100%; +} + +#textfilter > .post { + display: block; + position: absolute; + top: 0; + right: 0; + height: 23px; + width: 21px; + background: url("filter_box_right.png"); +} + +#mbrsel { + padding: 5px 10px; + background-color: #ededee; /* light gray */ + background-image:url('filterboxbg.gif'); + background-repeat:repeat-x; + font-size: 9.5pt; + display: block; + margin-top: 1em; +/* margin-bottom: 1em; */ +} + +#mbrsel > div { + margin-bottom: 5px; +} + +#mbrsel > div:last-child { + margin-bottom: 0; +} + +#mbrsel > div > span.filtertype { + padding: 4px; + margin-right: 5px; + float: left; + display: inline-block; + color: #000000; + font-weight: bold; + text-shadow: white 0px 1px 0px; + width: 4.5em; +} + +#mbrsel > div > ol { + display: inline-block; +} + +#mbrsel > div > a { + position:relative; + top: -8px; + font-size: 11px; + text-shadow: #ffffff 0 1px 0; +} + +#mbrsel > div > ol#linearization { + display: table; + margin-left: 70px; +} + +#mbrsel > div > ol#linearization > li.in { + text-decoration: none; + float: left; + padding-right: 10px; + margin-right: 5px; + background: url(selected-right.png) no-repeat; + background-position: right 0px; +} + +#mbrsel > div > ol#linearization > li.in > span{ + color: #404040; + float: left; + padding: 1px 0 1px 10px; + background: url(selected.png) no-repeat; + background-position: 0px 0px; + text-shadow: #ffffff 0 1px 0; +} + +#mbrsel > div > ol#implicits { + display: table; + margin-left: 70px; +} + +#mbrsel > div > ol#implicits > li.in { + text-decoration: none; + float: left; + padding-right: 10px; + margin-right: 5px; + background: url(selected-right-implicits.png) no-repeat; + background-position: right 0px; +} + +#mbrsel > div > ol#implicits > li.in > span{ + color: #404040; + float: left; + padding: 1px 0 1px 10px; + background: url(selected-implicits.png) no-repeat; + background-position: 0px 0px; + text-shadow: #ffffff 0 1px 0; +} + +#mbrsel > div > ol > li { +/* padding: 3px 10px;*/ + line-height: 16pt; + display: inline-block; + cursor: pointer; +} + +#mbrsel > div > ol > li.in { + text-decoration: none; + float: left; + padding-right: 10px; + margin-right: 5px; + background: url(selected-right.png) no-repeat; + background-position: right 0px; +} + +#mbrsel > div > ol > li.in > span{ + color: #404040; + float: left; + padding: 1px 0 1px 10px; + background: url(selected.png) no-repeat; + background-position: 0px 0px; + text-shadow: #ffffff 0 1px 0; +} + +#mbrsel > div > ol > li.out { + text-decoration: none; + float: left; + padding-right: 10px; + margin-right: 5px; +} + +#mbrsel > div > ol > li.out > span{ + color: #747474; +/* background-color: #999; */ + float: left; + padding: 1px 0 1px 10px; +/* background: url(unselected.png) no-repeat;*/ + background-position: 0px -1px; + text-shadow: #ffffff 0 1px 0; +} +/* +#mbrsel .hideall { + color: #4C4C4C; + line-height: 16px; + font-weight: bold; +} + +#mbrsel .hideall span { + color: #4C4C4C; + font-weight: bold; +} + +#mbrsel .showall { + color: #4C4C4C; + line-height: 16px; + font-weight: bold; +} + +#mbrsel .showall span { + color: #4C4C4C; + font-weight: bold; +}*/ + +.badge { + display: inline-block; + padding: 2px 4px; + font-size: 11.844px; + font-weight: bold; + line-height: 14px; + color: #ffffff; + text-shadow: 0 -1px 0 rgba(0, 0, 0, 0.25); + white-space: nowrap; + vertical-align: baseline; + background-color: #999999; + padding-right: 9px; + padding-left: 9px; + -webkit-border-radius: 9px; + -moz-border-radius: 9px; + border-radius: 9px; +} + +.badge-red { + background-color: #b94a48; +} diff --git a/manual1903/api_reference/components/scaladocs/lib/template.js b/manual1903/api_reference/components/scaladocs/lib/template.js new file mode 100644 index 0000000000000000000000000000000000000000..798a2d430b9e40540b2249ab0851c87d9c7e6bd0 --- /dev/null +++ b/manual1903/api_reference/components/scaladocs/lib/template.js @@ -0,0 +1,500 @@ +// © 2009–2010 EPFL/LAMP +// code by Gilles Dubochet with contributions by Pedro Furlanetto and Marcin Kubala + +$(document).ready(function(){ + + var controls = { + visibility: { + publicOnly: $("#visbl").find("> ol > li.public"), + all: $("#visbl").find("> ol > li.all") + } + }; + + // Escapes special characters and returns a valid jQuery selector + function escapeJquery(str){ + return str.replace(/([;&,\.\+\*\~':"\!\^#$%@\[\]\(\)=<>\|])/g, '\\$1'); + } + + function toggleVisibilityFilter(ctrlToEnable, ctrToDisable) { + if (ctrlToEnable.hasClass("out")) { + ctrlToEnable.removeClass("out").addClass("in"); + ctrToDisable.removeClass("in").addClass("out"); + filter(); + } + } + + controls.visibility.publicOnly.click(function () { + toggleVisibilityFilter(controls.visibility.publicOnly, controls.visibility.all); + }); + + controls.visibility.all.click(function () { + toggleVisibilityFilter(controls.visibility.all, controls.visibility.publicOnly); + }); + + function exposeMember(jqElem) { + var jqElemParent = jqElem.parent(), + parentName = jqElemParent.attr("name"), + linearizationName = /^([^#]*)(#.*)?$/gi.exec(parentName)[1]; + + // switch visibility filter if necessary + if (jqElemParent.attr("visbl") == "prt") { + toggleVisibilityFilter(controls.visibility.all, controls.visibility.publicOnly); + } + + // toggle appropriate linearization buttons + if (linearizationName) { + $("#linearization li.out[name='" + linearizationName + "']").removeClass("out").addClass("in"); + } + + filter(); + window.scrollTo(0, 0); + jqElemParent.effect("highlight", {color: "#FFCC85"}, 3000); + $('html,body').animate({scrollTop: jqElemParent.offset().top}, 1000); + } + + var isHiddenClass = function (name) { + return name == 'scala.Any' || + name == 'scala.AnyRef'; + }; + + var isHidden = function (elem) { + return $(elem).attr("data-hidden") == 'true'; + }; + + $("#linearization li:gt(0)").filter(function(){ + return isHiddenClass($(this).attr("name")); + }).removeClass("in").addClass("out"); + + $("#implicits li").filter(function(){ + return isHidden(this); + }).removeClass("in").addClass("out"); + + // Pre-filter members + filter(); + + // Member filter box + var input = $("#textfilter input"); + input.bind("keyup", function(event) { + + switch ( event.keyCode ) { + + case 27: // escape key + input.val(""); + filter(true); + break; + + case 38: // up + input.val(""); + filter(false); + window.scrollTo(0, $("body").offset().top); + input.focus(); + break; + + case 33: //page up + input.val(""); + filter(false); + break; + + case 34: //page down + input.val(""); + filter(false); + break; + + default: + window.scrollTo(0, $("#mbrsel").offset().top); + filter(true); + break; + + } + }); + input.focus(function(event) { + input.select(); + }); + $("#textfilter > .post").click(function() { + $("#textfilter input").attr("value", ""); + filter(); + }); + $(document).keydown(function(event) { + + if (event.keyCode == 9) { // tab + $("#index-input", window.parent.document).focus(); + input.attr("value", ""); + return false; + } + }); + + $("#linearization li").click(function(){ + if ($(this).hasClass("in")) { + $(this).removeClass("in"); + $(this).addClass("out"); + } + else if ($(this).hasClass("out")) { + $(this).removeClass("out"); + $(this).addClass("in"); + } + filter(); + }); + + $("#implicits li").click(function(){ + if ($(this).hasClass("in")) { + $(this).removeClass("in"); + $(this).addClass("out"); + } + else if ($(this).hasClass("out")) { + $(this).removeClass("out"); + $(this).addClass("in"); + } + filter(); + }); + + $("#mbrsel > div[id=ancestors] > ol > li.hideall").click(function() { + $("#linearization li.in").removeClass("in").addClass("out"); + $("#linearization li:first").removeClass("out").addClass("in"); + $("#implicits li.in").removeClass("in").addClass("out"); + + if ($(this).hasClass("out") && $("#mbrsel > div[id=ancestors] > ol > li.showall").hasClass("in")) { + $(this).removeClass("out").addClass("in"); + $("#mbrsel > div[id=ancestors] > ol > li.showall").removeClass("in").addClass("out"); + } + + filter(); + }) + $("#mbrsel > div[id=ancestors] > ol > li.showall").click(function() { + var filteredLinearization = + $("#linearization li.out").filter(function() { + return ! isHiddenClass($(this).attr("name")); + }); + filteredLinearization.removeClass("out").addClass("in"); + + var filteredImplicits = + $("#implicits li.out").filter(function() { + return ! isHidden(this); + }); + filteredImplicits.removeClass("out").addClass("in"); + + if ($(this).hasClass("out") && $("#mbrsel > div[id=ancestors] > ol > li.hideall").hasClass("in")) { + $(this).removeClass("out").addClass("in"); + $("#mbrsel > div[id=ancestors] > ol > li.hideall").removeClass("in").addClass("out"); + } + + filter(); + }); + $("#order > ol > li.alpha").click(function() { + if ($(this).hasClass("out")) { + orderAlpha(); + } + }) + $("#order > ol > li.inherit").click(function() { + if ($(this).hasClass("out")) { + orderInherit(); + } + }); + $("#order > ol > li.group").click(function() { + if ($(this).hasClass("out")) { + orderGroup(); + } + }); + $("#groupedMembers").hide(); + + initInherit(); + + // Create tooltips + $(".extype").add(".defval").tooltip({ + tip: "#tooltip", + position: "top center", + predelay: 500, + onBeforeShow: function(ev) { + $(this.getTip()).text(this.getTrigger().attr("name")); + } + }); + + /* Add toggle arrows */ + //var docAllSigs = $("#template li").has(".fullcomment").find(".signature"); + // trying to speed things up a little bit + var docAllSigs = $("#template li[fullComment=yes] .signature"); + + function commentToggleFct(signature){ + var parent = signature.parent(); + var shortComment = $(".shortcomment", parent); + var fullComment = $(".fullcomment", parent); + var vis = $(":visible", fullComment); + signature.toggleClass("closed").toggleClass("opened"); + if (vis.length > 0) { + shortComment.slideDown(100); + fullComment.slideUp(100); + } + else { + shortComment.slideUp(100); + fullComment.slideDown(100); + } + }; + docAllSigs.addClass("closed"); + docAllSigs.click(function() { + commentToggleFct($(this)); + }); + + /* Linear super types and known subclasses */ + function toggleShowContentFct(e){ + e.toggleClass("open"); + var content = $(".hiddenContent", e.parent().get(0)); + if (content.is(':visible')) { + content.slideUp(100); + } + else { + content.slideDown(100); + } + }; + + $(".toggle:not(.diagram-link)").click(function() { + toggleShowContentFct($(this)); + }); + + // Set parent window title + windowTitle(); + + if ($("#order > ol > li.group").length == 1) { orderGroup(); }; + + function findElementByHash(locationHash) { + var temp = locationHash.replace('#', ''); + var memberSelector = '#' + escapeJquery(temp); + return $(memberSelector); + } + + // highlight and jump to selected member + if (window.location.hash) { + var jqElem = findElementByHash(window.location.hash); + if (jqElem.length > 0) { + exposeMember(jqElem); + } + } +}); + +function orderAlpha() { + $("#order > ol > li.alpha").removeClass("out").addClass("in"); + $("#order > ol > li.inherit").removeClass("in").addClass("out"); + $("#order > ol > li.group").removeClass("in").addClass("out"); + $("#template > div.parent").hide(); + $("#template > div.conversion").hide(); + $("#mbrsel > div[id=ancestors]").show(); + filter(); +}; + +function orderInherit() { + $("#order > ol > li.inherit").removeClass("out").addClass("in"); + $("#order > ol > li.alpha").removeClass("in").addClass("out"); + $("#order > ol > li.group").removeClass("in").addClass("out"); + $("#template > div.parent").show(); + $("#template > div.conversion").show(); + $("#mbrsel > div[id=ancestors]").hide(); + filter(); +}; + +function orderGroup() { + $("#order > ol > li.group").removeClass("out").addClass("in"); + $("#order > ol > li.alpha").removeClass("in").addClass("out"); + $("#order > ol > li.inherit").removeClass("in").addClass("out"); + $("#template > div.parent").hide(); + $("#template > div.conversion").hide(); + $("#mbrsel > div[id=ancestors]").show(); + filter(); +}; + +/** Prepares the DOM for inheritance-based display. To do so it will: + * - hide all statically-generated parents headings; + * - copy all members from the value and type members lists (flat members) to corresponding lists nested below the + * parent headings (inheritance-grouped members); + * - initialises a control variable used by the filter method to control whether filtering happens on flat members + * or on inheritance-grouped members. */ +function initInherit() { + // inheritParents is a map from fully-qualified names to the DOM node of parent headings. + var inheritParents = new Object(); + var groupParents = new Object(); + $("#inheritedMembers > div.parent").each(function(){ + inheritParents[$(this).attr("name")] = $(this); + }); + $("#inheritedMembers > div.conversion").each(function(){ + inheritParents[$(this).attr("name")] = $(this); + }); + $("#groupedMembers > div.group").each(function(){ + groupParents[$(this).attr("name")] = $(this); + }); + + $("#types > ol > li").each(function(){ + var mbr = $(this); + this.mbrText = mbr.find("> .fullcomment .cmt").text(); + var qualName = mbr.attr("name"); + var owner = qualName.slice(0, qualName.indexOf("#")); + var name = qualName.slice(qualName.indexOf("#") + 1); + var inheritParent = inheritParents[owner]; + if (inheritParent != undefined) { + var types = $("> .types > ol", inheritParent); + if (types.length == 0) { + inheritParent.append("

                                                  Type Members

                                                    "); + types = $("> .types > ol", inheritParent); + } + var clone = mbr.clone(); + clone[0].mbrText = this.mbrText; + types.append(clone); + } + var group = mbr.attr("group") + var groupParent = groupParents[group]; + if (groupParent != undefined) { + var types = $("> .types > ol", groupParent); + if (types.length == 0) { + groupParent.append("
                                                      "); + types = $("> .types > ol", groupParent); + } + var clone = mbr.clone(); + clone[0].mbrText = this.mbrText; + types.append(clone); + } + }); + + $("#values > ol > li").each(function(){ + var mbr = $(this); + this.mbrText = mbr.find("> .fullcomment .cmt").text(); + var qualName = mbr.attr("name"); + var owner = qualName.slice(0, qualName.indexOf("#")); + var name = qualName.slice(qualName.indexOf("#") + 1); + var inheritParent = inheritParents[owner]; + if (inheritParent != undefined) { + var values = $("> .values > ol", inheritParent); + if (values.length == 0) { + inheritParent.append("

                                                      Value Members

                                                        "); + values = $("> .values > ol", inheritParent); + } + var clone = mbr.clone(); + clone[0].mbrText = this.mbrText; + values.append(clone); + } + var group = mbr.attr("group") + var groupParent = groupParents[group]; + if (groupParent != undefined) { + var values = $("> .values > ol", groupParent); + if (values.length == 0) { + groupParent.append("
                                                          "); + values = $("> .values > ol", groupParent); + } + var clone = mbr.clone(); + clone[0].mbrText = this.mbrText; + values.append(clone); + } + }); + $("#inheritedMembers > div.parent").each(function() { + if ($("> div.members", this).length == 0) { $(this).remove(); }; + }); + $("#inheritedMembers > div.conversion").each(function() { + if ($("> div.members", this).length == 0) { $(this).remove(); }; + }); + $("#groupedMembers > div.group").each(function() { + if ($("> div.members", this).length == 0) { $(this).remove(); }; + }); +}; + +/* filter used to take boolean scrollToMember */ +function filter() { + var query = $.trim($("#textfilter input").val()).toLowerCase(); + query = query.replace(/[-[\]{}()*+?.,\\^$|#]/g, "\\$&").replace(/\s+/g, "|"); + var queryRegExp = new RegExp(query, "i"); + var privateMembersHidden = $("#visbl > ol > li.public").hasClass("in"); + var orderingAlphabetic = $("#order > ol > li.alpha").hasClass("in"); + var orderingInheritance = $("#order > ol > li.inherit").hasClass("in"); + var orderingGroups = $("#order > ol > li.group").hasClass("in"); + var hiddenSuperclassElementsLinearization = orderingInheritance ? $("#linearization > li:gt(0)") : $("#linearization > li.out"); + var hiddenSuperclassesLinearization = hiddenSuperclassElementsLinearization.map(function() { + return $(this).attr("name"); + }).get(); + var hiddenSuperclassElementsImplicits = orderingInheritance ? $("#implicits > li") : $("#implicits > li.out"); + var hiddenSuperclassesImplicits = hiddenSuperclassElementsImplicits.map(function() { + return $(this).attr("name"); + }).get(); + + var hideInheritedMembers; + + if (orderingAlphabetic) { + $("#allMembers").show(); + $("#inheritedMembers").hide(); + $("#groupedMembers").hide(); + hideInheritedMembers = true; + $("#allMembers > .members").each(filterFunc); + } else if (orderingGroups) { + $("#groupedMembers").show(); + $("#inheritedMembers").hide(); + $("#allMembers").hide(); + hideInheritedMembers = true; + $("#groupedMembers > .group > .members").each(filterFunc); + $("#groupedMembers > div.group").each(function() { + $(this).show(); + if ($("> div.members", this).not(":hidden").length == 0) { + $(this).hide(); + } else { + $(this).show(); + } + }); + } else if (orderingInheritance) { + $("#inheritedMembers").show(); + $("#groupedMembers").hide(); + $("#allMembers").hide(); + hideInheritedMembers = false; + $("#inheritedMembers > .parent > .members").each(filterFunc); + $("#inheritedMembers > .conversion > .members").each(filterFunc); + } + + + function filterFunc() { + var membersVisible = false; + var members = $(this); + members.find("> ol > li").each(function() { + var mbr = $(this); + if (privateMembersHidden && mbr.attr("visbl") == "prt") { + mbr.hide(); + return; + } + var name = mbr.attr("name"); + // Owner filtering must not happen in "inherited from" member lists + if (hideInheritedMembers) { + var ownerIndex = name.indexOf("#"); + if (ownerIndex < 0) { + ownerIndex = name.lastIndexOf("."); + } + var owner = name.slice(0, ownerIndex); + for (var i = 0; i < hiddenSuperclassesLinearization.length; i++) { + if (hiddenSuperclassesLinearization[i] == owner) { + mbr.hide(); + return; + } + }; + for (var i = 0; i < hiddenSuperclassesImplicits.length; i++) { + if (hiddenSuperclassesImplicits[i] == owner) { + mbr.hide(); + return; + } + }; + } + if (query && !(queryRegExp.test(name) || queryRegExp.test(this.mbrText))) { + mbr.hide(); + return; + } + mbr.show(); + membersVisible = true; + }); + + if (membersVisible) + members.show(); + else + members.hide(); + }; + + return false; +}; + +function windowTitle() +{ + try { + parent.document.title=document.title; + } + catch(e) { + // Chrome doesn't allow settings the parent's title when + // used on the local file system. + } +}; diff --git a/manual1903/api_reference/components/scaladocs/lib/tools.tooltip.js b/manual1903/api_reference/components/scaladocs/lib/tools.tooltip.js new file mode 100644 index 0000000000000000000000000000000000000000..0af34eca4c4145e5f3284e85f821467972182957 --- /dev/null +++ b/manual1903/api_reference/components/scaladocs/lib/tools.tooltip.js @@ -0,0 +1,14 @@ +/* + * tools.tooltip 1.1.3 - Tooltips done right. + * + * Copyright (c) 2009 Tero Piirainen + * http://flowplayer.org/tools/tooltip.html + * + * Dual licensed under MIT and GPL 2+ licenses + * http://www.opensource.org/licenses + * + * Launch : November 2008 + * Date: ${date} + * Revision: ${revision} + */ +(function(c){var d=[];c.tools=c.tools||{};c.tools.tooltip={version:"1.1.3",conf:{effect:"toggle",fadeOutSpeed:"fast",tip:null,predelay:0,delay:30,opacity:1,lazy:undefined,position:["top","center"],offset:[0,0],cancelDefault:true,relative:false,oneInstance:true,events:{def:"mouseover,mouseout",input:"focus,blur",widget:"focus mouseover,blur mouseout",tooltip:"mouseover,mouseout"},api:false},addEffect:function(e,g,f){b[e]=[g,f]}};var b={toggle:[function(e){var f=this.getConf(),g=this.getTip(),h=f.opacity;if(h<1){g.css({opacity:h})}g.show();e.call()},function(e){this.getTip().hide();e.call()}],fade:[function(e){this.getTip().fadeIn(this.getConf().fadeInSpeed,e)},function(e){this.getTip().fadeOut(this.getConf().fadeOutSpeed,e)}]};function a(f,g){var p=this,k=c(this);f.data("tooltip",p);var l=f.next();if(g.tip){l=c(g.tip);if(l.length>1){l=f.nextAll(g.tip).eq(0);if(!l.length){l=f.parent().nextAll(g.tip).eq(0)}}}function o(u){var t=g.relative?f.position().top:f.offset().top,s=g.relative?f.position().left:f.offset().left,v=g.position[0];t-=l.outerHeight()-g.offset[0];s+=f.outerWidth()+g.offset[1];var q=l.outerHeight()+f.outerHeight();if(v=="center"){t+=q/2}if(v=="bottom"){t+=q}v=g.position[1];var r=l.outerWidth()+f.outerWidth();if(v=="center"){s-=r/2}if(v=="left"){s-=r}return{top:t,left:s}}var i=f.is(":input"),e=i&&f.is(":checkbox, :radio, select, :button"),h=f.attr("type"),n=g.events[h]||g.events[i?(e?"widget":"input"):"def"];n=n.split(/,\s*/);if(n.length!=2){throw"Tooltip: bad events configuration for "+h}f.bind(n[0],function(r){if(g.oneInstance){c.each(d,function(){this.hide()})}var q=l.data("trigger");if(q&&q[0]!=this){l.hide().stop(true,true)}r.target=this;p.show(r);n=g.events.tooltip.split(/,\s*/);l.bind(n[0],function(){p.show(r)});if(n[1]){l.bind(n[1],function(){p.hide(r)})}});f.bind(n[1],function(q){p.hide(q)});if(!c.browser.msie&&!i&&!g.predelay){f.mousemove(function(){if(!p.isShown()){f.triggerHandler("mouseover")}})}if(g.opacity<1){l.css("opacity",g.opacity)}var m=0,j=f.attr("title");if(j&&g.cancelDefault){f.removeAttr("title");f.data("title",j)}c.extend(p,{show:function(r){if(r){f=c(r.target)}clearTimeout(l.data("timer"));if(l.is(":animated")||l.is(":visible")){return p}function q(){l.data("trigger",f);var t=o(r);if(g.tip&&j){l.html(f.data("title"))}r=r||c.Event();r.type="onBeforeShow";k.trigger(r,[t]);if(r.isDefaultPrevented()){return p}t=o(r);l.css({position:"absolute",top:t.top,left:t.left});var s=b[g.effect];if(!s){throw'Nonexistent effect "'+g.effect+'"'}s[0].call(p,function(){r.type="onShow";k.trigger(r)})}if(g.predelay){clearTimeout(m);m=setTimeout(q,g.predelay)}else{q()}return p},hide:function(r){clearTimeout(l.data("timer"));clearTimeout(m);if(!l.is(":visible")){return}function q(){r=r||c.Event();r.type="onBeforeHide";k.trigger(r);if(r.isDefaultPrevented()){return}b[g.effect][1].call(p,function(){r.type="onHide";k.trigger(r)})}if(g.delay&&r){l.data("timer",setTimeout(q,g.delay))}else{q()}return p},isShown:function(){return l.is(":visible, :animated")},getConf:function(){return g},getTip:function(){return l},getTrigger:function(){return f},bind:function(q,r){k.bind(q,r);return p},onHide:function(q){return this.bind("onHide",q)},onBeforeShow:function(q){return this.bind("onBeforeShow",q)},onShow:function(q){return this.bind("onShow",q)},onBeforeHide:function(q){return this.bind("onBeforeHide",q)},unbind:function(q){k.unbind(q);return p}});c.each(g,function(q,r){if(c.isFunction(r)){p.bind(q,r)}})}c.prototype.tooltip=function(e){var f=this.eq(typeof e=="number"?e:0).data("tooltip");if(f){return f}var g=c.extend(true,{},c.tools.tooltip.conf);if(c.isFunction(e)){e={onBeforeShow:e}}else{if(typeof e=="string"){e={tip:e}}}e=c.extend(true,g,e);if(typeof e.position=="string"){e.position=e.position.split(/,?\s/)}if(e.lazy!==false&&(e.lazy===true||this.length>20)){this.one("mouseover",function(h){f=new a(c(this),e);f.show(h);d.push(f)})}else{this.each(function(){f=new a(c(this),e);d.push(f)})}return e.api?f:this}})(jQuery); \ No newline at end of file diff --git a/manual1903/api_reference/components/scaladocs/lib/trait.png b/manual1903/api_reference/components/scaladocs/lib/trait.png new file mode 100644 index 0000000000000000000000000000000000000000..fb961a2eda3f55c9d8272a4793549e23120aec6b Binary files /dev/null and b/manual1903/api_reference/components/scaladocs/lib/trait.png differ diff --git a/manual1903/api_reference/components/scaladocs/lib/trait_big.png b/manual1903/api_reference/components/scaladocs/lib/trait_big.png new file mode 100644 index 0000000000000000000000000000000000000000..625d9251cba32d350beb988fcd072672d5f3b375 Binary files /dev/null and b/manual1903/api_reference/components/scaladocs/lib/trait_big.png differ diff --git a/manual1903/api_reference/components/scaladocs/lib/trait_diagram.png b/manual1903/api_reference/components/scaladocs/lib/trait_diagram.png new file mode 100644 index 0000000000000000000000000000000000000000..88983254ce3a4295951e4d3af927d50b50a3146d Binary files /dev/null and b/manual1903/api_reference/components/scaladocs/lib/trait_diagram.png differ diff --git a/manual1903/api_reference/components/scaladocs/lib/trait_to_object_big.png b/manual1903/api_reference/components/scaladocs/lib/trait_to_object_big.png new file mode 100644 index 0000000000000000000000000000000000000000..d0cd7fd51264103854ca43e02a2b699e4ff298df Binary files /dev/null and b/manual1903/api_reference/components/scaladocs/lib/trait_to_object_big.png differ diff --git a/manual1903/api_reference/components/scaladocs/lib/type.png b/manual1903/api_reference/components/scaladocs/lib/type.png new file mode 100644 index 0000000000000000000000000000000000000000..6c6e1fe2f52c7a12d1db31f1ce3b134c8ab2aabf Binary files /dev/null and b/manual1903/api_reference/components/scaladocs/lib/type.png differ diff --git a/manual1903/api_reference/components/scaladocs/lib/type_big.png b/manual1903/api_reference/components/scaladocs/lib/type_big.png new file mode 100644 index 0000000000000000000000000000000000000000..04c8794e92a7b00da3b4caaccbfea94cdd210a38 Binary files /dev/null and b/manual1903/api_reference/components/scaladocs/lib/type_big.png differ diff --git a/manual1903/api_reference/components/scaladocs/lib/type_diagram.png b/manual1903/api_reference/components/scaladocs/lib/type_diagram.png new file mode 100644 index 0000000000000000000000000000000000000000..d8152529fdc350853f4b1e7debb0a0c8d632ff7f Binary files /dev/null and b/manual1903/api_reference/components/scaladocs/lib/type_diagram.png differ diff --git a/manual1903/api_reference/components/scaladocs/lib/type_to_object_big.png b/manual1903/api_reference/components/scaladocs/lib/type_to_object_big.png new file mode 100644 index 0000000000000000000000000000000000000000..ef2615bacc702f153594af64f60e4443ab91ea99 Binary files /dev/null and b/manual1903/api_reference/components/scaladocs/lib/type_to_object_big.png differ diff --git a/manual1903/api_reference/components/scaladocs/lib/typebg.gif b/manual1903/api_reference/components/scaladocs/lib/typebg.gif new file mode 100644 index 0000000000000000000000000000000000000000..2fcc77b2e85405d7b22deb0ad2ac24b709291377 Binary files /dev/null and b/manual1903/api_reference/components/scaladocs/lib/typebg.gif differ diff --git a/manual1903/api_reference/components/scaladocs/lib/unselected.png b/manual1903/api_reference/components/scaladocs/lib/unselected.png new file mode 100644 index 0000000000000000000000000000000000000000..d5ac639405ffe0a45fd51de2904692c7e905c5ef Binary files /dev/null and b/manual1903/api_reference/components/scaladocs/lib/unselected.png differ diff --git a/manual1903/api_reference/components/scaladocs/lib/valuemembersbg.gif b/manual1903/api_reference/components/scaladocs/lib/valuemembersbg.gif new file mode 100644 index 0000000000000000000000000000000000000000..2a949311d7869cb769ef7fd48a9c03a57937b60d Binary files /dev/null and b/manual1903/api_reference/components/scaladocs/lib/valuemembersbg.gif differ diff --git a/manual1903/api_reference/components/scaladocs/package.html b/manual1903/api_reference/components/scaladocs/package.html new file mode 100644 index 0000000000000000000000000000000000000000..32896de03708af384c753922dc5ad1785d1013dc --- /dev/null +++ b/manual1903/api_reference/components/scaladocs/package.html @@ -0,0 +1,135 @@ + + + + root - KSB COMPONENTS Scala App Project 1.0-SNAPSHOT API - _root_ + + + + + + + + + + + + + + + +
                                                          + Package + +

                                                          root package

                                                          + + Permalink + + +
                                                          + +

                                                          + + + package + + + root + +

                                                          + +
                                                          + + +
                                                          +
                                                          + + +
                                                          + Visibility +
                                                          1. Public
                                                          2. All
                                                          +
                                                          +
                                                          + +
                                                          +
                                                          + + + + + + +
                                                          +

                                                          Value Members

                                                          +
                                                          1. + + +

                                                            + + + package + + + akka + +

                                                            + + Permalink + + + +
                                                          2. + + +

                                                            + + + package + + + ksb + +

                                                            + + Permalink + + + +
                                                          +
                                                          + + + + +
                                                          + +
                                                          + + +
                                                          + +
                                                          +
                                                          +

                                                          Ungrouped

                                                          + +
                                                          +
                                                          + +
                                                          + +
                                                          + + + + + + diff --git a/manual1903/api_reference/didentification/scaladocs/deprecated-list.html b/manual1903/api_reference/didentification/scaladocs/deprecated-list.html new file mode 100644 index 0000000000000000000000000000000000000000..cd70c763c62e4f1b722a84c9f594b21d9d64b6f8 --- /dev/null +++ b/manual1903/api_reference/didentification/scaladocs/deprecated-list.html @@ -0,0 +1,20 @@ + + + + KSB DEIDENTIFICATION Scala App Project 1.0-SNAPSHOT API + + + + + + + + +
                                                          +
                                                          makeSuppressedQuasiRow
                                                          + +
                                                          +
                                                          makeSuppressedRow
                                                          + +
                                                          + diff --git a/manual1903/api_reference/didentification/scaladocs/index.html b/manual1903/api_reference/didentification/scaladocs/index.html new file mode 100644 index 0000000000000000000000000000000000000000..5a6944d24872da51ffdb391384e7a35fcba1e2e7 --- /dev/null +++ b/manual1903/api_reference/didentification/scaladocs/index.html @@ -0,0 +1,92 @@ + + + + KSB DEIDENTIFICATION Scala App Project 1.0-SNAPSHOT API + + + + + + + + + + + + + +
                                                          + class icon + trait icon + trait icon + trait icon +
                                                          +
                                                          +
                                                          + +
                                                          + +
                                                            +
                                                            1. + ksb +
                                                                +
                                                                1. + ksb.csle +
                                                                    +
                                                                    1. + ksb.csle.didentification +
                                                                        +
                                                                        1. + ksb.csle.didentification.exceptions +
                                                                          1. (object)
                                                                            AnonymityExceptionHandler
                                                                          2. (case class)DDIException
                                                                          3. (case class)DDIFileIOException
                                                                          4. (case class)DDIFileNotFoundException
                                                                          5. (case class)DDIIllegalArgumentException
                                                                          6. (case class)DDITypeMismatchException
                                                                          7. (object)
                                                                            IOExceptionHandler
                                                                          +
                                                                          +
                                                                        2. + ksb.csle.didentification.interfaces +
                                                                          1. (case class)ColumnHierarchy
                                                                          2. (trait)DataFrameCheck
                                                                          3. (trait)DeAnonymizer
                                                                          4. (case class)EquivalenceClass
                                                                          5. (case class)HierarchyEntries
                                                                          6. (case class)InformationLossBound
                                                                          7. (case class)Interval
                                                                          8. (case class)LatticeEntry
                                                                          9. (case class)LatticeValue
                                                                          10. (trait)MethodString
                                                                          11. (case class)OutlierInfo
                                                                          12. (trait)Statistics
                                                                          +
                                                                          +
                                                                        3. + ksb.csle.didentification.pipe +
                                                                            +
                                                                            1. + ksb.csle.didentification.pipe.preprocessing +
                                                                              1. (class)AddZoneIDColumnOperator
                                                                              2. (class)ColumnOperationOperator
                                                                              3. (class)ColumnsRenamerOperator
                                                                              4. (class)SelectColumnsOperator
                                                                              5. (class)SparkMLPredictor
                                                                              6. (class)TimeAggregator
                                                                              +
                                                                              +
                                                                            +
                                                                          1. + ksb.csle.didentification.privacy +
                                                                            1. (object)(class)AggregationOperator
                                                                            2. (class)BasePrivacyAnonymizer
                                                                            3. (object)(class)BlankImputeOperator
                                                                            4. (object)(class)DataRangeOperator
                                                                            5. (object)(class)EncryptionOperator
                                                                            6. (object)(class)HeuristicOperator
                                                                            7. (object)(class)HidingOperator
                                                                            8. (object)(class)IdenReductionOperator
                                                                            9. (object)(class)PartialAggregateOperator
                                                                            10. (object)(class)PartialIdenReductionOperator
                                                                            11. (object)(class)QuasiReductionOperator
                                                                            12. (object)(class)RandomNoiseOperator
                                                                            13. (object)(class)RandomRoundingOperator
                                                                            14. (object)(class)RearrangeOperator
                                                                            15. (object)(class)RecordReductionOperator
                                                                            16. (object)(class)RoundingOperator
                                                                            17. (object)(class)SwappingOperator
                                                                            +
                                                                            +
                                                                          2. + ksb.csle.didentification.utilities +
                                                                            1. (object)
                                                                              AttributeManager
                                                                            2. (object)
                                                                              EquivalClassManager
                                                                            3. (object)
                                                                              FileManager
                                                                            4. (object)
                                                                              FrequencyManager
                                                                            5. (object)
                                                                              GeneralizeManager
                                                                            6. (object)
                                                                              HierarchyManager
                                                                            7. (object)
                                                                              LatticeManager
                                                                            8. (object)
                                                                              LayoutManager
                                                                            9. (object)
                                                                              MergingDataframe
                                                                            10. (object)
                                                                              OutlierManager
                                                                            11. (object)
                                                                              RandomGenerator
                                                                            12. (object)
                                                                              SelectDataframe
                                                                            13. (object)
                                                                              StatisticManager
                                                                            14. (object)
                                                                              SuppressingManager
                                                                            15. (object)
                                                                              SwappingManager
                                                                            +
                                                                            +
                                                                          3. + ksb.csle.didentification.verification +
                                                                            1. (object)(class)Verification
                                                                            +
                                                                            1. + ksb.csle.didentification.verification.check +
                                                                              1. (class)BaseLDiversityCheck
                                                                              2. (object)(class)CategoryTClosenessCheck
                                                                              3. (object)(class)CommonLDiversityCheck
                                                                              4. (object)(class)EntropyLDiversityCheck
                                                                              5. (object)(class)KAnonymityCheck
                                                                              6. (object)(class)ProbLDiversityCheck
                                                                              7. (object)(class)RecursiveLDiversityCheck
                                                                              +
                                                                              +
                                                                            2. + ksb.csle.didentification.verification.loss +
                                                                              1. (object)(class)AECSLoss
                                                                              2. (object)(class)CardinalityLoss
                                                                              3. (object)(class)DMLoss
                                                                              4. (object)(class)EquivalenceLoss
                                                                              5. (object)(class)HierarchicalTreeLoss
                                                                              6. (class)InformationLoss
                                                                              +
                                                                              +
                                                                            3. + ksb.csle.didentification.verification.risk +
                                                                              1. (object)(class)GlobalRiskMeasure
                                                                              2. (object)(class)ReIdentificationRisk
                                                                              +
                                                                              +
                                                                            +
                                                                          +
                                                                        +
                                                                      +
                                                                    +
                                                                    +
                                                                    +
                                                                    + +
                                                                    + + diff --git a/manual1903/api_reference/didentification/scaladocs/index.js b/manual1903/api_reference/didentification/scaladocs/index.js new file mode 100644 index 0000000000000000000000000000000000000000..0e95dbf11031aaab3d7a7194691f9f7bf20ab76b --- /dev/null +++ b/manual1903/api_reference/didentification/scaladocs/index.js @@ -0,0 +1 @@ +Index.PACKAGES = {"ksb.csle.didentification.verification.loss" : [{"object" : "ksb\/csle\/didentification\/verification\/loss\/AECSLoss$.html", "class" : "ksb\/csle\/didentification\/verification\/loss\/AECSLoss.html", "name" : "ksb.csle.didentification.verification.loss.AECSLoss"}, {"object" : "ksb\/csle\/didentification\/verification\/loss\/CardinalityLoss$.html", "class" : "ksb\/csle\/didentification\/verification\/loss\/CardinalityLoss.html", "name" : "ksb.csle.didentification.verification.loss.CardinalityLoss"}, {"object" : "ksb\/csle\/didentification\/verification\/loss\/DMLoss$.html", "class" : "ksb\/csle\/didentification\/verification\/loss\/DMLoss.html", "name" : "ksb.csle.didentification.verification.loss.DMLoss"}, {"object" : "ksb\/csle\/didentification\/verification\/loss\/EquivalenceLoss$.html", "class" : "ksb\/csle\/didentification\/verification\/loss\/EquivalenceLoss.html", "name" : "ksb.csle.didentification.verification.loss.EquivalenceLoss"}, {"object" : "ksb\/csle\/didentification\/verification\/loss\/HierarchicalTreeLoss$.html", "class" : "ksb\/csle\/didentification\/verification\/loss\/HierarchicalTreeLoss.html", "name" : "ksb.csle.didentification.verification.loss.HierarchicalTreeLoss"}, {"class" : "ksb\/csle\/didentification\/verification\/loss\/InformationLoss.html", "name" : "ksb.csle.didentification.verification.loss.InformationLoss"}], "ksb.csle.didentification.privacy" : [{"object" : "ksb\/csle\/didentification\/privacy\/AggregationOperator$.html", "class" : "ksb\/csle\/didentification\/privacy\/AggregationOperator.html", "name" : "ksb.csle.didentification.privacy.AggregationOperator"}, {"class" : "ksb\/csle\/didentification\/privacy\/BasePrivacyAnonymizer.html", "name" : "ksb.csle.didentification.privacy.BasePrivacyAnonymizer"}, {"object" : "ksb\/csle\/didentification\/privacy\/BlankImputeOperator$.html", "class" : "ksb\/csle\/didentification\/privacy\/BlankImputeOperator.html", "name" : "ksb.csle.didentification.privacy.BlankImputeOperator"}, {"object" : "ksb\/csle\/didentification\/privacy\/DataRangeOperator$.html", "class" : "ksb\/csle\/didentification\/privacy\/DataRangeOperator.html", "name" : "ksb.csle.didentification.privacy.DataRangeOperator"}, {"object" : "ksb\/csle\/didentification\/privacy\/EncryptionOperator$.html", "class" : "ksb\/csle\/didentification\/privacy\/EncryptionOperator.html", "name" : "ksb.csle.didentification.privacy.EncryptionOperator"}, {"object" : "ksb\/csle\/didentification\/privacy\/HeuristicOperator$.html", "class" : "ksb\/csle\/didentification\/privacy\/HeuristicOperator.html", "name" : "ksb.csle.didentification.privacy.HeuristicOperator"}, {"object" : "ksb\/csle\/didentification\/privacy\/HidingOperator$.html", "class" : "ksb\/csle\/didentification\/privacy\/HidingOperator.html", "name" : "ksb.csle.didentification.privacy.HidingOperator"}, {"object" : "ksb\/csle\/didentification\/privacy\/IdenReductionOperator$.html", "class" : "ksb\/csle\/didentification\/privacy\/IdenReductionOperator.html", "name" : "ksb.csle.didentification.privacy.IdenReductionOperator"}, {"object" : "ksb\/csle\/didentification\/privacy\/PartialAggregateOperator$.html", "class" : "ksb\/csle\/didentification\/privacy\/PartialAggregateOperator.html", "name" : "ksb.csle.didentification.privacy.PartialAggregateOperator"}, {"object" : "ksb\/csle\/didentification\/privacy\/PartialIdenReductionOperator$.html", "class" : "ksb\/csle\/didentification\/privacy\/PartialIdenReductionOperator.html", "name" : "ksb.csle.didentification.privacy.PartialIdenReductionOperator"}, {"object" : "ksb\/csle\/didentification\/privacy\/QuasiReductionOperator$.html", "class" : "ksb\/csle\/didentification\/privacy\/QuasiReductionOperator.html", "name" : "ksb.csle.didentification.privacy.QuasiReductionOperator"}, {"object" : "ksb\/csle\/didentification\/privacy\/RandomNoiseOperator$.html", "class" : "ksb\/csle\/didentification\/privacy\/RandomNoiseOperator.html", "name" : "ksb.csle.didentification.privacy.RandomNoiseOperator"}, {"object" : "ksb\/csle\/didentification\/privacy\/RandomRoundingOperator$.html", "class" : "ksb\/csle\/didentification\/privacy\/RandomRoundingOperator.html", "name" : "ksb.csle.didentification.privacy.RandomRoundingOperator"}, {"object" : "ksb\/csle\/didentification\/privacy\/RearrangeOperator$.html", "class" : "ksb\/csle\/didentification\/privacy\/RearrangeOperator.html", "name" : "ksb.csle.didentification.privacy.RearrangeOperator"}, {"object" : "ksb\/csle\/didentification\/privacy\/RecordReductionOperator$.html", "class" : "ksb\/csle\/didentification\/privacy\/RecordReductionOperator.html", "name" : "ksb.csle.didentification.privacy.RecordReductionOperator"}, {"object" : "ksb\/csle\/didentification\/privacy\/RoundingOperator$.html", "class" : "ksb\/csle\/didentification\/privacy\/RoundingOperator.html", "name" : "ksb.csle.didentification.privacy.RoundingOperator"}, {"object" : "ksb\/csle\/didentification\/privacy\/SwappingOperator$.html", "class" : "ksb\/csle\/didentification\/privacy\/SwappingOperator.html", "name" : "ksb.csle.didentification.privacy.SwappingOperator"}], "ksb.csle.didentification.pipe.preprocessing" : [{"class" : "ksb\/csle\/didentification\/pipe\/preprocessing\/AddZoneIDColumnOperator.html", "name" : "ksb.csle.didentification.pipe.preprocessing.AddZoneIDColumnOperator"}, {"class" : "ksb\/csle\/didentification\/pipe\/preprocessing\/ColumnOperationOperator.html", "name" : "ksb.csle.didentification.pipe.preprocessing.ColumnOperationOperator"}, {"class" : "ksb\/csle\/didentification\/pipe\/preprocessing\/ColumnsRenamerOperator.html", "name" : "ksb.csle.didentification.pipe.preprocessing.ColumnsRenamerOperator"}, {"class" : "ksb\/csle\/didentification\/pipe\/preprocessing\/SelectColumnsOperator.html", "name" : "ksb.csle.didentification.pipe.preprocessing.SelectColumnsOperator"}, {"class" : "ksb\/csle\/didentification\/pipe\/preprocessing\/SparkMLPredictor.html", "name" : "ksb.csle.didentification.pipe.preprocessing.SparkMLPredictor"}, {"class" : "ksb\/csle\/didentification\/pipe\/preprocessing\/TimeAggregator.html", "name" : "ksb.csle.didentification.pipe.preprocessing.TimeAggregator"}], "ksb.csle.didentification.verification" : [{"object" : "ksb\/csle\/didentification\/verification\/Verification$.html", "class" : "ksb\/csle\/didentification\/verification\/Verification.html", "name" : "ksb.csle.didentification.verification.Verification"}], "ksb.csle.didentification.pipe" : [], "ksb.csle.didentification.verification.check" : [{"class" : "ksb\/csle\/didentification\/verification\/check\/BaseLDiversityCheck.html", "name" : "ksb.csle.didentification.verification.check.BaseLDiversityCheck"}, {"object" : "ksb\/csle\/didentification\/verification\/check\/CategoryTClosenessCheck$.html", "class" : "ksb\/csle\/didentification\/verification\/check\/CategoryTClosenessCheck.html", "name" : "ksb.csle.didentification.verification.check.CategoryTClosenessCheck"}, {"object" : "ksb\/csle\/didentification\/verification\/check\/CommonLDiversityCheck$.html", "class" : "ksb\/csle\/didentification\/verification\/check\/CommonLDiversityCheck.html", "name" : "ksb.csle.didentification.verification.check.CommonLDiversityCheck"}, {"object" : "ksb\/csle\/didentification\/verification\/check\/EntropyLDiversityCheck$.html", "class" : "ksb\/csle\/didentification\/verification\/check\/EntropyLDiversityCheck.html", "name" : "ksb.csle.didentification.verification.check.EntropyLDiversityCheck"}, {"object" : "ksb\/csle\/didentification\/verification\/check\/KAnonymityCheck$.html", "class" : "ksb\/csle\/didentification\/verification\/check\/KAnonymityCheck.html", "name" : "ksb.csle.didentification.verification.check.KAnonymityCheck"}, {"object" : "ksb\/csle\/didentification\/verification\/check\/ProbLDiversityCheck$.html", "class" : "ksb\/csle\/didentification\/verification\/check\/ProbLDiversityCheck.html", "name" : "ksb.csle.didentification.verification.check.ProbLDiversityCheck"}, {"object" : "ksb\/csle\/didentification\/verification\/check\/RecursiveLDiversityCheck$.html", "class" : "ksb\/csle\/didentification\/verification\/check\/RecursiveLDiversityCheck.html", "name" : "ksb.csle.didentification.verification.check.RecursiveLDiversityCheck"}], "ksb.csle.didentification.exceptions" : [{"object" : "ksb\/csle\/didentification\/exceptions\/AnonymityExceptionHandler$.html", "name" : "ksb.csle.didentification.exceptions.AnonymityExceptionHandler"}, {"case class" : "ksb\/csle\/didentification\/exceptions\/DDIException.html", "name" : "ksb.csle.didentification.exceptions.DDIException"}, {"case class" : "ksb\/csle\/didentification\/exceptions\/DDIFileIOException.html", "name" : "ksb.csle.didentification.exceptions.DDIFileIOException"}, {"case class" : "ksb\/csle\/didentification\/exceptions\/DDIFileNotFoundException.html", "name" : "ksb.csle.didentification.exceptions.DDIFileNotFoundException"}, {"case class" : "ksb\/csle\/didentification\/exceptions\/DDIIllegalArgumentException.html", "name" : "ksb.csle.didentification.exceptions.DDIIllegalArgumentException"}, {"case class" : "ksb\/csle\/didentification\/exceptions\/DDITypeMismatchException.html", "name" : "ksb.csle.didentification.exceptions.DDITypeMismatchException"}, {"object" : "ksb\/csle\/didentification\/exceptions\/IOExceptionHandler$.html", "name" : "ksb.csle.didentification.exceptions.IOExceptionHandler"}], "ksb" : [], "ksb.csle.didentification.utilities" : [{"object" : "ksb\/csle\/didentification\/utilities\/AttributeManager$.html", "name" : "ksb.csle.didentification.utilities.AttributeManager"}, {"object" : "ksb\/csle\/didentification\/utilities\/EquivalClassManager$.html", "name" : "ksb.csle.didentification.utilities.EquivalClassManager"}, {"object" : "ksb\/csle\/didentification\/utilities\/FileManager$.html", "name" : "ksb.csle.didentification.utilities.FileManager"}, {"object" : "ksb\/csle\/didentification\/utilities\/FrequencyManager$.html", "name" : "ksb.csle.didentification.utilities.FrequencyManager"}, {"object" : "ksb\/csle\/didentification\/utilities\/GeneralizeManager$.html", "name" : "ksb.csle.didentification.utilities.GeneralizeManager"}, {"object" : "ksb\/csle\/didentification\/utilities\/HierarchyManager$.html", "name" : "ksb.csle.didentification.utilities.HierarchyManager"}, {"object" : "ksb\/csle\/didentification\/utilities\/LatticeManager$.html", "name" : "ksb.csle.didentification.utilities.LatticeManager"}, {"object" : "ksb\/csle\/didentification\/utilities\/LayoutManager$.html", "name" : "ksb.csle.didentification.utilities.LayoutManager"}, {"object" : "ksb\/csle\/didentification\/utilities\/MergingDataframe$.html", "name" : "ksb.csle.didentification.utilities.MergingDataframe"}, {"object" : "ksb\/csle\/didentification\/utilities\/OutlierManager$.html", "name" : "ksb.csle.didentification.utilities.OutlierManager"}, {"object" : "ksb\/csle\/didentification\/utilities\/RandomGenerator$.html", "name" : "ksb.csle.didentification.utilities.RandomGenerator"}, {"object" : "ksb\/csle\/didentification\/utilities\/SelectDataframe$.html", "name" : "ksb.csle.didentification.utilities.SelectDataframe"}, {"object" : "ksb\/csle\/didentification\/utilities\/StatisticManager$.html", "name" : "ksb.csle.didentification.utilities.StatisticManager"}, {"object" : "ksb\/csle\/didentification\/utilities\/SuppressingManager$.html", "name" : "ksb.csle.didentification.utilities.SuppressingManager"}, {"object" : "ksb\/csle\/didentification\/utilities\/SwappingManager$.html", "name" : "ksb.csle.didentification.utilities.SwappingManager"}], "ksb.csle.didentification" : [], "ksb.csle.didentification.verification.risk" : [{"object" : "ksb\/csle\/didentification\/verification\/risk\/GlobalRiskMeasure$.html", "class" : "ksb\/csle\/didentification\/verification\/risk\/GlobalRiskMeasure.html", "name" : "ksb.csle.didentification.verification.risk.GlobalRiskMeasure"}, {"object" : "ksb\/csle\/didentification\/verification\/risk\/ReIdentificationRisk$.html", "class" : "ksb\/csle\/didentification\/verification\/risk\/ReIdentificationRisk.html", "name" : "ksb.csle.didentification.verification.risk.ReIdentificationRisk"}], "ksb.csle" : [], "ksb.csle.didentification.interfaces" : [{"case class" : "ksb\/csle\/didentification\/interfaces\/ColumnHierarchy.html", "name" : "ksb.csle.didentification.interfaces.ColumnHierarchy"}, {"trait" : "ksb\/csle\/didentification\/interfaces\/DataFrameCheck.html", "name" : "ksb.csle.didentification.interfaces.DataFrameCheck"}, {"trait" : "ksb\/csle\/didentification\/interfaces\/DeAnonymizer.html", "name" : "ksb.csle.didentification.interfaces.DeAnonymizer"}, {"case class" : "ksb\/csle\/didentification\/interfaces\/EquivalenceClass.html", "name" : "ksb.csle.didentification.interfaces.EquivalenceClass"}, {"case class" : "ksb\/csle\/didentification\/interfaces\/HierarchyEntries.html", "name" : "ksb.csle.didentification.interfaces.HierarchyEntries"}, {"case class" : "ksb\/csle\/didentification\/interfaces\/InformationLossBound.html", "name" : "ksb.csle.didentification.interfaces.InformationLossBound"}, {"case class" : "ksb\/csle\/didentification\/interfaces\/Interval.html", "name" : "ksb.csle.didentification.interfaces.Interval"}, {"case class" : "ksb\/csle\/didentification\/interfaces\/LatticeEntry.html", "name" : "ksb.csle.didentification.interfaces.LatticeEntry"}, {"case class" : "ksb\/csle\/didentification\/interfaces\/LatticeValue.html", "name" : "ksb.csle.didentification.interfaces.LatticeValue"}, {"trait" : "ksb\/csle\/didentification\/interfaces\/MethodString.html", "name" : "ksb.csle.didentification.interfaces.MethodString"}, {"case class" : "ksb\/csle\/didentification\/interfaces\/OutlierInfo.html", "name" : "ksb.csle.didentification.interfaces.OutlierInfo"}, {"trait" : "ksb\/csle\/didentification\/interfaces\/Statistics.html", "name" : "ksb.csle.didentification.interfaces.Statistics"}]}; \ No newline at end of file diff --git a/manual1903/api_reference/didentification/scaladocs/index/index-a.html b/manual1903/api_reference/didentification/scaladocs/index/index-a.html new file mode 100644 index 0000000000000000000000000000000000000000..c306e171096aaebdf759dff927539036dbd15fe9 --- /dev/null +++ b/manual1903/api_reference/didentification/scaladocs/index/index-a.html @@ -0,0 +1,59 @@ + + + + KSB DEIDENTIFICATION Scala App Project 1.0-SNAPSHOT API + + + + + + + + +
                                                                    +
                                                                    AECSLoss
                                                                    + +
                                                                    +
                                                                    AddZoneIDColumnOperator
                                                                    + +
                                                                    +
                                                                    AggregationOperator
                                                                    + +
                                                                    +
                                                                    AnonymityExceptionHandler
                                                                    + +
                                                                    +
                                                                    AttributeManager
                                                                    + +
                                                                    +
                                                                    addZoneIDColumn
                                                                    + +
                                                                    +
                                                                    aggregateNumericColumn
                                                                    + +
                                                                    +
                                                                    anonymity
                                                                    + +
                                                                    +
                                                                    anonymize
                                                                    + +
                                                                    +
                                                                    anonymizeColumn
                                                                    + +
                                                                    +
                                                                    anonymizeNumericColumn
                                                                    + +
                                                                    +
                                                                    anonymizeStringColumn
                                                                    + +
                                                                    +
                                                                    anonymizedAll
                                                                    + +
                                                                    +
                                                                    anonymizedOneByOne
                                                                    + +
                                                                    +
                                                                    apply
                                                                    + +
                                                                    + diff --git a/manual1903/api_reference/didentification/scaladocs/index/index-b.html b/manual1903/api_reference/didentification/scaladocs/index/index-b.html new file mode 100644 index 0000000000000000000000000000000000000000..08dba71d9ad8d09133f5c8c10badcb06f27696de --- /dev/null +++ b/manual1903/api_reference/didentification/scaladocs/index/index-b.html @@ -0,0 +1,23 @@ + + + + KSB DEIDENTIFICATION Scala App Project 1.0-SNAPSHOT API + + + + + + + + +
                                                                    +
                                                                    BaseLDiversityCheck
                                                                    + +
                                                                    +
                                                                    BasePrivacyAnonymizer
                                                                    + +
                                                                    +
                                                                    BlankImputeOperator
                                                                    + +
                                                                    + diff --git a/manual1903/api_reference/didentification/scaladocs/index/index-c.html b/manual1903/api_reference/didentification/scaladocs/index/index-c.html new file mode 100644 index 0000000000000000000000000000000000000000..0aa5bfe33d8ef0187d20ace4f55c9a77a8805774 --- /dev/null +++ b/manual1903/api_reference/didentification/scaladocs/index/index-c.html @@ -0,0 +1,62 @@ + + + + KSB DEIDENTIFICATION Scala App Project 1.0-SNAPSHOT API + + + + + + + + +
                                                                    +
                                                                    CardinalityLoss
                                                                    + +
                                                                    +
                                                                    CategoryTClosenessCheck
                                                                    + +
                                                                    +
                                                                    ColumnHierarchy
                                                                    + +
                                                                    +
                                                                    ColumnOperationOperator
                                                                    + +
                                                                    +
                                                                    ColumnsRenamerOperator
                                                                    + +
                                                                    +
                                                                    CommonLDiversityCheck
                                                                    + +
                                                                    +
                                                                    cause
                                                                    + +
                                                                    +
                                                                    check
                                                                    + +
                                                                    +
                                                                    columnIndex
                                                                    + +
                                                                    +
                                                                    columnName
                                                                    + +
                                                                    +
                                                                    columnOperation
                                                                    + +
                                                                    +
                                                                    confHierarchiesFromFiles
                                                                    + +
                                                                    +
                                                                    convertColumntoArray
                                                                    + +
                                                                    +
                                                                    count
                                                                    + +
                                                                    +
                                                                    csle
                                                                    + +
                                                                    +
                                                                    currentDepth
                                                                    + +
                                                                    + diff --git a/manual1903/api_reference/didentification/scaladocs/index/index-d.html b/manual1903/api_reference/didentification/scaladocs/index/index-d.html new file mode 100644 index 0000000000000000000000000000000000000000..5a95b4a7cf4d3d6608af7b2b9aa63a5d97f3d49f --- /dev/null +++ b/manual1903/api_reference/didentification/scaladocs/index/index-d.html @@ -0,0 +1,65 @@ + + + + KSB DEIDENTIFICATION Scala App Project 1.0-SNAPSHOT API + + + + + + + + +
                                                                    +
                                                                    DDIException
                                                                    + +
                                                                    +
                                                                    DDIFileIOException
                                                                    + +
                                                                    +
                                                                    DDIFileNotFoundException
                                                                    + +
                                                                    +
                                                                    DDIIllegalArgumentException
                                                                    + +
                                                                    +
                                                                    DDITypeMismatchException
                                                                    + +
                                                                    +
                                                                    DMLoss
                                                                    + +
                                                                    +
                                                                    DataFrameCheck
                                                                    + +
                                                                    +
                                                                    DataRangeOperator
                                                                    + +
                                                                    +
                                                                    DeAnonymizer
                                                                    + +
                                                                    +
                                                                    deAnonymize
                                                                    + +
                                                                    +
                                                                    decrypt
                                                                    + +
                                                                    +
                                                                    depth
                                                                    + +
                                                                    +
                                                                    depthOfHierarchy
                                                                    + +
                                                                    +
                                                                    didentification
                                                                    + +
                                                                    +
                                                                    doStop
                                                                    + +
                                                                    +
                                                                    dropFirstNRows
                                                                    + +
                                                                    +
                                                                    dropTailNRows
                                                                    + +
                                                                    + diff --git a/manual1903/api_reference/didentification/scaladocs/index/index-e.html b/manual1903/api_reference/didentification/scaladocs/index/index-e.html new file mode 100644 index 0000000000000000000000000000000000000000..be3cc51877b8c37d522e1fcf2f8f8f0d66497c1e --- /dev/null +++ b/manual1903/api_reference/didentification/scaladocs/index/index-e.html @@ -0,0 +1,41 @@ + + + + KSB DEIDENTIFICATION Scala App Project 1.0-SNAPSHOT API + + + + + + + + +
                                                                    +
                                                                    EncryptionOperator
                                                                    + +
                                                                    +
                                                                    EntropyLDiversityCheck
                                                                    + +
                                                                    +
                                                                    EquivalClassManager
                                                                    + +
                                                                    +
                                                                    EquivalenceClass
                                                                    + +
                                                                    +
                                                                    EquivalenceLoss
                                                                    + +
                                                                    +
                                                                    encrypt
                                                                    + +
                                                                    +
                                                                    entry
                                                                    + +
                                                                    +
                                                                    eqIdentifiers
                                                                    + +
                                                                    +
                                                                    exceptions
                                                                    + +
                                                                    + diff --git a/manual1903/api_reference/didentification/scaladocs/index/index-f.html b/manual1903/api_reference/didentification/scaladocs/index/index-f.html new file mode 100644 index 0000000000000000000000000000000000000000..d652ce89acbb1602fea996340520a27cdfe00534 --- /dev/null +++ b/manual1903/api_reference/didentification/scaladocs/index/index-f.html @@ -0,0 +1,20 @@ + + + + KSB DEIDENTIFICATION Scala App Project 1.0-SNAPSHOT API + + + + + + + + +
                                                                    +
                                                                    FileManager
                                                                    + +
                                                                    +
                                                                    FrequencyManager
                                                                    + +
                                                                    + diff --git a/manual1903/api_reference/didentification/scaladocs/index/index-g.html b/manual1903/api_reference/didentification/scaladocs/index/index-g.html new file mode 100644 index 0000000000000000000000000000000000000000..3477c8745d0707082b8aa2c3ec25c357e0224aa8 --- /dev/null +++ b/manual1903/api_reference/didentification/scaladocs/index/index-g.html @@ -0,0 +1,149 @@ + + + + KSB DEIDENTIFICATION Scala App Project 1.0-SNAPSHOT API + + + + + + + + +
                                                                    +
                                                                    GeneralizeManager
                                                                    + +
                                                                    +
                                                                    GlobalRiskMeasure
                                                                    + +
                                                                    +
                                                                    generalizing
                                                                    + +
                                                                    +
                                                                    getAutomaticHierarchies
                                                                    + +
                                                                    +
                                                                    getAvgValue
                                                                    + +
                                                                    +
                                                                    getCardinality
                                                                    + +
                                                                    +
                                                                    getColumnHierarchyFromDataFrame
                                                                    + +
                                                                    +
                                                                    getColumnName
                                                                    + +
                                                                    +
                                                                    getColumnNames
                                                                    + +
                                                                    +
                                                                    getCountValue
                                                                    + +
                                                                    +
                                                                    getECAbstractionInfo
                                                                    + +
                                                                    +
                                                                    getEquivalenceClasses
                                                                    + +
                                                                    +
                                                                    getHighestFrequencyEntry
                                                                    + +
                                                                    +
                                                                    getIdenHierarchiesFromFiles
                                                                    + +
                                                                    +
                                                                    getIdentifierColumnNames
                                                                    + +
                                                                    +
                                                                    getKAnonymityValue
                                                                    + +
                                                                    +
                                                                    getKey
                                                                    + +
                                                                    +
                                                                    getLDiversityValue
                                                                    + +
                                                                    +
                                                                    getLatticeValue
                                                                    + +
                                                                    +
                                                                    getLeastFrequencyEntry
                                                                    + +
                                                                    +
                                                                    getMaxValue
                                                                    + +
                                                                    +
                                                                    getMethodString
                                                                    + +
                                                                    +
                                                                    getMinValue
                                                                    + +
                                                                    +
                                                                    getNumEquivalence
                                                                    + +
                                                                    +
                                                                    getNumGeneralizing
                                                                    + +
                                                                    +
                                                                    getOverallTClosenessTable
                                                                    + +
                                                                    +
                                                                    getQuasiColumnIDs
                                                                    + +
                                                                    +
                                                                    getQuasiColumnNames
                                                                    + +
                                                                    +
                                                                    getQuasiHierarchies
                                                                    + +
                                                                    +
                                                                    getQuasiHierarchiesFromFiles
                                                                    + +
                                                                    +
                                                                    getRecordUsingIndexFromDF
                                                                    + +
                                                                    +
                                                                    getRepresentiveValue
                                                                    + +
                                                                    +
                                                                    getSelectedTypeColumnNames
                                                                    + +
                                                                    +
                                                                    getSensColumnIDs
                                                                    + +
                                                                    +
                                                                    getSensColumnNames
                                                                    + +
                                                                    +
                                                                    getSensitiveHierarchiesFromFiles
                                                                    + +
                                                                    +
                                                                    getStdValue
                                                                    + +
                                                                    +
                                                                    getStrGeneralizing
                                                                    + +
                                                                    +
                                                                    getSuppressedTupleList
                                                                    + +
                                                                    +
                                                                    getSuppressedTupleListByK
                                                                    + +
                                                                    +
                                                                    getSuppressedTupleListByKAndRatio
                                                                    + +
                                                                    +
                                                                    getSuppressedTupleListByRisk
                                                                    + +
                                                                    +
                                                                    getSwappingRecords
                                                                    + +
                                                                    +
                                                                    getTClosenessValue
                                                                    + +
                                                                    +
                                                                    getValidColumnIDs
                                                                    + +
                                                                    + diff --git a/manual1903/api_reference/didentification/scaladocs/index/index-h.html b/manual1903/api_reference/didentification/scaladocs/index/index-h.html new file mode 100644 index 0000000000000000000000000000000000000000..b3bebd240f80dae99b916e02bd918151d1f49813 --- /dev/null +++ b/manual1903/api_reference/didentification/scaladocs/index/index-h.html @@ -0,0 +1,44 @@ + + + + KSB DEIDENTIFICATION Scala App Project 1.0-SNAPSHOT API + + + + + + + + +
                                                                    +
                                                                    HeuristicOperator
                                                                    + +
                                                                    +
                                                                    HidingOperator
                                                                    + +
                                                                    +
                                                                    HierarchicalTreeLoss
                                                                    + +
                                                                    +
                                                                    HierarchyEntries
                                                                    + +
                                                                    +
                                                                    HierarchyManager
                                                                    + +
                                                                    +
                                                                    h
                                                                    + +
                                                                    +
                                                                    hidingNumericStringColumn
                                                                    + +
                                                                    +
                                                                    hidingStringColumn
                                                                    + +
                                                                    +
                                                                    hierarchyEntry
                                                                    + +
                                                                    +
                                                                    hierarhcyDepth
                                                                    + +
                                                                    + diff --git a/manual1903/api_reference/didentification/scaladocs/index/index-i.html b/manual1903/api_reference/didentification/scaladocs/index/index-i.html new file mode 100644 index 0000000000000000000000000000000000000000..316f62ccb4c534734147c72b28463ef366b9ad7d --- /dev/null +++ b/manual1903/api_reference/didentification/scaladocs/index/index-i.html @@ -0,0 +1,47 @@ + + + + KSB DEIDENTIFICATION Scala App Project 1.0-SNAPSHOT API + + + + + + + + +
                                                                    +
                                                                    IOExceptionHandler
                                                                    + +
                                                                    +
                                                                    IdenReductionOperator
                                                                    + +
                                                                    +
                                                                    InformationLoss
                                                                    + +
                                                                    +
                                                                    InformationLossBound
                                                                    + +
                                                                    +
                                                                    Interval
                                                                    + +
                                                                    +
                                                                    interfaces
                                                                    + +
                                                                    +
                                                                    isSafeBarborList
                                                                    + +
                                                                    +
                                                                    isStringColumn
                                                                    + +
                                                                    +
                                                                    isTypedSafeBarborList
                                                                    + +
                                                                    +
                                                                    isValidColumnID
                                                                    + +
                                                                    +
                                                                    isValidColumnName
                                                                    + +
                                                                    + diff --git a/manual1903/api_reference/didentification/scaladocs/index/index-k.html b/manual1903/api_reference/didentification/scaladocs/index/index-k.html new file mode 100644 index 0000000000000000000000000000000000000000..68a3b3ebbcb5777ff4069ec002529b619507f43d --- /dev/null +++ b/manual1903/api_reference/didentification/scaladocs/index/index-k.html @@ -0,0 +1,26 @@ + + + + KSB DEIDENTIFICATION Scala App Project 1.0-SNAPSHOT API + + + + + + + + +
                                                                    +
                                                                    KAnonymityCheck
                                                                    + +
                                                                    +
                                                                    kAnonymityCheck
                                                                    + +
                                                                    +
                                                                    key
                                                                    + +
                                                                    +
                                                                    ksb
                                                                    + +
                                                                    + diff --git a/manual1903/api_reference/didentification/scaladocs/index/index-l.html b/manual1903/api_reference/didentification/scaladocs/index/index-l.html new file mode 100644 index 0000000000000000000000000000000000000000..c0fe0f4cb37e7c54422e3373e000249a8653ab31 --- /dev/null +++ b/manual1903/api_reference/didentification/scaladocs/index/index-l.html @@ -0,0 +1,47 @@ + + + + KSB DEIDENTIFICATION Scala App Project 1.0-SNAPSHOT API + + + + + + + + +
                                                                    +
                                                                    LatticeEntry
                                                                    + +
                                                                    +
                                                                    LatticeManager
                                                                    + +
                                                                    +
                                                                    LatticeValue
                                                                    + +
                                                                    +
                                                                    LayoutManager
                                                                    + +
                                                                    +
                                                                    lDiversityCheck
                                                                    + +
                                                                    +
                                                                    latticeEntry
                                                                    + +
                                                                    +
                                                                    loadModel
                                                                    + +
                                                                    +
                                                                    loss
                                                                    + +
                                                                    +
                                                                    lossMeasure
                                                                    + +
                                                                    +
                                                                    lower
                                                                    + +
                                                                    +
                                                                    lowerBound
                                                                    + +
                                                                    + diff --git a/manual1903/api_reference/didentification/scaladocs/index/index-m.html b/manual1903/api_reference/didentification/scaladocs/index/index-m.html new file mode 100644 index 0000000000000000000000000000000000000000..2d777efff46045741418ae9d73dc8343af7f8f57 --- /dev/null +++ b/manual1903/api_reference/didentification/scaladocs/index/index-m.html @@ -0,0 +1,107 @@ + + + + KSB DEIDENTIFICATION Scala App Project 1.0-SNAPSHOT API + + + + + + + + +
                                                                    +
                                                                    MergingDataframe
                                                                    + +
                                                                    +
                                                                    MethodString
                                                                    + +
                                                                    +
                                                                    makeAgeOutlierMgmtTableBoxplot
                                                                    + +
                                                                    +
                                                                    makeAgeOutlierMgmtTableZscore
                                                                    + +
                                                                    +
                                                                    makeAgeStatTable
                                                                    + +
                                                                    +
                                                                    makeBoxplotOutlierBasedFrequency
                                                                    + +
                                                                    +
                                                                    makeDataFrame
                                                                    + +
                                                                    +
                                                                    makeDataFrameHDFS
                                                                    + +
                                                                    +
                                                                    makeDataFrameURL
                                                                    + +
                                                                    +
                                                                    makeFileHeuristicTable
                                                                    + +
                                                                    +
                                                                    makeFrequencyTable
                                                                    + +
                                                                    +
                                                                    makeGeneralizationHierarchy
                                                                    + +
                                                                    +
                                                                    makeHeuristicTable
                                                                    + +
                                                                    +
                                                                    makeLatticeEntries
                                                                    + +
                                                                    +
                                                                    makeListofIndividualRisk
                                                                    + +
                                                                    +
                                                                    makeMixedStatTable
                                                                    + +
                                                                    +
                                                                    makeNumericGeneralizationHierarchy
                                                                    + +
                                                                    +
                                                                    makeNumericStatTable
                                                                    + +
                                                                    +
                                                                    makeOutlierMgmtTableBoxplot
                                                                    + +
                                                                    +
                                                                    makeOutlierMgmtTableZscore
                                                                    + +
                                                                    +
                                                                    makeStringGeneralizationHierarchy
                                                                    + +
                                                                    +
                                                                    makeSuppressedQuasiRow
                                                                    + +
                                                                    +
                                                                    makeSuppressedRow
                                                                    + +
                                                                    +
                                                                    makeZscoreOutlierBasedFrequency
                                                                    + +
                                                                    +
                                                                    maxDepth
                                                                    + +
                                                                    +
                                                                    measureAnonymity
                                                                    + +
                                                                    +
                                                                    measureLoss
                                                                    + +
                                                                    +
                                                                    measureRisk
                                                                    + +
                                                                    +
                                                                    merging
                                                                    + +
                                                                    +
                                                                    message
                                                                    + +
                                                                    +
                                                                    model
                                                                    + +
                                                                    + diff --git a/manual1903/api_reference/didentification/scaladocs/index/index-n.html b/manual1903/api_reference/didentification/scaladocs/index/index-n.html new file mode 100644 index 0000000000000000000000000000000000000000..a932739639b881c48e01704e3fac3316c69df86d --- /dev/null +++ b/manual1903/api_reference/didentification/scaladocs/index/index-n.html @@ -0,0 +1,26 @@ + + + + KSB DEIDENTIFICATION Scala App Project 1.0-SNAPSHOT API + + + + + + + + +
                                                                    +
                                                                    noiseNumericColumn
                                                                    + +
                                                                    +
                                                                    noiseNumericStringColumn
                                                                    + +
                                                                    +
                                                                    noiseStringColumn
                                                                    + +
                                                                    +
                                                                    noiseStringOnlyColumn
                                                                    + +
                                                                    + diff --git a/manual1903/api_reference/didentification/scaladocs/index/index-o.html b/manual1903/api_reference/didentification/scaladocs/index/index-o.html new file mode 100644 index 0000000000000000000000000000000000000000..992a449c6f1da707692d92deec5b4a6b709695e1 --- /dev/null +++ b/manual1903/api_reference/didentification/scaladocs/index/index-o.html @@ -0,0 +1,23 @@ + + + + KSB DEIDENTIFICATION Scala App Project 1.0-SNAPSHOT API + + + + + + + + +
                                                                    +
                                                                    OutlierInfo
                                                                    + +
                                                                    +
                                                                    OutlierManager
                                                                    + +
                                                                    +
                                                                    operate
                                                                    + +
                                                                    + diff --git a/manual1903/api_reference/didentification/scaladocs/index/index-p.html b/manual1903/api_reference/didentification/scaladocs/index/index-p.html new file mode 100644 index 0000000000000000000000000000000000000000..4708ca577f447f5daf2871928aa1127368e8f2e6 --- /dev/null +++ b/manual1903/api_reference/didentification/scaladocs/index/index-p.html @@ -0,0 +1,59 @@ + + + + KSB DEIDENTIFICATION Scala App Project 1.0-SNAPSHOT API + + + + + + + + +
                                                                    +
                                                                    PartialAggregateOperator
                                                                    + +
                                                                    +
                                                                    PartialIdenReductionOperator
                                                                    + +
                                                                    +
                                                                    ProbLDiversityCheck
                                                                    + +
                                                                    +
                                                                    p
                                                                    + +
                                                                    +
                                                                    pipe
                                                                    + +
                                                                    +
                                                                    predict
                                                                    + +
                                                                    +
                                                                    preprocessing
                                                                    + +
                                                                    +
                                                                    printAnonymityInfo
                                                                    + +
                                                                    +
                                                                    printAnonymizeResult
                                                                    + +
                                                                    +
                                                                    printEqClasses
                                                                    + +
                                                                    +
                                                                    printLatticeEntries
                                                                    + +
                                                                    +
                                                                    printLatticeEntry
                                                                    + +
                                                                    +
                                                                    printLossInfo
                                                                    + +
                                                                    +
                                                                    printRiskInfo
                                                                    + +
                                                                    +
                                                                    privacy
                                                                    + +
                                                                    + diff --git a/manual1903/api_reference/didentification/scaladocs/index/index-q.html b/manual1903/api_reference/didentification/scaladocs/index/index-q.html new file mode 100644 index 0000000000000000000000000000000000000000..ba81a4b3ac7ced927d727cefd8795f7c5ae5e4dd --- /dev/null +++ b/manual1903/api_reference/didentification/scaladocs/index/index-q.html @@ -0,0 +1,17 @@ + + + + KSB DEIDENTIFICATION Scala App Project 1.0-SNAPSHOT API + + + + + + + + +
                                                                    +
                                                                    QuasiReductionOperator
                                                                    + +
                                                                    + diff --git a/manual1903/api_reference/didentification/scaladocs/index/index-r.html b/manual1903/api_reference/didentification/scaladocs/index/index-r.html new file mode 100644 index 0000000000000000000000000000000000000000..b99fd96c950f109e04b9c2d320c9c6e0f75c19ed --- /dev/null +++ b/manual1903/api_reference/didentification/scaladocs/index/index-r.html @@ -0,0 +1,86 @@ + + + + KSB DEIDENTIFICATION Scala App Project 1.0-SNAPSHOT API + + + + + + + + +
                                                                    +
                                                                    RandomGenerator
                                                                    + +
                                                                    +
                                                                    RandomNoiseOperator
                                                                    + +
                                                                    +
                                                                    RandomRoundingOperator
                                                                    + +
                                                                    +
                                                                    ReIdentificationRisk
                                                                    + +
                                                                    +
                                                                    RearrangeOperator
                                                                    + +
                                                                    +
                                                                    RecordReductionOperator
                                                                    + +
                                                                    +
                                                                    RecursiveLDiversityCheck
                                                                    + +
                                                                    +
                                                                    RoundingOperator
                                                                    + +
                                                                    +
                                                                    randomAlpha
                                                                    + +
                                                                    +
                                                                    randomAlphaLower
                                                                    + +
                                                                    +
                                                                    randomAlphaUpper
                                                                    + +
                                                                    +
                                                                    randomMixed
                                                                    + +
                                                                    +
                                                                    randomNumber
                                                                    + +
                                                                    +
                                                                    randomSwappingDataFrame
                                                                    + +
                                                                    +
                                                                    rangeNumericColumn
                                                                    + +
                                                                    +
                                                                    rangeStringColumn
                                                                    + +
                                                                    +
                                                                    relativeLoss
                                                                    + +
                                                                    +
                                                                    relativelowerBound
                                                                    + +
                                                                    +
                                                                    renameColumns
                                                                    + +
                                                                    +
                                                                    replace
                                                                    + +
                                                                    +
                                                                    risk
                                                                    + +
                                                                    +
                                                                    riskMeasure
                                                                    + +
                                                                    +
                                                                    roundingNumericColumn
                                                                    + +
                                                                    +
                                                                    roundingStringColumn
                                                                    + +
                                                                    + diff --git a/manual1903/api_reference/didentification/scaladocs/index/index-s.html b/manual1903/api_reference/didentification/scaladocs/index/index-s.html new file mode 100644 index 0000000000000000000000000000000000000000..0e2943477b4168ca47f4e7b63257b658e41acafb --- /dev/null +++ b/manual1903/api_reference/didentification/scaladocs/index/index-s.html @@ -0,0 +1,50 @@ + + + + KSB DEIDENTIFICATION Scala App Project 1.0-SNAPSHOT API + + + + + + + + +
                                                                    +
                                                                    SelectColumnsOperator
                                                                    + +
                                                                    +
                                                                    SelectDataframe
                                                                    + +
                                                                    +
                                                                    SparkMLPredictor
                                                                    + +
                                                                    +
                                                                    StatisticManager
                                                                    + +
                                                                    +
                                                                    Statistics
                                                                    + +
                                                                    +
                                                                    SuppressingManager
                                                                    + +
                                                                    +
                                                                    SwappingManager
                                                                    + +
                                                                    +
                                                                    SwappingOperator
                                                                    + +
                                                                    +
                                                                    selectColumns
                                                                    + +
                                                                    +
                                                                    sortLatticeSet
                                                                    + +
                                                                    +
                                                                    suppressingDataFrame
                                                                    + +
                                                                    +
                                                                    swappingDataFrame
                                                                    + +
                                                                    + diff --git a/manual1903/api_reference/didentification/scaladocs/index/index-t.html b/manual1903/api_reference/didentification/scaladocs/index/index-t.html new file mode 100644 index 0000000000000000000000000000000000000000..ebfe0814bc4ee7518cf344bd8089c0a988caf141 --- /dev/null +++ b/manual1903/api_reference/didentification/scaladocs/index/index-t.html @@ -0,0 +1,23 @@ + + + + KSB DEIDENTIFICATION Scala App Project 1.0-SNAPSHOT API + + + + + + + + +
                                                                    +
                                                                    TimeAggregator
                                                                    + +
                                                                    +
                                                                    tClosenessCheck
                                                                    + +
                                                                    +
                                                                    timeAggregate
                                                                    + +
                                                                    + diff --git a/manual1903/api_reference/didentification/scaladocs/index/index-u.html b/manual1903/api_reference/didentification/scaladocs/index/index-u.html new file mode 100644 index 0000000000000000000000000000000000000000..1764743a2a5651102d8698bc61667e404336c60a --- /dev/null +++ b/manual1903/api_reference/didentification/scaladocs/index/index-u.html @@ -0,0 +1,23 @@ + + + + KSB DEIDENTIFICATION Scala App Project 1.0-SNAPSHOT API + + + + + + + + +
                                                                    +
                                                                    updateRecord
                                                                    + +
                                                                    +
                                                                    upper
                                                                    + +
                                                                    +
                                                                    utilities
                                                                    + +
                                                                    + diff --git a/manual1903/api_reference/didentification/scaladocs/index/index-v.html b/manual1903/api_reference/didentification/scaladocs/index/index-v.html new file mode 100644 index 0000000000000000000000000000000000000000..d7d4053308b6aba61ebd92a89759519e295f6168 --- /dev/null +++ b/manual1903/api_reference/didentification/scaladocs/index/index-v.html @@ -0,0 +1,20 @@ + + + + KSB DEIDENTIFICATION Scala App Project 1.0-SNAPSHOT API + + + + + + + + +
                                                                    +
                                                                    Verification
                                                                    + +
                                                                    +
                                                                    verification
                                                                    + +
                                                                    + diff --git a/manual1903/api_reference/didentification/scaladocs/ksb/csle/didentification/exceptions/AnonymityExceptionHandler$.html b/manual1903/api_reference/didentification/scaladocs/ksb/csle/didentification/exceptions/AnonymityExceptionHandler$.html new file mode 100644 index 0000000000000000000000000000000000000000..d11518bf127980b1b9861053ac603fdb73932983 --- /dev/null +++ b/manual1903/api_reference/didentification/scaladocs/ksb/csle/didentification/exceptions/AnonymityExceptionHandler$.html @@ -0,0 +1,500 @@ + + + + AnonymityExceptionHandler - KSB DEIDENTIFICATION Scala App Project 1.0-SNAPSHOT API - ksb.csle.didentification.exceptions.AnonymityExceptionHandler + + + + + + + + + + + + + + + +
                                                                    + Object +

                                                                    ksb.csle.didentification.exceptions

                                                                    +

                                                                    AnonymityExceptionHandler

                                                                    Related Doc: + package exceptions +

                                                                    + + Permalink + + +
                                                                    + +

                                                                    + + + object + + + AnonymityExceptionHandler + +

                                                                    + +

                                                                    This object handles the exception caused by processing data frame. +

                                                                    + Linear Supertypes +
                                                                    AnyRef, Any
                                                                    +
                                                                    + + +
                                                                    +
                                                                    +
                                                                    + Ordering +
                                                                      + +
                                                                    1. Alphabetic
                                                                    2. +
                                                                    3. By Inheritance
                                                                    4. +
                                                                    +
                                                                    +
                                                                    + Inherited
                                                                    +
                                                                    +
                                                                      +
                                                                    1. AnonymityExceptionHandler
                                                                    2. AnyRef
                                                                    3. Any
                                                                    4. +
                                                                    +
                                                                    + +
                                                                      +
                                                                    1. Hide All
                                                                    2. +
                                                                    3. Show All
                                                                    4. +
                                                                    +
                                                                    +
                                                                    + Visibility +
                                                                    1. Public
                                                                    2. All
                                                                    +
                                                                    +
                                                                    + +
                                                                    +
                                                                    + + + + + + +
                                                                    +

                                                                    Value Members

                                                                    +
                                                                    1. + + +

                                                                      + + final + def + + + !=(arg0: Any): Boolean + +

                                                                      + + Permalink + + +
                                                                      Definition Classes
                                                                      AnyRef → Any
                                                                      +
                                                                    2. + + +

                                                                      + + final + def + + + ##(): Int + +

                                                                      + + Permalink + + +
                                                                      Definition Classes
                                                                      AnyRef → Any
                                                                      +
                                                                    3. + + +

                                                                      + + final + def + + + ==(arg0: Any): Boolean + +

                                                                      + + Permalink + + +
                                                                      Definition Classes
                                                                      AnyRef → Any
                                                                      +
                                                                    4. + + +

                                                                      + + + def + + + apply[R <: AnyRef { def cache(): R }](dataframe: ⇒ R)(f: (R) ⇒ R): R + +

                                                                      + + Permalink + + + +
                                                                    5. + + +

                                                                      + + final + def + + + asInstanceOf[T0]: T0 + +

                                                                      + + Permalink + + +
                                                                      Definition Classes
                                                                      Any
                                                                      +
                                                                    6. + + +

                                                                      + + + def + + + clone(): AnyRef + +

                                                                      + + Permalink + + +
                                                                      Attributes
                                                                      protected[java.lang]
                                                                      Definition Classes
                                                                      AnyRef
                                                                      Annotations
                                                                      + @throws( + + ... + ) + +
                                                                      +
                                                                    7. + + +

                                                                      + + final + def + + + eq(arg0: AnyRef): Boolean + +

                                                                      + + Permalink + + +
                                                                      Definition Classes
                                                                      AnyRef
                                                                      +
                                                                    8. + + +

                                                                      + + + def + + + equals(arg0: Any): Boolean + +

                                                                      + + Permalink + + +
                                                                      Definition Classes
                                                                      AnyRef → Any
                                                                      +
                                                                    9. + + +

                                                                      + + + def + + + finalize(): Unit + +

                                                                      + + Permalink + + +
                                                                      Attributes
                                                                      protected[java.lang]
                                                                      Definition Classes
                                                                      AnyRef
                                                                      Annotations
                                                                      + @throws( + + classOf[java.lang.Throwable] + ) + +
                                                                      +
                                                                    10. + + +

                                                                      + + final + def + + + getClass(): Class[_] + +

                                                                      + + Permalink + + +
                                                                      Definition Classes
                                                                      AnyRef → Any
                                                                      +
                                                                    11. + + +

                                                                      + + + def + + + hashCode(): Int + +

                                                                      + + Permalink + + +
                                                                      Definition Classes
                                                                      AnyRef → Any
                                                                      +
                                                                    12. + + +

                                                                      + + final + def + + + isInstanceOf[T0]: Boolean + +

                                                                      + + Permalink + + +
                                                                      Definition Classes
                                                                      Any
                                                                      +
                                                                    13. + + +

                                                                      + + final + def + + + ne(arg0: AnyRef): Boolean + +

                                                                      + + Permalink + + +
                                                                      Definition Classes
                                                                      AnyRef
                                                                      +
                                                                    14. + + +

                                                                      + + final + def + + + notify(): Unit + +

                                                                      + + Permalink + + +
                                                                      Definition Classes
                                                                      AnyRef
                                                                      +
                                                                    15. + + +

                                                                      + + final + def + + + notifyAll(): Unit + +

                                                                      + + Permalink + + +
                                                                      Definition Classes
                                                                      AnyRef
                                                                      +
                                                                    16. + + +

                                                                      + + final + def + + + synchronized[T0](arg0: ⇒ T0): T0 + +

                                                                      + + Permalink + + +
                                                                      Definition Classes
                                                                      AnyRef
                                                                      +
                                                                    17. + + +

                                                                      + + + def + + + toString(): String + +

                                                                      + + Permalink + + +
                                                                      Definition Classes
                                                                      AnyRef → Any
                                                                      +
                                                                    18. + + +

                                                                      + + final + def + + + wait(): Unit + +

                                                                      + + Permalink + + +
                                                                      Definition Classes
                                                                      AnyRef
                                                                      Annotations
                                                                      + @throws( + + ... + ) + +
                                                                      +
                                                                    19. + + +

                                                                      + + final + def + + + wait(arg0: Long, arg1: Int): Unit + +

                                                                      + + Permalink + + +
                                                                      Definition Classes
                                                                      AnyRef
                                                                      Annotations
                                                                      + @throws( + + ... + ) + +
                                                                      +
                                                                    20. + + +

                                                                      + + final + def + + + wait(arg0: Long): Unit + +

                                                                      + + Permalink + + +
                                                                      Definition Classes
                                                                      AnyRef
                                                                      Annotations
                                                                      + @throws( + + ... + ) + +
                                                                      +
                                                                    +
                                                                    + + + + +
                                                                    + +
                                                                    +
                                                                    +

                                                                    Inherited from AnyRef

                                                                    +
                                                                    +

                                                                    Inherited from Any

                                                                    +
                                                                    + +
                                                                    + +
                                                                    +
                                                                    +

                                                                    Ungrouped

                                                                    + +
                                                                    +
                                                                    + +
                                                                    + +
                                                                    + + + + + + diff --git a/manual1903/api_reference/didentification/scaladocs/ksb/csle/didentification/exceptions/DDIException.html b/manual1903/api_reference/didentification/scaladocs/ksb/csle/didentification/exceptions/DDIException.html new file mode 100644 index 0000000000000000000000000000000000000000..deb56237cc778f99e6b42dfe3ee135ccf2c528c8 --- /dev/null +++ b/manual1903/api_reference/didentification/scaladocs/ksb/csle/didentification/exceptions/DDIException.html @@ -0,0 +1,718 @@ + + + + DDIException - KSB DEIDENTIFICATION Scala App Project 1.0-SNAPSHOT API - ksb.csle.didentification.exceptions.DDIException + + + + + + + + + + + + + + + +
                                                                    + Class +

                                                                    ksb.csle.didentification.exceptions

                                                                    +

                                                                    DDIException

                                                                    Related Doc: + package exceptions +

                                                                    + + Permalink + + +
                                                                    + +

                                                                    + + + case class + + + DDIException(message: String = "", cause: Throwable = None.orNull) extends Exception with Product with Serializable + +

                                                                    + +
                                                                    + Linear Supertypes +
                                                                    Serializable, Product, Equals, Exception, Throwable, Serializable, AnyRef, Any
                                                                    +
                                                                    + + +
                                                                    +
                                                                    +
                                                                    + Ordering +
                                                                      + +
                                                                    1. Alphabetic
                                                                    2. +
                                                                    3. By Inheritance
                                                                    4. +
                                                                    +
                                                                    +
                                                                    + Inherited
                                                                    +
                                                                    +
                                                                      +
                                                                    1. DDIException
                                                                    2. Serializable
                                                                    3. Product
                                                                    4. Equals
                                                                    5. Exception
                                                                    6. Throwable
                                                                    7. Serializable
                                                                    8. AnyRef
                                                                    9. Any
                                                                    10. +
                                                                    +
                                                                    + +
                                                                      +
                                                                    1. Hide All
                                                                    2. +
                                                                    3. Show All
                                                                    4. +
                                                                    +
                                                                    +
                                                                    + Visibility +
                                                                    1. Public
                                                                    2. All
                                                                    +
                                                                    +
                                                                    + +
                                                                    +
                                                                    +
                                                                    +

                                                                    Instance Constructors

                                                                    +
                                                                    1. + + +

                                                                      + + + new + + + DDIException(message: String = "", cause: Throwable = None.orNull) + +

                                                                      + + Permalink + + + +
                                                                    +
                                                                    + + + + + +
                                                                    +

                                                                    Value Members

                                                                    +
                                                                    1. + + +

                                                                      + + final + def + + + !=(arg0: Any): Boolean + +

                                                                      + + Permalink + + +
                                                                      Definition Classes
                                                                      AnyRef → Any
                                                                      +
                                                                    2. + + +

                                                                      + + final + def + + + ##(): Int + +

                                                                      + + Permalink + + +
                                                                      Definition Classes
                                                                      AnyRef → Any
                                                                      +
                                                                    3. + + +

                                                                      + + final + def + + + ==(arg0: Any): Boolean + +

                                                                      + + Permalink + + +
                                                                      Definition Classes
                                                                      AnyRef → Any
                                                                      +
                                                                    4. + + +

                                                                      + + final + def + + + addSuppressed(arg0: Throwable): Unit + +

                                                                      + + Permalink + + +
                                                                      Definition Classes
                                                                      Throwable
                                                                      +
                                                                    5. + + +

                                                                      + + final + def + + + asInstanceOf[T0]: T0 + +

                                                                      + + Permalink + + +
                                                                      Definition Classes
                                                                      Any
                                                                      +
                                                                    6. + + +

                                                                      + + + val + + + cause: Throwable + +

                                                                      + + Permalink + + + +
                                                                    7. + + +

                                                                      + + + def + + + clone(): AnyRef + +

                                                                      + + Permalink + + +
                                                                      Attributes
                                                                      protected[java.lang]
                                                                      Definition Classes
                                                                      AnyRef
                                                                      Annotations
                                                                      + @throws( + + ... + ) + +
                                                                      +
                                                                    8. + + +

                                                                      + + final + def + + + eq(arg0: AnyRef): Boolean + +

                                                                      + + Permalink + + +
                                                                      Definition Classes
                                                                      AnyRef
                                                                      +
                                                                    9. + + +

                                                                      + + + def + + + fillInStackTrace(): Throwable + +

                                                                      + + Permalink + + +
                                                                      Definition Classes
                                                                      Throwable
                                                                      +
                                                                    10. + + +

                                                                      + + + def + + + finalize(): Unit + +

                                                                      + + Permalink + + +
                                                                      Attributes
                                                                      protected[java.lang]
                                                                      Definition Classes
                                                                      AnyRef
                                                                      Annotations
                                                                      + @throws( + + classOf[java.lang.Throwable] + ) + +
                                                                      +
                                                                    11. + + +

                                                                      + + + def + + + getCause(): Throwable + +

                                                                      + + Permalink + + +
                                                                      Definition Classes
                                                                      Throwable
                                                                      +
                                                                    12. + + +

                                                                      + + final + def + + + getClass(): Class[_] + +

                                                                      + + Permalink + + +
                                                                      Definition Classes
                                                                      AnyRef → Any
                                                                      +
                                                                    13. + + +

                                                                      + + + def + + + getLocalizedMessage(): String + +

                                                                      + + Permalink + + +
                                                                      Definition Classes
                                                                      Throwable
                                                                      +
                                                                    14. + + +

                                                                      + + + def + + + getMessage(): String + +

                                                                      + + Permalink + + +
                                                                      Definition Classes
                                                                      Throwable
                                                                      +
                                                                    15. + + +

                                                                      + + + def + + + getStackTrace(): Array[StackTraceElement] + +

                                                                      + + Permalink + + +
                                                                      Definition Classes
                                                                      Throwable
                                                                      +
                                                                    16. + + +

                                                                      + + final + def + + + getSuppressed(): Array[Throwable] + +

                                                                      + + Permalink + + +
                                                                      Definition Classes
                                                                      Throwable
                                                                      +
                                                                    17. + + +

                                                                      + + + def + + + initCause(arg0: Throwable): Throwable + +

                                                                      + + Permalink + + +
                                                                      Definition Classes
                                                                      Throwable
                                                                      +
                                                                    18. + + +

                                                                      + + final + def + + + isInstanceOf[T0]: Boolean + +

                                                                      + + Permalink + + +
                                                                      Definition Classes
                                                                      Any
                                                                      +
                                                                    19. + + +

                                                                      + + + val + + + message: String + +

                                                                      + + Permalink + + + +
                                                                    20. + + +

                                                                      + + final + def + + + ne(arg0: AnyRef): Boolean + +

                                                                      + + Permalink + + +
                                                                      Definition Classes
                                                                      AnyRef
                                                                      +
                                                                    21. + + +

                                                                      + + final + def + + + notify(): Unit + +

                                                                      + + Permalink + + +
                                                                      Definition Classes
                                                                      AnyRef
                                                                      +
                                                                    22. + + +

                                                                      + + final + def + + + notifyAll(): Unit + +

                                                                      + + Permalink + + +
                                                                      Definition Classes
                                                                      AnyRef
                                                                      +
                                                                    23. + + +

                                                                      + + + def + + + printStackTrace(arg0: PrintWriter): Unit + +

                                                                      + + Permalink + + +
                                                                      Definition Classes
                                                                      Throwable
                                                                      +
                                                                    24. + + +

                                                                      + + + def + + + printStackTrace(arg0: PrintStream): Unit + +

                                                                      + + Permalink + + +
                                                                      Definition Classes
                                                                      Throwable
                                                                      +
                                                                    25. + + +

                                                                      + + + def + + + printStackTrace(): Unit + +

                                                                      + + Permalink + + +
                                                                      Definition Classes
                                                                      Throwable
                                                                      +
                                                                    26. + + +

                                                                      + + + def + + + setStackTrace(arg0: Array[StackTraceElement]): Unit + +

                                                                      + + Permalink + + +
                                                                      Definition Classes
                                                                      Throwable
                                                                      +
                                                                    27. + + +

                                                                      + + final + def + + + synchronized[T0](arg0: ⇒ T0): T0 + +

                                                                      + + Permalink + + +
                                                                      Definition Classes
                                                                      AnyRef
                                                                      +
                                                                    28. + + +

                                                                      + + + def + + + toString(): String + +

                                                                      + + Permalink + + +
                                                                      Definition Classes
                                                                      Throwable → AnyRef → Any
                                                                      +
                                                                    29. + + +

                                                                      + + final + def + + + wait(): Unit + +

                                                                      + + Permalink + + +
                                                                      Definition Classes
                                                                      AnyRef
                                                                      Annotations
                                                                      + @throws( + + ... + ) + +
                                                                      +
                                                                    30. + + +

                                                                      + + final + def + + + wait(arg0: Long, arg1: Int): Unit + +

                                                                      + + Permalink + + +
                                                                      Definition Classes
                                                                      AnyRef
                                                                      Annotations
                                                                      + @throws( + + ... + ) + +
                                                                      +
                                                                    31. + + +

                                                                      + + final + def + + + wait(arg0: Long): Unit + +

                                                                      + + Permalink + + +
                                                                      Definition Classes
                                                                      AnyRef
                                                                      Annotations
                                                                      + @throws( + + ... + ) + +
                                                                      +
                                                                    +
                                                                    + + + + +
                                                                    + +
                                                                    +
                                                                    +

                                                                    Inherited from Serializable

                                                                    +
                                                                    +

                                                                    Inherited from Product

                                                                    +
                                                                    +

                                                                    Inherited from Equals

                                                                    +
                                                                    +

                                                                    Inherited from Exception

                                                                    +
                                                                    +

                                                                    Inherited from Throwable

                                                                    +
                                                                    +

                                                                    Inherited from Serializable

                                                                    +
                                                                    +

                                                                    Inherited from AnyRef

                                                                    +
                                                                    +

                                                                    Inherited from Any

                                                                    +
                                                                    + +
                                                                    + +
                                                                    +
                                                                    +

                                                                    Ungrouped

                                                                    + +
                                                                    +
                                                                    + +
                                                                    + +
                                                                    + + + + + + diff --git a/manual1903/api_reference/didentification/scaladocs/ksb/csle/didentification/exceptions/DDIFileIOException.html b/manual1903/api_reference/didentification/scaladocs/ksb/csle/didentification/exceptions/DDIFileIOException.html new file mode 100644 index 0000000000000000000000000000000000000000..0c88e01cb73bc9fd6e08509d709fc3cfc54e7b88 --- /dev/null +++ b/manual1903/api_reference/didentification/scaladocs/ksb/csle/didentification/exceptions/DDIFileIOException.html @@ -0,0 +1,720 @@ + + + + DDIFileIOException - KSB DEIDENTIFICATION Scala App Project 1.0-SNAPSHOT API - ksb.csle.didentification.exceptions.DDIFileIOException + + + + + + + + + + + + + + + +
                                                                    + Class +

                                                                    ksb.csle.didentification.exceptions

                                                                    +

                                                                    DDIFileIOException

                                                                    Related Doc: + package exceptions +

                                                                    + + Permalink + + +
                                                                    + +

                                                                    + + + case class + + + DDIFileIOException(message: String = "", cause: Throwable = None.orNull) extends IOException with Product with Serializable + +

                                                                    + +
                                                                    + Linear Supertypes +
                                                                    Serializable, Product, Equals, IOException, Exception, Throwable, Serializable, AnyRef, Any
                                                                    +
                                                                    + + +
                                                                    +
                                                                    +
                                                                    + Ordering +
                                                                      + +
                                                                    1. Alphabetic
                                                                    2. +
                                                                    3. By Inheritance
                                                                    4. +
                                                                    +
                                                                    +
                                                                    + Inherited
                                                                    +
                                                                    +
                                                                      +
                                                                    1. DDIFileIOException
                                                                    2. Serializable
                                                                    3. Product
                                                                    4. Equals
                                                                    5. IOException
                                                                    6. Exception
                                                                    7. Throwable
                                                                    8. Serializable
                                                                    9. AnyRef
                                                                    10. Any
                                                                    11. +
                                                                    +
                                                                    + +
                                                                      +
                                                                    1. Hide All
                                                                    2. +
                                                                    3. Show All
                                                                    4. +
                                                                    +
                                                                    +
                                                                    + Visibility +
                                                                    1. Public
                                                                    2. All
                                                                    +
                                                                    +
                                                                    + +
                                                                    +
                                                                    +
                                                                    +

                                                                    Instance Constructors

                                                                    +
                                                                    1. + + +

                                                                      + + + new + + + DDIFileIOException(message: String = "", cause: Throwable = None.orNull) + +

                                                                      + + Permalink + + + +
                                                                    +
                                                                    + + + + + +
                                                                    +

                                                                    Value Members

                                                                    +
                                                                    1. + + +

                                                                      + + final + def + + + !=(arg0: Any): Boolean + +

                                                                      + + Permalink + + +
                                                                      Definition Classes
                                                                      AnyRef → Any
                                                                      +
                                                                    2. + + +

                                                                      + + final + def + + + ##(): Int + +

                                                                      + + Permalink + + +
                                                                      Definition Classes
                                                                      AnyRef → Any
                                                                      +
                                                                    3. + + +

                                                                      + + final + def + + + ==(arg0: Any): Boolean + +

                                                                      + + Permalink + + +
                                                                      Definition Classes
                                                                      AnyRef → Any
                                                                      +
                                                                    4. + + +

                                                                      + + final + def + + + addSuppressed(arg0: Throwable): Unit + +

                                                                      + + Permalink + + +
                                                                      Definition Classes
                                                                      Throwable
                                                                      +
                                                                    5. + + +

                                                                      + + final + def + + + asInstanceOf[T0]: T0 + +

                                                                      + + Permalink + + +
                                                                      Definition Classes
                                                                      Any
                                                                      +
                                                                    6. + + +

                                                                      + + + val + + + cause: Throwable + +

                                                                      + + Permalink + + + +
                                                                    7. + + +

                                                                      + + + def + + + clone(): AnyRef + +

                                                                      + + Permalink + + +
                                                                      Attributes
                                                                      protected[java.lang]
                                                                      Definition Classes
                                                                      AnyRef
                                                                      Annotations
                                                                      + @throws( + + ... + ) + +
                                                                      +
                                                                    8. + + +

                                                                      + + final + def + + + eq(arg0: AnyRef): Boolean + +

                                                                      + + Permalink + + +
                                                                      Definition Classes
                                                                      AnyRef
                                                                      +
                                                                    9. + + +

                                                                      + + + def + + + fillInStackTrace(): Throwable + +

                                                                      + + Permalink + + +
                                                                      Definition Classes
                                                                      Throwable
                                                                      +
                                                                    10. + + +

                                                                      + + + def + + + finalize(): Unit + +

                                                                      + + Permalink + + +
                                                                      Attributes
                                                                      protected[java.lang]
                                                                      Definition Classes
                                                                      AnyRef
                                                                      Annotations
                                                                      + @throws( + + classOf[java.lang.Throwable] + ) + +
                                                                      +
                                                                    11. + + +

                                                                      + + + def + + + getCause(): Throwable + +

                                                                      + + Permalink + + +
                                                                      Definition Classes
                                                                      Throwable
                                                                      +
                                                                    12. + + +

                                                                      + + final + def + + + getClass(): Class[_] + +

                                                                      + + Permalink + + +
                                                                      Definition Classes
                                                                      AnyRef → Any
                                                                      +
                                                                    13. + + +

                                                                      + + + def + + + getLocalizedMessage(): String + +

                                                                      + + Permalink + + +
                                                                      Definition Classes
                                                                      Throwable
                                                                      +
                                                                    14. + + +

                                                                      + + + def + + + getMessage(): String + +

                                                                      + + Permalink + + +
                                                                      Definition Classes
                                                                      Throwable
                                                                      +
                                                                    15. + + +

                                                                      + + + def + + + getStackTrace(): Array[StackTraceElement] + +

                                                                      + + Permalink + + +
                                                                      Definition Classes
                                                                      Throwable
                                                                      +
                                                                    16. + + +

                                                                      + + final + def + + + getSuppressed(): Array[Throwable] + +

                                                                      + + Permalink + + +
                                                                      Definition Classes
                                                                      Throwable
                                                                      +
                                                                    17. + + +

                                                                      + + + def + + + initCause(arg0: Throwable): Throwable + +

                                                                      + + Permalink + + +
                                                                      Definition Classes
                                                                      Throwable
                                                                      +
                                                                    18. + + +

                                                                      + + final + def + + + isInstanceOf[T0]: Boolean + +

                                                                      + + Permalink + + +
                                                                      Definition Classes
                                                                      Any
                                                                      +
                                                                    19. + + +

                                                                      + + + val + + + message: String + +

                                                                      + + Permalink + + + +
                                                                    20. + + +

                                                                      + + final + def + + + ne(arg0: AnyRef): Boolean + +

                                                                      + + Permalink + + +
                                                                      Definition Classes
                                                                      AnyRef
                                                                      +
                                                                    21. + + +

                                                                      + + final + def + + + notify(): Unit + +

                                                                      + + Permalink + + +
                                                                      Definition Classes
                                                                      AnyRef
                                                                      +
                                                                    22. + + +

                                                                      + + final + def + + + notifyAll(): Unit + +

                                                                      + + Permalink + + +
                                                                      Definition Classes
                                                                      AnyRef
                                                                      +
                                                                    23. + + +

                                                                      + + + def + + + printStackTrace(arg0: PrintWriter): Unit + +

                                                                      + + Permalink + + +
                                                                      Definition Classes
                                                                      Throwable
                                                                      +
                                                                    24. + + +

                                                                      + + + def + + + printStackTrace(arg0: PrintStream): Unit + +

                                                                      + + Permalink + + +
                                                                      Definition Classes
                                                                      Throwable
                                                                      +
                                                                    25. + + +

                                                                      + + + def + + + printStackTrace(): Unit + +

                                                                      + + Permalink + + +
                                                                      Definition Classes
                                                                      Throwable
                                                                      +
                                                                    26. + + +

                                                                      + + + def + + + setStackTrace(arg0: Array[StackTraceElement]): Unit + +

                                                                      + + Permalink + + +
                                                                      Definition Classes
                                                                      Throwable
                                                                      +
                                                                    27. + + +

                                                                      + + final + def + + + synchronized[T0](arg0: ⇒ T0): T0 + +

                                                                      + + Permalink + + +
                                                                      Definition Classes
                                                                      AnyRef
                                                                      +
                                                                    28. + + +

                                                                      + + + def + + + toString(): String + +

                                                                      + + Permalink + + +
                                                                      Definition Classes
                                                                      Throwable → AnyRef → Any
                                                                      +
                                                                    29. + + +

                                                                      + + final + def + + + wait(): Unit + +

                                                                      + + Permalink + + +
                                                                      Definition Classes
                                                                      AnyRef
                                                                      Annotations
                                                                      + @throws( + + ... + ) + +
                                                                      +
                                                                    30. + + +

                                                                      + + final + def + + + wait(arg0: Long, arg1: Int): Unit + +

                                                                      + + Permalink + + +
                                                                      Definition Classes
                                                                      AnyRef
                                                                      Annotations
                                                                      + @throws( + + ... + ) + +
                                                                      +
                                                                    31. + + +

                                                                      + + final + def + + + wait(arg0: Long): Unit + +

                                                                      + + Permalink + + +
                                                                      Definition Classes
                                                                      AnyRef
                                                                      Annotations
                                                                      + @throws( + + ... + ) + +
                                                                      +
                                                                    +
                                                                    + + + + +
                                                                    + +
                                                                    +
                                                                    +

                                                                    Inherited from Serializable

                                                                    +
                                                                    +

                                                                    Inherited from Product

                                                                    +
                                                                    +

                                                                    Inherited from Equals

                                                                    +
                                                                    +

                                                                    Inherited from IOException

                                                                    +
                                                                    +

                                                                    Inherited from Exception

                                                                    +
                                                                    +

                                                                    Inherited from Throwable

                                                                    +
                                                                    +

                                                                    Inherited from Serializable

                                                                    +
                                                                    +

                                                                    Inherited from AnyRef

                                                                    +
                                                                    +

                                                                    Inherited from Any

                                                                    +
                                                                    + +
                                                                    + +
                                                                    +
                                                                    +

                                                                    Ungrouped

                                                                    + +
                                                                    +
                                                                    + +
                                                                    + +
                                                                    + + + + + + diff --git a/manual1903/api_reference/didentification/scaladocs/ksb/csle/didentification/exceptions/DDIFileNotFoundException.html b/manual1903/api_reference/didentification/scaladocs/ksb/csle/didentification/exceptions/DDIFileNotFoundException.html new file mode 100644 index 0000000000000000000000000000000000000000..1fe37e96a3bd08f4b6e36715a63005f8d846be45 --- /dev/null +++ b/manual1903/api_reference/didentification/scaladocs/ksb/csle/didentification/exceptions/DDIFileNotFoundException.html @@ -0,0 +1,722 @@ + + + + DDIFileNotFoundException - KSB DEIDENTIFICATION Scala App Project 1.0-SNAPSHOT API - ksb.csle.didentification.exceptions.DDIFileNotFoundException + + + + + + + + + + + + + + + +
                                                                    + Class +

                                                                    ksb.csle.didentification.exceptions

                                                                    +

                                                                    DDIFileNotFoundException

                                                                    Related Doc: + package exceptions +

                                                                    + + Permalink + + +
                                                                    + +

                                                                    + + + case class + + + DDIFileNotFoundException(message: String = "", cause: Throwable = None.orNull) extends FileNotFoundException with Product with Serializable + +

                                                                    + +
                                                                    + Linear Supertypes +
                                                                    Serializable, Product, Equals, FileNotFoundException, IOException, Exception, Throwable, Serializable, AnyRef, Any
                                                                    +
                                                                    + + +
                                                                    +
                                                                    +
                                                                    + Ordering +
                                                                      + +
                                                                    1. Alphabetic
                                                                    2. +
                                                                    3. By Inheritance
                                                                    4. +
                                                                    +
                                                                    +
                                                                    + Inherited
                                                                    +
                                                                    +
                                                                      +
                                                                    1. DDIFileNotFoundException
                                                                    2. Serializable
                                                                    3. Product
                                                                    4. Equals
                                                                    5. FileNotFoundException
                                                                    6. IOException
                                                                    7. Exception
                                                                    8. Throwable
                                                                    9. Serializable
                                                                    10. AnyRef
                                                                    11. Any
                                                                    12. +
                                                                    +
                                                                    + +
                                                                      +
                                                                    1. Hide All
                                                                    2. +
                                                                    3. Show All
                                                                    4. +
                                                                    +
                                                                    +
                                                                    + Visibility +
                                                                    1. Public
                                                                    2. All
                                                                    +
                                                                    +
                                                                    + +
                                                                    +
                                                                    +
                                                                    +

                                                                    Instance Constructors

                                                                    +
                                                                    1. + + +

                                                                      + + + new + + + DDIFileNotFoundException(message: String = "", cause: Throwable = None.orNull) + +

                                                                      + + Permalink + + + +
                                                                    +
                                                                    + + + + + +
                                                                    +

                                                                    Value Members

                                                                    +
                                                                    1. + + +

                                                                      + + final + def + + + !=(arg0: Any): Boolean + +

                                                                      + + Permalink + + +
                                                                      Definition Classes
                                                                      AnyRef → Any
                                                                      +
                                                                    2. + + +

                                                                      + + final + def + + + ##(): Int + +

                                                                      + + Permalink + + +
                                                                      Definition Classes
                                                                      AnyRef → Any
                                                                      +
                                                                    3. + + +

                                                                      + + final + def + + + ==(arg0: Any): Boolean + +

                                                                      + + Permalink + + +
                                                                      Definition Classes
                                                                      AnyRef → Any
                                                                      +
                                                                    4. + + +

                                                                      + + final + def + + + addSuppressed(arg0: Throwable): Unit + +

                                                                      + + Permalink + + +
                                                                      Definition Classes
                                                                      Throwable
                                                                      +
                                                                    5. + + +

                                                                      + + final + def + + + asInstanceOf[T0]: T0 + +

                                                                      + + Permalink + + +
                                                                      Definition Classes
                                                                      Any
                                                                      +
                                                                    6. + + +

                                                                      + + + val + + + cause: Throwable + +

                                                                      + + Permalink + + + +
                                                                    7. + + +

                                                                      + + + def + + + clone(): AnyRef + +

                                                                      + + Permalink + + +
                                                                      Attributes
                                                                      protected[java.lang]
                                                                      Definition Classes
                                                                      AnyRef
                                                                      Annotations
                                                                      + @throws( + + ... + ) + +
                                                                      +
                                                                    8. + + +

                                                                      + + final + def + + + eq(arg0: AnyRef): Boolean + +

                                                                      + + Permalink + + +
                                                                      Definition Classes
                                                                      AnyRef
                                                                      +
                                                                    9. + + +

                                                                      + + + def + + + fillInStackTrace(): Throwable + +

                                                                      + + Permalink + + +
                                                                      Definition Classes
                                                                      Throwable
                                                                      +
                                                                    10. + + +

                                                                      + + + def + + + finalize(): Unit + +

                                                                      + + Permalink + + +
                                                                      Attributes
                                                                      protected[java.lang]
                                                                      Definition Classes
                                                                      AnyRef
                                                                      Annotations
                                                                      + @throws( + + classOf[java.lang.Throwable] + ) + +
                                                                      +
                                                                    11. + + +

                                                                      + + + def + + + getCause(): Throwable + +

                                                                      + + Permalink + + +
                                                                      Definition Classes
                                                                      Throwable
                                                                      +
                                                                    12. + + +

                                                                      + + final + def + + + getClass(): Class[_] + +

                                                                      + + Permalink + + +
                                                                      Definition Classes
                                                                      AnyRef → Any
                                                                      +
                                                                    13. + + +

                                                                      + + + def + + + getLocalizedMessage(): String + +

                                                                      + + Permalink + + +
                                                                      Definition Classes
                                                                      Throwable
                                                                      +
                                                                    14. + + +

                                                                      + + + def + + + getMessage(): String + +

                                                                      + + Permalink + + +
                                                                      Definition Classes
                                                                      Throwable
                                                                      +
                                                                    15. + + +

                                                                      + + + def + + + getStackTrace(): Array[StackTraceElement] + +

                                                                      + + Permalink + + +
                                                                      Definition Classes
                                                                      Throwable
                                                                      +
                                                                    16. + + +

                                                                      + + final + def + + + getSuppressed(): Array[Throwable] + +

                                                                      + + Permalink + + +
                                                                      Definition Classes
                                                                      Throwable
                                                                      +
                                                                    17. + + +

                                                                      + + + def + + + initCause(arg0: Throwable): Throwable + +

                                                                      + + Permalink + + +
                                                                      Definition Classes
                                                                      Throwable
                                                                      +
                                                                    18. + + +

                                                                      + + final + def + + + isInstanceOf[T0]: Boolean + +

                                                                      + + Permalink + + +
                                                                      Definition Classes
                                                                      Any
                                                                      +
                                                                    19. + + +

                                                                      + + + val + + + message: String + +

                                                                      + + Permalink + + + +
                                                                    20. + + +

                                                                      + + final + def + + + ne(arg0: AnyRef): Boolean + +

                                                                      + + Permalink + + +
                                                                      Definition Classes
                                                                      AnyRef
                                                                      +
                                                                    21. + + +

                                                                      + + final + def + + + notify(): Unit + +

                                                                      + + Permalink + + +
                                                                      Definition Classes
                                                                      AnyRef
                                                                      +
                                                                    22. + + +

                                                                      + + final + def + + + notifyAll(): Unit + +

                                                                      + + Permalink + + +
                                                                      Definition Classes
                                                                      AnyRef
                                                                      +
                                                                    23. + + +

                                                                      + + + def + + + printStackTrace(arg0: PrintWriter): Unit + +

                                                                      + + Permalink + + +
                                                                      Definition Classes
                                                                      Throwable
                                                                      +
                                                                    24. + + +

                                                                      + + + def + + + printStackTrace(arg0: PrintStream): Unit + +

                                                                      + + Permalink + + +
                                                                      Definition Classes
                                                                      Throwable
                                                                      +
                                                                    25. + + +

                                                                      + + + def + + + printStackTrace(): Unit + +

                                                                      + + Permalink + + +
                                                                      Definition Classes
                                                                      Throwable
                                                                      +
                                                                    26. + + +

                                                                      + + + def + + + setStackTrace(arg0: Array[StackTraceElement]): Unit + +

                                                                      + + Permalink + + +
                                                                      Definition Classes
                                                                      Throwable
                                                                      +
                                                                    27. + + +

                                                                      + + final + def + + + synchronized[T0](arg0: ⇒ T0): T0 + +

                                                                      + + Permalink + + +
                                                                      Definition Classes
                                                                      AnyRef
                                                                      +
                                                                    28. + + +

                                                                      + + + def + + + toString(): String + +

                                                                      + + Permalink + + +
                                                                      Definition Classes
                                                                      Throwable → AnyRef → Any
                                                                      +
                                                                    29. + + +

                                                                      + + final + def + + + wait(): Unit + +

                                                                      + + Permalink + + +
                                                                      Definition Classes
                                                                      AnyRef
                                                                      Annotations
                                                                      + @throws( + + ... + ) + +
                                                                      +
                                                                    30. + + +

                                                                      + + final + def + + + wait(arg0: Long, arg1: Int): Unit + +

                                                                      + + Permalink + + +
                                                                      Definition Classes
                                                                      AnyRef
                                                                      Annotations
                                                                      + @throws( + + ... + ) + +
                                                                      +
                                                                    31. + + +

                                                                      + + final + def + + + wait(arg0: Long): Unit + +

                                                                      + + Permalink + + +
                                                                      Definition Classes
                                                                      AnyRef
                                                                      Annotations
                                                                      + @throws( + + ... + ) + +
                                                                      +
                                                                    +
                                                                    + + + + +
                                                                    + +
                                                                    +
                                                                    +

                                                                    Inherited from Serializable

                                                                    +
                                                                    +

                                                                    Inherited from Product

                                                                    +
                                                                    +

                                                                    Inherited from Equals

                                                                    +
                                                                    +

                                                                    Inherited from FileNotFoundException

                                                                    +
                                                                    +

                                                                    Inherited from IOException

                                                                    +
                                                                    +

                                                                    Inherited from Exception

                                                                    +
                                                                    +

                                                                    Inherited from Throwable

                                                                    +
                                                                    +

                                                                    Inherited from Serializable

                                                                    +
                                                                    +

                                                                    Inherited from AnyRef

                                                                    +
                                                                    +

                                                                    Inherited from Any

                                                                    +
                                                                    + +
                                                                    + +
                                                                    +
                                                                    +

                                                                    Ungrouped

                                                                    + +
                                                                    +
                                                                    + +
                                                                    + +
                                                                    + + + + + + diff --git a/manual1903/api_reference/didentification/scaladocs/ksb/csle/didentification/exceptions/DDIIllegalArgumentException.html b/manual1903/api_reference/didentification/scaladocs/ksb/csle/didentification/exceptions/DDIIllegalArgumentException.html new file mode 100644 index 0000000000000000000000000000000000000000..6692e7ae4d5cbee608b9088f0385d64a70a365fc --- /dev/null +++ b/manual1903/api_reference/didentification/scaladocs/ksb/csle/didentification/exceptions/DDIIllegalArgumentException.html @@ -0,0 +1,722 @@ + + + + DDIIllegalArgumentException - KSB DEIDENTIFICATION Scala App Project 1.0-SNAPSHOT API - ksb.csle.didentification.exceptions.DDIIllegalArgumentException + + + + + + + + + + + + + + + +
                                                                    + Class +

                                                                    ksb.csle.didentification.exceptions

                                                                    +

                                                                    DDIIllegalArgumentException

                                                                    Related Doc: + package exceptions +

                                                                    + + Permalink + + +
                                                                    + +

                                                                    + + + case class + + + DDIIllegalArgumentException(message: String = "", cause: Throwable = None.orNull) extends IllegalArgumentException with Product with Serializable + +

                                                                    + +
                                                                    + Linear Supertypes +
                                                                    Serializable, Product, Equals, IllegalArgumentException, RuntimeException, Exception, Throwable, Serializable, AnyRef, Any
                                                                    +
                                                                    + + +
                                                                    +
                                                                    +
                                                                    + Ordering +
                                                                      + +
                                                                    1. Alphabetic
                                                                    2. +
                                                                    3. By Inheritance
                                                                    4. +
                                                                    +
                                                                    +
                                                                    + Inherited
                                                                    +
                                                                    +
                                                                      +
                                                                    1. DDIIllegalArgumentException
                                                                    2. Serializable
                                                                    3. Product
                                                                    4. Equals
                                                                    5. IllegalArgumentException
                                                                    6. RuntimeException
                                                                    7. Exception
                                                                    8. Throwable
                                                                    9. Serializable
                                                                    10. AnyRef
                                                                    11. Any
                                                                    12. +
                                                                    +
                                                                    + +
                                                                      +
                                                                    1. Hide All
                                                                    2. +
                                                                    3. Show All
                                                                    4. +
                                                                    +
                                                                    +
                                                                    + Visibility +
                                                                    1. Public
                                                                    2. All
                                                                    +
                                                                    +
                                                                    + +
                                                                    +
                                                                    +
                                                                    +

                                                                    Instance Constructors

                                                                    +
                                                                    1. + + +

                                                                      + + + new + + + DDIIllegalArgumentException(message: String = "", cause: Throwable = None.orNull) + +

                                                                      + + Permalink + + + +
                                                                    +
                                                                    + + + + + +
                                                                    +

                                                                    Value Members

                                                                    +
                                                                    1. + + +

                                                                      + + final + def + + + !=(arg0: Any): Boolean + +

                                                                      + + Permalink + + +
                                                                      Definition Classes
                                                                      AnyRef → Any
                                                                      +
                                                                    2. + + +

                                                                      + + final + def + + + ##(): Int + +

                                                                      + + Permalink + + +
                                                                      Definition Classes
                                                                      AnyRef → Any
                                                                      +
                                                                    3. + + +

                                                                      + + final + def + + + ==(arg0: Any): Boolean + +

                                                                      + + Permalink + + +
                                                                      Definition Classes
                                                                      AnyRef → Any
                                                                      +
                                                                    4. + + +

                                                                      + + final + def + + + addSuppressed(arg0: Throwable): Unit + +

                                                                      + + Permalink + + +
                                                                      Definition Classes
                                                                      Throwable
                                                                      +
                                                                    5. + + +

                                                                      + + final + def + + + asInstanceOf[T0]: T0 + +

                                                                      + + Permalink + + +
                                                                      Definition Classes
                                                                      Any
                                                                      +
                                                                    6. + + +

                                                                      + + + val + + + cause: Throwable + +

                                                                      + + Permalink + + + +
                                                                    7. + + +

                                                                      + + + def + + + clone(): AnyRef + +

                                                                      + + Permalink + + +
                                                                      Attributes
                                                                      protected[java.lang]
                                                                      Definition Classes
                                                                      AnyRef
                                                                      Annotations
                                                                      + @throws( + + ... + ) + +
                                                                      +
                                                                    8. + + +

                                                                      + + final + def + + + eq(arg0: AnyRef): Boolean + +

                                                                      + + Permalink + + +
                                                                      Definition Classes
                                                                      AnyRef
                                                                      +
                                                                    9. + + +

                                                                      + + + def + + + fillInStackTrace(): Throwable + +

                                                                      + + Permalink + + +
                                                                      Definition Classes
                                                                      Throwable
                                                                      +
                                                                    10. + + +

                                                                      + + + def + + + finalize(): Unit + +

                                                                      + + Permalink + + +
                                                                      Attributes
                                                                      protected[java.lang]
                                                                      Definition Classes
                                                                      AnyRef
                                                                      Annotations
                                                                      + @throws( + + classOf[java.lang.Throwable] + ) + +
                                                                      +
                                                                    11. + + +

                                                                      + + + def + + + getCause(): Throwable + +

                                                                      + + Permalink + + +
                                                                      Definition Classes
                                                                      Throwable
                                                                      +
                                                                    12. + + +

                                                                      + + final + def + + + getClass(): Class[_] + +

                                                                      + + Permalink + + +
                                                                      Definition Classes
                                                                      AnyRef → Any
                                                                      +
                                                                    13. + + +

                                                                      + + + def + + + getLocalizedMessage(): String + +

                                                                      + + Permalink + + +
                                                                      Definition Classes
                                                                      Throwable
                                                                      +
                                                                    14. + + +

                                                                      + + + def + + + getMessage(): String + +

                                                                      + + Permalink + + +
                                                                      Definition Classes
                                                                      Throwable
                                                                      +
                                                                    15. + + +

                                                                      + + + def + + + getStackTrace(): Array[StackTraceElement] + +

                                                                      + + Permalink + + +
                                                                      Definition Classes
                                                                      Throwable
                                                                      +
                                                                    16. + + +

                                                                      + + final + def + + + getSuppressed(): Array[Throwable] + +

                                                                      + + Permalink + + +
                                                                      Definition Classes
                                                                      Throwable
                                                                      +
                                                                    17. + + +

                                                                      + + + def + + + initCause(arg0: Throwable): Throwable + +

                                                                      + + Permalink + + +
                                                                      Definition Classes
                                                                      Throwable
                                                                      +
                                                                    18. + + +

                                                                      + + final + def + + + isInstanceOf[T0]: Boolean + +

                                                                      + + Permalink + + +
                                                                      Definition Classes
                                                                      Any
                                                                      +
                                                                    19. + + +

                                                                      + + + val + + + message: String + +

                                                                      + + Permalink + + + +
                                                                    20. + + +

                                                                      + + final + def + + + ne(arg0: AnyRef): Boolean + +

                                                                      + + Permalink + + +
                                                                      Definition Classes
                                                                      AnyRef
                                                                      +
                                                                    21. + + +

                                                                      + + final + def + + + notify(): Unit + +

                                                                      + + Permalink + + +
                                                                      Definition Classes
                                                                      AnyRef
                                                                      +
                                                                    22. + + +

                                                                      + + final + def + + + notifyAll(): Unit + +

                                                                      + + Permalink + + +
                                                                      Definition Classes
                                                                      AnyRef
                                                                      +
                                                                    23. + + +

                                                                      + + + def + + + printStackTrace(arg0: PrintWriter): Unit + +

                                                                      + + Permalink + + +
                                                                      Definition Classes
                                                                      Throwable
                                                                      +
                                                                    24. + + +

                                                                      + + + def + + + printStackTrace(arg0: PrintStream): Unit + +

                                                                      + + Permalink + + +
                                                                      Definition Classes
                                                                      Throwable
                                                                      +
                                                                    25. + + +

                                                                      + + + def + + + printStackTrace(): Unit + +

                                                                      + + Permalink + + +
                                                                      Definition Classes
                                                                      Throwable
                                                                      +
                                                                    26. + + +

                                                                      + + + def + + + setStackTrace(arg0: Array[StackTraceElement]): Unit + +

                                                                      + + Permalink + + +
                                                                      Definition Classes
                                                                      Throwable
                                                                      +
                                                                    27. + + +

                                                                      + + final + def + + + synchronized[T0](arg0: ⇒ T0): T0 + +

                                                                      + + Permalink + + +
                                                                      Definition Classes
                                                                      AnyRef
                                                                      +
                                                                    28. + + +

                                                                      + + + def + + + toString(): String + +

                                                                      + + Permalink + + +
                                                                      Definition Classes
                                                                      Throwable → AnyRef → Any
                                                                      +
                                                                    29. + + +

                                                                      + + final + def + + + wait(): Unit + +

                                                                      + + Permalink + + +
                                                                      Definition Classes
                                                                      AnyRef
                                                                      Annotations
                                                                      + @throws( + + ... + ) + +
                                                                      +
                                                                    30. + + +

                                                                      + + final + def + + + wait(arg0: Long, arg1: Int): Unit + +

                                                                      + + Permalink + + +
                                                                      Definition Classes
                                                                      AnyRef
                                                                      Annotations
                                                                      + @throws( + + ... + ) + +
                                                                      +
                                                                    31. + + +

                                                                      + + final + def + + + wait(arg0: Long): Unit + +

                                                                      + + Permalink + + +
                                                                      Definition Classes
                                                                      AnyRef
                                                                      Annotations
                                                                      + @throws( + + ... + ) + +
                                                                      +
                                                                    +
                                                                    + + + + +
                                                                    + +
                                                                    +
                                                                    +

                                                                    Inherited from Serializable

                                                                    +
                                                                    +

                                                                    Inherited from Product

                                                                    +
                                                                    +

                                                                    Inherited from Equals

                                                                    +
                                                                    +

                                                                    Inherited from IllegalArgumentException

                                                                    +
                                                                    +

                                                                    Inherited from RuntimeException

                                                                    +
                                                                    +

                                                                    Inherited from Exception

                                                                    +
                                                                    +

                                                                    Inherited from Throwable

                                                                    +
                                                                    +

                                                                    Inherited from Serializable

                                                                    +
                                                                    +

                                                                    Inherited from AnyRef

                                                                    +
                                                                    +

                                                                    Inherited from Any

                                                                    +
                                                                    + +
                                                                    + +
                                                                    +
                                                                    +

                                                                    Ungrouped

                                                                    + +
                                                                    +
                                                                    + +
                                                                    + +
                                                                    + + + + + + diff --git a/manual1903/api_reference/didentification/scaladocs/ksb/csle/didentification/exceptions/DDITypeMismatchException.html b/manual1903/api_reference/didentification/scaladocs/ksb/csle/didentification/exceptions/DDITypeMismatchException.html new file mode 100644 index 0000000000000000000000000000000000000000..f28f768db311faf54469645444d515688bdc4758 --- /dev/null +++ b/manual1903/api_reference/didentification/scaladocs/ksb/csle/didentification/exceptions/DDITypeMismatchException.html @@ -0,0 +1,720 @@ + + + + DDITypeMismatchException - KSB DEIDENTIFICATION Scala App Project 1.0-SNAPSHOT API - ksb.csle.didentification.exceptions.DDITypeMismatchException + + + + + + + + + + + + + + + +
                                                                    + Class +

                                                                    ksb.csle.didentification.exceptions

                                                                    +

                                                                    DDITypeMismatchException

                                                                    Related Doc: + package exceptions +

                                                                    + + Permalink + + +
                                                                    + +

                                                                    + + + case class + + + DDITypeMismatchException(message: String = "", cause: Throwable = None.orNull) extends IOException with Product with Serializable + +

                                                                    + +
                                                                    + Linear Supertypes +
                                                                    Serializable, Product, Equals, IOException, Exception, Throwable, Serializable, AnyRef, Any
                                                                    +
                                                                    + + +
                                                                    +
                                                                    +
                                                                    + Ordering +
                                                                      + +
                                                                    1. Alphabetic
                                                                    2. +
                                                                    3. By Inheritance
                                                                    4. +
                                                                    +
                                                                    +
                                                                    + Inherited
                                                                    +
                                                                    +
                                                                      +
                                                                    1. DDITypeMismatchException
                                                                    2. Serializable
                                                                    3. Product
                                                                    4. Equals
                                                                    5. IOException
                                                                    6. Exception
                                                                    7. Throwable
                                                                    8. Serializable
                                                                    9. AnyRef
                                                                    10. Any
                                                                    11. +
                                                                    +
                                                                    + +
                                                                      +
                                                                    1. Hide All
                                                                    2. +
                                                                    3. Show All
                                                                    4. +
                                                                    +
                                                                    +
                                                                    + Visibility +
                                                                    1. Public
                                                                    2. All
                                                                    +
                                                                    +
                                                                    + +
                                                                    +
                                                                    +
                                                                    +

                                                                    Instance Constructors

                                                                    +
                                                                    1. + + +

                                                                      + + + new + + + DDITypeMismatchException(message: String = "", cause: Throwable = None.orNull) + +

                                                                      + + Permalink + + + +
                                                                    +
                                                                    + + + + + +
                                                                    +

                                                                    Value Members

                                                                    +
                                                                    1. + + +

                                                                      + + final + def + + + !=(arg0: Any): Boolean + +

                                                                      + + Permalink + + +
                                                                      Definition Classes
                                                                      AnyRef → Any
                                                                      +
                                                                    2. + + +

                                                                      + + final + def + + + ##(): Int + +

                                                                      + + Permalink + + +
                                                                      Definition Classes
                                                                      AnyRef → Any
                                                                      +
                                                                    3. + + +

                                                                      + + final + def + + + ==(arg0: Any): Boolean + +

                                                                      + + Permalink + + +
                                                                      Definition Classes
                                                                      AnyRef → Any
                                                                      +
                                                                    4. + + +

                                                                      + + final + def + + + addSuppressed(arg0: Throwable): Unit + +

                                                                      + + Permalink + + +
                                                                      Definition Classes
                                                                      Throwable
                                                                      +
                                                                    5. + + +

                                                                      + + final + def + + + asInstanceOf[T0]: T0 + +

                                                                      + + Permalink + + +
                                                                      Definition Classes
                                                                      Any
                                                                      +
                                                                    6. + + +

                                                                      + + + val + + + cause: Throwable + +

                                                                      + + Permalink + + + +
                                                                    7. + + +

                                                                      + + + def + + + clone(): AnyRef + +

                                                                      + + Permalink + + +
                                                                      Attributes
                                                                      protected[java.lang]
                                                                      Definition Classes
                                                                      AnyRef
                                                                      Annotations
                                                                      + @throws( + + ... + ) + +
                                                                      +
                                                                    8. + + +

                                                                      + + final + def + + + eq(arg0: AnyRef): Boolean + +

                                                                      + + Permalink + + +
                                                                      Definition Classes
                                                                      AnyRef
                                                                      +
                                                                    9. + + +

                                                                      + + + def + + + fillInStackTrace(): Throwable + +

                                                                      + + Permalink + + +
                                                                      Definition Classes
                                                                      Throwable
                                                                      +
                                                                    10. + + +

                                                                      + + + def + + + finalize(): Unit + +

                                                                      + + Permalink + + +
                                                                      Attributes
                                                                      protected[java.lang]
                                                                      Definition Classes
                                                                      AnyRef
                                                                      Annotations
                                                                      + @throws( + + classOf[java.lang.Throwable] + ) + +
                                                                      +
                                                                    11. + + +

                                                                      + + + def + + + getCause(): Throwable + +

                                                                      + + Permalink + + +
                                                                      Definition Classes
                                                                      Throwable
                                                                      +
                                                                    12. + + +

                                                                      + + final + def + + + getClass(): Class[_] + +

                                                                      + + Permalink + + +
                                                                      Definition Classes
                                                                      AnyRef → Any
                                                                      +
                                                                    13. + + +

                                                                      + + + def + + + getLocalizedMessage(): String + +

                                                                      + + Permalink + + +
                                                                      Definition Classes
                                                                      Throwable
                                                                      +
                                                                    14. + + +

                                                                      + + + def + + + getMessage(): String + +

                                                                      + + Permalink + + +
                                                                      Definition Classes
                                                                      Throwable
                                                                      +
                                                                    15. + + +

                                                                      + + + def + + + getStackTrace(): Array[StackTraceElement] + +

                                                                      + + Permalink + + +
                                                                      Definition Classes
                                                                      Throwable
                                                                      +
                                                                    16. + + +

                                                                      + + final + def + + + getSuppressed(): Array[Throwable] + +

                                                                      + + Permalink + + +
                                                                      Definition Classes
                                                                      Throwable
                                                                      +
                                                                    17. + + +

                                                                      + + + def + + + initCause(arg0: Throwable): Throwable + +

                                                                      + + Permalink + + +
                                                                      Definition Classes
                                                                      Throwable
                                                                      +
                                                                    18. + + +

                                                                      + + final + def + + + isInstanceOf[T0]: Boolean + +

                                                                      + + Permalink + + +
                                                                      Definition Classes
                                                                      Any
                                                                      +
                                                                    19. + + +

                                                                      + + + val + + + message: String + +

                                                                      + + Permalink + + + +
                                                                    20. + + +

                                                                      + + final + def + + + ne(arg0: AnyRef): Boolean + +

                                                                      + + Permalink + + +
                                                                      Definition Classes
                                                                      AnyRef
                                                                      +
                                                                    21. + + +

                                                                      + + final + def + + + notify(): Unit + +

                                                                      + + Permalink + + +
                                                                      Definition Classes
                                                                      AnyRef
                                                                      +
                                                                    22. + + +

                                                                      + + final + def + + + notifyAll(): Unit + +

                                                                      + + Permalink + + +
                                                                      Definition Classes
                                                                      AnyRef
                                                                      +
                                                                    23. + + +

                                                                      + + + def + + + printStackTrace(arg0: PrintWriter): Unit + +

                                                                      + + Permalink + + +
                                                                      Definition Classes
                                                                      Throwable
                                                                      +
                                                                    24. + + +

                                                                      + + + def + + + printStackTrace(arg0: PrintStream): Unit + +

                                                                      + + Permalink + + +
                                                                      Definition Classes
                                                                      Throwable
                                                                      +
                                                                    25. + + +

                                                                      + + + def + + + printStackTrace(): Unit + +

                                                                      + + Permalink + + +
                                                                      Definition Classes
                                                                      Throwable
                                                                      +
                                                                    26. + + +

                                                                      + + + def + + + setStackTrace(arg0: Array[StackTraceElement]): Unit + +

                                                                      + + Permalink + + +
                                                                      Definition Classes
                                                                      Throwable
                                                                      +
                                                                    27. + + +

                                                                      + + final + def + + + synchronized[T0](arg0: ⇒ T0): T0 + +

                                                                      + + Permalink + + +
                                                                      Definition Classes
                                                                      AnyRef
                                                                      +
                                                                    28. + + +

                                                                      + + + def + + + toString(): String + +

                                                                      + + Permalink + + +
                                                                      Definition Classes
                                                                      Throwable → AnyRef → Any
                                                                      +
                                                                    29. + + +

                                                                      + + final + def + + + wait(): Unit + +

                                                                      + + Permalink + + +
                                                                      Definition Classes
                                                                      AnyRef
                                                                      Annotations
                                                                      + @throws( + + ... + ) + +
                                                                      +
                                                                    30. + + +

                                                                      + + final + def + + + wait(arg0: Long, arg1: Int): Unit + +

                                                                      + + Permalink + + +
                                                                      Definition Classes
                                                                      AnyRef
                                                                      Annotations
                                                                      + @throws( + + ... + ) + +
                                                                      +
                                                                    31. + + +

                                                                      + + final + def + + + wait(arg0: Long): Unit + +

                                                                      + + Permalink + + +
                                                                      Definition Classes
                                                                      AnyRef
                                                                      Annotations
                                                                      + @throws( + + ... + ) + +
                                                                      +
                                                                    +
                                                                    + + + + +
                                                                    + +
                                                                    +
                                                                    +

                                                                    Inherited from Serializable

                                                                    +
                                                                    +

                                                                    Inherited from Product

                                                                    +
                                                                    +

                                                                    Inherited from Equals

                                                                    +
                                                                    +

                                                                    Inherited from IOException

                                                                    +
                                                                    +

                                                                    Inherited from Exception

                                                                    +
                                                                    +

                                                                    Inherited from Throwable

                                                                    +
                                                                    +

                                                                    Inherited from Serializable

                                                                    +
                                                                    +

                                                                    Inherited from AnyRef

                                                                    +
                                                                    +

                                                                    Inherited from Any

                                                                    +
                                                                    + +
                                                                    + +
                                                                    +
                                                                    +

                                                                    Ungrouped

                                                                    + +
                                                                    +
                                                                    + +
                                                                    + +
                                                                    + + + + + + diff --git a/manual1903/api_reference/didentification/scaladocs/ksb/csle/didentification/exceptions/IOExceptionHandler$.html b/manual1903/api_reference/didentification/scaladocs/ksb/csle/didentification/exceptions/IOExceptionHandler$.html new file mode 100644 index 0000000000000000000000000000000000000000..c92bc9c158d940eca618ddc3e187a2b511f11a06 --- /dev/null +++ b/manual1903/api_reference/didentification/scaladocs/ksb/csle/didentification/exceptions/IOExceptionHandler$.html @@ -0,0 +1,500 @@ + + + + IOExceptionHandler - KSB DEIDENTIFICATION Scala App Project 1.0-SNAPSHOT API - ksb.csle.didentification.exceptions.IOExceptionHandler + + + + + + + + + + + + + + + +
                                                                    + Object +

                                                                    ksb.csle.didentification.exceptions

                                                                    +

                                                                    IOExceptionHandler

                                                                    Related Doc: + package exceptions +

                                                                    + + Permalink + + +
                                                                    + +

                                                                    + + + object + + + IOExceptionHandler + +

                                                                    + +

                                                                    This object handles the exception caused by File related function. +

                                                                    + Linear Supertypes +
                                                                    AnyRef, Any
                                                                    +
                                                                    + + +
                                                                    +
                                                                    +
                                                                    + Ordering +
                                                                      + +
                                                                    1. Alphabetic
                                                                    2. +
                                                                    3. By Inheritance
                                                                    4. +
                                                                    +
                                                                    +
                                                                    + Inherited
                                                                    +
                                                                    +
                                                                      +
                                                                    1. IOExceptionHandler
                                                                    2. AnyRef
                                                                    3. Any
                                                                    4. +
                                                                    +
                                                                    + +
                                                                      +
                                                                    1. Hide All
                                                                    2. +
                                                                    3. Show All
                                                                    4. +
                                                                    +
                                                                    +
                                                                    + Visibility +
                                                                    1. Public
                                                                    2. All
                                                                    +
                                                                    +
                                                                    + +
                                                                    +
                                                                    + + + + + + +
                                                                    +

                                                                    Value Members

                                                                    +
                                                                    1. + + +

                                                                      + + final + def + + + !=(arg0: Any): Boolean + +

                                                                      + + Permalink + + +
                                                                      Definition Classes
                                                                      AnyRef → Any
                                                                      +
                                                                    2. + + +

                                                                      + + final + def + + + ##(): Int + +

                                                                      + + Permalink + + +
                                                                      Definition Classes
                                                                      AnyRef → Any
                                                                      +
                                                                    3. + + +

                                                                      + + final + def + + + ==(arg0: Any): Boolean + +

                                                                      + + Permalink + + +
                                                                      Definition Classes
                                                                      AnyRef → Any
                                                                      +
                                                                    4. + + +

                                                                      + + + def + + + apply[R <: AnyRef { def close(): Unit }, T](resource: ⇒ R)(f: (R) ⇒ T): Any + +

                                                                      + + Permalink + + + +
                                                                    5. + + +

                                                                      + + final + def + + + asInstanceOf[T0]: T0 + +

                                                                      + + Permalink + + +
                                                                      Definition Classes
                                                                      Any
                                                                      +
                                                                    6. + + +

                                                                      + + + def + + + clone(): AnyRef + +

                                                                      + + Permalink + + +
                                                                      Attributes
                                                                      protected[java.lang]
                                                                      Definition Classes
                                                                      AnyRef
                                                                      Annotations
                                                                      + @throws( + + ... + ) + +
                                                                      +
                                                                    7. + + +

                                                                      + + final + def + + + eq(arg0: AnyRef): Boolean + +

                                                                      + + Permalink + + +
                                                                      Definition Classes
                                                                      AnyRef
                                                                      +
                                                                    8. + + +

                                                                      + + + def + + + equals(arg0: Any): Boolean + +

                                                                      + + Permalink + + +
                                                                      Definition Classes
                                                                      AnyRef → Any
                                                                      +
                                                                    9. + + +

                                                                      + + + def + + + finalize(): Unit + +

                                                                      + + Permalink + + +
                                                                      Attributes
                                                                      protected[java.lang]
                                                                      Definition Classes
                                                                      AnyRef
                                                                      Annotations
                                                                      + @throws( + + classOf[java.lang.Throwable] + ) + +
                                                                      +
                                                                    10. + + +

                                                                      + + final + def + + + getClass(): Class[_] + +

                                                                      + + Permalink + + +
                                                                      Definition Classes
                                                                      AnyRef → Any
                                                                      +
                                                                    11. + + +

                                                                      + + + def + + + hashCode(): Int + +

                                                                      + + Permalink + + +
                                                                      Definition Classes
                                                                      AnyRef → Any
                                                                      +
                                                                    12. + + +

                                                                      + + final + def + + + isInstanceOf[T0]: Boolean + +

                                                                      + + Permalink + + +
                                                                      Definition Classes
                                                                      Any
                                                                      +
                                                                    13. + + +

                                                                      + + final + def + + + ne(arg0: AnyRef): Boolean + +

                                                                      + + Permalink + + +
                                                                      Definition Classes
                                                                      AnyRef
                                                                      +
                                                                    14. + + +

                                                                      + + final + def + + + notify(): Unit + +

                                                                      + + Permalink + + +
                                                                      Definition Classes
                                                                      AnyRef
                                                                      +
                                                                    15. + + +

                                                                      + + final + def + + + notifyAll(): Unit + +

                                                                      + + Permalink + + +
                                                                      Definition Classes
                                                                      AnyRef
                                                                      +
                                                                    16. + + +

                                                                      + + final + def + + + synchronized[T0](arg0: ⇒ T0): T0 + +

                                                                      + + Permalink + + +
                                                                      Definition Classes
                                                                      AnyRef
                                                                      +
                                                                    17. + + +

                                                                      + + + def + + + toString(): String + +

                                                                      + + Permalink + + +
                                                                      Definition Classes
                                                                      AnyRef → Any
                                                                      +
                                                                    18. + + +

                                                                      + + final + def + + + wait(): Unit + +

                                                                      + + Permalink + + +
                                                                      Definition Classes
                                                                      AnyRef
                                                                      Annotations
                                                                      + @throws( + + ... + ) + +
                                                                      +
                                                                    19. + + +

                                                                      + + final + def + + + wait(arg0: Long, arg1: Int): Unit + +

                                                                      + + Permalink + + +
                                                                      Definition Classes
                                                                      AnyRef
                                                                      Annotations
                                                                      + @throws( + + ... + ) + +
                                                                      +
                                                                    20. + + +

                                                                      + + final + def + + + wait(arg0: Long): Unit + +

                                                                      + + Permalink + + +
                                                                      Definition Classes
                                                                      AnyRef
                                                                      Annotations
                                                                      + @throws( + + ... + ) + +
                                                                      +
                                                                    +
                                                                    + + + + +
                                                                    + +
                                                                    +
                                                                    +

                                                                    Inherited from AnyRef

                                                                    +
                                                                    +

                                                                    Inherited from Any

                                                                    +
                                                                    + +
                                                                    + +
                                                                    +
                                                                    +

                                                                    Ungrouped

                                                                    + +
                                                                    +
                                                                    + +
                                                                    + +
                                                                    + + + + + + diff --git a/manual1903/api_reference/didentification/scaladocs/ksb/csle/didentification/exceptions/package.html b/manual1903/api_reference/didentification/scaladocs/ksb/csle/didentification/exceptions/package.html new file mode 100644 index 0000000000000000000000000000000000000000..952caa77e6177d6a2a0364a029fea657308a0bcb --- /dev/null +++ b/manual1903/api_reference/didentification/scaladocs/ksb/csle/didentification/exceptions/package.html @@ -0,0 +1,249 @@ + + + + exceptions - KSB DEIDENTIFICATION Scala App Project 1.0-SNAPSHOT API - ksb.csle.didentification.exceptions + + + + + + + + + + + + + + + +
                                                                    + Package +

                                                                    ksb.csle.didentification

                                                                    +

                                                                    exceptions

                                                                    + + Permalink + + +
                                                                    + +

                                                                    + + + package + + + exceptions + +

                                                                    + +
                                                                    + Linear Supertypes +
                                                                    AnyRef, Any
                                                                    +
                                                                    + + +
                                                                    +
                                                                    +
                                                                    + Ordering +
                                                                      + +
                                                                    1. Alphabetic
                                                                    2. +
                                                                    3. By Inheritance
                                                                    4. +
                                                                    +
                                                                    +
                                                                    + Inherited
                                                                    +
                                                                    +
                                                                      +
                                                                    1. exceptions
                                                                    2. AnyRef
                                                                    3. Any
                                                                    4. +
                                                                    +
                                                                    + +
                                                                      +
                                                                    1. Hide All
                                                                    2. +
                                                                    3. Show All
                                                                    4. +
                                                                    +
                                                                    +
                                                                    + Visibility +
                                                                    1. Public
                                                                    2. All
                                                                    +
                                                                    +
                                                                    + +
                                                                    +
                                                                    + + +
                                                                    +

                                                                    Type Members

                                                                    +
                                                                    1. + + +

                                                                      + + + case class + + + DDIException(message: String = "", cause: Throwable = None.orNull) extends Exception with Product with Serializable + +

                                                                      + + Permalink + + + +
                                                                    2. + + +

                                                                      + + + case class + + + DDIFileIOException(message: String = "", cause: Throwable = None.orNull) extends IOException with Product with Serializable + +

                                                                      + + Permalink + + + +
                                                                    3. + + +

                                                                      + + + case class + + + DDIFileNotFoundException(message: String = "", cause: Throwable = None.orNull) extends FileNotFoundException with Product with Serializable + +

                                                                      + + Permalink + + + +
                                                                    4. + + +

                                                                      + + + case class + + + DDIIllegalArgumentException(message: String = "", cause: Throwable = None.orNull) extends IllegalArgumentException with Product with Serializable + +

                                                                      + + Permalink + + + +
                                                                    5. + + +

                                                                      + + + case class + + + DDITypeMismatchException(message: String = "", cause: Throwable = None.orNull) extends IOException with Product with Serializable + +

                                                                      + + Permalink + + + +
                                                                    +
                                                                    + + + +
                                                                    +

                                                                    Value Members

                                                                    +
                                                                    1. + + +

                                                                      + + + object + + + AnonymityExceptionHandler + +

                                                                      + + Permalink + + +

                                                                      This object handles the exception caused by processing data frame.

                                                                      +
                                                                    2. + + +

                                                                      + + + object + + + IOExceptionHandler + +

                                                                      + + Permalink + + +

                                                                      This object handles the exception caused by File related function.

                                                                      +
                                                                    +
                                                                    + + + + +
                                                                    + +
                                                                    +
                                                                    +

                                                                    Inherited from AnyRef

                                                                    +
                                                                    +

                                                                    Inherited from Any

                                                                    +
                                                                    + +
                                                                    + +
                                                                    +
                                                                    +

                                                                    Ungrouped

                                                                    + +
                                                                    +
                                                                    + +
                                                                    + +
                                                                    + + + + + + diff --git a/manual1903/api_reference/didentification/scaladocs/ksb/csle/didentification/interfaces/ColumnHierarchy.html b/manual1903/api_reference/didentification/scaladocs/ksb/csle/didentification/interfaces/ColumnHierarchy.html new file mode 100644 index 0000000000000000000000000000000000000000..0353e47406c5a56fbddc3a6547674dfc4549e5af --- /dev/null +++ b/manual1903/api_reference/didentification/scaladocs/ksb/csle/didentification/interfaces/ColumnHierarchy.html @@ -0,0 +1,483 @@ + + + + ColumnHierarchy - KSB DEIDENTIFICATION Scala App Project 1.0-SNAPSHOT API - ksb.csle.didentification.interfaces.ColumnHierarchy + + + + + + + + + + + + + + + +
                                                                    + Class +

                                                                    ksb.csle.didentification.interfaces

                                                                    +

                                                                    ColumnHierarchy

                                                                    Related Doc: + package interfaces +

                                                                    + + Permalink + + +
                                                                    + +

                                                                    + + + case class + + + ColumnHierarchy(hierarhcyDepth: Map[Int, HierarchyEntries]) extends Product with Serializable + +

                                                                    + +

                                                                    This case class contains the list of hierarchical information of +a column as a map [the number of generalization (depth), generalized +data w.r.t. to depth]. +

                                                                    hierarhcyDepth

                                                                    the information containing the hierarchical info +w.r.t. the given depth

                                                                    + Linear Supertypes +
                                                                    Serializable, Serializable, Product, Equals, AnyRef, Any
                                                                    +
                                                                    + + +
                                                                    +
                                                                    +
                                                                    + Ordering +
                                                                      + +
                                                                    1. Alphabetic
                                                                    2. +
                                                                    3. By Inheritance
                                                                    4. +
                                                                    +
                                                                    +
                                                                    + Inherited
                                                                    +
                                                                    +
                                                                      +
                                                                    1. ColumnHierarchy
                                                                    2. Serializable
                                                                    3. Serializable
                                                                    4. Product
                                                                    5. Equals
                                                                    6. AnyRef
                                                                    7. Any
                                                                    8. +
                                                                    +
                                                                    + +
                                                                      +
                                                                    1. Hide All
                                                                    2. +
                                                                    3. Show All
                                                                    4. +
                                                                    +
                                                                    +
                                                                    + Visibility +
                                                                    1. Public
                                                                    2. All
                                                                    +
                                                                    +
                                                                    + +
                                                                    +
                                                                    +
                                                                    +

                                                                    Instance Constructors

                                                                    +
                                                                    1. + + +

                                                                      + + + new + + + ColumnHierarchy(hierarhcyDepth: Map[Int, HierarchyEntries]) + +

                                                                      + + Permalink + + +

                                                                      hierarhcyDepth

                                                                      the information containing the hierarchical info +w.r.t. the given depth

                                                                      +
                                                                    +
                                                                    + + + + + +
                                                                    +

                                                                    Value Members

                                                                    +
                                                                    1. + + +

                                                                      + + final + def + + + !=(arg0: Any): Boolean + +

                                                                      + + Permalink + + +
                                                                      Definition Classes
                                                                      AnyRef → Any
                                                                      +
                                                                    2. + + +

                                                                      + + final + def + + + ##(): Int + +

                                                                      + + Permalink + + +
                                                                      Definition Classes
                                                                      AnyRef → Any
                                                                      +
                                                                    3. + + +

                                                                      + + final + def + + + ==(arg0: Any): Boolean + +

                                                                      + + Permalink + + +
                                                                      Definition Classes
                                                                      AnyRef → Any
                                                                      +
                                                                    4. + + +

                                                                      + + final + def + + + asInstanceOf[T0]: T0 + +

                                                                      + + Permalink + + +
                                                                      Definition Classes
                                                                      Any
                                                                      +
                                                                    5. + + +

                                                                      + + + def + + + clone(): AnyRef + +

                                                                      + + Permalink + + +
                                                                      Attributes
                                                                      protected[java.lang]
                                                                      Definition Classes
                                                                      AnyRef
                                                                      Annotations
                                                                      + @throws( + + ... + ) + +
                                                                      +
                                                                    6. + + +

                                                                      + + final + def + + + eq(arg0: AnyRef): Boolean + +

                                                                      + + Permalink + + +
                                                                      Definition Classes
                                                                      AnyRef
                                                                      +
                                                                    7. + + +

                                                                      + + + def + + + finalize(): Unit + +

                                                                      + + Permalink + + +
                                                                      Attributes
                                                                      protected[java.lang]
                                                                      Definition Classes
                                                                      AnyRef
                                                                      Annotations
                                                                      + @throws( + + classOf[java.lang.Throwable] + ) + +
                                                                      +
                                                                    8. + + +

                                                                      + + final + def + + + getClass(): Class[_] + +

                                                                      + + Permalink + + +
                                                                      Definition Classes
                                                                      AnyRef → Any
                                                                      +
                                                                    9. + + +

                                                                      + + + val + + + hierarhcyDepth: Map[Int, HierarchyEntries] + +

                                                                      + + Permalink + + +

                                                                      the information containing the hierarchical info +w.r.t.

                                                                      the information containing the hierarchical info +w.r.t. the given depth

                                                                      +
                                                                    10. + + +

                                                                      + + final + def + + + isInstanceOf[T0]: Boolean + +

                                                                      + + Permalink + + +
                                                                      Definition Classes
                                                                      Any
                                                                      +
                                                                    11. + + +

                                                                      + + final + def + + + ne(arg0: AnyRef): Boolean + +

                                                                      + + Permalink + + +
                                                                      Definition Classes
                                                                      AnyRef
                                                                      +
                                                                    12. + + +

                                                                      + + final + def + + + notify(): Unit + +

                                                                      + + Permalink + + +
                                                                      Definition Classes
                                                                      AnyRef
                                                                      +
                                                                    13. + + +

                                                                      + + final + def + + + notifyAll(): Unit + +

                                                                      + + Permalink + + +
                                                                      Definition Classes
                                                                      AnyRef
                                                                      +
                                                                    14. + + +

                                                                      + + final + def + + + synchronized[T0](arg0: ⇒ T0): T0 + +

                                                                      + + Permalink + + +
                                                                      Definition Classes
                                                                      AnyRef
                                                                      +
                                                                    15. + + +

                                                                      + + final + def + + + wait(): Unit + +

                                                                      + + Permalink + + +
                                                                      Definition Classes
                                                                      AnyRef
                                                                      Annotations
                                                                      + @throws( + + ... + ) + +
                                                                      +
                                                                    16. + + +

                                                                      + + final + def + + + wait(arg0: Long, arg1: Int): Unit + +

                                                                      + + Permalink + + +
                                                                      Definition Classes
                                                                      AnyRef
                                                                      Annotations
                                                                      + @throws( + + ... + ) + +
                                                                      +
                                                                    17. + + +

                                                                      + + final + def + + + wait(arg0: Long): Unit + +

                                                                      + + Permalink + + +
                                                                      Definition Classes
                                                                      AnyRef
                                                                      Annotations
                                                                      + @throws( + + ... + ) + +
                                                                      +
                                                                    +
                                                                    + + + + +
                                                                    + +
                                                                    +
                                                                    +

                                                                    Inherited from Serializable

                                                                    +
                                                                    +

                                                                    Inherited from Serializable

                                                                    +
                                                                    +

                                                                    Inherited from Product

                                                                    +
                                                                    +

                                                                    Inherited from Equals

                                                                    +
                                                                    +

                                                                    Inherited from AnyRef

                                                                    +
                                                                    +

                                                                    Inherited from Any

                                                                    +
                                                                    + +
                                                                    + +
                                                                    +
                                                                    +

                                                                    Ungrouped

                                                                    + +
                                                                    +
                                                                    + +
                                                                    + +
                                                                    + + + + + + diff --git a/manual1903/api_reference/didentification/scaladocs/ksb/csle/didentification/interfaces/DataFrameCheck.html b/manual1903/api_reference/didentification/scaladocs/ksb/csle/didentification/interfaces/DataFrameCheck.html new file mode 100644 index 0000000000000000000000000000000000000000..8db4c4731be6e61988216a83d99b035a781a3a86 --- /dev/null +++ b/manual1903/api_reference/didentification/scaladocs/ksb/csle/didentification/interfaces/DataFrameCheck.html @@ -0,0 +1,613 @@ + + + + DataFrameCheck - KSB DEIDENTIFICATION Scala App Project 1.0-SNAPSHOT API - ksb.csle.didentification.interfaces.DataFrameCheck + + + + + + + + + + + + + + + +
                                                                    + Trait +

                                                                    ksb.csle.didentification.interfaces

                                                                    +

                                                                    DataFrameCheck

                                                                    Related Doc: + package interfaces +

                                                                    + + Permalink + + +
                                                                    + +

                                                                    + + + trait + + + DataFrameCheck extends AnyRef + +

                                                                    + + + + +
                                                                    +
                                                                    +
                                                                    + Ordering +
                                                                      + +
                                                                    1. Alphabetic
                                                                    2. +
                                                                    3. By Inheritance
                                                                    4. +
                                                                    +
                                                                    +
                                                                    + Inherited
                                                                    +
                                                                    +
                                                                      +
                                                                    1. DataFrameCheck
                                                                    2. AnyRef
                                                                    3. Any
                                                                    4. +
                                                                    +
                                                                    + +
                                                                      +
                                                                    1. Hide All
                                                                    2. +
                                                                    3. Show All
                                                                    4. +
                                                                    +
                                                                    +
                                                                    + Visibility +
                                                                    1. Public
                                                                    2. All
                                                                    +
                                                                    +
                                                                    + +
                                                                    +
                                                                    + + + + + + +
                                                                    +

                                                                    Value Members

                                                                    +
                                                                    1. + + +

                                                                      + + final + def + + + !=(arg0: Any): Boolean + +

                                                                      + + Permalink + + +
                                                                      Definition Classes
                                                                      AnyRef → Any
                                                                      +
                                                                    2. + + +

                                                                      + + final + def + + + ##(): Int + +

                                                                      + + Permalink + + +
                                                                      Definition Classes
                                                                      AnyRef → Any
                                                                      +
                                                                    3. + + +

                                                                      + + final + def + + + ==(arg0: Any): Boolean + +

                                                                      + + Permalink + + +
                                                                      Definition Classes
                                                                      AnyRef → Any
                                                                      +
                                                                    4. + + +

                                                                      + + final + def + + + asInstanceOf[T0]: T0 + +

                                                                      + + Permalink + + +
                                                                      Definition Classes
                                                                      Any
                                                                      +
                                                                    5. + + +

                                                                      + + + def + + + clone(): AnyRef + +

                                                                      + + Permalink + + +
                                                                      Attributes
                                                                      protected[java.lang]
                                                                      Definition Classes
                                                                      AnyRef
                                                                      Annotations
                                                                      + @throws( + + ... + ) + +
                                                                      +
                                                                    6. + + +

                                                                      + + final + def + + + eq(arg0: AnyRef): Boolean + +

                                                                      + + Permalink + + +
                                                                      Definition Classes
                                                                      AnyRef
                                                                      +
                                                                    7. + + +

                                                                      + + + def + + + equals(arg0: Any): Boolean + +

                                                                      + + Permalink + + +
                                                                      Definition Classes
                                                                      AnyRef → Any
                                                                      +
                                                                    8. + + +

                                                                      + + + def + + + finalize(): Unit + +

                                                                      + + Permalink + + +
                                                                      Attributes
                                                                      protected[java.lang]
                                                                      Definition Classes
                                                                      AnyRef
                                                                      Annotations
                                                                      + @throws( + + classOf[java.lang.Throwable] + ) + +
                                                                      +
                                                                    9. + + +

                                                                      + + final + def + + + getClass(): Class[_] + +

                                                                      + + Permalink + + +
                                                                      Definition Classes
                                                                      AnyRef → Any
                                                                      +
                                                                    10. + + +

                                                                      + + + def + + + getColumnName(src: DataFrame, columnId: Int): String + +

                                                                      + + Permalink + + +

                                                                      Returns column name from src dataframe +specified by the column ID defined by protobuf.

                                                                      Returns column name from src dataframe +specified by the column ID defined by protobuf. +

                                                                      src

                                                                      dataframe to get names of columns.

                                                                      columnId

                                                                      column ID to anonymize.

                                                                      returns

                                                                      String.

                                                                      +
                                                                    11. + + +

                                                                      + + + def + + + getColumnNames(src: DataFrame, columnIDs: Array[Int]): Array[String] + +

                                                                      + + Permalink + + +

                                                                      Returns column names from src dataframe specified by column IDs.

                                                                      Returns column names from src dataframe specified by column IDs. +Note that the column with invalid IDs are ignored. +

                                                                      src

                                                                      dataframe to get names of columns.

                                                                      returns

                                                                      Array[String].

                                                                      +
                                                                    12. + + +

                                                                      + + + def + + + getQuasiColumnIDs(fieldInfos: Array[FieldInfo]): Array[Int] + +

                                                                      + + Permalink + + + +
                                                                    13. + + +

                                                                      + + + def + + + getSensColumnIDs(fieldInfos: Array[FieldInfo]): Array[Int] + +

                                                                      + + Permalink + + + +
                                                                    14. + + +

                                                                      + + + def + + + getValidColumnIDs(src: DataFrame, columnIDs: Array[Int]): Array[Int] + +

                                                                      + + Permalink + + + +
                                                                    15. + + +

                                                                      + + + def + + + hashCode(): Int + +

                                                                      + + Permalink + + +
                                                                      Definition Classes
                                                                      AnyRef → Any
                                                                      +
                                                                    16. + + +

                                                                      + + final + def + + + isInstanceOf[T0]: Boolean + +

                                                                      + + Permalink + + +
                                                                      Definition Classes
                                                                      Any
                                                                      +
                                                                    17. + + +

                                                                      + + + def + + + isValidColumnID(src: DataFrame, columnID: Int): Boolean + +

                                                                      + + Permalink + + +

                                                                      Checks the given column ID is valid.

                                                                      Checks the given column ID is valid. +

                                                                      src

                                                                      dataframe to get names of columns.

                                                                      returns

                                                                      Boolean.

                                                                      +
                                                                    18. + + +

                                                                      + + + def + + + isValidColumnName(src: DataFrame, columnName: String): Boolean + +

                                                                      + + Permalink + + +

                                                                      Checks the given column Name is valid.

                                                                      Checks the given column Name is valid. +

                                                                      src

                                                                      dataframe to get names of columns.

                                                                      columnName

                                                                      column Name.

                                                                      returns

                                                                      Boolean.

                                                                      +
                                                                    19. + + +

                                                                      + + final + def + + + ne(arg0: AnyRef): Boolean + +

                                                                      + + Permalink + + +
                                                                      Definition Classes
                                                                      AnyRef
                                                                      +
                                                                    20. + + +

                                                                      + + final + def + + + notify(): Unit + +

                                                                      + + Permalink + + +
                                                                      Definition Classes
                                                                      AnyRef
                                                                      +
                                                                    21. + + +

                                                                      + + final + def + + + notifyAll(): Unit + +

                                                                      + + Permalink + + +
                                                                      Definition Classes
                                                                      AnyRef
                                                                      +
                                                                    22. + + +

                                                                      + + final + def + + + synchronized[T0](arg0: ⇒ T0): T0 + +

                                                                      + + Permalink + + +
                                                                      Definition Classes
                                                                      AnyRef
                                                                      +
                                                                    23. + + +

                                                                      + + + def + + + toString(): String + +

                                                                      + + Permalink + + +
                                                                      Definition Classes
                                                                      AnyRef → Any
                                                                      +
                                                                    24. + + +

                                                                      + + final + def + + + wait(): Unit + +

                                                                      + + Permalink + + +
                                                                      Definition Classes
                                                                      AnyRef
                                                                      Annotations
                                                                      + @throws( + + ... + ) + +
                                                                      +
                                                                    25. + + +

                                                                      + + final + def + + + wait(arg0: Long, arg1: Int): Unit + +

                                                                      + + Permalink + + +
                                                                      Definition Classes
                                                                      AnyRef
                                                                      Annotations
                                                                      + @throws( + + ... + ) + +
                                                                      +
                                                                    26. + + +

                                                                      + + final + def + + + wait(arg0: Long): Unit + +

                                                                      + + Permalink + + +
                                                                      Definition Classes
                                                                      AnyRef
                                                                      Annotations
                                                                      + @throws( + + ... + ) + +
                                                                      +
                                                                    +
                                                                    + + + + +
                                                                    + +
                                                                    +
                                                                    +

                                                                    Inherited from AnyRef

                                                                    +
                                                                    +

                                                                    Inherited from Any

                                                                    +
                                                                    + +
                                                                    + +
                                                                    +
                                                                    +

                                                                    Ungrouped

                                                                    + +
                                                                    +
                                                                    + +
                                                                    + +
                                                                    + + + + + + diff --git a/manual1903/api_reference/didentification/scaladocs/ksb/csle/didentification/interfaces/DeAnonymizer.html b/manual1903/api_reference/didentification/scaladocs/ksb/csle/didentification/interfaces/DeAnonymizer.html new file mode 100644 index 0000000000000000000000000000000000000000..44955f73341cc9b4dd4732ede3692b705c01cf88 --- /dev/null +++ b/manual1903/api_reference/didentification/scaladocs/ksb/csle/didentification/interfaces/DeAnonymizer.html @@ -0,0 +1,505 @@ + + + + DeAnonymizer - KSB DEIDENTIFICATION Scala App Project 1.0-SNAPSHOT API - ksb.csle.didentification.interfaces.DeAnonymizer + + + + + + + + + + + + + + + +
                                                                    + Trait +

                                                                    ksb.csle.didentification.interfaces

                                                                    +

                                                                    DeAnonymizer

                                                                    Related Doc: + package interfaces +

                                                                    + + Permalink + + +
                                                                    + +

                                                                    + + + trait + + + DeAnonymizer extends AnyRef + +

                                                                    + +
                                                                    + Linear Supertypes +
                                                                    AnyRef, Any
                                                                    +
                                                                    + Known Subclasses + +
                                                                    + + +
                                                                    +
                                                                    +
                                                                    + Ordering +
                                                                      + +
                                                                    1. Alphabetic
                                                                    2. +
                                                                    3. By Inheritance
                                                                    4. +
                                                                    +
                                                                    +
                                                                    + Inherited
                                                                    +
                                                                    +
                                                                      +
                                                                    1. DeAnonymizer
                                                                    2. AnyRef
                                                                    3. Any
                                                                    4. +
                                                                    +
                                                                    + +
                                                                      +
                                                                    1. Hide All
                                                                    2. +
                                                                    3. Show All
                                                                    4. +
                                                                    +
                                                                    +
                                                                    + Visibility +
                                                                    1. Public
                                                                    2. All
                                                                    +
                                                                    +
                                                                    + +
                                                                    +
                                                                    + + + + + + +
                                                                    +

                                                                    Value Members

                                                                    +
                                                                    1. + + +

                                                                      + + final + def + + + !=(arg0: Any): Boolean + +

                                                                      + + Permalink + + +
                                                                      Definition Classes
                                                                      AnyRef → Any
                                                                      +
                                                                    2. + + +

                                                                      + + final + def + + + ##(): Int + +

                                                                      + + Permalink + + +
                                                                      Definition Classes
                                                                      AnyRef → Any
                                                                      +
                                                                    3. + + +

                                                                      + + final + def + + + ==(arg0: Any): Boolean + +

                                                                      + + Permalink + + +
                                                                      Definition Classes
                                                                      AnyRef → Any
                                                                      +
                                                                    4. + + +

                                                                      + + final + def + + + asInstanceOf[T0]: T0 + +

                                                                      + + Permalink + + +
                                                                      Definition Classes
                                                                      Any
                                                                      +
                                                                    5. + + +

                                                                      + + + def + + + clone(): AnyRef + +

                                                                      + + Permalink + + +
                                                                      Attributes
                                                                      protected[java.lang]
                                                                      Definition Classes
                                                                      AnyRef
                                                                      Annotations
                                                                      + @throws( + + ... + ) + +
                                                                      +
                                                                    6. + + +

                                                                      + + + def + + + deAnonymize(src: DataFrame, columnName: String, heuristicTable: Map[String, String]): DataFrame + +

                                                                      + + Permalink + + +

                                                                      De-anonymizes the anonymized dataframe by using the given heuristic table +

                                                                      De-anonymizes the anonymized dataframe by using the given heuristic table +

                                                                      src

                                                                      Dataframe to de-anonymize

                                                                      columnName

                                                                      Column name to be de-anonymized

                                                                      heuristicTable

                                                                      The heuristic table which was used to anonymize +the records

                                                                      returns

                                                                      DataFrame The de-anonymized dataframe

                                                                      +
                                                                    7. + + +

                                                                      + + final + def + + + eq(arg0: AnyRef): Boolean + +

                                                                      + + Permalink + + +
                                                                      Definition Classes
                                                                      AnyRef
                                                                      +
                                                                    8. + + +

                                                                      + + + def + + + equals(arg0: Any): Boolean + +

                                                                      + + Permalink + + +
                                                                      Definition Classes
                                                                      AnyRef → Any
                                                                      +
                                                                    9. + + +

                                                                      + + + def + + + finalize(): Unit + +

                                                                      + + Permalink + + +
                                                                      Attributes
                                                                      protected[java.lang]
                                                                      Definition Classes
                                                                      AnyRef
                                                                      Annotations
                                                                      + @throws( + + classOf[java.lang.Throwable] + ) + +
                                                                      +
                                                                    10. + + +

                                                                      + + final + def + + + getClass(): Class[_] + +

                                                                      + + Permalink + + +
                                                                      Definition Classes
                                                                      AnyRef → Any
                                                                      +
                                                                    11. + + +

                                                                      + + + def + + + hashCode(): Int + +

                                                                      + + Permalink + + +
                                                                      Definition Classes
                                                                      AnyRef → Any
                                                                      +
                                                                    12. + + +

                                                                      + + final + def + + + isInstanceOf[T0]: Boolean + +

                                                                      + + Permalink + + +
                                                                      Definition Classes
                                                                      Any
                                                                      +
                                                                    13. + + +

                                                                      + + final + def + + + ne(arg0: AnyRef): Boolean + +

                                                                      + + Permalink + + +
                                                                      Definition Classes
                                                                      AnyRef
                                                                      +
                                                                    14. + + +

                                                                      + + final + def + + + notify(): Unit + +

                                                                      + + Permalink + + +
                                                                      Definition Classes
                                                                      AnyRef
                                                                      +
                                                                    15. + + +

                                                                      + + final + def + + + notifyAll(): Unit + +

                                                                      + + Permalink + + +
                                                                      Definition Classes
                                                                      AnyRef
                                                                      +
                                                                    16. + + +

                                                                      + + final + def + + + synchronized[T0](arg0: ⇒ T0): T0 + +

                                                                      + + Permalink + + +
                                                                      Definition Classes
                                                                      AnyRef
                                                                      +
                                                                    17. + + +

                                                                      + + + def + + + toString(): String + +

                                                                      + + Permalink + + +
                                                                      Definition Classes
                                                                      AnyRef → Any
                                                                      +
                                                                    18. + + +

                                                                      + + final + def + + + wait(): Unit + +

                                                                      + + Permalink + + +
                                                                      Definition Classes
                                                                      AnyRef
                                                                      Annotations
                                                                      + @throws( + + ... + ) + +
                                                                      +
                                                                    19. + + +

                                                                      + + final + def + + + wait(arg0: Long, arg1: Int): Unit + +

                                                                      + + Permalink + + +
                                                                      Definition Classes
                                                                      AnyRef
                                                                      Annotations
                                                                      + @throws( + + ... + ) + +
                                                                      +
                                                                    20. + + +

                                                                      + + final + def + + + wait(arg0: Long): Unit + +

                                                                      + + Permalink + + +
                                                                      Definition Classes
                                                                      AnyRef
                                                                      Annotations
                                                                      + @throws( + + ... + ) + +
                                                                      +
                                                                    +
                                                                    + + + + +
                                                                    + +
                                                                    +
                                                                    +

                                                                    Inherited from AnyRef

                                                                    +
                                                                    +

                                                                    Inherited from Any

                                                                    +
                                                                    + +
                                                                    + +
                                                                    +
                                                                    +

                                                                    Ungrouped

                                                                    + +
                                                                    +
                                                                    + +
                                                                    + +
                                                                    + + + + + + diff --git a/manual1903/api_reference/didentification/scaladocs/ksb/csle/didentification/interfaces/EquivalenceClass.html b/manual1903/api_reference/didentification/scaladocs/ksb/csle/didentification/interfaces/EquivalenceClass.html new file mode 100644 index 0000000000000000000000000000000000000000..5e2e046569c4fb0e32d8e3e8222093caaa676a6d --- /dev/null +++ b/manual1903/api_reference/didentification/scaladocs/ksb/csle/didentification/interfaces/EquivalenceClass.html @@ -0,0 +1,513 @@ + + + + EquivalenceClass - KSB DEIDENTIFICATION Scala App Project 1.0-SNAPSHOT API - ksb.csle.didentification.interfaces.EquivalenceClass + + + + + + + + + + + + + + + +
                                                                    + Class +

                                                                    ksb.csle.didentification.interfaces

                                                                    +

                                                                    EquivalenceClass

                                                                    Related Doc: + package interfaces +

                                                                    + + Permalink + + +
                                                                    + +

                                                                    + + + case class + + + EquivalenceClass(eqIdentifiers: Seq[Any], count: Long, latticeEntry: List[LatticeValue]) extends Product with Serializable + +

                                                                    + +

                                                                    This case class manages the information about the equivalence class. +It contains its sequence of quasi-identifiers, the number of records, +and its lattice entry to get this equivalence class. +

                                                                    eqIdentifiers

                                                                    The sequence of quasi-identifiers in this EC

                                                                    count

                                                                    The number of records in this EC

                                                                    latticeEntry

                                                                    The lattice entry to get this EC

                                                                    + Linear Supertypes +
                                                                    Serializable, Serializable, Product, Equals, AnyRef, Any
                                                                    +
                                                                    + + +
                                                                    +
                                                                    +
                                                                    + Ordering +
                                                                      + +
                                                                    1. Alphabetic
                                                                    2. +
                                                                    3. By Inheritance
                                                                    4. +
                                                                    +
                                                                    +
                                                                    + Inherited
                                                                    +
                                                                    +
                                                                      +
                                                                    1. EquivalenceClass
                                                                    2. Serializable
                                                                    3. Serializable
                                                                    4. Product
                                                                    5. Equals
                                                                    6. AnyRef
                                                                    7. Any
                                                                    8. +
                                                                    +
                                                                    + +
                                                                      +
                                                                    1. Hide All
                                                                    2. +
                                                                    3. Show All
                                                                    4. +
                                                                    +
                                                                    +
                                                                    + Visibility +
                                                                    1. Public
                                                                    2. All
                                                                    +
                                                                    +
                                                                    + +
                                                                    +
                                                                    +
                                                                    +

                                                                    Instance Constructors

                                                                    +
                                                                    1. + + +

                                                                      + + + new + + + EquivalenceClass(eqIdentifiers: Seq[Any], count: Long, latticeEntry: List[LatticeValue]) + +

                                                                      + + Permalink + + +

                                                                      eqIdentifiers

                                                                      The sequence of quasi-identifiers in this EC

                                                                      count

                                                                      The number of records in this EC

                                                                      latticeEntry

                                                                      The lattice entry to get this EC

                                                                      +
                                                                    +
                                                                    + + + + + +
                                                                    +

                                                                    Value Members

                                                                    +
                                                                    1. + + +

                                                                      + + final + def + + + !=(arg0: Any): Boolean + +

                                                                      + + Permalink + + +
                                                                      Definition Classes
                                                                      AnyRef → Any
                                                                      +
                                                                    2. + + +

                                                                      + + final + def + + + ##(): Int + +

                                                                      + + Permalink + + +
                                                                      Definition Classes
                                                                      AnyRef → Any
                                                                      +
                                                                    3. + + +

                                                                      + + final + def + + + ==(arg0: Any): Boolean + +

                                                                      + + Permalink + + +
                                                                      Definition Classes
                                                                      AnyRef → Any
                                                                      +
                                                                    4. + + +

                                                                      + + final + def + + + asInstanceOf[T0]: T0 + +

                                                                      + + Permalink + + +
                                                                      Definition Classes
                                                                      Any
                                                                      +
                                                                    5. + + +

                                                                      + + + def + + + clone(): AnyRef + +

                                                                      + + Permalink + + +
                                                                      Attributes
                                                                      protected[java.lang]
                                                                      Definition Classes
                                                                      AnyRef
                                                                      Annotations
                                                                      + @throws( + + ... + ) + +
                                                                      +
                                                                    6. + + +

                                                                      + + + val + + + count: Long + +

                                                                      + + Permalink + + +

                                                                      The number of records in this EC

                                                                      +
                                                                    7. + + +

                                                                      + + final + def + + + eq(arg0: AnyRef): Boolean + +

                                                                      + + Permalink + + +
                                                                      Definition Classes
                                                                      AnyRef
                                                                      +
                                                                    8. + + +

                                                                      + + + val + + + eqIdentifiers: Seq[Any] + +

                                                                      + + Permalink + + +

                                                                      The sequence of quasi-identifiers in this EC

                                                                      +
                                                                    9. + + +

                                                                      + + + def + + + finalize(): Unit + +

                                                                      + + Permalink + + +
                                                                      Attributes
                                                                      protected[java.lang]
                                                                      Definition Classes
                                                                      AnyRef
                                                                      Annotations
                                                                      + @throws( + + classOf[java.lang.Throwable] + ) + +
                                                                      +
                                                                    10. + + +

                                                                      + + final + def + + + getClass(): Class[_] + +

                                                                      + + Permalink + + +
                                                                      Definition Classes
                                                                      AnyRef → Any
                                                                      +
                                                                    11. + + +

                                                                      + + final + def + + + isInstanceOf[T0]: Boolean + +

                                                                      + + Permalink + + +
                                                                      Definition Classes
                                                                      Any
                                                                      +
                                                                    12. + + +

                                                                      + + + val + + + latticeEntry: List[LatticeValue] + +

                                                                      + + Permalink + + +

                                                                      The lattice entry to get this EC

                                                                      +
                                                                    13. + + +

                                                                      + + final + def + + + ne(arg0: AnyRef): Boolean + +

                                                                      + + Permalink + + +
                                                                      Definition Classes
                                                                      AnyRef
                                                                      +
                                                                    14. + + +

                                                                      + + final + def + + + notify(): Unit + +

                                                                      + + Permalink + + +
                                                                      Definition Classes
                                                                      AnyRef
                                                                      +
                                                                    15. + + +

                                                                      + + final + def + + + notifyAll(): Unit + +

                                                                      + + Permalink + + +
                                                                      Definition Classes
                                                                      AnyRef
                                                                      +
                                                                    16. + + +

                                                                      + + final + def + + + synchronized[T0](arg0: ⇒ T0): T0 + +

                                                                      + + Permalink + + +
                                                                      Definition Classes
                                                                      AnyRef
                                                                      +
                                                                    17. + + +

                                                                      + + final + def + + + wait(): Unit + +

                                                                      + + Permalink + + +
                                                                      Definition Classes
                                                                      AnyRef
                                                                      Annotations
                                                                      + @throws( + + ... + ) + +
                                                                      +
                                                                    18. + + +

                                                                      + + final + def + + + wait(arg0: Long, arg1: Int): Unit + +

                                                                      + + Permalink + + +
                                                                      Definition Classes
                                                                      AnyRef
                                                                      Annotations
                                                                      + @throws( + + ... + ) + +
                                                                      +
                                                                    19. + + +

                                                                      + + final + def + + + wait(arg0: Long): Unit + +

                                                                      + + Permalink + + +
                                                                      Definition Classes
                                                                      AnyRef
                                                                      Annotations
                                                                      + @throws( + + ... + ) + +
                                                                      +
                                                                    +
                                                                    + + + + +
                                                                    + +
                                                                    +
                                                                    +

                                                                    Inherited from Serializable

                                                                    +
                                                                    +

                                                                    Inherited from Serializable

                                                                    +
                                                                    +

                                                                    Inherited from Product

                                                                    +
                                                                    +

                                                                    Inherited from Equals

                                                                    +
                                                                    +

                                                                    Inherited from AnyRef

                                                                    +
                                                                    +

                                                                    Inherited from Any

                                                                    +
                                                                    + +
                                                                    + +
                                                                    +
                                                                    +

                                                                    Ungrouped

                                                                    + +
                                                                    +
                                                                    + +
                                                                    + +
                                                                    + + + + + + diff --git a/manual1903/api_reference/didentification/scaladocs/ksb/csle/didentification/interfaces/HierarchyEntries.html b/manual1903/api_reference/didentification/scaladocs/ksb/csle/didentification/interfaces/HierarchyEntries.html new file mode 100644 index 0000000000000000000000000000000000000000..977b54ffa1763ef3c98c2add95988821832a6be6 --- /dev/null +++ b/manual1903/api_reference/didentification/scaladocs/ksb/csle/didentification/interfaces/HierarchyEntries.html @@ -0,0 +1,497 @@ + + + + HierarchyEntries - KSB DEIDENTIFICATION Scala App Project 1.0-SNAPSHOT API - ksb.csle.didentification.interfaces.HierarchyEntries + + + + + + + + + + + + + + + +
                                                                    + Class +

                                                                    ksb.csle.didentification.interfaces

                                                                    +

                                                                    HierarchyEntries

                                                                    Related Doc: + package interfaces +

                                                                    + + Permalink + + +
                                                                    + +

                                                                    + + + case class + + + HierarchyEntries(depth: Int, hierarchyEntry: Map[String, String]) extends Product with Serializable + +

                                                                    + +

                                                                    The hierarchical information is changed by how many times the algorithm +scrubs (or generalizes) the original data. This case class describes this +information of a column with respect to the number (or depth) of scrubbing +the data. [depth, original data => generalized data w.r.t. depth]. +

                                                                    depth

                                                                    the number of scrubbing the data

                                                                    hierarchyEntry

                                                                    the information containing the hierarchical info

                                                                    + Linear Supertypes +
                                                                    Serializable, Serializable, Product, Equals, AnyRef, Any
                                                                    +
                                                                    + + +
                                                                    +
                                                                    +
                                                                    + Ordering +
                                                                      + +
                                                                    1. Alphabetic
                                                                    2. +
                                                                    3. By Inheritance
                                                                    4. +
                                                                    +
                                                                    +
                                                                    + Inherited
                                                                    +
                                                                    +
                                                                      +
                                                                    1. HierarchyEntries
                                                                    2. Serializable
                                                                    3. Serializable
                                                                    4. Product
                                                                    5. Equals
                                                                    6. AnyRef
                                                                    7. Any
                                                                    8. +
                                                                    +
                                                                    + +
                                                                      +
                                                                    1. Hide All
                                                                    2. +
                                                                    3. Show All
                                                                    4. +
                                                                    +
                                                                    +
                                                                    + Visibility +
                                                                    1. Public
                                                                    2. All
                                                                    +
                                                                    +
                                                                    + +
                                                                    +
                                                                    +
                                                                    +

                                                                    Instance Constructors

                                                                    +
                                                                    1. + + +

                                                                      + + + new + + + HierarchyEntries(depth: Int, hierarchyEntry: Map[String, String]) + +

                                                                      + + Permalink + + +

                                                                      depth

                                                                      the number of scrubbing the data

                                                                      hierarchyEntry

                                                                      the information containing the hierarchical info

                                                                      +
                                                                    +
                                                                    + + + + + +
                                                                    +

                                                                    Value Members

                                                                    +
                                                                    1. + + +

                                                                      + + final + def + + + !=(arg0: Any): Boolean + +

                                                                      + + Permalink + + +
                                                                      Definition Classes
                                                                      AnyRef → Any
                                                                      +
                                                                    2. + + +

                                                                      + + final + def + + + ##(): Int + +

                                                                      + + Permalink + + +
                                                                      Definition Classes
                                                                      AnyRef → Any
                                                                      +
                                                                    3. + + +

                                                                      + + final + def + + + ==(arg0: Any): Boolean + +

                                                                      + + Permalink + + +
                                                                      Definition Classes
                                                                      AnyRef → Any
                                                                      +
                                                                    4. + + +

                                                                      + + final + def + + + asInstanceOf[T0]: T0 + +

                                                                      + + Permalink + + +
                                                                      Definition Classes
                                                                      Any
                                                                      +
                                                                    5. + + +

                                                                      + + + def + + + clone(): AnyRef + +

                                                                      + + Permalink + + +
                                                                      Attributes
                                                                      protected[java.lang]
                                                                      Definition Classes
                                                                      AnyRef
                                                                      Annotations
                                                                      + @throws( + + ... + ) + +
                                                                      +
                                                                    6. + + +

                                                                      + + + val + + + depth: Int + +

                                                                      + + Permalink + + +

                                                                      the number of scrubbing the data

                                                                      +
                                                                    7. + + +

                                                                      + + final + def + + + eq(arg0: AnyRef): Boolean + +

                                                                      + + Permalink + + +
                                                                      Definition Classes
                                                                      AnyRef
                                                                      +
                                                                    8. + + +

                                                                      + + + def + + + finalize(): Unit + +

                                                                      + + Permalink + + +
                                                                      Attributes
                                                                      protected[java.lang]
                                                                      Definition Classes
                                                                      AnyRef
                                                                      Annotations
                                                                      + @throws( + + classOf[java.lang.Throwable] + ) + +
                                                                      +
                                                                    9. + + +

                                                                      + + final + def + + + getClass(): Class[_] + +

                                                                      + + Permalink + + +
                                                                      Definition Classes
                                                                      AnyRef → Any
                                                                      +
                                                                    10. + + +

                                                                      + + + val + + + hierarchyEntry: Map[String, String] + +

                                                                      + + Permalink + + +

                                                                      the information containing the hierarchical info

                                                                      +
                                                                    11. + + +

                                                                      + + final + def + + + isInstanceOf[T0]: Boolean + +

                                                                      + + Permalink + + +
                                                                      Definition Classes
                                                                      Any
                                                                      +
                                                                    12. + + +

                                                                      + + final + def + + + ne(arg0: AnyRef): Boolean + +

                                                                      + + Permalink + + +
                                                                      Definition Classes
                                                                      AnyRef
                                                                      +
                                                                    13. + + +

                                                                      + + final + def + + + notify(): Unit + +

                                                                      + + Permalink + + +
                                                                      Definition Classes
                                                                      AnyRef
                                                                      +
                                                                    14. + + +

                                                                      + + final + def + + + notifyAll(): Unit + +

                                                                      + + Permalink + + +
                                                                      Definition Classes
                                                                      AnyRef
                                                                      +
                                                                    15. + + +

                                                                      + + final + def + + + synchronized[T0](arg0: ⇒ T0): T0 + +

                                                                      + + Permalink + + +
                                                                      Definition Classes
                                                                      AnyRef
                                                                      +
                                                                    16. + + +

                                                                      + + final + def + + + wait(): Unit + +

                                                                      + + Permalink + + +
                                                                      Definition Classes
                                                                      AnyRef
                                                                      Annotations
                                                                      + @throws( + + ... + ) + +
                                                                      +
                                                                    17. + + +

                                                                      + + final + def + + + wait(arg0: Long, arg1: Int): Unit + +

                                                                      + + Permalink + + +
                                                                      Definition Classes
                                                                      AnyRef
                                                                      Annotations
                                                                      + @throws( + + ... + ) + +
                                                                      +
                                                                    18. + + +

                                                                      + + final + def + + + wait(arg0: Long): Unit + +

                                                                      + + Permalink + + +
                                                                      Definition Classes
                                                                      AnyRef
                                                                      Annotations
                                                                      + @throws( + + ... + ) + +
                                                                      +
                                                                    +
                                                                    + + + + +
                                                                    + +
                                                                    +
                                                                    +

                                                                    Inherited from Serializable

                                                                    +
                                                                    +

                                                                    Inherited from Serializable

                                                                    +
                                                                    +

                                                                    Inherited from Product

                                                                    +
                                                                    +

                                                                    Inherited from Equals

                                                                    +
                                                                    +

                                                                    Inherited from AnyRef

                                                                    +
                                                                    +

                                                                    Inherited from Any

                                                                    +
                                                                    + +
                                                                    + +
                                                                    +
                                                                    +

                                                                    Ungrouped

                                                                    + +
                                                                    +
                                                                    + +
                                                                    + +
                                                                    + + + + + + diff --git a/manual1903/api_reference/didentification/scaladocs/ksb/csle/didentification/interfaces/InformationLossBound.html b/manual1903/api_reference/didentification/scaladocs/ksb/csle/didentification/interfaces/InformationLossBound.html new file mode 100644 index 0000000000000000000000000000000000000000..b74665cfb467732d0b1f4e526943276a397502c6 --- /dev/null +++ b/manual1903/api_reference/didentification/scaladocs/ksb/csle/didentification/interfaces/InformationLossBound.html @@ -0,0 +1,529 @@ + + + + InformationLossBound - KSB DEIDENTIFICATION Scala App Project 1.0-SNAPSHOT API - ksb.csle.didentification.interfaces.InformationLossBound + + + + + + + + + + + + + + + +
                                                                    + Class +

                                                                    ksb.csle.didentification.interfaces

                                                                    +

                                                                    InformationLossBound

                                                                    Related Doc: + package interfaces +

                                                                    + + Permalink + + +
                                                                    + +

                                                                    + + + case class + + + InformationLossBound(loss: Double, lowerBound: Double, relativeLoss: Double, relativelowerBound: Double) extends Product with Serializable + +

                                                                    + +

                                                                    This case class provides some information about the loss occurred by +the de-identification. +

                                                                    loss

                                                                    Pure information loss, but not normalized

                                                                    lowerBound

                                                                    The lower bound of pure information loss

                                                                    relativeLoss

                                                                    Relative loss to original data

                                                                    + Linear Supertypes +
                                                                    Serializable, Serializable, Product, Equals, AnyRef, Any
                                                                    +
                                                                    + + +
                                                                    +
                                                                    +
                                                                    + Ordering +
                                                                      + +
                                                                    1. Alphabetic
                                                                    2. +
                                                                    3. By Inheritance
                                                                    4. +
                                                                    +
                                                                    +
                                                                    + Inherited
                                                                    +
                                                                    +
                                                                      +
                                                                    1. InformationLossBound
                                                                    2. Serializable
                                                                    3. Serializable
                                                                    4. Product
                                                                    5. Equals
                                                                    6. AnyRef
                                                                    7. Any
                                                                    8. +
                                                                    +
                                                                    + +
                                                                      +
                                                                    1. Hide All
                                                                    2. +
                                                                    3. Show All
                                                                    4. +
                                                                    +
                                                                    +
                                                                    + Visibility +
                                                                    1. Public
                                                                    2. All
                                                                    +
                                                                    +
                                                                    + +
                                                                    +
                                                                    +
                                                                    +

                                                                    Instance Constructors

                                                                    +
                                                                    1. + + +

                                                                      + + + new + + + InformationLossBound(loss: Double, lowerBound: Double, relativeLoss: Double, relativelowerBound: Double) + +

                                                                      + + Permalink + + +

                                                                      loss

                                                                      Pure information loss, but not normalized

                                                                      lowerBound

                                                                      The lower bound of pure information loss

                                                                      relativeLoss

                                                                      Relative loss to original data

                                                                      +
                                                                    +
                                                                    + + + + + +
                                                                    +

                                                                    Value Members

                                                                    +
                                                                    1. + + +

                                                                      + + final + def + + + !=(arg0: Any): Boolean + +

                                                                      + + Permalink + + +
                                                                      Definition Classes
                                                                      AnyRef → Any
                                                                      +
                                                                    2. + + +

                                                                      + + final + def + + + ##(): Int + +

                                                                      + + Permalink + + +
                                                                      Definition Classes
                                                                      AnyRef → Any
                                                                      +
                                                                    3. + + +

                                                                      + + final + def + + + ==(arg0: Any): Boolean + +

                                                                      + + Permalink + + +
                                                                      Definition Classes
                                                                      AnyRef → Any
                                                                      +
                                                                    4. + + +

                                                                      + + final + def + + + asInstanceOf[T0]: T0 + +

                                                                      + + Permalink + + +
                                                                      Definition Classes
                                                                      Any
                                                                      +
                                                                    5. + + +

                                                                      + + + def + + + clone(): AnyRef + +

                                                                      + + Permalink + + +
                                                                      Attributes
                                                                      protected[java.lang]
                                                                      Definition Classes
                                                                      AnyRef
                                                                      Annotations
                                                                      + @throws( + + ... + ) + +
                                                                      +
                                                                    6. + + +

                                                                      + + final + def + + + eq(arg0: AnyRef): Boolean + +

                                                                      + + Permalink + + +
                                                                      Definition Classes
                                                                      AnyRef
                                                                      +
                                                                    7. + + +

                                                                      + + + def + + + finalize(): Unit + +

                                                                      + + Permalink + + +
                                                                      Attributes
                                                                      protected[java.lang]
                                                                      Definition Classes
                                                                      AnyRef
                                                                      Annotations
                                                                      + @throws( + + classOf[java.lang.Throwable] + ) + +
                                                                      +
                                                                    8. + + +

                                                                      + + final + def + + + getClass(): Class[_] + +

                                                                      + + Permalink + + +
                                                                      Definition Classes
                                                                      AnyRef → Any
                                                                      +
                                                                    9. + + +

                                                                      + + final + def + + + isInstanceOf[T0]: Boolean + +

                                                                      + + Permalink + + +
                                                                      Definition Classes
                                                                      Any
                                                                      +
                                                                    10. + + +

                                                                      + + + val + + + loss: Double + +

                                                                      + + Permalink + + +

                                                                      Pure information loss, but not normalized

                                                                      +
                                                                    11. + + +

                                                                      + + + val + + + lowerBound: Double + +

                                                                      + + Permalink + + +

                                                                      The lower bound of pure information loss

                                                                      +
                                                                    12. + + +

                                                                      + + final + def + + + ne(arg0: AnyRef): Boolean + +

                                                                      + + Permalink + + +
                                                                      Definition Classes
                                                                      AnyRef
                                                                      +
                                                                    13. + + +

                                                                      + + final + def + + + notify(): Unit + +

                                                                      + + Permalink + + +
                                                                      Definition Classes
                                                                      AnyRef
                                                                      +
                                                                    14. + + +

                                                                      + + final + def + + + notifyAll(): Unit + +

                                                                      + + Permalink + + +
                                                                      Definition Classes
                                                                      AnyRef
                                                                      +
                                                                    15. + + +

                                                                      + + + val + + + relativeLoss: Double + +

                                                                      + + Permalink + + +

                                                                      Relative loss to original data

                                                                      +
                                                                    16. + + +

                                                                      + + + val + + + relativelowerBound: Double + +

                                                                      + + Permalink + + + +
                                                                    17. + + +

                                                                      + + final + def + + + synchronized[T0](arg0: ⇒ T0): T0 + +

                                                                      + + Permalink + + +
                                                                      Definition Classes
                                                                      AnyRef
                                                                      +
                                                                    18. + + +

                                                                      + + final + def + + + wait(): Unit + +

                                                                      + + Permalink + + +
                                                                      Definition Classes
                                                                      AnyRef
                                                                      Annotations
                                                                      + @throws( + + ... + ) + +
                                                                      +
                                                                    19. + + +

                                                                      + + final + def + + + wait(arg0: Long, arg1: Int): Unit + +

                                                                      + + Permalink + + +
                                                                      Definition Classes
                                                                      AnyRef
                                                                      Annotations
                                                                      + @throws( + + ... + ) + +
                                                                      +
                                                                    20. + + +

                                                                      + + final + def + + + wait(arg0: Long): Unit + +

                                                                      + + Permalink + + +
                                                                      Definition Classes
                                                                      AnyRef
                                                                      Annotations
                                                                      + @throws( + + ... + ) + +
                                                                      +
                                                                    +
                                                                    + + + + +
                                                                    + +
                                                                    +
                                                                    +

                                                                    Inherited from Serializable

                                                                    +
                                                                    +

                                                                    Inherited from Serializable

                                                                    +
                                                                    +

                                                                    Inherited from Product

                                                                    +
                                                                    +

                                                                    Inherited from Equals

                                                                    +
                                                                    +

                                                                    Inherited from AnyRef

                                                                    +
                                                                    +

                                                                    Inherited from Any

                                                                    +
                                                                    + +
                                                                    + +
                                                                    +
                                                                    +

                                                                    Ungrouped

                                                                    + +
                                                                    +
                                                                    + +
                                                                    + +
                                                                    + + + + + + diff --git a/manual1903/api_reference/didentification/scaladocs/ksb/csle/didentification/interfaces/Interval.html b/manual1903/api_reference/didentification/scaladocs/ksb/csle/didentification/interfaces/Interval.html new file mode 100644 index 0000000000000000000000000000000000000000..817142306578c075b0d2d01a8f316fc6d1cff5ec --- /dev/null +++ b/manual1903/api_reference/didentification/scaladocs/ksb/csle/didentification/interfaces/Interval.html @@ -0,0 +1,494 @@ + + + + Interval - KSB DEIDENTIFICATION Scala App Project 1.0-SNAPSHOT API - ksb.csle.didentification.interfaces.Interval + + + + + + + + + + + + + + + +
                                                                    + Class +

                                                                    ksb.csle.didentification.interfaces

                                                                    +

                                                                    Interval

                                                                    Related Doc: + package interfaces +

                                                                    + + Permalink + + +
                                                                    + +

                                                                    + + + case class + + + Interval(lower: Double, upper: Double) extends Product with Serializable + +

                                                                    + +

                                                                    This case class contains the interval information [lower, upper]. +

                                                                    lower

                                                                    the lower bound of this interval

                                                                    upper

                                                                    the upper bound of this interval

                                                                    + Linear Supertypes +
                                                                    Serializable, Serializable, Product, Equals, AnyRef, Any
                                                                    +
                                                                    + + +
                                                                    +
                                                                    +
                                                                    + Ordering +
                                                                      + +
                                                                    1. Alphabetic
                                                                    2. +
                                                                    3. By Inheritance
                                                                    4. +
                                                                    +
                                                                    +
                                                                    + Inherited
                                                                    +
                                                                    +
                                                                      +
                                                                    1. Interval
                                                                    2. Serializable
                                                                    3. Serializable
                                                                    4. Product
                                                                    5. Equals
                                                                    6. AnyRef
                                                                    7. Any
                                                                    8. +
                                                                    +
                                                                    + +
                                                                      +
                                                                    1. Hide All
                                                                    2. +
                                                                    3. Show All
                                                                    4. +
                                                                    +
                                                                    +
                                                                    + Visibility +
                                                                    1. Public
                                                                    2. All
                                                                    +
                                                                    +
                                                                    + +
                                                                    +
                                                                    +
                                                                    +

                                                                    Instance Constructors

                                                                    +
                                                                    1. + + +

                                                                      + + + new + + + Interval(lower: Double, upper: Double) + +

                                                                      + + Permalink + + +

                                                                      lower

                                                                      the lower bound of this interval

                                                                      upper

                                                                      the upper bound of this interval

                                                                      +
                                                                    +
                                                                    + + + + + +
                                                                    +

                                                                    Value Members

                                                                    +
                                                                    1. + + +

                                                                      + + final + def + + + !=(arg0: Any): Boolean + +

                                                                      + + Permalink + + +
                                                                      Definition Classes
                                                                      AnyRef → Any
                                                                      +
                                                                    2. + + +

                                                                      + + final + def + + + ##(): Int + +

                                                                      + + Permalink + + +
                                                                      Definition Classes
                                                                      AnyRef → Any
                                                                      +
                                                                    3. + + +

                                                                      + + final + def + + + ==(arg0: Any): Boolean + +

                                                                      + + Permalink + + +
                                                                      Definition Classes
                                                                      AnyRef → Any
                                                                      +
                                                                    4. + + +

                                                                      + + final + def + + + asInstanceOf[T0]: T0 + +

                                                                      + + Permalink + + +
                                                                      Definition Classes
                                                                      Any
                                                                      +
                                                                    5. + + +

                                                                      + + + def + + + clone(): AnyRef + +

                                                                      + + Permalink + + +
                                                                      Attributes
                                                                      protected[java.lang]
                                                                      Definition Classes
                                                                      AnyRef
                                                                      Annotations
                                                                      + @throws( + + ... + ) + +
                                                                      +
                                                                    6. + + +

                                                                      + + final + def + + + eq(arg0: AnyRef): Boolean + +

                                                                      + + Permalink + + +
                                                                      Definition Classes
                                                                      AnyRef
                                                                      +
                                                                    7. + + +

                                                                      + + + def + + + finalize(): Unit + +

                                                                      + + Permalink + + +
                                                                      Attributes
                                                                      protected[java.lang]
                                                                      Definition Classes
                                                                      AnyRef
                                                                      Annotations
                                                                      + @throws( + + classOf[java.lang.Throwable] + ) + +
                                                                      +
                                                                    8. + + +

                                                                      + + final + def + + + getClass(): Class[_] + +

                                                                      + + Permalink + + +
                                                                      Definition Classes
                                                                      AnyRef → Any
                                                                      +
                                                                    9. + + +

                                                                      + + final + def + + + isInstanceOf[T0]: Boolean + +

                                                                      + + Permalink + + +
                                                                      Definition Classes
                                                                      Any
                                                                      +
                                                                    10. + + +

                                                                      + + + val + + + lower: Double + +

                                                                      + + Permalink + + +

                                                                      the lower bound of this interval

                                                                      +
                                                                    11. + + +

                                                                      + + final + def + + + ne(arg0: AnyRef): Boolean + +

                                                                      + + Permalink + + +
                                                                      Definition Classes
                                                                      AnyRef
                                                                      +
                                                                    12. + + +

                                                                      + + final + def + + + notify(): Unit + +

                                                                      + + Permalink + + +
                                                                      Definition Classes
                                                                      AnyRef
                                                                      +
                                                                    13. + + +

                                                                      + + final + def + + + notifyAll(): Unit + +

                                                                      + + Permalink + + +
                                                                      Definition Classes
                                                                      AnyRef
                                                                      +
                                                                    14. + + +

                                                                      + + final + def + + + synchronized[T0](arg0: ⇒ T0): T0 + +

                                                                      + + Permalink + + +
                                                                      Definition Classes
                                                                      AnyRef
                                                                      +
                                                                    15. + + +

                                                                      + + + val + + + upper: Double + +

                                                                      + + Permalink + + +

                                                                      the upper bound of this interval

                                                                      +
                                                                    16. + + +

                                                                      + + final + def + + + wait(): Unit + +

                                                                      + + Permalink + + +
                                                                      Definition Classes
                                                                      AnyRef
                                                                      Annotations
                                                                      + @throws( + + ... + ) + +
                                                                      +
                                                                    17. + + +

                                                                      + + final + def + + + wait(arg0: Long, arg1: Int): Unit + +

                                                                      + + Permalink + + +
                                                                      Definition Classes
                                                                      AnyRef
                                                                      Annotations
                                                                      + @throws( + + ... + ) + +
                                                                      +
                                                                    18. + + +

                                                                      + + final + def + + + wait(arg0: Long): Unit + +

                                                                      + + Permalink + + +
                                                                      Definition Classes
                                                                      AnyRef
                                                                      Annotations
                                                                      + @throws( + + ... + ) + +
                                                                      +
                                                                    +
                                                                    + + + + +
                                                                    + +
                                                                    +
                                                                    +

                                                                    Inherited from Serializable

                                                                    +
                                                                    +

                                                                    Inherited from Serializable

                                                                    +
                                                                    +

                                                                    Inherited from Product

                                                                    +
                                                                    +

                                                                    Inherited from Equals

                                                                    +
                                                                    +

                                                                    Inherited from AnyRef

                                                                    +
                                                                    +

                                                                    Inherited from Any

                                                                    +
                                                                    + +
                                                                    + +
                                                                    +
                                                                    +

                                                                    Ungrouped

                                                                    + +
                                                                    +
                                                                    + +
                                                                    + +
                                                                    + + + + + + diff --git a/manual1903/api_reference/didentification/scaladocs/ksb/csle/didentification/interfaces/LatticeEntry.html b/manual1903/api_reference/didentification/scaladocs/ksb/csle/didentification/interfaces/LatticeEntry.html new file mode 100644 index 0000000000000000000000000000000000000000..dd34869150ca6ecada40ed0aacabbb86db29d14f --- /dev/null +++ b/manual1903/api_reference/didentification/scaladocs/ksb/csle/didentification/interfaces/LatticeEntry.html @@ -0,0 +1,530 @@ + + + + LatticeEntry - KSB DEIDENTIFICATION Scala App Project 1.0-SNAPSHOT API - ksb.csle.didentification.interfaces.LatticeEntry + + + + + + + + + + + + + + + +
                                                                    + Class +

                                                                    ksb.csle.didentification.interfaces

                                                                    +

                                                                    LatticeEntry

                                                                    Related Doc: + package interfaces +

                                                                    + + Permalink + + +
                                                                    + +

                                                                    + + + case class + + + LatticeEntry(entry: List[LatticeValue], anonymity: Double, loss: Double, risk: Double) extends Product with Serializable + +

                                                                    + +

                                                                    The lattice value indicates how to scrub the specific single column. +Generally, there are many quasi-identifiers in the data set, so it may +be required to manage those quasi-identifiers. Lattice entry manages them. +

                                                                    entry

                                                                    the list of lattice value

                                                                    loss

                                                                    the measured information loss when this lattice entry applies

                                                                    risk

                                                                    the measured de-identification risk when this lattice entry applies

                                                                    + Linear Supertypes +
                                                                    Serializable, Serializable, Product, Equals, AnyRef, Any
                                                                    +
                                                                    + + +
                                                                    +
                                                                    +
                                                                    + Ordering +
                                                                      + +
                                                                    1. Alphabetic
                                                                    2. +
                                                                    3. By Inheritance
                                                                    4. +
                                                                    +
                                                                    +
                                                                    + Inherited
                                                                    +
                                                                    +
                                                                      +
                                                                    1. LatticeEntry
                                                                    2. Serializable
                                                                    3. Serializable
                                                                    4. Product
                                                                    5. Equals
                                                                    6. AnyRef
                                                                    7. Any
                                                                    8. +
                                                                    +
                                                                    + +
                                                                      +
                                                                    1. Hide All
                                                                    2. +
                                                                    3. Show All
                                                                    4. +
                                                                    +
                                                                    +
                                                                    + Visibility +
                                                                    1. Public
                                                                    2. All
                                                                    +
                                                                    +
                                                                    + +
                                                                    +
                                                                    +
                                                                    +

                                                                    Instance Constructors

                                                                    +
                                                                    1. + + +

                                                                      + + + new + + + LatticeEntry(entry: List[LatticeValue], anonymity: Double, loss: Double, risk: Double) + +

                                                                      + + Permalink + + +

                                                                      entry

                                                                      the list of lattice value

                                                                      loss

                                                                      the measured information loss when this lattice entry applies

                                                                      risk

                                                                      the measured de-identification risk when this lattice entry applies

                                                                      +
                                                                    +
                                                                    + + + + + +
                                                                    +

                                                                    Value Members

                                                                    +
                                                                    1. + + +

                                                                      + + final + def + + + !=(arg0: Any): Boolean + +

                                                                      + + Permalink + + +
                                                                      Definition Classes
                                                                      AnyRef → Any
                                                                      +
                                                                    2. + + +

                                                                      + + final + def + + + ##(): Int + +

                                                                      + + Permalink + + +
                                                                      Definition Classes
                                                                      AnyRef → Any
                                                                      +
                                                                    3. + + +

                                                                      + + final + def + + + ==(arg0: Any): Boolean + +

                                                                      + + Permalink + + +
                                                                      Definition Classes
                                                                      AnyRef → Any
                                                                      +
                                                                    4. + + +

                                                                      + + + val + + + anonymity: Double + +

                                                                      + + Permalink + + + +
                                                                    5. + + +

                                                                      + + final + def + + + asInstanceOf[T0]: T0 + +

                                                                      + + Permalink + + +
                                                                      Definition Classes
                                                                      Any
                                                                      +
                                                                    6. + + +

                                                                      + + + def + + + clone(): AnyRef + +

                                                                      + + Permalink + + +
                                                                      Attributes
                                                                      protected[java.lang]
                                                                      Definition Classes
                                                                      AnyRef
                                                                      Annotations
                                                                      + @throws( + + ... + ) + +
                                                                      +
                                                                    7. + + +

                                                                      + + + val + + + entry: List[LatticeValue] + +

                                                                      + + Permalink + + +

                                                                      the list of lattice value

                                                                      +
                                                                    8. + + +

                                                                      + + final + def + + + eq(arg0: AnyRef): Boolean + +

                                                                      + + Permalink + + +
                                                                      Definition Classes
                                                                      AnyRef
                                                                      +
                                                                    9. + + +

                                                                      + + + def + + + finalize(): Unit + +

                                                                      + + Permalink + + +
                                                                      Attributes
                                                                      protected[java.lang]
                                                                      Definition Classes
                                                                      AnyRef
                                                                      Annotations
                                                                      + @throws( + + classOf[java.lang.Throwable] + ) + +
                                                                      +
                                                                    10. + + +

                                                                      + + final + def + + + getClass(): Class[_] + +

                                                                      + + Permalink + + +
                                                                      Definition Classes
                                                                      AnyRef → Any
                                                                      +
                                                                    11. + + +

                                                                      + + final + def + + + isInstanceOf[T0]: Boolean + +

                                                                      + + Permalink + + +
                                                                      Definition Classes
                                                                      Any
                                                                      +
                                                                    12. + + +

                                                                      + + + val + + + loss: Double + +

                                                                      + + Permalink + + +

                                                                      the measured information loss when this lattice entry applies

                                                                      +
                                                                    13. + + +

                                                                      + + final + def + + + ne(arg0: AnyRef): Boolean + +

                                                                      + + Permalink + + +
                                                                      Definition Classes
                                                                      AnyRef
                                                                      +
                                                                    14. + + +

                                                                      + + final + def + + + notify(): Unit + +

                                                                      + + Permalink + + +
                                                                      Definition Classes
                                                                      AnyRef
                                                                      +
                                                                    15. + + +

                                                                      + + final + def + + + notifyAll(): Unit + +

                                                                      + + Permalink + + +
                                                                      Definition Classes
                                                                      AnyRef
                                                                      +
                                                                    16. + + +

                                                                      + + + val + + + risk: Double + +

                                                                      + + Permalink + + +

                                                                      the measured de-identification risk when this lattice entry applies

                                                                      +
                                                                    17. + + +

                                                                      + + final + def + + + synchronized[T0](arg0: ⇒ T0): T0 + +

                                                                      + + Permalink + + +
                                                                      Definition Classes
                                                                      AnyRef
                                                                      +
                                                                    18. + + +

                                                                      + + final + def + + + wait(): Unit + +

                                                                      + + Permalink + + +
                                                                      Definition Classes
                                                                      AnyRef
                                                                      Annotations
                                                                      + @throws( + + ... + ) + +
                                                                      +
                                                                    19. + + +

                                                                      + + final + def + + + wait(arg0: Long, arg1: Int): Unit + +

                                                                      + + Permalink + + +
                                                                      Definition Classes
                                                                      AnyRef
                                                                      Annotations
                                                                      + @throws( + + ... + ) + +
                                                                      +
                                                                    20. + + +

                                                                      + + final + def + + + wait(arg0: Long): Unit + +

                                                                      + + Permalink + + +
                                                                      Definition Classes
                                                                      AnyRef
                                                                      Annotations
                                                                      + @throws( + + ... + ) + +
                                                                      +
                                                                    +
                                                                    + + + + +
                                                                    + +
                                                                    +
                                                                    +

                                                                    Inherited from Serializable

                                                                    +
                                                                    +

                                                                    Inherited from Serializable

                                                                    +
                                                                    +

                                                                    Inherited from Product

                                                                    +
                                                                    +

                                                                    Inherited from Equals

                                                                    +
                                                                    +

                                                                    Inherited from AnyRef

                                                                    +
                                                                    +

                                                                    Inherited from Any

                                                                    +
                                                                    + +
                                                                    + +
                                                                    +
                                                                    +

                                                                    Ungrouped

                                                                    + +
                                                                    +
                                                                    + +
                                                                    + +
                                                                    + + + + + + diff --git a/manual1903/api_reference/didentification/scaladocs/ksb/csle/didentification/interfaces/LatticeValue.html b/manual1903/api_reference/didentification/scaladocs/ksb/csle/didentification/interfaces/LatticeValue.html new file mode 100644 index 0000000000000000000000000000000000000000..9d81afe71f53b38279721ae06eec73d4f22d30de --- /dev/null +++ b/manual1903/api_reference/didentification/scaladocs/ksb/csle/didentification/interfaces/LatticeValue.html @@ -0,0 +1,554 @@ + + + + LatticeValue - KSB DEIDENTIFICATION Scala App Project 1.0-SNAPSHOT API - ksb.csle.didentification.interfaces.LatticeValue + + + + + + + + + + + + + + + +
                                                                    + Class +

                                                                    ksb.csle.didentification.interfaces

                                                                    +

                                                                    LatticeValue

                                                                    Related Doc: + package interfaces +

                                                                    + + Permalink + + +
                                                                    + +

                                                                    + + + case class + + + LatticeValue(columnIndex: Int, columnName: String, currentDepth: Int, maxDepth: Int, doStop: Boolean) extends Product with Serializable + +

                                                                    + +

                                                                    This case class indicates how many times to scrub the column +

                                                                    columnIndex

                                                                    the index of column

                                                                    columnName

                                                                    the name of column

                                                                    currentDepth

                                                                    how many times to scrub the column. i.e., currentDepth = 1 +means that it scrub the column one time

                                                                    maxDepth

                                                                    the possible number of scrub

                                                                    doStop

                                                                    continuously scrub the column or not. For example, if it is +sufficient to satisfy the privacy policy by only scrubing one time, scrubbing +the column two times is useless because it surely satisfy the privacy policy

                                                                    + Linear Supertypes +
                                                                    Serializable, Serializable, Product, Equals, AnyRef, Any
                                                                    +
                                                                    + + +
                                                                    +
                                                                    +
                                                                    + Ordering +
                                                                      + +
                                                                    1. Alphabetic
                                                                    2. +
                                                                    3. By Inheritance
                                                                    4. +
                                                                    +
                                                                    +
                                                                    + Inherited
                                                                    +
                                                                    +
                                                                      +
                                                                    1. LatticeValue
                                                                    2. Serializable
                                                                    3. Serializable
                                                                    4. Product
                                                                    5. Equals
                                                                    6. AnyRef
                                                                    7. Any
                                                                    8. +
                                                                    +
                                                                    + +
                                                                      +
                                                                    1. Hide All
                                                                    2. +
                                                                    3. Show All
                                                                    4. +
                                                                    +
                                                                    +
                                                                    + Visibility +
                                                                    1. Public
                                                                    2. All
                                                                    +
                                                                    +
                                                                    + +
                                                                    +
                                                                    +
                                                                    +

                                                                    Instance Constructors

                                                                    +
                                                                    1. + + +

                                                                      + + + new + + + LatticeValue(columnIndex: Int, columnName: String, currentDepth: Int, maxDepth: Int, doStop: Boolean) + +

                                                                      + + Permalink + + +

                                                                      columnIndex

                                                                      the index of column

                                                                      columnName

                                                                      the name of column

                                                                      currentDepth

                                                                      how many times to scrub the column. i.e., currentDepth = 1 +means that it scrub the column one time

                                                                      maxDepth

                                                                      the possible number of scrub

                                                                      doStop

                                                                      continuously scrub the column or not. For example, if it is +sufficient to satisfy the privacy policy by only scrubing one time, scrubbing +the column two times is useless because it surely satisfy the privacy policy

                                                                      +
                                                                    +
                                                                    + + + + + +
                                                                    +

                                                                    Value Members

                                                                    +
                                                                    1. + + +

                                                                      + + final + def + + + !=(arg0: Any): Boolean + +

                                                                      + + Permalink + + +
                                                                      Definition Classes
                                                                      AnyRef → Any
                                                                      +
                                                                    2. + + +

                                                                      + + final + def + + + ##(): Int + +

                                                                      + + Permalink + + +
                                                                      Definition Classes
                                                                      AnyRef → Any
                                                                      +
                                                                    3. + + +

                                                                      + + final + def + + + ==(arg0: Any): Boolean + +

                                                                      + + Permalink + + +
                                                                      Definition Classes
                                                                      AnyRef → Any
                                                                      +
                                                                    4. + + +

                                                                      + + final + def + + + asInstanceOf[T0]: T0 + +

                                                                      + + Permalink + + +
                                                                      Definition Classes
                                                                      Any
                                                                      +
                                                                    5. + + +

                                                                      + + + def + + + clone(): AnyRef + +

                                                                      + + Permalink + + +
                                                                      Attributes
                                                                      protected[java.lang]
                                                                      Definition Classes
                                                                      AnyRef
                                                                      Annotations
                                                                      + @throws( + + ... + ) + +
                                                                      +
                                                                    6. + + +

                                                                      + + + val + + + columnIndex: Int + +

                                                                      + + Permalink + + +

                                                                      the index of column

                                                                      +
                                                                    7. + + +

                                                                      + + + val + + + columnName: String + +

                                                                      + + Permalink + + +

                                                                      the name of column

                                                                      +
                                                                    8. + + +

                                                                      + + + val + + + currentDepth: Int + +

                                                                      + + Permalink + + +

                                                                      how many times to scrub the column.

                                                                      how many times to scrub the column. i.e., currentDepth = 1 +means that it scrub the column one time

                                                                      +
                                                                    9. + + +

                                                                      + + + val + + + doStop: Boolean + +

                                                                      + + Permalink + + +

                                                                      continuously scrub the column or not.

                                                                      continuously scrub the column or not. For example, if it is +sufficient to satisfy the privacy policy by only scrubing one time, scrubbing +the column two times is useless because it surely satisfy the privacy policy

                                                                      +
                                                                    10. + + +

                                                                      + + final + def + + + eq(arg0: AnyRef): Boolean + +

                                                                      + + Permalink + + +
                                                                      Definition Classes
                                                                      AnyRef
                                                                      +
                                                                    11. + + +

                                                                      + + + def + + + finalize(): Unit + +

                                                                      + + Permalink + + +
                                                                      Attributes
                                                                      protected[java.lang]
                                                                      Definition Classes
                                                                      AnyRef
                                                                      Annotations
                                                                      + @throws( + + classOf[java.lang.Throwable] + ) + +
                                                                      +
                                                                    12. + + +

                                                                      + + final + def + + + getClass(): Class[_] + +

                                                                      + + Permalink + + +
                                                                      Definition Classes
                                                                      AnyRef → Any
                                                                      +
                                                                    13. + + +

                                                                      + + final + def + + + isInstanceOf[T0]: Boolean + +

                                                                      + + Permalink + + +
                                                                      Definition Classes
                                                                      Any
                                                                      +
                                                                    14. + + +

                                                                      + + + val + + + maxDepth: Int + +

                                                                      + + Permalink + + +

                                                                      the possible number of scrub

                                                                      +
                                                                    15. + + +

                                                                      + + final + def + + + ne(arg0: AnyRef): Boolean + +

                                                                      + + Permalink + + +
                                                                      Definition Classes
                                                                      AnyRef
                                                                      +
                                                                    16. + + +

                                                                      + + final + def + + + notify(): Unit + +

                                                                      + + Permalink + + +
                                                                      Definition Classes
                                                                      AnyRef
                                                                      +
                                                                    17. + + +

                                                                      + + final + def + + + notifyAll(): Unit + +

                                                                      + + Permalink + + +
                                                                      Definition Classes
                                                                      AnyRef
                                                                      +
                                                                    18. + + +

                                                                      + + final + def + + + synchronized[T0](arg0: ⇒ T0): T0 + +

                                                                      + + Permalink + + +
                                                                      Definition Classes
                                                                      AnyRef
                                                                      +
                                                                    19. + + +

                                                                      + + final + def + + + wait(): Unit + +

                                                                      + + Permalink + + +
                                                                      Definition Classes
                                                                      AnyRef
                                                                      Annotations
                                                                      + @throws( + + ... + ) + +
                                                                      +
                                                                    20. + + +

                                                                      + + final + def + + + wait(arg0: Long, arg1: Int): Unit + +

                                                                      + + Permalink + + +
                                                                      Definition Classes
                                                                      AnyRef
                                                                      Annotations
                                                                      + @throws( + + ... + ) + +
                                                                      +
                                                                    21. + + +

                                                                      + + final + def + + + wait(arg0: Long): Unit + +

                                                                      + + Permalink + + +
                                                                      Definition Classes
                                                                      AnyRef
                                                                      Annotations
                                                                      + @throws( + + ... + ) + +
                                                                      +
                                                                    +
                                                                    + + + + +
                                                                    + +
                                                                    +
                                                                    +

                                                                    Inherited from Serializable

                                                                    +
                                                                    +

                                                                    Inherited from Serializable

                                                                    +
                                                                    +

                                                                    Inherited from Product

                                                                    +
                                                                    +

                                                                    Inherited from Equals

                                                                    +
                                                                    +

                                                                    Inherited from AnyRef

                                                                    +
                                                                    +

                                                                    Inherited from Any

                                                                    +
                                                                    + +
                                                                    + +
                                                                    +
                                                                    +

                                                                    Ungrouped

                                                                    + +
                                                                    +
                                                                    + +
                                                                    + +
                                                                    + + + + + + diff --git a/manual1903/api_reference/didentification/scaladocs/ksb/csle/didentification/interfaces/MethodString.html b/manual1903/api_reference/didentification/scaladocs/ksb/csle/didentification/interfaces/MethodString.html new file mode 100644 index 0000000000000000000000000000000000000000..05911c5614bc7cd63ddb3b433a93b495c1196e85 --- /dev/null +++ b/manual1903/api_reference/didentification/scaladocs/ksb/csle/didentification/interfaces/MethodString.html @@ -0,0 +1,504 @@ + + + + MethodString - KSB DEIDENTIFICATION Scala App Project 1.0-SNAPSHOT API - ksb.csle.didentification.interfaces.MethodString + + + + + + + + + + + + + + + +
                                                                    + Trait +

                                                                    ksb.csle.didentification.interfaces

                                                                    +

                                                                    MethodString

                                                                    Related Doc: + package interfaces +

                                                                    + + Permalink + + +
                                                                    + +

                                                                    + + + trait + + + MethodString extends AnyRef + +

                                                                    + +

                                                                    This trait provides the function to translate the given specific +methods to related strings. +

                                                                    + Linear Supertypes +
                                                                    AnyRef, Any
                                                                    +
                                                                    + Known Subclasses + +
                                                                    + + +
                                                                    +
                                                                    +
                                                                    + Ordering +
                                                                      + +
                                                                    1. Alphabetic
                                                                    2. +
                                                                    3. By Inheritance
                                                                    4. +
                                                                    +
                                                                    +
                                                                    + Inherited
                                                                    +
                                                                    +
                                                                      +
                                                                    1. MethodString
                                                                    2. AnyRef
                                                                    3. Any
                                                                    4. +
                                                                    +
                                                                    + +
                                                                      +
                                                                    1. Hide All
                                                                    2. +
                                                                    3. Show All
                                                                    4. +
                                                                    +
                                                                    +
                                                                    + Visibility +
                                                                    1. Public
                                                                    2. All
                                                                    +
                                                                    +
                                                                    + +
                                                                    +
                                                                    + + + + + + +
                                                                    +

                                                                    Value Members

                                                                    +
                                                                    1. + + +

                                                                      + + final + def + + + !=(arg0: Any): Boolean + +

                                                                      + + Permalink + + +
                                                                      Definition Classes
                                                                      AnyRef → Any
                                                                      +
                                                                    2. + + +

                                                                      + + final + def + + + ##(): Int + +

                                                                      + + Permalink + + +
                                                                      Definition Classes
                                                                      AnyRef → Any
                                                                      +
                                                                    3. + + +

                                                                      + + final + def + + + ==(arg0: Any): Boolean + +

                                                                      + + Permalink + + +
                                                                      Definition Classes
                                                                      AnyRef → Any
                                                                      +
                                                                    4. + + +

                                                                      + + final + def + + + asInstanceOf[T0]: T0 + +

                                                                      + + Permalink + + +
                                                                      Definition Classes
                                                                      Any
                                                                      +
                                                                    5. + + +

                                                                      + + + def + + + clone(): AnyRef + +

                                                                      + + Permalink + + +
                                                                      Attributes
                                                                      protected[java.lang]
                                                                      Definition Classes
                                                                      AnyRef
                                                                      Annotations
                                                                      + @throws( + + ... + ) + +
                                                                      +
                                                                    6. + + +

                                                                      + + final + def + + + eq(arg0: AnyRef): Boolean + +

                                                                      + + Permalink + + +
                                                                      Definition Classes
                                                                      AnyRef
                                                                      +
                                                                    7. + + +

                                                                      + + + def + + + equals(arg0: Any): Boolean + +

                                                                      + + Permalink + + +
                                                                      Definition Classes
                                                                      AnyRef → Any
                                                                      +
                                                                    8. + + +

                                                                      + + + def + + + finalize(): Unit + +

                                                                      + + Permalink + + +
                                                                      Attributes
                                                                      protected[java.lang]
                                                                      Definition Classes
                                                                      AnyRef
                                                                      Annotations
                                                                      + @throws( + + classOf[java.lang.Throwable] + ) + +
                                                                      +
                                                                    9. + + +

                                                                      + + final + def + + + getClass(): Class[_] + +

                                                                      + + Permalink + + +
                                                                      Definition Classes
                                                                      AnyRef → Any
                                                                      +
                                                                    10. + + +

                                                                      + + + def + + + getMethodString[T](method: T): String + +

                                                                      + + Permalink + + + +
                                                                    11. + + +

                                                                      + + + def + + + hashCode(): Int + +

                                                                      + + Permalink + + +
                                                                      Definition Classes
                                                                      AnyRef → Any
                                                                      +
                                                                    12. + + +

                                                                      + + final + def + + + isInstanceOf[T0]: Boolean + +

                                                                      + + Permalink + + +
                                                                      Definition Classes
                                                                      Any
                                                                      +
                                                                    13. + + +

                                                                      + + final + def + + + ne(arg0: AnyRef): Boolean + +

                                                                      + + Permalink + + +
                                                                      Definition Classes
                                                                      AnyRef
                                                                      +
                                                                    14. + + +

                                                                      + + final + def + + + notify(): Unit + +

                                                                      + + Permalink + + +
                                                                      Definition Classes
                                                                      AnyRef
                                                                      +
                                                                    15. + + +

                                                                      + + final + def + + + notifyAll(): Unit + +

                                                                      + + Permalink + + +
                                                                      Definition Classes
                                                                      AnyRef
                                                                      +
                                                                    16. + + +

                                                                      + + final + def + + + synchronized[T0](arg0: ⇒ T0): T0 + +

                                                                      + + Permalink + + +
                                                                      Definition Classes
                                                                      AnyRef
                                                                      +
                                                                    17. + + +

                                                                      + + + def + + + toString(): String + +

                                                                      + + Permalink + + +
                                                                      Definition Classes
                                                                      AnyRef → Any
                                                                      +
                                                                    18. + + +

                                                                      + + final + def + + + wait(): Unit + +

                                                                      + + Permalink + + +
                                                                      Definition Classes
                                                                      AnyRef
                                                                      Annotations
                                                                      + @throws( + + ... + ) + +
                                                                      +
                                                                    19. + + +

                                                                      + + final + def + + + wait(arg0: Long, arg1: Int): Unit + +

                                                                      + + Permalink + + +
                                                                      Definition Classes
                                                                      AnyRef
                                                                      Annotations
                                                                      + @throws( + + ... + ) + +
                                                                      +
                                                                    20. + + +

                                                                      + + final + def + + + wait(arg0: Long): Unit + +

                                                                      + + Permalink + + +
                                                                      Definition Classes
                                                                      AnyRef
                                                                      Annotations
                                                                      + @throws( + + ... + ) + +
                                                                      +
                                                                    +
                                                                    + + + + +
                                                                    + +
                                                                    +
                                                                    +

                                                                    Inherited from AnyRef

                                                                    +
                                                                    +

                                                                    Inherited from Any

                                                                    +
                                                                    + +
                                                                    + +
                                                                    +
                                                                    +

                                                                    Ungrouped

                                                                    + +
                                                                    +
                                                                    + +
                                                                    + +
                                                                    + + + + + + diff --git a/manual1903/api_reference/didentification/scaladocs/ksb/csle/didentification/interfaces/OutlierInfo.html b/manual1903/api_reference/didentification/scaladocs/ksb/csle/didentification/interfaces/OutlierInfo.html new file mode 100644 index 0000000000000000000000000000000000000000..b386e32654c2f0c21e45da1122aa8349fde64619 --- /dev/null +++ b/manual1903/api_reference/didentification/scaladocs/ksb/csle/didentification/interfaces/OutlierInfo.html @@ -0,0 +1,513 @@ + + + + OutlierInfo - KSB DEIDENTIFICATION Scala App Project 1.0-SNAPSHOT API - ksb.csle.didentification.interfaces.OutlierInfo + + + + + + + + + + + + + + + +
                                                                    + Class +

                                                                    ksb.csle.didentification.interfaces

                                                                    +

                                                                    OutlierInfo

                                                                    Related Doc: + package interfaces +

                                                                    + + Permalink + + +
                                                                    + +

                                                                    + + + case class + + + OutlierInfo(lower: Double, upper: Double, replace: String) extends Product with Serializable + +

                                                                    + +

                                                                    This case class contains the outlier information [lower, upper]. +The given value is beyond [lower, upper], it is considered as outlier, +which may be replaced by the 'replace' value. +

                                                                    lower

                                                                    the lower bound of this interval

                                                                    upper

                                                                    the upper bound of this interval

                                                                    + Linear Supertypes +
                                                                    Serializable, Serializable, Product, Equals, AnyRef, Any
                                                                    +
                                                                    + + +
                                                                    +
                                                                    +
                                                                    + Ordering +
                                                                      + +
                                                                    1. Alphabetic
                                                                    2. +
                                                                    3. By Inheritance
                                                                    4. +
                                                                    +
                                                                    +
                                                                    + Inherited
                                                                    +
                                                                    +
                                                                      +
                                                                    1. OutlierInfo
                                                                    2. Serializable
                                                                    3. Serializable
                                                                    4. Product
                                                                    5. Equals
                                                                    6. AnyRef
                                                                    7. Any
                                                                    8. +
                                                                    +
                                                                    + +
                                                                      +
                                                                    1. Hide All
                                                                    2. +
                                                                    3. Show All
                                                                    4. +
                                                                    +
                                                                    +
                                                                    + Visibility +
                                                                    1. Public
                                                                    2. All
                                                                    +
                                                                    +
                                                                    + +
                                                                    +
                                                                    +
                                                                    +

                                                                    Instance Constructors

                                                                    +
                                                                    1. + + +

                                                                      + + + new + + + OutlierInfo(lower: Double, upper: Double, replace: String) + +

                                                                      + + Permalink + + +

                                                                      lower

                                                                      the lower bound of this interval

                                                                      upper

                                                                      the upper bound of this interval

                                                                      +
                                                                    +
                                                                    + + + + + +
                                                                    +

                                                                    Value Members

                                                                    +
                                                                    1. + + +

                                                                      + + final + def + + + !=(arg0: Any): Boolean + +

                                                                      + + Permalink + + +
                                                                      Definition Classes
                                                                      AnyRef → Any
                                                                      +
                                                                    2. + + +

                                                                      + + final + def + + + ##(): Int + +

                                                                      + + Permalink + + +
                                                                      Definition Classes
                                                                      AnyRef → Any
                                                                      +
                                                                    3. + + +

                                                                      + + final + def + + + ==(arg0: Any): Boolean + +

                                                                      + + Permalink + + +
                                                                      Definition Classes
                                                                      AnyRef → Any
                                                                      +
                                                                    4. + + +

                                                                      + + final + def + + + asInstanceOf[T0]: T0 + +

                                                                      + + Permalink + + +
                                                                      Definition Classes
                                                                      Any
                                                                      +
                                                                    5. + + +

                                                                      + + + def + + + clone(): AnyRef + +

                                                                      + + Permalink + + +
                                                                      Attributes
                                                                      protected[java.lang]
                                                                      Definition Classes
                                                                      AnyRef
                                                                      Annotations
                                                                      + @throws( + + ... + ) + +
                                                                      +
                                                                    6. + + +

                                                                      + + final + def + + + eq(arg0: AnyRef): Boolean + +

                                                                      + + Permalink + + +
                                                                      Definition Classes
                                                                      AnyRef
                                                                      +
                                                                    7. + + +

                                                                      + + + def + + + finalize(): Unit + +

                                                                      + + Permalink + + +
                                                                      Attributes
                                                                      protected[java.lang]
                                                                      Definition Classes
                                                                      AnyRef
                                                                      Annotations
                                                                      + @throws( + + classOf[java.lang.Throwable] + ) + +
                                                                      +
                                                                    8. + + +

                                                                      + + final + def + + + getClass(): Class[_] + +

                                                                      + + Permalink + + +
                                                                      Definition Classes
                                                                      AnyRef → Any
                                                                      +
                                                                    9. + + +

                                                                      + + final + def + + + isInstanceOf[T0]: Boolean + +

                                                                      + + Permalink + + +
                                                                      Definition Classes
                                                                      Any
                                                                      +
                                                                    10. + + +

                                                                      + + + val + + + lower: Double + +

                                                                      + + Permalink + + +

                                                                      the lower bound of this interval

                                                                      +
                                                                    11. + + +

                                                                      + + final + def + + + ne(arg0: AnyRef): Boolean + +

                                                                      + + Permalink + + +
                                                                      Definition Classes
                                                                      AnyRef
                                                                      +
                                                                    12. + + +

                                                                      + + final + def + + + notify(): Unit + +

                                                                      + + Permalink + + +
                                                                      Definition Classes
                                                                      AnyRef
                                                                      +
                                                                    13. + + +

                                                                      + + final + def + + + notifyAll(): Unit + +

                                                                      + + Permalink + + +
                                                                      Definition Classes
                                                                      AnyRef
                                                                      +
                                                                    14. + + +

                                                                      + + + val + + + replace: String + +

                                                                      + + Permalink + + + +
                                                                    15. + + +

                                                                      + + final + def + + + synchronized[T0](arg0: ⇒ T0): T0 + +

                                                                      + + Permalink + + +
                                                                      Definition Classes
                                                                      AnyRef
                                                                      +
                                                                    16. + + +

                                                                      + + + val + + + upper: Double + +

                                                                      + + Permalink + + +

                                                                      the upper bound of this interval

                                                                      +
                                                                    17. + + +

                                                                      + + final + def + + + wait(): Unit + +

                                                                      + + Permalink + + +
                                                                      Definition Classes
                                                                      AnyRef
                                                                      Annotations
                                                                      + @throws( + + ... + ) + +
                                                                      +
                                                                    18. + + +

                                                                      + + final + def + + + wait(arg0: Long, arg1: Int): Unit + +

                                                                      + + Permalink + + +
                                                                      Definition Classes
                                                                      AnyRef
                                                                      Annotations
                                                                      + @throws( + + ... + ) + +
                                                                      +
                                                                    19. + + +

                                                                      + + final + def + + + wait(arg0: Long): Unit + +

                                                                      + + Permalink + + +
                                                                      Definition Classes
                                                                      AnyRef
                                                                      Annotations
                                                                      + @throws( + + ... + ) + +
                                                                      +
                                                                    +
                                                                    + + + + +
                                                                    + +
                                                                    +
                                                                    +

                                                                    Inherited from Serializable

                                                                    +
                                                                    +

                                                                    Inherited from Serializable

                                                                    +
                                                                    +

                                                                    Inherited from Product

                                                                    +
                                                                    +

                                                                    Inherited from Equals

                                                                    +
                                                                    +

                                                                    Inherited from AnyRef

                                                                    +
                                                                    +

                                                                    Inherited from Any

                                                                    +
                                                                    + +
                                                                    + +
                                                                    +
                                                                    +

                                                                    Ungrouped

                                                                    + +
                                                                    +
                                                                    + +
                                                                    + +
                                                                    + + + + + + diff --git a/manual1903/api_reference/didentification/scaladocs/ksb/csle/didentification/interfaces/Statistics.html b/manual1903/api_reference/didentification/scaladocs/ksb/csle/didentification/interfaces/Statistics.html new file mode 100644 index 0000000000000000000000000000000000000000..3edea636abbb85e0ed1387777e4f09981c1e7718 --- /dev/null +++ b/manual1903/api_reference/didentification/scaladocs/ksb/csle/didentification/interfaces/Statistics.html @@ -0,0 +1,811 @@ + + + + Statistics - KSB DEIDENTIFICATION Scala App Project 1.0-SNAPSHOT API - ksb.csle.didentification.interfaces.Statistics + + + + + + + + + + + + + + + +
                                                                    + Trait +

                                                                    ksb.csle.didentification.interfaces

                                                                    +

                                                                    Statistics

                                                                    Related Doc: + package interfaces +

                                                                    + + Permalink + + +
                                                                    + +

                                                                    + + + trait + + + Statistics extends DataFrameCheck + +

                                                                    + +

                                                                    This trait provides the statistics related functions such as +min, max, avg, std, and # of records. +

                                                                    + Linear Supertypes +
                                                                    DataFrameCheck, AnyRef, Any
                                                                    +
                                                                    + Known Subclasses + +
                                                                    + + +
                                                                    +
                                                                    +
                                                                    + Ordering +
                                                                      + +
                                                                    1. Alphabetic
                                                                    2. +
                                                                    3. By Inheritance
                                                                    4. +
                                                                    +
                                                                    +
                                                                    + Inherited
                                                                    +
                                                                    +
                                                                      +
                                                                    1. Statistics
                                                                    2. DataFrameCheck
                                                                    3. AnyRef
                                                                    4. Any
                                                                    5. +
                                                                    +
                                                                    + +
                                                                      +
                                                                    1. Hide All
                                                                    2. +
                                                                    3. Show All
                                                                    4. +
                                                                    +
                                                                    +
                                                                    + Visibility +
                                                                    1. Public
                                                                    2. All
                                                                    +
                                                                    +
                                                                    + +
                                                                    +
                                                                    + + + + + + +
                                                                    +

                                                                    Value Members

                                                                    +
                                                                    1. + + +

                                                                      + + final + def + + + !=(arg0: Any): Boolean + +

                                                                      + + Permalink + + +
                                                                      Definition Classes
                                                                      AnyRef → Any
                                                                      +
                                                                    2. + + +

                                                                      + + final + def + + + ##(): Int + +

                                                                      + + Permalink + + +
                                                                      Definition Classes
                                                                      AnyRef → Any
                                                                      +
                                                                    3. + + +

                                                                      + + final + def + + + ==(arg0: Any): Boolean + +

                                                                      + + Permalink + + +
                                                                      Definition Classes
                                                                      AnyRef → Any
                                                                      +
                                                                    4. + + +

                                                                      + + final + def + + + asInstanceOf[T0]: T0 + +

                                                                      + + Permalink + + +
                                                                      Definition Classes
                                                                      Any
                                                                      +
                                                                    5. + + +

                                                                      + + + def + + + clone(): AnyRef + +

                                                                      + + Permalink + + +
                                                                      Attributes
                                                                      protected[java.lang]
                                                                      Definition Classes
                                                                      AnyRef
                                                                      Annotations
                                                                      + @throws( + + ... + ) + +
                                                                      +
                                                                    6. + + +

                                                                      + + final + def + + + eq(arg0: AnyRef): Boolean + +

                                                                      + + Permalink + + +
                                                                      Definition Classes
                                                                      AnyRef
                                                                      +
                                                                    7. + + +

                                                                      + + + def + + + equals(arg0: Any): Boolean + +

                                                                      + + Permalink + + +
                                                                      Definition Classes
                                                                      AnyRef → Any
                                                                      +
                                                                    8. + + +

                                                                      + + + def + + + finalize(): Unit + +

                                                                      + + Permalink + + +
                                                                      Attributes
                                                                      protected[java.lang]
                                                                      Definition Classes
                                                                      AnyRef
                                                                      Annotations
                                                                      + @throws( + + classOf[java.lang.Throwable] + ) + +
                                                                      +
                                                                    9. + + +

                                                                      + + + def + + + getAvgValue(values: List[Long]): Double + +

                                                                      + + Permalink + + +

                                                                      Gets the average value among the given list of values +

                                                                      Gets the average value among the given list of values +

                                                                      values

                                                                      the list of values

                                                                      returns

                                                                      Double The average value

                                                                      Annotations
                                                                      + @throws( + + ... + ) + +
                                                                      +
                                                                    10. + + +

                                                                      + + + def + + + getAvgValue(src: DataFrame, columnName: String): String + +

                                                                      + + Permalink + + +

                                                                      Gets the average value among this column +

                                                                      Gets the average value among this column +

                                                                      src

                                                                      Dataframe

                                                                      columnName

                                                                      Column

                                                                      returns

                                                                      String The string type of average value

                                                                      +
                                                                    11. + + +

                                                                      + + final + def + + + getClass(): Class[_] + +

                                                                      + + Permalink + + +
                                                                      Definition Classes
                                                                      AnyRef → Any
                                                                      +
                                                                    12. + + +

                                                                      + + + def + + + getColumnName(src: DataFrame, columnId: Int): String + +

                                                                      + + Permalink + + +

                                                                      Returns column name from src dataframe +specified by the column ID defined by protobuf.

                                                                      Returns column name from src dataframe +specified by the column ID defined by protobuf. +

                                                                      src

                                                                      dataframe to get names of columns.

                                                                      columnId

                                                                      column ID to anonymize.

                                                                      returns

                                                                      String.

                                                                      Definition Classes
                                                                      DataFrameCheck
                                                                      +
                                                                    13. + + +

                                                                      + + + def + + + getColumnNames(src: DataFrame, columnIDs: Array[Int]): Array[String] + +

                                                                      + + Permalink + + +

                                                                      Returns column names from src dataframe specified by column IDs.

                                                                      Returns column names from src dataframe specified by column IDs. +Note that the column with invalid IDs are ignored. +

                                                                      src

                                                                      dataframe to get names of columns.

                                                                      returns

                                                                      Array[String].

                                                                      Definition Classes
                                                                      DataFrameCheck
                                                                      +
                                                                    14. + + +

                                                                      + + + def + + + getCountValue(values: List[Long]): Double + +

                                                                      + + Permalink + + +

                                                                      Gets the number of tuples among he given list of values +

                                                                      Gets the number of tuples among he given list of values +

                                                                      returns

                                                                      Double The number of tuples

                                                                      +
                                                                    15. + + +

                                                                      + + + def + + + getCountValue(src: DataFrame, columnName: String): String + +

                                                                      + + Permalink + + +

                                                                      Gets the number of tuples among this column +

                                                                      Gets the number of tuples among this column +

                                                                      src

                                                                      Dataframe

                                                                      columnName

                                                                      Column

                                                                      returns

                                                                      Double The number of tuples

                                                                      +
                                                                    16. + + +

                                                                      + + + def + + + getMaxValue(values: List[Double]): Double + +

                                                                      + + Permalink + + +

                                                                      Gets the maximum value among the given list of values +

                                                                      Gets the maximum value among the given list of values +

                                                                      values

                                                                      the list of values

                                                                      returns

                                                                      Double Maximum value

                                                                      +
                                                                    17. + + +

                                                                      + + + def + + + getMaxValue(src: DataFrame, columnName: String): String + +

                                                                      + + Permalink + + +

                                                                      Gets the maximum value among this column +

                                                                      Gets the maximum value among this column +

                                                                      src

                                                                      Dataframe

                                                                      columnName

                                                                      Column

                                                                      returns

                                                                      String the string type of Maximum value

                                                                      +
                                                                    18. + + +

                                                                      + + + def + + + getMinValue(values: List[Double]): Double + +

                                                                      + + Permalink + + +

                                                                      Gets the minimum value among the given list of values +

                                                                      Gets the minimum value among the given list of values +

                                                                      values

                                                                      the list of values

                                                                      returns

                                                                      Double Minimum value

                                                                      +
                                                                    19. + + +

                                                                      + + + def + + + getMinValue(src: DataFrame, columnName: String): String + +

                                                                      + + Permalink + + +

                                                                      Gets the minimum value among this column +

                                                                      Gets the minimum value among this column +

                                                                      src

                                                                      Dataframe

                                                                      columnName

                                                                      Column

                                                                      returns

                                                                      String the string type of Minimum value

                                                                      +
                                                                    20. + + +

                                                                      + + + def + + + getQuasiColumnIDs(fieldInfos: Array[FieldInfo]): Array[Int] + +

                                                                      + + Permalink + + +
                                                                      Definition Classes
                                                                      DataFrameCheck
                                                                      +
                                                                    21. + + +

                                                                      + + + def + + + getSensColumnIDs(fieldInfos: Array[FieldInfo]): Array[Int] + +

                                                                      + + Permalink + + +
                                                                      Definition Classes
                                                                      DataFrameCheck
                                                                      +
                                                                    22. + + +

                                                                      + + + def + + + getStdValue(values: List[Long]): Double + +

                                                                      + + Permalink + + +

                                                                      Gets the average value among the given list of values +

                                                                      Gets the average value among the given list of values +

                                                                      values

                                                                      the list of values

                                                                      returns

                                                                      Double The average value

                                                                      +
                                                                    23. + + +

                                                                      + + + def + + + getStdValue(src: DataFrame, columnName: String): String + +

                                                                      + + Permalink + + +

                                                                      Gets the standard deviation value among this column +

                                                                      Gets the standard deviation value among this column +

                                                                      src

                                                                      Dataframe

                                                                      columnName

                                                                      Column

                                                                      returns

                                                                      String The string type of standard deviation value

                                                                      +
                                                                    24. + + +

                                                                      + + + def + + + getValidColumnIDs(src: DataFrame, columnIDs: Array[Int]): Array[Int] + +

                                                                      + + Permalink + + +
                                                                      Definition Classes
                                                                      DataFrameCheck
                                                                      +
                                                                    25. + + +

                                                                      + + + def + + + hashCode(): Int + +

                                                                      + + Permalink + + +
                                                                      Definition Classes
                                                                      AnyRef → Any
                                                                      +
                                                                    26. + + +

                                                                      + + final + def + + + isInstanceOf[T0]: Boolean + +

                                                                      + + Permalink + + +
                                                                      Definition Classes
                                                                      Any
                                                                      +
                                                                    27. + + +

                                                                      + + + def + + + isValidColumnID(src: DataFrame, columnID: Int): Boolean + +

                                                                      + + Permalink + + +

                                                                      Checks the given column ID is valid.

                                                                      Checks the given column ID is valid. +

                                                                      src

                                                                      dataframe to get names of columns.

                                                                      returns

                                                                      Boolean.

                                                                      Definition Classes
                                                                      DataFrameCheck
                                                                      +
                                                                    28. + + +

                                                                      + + + def + + + isValidColumnName(src: DataFrame, columnName: String): Boolean + +

                                                                      + + Permalink + + +

                                                                      Checks the given column Name is valid.

                                                                      Checks the given column Name is valid. +

                                                                      src

                                                                      dataframe to get names of columns.

                                                                      columnName

                                                                      column Name.

                                                                      returns

                                                                      Boolean.

                                                                      Definition Classes
                                                                      DataFrameCheck
                                                                      +
                                                                    29. + + +

                                                                      + + final + def + + + ne(arg0: AnyRef): Boolean + +

                                                                      + + Permalink + + +
                                                                      Definition Classes
                                                                      AnyRef
                                                                      +
                                                                    30. + + +

                                                                      + + final + def + + + notify(): Unit + +

                                                                      + + Permalink + + +
                                                                      Definition Classes
                                                                      AnyRef
                                                                      +
                                                                    31. + + +

                                                                      + + final + def + + + notifyAll(): Unit + +

                                                                      + + Permalink + + +
                                                                      Definition Classes
                                                                      AnyRef
                                                                      +
                                                                    32. + + +

                                                                      + + final + def + + + synchronized[T0](arg0: ⇒ T0): T0 + +

                                                                      + + Permalink + + +
                                                                      Definition Classes
                                                                      AnyRef
                                                                      +
                                                                    33. + + +

                                                                      + + + def + + + toString(): String + +

                                                                      + + Permalink + + +
                                                                      Definition Classes
                                                                      AnyRef → Any
                                                                      +
                                                                    34. + + +

                                                                      + + final + def + + + wait(): Unit + +

                                                                      + + Permalink + + +
                                                                      Definition Classes
                                                                      AnyRef
                                                                      Annotations
                                                                      + @throws( + + ... + ) + +
                                                                      +
                                                                    35. + + +

                                                                      + + final + def + + + wait(arg0: Long, arg1: Int): Unit + +

                                                                      + + Permalink + + +
                                                                      Definition Classes
                                                                      AnyRef
                                                                      Annotations
                                                                      + @throws( + + ... + ) + +
                                                                      +
                                                                    36. + + +

                                                                      + + final + def + + + wait(arg0: Long): Unit + +

                                                                      + + Permalink + + +
                                                                      Definition Classes
                                                                      AnyRef
                                                                      Annotations
                                                                      + @throws( + + ... + ) + +
                                                                      +
                                                                    +
                                                                    + + + + +
                                                                    + +
                                                                    +
                                                                    +

                                                                    Inherited from DataFrameCheck

                                                                    +
                                                                    +

                                                                    Inherited from AnyRef

                                                                    +
                                                                    +

                                                                    Inherited from Any

                                                                    +
                                                                    + +
                                                                    + +
                                                                    +
                                                                    +

                                                                    Ungrouped

                                                                    + +
                                                                    +
                                                                    + +
                                                                    + +
                                                                    + + + + + + diff --git a/manual1903/api_reference/didentification/scaladocs/ksb/csle/didentification/interfaces/package.html b/manual1903/api_reference/didentification/scaladocs/ksb/csle/didentification/interfaces/package.html new file mode 100644 index 0000000000000000000000000000000000000000..c4fa6fa53b3a5d251e113afa9d77d0a2f9456640 --- /dev/null +++ b/manual1903/api_reference/didentification/scaladocs/ksb/csle/didentification/interfaces/package.html @@ -0,0 +1,337 @@ + + + + interfaces - KSB DEIDENTIFICATION Scala App Project 1.0-SNAPSHOT API - ksb.csle.didentification.interfaces + + + + + + + + + + + + + + + +
                                                                    + Package +

                                                                    ksb.csle.didentification

                                                                    +

                                                                    interfaces

                                                                    + + Permalink + + +
                                                                    + +

                                                                    + + + package + + + interfaces + +

                                                                    + +
                                                                    + + +
                                                                    +
                                                                    + + +
                                                                    + Visibility +
                                                                    1. Public
                                                                    2. All
                                                                    +
                                                                    +
                                                                    + +
                                                                    +
                                                                    + + +
                                                                    +

                                                                    Type Members

                                                                    +
                                                                    1. + + +

                                                                      + + + case class + + + ColumnHierarchy(hierarhcyDepth: Map[Int, HierarchyEntries]) extends Product with Serializable + +

                                                                      + + Permalink + + +

                                                                      This case class contains the list of hierarchical information of +a column as a map [the number of generalization (depth), generalized +data w.r.t.

                                                                      This case class contains the list of hierarchical information of +a column as a map [the number of generalization (depth), generalized +data w.r.t. to depth]. +

                                                                      hierarhcyDepth

                                                                      the information containing the hierarchical info +w.r.t. the given depth

                                                                      +
                                                                    2. + + +

                                                                      + + + trait + + + DataFrameCheck extends AnyRef + +

                                                                      + + Permalink + + +

                                                                      This trait provides some functions to get specific columns or +check the given column names or IDs of dataframe are valid or not.

                                                                      +
                                                                    3. + + +

                                                                      + + + trait + + + DeAnonymizer extends AnyRef + +

                                                                      + + Permalink + + + +
                                                                    4. + + +

                                                                      + + + case class + + + EquivalenceClass(eqIdentifiers: Seq[Any], count: Long, latticeEntry: List[LatticeValue]) extends Product with Serializable + +

                                                                      + + Permalink + + +

                                                                      This case class manages the information about the equivalence class.

                                                                      This case class manages the information about the equivalence class. +It contains its sequence of quasi-identifiers, the number of records, +and its lattice entry to get this equivalence class. +

                                                                      eqIdentifiers

                                                                      The sequence of quasi-identifiers in this EC

                                                                      count

                                                                      The number of records in this EC

                                                                      latticeEntry

                                                                      The lattice entry to get this EC

                                                                      +
                                                                    5. + + +

                                                                      + + + case class + + + HierarchyEntries(depth: Int, hierarchyEntry: Map[String, String]) extends Product with Serializable + +

                                                                      + + Permalink + + +

                                                                      The hierarchical information is changed by how many times the algorithm +scrubs (or generalizes) the original data.

                                                                      The hierarchical information is changed by how many times the algorithm +scrubs (or generalizes) the original data. This case class describes this +information of a column with respect to the number (or depth) of scrubbing +the data. [depth, original data => generalized data w.r.t. depth]. +

                                                                      depth

                                                                      the number of scrubbing the data

                                                                      hierarchyEntry

                                                                      the information containing the hierarchical info

                                                                      +
                                                                    6. + + +

                                                                      + + + case class + + + InformationLossBound(loss: Double, lowerBound: Double, relativeLoss: Double, relativelowerBound: Double) extends Product with Serializable + +

                                                                      + + Permalink + + +

                                                                      This case class provides some information about the loss occurred by +the de-identification.

                                                                      This case class provides some information about the loss occurred by +the de-identification. +

                                                                      loss

                                                                      Pure information loss, but not normalized

                                                                      lowerBound

                                                                      The lower bound of pure information loss

                                                                      relativeLoss

                                                                      Relative loss to original data

                                                                      +
                                                                    7. + + +

                                                                      + + + case class + + + Interval(lower: Double, upper: Double) extends Product with Serializable + +

                                                                      + + Permalink + + +

                                                                      This case class contains the interval information [lower, upper].

                                                                      This case class contains the interval information [lower, upper]. +

                                                                      lower

                                                                      the lower bound of this interval

                                                                      upper

                                                                      the upper bound of this interval

                                                                      +
                                                                    8. + + +

                                                                      + + + case class + + + LatticeEntry(entry: List[LatticeValue], anonymity: Double, loss: Double, risk: Double) extends Product with Serializable + +

                                                                      + + Permalink + + +

                                                                      The lattice value indicates how to scrub the specific single column.

                                                                      The lattice value indicates how to scrub the specific single column. +Generally, there are many quasi-identifiers in the data set, so it may +be required to manage those quasi-identifiers. Lattice entry manages them. +

                                                                      entry

                                                                      the list of lattice value

                                                                      loss

                                                                      the measured information loss when this lattice entry applies

                                                                      risk

                                                                      the measured de-identification risk when this lattice entry applies

                                                                      +
                                                                    9. + + +

                                                                      + + + case class + + + LatticeValue(columnIndex: Int, columnName: String, currentDepth: Int, maxDepth: Int, doStop: Boolean) extends Product with Serializable + +

                                                                      + + Permalink + + +

                                                                      This case class indicates how many times to scrub the column +

                                                                      This case class indicates how many times to scrub the column +

                                                                      columnIndex

                                                                      the index of column

                                                                      columnName

                                                                      the name of column

                                                                      currentDepth

                                                                      how many times to scrub the column. i.e., currentDepth = 1 +means that it scrub the column one time

                                                                      maxDepth

                                                                      the possible number of scrub

                                                                      doStop

                                                                      continuously scrub the column or not. For example, if it is +sufficient to satisfy the privacy policy by only scrubing one time, scrubbing +the column two times is useless because it surely satisfy the privacy policy

                                                                      +
                                                                    10. + + +

                                                                      + + + trait + + + MethodString extends AnyRef + +

                                                                      + + Permalink + + +

                                                                      This trait provides the function to translate the given specific +methods to related strings.

                                                                      +
                                                                    11. + + +

                                                                      + + + case class + + + OutlierInfo(lower: Double, upper: Double, replace: String) extends Product with Serializable + +

                                                                      + + Permalink + + +

                                                                      This case class contains the outlier information [lower, upper].

                                                                      This case class contains the outlier information [lower, upper]. +The given value is beyond [lower, upper], it is considered as outlier, +which may be replaced by the 'replace' value. +

                                                                      lower

                                                                      the lower bound of this interval

                                                                      upper

                                                                      the upper bound of this interval

                                                                      +
                                                                    12. + + +

                                                                      + + + trait + + + Statistics extends DataFrameCheck + +

                                                                      + + Permalink + + +

                                                                      This trait provides the statistics related functions such as +min, max, avg, std, and # of records.

                                                                      +
                                                                    +
                                                                    + + + + + + + + +
                                                                    + +
                                                                    + + +
                                                                    + +
                                                                    +
                                                                    +

                                                                    Ungrouped

                                                                    + +
                                                                    +
                                                                    + +
                                                                    + +
                                                                    + + + + + + diff --git a/manual1903/api_reference/didentification/scaladocs/ksb/csle/didentification/package.html b/manual1903/api_reference/didentification/scaladocs/ksb/csle/didentification/package.html new file mode 100644 index 0000000000000000000000000000000000000000..c367d5b3e7281551cb204c51b17e86e49c38b09d --- /dev/null +++ b/manual1903/api_reference/didentification/scaladocs/ksb/csle/didentification/package.html @@ -0,0 +1,229 @@ + + + + didentification - KSB DEIDENTIFICATION Scala App Project 1.0-SNAPSHOT API - ksb.csle.didentification + + + + + + + + + + + + + + + +
                                                                    + Package +

                                                                    ksb.csle

                                                                    +

                                                                    didentification

                                                                    + + Permalink + + +
                                                                    + +

                                                                    + + + package + + + didentification + +

                                                                    + +
                                                                    + Linear Supertypes +
                                                                    AnyRef, Any
                                                                    +
                                                                    + + +
                                                                    +
                                                                    +
                                                                    + Ordering +
                                                                      + +
                                                                    1. Alphabetic
                                                                    2. +
                                                                    3. By Inheritance
                                                                    4. +
                                                                    +
                                                                    +
                                                                    + Inherited
                                                                    +
                                                                    +
                                                                      +
                                                                    1. didentification
                                                                    2. AnyRef
                                                                    3. Any
                                                                    4. +
                                                                    +
                                                                    + +
                                                                      +
                                                                    1. Hide All
                                                                    2. +
                                                                    3. Show All
                                                                    4. +
                                                                    +
                                                                    +
                                                                    + Visibility +
                                                                    1. Public
                                                                    2. All
                                                                    +
                                                                    +
                                                                    + +
                                                                    +
                                                                    + + + + + + +
                                                                    +

                                                                    Value Members

                                                                    +
                                                                    1. + + +

                                                                      + + + package + + + exceptions + +

                                                                      + + Permalink + + + +
                                                                    2. + + +

                                                                      + + + package + + + interfaces + +

                                                                      + + Permalink + + + +
                                                                    3. + + +

                                                                      + + + package + + + pipe + +

                                                                      + + Permalink + + + +
                                                                    4. + + +

                                                                      + + + package + + + privacy + +

                                                                      + + Permalink + + + +
                                                                    5. + + +

                                                                      + + + package + + + utilities + +

                                                                      + + Permalink + + + +
                                                                    6. + + +

                                                                      + + + package + + + verification + +

                                                                      + + Permalink + + + +
                                                                    +
                                                                    + + + + +
                                                                    + +
                                                                    +
                                                                    +

                                                                    Inherited from AnyRef

                                                                    +
                                                                    +

                                                                    Inherited from Any

                                                                    +
                                                                    + +
                                                                    + +
                                                                    +
                                                                    +

                                                                    Ungrouped

                                                                    + +
                                                                    +
                                                                    + +
                                                                    + +
                                                                    + + + + + + diff --git a/manual1903/api_reference/didentification/scaladocs/ksb/csle/didentification/pipe/package.html b/manual1903/api_reference/didentification/scaladocs/ksb/csle/didentification/pipe/package.html new file mode 100644 index 0000000000000000000000000000000000000000..be3fa6afd43f6814ce03bcb1b7d67d791b1cba77 --- /dev/null +++ b/manual1903/api_reference/didentification/scaladocs/ksb/csle/didentification/pipe/package.html @@ -0,0 +1,118 @@ + + + + pipe - KSB DEIDENTIFICATION Scala App Project 1.0-SNAPSHOT API - ksb.csle.didentification.pipe + + + + + + + + + + + + + + + +
                                                                    + Package +

                                                                    ksb.csle.didentification

                                                                    +

                                                                    pipe

                                                                    + + Permalink + + +
                                                                    + +

                                                                    + + + package + + + pipe + +

                                                                    + +
                                                                    + + +
                                                                    +
                                                                    + + +
                                                                    + Visibility +
                                                                    1. Public
                                                                    2. All
                                                                    +
                                                                    +
                                                                    + +
                                                                    +
                                                                    + + + + + + +
                                                                    +

                                                                    Value Members

                                                                    +
                                                                    1. + + +

                                                                      + + + package + + + preprocessing + +

                                                                      + + Permalink + + + +
                                                                    +
                                                                    + + + + +
                                                                    + +
                                                                    + + +
                                                                    + +
                                                                    +
                                                                    +

                                                                    Ungrouped

                                                                    + +
                                                                    +
                                                                    + +
                                                                    + +
                                                                    + + + + + + diff --git a/manual1903/api_reference/didentification/scaladocs/ksb/csle/didentification/pipe/preprocessing/AddZoneIDColumnOperator.html b/manual1903/api_reference/didentification/scaladocs/ksb/csle/didentification/pipe/preprocessing/AddZoneIDColumnOperator.html new file mode 100644 index 0000000000000000000000000000000000000000..93a92085126a67459d526a88c3492cf128bd99a8 --- /dev/null +++ b/manual1903/api_reference/didentification/scaladocs/ksb/csle/didentification/pipe/preprocessing/AddZoneIDColumnOperator.html @@ -0,0 +1,603 @@ + + + + AddZoneIDColumnOperator - KSB DEIDENTIFICATION Scala App Project 1.0-SNAPSHOT API - ksb.csle.didentification.pipe.preprocessing.AddZoneIDColumnOperator + + + + + + + + + + + + + + + +
                                                                    + Class +

                                                                    ksb.csle.didentification.pipe.preprocessing

                                                                    +

                                                                    AddZoneIDColumnOperator

                                                                    Related Doc: + package preprocessing +

                                                                    + + Permalink + + +
                                                                    + +

                                                                    + + + class + + + AddZoneIDColumnOperator extends BaseSimplePipeOperator[DataFrame, StreamPipeOperatorInfo, SparkSession] + +

                                                                    + +

                                                                    This class implements the column manipulation module which manipulates the +contents type +

                                                                    + Linear Supertypes +
                                                                    BaseSimplePipeOperator[DataFrame, StreamPipeOperatorInfo, SparkSession], BaseGenericPipeOperator[(DataFrame) ⇒ DataFrame, DataFrame, DataFrame, StreamPipeOperatorInfo, SparkSession], BaseGenericMutantOperator[StreamPipeOperatorInfo, (DataFrame) ⇒ DataFrame, (DataFrame) ⇒ DataFrame], BaseDoer, Logging, Serializable, Serializable, AnyRef, Any
                                                                    +
                                                                    + + +
                                                                    +
                                                                    +
                                                                    + Ordering +
                                                                      + +
                                                                    1. Alphabetic
                                                                    2. +
                                                                    3. By Inheritance
                                                                    4. +
                                                                    +
                                                                    +
                                                                    + Inherited
                                                                    +
                                                                    +
                                                                      +
                                                                    1. AddZoneIDColumnOperator
                                                                    2. BaseSimplePipeOperator
                                                                    3. BaseGenericPipeOperator
                                                                    4. BaseGenericMutantOperator
                                                                    5. BaseDoer
                                                                    6. Logging
                                                                    7. Serializable
                                                                    8. Serializable
                                                                    9. AnyRef
                                                                    10. Any
                                                                    11. +
                                                                    +
                                                                    + +
                                                                      +
                                                                    1. Hide All
                                                                    2. +
                                                                    3. Show All
                                                                    4. +
                                                                    +
                                                                    +
                                                                    + Visibility +
                                                                    1. Public
                                                                    2. All
                                                                    +
                                                                    +
                                                                    + +
                                                                    +
                                                                    +
                                                                    +

                                                                    Instance Constructors

                                                                    +
                                                                    1. + + +

                                                                      + + + new + + + AddZoneIDColumnOperator(o: StreamPipeOperatorInfo, s: SparkSession) + +

                                                                      + + Permalink + + + +
                                                                    +
                                                                    + + + + + +
                                                                    +

                                                                    Value Members

                                                                    +
                                                                    1. + + +

                                                                      + + final + def + + + !=(arg0: Any): Boolean + +

                                                                      + + Permalink + + +
                                                                      Definition Classes
                                                                      AnyRef → Any
                                                                      +
                                                                    2. + + +

                                                                      + + final + def + + + ##(): Int + +

                                                                      + + Permalink + + +
                                                                      Definition Classes
                                                                      AnyRef → Any
                                                                      +
                                                                    3. + + +

                                                                      + + final + def + + + ==(arg0: Any): Boolean + +

                                                                      + + Permalink + + +
                                                                      Definition Classes
                                                                      AnyRef → Any
                                                                      +
                                                                    4. + + +

                                                                      + + + def + + + addZoneIDColumn(df: (DataFrame) ⇒ DataFrame): (DataFrame) ⇒ DataFrame + +

                                                                      + + Permalink + + + +
                                                                    5. + + +

                                                                      + + final + def + + + asInstanceOf[T0]: T0 + +

                                                                      + + Permalink + + +
                                                                      Definition Classes
                                                                      Any
                                                                      +
                                                                    6. + + +

                                                                      + + + def + + + clone(): AnyRef + +

                                                                      + + Permalink + + +
                                                                      Attributes
                                                                      protected[java.lang]
                                                                      Definition Classes
                                                                      AnyRef
                                                                      Annotations
                                                                      + @throws( + + ... + ) + +
                                                                      +
                                                                    7. + + +

                                                                      + + final + def + + + eq(arg0: AnyRef): Boolean + +

                                                                      + + Permalink + + +
                                                                      Definition Classes
                                                                      AnyRef
                                                                      +
                                                                    8. + + +

                                                                      + + + def + + + equals(arg0: Any): Boolean + +

                                                                      + + Permalink + + +
                                                                      Definition Classes
                                                                      AnyRef → Any
                                                                      +
                                                                    9. + + +

                                                                      + + + def + + + finalize(): Unit + +

                                                                      + + Permalink + + +
                                                                      Attributes
                                                                      protected[java.lang]
                                                                      Definition Classes
                                                                      AnyRef
                                                                      Annotations
                                                                      + @throws( + + classOf[java.lang.Throwable] + ) + +
                                                                      +
                                                                    10. + + +

                                                                      + + final + def + + + getClass(): Class[_] + +

                                                                      + + Permalink + + +
                                                                      Definition Classes
                                                                      AnyRef → Any
                                                                      +
                                                                    11. + + +

                                                                      + + + def + + + hashCode(): Int + +

                                                                      + + Permalink + + +
                                                                      Definition Classes
                                                                      AnyRef → Any
                                                                      +
                                                                    12. + + +

                                                                      + + final + def + + + isInstanceOf[T0]: Boolean + +

                                                                      + + Permalink + + +
                                                                      Definition Classes
                                                                      Any
                                                                      +
                                                                    13. + + +

                                                                      + + + val + + + logger: Logger + +

                                                                      + + Permalink + + +
                                                                      Attributes
                                                                      protected
                                                                      Definition Classes
                                                                      Logging
                                                                      +
                                                                    14. + + +

                                                                      + + final + def + + + ne(arg0: AnyRef): Boolean + +

                                                                      + + Permalink + + +
                                                                      Definition Classes
                                                                      AnyRef
                                                                      +
                                                                    15. + + +

                                                                      + + final + def + + + notify(): Unit + +

                                                                      + + Permalink + + +
                                                                      Definition Classes
                                                                      AnyRef
                                                                      +
                                                                    16. + + +

                                                                      + + final + def + + + notifyAll(): Unit + +

                                                                      + + Permalink + + +
                                                                      Definition Classes
                                                                      AnyRef
                                                                      +
                                                                    17. + + +

                                                                      + + + def + + + operate(df: (DataFrame) ⇒ DataFrame): (DataFrame) ⇒ DataFrame + +

                                                                      + + Permalink + + +
                                                                      Definition Classes
                                                                      AddZoneIDColumnOperator → BaseSimplePipeOperator → BaseGenericPipeOperator → BaseGenericMutantOperator
                                                                      +
                                                                    18. + + +

                                                                      + + + val + + + p: AddZoneIDPipeColumnInfo + +

                                                                      + + Permalink + + + +
                                                                    19. + + +

                                                                      + + + def + + + stop: Unit + +

                                                                      + + Permalink + + +
                                                                      Definition Classes
                                                                      BaseGenericPipeOperator → BaseGenericMutantOperator
                                                                      +
                                                                    20. + + +

                                                                      + + final + def + + + synchronized[T0](arg0: ⇒ T0): T0 + +

                                                                      + + Permalink + + +
                                                                      Definition Classes
                                                                      AnyRef
                                                                      +
                                                                    21. + + +

                                                                      + + + def + + + toString(): String + +

                                                                      + + Permalink + + +
                                                                      Definition Classes
                                                                      AnyRef → Any
                                                                      +
                                                                    22. + + +

                                                                      + + final + def + + + wait(): Unit + +

                                                                      + + Permalink + + +
                                                                      Definition Classes
                                                                      AnyRef
                                                                      Annotations
                                                                      + @throws( + + ... + ) + +
                                                                      +
                                                                    23. + + +

                                                                      + + final + def + + + wait(arg0: Long, arg1: Int): Unit + +

                                                                      + + Permalink + + +
                                                                      Definition Classes
                                                                      AnyRef
                                                                      Annotations
                                                                      + @throws( + + ... + ) + +
                                                                      +
                                                                    24. + + +

                                                                      + + final + def + + + wait(arg0: Long): Unit + +

                                                                      + + Permalink + + +
                                                                      Definition Classes
                                                                      AnyRef
                                                                      Annotations
                                                                      + @throws( + + ... + ) + +
                                                                      +
                                                                    +
                                                                    + + + + +
                                                                    + +
                                                                    +
                                                                    +

                                                                    Inherited from BaseSimplePipeOperator[DataFrame, StreamPipeOperatorInfo, SparkSession]

                                                                    +
                                                                    +

                                                                    Inherited from BaseGenericPipeOperator[(DataFrame) ⇒ DataFrame, DataFrame, DataFrame, StreamPipeOperatorInfo, SparkSession]

                                                                    +
                                                                    +

                                                                    Inherited from BaseGenericMutantOperator[StreamPipeOperatorInfo, (DataFrame) ⇒ DataFrame, (DataFrame) ⇒ DataFrame]

                                                                    +
                                                                    +

                                                                    Inherited from BaseDoer

                                                                    +
                                                                    +

                                                                    Inherited from Logging

                                                                    +
                                                                    +

                                                                    Inherited from Serializable

                                                                    +
                                                                    +

                                                                    Inherited from Serializable

                                                                    +
                                                                    +

                                                                    Inherited from AnyRef

                                                                    +
                                                                    +

                                                                    Inherited from Any

                                                                    +
                                                                    + +
                                                                    + +
                                                                    +
                                                                    +

                                                                    Ungrouped

                                                                    + +
                                                                    +
                                                                    + +
                                                                    + +
                                                                    + + + + + + diff --git a/manual1903/api_reference/didentification/scaladocs/ksb/csle/didentification/pipe/preprocessing/ColumnOperationOperator.html b/manual1903/api_reference/didentification/scaladocs/ksb/csle/didentification/pipe/preprocessing/ColumnOperationOperator.html new file mode 100644 index 0000000000000000000000000000000000000000..c60e54cceaae0424b8b97e0a5aca09b290db6aa7 --- /dev/null +++ b/manual1903/api_reference/didentification/scaladocs/ksb/csle/didentification/pipe/preprocessing/ColumnOperationOperator.html @@ -0,0 +1,618 @@ + + + + ColumnOperationOperator - KSB DEIDENTIFICATION Scala App Project 1.0-SNAPSHOT API - ksb.csle.didentification.pipe.preprocessing.ColumnOperationOperator + + + + + + + + + + + + + + + +
                                                                    + Class +

                                                                    ksb.csle.didentification.pipe.preprocessing

                                                                    +

                                                                    ColumnOperationOperator

                                                                    Related Doc: + package preprocessing +

                                                                    + + Permalink + + +
                                                                    + +

                                                                    + + + class + + + ColumnOperationOperator extends BaseSimplePipeOperator[DataFrame, StreamPipeOperatorInfo, SparkSession] + +

                                                                    + +
                                                                    + Linear Supertypes +
                                                                    BaseSimplePipeOperator[DataFrame, StreamPipeOperatorInfo, SparkSession], BaseGenericPipeOperator[(DataFrame) ⇒ DataFrame, DataFrame, DataFrame, StreamPipeOperatorInfo, SparkSession], BaseGenericMutantOperator[StreamPipeOperatorInfo, (DataFrame) ⇒ DataFrame, (DataFrame) ⇒ DataFrame], BaseDoer, Logging, Serializable, Serializable, AnyRef, Any
                                                                    +
                                                                    + + +
                                                                    +
                                                                    +
                                                                    + Ordering +
                                                                      + +
                                                                    1. Alphabetic
                                                                    2. +
                                                                    3. By Inheritance
                                                                    4. +
                                                                    +
                                                                    +
                                                                    + Inherited
                                                                    +
                                                                    +
                                                                      +
                                                                    1. ColumnOperationOperator
                                                                    2. BaseSimplePipeOperator
                                                                    3. BaseGenericPipeOperator
                                                                    4. BaseGenericMutantOperator
                                                                    5. BaseDoer
                                                                    6. Logging
                                                                    7. Serializable
                                                                    8. Serializable
                                                                    9. AnyRef
                                                                    10. Any
                                                                    11. +
                                                                    +
                                                                    + +
                                                                      +
                                                                    1. Hide All
                                                                    2. +
                                                                    3. Show All
                                                                    4. +
                                                                    +
                                                                    +
                                                                    + Visibility +
                                                                    1. Public
                                                                    2. All
                                                                    +
                                                                    +
                                                                    + +
                                                                    +
                                                                    +
                                                                    +

                                                                    Instance Constructors

                                                                    +
                                                                    1. + + +

                                                                      + + + new + + + ColumnOperationOperator(o: StreamPipeOperatorInfo, s: SparkSession) + +

                                                                      + + Permalink + + + +
                                                                    +
                                                                    + + + + + +
                                                                    +

                                                                    Value Members

                                                                    +
                                                                    1. + + +

                                                                      + + final + def + + + !=(arg0: Any): Boolean + +

                                                                      + + Permalink + + +
                                                                      Definition Classes
                                                                      AnyRef → Any
                                                                      +
                                                                    2. + + +

                                                                      + + final + def + + + ##(): Int + +

                                                                      + + Permalink + + +
                                                                      Definition Classes
                                                                      AnyRef → Any
                                                                      +
                                                                    3. + + +

                                                                      + + final + def + + + ==(arg0: Any): Boolean + +

                                                                      + + Permalink + + +
                                                                      Definition Classes
                                                                      AnyRef → Any
                                                                      +
                                                                    4. + + +

                                                                      + + final + def + + + asInstanceOf[T0]: T0 + +

                                                                      + + Permalink + + +
                                                                      Definition Classes
                                                                      Any
                                                                      +
                                                                    5. + + +

                                                                      + + + def + + + clone(): AnyRef + +

                                                                      + + Permalink + + +
                                                                      Attributes
                                                                      protected[java.lang]
                                                                      Definition Classes
                                                                      AnyRef
                                                                      Annotations
                                                                      + @throws( + + ... + ) + +
                                                                      +
                                                                    6. + + +

                                                                      + + + def + + + columnOperation(src: DataFrame, colOperationInfo: ColOperationPipeInfo): DataFrame + +

                                                                      + + Permalink + + + +
                                                                    7. + + +

                                                                      + + + def + + + columnOperation(df: (DataFrame) ⇒ DataFrame): (DataFrame) ⇒ DataFrame + +

                                                                      + + Permalink + + + +
                                                                    8. + + +

                                                                      + + final + def + + + eq(arg0: AnyRef): Boolean + +

                                                                      + + Permalink + + +
                                                                      Definition Classes
                                                                      AnyRef
                                                                      +
                                                                    9. + + +

                                                                      + + + def + + + equals(arg0: Any): Boolean + +

                                                                      + + Permalink + + +
                                                                      Definition Classes
                                                                      AnyRef → Any
                                                                      +
                                                                    10. + + +

                                                                      + + + def + + + finalize(): Unit + +

                                                                      + + Permalink + + +
                                                                      Attributes
                                                                      protected[java.lang]
                                                                      Definition Classes
                                                                      AnyRef
                                                                      Annotations
                                                                      + @throws( + + classOf[java.lang.Throwable] + ) + +
                                                                      +
                                                                    11. + + +

                                                                      + + final + def + + + getClass(): Class[_] + +

                                                                      + + Permalink + + +
                                                                      Definition Classes
                                                                      AnyRef → Any
                                                                      +
                                                                    12. + + +

                                                                      + + + def + + + hashCode(): Int + +

                                                                      + + Permalink + + +
                                                                      Definition Classes
                                                                      AnyRef → Any
                                                                      +
                                                                    13. + + +

                                                                      + + final + def + + + isInstanceOf[T0]: Boolean + +

                                                                      + + Permalink + + +
                                                                      Definition Classes
                                                                      Any
                                                                      +
                                                                    14. + + +

                                                                      + + + val + + + logger: Logger + +

                                                                      + + Permalink + + +
                                                                      Attributes
                                                                      protected
                                                                      Definition Classes
                                                                      Logging
                                                                      +
                                                                    15. + + +

                                                                      + + final + def + + + ne(arg0: AnyRef): Boolean + +

                                                                      + + Permalink + + +
                                                                      Definition Classes
                                                                      AnyRef
                                                                      +
                                                                    16. + + +

                                                                      + + final + def + + + notify(): Unit + +

                                                                      + + Permalink + + +
                                                                      Definition Classes
                                                                      AnyRef
                                                                      +
                                                                    17. + + +

                                                                      + + final + def + + + notifyAll(): Unit + +

                                                                      + + Permalink + + +
                                                                      Definition Classes
                                                                      AnyRef
                                                                      +
                                                                    18. + + +

                                                                      + + + def + + + operate(df: (DataFrame) ⇒ DataFrame): (DataFrame) ⇒ DataFrame + +

                                                                      + + Permalink + + +
                                                                      Definition Classes
                                                                      ColumnOperationOperator → BaseSimplePipeOperator → BaseGenericPipeOperator → BaseGenericMutantOperator
                                                                      +
                                                                    19. + + +

                                                                      + + + val + + + p: ColumnOperationPipeInfo + +

                                                                      + + Permalink + + + +
                                                                    20. + + +

                                                                      + + + def + + + stop: Unit + +

                                                                      + + Permalink + + +
                                                                      Definition Classes
                                                                      BaseGenericPipeOperator → BaseGenericMutantOperator
                                                                      +
                                                                    21. + + +

                                                                      + + final + def + + + synchronized[T0](arg0: ⇒ T0): T0 + +

                                                                      + + Permalink + + +
                                                                      Definition Classes
                                                                      AnyRef
                                                                      +
                                                                    22. + + +

                                                                      + + + def + + + toString(): String + +

                                                                      + + Permalink + + +
                                                                      Definition Classes
                                                                      AnyRef → Any
                                                                      +
                                                                    23. + + +

                                                                      + + final + def + + + wait(): Unit + +

                                                                      + + Permalink + + +
                                                                      Definition Classes
                                                                      AnyRef
                                                                      Annotations
                                                                      + @throws( + + ... + ) + +
                                                                      +
                                                                    24. + + +

                                                                      + + final + def + + + wait(arg0: Long, arg1: Int): Unit + +

                                                                      + + Permalink + + +
                                                                      Definition Classes
                                                                      AnyRef
                                                                      Annotations
                                                                      + @throws( + + ... + ) + +
                                                                      +
                                                                    25. + + +

                                                                      + + final + def + + + wait(arg0: Long): Unit + +

                                                                      + + Permalink + + +
                                                                      Definition Classes
                                                                      AnyRef
                                                                      Annotations
                                                                      + @throws( + + ... + ) + +
                                                                      +
                                                                    +
                                                                    + + + + +
                                                                    + +
                                                                    +
                                                                    +

                                                                    Inherited from BaseSimplePipeOperator[DataFrame, StreamPipeOperatorInfo, SparkSession]

                                                                    +
                                                                    +

                                                                    Inherited from BaseGenericPipeOperator[(DataFrame) ⇒ DataFrame, DataFrame, DataFrame, StreamPipeOperatorInfo, SparkSession]

                                                                    +
                                                                    +

                                                                    Inherited from BaseGenericMutantOperator[StreamPipeOperatorInfo, (DataFrame) ⇒ DataFrame, (DataFrame) ⇒ DataFrame]

                                                                    +
                                                                    +

                                                                    Inherited from BaseDoer

                                                                    +
                                                                    +

                                                                    Inherited from Logging

                                                                    +
                                                                    +

                                                                    Inherited from Serializable

                                                                    +
                                                                    +

                                                                    Inherited from Serializable

                                                                    +
                                                                    +

                                                                    Inherited from AnyRef

                                                                    +
                                                                    +

                                                                    Inherited from Any

                                                                    +
                                                                    + +
                                                                    + +
                                                                    +
                                                                    +

                                                                    Ungrouped

                                                                    + +
                                                                    +
                                                                    + +
                                                                    + +
                                                                    + + + + + + diff --git a/manual1903/api_reference/didentification/scaladocs/ksb/csle/didentification/pipe/preprocessing/ColumnsRenamerOperator.html b/manual1903/api_reference/didentification/scaladocs/ksb/csle/didentification/pipe/preprocessing/ColumnsRenamerOperator.html new file mode 100644 index 0000000000000000000000000000000000000000..e4e072c9a4c9365a67c38d111164ef11e00ca1d3 --- /dev/null +++ b/manual1903/api_reference/didentification/scaladocs/ksb/csle/didentification/pipe/preprocessing/ColumnsRenamerOperator.html @@ -0,0 +1,601 @@ + + + + ColumnsRenamerOperator - KSB DEIDENTIFICATION Scala App Project 1.0-SNAPSHOT API - ksb.csle.didentification.pipe.preprocessing.ColumnsRenamerOperator + + + + + + + + + + + + + + + +
                                                                    + Class +

                                                                    ksb.csle.didentification.pipe.preprocessing

                                                                    +

                                                                    ColumnsRenamerOperator

                                                                    Related Doc: + package preprocessing +

                                                                    + + Permalink + + +
                                                                    + +

                                                                    + + + class + + + ColumnsRenamerOperator extends BaseSimplePipeOperator[DataFrame, StreamPipeOperatorInfo, SparkSession] + +

                                                                    + +
                                                                    + Linear Supertypes +
                                                                    BaseSimplePipeOperator[DataFrame, StreamPipeOperatorInfo, SparkSession], BaseGenericPipeOperator[(DataFrame) ⇒ DataFrame, DataFrame, DataFrame, StreamPipeOperatorInfo, SparkSession], BaseGenericMutantOperator[StreamPipeOperatorInfo, (DataFrame) ⇒ DataFrame, (DataFrame) ⇒ DataFrame], BaseDoer, Logging, Serializable, Serializable, AnyRef, Any
                                                                    +
                                                                    + + +
                                                                    +
                                                                    +
                                                                    + Ordering +
                                                                      + +
                                                                    1. Alphabetic
                                                                    2. +
                                                                    3. By Inheritance
                                                                    4. +
                                                                    +
                                                                    +
                                                                    + Inherited
                                                                    +
                                                                    +
                                                                      +
                                                                    1. ColumnsRenamerOperator
                                                                    2. BaseSimplePipeOperator
                                                                    3. BaseGenericPipeOperator
                                                                    4. BaseGenericMutantOperator
                                                                    5. BaseDoer
                                                                    6. Logging
                                                                    7. Serializable
                                                                    8. Serializable
                                                                    9. AnyRef
                                                                    10. Any
                                                                    11. +
                                                                    +
                                                                    + +
                                                                      +
                                                                    1. Hide All
                                                                    2. +
                                                                    3. Show All
                                                                    4. +
                                                                    +
                                                                    +
                                                                    + Visibility +
                                                                    1. Public
                                                                    2. All
                                                                    +
                                                                    +
                                                                    + +
                                                                    +
                                                                    +
                                                                    +

                                                                    Instance Constructors

                                                                    +
                                                                    1. + + +

                                                                      + + + new + + + ColumnsRenamerOperator(o: StreamPipeOperatorInfo, s: SparkSession) + +

                                                                      + + Permalink + + + +
                                                                    +
                                                                    + + + + + +
                                                                    +

                                                                    Value Members

                                                                    +
                                                                    1. + + +

                                                                      + + final + def + + + !=(arg0: Any): Boolean + +

                                                                      + + Permalink + + +
                                                                      Definition Classes
                                                                      AnyRef → Any
                                                                      +
                                                                    2. + + +

                                                                      + + final + def + + + ##(): Int + +

                                                                      + + Permalink + + +
                                                                      Definition Classes
                                                                      AnyRef → Any
                                                                      +
                                                                    3. + + +

                                                                      + + final + def + + + ==(arg0: Any): Boolean + +

                                                                      + + Permalink + + +
                                                                      Definition Classes
                                                                      AnyRef → Any
                                                                      +
                                                                    4. + + +

                                                                      + + final + def + + + asInstanceOf[T0]: T0 + +

                                                                      + + Permalink + + +
                                                                      Definition Classes
                                                                      Any
                                                                      +
                                                                    5. + + +

                                                                      + + + def + + + clone(): AnyRef + +

                                                                      + + Permalink + + +
                                                                      Attributes
                                                                      protected[java.lang]
                                                                      Definition Classes
                                                                      AnyRef
                                                                      Annotations
                                                                      + @throws( + + ... + ) + +
                                                                      +
                                                                    6. + + +

                                                                      + + final + def + + + eq(arg0: AnyRef): Boolean + +

                                                                      + + Permalink + + +
                                                                      Definition Classes
                                                                      AnyRef
                                                                      +
                                                                    7. + + +

                                                                      + + + def + + + equals(arg0: Any): Boolean + +

                                                                      + + Permalink + + +
                                                                      Definition Classes
                                                                      AnyRef → Any
                                                                      +
                                                                    8. + + +

                                                                      + + + def + + + finalize(): Unit + +

                                                                      + + Permalink + + +
                                                                      Attributes
                                                                      protected[java.lang]
                                                                      Definition Classes
                                                                      AnyRef
                                                                      Annotations
                                                                      + @throws( + + classOf[java.lang.Throwable] + ) + +
                                                                      +
                                                                    9. + + +

                                                                      + + final + def + + + getClass(): Class[_] + +

                                                                      + + Permalink + + +
                                                                      Definition Classes
                                                                      AnyRef → Any
                                                                      +
                                                                    10. + + +

                                                                      + + + def + + + hashCode(): Int + +

                                                                      + + Permalink + + +
                                                                      Definition Classes
                                                                      AnyRef → Any
                                                                      +
                                                                    11. + + +

                                                                      + + final + def + + + isInstanceOf[T0]: Boolean + +

                                                                      + + Permalink + + +
                                                                      Definition Classes
                                                                      Any
                                                                      +
                                                                    12. + + +

                                                                      + + + val + + + logger: Logger + +

                                                                      + + Permalink + + +
                                                                      Attributes
                                                                      protected
                                                                      Definition Classes
                                                                      Logging
                                                                      +
                                                                    13. + + +

                                                                      + + final + def + + + ne(arg0: AnyRef): Boolean + +

                                                                      + + Permalink + + +
                                                                      Definition Classes
                                                                      AnyRef
                                                                      +
                                                                    14. + + +

                                                                      + + final + def + + + notify(): Unit + +

                                                                      + + Permalink + + +
                                                                      Definition Classes
                                                                      AnyRef
                                                                      +
                                                                    15. + + +

                                                                      + + final + def + + + notifyAll(): Unit + +

                                                                      + + Permalink + + +
                                                                      Definition Classes
                                                                      AnyRef
                                                                      +
                                                                    16. + + +

                                                                      + + + def + + + operate(df: (DataFrame) ⇒ DataFrame): (DataFrame) ⇒ DataFrame + +

                                                                      + + Permalink + + +
                                                                      Definition Classes
                                                                      ColumnsRenamerOperator → BaseSimplePipeOperator → BaseGenericPipeOperator → BaseGenericMutantOperator
                                                                      +
                                                                    17. + + +

                                                                      + + + val + + + p: RenameColumnsInfo + +

                                                                      + + Permalink + + + +
                                                                    18. + + +

                                                                      + + + def + + + renameColumns(df: (DataFrame) ⇒ DataFrame): (DataFrame) ⇒ DataFrame + +

                                                                      + + Permalink + + + +
                                                                    19. + + +

                                                                      + + + def + + + stop: Unit + +

                                                                      + + Permalink + + +
                                                                      Definition Classes
                                                                      BaseGenericPipeOperator → BaseGenericMutantOperator
                                                                      +
                                                                    20. + + +

                                                                      + + final + def + + + synchronized[T0](arg0: ⇒ T0): T0 + +

                                                                      + + Permalink + + +
                                                                      Definition Classes
                                                                      AnyRef
                                                                      +
                                                                    21. + + +

                                                                      + + + def + + + toString(): String + +

                                                                      + + Permalink + + +
                                                                      Definition Classes
                                                                      AnyRef → Any
                                                                      +
                                                                    22. + + +

                                                                      + + final + def + + + wait(): Unit + +

                                                                      + + Permalink + + +
                                                                      Definition Classes
                                                                      AnyRef
                                                                      Annotations
                                                                      + @throws( + + ... + ) + +
                                                                      +
                                                                    23. + + +

                                                                      + + final + def + + + wait(arg0: Long, arg1: Int): Unit + +

                                                                      + + Permalink + + +
                                                                      Definition Classes
                                                                      AnyRef
                                                                      Annotations
                                                                      + @throws( + + ... + ) + +
                                                                      +
                                                                    24. + + +

                                                                      + + final + def + + + wait(arg0: Long): Unit + +

                                                                      + + Permalink + + +
                                                                      Definition Classes
                                                                      AnyRef
                                                                      Annotations
                                                                      + @throws( + + ... + ) + +
                                                                      +
                                                                    +
                                                                    + + + + +
                                                                    + +
                                                                    +
                                                                    +

                                                                    Inherited from BaseSimplePipeOperator[DataFrame, StreamPipeOperatorInfo, SparkSession]

                                                                    +
                                                                    +

                                                                    Inherited from BaseGenericPipeOperator[(DataFrame) ⇒ DataFrame, DataFrame, DataFrame, StreamPipeOperatorInfo, SparkSession]

                                                                    +
                                                                    +

                                                                    Inherited from BaseGenericMutantOperator[StreamPipeOperatorInfo, (DataFrame) ⇒ DataFrame, (DataFrame) ⇒ DataFrame]

                                                                    +
                                                                    +

                                                                    Inherited from BaseDoer

                                                                    +
                                                                    +

                                                                    Inherited from Logging

                                                                    +
                                                                    +

                                                                    Inherited from Serializable

                                                                    +
                                                                    +

                                                                    Inherited from Serializable

                                                                    +
                                                                    +

                                                                    Inherited from AnyRef

                                                                    +
                                                                    +

                                                                    Inherited from Any

                                                                    +
                                                                    + +
                                                                    + +
                                                                    +
                                                                    +

                                                                    Ungrouped

                                                                    + +
                                                                    +
                                                                    + +
                                                                    + +
                                                                    + + + + + + diff --git a/manual1903/api_reference/didentification/scaladocs/ksb/csle/didentification/pipe/preprocessing/SelectColumnsOperator.html b/manual1903/api_reference/didentification/scaladocs/ksb/csle/didentification/pipe/preprocessing/SelectColumnsOperator.html new file mode 100644 index 0000000000000000000000000000000000000000..faa844ff05faa81f3dea34adf2051dbd7888e482 --- /dev/null +++ b/manual1903/api_reference/didentification/scaladocs/ksb/csle/didentification/pipe/preprocessing/SelectColumnsOperator.html @@ -0,0 +1,601 @@ + + + + SelectColumnsOperator - KSB DEIDENTIFICATION Scala App Project 1.0-SNAPSHOT API - ksb.csle.didentification.pipe.preprocessing.SelectColumnsOperator + + + + + + + + + + + + + + + +
                                                                    + Class +

                                                                    ksb.csle.didentification.pipe.preprocessing

                                                                    +

                                                                    SelectColumnsOperator

                                                                    Related Doc: + package preprocessing +

                                                                    + + Permalink + + +
                                                                    + +

                                                                    + + + class + + + SelectColumnsOperator extends BaseSimplePipeOperator[DataFrame, StreamPipeOperatorInfo, SparkSession] + +

                                                                    + +
                                                                    + Linear Supertypes +
                                                                    BaseSimplePipeOperator[DataFrame, StreamPipeOperatorInfo, SparkSession], BaseGenericPipeOperator[(DataFrame) ⇒ DataFrame, DataFrame, DataFrame, StreamPipeOperatorInfo, SparkSession], BaseGenericMutantOperator[StreamPipeOperatorInfo, (DataFrame) ⇒ DataFrame, (DataFrame) ⇒ DataFrame], BaseDoer, Logging, Serializable, Serializable, AnyRef, Any
                                                                    +
                                                                    + + +
                                                                    +
                                                                    +
                                                                    + Ordering +
                                                                      + +
                                                                    1. Alphabetic
                                                                    2. +
                                                                    3. By Inheritance
                                                                    4. +
                                                                    +
                                                                    +
                                                                    + Inherited
                                                                    +
                                                                    +
                                                                      +
                                                                    1. SelectColumnsOperator
                                                                    2. BaseSimplePipeOperator
                                                                    3. BaseGenericPipeOperator
                                                                    4. BaseGenericMutantOperator
                                                                    5. BaseDoer
                                                                    6. Logging
                                                                    7. Serializable
                                                                    8. Serializable
                                                                    9. AnyRef
                                                                    10. Any
                                                                    11. +
                                                                    +
                                                                    + +
                                                                      +
                                                                    1. Hide All
                                                                    2. +
                                                                    3. Show All
                                                                    4. +
                                                                    +
                                                                    +
                                                                    + Visibility +
                                                                    1. Public
                                                                    2. All
                                                                    +
                                                                    +
                                                                    + +
                                                                    +
                                                                    +
                                                                    +

                                                                    Instance Constructors

                                                                    +
                                                                    1. + + +

                                                                      + + + new + + + SelectColumnsOperator(o: StreamPipeOperatorInfo, s: SparkSession) + +

                                                                      + + Permalink + + + +
                                                                    +
                                                                    + + + + + +
                                                                    +

                                                                    Value Members

                                                                    +
                                                                    1. + + +

                                                                      + + final + def + + + !=(arg0: Any): Boolean + +

                                                                      + + Permalink + + +
                                                                      Definition Classes
                                                                      AnyRef → Any
                                                                      +
                                                                    2. + + +

                                                                      + + final + def + + + ##(): Int + +

                                                                      + + Permalink + + +
                                                                      Definition Classes
                                                                      AnyRef → Any
                                                                      +
                                                                    3. + + +

                                                                      + + final + def + + + ==(arg0: Any): Boolean + +

                                                                      + + Permalink + + +
                                                                      Definition Classes
                                                                      AnyRef → Any
                                                                      +
                                                                    4. + + +

                                                                      + + final + def + + + asInstanceOf[T0]: T0 + +

                                                                      + + Permalink + + +
                                                                      Definition Classes
                                                                      Any
                                                                      +
                                                                    5. + + +

                                                                      + + + def + + + clone(): AnyRef + +

                                                                      + + Permalink + + +
                                                                      Attributes
                                                                      protected[java.lang]
                                                                      Definition Classes
                                                                      AnyRef
                                                                      Annotations
                                                                      + @throws( + + ... + ) + +
                                                                      +
                                                                    6. + + +

                                                                      + + final + def + + + eq(arg0: AnyRef): Boolean + +

                                                                      + + Permalink + + +
                                                                      Definition Classes
                                                                      AnyRef
                                                                      +
                                                                    7. + + +

                                                                      + + + def + + + equals(arg0: Any): Boolean + +

                                                                      + + Permalink + + +
                                                                      Definition Classes
                                                                      AnyRef → Any
                                                                      +
                                                                    8. + + +

                                                                      + + + def + + + finalize(): Unit + +

                                                                      + + Permalink + + +
                                                                      Attributes
                                                                      protected[java.lang]
                                                                      Definition Classes
                                                                      AnyRef
                                                                      Annotations
                                                                      + @throws( + + classOf[java.lang.Throwable] + ) + +
                                                                      +
                                                                    9. + + +

                                                                      + + final + def + + + getClass(): Class[_] + +

                                                                      + + Permalink + + +
                                                                      Definition Classes
                                                                      AnyRef → Any
                                                                      +
                                                                    10. + + +

                                                                      + + + def + + + hashCode(): Int + +

                                                                      + + Permalink + + +
                                                                      Definition Classes
                                                                      AnyRef → Any
                                                                      +
                                                                    11. + + +

                                                                      + + final + def + + + isInstanceOf[T0]: Boolean + +

                                                                      + + Permalink + + +
                                                                      Definition Classes
                                                                      Any
                                                                      +
                                                                    12. + + +

                                                                      + + + val + + + logger: Logger + +

                                                                      + + Permalink + + +
                                                                      Attributes
                                                                      protected
                                                                      Definition Classes
                                                                      Logging
                                                                      +
                                                                    13. + + +

                                                                      + + final + def + + + ne(arg0: AnyRef): Boolean + +

                                                                      + + Permalink + + +
                                                                      Definition Classes
                                                                      AnyRef
                                                                      +
                                                                    14. + + +

                                                                      + + final + def + + + notify(): Unit + +

                                                                      + + Permalink + + +
                                                                      Definition Classes
                                                                      AnyRef
                                                                      +
                                                                    15. + + +

                                                                      + + final + def + + + notifyAll(): Unit + +

                                                                      + + Permalink + + +
                                                                      Definition Classes
                                                                      AnyRef
                                                                      +
                                                                    16. + + +

                                                                      + + + def + + + operate(df: (DataFrame) ⇒ DataFrame): (DataFrame) ⇒ DataFrame + +

                                                                      + + Permalink + + +
                                                                      Definition Classes
                                                                      SelectColumnsOperator → BaseSimplePipeOperator → BaseGenericPipeOperator → BaseGenericMutantOperator
                                                                      +
                                                                    17. + + +

                                                                      + + + val + + + p: SelectColumnsPipeInfo + +

                                                                      + + Permalink + + + +
                                                                    18. + + +

                                                                      + + + def + + + selectColumns(df: (DataFrame) ⇒ DataFrame): (DataFrame) ⇒ DataFrame + +

                                                                      + + Permalink + + + +
                                                                    19. + + +

                                                                      + + + def + + + stop: Unit + +

                                                                      + + Permalink + + +
                                                                      Definition Classes
                                                                      BaseGenericPipeOperator → BaseGenericMutantOperator
                                                                      +
                                                                    20. + + +

                                                                      + + final + def + + + synchronized[T0](arg0: ⇒ T0): T0 + +

                                                                      + + Permalink + + +
                                                                      Definition Classes
                                                                      AnyRef
                                                                      +
                                                                    21. + + +

                                                                      + + + def + + + toString(): String + +

                                                                      + + Permalink + + +
                                                                      Definition Classes
                                                                      AnyRef → Any
                                                                      +
                                                                    22. + + +

                                                                      + + final + def + + + wait(): Unit + +

                                                                      + + Permalink + + +
                                                                      Definition Classes
                                                                      AnyRef
                                                                      Annotations
                                                                      + @throws( + + ... + ) + +
                                                                      +
                                                                    23. + + +

                                                                      + + final + def + + + wait(arg0: Long, arg1: Int): Unit + +

                                                                      + + Permalink + + +
                                                                      Definition Classes
                                                                      AnyRef
                                                                      Annotations
                                                                      + @throws( + + ... + ) + +
                                                                      +
                                                                    24. + + +

                                                                      + + final + def + + + wait(arg0: Long): Unit + +

                                                                      + + Permalink + + +
                                                                      Definition Classes
                                                                      AnyRef
                                                                      Annotations
                                                                      + @throws( + + ... + ) + +
                                                                      +
                                                                    +
                                                                    + + + + +
                                                                    + +
                                                                    +
                                                                    +

                                                                    Inherited from BaseSimplePipeOperator[DataFrame, StreamPipeOperatorInfo, SparkSession]

                                                                    +
                                                                    +

                                                                    Inherited from BaseGenericPipeOperator[(DataFrame) ⇒ DataFrame, DataFrame, DataFrame, StreamPipeOperatorInfo, SparkSession]

                                                                    +
                                                                    +

                                                                    Inherited from BaseGenericMutantOperator[StreamPipeOperatorInfo, (DataFrame) ⇒ DataFrame, (DataFrame) ⇒ DataFrame]

                                                                    +
                                                                    +

                                                                    Inherited from BaseDoer

                                                                    +
                                                                    +

                                                                    Inherited from Logging

                                                                    +
                                                                    +

                                                                    Inherited from Serializable

                                                                    +
                                                                    +

                                                                    Inherited from Serializable

                                                                    +
                                                                    +

                                                                    Inherited from AnyRef

                                                                    +
                                                                    +

                                                                    Inherited from Any

                                                                    +
                                                                    + +
                                                                    + +
                                                                    +
                                                                    +

                                                                    Ungrouped

                                                                    + +
                                                                    +
                                                                    + +
                                                                    + +
                                                                    + + + + + + diff --git a/manual1903/api_reference/didentification/scaladocs/ksb/csle/didentification/pipe/preprocessing/SparkMLPredictor.html b/manual1903/api_reference/didentification/scaladocs/ksb/csle/didentification/pipe/preprocessing/SparkMLPredictor.html new file mode 100644 index 0000000000000000000000000000000000000000..fd425d6953e75ed923aad11f5c88bb864770c300 --- /dev/null +++ b/manual1903/api_reference/didentification/scaladocs/ksb/csle/didentification/pipe/preprocessing/SparkMLPredictor.html @@ -0,0 +1,635 @@ + + + + SparkMLPredictor - KSB DEIDENTIFICATION Scala App Project 1.0-SNAPSHOT API - ksb.csle.didentification.pipe.preprocessing.SparkMLPredictor + + + + + + + + + + + + + + + +
                                                                    + Class +

                                                                    ksb.csle.didentification.pipe.preprocessing

                                                                    +

                                                                    SparkMLPredictor

                                                                    Related Doc: + package preprocessing +

                                                                    + + Permalink + + +
                                                                    + +

                                                                    + + + class + + + SparkMLPredictor extends BaseSimplePipeOperator[DataFrame, StreamPipeOperatorInfo, SparkSession] + +

                                                                    + +
                                                                    + Linear Supertypes +
                                                                    BaseSimplePipeOperator[DataFrame, StreamPipeOperatorInfo, SparkSession], BaseGenericPipeOperator[(DataFrame) ⇒ DataFrame, DataFrame, DataFrame, StreamPipeOperatorInfo, SparkSession], BaseGenericMutantOperator[StreamPipeOperatorInfo, (DataFrame) ⇒ DataFrame, (DataFrame) ⇒ DataFrame], BaseDoer, Logging, Serializable, Serializable, AnyRef, Any
                                                                    +
                                                                    + + +
                                                                    +
                                                                    +
                                                                    + Ordering +
                                                                      + +
                                                                    1. Alphabetic
                                                                    2. +
                                                                    3. By Inheritance
                                                                    4. +
                                                                    +
                                                                    +
                                                                    + Inherited
                                                                    +
                                                                    +
                                                                      +
                                                                    1. SparkMLPredictor
                                                                    2. BaseSimplePipeOperator
                                                                    3. BaseGenericPipeOperator
                                                                    4. BaseGenericMutantOperator
                                                                    5. BaseDoer
                                                                    6. Logging
                                                                    7. Serializable
                                                                    8. Serializable
                                                                    9. AnyRef
                                                                    10. Any
                                                                    11. +
                                                                    +
                                                                    + +
                                                                      +
                                                                    1. Hide All
                                                                    2. +
                                                                    3. Show All
                                                                    4. +
                                                                    +
                                                                    +
                                                                    + Visibility +
                                                                    1. Public
                                                                    2. All
                                                                    +
                                                                    +
                                                                    + +
                                                                    +
                                                                    +
                                                                    +

                                                                    Instance Constructors

                                                                    +
                                                                    1. + + +

                                                                      + + + new + + + SparkMLPredictor(o: StreamPipeOperatorInfo, s: SparkSession) + +

                                                                      + + Permalink + + + +
                                                                    +
                                                                    + + + + + +
                                                                    +

                                                                    Value Members

                                                                    +
                                                                    1. + + +

                                                                      + + final + def + + + !=(arg0: Any): Boolean + +

                                                                      + + Permalink + + +
                                                                      Definition Classes
                                                                      AnyRef → Any
                                                                      +
                                                                    2. + + +

                                                                      + + final + def + + + ##(): Int + +

                                                                      + + Permalink + + +
                                                                      Definition Classes
                                                                      AnyRef → Any
                                                                      +
                                                                    3. + + +

                                                                      + + final + def + + + ==(arg0: Any): Boolean + +

                                                                      + + Permalink + + +
                                                                      Definition Classes
                                                                      AnyRef → Any
                                                                      +
                                                                    4. + + +

                                                                      + + final + def + + + asInstanceOf[T0]: T0 + +

                                                                      + + Permalink + + +
                                                                      Definition Classes
                                                                      Any
                                                                      +
                                                                    5. + + +

                                                                      + + + def + + + clone(): AnyRef + +

                                                                      + + Permalink + + +
                                                                      Attributes
                                                                      protected[java.lang]
                                                                      Definition Classes
                                                                      AnyRef
                                                                      Annotations
                                                                      + @throws( + + ... + ) + +
                                                                      +
                                                                    6. + + +

                                                                      + + final + def + + + eq(arg0: AnyRef): Boolean + +

                                                                      + + Permalink + + +
                                                                      Definition Classes
                                                                      AnyRef
                                                                      +
                                                                    7. + + +

                                                                      + + + def + + + equals(arg0: Any): Boolean + +

                                                                      + + Permalink + + +
                                                                      Definition Classes
                                                                      AnyRef → Any
                                                                      +
                                                                    8. + + +

                                                                      + + + def + + + finalize(): Unit + +

                                                                      + + Permalink + + +
                                                                      Attributes
                                                                      protected[java.lang]
                                                                      Definition Classes
                                                                      AnyRef
                                                                      Annotations
                                                                      + @throws( + + classOf[java.lang.Throwable] + ) + +
                                                                      +
                                                                    9. + + +

                                                                      + + final + def + + + getClass(): Class[_] + +

                                                                      + + Permalink + + +
                                                                      Definition Classes
                                                                      AnyRef → Any
                                                                      +
                                                                    10. + + +

                                                                      + + + def + + + hashCode(): Int + +

                                                                      + + Permalink + + +
                                                                      Definition Classes
                                                                      AnyRef → Any
                                                                      +
                                                                    11. + + +

                                                                      + + final + def + + + isInstanceOf[T0]: Boolean + +

                                                                      + + Permalink + + +
                                                                      Definition Classes
                                                                      Any
                                                                      +
                                                                    12. + + +

                                                                      + + + def + + + loadModel(modelPath: String): PipelineModel + +

                                                                      + + Permalink + + + +
                                                                    13. + + +

                                                                      + + + val + + + logger: Logger + +

                                                                      + + Permalink + + +
                                                                      Attributes
                                                                      protected
                                                                      Definition Classes
                                                                      Logging
                                                                      +
                                                                    14. + + +

                                                                      + + + val + + + model: PipelineModel + +

                                                                      + + Permalink + + + +
                                                                    15. + + +

                                                                      + + final + def + + + ne(arg0: AnyRef): Boolean + +

                                                                      + + Permalink + + +
                                                                      Definition Classes
                                                                      AnyRef
                                                                      +
                                                                    16. + + +

                                                                      + + final + def + + + notify(): Unit + +

                                                                      + + Permalink + + +
                                                                      Definition Classes
                                                                      AnyRef
                                                                      +
                                                                    17. + + +

                                                                      + + final + def + + + notifyAll(): Unit + +

                                                                      + + Permalink + + +
                                                                      Definition Classes
                                                                      AnyRef
                                                                      +
                                                                    18. + + +

                                                                      + + + def + + + operate(df: (DataFrame) ⇒ DataFrame): (DataFrame) ⇒ DataFrame + +

                                                                      + + Permalink + + +
                                                                      Definition Classes
                                                                      SparkMLPredictor → BaseSimplePipeOperator → BaseGenericPipeOperator → BaseGenericMutantOperator
                                                                      +
                                                                    19. + + +

                                                                      + + + val + + + p: EnergyMLStreamPredictPipeOperatorInfo + +

                                                                      + + Permalink + + + +
                                                                    20. + + +

                                                                      + + + def + + + predict(df: (DataFrame) ⇒ DataFrame): (DataFrame) ⇒ DataFrame + +

                                                                      + + Permalink + + + +
                                                                    21. + + +

                                                                      + + + def + + + stop: Unit + +

                                                                      + + Permalink + + +
                                                                      Definition Classes
                                                                      BaseGenericPipeOperator → BaseGenericMutantOperator
                                                                      +
                                                                    22. + + +

                                                                      + + final + def + + + synchronized[T0](arg0: ⇒ T0): T0 + +

                                                                      + + Permalink + + +
                                                                      Definition Classes
                                                                      AnyRef
                                                                      +
                                                                    23. + + +

                                                                      + + + def + + + toString(): String + +

                                                                      + + Permalink + + +
                                                                      Definition Classes
                                                                      AnyRef → Any
                                                                      +
                                                                    24. + + +

                                                                      + + final + def + + + wait(): Unit + +

                                                                      + + Permalink + + +
                                                                      Definition Classes
                                                                      AnyRef
                                                                      Annotations
                                                                      + @throws( + + ... + ) + +
                                                                      +
                                                                    25. + + +

                                                                      + + final + def + + + wait(arg0: Long, arg1: Int): Unit + +

                                                                      + + Permalink + + +
                                                                      Definition Classes
                                                                      AnyRef
                                                                      Annotations
                                                                      + @throws( + + ... + ) + +
                                                                      +
                                                                    26. + + +

                                                                      + + final + def + + + wait(arg0: Long): Unit + +

                                                                      + + Permalink + + +
                                                                      Definition Classes
                                                                      AnyRef
                                                                      Annotations
                                                                      + @throws( + + ... + ) + +
                                                                      +
                                                                    +
                                                                    + + + + +
                                                                    + +
                                                                    +
                                                                    +

                                                                    Inherited from BaseSimplePipeOperator[DataFrame, StreamPipeOperatorInfo, SparkSession]

                                                                    +
                                                                    +

                                                                    Inherited from BaseGenericPipeOperator[(DataFrame) ⇒ DataFrame, DataFrame, DataFrame, StreamPipeOperatorInfo, SparkSession]

                                                                    +
                                                                    +

                                                                    Inherited from BaseGenericMutantOperator[StreamPipeOperatorInfo, (DataFrame) ⇒ DataFrame, (DataFrame) ⇒ DataFrame]

                                                                    +
                                                                    +

                                                                    Inherited from BaseDoer

                                                                    +
                                                                    +

                                                                    Inherited from Logging

                                                                    +
                                                                    +

                                                                    Inherited from Serializable

                                                                    +
                                                                    +

                                                                    Inherited from Serializable

                                                                    +
                                                                    +

                                                                    Inherited from AnyRef

                                                                    +
                                                                    +

                                                                    Inherited from Any

                                                                    +
                                                                    + +
                                                                    + +
                                                                    +
                                                                    +

                                                                    Ungrouped

                                                                    + +
                                                                    +
                                                                    + +
                                                                    + +
                                                                    + + + + + + diff --git a/manual1903/api_reference/didentification/scaladocs/ksb/csle/didentification/pipe/preprocessing/TimeAggregator.html b/manual1903/api_reference/didentification/scaladocs/ksb/csle/didentification/pipe/preprocessing/TimeAggregator.html new file mode 100644 index 0000000000000000000000000000000000000000..32ec4740223dd9530ea762c6a7c5a3988b5fbd23 --- /dev/null +++ b/manual1903/api_reference/didentification/scaladocs/ksb/csle/didentification/pipe/preprocessing/TimeAggregator.html @@ -0,0 +1,584 @@ + + + + TimeAggregator - KSB DEIDENTIFICATION Scala App Project 1.0-SNAPSHOT API - ksb.csle.didentification.pipe.preprocessing.TimeAggregator + + + + + + + + + + + + + + + +
                                                                    + Class +

                                                                    ksb.csle.didentification.pipe.preprocessing

                                                                    +

                                                                    TimeAggregator

                                                                    Related Doc: + package preprocessing +

                                                                    + + Permalink + + +
                                                                    + +

                                                                    + + + class + + + TimeAggregator extends BaseSimplePipeOperator[DataFrame, StreamPipeOperatorInfo, SparkSession] + +

                                                                    + +
                                                                    + Linear Supertypes +
                                                                    BaseSimplePipeOperator[DataFrame, StreamPipeOperatorInfo, SparkSession], BaseGenericPipeOperator[(DataFrame) ⇒ DataFrame, DataFrame, DataFrame, StreamPipeOperatorInfo, SparkSession], BaseGenericMutantOperator[StreamPipeOperatorInfo, (DataFrame) ⇒ DataFrame, (DataFrame) ⇒ DataFrame], BaseDoer, Logging, Serializable, Serializable, AnyRef, Any
                                                                    +
                                                                    + + +
                                                                    +
                                                                    +
                                                                    + Ordering +
                                                                      + +
                                                                    1. Alphabetic
                                                                    2. +
                                                                    3. By Inheritance
                                                                    4. +
                                                                    +
                                                                    +
                                                                    + Inherited
                                                                    +
                                                                    +
                                                                      +
                                                                    1. TimeAggregator
                                                                    2. BaseSimplePipeOperator
                                                                    3. BaseGenericPipeOperator
                                                                    4. BaseGenericMutantOperator
                                                                    5. BaseDoer
                                                                    6. Logging
                                                                    7. Serializable
                                                                    8. Serializable
                                                                    9. AnyRef
                                                                    10. Any
                                                                    11. +
                                                                    +
                                                                    + +
                                                                      +
                                                                    1. Hide All
                                                                    2. +
                                                                    3. Show All
                                                                    4. +
                                                                    +
                                                                    +
                                                                    + Visibility +
                                                                    1. Public
                                                                    2. All
                                                                    +
                                                                    +
                                                                    + +
                                                                    +
                                                                    +
                                                                    +

                                                                    Instance Constructors

                                                                    +
                                                                    1. + + +

                                                                      + + + new + + + TimeAggregator(o: StreamPipeOperatorInfo, s: SparkSession) + +

                                                                      + + Permalink + + + +
                                                                    +
                                                                    + + + + + +
                                                                    +

                                                                    Value Members

                                                                    +
                                                                    1. + + +

                                                                      + + final + def + + + !=(arg0: Any): Boolean + +

                                                                      + + Permalink + + +
                                                                      Definition Classes
                                                                      AnyRef → Any
                                                                      +
                                                                    2. + + +

                                                                      + + final + def + + + ##(): Int + +

                                                                      + + Permalink + + +
                                                                      Definition Classes
                                                                      AnyRef → Any
                                                                      +
                                                                    3. + + +

                                                                      + + final + def + + + ==(arg0: Any): Boolean + +

                                                                      + + Permalink + + +
                                                                      Definition Classes
                                                                      AnyRef → Any
                                                                      +
                                                                    4. + + +

                                                                      + + final + def + + + asInstanceOf[T0]: T0 + +

                                                                      + + Permalink + + +
                                                                      Definition Classes
                                                                      Any
                                                                      +
                                                                    5. + + +

                                                                      + + + def + + + clone(): AnyRef + +

                                                                      + + Permalink + + +
                                                                      Attributes
                                                                      protected[java.lang]
                                                                      Definition Classes
                                                                      AnyRef
                                                                      Annotations
                                                                      + @throws( + + ... + ) + +
                                                                      +
                                                                    6. + + +

                                                                      + + final + def + + + eq(arg0: AnyRef): Boolean + +

                                                                      + + Permalink + + +
                                                                      Definition Classes
                                                                      AnyRef
                                                                      +
                                                                    7. + + +

                                                                      + + + def + + + equals(arg0: Any): Boolean + +

                                                                      + + Permalink + + +
                                                                      Definition Classes
                                                                      AnyRef → Any
                                                                      +
                                                                    8. + + +

                                                                      + + + def + + + finalize(): Unit + +

                                                                      + + Permalink + + +
                                                                      Attributes
                                                                      protected[java.lang]
                                                                      Definition Classes
                                                                      AnyRef
                                                                      Annotations
                                                                      + @throws( + + classOf[java.lang.Throwable] + ) + +
                                                                      +
                                                                    9. + + +

                                                                      + + final + def + + + getClass(): Class[_] + +

                                                                      + + Permalink + + +
                                                                      Definition Classes
                                                                      AnyRef → Any
                                                                      +
                                                                    10. + + +

                                                                      + + + def + + + hashCode(): Int + +

                                                                      + + Permalink + + +
                                                                      Definition Classes
                                                                      AnyRef → Any
                                                                      +
                                                                    11. + + +

                                                                      + + final + def + + + isInstanceOf[T0]: Boolean + +

                                                                      + + Permalink + + +
                                                                      Definition Classes
                                                                      Any
                                                                      +
                                                                    12. + + +

                                                                      + + + val + + + logger: Logger + +

                                                                      + + Permalink + + +
                                                                      Attributes
                                                                      protected
                                                                      Definition Classes
                                                                      Logging
                                                                      +
                                                                    13. + + +

                                                                      + + final + def + + + ne(arg0: AnyRef): Boolean + +

                                                                      + + Permalink + + +
                                                                      Definition Classes
                                                                      AnyRef
                                                                      +
                                                                    14. + + +

                                                                      + + final + def + + + notify(): Unit + +

                                                                      + + Permalink + + +
                                                                      Definition Classes
                                                                      AnyRef
                                                                      +
                                                                    15. + + +

                                                                      + + final + def + + + notifyAll(): Unit + +

                                                                      + + Permalink + + +
                                                                      Definition Classes
                                                                      AnyRef
                                                                      +
                                                                    16. + + +

                                                                      + + + def + + + operate(df: (DataFrame) ⇒ DataFrame): (DataFrame) ⇒ DataFrame + +

                                                                      + + Permalink + + +
                                                                      Definition Classes
                                                                      TimeAggregator → BaseSimplePipeOperator → BaseGenericPipeOperator → BaseGenericMutantOperator
                                                                      +
                                                                    17. + + +

                                                                      + + + def + + + stop: Unit + +

                                                                      + + Permalink + + +
                                                                      Definition Classes
                                                                      BaseGenericPipeOperator → BaseGenericMutantOperator
                                                                      +
                                                                    18. + + +

                                                                      + + final + def + + + synchronized[T0](arg0: ⇒ T0): T0 + +

                                                                      + + Permalink + + +
                                                                      Definition Classes
                                                                      AnyRef
                                                                      +
                                                                    19. + + +

                                                                      + + + def + + + timeAggregate(df: (DataFrame) ⇒ DataFrame): (DataFrame) ⇒ DataFrame + +

                                                                      + + Permalink + + + +
                                                                    20. + + +

                                                                      + + + def + + + toString(): String + +

                                                                      + + Permalink + + +
                                                                      Definition Classes
                                                                      AnyRef → Any
                                                                      +
                                                                    21. + + +

                                                                      + + final + def + + + wait(): Unit + +

                                                                      + + Permalink + + +
                                                                      Definition Classes
                                                                      AnyRef
                                                                      Annotations
                                                                      + @throws( + + ... + ) + +
                                                                      +
                                                                    22. + + +

                                                                      + + final + def + + + wait(arg0: Long, arg1: Int): Unit + +

                                                                      + + Permalink + + +
                                                                      Definition Classes
                                                                      AnyRef
                                                                      Annotations
                                                                      + @throws( + + ... + ) + +
                                                                      +
                                                                    23. + + +

                                                                      + + final + def + + + wait(arg0: Long): Unit + +

                                                                      + + Permalink + + +
                                                                      Definition Classes
                                                                      AnyRef
                                                                      Annotations
                                                                      + @throws( + + ... + ) + +
                                                                      +
                                                                    +
                                                                    + + + + +
                                                                    + +
                                                                    +
                                                                    +

                                                                    Inherited from BaseSimplePipeOperator[DataFrame, StreamPipeOperatorInfo, SparkSession]

                                                                    +
                                                                    +

                                                                    Inherited from BaseGenericPipeOperator[(DataFrame) ⇒ DataFrame, DataFrame, DataFrame, StreamPipeOperatorInfo, SparkSession]

                                                                    +
                                                                    +

                                                                    Inherited from BaseGenericMutantOperator[StreamPipeOperatorInfo, (DataFrame) ⇒ DataFrame, (DataFrame) ⇒ DataFrame]

                                                                    +
                                                                    +

                                                                    Inherited from BaseDoer

                                                                    +
                                                                    +

                                                                    Inherited from Logging

                                                                    +
                                                                    +

                                                                    Inherited from Serializable

                                                                    +
                                                                    +

                                                                    Inherited from Serializable

                                                                    +
                                                                    +

                                                                    Inherited from AnyRef

                                                                    +
                                                                    +

                                                                    Inherited from Any

                                                                    +
                                                                    + +
                                                                    + +
                                                                    +
                                                                    +

                                                                    Ungrouped

                                                                    + +
                                                                    +
                                                                    + +
                                                                    + +
                                                                    + + + + + + diff --git a/manual1903/api_reference/didentification/scaladocs/ksb/csle/didentification/pipe/preprocessing/package.html b/manual1903/api_reference/didentification/scaladocs/ksb/csle/didentification/pipe/preprocessing/package.html new file mode 100644 index 0000000000000000000000000000000000000000..4049e9264a9548327dc73e0aaef7a7e015368278 --- /dev/null +++ b/manual1903/api_reference/didentification/scaladocs/ksb/csle/didentification/pipe/preprocessing/package.html @@ -0,0 +1,231 @@ + + + + preprocessing - KSB DEIDENTIFICATION Scala App Project 1.0-SNAPSHOT API - ksb.csle.didentification.pipe.preprocessing + + + + + + + + + + + + + + + +
                                                                    + Package +

                                                                    ksb.csle.didentification.pipe

                                                                    +

                                                                    preprocessing

                                                                    + + Permalink + + +
                                                                    + +

                                                                    + + + package + + + preprocessing + +

                                                                    + +
                                                                    + Linear Supertypes +
                                                                    AnyRef, Any
                                                                    +
                                                                    + + +
                                                                    +
                                                                    +
                                                                    + Ordering +
                                                                      + +
                                                                    1. Alphabetic
                                                                    2. +
                                                                    3. By Inheritance
                                                                    4. +
                                                                    +
                                                                    +
                                                                    + Inherited
                                                                    +
                                                                    +
                                                                      +
                                                                    1. preprocessing
                                                                    2. AnyRef
                                                                    3. Any
                                                                    4. +
                                                                    +
                                                                    + +
                                                                      +
                                                                    1. Hide All
                                                                    2. +
                                                                    3. Show All
                                                                    4. +
                                                                    +
                                                                    +
                                                                    + Visibility +
                                                                    1. Public
                                                                    2. All
                                                                    +
                                                                    +
                                                                    + +
                                                                    +
                                                                    + + +
                                                                    +

                                                                    Type Members

                                                                    +
                                                                    1. + + +

                                                                      + + + class + + + AddZoneIDColumnOperator extends BaseSimplePipeOperator[DataFrame, StreamPipeOperatorInfo, SparkSession] + +

                                                                      + + Permalink + + +

                                                                      This class implements the column manipulation module which manipulates the +contents type +

                                                                      +
                                                                    2. + + +

                                                                      + + + class + + + ColumnOperationOperator extends BaseSimplePipeOperator[DataFrame, StreamPipeOperatorInfo, SparkSession] + +

                                                                      + + Permalink + + + +
                                                                    3. + + +

                                                                      + + + class + + + ColumnsRenamerOperator extends BaseSimplePipeOperator[DataFrame, StreamPipeOperatorInfo, SparkSession] + +

                                                                      + + Permalink + + + +
                                                                    4. + + +

                                                                      + + + class + + + SelectColumnsOperator extends BaseSimplePipeOperator[DataFrame, StreamPipeOperatorInfo, SparkSession] + +

                                                                      + + Permalink + + + +
                                                                    5. + + +

                                                                      + + + class + + + SparkMLPredictor extends BaseSimplePipeOperator[DataFrame, StreamPipeOperatorInfo, SparkSession] + +

                                                                      + + Permalink + + + +
                                                                    6. + + +

                                                                      + + + class + + + TimeAggregator extends BaseSimplePipeOperator[DataFrame, StreamPipeOperatorInfo, SparkSession] + +

                                                                      + + Permalink + + + +
                                                                    +
                                                                    + + + + + + + + +
                                                                    + +
                                                                    +
                                                                    +

                                                                    Inherited from AnyRef

                                                                    +
                                                                    +

                                                                    Inherited from Any

                                                                    +
                                                                    + +
                                                                    + +
                                                                    +
                                                                    +

                                                                    Ungrouped

                                                                    + +
                                                                    +
                                                                    + +
                                                                    + +
                                                                    + + + + + + diff --git a/manual1903/api_reference/didentification/scaladocs/ksb/csle/didentification/privacy/AggregationOperator$.html b/manual1903/api_reference/didentification/scaladocs/ksb/csle/didentification/privacy/AggregationOperator$.html new file mode 100644 index 0000000000000000000000000000000000000000..a1dd80bc505120660fa9532a2375d47834f0e5a4 --- /dev/null +++ b/manual1903/api_reference/didentification/scaladocs/ksb/csle/didentification/privacy/AggregationOperator$.html @@ -0,0 +1,505 @@ + + + + AggregationOperator - KSB DEIDENTIFICATION Scala App Project 1.0-SNAPSHOT API - ksb.csle.didentification.privacy.AggregationOperator + + + + + + + + + + + + + + + + + +

                                                                    + + + object + + + AggregationOperator extends Serializable + +

                                                                    + +
                                                                    + Linear Supertypes +
                                                                    Serializable, Serializable, AnyRef, Any
                                                                    +
                                                                    + + +
                                                                    +
                                                                    +
                                                                    + Ordering +
                                                                      + +
                                                                    1. Alphabetic
                                                                    2. +
                                                                    3. By Inheritance
                                                                    4. +
                                                                    +
                                                                    +
                                                                    + Inherited
                                                                    +
                                                                    +
                                                                      +
                                                                    1. AggregationOperator
                                                                    2. Serializable
                                                                    3. Serializable
                                                                    4. AnyRef
                                                                    5. Any
                                                                    6. +
                                                                    +
                                                                    + +
                                                                      +
                                                                    1. Hide All
                                                                    2. +
                                                                    3. Show All
                                                                    4. +
                                                                    +
                                                                    +
                                                                    + Visibility +
                                                                    1. Public
                                                                    2. All
                                                                    +
                                                                    +
                                                                    + +
                                                                    +
                                                                    + + + + + + +
                                                                    +

                                                                    Value Members

                                                                    +
                                                                    1. + + +

                                                                      + + final + def + + + !=(arg0: Any): Boolean + +

                                                                      + + Permalink + + +
                                                                      Definition Classes
                                                                      AnyRef → Any
                                                                      +
                                                                    2. + + +

                                                                      + + final + def + + + ##(): Int + +

                                                                      + + Permalink + + +
                                                                      Definition Classes
                                                                      AnyRef → Any
                                                                      +
                                                                    3. + + +

                                                                      + + final + def + + + ==(arg0: Any): Boolean + +

                                                                      + + Permalink + + +
                                                                      Definition Classes
                                                                      AnyRef → Any
                                                                      +
                                                                    4. + + +

                                                                      + + + def + + + apply(o: StreamOperatorInfo): AggregationOperator + +

                                                                      + + Permalink + + + +
                                                                    5. + + +

                                                                      + + final + def + + + asInstanceOf[T0]: T0 + +

                                                                      + + Permalink + + +
                                                                      Definition Classes
                                                                      Any
                                                                      +
                                                                    6. + + +

                                                                      + + + def + + + clone(): AnyRef + +

                                                                      + + Permalink + + +
                                                                      Attributes
                                                                      protected[java.lang]
                                                                      Definition Classes
                                                                      AnyRef
                                                                      Annotations
                                                                      + @throws( + + ... + ) + +
                                                                      +
                                                                    7. + + +

                                                                      + + final + def + + + eq(arg0: AnyRef): Boolean + +

                                                                      + + Permalink + + +
                                                                      Definition Classes
                                                                      AnyRef
                                                                      +
                                                                    8. + + +

                                                                      + + + def + + + equals(arg0: Any): Boolean + +

                                                                      + + Permalink + + +
                                                                      Definition Classes
                                                                      AnyRef → Any
                                                                      +
                                                                    9. + + +

                                                                      + + + def + + + finalize(): Unit + +

                                                                      + + Permalink + + +
                                                                      Attributes
                                                                      protected[java.lang]
                                                                      Definition Classes
                                                                      AnyRef
                                                                      Annotations
                                                                      + @throws( + + classOf[java.lang.Throwable] + ) + +
                                                                      +
                                                                    10. + + +

                                                                      + + final + def + + + getClass(): Class[_] + +

                                                                      + + Permalink + + +
                                                                      Definition Classes
                                                                      AnyRef → Any
                                                                      +
                                                                    11. + + +

                                                                      + + + def + + + hashCode(): Int + +

                                                                      + + Permalink + + +
                                                                      Definition Classes
                                                                      AnyRef → Any
                                                                      +
                                                                    12. + + +

                                                                      + + final + def + + + isInstanceOf[T0]: Boolean + +

                                                                      + + Permalink + + +
                                                                      Definition Classes
                                                                      Any
                                                                      +
                                                                    13. + + +

                                                                      + + final + def + + + ne(arg0: AnyRef): Boolean + +

                                                                      + + Permalink + + +
                                                                      Definition Classes
                                                                      AnyRef
                                                                      +
                                                                    14. + + +

                                                                      + + final + def + + + notify(): Unit + +

                                                                      + + Permalink + + +
                                                                      Definition Classes
                                                                      AnyRef
                                                                      +
                                                                    15. + + +

                                                                      + + final + def + + + notifyAll(): Unit + +

                                                                      + + Permalink + + +
                                                                      Definition Classes
                                                                      AnyRef
                                                                      +
                                                                    16. + + +

                                                                      + + final + def + + + synchronized[T0](arg0: ⇒ T0): T0 + +

                                                                      + + Permalink + + +
                                                                      Definition Classes
                                                                      AnyRef
                                                                      +
                                                                    17. + + +

                                                                      + + + def + + + toString(): String + +

                                                                      + + Permalink + + +
                                                                      Definition Classes
                                                                      AnyRef → Any
                                                                      +
                                                                    18. + + +

                                                                      + + final + def + + + wait(): Unit + +

                                                                      + + Permalink + + +
                                                                      Definition Classes
                                                                      AnyRef
                                                                      Annotations
                                                                      + @throws( + + ... + ) + +
                                                                      +
                                                                    19. + + +

                                                                      + + final + def + + + wait(arg0: Long, arg1: Int): Unit + +

                                                                      + + Permalink + + +
                                                                      Definition Classes
                                                                      AnyRef
                                                                      Annotations
                                                                      + @throws( + + ... + ) + +
                                                                      +
                                                                    20. + + +

                                                                      + + final + def + + + wait(arg0: Long): Unit + +

                                                                      + + Permalink + + +
                                                                      Definition Classes
                                                                      AnyRef
                                                                      Annotations
                                                                      + @throws( + + ... + ) + +
                                                                      +
                                                                    +
                                                                    + + + + +
                                                                    + +
                                                                    +
                                                                    +

                                                                    Inherited from Serializable

                                                                    +
                                                                    +

                                                                    Inherited from Serializable

                                                                    +
                                                                    +

                                                                    Inherited from AnyRef

                                                                    +
                                                                    +

                                                                    Inherited from Any

                                                                    +
                                                                    + +
                                                                    + +
                                                                    +
                                                                    +

                                                                    Ungrouped

                                                                    + +
                                                                    +
                                                                    + +
                                                                    + +
                                                                    + + + + + + diff --git a/manual1903/api_reference/didentification/scaladocs/ksb/csle/didentification/privacy/AggregationOperator.html b/manual1903/api_reference/didentification/scaladocs/ksb/csle/didentification/privacy/AggregationOperator.html new file mode 100644 index 0000000000000000000000000000000000000000..c6c7fe3f2a68f29176055973ffd6812797380a89 --- /dev/null +++ b/manual1903/api_reference/didentification/scaladocs/ksb/csle/didentification/privacy/AggregationOperator.html @@ -0,0 +1,837 @@ + + + + AggregationOperator - KSB DEIDENTIFICATION Scala App Project 1.0-SNAPSHOT API - ksb.csle.didentification.privacy.AggregationOperator + + + + + + + + + + + + + + + + + +

                                                                    + + + class + + + AggregationOperator extends BasePrivacyAnonymizer + +

                                                                    + +

                                                                    :: ApplicationDeveloperApi ::

                                                                    Operator that implements the aggregation module in the Aggregation +algorithm. It replaces the values of the data with some +statistic values such as min, max, avg, std, or count. +If the type of record is string containing numerical value, this module +extracts only numerical value and then applies this function on it. +

                                                                    + Linear Supertypes +
                                                                    BasePrivacyAnonymizer, DataFrameCheck, BaseDataOperator[StreamOperatorInfo, DataFrame], BaseGenericOperator[StreamOperatorInfo, DataFrame], BaseGenericMutantOperator[StreamOperatorInfo, DataFrame, DataFrame], BaseDoer, Logging, Serializable, Serializable, AnyRef, Any
                                                                    +
                                                                    + + +
                                                                    +
                                                                    +
                                                                    + Ordering +
                                                                      + +
                                                                    1. Alphabetic
                                                                    2. +
                                                                    3. By Inheritance
                                                                    4. +
                                                                    +
                                                                    +
                                                                    + Inherited
                                                                    +
                                                                    +
                                                                      +
                                                                    1. AggregationOperator
                                                                    2. BasePrivacyAnonymizer
                                                                    3. DataFrameCheck
                                                                    4. BaseDataOperator
                                                                    5. BaseGenericOperator
                                                                    6. BaseGenericMutantOperator
                                                                    7. BaseDoer
                                                                    8. Logging
                                                                    9. Serializable
                                                                    10. Serializable
                                                                    11. AnyRef
                                                                    12. Any
                                                                    13. +
                                                                    +
                                                                    + +
                                                                      +
                                                                    1. Hide All
                                                                    2. +
                                                                    3. Show All
                                                                    4. +
                                                                    +
                                                                    +
                                                                    + Visibility +
                                                                    1. Public
                                                                    2. All
                                                                    +
                                                                    +
                                                                    + +
                                                                    +
                                                                    +
                                                                    +

                                                                    Instance Constructors

                                                                    +
                                                                    1. + + +

                                                                      + + + new + + + AggregationOperator(o: StreamOperatorInfo) + +

                                                                      + + Permalink + + +

                                                                      o

                                                                      Object that contains message + ksb.csle.common.proto.StreamDidentProto.AggregationInfo + AggregationInfo contains attributes as follows:

                                                                      • selectedColumnId: Column ID to apply the aggregation function
                                                                      • method: the method to aggregate the given columns
                                                                      • fieldInfo: the info about column attributes (identifier, sensitive, ..)
                                                                      • check: the method how to verify the performance of anonymized data

                                                                      AggregationInfo

                                                                      enum AggregationMethod {
                                                                      +  MIN = 0;
                                                                      +  AVG = 1;
                                                                      +  MAX = 2;
                                                                      +  STD = 3;
                                                                      +  COUNT = 4;
                                                                      +  MANUAL = 5;
                                                                      +}
                                                                      +message AggregationInfo {
                                                                      +  repeated int32 selectedColumnId = 1;
                                                                      +  required AggregationMethod method = 2 [default = AVG];
                                                                      +  repeated FieldInfo fieldInfo = 3;
                                                                      +  optional PrivacyCheckInfo check = 4;
                                                                      +}
                                                                      +
                                                                    +
                                                                    + + + + + +
                                                                    +

                                                                    Value Members

                                                                    +
                                                                    1. + + +

                                                                      + + final + def + + + !=(arg0: Any): Boolean + +

                                                                      + + Permalink + + +
                                                                      Definition Classes
                                                                      AnyRef → Any
                                                                      +
                                                                    2. + + +

                                                                      + + final + def + + + ##(): Int + +

                                                                      + + Permalink + + +
                                                                      Definition Classes
                                                                      AnyRef → Any
                                                                      +
                                                                    3. + + +

                                                                      + + final + def + + + ==(arg0: Any): Boolean + +

                                                                      + + Permalink + + +
                                                                      Definition Classes
                                                                      AnyRef → Any
                                                                      +
                                                                    4. + + +

                                                                      + + + def + + + aggregateNumericColumn[T](src: DataFrame, columnName: String, aggrType: T): DataFrame + +

                                                                      + + Permalink + + +

                                                                      Replaces the values of the column containing numerical data with statistic +information using 'aggrType' method such as min, max, avg, std, and count +

                                                                      Replaces the values of the column containing numerical data with statistic +information using 'aggrType' method such as min, max, avg, std, and count +

                                                                      src

                                                                      Dataframe to anonymize

                                                                      columnName

                                                                      Column to be anonymized

                                                                      aggrType

                                                                      Methods of aggregation module. ex., min, max, avg, std, and count

                                                                      returns

                                                                      DataFrame Anonymized dataframe

                                                                      +
                                                                    5. + + +

                                                                      + + + def + + + anonymize(src: DataFrame, columnNames: Array[String]): DataFrame + +

                                                                      + + Permalink + + +
                                                                      Definition Classes
                                                                      BasePrivacyAnonymizer
                                                                      +
                                                                    6. + + +

                                                                      + + + def + + + anonymize(src: DataFrame, columnName: String): DataFrame + +

                                                                      + + Permalink + + +

                                                                      Anonymizes the column specified in src dataframe +using generic 'Type' method.

                                                                      Anonymizes the column specified in src dataframe +using generic 'Type' method. The 'Type' is decided by +inherited object module. +

                                                                      src

                                                                      Dataframe to anonymize

                                                                      columnName

                                                                      Column to be anonymized

                                                                      returns

                                                                      DataFrame The dataframe which replaces original column +with anonymized column

                                                                      Definition Classes
                                                                      BasePrivacyAnonymizer
                                                                      +
                                                                    7. + + +

                                                                      + + + def + + + anonymizeColumn(src: DataFrame, columnName: String): DataFrame + +

                                                                      + + Permalink + + +

                                                                      Replaces the values of the column with statistic information +using 'aggrType' method such as min, max, avg, std, and count.

                                                                      Replaces the values of the column with statistic information +using 'aggrType' method such as min, max, avg, std, and count. +If the type of column is string, this module call the hiding +module internally. +

                                                                      src

                                                                      Dataframe to anonymize

                                                                      columnName

                                                                      Column to be anonymized

                                                                      returns

                                                                      DataFrame Anonymized dataframe

                                                                      Definition Classes
                                                                      AggregationOperatorBasePrivacyAnonymizer
                                                                      +
                                                                    8. + + +

                                                                      + + final + def + + + asInstanceOf[T0]: T0 + +

                                                                      + + Permalink + + +
                                                                      Definition Classes
                                                                      Any
                                                                      +
                                                                    9. + + +

                                                                      + + + def + + + clone(): AnyRef + +

                                                                      + + Permalink + + +
                                                                      Attributes
                                                                      protected[java.lang]
                                                                      Definition Classes
                                                                      AnyRef
                                                                      Annotations
                                                                      + @throws( + + ... + ) + +
                                                                      +
                                                                    10. + + +

                                                                      + + final + def + + + eq(arg0: AnyRef): Boolean + +

                                                                      + + Permalink + + +
                                                                      Definition Classes
                                                                      AnyRef
                                                                      +
                                                                    11. + + +

                                                                      + + + def + + + equals(arg0: Any): Boolean + +

                                                                      + + Permalink + + +
                                                                      Definition Classes
                                                                      AnyRef → Any
                                                                      +
                                                                    12. + + +

                                                                      + + + def + + + finalize(): Unit + +

                                                                      + + Permalink + + +
                                                                      Attributes
                                                                      protected[java.lang]
                                                                      Definition Classes
                                                                      AnyRef
                                                                      Annotations
                                                                      + @throws( + + classOf[java.lang.Throwable] + ) + +
                                                                      +
                                                                    13. + + +

                                                                      + + final + def + + + getClass(): Class[_] + +

                                                                      + + Permalink + + +
                                                                      Definition Classes
                                                                      AnyRef → Any
                                                                      +
                                                                    14. + + +

                                                                      + + + def + + + getColumnName(src: DataFrame, columnId: Int): String + +

                                                                      + + Permalink + + +

                                                                      Returns column name from src dataframe +specified by the column ID defined by protobuf.

                                                                      Returns column name from src dataframe +specified by the column ID defined by protobuf. +

                                                                      src

                                                                      dataframe to get names of columns.

                                                                      columnId

                                                                      column ID to anonymize.

                                                                      returns

                                                                      String.

                                                                      Definition Classes
                                                                      DataFrameCheck
                                                                      +
                                                                    15. + + +

                                                                      + + + def + + + getColumnNames(src: DataFrame, columnIDs: Array[Int]): Array[String] + +

                                                                      + + Permalink + + +

                                                                      Returns column names from src dataframe specified by column IDs.

                                                                      Returns column names from src dataframe specified by column IDs. +Note that the column with invalid IDs are ignored. +

                                                                      src

                                                                      dataframe to get names of columns.

                                                                      returns

                                                                      Array[String].

                                                                      Definition Classes
                                                                      DataFrameCheck
                                                                      +
                                                                    16. + + +

                                                                      + + + def + + + getQuasiColumnIDs(fieldInfos: Array[FieldInfo]): Array[Int] + +

                                                                      + + Permalink + + +
                                                                      Definition Classes
                                                                      DataFrameCheck
                                                                      +
                                                                    17. + + +

                                                                      + + + def + + + getSensColumnIDs(fieldInfos: Array[FieldInfo]): Array[Int] + +

                                                                      + + Permalink + + +
                                                                      Definition Classes
                                                                      DataFrameCheck
                                                                      +
                                                                    18. + + +

                                                                      + + + def + + + getValidColumnIDs(src: DataFrame, columnIDs: Array[Int]): Array[Int] + +

                                                                      + + Permalink + + +
                                                                      Definition Classes
                                                                      DataFrameCheck
                                                                      +
                                                                    19. + + +

                                                                      + + + def + + + hashCode(): Int + +

                                                                      + + Permalink + + +
                                                                      Definition Classes
                                                                      AnyRef → Any
                                                                      +
                                                                    20. + + +

                                                                      + + final + def + + + isInstanceOf[T0]: Boolean + +

                                                                      + + Permalink + + +
                                                                      Definition Classes
                                                                      Any
                                                                      +
                                                                    21. + + +

                                                                      + + + def + + + isValidColumnID(src: DataFrame, columnID: Int): Boolean + +

                                                                      + + Permalink + + +

                                                                      Checks the given column ID is valid.

                                                                      Checks the given column ID is valid. +

                                                                      src

                                                                      dataframe to get names of columns.

                                                                      returns

                                                                      Boolean.

                                                                      Definition Classes
                                                                      DataFrameCheck
                                                                      +
                                                                    22. + + +

                                                                      + + + def + + + isValidColumnName(src: DataFrame, columnName: String): Boolean + +

                                                                      + + Permalink + + +

                                                                      Checks the given column Name is valid.

                                                                      Checks the given column Name is valid. +

                                                                      src

                                                                      dataframe to get names of columns.

                                                                      columnName

                                                                      column Name.

                                                                      returns

                                                                      Boolean.

                                                                      Definition Classes
                                                                      DataFrameCheck
                                                                      +
                                                                    23. + + +

                                                                      + + + val + + + logger: Logger + +

                                                                      + + Permalink + + +
                                                                      Attributes
                                                                      protected
                                                                      Definition Classes
                                                                      Logging
                                                                      +
                                                                    24. + + +

                                                                      + + final + def + + + ne(arg0: AnyRef): Boolean + +

                                                                      + + Permalink + + +
                                                                      Definition Classes
                                                                      AnyRef
                                                                      +
                                                                    25. + + +

                                                                      + + final + def + + + notify(): Unit + +

                                                                      + + Permalink + + +
                                                                      Definition Classes
                                                                      AnyRef
                                                                      +
                                                                    26. + + +

                                                                      + + final + def + + + notifyAll(): Unit + +

                                                                      + + Permalink + + +
                                                                      Definition Classes
                                                                      AnyRef
                                                                      +
                                                                    27. + + +

                                                                      + + + def + + + operate(df: DataFrame): DataFrame + +

                                                                      + + Permalink + + +

                                                                      Operates aggregation module for basic de-identification +

                                                                      Operates aggregation module for basic de-identification +

                                                                      df

                                                                      Input dataframe

                                                                      returns

                                                                      DataFrame Anonymized dataframe

                                                                      Definition Classes
                                                                      AggregationOperator → BaseGenericOperator → BaseGenericMutantOperator
                                                                      +
                                                                    28. + + +

                                                                      + + + val + + + p: AggregationInfo + +

                                                                      + + Permalink + + + +
                                                                    29. + + +

                                                                      + + + val + + + privacy: PrivacyCheckInfo + +

                                                                      + + Permalink + + +
                                                                      Definition Classes
                                                                      BasePrivacyAnonymizer
                                                                      +
                                                                    30. + + +

                                                                      + + + def + + + stop: Unit + +

                                                                      + + Permalink + + +
                                                                      Definition Classes
                                                                      BaseGenericOperator → BaseGenericMutantOperator
                                                                      +
                                                                    31. + + +

                                                                      + + final + def + + + synchronized[T0](arg0: ⇒ T0): T0 + +

                                                                      + + Permalink + + +
                                                                      Definition Classes
                                                                      AnyRef
                                                                      +
                                                                    32. + + +

                                                                      + + + def + + + toString(): String + +

                                                                      + + Permalink + + +
                                                                      Definition Classes
                                                                      AnyRef → Any
                                                                      +
                                                                    33. + + +

                                                                      + + final + def + + + wait(): Unit + +

                                                                      + + Permalink + + +
                                                                      Definition Classes
                                                                      AnyRef
                                                                      Annotations
                                                                      + @throws( + + ... + ) + +
                                                                      +
                                                                    34. + + +

                                                                      + + final + def + + + wait(arg0: Long, arg1: Int): Unit + +

                                                                      + + Permalink + + +
                                                                      Definition Classes
                                                                      AnyRef
                                                                      Annotations
                                                                      + @throws( + + ... + ) + +
                                                                      +
                                                                    35. + + +

                                                                      + + final + def + + + wait(arg0: Long): Unit + +

                                                                      + + Permalink + + +
                                                                      Definition Classes
                                                                      AnyRef
                                                                      Annotations
                                                                      + @throws( + + ... + ) + +
                                                                      +
                                                                    +
                                                                    + + + + +
                                                                    + +
                                                                    +
                                                                    +

                                                                    Inherited from BasePrivacyAnonymizer

                                                                    +
                                                                    +

                                                                    Inherited from DataFrameCheck

                                                                    +
                                                                    +

                                                                    Inherited from BaseDataOperator[StreamOperatorInfo, DataFrame]

                                                                    +
                                                                    +

                                                                    Inherited from BaseGenericOperator[StreamOperatorInfo, DataFrame]

                                                                    +
                                                                    +

                                                                    Inherited from BaseGenericMutantOperator[StreamOperatorInfo, DataFrame, DataFrame]

                                                                    +
                                                                    +

                                                                    Inherited from BaseDoer

                                                                    +
                                                                    +

                                                                    Inherited from Logging

                                                                    +
                                                                    +

                                                                    Inherited from Serializable

                                                                    +
                                                                    +

                                                                    Inherited from Serializable

                                                                    +
                                                                    +

                                                                    Inherited from AnyRef

                                                                    +
                                                                    +

                                                                    Inherited from Any

                                                                    +
                                                                    + +
                                                                    + +
                                                                    +
                                                                    +

                                                                    Ungrouped

                                                                    + +
                                                                    +
                                                                    + +
                                                                    + +
                                                                    + + + + + + diff --git a/manual1903/api_reference/didentification/scaladocs/ksb/csle/didentification/privacy/BasePrivacyAnonymizer.html b/manual1903/api_reference/didentification/scaladocs/ksb/csle/didentification/privacy/BasePrivacyAnonymizer.html new file mode 100644 index 0000000000000000000000000000000000000000..61f755bb3e3734427e4bbce140b6d6b137e13af5 --- /dev/null +++ b/manual1903/api_reference/didentification/scaladocs/ksb/csle/didentification/privacy/BasePrivacyAnonymizer.html @@ -0,0 +1,782 @@ + + + + BasePrivacyAnonymizer - KSB DEIDENTIFICATION Scala App Project 1.0-SNAPSHOT API - ksb.csle.didentification.privacy.BasePrivacyAnonymizer + + + + + + + + + + + + + + + +
                                                                    + Class +

                                                                    ksb.csle.didentification.privacy

                                                                    +

                                                                    BasePrivacyAnonymizer

                                                                    Related Doc: + package privacy +

                                                                    + + Permalink + + +
                                                                    + +

                                                                    + + abstract + class + + + BasePrivacyAnonymizer extends BaseDataOperator[StreamOperatorInfo, DataFrame] with DataFrameCheck + +

                                                                    + +

                                                                    This abstract class defines some functions that are shared +by basic de-identification modules. +

                                                                    + Linear Supertypes +
                                                                    DataFrameCheck, BaseDataOperator[StreamOperatorInfo, DataFrame], BaseGenericOperator[StreamOperatorInfo, DataFrame], BaseGenericMutantOperator[StreamOperatorInfo, DataFrame, DataFrame], BaseDoer, Logging, Serializable, Serializable, AnyRef, Any
                                                                    +
                                                                    + + +
                                                                    +
                                                                    +
                                                                    + Ordering +
                                                                      + +
                                                                    1. Alphabetic
                                                                    2. +
                                                                    3. By Inheritance
                                                                    4. +
                                                                    +
                                                                    +
                                                                    + Inherited
                                                                    +
                                                                    +
                                                                      +
                                                                    1. BasePrivacyAnonymizer
                                                                    2. DataFrameCheck
                                                                    3. BaseDataOperator
                                                                    4. BaseGenericOperator
                                                                    5. BaseGenericMutantOperator
                                                                    6. BaseDoer
                                                                    7. Logging
                                                                    8. Serializable
                                                                    9. Serializable
                                                                    10. AnyRef
                                                                    11. Any
                                                                    12. +
                                                                    +
                                                                    + +
                                                                      +
                                                                    1. Hide All
                                                                    2. +
                                                                    3. Show All
                                                                    4. +
                                                                    +
                                                                    +
                                                                    + Visibility +
                                                                    1. Public
                                                                    2. All
                                                                    +
                                                                    +
                                                                    + +
                                                                    +
                                                                    +
                                                                    +

                                                                    Instance Constructors

                                                                    +
                                                                    1. + + +

                                                                      + + + new + + + BasePrivacyAnonymizer(o: StreamOperatorInfo, p: PrivacyCheckInfo) + +

                                                                      + + Permalink + + + +
                                                                    +
                                                                    + + + +
                                                                    +

                                                                    Abstract Value Members

                                                                    +
                                                                    1. + + +

                                                                      + + abstract + def + + + anonymizeColumn(src: DataFrame, columnName: String): DataFrame + +

                                                                      + + Permalink + + +

                                                                      This abstract function defines how to anonymize the column.

                                                                      This abstract function defines how to anonymize the column. +The object inheriting this abstract class should override this function. +

                                                                      src

                                                                      dataframe to anonymize

                                                                      columnName

                                                                      Column to be anonymized

                                                                      returns

                                                                      DataFrame The dataframe which replaces original column +with anonymized column

                                                                      +
                                                                    2. + + +

                                                                      + + abstract + def + + + operate(d: DataFrame): DataFrame + +

                                                                      + + Permalink + + +
                                                                      Definition Classes
                                                                      BaseGenericOperator → BaseGenericMutantOperator
                                                                      Annotations
                                                                      + @DeveloperApi() + +
                                                                      +
                                                                    +
                                                                    + +
                                                                    +

                                                                    Concrete Value Members

                                                                    +
                                                                    1. + + +

                                                                      + + final + def + + + !=(arg0: Any): Boolean + +

                                                                      + + Permalink + + +
                                                                      Definition Classes
                                                                      AnyRef → Any
                                                                      +
                                                                    2. + + +

                                                                      + + final + def + + + ##(): Int + +

                                                                      + + Permalink + + +
                                                                      Definition Classes
                                                                      AnyRef → Any
                                                                      +
                                                                    3. + + +

                                                                      + + final + def + + + ==(arg0: Any): Boolean + +

                                                                      + + Permalink + + +
                                                                      Definition Classes
                                                                      AnyRef → Any
                                                                      +
                                                                    4. + + +

                                                                      + + + def + + + anonymize(src: DataFrame, columnNames: Array[String]): DataFrame + +

                                                                      + + Permalink + + + +
                                                                    5. + + +

                                                                      + + + def + + + anonymize(src: DataFrame, columnName: String): DataFrame + +

                                                                      + + Permalink + + +

                                                                      Anonymizes the column specified in src dataframe +using generic 'Type' method.

                                                                      Anonymizes the column specified in src dataframe +using generic 'Type' method. The 'Type' is decided by +inherited object module. +

                                                                      src

                                                                      Dataframe to anonymize

                                                                      columnName

                                                                      Column to be anonymized

                                                                      returns

                                                                      DataFrame The dataframe which replaces original column +with anonymized column

                                                                      +
                                                                    6. + + +

                                                                      + + final + def + + + asInstanceOf[T0]: T0 + +

                                                                      + + Permalink + + +
                                                                      Definition Classes
                                                                      Any
                                                                      +
                                                                    7. + + +

                                                                      + + + def + + + clone(): AnyRef + +

                                                                      + + Permalink + + +
                                                                      Attributes
                                                                      protected[java.lang]
                                                                      Definition Classes
                                                                      AnyRef
                                                                      Annotations
                                                                      + @throws( + + ... + ) + +
                                                                      +
                                                                    8. + + +

                                                                      + + final + def + + + eq(arg0: AnyRef): Boolean + +

                                                                      + + Permalink + + +
                                                                      Definition Classes
                                                                      AnyRef
                                                                      +
                                                                    9. + + +

                                                                      + + + def + + + equals(arg0: Any): Boolean + +

                                                                      + + Permalink + + +
                                                                      Definition Classes
                                                                      AnyRef → Any
                                                                      +
                                                                    10. + + +

                                                                      + + + def + + + finalize(): Unit + +

                                                                      + + Permalink + + +
                                                                      Attributes
                                                                      protected[java.lang]
                                                                      Definition Classes
                                                                      AnyRef
                                                                      Annotations
                                                                      + @throws( + + classOf[java.lang.Throwable] + ) + +
                                                                      +
                                                                    11. + + +

                                                                      + + final + def + + + getClass(): Class[_] + +

                                                                      + + Permalink + + +
                                                                      Definition Classes
                                                                      AnyRef → Any
                                                                      +
                                                                    12. + + +

                                                                      + + + def + + + getColumnName(src: DataFrame, columnId: Int): String + +

                                                                      + + Permalink + + +

                                                                      Returns column name from src dataframe +specified by the column ID defined by protobuf.

                                                                      Returns column name from src dataframe +specified by the column ID defined by protobuf. +

                                                                      src

                                                                      dataframe to get names of columns.

                                                                      columnId

                                                                      column ID to anonymize.

                                                                      returns

                                                                      String.

                                                                      Definition Classes
                                                                      DataFrameCheck
                                                                      +
                                                                    13. + + +

                                                                      + + + def + + + getColumnNames(src: DataFrame, columnIDs: Array[Int]): Array[String] + +

                                                                      + + Permalink + + +

                                                                      Returns column names from src dataframe specified by column IDs.

                                                                      Returns column names from src dataframe specified by column IDs. +Note that the column with invalid IDs are ignored. +

                                                                      src

                                                                      dataframe to get names of columns.

                                                                      returns

                                                                      Array[String].

                                                                      Definition Classes
                                                                      DataFrameCheck
                                                                      +
                                                                    14. + + +

                                                                      + + + def + + + getQuasiColumnIDs(fieldInfos: Array[FieldInfo]): Array[Int] + +

                                                                      + + Permalink + + +
                                                                      Definition Classes
                                                                      DataFrameCheck
                                                                      +
                                                                    15. + + +

                                                                      + + + def + + + getSensColumnIDs(fieldInfos: Array[FieldInfo]): Array[Int] + +

                                                                      + + Permalink + + +
                                                                      Definition Classes
                                                                      DataFrameCheck
                                                                      +
                                                                    16. + + +

                                                                      + + + def + + + getValidColumnIDs(src: DataFrame, columnIDs: Array[Int]): Array[Int] + +

                                                                      + + Permalink + + +
                                                                      Definition Classes
                                                                      DataFrameCheck
                                                                      +
                                                                    17. + + +

                                                                      + + + def + + + hashCode(): Int + +

                                                                      + + Permalink + + +
                                                                      Definition Classes
                                                                      AnyRef → Any
                                                                      +
                                                                    18. + + +

                                                                      + + final + def + + + isInstanceOf[T0]: Boolean + +

                                                                      + + Permalink + + +
                                                                      Definition Classes
                                                                      Any
                                                                      +
                                                                    19. + + +

                                                                      + + + def + + + isValidColumnID(src: DataFrame, columnID: Int): Boolean + +

                                                                      + + Permalink + + +

                                                                      Checks the given column ID is valid.

                                                                      Checks the given column ID is valid. +

                                                                      src

                                                                      dataframe to get names of columns.

                                                                      returns

                                                                      Boolean.

                                                                      Definition Classes
                                                                      DataFrameCheck
                                                                      +
                                                                    20. + + +

                                                                      + + + def + + + isValidColumnName(src: DataFrame, columnName: String): Boolean + +

                                                                      + + Permalink + + +

                                                                      Checks the given column Name is valid.

                                                                      Checks the given column Name is valid. +

                                                                      src

                                                                      dataframe to get names of columns.

                                                                      columnName

                                                                      column Name.

                                                                      returns

                                                                      Boolean.

                                                                      Definition Classes
                                                                      DataFrameCheck
                                                                      +
                                                                    21. + + +

                                                                      + + + val + + + logger: Logger + +

                                                                      + + Permalink + + +
                                                                      Attributes
                                                                      protected
                                                                      Definition Classes
                                                                      Logging
                                                                      +
                                                                    22. + + +

                                                                      + + final + def + + + ne(arg0: AnyRef): Boolean + +

                                                                      + + Permalink + + +
                                                                      Definition Classes
                                                                      AnyRef
                                                                      +
                                                                    23. + + +

                                                                      + + final + def + + + notify(): Unit + +

                                                                      + + Permalink + + +
                                                                      Definition Classes
                                                                      AnyRef
                                                                      +
                                                                    24. + + +

                                                                      + + final + def + + + notifyAll(): Unit + +

                                                                      + + Permalink + + +
                                                                      Definition Classes
                                                                      AnyRef
                                                                      +
                                                                    25. + + +

                                                                      + + + val + + + privacy: PrivacyCheckInfo + +

                                                                      + + Permalink + + + +
                                                                    26. + + +

                                                                      + + + def + + + stop: Unit + +

                                                                      + + Permalink + + +
                                                                      Definition Classes
                                                                      BaseGenericOperator → BaseGenericMutantOperator
                                                                      +
                                                                    27. + + +

                                                                      + + final + def + + + synchronized[T0](arg0: ⇒ T0): T0 + +

                                                                      + + Permalink + + +
                                                                      Definition Classes
                                                                      AnyRef
                                                                      +
                                                                    28. + + +

                                                                      + + + def + + + toString(): String + +

                                                                      + + Permalink + + +
                                                                      Definition Classes
                                                                      AnyRef → Any
                                                                      +
                                                                    29. + + +

                                                                      + + final + def + + + wait(): Unit + +

                                                                      + + Permalink + + +
                                                                      Definition Classes
                                                                      AnyRef
                                                                      Annotations
                                                                      + @throws( + + ... + ) + +
                                                                      +
                                                                    30. + + +

                                                                      + + final + def + + + wait(arg0: Long, arg1: Int): Unit + +

                                                                      + + Permalink + + +
                                                                      Definition Classes
                                                                      AnyRef
                                                                      Annotations
                                                                      + @throws( + + ... + ) + +
                                                                      +
                                                                    31. + + +

                                                                      + + final + def + + + wait(arg0: Long): Unit + +

                                                                      + + Permalink + + +
                                                                      Definition Classes
                                                                      AnyRef
                                                                      Annotations
                                                                      + @throws( + + ... + ) + +
                                                                      +
                                                                    +
                                                                    + + + + +
                                                                    + +
                                                                    +
                                                                    +

                                                                    Inherited from DataFrameCheck

                                                                    +
                                                                    +

                                                                    Inherited from BaseDataOperator[StreamOperatorInfo, DataFrame]

                                                                    +
                                                                    +

                                                                    Inherited from BaseGenericOperator[StreamOperatorInfo, DataFrame]

                                                                    +
                                                                    +

                                                                    Inherited from BaseGenericMutantOperator[StreamOperatorInfo, DataFrame, DataFrame]

                                                                    +
                                                                    +

                                                                    Inherited from BaseDoer

                                                                    +
                                                                    +

                                                                    Inherited from Logging

                                                                    +
                                                                    +

                                                                    Inherited from Serializable

                                                                    +
                                                                    +

                                                                    Inherited from Serializable

                                                                    +
                                                                    +

                                                                    Inherited from AnyRef

                                                                    +
                                                                    +

                                                                    Inherited from Any

                                                                    +
                                                                    + +
                                                                    + +
                                                                    +
                                                                    +

                                                                    Ungrouped

                                                                    + +
                                                                    +
                                                                    + +
                                                                    + +
                                                                    + + + + + + diff --git a/manual1903/api_reference/didentification/scaladocs/ksb/csle/didentification/privacy/BlankImputeOperator$.html b/manual1903/api_reference/didentification/scaladocs/ksb/csle/didentification/privacy/BlankImputeOperator$.html new file mode 100644 index 0000000000000000000000000000000000000000..094631588612caa883036c0b56e84c5b3499ca28 --- /dev/null +++ b/manual1903/api_reference/didentification/scaladocs/ksb/csle/didentification/privacy/BlankImputeOperator$.html @@ -0,0 +1,505 @@ + + + + BlankImputeOperator - KSB DEIDENTIFICATION Scala App Project 1.0-SNAPSHOT API - ksb.csle.didentification.privacy.BlankImputeOperator + + + + + + + + + + + + + + + + + +

                                                                    + + + object + + + BlankImputeOperator extends Serializable + +

                                                                    + +
                                                                    + Linear Supertypes +
                                                                    Serializable, Serializable, AnyRef, Any
                                                                    +
                                                                    + + +
                                                                    +
                                                                    +
                                                                    + Ordering +
                                                                      + +
                                                                    1. Alphabetic
                                                                    2. +
                                                                    3. By Inheritance
                                                                    4. +
                                                                    +
                                                                    +
                                                                    + Inherited
                                                                    +
                                                                    +
                                                                      +
                                                                    1. BlankImputeOperator
                                                                    2. Serializable
                                                                    3. Serializable
                                                                    4. AnyRef
                                                                    5. Any
                                                                    6. +
                                                                    +
                                                                    + +
                                                                      +
                                                                    1. Hide All
                                                                    2. +
                                                                    3. Show All
                                                                    4. +
                                                                    +
                                                                    +
                                                                    + Visibility +
                                                                    1. Public
                                                                    2. All
                                                                    +
                                                                    +
                                                                    + +
                                                                    +
                                                                    + + + + + + +
                                                                    +

                                                                    Value Members

                                                                    +
                                                                    1. + + +

                                                                      + + final + def + + + !=(arg0: Any): Boolean + +

                                                                      + + Permalink + + +
                                                                      Definition Classes
                                                                      AnyRef → Any
                                                                      +
                                                                    2. + + +

                                                                      + + final + def + + + ##(): Int + +

                                                                      + + Permalink + + +
                                                                      Definition Classes
                                                                      AnyRef → Any
                                                                      +
                                                                    3. + + +

                                                                      + + final + def + + + ==(arg0: Any): Boolean + +

                                                                      + + Permalink + + +
                                                                      Definition Classes
                                                                      AnyRef → Any
                                                                      +
                                                                    4. + + +

                                                                      + + + def + + + apply(o: StreamOperatorInfo): BlankImputeOperator + +

                                                                      + + Permalink + + + +
                                                                    5. + + +

                                                                      + + final + def + + + asInstanceOf[T0]: T0 + +

                                                                      + + Permalink + + +
                                                                      Definition Classes
                                                                      Any
                                                                      +
                                                                    6. + + +

                                                                      + + + def + + + clone(): AnyRef + +

                                                                      + + Permalink + + +
                                                                      Attributes
                                                                      protected[java.lang]
                                                                      Definition Classes
                                                                      AnyRef
                                                                      Annotations
                                                                      + @throws( + + ... + ) + +
                                                                      +
                                                                    7. + + +

                                                                      + + final + def + + + eq(arg0: AnyRef): Boolean + +

                                                                      + + Permalink + + +
                                                                      Definition Classes
                                                                      AnyRef
                                                                      +
                                                                    8. + + +

                                                                      + + + def + + + equals(arg0: Any): Boolean + +

                                                                      + + Permalink + + +
                                                                      Definition Classes
                                                                      AnyRef → Any
                                                                      +
                                                                    9. + + +

                                                                      + + + def + + + finalize(): Unit + +

                                                                      + + Permalink + + +
                                                                      Attributes
                                                                      protected[java.lang]
                                                                      Definition Classes
                                                                      AnyRef
                                                                      Annotations
                                                                      + @throws( + + classOf[java.lang.Throwable] + ) + +
                                                                      +
                                                                    10. + + +

                                                                      + + final + def + + + getClass(): Class[_] + +

                                                                      + + Permalink + + +
                                                                      Definition Classes
                                                                      AnyRef → Any
                                                                      +
                                                                    11. + + +

                                                                      + + + def + + + hashCode(): Int + +

                                                                      + + Permalink + + +
                                                                      Definition Classes
                                                                      AnyRef → Any
                                                                      +
                                                                    12. + + +

                                                                      + + final + def + + + isInstanceOf[T0]: Boolean + +

                                                                      + + Permalink + + +
                                                                      Definition Classes
                                                                      Any
                                                                      +
                                                                    13. + + +

                                                                      + + final + def + + + ne(arg0: AnyRef): Boolean + +

                                                                      + + Permalink + + +
                                                                      Definition Classes
                                                                      AnyRef
                                                                      +
                                                                    14. + + +

                                                                      + + final + def + + + notify(): Unit + +

                                                                      + + Permalink + + +
                                                                      Definition Classes
                                                                      AnyRef
                                                                      +
                                                                    15. + + +

                                                                      + + final + def + + + notifyAll(): Unit + +

                                                                      + + Permalink + + +
                                                                      Definition Classes
                                                                      AnyRef
                                                                      +
                                                                    16. + + +

                                                                      + + final + def + + + synchronized[T0](arg0: ⇒ T0): T0 + +

                                                                      + + Permalink + + +
                                                                      Definition Classes
                                                                      AnyRef
                                                                      +
                                                                    17. + + +

                                                                      + + + def + + + toString(): String + +

                                                                      + + Permalink + + +
                                                                      Definition Classes
                                                                      AnyRef → Any
                                                                      +
                                                                    18. + + +

                                                                      + + final + def + + + wait(): Unit + +

                                                                      + + Permalink + + +
                                                                      Definition Classes
                                                                      AnyRef
                                                                      Annotations
                                                                      + @throws( + + ... + ) + +
                                                                      +
                                                                    19. + + +

                                                                      + + final + def + + + wait(arg0: Long, arg1: Int): Unit + +

                                                                      + + Permalink + + +
                                                                      Definition Classes
                                                                      AnyRef
                                                                      Annotations
                                                                      + @throws( + + ... + ) + +
                                                                      +
                                                                    20. + + +

                                                                      + + final + def + + + wait(arg0: Long): Unit + +

                                                                      + + Permalink + + +
                                                                      Definition Classes
                                                                      AnyRef
                                                                      Annotations
                                                                      + @throws( + + ... + ) + +
                                                                      +
                                                                    +
                                                                    + + + + +
                                                                    + +
                                                                    +
                                                                    +

                                                                    Inherited from Serializable

                                                                    +
                                                                    +

                                                                    Inherited from Serializable

                                                                    +
                                                                    +

                                                                    Inherited from AnyRef

                                                                    +
                                                                    +

                                                                    Inherited from Any

                                                                    +
                                                                    + +
                                                                    + +
                                                                    +
                                                                    +

                                                                    Ungrouped

                                                                    + +
                                                                    +
                                                                    + +
                                                                    + +
                                                                    + + + + + + diff --git a/manual1903/api_reference/didentification/scaladocs/ksb/csle/didentification/privacy/BlankImputeOperator.html b/manual1903/api_reference/didentification/scaladocs/ksb/csle/didentification/privacy/BlankImputeOperator.html new file mode 100644 index 0000000000000000000000000000000000000000..f1202a22fa371fc4180b4d323e0ece7cfc87df04 --- /dev/null +++ b/manual1903/api_reference/didentification/scaladocs/ksb/csle/didentification/privacy/BlankImputeOperator.html @@ -0,0 +1,832 @@ + + + + BlankImputeOperator - KSB DEIDENTIFICATION Scala App Project 1.0-SNAPSHOT API - ksb.csle.didentification.privacy.BlankImputeOperator + + + + + + + + + + + + + + + + + +

                                                                    + + + class + + + BlankImputeOperator extends BasePrivacyAnonymizer + +

                                                                    + +

                                                                    :: ApplicationDeveloperApi ::

                                                                    Operator that implements the 'blank and impute' module in the Data Reduction +algorithm. It changes the values of the data with ' ', '*', or '_'. +

                                                                    + Linear Supertypes +
                                                                    BasePrivacyAnonymizer, DataFrameCheck, BaseDataOperator[StreamOperatorInfo, DataFrame], BaseGenericOperator[StreamOperatorInfo, DataFrame], BaseGenericMutantOperator[StreamOperatorInfo, DataFrame, DataFrame], BaseDoer, Logging, Serializable, Serializable, AnyRef, Any
                                                                    +
                                                                    + + +
                                                                    +
                                                                    +
                                                                    + Ordering +
                                                                      + +
                                                                    1. Alphabetic
                                                                    2. +
                                                                    3. By Inheritance
                                                                    4. +
                                                                    +
                                                                    +
                                                                    + Inherited
                                                                    +
                                                                    +
                                                                      +
                                                                    1. BlankImputeOperator
                                                                    2. BasePrivacyAnonymizer
                                                                    3. DataFrameCheck
                                                                    4. BaseDataOperator
                                                                    5. BaseGenericOperator
                                                                    6. BaseGenericMutantOperator
                                                                    7. BaseDoer
                                                                    8. Logging
                                                                    9. Serializable
                                                                    10. Serializable
                                                                    11. AnyRef
                                                                    12. Any
                                                                    13. +
                                                                    +
                                                                    + +
                                                                      +
                                                                    1. Hide All
                                                                    2. +
                                                                    3. Show All
                                                                    4. +
                                                                    +
                                                                    +
                                                                    + Visibility +
                                                                    1. Public
                                                                    2. All
                                                                    +
                                                                    +
                                                                    + +
                                                                    +
                                                                    +
                                                                    +

                                                                    Instance Constructors

                                                                    +
                                                                    1. + + +

                                                                      + + + new + + + BlankImputeOperator(o: StreamOperatorInfo) + +

                                                                      + + Permalink + + +

                                                                      o

                                                                      Object that contains message + ksb.csle.common.proto.StreamDidentProto.BlankImputeInfo + BlankImputeInfo contains attributes as follows:

                                                                      • selectedColumnId: Column ID to apply the hiding function
                                                                      • position: the position to replace the data
                                                                      • numReplace: the number of characters to replace
                                                                      • method: the special character to replace
                                                                      • fieldInfo: the info about column attributes (identifier, sensitive, ..)
                                                                      • check: the method how to verify the performance of anonymized data

                                                                      BlankImputeInfo

                                                                      enum ReplaceValueMethod {
                                                                      +  BLANK = 0;
                                                                      +  STAR = 1;
                                                                      +  UNDERBAR = 2;
                                                                      +}
                                                                      +message BlankImputeInfo {
                                                                      +  repeated int32 selectedColumnId = 1;
                                                                      +  repeated int32 position = 2;
                                                                      +  optional int32 numReplace = 3 [default = 1];
                                                                      +  required ReplaceValueMethod method = 4 [default = STAR];
                                                                      +  repeated FieldInfo fieldInfo = 5;
                                                                      +  optional PrivacyCheckInfo check = 6;
                                                                      +}
                                                                      +
                                                                    +
                                                                    + + + + + +
                                                                    +

                                                                    Value Members

                                                                    +
                                                                    1. + + +

                                                                      + + final + def + + + !=(arg0: Any): Boolean + +

                                                                      + + Permalink + + +
                                                                      Definition Classes
                                                                      AnyRef → Any
                                                                      +
                                                                    2. + + +

                                                                      + + final + def + + + ##(): Int + +

                                                                      + + Permalink + + +
                                                                      Definition Classes
                                                                      AnyRef → Any
                                                                      +
                                                                    3. + + +

                                                                      + + final + def + + + ==(arg0: Any): Boolean + +

                                                                      + + Permalink + + +
                                                                      Definition Classes
                                                                      AnyRef → Any
                                                                      +
                                                                    4. + + +

                                                                      + + + def + + + anonymize(src: DataFrame, columnNames: Array[String]): DataFrame + +

                                                                      + + Permalink + + +
                                                                      Definition Classes
                                                                      BasePrivacyAnonymizer
                                                                      +
                                                                    5. + + +

                                                                      + + + def + + + anonymize(src: DataFrame, columnName: String): DataFrame + +

                                                                      + + Permalink + + +

                                                                      Anonymizes the column specified in src dataframe +using generic 'Type' method.

                                                                      Anonymizes the column specified in src dataframe +using generic 'Type' method. The 'Type' is decided by +inherited object module. +

                                                                      src

                                                                      Dataframe to anonymize

                                                                      columnName

                                                                      Column to be anonymized

                                                                      returns

                                                                      DataFrame The dataframe which replaces original column +with anonymized column

                                                                      Definition Classes
                                                                      BasePrivacyAnonymizer
                                                                      +
                                                                    6. + + +

                                                                      + + + def + + + anonymizeColumn[T](src: DataFrame, columnName: String, position: Int, numReplace: Int, imputeType: T): DataFrame + +

                                                                      + + Permalink + + +

                                                                      Replaces the specific index position of values in the columm +with imputeType (blank ' ', star '*', or impute '_') +

                                                                      Replaces the specific index position of values in the columm +with imputeType (blank ' ', star '*', or impute '_') +

                                                                      src

                                                                      Dataframe to anonymize

                                                                      columnName

                                                                      Column to be anonymized

                                                                      position

                                                                      Position of value to be imputed

                                                                      numReplace

                                                                      The number of replace

                                                                      imputeType

                                                                      Blank, star, or impute

                                                                      returns

                                                                      DataFrame Anonymized dataframe

                                                                      +
                                                                    7. + + +

                                                                      + + + def + + + anonymizeColumn(src: DataFrame, columnName: String): DataFrame + +

                                                                      + + Permalink + + +

                                                                      Replaces the specified multiple positions of values in the columm +with imputeType (blank ' ', star '*', or impute '_') +

                                                                      Replaces the specified multiple positions of values in the columm +with imputeType (blank ' ', star '*', or impute '_') +

                                                                      src

                                                                      Dataframe to anonymize

                                                                      columnName

                                                                      Column to be anonymized

                                                                      returns

                                                                      DataFrame Anonymized dataframe

                                                                      Definition Classes
                                                                      BlankImputeOperatorBasePrivacyAnonymizer
                                                                      +
                                                                    8. + + +

                                                                      + + final + def + + + asInstanceOf[T0]: T0 + +

                                                                      + + Permalink + + +
                                                                      Definition Classes
                                                                      Any
                                                                      +
                                                                    9. + + +

                                                                      + + + def + + + clone(): AnyRef + +

                                                                      + + Permalink + + +
                                                                      Attributes
                                                                      protected[java.lang]
                                                                      Definition Classes
                                                                      AnyRef
                                                                      Annotations
                                                                      + @throws( + + ... + ) + +
                                                                      +
                                                                    10. + + +

                                                                      + + final + def + + + eq(arg0: AnyRef): Boolean + +

                                                                      + + Permalink + + +
                                                                      Definition Classes
                                                                      AnyRef
                                                                      +
                                                                    11. + + +

                                                                      + + + def + + + equals(arg0: Any): Boolean + +

                                                                      + + Permalink + + +
                                                                      Definition Classes
                                                                      AnyRef → Any
                                                                      +
                                                                    12. + + +

                                                                      + + + def + + + finalize(): Unit + +

                                                                      + + Permalink + + +
                                                                      Attributes
                                                                      protected[java.lang]
                                                                      Definition Classes
                                                                      AnyRef
                                                                      Annotations
                                                                      + @throws( + + classOf[java.lang.Throwable] + ) + +
                                                                      +
                                                                    13. + + +

                                                                      + + final + def + + + getClass(): Class[_] + +

                                                                      + + Permalink + + +
                                                                      Definition Classes
                                                                      AnyRef → Any
                                                                      +
                                                                    14. + + +

                                                                      + + + def + + + getColumnName(src: DataFrame, columnId: Int): String + +

                                                                      + + Permalink + + +

                                                                      Returns column name from src dataframe +specified by the column ID defined by protobuf.

                                                                      Returns column name from src dataframe +specified by the column ID defined by protobuf. +

                                                                      src

                                                                      dataframe to get names of columns.

                                                                      columnId

                                                                      column ID to anonymize.

                                                                      returns

                                                                      String.

                                                                      Definition Classes
                                                                      DataFrameCheck
                                                                      +
                                                                    15. + + +

                                                                      + + + def + + + getColumnNames(src: DataFrame, columnIDs: Array[Int]): Array[String] + +

                                                                      + + Permalink + + +

                                                                      Returns column names from src dataframe specified by column IDs.

                                                                      Returns column names from src dataframe specified by column IDs. +Note that the column with invalid IDs are ignored. +

                                                                      src

                                                                      dataframe to get names of columns.

                                                                      returns

                                                                      Array[String].

                                                                      Definition Classes
                                                                      DataFrameCheck
                                                                      +
                                                                    16. + + +

                                                                      + + + def + + + getQuasiColumnIDs(fieldInfos: Array[FieldInfo]): Array[Int] + +

                                                                      + + Permalink + + +
                                                                      Definition Classes
                                                                      DataFrameCheck
                                                                      +
                                                                    17. + + +

                                                                      + + + def + + + getSensColumnIDs(fieldInfos: Array[FieldInfo]): Array[Int] + +

                                                                      + + Permalink + + +
                                                                      Definition Classes
                                                                      DataFrameCheck
                                                                      +
                                                                    18. + + +

                                                                      + + + def + + + getValidColumnIDs(src: DataFrame, columnIDs: Array[Int]): Array[Int] + +

                                                                      + + Permalink + + +
                                                                      Definition Classes
                                                                      DataFrameCheck
                                                                      +
                                                                    19. + + +

                                                                      + + + def + + + hashCode(): Int + +

                                                                      + + Permalink + + +
                                                                      Definition Classes
                                                                      AnyRef → Any
                                                                      +
                                                                    20. + + +

                                                                      + + final + def + + + isInstanceOf[T0]: Boolean + +

                                                                      + + Permalink + + +
                                                                      Definition Classes
                                                                      Any
                                                                      +
                                                                    21. + + +

                                                                      + + + def + + + isValidColumnID(src: DataFrame, columnID: Int): Boolean + +

                                                                      + + Permalink + + +

                                                                      Checks the given column ID is valid.

                                                                      Checks the given column ID is valid. +

                                                                      src

                                                                      dataframe to get names of columns.

                                                                      returns

                                                                      Boolean.

                                                                      Definition Classes
                                                                      DataFrameCheck
                                                                      +
                                                                    22. + + +

                                                                      + + + def + + + isValidColumnName(src: DataFrame, columnName: String): Boolean + +

                                                                      + + Permalink + + +

                                                                      Checks the given column Name is valid.

                                                                      Checks the given column Name is valid. +

                                                                      src

                                                                      dataframe to get names of columns.

                                                                      columnName

                                                                      column Name.

                                                                      returns

                                                                      Boolean.

                                                                      Definition Classes
                                                                      DataFrameCheck
                                                                      +
                                                                    23. + + +

                                                                      + + + val + + + logger: Logger + +

                                                                      + + Permalink + + +
                                                                      Attributes
                                                                      protected
                                                                      Definition Classes
                                                                      Logging
                                                                      +
                                                                    24. + + +

                                                                      + + final + def + + + ne(arg0: AnyRef): Boolean + +

                                                                      + + Permalink + + +
                                                                      Definition Classes
                                                                      AnyRef
                                                                      +
                                                                    25. + + +

                                                                      + + final + def + + + notify(): Unit + +

                                                                      + + Permalink + + +
                                                                      Definition Classes
                                                                      AnyRef
                                                                      +
                                                                    26. + + +

                                                                      + + final + def + + + notifyAll(): Unit + +

                                                                      + + Permalink + + +
                                                                      Definition Classes
                                                                      AnyRef
                                                                      +
                                                                    27. + + +

                                                                      + + + def + + + operate(df: DataFrame): DataFrame + +

                                                                      + + Permalink + + +

                                                                      Operates blank and impute module for basic de-identification +

                                                                      Operates blank and impute module for basic de-identification +

                                                                      df

                                                                      Input dataframe

                                                                      returns

                                                                      DataFrame Anonymized dataframe

                                                                      Definition Classes
                                                                      BlankImputeOperator → BaseGenericOperator → BaseGenericMutantOperator
                                                                      +
                                                                    28. + + +

                                                                      + + + val + + + p: BlankImputeInfo + +

                                                                      + + Permalink + + + +
                                                                    29. + + +

                                                                      + + + val + + + privacy: PrivacyCheckInfo + +

                                                                      + + Permalink + + +
                                                                      Definition Classes
                                                                      BasePrivacyAnonymizer
                                                                      +
                                                                    30. + + +

                                                                      + + + def + + + stop: Unit + +

                                                                      + + Permalink + + +
                                                                      Definition Classes
                                                                      BaseGenericOperator → BaseGenericMutantOperator
                                                                      +
                                                                    31. + + +

                                                                      + + final + def + + + synchronized[T0](arg0: ⇒ T0): T0 + +

                                                                      + + Permalink + + +
                                                                      Definition Classes
                                                                      AnyRef
                                                                      +
                                                                    32. + + +

                                                                      + + + def + + + toString(): String + +

                                                                      + + Permalink + + +
                                                                      Definition Classes
                                                                      AnyRef → Any
                                                                      +
                                                                    33. + + +

                                                                      + + final + def + + + wait(): Unit + +

                                                                      + + Permalink + + +
                                                                      Definition Classes
                                                                      AnyRef
                                                                      Annotations
                                                                      + @throws( + + ... + ) + +
                                                                      +
                                                                    34. + + +

                                                                      + + final + def + + + wait(arg0: Long, arg1: Int): Unit + +

                                                                      + + Permalink + + +
                                                                      Definition Classes
                                                                      AnyRef
                                                                      Annotations
                                                                      + @throws( + + ... + ) + +
                                                                      +
                                                                    35. + + +

                                                                      + + final + def + + + wait(arg0: Long): Unit + +

                                                                      + + Permalink + + +
                                                                      Definition Classes
                                                                      AnyRef
                                                                      Annotations
                                                                      + @throws( + + ... + ) + +
                                                                      +
                                                                    +
                                                                    + + + + +
                                                                    + +
                                                                    +
                                                                    +

                                                                    Inherited from BasePrivacyAnonymizer

                                                                    +
                                                                    +

                                                                    Inherited from DataFrameCheck

                                                                    +
                                                                    +

                                                                    Inherited from BaseDataOperator[StreamOperatorInfo, DataFrame]

                                                                    +
                                                                    +

                                                                    Inherited from BaseGenericOperator[StreamOperatorInfo, DataFrame]

                                                                    +
                                                                    +

                                                                    Inherited from BaseGenericMutantOperator[StreamOperatorInfo, DataFrame, DataFrame]

                                                                    +
                                                                    +

                                                                    Inherited from BaseDoer

                                                                    +
                                                                    +

                                                                    Inherited from Logging

                                                                    +
                                                                    +

                                                                    Inherited from Serializable

                                                                    +
                                                                    +

                                                                    Inherited from Serializable

                                                                    +
                                                                    +

                                                                    Inherited from AnyRef

                                                                    +
                                                                    +

                                                                    Inherited from Any

                                                                    +
                                                                    + +
                                                                    + +
                                                                    +
                                                                    +

                                                                    Ungrouped

                                                                    + +
                                                                    +
                                                                    + +
                                                                    + +
                                                                    + + + + + + diff --git a/manual1903/api_reference/didentification/scaladocs/ksb/csle/didentification/privacy/DataRangeOperator$.html b/manual1903/api_reference/didentification/scaladocs/ksb/csle/didentification/privacy/DataRangeOperator$.html new file mode 100644 index 0000000000000000000000000000000000000000..b7c1a78120d6392e297d3b079ceba6a1ab530025 --- /dev/null +++ b/manual1903/api_reference/didentification/scaladocs/ksb/csle/didentification/privacy/DataRangeOperator$.html @@ -0,0 +1,505 @@ + + + + DataRangeOperator - KSB DEIDENTIFICATION Scala App Project 1.0-SNAPSHOT API - ksb.csle.didentification.privacy.DataRangeOperator + + + + + + + + + + + + + + + + + +

                                                                    + + + object + + + DataRangeOperator extends Serializable + +

                                                                    + +
                                                                    + Linear Supertypes +
                                                                    Serializable, Serializable, AnyRef, Any
                                                                    +
                                                                    + + +
                                                                    +
                                                                    +
                                                                    + Ordering +
                                                                      + +
                                                                    1. Alphabetic
                                                                    2. +
                                                                    3. By Inheritance
                                                                    4. +
                                                                    +
                                                                    +
                                                                    + Inherited
                                                                    +
                                                                    +
                                                                      +
                                                                    1. DataRangeOperator
                                                                    2. Serializable
                                                                    3. Serializable
                                                                    4. AnyRef
                                                                    5. Any
                                                                    6. +
                                                                    +
                                                                    + +
                                                                      +
                                                                    1. Hide All
                                                                    2. +
                                                                    3. Show All
                                                                    4. +
                                                                    +
                                                                    +
                                                                    + Visibility +
                                                                    1. Public
                                                                    2. All
                                                                    +
                                                                    +
                                                                    + +
                                                                    +
                                                                    + + + + + + +
                                                                    +

                                                                    Value Members

                                                                    +
                                                                    1. + + +

                                                                      + + final + def + + + !=(arg0: Any): Boolean + +

                                                                      + + Permalink + + +
                                                                      Definition Classes
                                                                      AnyRef → Any
                                                                      +
                                                                    2. + + +

                                                                      + + final + def + + + ##(): Int + +

                                                                      + + Permalink + + +
                                                                      Definition Classes
                                                                      AnyRef → Any
                                                                      +
                                                                    3. + + +

                                                                      + + final + def + + + ==(arg0: Any): Boolean + +

                                                                      + + Permalink + + +
                                                                      Definition Classes
                                                                      AnyRef → Any
                                                                      +
                                                                    4. + + +

                                                                      + + + def + + + apply(o: StreamOperatorInfo): DataRangeOperator + +

                                                                      + + Permalink + + + +
                                                                    5. + + +

                                                                      + + final + def + + + asInstanceOf[T0]: T0 + +

                                                                      + + Permalink + + +
                                                                      Definition Classes
                                                                      Any
                                                                      +
                                                                    6. + + +

                                                                      + + + def + + + clone(): AnyRef + +

                                                                      + + Permalink + + +
                                                                      Attributes
                                                                      protected[java.lang]
                                                                      Definition Classes
                                                                      AnyRef
                                                                      Annotations
                                                                      + @throws( + + ... + ) + +
                                                                      +
                                                                    7. + + +

                                                                      + + final + def + + + eq(arg0: AnyRef): Boolean + +

                                                                      + + Permalink + + +
                                                                      Definition Classes
                                                                      AnyRef
                                                                      +
                                                                    8. + + +

                                                                      + + + def + + + equals(arg0: Any): Boolean + +

                                                                      + + Permalink + + +
                                                                      Definition Classes
                                                                      AnyRef → Any
                                                                      +
                                                                    9. + + +

                                                                      + + + def + + + finalize(): Unit + +

                                                                      + + Permalink + + +
                                                                      Attributes
                                                                      protected[java.lang]
                                                                      Definition Classes
                                                                      AnyRef
                                                                      Annotations
                                                                      + @throws( + + classOf[java.lang.Throwable] + ) + +
                                                                      +
                                                                    10. + + +

                                                                      + + final + def + + + getClass(): Class[_] + +

                                                                      + + Permalink + + +
                                                                      Definition Classes
                                                                      AnyRef → Any
                                                                      +
                                                                    11. + + +

                                                                      + + + def + + + hashCode(): Int + +

                                                                      + + Permalink + + +
                                                                      Definition Classes
                                                                      AnyRef → Any
                                                                      +
                                                                    12. + + +

                                                                      + + final + def + + + isInstanceOf[T0]: Boolean + +

                                                                      + + Permalink + + +
                                                                      Definition Classes
                                                                      Any
                                                                      +
                                                                    13. + + +

                                                                      + + final + def + + + ne(arg0: AnyRef): Boolean + +

                                                                      + + Permalink + + +
                                                                      Definition Classes
                                                                      AnyRef
                                                                      +
                                                                    14. + + +

                                                                      + + final + def + + + notify(): Unit + +

                                                                      + + Permalink + + +
                                                                      Definition Classes
                                                                      AnyRef
                                                                      +
                                                                    15. + + +

                                                                      + + final + def + + + notifyAll(): Unit + +

                                                                      + + Permalink + + +
                                                                      Definition Classes
                                                                      AnyRef
                                                                      +
                                                                    16. + + +

                                                                      + + final + def + + + synchronized[T0](arg0: ⇒ T0): T0 + +

                                                                      + + Permalink + + +
                                                                      Definition Classes
                                                                      AnyRef
                                                                      +
                                                                    17. + + +

                                                                      + + + def + + + toString(): String + +

                                                                      + + Permalink + + +
                                                                      Definition Classes
                                                                      AnyRef → Any
                                                                      +
                                                                    18. + + +

                                                                      + + final + def + + + wait(): Unit + +

                                                                      + + Permalink + + +
                                                                      Definition Classes
                                                                      AnyRef
                                                                      Annotations
                                                                      + @throws( + + ... + ) + +
                                                                      +
                                                                    19. + + +

                                                                      + + final + def + + + wait(arg0: Long, arg1: Int): Unit + +

                                                                      + + Permalink + + +
                                                                      Definition Classes
                                                                      AnyRef
                                                                      Annotations
                                                                      + @throws( + + ... + ) + +
                                                                      +
                                                                    20. + + +

                                                                      + + final + def + + + wait(arg0: Long): Unit + +

                                                                      + + Permalink + + +
                                                                      Definition Classes
                                                                      AnyRef
                                                                      Annotations
                                                                      + @throws( + + ... + ) + +
                                                                      +
                                                                    +
                                                                    + + + + +
                                                                    + +
                                                                    +
                                                                    +

                                                                    Inherited from Serializable

                                                                    +
                                                                    +

                                                                    Inherited from Serializable

                                                                    +
                                                                    +

                                                                    Inherited from AnyRef

                                                                    +
                                                                    +

                                                                    Inherited from Any

                                                                    +
                                                                    + +
                                                                    + +
                                                                    +
                                                                    +

                                                                    Ungrouped

                                                                    + +
                                                                    +
                                                                    + +
                                                                    + +
                                                                    + + + + + + diff --git a/manual1903/api_reference/didentification/scaladocs/ksb/csle/didentification/privacy/DataRangeOperator.html b/manual1903/api_reference/didentification/scaladocs/ksb/csle/didentification/privacy/DataRangeOperator.html new file mode 100644 index 0000000000000000000000000000000000000000..e2215ddba5a7c67c8ee2ec13fe356cd1951d6377 --- /dev/null +++ b/manual1903/api_reference/didentification/scaladocs/ksb/csle/didentification/privacy/DataRangeOperator.html @@ -0,0 +1,870 @@ + + + + DataRangeOperator - KSB DEIDENTIFICATION Scala App Project 1.0-SNAPSHOT API - ksb.csle.didentification.privacy.DataRangeOperator + + + + + + + + + + + + + + + + + +

                                                                    + + + class + + + DataRangeOperator extends BasePrivacyAnonymizer + +

                                                                    + +

                                                                    :: ApplicationDeveloperApi ::

                                                                    Operator that implements the data range module in the Data Suppression +algorithm. It represents the values of the data with intervals [lower, upper]. +

                                                                    + Linear Supertypes +
                                                                    BasePrivacyAnonymizer, DataFrameCheck, BaseDataOperator[StreamOperatorInfo, DataFrame], BaseGenericOperator[StreamOperatorInfo, DataFrame], BaseGenericMutantOperator[StreamOperatorInfo, DataFrame, DataFrame], BaseDoer, Logging, Serializable, Serializable, AnyRef, Any
                                                                    +
                                                                    + + +
                                                                    +
                                                                    +
                                                                    + Ordering +
                                                                      + +
                                                                    1. Alphabetic
                                                                    2. +
                                                                    3. By Inheritance
                                                                    4. +
                                                                    +
                                                                    +
                                                                    + Inherited
                                                                    +
                                                                    +
                                                                      +
                                                                    1. DataRangeOperator
                                                                    2. BasePrivacyAnonymizer
                                                                    3. DataFrameCheck
                                                                    4. BaseDataOperator
                                                                    5. BaseGenericOperator
                                                                    6. BaseGenericMutantOperator
                                                                    7. BaseDoer
                                                                    8. Logging
                                                                    9. Serializable
                                                                    10. Serializable
                                                                    11. AnyRef
                                                                    12. Any
                                                                    13. +
                                                                    +
                                                                    + +
                                                                      +
                                                                    1. Hide All
                                                                    2. +
                                                                    3. Show All
                                                                    4. +
                                                                    +
                                                                    +
                                                                    + Visibility +
                                                                    1. Public
                                                                    2. All
                                                                    +
                                                                    +
                                                                    + +
                                                                    +
                                                                    +
                                                                    +

                                                                    Instance Constructors

                                                                    +
                                                                    1. + + +

                                                                      + + + new + + + DataRangeOperator(o: StreamOperatorInfo) + +

                                                                      + + Permalink + + +

                                                                      o

                                                                      Object that contains message + ksb.csle.common.proto.StreamDidentProto.DataRangeInfo + DataRangeInfo contains attributes as follows:

                                                                      • selectedColumnId: Column ID to apply the data range function
                                                                      • rangeStep: the interval of range
                                                                      • method: how to replace the data included in the given range
                                                                      • fieldInfo: the info about column attributes (identifier, sensitive, ..)
                                                                      • check: the method how to verify the performance of anonymized data

                                                                      DataRangeInfo

                                                                      enum AggregationMethod {
                                                                      +  MIN = 0;
                                                                      +  AVG = 1;
                                                                      +  MAX = 2;
                                                                      +  STD = 3;
                                                                      +  COUNT = 4;
                                                                      +  MANUAL = 5;
                                                                      +}
                                                                      +message DataRangeInfo {
                                                                      +  repeated int32 selectedColumnId = 1;
                                                                      +  required int32 rangeStep = 2 [default = 10];
                                                                      +  required AggregationMethod method = 3 [default = AVG];
                                                                      +  repeated FieldInfo fieldInfo = 4;
                                                                      +  optional PrivacyCheckInfo check = 5;
                                                                      +}
                                                                      +
                                                                    +
                                                                    + + + + + +
                                                                    +

                                                                    Value Members

                                                                    +
                                                                    1. + + +

                                                                      + + final + def + + + !=(arg0: Any): Boolean + +

                                                                      + + Permalink + + +
                                                                      Definition Classes
                                                                      AnyRef → Any
                                                                      +
                                                                    2. + + +

                                                                      + + final + def + + + ##(): Int + +

                                                                      + + Permalink + + +
                                                                      Definition Classes
                                                                      AnyRef → Any
                                                                      +
                                                                    3. + + +

                                                                      + + final + def + + + ==(arg0: Any): Boolean + +

                                                                      + + Permalink + + +
                                                                      Definition Classes
                                                                      AnyRef → Any
                                                                      +
                                                                    4. + + +

                                                                      + + + def + + + anonymize(src: DataFrame, columnNames: Array[String]): DataFrame + +

                                                                      + + Permalink + + +
                                                                      Definition Classes
                                                                      BasePrivacyAnonymizer
                                                                      +
                                                                    5. + + +

                                                                      + + + def + + + anonymize(src: DataFrame, columnName: String): DataFrame + +

                                                                      + + Permalink + + +

                                                                      Anonymizes the column specified in src dataframe +using generic 'Type' method.

                                                                      Anonymizes the column specified in src dataframe +using generic 'Type' method. The 'Type' is decided by +inherited object module. +

                                                                      src

                                                                      Dataframe to anonymize

                                                                      columnName

                                                                      Column to be anonymized

                                                                      returns

                                                                      DataFrame The dataframe which replaces original column +with anonymized column

                                                                      Definition Classes
                                                                      BasePrivacyAnonymizer
                                                                      +
                                                                    6. + + +

                                                                      + + + def + + + anonymizeColumn(src: DataFrame, columnName: String): DataFrame + +

                                                                      + + Permalink + + +

                                                                      Represents the values of column in src dataframe with +a form of interval [lower, upper] +

                                                                      Represents the values of column in src dataframe with +a form of interval [lower, upper] +

                                                                      src

                                                                      Dataframe to anonymize

                                                                      columnName

                                                                      Column to be anonymized

                                                                      returns

                                                                      DataFrame Anonymized dataframe

                                                                      Definition Classes
                                                                      DataRangeOperatorBasePrivacyAnonymizer
                                                                      +
                                                                    7. + + +

                                                                      + + final + def + + + asInstanceOf[T0]: T0 + +

                                                                      + + Permalink + + +
                                                                      Definition Classes
                                                                      Any
                                                                      +
                                                                    8. + + +

                                                                      + + + def + + + clone(): AnyRef + +

                                                                      + + Permalink + + +
                                                                      Attributes
                                                                      protected[java.lang]
                                                                      Definition Classes
                                                                      AnyRef
                                                                      Annotations
                                                                      + @throws( + + ... + ) + +
                                                                      +
                                                                    9. + + +

                                                                      + + final + def + + + eq(arg0: AnyRef): Boolean + +

                                                                      + + Permalink + + +
                                                                      Definition Classes
                                                                      AnyRef
                                                                      +
                                                                    10. + + +

                                                                      + + + def + + + equals(arg0: Any): Boolean + +

                                                                      + + Permalink + + +
                                                                      Definition Classes
                                                                      AnyRef → Any
                                                                      +
                                                                    11. + + +

                                                                      + + + def + + + finalize(): Unit + +

                                                                      + + Permalink + + +
                                                                      Attributes
                                                                      protected[java.lang]
                                                                      Definition Classes
                                                                      AnyRef
                                                                      Annotations
                                                                      + @throws( + + classOf[java.lang.Throwable] + ) + +
                                                                      +
                                                                    12. + + +

                                                                      + + final + def + + + getClass(): Class[_] + +

                                                                      + + Permalink + + +
                                                                      Definition Classes
                                                                      AnyRef → Any
                                                                      +
                                                                    13. + + +

                                                                      + + + def + + + getColumnName(src: DataFrame, columnId: Int): String + +

                                                                      + + Permalink + + +

                                                                      Returns column name from src dataframe +specified by the column ID defined by protobuf.

                                                                      Returns column name from src dataframe +specified by the column ID defined by protobuf. +

                                                                      src

                                                                      dataframe to get names of columns.

                                                                      columnId

                                                                      column ID to anonymize.

                                                                      returns

                                                                      String.

                                                                      Definition Classes
                                                                      DataFrameCheck
                                                                      +
                                                                    14. + + +

                                                                      + + + def + + + getColumnNames(src: DataFrame, columnIDs: Array[Int]): Array[String] + +

                                                                      + + Permalink + + +

                                                                      Returns column names from src dataframe specified by column IDs.

                                                                      Returns column names from src dataframe specified by column IDs. +Note that the column with invalid IDs are ignored. +

                                                                      src

                                                                      dataframe to get names of columns.

                                                                      returns

                                                                      Array[String].

                                                                      Definition Classes
                                                                      DataFrameCheck
                                                                      +
                                                                    15. + + +

                                                                      + + + def + + + getQuasiColumnIDs(fieldInfos: Array[FieldInfo]): Array[Int] + +

                                                                      + + Permalink + + +
                                                                      Definition Classes
                                                                      DataFrameCheck
                                                                      +
                                                                    16. + + +

                                                                      + + + def + + + getSensColumnIDs(fieldInfos: Array[FieldInfo]): Array[Int] + +

                                                                      + + Permalink + + +
                                                                      Definition Classes
                                                                      DataFrameCheck
                                                                      +
                                                                    17. + + +

                                                                      + + + def + + + getValidColumnIDs(src: DataFrame, columnIDs: Array[Int]): Array[Int] + +

                                                                      + + Permalink + + +
                                                                      Definition Classes
                                                                      DataFrameCheck
                                                                      +
                                                                    18. + + +

                                                                      + + + def + + + hashCode(): Int + +

                                                                      + + Permalink + + +
                                                                      Definition Classes
                                                                      AnyRef → Any
                                                                      +
                                                                    19. + + +

                                                                      + + final + def + + + isInstanceOf[T0]: Boolean + +

                                                                      + + Permalink + + +
                                                                      Definition Classes
                                                                      Any
                                                                      +
                                                                    20. + + +

                                                                      + + + def + + + isValidColumnID(src: DataFrame, columnID: Int): Boolean + +

                                                                      + + Permalink + + +

                                                                      Checks the given column ID is valid.

                                                                      Checks the given column ID is valid. +

                                                                      src

                                                                      dataframe to get names of columns.

                                                                      returns

                                                                      Boolean.

                                                                      Definition Classes
                                                                      DataFrameCheck
                                                                      +
                                                                    21. + + +

                                                                      + + + def + + + isValidColumnName(src: DataFrame, columnName: String): Boolean + +

                                                                      + + Permalink + + +

                                                                      Checks the given column Name is valid.

                                                                      Checks the given column Name is valid. +

                                                                      src

                                                                      dataframe to get names of columns.

                                                                      columnName

                                                                      column Name.

                                                                      returns

                                                                      Boolean.

                                                                      Definition Classes
                                                                      DataFrameCheck
                                                                      +
                                                                    22. + + +

                                                                      + + + val + + + logger: Logger + +

                                                                      + + Permalink + + +
                                                                      Attributes
                                                                      protected
                                                                      Definition Classes
                                                                      Logging
                                                                      +
                                                                    23. + + +

                                                                      + + final + def + + + ne(arg0: AnyRef): Boolean + +

                                                                      + + Permalink + + +
                                                                      Definition Classes
                                                                      AnyRef
                                                                      +
                                                                    24. + + +

                                                                      + + final + def + + + notify(): Unit + +

                                                                      + + Permalink + + +
                                                                      Definition Classes
                                                                      AnyRef
                                                                      +
                                                                    25. + + +

                                                                      + + final + def + + + notifyAll(): Unit + +

                                                                      + + Permalink + + +
                                                                      Definition Classes
                                                                      AnyRef
                                                                      +
                                                                    26. + + +

                                                                      + + + def + + + operate(df: DataFrame): DataFrame + +

                                                                      + + Permalink + + +

                                                                      Operates data range module for basic de-identification +

                                                                      Operates data range module for basic de-identification +

                                                                      df

                                                                      Input dataframe

                                                                      returns

                                                                      DataFrame Anonymized dataframe

                                                                      Definition Classes
                                                                      DataRangeOperator → BaseGenericOperator → BaseGenericMutantOperator
                                                                      +
                                                                    27. + + +

                                                                      + + + val + + + p: DataRangeInfo + +

                                                                      + + Permalink + + + +
                                                                    28. + + +

                                                                      + + + val + + + privacy: PrivacyCheckInfo + +

                                                                      + + Permalink + + +
                                                                      Definition Classes
                                                                      BasePrivacyAnonymizer
                                                                      +
                                                                    29. + + +

                                                                      + + + def + + + rangeNumericColumn[T](src: DataFrame, columnName: String, rangeType: T, step: Int): DataFrame + +

                                                                      + + Permalink + + + +
                                                                    30. + + +

                                                                      + + + def + + + rangeNumericColumn(src: DataFrame, columnName: String): DataFrame + +

                                                                      + + Permalink + + +

                                                                      Represents the numerical type of column +as a form of intervals [lower, upper] using 'rangeType' method.

                                                                      Represents the numerical type of column +as a form of intervals [lower, upper] using 'rangeType' method. +

                                                                      src

                                                                      Dataframe to anonymize

                                                                      columnName

                                                                      Column to be anonymized

                                                                      returns

                                                                      DataFrame Anonymized dataframe

                                                                      +
                                                                    31. + + +

                                                                      + + + def + + + rangeStringColumn[T](src: DataFrame, columnName: String, rangeType: T): DataFrame + +

                                                                      + + Permalink + + +

                                                                      Represents the values of column containing both numerical and string +as a form of intervals [lower, upper] using 'rangeType' method.

                                                                      Represents the values of column containing both numerical and string +as a form of intervals [lower, upper] using 'rangeType' method. +

                                                                      src

                                                                      Dataframe to anonymize

                                                                      columnName

                                                                      Column to be anonymized

                                                                      rangeType

                                                                      Methods of data range module. currently, not supported

                                                                      +
                                                                    32. + + +

                                                                      + + + def + + + stop: Unit + +

                                                                      + + Permalink + + +
                                                                      Definition Classes
                                                                      BaseGenericOperator → BaseGenericMutantOperator
                                                                      +
                                                                    33. + + +

                                                                      + + final + def + + + synchronized[T0](arg0: ⇒ T0): T0 + +

                                                                      + + Permalink + + +
                                                                      Definition Classes
                                                                      AnyRef
                                                                      +
                                                                    34. + + +

                                                                      + + + def + + + toString(): String + +

                                                                      + + Permalink + + +
                                                                      Definition Classes
                                                                      AnyRef → Any
                                                                      +
                                                                    35. + + +

                                                                      + + final + def + + + wait(): Unit + +

                                                                      + + Permalink + + +
                                                                      Definition Classes
                                                                      AnyRef
                                                                      Annotations
                                                                      + @throws( + + ... + ) + +
                                                                      +
                                                                    36. + + +

                                                                      + + final + def + + + wait(arg0: Long, arg1: Int): Unit + +

                                                                      + + Permalink + + +
                                                                      Definition Classes
                                                                      AnyRef
                                                                      Annotations
                                                                      + @throws( + + ... + ) + +
                                                                      +
                                                                    37. + + +

                                                                      + + final + def + + + wait(arg0: Long): Unit + +

                                                                      + + Permalink + + +
                                                                      Definition Classes
                                                                      AnyRef
                                                                      Annotations
                                                                      + @throws( + + ... + ) + +
                                                                      +
                                                                    +
                                                                    + + + + +
                                                                    + +
                                                                    +
                                                                    +

                                                                    Inherited from BasePrivacyAnonymizer

                                                                    +
                                                                    +

                                                                    Inherited from DataFrameCheck

                                                                    +
                                                                    +

                                                                    Inherited from BaseDataOperator[StreamOperatorInfo, DataFrame]

                                                                    +
                                                                    +

                                                                    Inherited from BaseGenericOperator[StreamOperatorInfo, DataFrame]

                                                                    +
                                                                    +

                                                                    Inherited from BaseGenericMutantOperator[StreamOperatorInfo, DataFrame, DataFrame]

                                                                    +
                                                                    +

                                                                    Inherited from BaseDoer

                                                                    +
                                                                    +

                                                                    Inherited from Logging

                                                                    +
                                                                    +

                                                                    Inherited from Serializable

                                                                    +
                                                                    +

                                                                    Inherited from Serializable

                                                                    +
                                                                    +

                                                                    Inherited from AnyRef

                                                                    +
                                                                    +

                                                                    Inherited from Any

                                                                    +
                                                                    + +
                                                                    + +
                                                                    +
                                                                    +

                                                                    Ungrouped

                                                                    + +
                                                                    +
                                                                    + +
                                                                    + +
                                                                    + + + + + + diff --git a/manual1903/api_reference/didentification/scaladocs/ksb/csle/didentification/privacy/EncryptionOperator$.html b/manual1903/api_reference/didentification/scaladocs/ksb/csle/didentification/privacy/EncryptionOperator$.html new file mode 100644 index 0000000000000000000000000000000000000000..2609836ac84344e9783db3b4281fce517aab34b3 --- /dev/null +++ b/manual1903/api_reference/didentification/scaladocs/ksb/csle/didentification/privacy/EncryptionOperator$.html @@ -0,0 +1,505 @@ + + + + EncryptionOperator - KSB DEIDENTIFICATION Scala App Project 1.0-SNAPSHOT API - ksb.csle.didentification.privacy.EncryptionOperator + + + + + + + + + + + + + + + + + +

                                                                    + + + object + + + EncryptionOperator extends Serializable + +

                                                                    + +
                                                                    + Linear Supertypes +
                                                                    Serializable, Serializable, AnyRef, Any
                                                                    +
                                                                    + + +
                                                                    +
                                                                    +
                                                                    + Ordering +
                                                                      + +
                                                                    1. Alphabetic
                                                                    2. +
                                                                    3. By Inheritance
                                                                    4. +
                                                                    +
                                                                    +
                                                                    + Inherited
                                                                    +
                                                                    +
                                                                      +
                                                                    1. EncryptionOperator
                                                                    2. Serializable
                                                                    3. Serializable
                                                                    4. AnyRef
                                                                    5. Any
                                                                    6. +
                                                                    +
                                                                    + +
                                                                      +
                                                                    1. Hide All
                                                                    2. +
                                                                    3. Show All
                                                                    4. +
                                                                    +
                                                                    +
                                                                    + Visibility +
                                                                    1. Public
                                                                    2. All
                                                                    +
                                                                    +
                                                                    + +
                                                                    +
                                                                    + + + + + + +
                                                                    +

                                                                    Value Members

                                                                    +
                                                                    1. + + +

                                                                      + + final + def + + + !=(arg0: Any): Boolean + +

                                                                      + + Permalink + + +
                                                                      Definition Classes
                                                                      AnyRef → Any
                                                                      +
                                                                    2. + + +

                                                                      + + final + def + + + ##(): Int + +

                                                                      + + Permalink + + +
                                                                      Definition Classes
                                                                      AnyRef → Any
                                                                      +
                                                                    3. + + +

                                                                      + + final + def + + + ==(arg0: Any): Boolean + +

                                                                      + + Permalink + + +
                                                                      Definition Classes
                                                                      AnyRef → Any
                                                                      +
                                                                    4. + + +

                                                                      + + + def + + + apply(o: StreamOperatorInfo): EncryptionOperator + +

                                                                      + + Permalink + + + +
                                                                    5. + + +

                                                                      + + final + def + + + asInstanceOf[T0]: T0 + +

                                                                      + + Permalink + + +
                                                                      Definition Classes
                                                                      Any
                                                                      +
                                                                    6. + + +

                                                                      + + + def + + + clone(): AnyRef + +

                                                                      + + Permalink + + +
                                                                      Attributes
                                                                      protected[java.lang]
                                                                      Definition Classes
                                                                      AnyRef
                                                                      Annotations
                                                                      + @throws( + + ... + ) + +
                                                                      +
                                                                    7. + + +

                                                                      + + final + def + + + eq(arg0: AnyRef): Boolean + +

                                                                      + + Permalink + + +
                                                                      Definition Classes
                                                                      AnyRef
                                                                      +
                                                                    8. + + +

                                                                      + + + def + + + equals(arg0: Any): Boolean + +

                                                                      + + Permalink + + +
                                                                      Definition Classes
                                                                      AnyRef → Any
                                                                      +
                                                                    9. + + +

                                                                      + + + def + + + finalize(): Unit + +

                                                                      + + Permalink + + +
                                                                      Attributes
                                                                      protected[java.lang]
                                                                      Definition Classes
                                                                      AnyRef
                                                                      Annotations
                                                                      + @throws( + + classOf[java.lang.Throwable] + ) + +
                                                                      +
                                                                    10. + + +

                                                                      + + final + def + + + getClass(): Class[_] + +

                                                                      + + Permalink + + +
                                                                      Definition Classes
                                                                      AnyRef → Any
                                                                      +
                                                                    11. + + +

                                                                      + + + def + + + hashCode(): Int + +

                                                                      + + Permalink + + +
                                                                      Definition Classes
                                                                      AnyRef → Any
                                                                      +
                                                                    12. + + +

                                                                      + + final + def + + + isInstanceOf[T0]: Boolean + +

                                                                      + + Permalink + + +
                                                                      Definition Classes
                                                                      Any
                                                                      +
                                                                    13. + + +

                                                                      + + final + def + + + ne(arg0: AnyRef): Boolean + +

                                                                      + + Permalink + + +
                                                                      Definition Classes
                                                                      AnyRef
                                                                      +
                                                                    14. + + +

                                                                      + + final + def + + + notify(): Unit + +

                                                                      + + Permalink + + +
                                                                      Definition Classes
                                                                      AnyRef
                                                                      +
                                                                    15. + + +

                                                                      + + final + def + + + notifyAll(): Unit + +

                                                                      + + Permalink + + +
                                                                      Definition Classes
                                                                      AnyRef
                                                                      +
                                                                    16. + + +

                                                                      + + final + def + + + synchronized[T0](arg0: ⇒ T0): T0 + +

                                                                      + + Permalink + + +
                                                                      Definition Classes
                                                                      AnyRef
                                                                      +
                                                                    17. + + +

                                                                      + + + def + + + toString(): String + +

                                                                      + + Permalink + + +
                                                                      Definition Classes
                                                                      AnyRef → Any
                                                                      +
                                                                    18. + + +

                                                                      + + final + def + + + wait(): Unit + +

                                                                      + + Permalink + + +
                                                                      Definition Classes
                                                                      AnyRef
                                                                      Annotations
                                                                      + @throws( + + ... + ) + +
                                                                      +
                                                                    19. + + +

                                                                      + + final + def + + + wait(arg0: Long, arg1: Int): Unit + +

                                                                      + + Permalink + + +
                                                                      Definition Classes
                                                                      AnyRef
                                                                      Annotations
                                                                      + @throws( + + ... + ) + +
                                                                      +
                                                                    20. + + +

                                                                      + + final + def + + + wait(arg0: Long): Unit + +

                                                                      + + Permalink + + +
                                                                      Definition Classes
                                                                      AnyRef
                                                                      Annotations
                                                                      + @throws( + + ... + ) + +
                                                                      +
                                                                    +
                                                                    + + + + +
                                                                    + +
                                                                    +
                                                                    +

                                                                    Inherited from Serializable

                                                                    +
                                                                    +

                                                                    Inherited from Serializable

                                                                    +
                                                                    +

                                                                    Inherited from AnyRef

                                                                    +
                                                                    +

                                                                    Inherited from Any

                                                                    +
                                                                    + +
                                                                    + +
                                                                    +
                                                                    +

                                                                    Ungrouped

                                                                    + +
                                                                    +
                                                                    + +
                                                                    + +
                                                                    + + + + + + diff --git a/manual1903/api_reference/didentification/scaladocs/ksb/csle/didentification/privacy/EncryptionOperator.html b/manual1903/api_reference/didentification/scaladocs/ksb/csle/didentification/privacy/EncryptionOperator.html new file mode 100644 index 0000000000000000000000000000000000000000..6bc259dbed0b7992094de57a03db515154196cad --- /dev/null +++ b/manual1903/api_reference/didentification/scaladocs/ksb/csle/didentification/privacy/EncryptionOperator.html @@ -0,0 +1,920 @@ + + + + EncryptionOperator - KSB DEIDENTIFICATION Scala App Project 1.0-SNAPSHOT API - ksb.csle.didentification.privacy.EncryptionOperator + + + + + + + + + + + + + + + + + +

                                                                    + + + class + + + EncryptionOperator extends BasePrivacyAnonymizer + +

                                                                    + +

                                                                    :: ApplicationDeveloperApi ::

                                                                    Operator that implements the encryption module in the Pseudo Anonymization +algorithm, and encrypts the values of the data using encryption algorithm. +Currently, DES (Data Encryption Standard) and AES (Advanced DES) are +implemented (key size: 56 (DES), 128 (AES)). Especially, due to the +importance of the key generation, it makes the key based on SHA1 and SHA512. +

                                                                    + Linear Supertypes +
                                                                    BasePrivacyAnonymizer, DataFrameCheck, BaseDataOperator[StreamOperatorInfo, DataFrame], BaseGenericOperator[StreamOperatorInfo, DataFrame], BaseGenericMutantOperator[StreamOperatorInfo, DataFrame, DataFrame], BaseDoer, Logging, Serializable, Serializable, AnyRef, Any
                                                                    +
                                                                    + + +
                                                                    +
                                                                    +
                                                                    + Ordering +
                                                                      + +
                                                                    1. Alphabetic
                                                                    2. +
                                                                    3. By Inheritance
                                                                    4. +
                                                                    +
                                                                    +
                                                                    + Inherited
                                                                    +
                                                                    +
                                                                      +
                                                                    1. EncryptionOperator
                                                                    2. BasePrivacyAnonymizer
                                                                    3. DataFrameCheck
                                                                    4. BaseDataOperator
                                                                    5. BaseGenericOperator
                                                                    6. BaseGenericMutantOperator
                                                                    7. BaseDoer
                                                                    8. Logging
                                                                    9. Serializable
                                                                    10. Serializable
                                                                    11. AnyRef
                                                                    12. Any
                                                                    13. +
                                                                    +
                                                                    + +
                                                                      +
                                                                    1. Hide All
                                                                    2. +
                                                                    3. Show All
                                                                    4. +
                                                                    +
                                                                    +
                                                                    + Visibility +
                                                                    1. Public
                                                                    2. All
                                                                    +
                                                                    +
                                                                    + +
                                                                    +
                                                                    +
                                                                    +

                                                                    Instance Constructors

                                                                    +
                                                                    1. + + +

                                                                      + + + new + + + EncryptionOperator(o: StreamOperatorInfo) + +

                                                                      + + Permalink + + +

                                                                      o

                                                                      Object that contains message + ksb.csle.common.proto.StreamDidentProto.EncryptionInfo + EncryptionInfo contains attributes as follows:

                                                                      • selectedColumnId: Column ID to apply the encryption function
                                                                      • valColName: Column name to be used as a value column (required)
                                                                      • key: the encryption key
                                                                      • method: DES or AES (currently, DES is not supported)
                                                                      • fieldInfo: the info about column attributes (identifier, sensitive, ..)
                                                                      • check: the method how to verify the performance of anonymized data

                                                                      EncryptionInfo

                                                                      enum EncryptionKey {
                                                                      +	NORMAL = 0;
                                                                      +	SHA1 = 1;
                                                                      +	SHA512 = 2;
                                                                      +}
                                                                      +enum EncryptionMethod {
                                                                      +	DES = 0;
                                                                      +	AES = 1;
                                                                      +}
                                                                      +message EncryptionInfo {
                                                                      +  repeated int32 selectedColumnId = 1;
                                                                      +  required EncryptionKey key = 2 [default = NORMAL];
                                                                      +  required EncryptionMethod method = 3 [default = DES];
                                                                      +  repeated FieldInfo fieldInfo = 4;
                                                                      +  optional PrivacyCheckInfo check = 5;
                                                                      +}
                                                                      +
                                                                    +
                                                                    + + + + + +
                                                                    +

                                                                    Value Members

                                                                    +
                                                                    1. + + +

                                                                      + + final + def + + + !=(arg0: Any): Boolean + +

                                                                      + + Permalink + + +
                                                                      Definition Classes
                                                                      AnyRef → Any
                                                                      +
                                                                    2. + + +

                                                                      + + final + def + + + ##(): Int + +

                                                                      + + Permalink + + +
                                                                      Definition Classes
                                                                      AnyRef → Any
                                                                      +
                                                                    3. + + +

                                                                      + + final + def + + + ==(arg0: Any): Boolean + +

                                                                      + + Permalink + + +
                                                                      Definition Classes
                                                                      AnyRef → Any
                                                                      +
                                                                    4. + + +

                                                                      + + + def + + + anonymize(src: DataFrame, columnNames: Array[String]): DataFrame + +

                                                                      + + Permalink + + +
                                                                      Definition Classes
                                                                      BasePrivacyAnonymizer
                                                                      +
                                                                    5. + + +

                                                                      + + + def + + + anonymize(src: DataFrame, columnName: String): DataFrame + +

                                                                      + + Permalink + + +

                                                                      Anonymizes the column specified in src dataframe +using generic 'Type' method.

                                                                      Anonymizes the column specified in src dataframe +using generic 'Type' method. The 'Type' is decided by +inherited object module. +

                                                                      src

                                                                      Dataframe to anonymize

                                                                      columnName

                                                                      Column to be anonymized

                                                                      returns

                                                                      DataFrame The dataframe which replaces original column +with anonymized column

                                                                      Definition Classes
                                                                      BasePrivacyAnonymizer
                                                                      +
                                                                    6. + + +

                                                                      + + + def + + + anonymizeColumn(src: DataFrame, columnName: String, method: EncryptionMethod): DataFrame + +

                                                                      + + Permalink + + + +
                                                                    7. + + +

                                                                      + + + def + + + anonymizeColumn(src: DataFrame, columnName: String): DataFrame + +

                                                                      + + Permalink + + +

                                                                      encrypts the column of src dataframe using defined encryption method.

                                                                      encrypts the column of src dataframe using defined encryption method. +

                                                                      src

                                                                      Dataframe to anonymize

                                                                      columnName

                                                                      Column to be pseudo-anonymized

                                                                      returns

                                                                      DataFrame Anonymized dataframe

                                                                      Definition Classes
                                                                      EncryptionOperatorBasePrivacyAnonymizer
                                                                      +
                                                                    8. + + +

                                                                      + + final + def + + + asInstanceOf[T0]: T0 + +

                                                                      + + Permalink + + +
                                                                      Definition Classes
                                                                      Any
                                                                      +
                                                                    9. + + +

                                                                      + + + def + + + clone(): AnyRef + +

                                                                      + + Permalink + + +
                                                                      Attributes
                                                                      protected[java.lang]
                                                                      Definition Classes
                                                                      AnyRef
                                                                      Annotations
                                                                      + @throws( + + ... + ) + +
                                                                      +
                                                                    10. + + +

                                                                      + + + def + + + deAnonymize(src: DataFrame, columnName: String, method: EncryptionMethod): DataFrame + +

                                                                      + + Permalink + + + +
                                                                    11. + + +

                                                                      + + + def + + + deAnonymize(src: DataFrame, columnName: String): DataFrame + +

                                                                      + + Permalink + + +

                                                                      De-anonymizes the anonymized dataframe using defined encryption method +

                                                                      De-anonymizes the anonymized dataframe using defined encryption method +

                                                                      src

                                                                      Dataframe to de-anonymize

                                                                      columnName

                                                                      Column name to be de-anonymized

                                                                      returns

                                                                      DataFrame The de-anonymized dataframe

                                                                      +
                                                                    12. + + +

                                                                      + + + def + + + decrypt(bytes: Array[Byte], b64secret: String, algo: String): Array[Byte] + +

                                                                      + + Permalink + + +

                                                                      Decrypts the given array of encrypted bytes +

                                                                      Decrypts the given array of encrypted bytes +

                                                                      bytes

                                                                      the array of bytes in the value to be de-anonymized.

                                                                      b64secret

                                                                      key to anonymize

                                                                      algo

                                                                      the anonymization method to apply (AES, DES)

                                                                      returns

                                                                      Array[Byte] The array of bytes in the deanonymized value

                                                                      +
                                                                    13. + + +

                                                                      + + + def + + + encrypt(bytes: Array[Byte], b64secret: String, algo: String): Array[Byte] + +

                                                                      + + Permalink + + +

                                                                      Encrypts the given array of bytes +

                                                                      Encrypts the given array of bytes +

                                                                      bytes

                                                                      the array of bytes in the value to anonymize.

                                                                      b64secret

                                                                      key to anonymize

                                                                      algo

                                                                      the anonymization method to apply (AES, DES)

                                                                      returns

                                                                      Array[Byte] The array of bytes in the anonymized value

                                                                      +
                                                                    14. + + +

                                                                      + + final + def + + + eq(arg0: AnyRef): Boolean + +

                                                                      + + Permalink + + +
                                                                      Definition Classes
                                                                      AnyRef
                                                                      +
                                                                    15. + + +

                                                                      + + + def + + + equals(arg0: Any): Boolean + +

                                                                      + + Permalink + + +
                                                                      Definition Classes
                                                                      AnyRef → Any
                                                                      +
                                                                    16. + + +

                                                                      + + + def + + + finalize(): Unit + +

                                                                      + + Permalink + + +
                                                                      Attributes
                                                                      protected[java.lang]
                                                                      Definition Classes
                                                                      AnyRef
                                                                      Annotations
                                                                      + @throws( + + classOf[java.lang.Throwable] + ) + +
                                                                      +
                                                                    17. + + +

                                                                      + + final + def + + + getClass(): Class[_] + +

                                                                      + + Permalink + + +
                                                                      Definition Classes
                                                                      AnyRef → Any
                                                                      +
                                                                    18. + + +

                                                                      + + + def + + + getColumnName(src: DataFrame, columnId: Int): String + +

                                                                      + + Permalink + + +

                                                                      Returns column name from src dataframe +specified by the column ID defined by protobuf.

                                                                      Returns column name from src dataframe +specified by the column ID defined by protobuf. +

                                                                      src

                                                                      dataframe to get names of columns.

                                                                      columnId

                                                                      column ID to anonymize.

                                                                      returns

                                                                      String.

                                                                      Definition Classes
                                                                      DataFrameCheck
                                                                      +
                                                                    19. + + +

                                                                      + + + def + + + getColumnNames(src: DataFrame, columnIDs: Array[Int]): Array[String] + +

                                                                      + + Permalink + + +

                                                                      Returns column names from src dataframe specified by column IDs.

                                                                      Returns column names from src dataframe specified by column IDs. +Note that the column with invalid IDs are ignored. +

                                                                      src

                                                                      dataframe to get names of columns.

                                                                      returns

                                                                      Array[String].

                                                                      Definition Classes
                                                                      DataFrameCheck
                                                                      +
                                                                    20. + + +

                                                                      + + + def + + + getQuasiColumnIDs(fieldInfos: Array[FieldInfo]): Array[Int] + +

                                                                      + + Permalink + + +
                                                                      Definition Classes
                                                                      DataFrameCheck
                                                                      +
                                                                    21. + + +

                                                                      + + + def + + + getSensColumnIDs(fieldInfos: Array[FieldInfo]): Array[Int] + +

                                                                      + + Permalink + + +
                                                                      Definition Classes
                                                                      DataFrameCheck
                                                                      +
                                                                    22. + + +

                                                                      + + + def + + + getValidColumnIDs(src: DataFrame, columnIDs: Array[Int]): Array[Int] + +

                                                                      + + Permalink + + +
                                                                      Definition Classes
                                                                      DataFrameCheck
                                                                      +
                                                                    23. + + +

                                                                      + + + def + + + hashCode(): Int + +

                                                                      + + Permalink + + +
                                                                      Definition Classes
                                                                      AnyRef → Any
                                                                      +
                                                                    24. + + +

                                                                      + + final + def + + + isInstanceOf[T0]: Boolean + +

                                                                      + + Permalink + + +
                                                                      Definition Classes
                                                                      Any
                                                                      +
                                                                    25. + + +

                                                                      + + + def + + + isValidColumnID(src: DataFrame, columnID: Int): Boolean + +

                                                                      + + Permalink + + +

                                                                      Checks the given column ID is valid.

                                                                      Checks the given column ID is valid. +

                                                                      src

                                                                      dataframe to get names of columns.

                                                                      returns

                                                                      Boolean.

                                                                      Definition Classes
                                                                      DataFrameCheck
                                                                      +
                                                                    26. + + +

                                                                      + + + def + + + isValidColumnName(src: DataFrame, columnName: String): Boolean + +

                                                                      + + Permalink + + +

                                                                      Checks the given column Name is valid.

                                                                      Checks the given column Name is valid. +

                                                                      src

                                                                      dataframe to get names of columns.

                                                                      columnName

                                                                      column Name.

                                                                      returns

                                                                      Boolean.

                                                                      Definition Classes
                                                                      DataFrameCheck
                                                                      +
                                                                    27. + + +

                                                                      + + + var + + + key: String + +

                                                                      + + Permalink + + + +
                                                                    28. + + +

                                                                      + + + val + + + logger: Logger + +

                                                                      + + Permalink + + +
                                                                      Attributes
                                                                      protected
                                                                      Definition Classes
                                                                      Logging
                                                                      +
                                                                    29. + + +

                                                                      + + final + def + + + ne(arg0: AnyRef): Boolean + +

                                                                      + + Permalink + + +
                                                                      Definition Classes
                                                                      AnyRef
                                                                      +
                                                                    30. + + +

                                                                      + + final + def + + + notify(): Unit + +

                                                                      + + Permalink + + +
                                                                      Definition Classes
                                                                      AnyRef
                                                                      +
                                                                    31. + + +

                                                                      + + final + def + + + notifyAll(): Unit + +

                                                                      + + Permalink + + +
                                                                      Definition Classes
                                                                      AnyRef
                                                                      +
                                                                    32. + + +

                                                                      + + + def + + + operate(df: DataFrame): DataFrame + +

                                                                      + + Permalink + + +
                                                                      Definition Classes
                                                                      EncryptionOperator → BaseGenericOperator → BaseGenericMutantOperator
                                                                      +
                                                                    33. + + +

                                                                      + + + val + + + p: EncryptionInfo + +

                                                                      + + Permalink + + + +
                                                                    34. + + +

                                                                      + + + val + + + privacy: PrivacyCheckInfo + +

                                                                      + + Permalink + + +
                                                                      Definition Classes
                                                                      BasePrivacyAnonymizer
                                                                      +
                                                                    35. + + +

                                                                      + + + def + + + stop: Unit + +

                                                                      + + Permalink + + +
                                                                      Definition Classes
                                                                      BaseGenericOperator → BaseGenericMutantOperator
                                                                      +
                                                                    36. + + +

                                                                      + + final + def + + + synchronized[T0](arg0: ⇒ T0): T0 + +

                                                                      + + Permalink + + +
                                                                      Definition Classes
                                                                      AnyRef
                                                                      +
                                                                    37. + + +

                                                                      + + + def + + + toString(): String + +

                                                                      + + Permalink + + +
                                                                      Definition Classes
                                                                      AnyRef → Any
                                                                      +
                                                                    38. + + +

                                                                      + + final + def + + + wait(): Unit + +

                                                                      + + Permalink + + +
                                                                      Definition Classes
                                                                      AnyRef
                                                                      Annotations
                                                                      + @throws( + + ... + ) + +
                                                                      +
                                                                    39. + + +

                                                                      + + final + def + + + wait(arg0: Long, arg1: Int): Unit + +

                                                                      + + Permalink + + +
                                                                      Definition Classes
                                                                      AnyRef
                                                                      Annotations
                                                                      + @throws( + + ... + ) + +
                                                                      +
                                                                    40. + + +

                                                                      + + final + def + + + wait(arg0: Long): Unit + +

                                                                      + + Permalink + + +
                                                                      Definition Classes
                                                                      AnyRef
                                                                      Annotations
                                                                      + @throws( + + ... + ) + +
                                                                      +
                                                                    +
                                                                    + + + + +
                                                                    + +
                                                                    +
                                                                    +

                                                                    Inherited from BasePrivacyAnonymizer

                                                                    +
                                                                    +

                                                                    Inherited from DataFrameCheck

                                                                    +
                                                                    +

                                                                    Inherited from BaseDataOperator[StreamOperatorInfo, DataFrame]

                                                                    +
                                                                    +

                                                                    Inherited from BaseGenericOperator[StreamOperatorInfo, DataFrame]

                                                                    +
                                                                    +

                                                                    Inherited from BaseGenericMutantOperator[StreamOperatorInfo, DataFrame, DataFrame]

                                                                    +
                                                                    +

                                                                    Inherited from BaseDoer

                                                                    +
                                                                    +

                                                                    Inherited from Logging

                                                                    +
                                                                    +

                                                                    Inherited from Serializable

                                                                    +
                                                                    +

                                                                    Inherited from Serializable

                                                                    +
                                                                    +

                                                                    Inherited from AnyRef

                                                                    +
                                                                    +

                                                                    Inherited from Any

                                                                    +
                                                                    + +
                                                                    + +
                                                                    +
                                                                    +

                                                                    Ungrouped

                                                                    + +
                                                                    +
                                                                    + +
                                                                    + +
                                                                    + + + + + + diff --git a/manual1903/api_reference/didentification/scaladocs/ksb/csle/didentification/privacy/HeuristicOperator$.html b/manual1903/api_reference/didentification/scaladocs/ksb/csle/didentification/privacy/HeuristicOperator$.html new file mode 100644 index 0000000000000000000000000000000000000000..963813e933c65fbe7327269a9e9787f0a6a080b0 --- /dev/null +++ b/manual1903/api_reference/didentification/scaladocs/ksb/csle/didentification/privacy/HeuristicOperator$.html @@ -0,0 +1,505 @@ + + + + HeuristicOperator - KSB DEIDENTIFICATION Scala App Project 1.0-SNAPSHOT API - ksb.csle.didentification.privacy.HeuristicOperator + + + + + + + + + + + + + + + + + +

                                                                    + + + object + + + HeuristicOperator extends Serializable + +

                                                                    + +
                                                                    + Linear Supertypes +
                                                                    Serializable, Serializable, AnyRef, Any
                                                                    +
                                                                    + + +
                                                                    +
                                                                    +
                                                                    + Ordering +
                                                                      + +
                                                                    1. Alphabetic
                                                                    2. +
                                                                    3. By Inheritance
                                                                    4. +
                                                                    +
                                                                    +
                                                                    + Inherited
                                                                    +
                                                                    +
                                                                      +
                                                                    1. HeuristicOperator
                                                                    2. Serializable
                                                                    3. Serializable
                                                                    4. AnyRef
                                                                    5. Any
                                                                    6. +
                                                                    +
                                                                    + +
                                                                      +
                                                                    1. Hide All
                                                                    2. +
                                                                    3. Show All
                                                                    4. +
                                                                    +
                                                                    +
                                                                    + Visibility +
                                                                    1. Public
                                                                    2. All
                                                                    +
                                                                    +
                                                                    + +
                                                                    +
                                                                    + + + + + + +
                                                                    +

                                                                    Value Members

                                                                    +
                                                                    1. + + +

                                                                      + + final + def + + + !=(arg0: Any): Boolean + +

                                                                      + + Permalink + + +
                                                                      Definition Classes
                                                                      AnyRef → Any
                                                                      +
                                                                    2. + + +

                                                                      + + final + def + + + ##(): Int + +

                                                                      + + Permalink + + +
                                                                      Definition Classes
                                                                      AnyRef → Any
                                                                      +
                                                                    3. + + +

                                                                      + + final + def + + + ==(arg0: Any): Boolean + +

                                                                      + + Permalink + + +
                                                                      Definition Classes
                                                                      AnyRef → Any
                                                                      +
                                                                    4. + + +

                                                                      + + + def + + + apply(o: StreamOperatorInfo): HeuristicOperator + +

                                                                      + + Permalink + + + +
                                                                    5. + + +

                                                                      + + final + def + + + asInstanceOf[T0]: T0 + +

                                                                      + + Permalink + + +
                                                                      Definition Classes
                                                                      Any
                                                                      +
                                                                    6. + + +

                                                                      + + + def + + + clone(): AnyRef + +

                                                                      + + Permalink + + +
                                                                      Attributes
                                                                      protected[java.lang]
                                                                      Definition Classes
                                                                      AnyRef
                                                                      Annotations
                                                                      + @throws( + + ... + ) + +
                                                                      +
                                                                    7. + + +

                                                                      + + final + def + + + eq(arg0: AnyRef): Boolean + +

                                                                      + + Permalink + + +
                                                                      Definition Classes
                                                                      AnyRef
                                                                      +
                                                                    8. + + +

                                                                      + + + def + + + equals(arg0: Any): Boolean + +

                                                                      + + Permalink + + +
                                                                      Definition Classes
                                                                      AnyRef → Any
                                                                      +
                                                                    9. + + +

                                                                      + + + def + + + finalize(): Unit + +

                                                                      + + Permalink + + +
                                                                      Attributes
                                                                      protected[java.lang]
                                                                      Definition Classes
                                                                      AnyRef
                                                                      Annotations
                                                                      + @throws( + + classOf[java.lang.Throwable] + ) + +
                                                                      +
                                                                    10. + + +

                                                                      + + final + def + + + getClass(): Class[_] + +

                                                                      + + Permalink + + +
                                                                      Definition Classes
                                                                      AnyRef → Any
                                                                      +
                                                                    11. + + +

                                                                      + + + def + + + hashCode(): Int + +

                                                                      + + Permalink + + +
                                                                      Definition Classes
                                                                      AnyRef → Any
                                                                      +
                                                                    12. + + +

                                                                      + + final + def + + + isInstanceOf[T0]: Boolean + +

                                                                      + + Permalink + + +
                                                                      Definition Classes
                                                                      Any
                                                                      +
                                                                    13. + + +

                                                                      + + final + def + + + ne(arg0: AnyRef): Boolean + +

                                                                      + + Permalink + + +
                                                                      Definition Classes
                                                                      AnyRef
                                                                      +
                                                                    14. + + +

                                                                      + + final + def + + + notify(): Unit + +

                                                                      + + Permalink + + +
                                                                      Definition Classes
                                                                      AnyRef
                                                                      +
                                                                    15. + + +

                                                                      + + final + def + + + notifyAll(): Unit + +

                                                                      + + Permalink + + +
                                                                      Definition Classes
                                                                      AnyRef
                                                                      +
                                                                    16. + + +

                                                                      + + final + def + + + synchronized[T0](arg0: ⇒ T0): T0 + +

                                                                      + + Permalink + + +
                                                                      Definition Classes
                                                                      AnyRef
                                                                      +
                                                                    17. + + +

                                                                      + + + def + + + toString(): String + +

                                                                      + + Permalink + + +
                                                                      Definition Classes
                                                                      AnyRef → Any
                                                                      +
                                                                    18. + + +

                                                                      + + final + def + + + wait(): Unit + +

                                                                      + + Permalink + + +
                                                                      Definition Classes
                                                                      AnyRef
                                                                      Annotations
                                                                      + @throws( + + ... + ) + +
                                                                      +
                                                                    19. + + +

                                                                      + + final + def + + + wait(arg0: Long, arg1: Int): Unit + +

                                                                      + + Permalink + + +
                                                                      Definition Classes
                                                                      AnyRef
                                                                      Annotations
                                                                      + @throws( + + ... + ) + +
                                                                      +
                                                                    20. + + +

                                                                      + + final + def + + + wait(arg0: Long): Unit + +

                                                                      + + Permalink + + +
                                                                      Definition Classes
                                                                      AnyRef
                                                                      Annotations
                                                                      + @throws( + + ... + ) + +
                                                                      +
                                                                    +
                                                                    + + + + +
                                                                    + +
                                                                    +
                                                                    +

                                                                    Inherited from Serializable

                                                                    +
                                                                    +

                                                                    Inherited from Serializable

                                                                    +
                                                                    +

                                                                    Inherited from AnyRef

                                                                    +
                                                                    +

                                                                    Inherited from Any

                                                                    +
                                                                    + +
                                                                    + +
                                                                    +
                                                                    +

                                                                    Ungrouped

                                                                    + +
                                                                    +
                                                                    + +
                                                                    + +
                                                                    + + + + + + diff --git a/manual1903/api_reference/didentification/scaladocs/ksb/csle/didentification/privacy/HeuristicOperator.html b/manual1903/api_reference/didentification/scaladocs/ksb/csle/didentification/privacy/HeuristicOperator.html new file mode 100644 index 0000000000000000000000000000000000000000..ce69f43433869a56f33f3607057f1efaf9e0f223 --- /dev/null +++ b/manual1903/api_reference/didentification/scaladocs/ksb/csle/didentification/privacy/HeuristicOperator.html @@ -0,0 +1,890 @@ + + + + HeuristicOperator - KSB DEIDENTIFICATION Scala App Project 1.0-SNAPSHOT API - ksb.csle.didentification.privacy.HeuristicOperator + + + + + + + + + + + + + + + + + +

                                                                    + + + class + + + HeuristicOperator extends BasePrivacyAnonymizer with DeAnonymizer + +

                                                                    + +

                                                                    :: ApplicationDeveloperApi ::

                                                                    Operator that implements the heuristic module in the PseudoAnonymization +algorithm. It replaces the values of data according to the generated +heuristic tables. This tables can be generated by following methods. +- Randomized Table: generated by random string (number, alphabet) +- Manual: insert the heuristic table list manually. +It manages the heuristic table internally and hence it is also capable of +de-anonymizing the anonmized records. +

                                                                    + Linear Supertypes +
                                                                    DeAnonymizer, BasePrivacyAnonymizer, DataFrameCheck, BaseDataOperator[StreamOperatorInfo, DataFrame], BaseGenericOperator[StreamOperatorInfo, DataFrame], BaseGenericMutantOperator[StreamOperatorInfo, DataFrame, DataFrame], BaseDoer, Logging, Serializable, Serializable, AnyRef, Any
                                                                    +
                                                                    + + +
                                                                    +
                                                                    +
                                                                    + Ordering +
                                                                      + +
                                                                    1. Alphabetic
                                                                    2. +
                                                                    3. By Inheritance
                                                                    4. +
                                                                    +
                                                                    +
                                                                    + Inherited
                                                                    +
                                                                    +
                                                                      +
                                                                    1. HeuristicOperator
                                                                    2. DeAnonymizer
                                                                    3. BasePrivacyAnonymizer
                                                                    4. DataFrameCheck
                                                                    5. BaseDataOperator
                                                                    6. BaseGenericOperator
                                                                    7. BaseGenericMutantOperator
                                                                    8. BaseDoer
                                                                    9. Logging
                                                                    10. Serializable
                                                                    11. Serializable
                                                                    12. AnyRef
                                                                    13. Any
                                                                    14. +
                                                                    +
                                                                    + +
                                                                      +
                                                                    1. Hide All
                                                                    2. +
                                                                    3. Show All
                                                                    4. +
                                                                    +
                                                                    +
                                                                    + Visibility +
                                                                    1. Public
                                                                    2. All
                                                                    +
                                                                    +
                                                                    + +
                                                                    +
                                                                    +
                                                                    +

                                                                    Instance Constructors

                                                                    +
                                                                    1. + + +

                                                                      + + + new + + + HeuristicOperator(o: StreamOperatorInfo) + +

                                                                      + + Permalink + + +

                                                                      o

                                                                      Object that contains message + ksb.csle.common.proto.StreamDidentProto.HeuristicInfo + HeuristicInfo contains attributes as follows:

                                                                      • selectedColumnId: Column ID to apply the heuristic function
                                                                      • method: how to apply heuristic function.
                                                                      • manualInfo: changes the data with the given manual info
                                                                      • randInfo: changes the data randomly made string
                                                                      • fieldInfo: the info about column attributes (identifier, sensitive, ..)
                                                                      • check: the method how to verify the performance of anonymized data

                                                                      HeuristicInfo

                                                                      enum GenHeuristicTableMethod {
                                                                      +  HEUR_RANDOM = 0;
                                                                      +  HEUR_MANUAL = 1;
                                                                      +  HEUR_FILE = 2; // not used
                                                                      +}
                                                                      +message ManualInfo {
                                                                      +	required string value = 1;
                                                                      +	required string replaceValue = 2;
                                                                      +}
                                                                      +message RandomInfo {
                                                                      +	required RandomMethod randMethod = 1 [default = MIXED];
                                                                      +	required int32 length = 2 [default = 6];
                                                                      +}
                                                                      +message HeuristicInfo {
                                                                      +  repeated int32 selectedColumnId = 1;
                                                                      +  required GenHeuristicTableMethod method = 2 [default = HEUR_RANDOM];
                                                                      +  repeated ManualInfo manualInfo = 3;
                                                                      +  optional RandomInfo randInfo = 4;
                                                                      +  repeated FieldInfo fieldInfo = 5;
                                                                      +  optional PrivacyCheckInfo check = 6;
                                                                      +}
                                                                      +
                                                                    +
                                                                    + + + + + +
                                                                    +

                                                                    Value Members

                                                                    +
                                                                    1. + + +

                                                                      + + final + def + + + !=(arg0: Any): Boolean + +

                                                                      + + Permalink + + +
                                                                      Definition Classes
                                                                      AnyRef → Any
                                                                      +
                                                                    2. + + +

                                                                      + + final + def + + + ##(): Int + +

                                                                      + + Permalink + + +
                                                                      Definition Classes
                                                                      AnyRef → Any
                                                                      +
                                                                    3. + + +

                                                                      + + final + def + + + ==(arg0: Any): Boolean + +

                                                                      + + Permalink + + +
                                                                      Definition Classes
                                                                      AnyRef → Any
                                                                      +
                                                                    4. + + +

                                                                      + + + def + + + anonymize(src: DataFrame, columnNames: Array[String]): DataFrame + +

                                                                      + + Permalink + + +
                                                                      Definition Classes
                                                                      BasePrivacyAnonymizer
                                                                      +
                                                                    5. + + +

                                                                      + + + def + + + anonymize(src: DataFrame, columnName: String): DataFrame + +

                                                                      + + Permalink + + +

                                                                      Anonymizes the column specified in src dataframe +using generic 'Type' method.

                                                                      Anonymizes the column specified in src dataframe +using generic 'Type' method. The 'Type' is decided by +inherited object module. +

                                                                      src

                                                                      Dataframe to anonymize

                                                                      columnName

                                                                      Column to be anonymized

                                                                      returns

                                                                      DataFrame The dataframe which replaces original column +with anonymized column

                                                                      Definition Classes
                                                                      BasePrivacyAnonymizer
                                                                      +
                                                                    6. + + +

                                                                      + + + def + + + anonymizeColumn(src: DataFrame, columnName: String, heuristicType: GenHeuristicTableMethod): DataFrame + +

                                                                      + + Permalink + + +

                                                                      Pseudo-anonymizes, that is, replaces the values of the column +in src dataframe with heuristic table.

                                                                      Pseudo-anonymizes, that is, replaces the values of the column +in src dataframe with heuristic table. 'heuristicType' method denotes +how to make this table. +

                                                                      src

                                                                      Dataframe to anonymize

                                                                      columnName

                                                                      Column to be pseudo-anonymized

                                                                      heuristicType

                                                                      How to make table

                                                                      returns

                                                                      DataFrame Anonymized dataframe

                                                                      +
                                                                    7. + + +

                                                                      + + + def + + + anonymizeColumn(src: DataFrame, columnName: String): DataFrame + +

                                                                      + + Permalink + + +

                                                                      Pseudo-anonymizes, that is, replaces the values of the column +in src dataframe with heuristic table.

                                                                      Pseudo-anonymizes, that is, replaces the values of the column +in src dataframe with heuristic table. 'heuristicType' method denotes +how to make this table. +

                                                                      src

                                                                      Dataframe to anonymize

                                                                      columnName

                                                                      Column to be pseudo-anonymized

                                                                      returns

                                                                      DataFrame Anonymized dataframe

                                                                      Definition Classes
                                                                      HeuristicOperatorBasePrivacyAnonymizer
                                                                      +
                                                                    8. + + +

                                                                      + + final + def + + + asInstanceOf[T0]: T0 + +

                                                                      + + Permalink + + +
                                                                      Definition Classes
                                                                      Any
                                                                      +
                                                                    9. + + +

                                                                      + + + def + + + clone(): AnyRef + +

                                                                      + + Permalink + + +
                                                                      Attributes
                                                                      protected[java.lang]
                                                                      Definition Classes
                                                                      AnyRef
                                                                      Annotations
                                                                      + @throws( + + ... + ) + +
                                                                      +
                                                                    10. + + +

                                                                      + + + def + + + deAnonymize(src: DataFrame, columnName: String, heuristicTable: Map[String, String]): DataFrame + +

                                                                      + + Permalink + + +

                                                                      De-anonymizes the anonymized dataframe by using the given heuristic table +

                                                                      De-anonymizes the anonymized dataframe by using the given heuristic table +

                                                                      src

                                                                      Dataframe to de-anonymize

                                                                      columnName

                                                                      Column name to be de-anonymized

                                                                      heuristicTable

                                                                      The heuristic table which was used to anonymize +the records

                                                                      returns

                                                                      DataFrame The de-anonymized dataframe

                                                                      Definition Classes
                                                                      DeAnonymizer
                                                                      +
                                                                    11. + + +

                                                                      + + final + def + + + eq(arg0: AnyRef): Boolean + +

                                                                      + + Permalink + + +
                                                                      Definition Classes
                                                                      AnyRef
                                                                      +
                                                                    12. + + +

                                                                      + + + def + + + equals(arg0: Any): Boolean + +

                                                                      + + Permalink + + +
                                                                      Definition Classes
                                                                      AnyRef → Any
                                                                      +
                                                                    13. + + +

                                                                      + + + def + + + finalize(): Unit + +

                                                                      + + Permalink + + +
                                                                      Attributes
                                                                      protected[java.lang]
                                                                      Definition Classes
                                                                      AnyRef
                                                                      Annotations
                                                                      + @throws( + + classOf[java.lang.Throwable] + ) + +
                                                                      +
                                                                    14. + + +

                                                                      + + final + def + + + getClass(): Class[_] + +

                                                                      + + Permalink + + +
                                                                      Definition Classes
                                                                      AnyRef → Any
                                                                      +
                                                                    15. + + +

                                                                      + + + def + + + getColumnName(src: DataFrame, columnId: Int): String + +

                                                                      + + Permalink + + +

                                                                      Returns column name from src dataframe +specified by the column ID defined by protobuf.

                                                                      Returns column name from src dataframe +specified by the column ID defined by protobuf. +

                                                                      src

                                                                      dataframe to get names of columns.

                                                                      columnId

                                                                      column ID to anonymize.

                                                                      returns

                                                                      String.

                                                                      Definition Classes
                                                                      DataFrameCheck
                                                                      +
                                                                    16. + + +

                                                                      + + + def + + + getColumnNames(src: DataFrame, columnIDs: Array[Int]): Array[String] + +

                                                                      + + Permalink + + +

                                                                      Returns column names from src dataframe specified by column IDs.

                                                                      Returns column names from src dataframe specified by column IDs. +Note that the column with invalid IDs are ignored. +

                                                                      src

                                                                      dataframe to get names of columns.

                                                                      returns

                                                                      Array[String].

                                                                      Definition Classes
                                                                      DataFrameCheck
                                                                      +
                                                                    17. + + +

                                                                      + + + def + + + getQuasiColumnIDs(fieldInfos: Array[FieldInfo]): Array[Int] + +

                                                                      + + Permalink + + +
                                                                      Definition Classes
                                                                      DataFrameCheck
                                                                      +
                                                                    18. + + +

                                                                      + + + def + + + getSensColumnIDs(fieldInfos: Array[FieldInfo]): Array[Int] + +

                                                                      + + Permalink + + +
                                                                      Definition Classes
                                                                      DataFrameCheck
                                                                      +
                                                                    19. + + +

                                                                      + + + def + + + getValidColumnIDs(src: DataFrame, columnIDs: Array[Int]): Array[Int] + +

                                                                      + + Permalink + + +
                                                                      Definition Classes
                                                                      DataFrameCheck
                                                                      +
                                                                    20. + + +

                                                                      + + + def + + + hashCode(): Int + +

                                                                      + + Permalink + + +
                                                                      Definition Classes
                                                                      AnyRef → Any
                                                                      +
                                                                    21. + + +

                                                                      + + final + def + + + isInstanceOf[T0]: Boolean + +

                                                                      + + Permalink + + +
                                                                      Definition Classes
                                                                      Any
                                                                      +
                                                                    22. + + +

                                                                      + + + def + + + isValidColumnID(src: DataFrame, columnID: Int): Boolean + +

                                                                      + + Permalink + + +

                                                                      Checks the given column ID is valid.

                                                                      Checks the given column ID is valid. +

                                                                      src

                                                                      dataframe to get names of columns.

                                                                      returns

                                                                      Boolean.

                                                                      Definition Classes
                                                                      DataFrameCheck
                                                                      +
                                                                    23. + + +

                                                                      + + + def + + + isValidColumnName(src: DataFrame, columnName: String): Boolean + +

                                                                      + + Permalink + + +

                                                                      Checks the given column Name is valid.

                                                                      Checks the given column Name is valid. +

                                                                      src

                                                                      dataframe to get names of columns.

                                                                      columnName

                                                                      column Name.

                                                                      returns

                                                                      Boolean.

                                                                      Definition Classes
                                                                      DataFrameCheck
                                                                      +
                                                                    24. + + +

                                                                      + + + val + + + logger: Logger + +

                                                                      + + Permalink + + +
                                                                      Attributes
                                                                      protected
                                                                      Definition Classes
                                                                      Logging
                                                                      +
                                                                    25. + + +

                                                                      + + + def + + + makeHeuristicTable(src: DataFrame, columnName: String, heuristicType: GenHeuristicTableMethod): Map[String, String] + +

                                                                      + + Permalink + + +

                                                                      generates heuristic table in order to change the original data by referring +to the generated table.

                                                                      generates heuristic table in order to change the original data by referring +to the generated table. It is composed of [original data, anonymized data] +and can be made by the following methods. +- RANDOM: makes the table generated by random strings. +- DESIGNATED: TO BE DEFINED +

                                                                      src

                                                                      Dataframe to anonymize

                                                                      columnName

                                                                      Column to be pseudo-anonymized

                                                                      heuristicType

                                                                      How to make heuristic table

                                                                      returns

                                                                      Map[String, String] Generated heuristic table

                                                                      +
                                                                    26. + + +

                                                                      + + final + def + + + ne(arg0: AnyRef): Boolean + +

                                                                      + + Permalink + + +
                                                                      Definition Classes
                                                                      AnyRef
                                                                      +
                                                                    27. + + +

                                                                      + + final + def + + + notify(): Unit + +

                                                                      + + Permalink + + +
                                                                      Definition Classes
                                                                      AnyRef
                                                                      +
                                                                    28. + + +

                                                                      + + final + def + + + notifyAll(): Unit + +

                                                                      + + Permalink + + +
                                                                      Definition Classes
                                                                      AnyRef
                                                                      +
                                                                    29. + + +

                                                                      + + + def + + + operate(df: DataFrame): DataFrame + +

                                                                      + + Permalink + + +

                                                                      Operates heuristic module for basic de-identification +

                                                                      Operates heuristic module for basic de-identification +

                                                                      df

                                                                      Input dataframe

                                                                      returns

                                                                      DataFrame Anonymized dataframe

                                                                      Definition Classes
                                                                      HeuristicOperator → BaseGenericOperator → BaseGenericMutantOperator
                                                                      +
                                                                    30. + + +

                                                                      + + + val + + + p: HeuristicInfo + +

                                                                      + + Permalink + + + +
                                                                    31. + + +

                                                                      + + + val + + + privacy: PrivacyCheckInfo + +

                                                                      + + Permalink + + +
                                                                      Definition Classes
                                                                      BasePrivacyAnonymizer
                                                                      +
                                                                    32. + + +

                                                                      + + + def + + + stop: Unit + +

                                                                      + + Permalink + + +
                                                                      Definition Classes
                                                                      BaseGenericOperator → BaseGenericMutantOperator
                                                                      +
                                                                    33. + + +

                                                                      + + final + def + + + synchronized[T0](arg0: ⇒ T0): T0 + +

                                                                      + + Permalink + + +
                                                                      Definition Classes
                                                                      AnyRef
                                                                      +
                                                                    34. + + +

                                                                      + + + def + + + toString(): String + +

                                                                      + + Permalink + + +
                                                                      Definition Classes
                                                                      AnyRef → Any
                                                                      +
                                                                    35. + + +

                                                                      + + final + def + + + wait(): Unit + +

                                                                      + + Permalink + + +
                                                                      Definition Classes
                                                                      AnyRef
                                                                      Annotations
                                                                      + @throws( + + ... + ) + +
                                                                      +
                                                                    36. + + +

                                                                      + + final + def + + + wait(arg0: Long, arg1: Int): Unit + +

                                                                      + + Permalink + + +
                                                                      Definition Classes
                                                                      AnyRef
                                                                      Annotations
                                                                      + @throws( + + ... + ) + +
                                                                      +
                                                                    37. + + +

                                                                      + + final + def + + + wait(arg0: Long): Unit + +

                                                                      + + Permalink + + +
                                                                      Definition Classes
                                                                      AnyRef
                                                                      Annotations
                                                                      + @throws( + + ... + ) + +
                                                                      +
                                                                    +
                                                                    + + + + +
                                                                    + +
                                                                    +
                                                                    +

                                                                    Inherited from DeAnonymizer

                                                                    +
                                                                    +

                                                                    Inherited from BasePrivacyAnonymizer

                                                                    +
                                                                    +

                                                                    Inherited from DataFrameCheck

                                                                    +
                                                                    +

                                                                    Inherited from BaseDataOperator[StreamOperatorInfo, DataFrame]

                                                                    +
                                                                    +

                                                                    Inherited from BaseGenericOperator[StreamOperatorInfo, DataFrame]

                                                                    +
                                                                    +

                                                                    Inherited from BaseGenericMutantOperator[StreamOperatorInfo, DataFrame, DataFrame]

                                                                    +
                                                                    +

                                                                    Inherited from BaseDoer

                                                                    +
                                                                    +

                                                                    Inherited from Logging

                                                                    +
                                                                    +

                                                                    Inherited from Serializable

                                                                    +
                                                                    +

                                                                    Inherited from Serializable

                                                                    +
                                                                    +

                                                                    Inherited from AnyRef

                                                                    +
                                                                    +

                                                                    Inherited from Any

                                                                    +
                                                                    + +
                                                                    + +
                                                                    +
                                                                    +

                                                                    Ungrouped

                                                                    + +
                                                                    +
                                                                    + +
                                                                    + +
                                                                    + + + + + + diff --git a/manual1903/api_reference/didentification/scaladocs/ksb/csle/didentification/privacy/HidingOperator$.html b/manual1903/api_reference/didentification/scaladocs/ksb/csle/didentification/privacy/HidingOperator$.html new file mode 100644 index 0000000000000000000000000000000000000000..7ec8e28a575393357fe8954686a4f5e01a9048b5 --- /dev/null +++ b/manual1903/api_reference/didentification/scaladocs/ksb/csle/didentification/privacy/HidingOperator$.html @@ -0,0 +1,505 @@ + + + + HidingOperator - KSB DEIDENTIFICATION Scala App Project 1.0-SNAPSHOT API - ksb.csle.didentification.privacy.HidingOperator + + + + + + + + + + + + + + + + + +

                                                                    + + + object + + + HidingOperator extends Serializable + +

                                                                    + +
                                                                    + Linear Supertypes +
                                                                    Serializable, Serializable, AnyRef, Any
                                                                    +
                                                                    + + +
                                                                    +
                                                                    +
                                                                    + Ordering +
                                                                      + +
                                                                    1. Alphabetic
                                                                    2. +
                                                                    3. By Inheritance
                                                                    4. +
                                                                    +
                                                                    +
                                                                    + Inherited
                                                                    +
                                                                    +
                                                                      +
                                                                    1. HidingOperator
                                                                    2. Serializable
                                                                    3. Serializable
                                                                    4. AnyRef
                                                                    5. Any
                                                                    6. +
                                                                    +
                                                                    + +
                                                                      +
                                                                    1. Hide All
                                                                    2. +
                                                                    3. Show All
                                                                    4. +
                                                                    +
                                                                    +
                                                                    + Visibility +
                                                                    1. Public
                                                                    2. All
                                                                    +
                                                                    +
                                                                    + +
                                                                    +
                                                                    + + + + + + +
                                                                    +

                                                                    Value Members

                                                                    +
                                                                    1. + + +

                                                                      + + final + def + + + !=(arg0: Any): Boolean + +

                                                                      + + Permalink + + +
                                                                      Definition Classes
                                                                      AnyRef → Any
                                                                      +
                                                                    2. + + +

                                                                      + + final + def + + + ##(): Int + +

                                                                      + + Permalink + + +
                                                                      Definition Classes
                                                                      AnyRef → Any
                                                                      +
                                                                    3. + + +

                                                                      + + final + def + + + ==(arg0: Any): Boolean + +

                                                                      + + Permalink + + +
                                                                      Definition Classes
                                                                      AnyRef → Any
                                                                      +
                                                                    4. + + +

                                                                      + + + def + + + apply(o: StreamOperatorInfo): HidingOperator + +

                                                                      + + Permalink + + + +
                                                                    5. + + +

                                                                      + + final + def + + + asInstanceOf[T0]: T0 + +

                                                                      + + Permalink + + +
                                                                      Definition Classes
                                                                      Any
                                                                      +
                                                                    6. + + +

                                                                      + + + def + + + clone(): AnyRef + +

                                                                      + + Permalink + + +
                                                                      Attributes
                                                                      protected[java.lang]
                                                                      Definition Classes
                                                                      AnyRef
                                                                      Annotations
                                                                      + @throws( + + ... + ) + +
                                                                      +
                                                                    7. + + +

                                                                      + + final + def + + + eq(arg0: AnyRef): Boolean + +

                                                                      + + Permalink + + +
                                                                      Definition Classes
                                                                      AnyRef
                                                                      +
                                                                    8. + + +

                                                                      + + + def + + + equals(arg0: Any): Boolean + +

                                                                      + + Permalink + + +
                                                                      Definition Classes
                                                                      AnyRef → Any
                                                                      +
                                                                    9. + + +

                                                                      + + + def + + + finalize(): Unit + +

                                                                      + + Permalink + + +
                                                                      Attributes
                                                                      protected[java.lang]
                                                                      Definition Classes
                                                                      AnyRef
                                                                      Annotations
                                                                      + @throws( + + classOf[java.lang.Throwable] + ) + +
                                                                      +
                                                                    10. + + +

                                                                      + + final + def + + + getClass(): Class[_] + +

                                                                      + + Permalink + + +
                                                                      Definition Classes
                                                                      AnyRef → Any
                                                                      +
                                                                    11. + + +

                                                                      + + + def + + + hashCode(): Int + +

                                                                      + + Permalink + + +
                                                                      Definition Classes
                                                                      AnyRef → Any
                                                                      +
                                                                    12. + + +

                                                                      + + final + def + + + isInstanceOf[T0]: Boolean + +

                                                                      + + Permalink + + +
                                                                      Definition Classes
                                                                      Any
                                                                      +
                                                                    13. + + +

                                                                      + + final + def + + + ne(arg0: AnyRef): Boolean + +

                                                                      + + Permalink + + +
                                                                      Definition Classes
                                                                      AnyRef
                                                                      +
                                                                    14. + + +

                                                                      + + final + def + + + notify(): Unit + +

                                                                      + + Permalink + + +
                                                                      Definition Classes
                                                                      AnyRef
                                                                      +
                                                                    15. + + +

                                                                      + + final + def + + + notifyAll(): Unit + +

                                                                      + + Permalink + + +
                                                                      Definition Classes
                                                                      AnyRef
                                                                      +
                                                                    16. + + +

                                                                      + + final + def + + + synchronized[T0](arg0: ⇒ T0): T0 + +

                                                                      + + Permalink + + +
                                                                      Definition Classes
                                                                      AnyRef
                                                                      +
                                                                    17. + + +

                                                                      + + + def + + + toString(): String + +

                                                                      + + Permalink + + +
                                                                      Definition Classes
                                                                      AnyRef → Any
                                                                      +
                                                                    18. + + +

                                                                      + + final + def + + + wait(): Unit + +

                                                                      + + Permalink + + +
                                                                      Definition Classes
                                                                      AnyRef
                                                                      Annotations
                                                                      + @throws( + + ... + ) + +
                                                                      +
                                                                    19. + + +

                                                                      + + final + def + + + wait(arg0: Long, arg1: Int): Unit + +

                                                                      + + Permalink + + +
                                                                      Definition Classes
                                                                      AnyRef
                                                                      Annotations
                                                                      + @throws( + + ... + ) + +
                                                                      +
                                                                    20. + + +

                                                                      + + final + def + + + wait(arg0: Long): Unit + +

                                                                      + + Permalink + + +
                                                                      Definition Classes
                                                                      AnyRef
                                                                      Annotations
                                                                      + @throws( + + ... + ) + +
                                                                      +
                                                                    +
                                                                    + + + + +
                                                                    + +
                                                                    +
                                                                    +

                                                                    Inherited from Serializable

                                                                    +
                                                                    +

                                                                    Inherited from Serializable

                                                                    +
                                                                    +

                                                                    Inherited from AnyRef

                                                                    +
                                                                    +

                                                                    Inherited from Any

                                                                    +
                                                                    + +
                                                                    + +
                                                                    +
                                                                    +

                                                                    Ungrouped

                                                                    + +
                                                                    +
                                                                    + +
                                                                    + +
                                                                    + + + + + + diff --git a/manual1903/api_reference/didentification/scaladocs/ksb/csle/didentification/privacy/HidingOperator.html b/manual1903/api_reference/didentification/scaladocs/ksb/csle/didentification/privacy/HidingOperator.html new file mode 100644 index 0000000000000000000000000000000000000000..22c7763b0cdd267cfc82668b166bac4d6aedfb73 --- /dev/null +++ b/manual1903/api_reference/didentification/scaladocs/ksb/csle/didentification/privacy/HidingOperator.html @@ -0,0 +1,879 @@ + + + + HidingOperator - KSB DEIDENTIFICATION Scala App Project 1.0-SNAPSHOT API - ksb.csle.didentification.privacy.HidingOperator + + + + + + + + + + + + + + + + + +

                                                                    + + + class + + + HidingOperator extends BasePrivacyAnonymizer + +

                                                                    + +

                                                                    :: ApplicationDeveloperApi ::

                                                                    Operator that implements the hiding module in the Data Suppression algorithm. +It replaces (or hides) the values of the data with some statistic values +such as min, max, or avg. Compared with aggregation module, which +is only applicable to numerical data, this module can be applied on string +data containing numerical values such as 20K, $40. +

                                                                    + Linear Supertypes +
                                                                    BasePrivacyAnonymizer, DataFrameCheck, BaseDataOperator[StreamOperatorInfo, DataFrame], BaseGenericOperator[StreamOperatorInfo, DataFrame], BaseGenericMutantOperator[StreamOperatorInfo, DataFrame, DataFrame], BaseDoer, Logging, Serializable, Serializable, AnyRef, Any
                                                                    +
                                                                    + + +
                                                                    +
                                                                    +
                                                                    + Ordering +
                                                                      + +
                                                                    1. Alphabetic
                                                                    2. +
                                                                    3. By Inheritance
                                                                    4. +
                                                                    +
                                                                    +
                                                                    + Inherited
                                                                    +
                                                                    +
                                                                      +
                                                                    1. HidingOperator
                                                                    2. BasePrivacyAnonymizer
                                                                    3. DataFrameCheck
                                                                    4. BaseDataOperator
                                                                    5. BaseGenericOperator
                                                                    6. BaseGenericMutantOperator
                                                                    7. BaseDoer
                                                                    8. Logging
                                                                    9. Serializable
                                                                    10. Serializable
                                                                    11. AnyRef
                                                                    12. Any
                                                                    13. +
                                                                    +
                                                                    + +
                                                                      +
                                                                    1. Hide All
                                                                    2. +
                                                                    3. Show All
                                                                    4. +
                                                                    +
                                                                    +
                                                                    + Visibility +
                                                                    1. Public
                                                                    2. All
                                                                    +
                                                                    +
                                                                    + +
                                                                    +
                                                                    +
                                                                    +

                                                                    Instance Constructors

                                                                    +
                                                                    1. + + +

                                                                      + + + new + + + HidingOperator(o: StreamOperatorInfo) + +

                                                                      + + Permalink + + +

                                                                      o

                                                                      Object that contains message + ksb.csle.common.proto.StreamDidentProto.HidingInfo + HidingInfo contains attributes as follows:

                                                                      • selectedColumnId: Column ID to apply the hiding function
                                                                      • method: how to hide the given data.
                                                                      • isDataRange: whether to replace the given data to statistic or range of interval
                                                                      • fieldInfo: the info about column attributes (identifier, sensitive, ..)
                                                                      • check: the method how to verify the performance of anonymized data

                                                                      HidingInfo

                                                                      enum AggregationMethod {
                                                                      +  MIN = 0;
                                                                      +  AVG = 1;
                                                                      +  MAX = 2;
                                                                      +  STD = 3;
                                                                      +  COUNT = 4;
                                                                      +  MANUAL = 5;
                                                                      +}
                                                                      +message HidingInfo {
                                                                      +  repeated int32 selectedColumnId = 1;
                                                                      +  required AggregationMethod method = 2 [default = AVG];
                                                                      +  optional bool isDataRange = 3 [default = false];
                                                                      +  repeated FieldInfo fieldInfo = 4;
                                                                      +  optional PrivacyCheckInfo check = 5;
                                                                      +}
                                                                      +
                                                                    +
                                                                    + + + + + +
                                                                    +

                                                                    Value Members

                                                                    +
                                                                    1. + + +

                                                                      + + final + def + + + !=(arg0: Any): Boolean + +

                                                                      + + Permalink + + +
                                                                      Definition Classes
                                                                      AnyRef → Any
                                                                      +
                                                                    2. + + +

                                                                      + + final + def + + + ##(): Int + +

                                                                      + + Permalink + + +
                                                                      Definition Classes
                                                                      AnyRef → Any
                                                                      +
                                                                    3. + + +

                                                                      + + final + def + + + ==(arg0: Any): Boolean + +

                                                                      + + Permalink + + +
                                                                      Definition Classes
                                                                      AnyRef → Any
                                                                      +
                                                                    4. + + +

                                                                      + + + def + + + anonymize(src: DataFrame, columnNames: Array[String]): DataFrame + +

                                                                      + + Permalink + + +
                                                                      Definition Classes
                                                                      BasePrivacyAnonymizer
                                                                      +
                                                                    5. + + +

                                                                      + + + def + + + anonymize(src: DataFrame, columnName: String): DataFrame + +

                                                                      + + Permalink + + +

                                                                      Anonymizes the column specified in src dataframe +using generic 'Type' method.

                                                                      Anonymizes the column specified in src dataframe +using generic 'Type' method. The 'Type' is decided by +inherited object module. +

                                                                      src

                                                                      Dataframe to anonymize

                                                                      columnName

                                                                      Column to be anonymized

                                                                      returns

                                                                      DataFrame The dataframe which replaces original column +with anonymized column

                                                                      Definition Classes
                                                                      BasePrivacyAnonymizer
                                                                      +
                                                                    6. + + +

                                                                      + + + def + + + anonymizeColumn(src: DataFrame, columnName: String): DataFrame + +

                                                                      + + Permalink + + +

                                                                      Anonymizes the column in src dataframe using 'hidingType' method.

                                                                      Anonymizes the column in src dataframe using 'hidingType' method. +- If the data range mode is on, call the DataRange module internally +- If the specified column is numerical type, then this function calls +the function in the Aggregation module internally. +- If the specified column is only string type, it calls the function +in the RecordReduction module internally. +- If the specified column is both numeric and string mixed, it separates +the numeric values and applies the hiding function only on them. And then, +it combines the above hiding values and separated string. +

                                                                      src

                                                                      Dataframe to anonymize

                                                                      columnName

                                                                      Column to be anonymized

                                                                      returns

                                                                      DataFrame Anonymized dataframe

                                                                      Definition Classes
                                                                      HidingOperatorBasePrivacyAnonymizer
                                                                      +
                                                                    7. + + +

                                                                      + + final + def + + + asInstanceOf[T0]: T0 + +

                                                                      + + Permalink + + +
                                                                      Definition Classes
                                                                      Any
                                                                      +
                                                                    8. + + +

                                                                      + + + def + + + clone(): AnyRef + +

                                                                      + + Permalink + + +
                                                                      Attributes
                                                                      protected[java.lang]
                                                                      Definition Classes
                                                                      AnyRef
                                                                      Annotations
                                                                      + @throws( + + ... + ) + +
                                                                      +
                                                                    9. + + +

                                                                      + + final + def + + + eq(arg0: AnyRef): Boolean + +

                                                                      + + Permalink + + +
                                                                      Definition Classes
                                                                      AnyRef
                                                                      +
                                                                    10. + + +

                                                                      + + + def + + + equals(arg0: Any): Boolean + +

                                                                      + + Permalink + + +
                                                                      Definition Classes
                                                                      AnyRef → Any
                                                                      +
                                                                    11. + + +

                                                                      + + + def + + + finalize(): Unit + +

                                                                      + + Permalink + + +
                                                                      Attributes
                                                                      protected[java.lang]
                                                                      Definition Classes
                                                                      AnyRef
                                                                      Annotations
                                                                      + @throws( + + classOf[java.lang.Throwable] + ) + +
                                                                      +
                                                                    12. + + +

                                                                      + + final + def + + + getClass(): Class[_] + +

                                                                      + + Permalink + + +
                                                                      Definition Classes
                                                                      AnyRef → Any
                                                                      +
                                                                    13. + + +

                                                                      + + + def + + + getColumnName(src: DataFrame, columnId: Int): String + +

                                                                      + + Permalink + + +

                                                                      Returns column name from src dataframe +specified by the column ID defined by protobuf.

                                                                      Returns column name from src dataframe +specified by the column ID defined by protobuf. +

                                                                      src

                                                                      dataframe to get names of columns.

                                                                      columnId

                                                                      column ID to anonymize.

                                                                      returns

                                                                      String.

                                                                      Definition Classes
                                                                      DataFrameCheck
                                                                      +
                                                                    14. + + +

                                                                      + + + def + + + getColumnNames(src: DataFrame, columnIDs: Array[Int]): Array[String] + +

                                                                      + + Permalink + + +

                                                                      Returns column names from src dataframe specified by column IDs.

                                                                      Returns column names from src dataframe specified by column IDs. +Note that the column with invalid IDs are ignored. +

                                                                      src

                                                                      dataframe to get names of columns.

                                                                      returns

                                                                      Array[String].

                                                                      Definition Classes
                                                                      DataFrameCheck
                                                                      +
                                                                    15. + + +

                                                                      + + + def + + + getQuasiColumnIDs(fieldInfos: Array[FieldInfo]): Array[Int] + +

                                                                      + + Permalink + + +
                                                                      Definition Classes
                                                                      DataFrameCheck
                                                                      +
                                                                    16. + + +

                                                                      + + + def + + + getSensColumnIDs(fieldInfos: Array[FieldInfo]): Array[Int] + +

                                                                      + + Permalink + + +
                                                                      Definition Classes
                                                                      DataFrameCheck
                                                                      +
                                                                    17. + + +

                                                                      + + + def + + + getValidColumnIDs(src: DataFrame, columnIDs: Array[Int]): Array[Int] + +

                                                                      + + Permalink + + +
                                                                      Definition Classes
                                                                      DataFrameCheck
                                                                      +
                                                                    18. + + +

                                                                      + + + def + + + hashCode(): Int + +

                                                                      + + Permalink + + +
                                                                      Definition Classes
                                                                      AnyRef → Any
                                                                      +
                                                                    19. + + +

                                                                      + + + def + + + hidingNumericStringColumn[T](src: DataFrame, columnName: String, hidingType: T): DataFrame + +

                                                                      + + Permalink + + +

                                                                      Hides the column containing both numerical and string +values in src dataframe using 'aggrType' method.

                                                                      Hides the column containing both numerical and string +values in src dataframe using 'aggrType' method. +

                                                                      src

                                                                      Dataframe to anonymize

                                                                      columnName

                                                                      Column to be anonymized

                                                                      hidingType

                                                                      Methods to hide. ex., min, max, avg, and std

                                                                      returns

                                                                      DataFrame Anonymized dataframe

                                                                      +
                                                                    20. + + +

                                                                      + + + def + + + hidingStringColumn(src: DataFrame, columnName: String): DataFrame + +

                                                                      + + Permalink + + +

                                                                      Hides the column containing only string values in src dataframe.

                                                                      Hides the column containing only string values in src dataframe. +

                                                                      src

                                                                      Dataframe to anonymize

                                                                      columnName

                                                                      Column to be anonymized

                                                                      returns

                                                                      DataFrame Anonmized dataframe

                                                                      +
                                                                    21. + + +

                                                                      + + + def + + + hidingStringColumn[T](src: DataFrame, columnName: String, hidingType: T): DataFrame + +

                                                                      + + Permalink + + +

                                                                      Hides the string column using 'aggrType' method.

                                                                      Hides the string column using 'aggrType' method. +The values in this column may be comprised of string only, +or of both numerical and string mixed. +

                                                                      src

                                                                      Dataframe to anonymize

                                                                      columnName

                                                                      Column to be anonymized

                                                                      hidingType

                                                                      Methods to hide. ex., min, max, avg, and std

                                                                      +
                                                                    22. + + +

                                                                      + + final + def + + + isInstanceOf[T0]: Boolean + +

                                                                      + + Permalink + + +
                                                                      Definition Classes
                                                                      Any
                                                                      +
                                                                    23. + + +

                                                                      + + + def + + + isValidColumnID(src: DataFrame, columnID: Int): Boolean + +

                                                                      + + Permalink + + +

                                                                      Checks the given column ID is valid.

                                                                      Checks the given column ID is valid. +

                                                                      src

                                                                      dataframe to get names of columns.

                                                                      returns

                                                                      Boolean.

                                                                      Definition Classes
                                                                      DataFrameCheck
                                                                      +
                                                                    24. + + +

                                                                      + + + def + + + isValidColumnName(src: DataFrame, columnName: String): Boolean + +

                                                                      + + Permalink + + +

                                                                      Checks the given column Name is valid.

                                                                      Checks the given column Name is valid. +

                                                                      src

                                                                      dataframe to get names of columns.

                                                                      columnName

                                                                      column Name.

                                                                      returns

                                                                      Boolean.

                                                                      Definition Classes
                                                                      DataFrameCheck
                                                                      +
                                                                    25. + + +

                                                                      + + + val + + + logger: Logger + +

                                                                      + + Permalink + + +
                                                                      Attributes
                                                                      protected
                                                                      Definition Classes
                                                                      Logging
                                                                      +
                                                                    26. + + +

                                                                      + + final + def + + + ne(arg0: AnyRef): Boolean + +

                                                                      + + Permalink + + +
                                                                      Definition Classes
                                                                      AnyRef
                                                                      +
                                                                    27. + + +

                                                                      + + final + def + + + notify(): Unit + +

                                                                      + + Permalink + + +
                                                                      Definition Classes
                                                                      AnyRef
                                                                      +
                                                                    28. + + +

                                                                      + + final + def + + + notifyAll(): Unit + +

                                                                      + + Permalink + + +
                                                                      Definition Classes
                                                                      AnyRef
                                                                      +
                                                                    29. + + +

                                                                      + + + def + + + operate(df: DataFrame): DataFrame + +

                                                                      + + Permalink + + +

                                                                      Operates hiding module for basic de-identification +

                                                                      Operates hiding module for basic de-identification +

                                                                      df

                                                                      Input dataframe

                                                                      returns

                                                                      DataFrame Anonymized dataframe

                                                                      Definition Classes
                                                                      HidingOperator → BaseGenericOperator → BaseGenericMutantOperator
                                                                      +
                                                                    30. + + +

                                                                      + + + val + + + p: HidingInfo + +

                                                                      + + Permalink + + + +
                                                                    31. + + +

                                                                      + + + val + + + privacy: PrivacyCheckInfo + +

                                                                      + + Permalink + + +
                                                                      Definition Classes
                                                                      BasePrivacyAnonymizer
                                                                      +
                                                                    32. + + +

                                                                      + + + def + + + stop: Unit + +

                                                                      + + Permalink + + +
                                                                      Definition Classes
                                                                      BaseGenericOperator → BaseGenericMutantOperator
                                                                      +
                                                                    33. + + +

                                                                      + + final + def + + + synchronized[T0](arg0: ⇒ T0): T0 + +

                                                                      + + Permalink + + +
                                                                      Definition Classes
                                                                      AnyRef
                                                                      +
                                                                    34. + + +

                                                                      + + + def + + + toString(): String + +

                                                                      + + Permalink + + +
                                                                      Definition Classes
                                                                      AnyRef → Any
                                                                      +
                                                                    35. + + +

                                                                      + + final + def + + + wait(): Unit + +

                                                                      + + Permalink + + +
                                                                      Definition Classes
                                                                      AnyRef
                                                                      Annotations
                                                                      + @throws( + + ... + ) + +
                                                                      +
                                                                    36. + + +

                                                                      + + final + def + + + wait(arg0: Long, arg1: Int): Unit + +

                                                                      + + Permalink + + +
                                                                      Definition Classes
                                                                      AnyRef
                                                                      Annotations
                                                                      + @throws( + + ... + ) + +
                                                                      +
                                                                    37. + + +

                                                                      + + final + def + + + wait(arg0: Long): Unit + +

                                                                      + + Permalink + + +
                                                                      Definition Classes
                                                                      AnyRef
                                                                      Annotations
                                                                      + @throws( + + ... + ) + +
                                                                      +
                                                                    +
                                                                    + + + + +
                                                                    + +
                                                                    +
                                                                    +

                                                                    Inherited from BasePrivacyAnonymizer

                                                                    +
                                                                    +

                                                                    Inherited from DataFrameCheck

                                                                    +
                                                                    +

                                                                    Inherited from BaseDataOperator[StreamOperatorInfo, DataFrame]

                                                                    +
                                                                    +

                                                                    Inherited from BaseGenericOperator[StreamOperatorInfo, DataFrame]

                                                                    +
                                                                    +

                                                                    Inherited from BaseGenericMutantOperator[StreamOperatorInfo, DataFrame, DataFrame]

                                                                    +
                                                                    +

                                                                    Inherited from BaseDoer

                                                                    +
                                                                    +

                                                                    Inherited from Logging

                                                                    +
                                                                    +

                                                                    Inherited from Serializable

                                                                    +
                                                                    +

                                                                    Inherited from Serializable

                                                                    +
                                                                    +

                                                                    Inherited from AnyRef

                                                                    +
                                                                    +

                                                                    Inherited from Any

                                                                    +
                                                                    + +
                                                                    + +
                                                                    +
                                                                    +

                                                                    Ungrouped

                                                                    + +
                                                                    +
                                                                    + +
                                                                    + +
                                                                    + + + + + + diff --git a/manual1903/api_reference/didentification/scaladocs/ksb/csle/didentification/privacy/IdenReductionOperator$.html b/manual1903/api_reference/didentification/scaladocs/ksb/csle/didentification/privacy/IdenReductionOperator$.html new file mode 100644 index 0000000000000000000000000000000000000000..b4cc60548baa148fc1e193c333b8e877204478c5 --- /dev/null +++ b/manual1903/api_reference/didentification/scaladocs/ksb/csle/didentification/privacy/IdenReductionOperator$.html @@ -0,0 +1,505 @@ + + + + IdenReductionOperator - KSB DEIDENTIFICATION Scala App Project 1.0-SNAPSHOT API - ksb.csle.didentification.privacy.IdenReductionOperator + + + + + + + + + + + + + + + + + +

                                                                    + + + object + + + IdenReductionOperator extends Serializable + +

                                                                    + +
                                                                    + Linear Supertypes +
                                                                    Serializable, Serializable, AnyRef, Any
                                                                    +
                                                                    + + +
                                                                    +
                                                                    +
                                                                    + Ordering +
                                                                      + +
                                                                    1. Alphabetic
                                                                    2. +
                                                                    3. By Inheritance
                                                                    4. +
                                                                    +
                                                                    +
                                                                    + Inherited
                                                                    +
                                                                    +
                                                                      +
                                                                    1. IdenReductionOperator
                                                                    2. Serializable
                                                                    3. Serializable
                                                                    4. AnyRef
                                                                    5. Any
                                                                    6. +
                                                                    +
                                                                    + +
                                                                      +
                                                                    1. Hide All
                                                                    2. +
                                                                    3. Show All
                                                                    4. +
                                                                    +
                                                                    +
                                                                    + Visibility +
                                                                    1. Public
                                                                    2. All
                                                                    +
                                                                    +
                                                                    + +
                                                                    +
                                                                    + + + + + + +
                                                                    +

                                                                    Value Members

                                                                    +
                                                                    1. + + +

                                                                      + + final + def + + + !=(arg0: Any): Boolean + +

                                                                      + + Permalink + + +
                                                                      Definition Classes
                                                                      AnyRef → Any
                                                                      +
                                                                    2. + + +

                                                                      + + final + def + + + ##(): Int + +

                                                                      + + Permalink + + +
                                                                      Definition Classes
                                                                      AnyRef → Any
                                                                      +
                                                                    3. + + +

                                                                      + + final + def + + + ==(arg0: Any): Boolean + +

                                                                      + + Permalink + + +
                                                                      Definition Classes
                                                                      AnyRef → Any
                                                                      +
                                                                    4. + + +

                                                                      + + + def + + + apply(o: StreamOperatorInfo): IdenReductionOperator + +

                                                                      + + Permalink + + + +
                                                                    5. + + +

                                                                      + + final + def + + + asInstanceOf[T0]: T0 + +

                                                                      + + Permalink + + +
                                                                      Definition Classes
                                                                      Any
                                                                      +
                                                                    6. + + +

                                                                      + + + def + + + clone(): AnyRef + +

                                                                      + + Permalink + + +
                                                                      Attributes
                                                                      protected[java.lang]
                                                                      Definition Classes
                                                                      AnyRef
                                                                      Annotations
                                                                      + @throws( + + ... + ) + +
                                                                      +
                                                                    7. + + +

                                                                      + + final + def + + + eq(arg0: AnyRef): Boolean + +

                                                                      + + Permalink + + +
                                                                      Definition Classes
                                                                      AnyRef
                                                                      +
                                                                    8. + + +

                                                                      + + + def + + + equals(arg0: Any): Boolean + +

                                                                      + + Permalink + + +
                                                                      Definition Classes
                                                                      AnyRef → Any
                                                                      +
                                                                    9. + + +

                                                                      + + + def + + + finalize(): Unit + +

                                                                      + + Permalink + + +
                                                                      Attributes
                                                                      protected[java.lang]
                                                                      Definition Classes
                                                                      AnyRef
                                                                      Annotations
                                                                      + @throws( + + classOf[java.lang.Throwable] + ) + +
                                                                      +
                                                                    10. + + +

                                                                      + + final + def + + + getClass(): Class[_] + +

                                                                      + + Permalink + + +
                                                                      Definition Classes
                                                                      AnyRef → Any
                                                                      +
                                                                    11. + + +

                                                                      + + + def + + + hashCode(): Int + +

                                                                      + + Permalink + + +
                                                                      Definition Classes
                                                                      AnyRef → Any
                                                                      +
                                                                    12. + + +

                                                                      + + final + def + + + isInstanceOf[T0]: Boolean + +

                                                                      + + Permalink + + +
                                                                      Definition Classes
                                                                      Any
                                                                      +
                                                                    13. + + +

                                                                      + + final + def + + + ne(arg0: AnyRef): Boolean + +

                                                                      + + Permalink + + +
                                                                      Definition Classes
                                                                      AnyRef
                                                                      +
                                                                    14. + + +

                                                                      + + final + def + + + notify(): Unit + +

                                                                      + + Permalink + + +
                                                                      Definition Classes
                                                                      AnyRef
                                                                      +
                                                                    15. + + +

                                                                      + + final + def + + + notifyAll(): Unit + +

                                                                      + + Permalink + + +
                                                                      Definition Classes
                                                                      AnyRef
                                                                      +
                                                                    16. + + +

                                                                      + + final + def + + + synchronized[T0](arg0: ⇒ T0): T0 + +

                                                                      + + Permalink + + +
                                                                      Definition Classes
                                                                      AnyRef
                                                                      +
                                                                    17. + + +

                                                                      + + + def + + + toString(): String + +

                                                                      + + Permalink + + +
                                                                      Definition Classes
                                                                      AnyRef → Any
                                                                      +
                                                                    18. + + +

                                                                      + + final + def + + + wait(): Unit + +

                                                                      + + Permalink + + +
                                                                      Definition Classes
                                                                      AnyRef
                                                                      Annotations
                                                                      + @throws( + + ... + ) + +
                                                                      +
                                                                    19. + + +

                                                                      + + final + def + + + wait(arg0: Long, arg1: Int): Unit + +

                                                                      + + Permalink + + +
                                                                      Definition Classes
                                                                      AnyRef
                                                                      Annotations
                                                                      + @throws( + + ... + ) + +
                                                                      +
                                                                    20. + + +

                                                                      + + final + def + + + wait(arg0: Long): Unit + +

                                                                      + + Permalink + + +
                                                                      Definition Classes
                                                                      AnyRef
                                                                      Annotations
                                                                      + @throws( + + ... + ) + +
                                                                      +
                                                                    +
                                                                    + + + + +
                                                                    + +
                                                                    +
                                                                    +

                                                                    Inherited from Serializable

                                                                    +
                                                                    +

                                                                    Inherited from Serializable

                                                                    +
                                                                    +

                                                                    Inherited from AnyRef

                                                                    +
                                                                    +

                                                                    Inherited from Any

                                                                    +
                                                                    + +
                                                                    + +
                                                                    +
                                                                    +

                                                                    Ungrouped

                                                                    + +
                                                                    +
                                                                    + +
                                                                    + +
                                                                    + + + + + + diff --git a/manual1903/api_reference/didentification/scaladocs/ksb/csle/didentification/privacy/IdenReductionOperator.html b/manual1903/api_reference/didentification/scaladocs/ksb/csle/didentification/privacy/IdenReductionOperator.html new file mode 100644 index 0000000000000000000000000000000000000000..9545c58b4baa2c53fd0d4df6ff09ea5a0f1e3f8d --- /dev/null +++ b/manual1903/api_reference/didentification/scaladocs/ksb/csle/didentification/privacy/IdenReductionOperator.html @@ -0,0 +1,815 @@ + + + + IdenReductionOperator - KSB DEIDENTIFICATION Scala App Project 1.0-SNAPSHOT API - ksb.csle.didentification.privacy.IdenReductionOperator + + + + + + + + + + + + + + + + + +

                                                                    + + + class + + + IdenReductionOperator extends BasePrivacyAnonymizer + +

                                                                    + +

                                                                    This object implements the identity reduction module in the +Data Reduction algorithm. +

                                                                    + Linear Supertypes +
                                                                    BasePrivacyAnonymizer, DataFrameCheck, BaseDataOperator[StreamOperatorInfo, DataFrame], BaseGenericOperator[StreamOperatorInfo, DataFrame], BaseGenericMutantOperator[StreamOperatorInfo, DataFrame, DataFrame], BaseDoer, Logging, Serializable, Serializable, AnyRef, Any
                                                                    +
                                                                    + + +
                                                                    +
                                                                    +
                                                                    + Ordering +
                                                                      + +
                                                                    1. Alphabetic
                                                                    2. +
                                                                    3. By Inheritance
                                                                    4. +
                                                                    +
                                                                    +
                                                                    + Inherited
                                                                    +
                                                                    +
                                                                      +
                                                                    1. IdenReductionOperator
                                                                    2. BasePrivacyAnonymizer
                                                                    3. DataFrameCheck
                                                                    4. BaseDataOperator
                                                                    5. BaseGenericOperator
                                                                    6. BaseGenericMutantOperator
                                                                    7. BaseDoer
                                                                    8. Logging
                                                                    9. Serializable
                                                                    10. Serializable
                                                                    11. AnyRef
                                                                    12. Any
                                                                    13. +
                                                                    +
                                                                    + +
                                                                      +
                                                                    1. Hide All
                                                                    2. +
                                                                    3. Show All
                                                                    4. +
                                                                    +
                                                                    +
                                                                    + Visibility +
                                                                    1. Public
                                                                    2. All
                                                                    +
                                                                    +
                                                                    + +
                                                                    +
                                                                    +
                                                                    +

                                                                    Instance Constructors

                                                                    +
                                                                    1. + + +

                                                                      + + + new + + + IdenReductionOperator(o: StreamOperatorInfo) + +

                                                                      + + Permalink + + + +
                                                                    +
                                                                    + + + + + +
                                                                    +

                                                                    Value Members

                                                                    +
                                                                    1. + + +

                                                                      + + final + def + + + !=(arg0: Any): Boolean + +

                                                                      + + Permalink + + +
                                                                      Definition Classes
                                                                      AnyRef → Any
                                                                      +
                                                                    2. + + +

                                                                      + + final + def + + + ##(): Int + +

                                                                      + + Permalink + + +
                                                                      Definition Classes
                                                                      AnyRef → Any
                                                                      +
                                                                    3. + + +

                                                                      + + final + def + + + ==(arg0: Any): Boolean + +

                                                                      + + Permalink + + +
                                                                      Definition Classes
                                                                      AnyRef → Any
                                                                      +
                                                                    4. + + +

                                                                      + + + def + + + anonymize(src: DataFrame): DataFrame + +

                                                                      + + Permalink + + +

                                                                      Anonymizes the src dataframe.

                                                                      Anonymizes the src dataframe. Since this method is only applicable +on the identifier column, there is no need to specify the columns to be anonymized. +

                                                                      src

                                                                      Dataframe to anonymize

                                                                      returns

                                                                      DataFrame Anonymized dataframe which replaces original column +with anonymized column

                                                                      +
                                                                    5. + + +

                                                                      + + + def + + + anonymize(src: DataFrame, columnNames: Array[String]): DataFrame + +

                                                                      + + Permalink + + +
                                                                      Definition Classes
                                                                      BasePrivacyAnonymizer
                                                                      +
                                                                    6. + + +

                                                                      + + + def + + + anonymize(src: DataFrame, columnName: String): DataFrame + +

                                                                      + + Permalink + + +

                                                                      Anonymizes the column specified in src dataframe +using generic 'Type' method.

                                                                      Anonymizes the column specified in src dataframe +using generic 'Type' method. The 'Type' is decided by +inherited object module. +

                                                                      src

                                                                      Dataframe to anonymize

                                                                      columnName

                                                                      Column to be anonymized

                                                                      returns

                                                                      DataFrame The dataframe which replaces original column +with anonymized column

                                                                      Definition Classes
                                                                      BasePrivacyAnonymizer
                                                                      +
                                                                    7. + + +

                                                                      + + + def + + + anonymizeColumn(src: DataFrame, columnName: String): DataFrame + +

                                                                      + + Permalink + + +

                                                                      Drops the identifier column or replaces it with randomized string +

                                                                      Drops the identifier column or replaces it with randomized string +

                                                                      src

                                                                      Dataframe to anonymize

                                                                      columnName

                                                                      Column to be anonymized

                                                                      returns

                                                                      DataFrame Anonymized dataframe

                                                                      Definition Classes
                                                                      IdenReductionOperatorBasePrivacyAnonymizer
                                                                      +
                                                                    8. + + +

                                                                      + + final + def + + + asInstanceOf[T0]: T0 + +

                                                                      + + Permalink + + +
                                                                      Definition Classes
                                                                      Any
                                                                      +
                                                                    9. + + +

                                                                      + + + def + + + clone(): AnyRef + +

                                                                      + + Permalink + + +
                                                                      Attributes
                                                                      protected[java.lang]
                                                                      Definition Classes
                                                                      AnyRef
                                                                      Annotations
                                                                      + @throws( + + ... + ) + +
                                                                      +
                                                                    10. + + +

                                                                      + + final + def + + + eq(arg0: AnyRef): Boolean + +

                                                                      + + Permalink + + +
                                                                      Definition Classes
                                                                      AnyRef
                                                                      +
                                                                    11. + + +

                                                                      + + + def + + + equals(arg0: Any): Boolean + +

                                                                      + + Permalink + + +
                                                                      Definition Classes
                                                                      AnyRef → Any
                                                                      +
                                                                    12. + + +

                                                                      + + + def + + + finalize(): Unit + +

                                                                      + + Permalink + + +
                                                                      Attributes
                                                                      protected[java.lang]
                                                                      Definition Classes
                                                                      AnyRef
                                                                      Annotations
                                                                      + @throws( + + classOf[java.lang.Throwable] + ) + +
                                                                      +
                                                                    13. + + +

                                                                      + + final + def + + + getClass(): Class[_] + +

                                                                      + + Permalink + + +
                                                                      Definition Classes
                                                                      AnyRef → Any
                                                                      +
                                                                    14. + + +

                                                                      + + + def + + + getColumnName(src: DataFrame, columnId: Int): String + +

                                                                      + + Permalink + + +

                                                                      Returns column name from src dataframe +specified by the column ID defined by protobuf.

                                                                      Returns column name from src dataframe +specified by the column ID defined by protobuf. +

                                                                      src

                                                                      dataframe to get names of columns.

                                                                      columnId

                                                                      column ID to anonymize.

                                                                      returns

                                                                      String.

                                                                      Definition Classes
                                                                      DataFrameCheck
                                                                      +
                                                                    15. + + +

                                                                      + + + def + + + getColumnNames(src: DataFrame, columnIDs: Array[Int]): Array[String] + +

                                                                      + + Permalink + + +

                                                                      Returns column names from src dataframe specified by column IDs.

                                                                      Returns column names from src dataframe specified by column IDs. +Note that the column with invalid IDs are ignored. +

                                                                      src

                                                                      dataframe to get names of columns.

                                                                      returns

                                                                      Array[String].

                                                                      Definition Classes
                                                                      DataFrameCheck
                                                                      +
                                                                    16. + + +

                                                                      + + + def + + + getQuasiColumnIDs(fieldInfos: Array[FieldInfo]): Array[Int] + +

                                                                      + + Permalink + + +
                                                                      Definition Classes
                                                                      DataFrameCheck
                                                                      +
                                                                    17. + + +

                                                                      + + + def + + + getSensColumnIDs(fieldInfos: Array[FieldInfo]): Array[Int] + +

                                                                      + + Permalink + + +
                                                                      Definition Classes
                                                                      DataFrameCheck
                                                                      +
                                                                    18. + + +

                                                                      + + + def + + + getValidColumnIDs(src: DataFrame, columnIDs: Array[Int]): Array[Int] + +

                                                                      + + Permalink + + +
                                                                      Definition Classes
                                                                      DataFrameCheck
                                                                      +
                                                                    19. + + +

                                                                      + + + def + + + hashCode(): Int + +

                                                                      + + Permalink + + +
                                                                      Definition Classes
                                                                      AnyRef → Any
                                                                      +
                                                                    20. + + +

                                                                      + + final + def + + + isInstanceOf[T0]: Boolean + +

                                                                      + + Permalink + + +
                                                                      Definition Classes
                                                                      Any
                                                                      +
                                                                    21. + + +

                                                                      + + + def + + + isValidColumnID(src: DataFrame, columnID: Int): Boolean + +

                                                                      + + Permalink + + +

                                                                      Checks the given column ID is valid.

                                                                      Checks the given column ID is valid. +

                                                                      src

                                                                      dataframe to get names of columns.

                                                                      returns

                                                                      Boolean.

                                                                      Definition Classes
                                                                      DataFrameCheck
                                                                      +
                                                                    22. + + +

                                                                      + + + def + + + isValidColumnName(src: DataFrame, columnName: String): Boolean + +

                                                                      + + Permalink + + +

                                                                      Checks the given column Name is valid.

                                                                      Checks the given column Name is valid. +

                                                                      src

                                                                      dataframe to get names of columns.

                                                                      columnName

                                                                      column Name.

                                                                      returns

                                                                      Boolean.

                                                                      Definition Classes
                                                                      DataFrameCheck
                                                                      +
                                                                    23. + + +

                                                                      + + + val + + + logger: Logger + +

                                                                      + + Permalink + + +
                                                                      Attributes
                                                                      protected
                                                                      Definition Classes
                                                                      Logging
                                                                      +
                                                                    24. + + +

                                                                      + + final + def + + + ne(arg0: AnyRef): Boolean + +

                                                                      + + Permalink + + +
                                                                      Definition Classes
                                                                      AnyRef
                                                                      +
                                                                    25. + + +

                                                                      + + final + def + + + notify(): Unit + +

                                                                      + + Permalink + + +
                                                                      Definition Classes
                                                                      AnyRef
                                                                      +
                                                                    26. + + +

                                                                      + + final + def + + + notifyAll(): Unit + +

                                                                      + + Permalink + + +
                                                                      Definition Classes
                                                                      AnyRef
                                                                      +
                                                                    27. + + +

                                                                      + + + def + + + operate(df: DataFrame): DataFrame + +

                                                                      + + Permalink + + +

                                                                      Operates iden reduction module for basic de-identification +

                                                                      Operates iden reduction module for basic de-identification +

                                                                      df

                                                                      Input dataframe

                                                                      returns

                                                                      DataFrame Anonymized dataframe

                                                                      Definition Classes
                                                                      IdenReductionOperator → BaseGenericOperator → BaseGenericMutantOperator
                                                                      +
                                                                    28. + + +

                                                                      + + + val + + + p: IdenReductionInfo + +

                                                                      + + Permalink + + + +
                                                                    29. + + +

                                                                      + + + val + + + privacy: PrivacyCheckInfo + +

                                                                      + + Permalink + + +
                                                                      Definition Classes
                                                                      BasePrivacyAnonymizer
                                                                      +
                                                                    30. + + +

                                                                      + + + def + + + stop: Unit + +

                                                                      + + Permalink + + +
                                                                      Definition Classes
                                                                      BaseGenericOperator → BaseGenericMutantOperator
                                                                      +
                                                                    31. + + +

                                                                      + + final + def + + + synchronized[T0](arg0: ⇒ T0): T0 + +

                                                                      + + Permalink + + +
                                                                      Definition Classes
                                                                      AnyRef
                                                                      +
                                                                    32. + + +

                                                                      + + + def + + + toString(): String + +

                                                                      + + Permalink + + +
                                                                      Definition Classes
                                                                      AnyRef → Any
                                                                      +
                                                                    33. + + +

                                                                      + + final + def + + + wait(): Unit + +

                                                                      + + Permalink + + +
                                                                      Definition Classes
                                                                      AnyRef
                                                                      Annotations
                                                                      + @throws( + + ... + ) + +
                                                                      +
                                                                    34. + + +

                                                                      + + final + def + + + wait(arg0: Long, arg1: Int): Unit + +

                                                                      + + Permalink + + +
                                                                      Definition Classes
                                                                      AnyRef
                                                                      Annotations
                                                                      + @throws( + + ... + ) + +
                                                                      +
                                                                    35. + + +

                                                                      + + final + def + + + wait(arg0: Long): Unit + +

                                                                      + + Permalink + + +
                                                                      Definition Classes
                                                                      AnyRef
                                                                      Annotations
                                                                      + @throws( + + ... + ) + +
                                                                      +
                                                                    +
                                                                    + + + + +
                                                                    + +
                                                                    +
                                                                    +

                                                                    Inherited from BasePrivacyAnonymizer

                                                                    +
                                                                    +

                                                                    Inherited from DataFrameCheck

                                                                    +
                                                                    +

                                                                    Inherited from BaseDataOperator[StreamOperatorInfo, DataFrame]

                                                                    +
                                                                    +

                                                                    Inherited from BaseGenericOperator[StreamOperatorInfo, DataFrame]

                                                                    +
                                                                    +

                                                                    Inherited from BaseGenericMutantOperator[StreamOperatorInfo, DataFrame, DataFrame]

                                                                    +
                                                                    +

                                                                    Inherited from BaseDoer

                                                                    +
                                                                    +

                                                                    Inherited from Logging

                                                                    +
                                                                    +

                                                                    Inherited from Serializable

                                                                    +
                                                                    +

                                                                    Inherited from Serializable

                                                                    +
                                                                    +

                                                                    Inherited from AnyRef

                                                                    +
                                                                    +

                                                                    Inherited from Any

                                                                    +
                                                                    + +
                                                                    + +
                                                                    +
                                                                    +

                                                                    Ungrouped

                                                                    + +
                                                                    +
                                                                    + +
                                                                    + +
                                                                    + + + + + + diff --git a/manual1903/api_reference/didentification/scaladocs/ksb/csle/didentification/privacy/PartialAggregateOperator$.html b/manual1903/api_reference/didentification/scaladocs/ksb/csle/didentification/privacy/PartialAggregateOperator$.html new file mode 100644 index 0000000000000000000000000000000000000000..bd3313aa5c34afd6b955a3df5f0560e1d4d591d7 --- /dev/null +++ b/manual1903/api_reference/didentification/scaladocs/ksb/csle/didentification/privacy/PartialAggregateOperator$.html @@ -0,0 +1,505 @@ + + + + PartialAggregateOperator - KSB DEIDENTIFICATION Scala App Project 1.0-SNAPSHOT API - ksb.csle.didentification.privacy.PartialAggregateOperator + + + + + + + + + + + + + + + + + +

                                                                    + + + object + + + PartialAggregateOperator extends Serializable + +

                                                                    + +
                                                                    + Linear Supertypes +
                                                                    Serializable, Serializable, AnyRef, Any
                                                                    +
                                                                    + + +
                                                                    +
                                                                    +
                                                                    + Ordering +
                                                                      + +
                                                                    1. Alphabetic
                                                                    2. +
                                                                    3. By Inheritance
                                                                    4. +
                                                                    +
                                                                    +
                                                                    + Inherited
                                                                    +
                                                                    +
                                                                      +
                                                                    1. PartialAggregateOperator
                                                                    2. Serializable
                                                                    3. Serializable
                                                                    4. AnyRef
                                                                    5. Any
                                                                    6. +
                                                                    +
                                                                    + +
                                                                      +
                                                                    1. Hide All
                                                                    2. +
                                                                    3. Show All
                                                                    4. +
                                                                    +
                                                                    +
                                                                    + Visibility +
                                                                    1. Public
                                                                    2. All
                                                                    +
                                                                    +
                                                                    + +
                                                                    +
                                                                    + + + + + + +
                                                                    +

                                                                    Value Members

                                                                    +
                                                                    1. + + +

                                                                      + + final + def + + + !=(arg0: Any): Boolean + +

                                                                      + + Permalink + + +
                                                                      Definition Classes
                                                                      AnyRef → Any
                                                                      +
                                                                    2. + + +

                                                                      + + final + def + + + ##(): Int + +

                                                                      + + Permalink + + +
                                                                      Definition Classes
                                                                      AnyRef → Any
                                                                      +
                                                                    3. + + +

                                                                      + + final + def + + + ==(arg0: Any): Boolean + +

                                                                      + + Permalink + + +
                                                                      Definition Classes
                                                                      AnyRef → Any
                                                                      +
                                                                    4. + + +

                                                                      + + + def + + + apply(o: StreamOperatorInfo): PartialAggregateOperator + +

                                                                      + + Permalink + + + +
                                                                    5. + + +

                                                                      + + final + def + + + asInstanceOf[T0]: T0 + +

                                                                      + + Permalink + + +
                                                                      Definition Classes
                                                                      Any
                                                                      +
                                                                    6. + + +

                                                                      + + + def + + + clone(): AnyRef + +

                                                                      + + Permalink + + +
                                                                      Attributes
                                                                      protected[java.lang]
                                                                      Definition Classes
                                                                      AnyRef
                                                                      Annotations
                                                                      + @throws( + + ... + ) + +
                                                                      +
                                                                    7. + + +

                                                                      + + final + def + + + eq(arg0: AnyRef): Boolean + +

                                                                      + + Permalink + + +
                                                                      Definition Classes
                                                                      AnyRef
                                                                      +
                                                                    8. + + +

                                                                      + + + def + + + equals(arg0: Any): Boolean + +

                                                                      + + Permalink + + +
                                                                      Definition Classes
                                                                      AnyRef → Any
                                                                      +
                                                                    9. + + +

                                                                      + + + def + + + finalize(): Unit + +

                                                                      + + Permalink + + +
                                                                      Attributes
                                                                      protected[java.lang]
                                                                      Definition Classes
                                                                      AnyRef
                                                                      Annotations
                                                                      + @throws( + + classOf[java.lang.Throwable] + ) + +
                                                                      +
                                                                    10. + + +

                                                                      + + final + def + + + getClass(): Class[_] + +

                                                                      + + Permalink + + +
                                                                      Definition Classes
                                                                      AnyRef → Any
                                                                      +
                                                                    11. + + +

                                                                      + + + def + + + hashCode(): Int + +

                                                                      + + Permalink + + +
                                                                      Definition Classes
                                                                      AnyRef → Any
                                                                      +
                                                                    12. + + +

                                                                      + + final + def + + + isInstanceOf[T0]: Boolean + +

                                                                      + + Permalink + + +
                                                                      Definition Classes
                                                                      Any
                                                                      +
                                                                    13. + + +

                                                                      + + final + def + + + ne(arg0: AnyRef): Boolean + +

                                                                      + + Permalink + + +
                                                                      Definition Classes
                                                                      AnyRef
                                                                      +
                                                                    14. + + +

                                                                      + + final + def + + + notify(): Unit + +

                                                                      + + Permalink + + +
                                                                      Definition Classes
                                                                      AnyRef
                                                                      +
                                                                    15. + + +

                                                                      + + final + def + + + notifyAll(): Unit + +

                                                                      + + Permalink + + +
                                                                      Definition Classes
                                                                      AnyRef
                                                                      +
                                                                    16. + + +

                                                                      + + final + def + + + synchronized[T0](arg0: ⇒ T0): T0 + +

                                                                      + + Permalink + + +
                                                                      Definition Classes
                                                                      AnyRef
                                                                      +
                                                                    17. + + +

                                                                      + + + def + + + toString(): String + +

                                                                      + + Permalink + + +
                                                                      Definition Classes
                                                                      AnyRef → Any
                                                                      +
                                                                    18. + + +

                                                                      + + final + def + + + wait(): Unit + +

                                                                      + + Permalink + + +
                                                                      Definition Classes
                                                                      AnyRef
                                                                      Annotations
                                                                      + @throws( + + ... + ) + +
                                                                      +
                                                                    19. + + +

                                                                      + + final + def + + + wait(arg0: Long, arg1: Int): Unit + +

                                                                      + + Permalink + + +
                                                                      Definition Classes
                                                                      AnyRef
                                                                      Annotations
                                                                      + @throws( + + ... + ) + +
                                                                      +
                                                                    20. + + +

                                                                      + + final + def + + + wait(arg0: Long): Unit + +

                                                                      + + Permalink + + +
                                                                      Definition Classes
                                                                      AnyRef
                                                                      Annotations
                                                                      + @throws( + + ... + ) + +
                                                                      +
                                                                    +
                                                                    + + + + +
                                                                    + +
                                                                    +
                                                                    +

                                                                    Inherited from Serializable

                                                                    +
                                                                    +

                                                                    Inherited from Serializable

                                                                    +
                                                                    +

                                                                    Inherited from AnyRef

                                                                    +
                                                                    +

                                                                    Inherited from Any

                                                                    +
                                                                    + +
                                                                    + +
                                                                    +
                                                                    +

                                                                    Ungrouped

                                                                    + +
                                                                    +
                                                                    + +
                                                                    + +
                                                                    + + + + + + diff --git a/manual1903/api_reference/didentification/scaladocs/ksb/csle/didentification/privacy/PartialAggregateOperator.html b/manual1903/api_reference/didentification/scaladocs/ksb/csle/didentification/privacy/PartialAggregateOperator.html new file mode 100644 index 0000000000000000000000000000000000000000..cdd0e7f705d8ebc0596196ffe6bafce0ee71c09e --- /dev/null +++ b/manual1903/api_reference/didentification/scaladocs/ksb/csle/didentification/privacy/PartialAggregateOperator.html @@ -0,0 +1,858 @@ + + + + PartialAggregateOperator - KSB DEIDENTIFICATION Scala App Project 1.0-SNAPSHOT API - ksb.csle.didentification.privacy.PartialAggregateOperator + + + + + + + + + + + + + + + + + +

                                                                    + + + class + + + PartialAggregateOperator extends BasePrivacyAnonymizer + +

                                                                    + +

                                                                    :: ApplicationDeveloperApi ::

                                                                    Operator that implements the partial aggregation module in the +Aggregation algorithm. It discriminates outliers (currently, +boxplot, z-score methods are supported) and then only replaces +them with statistic information (e.x., min, max, avg, std, and count). +

                                                                    + Linear Supertypes +
                                                                    BasePrivacyAnonymizer, DataFrameCheck, BaseDataOperator[StreamOperatorInfo, DataFrame], BaseGenericOperator[StreamOperatorInfo, DataFrame], BaseGenericMutantOperator[StreamOperatorInfo, DataFrame, DataFrame], BaseDoer, Logging, Serializable, Serializable, AnyRef, Any
                                                                    +
                                                                    + + +
                                                                    +
                                                                    +
                                                                    + Ordering +
                                                                      + +
                                                                    1. Alphabetic
                                                                    2. +
                                                                    3. By Inheritance
                                                                    4. +
                                                                    +
                                                                    +
                                                                    + Inherited
                                                                    +
                                                                    +
                                                                      +
                                                                    1. PartialAggregateOperator
                                                                    2. BasePrivacyAnonymizer
                                                                    3. DataFrameCheck
                                                                    4. BaseDataOperator
                                                                    5. BaseGenericOperator
                                                                    6. BaseGenericMutantOperator
                                                                    7. BaseDoer
                                                                    8. Logging
                                                                    9. Serializable
                                                                    10. Serializable
                                                                    11. AnyRef
                                                                    12. Any
                                                                    13. +
                                                                    +
                                                                    + +
                                                                      +
                                                                    1. Hide All
                                                                    2. +
                                                                    3. Show All
                                                                    4. +
                                                                    +
                                                                    +
                                                                    + Visibility +
                                                                    1. Public
                                                                    2. All
                                                                    +
                                                                    +
                                                                    + +
                                                                    +
                                                                    +
                                                                    +

                                                                    Instance Constructors

                                                                    +
                                                                    1. + + +

                                                                      + + + new + + + PartialAggregateOperator(o: StreamOperatorInfo) + +

                                                                      + + Permalink + + +

                                                                      o

                                                                      Object that contains message + ksb.csle.common.proto.StreamDidentProto.PartialAggrInfo + PartialAggrInfo contains attributes as follows:

                                                                      • selectedColumnId: Column ID to apply the partial-aggregation function
                                                                      • method: the method to aggregate the given columns
                                                                      • outlierMethod: the method to discriminate the outlier
                                                                      • fieldInfo: the info about column attributes (identifier, sensitive, ..)
                                                                      • check: the method how to verify the performance of anonymized data

                                                                      PartialAggrInfo

                                                                      enum AggregationMethod {
                                                                      +  MIN = 0;
                                                                      +  AVG = 1;
                                                                      +  MAX = 2;
                                                                      +  STD = 3;
                                                                      +  COUNT = 4;
                                                                      +  MANUAL = 5;
                                                                      +}
                                                                      +enum OutlierMethod {
                                                                      +  ZSCORE = 0;
                                                                      +  BOXPLOT = 1;
                                                                      +}
                                                                      +message PartialAggrInfo {
                                                                      +  repeated int32 selectedColumnId = 1;
                                                                      +  required AggregationMethod method = 2 [default = AVG];
                                                                      +  required OutlierMethod outlierMethod = 3 [default = ZSCORE];
                                                                      +  repeated FieldInfo fieldInfo = 4;
                                                                      +  optional PrivacyCheckInfo check = 5;
                                                                      +}
                                                                      +
                                                                    +
                                                                    + + + + + +
                                                                    +

                                                                    Value Members

                                                                    +
                                                                    1. + + +

                                                                      + + final + def + + + !=(arg0: Any): Boolean + +

                                                                      + + Permalink + + +
                                                                      Definition Classes
                                                                      AnyRef → Any
                                                                      +
                                                                    2. + + +

                                                                      + + final + def + + + ##(): Int + +

                                                                      + + Permalink + + +
                                                                      Definition Classes
                                                                      AnyRef → Any
                                                                      +
                                                                    3. + + +

                                                                      + + final + def + + + ==(arg0: Any): Boolean + +

                                                                      + + Permalink + + +
                                                                      Definition Classes
                                                                      AnyRef → Any
                                                                      +
                                                                    4. + + +

                                                                      + + + def + + + anonymize(src: DataFrame, columnNames: Array[String]): DataFrame + +

                                                                      + + Permalink + + +
                                                                      Definition Classes
                                                                      BasePrivacyAnonymizer
                                                                      +
                                                                    5. + + +

                                                                      + + + def + + + anonymize(src: DataFrame, columnName: String): DataFrame + +

                                                                      + + Permalink + + +

                                                                      Anonymizes the column specified in src dataframe +using generic 'Type' method.

                                                                      Anonymizes the column specified in src dataframe +using generic 'Type' method. The 'Type' is decided by +inherited object module. +

                                                                      src

                                                                      Dataframe to anonymize

                                                                      columnName

                                                                      Column to be anonymized

                                                                      returns

                                                                      DataFrame The dataframe which replaces original column +with anonymized column

                                                                      Definition Classes
                                                                      BasePrivacyAnonymizer
                                                                      +
                                                                    6. + + +

                                                                      + + + def + + + anonymizeColumn(src: DataFrame, columnName: String): DataFrame + +

                                                                      + + Permalink + + +

                                                                      Discriminates outliers among the records in the column of src dataframe +and then replaces them with stat.

                                                                      Discriminates outliers among the records in the column of src dataframe +and then replaces them with stat. info. +

                                                                      src

                                                                      Dataframe to encrypt

                                                                      columnName

                                                                      Column to be encrypted

                                                                      returns

                                                                      DataFrame Anonymized dataframe

                                                                      Definition Classes
                                                                      PartialAggregateOperatorBasePrivacyAnonymizer
                                                                      +
                                                                    7. + + +

                                                                      + + + def + + + anonymizeNumericColumn(src: DataFrame, columnName: String, aggrType: AggregationMethod, outlierType: OutlierMethod): DataFrame + +

                                                                      + + Permalink + + +

                                                                      Discriminates outliers in a column containing numerical data +and then only replaces them with stat.

                                                                      Discriminates outliers in a column containing numerical data +and then only replaces them with stat. info. +

                                                                      src

                                                                      Dataframe to encrypt

                                                                      columnName

                                                                      Column to be encrypted

                                                                      aggrType

                                                                      Methods of statistic, e.x., min, max, avg, std, and count

                                                                      outlierType

                                                                      outlier method such as z-score and boxplot

                                                                      returns

                                                                      DataFrame Anonymized dataframe

                                                                      +
                                                                    8. + + +

                                                                      + + + def + + + anonymizeStringColumn(src: DataFrame, columnName: String, outlierType: OutlierMethod): DataFrame + +

                                                                      + + Permalink + + +

                                                                      Discriminates outliers in a column containing text data +and then replaces them with the string with maximum frequency.

                                                                      Discriminates outliers in a column containing text data +and then replaces them with the string with maximum frequency. +

                                                                      src

                                                                      Dataframe to encrypt

                                                                      columnName

                                                                      Column to be encrypted

                                                                      outlierType

                                                                      outlier method such as z-score and boxplot

                                                                      returns

                                                                      DataFrame Anonymized dataframe

                                                                      +
                                                                    9. + + +

                                                                      + + final + def + + + asInstanceOf[T0]: T0 + +

                                                                      + + Permalink + + +
                                                                      Definition Classes
                                                                      Any
                                                                      +
                                                                    10. + + +

                                                                      + + + def + + + clone(): AnyRef + +

                                                                      + + Permalink + + +
                                                                      Attributes
                                                                      protected[java.lang]
                                                                      Definition Classes
                                                                      AnyRef
                                                                      Annotations
                                                                      + @throws( + + ... + ) + +
                                                                      +
                                                                    11. + + +

                                                                      + + final + def + + + eq(arg0: AnyRef): Boolean + +

                                                                      + + Permalink + + +
                                                                      Definition Classes
                                                                      AnyRef
                                                                      +
                                                                    12. + + +

                                                                      + + + def + + + equals(arg0: Any): Boolean + +

                                                                      + + Permalink + + +
                                                                      Definition Classes
                                                                      AnyRef → Any
                                                                      +
                                                                    13. + + +

                                                                      + + + def + + + finalize(): Unit + +

                                                                      + + Permalink + + +
                                                                      Attributes
                                                                      protected[java.lang]
                                                                      Definition Classes
                                                                      AnyRef
                                                                      Annotations
                                                                      + @throws( + + classOf[java.lang.Throwable] + ) + +
                                                                      +
                                                                    14. + + +

                                                                      + + final + def + + + getClass(): Class[_] + +

                                                                      + + Permalink + + +
                                                                      Definition Classes
                                                                      AnyRef → Any
                                                                      +
                                                                    15. + + +

                                                                      + + + def + + + getColumnName(src: DataFrame, columnId: Int): String + +

                                                                      + + Permalink + + +

                                                                      Returns column name from src dataframe +specified by the column ID defined by protobuf.

                                                                      Returns column name from src dataframe +specified by the column ID defined by protobuf. +

                                                                      src

                                                                      dataframe to get names of columns.

                                                                      columnId

                                                                      column ID to anonymize.

                                                                      returns

                                                                      String.

                                                                      Definition Classes
                                                                      DataFrameCheck
                                                                      +
                                                                    16. + + +

                                                                      + + + def + + + getColumnNames(src: DataFrame, columnIDs: Array[Int]): Array[String] + +

                                                                      + + Permalink + + +

                                                                      Returns column names from src dataframe specified by column IDs.

                                                                      Returns column names from src dataframe specified by column IDs. +Note that the column with invalid IDs are ignored. +

                                                                      src

                                                                      dataframe to get names of columns.

                                                                      returns

                                                                      Array[String].

                                                                      Definition Classes
                                                                      DataFrameCheck
                                                                      +
                                                                    17. + + +

                                                                      + + + def + + + getQuasiColumnIDs(fieldInfos: Array[FieldInfo]): Array[Int] + +

                                                                      + + Permalink + + +
                                                                      Definition Classes
                                                                      DataFrameCheck
                                                                      +
                                                                    18. + + +

                                                                      + + + def + + + getSensColumnIDs(fieldInfos: Array[FieldInfo]): Array[Int] + +

                                                                      + + Permalink + + +
                                                                      Definition Classes
                                                                      DataFrameCheck
                                                                      +
                                                                    19. + + +

                                                                      + + + def + + + getValidColumnIDs(src: DataFrame, columnIDs: Array[Int]): Array[Int] + +

                                                                      + + Permalink + + +
                                                                      Definition Classes
                                                                      DataFrameCheck
                                                                      +
                                                                    20. + + +

                                                                      + + + def + + + hashCode(): Int + +

                                                                      + + Permalink + + +
                                                                      Definition Classes
                                                                      AnyRef → Any
                                                                      +
                                                                    21. + + +

                                                                      + + final + def + + + isInstanceOf[T0]: Boolean + +

                                                                      + + Permalink + + +
                                                                      Definition Classes
                                                                      Any
                                                                      +
                                                                    22. + + +

                                                                      + + + def + + + isValidColumnID(src: DataFrame, columnID: Int): Boolean + +

                                                                      + + Permalink + + +

                                                                      Checks the given column ID is valid.

                                                                      Checks the given column ID is valid. +

                                                                      src

                                                                      dataframe to get names of columns.

                                                                      returns

                                                                      Boolean.

                                                                      Definition Classes
                                                                      DataFrameCheck
                                                                      +
                                                                    23. + + +

                                                                      + + + def + + + isValidColumnName(src: DataFrame, columnName: String): Boolean + +

                                                                      + + Permalink + + +

                                                                      Checks the given column Name is valid.

                                                                      Checks the given column Name is valid. +

                                                                      src

                                                                      dataframe to get names of columns.

                                                                      columnName

                                                                      column Name.

                                                                      returns

                                                                      Boolean.

                                                                      Definition Classes
                                                                      DataFrameCheck
                                                                      +
                                                                    24. + + +

                                                                      + + + val + + + logger: Logger + +

                                                                      + + Permalink + + +
                                                                      Attributes
                                                                      protected
                                                                      Definition Classes
                                                                      Logging
                                                                      +
                                                                    25. + + +

                                                                      + + final + def + + + ne(arg0: AnyRef): Boolean + +

                                                                      + + Permalink + + +
                                                                      Definition Classes
                                                                      AnyRef
                                                                      +
                                                                    26. + + +

                                                                      + + final + def + + + notify(): Unit + +

                                                                      + + Permalink + + +
                                                                      Definition Classes
                                                                      AnyRef
                                                                      +
                                                                    27. + + +

                                                                      + + final + def + + + notifyAll(): Unit + +

                                                                      + + Permalink + + +
                                                                      Definition Classes
                                                                      AnyRef
                                                                      +
                                                                    28. + + +

                                                                      + + + def + + + operate(df: DataFrame): DataFrame + +

                                                                      + + Permalink + + +

                                                                      Operates partial aggregation module for basic de-identification +

                                                                      Operates partial aggregation module for basic de-identification +

                                                                      df

                                                                      Input dataframe

                                                                      returns

                                                                      DataFrame Anonymized dataframe

                                                                      Definition Classes
                                                                      PartialAggregateOperator → BaseGenericOperator → BaseGenericMutantOperator
                                                                      +
                                                                    29. + + +

                                                                      + + + val + + + p: PartialAggrInfo + +

                                                                      + + Permalink + + + +
                                                                    30. + + +

                                                                      + + + val + + + privacy: PrivacyCheckInfo + +

                                                                      + + Permalink + + +
                                                                      Definition Classes
                                                                      BasePrivacyAnonymizer
                                                                      +
                                                                    31. + + +

                                                                      + + + def + + + stop: Unit + +

                                                                      + + Permalink + + +
                                                                      Definition Classes
                                                                      BaseGenericOperator → BaseGenericMutantOperator
                                                                      +
                                                                    32. + + +

                                                                      + + final + def + + + synchronized[T0](arg0: ⇒ T0): T0 + +

                                                                      + + Permalink + + +
                                                                      Definition Classes
                                                                      AnyRef
                                                                      +
                                                                    33. + + +

                                                                      + + + def + + + toString(): String + +

                                                                      + + Permalink + + +
                                                                      Definition Classes
                                                                      AnyRef → Any
                                                                      +
                                                                    34. + + +

                                                                      + + final + def + + + wait(): Unit + +

                                                                      + + Permalink + + +
                                                                      Definition Classes
                                                                      AnyRef
                                                                      Annotations
                                                                      + @throws( + + ... + ) + +
                                                                      +
                                                                    35. + + +

                                                                      + + final + def + + + wait(arg0: Long, arg1: Int): Unit + +

                                                                      + + Permalink + + +
                                                                      Definition Classes
                                                                      AnyRef
                                                                      Annotations
                                                                      + @throws( + + ... + ) + +
                                                                      +
                                                                    36. + + +

                                                                      + + final + def + + + wait(arg0: Long): Unit + +

                                                                      + + Permalink + + +
                                                                      Definition Classes
                                                                      AnyRef
                                                                      Annotations
                                                                      + @throws( + + ... + ) + +
                                                                      +
                                                                    +
                                                                    + + + + +
                                                                    + +
                                                                    +
                                                                    +

                                                                    Inherited from BasePrivacyAnonymizer

                                                                    +
                                                                    +

                                                                    Inherited from DataFrameCheck

                                                                    +
                                                                    +

                                                                    Inherited from BaseDataOperator[StreamOperatorInfo, DataFrame]

                                                                    +
                                                                    +

                                                                    Inherited from BaseGenericOperator[StreamOperatorInfo, DataFrame]

                                                                    +
                                                                    +

                                                                    Inherited from BaseGenericMutantOperator[StreamOperatorInfo, DataFrame, DataFrame]

                                                                    +
                                                                    +

                                                                    Inherited from BaseDoer

                                                                    +
                                                                    +

                                                                    Inherited from Logging

                                                                    +
                                                                    +

                                                                    Inherited from Serializable

                                                                    +
                                                                    +

                                                                    Inherited from Serializable

                                                                    +
                                                                    +

                                                                    Inherited from AnyRef

                                                                    +
                                                                    +

                                                                    Inherited from Any

                                                                    +
                                                                    + +
                                                                    + +
                                                                    +
                                                                    +

                                                                    Ungrouped

                                                                    + +
                                                                    +
                                                                    + +
                                                                    + +
                                                                    + + + + + + diff --git a/manual1903/api_reference/didentification/scaladocs/ksb/csle/didentification/privacy/PartialIdenReductionOperator$.html b/manual1903/api_reference/didentification/scaladocs/ksb/csle/didentification/privacy/PartialIdenReductionOperator$.html new file mode 100644 index 0000000000000000000000000000000000000000..bf9da3c8dabd1f5df54e3330cec3d543a239e1c4 --- /dev/null +++ b/manual1903/api_reference/didentification/scaladocs/ksb/csle/didentification/privacy/PartialIdenReductionOperator$.html @@ -0,0 +1,505 @@ + + + + PartialIdenReductionOperator - KSB DEIDENTIFICATION Scala App Project 1.0-SNAPSHOT API - ksb.csle.didentification.privacy.PartialIdenReductionOperator + + + + + + + + + + + + + + + + + +

                                                                    + + + object + + + PartialIdenReductionOperator extends Serializable + +

                                                                    + +
                                                                    + Linear Supertypes +
                                                                    Serializable, Serializable, AnyRef, Any
                                                                    +
                                                                    + + +
                                                                    +
                                                                    +
                                                                    + Ordering +
                                                                      + +
                                                                    1. Alphabetic
                                                                    2. +
                                                                    3. By Inheritance
                                                                    4. +
                                                                    +
                                                                    +
                                                                    + Inherited
                                                                    +
                                                                    +
                                                                      +
                                                                    1. PartialIdenReductionOperator
                                                                    2. Serializable
                                                                    3. Serializable
                                                                    4. AnyRef
                                                                    5. Any
                                                                    6. +
                                                                    +
                                                                    + +
                                                                      +
                                                                    1. Hide All
                                                                    2. +
                                                                    3. Show All
                                                                    4. +
                                                                    +
                                                                    +
                                                                    + Visibility +
                                                                    1. Public
                                                                    2. All
                                                                    +
                                                                    +
                                                                    + +
                                                                    +
                                                                    + + + + + + +
                                                                    +

                                                                    Value Members

                                                                    +
                                                                    1. + + +

                                                                      + + final + def + + + !=(arg0: Any): Boolean + +

                                                                      + + Permalink + + +
                                                                      Definition Classes
                                                                      AnyRef → Any
                                                                      +
                                                                    2. + + +

                                                                      + + final + def + + + ##(): Int + +

                                                                      + + Permalink + + +
                                                                      Definition Classes
                                                                      AnyRef → Any
                                                                      +
                                                                    3. + + +

                                                                      + + final + def + + + ==(arg0: Any): Boolean + +

                                                                      + + Permalink + + +
                                                                      Definition Classes
                                                                      AnyRef → Any
                                                                      +
                                                                    4. + + +

                                                                      + + + def + + + apply(o: StreamOperatorInfo): PartialIdenReductionOperator + +

                                                                      + + Permalink + + + +
                                                                    5. + + +

                                                                      + + final + def + + + asInstanceOf[T0]: T0 + +

                                                                      + + Permalink + + +
                                                                      Definition Classes
                                                                      Any
                                                                      +
                                                                    6. + + +

                                                                      + + + def + + + clone(): AnyRef + +

                                                                      + + Permalink + + +
                                                                      Attributes
                                                                      protected[java.lang]
                                                                      Definition Classes
                                                                      AnyRef
                                                                      Annotations
                                                                      + @throws( + + ... + ) + +
                                                                      +
                                                                    7. + + +

                                                                      + + final + def + + + eq(arg0: AnyRef): Boolean + +

                                                                      + + Permalink + + +
                                                                      Definition Classes
                                                                      AnyRef
                                                                      +
                                                                    8. + + +

                                                                      + + + def + + + equals(arg0: Any): Boolean + +

                                                                      + + Permalink + + +
                                                                      Definition Classes
                                                                      AnyRef → Any
                                                                      +
                                                                    9. + + +

                                                                      + + + def + + + finalize(): Unit + +

                                                                      + + Permalink + + +
                                                                      Attributes
                                                                      protected[java.lang]
                                                                      Definition Classes
                                                                      AnyRef
                                                                      Annotations
                                                                      + @throws( + + classOf[java.lang.Throwable] + ) + +
                                                                      +
                                                                    10. + + +

                                                                      + + final + def + + + getClass(): Class[_] + +

                                                                      + + Permalink + + +
                                                                      Definition Classes
                                                                      AnyRef → Any
                                                                      +
                                                                    11. + + +

                                                                      + + + def + + + hashCode(): Int + +

                                                                      + + Permalink + + +
                                                                      Definition Classes
                                                                      AnyRef → Any
                                                                      +
                                                                    12. + + +

                                                                      + + final + def + + + isInstanceOf[T0]: Boolean + +

                                                                      + + Permalink + + +
                                                                      Definition Classes
                                                                      Any
                                                                      +
                                                                    13. + + +

                                                                      + + final + def + + + ne(arg0: AnyRef): Boolean + +

                                                                      + + Permalink + + +
                                                                      Definition Classes
                                                                      AnyRef
                                                                      +
                                                                    14. + + +

                                                                      + + final + def + + + notify(): Unit + +

                                                                      + + Permalink + + +
                                                                      Definition Classes
                                                                      AnyRef
                                                                      +
                                                                    15. + + +

                                                                      + + final + def + + + notifyAll(): Unit + +

                                                                      + + Permalink + + +
                                                                      Definition Classes
                                                                      AnyRef
                                                                      +
                                                                    16. + + +

                                                                      + + final + def + + + synchronized[T0](arg0: ⇒ T0): T0 + +

                                                                      + + Permalink + + +
                                                                      Definition Classes
                                                                      AnyRef
                                                                      +
                                                                    17. + + +

                                                                      + + + def + + + toString(): String + +

                                                                      + + Permalink + + +
                                                                      Definition Classes
                                                                      AnyRef → Any
                                                                      +
                                                                    18. + + +

                                                                      + + final + def + + + wait(): Unit + +

                                                                      + + Permalink + + +
                                                                      Definition Classes
                                                                      AnyRef
                                                                      Annotations
                                                                      + @throws( + + ... + ) + +
                                                                      +
                                                                    19. + + +

                                                                      + + final + def + + + wait(arg0: Long, arg1: Int): Unit + +

                                                                      + + Permalink + + +
                                                                      Definition Classes
                                                                      AnyRef
                                                                      Annotations
                                                                      + @throws( + + ... + ) + +
                                                                      +
                                                                    20. + + +

                                                                      + + final + def + + + wait(arg0: Long): Unit + +

                                                                      + + Permalink + + +
                                                                      Definition Classes
                                                                      AnyRef
                                                                      Annotations
                                                                      + @throws( + + ... + ) + +
                                                                      +
                                                                    +
                                                                    + + + + +
                                                                    + +
                                                                    +
                                                                    +

                                                                    Inherited from Serializable

                                                                    +
                                                                    +

                                                                    Inherited from Serializable

                                                                    +
                                                                    +

                                                                    Inherited from AnyRef

                                                                    +
                                                                    +

                                                                    Inherited from Any

                                                                    +
                                                                    + +
                                                                    + +
                                                                    +
                                                                    +

                                                                    Ungrouped

                                                                    + +
                                                                    +
                                                                    + +
                                                                    + +
                                                                    + + + + + + diff --git a/manual1903/api_reference/didentification/scaladocs/ksb/csle/didentification/privacy/PartialIdenReductionOperator.html b/manual1903/api_reference/didentification/scaladocs/ksb/csle/didentification/privacy/PartialIdenReductionOperator.html new file mode 100644 index 0000000000000000000000000000000000000000..23e36840a493980b6ecc0c3fa3ed742f84125eae --- /dev/null +++ b/manual1903/api_reference/didentification/scaladocs/ksb/csle/didentification/privacy/PartialIdenReductionOperator.html @@ -0,0 +1,835 @@ + + + + PartialIdenReductionOperator - KSB DEIDENTIFICATION Scala App Project 1.0-SNAPSHOT API - ksb.csle.didentification.privacy.PartialIdenReductionOperator + + + + + + + + + + + + + + + + + +

                                                                    + + + class + + + PartialIdenReductionOperator extends BasePrivacyAnonymizer + +

                                                                    + +

                                                                    :: ApplicationDeveloperApi ::

                                                                    Operator that implements the identity partial reduction module in the +Data Reduction algorithm, which replace the some parts of the value with "*". +

                                                                    + Linear Supertypes +
                                                                    BasePrivacyAnonymizer, DataFrameCheck, BaseDataOperator[StreamOperatorInfo, DataFrame], BaseGenericOperator[StreamOperatorInfo, DataFrame], BaseGenericMutantOperator[StreamOperatorInfo, DataFrame, DataFrame], BaseDoer, Logging, Serializable, Serializable, AnyRef, Any
                                                                    +
                                                                    + + +
                                                                    +
                                                                    +
                                                                    + Ordering +
                                                                      + +
                                                                    1. Alphabetic
                                                                    2. +
                                                                    3. By Inheritance
                                                                    4. +
                                                                    +
                                                                    +
                                                                    + Inherited
                                                                    +
                                                                    +
                                                                      +
                                                                    1. PartialIdenReductionOperator
                                                                    2. BasePrivacyAnonymizer
                                                                    3. DataFrameCheck
                                                                    4. BaseDataOperator
                                                                    5. BaseGenericOperator
                                                                    6. BaseGenericMutantOperator
                                                                    7. BaseDoer
                                                                    8. Logging
                                                                    9. Serializable
                                                                    10. Serializable
                                                                    11. AnyRef
                                                                    12. Any
                                                                    13. +
                                                                    +
                                                                    + +
                                                                      +
                                                                    1. Hide All
                                                                    2. +
                                                                    3. Show All
                                                                    4. +
                                                                    +
                                                                    +
                                                                    + Visibility +
                                                                    1. Public
                                                                    2. All
                                                                    +
                                                                    +
                                                                    + +
                                                                    +
                                                                    +
                                                                    +

                                                                    Instance Constructors

                                                                    +
                                                                    1. + + +

                                                                      + + + new + + + PartialIdenReductionOperator(o: StreamOperatorInfo) + +

                                                                      + + Permalink + + +

                                                                      o

                                                                      Object that contains message + ksb.csle.common.proto.StreamDidentProto.IdenPartialReductionInfo + IdenPartialReductionInfo contains attributes as follows:

                                                                      • method: not used currently.
                                                                      • generalizedColumnInfo: the configuration about the generalization step
                                                                      • columnHandlePolicy: consider the given columns all together, or individually.
                                                                      • fieldInfo: the info about column attributes (identifier, sensitive, ..)
                                                                      • check: the method how to verify the performance of anonymized data

                                                                      IdenPartialReductionInfo

                                                                      enum ReductionMethod {
                                                                      +  DELETE = 0;
                                                                      +  REPLACE = 1;
                                                                      +}
                                                                      +message GeneralizeColumnInfo {
                                                                      +	required int32 selectedColumnId = 1;
                                                                      +	required int32 numLevels = 2 [default = 5];
                                                                      +	required int32 curLevel = 3 [default = 1];
                                                                      +}
                                                                      +enum ColumnHandlePolicy {
                                                                      +  ONEBYONE = 0;
                                                                      +  ALL = 1;
                                                                      +}
                                                                      +message IdenPartialReductionInfo {
                                                                      +  required ReductionMethod method = 1 [default = DELETE];
                                                                      +  repeated GeneralizeColumnInfo generalizedColumnInfo = 2;
                                                                      +  required ColumnHandlePolicy columnHandlePolicy = 3 [default = ONEBYONE];
                                                                      +  repeated FieldInfo fieldInfo = 4;
                                                                      +  optional PrivacyCheckInfo check = 5;
                                                                      +}
                                                                      +
                                                                    +
                                                                    + + + + + +
                                                                    +

                                                                    Value Members

                                                                    +
                                                                    1. + + +

                                                                      + + final + def + + + !=(arg0: Any): Boolean + +

                                                                      + + Permalink + + +
                                                                      Definition Classes
                                                                      AnyRef → Any
                                                                      +
                                                                    2. + + +

                                                                      + + final + def + + + ##(): Int + +

                                                                      + + Permalink + + +
                                                                      Definition Classes
                                                                      AnyRef → Any
                                                                      +
                                                                    3. + + +

                                                                      + + final + def + + + ==(arg0: Any): Boolean + +

                                                                      + + Permalink + + +
                                                                      Definition Classes
                                                                      AnyRef → Any
                                                                      +
                                                                    4. + + +

                                                                      + + + def + + + anonymize(src: DataFrame): DataFrame + +

                                                                      + + Permalink + + +

                                                                      Replace the some parts of the value with "*".

                                                                      Replace the some parts of the value with "*". The parts are decided by +the generalization step. If the given generalized step and its maximum +step are 3 and 10, respectively, the 30% of value are replaced. +

                                                                      src

                                                                      Dataframe to anonymize

                                                                      returns

                                                                      DataFrame Generalized dataframe

                                                                      +
                                                                    5. + + +

                                                                      + + + def + + + anonymize(src: DataFrame, columnNames: Array[String]): DataFrame + +

                                                                      + + Permalink + + +
                                                                      Definition Classes
                                                                      BasePrivacyAnonymizer
                                                                      +
                                                                    6. + + +

                                                                      + + + def + + + anonymize(src: DataFrame, columnName: String): DataFrame + +

                                                                      + + Permalink + + +

                                                                      Anonymizes the column specified in src dataframe +using generic 'Type' method.

                                                                      Anonymizes the column specified in src dataframe +using generic 'Type' method. The 'Type' is decided by +inherited object module. +

                                                                      src

                                                                      Dataframe to anonymize

                                                                      columnName

                                                                      Column to be anonymized

                                                                      returns

                                                                      DataFrame The dataframe which replaces original column +with anonymized column

                                                                      Definition Classes
                                                                      BasePrivacyAnonymizer
                                                                      +
                                                                    7. + + +

                                                                      + + + def + + + anonymizeColumn(src: DataFrame, columnName: String): DataFrame + +

                                                                      + + Permalink + + +

                                                                      Dummy function.

                                                                      Dummy function. To be modified.

                                                                      src

                                                                      dataframe to anonymize

                                                                      columnName

                                                                      Column to be anonymized

                                                                      returns

                                                                      DataFrame The dataframe which replaces original column +with anonymized column

                                                                      Definition Classes
                                                                      PartialIdenReductionOperatorBasePrivacyAnonymizer
                                                                      +
                                                                    8. + + +

                                                                      + + final + def + + + asInstanceOf[T0]: T0 + +

                                                                      + + Permalink + + +
                                                                      Definition Classes
                                                                      Any
                                                                      +
                                                                    9. + + +

                                                                      + + + def + + + clone(): AnyRef + +

                                                                      + + Permalink + + +
                                                                      Attributes
                                                                      protected[java.lang]
                                                                      Definition Classes
                                                                      AnyRef
                                                                      Annotations
                                                                      + @throws( + + ... + ) + +
                                                                      +
                                                                    10. + + +

                                                                      + + final + def + + + eq(arg0: AnyRef): Boolean + +

                                                                      + + Permalink + + +
                                                                      Definition Classes
                                                                      AnyRef
                                                                      +
                                                                    11. + + +

                                                                      + + + def + + + equals(arg0: Any): Boolean + +

                                                                      + + Permalink + + +
                                                                      Definition Classes
                                                                      AnyRef → Any
                                                                      +
                                                                    12. + + +

                                                                      + + + def + + + finalize(): Unit + +

                                                                      + + Permalink + + +
                                                                      Attributes
                                                                      protected[java.lang]
                                                                      Definition Classes
                                                                      AnyRef
                                                                      Annotations
                                                                      + @throws( + + classOf[java.lang.Throwable] + ) + +
                                                                      +
                                                                    13. + + +

                                                                      + + final + def + + + getClass(): Class[_] + +

                                                                      + + Permalink + + +
                                                                      Definition Classes
                                                                      AnyRef → Any
                                                                      +
                                                                    14. + + +

                                                                      + + + def + + + getColumnName(src: DataFrame, columnId: Int): String + +

                                                                      + + Permalink + + +

                                                                      Returns column name from src dataframe +specified by the column ID defined by protobuf.

                                                                      Returns column name from src dataframe +specified by the column ID defined by protobuf. +

                                                                      src

                                                                      dataframe to get names of columns.

                                                                      columnId

                                                                      column ID to anonymize.

                                                                      returns

                                                                      String.

                                                                      Definition Classes
                                                                      DataFrameCheck
                                                                      +
                                                                    15. + + +

                                                                      + + + def + + + getColumnNames(src: DataFrame, columnIDs: Array[Int]): Array[String] + +

                                                                      + + Permalink + + +

                                                                      Returns column names from src dataframe specified by column IDs.

                                                                      Returns column names from src dataframe specified by column IDs. +Note that the column with invalid IDs are ignored. +

                                                                      src

                                                                      dataframe to get names of columns.

                                                                      returns

                                                                      Array[String].

                                                                      Definition Classes
                                                                      DataFrameCheck
                                                                      +
                                                                    16. + + +

                                                                      + + + def + + + getQuasiColumnIDs(fieldInfos: Array[FieldInfo]): Array[Int] + +

                                                                      + + Permalink + + +
                                                                      Definition Classes
                                                                      DataFrameCheck
                                                                      +
                                                                    17. + + +

                                                                      + + + def + + + getSensColumnIDs(fieldInfos: Array[FieldInfo]): Array[Int] + +

                                                                      + + Permalink + + +
                                                                      Definition Classes
                                                                      DataFrameCheck
                                                                      +
                                                                    18. + + +

                                                                      + + + def + + + getValidColumnIDs(src: DataFrame, columnIDs: Array[Int]): Array[Int] + +

                                                                      + + Permalink + + +
                                                                      Definition Classes
                                                                      DataFrameCheck
                                                                      +
                                                                    19. + + +

                                                                      + + + def + + + hashCode(): Int + +

                                                                      + + Permalink + + +
                                                                      Definition Classes
                                                                      AnyRef → Any
                                                                      +
                                                                    20. + + +

                                                                      + + final + def + + + isInstanceOf[T0]: Boolean + +

                                                                      + + Permalink + + +
                                                                      Definition Classes
                                                                      Any
                                                                      +
                                                                    21. + + +

                                                                      + + + def + + + isValidColumnID(src: DataFrame, columnID: Int): Boolean + +

                                                                      + + Permalink + + +

                                                                      Checks the given column ID is valid.

                                                                      Checks the given column ID is valid. +

                                                                      src

                                                                      dataframe to get names of columns.

                                                                      returns

                                                                      Boolean.

                                                                      Definition Classes
                                                                      DataFrameCheck
                                                                      +
                                                                    22. + + +

                                                                      + + + def + + + isValidColumnName(src: DataFrame, columnName: String): Boolean + +

                                                                      + + Permalink + + +

                                                                      Checks the given column Name is valid.

                                                                      Checks the given column Name is valid. +

                                                                      src

                                                                      dataframe to get names of columns.

                                                                      columnName

                                                                      column Name.

                                                                      returns

                                                                      Boolean.

                                                                      Definition Classes
                                                                      DataFrameCheck
                                                                      +
                                                                    23. + + +

                                                                      + + + val + + + logger: Logger + +

                                                                      + + Permalink + + +
                                                                      Attributes
                                                                      protected
                                                                      Definition Classes
                                                                      Logging
                                                                      +
                                                                    24. + + +

                                                                      + + final + def + + + ne(arg0: AnyRef): Boolean + +

                                                                      + + Permalink + + +
                                                                      Definition Classes
                                                                      AnyRef
                                                                      +
                                                                    25. + + +

                                                                      + + final + def + + + notify(): Unit + +

                                                                      + + Permalink + + +
                                                                      Definition Classes
                                                                      AnyRef
                                                                      +
                                                                    26. + + +

                                                                      + + final + def + + + notifyAll(): Unit + +

                                                                      + + Permalink + + +
                                                                      Definition Classes
                                                                      AnyRef
                                                                      +
                                                                    27. + + +

                                                                      + + + def + + + operate(df: DataFrame): DataFrame + +

                                                                      + + Permalink + + +

                                                                      Operates iden-partial reduction module for basic de-identification +

                                                                      Operates iden-partial reduction module for basic de-identification +

                                                                      df

                                                                      Input dataframe

                                                                      returns

                                                                      DataFrame Anonymized dataframe

                                                                      Definition Classes
                                                                      PartialIdenReductionOperator → BaseGenericOperator → BaseGenericMutantOperator
                                                                      +
                                                                    28. + + +

                                                                      + + + val + + + p: IdenPartialReductionInfo + +

                                                                      + + Permalink + + + +
                                                                    29. + + +

                                                                      + + + val + + + privacy: PrivacyCheckInfo + +

                                                                      + + Permalink + + +
                                                                      Definition Classes
                                                                      BasePrivacyAnonymizer
                                                                      +
                                                                    30. + + +

                                                                      + + + def + + + stop: Unit + +

                                                                      + + Permalink + + +
                                                                      Definition Classes
                                                                      BaseGenericOperator → BaseGenericMutantOperator
                                                                      +
                                                                    31. + + +

                                                                      + + final + def + + + synchronized[T0](arg0: ⇒ T0): T0 + +

                                                                      + + Permalink + + +
                                                                      Definition Classes
                                                                      AnyRef
                                                                      +
                                                                    32. + + +

                                                                      + + + def + + + toString(): String + +

                                                                      + + Permalink + + +
                                                                      Definition Classes
                                                                      AnyRef → Any
                                                                      +
                                                                    33. + + +

                                                                      + + final + def + + + wait(): Unit + +

                                                                      + + Permalink + + +
                                                                      Definition Classes
                                                                      AnyRef
                                                                      Annotations
                                                                      + @throws( + + ... + ) + +
                                                                      +
                                                                    34. + + +

                                                                      + + final + def + + + wait(arg0: Long, arg1: Int): Unit + +

                                                                      + + Permalink + + +
                                                                      Definition Classes
                                                                      AnyRef
                                                                      Annotations
                                                                      + @throws( + + ... + ) + +
                                                                      +
                                                                    35. + + +

                                                                      + + final + def + + + wait(arg0: Long): Unit + +

                                                                      + + Permalink + + +
                                                                      Definition Classes
                                                                      AnyRef
                                                                      Annotations
                                                                      + @throws( + + ... + ) + +
                                                                      +
                                                                    +
                                                                    + + + + +
                                                                    + +
                                                                    +
                                                                    +

                                                                    Inherited from BasePrivacyAnonymizer

                                                                    +
                                                                    +

                                                                    Inherited from DataFrameCheck

                                                                    +
                                                                    +

                                                                    Inherited from BaseDataOperator[StreamOperatorInfo, DataFrame]

                                                                    +
                                                                    +

                                                                    Inherited from BaseGenericOperator[StreamOperatorInfo, DataFrame]

                                                                    +
                                                                    +

                                                                    Inherited from BaseGenericMutantOperator[StreamOperatorInfo, DataFrame, DataFrame]

                                                                    +
                                                                    +

                                                                    Inherited from BaseDoer

                                                                    +
                                                                    +

                                                                    Inherited from Logging

                                                                    +
                                                                    +

                                                                    Inherited from Serializable

                                                                    +
                                                                    +

                                                                    Inherited from Serializable

                                                                    +
                                                                    +

                                                                    Inherited from AnyRef

                                                                    +
                                                                    +

                                                                    Inherited from Any

                                                                    +
                                                                    + +
                                                                    + +
                                                                    +
                                                                    +

                                                                    Ungrouped

                                                                    + +
                                                                    +
                                                                    + +
                                                                    + +
                                                                    + + + + + + diff --git a/manual1903/api_reference/didentification/scaladocs/ksb/csle/didentification/privacy/QuasiReductionOperator$.html b/manual1903/api_reference/didentification/scaladocs/ksb/csle/didentification/privacy/QuasiReductionOperator$.html new file mode 100644 index 0000000000000000000000000000000000000000..576daabd29060fa8014e317c559b8237327dcd50 --- /dev/null +++ b/manual1903/api_reference/didentification/scaladocs/ksb/csle/didentification/privacy/QuasiReductionOperator$.html @@ -0,0 +1,505 @@ + + + + QuasiReductionOperator - KSB DEIDENTIFICATION Scala App Project 1.0-SNAPSHOT API - ksb.csle.didentification.privacy.QuasiReductionOperator + + + + + + + + + + + + + + + + + +

                                                                    + + + object + + + QuasiReductionOperator extends Serializable + +

                                                                    + +
                                                                    + Linear Supertypes +
                                                                    Serializable, Serializable, AnyRef, Any
                                                                    +
                                                                    + + +
                                                                    +
                                                                    +
                                                                    + Ordering +
                                                                      + +
                                                                    1. Alphabetic
                                                                    2. +
                                                                    3. By Inheritance
                                                                    4. +
                                                                    +
                                                                    +
                                                                    + Inherited
                                                                    +
                                                                    +
                                                                      +
                                                                    1. QuasiReductionOperator
                                                                    2. Serializable
                                                                    3. Serializable
                                                                    4. AnyRef
                                                                    5. Any
                                                                    6. +
                                                                    +
                                                                    + +
                                                                      +
                                                                    1. Hide All
                                                                    2. +
                                                                    3. Show All
                                                                    4. +
                                                                    +
                                                                    +
                                                                    + Visibility +
                                                                    1. Public
                                                                    2. All
                                                                    +
                                                                    +
                                                                    + +
                                                                    +
                                                                    + + + + + + +
                                                                    +

                                                                    Value Members

                                                                    +
                                                                    1. + + +

                                                                      + + final + def + + + !=(arg0: Any): Boolean + +

                                                                      + + Permalink + + +
                                                                      Definition Classes
                                                                      AnyRef → Any
                                                                      +
                                                                    2. + + +

                                                                      + + final + def + + + ##(): Int + +

                                                                      + + Permalink + + +
                                                                      Definition Classes
                                                                      AnyRef → Any
                                                                      +
                                                                    3. + + +

                                                                      + + final + def + + + ==(arg0: Any): Boolean + +

                                                                      + + Permalink + + +
                                                                      Definition Classes
                                                                      AnyRef → Any
                                                                      +
                                                                    4. + + +

                                                                      + + + def + + + apply(o: StreamOperatorInfo): QuasiReductionOperator + +

                                                                      + + Permalink + + + +
                                                                    5. + + +

                                                                      + + final + def + + + asInstanceOf[T0]: T0 + +

                                                                      + + Permalink + + +
                                                                      Definition Classes
                                                                      Any
                                                                      +
                                                                    6. + + +

                                                                      + + + def + + + clone(): AnyRef + +

                                                                      + + Permalink + + +
                                                                      Attributes
                                                                      protected[java.lang]
                                                                      Definition Classes
                                                                      AnyRef
                                                                      Annotations
                                                                      + @throws( + + ... + ) + +
                                                                      +
                                                                    7. + + +

                                                                      + + final + def + + + eq(arg0: AnyRef): Boolean + +

                                                                      + + Permalink + + +
                                                                      Definition Classes
                                                                      AnyRef
                                                                      +
                                                                    8. + + +

                                                                      + + + def + + + equals(arg0: Any): Boolean + +

                                                                      + + Permalink + + +
                                                                      Definition Classes
                                                                      AnyRef → Any
                                                                      +
                                                                    9. + + +

                                                                      + + + def + + + finalize(): Unit + +

                                                                      + + Permalink + + +
                                                                      Attributes
                                                                      protected[java.lang]
                                                                      Definition Classes
                                                                      AnyRef
                                                                      Annotations
                                                                      + @throws( + + classOf[java.lang.Throwable] + ) + +
                                                                      +
                                                                    10. + + +

                                                                      + + final + def + + + getClass(): Class[_] + +

                                                                      + + Permalink + + +
                                                                      Definition Classes
                                                                      AnyRef → Any
                                                                      +
                                                                    11. + + +

                                                                      + + + def + + + hashCode(): Int + +

                                                                      + + Permalink + + +
                                                                      Definition Classes
                                                                      AnyRef → Any
                                                                      +
                                                                    12. + + +

                                                                      + + final + def + + + isInstanceOf[T0]: Boolean + +

                                                                      + + Permalink + + +
                                                                      Definition Classes
                                                                      Any
                                                                      +
                                                                    13. + + +

                                                                      + + final + def + + + ne(arg0: AnyRef): Boolean + +

                                                                      + + Permalink + + +
                                                                      Definition Classes
                                                                      AnyRef
                                                                      +
                                                                    14. + + +

                                                                      + + final + def + + + notify(): Unit + +

                                                                      + + Permalink + + +
                                                                      Definition Classes
                                                                      AnyRef
                                                                      +
                                                                    15. + + +

                                                                      + + final + def + + + notifyAll(): Unit + +

                                                                      + + Permalink + + +
                                                                      Definition Classes
                                                                      AnyRef
                                                                      +
                                                                    16. + + +

                                                                      + + final + def + + + synchronized[T0](arg0: ⇒ T0): T0 + +

                                                                      + + Permalink + + +
                                                                      Definition Classes
                                                                      AnyRef
                                                                      +
                                                                    17. + + +

                                                                      + + + def + + + toString(): String + +

                                                                      + + Permalink + + +
                                                                      Definition Classes
                                                                      AnyRef → Any
                                                                      +
                                                                    18. + + +

                                                                      + + final + def + + + wait(): Unit + +

                                                                      + + Permalink + + +
                                                                      Definition Classes
                                                                      AnyRef
                                                                      Annotations
                                                                      + @throws( + + ... + ) + +
                                                                      +
                                                                    19. + + +

                                                                      + + final + def + + + wait(arg0: Long, arg1: Int): Unit + +

                                                                      + + Permalink + + +
                                                                      Definition Classes
                                                                      AnyRef
                                                                      Annotations
                                                                      + @throws( + + ... + ) + +
                                                                      +
                                                                    20. + + +

                                                                      + + final + def + + + wait(arg0: Long): Unit + +

                                                                      + + Permalink + + +
                                                                      Definition Classes
                                                                      AnyRef
                                                                      Annotations
                                                                      + @throws( + + ... + ) + +
                                                                      +
                                                                    +
                                                                    + + + + +
                                                                    + +
                                                                    +
                                                                    +

                                                                    Inherited from Serializable

                                                                    +
                                                                    +

                                                                    Inherited from Serializable

                                                                    +
                                                                    +

                                                                    Inherited from AnyRef

                                                                    +
                                                                    +

                                                                    Inherited from Any

                                                                    +
                                                                    + +
                                                                    + +
                                                                    +
                                                                    +

                                                                    Ungrouped

                                                                    + +
                                                                    +
                                                                    + +
                                                                    + +
                                                                    + + + + + + diff --git a/manual1903/api_reference/didentification/scaladocs/ksb/csle/didentification/privacy/QuasiReductionOperator.html b/manual1903/api_reference/didentification/scaladocs/ksb/csle/didentification/privacy/QuasiReductionOperator.html new file mode 100644 index 0000000000000000000000000000000000000000..854a80a0185adf485692ead0b379da854d2f6c91 --- /dev/null +++ b/manual1903/api_reference/didentification/scaladocs/ksb/csle/didentification/privacy/QuasiReductionOperator.html @@ -0,0 +1,866 @@ + + + + QuasiReductionOperator - KSB DEIDENTIFICATION Scala App Project 1.0-SNAPSHOT API - ksb.csle.didentification.privacy.QuasiReductionOperator + + + + + + + + + + + + + + + + + +

                                                                    + + + class + + + QuasiReductionOperator extends BasePrivacyAnonymizer + +

                                                                    + +

                                                                    :: ApplicationDeveloperApi ::

                                                                    Operator that implements the quasi-identifier reduction module in the +Data Reduction algorithm. +

                                                                    + Linear Supertypes +
                                                                    BasePrivacyAnonymizer, DataFrameCheck, BaseDataOperator[StreamOperatorInfo, DataFrame], BaseGenericOperator[StreamOperatorInfo, DataFrame], BaseGenericMutantOperator[StreamOperatorInfo, DataFrame, DataFrame], BaseDoer, Logging, Serializable, Serializable, AnyRef, Any
                                                                    +
                                                                    + + +
                                                                    +
                                                                    +
                                                                    + Ordering +
                                                                      + +
                                                                    1. Alphabetic
                                                                    2. +
                                                                    3. By Inheritance
                                                                    4. +
                                                                    +
                                                                    +
                                                                    + Inherited
                                                                    +
                                                                    +
                                                                      +
                                                                    1. QuasiReductionOperator
                                                                    2. BasePrivacyAnonymizer
                                                                    3. DataFrameCheck
                                                                    4. BaseDataOperator
                                                                    5. BaseGenericOperator
                                                                    6. BaseGenericMutantOperator
                                                                    7. BaseDoer
                                                                    8. Logging
                                                                    9. Serializable
                                                                    10. Serializable
                                                                    11. AnyRef
                                                                    12. Any
                                                                    13. +
                                                                    +
                                                                    + +
                                                                      +
                                                                    1. Hide All
                                                                    2. +
                                                                    3. Show All
                                                                    4. +
                                                                    +
                                                                    +
                                                                    + Visibility +
                                                                    1. Public
                                                                    2. All
                                                                    +
                                                                    +
                                                                    + +
                                                                    +
                                                                    +
                                                                    +

                                                                    Instance Constructors

                                                                    +
                                                                    1. + + +

                                                                      + + + new + + + QuasiReductionOperator(o: StreamOperatorInfo) + +

                                                                      + + Permalink + + +

                                                                      o

                                                                      Object that contains message + ksb.csle.common.proto.StreamDidentProto.QuasiReductionInfo + QuasiReductionInfo contains attributes as follows:

                                                                      • method: not yet used
                                                                      • safeHarborList: the list of safe habor string manually given by user
                                                                      • fieldInfo: the info about column attributes (identifier, sensitive, ..)
                                                                      • check: the method how to verify the performance of anonymized data

                                                                      QuasiReductionInfo

                                                                      enum ReductionMethod {
                                                                      +  DELETE = 0;
                                                                      +  REPLACE = 1;
                                                                      +}
                                                                      +message QuasiReductionInfo {
                                                                      +  required ReductionMethod method = 1 [default = DELETE];
                                                                      +  repeated string safeHarborList = 2;
                                                                      +  repeated FieldInfo fieldInfo = 3;
                                                                      +  optional PrivacyCheckInfo check = 4;
                                                                      +}
                                                                      +
                                                                    +
                                                                    + + + + + +
                                                                    +

                                                                    Value Members

                                                                    +
                                                                    1. + + +

                                                                      + + final + def + + + !=(arg0: Any): Boolean + +

                                                                      + + Permalink + + +
                                                                      Definition Classes
                                                                      AnyRef → Any
                                                                      +
                                                                    2. + + +

                                                                      + + final + def + + + ##(): Int + +

                                                                      + + Permalink + + +
                                                                      Definition Classes
                                                                      AnyRef → Any
                                                                      +
                                                                    3. + + +

                                                                      + + final + def + + + ==(arg0: Any): Boolean + +

                                                                      + + Permalink + + +
                                                                      Definition Classes
                                                                      AnyRef → Any
                                                                      +
                                                                    4. + + +

                                                                      + + + def + + + anonymize(src: DataFrame): DataFrame + +

                                                                      + + Permalink + + +

                                                                      Anonymizes the src dataframe.

                                                                      Anonymizes the src dataframe. Since this method is only applicable +on the quasi-identifier columns, +there is no need to specify the columns to be anonymized. +

                                                                      src

                                                                      Dataframe to anonymize

                                                                      returns

                                                                      DataFrame Anonymized dataframe which replaces original column +with anonymized column

                                                                      +
                                                                    5. + + +

                                                                      + + + def + + + anonymize(src: DataFrame, columnNames: Array[String]): DataFrame + +

                                                                      + + Permalink + + +
                                                                      Definition Classes
                                                                      BasePrivacyAnonymizer
                                                                      +
                                                                    6. + + +

                                                                      + + + def + + + anonymize(src: DataFrame, columnName: String): DataFrame + +

                                                                      + + Permalink + + +

                                                                      Anonymizes the column specified in src dataframe +using generic 'Type' method.

                                                                      Anonymizes the column specified in src dataframe +using generic 'Type' method. The 'Type' is decided by +inherited object module. +

                                                                      src

                                                                      Dataframe to anonymize

                                                                      columnName

                                                                      Column to be anonymized

                                                                      returns

                                                                      DataFrame The dataframe which replaces original column +with anonymized column

                                                                      Definition Classes
                                                                      BasePrivacyAnonymizer
                                                                      +
                                                                    7. + + +

                                                                      + + + def + + + anonymizeColumn(src: DataFrame, columnName: String): DataFrame + +

                                                                      + + Permalink + + +

                                                                      Drops the quasi-identifier column which belongs to the list of safe habor.

                                                                      Drops the quasi-identifier column which belongs to the list of safe habor. +This list can be configured by the data handler, or by referring to +the HIPAA act. +

                                                                      src

                                                                      Dataframe to anonymize

                                                                      columnName

                                                                      Columnname to be anonymized

                                                                      returns

                                                                      DataFrame Anonymized dataframe

                                                                      Definition Classes
                                                                      QuasiReductionOperatorBasePrivacyAnonymizer
                                                                      +
                                                                    8. + + +

                                                                      + + final + def + + + asInstanceOf[T0]: T0 + +

                                                                      + + Permalink + + +
                                                                      Definition Classes
                                                                      Any
                                                                      +
                                                                    9. + + +

                                                                      + + + def + + + clone(): AnyRef + +

                                                                      + + Permalink + + +
                                                                      Attributes
                                                                      protected[java.lang]
                                                                      Definition Classes
                                                                      AnyRef
                                                                      Annotations
                                                                      + @throws( + + ... + ) + +
                                                                      +
                                                                    10. + + +

                                                                      + + final + def + + + eq(arg0: AnyRef): Boolean + +

                                                                      + + Permalink + + +
                                                                      Definition Classes
                                                                      AnyRef
                                                                      +
                                                                    11. + + +

                                                                      + + + def + + + equals(arg0: Any): Boolean + +

                                                                      + + Permalink + + +
                                                                      Definition Classes
                                                                      AnyRef → Any
                                                                      +
                                                                    12. + + +

                                                                      + + + def + + + finalize(): Unit + +

                                                                      + + Permalink + + +
                                                                      Attributes
                                                                      protected[java.lang]
                                                                      Definition Classes
                                                                      AnyRef
                                                                      Annotations
                                                                      + @throws( + + classOf[java.lang.Throwable] + ) + +
                                                                      +
                                                                    13. + + +

                                                                      + + final + def + + + getClass(): Class[_] + +

                                                                      + + Permalink + + +
                                                                      Definition Classes
                                                                      AnyRef → Any
                                                                      +
                                                                    14. + + +

                                                                      + + + def + + + getColumnName(src: DataFrame, columnId: Int): String + +

                                                                      + + Permalink + + +

                                                                      Returns column name from src dataframe +specified by the column ID defined by protobuf.

                                                                      Returns column name from src dataframe +specified by the column ID defined by protobuf. +

                                                                      src

                                                                      dataframe to get names of columns.

                                                                      columnId

                                                                      column ID to anonymize.

                                                                      returns

                                                                      String.

                                                                      Definition Classes
                                                                      DataFrameCheck
                                                                      +
                                                                    15. + + +

                                                                      + + + def + + + getColumnNames(src: DataFrame, columnIDs: Array[Int]): Array[String] + +

                                                                      + + Permalink + + +

                                                                      Returns column names from src dataframe specified by column IDs.

                                                                      Returns column names from src dataframe specified by column IDs. +Note that the column with invalid IDs are ignored. +

                                                                      src

                                                                      dataframe to get names of columns.

                                                                      returns

                                                                      Array[String].

                                                                      Definition Classes
                                                                      DataFrameCheck
                                                                      +
                                                                    16. + + +

                                                                      + + + def + + + getQuasiColumnIDs(fieldInfos: Array[FieldInfo]): Array[Int] + +

                                                                      + + Permalink + + +
                                                                      Definition Classes
                                                                      DataFrameCheck
                                                                      +
                                                                    17. + + +

                                                                      + + + def + + + getSensColumnIDs(fieldInfos: Array[FieldInfo]): Array[Int] + +

                                                                      + + Permalink + + +
                                                                      Definition Classes
                                                                      DataFrameCheck
                                                                      +
                                                                    18. + + +

                                                                      + + + def + + + getValidColumnIDs(src: DataFrame, columnIDs: Array[Int]): Array[Int] + +

                                                                      + + Permalink + + +
                                                                      Definition Classes
                                                                      DataFrameCheck
                                                                      +
                                                                    19. + + +

                                                                      + + + def + + + hashCode(): Int + +

                                                                      + + Permalink + + +
                                                                      Definition Classes
                                                                      AnyRef → Any
                                                                      +
                                                                    20. + + +

                                                                      + + final + def + + + isInstanceOf[T0]: Boolean + +

                                                                      + + Permalink + + +
                                                                      Definition Classes
                                                                      Any
                                                                      +
                                                                    21. + + +

                                                                      + + + def + + + isSafeBarborList(columnName: String): Boolean + +

                                                                      + + Permalink + + +

                                                                      Checks whether the given column belongs to the list of safe habor +

                                                                      Checks whether the given column belongs to the list of safe habor +

                                                                      columnName

                                                                      the column name to check

                                                                      returns

                                                                      Boolean returns whether belongs to the list of safe harbor or not.

                                                                      +
                                                                    22. + + +

                                                                      + + + def + + + isTypedSafeBarborList(columnName: String): Boolean + +

                                                                      + + Permalink + + +

                                                                      Data handle can configure the list of safe habor.

                                                                      Data handle can configure the list of safe habor. In the case, +this function checks the given column belongs to the configured list. +

                                                                      columnName

                                                                      the column name to check

                                                                      returns

                                                                      Boolean returns whether belongs to the list of safe harbor or not.

                                                                      +
                                                                    23. + + +

                                                                      + + + def + + + isValidColumnID(src: DataFrame, columnID: Int): Boolean + +

                                                                      + + Permalink + + +

                                                                      Checks the given column ID is valid.

                                                                      Checks the given column ID is valid. +

                                                                      src

                                                                      dataframe to get names of columns.

                                                                      returns

                                                                      Boolean.

                                                                      Definition Classes
                                                                      DataFrameCheck
                                                                      +
                                                                    24. + + +

                                                                      + + + def + + + isValidColumnName(src: DataFrame, columnName: String): Boolean + +

                                                                      + + Permalink + + +

                                                                      Checks the given column Name is valid.

                                                                      Checks the given column Name is valid. +

                                                                      src

                                                                      dataframe to get names of columns.

                                                                      columnName

                                                                      column Name.

                                                                      returns

                                                                      Boolean.

                                                                      Definition Classes
                                                                      DataFrameCheck
                                                                      +
                                                                    25. + + +

                                                                      + + + val + + + logger: Logger + +

                                                                      + + Permalink + + +
                                                                      Attributes
                                                                      protected
                                                                      Definition Classes
                                                                      Logging
                                                                      +
                                                                    26. + + +

                                                                      + + final + def + + + ne(arg0: AnyRef): Boolean + +

                                                                      + + Permalink + + +
                                                                      Definition Classes
                                                                      AnyRef
                                                                      +
                                                                    27. + + +

                                                                      + + final + def + + + notify(): Unit + +

                                                                      + + Permalink + + +
                                                                      Definition Classes
                                                                      AnyRef
                                                                      +
                                                                    28. + + +

                                                                      + + final + def + + + notifyAll(): Unit + +

                                                                      + + Permalink + + +
                                                                      Definition Classes
                                                                      AnyRef
                                                                      +
                                                                    29. + + +

                                                                      + + + def + + + operate(df: DataFrame): DataFrame + +

                                                                      + + Permalink + + +

                                                                      Operates quasi-reduction module for basic de-identification +

                                                                      Operates quasi-reduction module for basic de-identification +

                                                                      df

                                                                      Input dataframe

                                                                      returns

                                                                      DataFrame Anonymized dataframe

                                                                      Definition Classes
                                                                      QuasiReductionOperator → BaseGenericOperator → BaseGenericMutantOperator
                                                                      +
                                                                    30. + + +

                                                                      + + + val + + + p: QuasiReductionInfo + +

                                                                      + + Permalink + + + +
                                                                    31. + + +

                                                                      + + + val + + + privacy: PrivacyCheckInfo + +

                                                                      + + Permalink + + +
                                                                      Definition Classes
                                                                      BasePrivacyAnonymizer
                                                                      +
                                                                    32. + + +

                                                                      + + + def + + + stop: Unit + +

                                                                      + + Permalink + + +
                                                                      Definition Classes
                                                                      BaseGenericOperator → BaseGenericMutantOperator
                                                                      +
                                                                    33. + + +

                                                                      + + final + def + + + synchronized[T0](arg0: ⇒ T0): T0 + +

                                                                      + + Permalink + + +
                                                                      Definition Classes
                                                                      AnyRef
                                                                      +
                                                                    34. + + +

                                                                      + + + def + + + toString(): String + +

                                                                      + + Permalink + + +
                                                                      Definition Classes
                                                                      AnyRef → Any
                                                                      +
                                                                    35. + + +

                                                                      + + final + def + + + wait(): Unit + +

                                                                      + + Permalink + + +
                                                                      Definition Classes
                                                                      AnyRef
                                                                      Annotations
                                                                      + @throws( + + ... + ) + +
                                                                      +
                                                                    36. + + +

                                                                      + + final + def + + + wait(arg0: Long, arg1: Int): Unit + +

                                                                      + + Permalink + + +
                                                                      Definition Classes
                                                                      AnyRef
                                                                      Annotations
                                                                      + @throws( + + ... + ) + +
                                                                      +
                                                                    37. + + +

                                                                      + + final + def + + + wait(arg0: Long): Unit + +

                                                                      + + Permalink + + +
                                                                      Definition Classes
                                                                      AnyRef
                                                                      Annotations
                                                                      + @throws( + + ... + ) + +
                                                                      +
                                                                    +
                                                                    + + + + +
                                                                    + +
                                                                    +
                                                                    +

                                                                    Inherited from BasePrivacyAnonymizer

                                                                    +
                                                                    +

                                                                    Inherited from DataFrameCheck

                                                                    +
                                                                    +

                                                                    Inherited from BaseDataOperator[StreamOperatorInfo, DataFrame]

                                                                    +
                                                                    +

                                                                    Inherited from BaseGenericOperator[StreamOperatorInfo, DataFrame]

                                                                    +
                                                                    +

                                                                    Inherited from BaseGenericMutantOperator[StreamOperatorInfo, DataFrame, DataFrame]

                                                                    +
                                                                    +

                                                                    Inherited from BaseDoer

                                                                    +
                                                                    +

                                                                    Inherited from Logging

                                                                    +
                                                                    +

                                                                    Inherited from Serializable

                                                                    +
                                                                    +

                                                                    Inherited from Serializable

                                                                    +
                                                                    +

                                                                    Inherited from AnyRef

                                                                    +
                                                                    +

                                                                    Inherited from Any

                                                                    +
                                                                    + +
                                                                    + +
                                                                    +
                                                                    +

                                                                    Ungrouped

                                                                    + +
                                                                    +
                                                                    + +
                                                                    + +
                                                                    + + + + + + diff --git a/manual1903/api_reference/didentification/scaladocs/ksb/csle/didentification/privacy/RandomNoiseOperator$.html b/manual1903/api_reference/didentification/scaladocs/ksb/csle/didentification/privacy/RandomNoiseOperator$.html new file mode 100644 index 0000000000000000000000000000000000000000..bf9b340014762860650a85964a3a6aec0d5c9dd9 --- /dev/null +++ b/manual1903/api_reference/didentification/scaladocs/ksb/csle/didentification/privacy/RandomNoiseOperator$.html @@ -0,0 +1,505 @@ + + + + RandomNoiseOperator - KSB DEIDENTIFICATION Scala App Project 1.0-SNAPSHOT API - ksb.csle.didentification.privacy.RandomNoiseOperator + + + + + + + + + + + + + + + + + +

                                                                    + + + object + + + RandomNoiseOperator extends Serializable + +

                                                                    + +
                                                                    + Linear Supertypes +
                                                                    Serializable, Serializable, AnyRef, Any
                                                                    +
                                                                    + + +
                                                                    +
                                                                    +
                                                                    + Ordering +
                                                                      + +
                                                                    1. Alphabetic
                                                                    2. +
                                                                    3. By Inheritance
                                                                    4. +
                                                                    +
                                                                    +
                                                                    + Inherited
                                                                    +
                                                                    +
                                                                      +
                                                                    1. RandomNoiseOperator
                                                                    2. Serializable
                                                                    3. Serializable
                                                                    4. AnyRef
                                                                    5. Any
                                                                    6. +
                                                                    +
                                                                    + +
                                                                      +
                                                                    1. Hide All
                                                                    2. +
                                                                    3. Show All
                                                                    4. +
                                                                    +
                                                                    +
                                                                    + Visibility +
                                                                    1. Public
                                                                    2. All
                                                                    +
                                                                    +
                                                                    + +
                                                                    +
                                                                    + + + + + + +
                                                                    +

                                                                    Value Members

                                                                    +
                                                                    1. + + +

                                                                      + + final + def + + + !=(arg0: Any): Boolean + +

                                                                      + + Permalink + + +
                                                                      Definition Classes
                                                                      AnyRef → Any
                                                                      +
                                                                    2. + + +

                                                                      + + final + def + + + ##(): Int + +

                                                                      + + Permalink + + +
                                                                      Definition Classes
                                                                      AnyRef → Any
                                                                      +
                                                                    3. + + +

                                                                      + + final + def + + + ==(arg0: Any): Boolean + +

                                                                      + + Permalink + + +
                                                                      Definition Classes
                                                                      AnyRef → Any
                                                                      +
                                                                    4. + + +

                                                                      + + + def + + + apply(o: StreamOperatorInfo): RandomNoiseOperator + +

                                                                      + + Permalink + + + +
                                                                    5. + + +

                                                                      + + final + def + + + asInstanceOf[T0]: T0 + +

                                                                      + + Permalink + + +
                                                                      Definition Classes
                                                                      Any
                                                                      +
                                                                    6. + + +

                                                                      + + + def + + + clone(): AnyRef + +

                                                                      + + Permalink + + +
                                                                      Attributes
                                                                      protected[java.lang]
                                                                      Definition Classes
                                                                      AnyRef
                                                                      Annotations
                                                                      + @throws( + + ... + ) + +
                                                                      +
                                                                    7. + + +

                                                                      + + final + def + + + eq(arg0: AnyRef): Boolean + +

                                                                      + + Permalink + + +
                                                                      Definition Classes
                                                                      AnyRef
                                                                      +
                                                                    8. + + +

                                                                      + + + def + + + equals(arg0: Any): Boolean + +

                                                                      + + Permalink + + +
                                                                      Definition Classes
                                                                      AnyRef → Any
                                                                      +
                                                                    9. + + +

                                                                      + + + def + + + finalize(): Unit + +

                                                                      + + Permalink + + +
                                                                      Attributes
                                                                      protected[java.lang]
                                                                      Definition Classes
                                                                      AnyRef
                                                                      Annotations
                                                                      + @throws( + + classOf[java.lang.Throwable] + ) + +
                                                                      +
                                                                    10. + + +

                                                                      + + final + def + + + getClass(): Class[_] + +

                                                                      + + Permalink + + +
                                                                      Definition Classes
                                                                      AnyRef → Any
                                                                      +
                                                                    11. + + +

                                                                      + + + def + + + hashCode(): Int + +

                                                                      + + Permalink + + +
                                                                      Definition Classes
                                                                      AnyRef → Any
                                                                      +
                                                                    12. + + +

                                                                      + + final + def + + + isInstanceOf[T0]: Boolean + +

                                                                      + + Permalink + + +
                                                                      Definition Classes
                                                                      Any
                                                                      +
                                                                    13. + + +

                                                                      + + final + def + + + ne(arg0: AnyRef): Boolean + +

                                                                      + + Permalink + + +
                                                                      Definition Classes
                                                                      AnyRef
                                                                      +
                                                                    14. + + +

                                                                      + + final + def + + + notify(): Unit + +

                                                                      + + Permalink + + +
                                                                      Definition Classes
                                                                      AnyRef
                                                                      +
                                                                    15. + + +

                                                                      + + final + def + + + notifyAll(): Unit + +

                                                                      + + Permalink + + +
                                                                      Definition Classes
                                                                      AnyRef
                                                                      +
                                                                    16. + + +

                                                                      + + final + def + + + synchronized[T0](arg0: ⇒ T0): T0 + +

                                                                      + + Permalink + + +
                                                                      Definition Classes
                                                                      AnyRef
                                                                      +
                                                                    17. + + +

                                                                      + + + def + + + toString(): String + +

                                                                      + + Permalink + + +
                                                                      Definition Classes
                                                                      AnyRef → Any
                                                                      +
                                                                    18. + + +

                                                                      + + final + def + + + wait(): Unit + +

                                                                      + + Permalink + + +
                                                                      Definition Classes
                                                                      AnyRef
                                                                      Annotations
                                                                      + @throws( + + ... + ) + +
                                                                      +
                                                                    19. + + +

                                                                      + + final + def + + + wait(arg0: Long, arg1: Int): Unit + +

                                                                      + + Permalink + + +
                                                                      Definition Classes
                                                                      AnyRef
                                                                      Annotations
                                                                      + @throws( + + ... + ) + +
                                                                      +
                                                                    20. + + +

                                                                      + + final + def + + + wait(arg0: Long): Unit + +

                                                                      + + Permalink + + +
                                                                      Definition Classes
                                                                      AnyRef
                                                                      Annotations
                                                                      + @throws( + + ... + ) + +
                                                                      +
                                                                    +
                                                                    + + + + +
                                                                    + +
                                                                    +
                                                                    +

                                                                    Inherited from Serializable

                                                                    +
                                                                    +

                                                                    Inherited from Serializable

                                                                    +
                                                                    +

                                                                    Inherited from AnyRef

                                                                    +
                                                                    +

                                                                    Inherited from Any

                                                                    +
                                                                    + +
                                                                    + +
                                                                    +
                                                                    +

                                                                    Ungrouped

                                                                    + +
                                                                    +
                                                                    + +
                                                                    + +
                                                                    + + + + + + diff --git a/manual1903/api_reference/didentification/scaladocs/ksb/csle/didentification/privacy/RandomNoiseOperator.html b/manual1903/api_reference/didentification/scaladocs/ksb/csle/didentification/privacy/RandomNoiseOperator.html new file mode 100644 index 0000000000000000000000000000000000000000..175dc336498d72e74579f2e21cbd8558a94ee2e6 --- /dev/null +++ b/manual1903/api_reference/didentification/scaladocs/ksb/csle/didentification/privacy/RandomNoiseOperator.html @@ -0,0 +1,936 @@ + + + + RandomNoiseOperator - KSB DEIDENTIFICATION Scala App Project 1.0-SNAPSHOT API - ksb.csle.didentification.privacy.RandomNoiseOperator + + + + + + + + + + + + + + + + + +

                                                                    + + + class + + + RandomNoiseOperator extends BasePrivacyAnonymizer + +

                                                                    + +

                                                                    :: ApplicationDeveloperApi ::

                                                                    Operator that implements the random noise module in the Data Masking +algorithm. It inserts random noises on original data. +- If the given column is string type, random noises composed of +numerical, or alphabet, or both are inserted at specific position. +- If the given column is numerical type, some values (it may be specified, +randomly chosen, or got from the normal distribution) are added +(or subtracted, multiplied, and divided) on each value of that column. +

                                                                    + Linear Supertypes +
                                                                    BasePrivacyAnonymizer, DataFrameCheck, BaseDataOperator[StreamOperatorInfo, DataFrame], BaseGenericOperator[StreamOperatorInfo, DataFrame], BaseGenericMutantOperator[StreamOperatorInfo, DataFrame, DataFrame], BaseDoer, Logging, Serializable, Serializable, AnyRef, Any
                                                                    +
                                                                    + + +
                                                                    +
                                                                    +
                                                                    + Ordering +
                                                                      + +
                                                                    1. Alphabetic
                                                                    2. +
                                                                    3. By Inheritance
                                                                    4. +
                                                                    +
                                                                    +
                                                                    + Inherited
                                                                    +
                                                                    +
                                                                      +
                                                                    1. RandomNoiseOperator
                                                                    2. BasePrivacyAnonymizer
                                                                    3. DataFrameCheck
                                                                    4. BaseDataOperator
                                                                    5. BaseGenericOperator
                                                                    6. BaseGenericMutantOperator
                                                                    7. BaseDoer
                                                                    8. Logging
                                                                    9. Serializable
                                                                    10. Serializable
                                                                    11. AnyRef
                                                                    12. Any
                                                                    13. +
                                                                    +
                                                                    + +
                                                                      +
                                                                    1. Hide All
                                                                    2. +
                                                                    3. Show All
                                                                    4. +
                                                                    +
                                                                    +
                                                                    + Visibility +
                                                                    1. Public
                                                                    2. All
                                                                    +
                                                                    +
                                                                    + +
                                                                    +
                                                                    +
                                                                    +

                                                                    Instance Constructors

                                                                    +
                                                                    1. + + +

                                                                      + + + new + + + RandomNoiseOperator(o: StreamOperatorInfo) + +

                                                                      + + Permalink + + +

                                                                      o

                                                                      Object that contains message + ksb.csle.common.proto.StreamDidentProto.RandomNoiseInfo + RandomNoiseInfo contains attributes as follows:

                                                                      • selectedColumnId: Column ID to apply the random noise function
                                                                      • strHandle: how to add the noise into the string values
                                                                      • numHandle: how to add the noise into the numerical values
                                                                      • fieldInfo: the info about column attributes (identifier, sensitive, ..)
                                                                      • check: the method how to verify the performance of anonymized data

                                                                      RandomNoiseInfo

                                                                      message StringHandle {
                                                                      +	required int32 position = 1;
                                                                      +	required int32 length = 2;
                                                                      +	required RandomMethod randMethod = 3 [default = MIXED];
                                                                      +}
                                                                      +enum RandomType {
                                                                      +	FIXED = 0;
                                                                      +	RANDOM = 1;
                                                                      +	GAUSSIAN = 2;
                                                                      +}
                                                                      +enum NoiseOperator {
                                                                      +	NOISE_SUM = 0;
                                                                      +	NOISE_MINUS = 1;
                                                                      +	NOISE_MULTIPLY = 2;
                                                                      +	NOISE_DIVIDE = 3;
                                                                      +}
                                                                      +message NormalDistInfo {
                                                                      +	required double mu = 1 [default = 0.0];
                                                                      +	required double std = 2 [default = 1.0];
                                                                      +}
                                                                      +message NumericHandle {
                                                                      +	required RandomType isRandom = 1;
                                                                      +	required NoiseOperator operator = 2 [default = NOISE_SUM];
                                                                      +	optional double value = 3;
                                                                      +	optional NormalDistInfo normalDist = 4;
                                                                      +}
                                                                      +message RandomNoiseInfo {
                                                                      +  repeated int32 selectedColumnId = 1;
                                                                      +  optional StringHandle strHandle = 2;
                                                                      +  optional NumericHandle numHandle = 3;
                                                                      +  repeated FieldInfo fieldInfo = 4;
                                                                      +  optional PrivacyCheckInfo check = 5;
                                                                      +}
                                                                      +
                                                                    +
                                                                    + + + + + +
                                                                    +

                                                                    Value Members

                                                                    +
                                                                    1. + + +

                                                                      + + final + def + + + !=(arg0: Any): Boolean + +

                                                                      + + Permalink + + +
                                                                      Definition Classes
                                                                      AnyRef → Any
                                                                      +
                                                                    2. + + +

                                                                      + + final + def + + + ##(): Int + +

                                                                      + + Permalink + + +
                                                                      Definition Classes
                                                                      AnyRef → Any
                                                                      +
                                                                    3. + + +

                                                                      + + final + def + + + ==(arg0: Any): Boolean + +

                                                                      + + Permalink + + +
                                                                      Definition Classes
                                                                      AnyRef → Any
                                                                      +
                                                                    4. + + +

                                                                      + + + def + + + anonymize(src: DataFrame, columnNames: Array[String]): DataFrame + +

                                                                      + + Permalink + + +
                                                                      Definition Classes
                                                                      BasePrivacyAnonymizer
                                                                      +
                                                                    5. + + +

                                                                      + + + def + + + anonymize(src: DataFrame, columnName: String): DataFrame + +

                                                                      + + Permalink + + +

                                                                      Anonymizes the column specified in src dataframe +using generic 'Type' method.

                                                                      Anonymizes the column specified in src dataframe +using generic 'Type' method. The 'Type' is decided by +inherited object module. +

                                                                      src

                                                                      Dataframe to anonymize

                                                                      columnName

                                                                      Column to be anonymized

                                                                      returns

                                                                      DataFrame The dataframe which replaces original column +with anonymized column

                                                                      Definition Classes
                                                                      BasePrivacyAnonymizer
                                                                      +
                                                                    6. + + +

                                                                      + + + def + + + anonymizeColumn(src: DataFrame, columnName: String): DataFrame + +

                                                                      + + Permalink + + +

                                                                      Performs random noise operations on given src dataframe +

                                                                      Performs random noise operations on given src dataframe +

                                                                      src

                                                                      Dataframe to anonymize

                                                                      columnName

                                                                      Column to be anonymized

                                                                      returns

                                                                      DataFrame Anonymized dataframe

                                                                      Definition Classes
                                                                      RandomNoiseOperatorBasePrivacyAnonymizer
                                                                      +
                                                                    7. + + +

                                                                      + + final + def + + + asInstanceOf[T0]: T0 + +

                                                                      + + Permalink + + +
                                                                      Definition Classes
                                                                      Any
                                                                      +
                                                                    8. + + +

                                                                      + + + def + + + clone(): AnyRef + +

                                                                      + + Permalink + + +
                                                                      Attributes
                                                                      protected[java.lang]
                                                                      Definition Classes
                                                                      AnyRef
                                                                      Annotations
                                                                      + @throws( + + ... + ) + +
                                                                      +
                                                                    9. + + +

                                                                      + + final + def + + + eq(arg0: AnyRef): Boolean + +

                                                                      + + Permalink + + +
                                                                      Definition Classes
                                                                      AnyRef
                                                                      +
                                                                    10. + + +

                                                                      + + + def + + + equals(arg0: Any): Boolean + +

                                                                      + + Permalink + + +
                                                                      Definition Classes
                                                                      AnyRef → Any
                                                                      +
                                                                    11. + + +

                                                                      + + + def + + + finalize(): Unit + +

                                                                      + + Permalink + + +
                                                                      Attributes
                                                                      protected[java.lang]
                                                                      Definition Classes
                                                                      AnyRef
                                                                      Annotations
                                                                      + @throws( + + classOf[java.lang.Throwable] + ) + +
                                                                      +
                                                                    12. + + +

                                                                      + + final + def + + + getClass(): Class[_] + +

                                                                      + + Permalink + + +
                                                                      Definition Classes
                                                                      AnyRef → Any
                                                                      +
                                                                    13. + + +

                                                                      + + + def + + + getColumnName(src: DataFrame, columnId: Int): String + +

                                                                      + + Permalink + + +

                                                                      Returns column name from src dataframe +specified by the column ID defined by protobuf.

                                                                      Returns column name from src dataframe +specified by the column ID defined by protobuf. +

                                                                      src

                                                                      dataframe to get names of columns.

                                                                      columnId

                                                                      column ID to anonymize.

                                                                      returns

                                                                      String.

                                                                      Definition Classes
                                                                      DataFrameCheck
                                                                      +
                                                                    14. + + +

                                                                      + + + def + + + getColumnNames(src: DataFrame, columnIDs: Array[Int]): Array[String] + +

                                                                      + + Permalink + + +

                                                                      Returns column names from src dataframe specified by column IDs.

                                                                      Returns column names from src dataframe specified by column IDs. +Note that the column with invalid IDs are ignored. +

                                                                      src

                                                                      dataframe to get names of columns.

                                                                      returns

                                                                      Array[String].

                                                                      Definition Classes
                                                                      DataFrameCheck
                                                                      +
                                                                    15. + + +

                                                                      + + + def + + + getQuasiColumnIDs(fieldInfos: Array[FieldInfo]): Array[Int] + +

                                                                      + + Permalink + + +
                                                                      Definition Classes
                                                                      DataFrameCheck
                                                                      +
                                                                    16. + + +

                                                                      + + + def + + + getSensColumnIDs(fieldInfos: Array[FieldInfo]): Array[Int] + +

                                                                      + + Permalink + + +
                                                                      Definition Classes
                                                                      DataFrameCheck
                                                                      +
                                                                    17. + + +

                                                                      + + + def + + + getValidColumnIDs(src: DataFrame, columnIDs: Array[Int]): Array[Int] + +

                                                                      + + Permalink + + +
                                                                      Definition Classes
                                                                      DataFrameCheck
                                                                      +
                                                                    18. + + +

                                                                      + + + def + + + hashCode(): Int + +

                                                                      + + Permalink + + +
                                                                      Definition Classes
                                                                      AnyRef → Any
                                                                      +
                                                                    19. + + +

                                                                      + + final + def + + + isInstanceOf[T0]: Boolean + +

                                                                      + + Permalink + + +
                                                                      Definition Classes
                                                                      Any
                                                                      +
                                                                    20. + + +

                                                                      + + + def + + + isValidColumnID(src: DataFrame, columnID: Int): Boolean + +

                                                                      + + Permalink + + +

                                                                      Checks the given column ID is valid.

                                                                      Checks the given column ID is valid. +

                                                                      src

                                                                      dataframe to get names of columns.

                                                                      returns

                                                                      Boolean.

                                                                      Definition Classes
                                                                      DataFrameCheck
                                                                      +
                                                                    21. + + +

                                                                      + + + def + + + isValidColumnName(src: DataFrame, columnName: String): Boolean + +

                                                                      + + Permalink + + +

                                                                      Checks the given column Name is valid.

                                                                      Checks the given column Name is valid. +

                                                                      src

                                                                      dataframe to get names of columns.

                                                                      columnName

                                                                      column Name.

                                                                      returns

                                                                      Boolean.

                                                                      Definition Classes
                                                                      DataFrameCheck
                                                                      +
                                                                    22. + + +

                                                                      + + + val + + + logger: Logger + +

                                                                      + + Permalink + + +
                                                                      Attributes
                                                                      protected
                                                                      Definition Classes
                                                                      Logging
                                                                      +
                                                                    23. + + +

                                                                      + + final + def + + + ne(arg0: AnyRef): Boolean + +

                                                                      + + Permalink + + +
                                                                      Definition Classes
                                                                      AnyRef
                                                                      +
                                                                    24. + + +

                                                                      + + + def + + + noiseNumericColumn(src: DataFrame, columnName: String, numHandle: NumericHandle): DataFrame + +

                                                                      + + Permalink + + +

                                                                      Performs random noise operations on the given numerical column +in src dataframe.

                                                                      Performs random noise operations on the given numerical column +in src dataframe. NumHandler contains the information about +how to generates noises. +

                                                                      src

                                                                      Dataframe to anonymize

                                                                      columnName

                                                                      Column to be anonymized

                                                                      numHandle

                                                                      The method to generate noises

                                                                      returns

                                                                      DataFrame Anonymized dataframe

                                                                      +
                                                                    25. + + +

                                                                      + + + def + + + noiseNumericStringColumn(src: DataFrame, columnName: String, numHandle: NumericHandle): DataFrame + +

                                                                      + + Permalink + + +

                                                                      Performs random noise operations on the given string column.

                                                                      Performs random noise operations on the given string column. Note that +this column is composed of both numerical and string data. In this case, +this function extracts numerical data only, inserts noises, and then +combines the other string data. +

                                                                      src

                                                                      Dataframe to anonymize

                                                                      columnName

                                                                      Column to be anonymized

                                                                      numHandle

                                                                      The method to generate noises

                                                                      returns

                                                                      DataFrame Anonymized dataframe

                                                                      +
                                                                    26. + + +

                                                                      + + + def + + + noiseStringColumn(src: DataFrame, columnName: String): DataFrame + +

                                                                      + + Permalink + + +

                                                                      Performs random noise operations on the given string column.

                                                                      Performs random noise operations on the given string column. Note that +this column may be composed of only string data or both numerical and +string data. +

                                                                      src

                                                                      Dataframe to anonymize

                                                                      columnName

                                                                      Column to be anonymized

                                                                      returns

                                                                      DataFrame Anonymized dataframe

                                                                      +
                                                                    27. + + +

                                                                      + + + def + + + noiseStringOnlyColumn(src: DataFrame, columnName: String, position: Int, length: Int, randMethod: RandomMethod): DataFrame + +

                                                                      + + Permalink + + +

                                                                      Same as noiseStringOnlyColumn(src, columeName, strHandle), but +the given parameter is different.

                                                                      Same as noiseStringOnlyColumn(src, columeName, strHandle), but +the given parameter is different. +

                                                                      src

                                                                      Dataframe to anonymize

                                                                      columnName

                                                                      Column to be anonymized

                                                                      position

                                                                      The position to add noises

                                                                      length

                                                                      The length of generated noises

                                                                      randMethod

                                                                      How to make the random string

                                                                      returns

                                                                      DataFrame Anonymized dataframe

                                                                      +
                                                                    28. + + +

                                                                      + + + def + + + noiseStringOnlyColumn(src: DataFrame, columnName: String, strHandle: StringHandle): DataFrame + +

                                                                      + + Permalink + + +

                                                                      Performs random noise operations on the given string column.

                                                                      Performs random noise operations on the given string column. Note that +this column is only composed of string data. In this case, +random noises are inserted at specific position. +

                                                                      src

                                                                      Dataframe to anonymize

                                                                      columnName

                                                                      Column to be anonymized

                                                                      strHandle

                                                                      The method to generate noises

                                                                      returns

                                                                      DataFrame Anonymized dataframe

                                                                      +
                                                                    29. + + +

                                                                      + + final + def + + + notify(): Unit + +

                                                                      + + Permalink + + +
                                                                      Definition Classes
                                                                      AnyRef
                                                                      +
                                                                    30. + + +

                                                                      + + final + def + + + notifyAll(): Unit + +

                                                                      + + Permalink + + +
                                                                      Definition Classes
                                                                      AnyRef
                                                                      +
                                                                    31. + + +

                                                                      + + + def + + + operate(df: DataFrame): DataFrame + +

                                                                      + + Permalink + + +

                                                                      Operates random noise module for basic de-identification +

                                                                      Operates random noise module for basic de-identification +

                                                                      df

                                                                      Input dataframe

                                                                      returns

                                                                      DataFrame Anonymized dataframe

                                                                      Definition Classes
                                                                      RandomNoiseOperator → BaseGenericOperator → BaseGenericMutantOperator
                                                                      +
                                                                    32. + + +

                                                                      + + + val + + + p: RandomNoiseInfo + +

                                                                      + + Permalink + + + +
                                                                    33. + + +

                                                                      + + + val + + + privacy: PrivacyCheckInfo + +

                                                                      + + Permalink + + +
                                                                      Definition Classes
                                                                      BasePrivacyAnonymizer
                                                                      +
                                                                    34. + + +

                                                                      + + + def + + + stop: Unit + +

                                                                      + + Permalink + + +
                                                                      Definition Classes
                                                                      BaseGenericOperator → BaseGenericMutantOperator
                                                                      +
                                                                    35. + + +

                                                                      + + final + def + + + synchronized[T0](arg0: ⇒ T0): T0 + +

                                                                      + + Permalink + + +
                                                                      Definition Classes
                                                                      AnyRef
                                                                      +
                                                                    36. + + +

                                                                      + + + def + + + toString(): String + +

                                                                      + + Permalink + + +
                                                                      Definition Classes
                                                                      AnyRef → Any
                                                                      +
                                                                    37. + + +

                                                                      + + final + def + + + wait(): Unit + +

                                                                      + + Permalink + + +
                                                                      Definition Classes
                                                                      AnyRef
                                                                      Annotations
                                                                      + @throws( + + ... + ) + +
                                                                      +
                                                                    38. + + +

                                                                      + + final + def + + + wait(arg0: Long, arg1: Int): Unit + +

                                                                      + + Permalink + + +
                                                                      Definition Classes
                                                                      AnyRef
                                                                      Annotations
                                                                      + @throws( + + ... + ) + +
                                                                      +
                                                                    39. + + +

                                                                      + + final + def + + + wait(arg0: Long): Unit + +

                                                                      + + Permalink + + +
                                                                      Definition Classes
                                                                      AnyRef
                                                                      Annotations
                                                                      + @throws( + + ... + ) + +
                                                                      +
                                                                    +
                                                                    + + + + +
                                                                    + +
                                                                    +
                                                                    +

                                                                    Inherited from BasePrivacyAnonymizer

                                                                    +
                                                                    +

                                                                    Inherited from DataFrameCheck

                                                                    +
                                                                    +

                                                                    Inherited from BaseDataOperator[StreamOperatorInfo, DataFrame]

                                                                    +
                                                                    +

                                                                    Inherited from BaseGenericOperator[StreamOperatorInfo, DataFrame]

                                                                    +
                                                                    +

                                                                    Inherited from BaseGenericMutantOperator[StreamOperatorInfo, DataFrame, DataFrame]

                                                                    +
                                                                    +

                                                                    Inherited from BaseDoer

                                                                    +
                                                                    +

                                                                    Inherited from Logging

                                                                    +
                                                                    +

                                                                    Inherited from Serializable

                                                                    +
                                                                    +

                                                                    Inherited from Serializable

                                                                    +
                                                                    +

                                                                    Inherited from AnyRef

                                                                    +
                                                                    +

                                                                    Inherited from Any

                                                                    +
                                                                    + +
                                                                    + +
                                                                    +
                                                                    +

                                                                    Ungrouped

                                                                    + +
                                                                    +
                                                                    + +
                                                                    + +
                                                                    + + + + + + diff --git a/manual1903/api_reference/didentification/scaladocs/ksb/csle/didentification/privacy/RandomRoundingOperator$.html b/manual1903/api_reference/didentification/scaladocs/ksb/csle/didentification/privacy/RandomRoundingOperator$.html new file mode 100644 index 0000000000000000000000000000000000000000..99ddd55974008206ab26e7892df5c582dde65a65 --- /dev/null +++ b/manual1903/api_reference/didentification/scaladocs/ksb/csle/didentification/privacy/RandomRoundingOperator$.html @@ -0,0 +1,505 @@ + + + + RandomRoundingOperator - KSB DEIDENTIFICATION Scala App Project 1.0-SNAPSHOT API - ksb.csle.didentification.privacy.RandomRoundingOperator + + + + + + + + + + + + + + + + + +

                                                                    + + + object + + + RandomRoundingOperator extends Serializable + +

                                                                    + +
                                                                    + Linear Supertypes +
                                                                    Serializable, Serializable, AnyRef, Any
                                                                    +
                                                                    + + +
                                                                    +
                                                                    +
                                                                    + Ordering +
                                                                      + +
                                                                    1. Alphabetic
                                                                    2. +
                                                                    3. By Inheritance
                                                                    4. +
                                                                    +
                                                                    +
                                                                    + Inherited
                                                                    +
                                                                    +
                                                                      +
                                                                    1. RandomRoundingOperator
                                                                    2. Serializable
                                                                    3. Serializable
                                                                    4. AnyRef
                                                                    5. Any
                                                                    6. +
                                                                    +
                                                                    + +
                                                                      +
                                                                    1. Hide All
                                                                    2. +
                                                                    3. Show All
                                                                    4. +
                                                                    +
                                                                    +
                                                                    + Visibility +
                                                                    1. Public
                                                                    2. All
                                                                    +
                                                                    +
                                                                    + +
                                                                    +
                                                                    + + + + + + +
                                                                    +

                                                                    Value Members

                                                                    +
                                                                    1. + + +

                                                                      + + final + def + + + !=(arg0: Any): Boolean + +

                                                                      + + Permalink + + +
                                                                      Definition Classes
                                                                      AnyRef → Any
                                                                      +
                                                                    2. + + +

                                                                      + + final + def + + + ##(): Int + +

                                                                      + + Permalink + + +
                                                                      Definition Classes
                                                                      AnyRef → Any
                                                                      +
                                                                    3. + + +

                                                                      + + final + def + + + ==(arg0: Any): Boolean + +

                                                                      + + Permalink + + +
                                                                      Definition Classes
                                                                      AnyRef → Any
                                                                      +
                                                                    4. + + +

                                                                      + + + def + + + apply(o: StreamOperatorInfo): RandomRoundingOperator + +

                                                                      + + Permalink + + + +
                                                                    5. + + +

                                                                      + + final + def + + + asInstanceOf[T0]: T0 + +

                                                                      + + Permalink + + +
                                                                      Definition Classes
                                                                      Any
                                                                      +
                                                                    6. + + +

                                                                      + + + def + + + clone(): AnyRef + +

                                                                      + + Permalink + + +
                                                                      Attributes
                                                                      protected[java.lang]
                                                                      Definition Classes
                                                                      AnyRef
                                                                      Annotations
                                                                      + @throws( + + ... + ) + +
                                                                      +
                                                                    7. + + +

                                                                      + + final + def + + + eq(arg0: AnyRef): Boolean + +

                                                                      + + Permalink + + +
                                                                      Definition Classes
                                                                      AnyRef
                                                                      +
                                                                    8. + + +

                                                                      + + + def + + + equals(arg0: Any): Boolean + +

                                                                      + + Permalink + + +
                                                                      Definition Classes
                                                                      AnyRef → Any
                                                                      +
                                                                    9. + + +

                                                                      + + + def + + + finalize(): Unit + +

                                                                      + + Permalink + + +
                                                                      Attributes
                                                                      protected[java.lang]
                                                                      Definition Classes
                                                                      AnyRef
                                                                      Annotations
                                                                      + @throws( + + classOf[java.lang.Throwable] + ) + +
                                                                      +
                                                                    10. + + +

                                                                      + + final + def + + + getClass(): Class[_] + +

                                                                      + + Permalink + + +
                                                                      Definition Classes
                                                                      AnyRef → Any
                                                                      +
                                                                    11. + + +

                                                                      + + + def + + + hashCode(): Int + +

                                                                      + + Permalink + + +
                                                                      Definition Classes
                                                                      AnyRef → Any
                                                                      +
                                                                    12. + + +

                                                                      + + final + def + + + isInstanceOf[T0]: Boolean + +

                                                                      + + Permalink + + +
                                                                      Definition Classes
                                                                      Any
                                                                      +
                                                                    13. + + +

                                                                      + + final + def + + + ne(arg0: AnyRef): Boolean + +

                                                                      + + Permalink + + +
                                                                      Definition Classes
                                                                      AnyRef
                                                                      +
                                                                    14. + + +

                                                                      + + final + def + + + notify(): Unit + +

                                                                      + + Permalink + + +
                                                                      Definition Classes
                                                                      AnyRef
                                                                      +
                                                                    15. + + +

                                                                      + + final + def + + + notifyAll(): Unit + +

                                                                      + + Permalink + + +
                                                                      Definition Classes
                                                                      AnyRef
                                                                      +
                                                                    16. + + +

                                                                      + + final + def + + + synchronized[T0](arg0: ⇒ T0): T0 + +

                                                                      + + Permalink + + +
                                                                      Definition Classes
                                                                      AnyRef
                                                                      +
                                                                    17. + + +

                                                                      + + + def + + + toString(): String + +

                                                                      + + Permalink + + +
                                                                      Definition Classes
                                                                      AnyRef → Any
                                                                      +
                                                                    18. + + +

                                                                      + + final + def + + + wait(): Unit + +

                                                                      + + Permalink + + +
                                                                      Definition Classes
                                                                      AnyRef
                                                                      Annotations
                                                                      + @throws( + + ... + ) + +
                                                                      +
                                                                    19. + + +

                                                                      + + final + def + + + wait(arg0: Long, arg1: Int): Unit + +

                                                                      + + Permalink + + +
                                                                      Definition Classes
                                                                      AnyRef
                                                                      Annotations
                                                                      + @throws( + + ... + ) + +
                                                                      +
                                                                    20. + + +

                                                                      + + final + def + + + wait(arg0: Long): Unit + +

                                                                      + + Permalink + + +
                                                                      Definition Classes
                                                                      AnyRef
                                                                      Annotations
                                                                      + @throws( + + ... + ) + +
                                                                      +
                                                                    +
                                                                    + + + + +
                                                                    + +
                                                                    +
                                                                    +

                                                                    Inherited from Serializable

                                                                    +
                                                                    +

                                                                    Inherited from Serializable

                                                                    +
                                                                    +

                                                                    Inherited from AnyRef

                                                                    +
                                                                    +

                                                                    Inherited from Any

                                                                    +
                                                                    + +
                                                                    + +
                                                                    +
                                                                    +

                                                                    Ungrouped

                                                                    + +
                                                                    +
                                                                    + +
                                                                    + +
                                                                    + + + + + + diff --git a/manual1903/api_reference/didentification/scaladocs/ksb/csle/didentification/privacy/RandomRoundingOperator.html b/manual1903/api_reference/didentification/scaladocs/ksb/csle/didentification/privacy/RandomRoundingOperator.html new file mode 100644 index 0000000000000000000000000000000000000000..e8078fa3101c10fffda693e0d2fd054db2471e11 --- /dev/null +++ b/manual1903/api_reference/didentification/scaladocs/ksb/csle/didentification/privacy/RandomRoundingOperator.html @@ -0,0 +1,849 @@ + + + + RandomRoundingOperator - KSB DEIDENTIFICATION Scala App Project 1.0-SNAPSHOT API - ksb.csle.didentification.privacy.RandomRoundingOperator + + + + + + + + + + + + + + + + + +

                                                                    + + + class + + + RandomRoundingOperator extends BasePrivacyAnonymizer + +

                                                                    + +

                                                                    :: ApplicationDeveloperApi ::

                                                                    Operator that implements the random rounding module in the Data Suppression +algorithm. Compared to rounding module in Algorithm algorithm which is only +applicable on numerical values, it can be applied on variables containing +both numerical and string values. +

                                                                    + Linear Supertypes +
                                                                    BasePrivacyAnonymizer, DataFrameCheck, BaseDataOperator[StreamOperatorInfo, DataFrame], BaseGenericOperator[StreamOperatorInfo, DataFrame], BaseGenericMutantOperator[StreamOperatorInfo, DataFrame, DataFrame], BaseDoer, Logging, Serializable, Serializable, AnyRef, Any
                                                                    +
                                                                    + + +
                                                                    +
                                                                    +
                                                                    + Ordering +
                                                                      + +
                                                                    1. Alphabetic
                                                                    2. +
                                                                    3. By Inheritance
                                                                    4. +
                                                                    +
                                                                    +
                                                                    + Inherited
                                                                    +
                                                                    +
                                                                      +
                                                                    1. RandomRoundingOperator
                                                                    2. BasePrivacyAnonymizer
                                                                    3. DataFrameCheck
                                                                    4. BaseDataOperator
                                                                    5. BaseGenericOperator
                                                                    6. BaseGenericMutantOperator
                                                                    7. BaseDoer
                                                                    8. Logging
                                                                    9. Serializable
                                                                    10. Serializable
                                                                    11. AnyRef
                                                                    12. Any
                                                                    13. +
                                                                    +
                                                                    + +
                                                                      +
                                                                    1. Hide All
                                                                    2. +
                                                                    3. Show All
                                                                    4. +
                                                                    +
                                                                    +
                                                                    + Visibility +
                                                                    1. Public
                                                                    2. All
                                                                    +
                                                                    +
                                                                    + +
                                                                    +
                                                                    +
                                                                    +

                                                                    Instance Constructors

                                                                    +
                                                                    1. + + +

                                                                      + + + new + + + RandomRoundingOperator(o: StreamOperatorInfo) + +

                                                                      + + Permalink + + +

                                                                      o

                                                                      Object that contains message + ksb.csle.common.proto.StreamDidentProto.RandomRoundingInfo + RandomRoundingInfo contains attributes as follows:

                                                                      • selectedColumnId: Column ID to apply the random rounding function
                                                                      • roundStep: round step
                                                                      • method: round up, round down, or round
                                                                      • fieldInfo: the info about column attributes (identifier, sensitive, ..)
                                                                      • check: the method how to verify the performance of anonymized data

                                                                      RandomRoundingInfo

                                                                      enum RoundingMethod {
                                                                      +  ROUND = 0;
                                                                      +  ROUND_UP = 1;
                                                                      +  ROUND_DOWN = 2;
                                                                      +}
                                                                      +message RandomRoundingInfo {
                                                                      +  repeated int32 selectedColumnId = 1;
                                                                      +  required int32 roundStep = 2 [default = 10];
                                                                      +  required RoundingMethod method = 3 [default = ROUND];
                                                                      +  repeated FieldInfo fieldInfo = 4;
                                                                      +  optional PrivacyCheckInfo check = 5;
                                                                      +}
                                                                      +
                                                                    +
                                                                    + + + + + +
                                                                    +

                                                                    Value Members

                                                                    +
                                                                    1. + + +

                                                                      + + final + def + + + !=(arg0: Any): Boolean + +

                                                                      + + Permalink + + +
                                                                      Definition Classes
                                                                      AnyRef → Any
                                                                      +
                                                                    2. + + +

                                                                      + + final + def + + + ##(): Int + +

                                                                      + + Permalink + + +
                                                                      Definition Classes
                                                                      AnyRef → Any
                                                                      +
                                                                    3. + + +

                                                                      + + final + def + + + ==(arg0: Any): Boolean + +

                                                                      + + Permalink + + +
                                                                      Definition Classes
                                                                      AnyRef → Any
                                                                      +
                                                                    4. + + +

                                                                      + + + def + + + anonymize(src: DataFrame, columnNames: Array[String]): DataFrame + +

                                                                      + + Permalink + + +
                                                                      Definition Classes
                                                                      BasePrivacyAnonymizer
                                                                      +
                                                                    5. + + +

                                                                      + + + def + + + anonymize(src: DataFrame, columnName: String): DataFrame + +

                                                                      + + Permalink + + +

                                                                      Anonymizes the column specified in src dataframe +using generic 'Type' method.

                                                                      Anonymizes the column specified in src dataframe +using generic 'Type' method. The 'Type' is decided by +inherited object module. +

                                                                      src

                                                                      Dataframe to anonymize

                                                                      columnName

                                                                      Column to be anonymized

                                                                      returns

                                                                      DataFrame The dataframe which replaces original column +with anonymized column

                                                                      Definition Classes
                                                                      BasePrivacyAnonymizer
                                                                      +
                                                                    6. + + +

                                                                      + + + def + + + anonymizeColumn(src: DataFrame, columnName: String): DataFrame + +

                                                                      + + Permalink + + +

                                                                      Rounds the value of column in src dataframe w.r.t.

                                                                      Rounds the value of column in src dataframe w.r.t. 'roundType' method +

                                                                      src

                                                                      Dataframe to anonymize

                                                                      columnName

                                                                      Column to apply rounding

                                                                      returns

                                                                      DataFrame Anonymized dataframe

                                                                      Definition Classes
                                                                      RandomRoundingOperatorBasePrivacyAnonymizer
                                                                      +
                                                                    7. + + +

                                                                      + + final + def + + + asInstanceOf[T0]: T0 + +

                                                                      + + Permalink + + +
                                                                      Definition Classes
                                                                      Any
                                                                      +
                                                                    8. + + +

                                                                      + + + def + + + clone(): AnyRef + +

                                                                      + + Permalink + + +
                                                                      Attributes
                                                                      protected[java.lang]
                                                                      Definition Classes
                                                                      AnyRef
                                                                      Annotations
                                                                      + @throws( + + ... + ) + +
                                                                      +
                                                                    9. + + +

                                                                      + + final + def + + + eq(arg0: AnyRef): Boolean + +

                                                                      + + Permalink + + +
                                                                      Definition Classes
                                                                      AnyRef
                                                                      +
                                                                    10. + + +

                                                                      + + + def + + + equals(arg0: Any): Boolean + +

                                                                      + + Permalink + + +
                                                                      Definition Classes
                                                                      AnyRef → Any
                                                                      +
                                                                    11. + + +

                                                                      + + + def + + + finalize(): Unit + +

                                                                      + + Permalink + + +
                                                                      Attributes
                                                                      protected[java.lang]
                                                                      Definition Classes
                                                                      AnyRef
                                                                      Annotations
                                                                      + @throws( + + classOf[java.lang.Throwable] + ) + +
                                                                      +
                                                                    12. + + +

                                                                      + + final + def + + + getClass(): Class[_] + +

                                                                      + + Permalink + + +
                                                                      Definition Classes
                                                                      AnyRef → Any
                                                                      +
                                                                    13. + + +

                                                                      + + + def + + + getColumnName(src: DataFrame, columnId: Int): String + +

                                                                      + + Permalink + + +

                                                                      Returns column name from src dataframe +specified by the column ID defined by protobuf.

                                                                      Returns column name from src dataframe +specified by the column ID defined by protobuf. +

                                                                      src

                                                                      dataframe to get names of columns.

                                                                      columnId

                                                                      column ID to anonymize.

                                                                      returns

                                                                      String.

                                                                      Definition Classes
                                                                      DataFrameCheck
                                                                      +
                                                                    14. + + +

                                                                      + + + def + + + getColumnNames(src: DataFrame, columnIDs: Array[Int]): Array[String] + +

                                                                      + + Permalink + + +

                                                                      Returns column names from src dataframe specified by column IDs.

                                                                      Returns column names from src dataframe specified by column IDs. +Note that the column with invalid IDs are ignored. +

                                                                      src

                                                                      dataframe to get names of columns.

                                                                      returns

                                                                      Array[String].

                                                                      Definition Classes
                                                                      DataFrameCheck
                                                                      +
                                                                    15. + + +

                                                                      + + + def + + + getQuasiColumnIDs(fieldInfos: Array[FieldInfo]): Array[Int] + +

                                                                      + + Permalink + + +
                                                                      Definition Classes
                                                                      DataFrameCheck
                                                                      +
                                                                    16. + + +

                                                                      + + + def + + + getSensColumnIDs(fieldInfos: Array[FieldInfo]): Array[Int] + +

                                                                      + + Permalink + + +
                                                                      Definition Classes
                                                                      DataFrameCheck
                                                                      +
                                                                    17. + + +

                                                                      + + + def + + + getValidColumnIDs(src: DataFrame, columnIDs: Array[Int]): Array[Int] + +

                                                                      + + Permalink + + +
                                                                      Definition Classes
                                                                      DataFrameCheck
                                                                      +
                                                                    18. + + +

                                                                      + + + def + + + hashCode(): Int + +

                                                                      + + Permalink + + +
                                                                      Definition Classes
                                                                      AnyRef → Any
                                                                      +
                                                                    19. + + +

                                                                      + + final + def + + + isInstanceOf[T0]: Boolean + +

                                                                      + + Permalink + + +
                                                                      Definition Classes
                                                                      Any
                                                                      +
                                                                    20. + + +

                                                                      + + + def + + + isValidColumnID(src: DataFrame, columnID: Int): Boolean + +

                                                                      + + Permalink + + +

                                                                      Checks the given column ID is valid.

                                                                      Checks the given column ID is valid. +

                                                                      src

                                                                      dataframe to get names of columns.

                                                                      returns

                                                                      Boolean.

                                                                      Definition Classes
                                                                      DataFrameCheck
                                                                      +
                                                                    21. + + +

                                                                      + + + def + + + isValidColumnName(src: DataFrame, columnName: String): Boolean + +

                                                                      + + Permalink + + +

                                                                      Checks the given column Name is valid.

                                                                      Checks the given column Name is valid. +

                                                                      src

                                                                      dataframe to get names of columns.

                                                                      columnName

                                                                      column Name.

                                                                      returns

                                                                      Boolean.

                                                                      Definition Classes
                                                                      DataFrameCheck
                                                                      +
                                                                    22. + + +

                                                                      + + + val + + + logger: Logger + +

                                                                      + + Permalink + + +
                                                                      Attributes
                                                                      protected
                                                                      Definition Classes
                                                                      Logging
                                                                      +
                                                                    23. + + +

                                                                      + + final + def + + + ne(arg0: AnyRef): Boolean + +

                                                                      + + Permalink + + +
                                                                      Definition Classes
                                                                      AnyRef
                                                                      +
                                                                    24. + + +

                                                                      + + final + def + + + notify(): Unit + +

                                                                      + + Permalink + + +
                                                                      Definition Classes
                                                                      AnyRef
                                                                      +
                                                                    25. + + +

                                                                      + + final + def + + + notifyAll(): Unit + +

                                                                      + + Permalink + + +
                                                                      Definition Classes
                                                                      AnyRef
                                                                      +
                                                                    26. + + +

                                                                      + + + def + + + operate(df: DataFrame): DataFrame + +

                                                                      + + Permalink + + +

                                                                      Operates random rounding module for basic de-identification +

                                                                      Operates random rounding module for basic de-identification +

                                                                      df

                                                                      Input dataframe

                                                                      returns

                                                                      DataFrame Anonymized dataframe

                                                                      Definition Classes
                                                                      RandomRoundingOperator → BaseGenericOperator → BaseGenericMutantOperator
                                                                      +
                                                                    27. + + +

                                                                      + + + val + + + p: RandomRoundingInfo + +

                                                                      + + Permalink + + + +
                                                                    28. + + +

                                                                      + + + val + + + privacy: PrivacyCheckInfo + +

                                                                      + + Permalink + + +
                                                                      Definition Classes
                                                                      BasePrivacyAnonymizer
                                                                      +
                                                                    29. + + +

                                                                      + + + def + + + roundingStringColumn[T](src: DataFrame, columnName: String, tick: Int, roundType: T): DataFrame + +

                                                                      + + Permalink + + +

                                                                      Same as roundingStringColumn(src, columnName, roundType).

                                                                      Same as roundingStringColumn(src, columnName, roundType). +

                                                                      src

                                                                      Dataframe to anonymize

                                                                      columnName

                                                                      Column to apply rounding

                                                                      tick

                                                                      Unit of rounding, initial value is 10.

                                                                      roundType

                                                                      Method of rounding modules (ex., round, round-up, round-down)

                                                                      returns

                                                                      DataFrame Anonymized dataframe

                                                                      +
                                                                    30. + + +

                                                                      + + + def + + + roundingStringColumn[T](src: DataFrame, columnName: String, roundType: T): DataFrame + +

                                                                      + + Permalink + + +

                                                                      Some columns may contain both numerical and non-numerical +values simultaneously, i.e., 21K, $45, etc.

                                                                      Some columns may contain both numerical and non-numerical +values simultaneously, i.e., 21K, $45, etc. In this case, this +function extracts the numerical parts, and then only replaces them +with calculated statistic info defined by 'roundType' method. +

                                                                      src

                                                                      Dataframe to anonymize

                                                                      columnName

                                                                      Column to apply rounding

                                                                      roundType

                                                                      Method of rounding modules (ex., round, round-up, round-down)

                                                                      returns

                                                                      DataFrame Anonymized dataframe

                                                                      +
                                                                    31. + + +

                                                                      + + + def + + + stop: Unit + +

                                                                      + + Permalink + + +
                                                                      Definition Classes
                                                                      BaseGenericOperator → BaseGenericMutantOperator
                                                                      +
                                                                    32. + + +

                                                                      + + final + def + + + synchronized[T0](arg0: ⇒ T0): T0 + +

                                                                      + + Permalink + + +
                                                                      Definition Classes
                                                                      AnyRef
                                                                      +
                                                                    33. + + +

                                                                      + + + def + + + toString(): String + +

                                                                      + + Permalink + + +
                                                                      Definition Classes
                                                                      AnyRef → Any
                                                                      +
                                                                    34. + + +

                                                                      + + final + def + + + wait(): Unit + +

                                                                      + + Permalink + + +
                                                                      Definition Classes
                                                                      AnyRef
                                                                      Annotations
                                                                      + @throws( + + ... + ) + +
                                                                      +
                                                                    35. + + +

                                                                      + + final + def + + + wait(arg0: Long, arg1: Int): Unit + +

                                                                      + + Permalink + + +
                                                                      Definition Classes
                                                                      AnyRef
                                                                      Annotations
                                                                      + @throws( + + ... + ) + +
                                                                      +
                                                                    36. + + +

                                                                      + + final + def + + + wait(arg0: Long): Unit + +

                                                                      + + Permalink + + +
                                                                      Definition Classes
                                                                      AnyRef
                                                                      Annotations
                                                                      + @throws( + + ... + ) + +
                                                                      +
                                                                    +
                                                                    + + + + +
                                                                    + +
                                                                    +
                                                                    +

                                                                    Inherited from BasePrivacyAnonymizer

                                                                    +
                                                                    +

                                                                    Inherited from DataFrameCheck

                                                                    +
                                                                    +

                                                                    Inherited from BaseDataOperator[StreamOperatorInfo, DataFrame]

                                                                    +
                                                                    +

                                                                    Inherited from BaseGenericOperator[StreamOperatorInfo, DataFrame]

                                                                    +
                                                                    +

                                                                    Inherited from BaseGenericMutantOperator[StreamOperatorInfo, DataFrame, DataFrame]

                                                                    +
                                                                    +

                                                                    Inherited from BaseDoer

                                                                    +
                                                                    +

                                                                    Inherited from Logging

                                                                    +
                                                                    +

                                                                    Inherited from Serializable

                                                                    +
                                                                    +

                                                                    Inherited from Serializable

                                                                    +
                                                                    +

                                                                    Inherited from AnyRef

                                                                    +
                                                                    +

                                                                    Inherited from Any

                                                                    +
                                                                    + +
                                                                    + +
                                                                    +
                                                                    +

                                                                    Ungrouped

                                                                    + +
                                                                    +
                                                                    + +
                                                                    + +
                                                                    + + + + + + diff --git a/manual1903/api_reference/didentification/scaladocs/ksb/csle/didentification/privacy/RearrangeOperator$.html b/manual1903/api_reference/didentification/scaladocs/ksb/csle/didentification/privacy/RearrangeOperator$.html new file mode 100644 index 0000000000000000000000000000000000000000..2e7da00154bfc4ccde2b820b56044af06b3dff0d --- /dev/null +++ b/manual1903/api_reference/didentification/scaladocs/ksb/csle/didentification/privacy/RearrangeOperator$.html @@ -0,0 +1,505 @@ + + + + RearrangeOperator - KSB DEIDENTIFICATION Scala App Project 1.0-SNAPSHOT API - ksb.csle.didentification.privacy.RearrangeOperator + + + + + + + + + + + + + + + + + +

                                                                    + + + object + + + RearrangeOperator extends Serializable + +

                                                                    + +
                                                                    + Linear Supertypes +
                                                                    Serializable, Serializable, AnyRef, Any
                                                                    +
                                                                    + + +
                                                                    +
                                                                    +
                                                                    + Ordering +
                                                                      + +
                                                                    1. Alphabetic
                                                                    2. +
                                                                    3. By Inheritance
                                                                    4. +
                                                                    +
                                                                    +
                                                                    + Inherited
                                                                    +
                                                                    +
                                                                      +
                                                                    1. RearrangeOperator
                                                                    2. Serializable
                                                                    3. Serializable
                                                                    4. AnyRef
                                                                    5. Any
                                                                    6. +
                                                                    +
                                                                    + +
                                                                      +
                                                                    1. Hide All
                                                                    2. +
                                                                    3. Show All
                                                                    4. +
                                                                    +
                                                                    +
                                                                    + Visibility +
                                                                    1. Public
                                                                    2. All
                                                                    +
                                                                    +
                                                                    + +
                                                                    +
                                                                    + + + + + + +
                                                                    +

                                                                    Value Members

                                                                    +
                                                                    1. + + +

                                                                      + + final + def + + + !=(arg0: Any): Boolean + +

                                                                      + + Permalink + + +
                                                                      Definition Classes
                                                                      AnyRef → Any
                                                                      +
                                                                    2. + + +

                                                                      + + final + def + + + ##(): Int + +

                                                                      + + Permalink + + +
                                                                      Definition Classes
                                                                      AnyRef → Any
                                                                      +
                                                                    3. + + +

                                                                      + + final + def + + + ==(arg0: Any): Boolean + +

                                                                      + + Permalink + + +
                                                                      Definition Classes
                                                                      AnyRef → Any
                                                                      +
                                                                    4. + + +

                                                                      + + + def + + + apply(o: StreamOperatorInfo): RearrangeOperator + +

                                                                      + + Permalink + + + +
                                                                    5. + + +

                                                                      + + final + def + + + asInstanceOf[T0]: T0 + +

                                                                      + + Permalink + + +
                                                                      Definition Classes
                                                                      Any
                                                                      +
                                                                    6. + + +

                                                                      + + + def + + + clone(): AnyRef + +

                                                                      + + Permalink + + +
                                                                      Attributes
                                                                      protected[java.lang]
                                                                      Definition Classes
                                                                      AnyRef
                                                                      Annotations
                                                                      + @throws( + + ... + ) + +
                                                                      +
                                                                    7. + + +

                                                                      + + final + def + + + eq(arg0: AnyRef): Boolean + +

                                                                      + + Permalink + + +
                                                                      Definition Classes
                                                                      AnyRef
                                                                      +
                                                                    8. + + +

                                                                      + + + def + + + equals(arg0: Any): Boolean + +

                                                                      + + Permalink + + +
                                                                      Definition Classes
                                                                      AnyRef → Any
                                                                      +
                                                                    9. + + +

                                                                      + + + def + + + finalize(): Unit + +

                                                                      + + Permalink + + +
                                                                      Attributes
                                                                      protected[java.lang]
                                                                      Definition Classes
                                                                      AnyRef
                                                                      Annotations
                                                                      + @throws( + + classOf[java.lang.Throwable] + ) + +
                                                                      +
                                                                    10. + + +

                                                                      + + final + def + + + getClass(): Class[_] + +

                                                                      + + Permalink + + +
                                                                      Definition Classes
                                                                      AnyRef → Any
                                                                      +
                                                                    11. + + +

                                                                      + + + def + + + hashCode(): Int + +

                                                                      + + Permalink + + +
                                                                      Definition Classes
                                                                      AnyRef → Any
                                                                      +
                                                                    12. + + +

                                                                      + + final + def + + + isInstanceOf[T0]: Boolean + +

                                                                      + + Permalink + + +
                                                                      Definition Classes
                                                                      Any
                                                                      +
                                                                    13. + + +

                                                                      + + final + def + + + ne(arg0: AnyRef): Boolean + +

                                                                      + + Permalink + + +
                                                                      Definition Classes
                                                                      AnyRef
                                                                      +
                                                                    14. + + +

                                                                      + + final + def + + + notify(): Unit + +

                                                                      + + Permalink + + +
                                                                      Definition Classes
                                                                      AnyRef
                                                                      +
                                                                    15. + + +

                                                                      + + final + def + + + notifyAll(): Unit + +

                                                                      + + Permalink + + +
                                                                      Definition Classes
                                                                      AnyRef
                                                                      +
                                                                    16. + + +

                                                                      + + final + def + + + synchronized[T0](arg0: ⇒ T0): T0 + +

                                                                      + + Permalink + + +
                                                                      Definition Classes
                                                                      AnyRef
                                                                      +
                                                                    17. + + +

                                                                      + + + def + + + toString(): String + +

                                                                      + + Permalink + + +
                                                                      Definition Classes
                                                                      AnyRef → Any
                                                                      +
                                                                    18. + + +

                                                                      + + final + def + + + wait(): Unit + +

                                                                      + + Permalink + + +
                                                                      Definition Classes
                                                                      AnyRef
                                                                      Annotations
                                                                      + @throws( + + ... + ) + +
                                                                      +
                                                                    19. + + +

                                                                      + + final + def + + + wait(arg0: Long, arg1: Int): Unit + +

                                                                      + + Permalink + + +
                                                                      Definition Classes
                                                                      AnyRef
                                                                      Annotations
                                                                      + @throws( + + ... + ) + +
                                                                      +
                                                                    20. + + +

                                                                      + + final + def + + + wait(arg0: Long): Unit + +

                                                                      + + Permalink + + +
                                                                      Definition Classes
                                                                      AnyRef
                                                                      Annotations
                                                                      + @throws( + + ... + ) + +
                                                                      +
                                                                    +
                                                                    + + + + +
                                                                    + +
                                                                    +
                                                                    +

                                                                    Inherited from Serializable

                                                                    +
                                                                    +

                                                                    Inherited from Serializable

                                                                    +
                                                                    +

                                                                    Inherited from AnyRef

                                                                    +
                                                                    +

                                                                    Inherited from Any

                                                                    +
                                                                    + +
                                                                    + +
                                                                    +
                                                                    +

                                                                    Ungrouped

                                                                    + +
                                                                    +
                                                                    + +
                                                                    + +
                                                                    + + + + + + diff --git a/manual1903/api_reference/didentification/scaladocs/ksb/csle/didentification/privacy/RearrangeOperator.html b/manual1903/api_reference/didentification/scaladocs/ksb/csle/didentification/privacy/RearrangeOperator.html new file mode 100644 index 0000000000000000000000000000000000000000..eaaff82f78d8023c235738c66800f329476aa60c --- /dev/null +++ b/manual1903/api_reference/didentification/scaladocs/ksb/csle/didentification/privacy/RearrangeOperator.html @@ -0,0 +1,870 @@ + + + + RearrangeOperator - KSB DEIDENTIFICATION Scala App Project 1.0-SNAPSHOT API - ksb.csle.didentification.privacy.RearrangeOperator + + + + + + + + + + + + + + + + + +

                                                                    + + + class + + + RearrangeOperator extends BasePrivacyAnonymizer + +

                                                                    + +

                                                                    :: ApplicationDeveloperApi ::

                                                                    Operator that implements the rearrangement module in the aggregation +algorithm. The model swaps some records in the given column each other. +- The user can configure the records to be rearranged manually. +- Or, the records to be rearranged can be automatically done according +to the given ratio. That is, if the ratio is 0.5, the half of total records +are randomly rearranged each other. +

                                                                    + Linear Supertypes +
                                                                    BasePrivacyAnonymizer, DataFrameCheck, BaseDataOperator[StreamOperatorInfo, DataFrame], BaseGenericOperator[StreamOperatorInfo, DataFrame], BaseGenericMutantOperator[StreamOperatorInfo, DataFrame, DataFrame], BaseDoer, Logging, Serializable, Serializable, AnyRef, Any
                                                                    +
                                                                    + + +
                                                                    +
                                                                    +
                                                                    + Ordering +
                                                                      + +
                                                                    1. Alphabetic
                                                                    2. +
                                                                    3. By Inheritance
                                                                    4. +
                                                                    +
                                                                    +
                                                                    + Inherited
                                                                    +
                                                                    +
                                                                      +
                                                                    1. RearrangeOperator
                                                                    2. BasePrivacyAnonymizer
                                                                    3. DataFrameCheck
                                                                    4. BaseDataOperator
                                                                    5. BaseGenericOperator
                                                                    6. BaseGenericMutantOperator
                                                                    7. BaseDoer
                                                                    8. Logging
                                                                    9. Serializable
                                                                    10. Serializable
                                                                    11. AnyRef
                                                                    12. Any
                                                                    13. +
                                                                    +
                                                                    + +
                                                                      +
                                                                    1. Hide All
                                                                    2. +
                                                                    3. Show All
                                                                    4. +
                                                                    +
                                                                    +
                                                                    + Visibility +
                                                                    1. Public
                                                                    2. All
                                                                    +
                                                                    +
                                                                    + +
                                                                    +
                                                                    +
                                                                    +

                                                                    Instance Constructors

                                                                    +
                                                                    1. + + +

                                                                      + + + new + + + RearrangeOperator(o: StreamOperatorInfo) + +

                                                                      + + Permalink + + +

                                                                      o

                                                                      Object that contains message + ksb.csle.common.proto.StreamDidentProto.RearrangementInfo + RearrangementInfo contains attributes as follows:

                                                                      • selectedColumnId: Column ID to apply the re-arrange function
                                                                      • columnHandlePolicy: consider the given columns all together, or individually.
                                                                      • method: how to re-arrange the records (manually or randomly)
                                                                      • ratio: in case of random method, how amount of data should be re-arranged.
                                                                      • swapList: re-arrange the data according to the the given list
                                                                      • fieldInfo: the info about column attributes (identifier, sensitive, ..)
                                                                      • check: the method how to verify the performance of anonymized data

                                                                      RearrangementInfo

                                                                      enum RearrangeMethod {
                                                                      +	REARR_RANDOM = 0;
                                                                      +	REARR_MANUAL = 1;
                                                                      +}
                                                                      +message SwapList {
                                                                      +	required int32 fromRowId = 1;
                                                                      +	required int32 toRowId = 2;
                                                                      +}
                                                                      +enum ColumnHandlePolicy {
                                                                      +  ONEBYONE = 0;
                                                                      +  ALL = 1;
                                                                      +}
                                                                      +message RearrangementInfo {
                                                                      +  repeated int32 selectedColumnId = 1;
                                                                      +  required ColumnHandlePolicy columnHandlePolicy = 2 [default = ONEBYONE];
                                                                      +  required RearrangeMethod method = 3 [default = REARR_RANDOM];
                                                                      +  optional double ratio = 4 [default = 0.001];
                                                                      +  repeated SwapList swapList = 5;
                                                                      +  repeated FieldInfo fieldInfo = 6;
                                                                      +  optional PrivacyCheckInfo check = 7;
                                                                      +}
                                                                      +
                                                                    +
                                                                    + + + + + +
                                                                    +

                                                                    Value Members

                                                                    +
                                                                    1. + + +

                                                                      + + final + def + + + !=(arg0: Any): Boolean + +

                                                                      + + Permalink + + +
                                                                      Definition Classes
                                                                      AnyRef → Any
                                                                      +
                                                                    2. + + +

                                                                      + + final + def + + + ##(): Int + +

                                                                      + + Permalink + + +
                                                                      Definition Classes
                                                                      AnyRef → Any
                                                                      +
                                                                    3. + + +

                                                                      + + final + def + + + ==(arg0: Any): Boolean + +

                                                                      + + Permalink + + +
                                                                      Definition Classes
                                                                      AnyRef → Any
                                                                      +
                                                                    4. + + +

                                                                      + + + def + + + anonymize(src: DataFrame, columnNames: Array[String]): DataFrame + +

                                                                      + + Permalink + + +

                                                                      Rearranges some records of given columns each other.

                                                                      Rearranges some records of given columns each other. +

                                                                      src

                                                                      Dataframe to rearrange

                                                                      columnNames

                                                                      the array of columns to be rearranged

                                                                      returns

                                                                      DataFrame Rearranged dataframe

                                                                      Definition Classes
                                                                      RearrangeOperatorBasePrivacyAnonymizer
                                                                      Annotations
                                                                      + @throws( + + classOf[DDIFileIOException] + ) + +
                                                                      +
                                                                    5. + + +

                                                                      + + + def + + + anonymize(src: DataFrame, columnName: String): DataFrame + +

                                                                      + + Permalink + + +

                                                                      Anonymizes the column specified in src dataframe +using generic 'Type' method.

                                                                      Anonymizes the column specified in src dataframe +using generic 'Type' method. The 'Type' is decided by +inherited object module. +

                                                                      src

                                                                      Dataframe to anonymize

                                                                      columnName

                                                                      Column to be anonymized

                                                                      returns

                                                                      DataFrame The dataframe which replaces original column +with anonymized column

                                                                      Definition Classes
                                                                      BasePrivacyAnonymizer
                                                                      +
                                                                    6. + + +

                                                                      + + + def + + + anonymizeColumn(src: DataFrame, columnName: String): DataFrame + +

                                                                      + + Permalink + + +

                                                                      Applies the rearrangement function on given specified column +

                                                                      Applies the rearrangement function on given specified column +

                                                                      src

                                                                      Dataframe to anonymize

                                                                      columnName

                                                                      the column to apply the rearrangment module

                                                                      returns

                                                                      DataFrame the rearranged dataframe

                                                                      Definition Classes
                                                                      RearrangeOperatorBasePrivacyAnonymizer
                                                                      +
                                                                    7. + + +

                                                                      + + + def + + + anonymizedAll(src: DataFrame, columnNames: Array[String]): DataFrame + +

                                                                      + + Permalink + + +

                                                                      Applies the rearrangement function on given all specified columns +simultaneously.

                                                                      Applies the rearrangement function on given all specified columns +simultaneously. +

                                                                      src

                                                                      Dataframe to anonymize

                                                                      returns

                                                                      DataFrame the rearranged dataframe

                                                                      +
                                                                    8. + + +

                                                                      + + + def + + + anonymizedOneByOne(src: DataFrame, columnNames: Array[String]): DataFrame + +

                                                                      + + Permalink + + +

                                                                      Suppose there are some columns in a dataset, and the data handler +tries to to apply the rearrangement function on some of that columns.

                                                                      Suppose there are some columns in a dataset, and the data handler +tries to to apply the rearrangement function on some of that columns. +This function applies the function on each specified column individually +one-by-one. +

                                                                      src

                                                                      Dataframe to anonymize

                                                                      columnNames

                                                                      the array of columns to apply the rearrangment module

                                                                      returns

                                                                      DataFrame the rearranged dataframe

                                                                      +
                                                                    9. + + +

                                                                      + + final + def + + + asInstanceOf[T0]: T0 + +

                                                                      + + Permalink + + +
                                                                      Definition Classes
                                                                      Any
                                                                      +
                                                                    10. + + +

                                                                      + + + def + + + clone(): AnyRef + +

                                                                      + + Permalink + + +
                                                                      Attributes
                                                                      protected[java.lang]
                                                                      Definition Classes
                                                                      AnyRef
                                                                      Annotations
                                                                      + @throws( + + ... + ) + +
                                                                      +
                                                                    11. + + +

                                                                      + + final + def + + + eq(arg0: AnyRef): Boolean + +

                                                                      + + Permalink + + +
                                                                      Definition Classes
                                                                      AnyRef
                                                                      +
                                                                    12. + + +

                                                                      + + + def + + + equals(arg0: Any): Boolean + +

                                                                      + + Permalink + + +
                                                                      Definition Classes
                                                                      AnyRef → Any
                                                                      +
                                                                    13. + + +

                                                                      + + + def + + + finalize(): Unit + +

                                                                      + + Permalink + + +
                                                                      Attributes
                                                                      protected[java.lang]
                                                                      Definition Classes
                                                                      AnyRef
                                                                      Annotations
                                                                      + @throws( + + classOf[java.lang.Throwable] + ) + +
                                                                      +
                                                                    14. + + +

                                                                      + + final + def + + + getClass(): Class[_] + +

                                                                      + + Permalink + + +
                                                                      Definition Classes
                                                                      AnyRef → Any
                                                                      +
                                                                    15. + + +

                                                                      + + + def + + + getColumnName(src: DataFrame, columnId: Int): String + +

                                                                      + + Permalink + + +

                                                                      Returns column name from src dataframe +specified by the column ID defined by protobuf.

                                                                      Returns column name from src dataframe +specified by the column ID defined by protobuf. +

                                                                      src

                                                                      dataframe to get names of columns.

                                                                      columnId

                                                                      column ID to anonymize.

                                                                      returns

                                                                      String.

                                                                      Definition Classes
                                                                      DataFrameCheck
                                                                      +
                                                                    16. + + +

                                                                      + + + def + + + getColumnNames(src: DataFrame, columnIDs: Array[Int]): Array[String] + +

                                                                      + + Permalink + + +

                                                                      Returns column names from src dataframe specified by column IDs.

                                                                      Returns column names from src dataframe specified by column IDs. +Note that the column with invalid IDs are ignored. +

                                                                      src

                                                                      dataframe to get names of columns.

                                                                      returns

                                                                      Array[String].

                                                                      Definition Classes
                                                                      DataFrameCheck
                                                                      +
                                                                    17. + + +

                                                                      + + + def + + + getQuasiColumnIDs(fieldInfos: Array[FieldInfo]): Array[Int] + +

                                                                      + + Permalink + + +
                                                                      Definition Classes
                                                                      DataFrameCheck
                                                                      +
                                                                    18. + + +

                                                                      + + + def + + + getSensColumnIDs(fieldInfos: Array[FieldInfo]): Array[Int] + +

                                                                      + + Permalink + + +
                                                                      Definition Classes
                                                                      DataFrameCheck
                                                                      +
                                                                    19. + + +

                                                                      + + + def + + + getValidColumnIDs(src: DataFrame, columnIDs: Array[Int]): Array[Int] + +

                                                                      + + Permalink + + +
                                                                      Definition Classes
                                                                      DataFrameCheck
                                                                      +
                                                                    20. + + +

                                                                      + + + def + + + hashCode(): Int + +

                                                                      + + Permalink + + +
                                                                      Definition Classes
                                                                      AnyRef → Any
                                                                      +
                                                                    21. + + +

                                                                      + + final + def + + + isInstanceOf[T0]: Boolean + +

                                                                      + + Permalink + + +
                                                                      Definition Classes
                                                                      Any
                                                                      +
                                                                    22. + + +

                                                                      + + + def + + + isValidColumnID(src: DataFrame, columnID: Int): Boolean + +

                                                                      + + Permalink + + +

                                                                      Checks the given column ID is valid.

                                                                      Checks the given column ID is valid. +

                                                                      src

                                                                      dataframe to get names of columns.

                                                                      returns

                                                                      Boolean.

                                                                      Definition Classes
                                                                      DataFrameCheck
                                                                      +
                                                                    23. + + +

                                                                      + + + def + + + isValidColumnName(src: DataFrame, columnName: String): Boolean + +

                                                                      + + Permalink + + +

                                                                      Checks the given column Name is valid.

                                                                      Checks the given column Name is valid. +

                                                                      src

                                                                      dataframe to get names of columns.

                                                                      columnName

                                                                      column Name.

                                                                      returns

                                                                      Boolean.

                                                                      Definition Classes
                                                                      DataFrameCheck
                                                                      +
                                                                    24. + + +

                                                                      + + + val + + + logger: Logger + +

                                                                      + + Permalink + + +
                                                                      Attributes
                                                                      protected
                                                                      Definition Classes
                                                                      Logging
                                                                      +
                                                                    25. + + +

                                                                      + + final + def + + + ne(arg0: AnyRef): Boolean + +

                                                                      + + Permalink + + +
                                                                      Definition Classes
                                                                      AnyRef
                                                                      +
                                                                    26. + + +

                                                                      + + final + def + + + notify(): Unit + +

                                                                      + + Permalink + + +
                                                                      Definition Classes
                                                                      AnyRef
                                                                      +
                                                                    27. + + +

                                                                      + + final + def + + + notifyAll(): Unit + +

                                                                      + + Permalink + + +
                                                                      Definition Classes
                                                                      AnyRef
                                                                      +
                                                                    28. + + +

                                                                      + + + def + + + operate(df: DataFrame): DataFrame + +

                                                                      + + Permalink + + +

                                                                      Operates rearrangement module for basic de-identification +

                                                                      Operates rearrangement module for basic de-identification +

                                                                      df

                                                                      Input dataframe

                                                                      returns

                                                                      DataFrame Anonymized dataframe

                                                                      Definition Classes
                                                                      RearrangeOperator → BaseGenericOperator → BaseGenericMutantOperator
                                                                      +
                                                                    29. + + +

                                                                      + + + val + + + p: RearrangementInfo + +

                                                                      + + Permalink + + + +
                                                                    30. + + +

                                                                      + + + val + + + privacy: PrivacyCheckInfo + +

                                                                      + + Permalink + + +
                                                                      Definition Classes
                                                                      BasePrivacyAnonymizer
                                                                      +
                                                                    31. + + +

                                                                      + + + def + + + stop: Unit + +

                                                                      + + Permalink + + +
                                                                      Definition Classes
                                                                      BaseGenericOperator → BaseGenericMutantOperator
                                                                      +
                                                                    32. + + +

                                                                      + + final + def + + + synchronized[T0](arg0: ⇒ T0): T0 + +

                                                                      + + Permalink + + +
                                                                      Definition Classes
                                                                      AnyRef
                                                                      +
                                                                    33. + + +

                                                                      + + + def + + + toString(): String + +

                                                                      + + Permalink + + +
                                                                      Definition Classes
                                                                      AnyRef → Any
                                                                      +
                                                                    34. + + +

                                                                      + + final + def + + + wait(): Unit + +

                                                                      + + Permalink + + +
                                                                      Definition Classes
                                                                      AnyRef
                                                                      Annotations
                                                                      + @throws( + + ... + ) + +
                                                                      +
                                                                    35. + + +

                                                                      + + final + def + + + wait(arg0: Long, arg1: Int): Unit + +

                                                                      + + Permalink + + +
                                                                      Definition Classes
                                                                      AnyRef
                                                                      Annotations
                                                                      + @throws( + + ... + ) + +
                                                                      +
                                                                    36. + + +

                                                                      + + final + def + + + wait(arg0: Long): Unit + +

                                                                      + + Permalink + + +
                                                                      Definition Classes
                                                                      AnyRef
                                                                      Annotations
                                                                      + @throws( + + ... + ) + +
                                                                      +
                                                                    +
                                                                    + + + + +
                                                                    + +
                                                                    +
                                                                    +

                                                                    Inherited from BasePrivacyAnonymizer

                                                                    +
                                                                    +

                                                                    Inherited from DataFrameCheck

                                                                    +
                                                                    +

                                                                    Inherited from BaseDataOperator[StreamOperatorInfo, DataFrame]

                                                                    +
                                                                    +

                                                                    Inherited from BaseGenericOperator[StreamOperatorInfo, DataFrame]

                                                                    +
                                                                    +

                                                                    Inherited from BaseGenericMutantOperator[StreamOperatorInfo, DataFrame, DataFrame]

                                                                    +
                                                                    +

                                                                    Inherited from BaseDoer

                                                                    +
                                                                    +

                                                                    Inherited from Logging

                                                                    +
                                                                    +

                                                                    Inherited from Serializable

                                                                    +
                                                                    +

                                                                    Inherited from Serializable

                                                                    +
                                                                    +

                                                                    Inherited from AnyRef

                                                                    +
                                                                    +

                                                                    Inherited from Any

                                                                    +
                                                                    + +
                                                                    + +
                                                                    +
                                                                    +

                                                                    Ungrouped

                                                                    + +
                                                                    +
                                                                    + +
                                                                    + +
                                                                    + + + + + + diff --git a/manual1903/api_reference/didentification/scaladocs/ksb/csle/didentification/privacy/RecordReductionOperator$.html b/manual1903/api_reference/didentification/scaladocs/ksb/csle/didentification/privacy/RecordReductionOperator$.html new file mode 100644 index 0000000000000000000000000000000000000000..400d2dd7fa03d8e45bac9a3e48c7d5d6c7efb26b --- /dev/null +++ b/manual1903/api_reference/didentification/scaladocs/ksb/csle/didentification/privacy/RecordReductionOperator$.html @@ -0,0 +1,505 @@ + + + + RecordReductionOperator - KSB DEIDENTIFICATION Scala App Project 1.0-SNAPSHOT API - ksb.csle.didentification.privacy.RecordReductionOperator + + + + + + + + + + + + + + + + + +

                                                                    + + + object + + + RecordReductionOperator extends Serializable + +

                                                                    + +
                                                                    + Linear Supertypes +
                                                                    Serializable, Serializable, AnyRef, Any
                                                                    +
                                                                    + + +
                                                                    +
                                                                    +
                                                                    + Ordering +
                                                                      + +
                                                                    1. Alphabetic
                                                                    2. +
                                                                    3. By Inheritance
                                                                    4. +
                                                                    +
                                                                    +
                                                                    + Inherited
                                                                    +
                                                                    +
                                                                      +
                                                                    1. RecordReductionOperator
                                                                    2. Serializable
                                                                    3. Serializable
                                                                    4. AnyRef
                                                                    5. Any
                                                                    6. +
                                                                    +
                                                                    + +
                                                                      +
                                                                    1. Hide All
                                                                    2. +
                                                                    3. Show All
                                                                    4. +
                                                                    +
                                                                    +
                                                                    + Visibility +
                                                                    1. Public
                                                                    2. All
                                                                    +
                                                                    +
                                                                    + +
                                                                    +
                                                                    + + + + + + +
                                                                    +

                                                                    Value Members

                                                                    +
                                                                    1. + + +

                                                                      + + final + def + + + !=(arg0: Any): Boolean + +

                                                                      + + Permalink + + +
                                                                      Definition Classes
                                                                      AnyRef → Any
                                                                      +
                                                                    2. + + +

                                                                      + + final + def + + + ##(): Int + +

                                                                      + + Permalink + + +
                                                                      Definition Classes
                                                                      AnyRef → Any
                                                                      +
                                                                    3. + + +

                                                                      + + final + def + + + ==(arg0: Any): Boolean + +

                                                                      + + Permalink + + +
                                                                      Definition Classes
                                                                      AnyRef → Any
                                                                      +
                                                                    4. + + +

                                                                      + + + def + + + apply(o: StreamOperatorInfo): RecordReductionOperator + +

                                                                      + + Permalink + + + +
                                                                    5. + + +

                                                                      + + final + def + + + asInstanceOf[T0]: T0 + +

                                                                      + + Permalink + + +
                                                                      Definition Classes
                                                                      Any
                                                                      +
                                                                    6. + + +

                                                                      + + + def + + + clone(): AnyRef + +

                                                                      + + Permalink + + +
                                                                      Attributes
                                                                      protected[java.lang]
                                                                      Definition Classes
                                                                      AnyRef
                                                                      Annotations
                                                                      + @throws( + + ... + ) + +
                                                                      +
                                                                    7. + + +

                                                                      + + final + def + + + eq(arg0: AnyRef): Boolean + +

                                                                      + + Permalink + + +
                                                                      Definition Classes
                                                                      AnyRef
                                                                      +
                                                                    8. + + +

                                                                      + + + def + + + equals(arg0: Any): Boolean + +

                                                                      + + Permalink + + +
                                                                      Definition Classes
                                                                      AnyRef → Any
                                                                      +
                                                                    9. + + +

                                                                      + + + def + + + finalize(): Unit + +

                                                                      + + Permalink + + +
                                                                      Attributes
                                                                      protected[java.lang]
                                                                      Definition Classes
                                                                      AnyRef
                                                                      Annotations
                                                                      + @throws( + + classOf[java.lang.Throwable] + ) + +
                                                                      +
                                                                    10. + + +

                                                                      + + final + def + + + getClass(): Class[_] + +

                                                                      + + Permalink + + +
                                                                      Definition Classes
                                                                      AnyRef → Any
                                                                      +
                                                                    11. + + +

                                                                      + + + def + + + hashCode(): Int + +

                                                                      + + Permalink + + +
                                                                      Definition Classes
                                                                      AnyRef → Any
                                                                      +
                                                                    12. + + +

                                                                      + + final + def + + + isInstanceOf[T0]: Boolean + +

                                                                      + + Permalink + + +
                                                                      Definition Classes
                                                                      Any
                                                                      +
                                                                    13. + + +

                                                                      + + final + def + + + ne(arg0: AnyRef): Boolean + +

                                                                      + + Permalink + + +
                                                                      Definition Classes
                                                                      AnyRef
                                                                      +
                                                                    14. + + +

                                                                      + + final + def + + + notify(): Unit + +

                                                                      + + Permalink + + +
                                                                      Definition Classes
                                                                      AnyRef
                                                                      +
                                                                    15. + + +

                                                                      + + final + def + + + notifyAll(): Unit + +

                                                                      + + Permalink + + +
                                                                      Definition Classes
                                                                      AnyRef
                                                                      +
                                                                    16. + + +

                                                                      + + final + def + + + synchronized[T0](arg0: ⇒ T0): T0 + +

                                                                      + + Permalink + + +
                                                                      Definition Classes
                                                                      AnyRef
                                                                      +
                                                                    17. + + +

                                                                      + + + def + + + toString(): String + +

                                                                      + + Permalink + + +
                                                                      Definition Classes
                                                                      AnyRef → Any
                                                                      +
                                                                    18. + + +

                                                                      + + final + def + + + wait(): Unit + +

                                                                      + + Permalink + + +
                                                                      Definition Classes
                                                                      AnyRef
                                                                      Annotations
                                                                      + @throws( + + ... + ) + +
                                                                      +
                                                                    19. + + +

                                                                      + + final + def + + + wait(arg0: Long, arg1: Int): Unit + +

                                                                      + + Permalink + + +
                                                                      Definition Classes
                                                                      AnyRef
                                                                      Annotations
                                                                      + @throws( + + ... + ) + +
                                                                      +
                                                                    20. + + +

                                                                      + + final + def + + + wait(arg0: Long): Unit + +

                                                                      + + Permalink + + +
                                                                      Definition Classes
                                                                      AnyRef
                                                                      Annotations
                                                                      + @throws( + + ... + ) + +
                                                                      +
                                                                    +
                                                                    + + + + +
                                                                    + +
                                                                    +
                                                                    +

                                                                    Inherited from Serializable

                                                                    +
                                                                    +

                                                                    Inherited from Serializable

                                                                    +
                                                                    +

                                                                    Inherited from AnyRef

                                                                    +
                                                                    +

                                                                    Inherited from Any

                                                                    +
                                                                    + +
                                                                    + +
                                                                    +
                                                                    +

                                                                    Ungrouped

                                                                    + +
                                                                    +
                                                                    + +
                                                                    + +
                                                                    + + + + + + diff --git a/manual1903/api_reference/didentification/scaladocs/ksb/csle/didentification/privacy/RecordReductionOperator.html b/manual1903/api_reference/didentification/scaladocs/ksb/csle/didentification/privacy/RecordReductionOperator.html new file mode 100644 index 0000000000000000000000000000000000000000..27d0b9702fed13c048c76807a33d7331091223ad --- /dev/null +++ b/manual1903/api_reference/didentification/scaladocs/ksb/csle/didentification/privacy/RecordReductionOperator.html @@ -0,0 +1,934 @@ + + + + RecordReductionOperator - KSB DEIDENTIFICATION Scala App Project 1.0-SNAPSHOT API - ksb.csle.didentification.privacy.RecordReductionOperator + + + + + + + + + + + + + + + + + +

                                                                    + + + class + + + RecordReductionOperator extends BasePrivacyAnonymizer + +

                                                                    + +

                                                                    :: ApplicationDeveloperApi ::

                                                                    Operator that implements the record reduction module in the Data +Reduction algorithm. It discriminates outliers (boxplot and z-score +methods are supported) and then replaces the rows which contains +these found outliers with blank (or star). +

                                                                    + Linear Supertypes +
                                                                    BasePrivacyAnonymizer, DataFrameCheck, BaseDataOperator[StreamOperatorInfo, DataFrame], BaseGenericOperator[StreamOperatorInfo, DataFrame], BaseGenericMutantOperator[StreamOperatorInfo, DataFrame, DataFrame], BaseDoer, Logging, Serializable, Serializable, AnyRef, Any
                                                                    +
                                                                    + + +
                                                                    +
                                                                    +
                                                                    + Ordering +
                                                                      + +
                                                                    1. Alphabetic
                                                                    2. +
                                                                    3. By Inheritance
                                                                    4. +
                                                                    +
                                                                    +
                                                                    + Inherited
                                                                    +
                                                                    +
                                                                      +
                                                                    1. RecordReductionOperator
                                                                    2. BasePrivacyAnonymizer
                                                                    3. DataFrameCheck
                                                                    4. BaseDataOperator
                                                                    5. BaseGenericOperator
                                                                    6. BaseGenericMutantOperator
                                                                    7. BaseDoer
                                                                    8. Logging
                                                                    9. Serializable
                                                                    10. Serializable
                                                                    11. AnyRef
                                                                    12. Any
                                                                    13. +
                                                                    +
                                                                    + +
                                                                      +
                                                                    1. Hide All
                                                                    2. +
                                                                    3. Show All
                                                                    4. +
                                                                    +
                                                                    +
                                                                    + Visibility +
                                                                    1. Public
                                                                    2. All
                                                                    +
                                                                    +
                                                                    + +
                                                                    +
                                                                    +
                                                                    +

                                                                    Instance Constructors

                                                                    +
                                                                    1. + + +

                                                                      + + + new + + + RecordReductionOperator(o: StreamOperatorInfo) + +

                                                                      + + Permalink + + +

                                                                      o

                                                                      Object that contains message + ksb.csle.common.proto.StreamDidentProto.RecordReductionInfo + RecordReductionInfo contains attributes as follows:

                                                                      • selectedColumnId: Column ID to apply the record reduction function
                                                                      • method: the special character to replace the found outlier data
                                                                      • columnHandlePolicy: consider the given columns all together, or individually.
                                                                      • outlierMethod: the method to discriminate the outlier
                                                                      • fieldInfo: the info about column attributes (identifier, sensitive, ..)
                                                                      • check: the method how to verify the anonymized data

                                                                      RecordReductionInfo

                                                                      enum ReplaceValueMethod {
                                                                      +  BLANK = 0;
                                                                      +  STAR = 1;
                                                                      +  UNDERBAR = 2;
                                                                      +}
                                                                      +enum ColumnHandlePolicy {
                                                                      +  ONEBYONE = 0;
                                                                      +  ALL = 1;
                                                                      +}
                                                                      +enum OutlierMethod {
                                                                      +  ZSCORE = 0;
                                                                      +  BOXPLOT = 1;
                                                                      +}
                                                                      +message RecordReductionInfo {
                                                                      +  repeated int32 selectedColumnId = 1;
                                                                      +  required ReplaceValueMethod method = 2 [default = STAR];
                                                                      +  required ColumnHandlePolicy columnHandlePolicy = 3 [default = ONEBYONE];
                                                                      +  required OutlierMethod outlierMethod = 4 [default = ZSCORE];
                                                                      +  repeated FieldInfo fieldInfo = 5;
                                                                      +  optional PrivacyCheckInfo check = 6;
                                                                      +}
                                                                      +
                                                                    +
                                                                    + + + + + +
                                                                    +

                                                                    Value Members

                                                                    +
                                                                    1. + + +

                                                                      + + final + def + + + !=(arg0: Any): Boolean + +

                                                                      + + Permalink + + +
                                                                      Definition Classes
                                                                      AnyRef → Any
                                                                      +
                                                                    2. + + +

                                                                      + + final + def + + + ##(): Int + +

                                                                      + + Permalink + + +
                                                                      Definition Classes
                                                                      AnyRef → Any
                                                                      +
                                                                    3. + + +

                                                                      + + final + def + + + ==(arg0: Any): Boolean + +

                                                                      + + Permalink + + +
                                                                      Definition Classes
                                                                      AnyRef → Any
                                                                      +
                                                                    4. + + +

                                                                      + + + def + + + anonymize(src: DataFrame): DataFrame + +

                                                                      + + Permalink + + +

                                                                      Anonymizes the src dataframe +

                                                                      Anonymizes the src dataframe +

                                                                      src

                                                                      Dataframe to anonymize

                                                                      returns

                                                                      DataFrame Anonymized dataframe

                                                                      +
                                                                    5. + + +

                                                                      + + + def + + + anonymize(src: DataFrame, columnNames: Array[String]): DataFrame + +

                                                                      + + Permalink + + +
                                                                      Definition Classes
                                                                      BasePrivacyAnonymizer
                                                                      +
                                                                    6. + + +

                                                                      + + + def + + + anonymize(src: DataFrame, columnName: String): DataFrame + +

                                                                      + + Permalink + + +

                                                                      Anonymizes the column specified in src dataframe +using generic 'Type' method.

                                                                      Anonymizes the column specified in src dataframe +using generic 'Type' method. The 'Type' is decided by +inherited object module. +

                                                                      src

                                                                      Dataframe to anonymize

                                                                      columnName

                                                                      Column to be anonymized

                                                                      returns

                                                                      DataFrame The dataframe which replaces original column +with anonymized column

                                                                      Definition Classes
                                                                      BasePrivacyAnonymizer
                                                                      +
                                                                    7. + + +

                                                                      + + + def + + + anonymizeColumn(src: DataFrame, columnName: String): DataFrame + +

                                                                      + + Permalink + + +

                                                                      Performs the record reduction on column of src dataframe.

                                                                      Performs the record reduction on column of src dataframe. +

                                                                      src

                                                                      Dataframe to anonymize

                                                                      columnName

                                                                      the column of dataframe to apply record reduction

                                                                      returns

                                                                      DataFrame Anonymized dataframe

                                                                      Definition Classes
                                                                      RecordReductionOperatorBasePrivacyAnonymizer
                                                                      +
                                                                    8. + + +

                                                                      + + + def + + + anonymizeNumericColumn(src: DataFrame, columnName: String, repValueType: ReplaceValueMethod, outlierType: OutlierMethod): DataFrame + +

                                                                      + + Permalink + + +

                                                                      Performs the record reduction on column which has the type of numerical +values.

                                                                      Performs the record reduction on column which has the type of numerical +values. It discriminates outliers on the basis of the statistical information, +using given outlier method, and replaces them with 'repValueType'. +

                                                                      src

                                                                      Dataframe to anonymize

                                                                      columnName

                                                                      the (numerical) column of dataframe to apply record reduction

                                                                      repValueType

                                                                      The value of replacing outliers (e.x., blank, _, and *)

                                                                      outlierType

                                                                      the method to discrimiate outliers (e.x., boxplot, z-score)

                                                                      returns

                                                                      DataFrame Anonymized dataframe

                                                                      +
                                                                    9. + + +

                                                                      + + + def + + + anonymizeStringColumn(src: DataFrame, columnName: String, repValueType: ReplaceValueMethod, outlierType: OutlierMethod): DataFrame + +

                                                                      + + Permalink + + + +
                                                                    10. + + +

                                                                      + + + def + + + anonymizeStringColumn(src: DataFrame, columnName: String): DataFrame + +

                                                                      + + Permalink + + +

                                                                      Performs the record reduction on column which has the type of string +values.

                                                                      Performs the record reduction on column which has the type of string +values. It discriminates outliers on the basis of their frequencys, +using given outlier method, and replaces them with 'repValueType'. +

                                                                      src

                                                                      Dataframe to anonymize

                                                                      columnName

                                                                      the (numerical) column of dataframe to apply record reduction

                                                                      returns

                                                                      DataFrame Anonymized dataframe

                                                                      +
                                                                    11. + + +

                                                                      + + + def + + + anonymizedAll(src: DataFrame, columnNames: Array[String]): DataFrame + +

                                                                      + + Permalink + + +

                                                                      Performs the record reduction on the given array of columns simultaneously.

                                                                      Performs the record reduction on the given array of columns simultaneously. +This function discriminates outliers by considering the given array of +column simultaneously, and then replace them together. +

                                                                      src

                                                                      Dataframe to anonymize

                                                                      returns

                                                                      DataFrame Anonymized dataframe

                                                                      +
                                                                    12. + + +

                                                                      + + + def + + + anonymizedOneByOne(src: DataFrame, columnNames: Array[String]): DataFrame + +

                                                                      + + Permalink + + +

                                                                      Performs the record reduction on the given array of columns one by one.

                                                                      Performs the record reduction on the given array of columns one by one. +

                                                                      src

                                                                      Dataframe to anonymize

                                                                      returns

                                                                      DataFrame Anonymized dataframe

                                                                      +
                                                                    13. + + +

                                                                      + + final + def + + + asInstanceOf[T0]: T0 + +

                                                                      + + Permalink + + +
                                                                      Definition Classes
                                                                      Any
                                                                      +
                                                                    14. + + +

                                                                      + + + def + + + clone(): AnyRef + +

                                                                      + + Permalink + + +
                                                                      Attributes
                                                                      protected[java.lang]
                                                                      Definition Classes
                                                                      AnyRef
                                                                      Annotations
                                                                      + @throws( + + ... + ) + +
                                                                      +
                                                                    15. + + +

                                                                      + + final + def + + + eq(arg0: AnyRef): Boolean + +

                                                                      + + Permalink + + +
                                                                      Definition Classes
                                                                      AnyRef
                                                                      +
                                                                    16. + + +

                                                                      + + + def + + + equals(arg0: Any): Boolean + +

                                                                      + + Permalink + + +
                                                                      Definition Classes
                                                                      AnyRef → Any
                                                                      +
                                                                    17. + + +

                                                                      + + + def + + + finalize(): Unit + +

                                                                      + + Permalink + + +
                                                                      Attributes
                                                                      protected[java.lang]
                                                                      Definition Classes
                                                                      AnyRef
                                                                      Annotations
                                                                      + @throws( + + classOf[java.lang.Throwable] + ) + +
                                                                      +
                                                                    18. + + +

                                                                      + + final + def + + + getClass(): Class[_] + +

                                                                      + + Permalink + + +
                                                                      Definition Classes
                                                                      AnyRef → Any
                                                                      +
                                                                    19. + + +

                                                                      + + + def + + + getColumnName(src: DataFrame, columnId: Int): String + +

                                                                      + + Permalink + + +

                                                                      Returns column name from src dataframe +specified by the column ID defined by protobuf.

                                                                      Returns column name from src dataframe +specified by the column ID defined by protobuf. +

                                                                      src

                                                                      dataframe to get names of columns.

                                                                      columnId

                                                                      column ID to anonymize.

                                                                      returns

                                                                      String.

                                                                      Definition Classes
                                                                      DataFrameCheck
                                                                      +
                                                                    20. + + +

                                                                      + + + def + + + getColumnNames(src: DataFrame, columnIDs: Array[Int]): Array[String] + +

                                                                      + + Permalink + + +

                                                                      Returns column names from src dataframe specified by column IDs.

                                                                      Returns column names from src dataframe specified by column IDs. +Note that the column with invalid IDs are ignored. +

                                                                      src

                                                                      dataframe to get names of columns.

                                                                      returns

                                                                      Array[String].

                                                                      Definition Classes
                                                                      DataFrameCheck
                                                                      +
                                                                    21. + + +

                                                                      + + + def + + + getQuasiColumnIDs(fieldInfos: Array[FieldInfo]): Array[Int] + +

                                                                      + + Permalink + + +
                                                                      Definition Classes
                                                                      DataFrameCheck
                                                                      +
                                                                    22. + + +

                                                                      + + + def + + + getSensColumnIDs(fieldInfos: Array[FieldInfo]): Array[Int] + +

                                                                      + + Permalink + + +
                                                                      Definition Classes
                                                                      DataFrameCheck
                                                                      +
                                                                    23. + + +

                                                                      + + + def + + + getValidColumnIDs(src: DataFrame, columnIDs: Array[Int]): Array[Int] + +

                                                                      + + Permalink + + +
                                                                      Definition Classes
                                                                      DataFrameCheck
                                                                      +
                                                                    24. + + +

                                                                      + + + def + + + hashCode(): Int + +

                                                                      + + Permalink + + +
                                                                      Definition Classes
                                                                      AnyRef → Any
                                                                      +
                                                                    25. + + +

                                                                      + + final + def + + + isInstanceOf[T0]: Boolean + +

                                                                      + + Permalink + + +
                                                                      Definition Classes
                                                                      Any
                                                                      +
                                                                    26. + + +

                                                                      + + + def + + + isValidColumnID(src: DataFrame, columnID: Int): Boolean + +

                                                                      + + Permalink + + +

                                                                      Checks the given column ID is valid.

                                                                      Checks the given column ID is valid. +

                                                                      src

                                                                      dataframe to get names of columns.

                                                                      returns

                                                                      Boolean.

                                                                      Definition Classes
                                                                      DataFrameCheck
                                                                      +
                                                                    27. + + +

                                                                      + + + def + + + isValidColumnName(src: DataFrame, columnName: String): Boolean + +

                                                                      + + Permalink + + +

                                                                      Checks the given column Name is valid.

                                                                      Checks the given column Name is valid. +

                                                                      src

                                                                      dataframe to get names of columns.

                                                                      columnName

                                                                      column Name.

                                                                      returns

                                                                      Boolean.

                                                                      Definition Classes
                                                                      DataFrameCheck
                                                                      +
                                                                    28. + + +

                                                                      + + + val + + + logger: Logger + +

                                                                      + + Permalink + + +
                                                                      Attributes
                                                                      protected
                                                                      Definition Classes
                                                                      Logging
                                                                      +
                                                                    29. + + +

                                                                      + + final + def + + + ne(arg0: AnyRef): Boolean + +

                                                                      + + Permalink + + +
                                                                      Definition Classes
                                                                      AnyRef
                                                                      +
                                                                    30. + + +

                                                                      + + final + def + + + notify(): Unit + +

                                                                      + + Permalink + + +
                                                                      Definition Classes
                                                                      AnyRef
                                                                      +
                                                                    31. + + +

                                                                      + + final + def + + + notifyAll(): Unit + +

                                                                      + + Permalink + + +
                                                                      Definition Classes
                                                                      AnyRef
                                                                      +
                                                                    32. + + +

                                                                      + + + def + + + operate(df: DataFrame): DataFrame + +

                                                                      + + Permalink + + +

                                                                      Operates record reduction module for basic de-identification +

                                                                      Operates record reduction module for basic de-identification +

                                                                      df

                                                                      Input dataframe

                                                                      returns

                                                                      DataFrame Anonymized dataframe

                                                                      Definition Classes
                                                                      RecordReductionOperator → BaseGenericOperator → BaseGenericMutantOperator
                                                                      +
                                                                    33. + + +

                                                                      + + + val + + + p: RecordReductionInfo + +

                                                                      + + Permalink + + + +
                                                                    34. + + +

                                                                      + + + val + + + privacy: PrivacyCheckInfo + +

                                                                      + + Permalink + + +
                                                                      Definition Classes
                                                                      BasePrivacyAnonymizer
                                                                      +
                                                                    35. + + +

                                                                      + + + def + + + stop: Unit + +

                                                                      + + Permalink + + +
                                                                      Definition Classes
                                                                      BaseGenericOperator → BaseGenericMutantOperator
                                                                      +
                                                                    36. + + +

                                                                      + + final + def + + + synchronized[T0](arg0: ⇒ T0): T0 + +

                                                                      + + Permalink + + +
                                                                      Definition Classes
                                                                      AnyRef
                                                                      +
                                                                    37. + + +

                                                                      + + + def + + + toString(): String + +

                                                                      + + Permalink + + +
                                                                      Definition Classes
                                                                      AnyRef → Any
                                                                      +
                                                                    38. + + +

                                                                      + + final + def + + + wait(): Unit + +

                                                                      + + Permalink + + +
                                                                      Definition Classes
                                                                      AnyRef
                                                                      Annotations
                                                                      + @throws( + + ... + ) + +
                                                                      +
                                                                    39. + + +

                                                                      + + final + def + + + wait(arg0: Long, arg1: Int): Unit + +

                                                                      + + Permalink + + +
                                                                      Definition Classes
                                                                      AnyRef
                                                                      Annotations
                                                                      + @throws( + + ... + ) + +
                                                                      +
                                                                    40. + + +

                                                                      + + final + def + + + wait(arg0: Long): Unit + +

                                                                      + + Permalink + + +
                                                                      Definition Classes
                                                                      AnyRef
                                                                      Annotations
                                                                      + @throws( + + ... + ) + +
                                                                      +
                                                                    +
                                                                    + + + + +
                                                                    + +
                                                                    +
                                                                    +

                                                                    Inherited from BasePrivacyAnonymizer

                                                                    +
                                                                    +

                                                                    Inherited from DataFrameCheck

                                                                    +
                                                                    +

                                                                    Inherited from BaseDataOperator[StreamOperatorInfo, DataFrame]

                                                                    +
                                                                    +

                                                                    Inherited from BaseGenericOperator[StreamOperatorInfo, DataFrame]

                                                                    +
                                                                    +

                                                                    Inherited from BaseGenericMutantOperator[StreamOperatorInfo, DataFrame, DataFrame]

                                                                    +
                                                                    +

                                                                    Inherited from BaseDoer

                                                                    +
                                                                    +

                                                                    Inherited from Logging

                                                                    +
                                                                    +

                                                                    Inherited from Serializable

                                                                    +
                                                                    +

                                                                    Inherited from Serializable

                                                                    +
                                                                    +

                                                                    Inherited from AnyRef

                                                                    +
                                                                    +

                                                                    Inherited from Any

                                                                    +
                                                                    + +
                                                                    + +
                                                                    +
                                                                    +

                                                                    Ungrouped

                                                                    + +
                                                                    +
                                                                    + +
                                                                    + +
                                                                    + + + + + + diff --git a/manual1903/api_reference/didentification/scaladocs/ksb/csle/didentification/privacy/RoundingOperator$.html b/manual1903/api_reference/didentification/scaladocs/ksb/csle/didentification/privacy/RoundingOperator$.html new file mode 100644 index 0000000000000000000000000000000000000000..4a66624cb2f40720d0e97b398abdad1b63d4e651 --- /dev/null +++ b/manual1903/api_reference/didentification/scaladocs/ksb/csle/didentification/privacy/RoundingOperator$.html @@ -0,0 +1,505 @@ + + + + RoundingOperator - KSB DEIDENTIFICATION Scala App Project 1.0-SNAPSHOT API - ksb.csle.didentification.privacy.RoundingOperator + + + + + + + + + + + + + + + + + +

                                                                    + + + object + + + RoundingOperator extends Serializable + +

                                                                    + +
                                                                    + Linear Supertypes +
                                                                    Serializable, Serializable, AnyRef, Any
                                                                    +
                                                                    + + +
                                                                    +
                                                                    +
                                                                    + Ordering +
                                                                      + +
                                                                    1. Alphabetic
                                                                    2. +
                                                                    3. By Inheritance
                                                                    4. +
                                                                    +
                                                                    +
                                                                    + Inherited
                                                                    +
                                                                    +
                                                                      +
                                                                    1. RoundingOperator
                                                                    2. Serializable
                                                                    3. Serializable
                                                                    4. AnyRef
                                                                    5. Any
                                                                    6. +
                                                                    +
                                                                    + +
                                                                      +
                                                                    1. Hide All
                                                                    2. +
                                                                    3. Show All
                                                                    4. +
                                                                    +
                                                                    +
                                                                    + Visibility +
                                                                    1. Public
                                                                    2. All
                                                                    +
                                                                    +
                                                                    + +
                                                                    +
                                                                    + + + + + + +
                                                                    +

                                                                    Value Members

                                                                    +
                                                                    1. + + +

                                                                      + + final + def + + + !=(arg0: Any): Boolean + +

                                                                      + + Permalink + + +
                                                                      Definition Classes
                                                                      AnyRef → Any
                                                                      +
                                                                    2. + + +

                                                                      + + final + def + + + ##(): Int + +

                                                                      + + Permalink + + +
                                                                      Definition Classes
                                                                      AnyRef → Any
                                                                      +
                                                                    3. + + +

                                                                      + + final + def + + + ==(arg0: Any): Boolean + +

                                                                      + + Permalink + + +
                                                                      Definition Classes
                                                                      AnyRef → Any
                                                                      +
                                                                    4. + + +

                                                                      + + + def + + + apply(o: StreamOperatorInfo): RoundingOperator + +

                                                                      + + Permalink + + + +
                                                                    5. + + +

                                                                      + + final + def + + + asInstanceOf[T0]: T0 + +

                                                                      + + Permalink + + +
                                                                      Definition Classes
                                                                      Any
                                                                      +
                                                                    6. + + +

                                                                      + + + def + + + clone(): AnyRef + +

                                                                      + + Permalink + + +
                                                                      Attributes
                                                                      protected[java.lang]
                                                                      Definition Classes
                                                                      AnyRef
                                                                      Annotations
                                                                      + @throws( + + ... + ) + +
                                                                      +
                                                                    7. + + +

                                                                      + + final + def + + + eq(arg0: AnyRef): Boolean + +

                                                                      + + Permalink + + +
                                                                      Definition Classes
                                                                      AnyRef
                                                                      +
                                                                    8. + + +

                                                                      + + + def + + + equals(arg0: Any): Boolean + +

                                                                      + + Permalink + + +
                                                                      Definition Classes
                                                                      AnyRef → Any
                                                                      +
                                                                    9. + + +

                                                                      + + + def + + + finalize(): Unit + +

                                                                      + + Permalink + + +
                                                                      Attributes
                                                                      protected[java.lang]
                                                                      Definition Classes
                                                                      AnyRef
                                                                      Annotations
                                                                      + @throws( + + classOf[java.lang.Throwable] + ) + +
                                                                      +
                                                                    10. + + +

                                                                      + + final + def + + + getClass(): Class[_] + +

                                                                      + + Permalink + + +
                                                                      Definition Classes
                                                                      AnyRef → Any
                                                                      +
                                                                    11. + + +

                                                                      + + + def + + + hashCode(): Int + +

                                                                      + + Permalink + + +
                                                                      Definition Classes
                                                                      AnyRef → Any
                                                                      +
                                                                    12. + + +

                                                                      + + final + def + + + isInstanceOf[T0]: Boolean + +

                                                                      + + Permalink + + +
                                                                      Definition Classes
                                                                      Any
                                                                      +
                                                                    13. + + +

                                                                      + + final + def + + + ne(arg0: AnyRef): Boolean + +

                                                                      + + Permalink + + +
                                                                      Definition Classes
                                                                      AnyRef
                                                                      +
                                                                    14. + + +

                                                                      + + final + def + + + notify(): Unit + +

                                                                      + + Permalink + + +
                                                                      Definition Classes
                                                                      AnyRef
                                                                      +
                                                                    15. + + +

                                                                      + + final + def + + + notifyAll(): Unit + +

                                                                      + + Permalink + + +
                                                                      Definition Classes
                                                                      AnyRef
                                                                      +
                                                                    16. + + +

                                                                      + + final + def + + + synchronized[T0](arg0: ⇒ T0): T0 + +

                                                                      + + Permalink + + +
                                                                      Definition Classes
                                                                      AnyRef
                                                                      +
                                                                    17. + + +

                                                                      + + + def + + + toString(): String + +

                                                                      + + Permalink + + +
                                                                      Definition Classes
                                                                      AnyRef → Any
                                                                      +
                                                                    18. + + +

                                                                      + + final + def + + + wait(): Unit + +

                                                                      + + Permalink + + +
                                                                      Definition Classes
                                                                      AnyRef
                                                                      Annotations
                                                                      + @throws( + + ... + ) + +
                                                                      +
                                                                    19. + + +

                                                                      + + final + def + + + wait(arg0: Long, arg1: Int): Unit + +

                                                                      + + Permalink + + +
                                                                      Definition Classes
                                                                      AnyRef
                                                                      Annotations
                                                                      + @throws( + + ... + ) + +
                                                                      +
                                                                    20. + + +

                                                                      + + final + def + + + wait(arg0: Long): Unit + +

                                                                      + + Permalink + + +
                                                                      Definition Classes
                                                                      AnyRef
                                                                      Annotations
                                                                      + @throws( + + ... + ) + +
                                                                      +
                                                                    +
                                                                    + + + + +
                                                                    + +
                                                                    +
                                                                    +

                                                                    Inherited from Serializable

                                                                    +
                                                                    +

                                                                    Inherited from Serializable

                                                                    +
                                                                    +

                                                                    Inherited from AnyRef

                                                                    +
                                                                    +

                                                                    Inherited from Any

                                                                    +
                                                                    + +
                                                                    + +
                                                                    +
                                                                    +

                                                                    Ungrouped

                                                                    + +
                                                                    +
                                                                    + +
                                                                    + +
                                                                    + + + + + + diff --git a/manual1903/api_reference/didentification/scaladocs/ksb/csle/didentification/privacy/RoundingOperator.html b/manual1903/api_reference/didentification/scaladocs/ksb/csle/didentification/privacy/RoundingOperator.html new file mode 100644 index 0000000000000000000000000000000000000000..1246e085ad2ee276d26c214f47aca26f65f34815 --- /dev/null +++ b/manual1903/api_reference/didentification/scaladocs/ksb/csle/didentification/privacy/RoundingOperator.html @@ -0,0 +1,847 @@ + + + + RoundingOperator - KSB DEIDENTIFICATION Scala App Project 1.0-SNAPSHOT API - ksb.csle.didentification.privacy.RoundingOperator + + + + + + + + + + + + + + + + + +

                                                                    + + + class + + + RoundingOperator extends BasePrivacyAnonymizer + +

                                                                    + +

                                                                    :: ApplicationDeveloperApi ::

                                                                    Operator that implements the Rounding module in the Aggregation +algorithm. It rounds up or down given numerical values. +

                                                                    + Linear Supertypes +
                                                                    BasePrivacyAnonymizer, DataFrameCheck, BaseDataOperator[StreamOperatorInfo, DataFrame], BaseGenericOperator[StreamOperatorInfo, DataFrame], BaseGenericMutantOperator[StreamOperatorInfo, DataFrame, DataFrame], BaseDoer, Logging, Serializable, Serializable, AnyRef, Any
                                                                    +
                                                                    + + +
                                                                    +
                                                                    +
                                                                    + Ordering +
                                                                      + +
                                                                    1. Alphabetic
                                                                    2. +
                                                                    3. By Inheritance
                                                                    4. +
                                                                    +
                                                                    +
                                                                    + Inherited
                                                                    +
                                                                    +
                                                                      +
                                                                    1. RoundingOperator
                                                                    2. BasePrivacyAnonymizer
                                                                    3. DataFrameCheck
                                                                    4. BaseDataOperator
                                                                    5. BaseGenericOperator
                                                                    6. BaseGenericMutantOperator
                                                                    7. BaseDoer
                                                                    8. Logging
                                                                    9. Serializable
                                                                    10. Serializable
                                                                    11. AnyRef
                                                                    12. Any
                                                                    13. +
                                                                    +
                                                                    + +
                                                                      +
                                                                    1. Hide All
                                                                    2. +
                                                                    3. Show All
                                                                    4. +
                                                                    +
                                                                    +
                                                                    + Visibility +
                                                                    1. Public
                                                                    2. All
                                                                    +
                                                                    +
                                                                    + +
                                                                    +
                                                                    +
                                                                    +

                                                                    Instance Constructors

                                                                    +
                                                                    1. + + +

                                                                      + + + new + + + RoundingOperator(o: StreamOperatorInfo) + +

                                                                      + + Permalink + + +

                                                                      o

                                                                      Object that contains message + ksb.csle.common.proto.StreamDidentProto.RoundingInfo + RoundingInfo contains attributes as follows:

                                                                      • selectedColumnId: Column ID to apply the rounding function
                                                                      • roundStep: the step of round (ex., teenage for age)
                                                                      • method: how to round the given data
                                                                      • fieldInfo: the info about column attributes (identifier, sensitive, ..)
                                                                      • check: the method how to verify the performance of anonymized data

                                                                      RoundingInfo

                                                                      enum RoundingMethod {
                                                                      +  ROUND = 0;
                                                                      +  ROUND_UP = 1;
                                                                      +  ROUND_DOWN = 2;
                                                                      +}
                                                                      +message RoundingInfo {
                                                                      +  repeated int32 selectedColumnId = 1;
                                                                      +  required int32 roundStep = 2 [default = 10];
                                                                      +  required RoundingMethod method = 3 [default = ROUND];
                                                                      +  repeated FieldInfo fieldInfo = 4;
                                                                      +  optional PrivacyCheckInfo check = 5;
                                                                      +}
                                                                      +
                                                                    +
                                                                    + + + + + +
                                                                    +

                                                                    Value Members

                                                                    +
                                                                    1. + + +

                                                                      + + final + def + + + !=(arg0: Any): Boolean + +

                                                                      + + Permalink + + +
                                                                      Definition Classes
                                                                      AnyRef → Any
                                                                      +
                                                                    2. + + +

                                                                      + + final + def + + + ##(): Int + +

                                                                      + + Permalink + + +
                                                                      Definition Classes
                                                                      AnyRef → Any
                                                                      +
                                                                    3. + + +

                                                                      + + final + def + + + ==(arg0: Any): Boolean + +

                                                                      + + Permalink + + +
                                                                      Definition Classes
                                                                      AnyRef → Any
                                                                      +
                                                                    4. + + +

                                                                      + + + def + + + anonymize(src: DataFrame, columnNames: Array[String]): DataFrame + +

                                                                      + + Permalink + + +
                                                                      Definition Classes
                                                                      BasePrivacyAnonymizer
                                                                      +
                                                                    5. + + +

                                                                      + + + def + + + anonymize(src: DataFrame, columnName: String): DataFrame + +

                                                                      + + Permalink + + +

                                                                      Anonymizes the column specified in src dataframe +using generic 'Type' method.

                                                                      Anonymizes the column specified in src dataframe +using generic 'Type' method. The 'Type' is decided by +inherited object module. +

                                                                      src

                                                                      Dataframe to anonymize

                                                                      columnName

                                                                      Column to be anonymized

                                                                      returns

                                                                      DataFrame The dataframe which replaces original column +with anonymized column

                                                                      Definition Classes
                                                                      BasePrivacyAnonymizer
                                                                      +
                                                                    6. + + +

                                                                      + + + def + + + anonymizeColumn(src: DataFrame, columnName: String): DataFrame + +

                                                                      + + Permalink + + +

                                                                      Rounds the values of the column in src dataframe +

                                                                      Rounds the values of the column in src dataframe +

                                                                      src

                                                                      Dataframe to anonymize

                                                                      columnName

                                                                      Column to be anonymized

                                                                      returns

                                                                      DataFrame Anonymized dataframe

                                                                      Definition Classes
                                                                      RoundingOperatorBasePrivacyAnonymizer
                                                                      +
                                                                    7. + + +

                                                                      + + final + def + + + asInstanceOf[T0]: T0 + +

                                                                      + + Permalink + + +
                                                                      Definition Classes
                                                                      Any
                                                                      +
                                                                    8. + + +

                                                                      + + + def + + + clone(): AnyRef + +

                                                                      + + Permalink + + +
                                                                      Attributes
                                                                      protected[java.lang]
                                                                      Definition Classes
                                                                      AnyRef
                                                                      Annotations
                                                                      + @throws( + + ... + ) + +
                                                                      +
                                                                    9. + + +

                                                                      + + final + def + + + eq(arg0: AnyRef): Boolean + +

                                                                      + + Permalink + + +
                                                                      Definition Classes
                                                                      AnyRef
                                                                      +
                                                                    10. + + +

                                                                      + + + def + + + equals(arg0: Any): Boolean + +

                                                                      + + Permalink + + +
                                                                      Definition Classes
                                                                      AnyRef → Any
                                                                      +
                                                                    11. + + +

                                                                      + + + def + + + finalize(): Unit + +

                                                                      + + Permalink + + +
                                                                      Attributes
                                                                      protected[java.lang]
                                                                      Definition Classes
                                                                      AnyRef
                                                                      Annotations
                                                                      + @throws( + + classOf[java.lang.Throwable] + ) + +
                                                                      +
                                                                    12. + + +

                                                                      + + final + def + + + getClass(): Class[_] + +

                                                                      + + Permalink + + +
                                                                      Definition Classes
                                                                      AnyRef → Any
                                                                      +
                                                                    13. + + +

                                                                      + + + def + + + getColumnName(src: DataFrame, columnId: Int): String + +

                                                                      + + Permalink + + +

                                                                      Returns column name from src dataframe +specified by the column ID defined by protobuf.

                                                                      Returns column name from src dataframe +specified by the column ID defined by protobuf. +

                                                                      src

                                                                      dataframe to get names of columns.

                                                                      columnId

                                                                      column ID to anonymize.

                                                                      returns

                                                                      String.

                                                                      Definition Classes
                                                                      DataFrameCheck
                                                                      +
                                                                    14. + + +

                                                                      + + + def + + + getColumnNames(src: DataFrame, columnIDs: Array[Int]): Array[String] + +

                                                                      + + Permalink + + +

                                                                      Returns column names from src dataframe specified by column IDs.

                                                                      Returns column names from src dataframe specified by column IDs. +Note that the column with invalid IDs are ignored. +

                                                                      src

                                                                      dataframe to get names of columns.

                                                                      returns

                                                                      Array[String].

                                                                      Definition Classes
                                                                      DataFrameCheck
                                                                      +
                                                                    15. + + +

                                                                      + + + def + + + getQuasiColumnIDs(fieldInfos: Array[FieldInfo]): Array[Int] + +

                                                                      + + Permalink + + +
                                                                      Definition Classes
                                                                      DataFrameCheck
                                                                      +
                                                                    16. + + +

                                                                      + + + def + + + getSensColumnIDs(fieldInfos: Array[FieldInfo]): Array[Int] + +

                                                                      + + Permalink + + +
                                                                      Definition Classes
                                                                      DataFrameCheck
                                                                      +
                                                                    17. + + +

                                                                      + + + def + + + getValidColumnIDs(src: DataFrame, columnIDs: Array[Int]): Array[Int] + +

                                                                      + + Permalink + + +
                                                                      Definition Classes
                                                                      DataFrameCheck
                                                                      +
                                                                    18. + + +

                                                                      + + + def + + + hashCode(): Int + +

                                                                      + + Permalink + + +
                                                                      Definition Classes
                                                                      AnyRef → Any
                                                                      +
                                                                    19. + + +

                                                                      + + final + def + + + isInstanceOf[T0]: Boolean + +

                                                                      + + Permalink + + +
                                                                      Definition Classes
                                                                      Any
                                                                      +
                                                                    20. + + +

                                                                      + + + def + + + isValidColumnID(src: DataFrame, columnID: Int): Boolean + +

                                                                      + + Permalink + + +

                                                                      Checks the given column ID is valid.

                                                                      Checks the given column ID is valid. +

                                                                      src

                                                                      dataframe to get names of columns.

                                                                      returns

                                                                      Boolean.

                                                                      Definition Classes
                                                                      DataFrameCheck
                                                                      +
                                                                    21. + + +

                                                                      + + + def + + + isValidColumnName(src: DataFrame, columnName: String): Boolean + +

                                                                      + + Permalink + + +

                                                                      Checks the given column Name is valid.

                                                                      Checks the given column Name is valid. +

                                                                      src

                                                                      dataframe to get names of columns.

                                                                      columnName

                                                                      column Name.

                                                                      returns

                                                                      Boolean.

                                                                      Definition Classes
                                                                      DataFrameCheck
                                                                      +
                                                                    22. + + +

                                                                      + + + val + + + logger: Logger + +

                                                                      + + Permalink + + +
                                                                      Attributes
                                                                      protected
                                                                      Definition Classes
                                                                      Logging
                                                                      +
                                                                    23. + + +

                                                                      + + final + def + + + ne(arg0: AnyRef): Boolean + +

                                                                      + + Permalink + + +
                                                                      Definition Classes
                                                                      AnyRef
                                                                      +
                                                                    24. + + +

                                                                      + + final + def + + + notify(): Unit + +

                                                                      + + Permalink + + +
                                                                      Definition Classes
                                                                      AnyRef
                                                                      +
                                                                    25. + + +

                                                                      + + final + def + + + notifyAll(): Unit + +

                                                                      + + Permalink + + +
                                                                      Definition Classes
                                                                      AnyRef
                                                                      +
                                                                    26. + + +

                                                                      + + + def + + + operate(df: DataFrame): DataFrame + +

                                                                      + + Permalink + + +

                                                                      Operates rounding module for basic de-identification +

                                                                      Operates rounding module for basic de-identification +

                                                                      df

                                                                      Input dataframe

                                                                      returns

                                                                      DataFrame Anonymized dataframe

                                                                      Definition Classes
                                                                      RoundingOperator → BaseGenericOperator → BaseGenericMutantOperator
                                                                      +
                                                                    27. + + +

                                                                      + + + val + + + p: RoundingInfo + +

                                                                      + + Permalink + + + +
                                                                    28. + + +

                                                                      + + + val + + + privacy: PrivacyCheckInfo + +

                                                                      + + Permalink + + +
                                                                      Definition Classes
                                                                      BasePrivacyAnonymizer
                                                                      +
                                                                    29. + + +

                                                                      + + + def + + + roundingNumericColumn[T](src: DataFrame, columnName: String, tick: Int, roundType: T): DataFrame + +

                                                                      + + Permalink + + + +
                                                                    30. + + +

                                                                      + + + def + + + roundingNumericColumn[T](src: DataFrame, columnName: String, roundType: T): DataFrame + +

                                                                      + + Permalink + + +

                                                                      Rounds the numercial values of the column in src dataframe +using 'roundType' method +

                                                                      Rounds the numercial values of the column in src dataframe +using 'roundType' method +

                                                                      src

                                                                      Dataframe to anonymize

                                                                      columnName

                                                                      Column to be anonymized

                                                                      roundType

                                                                      Methods of rounding modules. +ex., round, round-up, round-down

                                                                      returns

                                                                      DataFrame Anonymized dataframe

                                                                      +
                                                                    31. + + +

                                                                      + + + def + + + stop: Unit + +

                                                                      + + Permalink + + +
                                                                      Definition Classes
                                                                      BaseGenericOperator → BaseGenericMutantOperator
                                                                      +
                                                                    32. + + +

                                                                      + + final + def + + + synchronized[T0](arg0: ⇒ T0): T0 + +

                                                                      + + Permalink + + +
                                                                      Definition Classes
                                                                      AnyRef
                                                                      +
                                                                    33. + + +

                                                                      + + + def + + + toString(): String + +

                                                                      + + Permalink + + +
                                                                      Definition Classes
                                                                      AnyRef → Any
                                                                      +
                                                                    34. + + +

                                                                      + + final + def + + + wait(): Unit + +

                                                                      + + Permalink + + +
                                                                      Definition Classes
                                                                      AnyRef
                                                                      Annotations
                                                                      + @throws( + + ... + ) + +
                                                                      +
                                                                    35. + + +

                                                                      + + final + def + + + wait(arg0: Long, arg1: Int): Unit + +

                                                                      + + Permalink + + +
                                                                      Definition Classes
                                                                      AnyRef
                                                                      Annotations
                                                                      + @throws( + + ... + ) + +
                                                                      +
                                                                    36. + + +

                                                                      + + final + def + + + wait(arg0: Long): Unit + +

                                                                      + + Permalink + + +
                                                                      Definition Classes
                                                                      AnyRef
                                                                      Annotations
                                                                      + @throws( + + ... + ) + +
                                                                      +
                                                                    +
                                                                    + + + + +
                                                                    + +
                                                                    +
                                                                    +

                                                                    Inherited from BasePrivacyAnonymizer

                                                                    +
                                                                    +

                                                                    Inherited from DataFrameCheck

                                                                    +
                                                                    +

                                                                    Inherited from BaseDataOperator[StreamOperatorInfo, DataFrame]

                                                                    +
                                                                    +

                                                                    Inherited from BaseGenericOperator[StreamOperatorInfo, DataFrame]

                                                                    +
                                                                    +

                                                                    Inherited from BaseGenericMutantOperator[StreamOperatorInfo, DataFrame, DataFrame]

                                                                    +
                                                                    +

                                                                    Inherited from BaseDoer

                                                                    +
                                                                    +

                                                                    Inherited from Logging

                                                                    +
                                                                    +

                                                                    Inherited from Serializable

                                                                    +
                                                                    +

                                                                    Inherited from Serializable

                                                                    +
                                                                    +

                                                                    Inherited from AnyRef

                                                                    +
                                                                    +

                                                                    Inherited from Any

                                                                    +
                                                                    + +
                                                                    + +
                                                                    +
                                                                    +

                                                                    Ungrouped

                                                                    + +
                                                                    +
                                                                    + +
                                                                    + +
                                                                    + + + + + + diff --git a/manual1903/api_reference/didentification/scaladocs/ksb/csle/didentification/privacy/SwappingOperator$.html b/manual1903/api_reference/didentification/scaladocs/ksb/csle/didentification/privacy/SwappingOperator$.html new file mode 100644 index 0000000000000000000000000000000000000000..b0bb86112b10b0ff5e8a643ad6e25ca91c34128d --- /dev/null +++ b/manual1903/api_reference/didentification/scaladocs/ksb/csle/didentification/privacy/SwappingOperator$.html @@ -0,0 +1,505 @@ + + + + SwappingOperator - KSB DEIDENTIFICATION Scala App Project 1.0-SNAPSHOT API - ksb.csle.didentification.privacy.SwappingOperator + + + + + + + + + + + + + + + + + +

                                                                    + + + object + + + SwappingOperator extends Serializable + +

                                                                    + +
                                                                    + Linear Supertypes +
                                                                    Serializable, Serializable, AnyRef, Any
                                                                    +
                                                                    + + +
                                                                    +
                                                                    +
                                                                    + Ordering +
                                                                      + +
                                                                    1. Alphabetic
                                                                    2. +
                                                                    3. By Inheritance
                                                                    4. +
                                                                    +
                                                                    +
                                                                    + Inherited
                                                                    +
                                                                    +
                                                                      +
                                                                    1. SwappingOperator
                                                                    2. Serializable
                                                                    3. Serializable
                                                                    4. AnyRef
                                                                    5. Any
                                                                    6. +
                                                                    +
                                                                    + +
                                                                      +
                                                                    1. Hide All
                                                                    2. +
                                                                    3. Show All
                                                                    4. +
                                                                    +
                                                                    +
                                                                    + Visibility +
                                                                    1. Public
                                                                    2. All
                                                                    +
                                                                    +
                                                                    + +
                                                                    +
                                                                    + + + + + + +
                                                                    +

                                                                    Value Members

                                                                    +
                                                                    1. + + +

                                                                      + + final + def + + + !=(arg0: Any): Boolean + +

                                                                      + + Permalink + + +
                                                                      Definition Classes
                                                                      AnyRef → Any
                                                                      +
                                                                    2. + + +

                                                                      + + final + def + + + ##(): Int + +

                                                                      + + Permalink + + +
                                                                      Definition Classes
                                                                      AnyRef → Any
                                                                      +
                                                                    3. + + +

                                                                      + + final + def + + + ==(arg0: Any): Boolean + +

                                                                      + + Permalink + + +
                                                                      Definition Classes
                                                                      AnyRef → Any
                                                                      +
                                                                    4. + + +

                                                                      + + + def + + + apply(o: StreamOperatorInfo): SwappingOperator + +

                                                                      + + Permalink + + + +
                                                                    5. + + +

                                                                      + + final + def + + + asInstanceOf[T0]: T0 + +

                                                                      + + Permalink + + +
                                                                      Definition Classes
                                                                      Any
                                                                      +
                                                                    6. + + +

                                                                      + + + def + + + clone(): AnyRef + +

                                                                      + + Permalink + + +
                                                                      Attributes
                                                                      protected[java.lang]
                                                                      Definition Classes
                                                                      AnyRef
                                                                      Annotations
                                                                      + @throws( + + ... + ) + +
                                                                      +
                                                                    7. + + +

                                                                      + + final + def + + + eq(arg0: AnyRef): Boolean + +

                                                                      + + Permalink + + +
                                                                      Definition Classes
                                                                      AnyRef
                                                                      +
                                                                    8. + + +

                                                                      + + + def + + + equals(arg0: Any): Boolean + +

                                                                      + + Permalink + + +
                                                                      Definition Classes
                                                                      AnyRef → Any
                                                                      +
                                                                    9. + + +

                                                                      + + + def + + + finalize(): Unit + +

                                                                      + + Permalink + + +
                                                                      Attributes
                                                                      protected[java.lang]
                                                                      Definition Classes
                                                                      AnyRef
                                                                      Annotations
                                                                      + @throws( + + classOf[java.lang.Throwable] + ) + +
                                                                      +
                                                                    10. + + +

                                                                      + + final + def + + + getClass(): Class[_] + +

                                                                      + + Permalink + + +
                                                                      Definition Classes
                                                                      AnyRef → Any
                                                                      +
                                                                    11. + + +

                                                                      + + + def + + + hashCode(): Int + +

                                                                      + + Permalink + + +
                                                                      Definition Classes
                                                                      AnyRef → Any
                                                                      +
                                                                    12. + + +

                                                                      + + final + def + + + isInstanceOf[T0]: Boolean + +

                                                                      + + Permalink + + +
                                                                      Definition Classes
                                                                      Any
                                                                      +
                                                                    13. + + +

                                                                      + + final + def + + + ne(arg0: AnyRef): Boolean + +

                                                                      + + Permalink + + +
                                                                      Definition Classes
                                                                      AnyRef
                                                                      +
                                                                    14. + + +

                                                                      + + final + def + + + notify(): Unit + +

                                                                      + + Permalink + + +
                                                                      Definition Classes
                                                                      AnyRef
                                                                      +
                                                                    15. + + +

                                                                      + + final + def + + + notifyAll(): Unit + +

                                                                      + + Permalink + + +
                                                                      Definition Classes
                                                                      AnyRef
                                                                      +
                                                                    16. + + +

                                                                      + + final + def + + + synchronized[T0](arg0: ⇒ T0): T0 + +

                                                                      + + Permalink + + +
                                                                      Definition Classes
                                                                      AnyRef
                                                                      +
                                                                    17. + + +

                                                                      + + + def + + + toString(): String + +

                                                                      + + Permalink + + +
                                                                      Definition Classes
                                                                      AnyRef → Any
                                                                      +
                                                                    18. + + +

                                                                      + + final + def + + + wait(): Unit + +

                                                                      + + Permalink + + +
                                                                      Definition Classes
                                                                      AnyRef
                                                                      Annotations
                                                                      + @throws( + + ... + ) + +
                                                                      +
                                                                    19. + + +

                                                                      + + final + def + + + wait(arg0: Long, arg1: Int): Unit + +

                                                                      + + Permalink + + +
                                                                      Definition Classes
                                                                      AnyRef
                                                                      Annotations
                                                                      + @throws( + + ... + ) + +
                                                                      +
                                                                    20. + + +

                                                                      + + final + def + + + wait(arg0: Long): Unit + +

                                                                      + + Permalink + + +
                                                                      Definition Classes
                                                                      AnyRef
                                                                      Annotations
                                                                      + @throws( + + ... + ) + +
                                                                      +
                                                                    +
                                                                    + + + + +
                                                                    + +
                                                                    +
                                                                    +

                                                                    Inherited from Serializable

                                                                    +
                                                                    +

                                                                    Inherited from Serializable

                                                                    +
                                                                    +

                                                                    Inherited from AnyRef

                                                                    +
                                                                    +

                                                                    Inherited from Any

                                                                    +
                                                                    + +
                                                                    + +
                                                                    +
                                                                    +

                                                                    Ungrouped

                                                                    + +
                                                                    +
                                                                    + +
                                                                    + +
                                                                    + + + + + + diff --git a/manual1903/api_reference/didentification/scaladocs/ksb/csle/didentification/privacy/SwappingOperator.html b/manual1903/api_reference/didentification/scaladocs/ksb/csle/didentification/privacy/SwappingOperator.html new file mode 100644 index 0000000000000000000000000000000000000000..5968af4c7e10d67caa4f07283b5b4fc2f461feca --- /dev/null +++ b/manual1903/api_reference/didentification/scaladocs/ksb/csle/didentification/privacy/SwappingOperator.html @@ -0,0 +1,872 @@ + + + + SwappingOperator - KSB DEIDENTIFICATION Scala App Project 1.0-SNAPSHOT API - ksb.csle.didentification.privacy.SwappingOperator + + + + + + + + + + + + + + + + + +

                                                                    + + + class + + + SwappingOperator extends BasePrivacyAnonymizer + +

                                                                    + +

                                                                    :: ApplicationDeveloperApi ::

                                                                    Operator that implements the swapping module in the PseudoAnonymization +algorithm. Compared to heuristic module which makes the heuristic +table using randomized string or manually, this module makes the +heuristic table by referring to the given input file. +It replaces the values of data with some random strings. +

                                                                    + Linear Supertypes +
                                                                    BasePrivacyAnonymizer, DataFrameCheck, BaseDataOperator[StreamOperatorInfo, DataFrame], BaseGenericOperator[StreamOperatorInfo, DataFrame], BaseGenericMutantOperator[StreamOperatorInfo, DataFrame, DataFrame], BaseDoer, Logging, Serializable, Serializable, AnyRef, Any
                                                                    +
                                                                    + + +
                                                                    +
                                                                    +
                                                                    + Ordering +
                                                                      + +
                                                                    1. Alphabetic
                                                                    2. +
                                                                    3. By Inheritance
                                                                    4. +
                                                                    +
                                                                    +
                                                                    + Inherited
                                                                    +
                                                                    +
                                                                      +
                                                                    1. SwappingOperator
                                                                    2. BasePrivacyAnonymizer
                                                                    3. DataFrameCheck
                                                                    4. BaseDataOperator
                                                                    5. BaseGenericOperator
                                                                    6. BaseGenericMutantOperator
                                                                    7. BaseDoer
                                                                    8. Logging
                                                                    9. Serializable
                                                                    10. Serializable
                                                                    11. AnyRef
                                                                    12. Any
                                                                    13. +
                                                                    +
                                                                    + +
                                                                      +
                                                                    1. Hide All
                                                                    2. +
                                                                    3. Show All
                                                                    4. +
                                                                    +
                                                                    +
                                                                    + Visibility +
                                                                    1. Public
                                                                    2. All
                                                                    +
                                                                    +
                                                                    + +
                                                                    +
                                                                    +
                                                                    +

                                                                    Instance Constructors

                                                                    +
                                                                    1. + + +

                                                                      + + + new + + + SwappingOperator(o: StreamOperatorInfo) + +

                                                                      + + Permalink + + +

                                                                      o

                                                                      Object that contains message + ksb.csle.common.proto.StreamDidentProto.SwappingInfo + SwappingInfo contains attributes as follows:

                                                                      • selectedColumnId: Column ID to apply the swapping function
                                                                      • method: how to swap the record (randomly? or by referring to the record of the given file).
                                                                      • fileInfo: the configuration for the file-based swapping.
                                                                      • fieldInfo: the info about column attributes (identifier, sensitive, ..)
                                                                      • check: the method how to verify the performance of anonymized data

                                                                      SwappingInfo

                                                                      enum GenSwappingTableMethod {
                                                                      +	SWAP_RANDOM = 0;
                                                                      +	SWAP_FILE = 1;
                                                                      +}
                                                                      +enum FileLocationType {
                                                                      +	DIRECTORY = 0;
                                                                      +	URL = 1;
                                                                      +}
                                                                      +message SwappingFileInfo {
                                                                      +	required string filePath = 1;
                                                                      +	required int32 columnIndex = 2;
                                                                      +	optional FileLocationType fileType = 3 [default = DIRECTORY];
                                                                      +}
                                                                      +message SwappingInfo {
                                                                      +  repeated int32 selectedColumnId = 1;
                                                                      +  required GenSwappingTableMethod method = 2 [default = SWAP_RANDOM];
                                                                      +  optional SwappingFileInfo fileInfo = 3;
                                                                      +  repeated FieldInfo fieldInfo = 4;
                                                                      +  optional PrivacyCheckInfo check = 5;
                                                                      +}
                                                                      +
                                                                    +
                                                                    + + + + + +
                                                                    +

                                                                    Value Members

                                                                    +
                                                                    1. + + +

                                                                      + + final + def + + + !=(arg0: Any): Boolean + +

                                                                      + + Permalink + + +
                                                                      Definition Classes
                                                                      AnyRef → Any
                                                                      +
                                                                    2. + + +

                                                                      + + final + def + + + ##(): Int + +

                                                                      + + Permalink + + +
                                                                      Definition Classes
                                                                      AnyRef → Any
                                                                      +
                                                                    3. + + +

                                                                      + + final + def + + + ==(arg0: Any): Boolean + +

                                                                      + + Permalink + + +
                                                                      Definition Classes
                                                                      AnyRef → Any
                                                                      +
                                                                    4. + + +

                                                                      + + + def + + + anonymize(src: DataFrame, columnNames: Array[String]): DataFrame + +

                                                                      + + Permalink + + +
                                                                      Definition Classes
                                                                      BasePrivacyAnonymizer
                                                                      +
                                                                    5. + + +

                                                                      + + + def + + + anonymize(src: DataFrame, columnName: String): DataFrame + +

                                                                      + + Permalink + + +

                                                                      Anonymizes the column specified in src dataframe +using generic 'Type' method.

                                                                      Anonymizes the column specified in src dataframe +using generic 'Type' method. The 'Type' is decided by +inherited object module. +

                                                                      src

                                                                      Dataframe to anonymize

                                                                      columnName

                                                                      Column to be anonymized

                                                                      returns

                                                                      DataFrame The dataframe which replaces original column +with anonymized column

                                                                      Definition Classes
                                                                      BasePrivacyAnonymizer
                                                                      +
                                                                    6. + + +

                                                                      + + + def + + + anonymizeColumn(src: DataFrame, columnName: String, swappingType: GenSwappingTableMethod): DataFrame + +

                                                                      + + Permalink + + + +
                                                                    7. + + +

                                                                      + + + def + + + anonymizeColumn(src: DataFrame, columnName: String): DataFrame + +

                                                                      + + Permalink + + +

                                                                      Swaps the original records with pre-defined values.

                                                                      Swaps the original records with pre-defined values. To do this, +it makes the swap tables on the basis of given file content. +

                                                                      src

                                                                      Dataframe to anonymize

                                                                      columnName

                                                                      Column to be pseudo-anonymized

                                                                      returns

                                                                      DataFrame Anonymized dataframe

                                                                      Definition Classes
                                                                      SwappingOperatorBasePrivacyAnonymizer
                                                                      +
                                                                    8. + + +

                                                                      + + final + def + + + asInstanceOf[T0]: T0 + +

                                                                      + + Permalink + + +
                                                                      Definition Classes
                                                                      Any
                                                                      +
                                                                    9. + + +

                                                                      + + + def + + + clone(): AnyRef + +

                                                                      + + Permalink + + +
                                                                      Attributes
                                                                      protected[java.lang]
                                                                      Definition Classes
                                                                      AnyRef
                                                                      Annotations
                                                                      + @throws( + + ... + ) + +
                                                                      +
                                                                    10. + + +

                                                                      + + final + def + + + eq(arg0: AnyRef): Boolean + +

                                                                      + + Permalink + + +
                                                                      Definition Classes
                                                                      AnyRef
                                                                      +
                                                                    11. + + +

                                                                      + + + def + + + equals(arg0: Any): Boolean + +

                                                                      + + Permalink + + +
                                                                      Definition Classes
                                                                      AnyRef → Any
                                                                      +
                                                                    12. + + +

                                                                      + + + def + + + finalize(): Unit + +

                                                                      + + Permalink + + +
                                                                      Attributes
                                                                      protected[java.lang]
                                                                      Definition Classes
                                                                      AnyRef
                                                                      Annotations
                                                                      + @throws( + + classOf[java.lang.Throwable] + ) + +
                                                                      +
                                                                    13. + + +

                                                                      + + final + def + + + getClass(): Class[_] + +

                                                                      + + Permalink + + +
                                                                      Definition Classes
                                                                      AnyRef → Any
                                                                      +
                                                                    14. + + +

                                                                      + + + def + + + getColumnName(src: DataFrame, columnId: Int): String + +

                                                                      + + Permalink + + +

                                                                      Returns column name from src dataframe +specified by the column ID defined by protobuf.

                                                                      Returns column name from src dataframe +specified by the column ID defined by protobuf. +

                                                                      src

                                                                      dataframe to get names of columns.

                                                                      columnId

                                                                      column ID to anonymize.

                                                                      returns

                                                                      String.

                                                                      Definition Classes
                                                                      DataFrameCheck
                                                                      +
                                                                    15. + + +

                                                                      + + + def + + + getColumnNames(src: DataFrame, columnIDs: Array[Int]): Array[String] + +

                                                                      + + Permalink + + +

                                                                      Returns column names from src dataframe specified by column IDs.

                                                                      Returns column names from src dataframe specified by column IDs. +Note that the column with invalid IDs are ignored. +

                                                                      src

                                                                      dataframe to get names of columns.

                                                                      returns

                                                                      Array[String].

                                                                      Definition Classes
                                                                      DataFrameCheck
                                                                      +
                                                                    16. + + +

                                                                      + + + def + + + getQuasiColumnIDs(fieldInfos: Array[FieldInfo]): Array[Int] + +

                                                                      + + Permalink + + +
                                                                      Definition Classes
                                                                      DataFrameCheck
                                                                      +
                                                                    17. + + +

                                                                      + + + def + + + getSensColumnIDs(fieldInfos: Array[FieldInfo]): Array[Int] + +

                                                                      + + Permalink + + +
                                                                      Definition Classes
                                                                      DataFrameCheck
                                                                      +
                                                                    18. + + +

                                                                      + + + def + + + getValidColumnIDs(src: DataFrame, columnIDs: Array[Int]): Array[Int] + +

                                                                      + + Permalink + + +
                                                                      Definition Classes
                                                                      DataFrameCheck
                                                                      +
                                                                    19. + + +

                                                                      + + + def + + + hashCode(): Int + +

                                                                      + + Permalink + + +
                                                                      Definition Classes
                                                                      AnyRef → Any
                                                                      +
                                                                    20. + + +

                                                                      + + final + def + + + isInstanceOf[T0]: Boolean + +

                                                                      + + Permalink + + +
                                                                      Definition Classes
                                                                      Any
                                                                      +
                                                                    21. + + +

                                                                      + + + def + + + isValidColumnID(src: DataFrame, columnID: Int): Boolean + +

                                                                      + + Permalink + + +

                                                                      Checks the given column ID is valid.

                                                                      Checks the given column ID is valid. +

                                                                      src

                                                                      dataframe to get names of columns.

                                                                      returns

                                                                      Boolean.

                                                                      Definition Classes
                                                                      DataFrameCheck
                                                                      +
                                                                    22. + + +

                                                                      + + + def + + + isValidColumnName(src: DataFrame, columnName: String): Boolean + +

                                                                      + + Permalink + + +

                                                                      Checks the given column Name is valid.

                                                                      Checks the given column Name is valid. +

                                                                      src

                                                                      dataframe to get names of columns.

                                                                      columnName

                                                                      column Name.

                                                                      returns

                                                                      Boolean.

                                                                      Definition Classes
                                                                      DataFrameCheck
                                                                      +
                                                                    23. + + +

                                                                      + + + val + + + logger: Logger + +

                                                                      + + Permalink + + +
                                                                      Attributes
                                                                      protected
                                                                      Definition Classes
                                                                      Logging
                                                                      +
                                                                    24. + + +

                                                                      + + + def + + + makeFileHeuristicTable(src: DataFrame, columnName: String, fileInfo: SwappingFileInfo): Map[String, String] + +

                                                                      + + Permalink + + +

                                                                      Makes swap tables by referring to the given file information.

                                                                      Makes swap tables by referring to the given file information. +

                                                                      src

                                                                      Dataframe to anonymize

                                                                      columnName

                                                                      Column to be pseudo-anonymized

                                                                      fileInfo

                                                                      the information containing how to make swap tables

                                                                      returns

                                                                      Map[String, String] Generated heuristic table

                                                                      +
                                                                    25. + + +

                                                                      + + + def + + + makeHeuristicTable(src: DataFrame, columnName: String, swappingType: GenSwappingTableMethod): Map[String, String] + +

                                                                      + + Permalink + + +

                                                                      Makes swap tables comprising of [original data, random string].

                                                                      Makes swap tables comprising of [original data, random string]. +

                                                                      src

                                                                      Dataframe to anonymize

                                                                      columnName

                                                                      Column to be pseudo-anonymized

                                                                      swappingType

                                                                      How to make swap lists

                                                                      returns

                                                                      Map[String, String] Generated heuristic table

                                                                      +
                                                                    26. + + +

                                                                      + + final + def + + + ne(arg0: AnyRef): Boolean + +

                                                                      + + Permalink + + +
                                                                      Definition Classes
                                                                      AnyRef
                                                                      +
                                                                    27. + + +

                                                                      + + final + def + + + notify(): Unit + +

                                                                      + + Permalink + + +
                                                                      Definition Classes
                                                                      AnyRef
                                                                      +
                                                                    28. + + +

                                                                      + + final + def + + + notifyAll(): Unit + +

                                                                      + + Permalink + + +
                                                                      Definition Classes
                                                                      AnyRef
                                                                      +
                                                                    29. + + +

                                                                      + + + def + + + operate(df: DataFrame): DataFrame + +

                                                                      + + Permalink + + +

                                                                      Operates heuristic module for basic de-identification +

                                                                      Operates heuristic module for basic de-identification +

                                                                      df

                                                                      Input dataframe

                                                                      returns

                                                                      DataFrame Anonymized dataframe

                                                                      Definition Classes
                                                                      SwappingOperator → BaseGenericOperator → BaseGenericMutantOperator
                                                                      +
                                                                    30. + + +

                                                                      + + + val + + + p: SwappingInfo + +

                                                                      + + Permalink + + + +
                                                                    31. + + +

                                                                      + + + val + + + privacy: PrivacyCheckInfo + +

                                                                      + + Permalink + + +
                                                                      Definition Classes
                                                                      BasePrivacyAnonymizer
                                                                      +
                                                                    32. + + +

                                                                      + + + def + + + stop: Unit + +

                                                                      + + Permalink + + +
                                                                      Definition Classes
                                                                      BaseGenericOperator → BaseGenericMutantOperator
                                                                      +
                                                                    33. + + +

                                                                      + + final + def + + + synchronized[T0](arg0: ⇒ T0): T0 + +

                                                                      + + Permalink + + +
                                                                      Definition Classes
                                                                      AnyRef
                                                                      +
                                                                    34. + + +

                                                                      + + + def + + + toString(): String + +

                                                                      + + Permalink + + +
                                                                      Definition Classes
                                                                      AnyRef → Any
                                                                      +
                                                                    35. + + +

                                                                      + + final + def + + + wait(): Unit + +

                                                                      + + Permalink + + +
                                                                      Definition Classes
                                                                      AnyRef
                                                                      Annotations
                                                                      + @throws( + + ... + ) + +
                                                                      +
                                                                    36. + + +

                                                                      + + final + def + + + wait(arg0: Long, arg1: Int): Unit + +

                                                                      + + Permalink + + +
                                                                      Definition Classes
                                                                      AnyRef
                                                                      Annotations
                                                                      + @throws( + + ... + ) + +
                                                                      +
                                                                    37. + + +

                                                                      + + final + def + + + wait(arg0: Long): Unit + +

                                                                      + + Permalink + + +
                                                                      Definition Classes
                                                                      AnyRef
                                                                      Annotations
                                                                      + @throws( + + ... + ) + +
                                                                      +
                                                                    +
                                                                    + + + + +
                                                                    + +
                                                                    +
                                                                    +

                                                                    Inherited from BasePrivacyAnonymizer

                                                                    +
                                                                    +

                                                                    Inherited from DataFrameCheck

                                                                    +
                                                                    +

                                                                    Inherited from BaseDataOperator[StreamOperatorInfo, DataFrame]

                                                                    +
                                                                    +

                                                                    Inherited from BaseGenericOperator[StreamOperatorInfo, DataFrame]

                                                                    +
                                                                    +

                                                                    Inherited from BaseGenericMutantOperator[StreamOperatorInfo, DataFrame, DataFrame]

                                                                    +
                                                                    +

                                                                    Inherited from BaseDoer

                                                                    +
                                                                    +

                                                                    Inherited from Logging

                                                                    +
                                                                    +

                                                                    Inherited from Serializable

                                                                    +
                                                                    +

                                                                    Inherited from Serializable

                                                                    +
                                                                    +

                                                                    Inherited from AnyRef

                                                                    +
                                                                    +

                                                                    Inherited from Any

                                                                    +
                                                                    + +
                                                                    + +
                                                                    +
                                                                    +

                                                                    Ungrouped

                                                                    + +
                                                                    +
                                                                    + +
                                                                    + +
                                                                    + + + + + + diff --git a/manual1903/api_reference/didentification/scaladocs/ksb/csle/didentification/privacy/package.html b/manual1903/api_reference/didentification/scaladocs/ksb/csle/didentification/privacy/package.html new file mode 100644 index 0000000000000000000000000000000000000000..a7fb0ce80920cb341e1cee1a807a4085708b8470 --- /dev/null +++ b/manual1903/api_reference/didentification/scaladocs/ksb/csle/didentification/privacy/package.html @@ -0,0 +1,729 @@ + + + + privacy - KSB DEIDENTIFICATION Scala App Project 1.0-SNAPSHOT API - ksb.csle.didentification.privacy + + + + + + + + + + + + + + + +
                                                                    + Package +

                                                                    ksb.csle.didentification

                                                                    +

                                                                    privacy

                                                                    + + Permalink + + +
                                                                    + +

                                                                    + + + package + + + privacy + +

                                                                    + +
                                                                    + + +
                                                                    +
                                                                    + + +
                                                                    + Visibility +
                                                                    1. Public
                                                                    2. All
                                                                    +
                                                                    +
                                                                    + +
                                                                    +
                                                                    + + +
                                                                    +

                                                                    Type Members

                                                                    +
                                                                    1. + + +

                                                                      + + + class + + + AggregationOperator extends BasePrivacyAnonymizer + +

                                                                      + + Permalink + + +

                                                                      :: ApplicationDeveloperApi ::

                                                                      :: ApplicationDeveloperApi ::

                                                                      Operator that implements the aggregation module in the Aggregation +algorithm. It replaces the values of the data with some +statistic values such as min, max, avg, std, or count. +If the type of record is string containing numerical value, this module +extracts only numerical value and then applies this function on it. +

                                                                      +
                                                                    2. + + +

                                                                      + + abstract + class + + + BasePrivacyAnonymizer extends BaseDataOperator[StreamOperatorInfo, DataFrame] with DataFrameCheck + +

                                                                      + + Permalink + + +

                                                                      This abstract class defines some functions that are shared +by basic de-identification modules.

                                                                      +
                                                                    3. + + +

                                                                      + + + class + + + BlankImputeOperator extends BasePrivacyAnonymizer + +

                                                                      + + Permalink + + +

                                                                      :: ApplicationDeveloperApi ::

                                                                      :: ApplicationDeveloperApi ::

                                                                      Operator that implements the 'blank and impute' module in the Data Reduction +algorithm. It changes the values of the data with ' ', '*', or '_'. +

                                                                      +
                                                                    4. + + +

                                                                      + + + class + + + DataRangeOperator extends BasePrivacyAnonymizer + +

                                                                      + + Permalink + + +

                                                                      :: ApplicationDeveloperApi ::

                                                                      :: ApplicationDeveloperApi ::

                                                                      Operator that implements the data range module in the Data Suppression +algorithm. It represents the values of the data with intervals [lower, upper]. +

                                                                      +
                                                                    5. + + +

                                                                      + + + class + + + EncryptionOperator extends BasePrivacyAnonymizer + +

                                                                      + + Permalink + + +

                                                                      :: ApplicationDeveloperApi ::

                                                                      :: ApplicationDeveloperApi ::

                                                                      Operator that implements the encryption module in the Pseudo Anonymization +algorithm, and encrypts the values of the data using encryption algorithm. +Currently, DES (Data Encryption Standard) and AES (Advanced DES) are +implemented (key size: 56 (DES), 128 (AES)). Especially, due to the +importance of the key generation, it makes the key based on SHA1 and SHA512. +

                                                                      +
                                                                    6. + + +

                                                                      + + + class + + + HeuristicOperator extends BasePrivacyAnonymizer with DeAnonymizer + +

                                                                      + + Permalink + + +

                                                                      :: ApplicationDeveloperApi ::

                                                                      :: ApplicationDeveloperApi ::

                                                                      Operator that implements the heuristic module in the PseudoAnonymization +algorithm. It replaces the values of data according to the generated +heuristic tables. This tables can be generated by following methods. +- Randomized Table: generated by random string (number, alphabet) +- Manual: insert the heuristic table list manually. +It manages the heuristic table internally and hence it is also capable of +de-anonymizing the anonmized records. +

                                                                      +
                                                                    7. + + +

                                                                      + + + class + + + HidingOperator extends BasePrivacyAnonymizer + +

                                                                      + + Permalink + + +

                                                                      :: ApplicationDeveloperApi ::

                                                                      :: ApplicationDeveloperApi ::

                                                                      Operator that implements the hiding module in the Data Suppression algorithm. +It replaces (or hides) the values of the data with some statistic values +such as min, max, or avg. Compared with aggregation module, which +is only applicable to numerical data, this module can be applied on string +data containing numerical values such as 20K, $40. +

                                                                      +
                                                                    8. + + +

                                                                      + + + class + + + IdenReductionOperator extends BasePrivacyAnonymizer + +

                                                                      + + Permalink + + +

                                                                      This object implements the identity reduction module in the +Data Reduction algorithm.

                                                                      +
                                                                    9. + + +

                                                                      + + + class + + + PartialAggregateOperator extends BasePrivacyAnonymizer + +

                                                                      + + Permalink + + +

                                                                      :: ApplicationDeveloperApi ::

                                                                      :: ApplicationDeveloperApi ::

                                                                      Operator that implements the partial aggregation module in the +Aggregation algorithm. It discriminates outliers (currently, +boxplot, z-score methods are supported) and then only replaces +them with statistic information (e.x., min, max, avg, std, and count). +

                                                                      +
                                                                    10. + + +

                                                                      + + + class + + + PartialIdenReductionOperator extends BasePrivacyAnonymizer + +

                                                                      + + Permalink + + +

                                                                      :: ApplicationDeveloperApi ::

                                                                      :: ApplicationDeveloperApi ::

                                                                      Operator that implements the identity partial reduction module in the +Data Reduction algorithm, which replace the some parts of the value with "*". +

                                                                      +
                                                                    11. + + +

                                                                      + + + class + + + QuasiReductionOperator extends BasePrivacyAnonymizer + +

                                                                      + + Permalink + + +

                                                                      :: ApplicationDeveloperApi ::

                                                                      :: ApplicationDeveloperApi ::

                                                                      Operator that implements the quasi-identifier reduction module in the +Data Reduction algorithm. +

                                                                      +
                                                                    12. + + +

                                                                      + + + class + + + RandomNoiseOperator extends BasePrivacyAnonymizer + +

                                                                      + + Permalink + + +

                                                                      :: ApplicationDeveloperApi ::

                                                                      :: ApplicationDeveloperApi ::

                                                                      Operator that implements the random noise module in the Data Masking +algorithm. It inserts random noises on original data. +- If the given column is string type, random noises composed of +numerical, or alphabet, or both are inserted at specific position. +- If the given column is numerical type, some values (it may be specified, +randomly chosen, or got from the normal distribution) are added +(or subtracted, multiplied, and divided) on each value of that column. +

                                                                      +
                                                                    13. + + +

                                                                      + + + class + + + RandomRoundingOperator extends BasePrivacyAnonymizer + +

                                                                      + + Permalink + + +

                                                                      :: ApplicationDeveloperApi ::

                                                                      :: ApplicationDeveloperApi ::

                                                                      Operator that implements the random rounding module in the Data Suppression +algorithm. Compared to rounding module in Algorithm algorithm which is only +applicable on numerical values, it can be applied on variables containing +both numerical and string values. +

                                                                      +
                                                                    14. + + +

                                                                      + + + class + + + RearrangeOperator extends BasePrivacyAnonymizer + +

                                                                      + + Permalink + + +

                                                                      :: ApplicationDeveloperApi ::

                                                                      :: ApplicationDeveloperApi ::

                                                                      Operator that implements the rearrangement module in the aggregation +algorithm. The model swaps some records in the given column each other. +- The user can configure the records to be rearranged manually. +- Or, the records to be rearranged can be automatically done according +to the given ratio. That is, if the ratio is 0.5, the half of total records +are randomly rearranged each other. +

                                                                      +
                                                                    15. + + +

                                                                      + + + class + + + RecordReductionOperator extends BasePrivacyAnonymizer + +

                                                                      + + Permalink + + +

                                                                      :: ApplicationDeveloperApi ::

                                                                      :: ApplicationDeveloperApi ::

                                                                      Operator that implements the record reduction module in the Data +Reduction algorithm. It discriminates outliers (boxplot and z-score +methods are supported) and then replaces the rows which contains +these found outliers with blank (or star). +

                                                                      +
                                                                    16. + + +

                                                                      + + + class + + + RoundingOperator extends BasePrivacyAnonymizer + +

                                                                      + + Permalink + + +

                                                                      :: ApplicationDeveloperApi ::

                                                                      :: ApplicationDeveloperApi ::

                                                                      Operator that implements the Rounding module in the Aggregation +algorithm. It rounds up or down given numerical values. +

                                                                      +
                                                                    17. + + +

                                                                      + + + class + + + SwappingOperator extends BasePrivacyAnonymizer + +

                                                                      + + Permalink + + +

                                                                      :: ApplicationDeveloperApi ::

                                                                      :: ApplicationDeveloperApi ::

                                                                      Operator that implements the swapping module in the PseudoAnonymization +algorithm. Compared to heuristic module which makes the heuristic +table using randomized string or manually, this module makes the +heuristic table by referring to the given input file. +It replaces the values of data with some random strings. +

                                                                      +
                                                                    +
                                                                    + + + +
                                                                    +

                                                                    Value Members

                                                                    +
                                                                    1. + + +

                                                                      + + + object + + + AggregationOperator extends Serializable + +

                                                                      + + Permalink + + + +
                                                                    2. + + +

                                                                      + + + object + + + BlankImputeOperator extends Serializable + +

                                                                      + + Permalink + + + +
                                                                    3. + + +

                                                                      + + + object + + + DataRangeOperator extends Serializable + +

                                                                      + + Permalink + + + +
                                                                    4. + + +

                                                                      + + + object + + + EncryptionOperator extends Serializable + +

                                                                      + + Permalink + + + +
                                                                    5. + + +

                                                                      + + + object + + + HeuristicOperator extends Serializable + +

                                                                      + + Permalink + + + +
                                                                    6. + + +

                                                                      + + + object + + + HidingOperator extends Serializable + +

                                                                      + + Permalink + + + +
                                                                    7. + + +

                                                                      + + + object + + + IdenReductionOperator extends Serializable + +

                                                                      + + Permalink + + + +
                                                                    8. + + +

                                                                      + + + object + + + PartialAggregateOperator extends Serializable + +

                                                                      + + Permalink + + + +
                                                                    9. + + +

                                                                      + + + object + + + PartialIdenReductionOperator extends Serializable + +

                                                                      + + Permalink + + + +
                                                                    10. + + +

                                                                      + + + object + + + QuasiReductionOperator extends Serializable + +

                                                                      + + Permalink + + + +
                                                                    11. + + +

                                                                      + + + object + + + RandomNoiseOperator extends Serializable + +

                                                                      + + Permalink + + + +
                                                                    12. + + +

                                                                      + + + object + + + RandomRoundingOperator extends Serializable + +

                                                                      + + Permalink + + + +
                                                                    13. + + +

                                                                      + + + object + + + RearrangeOperator extends Serializable + +

                                                                      + + Permalink + + + +
                                                                    14. + + +

                                                                      + + + object + + + RecordReductionOperator extends Serializable + +

                                                                      + + Permalink + + + +
                                                                    15. + + +

                                                                      + + + object + + + RoundingOperator extends Serializable + +

                                                                      + + Permalink + + + +
                                                                    16. + + +

                                                                      + + + object + + + SwappingOperator extends Serializable + +

                                                                      + + Permalink + + + +
                                                                    +
                                                                    + + + + +
                                                                    + +
                                                                    + + +
                                                                    + +
                                                                    +
                                                                    +

                                                                    Ungrouped

                                                                    + +
                                                                    +
                                                                    + +
                                                                    + +
                                                                    + + + + + + diff --git a/manual1903/api_reference/didentification/scaladocs/ksb/csle/didentification/utilities/AttributeManager$.html b/manual1903/api_reference/didentification/scaladocs/ksb/csle/didentification/utilities/AttributeManager$.html new file mode 100644 index 0000000000000000000000000000000000000000..e12c259da3f6e6c91067ae572d4e8114f961b5a9 --- /dev/null +++ b/manual1903/api_reference/didentification/scaladocs/ksb/csle/didentification/utilities/AttributeManager$.html @@ -0,0 +1,699 @@ + + + + AttributeManager - KSB DEIDENTIFICATION Scala App Project 1.0-SNAPSHOT API - ksb.csle.didentification.utilities.AttributeManager + + + + + + + + + + + + + + + +
                                                                    + Object +

                                                                    ksb.csle.didentification.utilities

                                                                    +

                                                                    AttributeManager

                                                                    Related Doc: + package utilities +

                                                                    + + Permalink + + +
                                                                    + +

                                                                    + + + object + + + AttributeManager + +

                                                                    + +

                                                                    This object manages the information about the attributes of columns. +It extracts some attribute information from given variables. +

                                                                    + Linear Supertypes +
                                                                    AnyRef, Any
                                                                    +
                                                                    + + +
                                                                    +
                                                                    +
                                                                    + Ordering +
                                                                      + +
                                                                    1. Alphabetic
                                                                    2. +
                                                                    3. By Inheritance
                                                                    4. +
                                                                    +
                                                                    +
                                                                    + Inherited
                                                                    +
                                                                    +
                                                                      +
                                                                    1. AttributeManager
                                                                    2. AnyRef
                                                                    3. Any
                                                                    4. +
                                                                    +
                                                                    + +
                                                                      +
                                                                    1. Hide All
                                                                    2. +
                                                                    3. Show All
                                                                    4. +
                                                                    +
                                                                    +
                                                                    + Visibility +
                                                                    1. Public
                                                                    2. All
                                                                    +
                                                                    +
                                                                    + +
                                                                    +
                                                                    + + + + + + +
                                                                    +

                                                                    Value Members

                                                                    +
                                                                    1. + + +

                                                                      + + final + def + + + !=(arg0: Any): Boolean + +

                                                                      + + Permalink + + +
                                                                      Definition Classes
                                                                      AnyRef → Any
                                                                      +
                                                                    2. + + +

                                                                      + + final + def + + + ##(): Int + +

                                                                      + + Permalink + + +
                                                                      Definition Classes
                                                                      AnyRef → Any
                                                                      +
                                                                    3. + + +

                                                                      + + final + def + + + ==(arg0: Any): Boolean + +

                                                                      + + Permalink + + +
                                                                      Definition Classes
                                                                      AnyRef → Any
                                                                      +
                                                                    4. + + +

                                                                      + + final + def + + + asInstanceOf[T0]: T0 + +

                                                                      + + Permalink + + +
                                                                      Definition Classes
                                                                      Any
                                                                      +
                                                                    5. + + +

                                                                      + + + def + + + clone(): AnyRef + +

                                                                      + + Permalink + + +
                                                                      Attributes
                                                                      protected[java.lang]
                                                                      Definition Classes
                                                                      AnyRef
                                                                      Annotations
                                                                      + @throws( + + ... + ) + +
                                                                      +
                                                                    6. + + +

                                                                      + + final + def + + + eq(arg0: AnyRef): Boolean + +

                                                                      + + Permalink + + +
                                                                      Definition Classes
                                                                      AnyRef
                                                                      +
                                                                    7. + + +

                                                                      + + + def + + + equals(arg0: Any): Boolean + +

                                                                      + + Permalink + + +
                                                                      Definition Classes
                                                                      AnyRef → Any
                                                                      +
                                                                    8. + + +

                                                                      + + + def + + + finalize(): Unit + +

                                                                      + + Permalink + + +
                                                                      Attributes
                                                                      protected[java.lang]
                                                                      Definition Classes
                                                                      AnyRef
                                                                      Annotations
                                                                      + @throws( + + classOf[java.lang.Throwable] + ) + +
                                                                      +
                                                                    9. + + +

                                                                      + + final + def + + + getClass(): Class[_] + +

                                                                      + + Permalink + + +
                                                                      Definition Classes
                                                                      AnyRef → Any
                                                                      +
                                                                    10. + + +

                                                                      + + + def + + + getIdentifierColumnNames(hierarchies: Map[FieldInfo, ColumnHierarchy]): Array[String] + +

                                                                      + + Permalink + + +

                                                                      Returns the name of identifier attribute columns among the given +'columnInfos' variable +

                                                                      Returns the name of identifier attribute columns among the given +'columnInfos' variable +

                                                                      hierarchies

                                                                      the map of the hierarchy information of columns

                                                                      returns

                                                                      Array[String]

                                                                      +
                                                                    11. + + +

                                                                      + + + def + + + getIdentifierColumnNames(columnInfos: Array[FieldInfo]): Array[String] + +

                                                                      + + Permalink + + + +
                                                                    12. + + +

                                                                      + + + def + + + getIdentifierColumnNames(columnInfos: List[FieldInfo]): Array[String] + +

                                                                      + + Permalink + + +

                                                                      Returns the name of identifier attribute columns among the given +'columnInfos' variable +

                                                                      Returns the name of identifier attribute columns among the given +'columnInfos' variable +

                                                                      columnInfos

                                                                      the array of the information of columns

                                                                      returns

                                                                      Array[String]

                                                                      +
                                                                    13. + + +

                                                                      + + + def + + + getQuasiColumnNames(hierarchies: Map[FieldInfo, ColumnHierarchy]): Array[String] + +

                                                                      + + Permalink + + +

                                                                      Returns the name of quasi attribute columns by using the given +hierarchy information +

                                                                      Returns the name of quasi attribute columns by using the given +hierarchy information +

                                                                      hierarchies

                                                                      the map of the hierarchy information of columns

                                                                      returns

                                                                      Array[String]

                                                                      +
                                                                    14. + + +

                                                                      + + + def + + + getQuasiColumnNames(columnInfos: Array[FieldInfo]): Array[String] + +

                                                                      + + Permalink + + + +
                                                                    15. + + +

                                                                      + + + def + + + getQuasiColumnNames(columnInfos: List[FieldInfo]): Array[String] + +

                                                                      + + Permalink + + +

                                                                      Returns the name of quasi attribute columns among the given +'columnInfos' variable +

                                                                      Returns the name of quasi attribute columns among the given +'columnInfos' variable +

                                                                      columnInfos

                                                                      the array of the information of columns

                                                                      returns

                                                                      Array[String]

                                                                      +
                                                                    16. + + +

                                                                      + + + def + + + getSelectedTypeColumnNames(hierarchies: Map[FieldInfo, ColumnHierarchy], attr: AttrType): Array[String] + +

                                                                      + + Permalink + + +

                                                                      Returns the name of columns specified the 'attr' attribute +

                                                                      Returns the name of columns specified the 'attr' attribute +

                                                                      hierarchies

                                                                      the map of the hierarchy information of columns

                                                                      attr

                                                                      the type of attribute

                                                                      returns

                                                                      Array[String]

                                                                      +
                                                                    17. + + +

                                                                      + + + def + + + getSelectedTypeColumnNames(columnInfos: Array[FieldInfo], attr: AttrType): Array[String] + +

                                                                      + + Permalink + + +

                                                                      Returns the name of columns specified the 'attr' attribute +

                                                                      Returns the name of columns specified the 'attr' attribute +

                                                                      columnInfos

                                                                      the array of the information of columns

                                                                      attr

                                                                      the type of attribute

                                                                      returns

                                                                      Array[String]

                                                                      +
                                                                    18. + + +

                                                                      + + + def + + + getSensColumnNames(hierarchies: Map[FieldInfo, ColumnHierarchy]): Array[String] + +

                                                                      + + Permalink + + +

                                                                      Returns the name of sensitive attribute columns by using the given +hierarchy information +

                                                                      Returns the name of sensitive attribute columns by using the given +hierarchy information +

                                                                      hierarchies

                                                                      the map of the hierarchy information of columns

                                                                      returns

                                                                      Array[String]

                                                                      +
                                                                    19. + + +

                                                                      + + + def + + + getSensColumnNames(columnInfos: Array[FieldInfo]): Array[String] + +

                                                                      + + Permalink + + +

                                                                      Returns the name of sensitive attribute columns among the given +'columnInfos' variable +

                                                                      Returns the name of sensitive attribute columns among the given +'columnInfos' variable +

                                                                      columnInfos

                                                                      the array of the information of columns

                                                                      returns

                                                                      Array[String]

                                                                      +
                                                                    20. + + +

                                                                      + + + def + + + getSensColumnNames(columnInfos: List[FieldInfo]): Array[String] + +

                                                                      + + Permalink + + + +
                                                                    21. + + +

                                                                      + + + def + + + hashCode(): Int + +

                                                                      + + Permalink + + +
                                                                      Definition Classes
                                                                      AnyRef → Any
                                                                      +
                                                                    22. + + +

                                                                      + + final + def + + + isInstanceOf[T0]: Boolean + +

                                                                      + + Permalink + + +
                                                                      Definition Classes
                                                                      Any
                                                                      +
                                                                    23. + + +

                                                                      + + final + def + + + ne(arg0: AnyRef): Boolean + +

                                                                      + + Permalink + + +
                                                                      Definition Classes
                                                                      AnyRef
                                                                      +
                                                                    24. + + +

                                                                      + + final + def + + + notify(): Unit + +

                                                                      + + Permalink + + +
                                                                      Definition Classes
                                                                      AnyRef
                                                                      +
                                                                    25. + + +

                                                                      + + final + def + + + notifyAll(): Unit + +

                                                                      + + Permalink + + +
                                                                      Definition Classes
                                                                      AnyRef
                                                                      +
                                                                    26. + + +

                                                                      + + final + def + + + synchronized[T0](arg0: ⇒ T0): T0 + +

                                                                      + + Permalink + + +
                                                                      Definition Classes
                                                                      AnyRef
                                                                      +
                                                                    27. + + +

                                                                      + + + def + + + toString(): String + +

                                                                      + + Permalink + + +
                                                                      Definition Classes
                                                                      AnyRef → Any
                                                                      +
                                                                    28. + + +

                                                                      + + final + def + + + wait(): Unit + +

                                                                      + + Permalink + + +
                                                                      Definition Classes
                                                                      AnyRef
                                                                      Annotations
                                                                      + @throws( + + ... + ) + +
                                                                      +
                                                                    29. + + +

                                                                      + + final + def + + + wait(arg0: Long, arg1: Int): Unit + +

                                                                      + + Permalink + + +
                                                                      Definition Classes
                                                                      AnyRef
                                                                      Annotations
                                                                      + @throws( + + ... + ) + +
                                                                      +
                                                                    30. + + +

                                                                      + + final + def + + + wait(arg0: Long): Unit + +

                                                                      + + Permalink + + +
                                                                      Definition Classes
                                                                      AnyRef
                                                                      Annotations
                                                                      + @throws( + + ... + ) + +
                                                                      +
                                                                    +
                                                                    + + + + +
                                                                    + +
                                                                    +
                                                                    +

                                                                    Inherited from AnyRef

                                                                    +
                                                                    +

                                                                    Inherited from Any

                                                                    +
                                                                    + +
                                                                    + +
                                                                    +
                                                                    +

                                                                    Ungrouped

                                                                    + +
                                                                    +
                                                                    + +
                                                                    + +
                                                                    + + + + + + diff --git a/manual1903/api_reference/didentification/scaladocs/ksb/csle/didentification/utilities/EquivalClassManager$.html b/manual1903/api_reference/didentification/scaladocs/ksb/csle/didentification/utilities/EquivalClassManager$.html new file mode 100644 index 0000000000000000000000000000000000000000..193a61a09e9309a9a340397e768199e616a5c39d --- /dev/null +++ b/manual1903/api_reference/didentification/scaladocs/ksb/csle/didentification/utilities/EquivalClassManager$.html @@ -0,0 +1,566 @@ + + + + EquivalClassManager - KSB DEIDENTIFICATION Scala App Project 1.0-SNAPSHOT API - ksb.csle.didentification.utilities.EquivalClassManager + + + + + + + + + + + + + + + +
                                                                    + Object +

                                                                    ksb.csle.didentification.utilities

                                                                    +

                                                                    EquivalClassManager

                                                                    Related Doc: + package utilities +

                                                                    + + Permalink + + +
                                                                    + +

                                                                    + + + object + + + EquivalClassManager + +

                                                                    + +

                                                                    This object should be modified considerably. This object is just made +to verify the generalization function and syntatic anonymity (klt).

                                                                    This object provides some functions to describe the equivalence class. +Note that all quasi-identifiers belonging to a specific equivalence class +should be same. +

                                                                    + Linear Supertypes +
                                                                    AnyRef, Any
                                                                    +
                                                                    + + +
                                                                    +
                                                                    +
                                                                    + Ordering +
                                                                      + +
                                                                    1. Alphabetic
                                                                    2. +
                                                                    3. By Inheritance
                                                                    4. +
                                                                    +
                                                                    +
                                                                    + Inherited
                                                                    +
                                                                    +
                                                                      +
                                                                    1. EquivalClassManager
                                                                    2. AnyRef
                                                                    3. Any
                                                                    4. +
                                                                    +
                                                                    + +
                                                                      +
                                                                    1. Hide All
                                                                    2. +
                                                                    3. Show All
                                                                    4. +
                                                                    +
                                                                    +
                                                                    + Visibility +
                                                                    1. Public
                                                                    2. All
                                                                    +
                                                                    +
                                                                    + +
                                                                    +
                                                                    + + + + + + +
                                                                    +

                                                                    Value Members

                                                                    +
                                                                    1. + + +

                                                                      + + final + def + + + !=(arg0: Any): Boolean + +

                                                                      + + Permalink + + +
                                                                      Definition Classes
                                                                      AnyRef → Any
                                                                      +
                                                                    2. + + +

                                                                      + + final + def + + + ##(): Int + +

                                                                      + + Permalink + + +
                                                                      Definition Classes
                                                                      AnyRef → Any
                                                                      +
                                                                    3. + + +

                                                                      + + final + def + + + ==(arg0: Any): Boolean + +

                                                                      + + Permalink + + +
                                                                      Definition Classes
                                                                      AnyRef → Any
                                                                      +
                                                                    4. + + +

                                                                      + + final + def + + + asInstanceOf[T0]: T0 + +

                                                                      + + Permalink + + +
                                                                      Definition Classes
                                                                      Any
                                                                      +
                                                                    5. + + +

                                                                      + + + def + + + clone(): AnyRef + +

                                                                      + + Permalink + + +
                                                                      Attributes
                                                                      protected[java.lang]
                                                                      Definition Classes
                                                                      AnyRef
                                                                      Annotations
                                                                      + @throws( + + ... + ) + +
                                                                      +
                                                                    6. + + +

                                                                      + + final + def + + + eq(arg0: AnyRef): Boolean + +

                                                                      + + Permalink + + +
                                                                      Definition Classes
                                                                      AnyRef
                                                                      +
                                                                    7. + + +

                                                                      + + + def + + + equals(arg0: Any): Boolean + +

                                                                      + + Permalink + + +
                                                                      Definition Classes
                                                                      AnyRef → Any
                                                                      +
                                                                    8. + + +

                                                                      + + + def + + + finalize(): Unit + +

                                                                      + + Permalink + + +
                                                                      Attributes
                                                                      protected[java.lang]
                                                                      Definition Classes
                                                                      AnyRef
                                                                      Annotations
                                                                      + @throws( + + classOf[java.lang.Throwable] + ) + +
                                                                      +
                                                                    9. + + +

                                                                      + + final + def + + + getClass(): Class[_] + +

                                                                      + + Permalink + + +
                                                                      Definition Classes
                                                                      AnyRef → Any
                                                                      +
                                                                    10. + + +

                                                                      + + + def + + + getECAbstractionInfo(src: DataFrame, columnNames: Array[String]): Map[Seq[Any], Long] + +

                                                                      + + Permalink + + +

                                                                      Gets the abstract information about the equivalence class (EC).

                                                                      Gets the abstract information about the equivalence class (EC). The info +is given by form [quasi-identifiers info in EC, the number of their records] +

                                                                      src

                                                                      Dataframe

                                                                      columnNames

                                                                      The array of quasi-identifier columns

                                                                      returns

                                                                      DataFrame The abstract information about EC

                                                                      +
                                                                    11. + + +

                                                                      + + + def + + + getEquivalenceClasses(src: DataFrame, hierarchies: Map[FieldInfo, ColumnHierarchy]): Map[Seq[Any], EquivalenceClass] + +

                                                                      + + Permalink + + +

                                                                      Gets the abstract information about the equivalence class (EC).

                                                                      Gets the abstract information about the equivalence class (EC). The info +is given by form [quasi-identifiers info in EC, the number of their records] +

                                                                      src

                                                                      Dataframe

                                                                      hierarchies

                                                                      The information contains all the hierarchies of +quasi-identifier columns

                                                                      returns

                                                                      Map[Seq[Any], EquivalenceClass] Returns the map of equivalence +classes. Each equivalence class has its list of quasi-identifiers +(Seq[Any]) and EC info. The EC info is composed of [quasi-identifiers, +the number of its records, the lattice entry]. Note that the lattice +entry describes the generalization steps of quasi-identifiers to make +this equivalence class.

                                                                      +
                                                                    12. + + +

                                                                      + + + def + + + getLatticeValue(columnID: Int, columnName: String, data: Any, hierarchy: ColumnHierarchy): LatticeValue + +

                                                                      + + Permalink + + +

                                                                      Gets the lattice value from the hierarchy information using given data.

                                                                      Gets the lattice value from the hierarchy information using given data. +

                                                                      columnID

                                                                      The column ID

                                                                      columnName

                                                                      The column name

                                                                      data

                                                                      The data to get the lattice value

                                                                      hierarchy

                                                                      the hierarchy information

                                                                      returns

                                                                      LatticeValue The got lattice value

                                                                      +
                                                                    13. + + +

                                                                      + + + def + + + hashCode(): Int + +

                                                                      + + Permalink + + +
                                                                      Definition Classes
                                                                      AnyRef → Any
                                                                      +
                                                                    14. + + +

                                                                      + + final + def + + + isInstanceOf[T0]: Boolean + +

                                                                      + + Permalink + + +
                                                                      Definition Classes
                                                                      Any
                                                                      +
                                                                    15. + + +

                                                                      + + final + def + + + ne(arg0: AnyRef): Boolean + +

                                                                      + + Permalink + + +
                                                                      Definition Classes
                                                                      AnyRef
                                                                      +
                                                                    16. + + +

                                                                      + + final + def + + + notify(): Unit + +

                                                                      + + Permalink + + +
                                                                      Definition Classes
                                                                      AnyRef
                                                                      +
                                                                    17. + + +

                                                                      + + final + def + + + notifyAll(): Unit + +

                                                                      + + Permalink + + +
                                                                      Definition Classes
                                                                      AnyRef
                                                                      +
                                                                    18. + + +

                                                                      + + + def + + + printEqClasses(eqClasses: Map[Seq[Any], EquivalenceClass]): Unit + +

                                                                      + + Permalink + + +

                                                                      Prints all the equivalence classes (EC) information.

                                                                      Prints all the equivalence classes (EC) information. +

                                                                      returns

                                                                      Unit

                                                                      +
                                                                    19. + + +

                                                                      + + final + def + + + synchronized[T0](arg0: ⇒ T0): T0 + +

                                                                      + + Permalink + + +
                                                                      Definition Classes
                                                                      AnyRef
                                                                      +
                                                                    20. + + +

                                                                      + + + def + + + toString(): String + +

                                                                      + + Permalink + + +
                                                                      Definition Classes
                                                                      AnyRef → Any
                                                                      +
                                                                    21. + + +

                                                                      + + final + def + + + wait(): Unit + +

                                                                      + + Permalink + + +
                                                                      Definition Classes
                                                                      AnyRef
                                                                      Annotations
                                                                      + @throws( + + ... + ) + +
                                                                      +
                                                                    22. + + +

                                                                      + + final + def + + + wait(arg0: Long, arg1: Int): Unit + +

                                                                      + + Permalink + + +
                                                                      Definition Classes
                                                                      AnyRef
                                                                      Annotations
                                                                      + @throws( + + ... + ) + +
                                                                      +
                                                                    23. + + +

                                                                      + + final + def + + + wait(arg0: Long): Unit + +

                                                                      + + Permalink + + +
                                                                      Definition Classes
                                                                      AnyRef
                                                                      Annotations
                                                                      + @throws( + + ... + ) + +
                                                                      +
                                                                    +
                                                                    + + + + +
                                                                    + +
                                                                    +
                                                                    +

                                                                    Inherited from AnyRef

                                                                    +
                                                                    +

                                                                    Inherited from Any

                                                                    +
                                                                    + +
                                                                    + +
                                                                    +
                                                                    +

                                                                    Ungrouped

                                                                    + +
                                                                    +
                                                                    + +
                                                                    + +
                                                                    + + + + + + diff --git a/manual1903/api_reference/didentification/scaladocs/ksb/csle/didentification/utilities/FileManager$.html b/manual1903/api_reference/didentification/scaladocs/ksb/csle/didentification/utilities/FileManager$.html new file mode 100644 index 0000000000000000000000000000000000000000..6693e38e846980433125cb463ee076cf8996e062 --- /dev/null +++ b/manual1903/api_reference/didentification/scaladocs/ksb/csle/didentification/utilities/FileManager$.html @@ -0,0 +1,624 @@ + + + + FileManager - KSB DEIDENTIFICATION Scala App Project 1.0-SNAPSHOT API - ksb.csle.didentification.utilities.FileManager + + + + + + + + + + + + + + + +
                                                                    + Object +

                                                                    ksb.csle.didentification.utilities

                                                                    +

                                                                    FileManager

                                                                    Related Doc: + package utilities +

                                                                    + + Permalink + + +
                                                                    + +

                                                                    + + + object + + + FileManager + +

                                                                    + +

                                                                    This object provides the function to make a dataframe from the file info. +The file location can be given by the form of directory or URL. +

                                                                    + Linear Supertypes +
                                                                    AnyRef, Any
                                                                    +
                                                                    + + +
                                                                    +
                                                                    +
                                                                    + Ordering +
                                                                      + +
                                                                    1. Alphabetic
                                                                    2. +
                                                                    3. By Inheritance
                                                                    4. +
                                                                    +
                                                                    +
                                                                    + Inherited
                                                                    +
                                                                    +
                                                                      +
                                                                    1. FileManager
                                                                    2. AnyRef
                                                                    3. Any
                                                                    4. +
                                                                    +
                                                                    + +
                                                                      +
                                                                    1. Hide All
                                                                    2. +
                                                                    3. Show All
                                                                    4. +
                                                                    +
                                                                    +
                                                                    + Visibility +
                                                                    1. Public
                                                                    2. All
                                                                    +
                                                                    +
                                                                    + +
                                                                    +
                                                                    + + + + + + +
                                                                    +

                                                                    Value Members

                                                                    +
                                                                    1. + + +

                                                                      + + final + def + + + !=(arg0: Any): Boolean + +

                                                                      + + Permalink + + +
                                                                      Definition Classes
                                                                      AnyRef → Any
                                                                      +
                                                                    2. + + +

                                                                      + + final + def + + + ##(): Int + +

                                                                      + + Permalink + + +
                                                                      Definition Classes
                                                                      AnyRef → Any
                                                                      +
                                                                    3. + + +

                                                                      + + final + def + + + ==(arg0: Any): Boolean + +

                                                                      + + Permalink + + +
                                                                      Definition Classes
                                                                      AnyRef → Any
                                                                      +
                                                                    4. + + +

                                                                      + + final + def + + + asInstanceOf[T0]: T0 + +

                                                                      + + Permalink + + +
                                                                      Definition Classes
                                                                      Any
                                                                      +
                                                                    5. + + +

                                                                      + + + def + + + clone(): AnyRef + +

                                                                      + + Permalink + + +
                                                                      Attributes
                                                                      protected[java.lang]
                                                                      Definition Classes
                                                                      AnyRef
                                                                      Annotations
                                                                      + @throws( + + ... + ) + +
                                                                      +
                                                                    6. + + +

                                                                      + + final + def + + + eq(arg0: AnyRef): Boolean + +

                                                                      + + Permalink + + +
                                                                      Definition Classes
                                                                      AnyRef
                                                                      +
                                                                    7. + + +

                                                                      + + + def + + + equals(arg0: Any): Boolean + +

                                                                      + + Permalink + + +
                                                                      Definition Classes
                                                                      AnyRef → Any
                                                                      +
                                                                    8. + + +

                                                                      + + + def + + + finalize(): Unit + +

                                                                      + + Permalink + + +
                                                                      Attributes
                                                                      protected[java.lang]
                                                                      Definition Classes
                                                                      AnyRef
                                                                      Annotations
                                                                      + @throws( + + classOf[java.lang.Throwable] + ) + +
                                                                      +
                                                                    9. + + +

                                                                      + + final + def + + + getClass(): Class[_] + +

                                                                      + + Permalink + + +
                                                                      Definition Classes
                                                                      AnyRef → Any
                                                                      +
                                                                    10. + + +

                                                                      + + + def + + + hashCode(): Int + +

                                                                      + + Permalink + + +
                                                                      Definition Classes
                                                                      AnyRef → Any
                                                                      +
                                                                    11. + + +

                                                                      + + final + def + + + isInstanceOf[T0]: Boolean + +

                                                                      + + Permalink + + +
                                                                      Definition Classes
                                                                      Any
                                                                      +
                                                                    12. + + +

                                                                      + + + def + + + makeDataFrame(spark: SparkSession, path: String, hasHeader: Boolean, delimiter: String, schema: StructType): DataFrame + +

                                                                      + + Permalink + + + +
                                                                    13. + + +

                                                                      + + + def + + + makeDataFrame(spark: SparkSession, path: String, hasHeader: Boolean, delimiter: String): DataFrame + +

                                                                      + + Permalink + + + +
                                                                    14. + + +

                                                                      + + + def + + + makeDataFrame(spark: SparkSession, path: String, hasHeader: Boolean): DataFrame + +

                                                                      + + Permalink + + + +
                                                                    15. + + +

                                                                      + + + def + + + makeDataFrame(spark: SparkSession, path: String): DataFrame + +

                                                                      + + Permalink + + +

                                                                      Makes a dataframe by reading the file.

                                                                      Makes a dataframe by reading the file. The path of its file +is given by the format of directory. +

                                                                      spark

                                                                      Spark Session

                                                                      path

                                                                      The path of file

                                                                      returns

                                                                      DataFrame

                                                                      +
                                                                    16. + + +

                                                                      + + + def + + + makeDataFrameHDFS(spark: SparkSession, path: String, hasHeader: Boolean, delimiter: String): DataFrame + +

                                                                      + + Permalink + + + +
                                                                    17. + + +

                                                                      + + + def + + + makeDataFrameURL(spark: SparkSession, path: String, hasHeader: Boolean, delimiter: String): DataFrame + +

                                                                      + + Permalink + + + +
                                                                    18. + + +

                                                                      + + + def + + + makeDataFrameURL(spark: SparkSession, path: String, hasHeader: Boolean): DataFrame + +

                                                                      + + Permalink + + + +
                                                                    19. + + +

                                                                      + + + def + + + makeDataFrameURL(spark: SparkSession, path: String): DataFrame + +

                                                                      + + Permalink + + +

                                                                      Makes a dataframe by reading the file +

                                                                      Makes a dataframe by reading the file +

                                                                      spark

                                                                      Spark Session

                                                                      path

                                                                      The path of file

                                                                      returns

                                                                      DataFrame

                                                                      +
                                                                    20. + + +

                                                                      + + final + def + + + ne(arg0: AnyRef): Boolean + +

                                                                      + + Permalink + + +
                                                                      Definition Classes
                                                                      AnyRef
                                                                      +
                                                                    21. + + +

                                                                      + + final + def + + + notify(): Unit + +

                                                                      + + Permalink + + +
                                                                      Definition Classes
                                                                      AnyRef
                                                                      +
                                                                    22. + + +

                                                                      + + final + def + + + notifyAll(): Unit + +

                                                                      + + Permalink + + +
                                                                      Definition Classes
                                                                      AnyRef
                                                                      +
                                                                    23. + + +

                                                                      + + final + def + + + synchronized[T0](arg0: ⇒ T0): T0 + +

                                                                      + + Permalink + + +
                                                                      Definition Classes
                                                                      AnyRef
                                                                      +
                                                                    24. + + +

                                                                      + + + def + + + toString(): String + +

                                                                      + + Permalink + + +
                                                                      Definition Classes
                                                                      AnyRef → Any
                                                                      +
                                                                    25. + + +

                                                                      + + final + def + + + wait(): Unit + +

                                                                      + + Permalink + + +
                                                                      Definition Classes
                                                                      AnyRef
                                                                      Annotations
                                                                      + @throws( + + ... + ) + +
                                                                      +
                                                                    26. + + +

                                                                      + + final + def + + + wait(arg0: Long, arg1: Int): Unit + +

                                                                      + + Permalink + + +
                                                                      Definition Classes
                                                                      AnyRef
                                                                      Annotations
                                                                      + @throws( + + ... + ) + +
                                                                      +
                                                                    27. + + +

                                                                      + + final + def + + + wait(arg0: Long): Unit + +

                                                                      + + Permalink + + +
                                                                      Definition Classes
                                                                      AnyRef
                                                                      Annotations
                                                                      + @throws( + + ... + ) + +
                                                                      +
                                                                    +
                                                                    + + + + +
                                                                    + +
                                                                    +
                                                                    +

                                                                    Inherited from AnyRef

                                                                    +
                                                                    +

                                                                    Inherited from Any

                                                                    +
                                                                    + +
                                                                    + +
                                                                    +
                                                                    +

                                                                    Ungrouped

                                                                    + +
                                                                    +
                                                                    + +
                                                                    + +
                                                                    + + + + + + diff --git a/manual1903/api_reference/didentification/scaladocs/ksb/csle/didentification/utilities/FrequencyManager$.html b/manual1903/api_reference/didentification/scaladocs/ksb/csle/didentification/utilities/FrequencyManager$.html new file mode 100644 index 0000000000000000000000000000000000000000..2c70ed6c344bcd113bb1d7c50df2788f6277daca --- /dev/null +++ b/manual1903/api_reference/didentification/scaladocs/ksb/csle/didentification/utilities/FrequencyManager$.html @@ -0,0 +1,646 @@ + + + + FrequencyManager - KSB DEIDENTIFICATION Scala App Project 1.0-SNAPSHOT API - ksb.csle.didentification.utilities.FrequencyManager + + + + + + + + + + + + + + + +
                                                                    + Object +

                                                                    ksb.csle.didentification.utilities

                                                                    +

                                                                    FrequencyManager

                                                                    Related Doc: + package utilities +

                                                                    + + Permalink + + +
                                                                    + +

                                                                    + + + object + + + FrequencyManager + +

                                                                    + +

                                                                    This object manages the frequency of values in the specified column. +

                                                                    + Linear Supertypes +
                                                                    AnyRef, Any
                                                                    +
                                                                    + + +
                                                                    +
                                                                    +
                                                                    + Ordering +
                                                                      + +
                                                                    1. Alphabetic
                                                                    2. +
                                                                    3. By Inheritance
                                                                    4. +
                                                                    +
                                                                    +
                                                                    + Inherited
                                                                    +
                                                                    +
                                                                      +
                                                                    1. FrequencyManager
                                                                    2. AnyRef
                                                                    3. Any
                                                                    4. +
                                                                    +
                                                                    + +
                                                                      +
                                                                    1. Hide All
                                                                    2. +
                                                                    3. Show All
                                                                    4. +
                                                                    +
                                                                    +
                                                                    + Visibility +
                                                                    1. Public
                                                                    2. All
                                                                    +
                                                                    +
                                                                    + +
                                                                    +
                                                                    + + + + + + +
                                                                    +

                                                                    Value Members

                                                                    +
                                                                    1. + + +

                                                                      + + final + def + + + !=(arg0: Any): Boolean + +

                                                                      + + Permalink + + +
                                                                      Definition Classes
                                                                      AnyRef → Any
                                                                      +
                                                                    2. + + +

                                                                      + + final + def + + + ##(): Int + +

                                                                      + + Permalink + + +
                                                                      Definition Classes
                                                                      AnyRef → Any
                                                                      +
                                                                    3. + + +

                                                                      + + final + def + + + ==(arg0: Any): Boolean + +

                                                                      + + Permalink + + +
                                                                      Definition Classes
                                                                      AnyRef → Any
                                                                      +
                                                                    4. + + +

                                                                      + + final + def + + + asInstanceOf[T0]: T0 + +

                                                                      + + Permalink + + +
                                                                      Definition Classes
                                                                      Any
                                                                      +
                                                                    5. + + +

                                                                      + + + def + + + clone(): AnyRef + +

                                                                      + + Permalink + + +
                                                                      Attributes
                                                                      protected[java.lang]
                                                                      Definition Classes
                                                                      AnyRef
                                                                      Annotations
                                                                      + @throws( + + ... + ) + +
                                                                      +
                                                                    6. + + +

                                                                      + + final + def + + + eq(arg0: AnyRef): Boolean + +

                                                                      + + Permalink + + +
                                                                      Definition Classes
                                                                      AnyRef
                                                                      +
                                                                    7. + + +

                                                                      + + + def + + + equals(arg0: Any): Boolean + +

                                                                      + + Permalink + + +
                                                                      Definition Classes
                                                                      AnyRef → Any
                                                                      +
                                                                    8. + + +

                                                                      + + + def + + + finalize(): Unit + +

                                                                      + + Permalink + + +
                                                                      Attributes
                                                                      protected[java.lang]
                                                                      Definition Classes
                                                                      AnyRef
                                                                      Annotations
                                                                      + @throws( + + classOf[java.lang.Throwable] + ) + +
                                                                      +
                                                                    9. + + +

                                                                      + + final + def + + + getClass(): Class[_] + +

                                                                      + + Permalink + + +
                                                                      Definition Classes
                                                                      AnyRef → Any
                                                                      +
                                                                    10. + + +

                                                                      + + + def + + + getHighestFrequencyEntry(src: DataFrame, columnName: String): Any + +

                                                                      + + Permalink + + +

                                                                      Gets the entry which has the highest frequency among +the 'columnName' column in 'src' dataframe.

                                                                      Gets the entry which has the highest frequency among +the 'columnName' column in 'src' dataframe. +

                                                                      src

                                                                      Dataframe

                                                                      columnName

                                                                      Column to be investigated

                                                                      returns

                                                                      Any the column entry with highest frequency

                                                                      +
                                                                    11. + + +

                                                                      + + + def + + + getLeastFrequencyEntry(src: DataFrame, columnName: String): Any + +

                                                                      + + Permalink + + + +
                                                                    12. + + +

                                                                      + + + def + + + hashCode(): Int + +

                                                                      + + Permalink + + +
                                                                      Definition Classes
                                                                      AnyRef → Any
                                                                      +
                                                                    13. + + +

                                                                      + + final + def + + + isInstanceOf[T0]: Boolean + +

                                                                      + + Permalink + + +
                                                                      Definition Classes
                                                                      Any
                                                                      +
                                                                    14. + + +

                                                                      + + + def + + + makeBoxplotOutlierBasedFrequency(src: DataFrame, columnNames: Array[String]): Map[List[Any], Long] + +

                                                                      + + Permalink + + +

                                                                      Same as makeBoxplotOutlierBasedFrequency(src, columnName), but the +columns to be investigated are given by array of columns +[less frequent 'array of element', the number of occurrences].

                                                                      Same as makeBoxplotOutlierBasedFrequency(src, columnName), but the +columns to be investigated are given by array of columns +[less frequent 'array of element', the number of occurrences]. +

                                                                      src

                                                                      Dataframe

                                                                      returns

                                                                      Map[List[Any], Long]

                                                                      +
                                                                    15. + + +

                                                                      + + + def + + + makeBoxplotOutlierBasedFrequency(src: DataFrame, columnName: String): Map[Any, Long] + +

                                                                      + + Permalink + + +

                                                                      Same as makeZscoreOutlierBasedFrequency(src, columnName), but the +method to discriminate outliers is boxplot.

                                                                      Same as makeZscoreOutlierBasedFrequency(src, columnName), but the +method to discriminate outliers is boxplot. +[less frequent element, the number of occurrences]. +

                                                                      src

                                                                      Dataframe

                                                                      columnName

                                                                      Column to be investigated

                                                                      returns

                                                                      Map[Any, Long]

                                                                      +
                                                                    16. + + +

                                                                      + + + def + + + makeFrequencyTable(src: DataFrame, columnNames: Array[String]): Map[List[Any], Long] + +

                                                                      + + Permalink + + + +
                                                                    17. + + +

                                                                      + + + def + + + makeFrequencyTable(src: DataFrame, columnName: String): Map[Any, Long] + +

                                                                      + + Permalink + + +

                                                                      Makes the frequency table which describes the frequencies of all +elements of the 'columnname' column in src dataframe as a form of map +[element, the number of occurrences].

                                                                      Makes the frequency table which describes the frequencies of all +elements of the 'columnname' column in src dataframe as a form of map +[element, the number of occurrences]. +

                                                                      src

                                                                      Dataframe

                                                                      columnName

                                                                      Column to be investigated

                                                                      returns

                                                                      Map[Any, Long]

                                                                      +
                                                                    18. + + +

                                                                      + + + def + + + makeZscoreOutlierBasedFrequency(src: DataFrame, columnNames: Array[String]): Map[List[Any], Long] + +

                                                                      + + Permalink + + +

                                                                      Same as makeZscoreOutlierBasedFrequency(src, columnName), but the +columns to be investigated are given by array of columns +[less frequent 'array of element', the number of occurrences].

                                                                      Same as makeZscoreOutlierBasedFrequency(src, columnName), but the +columns to be investigated are given by array of columns +[less frequent 'array of element', the number of occurrences]. +

                                                                      src

                                                                      Dataframe

                                                                      returns

                                                                      Map[List[Any], Long]

                                                                      +
                                                                    19. + + +

                                                                      + + + def + + + makeZscoreOutlierBasedFrequency(src: DataFrame, columnName: String): Map[Any, Long] + +

                                                                      + + Permalink + + +

                                                                      Firstly, get the frequency info about the 'columnName' column in 'src' +dataframe.

                                                                      Firstly, get the frequency info about the 'columnName' column in 'src' +dataframe. Based on the frequency, the less frequent tuples +are described by z-score outlier method, and then return them. +[less frequent element, the number of occurrences]. +

                                                                      src

                                                                      Dataframe

                                                                      columnName

                                                                      Column to be investigated

                                                                      returns

                                                                      Map[Any, Long]

                                                                      +
                                                                    20. + + +

                                                                      + + final + def + + + ne(arg0: AnyRef): Boolean + +

                                                                      + + Permalink + + +
                                                                      Definition Classes
                                                                      AnyRef
                                                                      +
                                                                    21. + + +

                                                                      + + final + def + + + notify(): Unit + +

                                                                      + + Permalink + + +
                                                                      Definition Classes
                                                                      AnyRef
                                                                      +
                                                                    22. + + +

                                                                      + + final + def + + + notifyAll(): Unit + +

                                                                      + + Permalink + + +
                                                                      Definition Classes
                                                                      AnyRef
                                                                      +
                                                                    23. + + +

                                                                      + + final + def + + + synchronized[T0](arg0: ⇒ T0): T0 + +

                                                                      + + Permalink + + +
                                                                      Definition Classes
                                                                      AnyRef
                                                                      +
                                                                    24. + + +

                                                                      + + + def + + + toString(): String + +

                                                                      + + Permalink + + +
                                                                      Definition Classes
                                                                      AnyRef → Any
                                                                      +
                                                                    25. + + +

                                                                      + + final + def + + + wait(): Unit + +

                                                                      + + Permalink + + +
                                                                      Definition Classes
                                                                      AnyRef
                                                                      Annotations
                                                                      + @throws( + + ... + ) + +
                                                                      +
                                                                    26. + + +

                                                                      + + final + def + + + wait(arg0: Long, arg1: Int): Unit + +

                                                                      + + Permalink + + +
                                                                      Definition Classes
                                                                      AnyRef
                                                                      Annotations
                                                                      + @throws( + + ... + ) + +
                                                                      +
                                                                    27. + + +

                                                                      + + final + def + + + wait(arg0: Long): Unit + +

                                                                      + + Permalink + + +
                                                                      Definition Classes
                                                                      AnyRef
                                                                      Annotations
                                                                      + @throws( + + ... + ) + +
                                                                      +
                                                                    +
                                                                    + + + + +
                                                                    + +
                                                                    +
                                                                    +

                                                                    Inherited from AnyRef

                                                                    +
                                                                    +

                                                                    Inherited from Any

                                                                    +
                                                                    + +
                                                                    + +
                                                                    +
                                                                    +

                                                                    Ungrouped

                                                                    + +
                                                                    +
                                                                    + +
                                                                    + +
                                                                    + + + + + + diff --git a/manual1903/api_reference/didentification/scaladocs/ksb/csle/didentification/utilities/GeneralizeManager$.html b/manual1903/api_reference/didentification/scaladocs/ksb/csle/didentification/utilities/GeneralizeManager$.html new file mode 100644 index 0000000000000000000000000000000000000000..2fc9801aa0e972140bedfd9a57f912806ad0401f --- /dev/null +++ b/manual1903/api_reference/didentification/scaladocs/ksb/csle/didentification/utilities/GeneralizeManager$.html @@ -0,0 +1,713 @@ + + + + GeneralizeManager - KSB DEIDENTIFICATION Scala App Project 1.0-SNAPSHOT API - ksb.csle.didentification.utilities.GeneralizeManager + + + + + + + + + + + + + + + +
                                                                    + Object +

                                                                    ksb.csle.didentification.utilities

                                                                    +

                                                                    GeneralizeManager

                                                                    Related Doc: + package utilities +

                                                                    + + Permalink + + +
                                                                    + +

                                                                    + + + object + + + GeneralizeManager + +

                                                                    + +

                                                                    This object provides some functions to generalize the dataframe. +In order to get generalized dataframe, should specify the column +of dataframe to apply the generalization function, and its possible +maximum generalization step and desired generalization step. +

                                                                    + Linear Supertypes +
                                                                    AnyRef, Any
                                                                    +
                                                                    + + +
                                                                    +
                                                                    +
                                                                    + Ordering +
                                                                      + +
                                                                    1. Alphabetic
                                                                    2. +
                                                                    3. By Inheritance
                                                                    4. +
                                                                    +
                                                                    +
                                                                    + Inherited
                                                                    +
                                                                    +
                                                                      +
                                                                    1. GeneralizeManager
                                                                    2. AnyRef
                                                                    3. Any
                                                                    4. +
                                                                    +
                                                                    + +
                                                                      +
                                                                    1. Hide All
                                                                    2. +
                                                                    3. Show All
                                                                    4. +
                                                                    +
                                                                    +
                                                                    + Visibility +
                                                                    1. Public
                                                                    2. All
                                                                    +
                                                                    +
                                                                    + +
                                                                    +
                                                                    + + + + + + +
                                                                    +

                                                                    Value Members

                                                                    +
                                                                    1. + + +

                                                                      + + final + def + + + !=(arg0: Any): Boolean + +

                                                                      + + Permalink + + +
                                                                      Definition Classes
                                                                      AnyRef → Any
                                                                      +
                                                                    2. + + +

                                                                      + + final + def + + + ##(): Int + +

                                                                      + + Permalink + + +
                                                                      Definition Classes
                                                                      AnyRef → Any
                                                                      +
                                                                    3. + + +

                                                                      + + final + def + + + ==(arg0: Any): Boolean + +

                                                                      + + Permalink + + +
                                                                      Definition Classes
                                                                      AnyRef → Any
                                                                      +
                                                                    4. + + +

                                                                      + + final + def + + + asInstanceOf[T0]: T0 + +

                                                                      + + Permalink + + +
                                                                      Definition Classes
                                                                      Any
                                                                      +
                                                                    5. + + +

                                                                      + + + def + + + clone(): AnyRef + +

                                                                      + + Permalink + + +
                                                                      Attributes
                                                                      protected[java.lang]
                                                                      Definition Classes
                                                                      AnyRef
                                                                      Annotations
                                                                      + @throws( + + ... + ) + +
                                                                      +
                                                                    6. + + +

                                                                      + + final + def + + + eq(arg0: AnyRef): Boolean + +

                                                                      + + Permalink + + +
                                                                      Definition Classes
                                                                      AnyRef
                                                                      +
                                                                    7. + + +

                                                                      + + + def + + + equals(arg0: Any): Boolean + +

                                                                      + + Permalink + + +
                                                                      Definition Classes
                                                                      AnyRef → Any
                                                                      +
                                                                    8. + + +

                                                                      + + + def + + + finalize(): Unit + +

                                                                      + + Permalink + + +
                                                                      Attributes
                                                                      protected[java.lang]
                                                                      Definition Classes
                                                                      AnyRef
                                                                      Annotations
                                                                      + @throws( + + classOf[java.lang.Throwable] + ) + +
                                                                      +
                                                                    9. + + +

                                                                      + + + def + + + generalizing(src: DataFrame, genColInfo: GeneralizeColumnInfo): DataFrame + +

                                                                      + + Permalink + + +

                                                                      Gets the dataframe made by the generalization function by using the +given 'genColInfo' information.

                                                                      Gets the dataframe made by the generalization function by using the +given 'genColInfo' information. The 'genColInfo' info includes +the information about the column to generalize, maximum generalization +step, and desired generalization step. +

                                                                      src

                                                                      Dataframe

                                                                      genColInfo

                                                                      The information about the column to generalize

                                                                      returns

                                                                      DataFrame The generalized dataframe

                                                                      +
                                                                    10. + + +

                                                                      + + + def + + + generalizing(src: DataFrame, columnName: String, numLevels: Int, currLevel: Int): DataFrame + +

                                                                      + + Permalink + + + +
                                                                    11. + + +

                                                                      + + + def + + + generalizing(src: DataFrame, columnName: String, numLevels: Int): DataFrame + +

                                                                      + + Permalink + + + +
                                                                    12. + + +

                                                                      + + + def + + + generalizing(src: DataFrame, columnName: String): DataFrame + +

                                                                      + + Permalink + + + +
                                                                    13. + + +

                                                                      + + + def + + + generalizing(src: DataFrame, numLevels: Int, curLevel: Int): DataFrame + +

                                                                      + + Permalink + + + +
                                                                    14. + + +

                                                                      + + + def + + + generalizing(src: DataFrame, numLevels: Int): DataFrame + +

                                                                      + + Permalink + + + +
                                                                    15. + + +

                                                                      + + + def + + + generalizing(src: DataFrame): DataFrame + +

                                                                      + + Permalink + + +

                                                                      Gets the dataframe which is made by the generalization function.

                                                                      Gets the dataframe which is made by the generalization function. +The default function generalizes the first column of given dataframe +by the first generalized step among the maximum five generalized steps. +

                                                                      src

                                                                      Dataframe

                                                                      returns

                                                                      DataFrame The generalized dataframe

                                                                      +
                                                                    16. + + +

                                                                      + + final + def + + + getClass(): Class[_] + +

                                                                      + + Permalink + + +
                                                                      Definition Classes
                                                                      AnyRef → Any
                                                                      +
                                                                    17. + + +

                                                                      + + + def + + + getNumGeneralizing(src: DataFrame, columnName: String, numLevels: Int, currLevel: Int): DataFrame + +

                                                                      + + Permalink + + +

                                                                      Gets the dataframe made by the generalization function.

                                                                      Gets the dataframe made by the generalization function. This function +is applied on the numerical type of columns. +

                                                                      src

                                                                      Dataframe

                                                                      columnName

                                                                      The column name (

                                                                      numLevels

                                                                      The maximum generalization step

                                                                      returns

                                                                      DataFrame The generalized dataframe

                                                                      +
                                                                    18. + + +

                                                                      + + + def + + + getStrGeneralizing(src: DataFrame, columnName: String, numLevels: Int, currLevel: Int): DataFrame + +

                                                                      + + Permalink + + +

                                                                      Gets the dataframe made by the generalization function.

                                                                      Gets the dataframe made by the generalization function. This function +is applied on the string type of columns. +

                                                                      src

                                                                      Dataframe

                                                                      columnName

                                                                      The column name (

                                                                      numLevels

                                                                      The maximum generalization step

                                                                      returns

                                                                      DataFrame The generalized dataframe

                                                                      +
                                                                    19. + + +

                                                                      + + + def + + + hashCode(): Int + +

                                                                      + + Permalink + + +
                                                                      Definition Classes
                                                                      AnyRef → Any
                                                                      +
                                                                    20. + + +

                                                                      + + final + def + + + isInstanceOf[T0]: Boolean + +

                                                                      + + Permalink + + +
                                                                      Definition Classes
                                                                      Any
                                                                      +
                                                                    21. + + +

                                                                      + + + def + + + makeGeneralizationHierarchy(src: DataFrame, columnName: String, numLevels: Int): DataFrame + +

                                                                      + + Permalink + + +

                                                                      Returns the hierarchy information of the 'columnName' column of 'src' +dataframe.

                                                                      Returns the hierarchy information of the 'columnName' column of 'src' +dataframe. The returned dataframe is composed of the following form: +[column, 1-st generalized column, 2-nd generalized column, ..., n-th +generalized column]. +

                                                                      src

                                                                      Dataframe

                                                                      columnName

                                                                      The column name (

                                                                      numLevels

                                                                      The maximum generalization step

                                                                      returns

                                                                      DataFrame Hierarhcy information of 'columnName' column of 'src' dataframe

                                                                      +
                                                                    22. + + +

                                                                      + + + def + + + makeNumericGeneralizationHierarchy(src: DataFrame, columnName: String, numLevels: Int): DataFrame + +

                                                                      + + Permalink + + +

                                                                      Returns the hierarchy information of the 'columnName' column, which is +the numerical type of column, of 'src' dataframe.

                                                                      Returns the hierarchy information of the 'columnName' column, which is +the numerical type of column, of 'src' dataframe. +

                                                                      src

                                                                      Dataframe

                                                                      columnName

                                                                      The column name (

                                                                      numLevels

                                                                      The maximum generalization step

                                                                      returns

                                                                      DataFrame Hierarhcy information of 'columnName' column of 'src' dataframe

                                                                      +
                                                                    23. + + +

                                                                      + + + def + + + makeStringGeneralizationHierarchy(src: DataFrame, columnName: String, numLevels: Int): DataFrame + +

                                                                      + + Permalink + + +

                                                                      Returns the hierarchy information of the 'columnName' column, which is +the string type of column, of 'src' dataframe.

                                                                      Returns the hierarchy information of the 'columnName' column, which is +the string type of column, of 'src' dataframe. +

                                                                      src

                                                                      Dataframe

                                                                      columnName

                                                                      The column name (

                                                                      numLevels

                                                                      The maximum generalization step

                                                                      returns

                                                                      DataFrame Hierarhcy information of 'columnName' column of 'src' dataframe

                                                                      +
                                                                    24. + + +

                                                                      + + final + def + + + ne(arg0: AnyRef): Boolean + +

                                                                      + + Permalink + + +
                                                                      Definition Classes
                                                                      AnyRef
                                                                      +
                                                                    25. + + +

                                                                      + + final + def + + + notify(): Unit + +

                                                                      + + Permalink + + +
                                                                      Definition Classes
                                                                      AnyRef
                                                                      +
                                                                    26. + + +

                                                                      + + final + def + + + notifyAll(): Unit + +

                                                                      + + Permalink + + +
                                                                      Definition Classes
                                                                      AnyRef
                                                                      +
                                                                    27. + + +

                                                                      + + final + def + + + synchronized[T0](arg0: ⇒ T0): T0 + +

                                                                      + + Permalink + + +
                                                                      Definition Classes
                                                                      AnyRef
                                                                      +
                                                                    28. + + +

                                                                      + + + def + + + toString(): String + +

                                                                      + + Permalink + + +
                                                                      Definition Classes
                                                                      AnyRef → Any
                                                                      +
                                                                    29. + + +

                                                                      + + final + def + + + wait(): Unit + +

                                                                      + + Permalink + + +
                                                                      Definition Classes
                                                                      AnyRef
                                                                      Annotations
                                                                      + @throws( + + ... + ) + +
                                                                      +
                                                                    30. + + +

                                                                      + + final + def + + + wait(arg0: Long, arg1: Int): Unit + +

                                                                      + + Permalink + + +
                                                                      Definition Classes
                                                                      AnyRef
                                                                      Annotations
                                                                      + @throws( + + ... + ) + +
                                                                      +
                                                                    31. + + +

                                                                      + + final + def + + + wait(arg0: Long): Unit + +

                                                                      + + Permalink + + +
                                                                      Definition Classes
                                                                      AnyRef
                                                                      Annotations
                                                                      + @throws( + + ... + ) + +
                                                                      +
                                                                    +
                                                                    + + + + +
                                                                    + +
                                                                    +
                                                                    +

                                                                    Inherited from AnyRef

                                                                    +
                                                                    +

                                                                    Inherited from Any

                                                                    +
                                                                    + +
                                                                    + +
                                                                    +
                                                                    +

                                                                    Ungrouped

                                                                    + +
                                                                    +
                                                                    + +
                                                                    + +
                                                                    + + + + + + diff --git a/manual1903/api_reference/didentification/scaladocs/ksb/csle/didentification/utilities/HierarchyManager$.html b/manual1903/api_reference/didentification/scaladocs/ksb/csle/didentification/utilities/HierarchyManager$.html new file mode 100644 index 0000000000000000000000000000000000000000..6281211c09dda4426eac1beb737c06fd26ef7a59 --- /dev/null +++ b/manual1903/api_reference/didentification/scaladocs/ksb/csle/didentification/utilities/HierarchyManager$.html @@ -0,0 +1,626 @@ + + + + HierarchyManager - KSB DEIDENTIFICATION Scala App Project 1.0-SNAPSHOT API - ksb.csle.didentification.utilities.HierarchyManager + + + + + + + + + + + + + + + +
                                                                    + Object +

                                                                    ksb.csle.didentification.utilities

                                                                    +

                                                                    HierarchyManager

                                                                    Related Doc: + package utilities +

                                                                    + + Permalink + + +
                                                                    + +

                                                                    + + + object + + + HierarchyManager + +

                                                                    + +

                                                                    This object manages hierarchical information of column attributes +

                                                                    + Linear Supertypes +
                                                                    AnyRef, Any
                                                                    +
                                                                    + + +
                                                                    +
                                                                    +
                                                                    + Ordering +
                                                                      + +
                                                                    1. Alphabetic
                                                                    2. +
                                                                    3. By Inheritance
                                                                    4. +
                                                                    +
                                                                    +
                                                                    + Inherited
                                                                    +
                                                                    +
                                                                      +
                                                                    1. HierarchyManager
                                                                    2. AnyRef
                                                                    3. Any
                                                                    4. +
                                                                    +
                                                                    + +
                                                                      +
                                                                    1. Hide All
                                                                    2. +
                                                                    3. Show All
                                                                    4. +
                                                                    +
                                                                    +
                                                                    + Visibility +
                                                                    1. Public
                                                                    2. All
                                                                    +
                                                                    +
                                                                    + +
                                                                    +
                                                                    + + + + + + +
                                                                    +

                                                                    Value Members

                                                                    +
                                                                    1. + + +

                                                                      + + final + def + + + !=(arg0: Any): Boolean + +

                                                                      + + Permalink + + +
                                                                      Definition Classes
                                                                      AnyRef → Any
                                                                      +
                                                                    2. + + +

                                                                      + + final + def + + + ##(): Int + +

                                                                      + + Permalink + + +
                                                                      Definition Classes
                                                                      AnyRef → Any
                                                                      +
                                                                    3. + + +

                                                                      + + final + def + + + ==(arg0: Any): Boolean + +

                                                                      + + Permalink + + +
                                                                      Definition Classes
                                                                      AnyRef → Any
                                                                      +
                                                                    4. + + +

                                                                      + + final + def + + + asInstanceOf[T0]: T0 + +

                                                                      + + Permalink + + +
                                                                      Definition Classes
                                                                      Any
                                                                      +
                                                                    5. + + +

                                                                      + + + def + + + clone(): AnyRef + +

                                                                      + + Permalink + + +
                                                                      Attributes
                                                                      protected[java.lang]
                                                                      Definition Classes
                                                                      AnyRef
                                                                      Annotations
                                                                      + @throws( + + ... + ) + +
                                                                      +
                                                                    6. + + +

                                                                      + + + def + + + confHierarchiesFromFiles(spark: SparkSession, columnInfos: Array[FieldInfo], attr: AttrType): Map[FieldInfo, ColumnHierarchy] + +

                                                                      + + Permalink + + +

                                                                      Returns the map information of columns [info.

                                                                      Returns the map information of columns [info. of column, its hierarchy] +specified 'attr' attribute by using columnInfos +

                                                                      spark

                                                                      Spark Session

                                                                      columnInfos

                                                                      the detailed information of column

                                                                      attr

                                                                      attribute types (e.x., identifier, quasi-identifier, +sensitive, non-sensitive attributes)

                                                                      returns

                                                                      Map[FieldInfo, ColumnHierarchy]

                                                                      +
                                                                    7. + + +

                                                                      + + final + def + + + eq(arg0: AnyRef): Boolean + +

                                                                      + + Permalink + + +
                                                                      Definition Classes
                                                                      AnyRef
                                                                      +
                                                                    8. + + +

                                                                      + + + def + + + equals(arg0: Any): Boolean + +

                                                                      + + Permalink + + +
                                                                      Definition Classes
                                                                      AnyRef → Any
                                                                      +
                                                                    9. + + +

                                                                      + + + def + + + finalize(): Unit + +

                                                                      + + Permalink + + +
                                                                      Attributes
                                                                      protected[java.lang]
                                                                      Definition Classes
                                                                      AnyRef
                                                                      Annotations
                                                                      + @throws( + + classOf[java.lang.Throwable] + ) + +
                                                                      +
                                                                    10. + + +

                                                                      + + + def + + + getAutomaticHierarchies(src: DataFrame, columnInfos: Array[FieldInfo], attr: AttrType): Map[FieldInfo, ColumnHierarchy] + +

                                                                      + + Permalink + + +

                                                                      Automatically configures the hierarchy information from the given +'src' dataframe where the column type is equal to the given 'attr' +attribute.

                                                                      Automatically configures the hierarchy information from the given +'src' dataframe where the column type is equal to the given 'attr' +attribute. The depth of hierarchy is nLevels. +

                                                                      src

                                                                      The dataframe to configure hierarchy

                                                                      columnInfos

                                                                      The array of field info which contains the meta +information of the dataframe

                                                                      attr

                                                                      The attribute types (e.x., identifier, quasi-identifier, +sensitive, non-sensitive attributes)

                                                                      returns

                                                                      Map[FieldInfo, ColumnHierarchy]

                                                                      +
                                                                    11. + + +

                                                                      + + final + def + + + getClass(): Class[_] + +

                                                                      + + Permalink + + +
                                                                      Definition Classes
                                                                      AnyRef → Any
                                                                      +
                                                                    12. + + +

                                                                      + + + def + + + getColumnHierarchyFromDataFrame(hierarchy: DataFrame): ColumnHierarchy + +

                                                                      + + Permalink + + +

                                                                      Extracts the hierarhcy information from the file containing hierarhcy.

                                                                      Extracts the hierarhcy information from the file containing hierarhcy. +Note that the file is consisted of [original data of a column, the +data by generalizing one times, the data by generalizing second times, +..., the data by generalizing n times]. This function makes the column +hierarchy by using the read dataframe (hierarchy) +

                                                                      hierarchy

                                                                      the DataFrame storing the hierarchy information

                                                                      returns

                                                                      ColumnHierarchy

                                                                      +
                                                                    13. + + +

                                                                      + + + def + + + getIdenHierarchiesFromFiles(spark: SparkSession, columnInfos: Array[FieldInfo]): Map[FieldInfo, ColumnHierarchy] + +

                                                                      + + Permalink + + + +
                                                                    14. + + +

                                                                      + + + def + + + getQuasiHierarchies(data: DataFrame, columnInfos: Array[FieldInfo]): Map[FieldInfo, ColumnHierarchy] + +

                                                                      + + Permalink + + + +
                                                                    15. + + +

                                                                      + + + def + + + getQuasiHierarchiesFromFiles(spark: SparkSession, columnInfos: Array[FieldInfo]): Map[FieldInfo, ColumnHierarchy] + +

                                                                      + + Permalink + + +

                                                                      The member variable columnInfos contains various information of columns +such as the column ID, name, the path of file including hierarchical +information.

                                                                      The member variable columnInfos contains various information of columns +such as the column ID, name, the path of file including hierarchical +information. This function returns the information of quasi-identifier +columns [info. about column, its column hierarchy] by using columnInfos. +

                                                                      spark

                                                                      Spark Session

                                                                      columnInfos

                                                                      the detailed information of column

                                                                      returns

                                                                      Map[FieldInfo, ColumnHierarchy]

                                                                      +
                                                                    16. + + +

                                                                      + + + def + + + getSensitiveHierarchiesFromFiles(spark: SparkSession, columnInfos: Array[FieldInfo]): Map[FieldInfo, ColumnHierarchy] + +

                                                                      + + Permalink + + +

                                                                      Returns the map information of sensitive columns +[info.

                                                                      Returns the map information of sensitive columns +[info. about column, its column hierarchy] by using columnInfos +

                                                                      spark

                                                                      Spark Session

                                                                      columnInfos

                                                                      the detailed information of column

                                                                      returns

                                                                      Map[FieldInfo, ColumnHierarchy]

                                                                      +
                                                                    17. + + +

                                                                      + + + def + + + hashCode(): Int + +

                                                                      + + Permalink + + +
                                                                      Definition Classes
                                                                      AnyRef → Any
                                                                      +
                                                                    18. + + +

                                                                      + + final + def + + + isInstanceOf[T0]: Boolean + +

                                                                      + + Permalink + + +
                                                                      Definition Classes
                                                                      Any
                                                                      +
                                                                    19. + + +

                                                                      + + final + def + + + ne(arg0: AnyRef): Boolean + +

                                                                      + + Permalink + + +
                                                                      Definition Classes
                                                                      AnyRef
                                                                      +
                                                                    20. + + +

                                                                      + + final + def + + + notify(): Unit + +

                                                                      + + Permalink + + +
                                                                      Definition Classes
                                                                      AnyRef
                                                                      +
                                                                    21. + + +

                                                                      + + final + def + + + notifyAll(): Unit + +

                                                                      + + Permalink + + +
                                                                      Definition Classes
                                                                      AnyRef
                                                                      +
                                                                    22. + + +

                                                                      + + final + def + + + synchronized[T0](arg0: ⇒ T0): T0 + +

                                                                      + + Permalink + + +
                                                                      Definition Classes
                                                                      AnyRef
                                                                      +
                                                                    23. + + +

                                                                      + + + def + + + toString(): String + +

                                                                      + + Permalink + + +
                                                                      Definition Classes
                                                                      AnyRef → Any
                                                                      +
                                                                    24. + + +

                                                                      + + final + def + + + wait(): Unit + +

                                                                      + + Permalink + + +
                                                                      Definition Classes
                                                                      AnyRef
                                                                      Annotations
                                                                      + @throws( + + ... + ) + +
                                                                      +
                                                                    25. + + +

                                                                      + + final + def + + + wait(arg0: Long, arg1: Int): Unit + +

                                                                      + + Permalink + + +
                                                                      Definition Classes
                                                                      AnyRef
                                                                      Annotations
                                                                      + @throws( + + ... + ) + +
                                                                      +
                                                                    26. + + +

                                                                      + + final + def + + + wait(arg0: Long): Unit + +

                                                                      + + Permalink + + +
                                                                      Definition Classes
                                                                      AnyRef
                                                                      Annotations
                                                                      + @throws( + + ... + ) + +
                                                                      +
                                                                    +
                                                                    + + + + +
                                                                    + +
                                                                    +
                                                                    +

                                                                    Inherited from AnyRef

                                                                    +
                                                                    +

                                                                    Inherited from Any

                                                                    +
                                                                    + +
                                                                    + +
                                                                    +
                                                                    +

                                                                    Ungrouped

                                                                    + +
                                                                    +
                                                                    + +
                                                                    + +
                                                                    + + + + + + diff --git a/manual1903/api_reference/didentification/scaladocs/ksb/csle/didentification/utilities/LatticeManager$.html b/manual1903/api_reference/didentification/scaladocs/ksb/csle/didentification/utilities/LatticeManager$.html new file mode 100644 index 0000000000000000000000000000000000000000..fcc53d1ce0421db4f74f61779e1afbdb690bef4c --- /dev/null +++ b/manual1903/api_reference/didentification/scaladocs/ksb/csle/didentification/utilities/LatticeManager$.html @@ -0,0 +1,577 @@ + + + + LatticeManager - KSB DEIDENTIFICATION Scala App Project 1.0-SNAPSHOT API - ksb.csle.didentification.utilities.LatticeManager + + + + + + + + + + + + + + + +
                                                                    + Object +

                                                                    ksb.csle.didentification.utilities

                                                                    +

                                                                    LatticeManager

                                                                    Related Doc: + package utilities +

                                                                    + + Permalink + + +
                                                                    + +

                                                                    + + + object + + + LatticeManager + +

                                                                    + +

                                                                    This trait manages lattice entry information. Lattice entry indicates +how the algorithm generalizes the columns of quasi-identifiers. For example, +if the quasi-identifier is column 1, 2, and 3, the lattice manager manages +three lattice values where each lattice value indicate +

                                                                    + Linear Supertypes +
                                                                    AnyRef, Any
                                                                    +
                                                                    + + +
                                                                    +
                                                                    +
                                                                    + Ordering +
                                                                      + +
                                                                    1. Alphabetic
                                                                    2. +
                                                                    3. By Inheritance
                                                                    4. +
                                                                    +
                                                                    +
                                                                    + Inherited
                                                                    +
                                                                    +
                                                                      +
                                                                    1. LatticeManager
                                                                    2. AnyRef
                                                                    3. Any
                                                                    4. +
                                                                    +
                                                                    + +
                                                                      +
                                                                    1. Hide All
                                                                    2. +
                                                                    3. Show All
                                                                    4. +
                                                                    +
                                                                    +
                                                                    + Visibility +
                                                                    1. Public
                                                                    2. All
                                                                    +
                                                                    +
                                                                    + +
                                                                    +
                                                                    + + + + + + +
                                                                    +

                                                                    Value Members

                                                                    +
                                                                    1. + + +

                                                                      + + final + def + + + !=(arg0: Any): Boolean + +

                                                                      + + Permalink + + +
                                                                      Definition Classes
                                                                      AnyRef → Any
                                                                      +
                                                                    2. + + +

                                                                      + + final + def + + + ##(): Int + +

                                                                      + + Permalink + + +
                                                                      Definition Classes
                                                                      AnyRef → Any
                                                                      +
                                                                    3. + + +

                                                                      + + final + def + + + ==(arg0: Any): Boolean + +

                                                                      + + Permalink + + +
                                                                      Definition Classes
                                                                      AnyRef → Any
                                                                      +
                                                                    4. + + +

                                                                      + + final + def + + + asInstanceOf[T0]: T0 + +

                                                                      + + Permalink + + +
                                                                      Definition Classes
                                                                      Any
                                                                      +
                                                                    5. + + +

                                                                      + + + def + + + clone(): AnyRef + +

                                                                      + + Permalink + + +
                                                                      Attributes
                                                                      protected[java.lang]
                                                                      Definition Classes
                                                                      AnyRef
                                                                      Annotations
                                                                      + @throws( + + ... + ) + +
                                                                      +
                                                                    6. + + +

                                                                      + + + def + + + depthOfHierarchy(hierarchy: ColumnHierarchy): Int + +

                                                                      + + Permalink + + +

                                                                      Returns the depth of given column hierarchy +

                                                                      Returns the depth of given column hierarchy +

                                                                      hierarchy

                                                                      the hierarchy information

                                                                      returns

                                                                      Int the depth of column hierarchy

                                                                      +
                                                                    7. + + +

                                                                      + + final + def + + + eq(arg0: AnyRef): Boolean + +

                                                                      + + Permalink + + +
                                                                      Definition Classes
                                                                      AnyRef
                                                                      +
                                                                    8. + + +

                                                                      + + + def + + + equals(arg0: Any): Boolean + +

                                                                      + + Permalink + + +
                                                                      Definition Classes
                                                                      AnyRef → Any
                                                                      +
                                                                    9. + + +

                                                                      + + + def + + + finalize(): Unit + +

                                                                      + + Permalink + + +
                                                                      Attributes
                                                                      protected[java.lang]
                                                                      Definition Classes
                                                                      AnyRef
                                                                      Annotations
                                                                      + @throws( + + classOf[java.lang.Throwable] + ) + +
                                                                      +
                                                                    10. + + +

                                                                      + + final + def + + + getClass(): Class[_] + +

                                                                      + + Permalink + + +
                                                                      Definition Classes
                                                                      AnyRef → Any
                                                                      +
                                                                    11. + + +

                                                                      + + + def + + + hashCode(): Int + +

                                                                      + + Permalink + + +
                                                                      Definition Classes
                                                                      AnyRef → Any
                                                                      +
                                                                    12. + + +

                                                                      + + final + def + + + isInstanceOf[T0]: Boolean + +

                                                                      + + Permalink + + +
                                                                      Definition Classes
                                                                      Any
                                                                      +
                                                                    13. + + +

                                                                      + + + def + + + makeLatticeEntries(hierarchies: Map[FieldInfo, ColumnHierarchy]): List[LatticeEntry] + +

                                                                      + + Permalink + + +

                                                                      Makes the list of lattice entries based on the hierarchy information +

                                                                      Makes the list of lattice entries based on the hierarchy information +

                                                                      hierarchies

                                                                      the information of columns and their hierarchies

                                                                      returns

                                                                      List[LatticeEntry] the list of lattice entries

                                                                      +
                                                                    14. + + +

                                                                      + + final + def + + + ne(arg0: AnyRef): Boolean + +

                                                                      + + Permalink + + +
                                                                      Definition Classes
                                                                      AnyRef
                                                                      +
                                                                    15. + + +

                                                                      + + final + def + + + notify(): Unit + +

                                                                      + + Permalink + + +
                                                                      Definition Classes
                                                                      AnyRef
                                                                      +
                                                                    16. + + +

                                                                      + + final + def + + + notifyAll(): Unit + +

                                                                      + + Permalink + + +
                                                                      Definition Classes
                                                                      AnyRef
                                                                      +
                                                                    17. + + +

                                                                      + + + def + + + printLatticeEntries(entries: List[LatticeEntry]): Unit + +

                                                                      + + Permalink + + + +
                                                                    18. + + +

                                                                      + + + def + + + printLatticeEntry(entry: LatticeEntry): Unit + +

                                                                      + + Permalink + + + +
                                                                    19. + + +

                                                                      + + + def + + + sortLatticeSet(latticeSet: List[LatticeEntry]): List[LatticeEntry] + +

                                                                      + + Permalink + + +

                                                                      Sorts the lattice entries by the weight (currentDepth / maxDepth) +

                                                                      Sorts the lattice entries by the weight (currentDepth / maxDepth) +

                                                                      latticeSet

                                                                      the lattice entries to be sorted

                                                                      returns

                                                                      List[LatticeEntry] the sorted lattice entries

                                                                      +
                                                                    20. + + +

                                                                      + + final + def + + + synchronized[T0](arg0: ⇒ T0): T0 + +

                                                                      + + Permalink + + +
                                                                      Definition Classes
                                                                      AnyRef
                                                                      +
                                                                    21. + + +

                                                                      + + + def + + + toString(): String + +

                                                                      + + Permalink + + +
                                                                      Definition Classes
                                                                      AnyRef → Any
                                                                      +
                                                                    22. + + +

                                                                      + + final + def + + + wait(): Unit + +

                                                                      + + Permalink + + +
                                                                      Definition Classes
                                                                      AnyRef
                                                                      Annotations
                                                                      + @throws( + + ... + ) + +
                                                                      +
                                                                    23. + + +

                                                                      + + final + def + + + wait(arg0: Long, arg1: Int): Unit + +

                                                                      + + Permalink + + +
                                                                      Definition Classes
                                                                      AnyRef
                                                                      Annotations
                                                                      + @throws( + + ... + ) + +
                                                                      +
                                                                    24. + + +

                                                                      + + final + def + + + wait(arg0: Long): Unit + +

                                                                      + + Permalink + + +
                                                                      Definition Classes
                                                                      AnyRef
                                                                      Annotations
                                                                      + @throws( + + ... + ) + +
                                                                      +
                                                                    +
                                                                    + + + + +
                                                                    + +
                                                                    +
                                                                    +

                                                                    Inherited from AnyRef

                                                                    +
                                                                    +

                                                                    Inherited from Any

                                                                    +
                                                                    + +
                                                                    + +
                                                                    +
                                                                    +

                                                                    Ungrouped

                                                                    + +
                                                                    +
                                                                    + +
                                                                    + +
                                                                    + + + + + + diff --git a/manual1903/api_reference/didentification/scaladocs/ksb/csle/didentification/utilities/LayoutManager$.html b/manual1903/api_reference/didentification/scaladocs/ksb/csle/didentification/utilities/LayoutManager$.html new file mode 100644 index 0000000000000000000000000000000000000000..429e902303166819a89cb53f71c300f898d483d3 --- /dev/null +++ b/manual1903/api_reference/didentification/scaladocs/ksb/csle/didentification/utilities/LayoutManager$.html @@ -0,0 +1,501 @@ + + + + LayoutManager - KSB DEIDENTIFICATION Scala App Project 1.0-SNAPSHOT API - ksb.csle.didentification.utilities.LayoutManager + + + + + + + + + + + + + + + +
                                                                    + Object +

                                                                    ksb.csle.didentification.utilities

                                                                    +

                                                                    LayoutManager

                                                                    Related Doc: + package utilities +

                                                                    + + Permalink + + +
                                                                    + +

                                                                    + + + object + + + LayoutManager + +

                                                                    + +

                                                                    This object manages the layout information about columns in dataframe. +

                                                                    + Linear Supertypes +
                                                                    AnyRef, Any
                                                                    +
                                                                    + + +
                                                                    +
                                                                    +
                                                                    + Ordering +
                                                                      + +
                                                                    1. Alphabetic
                                                                    2. +
                                                                    3. By Inheritance
                                                                    4. +
                                                                    +
                                                                    +
                                                                    + Inherited
                                                                    +
                                                                    +
                                                                      +
                                                                    1. LayoutManager
                                                                    2. AnyRef
                                                                    3. Any
                                                                    4. +
                                                                    +
                                                                    + +
                                                                      +
                                                                    1. Hide All
                                                                    2. +
                                                                    3. Show All
                                                                    4. +
                                                                    +
                                                                    +
                                                                    + Visibility +
                                                                    1. Public
                                                                    2. All
                                                                    +
                                                                    +
                                                                    + +
                                                                    +
                                                                    + + + + + + +
                                                                    +

                                                                    Value Members

                                                                    +
                                                                    1. + + +

                                                                      + + final + def + + + !=(arg0: Any): Boolean + +

                                                                      + + Permalink + + +
                                                                      Definition Classes
                                                                      AnyRef → Any
                                                                      +
                                                                    2. + + +

                                                                      + + final + def + + + ##(): Int + +

                                                                      + + Permalink + + +
                                                                      Definition Classes
                                                                      AnyRef → Any
                                                                      +
                                                                    3. + + +

                                                                      + + final + def + + + ==(arg0: Any): Boolean + +

                                                                      + + Permalink + + +
                                                                      Definition Classes
                                                                      AnyRef → Any
                                                                      +
                                                                    4. + + +

                                                                      + + final + def + + + asInstanceOf[T0]: T0 + +

                                                                      + + Permalink + + +
                                                                      Definition Classes
                                                                      Any
                                                                      +
                                                                    5. + + +

                                                                      + + + def + + + clone(): AnyRef + +

                                                                      + + Permalink + + +
                                                                      Attributes
                                                                      protected[java.lang]
                                                                      Definition Classes
                                                                      AnyRef
                                                                      Annotations
                                                                      + @throws( + + ... + ) + +
                                                                      +
                                                                    6. + + +

                                                                      + + final + def + + + eq(arg0: AnyRef): Boolean + +

                                                                      + + Permalink + + +
                                                                      Definition Classes
                                                                      AnyRef
                                                                      +
                                                                    7. + + +

                                                                      + + + def + + + equals(arg0: Any): Boolean + +

                                                                      + + Permalink + + +
                                                                      Definition Classes
                                                                      AnyRef → Any
                                                                      +
                                                                    8. + + +

                                                                      + + + def + + + finalize(): Unit + +

                                                                      + + Permalink + + +
                                                                      Attributes
                                                                      protected[java.lang]
                                                                      Definition Classes
                                                                      AnyRef
                                                                      Annotations
                                                                      + @throws( + + classOf[java.lang.Throwable] + ) + +
                                                                      +
                                                                    9. + + +

                                                                      + + final + def + + + getClass(): Class[_] + +

                                                                      + + Permalink + + +
                                                                      Definition Classes
                                                                      AnyRef → Any
                                                                      +
                                                                    10. + + +

                                                                      + + + def + + + hashCode(): Int + +

                                                                      + + Permalink + + +
                                                                      Definition Classes
                                                                      AnyRef → Any
                                                                      +
                                                                    11. + + +

                                                                      + + final + def + + + isInstanceOf[T0]: Boolean + +

                                                                      + + Permalink + + +
                                                                      Definition Classes
                                                                      Any
                                                                      +
                                                                    12. + + +

                                                                      + + + def + + + isStringColumn(src: DataFrame, columnName: String): Boolean + +

                                                                      + + Permalink + + +

                                                                      Checks the column is string type or not.

                                                                      Checks the column is string type or not. +

                                                                      src

                                                                      Dataframe

                                                                      columnName

                                                                      Column to check

                                                                      returns

                                                                      Boolean Return true if the column is string type

                                                                      +
                                                                    13. + + +

                                                                      + + final + def + + + ne(arg0: AnyRef): Boolean + +

                                                                      + + Permalink + + +
                                                                      Definition Classes
                                                                      AnyRef
                                                                      +
                                                                    14. + + +

                                                                      + + final + def + + + notify(): Unit + +

                                                                      + + Permalink + + +
                                                                      Definition Classes
                                                                      AnyRef
                                                                      +
                                                                    15. + + +

                                                                      + + final + def + + + notifyAll(): Unit + +

                                                                      + + Permalink + + +
                                                                      Definition Classes
                                                                      AnyRef
                                                                      +
                                                                    16. + + +

                                                                      + + final + def + + + synchronized[T0](arg0: ⇒ T0): T0 + +

                                                                      + + Permalink + + +
                                                                      Definition Classes
                                                                      AnyRef
                                                                      +
                                                                    17. + + +

                                                                      + + + def + + + toString(): String + +

                                                                      + + Permalink + + +
                                                                      Definition Classes
                                                                      AnyRef → Any
                                                                      +
                                                                    18. + + +

                                                                      + + final + def + + + wait(): Unit + +

                                                                      + + Permalink + + +
                                                                      Definition Classes
                                                                      AnyRef
                                                                      Annotations
                                                                      + @throws( + + ... + ) + +
                                                                      +
                                                                    19. + + +

                                                                      + + final + def + + + wait(arg0: Long, arg1: Int): Unit + +

                                                                      + + Permalink + + +
                                                                      Definition Classes
                                                                      AnyRef
                                                                      Annotations
                                                                      + @throws( + + ... + ) + +
                                                                      +
                                                                    20. + + +

                                                                      + + final + def + + + wait(arg0: Long): Unit + +

                                                                      + + Permalink + + +
                                                                      Definition Classes
                                                                      AnyRef
                                                                      Annotations
                                                                      + @throws( + + ... + ) + +
                                                                      +
                                                                    +
                                                                    + + + + +
                                                                    + +
                                                                    +
                                                                    +

                                                                    Inherited from AnyRef

                                                                    +
                                                                    +

                                                                    Inherited from Any

                                                                    +
                                                                    + +
                                                                    + +
                                                                    +
                                                                    +

                                                                    Ungrouped

                                                                    + +
                                                                    +
                                                                    + +
                                                                    + +
                                                                    + + + + + + diff --git a/manual1903/api_reference/didentification/scaladocs/ksb/csle/didentification/utilities/MergingDataframe$.html b/manual1903/api_reference/didentification/scaladocs/ksb/csle/didentification/utilities/MergingDataframe$.html new file mode 100644 index 0000000000000000000000000000000000000000..072ccca20b42d9553010fb559930fb5d06fc97d7 --- /dev/null +++ b/manual1903/api_reference/didentification/scaladocs/ksb/csle/didentification/utilities/MergingDataframe$.html @@ -0,0 +1,554 @@ + + + + MergingDataframe - KSB DEIDENTIFICATION Scala App Project 1.0-SNAPSHOT API - ksb.csle.didentification.utilities.MergingDataframe + + + + + + + + + + + + + + + +
                                                                    + Object +

                                                                    ksb.csle.didentification.utilities

                                                                    +

                                                                    MergingDataframe

                                                                    Related Doc: + package utilities +

                                                                    + + Permalink + + +
                                                                    + +

                                                                    + + + object + + + MergingDataframe + +

                                                                    + +

                                                                    This trait provides the statistics related functions such as +min, max, avg, std, and # of records. +

                                                                    + Linear Supertypes +
                                                                    AnyRef, Any
                                                                    +
                                                                    + + +
                                                                    +
                                                                    +
                                                                    + Ordering +
                                                                      + +
                                                                    1. Alphabetic
                                                                    2. +
                                                                    3. By Inheritance
                                                                    4. +
                                                                    +
                                                                    +
                                                                    + Inherited
                                                                    +
                                                                    +
                                                                      +
                                                                    1. MergingDataframe
                                                                    2. AnyRef
                                                                    3. Any
                                                                    4. +
                                                                    +
                                                                    + +
                                                                      +
                                                                    1. Hide All
                                                                    2. +
                                                                    3. Show All
                                                                    4. +
                                                                    +
                                                                    +
                                                                    + Visibility +
                                                                    1. Public
                                                                    2. All
                                                                    +
                                                                    +
                                                                    + +
                                                                    +
                                                                    + + + + + + +
                                                                    +

                                                                    Value Members

                                                                    +
                                                                    1. + + +

                                                                      + + final + def + + + !=(arg0: Any): Boolean + +

                                                                      + + Permalink + + +
                                                                      Definition Classes
                                                                      AnyRef → Any
                                                                      +
                                                                    2. + + +

                                                                      + + final + def + + + ##(): Int + +

                                                                      + + Permalink + + +
                                                                      Definition Classes
                                                                      AnyRef → Any
                                                                      +
                                                                    3. + + +

                                                                      + + final + def + + + ==(arg0: Any): Boolean + +

                                                                      + + Permalink + + +
                                                                      Definition Classes
                                                                      AnyRef → Any
                                                                      +
                                                                    4. + + +

                                                                      + + final + def + + + asInstanceOf[T0]: T0 + +

                                                                      + + Permalink + + +
                                                                      Definition Classes
                                                                      Any
                                                                      +
                                                                    5. + + +

                                                                      + + + def + + + clone(): AnyRef + +

                                                                      + + Permalink + + +
                                                                      Attributes
                                                                      protected[java.lang]
                                                                      Definition Classes
                                                                      AnyRef
                                                                      Annotations
                                                                      + @throws( + + ... + ) + +
                                                                      +
                                                                    6. + + +

                                                                      + + final + def + + + eq(arg0: AnyRef): Boolean + +

                                                                      + + Permalink + + +
                                                                      Definition Classes
                                                                      AnyRef
                                                                      +
                                                                    7. + + +

                                                                      + + + def + + + equals(arg0: Any): Boolean + +

                                                                      + + Permalink + + +
                                                                      Definition Classes
                                                                      AnyRef → Any
                                                                      +
                                                                    8. + + +

                                                                      + + + def + + + finalize(): Unit + +

                                                                      + + Permalink + + +
                                                                      Attributes
                                                                      protected[java.lang]
                                                                      Definition Classes
                                                                      AnyRef
                                                                      Annotations
                                                                      + @throws( + + classOf[java.lang.Throwable] + ) + +
                                                                      +
                                                                    9. + + +

                                                                      + + final + def + + + getClass(): Class[_] + +

                                                                      + + Permalink + + +
                                                                      Definition Classes
                                                                      AnyRef → Any
                                                                      +
                                                                    10. + + +

                                                                      + + + def + + + hashCode(): Int + +

                                                                      + + Permalink + + +
                                                                      Definition Classes
                                                                      AnyRef → Any
                                                                      +
                                                                    11. + + +

                                                                      + + final + def + + + isInstanceOf[T0]: Boolean + +

                                                                      + + Permalink + + +
                                                                      Definition Classes
                                                                      Any
                                                                      +
                                                                    12. + + +

                                                                      + + + def + + + merging(df1: DataFrame, colIds1: Seq[Int], df2: DataFrame, colIds2: Seq[Int]): DataFrame + +

                                                                      + + Permalink + + + +
                                                                    13. + + +

                                                                      + + + def + + + merging(df1: DataFrame, df2: DataFrame, colIds: Seq[Int]): DataFrame + +

                                                                      + + Permalink + + + +
                                                                    14. + + +

                                                                      + + + def + + + merging(df1: DataFrame, colIds: Seq[Int], df2: DataFrame): DataFrame + +

                                                                      + + Permalink + + + +
                                                                    15. + + +

                                                                      + + + def + + + merging(df1: DataFrame, df2: DataFrame): DataFrame + +

                                                                      + + Permalink + + +

                                                                      Gets the minimum value among this column +

                                                                      Gets the minimum value among this column +

                                                                      returns

                                                                      Double Minimum value

                                                                      +
                                                                    16. + + +

                                                                      + + final + def + + + ne(arg0: AnyRef): Boolean + +

                                                                      + + Permalink + + +
                                                                      Definition Classes
                                                                      AnyRef
                                                                      +
                                                                    17. + + +

                                                                      + + final + def + + + notify(): Unit + +

                                                                      + + Permalink + + +
                                                                      Definition Classes
                                                                      AnyRef
                                                                      +
                                                                    18. + + +

                                                                      + + final + def + + + notifyAll(): Unit + +

                                                                      + + Permalink + + +
                                                                      Definition Classes
                                                                      AnyRef
                                                                      +
                                                                    19. + + +

                                                                      + + final + def + + + synchronized[T0](arg0: ⇒ T0): T0 + +

                                                                      + + Permalink + + +
                                                                      Definition Classes
                                                                      AnyRef
                                                                      +
                                                                    20. + + +

                                                                      + + + def + + + toString(): String + +

                                                                      + + Permalink + + +
                                                                      Definition Classes
                                                                      AnyRef → Any
                                                                      +
                                                                    21. + + +

                                                                      + + final + def + + + wait(): Unit + +

                                                                      + + Permalink + + +
                                                                      Definition Classes
                                                                      AnyRef
                                                                      Annotations
                                                                      + @throws( + + ... + ) + +
                                                                      +
                                                                    22. + + +

                                                                      + + final + def + + + wait(arg0: Long, arg1: Int): Unit + +

                                                                      + + Permalink + + +
                                                                      Definition Classes
                                                                      AnyRef
                                                                      Annotations
                                                                      + @throws( + + ... + ) + +
                                                                      +
                                                                    23. + + +

                                                                      + + final + def + + + wait(arg0: Long): Unit + +

                                                                      + + Permalink + + +
                                                                      Definition Classes
                                                                      AnyRef
                                                                      Annotations
                                                                      + @throws( + + ... + ) + +
                                                                      +
                                                                    +
                                                                    + + + + +
                                                                    + +
                                                                    +
                                                                    +

                                                                    Inherited from AnyRef

                                                                    +
                                                                    +

                                                                    Inherited from Any

                                                                    +
                                                                    + +
                                                                    + +
                                                                    +
                                                                    +

                                                                    Ungrouped

                                                                    + +
                                                                    +
                                                                    + +
                                                                    + +
                                                                    + + + + + + diff --git a/manual1903/api_reference/didentification/scaladocs/ksb/csle/didentification/utilities/OutlierManager$.html b/manual1903/api_reference/didentification/scaladocs/ksb/csle/didentification/utilities/OutlierManager$.html new file mode 100644 index 0000000000000000000000000000000000000000..c6d7fdc2c9df32f62deea09d84056c7e11d27c66 --- /dev/null +++ b/manual1903/api_reference/didentification/scaladocs/ksb/csle/didentification/utilities/OutlierManager$.html @@ -0,0 +1,1084 @@ + + + + OutlierManager - KSB DEIDENTIFICATION Scala App Project 1.0-SNAPSHOT API - ksb.csle.didentification.utilities.OutlierManager + + + + + + + + + + + + + + + +
                                                                    + Object +

                                                                    ksb.csle.didentification.utilities

                                                                    +

                                                                    OutlierManager

                                                                    Related Doc: + package utilities +

                                                                    + + Permalink + + +
                                                                    + +

                                                                    + + + object + + + OutlierManager extends Statistics with MethodString + +

                                                                    + +

                                                                    This object provides some functions to manage outliers. +

                                                                    + Linear Supertypes + +
                                                                    + + +
                                                                    +
                                                                    +
                                                                    + Ordering +
                                                                      + +
                                                                    1. Alphabetic
                                                                    2. +
                                                                    3. By Inheritance
                                                                    4. +
                                                                    +
                                                                    +
                                                                    + Inherited
                                                                    +
                                                                    +
                                                                      +
                                                                    1. OutlierManager
                                                                    2. MethodString
                                                                    3. Statistics
                                                                    4. DataFrameCheck
                                                                    5. AnyRef
                                                                    6. Any
                                                                    7. +
                                                                    +
                                                                    + +
                                                                      +
                                                                    1. Hide All
                                                                    2. +
                                                                    3. Show All
                                                                    4. +
                                                                    +
                                                                    +
                                                                    + Visibility +
                                                                    1. Public
                                                                    2. All
                                                                    +
                                                                    +
                                                                    + +
                                                                    +
                                                                    + + + + + + +
                                                                    +

                                                                    Value Members

                                                                    +
                                                                    1. + + +

                                                                      + + final + def + + + !=(arg0: Any): Boolean + +

                                                                      + + Permalink + + +
                                                                      Definition Classes
                                                                      AnyRef → Any
                                                                      +
                                                                    2. + + +

                                                                      + + final + def + + + ##(): Int + +

                                                                      + + Permalink + + +
                                                                      Definition Classes
                                                                      AnyRef → Any
                                                                      +
                                                                    3. + + +

                                                                      + + final + def + + + ==(arg0: Any): Boolean + +

                                                                      + + Permalink + + +
                                                                      Definition Classes
                                                                      AnyRef → Any
                                                                      +
                                                                    4. + + +

                                                                      + + final + def + + + asInstanceOf[T0]: T0 + +

                                                                      + + Permalink + + +
                                                                      Definition Classes
                                                                      Any
                                                                      +
                                                                    5. + + +

                                                                      + + + def + + + clone(): AnyRef + +

                                                                      + + Permalink + + +
                                                                      Attributes
                                                                      protected[java.lang]
                                                                      Definition Classes
                                                                      AnyRef
                                                                      Annotations
                                                                      + @throws( + + ... + ) + +
                                                                      +
                                                                    6. + + +

                                                                      + + final + def + + + eq(arg0: AnyRef): Boolean + +

                                                                      + + Permalink + + +
                                                                      Definition Classes
                                                                      AnyRef
                                                                      +
                                                                    7. + + +

                                                                      + + + def + + + equals(arg0: Any): Boolean + +

                                                                      + + Permalink + + +
                                                                      Definition Classes
                                                                      AnyRef → Any
                                                                      +
                                                                    8. + + +

                                                                      + + + def + + + finalize(): Unit + +

                                                                      + + Permalink + + +
                                                                      Attributes
                                                                      protected[java.lang]
                                                                      Definition Classes
                                                                      AnyRef
                                                                      Annotations
                                                                      + @throws( + + classOf[java.lang.Throwable] + ) + +
                                                                      +
                                                                    9. + + +

                                                                      + + + def + + + getAvgValue(values: List[Long]): Double + +

                                                                      + + Permalink + + +

                                                                      Gets the average value among the given list of values +

                                                                      Gets the average value among the given list of values +

                                                                      values

                                                                      the list of values

                                                                      returns

                                                                      Double The average value

                                                                      Definition Classes
                                                                      Statistics
                                                                      Annotations
                                                                      + @throws( + + ... + ) + +
                                                                      +
                                                                    10. + + +

                                                                      + + + def + + + getAvgValue(src: DataFrame, columnName: String): String + +

                                                                      + + Permalink + + +

                                                                      Gets the average value among this column +

                                                                      Gets the average value among this column +

                                                                      src

                                                                      Dataframe

                                                                      columnName

                                                                      Column

                                                                      returns

                                                                      String The string type of average value

                                                                      Definition Classes
                                                                      Statistics
                                                                      +
                                                                    11. + + +

                                                                      + + final + def + + + getClass(): Class[_] + +

                                                                      + + Permalink + + +
                                                                      Definition Classes
                                                                      AnyRef → Any
                                                                      +
                                                                    12. + + +

                                                                      + + + def + + + getColumnName(src: DataFrame, columnId: Int): String + +

                                                                      + + Permalink + + +

                                                                      Returns column name from src dataframe +specified by the column ID defined by protobuf.

                                                                      Returns column name from src dataframe +specified by the column ID defined by protobuf. +

                                                                      src

                                                                      dataframe to get names of columns.

                                                                      columnId

                                                                      column ID to anonymize.

                                                                      returns

                                                                      String.

                                                                      Definition Classes
                                                                      DataFrameCheck
                                                                      +
                                                                    13. + + +

                                                                      + + + def + + + getColumnNames(src: DataFrame, columnIDs: Array[Int]): Array[String] + +

                                                                      + + Permalink + + +

                                                                      Returns column names from src dataframe specified by column IDs.

                                                                      Returns column names from src dataframe specified by column IDs. +Note that the column with invalid IDs are ignored. +

                                                                      src

                                                                      dataframe to get names of columns.

                                                                      returns

                                                                      Array[String].

                                                                      Definition Classes
                                                                      DataFrameCheck
                                                                      +
                                                                    14. + + +

                                                                      + + + def + + + getCountValue(values: List[Long]): Double + +

                                                                      + + Permalink + + +

                                                                      Gets the number of tuples among he given list of values +

                                                                      Gets the number of tuples among he given list of values +

                                                                      returns

                                                                      Double The number of tuples

                                                                      Definition Classes
                                                                      Statistics
                                                                      +
                                                                    15. + + +

                                                                      + + + def + + + getCountValue(src: DataFrame, columnName: String): String + +

                                                                      + + Permalink + + +

                                                                      Gets the number of tuples among this column +

                                                                      Gets the number of tuples among this column +

                                                                      src

                                                                      Dataframe

                                                                      columnName

                                                                      Column

                                                                      returns

                                                                      Double The number of tuples

                                                                      Definition Classes
                                                                      Statistics
                                                                      +
                                                                    16. + + +

                                                                      + + + def + + + getMaxValue(values: List[Double]): Double + +

                                                                      + + Permalink + + +

                                                                      Gets the maximum value among the given list of values +

                                                                      Gets the maximum value among the given list of values +

                                                                      values

                                                                      the list of values

                                                                      returns

                                                                      Double Maximum value

                                                                      Definition Classes
                                                                      Statistics
                                                                      +
                                                                    17. + + +

                                                                      + + + def + + + getMaxValue(src: DataFrame, columnName: String): String + +

                                                                      + + Permalink + + +

                                                                      Gets the maximum value among this column +

                                                                      Gets the maximum value among this column +

                                                                      src

                                                                      Dataframe

                                                                      columnName

                                                                      Column

                                                                      returns

                                                                      String the string type of Maximum value

                                                                      Definition Classes
                                                                      Statistics
                                                                      +
                                                                    18. + + +

                                                                      + + + def + + + getMethodString[T](method: T): String + +

                                                                      + + Permalink + + +
                                                                      Definition Classes
                                                                      MethodString
                                                                      +
                                                                    19. + + +

                                                                      + + + def + + + getMinValue(values: List[Double]): Double + +

                                                                      + + Permalink + + +

                                                                      Gets the minimum value among the given list of values +

                                                                      Gets the minimum value among the given list of values +

                                                                      values

                                                                      the list of values

                                                                      returns

                                                                      Double Minimum value

                                                                      Definition Classes
                                                                      Statistics
                                                                      +
                                                                    20. + + +

                                                                      + + + def + + + getMinValue(src: DataFrame, columnName: String): String + +

                                                                      + + Permalink + + +

                                                                      Gets the minimum value among this column +

                                                                      Gets the minimum value among this column +

                                                                      src

                                                                      Dataframe

                                                                      columnName

                                                                      Column

                                                                      returns

                                                                      String the string type of Minimum value

                                                                      Definition Classes
                                                                      Statistics
                                                                      +
                                                                    21. + + +

                                                                      + + + def + + + getQuasiColumnIDs(fieldInfos: Array[FieldInfo]): Array[Int] + +

                                                                      + + Permalink + + +
                                                                      Definition Classes
                                                                      DataFrameCheck
                                                                      +
                                                                    22. + + +

                                                                      + + + def + + + getSensColumnIDs(fieldInfos: Array[FieldInfo]): Array[Int] + +

                                                                      + + Permalink + + +
                                                                      Definition Classes
                                                                      DataFrameCheck
                                                                      +
                                                                    23. + + +

                                                                      + + + def + + + getStdValue(values: List[Long]): Double + +

                                                                      + + Permalink + + +

                                                                      Gets the average value among the given list of values +

                                                                      Gets the average value among the given list of values +

                                                                      values

                                                                      the list of values

                                                                      returns

                                                                      Double The average value

                                                                      Definition Classes
                                                                      Statistics
                                                                      +
                                                                    24. + + +

                                                                      + + + def + + + getStdValue(src: DataFrame, columnName: String): String + +

                                                                      + + Permalink + + +

                                                                      Gets the standard deviation value among this column +

                                                                      Gets the standard deviation value among this column +

                                                                      src

                                                                      Dataframe

                                                                      columnName

                                                                      Column

                                                                      returns

                                                                      String The string type of standard deviation value

                                                                      Definition Classes
                                                                      Statistics
                                                                      +
                                                                    25. + + +

                                                                      + + + def + + + getValidColumnIDs(src: DataFrame, columnIDs: Array[Int]): Array[Int] + +

                                                                      + + Permalink + + +
                                                                      Definition Classes
                                                                      DataFrameCheck
                                                                      +
                                                                    26. + + +

                                                                      + + + def + + + hashCode(): Int + +

                                                                      + + Permalink + + +
                                                                      Definition Classes
                                                                      AnyRef → Any
                                                                      +
                                                                    27. + + +

                                                                      + + final + def + + + isInstanceOf[T0]: Boolean + +

                                                                      + + Permalink + + +
                                                                      Definition Classes
                                                                      Any
                                                                      +
                                                                    28. + + +

                                                                      + + + def + + + isValidColumnID(src: DataFrame, columnID: Int): Boolean + +

                                                                      + + Permalink + + +

                                                                      Checks the given column ID is valid.

                                                                      Checks the given column ID is valid. +

                                                                      src

                                                                      dataframe to get names of columns.

                                                                      returns

                                                                      Boolean.

                                                                      Definition Classes
                                                                      DataFrameCheck
                                                                      +
                                                                    29. + + +

                                                                      + + + def + + + isValidColumnName(src: DataFrame, columnName: String): Boolean + +

                                                                      + + Permalink + + +

                                                                      Checks the given column Name is valid.

                                                                      Checks the given column Name is valid. +

                                                                      src

                                                                      dataframe to get names of columns.

                                                                      columnName

                                                                      column Name.

                                                                      returns

                                                                      Boolean.

                                                                      Definition Classes
                                                                      DataFrameCheck
                                                                      +
                                                                    30. + + +

                                                                      + + + def + + + makeAgeOutlierMgmtTableBoxplot(src: DataFrame, columnName: String, method: String): Map[Interval, OutlierInfo] + +

                                                                      + + Permalink + + +

                                                                      In case of age-related column, the outlier information info may be +decided by the 10s, 20s, and so on.

                                                                      In case of age-related column, the outlier information info may be +decided by the 10s, 20s, and so on. +

                                                                      src

                                                                      Dataframe

                                                                      columnName

                                                                      Column

                                                                      method

                                                                      Methods to handle outliers. ex., min, max, avg, std, and count

                                                                      returns

                                                                      Map[Interval, Boxplot] Outlier management table ( + the Boxplot information in a interval)

                                                                      +
                                                                    31. + + +

                                                                      + + + def + + + makeAgeOutlierMgmtTableBoxplot[T](src: DataFrame, columnName: String, method: T): Map[Interval, OutlierInfo] + +

                                                                      + + Permalink + + +

                                                                      Same as makeAgeStatTable(src: DataFrame, columnName: String, +method: String), but the method is the type of AggregationMethod.

                                                                      Same as makeAgeStatTable(src: DataFrame, columnName: String, +method: String), but the method is the type of AggregationMethod. +

                                                                      src

                                                                      Dataframe

                                                                      columnName

                                                                      Column

                                                                      method

                                                                      Methods to handle outliers. ex., min, max, avg, std, and count

                                                                      returns

                                                                      Map[Interval, Boxplot] Outlier management table ( + the Boxplot information in a interval)

                                                                      +
                                                                    32. + + +

                                                                      + + + def + + + makeAgeOutlierMgmtTableZscore(src: DataFrame, columnName: String, method: String): Map[Interval, OutlierInfo] + +

                                                                      + + Permalink + + +

                                                                      In case of age-related column, the outlier information info may be +decided by the 10s, 20s, and so on.

                                                                      In case of age-related column, the outlier information info may be +decided by the 10s, 20s, and so on. +

                                                                      src

                                                                      Dataframe

                                                                      columnName

                                                                      Column

                                                                      method

                                                                      Methods to handle outliers. ex., min, max, avg, std, and count

                                                                      returns

                                                                      Map[Interval, Zscore] Outlier management table ( + the Z-score information in a interval)

                                                                      +
                                                                    33. + + +

                                                                      + + + def + + + makeAgeOutlierMgmtTableZscore[T](src: DataFrame, columnName: String, method: T): Map[Interval, OutlierInfo] + +

                                                                      + + Permalink + + +

                                                                      Same as makeAgeStatTable(src: DataFrame, columnName: String, +method: String), but the method is the type of AggregationMethod.

                                                                      Same as makeAgeStatTable(src: DataFrame, columnName: String, +method: String), but the method is the type of AggregationMethod. +

                                                                      src

                                                                      Dataframe

                                                                      columnName

                                                                      Column

                                                                      method

                                                                      Methods to handle outliers. ex., min, max, avg, std, and count

                                                                      returns

                                                                      Map[Interval, Boxplot] Outlier management table ( + the Boxplot information in a interval)

                                                                      +
                                                                    34. + + +

                                                                      + + + def + + + makeOutlierMgmtTableBoxplot(src: DataFrame, columnName: String, method: String, nSteps: Int): Map[Interval, OutlierInfo] + +

                                                                      + + Permalink + + +

                                                                      Makes the outlier management table based on the boxplot technique which +includes outlier information about some numerical interval as a form +of map [numerical interval, outlier management info].

                                                                      Makes the outlier management table based on the boxplot technique which +includes outlier information about some numerical interval as a form +of map [numerical interval, outlier management info]. +

                                                                      src

                                                                      Dataframe

                                                                      columnName

                                                                      Column

                                                                      method

                                                                      Methods to handle outliers. ex., min, max, avg, std, and count

                                                                      returns

                                                                      Map[Interval, Boxplot] Outlier management table ( + the Boxplot information in a interval)

                                                                      +
                                                                    35. + + +

                                                                      + + + def + + + makeOutlierMgmtTableBoxplot[T](src: DataFrame, columnName: String, method: T, nSteps: Int): Map[Interval, OutlierInfo] + +

                                                                      + + Permalink + + + +
                                                                    36. + + +

                                                                      + + + def + + + makeOutlierMgmtTableBoxplot(src: DataFrame, columnName: String, method: String): Map[Interval, OutlierInfo] + +

                                                                      + + Permalink + + +

                                                                      Makes the outlier management table based on the boxplot technique which +includes outlier information about some numerical interval as a form +of map [numerical interval, outlier management info].

                                                                      Makes the outlier management table based on the boxplot technique which +includes outlier information about some numerical interval as a form +of map [numerical interval, outlier management info]. The default +interval is set to satisfy the number of intervals to be be 10 +

                                                                      src

                                                                      Dataframe

                                                                      columnName

                                                                      Column

                                                                      method

                                                                      Methods to handle outliers. ex., min, max, avg, std, and count

                                                                      returns

                                                                      Map[Interval, Boxplot] Outlier management table ( + the Boxplot information in a interval)

                                                                      +
                                                                    37. + + +

                                                                      + + + def + + + makeOutlierMgmtTableBoxplot[T](src: DataFrame, columnName: String, method: T): Map[Interval, OutlierInfo] + +

                                                                      + + Permalink + + +

                                                                      Same as makeOutlierMgmtTableBoxplot(src: DataFrame, columnName: String, +method: String), but the method is the type of AggregationMethod +

                                                                      Same as makeOutlierMgmtTableBoxplot(src: DataFrame, columnName: String, +method: String), but the method is the type of AggregationMethod +

                                                                      src

                                                                      Dataframe

                                                                      columnName

                                                                      Column

                                                                      method

                                                                      Methods to handle outliers. ex., min, max, avg, std, and count

                                                                      returns

                                                                      Map[Interval, Boxplot] Outlier management table ( + the Boxplot information in a interval)

                                                                      +
                                                                    38. + + +

                                                                      + + + def + + + makeOutlierMgmtTableZscore(src: DataFrame, columnName: String, method: String, nSteps: Int): Map[Interval, OutlierInfo] + +

                                                                      + + Permalink + + +

                                                                      Makes the outlier management table based on the z-score technique which +includes outlier information about some numerical interval as a form +of map [numerical interval, outlier management info].

                                                                      Makes the outlier management table based on the z-score technique which +includes outlier information about some numerical interval as a form +of map [numerical interval, outlier management info]. +

                                                                      src

                                                                      Dataframe

                                                                      columnName

                                                                      Column

                                                                      method

                                                                      Methods to handle outliers. ex., min, max, avg, std, and count

                                                                      returns

                                                                      Map[Interval, Zscore] Outlier management table ( + the Z-score information in a interval)

                                                                      +
                                                                    39. + + +

                                                                      + + + def + + + makeOutlierMgmtTableZscore[T](src: DataFrame, columnName: String, method: T, nSteps: Int): Map[Interval, OutlierInfo] + +

                                                                      + + Permalink + + + +
                                                                    40. + + +

                                                                      + + + def + + + makeOutlierMgmtTableZscore(src: DataFrame, columnName: String, method: String): Map[Interval, OutlierInfo] + +

                                                                      + + Permalink + + +

                                                                      Makes the outlier management table based on the z-score technique which +includes outlier information about some numerical interval as a form +of map [numerical interval, outlier management info].

                                                                      Makes the outlier management table based on the z-score technique which +includes outlier information about some numerical interval as a form +of map [numerical interval, outlier management info]. The default +interval is set to satisfy the number of intervals to be be 10 +

                                                                      src

                                                                      Dataframe

                                                                      columnName

                                                                      Column

                                                                      method

                                                                      Methods to handle outliers. ex., min, max, avg, std, and count

                                                                      returns

                                                                      Map[Interval, Zscore] Outlier management table ( + the Z-score information in a interval)

                                                                      +
                                                                    41. + + +

                                                                      + + + def + + + makeOutlierMgmtTableZscore[T](src: DataFrame, columnName: String, method: T): Map[Interval, OutlierInfo] + +

                                                                      + + Permalink + + +

                                                                      Same as makeOutlierMgmtTableZscore(src: DataFrame, columnName: String, +method: String), but the method is the type of AggregationMethod +

                                                                      Same as makeOutlierMgmtTableZscore(src: DataFrame, columnName: String, +method: String), but the method is the type of AggregationMethod +

                                                                      src

                                                                      Dataframe

                                                                      columnName

                                                                      Column

                                                                      method

                                                                      Methods to handle outliers. ex., min, max, avg, std, and count

                                                                      returns

                                                                      Map[Interval, Zscore] Outlier management table ( + the Z-score information in a interval)

                                                                      +
                                                                    42. + + +

                                                                      + + final + def + + + ne(arg0: AnyRef): Boolean + +

                                                                      + + Permalink + + +
                                                                      Definition Classes
                                                                      AnyRef
                                                                      +
                                                                    43. + + +

                                                                      + + final + def + + + notify(): Unit + +

                                                                      + + Permalink + + +
                                                                      Definition Classes
                                                                      AnyRef
                                                                      +
                                                                    44. + + +

                                                                      + + final + def + + + notifyAll(): Unit + +

                                                                      + + Permalink + + +
                                                                      Definition Classes
                                                                      AnyRef
                                                                      +
                                                                    45. + + +

                                                                      + + final + def + + + synchronized[T0](arg0: ⇒ T0): T0 + +

                                                                      + + Permalink + + +
                                                                      Definition Classes
                                                                      AnyRef
                                                                      +
                                                                    46. + + +

                                                                      + + + def + + + toString(): String + +

                                                                      + + Permalink + + +
                                                                      Definition Classes
                                                                      AnyRef → Any
                                                                      +
                                                                    47. + + +

                                                                      + + final + def + + + wait(): Unit + +

                                                                      + + Permalink + + +
                                                                      Definition Classes
                                                                      AnyRef
                                                                      Annotations
                                                                      + @throws( + + ... + ) + +
                                                                      +
                                                                    48. + + +

                                                                      + + final + def + + + wait(arg0: Long, arg1: Int): Unit + +

                                                                      + + Permalink + + +
                                                                      Definition Classes
                                                                      AnyRef
                                                                      Annotations
                                                                      + @throws( + + ... + ) + +
                                                                      +
                                                                    49. + + +

                                                                      + + final + def + + + wait(arg0: Long): Unit + +

                                                                      + + Permalink + + +
                                                                      Definition Classes
                                                                      AnyRef
                                                                      Annotations
                                                                      + @throws( + + ... + ) + +
                                                                      +
                                                                    +
                                                                    + + + + +
                                                                    + +
                                                                    +
                                                                    +

                                                                    Inherited from MethodString

                                                                    +
                                                                    +

                                                                    Inherited from Statistics

                                                                    +
                                                                    +

                                                                    Inherited from DataFrameCheck

                                                                    +
                                                                    +

                                                                    Inherited from AnyRef

                                                                    +
                                                                    +

                                                                    Inherited from Any

                                                                    +
                                                                    + +
                                                                    + +
                                                                    +
                                                                    +

                                                                    Ungrouped

                                                                    + +
                                                                    +
                                                                    + +
                                                                    + +
                                                                    + + + + + + diff --git a/manual1903/api_reference/didentification/scaladocs/ksb/csle/didentification/utilities/RandomGenerator$.html b/manual1903/api_reference/didentification/scaladocs/ksb/csle/didentification/utilities/RandomGenerator$.html new file mode 100644 index 0000000000000000000000000000000000000000..9132d76dcef8e47c984429a06c0fc3c670e1c3a4 --- /dev/null +++ b/manual1903/api_reference/didentification/scaladocs/ksb/csle/didentification/utilities/RandomGenerator$.html @@ -0,0 +1,653 @@ + + + + RandomGenerator - KSB DEIDENTIFICATION Scala App Project 1.0-SNAPSHOT API - ksb.csle.didentification.utilities.RandomGenerator + + + + + + + + + + + + + + + +
                                                                    + Object +

                                                                    ksb.csle.didentification.utilities

                                                                    +

                                                                    RandomGenerator

                                                                    Related Doc: + package utilities +

                                                                    + + Permalink + + +
                                                                    + +

                                                                    + + + object + + + RandomGenerator + +

                                                                    + +

                                                                    This object provides some functions to make random strings. +

                                                                    + Linear Supertypes +
                                                                    AnyRef, Any
                                                                    +
                                                                    + + +
                                                                    +
                                                                    +
                                                                    + Ordering +
                                                                      + +
                                                                    1. Alphabetic
                                                                    2. +
                                                                    3. By Inheritance
                                                                    4. +
                                                                    +
                                                                    +
                                                                    + Inherited
                                                                    +
                                                                    +
                                                                      +
                                                                    1. RandomGenerator
                                                                    2. AnyRef
                                                                    3. Any
                                                                    4. +
                                                                    +
                                                                    + +
                                                                      +
                                                                    1. Hide All
                                                                    2. +
                                                                    3. Show All
                                                                    4. +
                                                                    +
                                                                    +
                                                                    + Visibility +
                                                                    1. Public
                                                                    2. All
                                                                    +
                                                                    +
                                                                    + +
                                                                    +
                                                                    + + + + + + +
                                                                    +

                                                                    Value Members

                                                                    +
                                                                    1. + + +

                                                                      + + final + def + + + !=(arg0: Any): Boolean + +

                                                                      + + Permalink + + +
                                                                      Definition Classes
                                                                      AnyRef → Any
                                                                      +
                                                                    2. + + +

                                                                      + + final + def + + + ##(): Int + +

                                                                      + + Permalink + + +
                                                                      Definition Classes
                                                                      AnyRef → Any
                                                                      +
                                                                    3. + + +

                                                                      + + final + def + + + ==(arg0: Any): Boolean + +

                                                                      + + Permalink + + +
                                                                      Definition Classes
                                                                      AnyRef → Any
                                                                      +
                                                                    4. + + +

                                                                      + + final + def + + + asInstanceOf[T0]: T0 + +

                                                                      + + Permalink + + +
                                                                      Definition Classes
                                                                      Any
                                                                      +
                                                                    5. + + +

                                                                      + + + def + + + clone(): AnyRef + +

                                                                      + + Permalink + + +
                                                                      Attributes
                                                                      protected[java.lang]
                                                                      Definition Classes
                                                                      AnyRef
                                                                      Annotations
                                                                      + @throws( + + ... + ) + +
                                                                      +
                                                                    6. + + +

                                                                      + + final + def + + + eq(arg0: AnyRef): Boolean + +

                                                                      + + Permalink + + +
                                                                      Definition Classes
                                                                      AnyRef
                                                                      +
                                                                    7. + + +

                                                                      + + + def + + + equals(arg0: Any): Boolean + +

                                                                      + + Permalink + + +
                                                                      Definition Classes
                                                                      AnyRef → Any
                                                                      +
                                                                    8. + + +

                                                                      + + + def + + + finalize(): Unit + +

                                                                      + + Permalink + + +
                                                                      Attributes
                                                                      protected[java.lang]
                                                                      Definition Classes
                                                                      AnyRef
                                                                      Annotations
                                                                      + @throws( + + classOf[java.lang.Throwable] + ) + +
                                                                      +
                                                                    9. + + +

                                                                      + + final + def + + + getClass(): Class[_] + +

                                                                      + + Permalink + + +
                                                                      Definition Classes
                                                                      AnyRef → Any
                                                                      +
                                                                    10. + + +

                                                                      + + + def + + + hashCode(): Int + +

                                                                      + + Permalink + + +
                                                                      Definition Classes
                                                                      AnyRef → Any
                                                                      +
                                                                    11. + + +

                                                                      + + final + def + + + isInstanceOf[T0]: Boolean + +

                                                                      + + Permalink + + +
                                                                      Definition Classes
                                                                      Any
                                                                      +
                                                                    12. + + +

                                                                      + + final + def + + + ne(arg0: AnyRef): Boolean + +

                                                                      + + Permalink + + +
                                                                      Definition Classes
                                                                      AnyRef
                                                                      +
                                                                    13. + + +

                                                                      + + final + def + + + notify(): Unit + +

                                                                      + + Permalink + + +
                                                                      Definition Classes
                                                                      AnyRef
                                                                      +
                                                                    14. + + +

                                                                      + + final + def + + + notifyAll(): Unit + +

                                                                      + + Permalink + + +
                                                                      Definition Classes
                                                                      AnyRef
                                                                      +
                                                                    15. + + +

                                                                      + + + def + + + randomAlpha(length: Int): String + +

                                                                      + + Permalink + + +

                                                                      Makes random alphabets

                                                                      Makes random alphabets

                                                                      length

                                                                      the length of random alphabet to generate

                                                                      returns

                                                                      String.

                                                                      +
                                                                    16. + + +

                                                                      + + + def + + + randomAlpha(): String + +

                                                                      + + Permalink + + +

                                                                      Makes a single random alphabet

                                                                      Makes a single random alphabet

                                                                      returns

                                                                      String.

                                                                      +
                                                                    17. + + +

                                                                      + + + def + + + randomAlphaLower(length: Int): String + +

                                                                      + + Permalink + + +

                                                                      Makes random lower case alphabets

                                                                      Makes random lower case alphabets

                                                                      length

                                                                      the length of random alphabet to generate

                                                                      returns

                                                                      String.

                                                                      +
                                                                    18. + + +

                                                                      + + + def + + + randomAlphaLower(): String + +

                                                                      + + Permalink + + +

                                                                      Makes a single random lower case alphabet

                                                                      Makes a single random lower case alphabet

                                                                      returns

                                                                      String.

                                                                      +
                                                                    19. + + +

                                                                      + + + def + + + randomAlphaUpper(length: Int): String + +

                                                                      + + Permalink + + +

                                                                      Makes random upper case alphabets

                                                                      Makes random upper case alphabets

                                                                      length

                                                                      the length of random alphabet to generate

                                                                      returns

                                                                      String.

                                                                      +
                                                                    20. + + +

                                                                      + + + def + + + randomAlphaUpper(): String + +

                                                                      + + Permalink + + +

                                                                      Makes a single random upper case alphabet

                                                                      Makes a single random upper case alphabet

                                                                      returns

                                                                      String.

                                                                      +
                                                                    21. + + +

                                                                      + + + def + + + randomMixed(length: Int): String + +

                                                                      + + Permalink + + +

                                                                      Makes random string

                                                                      Makes random string

                                                                      length

                                                                      the length of random string to generate

                                                                      returns

                                                                      String.

                                                                      +
                                                                    22. + + +

                                                                      + + + def + + + randomMixed(): String + +

                                                                      + + Permalink + + +

                                                                      Makes a single random string

                                                                      Makes a single random string

                                                                      returns

                                                                      String.

                                                                      +
                                                                    23. + + +

                                                                      + + + def + + + randomNumber(length: Int): Int + +

                                                                      + + Permalink + + +

                                                                      Makes random numbers

                                                                      Makes random numbers

                                                                      length

                                                                      the length of random numbers to generate

                                                                      returns

                                                                      String.

                                                                      +
                                                                    24. + + +

                                                                      + + + def + + + randomNumber(): Int + +

                                                                      + + Permalink + + +

                                                                      Makes a single random number

                                                                      Makes a single random number

                                                                      returns

                                                                      Integer.

                                                                      +
                                                                    25. + + +

                                                                      + + final + def + + + synchronized[T0](arg0: ⇒ T0): T0 + +

                                                                      + + Permalink + + +
                                                                      Definition Classes
                                                                      AnyRef
                                                                      +
                                                                    26. + + +

                                                                      + + + def + + + toString(): String + +

                                                                      + + Permalink + + +
                                                                      Definition Classes
                                                                      AnyRef → Any
                                                                      +
                                                                    27. + + +

                                                                      + + final + def + + + wait(): Unit + +

                                                                      + + Permalink + + +
                                                                      Definition Classes
                                                                      AnyRef
                                                                      Annotations
                                                                      + @throws( + + ... + ) + +
                                                                      +
                                                                    28. + + +

                                                                      + + final + def + + + wait(arg0: Long, arg1: Int): Unit + +

                                                                      + + Permalink + + +
                                                                      Definition Classes
                                                                      AnyRef
                                                                      Annotations
                                                                      + @throws( + + ... + ) + +
                                                                      +
                                                                    29. + + +

                                                                      + + final + def + + + wait(arg0: Long): Unit + +

                                                                      + + Permalink + + +
                                                                      Definition Classes
                                                                      AnyRef
                                                                      Annotations
                                                                      + @throws( + + ... + ) + +
                                                                      +
                                                                    +
                                                                    + + + + +
                                                                    + +
                                                                    +
                                                                    +

                                                                    Inherited from AnyRef

                                                                    +
                                                                    +

                                                                    Inherited from Any

                                                                    +
                                                                    + +
                                                                    + +
                                                                    +
                                                                    +

                                                                    Ungrouped

                                                                    + +
                                                                    +
                                                                    + +
                                                                    + +
                                                                    + + + + + + diff --git a/manual1903/api_reference/didentification/scaladocs/ksb/csle/didentification/utilities/SelectDataframe$.html b/manual1903/api_reference/didentification/scaladocs/ksb/csle/didentification/utilities/SelectDataframe$.html new file mode 100644 index 0000000000000000000000000000000000000000..e6f31b60a7de26b66f5f0f77098fa503b96221c4 --- /dev/null +++ b/manual1903/api_reference/didentification/scaladocs/ksb/csle/didentification/utilities/SelectDataframe$.html @@ -0,0 +1,520 @@ + + + + SelectDataframe - KSB DEIDENTIFICATION Scala App Project 1.0-SNAPSHOT API - ksb.csle.didentification.utilities.SelectDataframe + + + + + + + + + + + + + + + +
                                                                    + Object +

                                                                    ksb.csle.didentification.utilities

                                                                    +

                                                                    SelectDataframe

                                                                    Related Doc: + package utilities +

                                                                    + + Permalink + + +
                                                                    + +

                                                                    + + + object + + + SelectDataframe + +

                                                                    + +

                                                                    This trait provides the statistics related functions such as +min, max, avg, std, and # of records. +

                                                                    + Linear Supertypes +
                                                                    AnyRef, Any
                                                                    +
                                                                    + + +
                                                                    +
                                                                    +
                                                                    + Ordering +
                                                                      + +
                                                                    1. Alphabetic
                                                                    2. +
                                                                    3. By Inheritance
                                                                    4. +
                                                                    +
                                                                    +
                                                                    + Inherited
                                                                    +
                                                                    +
                                                                      +
                                                                    1. SelectDataframe
                                                                    2. AnyRef
                                                                    3. Any
                                                                    4. +
                                                                    +
                                                                    + +
                                                                      +
                                                                    1. Hide All
                                                                    2. +
                                                                    3. Show All
                                                                    4. +
                                                                    +
                                                                    +
                                                                    + Visibility +
                                                                    1. Public
                                                                    2. All
                                                                    +
                                                                    +
                                                                    + +
                                                                    +
                                                                    + + + + + + +
                                                                    +

                                                                    Value Members

                                                                    +
                                                                    1. + + +

                                                                      + + final + def + + + !=(arg0: Any): Boolean + +

                                                                      + + Permalink + + +
                                                                      Definition Classes
                                                                      AnyRef → Any
                                                                      +
                                                                    2. + + +

                                                                      + + final + def + + + ##(): Int + +

                                                                      + + Permalink + + +
                                                                      Definition Classes
                                                                      AnyRef → Any
                                                                      +
                                                                    3. + + +

                                                                      + + final + def + + + ==(arg0: Any): Boolean + +

                                                                      + + Permalink + + +
                                                                      Definition Classes
                                                                      AnyRef → Any
                                                                      +
                                                                    4. + + +

                                                                      + + final + def + + + asInstanceOf[T0]: T0 + +

                                                                      + + Permalink + + +
                                                                      Definition Classes
                                                                      Any
                                                                      +
                                                                    5. + + +

                                                                      + + + def + + + clone(): AnyRef + +

                                                                      + + Permalink + + +
                                                                      Attributes
                                                                      protected[java.lang]
                                                                      Definition Classes
                                                                      AnyRef
                                                                      Annotations
                                                                      + @throws( + + ... + ) + +
                                                                      +
                                                                    6. + + +

                                                                      + + + def + + + dropFirstNRows(src: DataFrame, nRows: Long): DataFrame + +

                                                                      + + Permalink + + +

                                                                      Gets the minimum value among this column +

                                                                      Gets the minimum value among this column +

                                                                      src

                                                                      Dataframe

                                                                      returns

                                                                      Double Minimum value

                                                                      +
                                                                    7. + + +

                                                                      + + + def + + + dropTailNRows(src: DataFrame, nRows: Int): DataFrame + +

                                                                      + + Permalink + + + +
                                                                    8. + + +

                                                                      + + final + def + + + eq(arg0: AnyRef): Boolean + +

                                                                      + + Permalink + + +
                                                                      Definition Classes
                                                                      AnyRef
                                                                      +
                                                                    9. + + +

                                                                      + + + def + + + equals(arg0: Any): Boolean + +

                                                                      + + Permalink + + +
                                                                      Definition Classes
                                                                      AnyRef → Any
                                                                      +
                                                                    10. + + +

                                                                      + + + def + + + finalize(): Unit + +

                                                                      + + Permalink + + +
                                                                      Attributes
                                                                      protected[java.lang]
                                                                      Definition Classes
                                                                      AnyRef
                                                                      Annotations
                                                                      + @throws( + + classOf[java.lang.Throwable] + ) + +
                                                                      +
                                                                    11. + + +

                                                                      + + final + def + + + getClass(): Class[_] + +

                                                                      + + Permalink + + +
                                                                      Definition Classes
                                                                      AnyRef → Any
                                                                      +
                                                                    12. + + +

                                                                      + + + def + + + hashCode(): Int + +

                                                                      + + Permalink + + +
                                                                      Definition Classes
                                                                      AnyRef → Any
                                                                      +
                                                                    13. + + +

                                                                      + + final + def + + + isInstanceOf[T0]: Boolean + +

                                                                      + + Permalink + + +
                                                                      Definition Classes
                                                                      Any
                                                                      +
                                                                    14. + + +

                                                                      + + final + def + + + ne(arg0: AnyRef): Boolean + +

                                                                      + + Permalink + + +
                                                                      Definition Classes
                                                                      AnyRef
                                                                      +
                                                                    15. + + +

                                                                      + + final + def + + + notify(): Unit + +

                                                                      + + Permalink + + +
                                                                      Definition Classes
                                                                      AnyRef
                                                                      +
                                                                    16. + + +

                                                                      + + final + def + + + notifyAll(): Unit + +

                                                                      + + Permalink + + +
                                                                      Definition Classes
                                                                      AnyRef
                                                                      +
                                                                    17. + + +

                                                                      + + final + def + + + synchronized[T0](arg0: ⇒ T0): T0 + +

                                                                      + + Permalink + + +
                                                                      Definition Classes
                                                                      AnyRef
                                                                      +
                                                                    18. + + +

                                                                      + + + def + + + toString(): String + +

                                                                      + + Permalink + + +
                                                                      Definition Classes
                                                                      AnyRef → Any
                                                                      +
                                                                    19. + + +

                                                                      + + final + def + + + wait(): Unit + +

                                                                      + + Permalink + + +
                                                                      Definition Classes
                                                                      AnyRef
                                                                      Annotations
                                                                      + @throws( + + ... + ) + +
                                                                      +
                                                                    20. + + +

                                                                      + + final + def + + + wait(arg0: Long, arg1: Int): Unit + +

                                                                      + + Permalink + + +
                                                                      Definition Classes
                                                                      AnyRef
                                                                      Annotations
                                                                      + @throws( + + ... + ) + +
                                                                      +
                                                                    21. + + +

                                                                      + + final + def + + + wait(arg0: Long): Unit + +

                                                                      + + Permalink + + +
                                                                      Definition Classes
                                                                      AnyRef
                                                                      Annotations
                                                                      + @throws( + + ... + ) + +
                                                                      +
                                                                    +
                                                                    + + + + +
                                                                    + +
                                                                    +
                                                                    +

                                                                    Inherited from AnyRef

                                                                    +
                                                                    +

                                                                    Inherited from Any

                                                                    +
                                                                    + +
                                                                    + +
                                                                    +
                                                                    +

                                                                    Ungrouped

                                                                    + +
                                                                    +
                                                                    + +
                                                                    + +
                                                                    + + + + + + diff --git a/manual1903/api_reference/didentification/scaladocs/ksb/csle/didentification/utilities/StatisticManager$.html b/manual1903/api_reference/didentification/scaladocs/ksb/csle/didentification/utilities/StatisticManager$.html new file mode 100644 index 0000000000000000000000000000000000000000..cef0b1231b213a04498e9a66941da96e66fd72a3 --- /dev/null +++ b/manual1903/api_reference/didentification/scaladocs/ksb/csle/didentification/utilities/StatisticManager$.html @@ -0,0 +1,1062 @@ + + + + StatisticManager - KSB DEIDENTIFICATION Scala App Project 1.0-SNAPSHOT API - ksb.csle.didentification.utilities.StatisticManager + + + + + + + + + + + + + + + +
                                                                    + Object +

                                                                    ksb.csle.didentification.utilities

                                                                    +

                                                                    StatisticManager

                                                                    Related Doc: + package utilities +

                                                                    + + Permalink + + +
                                                                    + +

                                                                    + + + object + + + StatisticManager extends Statistics with MethodString + +

                                                                    + +

                                                                    This object provides some functions to manage statistic information. +

                                                                    + Linear Supertypes + +
                                                                    + + +
                                                                    +
                                                                    +
                                                                    + Ordering +
                                                                      + +
                                                                    1. Alphabetic
                                                                    2. +
                                                                    3. By Inheritance
                                                                    4. +
                                                                    +
                                                                    +
                                                                    + Inherited
                                                                    +
                                                                    +
                                                                      +
                                                                    1. StatisticManager
                                                                    2. MethodString
                                                                    3. Statistics
                                                                    4. DataFrameCheck
                                                                    5. AnyRef
                                                                    6. Any
                                                                    7. +
                                                                    +
                                                                    + +
                                                                      +
                                                                    1. Hide All
                                                                    2. +
                                                                    3. Show All
                                                                    4. +
                                                                    +
                                                                    +
                                                                    + Visibility +
                                                                    1. Public
                                                                    2. All
                                                                    +
                                                                    +
                                                                    + +
                                                                    +
                                                                    + + + + + + +
                                                                    +

                                                                    Value Members

                                                                    +
                                                                    1. + + +

                                                                      + + final + def + + + !=(arg0: Any): Boolean + +

                                                                      + + Permalink + + +
                                                                      Definition Classes
                                                                      AnyRef → Any
                                                                      +
                                                                    2. + + +

                                                                      + + final + def + + + ##(): Int + +

                                                                      + + Permalink + + +
                                                                      Definition Classes
                                                                      AnyRef → Any
                                                                      +
                                                                    3. + + +

                                                                      + + final + def + + + ==(arg0: Any): Boolean + +

                                                                      + + Permalink + + +
                                                                      Definition Classes
                                                                      AnyRef → Any
                                                                      +
                                                                    4. + + +

                                                                      + + final + def + + + asInstanceOf[T0]: T0 + +

                                                                      + + Permalink + + +
                                                                      Definition Classes
                                                                      Any
                                                                      +
                                                                    5. + + +

                                                                      + + + def + + + clone(): AnyRef + +

                                                                      + + Permalink + + +
                                                                      Attributes
                                                                      protected[java.lang]
                                                                      Definition Classes
                                                                      AnyRef
                                                                      Annotations
                                                                      + @throws( + + ... + ) + +
                                                                      +
                                                                    6. + + +

                                                                      + + final + def + + + eq(arg0: AnyRef): Boolean + +

                                                                      + + Permalink + + +
                                                                      Definition Classes
                                                                      AnyRef
                                                                      +
                                                                    7. + + +

                                                                      + + + def + + + equals(arg0: Any): Boolean + +

                                                                      + + Permalink + + +
                                                                      Definition Classes
                                                                      AnyRef → Any
                                                                      +
                                                                    8. + + +

                                                                      + + + def + + + finalize(): Unit + +

                                                                      + + Permalink + + +
                                                                      Attributes
                                                                      protected[java.lang]
                                                                      Definition Classes
                                                                      AnyRef
                                                                      Annotations
                                                                      + @throws( + + classOf[java.lang.Throwable] + ) + +
                                                                      +
                                                                    9. + + +

                                                                      + + + def + + + getAvgValue(values: List[Long]): Double + +

                                                                      + + Permalink + + +

                                                                      Gets the average value among the given list of values +

                                                                      Gets the average value among the given list of values +

                                                                      values

                                                                      the list of values

                                                                      returns

                                                                      Double The average value

                                                                      Definition Classes
                                                                      Statistics
                                                                      Annotations
                                                                      + @throws( + + ... + ) + +
                                                                      +
                                                                    10. + + +

                                                                      + + + def + + + getAvgValue(src: DataFrame, columnName: String): String + +

                                                                      + + Permalink + + +

                                                                      Gets the average value among this column +

                                                                      Gets the average value among this column +

                                                                      src

                                                                      Dataframe

                                                                      columnName

                                                                      Column

                                                                      returns

                                                                      String The string type of average value

                                                                      Definition Classes
                                                                      Statistics
                                                                      +
                                                                    11. + + +

                                                                      + + final + def + + + getClass(): Class[_] + +

                                                                      + + Permalink + + +
                                                                      Definition Classes
                                                                      AnyRef → Any
                                                                      +
                                                                    12. + + +

                                                                      + + + def + + + getColumnName(src: DataFrame, columnId: Int): String + +

                                                                      + + Permalink + + +

                                                                      Returns column name from src dataframe +specified by the column ID defined by protobuf.

                                                                      Returns column name from src dataframe +specified by the column ID defined by protobuf. +

                                                                      src

                                                                      dataframe to get names of columns.

                                                                      columnId

                                                                      column ID to anonymize.

                                                                      returns

                                                                      String.

                                                                      Definition Classes
                                                                      DataFrameCheck
                                                                      +
                                                                    13. + + +

                                                                      + + + def + + + getColumnNames(src: DataFrame, columnIDs: Array[Int]): Array[String] + +

                                                                      + + Permalink + + +

                                                                      Returns column names from src dataframe specified by column IDs.

                                                                      Returns column names from src dataframe specified by column IDs. +Note that the column with invalid IDs are ignored. +

                                                                      src

                                                                      dataframe to get names of columns.

                                                                      returns

                                                                      Array[String].

                                                                      Definition Classes
                                                                      DataFrameCheck
                                                                      +
                                                                    14. + + +

                                                                      + + + def + + + getCountValue(values: List[Long]): Double + +

                                                                      + + Permalink + + +

                                                                      Gets the number of tuples among he given list of values +

                                                                      Gets the number of tuples among he given list of values +

                                                                      returns

                                                                      Double The number of tuples

                                                                      Definition Classes
                                                                      Statistics
                                                                      +
                                                                    15. + + +

                                                                      + + + def + + + getCountValue(src: DataFrame, columnName: String): String + +

                                                                      + + Permalink + + +

                                                                      Gets the number of tuples among this column +

                                                                      Gets the number of tuples among this column +

                                                                      src

                                                                      Dataframe

                                                                      columnName

                                                                      Column

                                                                      returns

                                                                      Double The number of tuples

                                                                      Definition Classes
                                                                      Statistics
                                                                      +
                                                                    16. + + +

                                                                      + + + def + + + getKey[A, B](table: Map[Interval, A], value: B): Interval + +

                                                                      + + Permalink + + +

                                                                      Statistic table is composed of [Interval, statistic].

                                                                      Statistic table is composed of [Interval, statistic]. +This function returns Interval which include given 'value' +

                                                                      table

                                                                      Statistic table

                                                                      value

                                                                      Value to search +return Interval

                                                                      +
                                                                    17. + + +

                                                                      + + + def + + + getMaxValue(values: List[Double]): Double + +

                                                                      + + Permalink + + +

                                                                      Gets the maximum value among the given list of values +

                                                                      Gets the maximum value among the given list of values +

                                                                      values

                                                                      the list of values

                                                                      returns

                                                                      Double Maximum value

                                                                      Definition Classes
                                                                      Statistics
                                                                      +
                                                                    18. + + +

                                                                      + + + def + + + getMaxValue(src: DataFrame, columnName: String): String + +

                                                                      + + Permalink + + +

                                                                      Gets the maximum value among this column +

                                                                      Gets the maximum value among this column +

                                                                      src

                                                                      Dataframe

                                                                      columnName

                                                                      Column

                                                                      returns

                                                                      String the string type of Maximum value

                                                                      Definition Classes
                                                                      Statistics
                                                                      +
                                                                    19. + + +

                                                                      + + + def + + + getMethodString[T](method: T): String + +

                                                                      + + Permalink + + +
                                                                      Definition Classes
                                                                      MethodString
                                                                      +
                                                                    20. + + +

                                                                      + + + def + + + getMinValue(values: List[Double]): Double + +

                                                                      + + Permalink + + +

                                                                      Gets the minimum value among the given list of values +

                                                                      Gets the minimum value among the given list of values +

                                                                      values

                                                                      the list of values

                                                                      returns

                                                                      Double Minimum value

                                                                      Definition Classes
                                                                      Statistics
                                                                      +
                                                                    21. + + +

                                                                      + + + def + + + getMinValue(src: DataFrame, columnName: String): String + +

                                                                      + + Permalink + + +

                                                                      Gets the minimum value among this column +

                                                                      Gets the minimum value among this column +

                                                                      src

                                                                      Dataframe

                                                                      columnName

                                                                      Column

                                                                      returns

                                                                      String the string type of Minimum value

                                                                      Definition Classes
                                                                      Statistics
                                                                      +
                                                                    22. + + +

                                                                      + + + def + + + getQuasiColumnIDs(fieldInfos: Array[FieldInfo]): Array[Int] + +

                                                                      + + Permalink + + +
                                                                      Definition Classes
                                                                      DataFrameCheck
                                                                      +
                                                                    23. + + +

                                                                      + + + def + + + getRepresentiveValue[T](src: DataFrame, columnName: String, method: T): String + +

                                                                      + + Permalink + + +

                                                                      Get the representative value of the 'columnName' column in 'src' data +frame.

                                                                      Get the representative value of the 'columnName' column in 'src' data +frame. +

                                                                      src

                                                                      Dataframe

                                                                      columnName

                                                                      Column name

                                                                      method

                                                                      Statistic methods. ex., min, max, and avg

                                                                      returns

                                                                      Double The representative value

                                                                      +
                                                                    24. + + +

                                                                      + + + def + + + getRepresentiveValue(src: DataFrame, columnName: String, method: String): String + +

                                                                      + + Permalink + + +

                                                                      Get the representative value of the 'columnName' column in 'src' data +frame.

                                                                      Get the representative value of the 'columnName' column in 'src' data +frame. +

                                                                      src

                                                                      Dataframe

                                                                      columnName

                                                                      Column name

                                                                      method

                                                                      Statistic methods. ex., min, max, and avg

                                                                      returns

                                                                      Double The representative value

                                                                      +
                                                                    25. + + +

                                                                      + + + def + + + getSensColumnIDs(fieldInfos: Array[FieldInfo]): Array[Int] + +

                                                                      + + Permalink + + +
                                                                      Definition Classes
                                                                      DataFrameCheck
                                                                      +
                                                                    26. + + +

                                                                      + + + def + + + getStdValue(values: List[Long]): Double + +

                                                                      + + Permalink + + +

                                                                      Gets the average value among the given list of values +

                                                                      Gets the average value among the given list of values +

                                                                      values

                                                                      the list of values

                                                                      returns

                                                                      Double The average value

                                                                      Definition Classes
                                                                      Statistics
                                                                      +
                                                                    27. + + +

                                                                      + + + def + + + getStdValue(src: DataFrame, columnName: String): String + +

                                                                      + + Permalink + + +

                                                                      Gets the standard deviation value among this column +

                                                                      Gets the standard deviation value among this column +

                                                                      src

                                                                      Dataframe

                                                                      columnName

                                                                      Column

                                                                      returns

                                                                      String The string type of standard deviation value

                                                                      Definition Classes
                                                                      Statistics
                                                                      +
                                                                    28. + + +

                                                                      + + + def + + + getValidColumnIDs(src: DataFrame, columnIDs: Array[Int]): Array[Int] + +

                                                                      + + Permalink + + +
                                                                      Definition Classes
                                                                      DataFrameCheck
                                                                      +
                                                                    29. + + +

                                                                      + + + def + + + hashCode(): Int + +

                                                                      + + Permalink + + +
                                                                      Definition Classes
                                                                      AnyRef → Any
                                                                      +
                                                                    30. + + +

                                                                      + + final + def + + + isInstanceOf[T0]: Boolean + +

                                                                      + + Permalink + + +
                                                                      Definition Classes
                                                                      Any
                                                                      +
                                                                    31. + + +

                                                                      + + + def + + + isValidColumnID(src: DataFrame, columnID: Int): Boolean + +

                                                                      + + Permalink + + +

                                                                      Checks the given column ID is valid.

                                                                      Checks the given column ID is valid. +

                                                                      src

                                                                      dataframe to get names of columns.

                                                                      returns

                                                                      Boolean.

                                                                      Definition Classes
                                                                      DataFrameCheck
                                                                      +
                                                                    32. + + +

                                                                      + + + def + + + isValidColumnName(src: DataFrame, columnName: String): Boolean + +

                                                                      + + Permalink + + +

                                                                      Checks the given column Name is valid.

                                                                      Checks the given column Name is valid. +

                                                                      src

                                                                      dataframe to get names of columns.

                                                                      columnName

                                                                      column Name.

                                                                      returns

                                                                      Boolean.

                                                                      Definition Classes
                                                                      DataFrameCheck
                                                                      +
                                                                    33. + + +

                                                                      + + + def + + + makeAgeStatTable[T](src: DataFrame, columnName: String, method: T): Map[Interval, String] + +

                                                                      + + Permalink + + +

                                                                      Same as makeAgeStatTable(src: DataFrame, columnName: String, +method: String), but the method is the type of AggregationMethod.

                                                                      Same as makeAgeStatTable(src: DataFrame, columnName: String, +method: String), but the method is the type of AggregationMethod. +

                                                                      src

                                                                      Dataframe

                                                                      columnName

                                                                      Column

                                                                      method

                                                                      Statistic methods. ex., min, max, avg, and median

                                                                      returns

                                                                      Map[Interval, Double] Statistic table

                                                                      +
                                                                    34. + + +

                                                                      + + + def + + + makeAgeStatTable(src: DataFrame, columnName: String, method: String): Map[Interval, String] + +

                                                                      + + Permalink + + +

                                                                      In case of age-related column, the statistic info may be decided +by the 10s, 20s, and so on.

                                                                      In case of age-related column, the statistic info may be decided +by the 10s, 20s, and so on. +

                                                                      src

                                                                      Dataframe

                                                                      columnName

                                                                      Column

                                                                      method

                                                                      Statistic methods. ex., min, max, avg, and median

                                                                      returns

                                                                      Map[Interval, Double] Statistic table

                                                                      +
                                                                    35. + + +

                                                                      + + + def + + + makeMixedStatTable[T](src: DataFrame, columnName: String, method: T): Map[Interval, String] + +

                                                                      + + Permalink + + +

                                                                      Same as makeMixedStatTable(src: DataFrame, columnName: String, +method: String), but the method is the type of AggregationMethod +

                                                                      Same as makeMixedStatTable(src: DataFrame, columnName: String, +method: String), but the method is the type of AggregationMethod +

                                                                      src

                                                                      Dataframe

                                                                      columnName

                                                                      Column

                                                                      method

                                                                      AggregationMethod. ex., min, max, avg, and median

                                                                      returns

                                                                      Map[Interval, Double] Statistic table

                                                                      +
                                                                    36. + + +

                                                                      + + + def + + + makeMixedStatTable[T](src: DataFrame, columnName: String, method: String): Map[Interval, String] + +

                                                                      + + Permalink + + +

                                                                      Some columns may contain both numerical and non-numerical +values simultaneously, i.e., 21K, $45, etc.

                                                                      Some columns may contain both numerical and non-numerical +values simultaneously, i.e., 21K, $45, etc. In this case, this +function calculates the statistics information only considering +numerical parts, and then only replaces numerical parts with +calculated statistic info while sustaining the other parts. It +makes the statistic table as a form of map +[numerical interval, statistics info]. +

                                                                      src

                                                                      Dataframe

                                                                      columnName

                                                                      Column

                                                                      method

                                                                      Statistic methods. ex., min, max, avg, and median

                                                                      returns

                                                                      Map[Interval, Double] Statistic table

                                                                      +
                                                                    37. + + +

                                                                      + + + def + + + makeNumericStatTable(src: DataFrame, columnName: String, method: String, nSteps: Int): Map[Interval, String] + +

                                                                      + + Permalink + + +

                                                                      Makes the statistic table which includes statistic information +about some numerical interval as a form of map +[numerical interval, statistics info].

                                                                      Makes the statistic table which includes statistic information +about some numerical interval as a form of map +[numerical interval, statistics info]. +

                                                                      src

                                                                      Dataframe

                                                                      columnName

                                                                      Column

                                                                      method

                                                                      Statistic methods. ex., min, max, avg, and median

                                                                      nSteps

                                                                      The number of intervals in a column

                                                                      returns

                                                                      Map[Interval, Double] Statistic table

                                                                      +
                                                                    38. + + +

                                                                      + + + def + + + makeNumericStatTable[T](src: DataFrame, columnName: String, method: T, nSteps: Int): Map[Interval, String] + +

                                                                      + + Permalink + + +

                                                                      Same as makeNumericStatTable(src: DataFrame, columnName: String, +method: String, nSteps: Int), but the method is the type of +AggregationMethod.

                                                                      Same as makeNumericStatTable(src: DataFrame, columnName: String, +method: String, nSteps: Int), but the method is the type of +AggregationMethod. +

                                                                      src

                                                                      Dataframe

                                                                      columnName

                                                                      Column

                                                                      method

                                                                      AggregationMethod. ex., min, max, avg, and median

                                                                      nSteps

                                                                      The number of intervals in a column

                                                                      returns

                                                                      Map[Interval, Double] Statistic table

                                                                      +
                                                                    39. + + +

                                                                      + + + def + + + makeNumericStatTable(src: DataFrame, columnName: String, method: String): Map[Interval, String] + +

                                                                      + + Permalink + + +

                                                                      Makes the statistic table which includes statistic information +about some numerical interval as a form of map +[numerical interval, statistics info].

                                                                      Makes the statistic table which includes statistic information +about some numerical interval as a form of map +[numerical interval, statistics info]. +The default number of intervals in a column is 10. +

                                                                      src

                                                                      Dataframe

                                                                      columnName

                                                                      Column

                                                                      method

                                                                      Statistic methods. ex., min, max, avg, and median

                                                                      returns

                                                                      Map[Interval, Double] Statistic table

                                                                      +
                                                                    40. + + +

                                                                      + + + def + + + makeNumericStatTable[T](src: DataFrame, columnName: String, method: T): Map[Interval, String] + +

                                                                      + + Permalink + + +

                                                                      Same as makeNumericStatTable(src: DataFrame, columnName: String, +method: String), but the method is the type of AggregationMethod +

                                                                      Same as makeNumericStatTable(src: DataFrame, columnName: String, +method: String), but the method is the type of AggregationMethod +

                                                                      src

                                                                      Dataframe

                                                                      columnName

                                                                      Column

                                                                      method

                                                                      AggregationMethod. ex., min, max, avg, and median

                                                                      returns

                                                                      Map[Interval, Double] Statistic table

                                                                      +
                                                                    41. + + +

                                                                      + + final + def + + + ne(arg0: AnyRef): Boolean + +

                                                                      + + Permalink + + +
                                                                      Definition Classes
                                                                      AnyRef
                                                                      +
                                                                    42. + + +

                                                                      + + final + def + + + notify(): Unit + +

                                                                      + + Permalink + + +
                                                                      Definition Classes
                                                                      AnyRef
                                                                      +
                                                                    43. + + +

                                                                      + + final + def + + + notifyAll(): Unit + +

                                                                      + + Permalink + + +
                                                                      Definition Classes
                                                                      AnyRef
                                                                      +
                                                                    44. + + +

                                                                      + + final + def + + + synchronized[T0](arg0: ⇒ T0): T0 + +

                                                                      + + Permalink + + +
                                                                      Definition Classes
                                                                      AnyRef
                                                                      +
                                                                    45. + + +

                                                                      + + + def + + + toString(): String + +

                                                                      + + Permalink + + +
                                                                      Definition Classes
                                                                      AnyRef → Any
                                                                      +
                                                                    46. + + +

                                                                      + + final + def + + + wait(): Unit + +

                                                                      + + Permalink + + +
                                                                      Definition Classes
                                                                      AnyRef
                                                                      Annotations
                                                                      + @throws( + + ... + ) + +
                                                                      +
                                                                    47. + + +

                                                                      + + final + def + + + wait(arg0: Long, arg1: Int): Unit + +

                                                                      + + Permalink + + +
                                                                      Definition Classes
                                                                      AnyRef
                                                                      Annotations
                                                                      + @throws( + + ... + ) + +
                                                                      +
                                                                    48. + + +

                                                                      + + final + def + + + wait(arg0: Long): Unit + +

                                                                      + + Permalink + + +
                                                                      Definition Classes
                                                                      AnyRef
                                                                      Annotations
                                                                      + @throws( + + ... + ) + +
                                                                      +
                                                                    +
                                                                    + + + + +
                                                                    + +
                                                                    +
                                                                    +

                                                                    Inherited from MethodString

                                                                    +
                                                                    +

                                                                    Inherited from Statistics

                                                                    +
                                                                    +

                                                                    Inherited from DataFrameCheck

                                                                    +
                                                                    +

                                                                    Inherited from AnyRef

                                                                    +
                                                                    +

                                                                    Inherited from Any

                                                                    +
                                                                    + +
                                                                    + +
                                                                    +
                                                                    +

                                                                    Ungrouped

                                                                    + +
                                                                    +
                                                                    + +
                                                                    + +
                                                                    + + + + + + diff --git a/manual1903/api_reference/didentification/scaladocs/ksb/csle/didentification/utilities/SuppressingManager$.html b/manual1903/api_reference/didentification/scaladocs/ksb/csle/didentification/utilities/SuppressingManager$.html new file mode 100644 index 0000000000000000000000000000000000000000..cc03b5cd57e9ff765f98b719efb63898c125fa76 --- /dev/null +++ b/manual1903/api_reference/didentification/scaladocs/ksb/csle/didentification/utilities/SuppressingManager$.html @@ -0,0 +1,698 @@ + + + + SuppressingManager - KSB DEIDENTIFICATION Scala App Project 1.0-SNAPSHOT API - ksb.csle.didentification.utilities.SuppressingManager + + + + + + + + + + + + + + + +
                                                                    + Object +

                                                                    ksb.csle.didentification.utilities

                                                                    +

                                                                    SuppressingManager

                                                                    Related Doc: + package utilities +

                                                                    + + Permalink + + +
                                                                    + +

                                                                    + + + object + + + SuppressingManager + +

                                                                    + +
                                                                    + Linear Supertypes +
                                                                    AnyRef, Any
                                                                    +
                                                                    + + +
                                                                    +
                                                                    +
                                                                    + Ordering +
                                                                      + +
                                                                    1. Alphabetic
                                                                    2. +
                                                                    3. By Inheritance
                                                                    4. +
                                                                    +
                                                                    +
                                                                    + Inherited
                                                                    +
                                                                    +
                                                                      +
                                                                    1. SuppressingManager
                                                                    2. AnyRef
                                                                    3. Any
                                                                    4. +
                                                                    +
                                                                    + +
                                                                      +
                                                                    1. Hide All
                                                                    2. +
                                                                    3. Show All
                                                                    4. +
                                                                    +
                                                                    +
                                                                    + Visibility +
                                                                    1. Public
                                                                    2. All
                                                                    +
                                                                    +
                                                                    + +
                                                                    +
                                                                    + + + + + + +
                                                                    +

                                                                    Value Members

                                                                    +
                                                                    1. + + +

                                                                      + + final + def + + + !=(arg0: Any): Boolean + +

                                                                      + + Permalink + + +
                                                                      Definition Classes
                                                                      AnyRef → Any
                                                                      +
                                                                    2. + + +

                                                                      + + final + def + + + ##(): Int + +

                                                                      + + Permalink + + +
                                                                      Definition Classes
                                                                      AnyRef → Any
                                                                      +
                                                                    3. + + +

                                                                      + + final + def + + + ==(arg0: Any): Boolean + +

                                                                      + + Permalink + + +
                                                                      Definition Classes
                                                                      AnyRef → Any
                                                                      +
                                                                    4. + + +

                                                                      + + final + def + + + asInstanceOf[T0]: T0 + +

                                                                      + + Permalink + + +
                                                                      Definition Classes
                                                                      Any
                                                                      +
                                                                    5. + + +

                                                                      + + + def + + + clone(): AnyRef + +

                                                                      + + Permalink + + +
                                                                      Attributes
                                                                      protected[java.lang]
                                                                      Definition Classes
                                                                      AnyRef
                                                                      Annotations
                                                                      + @throws( + + ... + ) + +
                                                                      +
                                                                    6. + + +

                                                                      + + final + def + + + eq(arg0: AnyRef): Boolean + +

                                                                      + + Permalink + + +
                                                                      Definition Classes
                                                                      AnyRef
                                                                      +
                                                                    7. + + +

                                                                      + + + def + + + equals(arg0: Any): Boolean + +

                                                                      + + Permalink + + +
                                                                      Definition Classes
                                                                      AnyRef → Any
                                                                      +
                                                                    8. + + +

                                                                      + + + def + + + finalize(): Unit + +

                                                                      + + Permalink + + +
                                                                      Attributes
                                                                      protected[java.lang]
                                                                      Definition Classes
                                                                      AnyRef
                                                                      Annotations
                                                                      + @throws( + + classOf[java.lang.Throwable] + ) + +
                                                                      +
                                                                    9. + + +

                                                                      + + final + def + + + getClass(): Class[_] + +

                                                                      + + Permalink + + +
                                                                      Definition Classes
                                                                      AnyRef → Any
                                                                      +
                                                                    10. + + +

                                                                      + + + def + + + getSuppressedTupleList(src: DataFrame, columnNames: Array[String]): Map[List[Any], Long] + +

                                                                      + + Permalink + + +

                                                                      Returns the list of tuples to be suppressed under the default +condition when the k value of k-anonymity and suppreshold threshold +are given by 3 and 0.2, respectively.

                                                                      Returns the list of tuples to be suppressed under the default +condition when the k value of k-anonymity and suppreshold threshold +are given by 3 and 0.2, respectively. +

                                                                      src

                                                                      dataframe to generalize

                                                                      columnNames

                                                                      array of column names to be generalization

                                                                      returns

                                                                      List[Any] the list of tuples to be suppressed

                                                                      +
                                                                    11. + + +

                                                                      + + + def + + + getSuppressedTupleListByK(src: DataFrame, columnNames: Array[String], k: Int): Map[List[Any], Long] + +

                                                                      + + Permalink + + +

                                                                      Returns the list of tuples to be suppressed under the condition +when the k value of k-anonymity is given by 'k'.

                                                                      Returns the list of tuples to be suppressed under the condition +when the k value of k-anonymity is given by 'k'. All the tuples +which violate the condition of k-anonymity are suppressed. +

                                                                      src

                                                                      dataframe to generalize

                                                                      columnNames

                                                                      array of column names to be generalization

                                                                      k

                                                                      the k-value of k-anonymity

                                                                      returns

                                                                      List[Any] the list of tuples to be suppressed

                                                                      +
                                                                    12. + + +

                                                                      + + + def + + + getSuppressedTupleListByKAndRatio(src: DataFrame, columnNames: Array[String], k: Int, suppressRatio: Double): Map[List[Any], Long] + +

                                                                      + + Permalink + + +

                                                                      Returns the list of tuples to be suppressed under the condition +when the k value of k-anonymity and the suppreshold threshold are +given by 'k' and 'suppressRatio'.

                                                                      Returns the list of tuples to be suppressed under the condition +when the k value of k-anonymity and the suppreshold threshold are +given by 'k' and 'suppressRatio'. All the tuples +which violate the condition of k-anonymity are suppressed. +

                                                                      src

                                                                      dataframe to generalize

                                                                      columnNames

                                                                      array of column names to be generalization

                                                                      k

                                                                      the k-value of k-anonymity

                                                                      suppressRatio

                                                                      the acceptable suppress ratio

                                                                      returns

                                                                      List[Any] the list of tuples to be suppressed

                                                                      +
                                                                    13. + + +

                                                                      + + + def + + + getSuppressedTupleListByRisk(src: DataFrame, columnNames: Array[String], risk: Double): Map[List[Any], Long] + +

                                                                      + + Permalink + + +

                                                                      Returns the list of tuples to be suppressed under the condition +when the re-identification risk is given by 'risk'.

                                                                      Returns the list of tuples to be suppressed under the condition +when the re-identification risk is given by 'risk'. All the tuples +which has the probability higher than given re-identification risk +are suppressed. +

                                                                      src

                                                                      dataframe to generalize

                                                                      columnNames

                                                                      array of column names to be generalization

                                                                      risk

                                                                      the re-identification risk

                                                                      returns

                                                                      List[Any] the list of tuples to be suppressed

                                                                      +
                                                                    14. + + +

                                                                      + + + def + + + hashCode(): Int + +

                                                                      + + Permalink + + +
                                                                      Definition Classes
                                                                      AnyRef → Any
                                                                      +
                                                                    15. + + +

                                                                      + + final + def + + + isInstanceOf[T0]: Boolean + +

                                                                      + + Permalink + + +
                                                                      Definition Classes
                                                                      Any
                                                                      +
                                                                    16. + + +

                                                                      + + final + def + + + ne(arg0: AnyRef): Boolean + +

                                                                      + + Permalink + + +
                                                                      Definition Classes
                                                                      AnyRef
                                                                      +
                                                                    17. + + +

                                                                      + + final + def + + + notify(): Unit + +

                                                                      + + Permalink + + +
                                                                      Definition Classes
                                                                      AnyRef
                                                                      +
                                                                    18. + + +

                                                                      + + final + def + + + notifyAll(): Unit + +

                                                                      + + Permalink + + +
                                                                      Definition Classes
                                                                      AnyRef
                                                                      +
                                                                    19. + + +

                                                                      + + + def + + + suppressingDataFrame(src: DataFrame, columnNames: Array[String], suppressedList: Map[List[Any], Long]): DataFrame + +

                                                                      + + Permalink + + + +
                                                                    20. + + +

                                                                      + + + def + + + suppressingDataFrame(src: DataFrame, columnNames: Array[String], risk: Double): DataFrame + +

                                                                      + + Permalink + + + +
                                                                    21. + + +

                                                                      + + + def + + + suppressingDataFrame(src: DataFrame, columnNames: Array[String], k: Int, suppressThreshold: Double): DataFrame + +

                                                                      + + Permalink + + + +
                                                                    22. + + +

                                                                      + + + def + + + suppressingDataFrame(src: DataFrame, columnNames: Array[String], k: Int): DataFrame + +

                                                                      + + Permalink + + +

                                                                      In general, satisfying k-anonymity in global domain generalization is not +easy because generalization is equally applied on all tuples of a column +(that is, column-based generalization).

                                                                      In general, satisfying k-anonymity in global domain generalization is not +easy because generalization is equally applied on all tuples of a column +(that is, column-based generalization). Compared to this, local domain +generalization only applies on tuples on an equivalence class (equivalence-based). +Accordingly, in global-domain generalization, a large number of tuples may +violate the privacy policy, so some specific algorithms support suppressing +techniques which changes the tuples does not satisfying privacy policy into '*'. +This function reads the 'src' dataframe, configures the tuple lists to be +suppressed, and then returns the new dataframe including suppressed tuples. +

                                                                      src

                                                                      dataframe to generalize

                                                                      columnNames

                                                                      array of column names to be generalization

                                                                      returns

                                                                      DataFrame the new suppressed dataframe

                                                                      +
                                                                    23. + + +

                                                                      + + final + def + + + synchronized[T0](arg0: ⇒ T0): T0 + +

                                                                      + + Permalink + + +
                                                                      Definition Classes
                                                                      AnyRef
                                                                      +
                                                                    24. + + +

                                                                      + + + def + + + toString(): String + +

                                                                      + + Permalink + + +
                                                                      Definition Classes
                                                                      AnyRef → Any
                                                                      +
                                                                    25. + + +

                                                                      + + final + def + + + wait(): Unit + +

                                                                      + + Permalink + + +
                                                                      Definition Classes
                                                                      AnyRef
                                                                      Annotations
                                                                      + @throws( + + ... + ) + +
                                                                      +
                                                                    26. + + +

                                                                      + + final + def + + + wait(arg0: Long, arg1: Int): Unit + +

                                                                      + + Permalink + + +
                                                                      Definition Classes
                                                                      AnyRef
                                                                      Annotations
                                                                      + @throws( + + ... + ) + +
                                                                      +
                                                                    27. + + +

                                                                      + + final + def + + + wait(arg0: Long): Unit + +

                                                                      + + Permalink + + +
                                                                      Definition Classes
                                                                      AnyRef
                                                                      Annotations
                                                                      + @throws( + + ... + ) + +
                                                                      +
                                                                    +
                                                                    + + + +
                                                                    +

                                                                    Deprecated Value Members

                                                                    +
                                                                    1. + + +

                                                                      + + + def + + + makeSuppressedQuasiRow(row: Row, columnNames: Array[String]): Row + +

                                                                      + + Permalink + + +

                                                                      Only changes the quasi-identifier columns of given row into '*', +and returns this changed row +

                                                                      Only changes the quasi-identifier columns of given row into '*', +and returns this changed row +

                                                                      row

                                                                      the row to be suppressed

                                                                      returns

                                                                      Row new suppressed row

                                                                      Annotations
                                                                      + @deprecated + +
                                                                      Deprecated

                                                                      (Since version 0.1) This function can not support different type of columns

                                                                      +
                                                                    2. + + +

                                                                      + + + def + + + makeSuppressedRow(row: Row): Row + +

                                                                      + + Permalink + + +

                                                                      Returns the suppressed row of given original row +

                                                                      Returns the suppressed row of given original row +

                                                                      row

                                                                      the row to be suppressed

                                                                      returns

                                                                      Row new suppressed row

                                                                      Annotations
                                                                      + @deprecated + +
                                                                      Deprecated

                                                                      (Since version 0.1) This function can not support different type of columns

                                                                      +
                                                                    +
                                                                    +
                                                                    + +
                                                                    +
                                                                    +

                                                                    Inherited from AnyRef

                                                                    +
                                                                    +

                                                                    Inherited from Any

                                                                    +
                                                                    + +
                                                                    + +
                                                                    +
                                                                    +

                                                                    Ungrouped

                                                                    + +
                                                                    +
                                                                    + +
                                                                    + +
                                                                    + + + + + + diff --git a/manual1903/api_reference/didentification/scaladocs/ksb/csle/didentification/utilities/SwappingManager$.html b/manual1903/api_reference/didentification/scaladocs/ksb/csle/didentification/utilities/SwappingManager$.html new file mode 100644 index 0000000000000000000000000000000000000000..13d1c30085ce9f999dc93e08109e906d8d4d1b81 --- /dev/null +++ b/manual1903/api_reference/didentification/scaladocs/ksb/csle/didentification/utilities/SwappingManager$.html @@ -0,0 +1,580 @@ + + + + SwappingManager - KSB DEIDENTIFICATION Scala App Project 1.0-SNAPSHOT API - ksb.csle.didentification.utilities.SwappingManager + + + + + + + + + + + + + + + +
                                                                    + Object +

                                                                    ksb.csle.didentification.utilities

                                                                    +

                                                                    SwappingManager

                                                                    Related Doc: + package utilities +

                                                                    + + Permalink + + +
                                                                    + +

                                                                    + + + object + + + SwappingManager + +

                                                                    + +

                                                                    This object provides some method to swap the records. +

                                                                    + Linear Supertypes +
                                                                    AnyRef, Any
                                                                    +
                                                                    + + +
                                                                    +
                                                                    +
                                                                    + Ordering +
                                                                      + +
                                                                    1. Alphabetic
                                                                    2. +
                                                                    3. By Inheritance
                                                                    4. +
                                                                    +
                                                                    +
                                                                    + Inherited
                                                                    +
                                                                    +
                                                                      +
                                                                    1. SwappingManager
                                                                    2. AnyRef
                                                                    3. Any
                                                                    4. +
                                                                    +
                                                                    + +
                                                                      +
                                                                    1. Hide All
                                                                    2. +
                                                                    3. Show All
                                                                    4. +
                                                                    +
                                                                    +
                                                                    + Visibility +
                                                                    1. Public
                                                                    2. All
                                                                    +
                                                                    +
                                                                    + +
                                                                    +
                                                                    + + + + + + +
                                                                    +

                                                                    Value Members

                                                                    +
                                                                    1. + + +

                                                                      + + final + def + + + !=(arg0: Any): Boolean + +

                                                                      + + Permalink + + +
                                                                      Definition Classes
                                                                      AnyRef → Any
                                                                      +
                                                                    2. + + +

                                                                      + + final + def + + + ##(): Int + +

                                                                      + + Permalink + + +
                                                                      Definition Classes
                                                                      AnyRef → Any
                                                                      +
                                                                    3. + + +

                                                                      + + final + def + + + ==(arg0: Any): Boolean + +

                                                                      + + Permalink + + +
                                                                      Definition Classes
                                                                      AnyRef → Any
                                                                      +
                                                                    4. + + +

                                                                      + + final + def + + + asInstanceOf[T0]: T0 + +

                                                                      + + Permalink + + +
                                                                      Definition Classes
                                                                      Any
                                                                      +
                                                                    5. + + +

                                                                      + + + def + + + clone(): AnyRef + +

                                                                      + + Permalink + + +
                                                                      Attributes
                                                                      protected[java.lang]
                                                                      Definition Classes
                                                                      AnyRef
                                                                      Annotations
                                                                      + @throws( + + ... + ) + +
                                                                      +
                                                                    6. + + +

                                                                      + + final + def + + + eq(arg0: AnyRef): Boolean + +

                                                                      + + Permalink + + +
                                                                      Definition Classes
                                                                      AnyRef
                                                                      +
                                                                    7. + + +

                                                                      + + + def + + + equals(arg0: Any): Boolean + +

                                                                      + + Permalink + + +
                                                                      Definition Classes
                                                                      AnyRef → Any
                                                                      +
                                                                    8. + + +

                                                                      + + + def + + + finalize(): Unit + +

                                                                      + + Permalink + + +
                                                                      Attributes
                                                                      protected[java.lang]
                                                                      Definition Classes
                                                                      AnyRef
                                                                      Annotations
                                                                      + @throws( + + classOf[java.lang.Throwable] + ) + +
                                                                      +
                                                                    9. + + +

                                                                      + + final + def + + + getClass(): Class[_] + +

                                                                      + + Permalink + + +
                                                                      Definition Classes
                                                                      AnyRef → Any
                                                                      +
                                                                    10. + + +

                                                                      + + + def + + + getRecordUsingIndexFromDF(src: DataFrame, index: Int): Row + +

                                                                      + + Permalink + + +

                                                                      Gets the specified row using index.

                                                                      Gets the specified row using index. +

                                                                      src

                                                                      DataFrame

                                                                      index

                                                                      the index of row to get

                                                                      returns

                                                                      Row The specified row

                                                                      +
                                                                    11. + + +

                                                                      + + + def + + + getSwappingRecords(src: DataFrame, swapList: List[(Int, Int)]): Map[Int, Row] + +

                                                                      + + Permalink + + +

                                                                      Gets the map of records [The index of row to be swapped, the contents +of records to swap] by referring to the given swap list information.

                                                                      Gets the map of records [The index of row to be swapped, the contents +of records to swap] by referring to the given swap list information. +

                                                                      src

                                                                      Dataframe

                                                                      swapList

                                                                      the list of records to swap

                                                                      returns

                                                                      Map[Int, Row] Returns the map [Int: the row index, Row: +the row to swap]

                                                                      +
                                                                    12. + + +

                                                                      + + + def + + + hashCode(): Int + +

                                                                      + + Permalink + + +
                                                                      Definition Classes
                                                                      AnyRef → Any
                                                                      +
                                                                    13. + + +

                                                                      + + final + def + + + isInstanceOf[T0]: Boolean + +

                                                                      + + Permalink + + +
                                                                      Definition Classes
                                                                      Any
                                                                      +
                                                                    14. + + +

                                                                      + + final + def + + + ne(arg0: AnyRef): Boolean + +

                                                                      + + Permalink + + +
                                                                      Definition Classes
                                                                      AnyRef
                                                                      +
                                                                    15. + + +

                                                                      + + final + def + + + notify(): Unit + +

                                                                      + + Permalink + + +
                                                                      Definition Classes
                                                                      AnyRef
                                                                      +
                                                                    16. + + +

                                                                      + + final + def + + + notifyAll(): Unit + +

                                                                      + + Permalink + + +
                                                                      Definition Classes
                                                                      AnyRef
                                                                      +
                                                                    17. + + +

                                                                      + + + def + + + randomSwappingDataFrame(src: DataFrame, columnNames: Array[String], ratio: Double): DataFrame + +

                                                                      + + Permalink + + +

                                                                      Swaps some records of 'columnNames' columns in 'src' dataframe.

                                                                      Swaps some records of 'columnNames' columns in 'src' dataframe. +

                                                                      src

                                                                      Dataframe

                                                                      columnNames

                                                                      The array of column names to apply swapping function

                                                                      ratio

                                                                      The ratio of records to swap

                                                                      returns

                                                                      DataFrame The swapped records

                                                                      +
                                                                    18. + + +

                                                                      + + + def + + + swappingDataFrame(src: DataFrame, columnNames: Array[String], swapList: List[(Int, Int)]): DataFrame + +

                                                                      + + Permalink + + +

                                                                      Swaps records of 'columnNames' columns in 'src' dataframe using the +given the list of swap records.

                                                                      Swaps records of 'columnNames' columns in 'src' dataframe using the +given the list of swap records. +

                                                                      src

                                                                      Dataframe

                                                                      columnNames

                                                                      The array of column names to apply swapping function

                                                                      swapList

                                                                      The list of records [from record, to record] to swap

                                                                      returns

                                                                      DataFrame The swapped records

                                                                      +
                                                                    19. + + +

                                                                      + + final + def + + + synchronized[T0](arg0: ⇒ T0): T0 + +

                                                                      + + Permalink + + +
                                                                      Definition Classes
                                                                      AnyRef
                                                                      +
                                                                    20. + + +

                                                                      + + + def + + + toString(): String + +

                                                                      + + Permalink + + +
                                                                      Definition Classes
                                                                      AnyRef → Any
                                                                      +
                                                                    21. + + +

                                                                      + + + def + + + updateRecord(orgRecord: Row, newRecord: Row, columnNames: Array[String]): Row + +

                                                                      + + Permalink + + +

                                                                      Updates the specified columns in 'orgRecord' record to the ones in +'newRecord' record.

                                                                      Updates the specified columns in 'orgRecord' record to the ones in +'newRecord' record. +

                                                                      orgRecord

                                                                      The original record

                                                                      newRecord

                                                                      The new record

                                                                      columnNames

                                                                      The columns to be swapped

                                                                      returns

                                                                      Row The swapped row

                                                                      +
                                                                    22. + + +

                                                                      + + final + def + + + wait(): Unit + +

                                                                      + + Permalink + + +
                                                                      Definition Classes
                                                                      AnyRef
                                                                      Annotations
                                                                      + @throws( + + ... + ) + +
                                                                      +
                                                                    23. + + +

                                                                      + + final + def + + + wait(arg0: Long, arg1: Int): Unit + +

                                                                      + + Permalink + + +
                                                                      Definition Classes
                                                                      AnyRef
                                                                      Annotations
                                                                      + @throws( + + ... + ) + +
                                                                      +
                                                                    24. + + +

                                                                      + + final + def + + + wait(arg0: Long): Unit + +

                                                                      + + Permalink + + +
                                                                      Definition Classes
                                                                      AnyRef
                                                                      Annotations
                                                                      + @throws( + + ... + ) + +
                                                                      +
                                                                    +
                                                                    + + + + +
                                                                    + +
                                                                    +
                                                                    +

                                                                    Inherited from AnyRef

                                                                    +
                                                                    +

                                                                    Inherited from Any

                                                                    +
                                                                    + +
                                                                    + +
                                                                    +
                                                                    +

                                                                    Ungrouped

                                                                    + +
                                                                    +
                                                                    + +
                                                                    + +
                                                                    + + + + + + diff --git a/manual1903/api_reference/didentification/scaladocs/ksb/csle/didentification/utilities/package.html b/manual1903/api_reference/didentification/scaladocs/ksb/csle/didentification/utilities/package.html new file mode 100644 index 0000000000000000000000000000000000000000..a2eaa18e83e66cbb094a53146c78024f0d462337 --- /dev/null +++ b/manual1903/api_reference/didentification/scaladocs/ksb/csle/didentification/utilities/package.html @@ -0,0 +1,375 @@ + + + + utilities - KSB DEIDENTIFICATION Scala App Project 1.0-SNAPSHOT API - ksb.csle.didentification.utilities + + + + + + + + + + + + + + + +
                                                                    + Package +

                                                                    ksb.csle.didentification

                                                                    +

                                                                    utilities

                                                                    + + Permalink + + +
                                                                    + +

                                                                    + + + package + + + utilities + +

                                                                    + +
                                                                    + + +
                                                                    +
                                                                    + + +
                                                                    + Visibility +
                                                                    1. Public
                                                                    2. All
                                                                    +
                                                                    +
                                                                    + +
                                                                    +
                                                                    + + + + + + +
                                                                    +

                                                                    Value Members

                                                                    +
                                                                    1. + + +

                                                                      + + + object + + + AttributeManager + +

                                                                      + + Permalink + + +

                                                                      This object manages the information about the attributes of columns.

                                                                      This object manages the information about the attributes of columns. +It extracts some attribute information from given variables. +

                                                                      +
                                                                    2. + + +

                                                                      + + + object + + + EquivalClassManager + +

                                                                      + + Permalink + + +

                                                                      This object should be modified considerably.

                                                                      This object should be modified considerably. This object is just made +to verify the generalization function and syntatic anonymity (klt).

                                                                      This object provides some functions to describe the equivalence class. +Note that all quasi-identifiers belonging to a specific equivalence class +should be same. +

                                                                      +
                                                                    3. + + +

                                                                      + + + object + + + FileManager + +

                                                                      + + Permalink + + +

                                                                      This object provides the function to make a dataframe from the file info.

                                                                      This object provides the function to make a dataframe from the file info. +The file location can be given by the form of directory or URL. +

                                                                      +
                                                                    4. + + +

                                                                      + + + object + + + FrequencyManager + +

                                                                      + + Permalink + + +

                                                                      This object manages the frequency of values in the specified column.

                                                                      +
                                                                    5. + + +

                                                                      + + + object + + + GeneralizeManager + +

                                                                      + + Permalink + + +

                                                                      This object provides some functions to generalize the dataframe.

                                                                      This object provides some functions to generalize the dataframe. +In order to get generalized dataframe, should specify the column +of dataframe to apply the generalization function, and its possible +maximum generalization step and desired generalization step. +

                                                                      +
                                                                    6. + + +

                                                                      + + + object + + + HierarchyManager + +

                                                                      + + Permalink + + +

                                                                      This object manages hierarchical information of column attributes +

                                                                      +
                                                                    7. + + +

                                                                      + + + object + + + LatticeManager + +

                                                                      + + Permalink + + +

                                                                      This trait manages lattice entry information.

                                                                      This trait manages lattice entry information. Lattice entry indicates +how the algorithm generalizes the columns of quasi-identifiers. For example, +if the quasi-identifier is column 1, 2, and 3, the lattice manager manages +three lattice values where each lattice value indicate +

                                                                      +
                                                                    8. + + +

                                                                      + + + object + + + LayoutManager + +

                                                                      + + Permalink + + +

                                                                      This object manages the layout information about columns in dataframe.

                                                                      +
                                                                    9. + + +

                                                                      + + + object + + + MergingDataframe + +

                                                                      + + Permalink + + +

                                                                      This trait provides the statistics related functions such as +min, max, avg, std, and # of records.

                                                                      +
                                                                    10. + + +

                                                                      + + + object + + + OutlierManager extends Statistics with MethodString + +

                                                                      + + Permalink + + +

                                                                      This object provides some functions to manage outliers.

                                                                      +
                                                                    11. + + +

                                                                      + + + object + + + RandomGenerator + +

                                                                      + + Permalink + + +

                                                                      This object provides some functions to make random strings.

                                                                      +
                                                                    12. + + +

                                                                      + + + object + + + SelectDataframe + +

                                                                      + + Permalink + + +

                                                                      This trait provides the statistics related functions such as +min, max, avg, std, and # of records.

                                                                      +
                                                                    13. + + +

                                                                      + + + object + + + StatisticManager extends Statistics with MethodString + +

                                                                      + + Permalink + + +

                                                                      This object provides some functions to manage statistic information.

                                                                      +
                                                                    14. + + +

                                                                      + + + object + + + SuppressingManager + +

                                                                      + + Permalink + + + +
                                                                    15. + + +

                                                                      + + + object + + + SwappingManager + +

                                                                      + + Permalink + + +

                                                                      This object provides some method to swap the records.

                                                                      +
                                                                    +
                                                                    + + + + +
                                                                    + +
                                                                    + + +
                                                                    + +
                                                                    +
                                                                    +

                                                                    Ungrouped

                                                                    + +
                                                                    +
                                                                    + +
                                                                    + +
                                                                    + + + + + + diff --git a/manual1903/api_reference/didentification/scaladocs/ksb/csle/didentification/verification/Verification$.html b/manual1903/api_reference/didentification/scaladocs/ksb/csle/didentification/verification/Verification$.html new file mode 100644 index 0000000000000000000000000000000000000000..d9ec2824b4dcd5722e97cd93813d31f7ea5e3e8c --- /dev/null +++ b/manual1903/api_reference/didentification/scaladocs/ksb/csle/didentification/verification/Verification$.html @@ -0,0 +1,501 @@ + + + + Verification - KSB DEIDENTIFICATION Scala App Project 1.0-SNAPSHOT API - ksb.csle.didentification.verification.Verification + + + + + + + + + + + + + + + + + +

                                                                    + + + object + + + Verification + +

                                                                    + +
                                                                    + Linear Supertypes +
                                                                    AnyRef, Any
                                                                    +
                                                                    + + +
                                                                    +
                                                                    +
                                                                    + Ordering +
                                                                      + +
                                                                    1. Alphabetic
                                                                    2. +
                                                                    3. By Inheritance
                                                                    4. +
                                                                    +
                                                                    +
                                                                    + Inherited
                                                                    +
                                                                    +
                                                                      +
                                                                    1. Verification
                                                                    2. AnyRef
                                                                    3. Any
                                                                    4. +
                                                                    +
                                                                    + +
                                                                      +
                                                                    1. Hide All
                                                                    2. +
                                                                    3. Show All
                                                                    4. +
                                                                    +
                                                                    +
                                                                    + Visibility +
                                                                    1. Public
                                                                    2. All
                                                                    +
                                                                    +
                                                                    + +
                                                                    +
                                                                    + + + + + + +
                                                                    +

                                                                    Value Members

                                                                    +
                                                                    1. + + +

                                                                      + + final + def + + + !=(arg0: Any): Boolean + +

                                                                      + + Permalink + + +
                                                                      Definition Classes
                                                                      AnyRef → Any
                                                                      +
                                                                    2. + + +

                                                                      + + final + def + + + ##(): Int + +

                                                                      + + Permalink + + +
                                                                      Definition Classes
                                                                      AnyRef → Any
                                                                      +
                                                                    3. + + +

                                                                      + + final + def + + + ==(arg0: Any): Boolean + +

                                                                      + + Permalink + + +
                                                                      Definition Classes
                                                                      AnyRef → Any
                                                                      +
                                                                    4. + + +

                                                                      + + + def + + + apply(p: PrivacyCheckInfo): Verification + +

                                                                      + + Permalink + + + +
                                                                    5. + + +

                                                                      + + final + def + + + asInstanceOf[T0]: T0 + +

                                                                      + + Permalink + + +
                                                                      Definition Classes
                                                                      Any
                                                                      +
                                                                    6. + + +

                                                                      + + + def + + + clone(): AnyRef + +

                                                                      + + Permalink + + +
                                                                      Attributes
                                                                      protected[java.lang]
                                                                      Definition Classes
                                                                      AnyRef
                                                                      Annotations
                                                                      + @throws( + + ... + ) + +
                                                                      +
                                                                    7. + + +

                                                                      + + final + def + + + eq(arg0: AnyRef): Boolean + +

                                                                      + + Permalink + + +
                                                                      Definition Classes
                                                                      AnyRef
                                                                      +
                                                                    8. + + +

                                                                      + + + def + + + equals(arg0: Any): Boolean + +

                                                                      + + Permalink + + +
                                                                      Definition Classes
                                                                      AnyRef → Any
                                                                      +
                                                                    9. + + +

                                                                      + + + def + + + finalize(): Unit + +

                                                                      + + Permalink + + +
                                                                      Attributes
                                                                      protected[java.lang]
                                                                      Definition Classes
                                                                      AnyRef
                                                                      Annotations
                                                                      + @throws( + + classOf[java.lang.Throwable] + ) + +
                                                                      +
                                                                    10. + + +

                                                                      + + final + def + + + getClass(): Class[_] + +

                                                                      + + Permalink + + +
                                                                      Definition Classes
                                                                      AnyRef → Any
                                                                      +
                                                                    11. + + +

                                                                      + + + def + + + hashCode(): Int + +

                                                                      + + Permalink + + +
                                                                      Definition Classes
                                                                      AnyRef → Any
                                                                      +
                                                                    12. + + +

                                                                      + + final + def + + + isInstanceOf[T0]: Boolean + +

                                                                      + + Permalink + + +
                                                                      Definition Classes
                                                                      Any
                                                                      +
                                                                    13. + + +

                                                                      + + final + def + + + ne(arg0: AnyRef): Boolean + +

                                                                      + + Permalink + + +
                                                                      Definition Classes
                                                                      AnyRef
                                                                      +
                                                                    14. + + +

                                                                      + + final + def + + + notify(): Unit + +

                                                                      + + Permalink + + +
                                                                      Definition Classes
                                                                      AnyRef
                                                                      +
                                                                    15. + + +

                                                                      + + final + def + + + notifyAll(): Unit + +

                                                                      + + Permalink + + +
                                                                      Definition Classes
                                                                      AnyRef
                                                                      +
                                                                    16. + + +

                                                                      + + final + def + + + synchronized[T0](arg0: ⇒ T0): T0 + +

                                                                      + + Permalink + + +
                                                                      Definition Classes
                                                                      AnyRef
                                                                      +
                                                                    17. + + +

                                                                      + + + def + + + toString(): String + +

                                                                      + + Permalink + + +
                                                                      Definition Classes
                                                                      AnyRef → Any
                                                                      +
                                                                    18. + + +

                                                                      + + final + def + + + wait(): Unit + +

                                                                      + + Permalink + + +
                                                                      Definition Classes
                                                                      AnyRef
                                                                      Annotations
                                                                      + @throws( + + ... + ) + +
                                                                      +
                                                                    19. + + +

                                                                      + + final + def + + + wait(arg0: Long, arg1: Int): Unit + +

                                                                      + + Permalink + + +
                                                                      Definition Classes
                                                                      AnyRef
                                                                      Annotations
                                                                      + @throws( + + ... + ) + +
                                                                      +
                                                                    20. + + +

                                                                      + + final + def + + + wait(arg0: Long): Unit + +

                                                                      + + Permalink + + +
                                                                      Definition Classes
                                                                      AnyRef
                                                                      Annotations
                                                                      + @throws( + + ... + ) + +
                                                                      +
                                                                    +
                                                                    + + + + +
                                                                    + +
                                                                    +
                                                                    +

                                                                    Inherited from AnyRef

                                                                    +
                                                                    +

                                                                    Inherited from Any

                                                                    +
                                                                    + +
                                                                    + +
                                                                    +
                                                                    +

                                                                    Ungrouped

                                                                    + +
                                                                    +
                                                                    + +
                                                                    + +
                                                                    + + + + + + diff --git a/manual1903/api_reference/didentification/scaladocs/ksb/csle/didentification/verification/Verification.html b/manual1903/api_reference/didentification/scaladocs/ksb/csle/didentification/verification/Verification.html new file mode 100644 index 0000000000000000000000000000000000000000..26bca1b93ba9271267e073a3ef83ac46ccb0f8ed --- /dev/null +++ b/manual1903/api_reference/didentification/scaladocs/ksb/csle/didentification/verification/Verification.html @@ -0,0 +1,819 @@ + + + + Verification - KSB DEIDENTIFICATION Scala App Project 1.0-SNAPSHOT API - ksb.csle.didentification.verification.Verification + + + + + + + + + + + + + + + + + +

                                                                    + + + class + + + Verification extends DataFrameCheck + +

                                                                    + +
                                                                    + Linear Supertypes +
                                                                    DataFrameCheck, AnyRef, Any
                                                                    +
                                                                    + + +
                                                                    +
                                                                    +
                                                                    + Ordering +
                                                                      + +
                                                                    1. Alphabetic
                                                                    2. +
                                                                    3. By Inheritance
                                                                    4. +
                                                                    +
                                                                    +
                                                                    + Inherited
                                                                    +
                                                                    +
                                                                      +
                                                                    1. Verification
                                                                    2. DataFrameCheck
                                                                    3. AnyRef
                                                                    4. Any
                                                                    5. +
                                                                    +
                                                                    + +
                                                                      +
                                                                    1. Hide All
                                                                    2. +
                                                                    3. Show All
                                                                    4. +
                                                                    +
                                                                    +
                                                                    + Visibility +
                                                                    1. Public
                                                                    2. All
                                                                    +
                                                                    +
                                                                    + +
                                                                    +
                                                                    +
                                                                    +

                                                                    Instance Constructors

                                                                    +
                                                                    1. + + +

                                                                      + + + new + + + Verification(p: PrivacyCheckInfo) + +

                                                                      + + Permalink + + + +
                                                                    +
                                                                    + + + + + +
                                                                    +

                                                                    Value Members

                                                                    +
                                                                    1. + + +

                                                                      + + final + def + + + !=(arg0: Any): Boolean + +

                                                                      + + Permalink + + +
                                                                      Definition Classes
                                                                      AnyRef → Any
                                                                      +
                                                                    2. + + +

                                                                      + + final + def + + + ##(): Int + +

                                                                      + + Permalink + + +
                                                                      Definition Classes
                                                                      AnyRef → Any
                                                                      +
                                                                    3. + + +

                                                                      + + final + def + + + ==(arg0: Any): Boolean + +

                                                                      + + Permalink + + +
                                                                      Definition Classes
                                                                      AnyRef → Any
                                                                      +
                                                                    4. + + +

                                                                      + + final + def + + + asInstanceOf[T0]: T0 + +

                                                                      + + Permalink + + +
                                                                      Definition Classes
                                                                      Any
                                                                      +
                                                                    5. + + +

                                                                      + + + def + + + clone(): AnyRef + +

                                                                      + + Permalink + + +
                                                                      Attributes
                                                                      protected[java.lang]
                                                                      Definition Classes
                                                                      AnyRef
                                                                      Annotations
                                                                      + @throws( + + ... + ) + +
                                                                      +
                                                                    6. + + +

                                                                      + + final + def + + + eq(arg0: AnyRef): Boolean + +

                                                                      + + Permalink + + +
                                                                      Definition Classes
                                                                      AnyRef
                                                                      +
                                                                    7. + + +

                                                                      + + + def + + + equals(arg0: Any): Boolean + +

                                                                      + + Permalink + + +
                                                                      Definition Classes
                                                                      AnyRef → Any
                                                                      +
                                                                    8. + + +

                                                                      + + + def + + + finalize(): Unit + +

                                                                      + + Permalink + + +
                                                                      Attributes
                                                                      protected[java.lang]
                                                                      Definition Classes
                                                                      AnyRef
                                                                      Annotations
                                                                      + @throws( + + classOf[java.lang.Throwable] + ) + +
                                                                      +
                                                                    9. + + +

                                                                      + + final + def + + + getClass(): Class[_] + +

                                                                      + + Permalink + + +
                                                                      Definition Classes
                                                                      AnyRef → Any
                                                                      +
                                                                    10. + + +

                                                                      + + + def + + + getColumnName(src: DataFrame, columnId: Int): String + +

                                                                      + + Permalink + + +

                                                                      Returns column name from src dataframe +specified by the column ID defined by protobuf.

                                                                      Returns column name from src dataframe +specified by the column ID defined by protobuf. +

                                                                      src

                                                                      dataframe to get names of columns.

                                                                      columnId

                                                                      column ID to anonymize.

                                                                      returns

                                                                      String.

                                                                      Definition Classes
                                                                      DataFrameCheck
                                                                      +
                                                                    11. + + +

                                                                      + + + def + + + getColumnNames(src: DataFrame, columnIDs: Array[Int]): Array[String] + +

                                                                      + + Permalink + + +

                                                                      Returns column names from src dataframe specified by column IDs.

                                                                      Returns column names from src dataframe specified by column IDs. +Note that the column with invalid IDs are ignored. +

                                                                      src

                                                                      dataframe to get names of columns.

                                                                      returns

                                                                      Array[String].

                                                                      Definition Classes
                                                                      DataFrameCheck
                                                                      +
                                                                    12. + + +

                                                                      + + + def + + + getQuasiColumnIDs(fieldInfos: Array[FieldInfo]): Array[Int] + +

                                                                      + + Permalink + + +
                                                                      Definition Classes
                                                                      DataFrameCheck
                                                                      +
                                                                    13. + + +

                                                                      + + + def + + + getSensColumnIDs(fieldInfos: Array[FieldInfo]): Array[Int] + +

                                                                      + + Permalink + + +
                                                                      Definition Classes
                                                                      DataFrameCheck
                                                                      +
                                                                    14. + + +

                                                                      + + + def + + + getValidColumnIDs(src: DataFrame, columnIDs: Array[Int]): Array[Int] + +

                                                                      + + Permalink + + +
                                                                      Definition Classes
                                                                      DataFrameCheck
                                                                      +
                                                                    15. + + +

                                                                      + + + def + + + hashCode(): Int + +

                                                                      + + Permalink + + +
                                                                      Definition Classes
                                                                      AnyRef → Any
                                                                      +
                                                                    16. + + +

                                                                      + + final + def + + + isInstanceOf[T0]: Boolean + +

                                                                      + + Permalink + + +
                                                                      Definition Classes
                                                                      Any
                                                                      +
                                                                    17. + + +

                                                                      + + + def + + + isValidColumnID(src: DataFrame, columnID: Int): Boolean + +

                                                                      + + Permalink + + +

                                                                      Checks the given column ID is valid.

                                                                      Checks the given column ID is valid. +

                                                                      src

                                                                      dataframe to get names of columns.

                                                                      returns

                                                                      Boolean.

                                                                      Definition Classes
                                                                      DataFrameCheck
                                                                      +
                                                                    18. + + +

                                                                      + + + def + + + isValidColumnName(src: DataFrame, columnName: String): Boolean + +

                                                                      + + Permalink + + +

                                                                      Checks the given column Name is valid.

                                                                      Checks the given column Name is valid. +

                                                                      src

                                                                      dataframe to get names of columns.

                                                                      columnName

                                                                      column Name.

                                                                      returns

                                                                      Boolean.

                                                                      Definition Classes
                                                                      DataFrameCheck
                                                                      +
                                                                    19. + + +

                                                                      + + + def + + + measureAnonymity(src: DataFrame, columnNames: Array[String], sens: Array[String], checkType: CheckAnonymityMethod): Double + +

                                                                      + + Permalink + + + +
                                                                    20. + + +

                                                                      + + + def + + + measureAnonymity(src: DataFrame, anonymized: DataFrame, columnNames: Array[String], sens: Array[String], checkType: CheckAnonymityMethod): (Double, Double) + +

                                                                      + + Permalink + + + +
                                                                    21. + + +

                                                                      + + + def + + + measureLoss(src: DataFrame, anonymizedSrc: DataFrame, suppressedSrc: DataFrame, columnNames: Array[String], lossType: LossMeasureMethod): InformationLossBound + +

                                                                      + + Permalink + + + +
                                                                    22. + + +

                                                                      + + + def + + + measureLoss(src: DataFrame, anonymizedSrc: DataFrame, columnNames: Array[String], lossType: LossMeasureMethod): InformationLossBound + +

                                                                      + + Permalink + + + +
                                                                    23. + + +

                                                                      + + + def + + + measureRisk(src: DataFrame, anonymizedSrc: DataFrame, columnNames: Array[String], riskType: RiskMeasureMethod): (Double, Double) + +

                                                                      + + Permalink + + + +
                                                                    24. + + +

                                                                      + + final + def + + + ne(arg0: AnyRef): Boolean + +

                                                                      + + Permalink + + +
                                                                      Definition Classes
                                                                      AnyRef
                                                                      +
                                                                    25. + + +

                                                                      + + final + def + + + notify(): Unit + +

                                                                      + + Permalink + + +
                                                                      Definition Classes
                                                                      AnyRef
                                                                      +
                                                                    26. + + +

                                                                      + + final + def + + + notifyAll(): Unit + +

                                                                      + + Permalink + + +
                                                                      Definition Classes
                                                                      AnyRef
                                                                      +
                                                                    27. + + +

                                                                      + + + def + + + printAnonymityInfo(sAnonymity: Double, aAnonymity: Double, checkType: CheckAnonymityMethod): Unit + +

                                                                      + + Permalink + + + +
                                                                    28. + + +

                                                                      + + + def + + + printAnonymizeResult(src: DataFrame, result: DataFrame, fieldInfos: Array[FieldInfo]): Unit + +

                                                                      + + Permalink + + + +
                                                                    29. + + +

                                                                      + + + def + + + printLossInfo(info: String, loss: InformationLossBound): Unit + +

                                                                      + + Permalink + + + +
                                                                    30. + + +

                                                                      + + + def + + + printLossInfo(loss: InformationLossBound, lossType: LossMeasureMethod): Unit + +

                                                                      + + Permalink + + + +
                                                                    31. + + +

                                                                      + + + def + + + printRiskInfo(srcRisk: Double, anonymizedRisk: Double, riskType: RiskMeasureMethod): Unit + +

                                                                      + + Permalink + + + +
                                                                    32. + + +

                                                                      + + + val + + + privacy: PrivacyCheckInfo + +

                                                                      + + Permalink + + + +
                                                                    33. + + +

                                                                      + + final + def + + + synchronized[T0](arg0: ⇒ T0): T0 + +

                                                                      + + Permalink + + +
                                                                      Definition Classes
                                                                      AnyRef
                                                                      +
                                                                    34. + + +

                                                                      + + + def + + + toString(): String + +

                                                                      + + Permalink + + +
                                                                      Definition Classes
                                                                      AnyRef → Any
                                                                      +
                                                                    35. + + +

                                                                      + + final + def + + + wait(): Unit + +

                                                                      + + Permalink + + +
                                                                      Definition Classes
                                                                      AnyRef
                                                                      Annotations
                                                                      + @throws( + + ... + ) + +
                                                                      +
                                                                    36. + + +

                                                                      + + final + def + + + wait(arg0: Long, arg1: Int): Unit + +

                                                                      + + Permalink + + +
                                                                      Definition Classes
                                                                      AnyRef
                                                                      Annotations
                                                                      + @throws( + + ... + ) + +
                                                                      +
                                                                    37. + + +

                                                                      + + final + def + + + wait(arg0: Long): Unit + +

                                                                      + + Permalink + + +
                                                                      Definition Classes
                                                                      AnyRef
                                                                      Annotations
                                                                      + @throws( + + ... + ) + +
                                                                      +
                                                                    +
                                                                    + + + + +
                                                                    + +
                                                                    +
                                                                    +

                                                                    Inherited from DataFrameCheck

                                                                    +
                                                                    +

                                                                    Inherited from AnyRef

                                                                    +
                                                                    +

                                                                    Inherited from Any

                                                                    +
                                                                    + +
                                                                    + +
                                                                    +
                                                                    +

                                                                    Ungrouped

                                                                    + +
                                                                    +
                                                                    + +
                                                                    + +
                                                                    + + + + + + diff --git a/manual1903/api_reference/didentification/scaladocs/ksb/csle/didentification/verification/check/BaseLDiversityCheck.html b/manual1903/api_reference/didentification/scaladocs/ksb/csle/didentification/verification/check/BaseLDiversityCheck.html new file mode 100644 index 0000000000000000000000000000000000000000..8fb8c55ed2dc8c17d6fb10984b027166d047e173 --- /dev/null +++ b/manual1903/api_reference/didentification/scaladocs/ksb/csle/didentification/verification/check/BaseLDiversityCheck.html @@ -0,0 +1,573 @@ + + + + BaseLDiversityCheck - KSB DEIDENTIFICATION Scala App Project 1.0-SNAPSHOT API - ksb.csle.didentification.verification.check.BaseLDiversityCheck + + + + + + + + + + + + + + + +
                                                                    + Class +

                                                                    ksb.csle.didentification.verification.check

                                                                    +

                                                                    BaseLDiversityCheck

                                                                    Related Doc: + package check +

                                                                    + + Permalink + + +
                                                                    + +

                                                                    + + abstract + class + + + BaseLDiversityCheck extends AnyRef + +

                                                                    + +

                                                                    This class is a base class to check whether the anonymized data satisfies +the L-diversity constraints. Note that there are some variants of +L-diversity. Currently, common l-diversity, entropy l-diversity, +probabilistic l-diversity, and recursive C-L diversity are implemented. +

                                                                    + Linear Supertypes +
                                                                    AnyRef, Any
                                                                    +
                                                                    + + +
                                                                    +
                                                                    +
                                                                    + Ordering +
                                                                      + +
                                                                    1. Alphabetic
                                                                    2. +
                                                                    3. By Inheritance
                                                                    4. +
                                                                    +
                                                                    +
                                                                    + Inherited
                                                                    +
                                                                    +
                                                                      +
                                                                    1. BaseLDiversityCheck
                                                                    2. AnyRef
                                                                    3. Any
                                                                    4. +
                                                                    +
                                                                    + +
                                                                      +
                                                                    1. Hide All
                                                                    2. +
                                                                    3. Show All
                                                                    4. +
                                                                    +
                                                                    +
                                                                    + Visibility +
                                                                    1. Public
                                                                    2. All
                                                                    +
                                                                    +
                                                                    + +
                                                                    +
                                                                    +
                                                                    +

                                                                    Instance Constructors

                                                                    +
                                                                    1. + + +

                                                                      + + + new + + + BaseLDiversityCheck() + +

                                                                      + + Permalink + + + +
                                                                    +
                                                                    + + + +
                                                                    +

                                                                    Abstract Value Members

                                                                    +
                                                                    1. + + +

                                                                      + + abstract + def + + + getLDiversityValue(eqTable: Map[List[Any], Long]): Double + +

                                                                      + + Permalink + + +

                                                                      The common L-diversity method just checks whether the number of sensitive +attributes in single equivalence class is greater than given L-constraints.

                                                                      The common L-diversity method just checks whether the number of sensitive +attributes in single equivalence class is greater than given L-constraints. +

                                                                      returns

                                                                      Double return the l-diversity value

                                                                      +
                                                                    +
                                                                    + +
                                                                    +

                                                                    Concrete Value Members

                                                                    +
                                                                    1. + + +

                                                                      + + final + def + + + !=(arg0: Any): Boolean + +

                                                                      + + Permalink + + +
                                                                      Definition Classes
                                                                      AnyRef → Any
                                                                      +
                                                                    2. + + +

                                                                      + + final + def + + + ##(): Int + +

                                                                      + + Permalink + + +
                                                                      Definition Classes
                                                                      AnyRef → Any
                                                                      +
                                                                    3. + + +

                                                                      + + final + def + + + ==(arg0: Any): Boolean + +

                                                                      + + Permalink + + +
                                                                      Definition Classes
                                                                      AnyRef → Any
                                                                      +
                                                                    4. + + +

                                                                      + + final + def + + + asInstanceOf[T0]: T0 + +

                                                                      + + Permalink + + +
                                                                      Definition Classes
                                                                      Any
                                                                      +
                                                                    5. + + +

                                                                      + + + def + + + clone(): AnyRef + +

                                                                      + + Permalink + + +
                                                                      Attributes
                                                                      protected[java.lang]
                                                                      Definition Classes
                                                                      AnyRef
                                                                      Annotations
                                                                      + @throws( + + ... + ) + +
                                                                      +
                                                                    6. + + +

                                                                      + + final + def + + + eq(arg0: AnyRef): Boolean + +

                                                                      + + Permalink + + +
                                                                      Definition Classes
                                                                      AnyRef
                                                                      +
                                                                    7. + + +

                                                                      + + + def + + + equals(arg0: Any): Boolean + +

                                                                      + + Permalink + + +
                                                                      Definition Classes
                                                                      AnyRef → Any
                                                                      +
                                                                    8. + + +

                                                                      + + + def + + + finalize(): Unit + +

                                                                      + + Permalink + + +
                                                                      Attributes
                                                                      protected[java.lang]
                                                                      Definition Classes
                                                                      AnyRef
                                                                      Annotations
                                                                      + @throws( + + classOf[java.lang.Throwable] + ) + +
                                                                      +
                                                                    9. + + +

                                                                      + + final + def + + + getClass(): Class[_] + +

                                                                      + + Permalink + + +
                                                                      Definition Classes
                                                                      AnyRef → Any
                                                                      +
                                                                    10. + + +

                                                                      + + + def + + + getLDiversityValue(src: DataFrame, columnNames: Array[String], sens: Array[String]): Double + +

                                                                      + + Permalink + + +

                                                                      The common L-diversity method just checks whether the number of sensitive +attributes is greater than given L-constraints.

                                                                      The common L-diversity method just checks whether the number of sensitive +attributes is greater than given L-constraints. +Generally, an equivalence class is l-diverse if contains at least +'l' well-represented values for the sensitive attribute. A table +is l-diverse if every equivalence is l-diverse +

                                                                      src

                                                                      The anonymized dataframe

                                                                      returns

                                                                      Double return the l-diversity value

                                                                      +
                                                                    11. + + +

                                                                      + + + def + + + hashCode(): Int + +

                                                                      + + Permalink + + +
                                                                      Definition Classes
                                                                      AnyRef → Any
                                                                      +
                                                                    12. + + +

                                                                      + + final + def + + + isInstanceOf[T0]: Boolean + +

                                                                      + + Permalink + + +
                                                                      Definition Classes
                                                                      Any
                                                                      +
                                                                    13. + + +

                                                                      + + + def + + + lDiversityCheck(src: DataFrame, columnNames: Array[String], sens: Array[String], lDiversityValue: Double): Boolean + +

                                                                      + + Permalink + + +

                                                                      Checks the anonymized dataframe satisfies the given l-Diversity constraint.

                                                                      Checks the anonymized dataframe satisfies the given l-Diversity constraint. +

                                                                      src

                                                                      The anonymized dataframe

                                                                      lDiversityValue

                                                                      the given l-diversity constraint

                                                                      returns

                                                                      Boolean return true if satisfying the given l-diversity constraint

                                                                      +
                                                                    14. + + +

                                                                      + + final + def + + + ne(arg0: AnyRef): Boolean + +

                                                                      + + Permalink + + +
                                                                      Definition Classes
                                                                      AnyRef
                                                                      +
                                                                    15. + + +

                                                                      + + final + def + + + notify(): Unit + +

                                                                      + + Permalink + + +
                                                                      Definition Classes
                                                                      AnyRef
                                                                      +
                                                                    16. + + +

                                                                      + + final + def + + + notifyAll(): Unit + +

                                                                      + + Permalink + + +
                                                                      Definition Classes
                                                                      AnyRef
                                                                      +
                                                                    17. + + +

                                                                      + + final + def + + + synchronized[T0](arg0: ⇒ T0): T0 + +

                                                                      + + Permalink + + +
                                                                      Definition Classes
                                                                      AnyRef
                                                                      +
                                                                    18. + + +

                                                                      + + + def + + + toString(): String + +

                                                                      + + Permalink + + +
                                                                      Definition Classes
                                                                      AnyRef → Any
                                                                      +
                                                                    19. + + +

                                                                      + + final + def + + + wait(): Unit + +

                                                                      + + Permalink + + +
                                                                      Definition Classes
                                                                      AnyRef
                                                                      Annotations
                                                                      + @throws( + + ... + ) + +
                                                                      +
                                                                    20. + + +

                                                                      + + final + def + + + wait(arg0: Long, arg1: Int): Unit + +

                                                                      + + Permalink + + +
                                                                      Definition Classes
                                                                      AnyRef
                                                                      Annotations
                                                                      + @throws( + + ... + ) + +
                                                                      +
                                                                    21. + + +

                                                                      + + final + def + + + wait(arg0: Long): Unit + +

                                                                      + + Permalink + + +
                                                                      Definition Classes
                                                                      AnyRef
                                                                      Annotations
                                                                      + @throws( + + ... + ) + +
                                                                      +
                                                                    +
                                                                    + + + + +
                                                                    + +
                                                                    +
                                                                    +

                                                                    Inherited from AnyRef

                                                                    +
                                                                    +

                                                                    Inherited from Any

                                                                    +
                                                                    + +
                                                                    + +
                                                                    +
                                                                    +

                                                                    Ungrouped

                                                                    + +
                                                                    +
                                                                    + +
                                                                    + +
                                                                    + + + + + + diff --git a/manual1903/api_reference/didentification/scaladocs/ksb/csle/didentification/verification/check/CategoryTClosenessCheck$.html b/manual1903/api_reference/didentification/scaladocs/ksb/csle/didentification/verification/check/CategoryTClosenessCheck$.html new file mode 100644 index 0000000000000000000000000000000000000000..7fd64d0b0b6167203b4bb1d39e8bf67ff21fac53 --- /dev/null +++ b/manual1903/api_reference/didentification/scaladocs/ksb/csle/didentification/verification/check/CategoryTClosenessCheck$.html @@ -0,0 +1,501 @@ + + + + CategoryTClosenessCheck - KSB DEIDENTIFICATION Scala App Project 1.0-SNAPSHOT API - ksb.csle.didentification.verification.check.CategoryTClosenessCheck + + + + + + + + + + + + + + + + + +

                                                                    + + + object + + + CategoryTClosenessCheck + +

                                                                    + +
                                                                    + Linear Supertypes +
                                                                    AnyRef, Any
                                                                    +
                                                                    + + +
                                                                    +
                                                                    +
                                                                    + Ordering +
                                                                      + +
                                                                    1. Alphabetic
                                                                    2. +
                                                                    3. By Inheritance
                                                                    4. +
                                                                    +
                                                                    +
                                                                    + Inherited
                                                                    +
                                                                    +
                                                                      +
                                                                    1. CategoryTClosenessCheck
                                                                    2. AnyRef
                                                                    3. Any
                                                                    4. +
                                                                    +
                                                                    + +
                                                                      +
                                                                    1. Hide All
                                                                    2. +
                                                                    3. Show All
                                                                    4. +
                                                                    +
                                                                    +
                                                                    + Visibility +
                                                                    1. Public
                                                                    2. All
                                                                    +
                                                                    +
                                                                    + +
                                                                    +
                                                                    + + + + + + +
                                                                    +

                                                                    Value Members

                                                                    +
                                                                    1. + + +

                                                                      + + final + def + + + !=(arg0: Any): Boolean + +

                                                                      + + Permalink + + +
                                                                      Definition Classes
                                                                      AnyRef → Any
                                                                      +
                                                                    2. + + +

                                                                      + + final + def + + + ##(): Int + +

                                                                      + + Permalink + + +
                                                                      Definition Classes
                                                                      AnyRef → Any
                                                                      +
                                                                    3. + + +

                                                                      + + final + def + + + ==(arg0: Any): Boolean + +

                                                                      + + Permalink + + +
                                                                      Definition Classes
                                                                      AnyRef → Any
                                                                      +
                                                                    4. + + +

                                                                      + + + def + + + apply(): CategoryTClosenessCheck + +

                                                                      + + Permalink + + + +
                                                                    5. + + +

                                                                      + + final + def + + + asInstanceOf[T0]: T0 + +

                                                                      + + Permalink + + +
                                                                      Definition Classes
                                                                      Any
                                                                      +
                                                                    6. + + +

                                                                      + + + def + + + clone(): AnyRef + +

                                                                      + + Permalink + + +
                                                                      Attributes
                                                                      protected[java.lang]
                                                                      Definition Classes
                                                                      AnyRef
                                                                      Annotations
                                                                      + @throws( + + ... + ) + +
                                                                      +
                                                                    7. + + +

                                                                      + + final + def + + + eq(arg0: AnyRef): Boolean + +

                                                                      + + Permalink + + +
                                                                      Definition Classes
                                                                      AnyRef
                                                                      +
                                                                    8. + + +

                                                                      + + + def + + + equals(arg0: Any): Boolean + +

                                                                      + + Permalink + + +
                                                                      Definition Classes
                                                                      AnyRef → Any
                                                                      +
                                                                    9. + + +

                                                                      + + + def + + + finalize(): Unit + +

                                                                      + + Permalink + + +
                                                                      Attributes
                                                                      protected[java.lang]
                                                                      Definition Classes
                                                                      AnyRef
                                                                      Annotations
                                                                      + @throws( + + classOf[java.lang.Throwable] + ) + +
                                                                      +
                                                                    10. + + +

                                                                      + + final + def + + + getClass(): Class[_] + +

                                                                      + + Permalink + + +
                                                                      Definition Classes
                                                                      AnyRef → Any
                                                                      +
                                                                    11. + + +

                                                                      + + + def + + + hashCode(): Int + +

                                                                      + + Permalink + + +
                                                                      Definition Classes
                                                                      AnyRef → Any
                                                                      +
                                                                    12. + + +

                                                                      + + final + def + + + isInstanceOf[T0]: Boolean + +

                                                                      + + Permalink + + +
                                                                      Definition Classes
                                                                      Any
                                                                      +
                                                                    13. + + +

                                                                      + + final + def + + + ne(arg0: AnyRef): Boolean + +

                                                                      + + Permalink + + +
                                                                      Definition Classes
                                                                      AnyRef
                                                                      +
                                                                    14. + + +

                                                                      + + final + def + + + notify(): Unit + +

                                                                      + + Permalink + + +
                                                                      Definition Classes
                                                                      AnyRef
                                                                      +
                                                                    15. + + +

                                                                      + + final + def + + + notifyAll(): Unit + +

                                                                      + + Permalink + + +
                                                                      Definition Classes
                                                                      AnyRef
                                                                      +
                                                                    16. + + +

                                                                      + + final + def + + + synchronized[T0](arg0: ⇒ T0): T0 + +

                                                                      + + Permalink + + +
                                                                      Definition Classes
                                                                      AnyRef
                                                                      +
                                                                    17. + + +

                                                                      + + + def + + + toString(): String + +

                                                                      + + Permalink + + +
                                                                      Definition Classes
                                                                      AnyRef → Any
                                                                      +
                                                                    18. + + +

                                                                      + + final + def + + + wait(): Unit + +

                                                                      + + Permalink + + +
                                                                      Definition Classes
                                                                      AnyRef
                                                                      Annotations
                                                                      + @throws( + + ... + ) + +
                                                                      +
                                                                    19. + + +

                                                                      + + final + def + + + wait(arg0: Long, arg1: Int): Unit + +

                                                                      + + Permalink + + +
                                                                      Definition Classes
                                                                      AnyRef
                                                                      Annotations
                                                                      + @throws( + + ... + ) + +
                                                                      +
                                                                    20. + + +

                                                                      + + final + def + + + wait(arg0: Long): Unit + +

                                                                      + + Permalink + + +
                                                                      Definition Classes
                                                                      AnyRef
                                                                      Annotations
                                                                      + @throws( + + ... + ) + +
                                                                      +
                                                                    +
                                                                    + + + + +
                                                                    + +
                                                                    +
                                                                    +

                                                                    Inherited from AnyRef

                                                                    +
                                                                    +

                                                                    Inherited from Any

                                                                    +
                                                                    + +
                                                                    + +
                                                                    +
                                                                    +

                                                                    Ungrouped

                                                                    + +
                                                                    +
                                                                    + +
                                                                    + +
                                                                    + + + + + + diff --git a/manual1903/api_reference/didentification/scaladocs/ksb/csle/didentification/verification/check/CategoryTClosenessCheck.html b/manual1903/api_reference/didentification/scaladocs/ksb/csle/didentification/verification/check/CategoryTClosenessCheck.html new file mode 100644 index 0000000000000000000000000000000000000000..d2d5ca4161c25e9cfc9285476a7e91711720b2bc --- /dev/null +++ b/manual1903/api_reference/didentification/scaladocs/ksb/csle/didentification/verification/check/CategoryTClosenessCheck.html @@ -0,0 +1,598 @@ + + + + CategoryTClosenessCheck - KSB DEIDENTIFICATION Scala App Project 1.0-SNAPSHOT API - ksb.csle.didentification.verification.check.CategoryTClosenessCheck + + + + + + + + + + + + + + + + + +

                                                                    + + + class + + + CategoryTClosenessCheck extends AnyRef + +

                                                                    + +

                                                                    This class is a base class to check whether the anonymized data satisfies +the T-closeness constraints. +

                                                                    + Linear Supertypes +
                                                                    AnyRef, Any
                                                                    +
                                                                    + + +
                                                                    +
                                                                    +
                                                                    + Ordering +
                                                                      + +
                                                                    1. Alphabetic
                                                                    2. +
                                                                    3. By Inheritance
                                                                    4. +
                                                                    +
                                                                    +
                                                                    + Inherited
                                                                    +
                                                                    +
                                                                      +
                                                                    1. CategoryTClosenessCheck
                                                                    2. AnyRef
                                                                    3. Any
                                                                    4. +
                                                                    +
                                                                    + +
                                                                      +
                                                                    1. Hide All
                                                                    2. +
                                                                    3. Show All
                                                                    4. +
                                                                    +
                                                                    +
                                                                    + Visibility +
                                                                    1. Public
                                                                    2. All
                                                                    +
                                                                    +
                                                                    + +
                                                                    +
                                                                    +
                                                                    +

                                                                    Instance Constructors

                                                                    +
                                                                    1. + + +

                                                                      + + + new + + + CategoryTClosenessCheck() + +

                                                                      + + Permalink + + + +
                                                                    +
                                                                    + + + + + +
                                                                    +

                                                                    Value Members

                                                                    +
                                                                    1. + + +

                                                                      + + final + def + + + !=(arg0: Any): Boolean + +

                                                                      + + Permalink + + +
                                                                      Definition Classes
                                                                      AnyRef → Any
                                                                      +
                                                                    2. + + +

                                                                      + + final + def + + + ##(): Int + +

                                                                      + + Permalink + + +
                                                                      Definition Classes
                                                                      AnyRef → Any
                                                                      +
                                                                    3. + + +

                                                                      + + final + def + + + ==(arg0: Any): Boolean + +

                                                                      + + Permalink + + +
                                                                      Definition Classes
                                                                      AnyRef → Any
                                                                      +
                                                                    4. + + +

                                                                      + + final + def + + + asInstanceOf[T0]: T0 + +

                                                                      + + Permalink + + +
                                                                      Definition Classes
                                                                      Any
                                                                      +
                                                                    5. + + +

                                                                      + + + def + + + clone(): AnyRef + +

                                                                      + + Permalink + + +
                                                                      Attributes
                                                                      protected[java.lang]
                                                                      Definition Classes
                                                                      AnyRef
                                                                      Annotations
                                                                      + @throws( + + ... + ) + +
                                                                      +
                                                                    6. + + +

                                                                      + + final + def + + + eq(arg0: AnyRef): Boolean + +

                                                                      + + Permalink + + +
                                                                      Definition Classes
                                                                      AnyRef
                                                                      +
                                                                    7. + + +

                                                                      + + + def + + + equals(arg0: Any): Boolean + +

                                                                      + + Permalink + + +
                                                                      Definition Classes
                                                                      AnyRef → Any
                                                                      +
                                                                    8. + + +

                                                                      + + + def + + + finalize(): Unit + +

                                                                      + + Permalink + + +
                                                                      Attributes
                                                                      protected[java.lang]
                                                                      Definition Classes
                                                                      AnyRef
                                                                      Annotations
                                                                      + @throws( + + classOf[java.lang.Throwable] + ) + +
                                                                      +
                                                                    9. + + +

                                                                      + + final + def + + + getClass(): Class[_] + +

                                                                      + + Permalink + + +
                                                                      Definition Classes
                                                                      AnyRef → Any
                                                                      +
                                                                    10. + + +

                                                                      + + + def + + + getOverallTClosenessTable(src: DataFrame, sens: Array[String]): Map[List[Any], Long] + +

                                                                      + + Permalink + + + +
                                                                    11. + + +

                                                                      + + + def + + + getOverallTClosenessTable(src: DataFrame, sens: String): Map[List[Any], Long] + +

                                                                      + + Permalink + + + +
                                                                    12. + + +

                                                                      + + + def + + + getTClosenessValue(eqTable: Map[List[Any], Long], allTable: Map[List[Any], Long]): Double + +

                                                                      + + Permalink + + + +
                                                                    13. + + +

                                                                      + + + def + + + getTClosenessValue(src: DataFrame, columnNames: Array[String], sens: Array[String]): Double + +

                                                                      + + Permalink + + +

                                                                      Checks the anonymized dataframe satisfies the given l-Diversity constraint.

                                                                      Checks the anonymized dataframe satisfies the given l-Diversity constraint. +

                                                                      src

                                                                      The anonymized dataframe

                                                                      returns

                                                                      Boolean return true if satisfying the given l-diversity constraint

                                                                      +
                                                                    14. + + +

                                                                      + + + def + + + hashCode(): Int + +

                                                                      + + Permalink + + +
                                                                      Definition Classes
                                                                      AnyRef → Any
                                                                      +
                                                                    15. + + +

                                                                      + + final + def + + + isInstanceOf[T0]: Boolean + +

                                                                      + + Permalink + + +
                                                                      Definition Classes
                                                                      Any
                                                                      +
                                                                    16. + + +

                                                                      + + final + def + + + ne(arg0: AnyRef): Boolean + +

                                                                      + + Permalink + + +
                                                                      Definition Classes
                                                                      AnyRef
                                                                      +
                                                                    17. + + +

                                                                      + + final + def + + + notify(): Unit + +

                                                                      + + Permalink + + +
                                                                      Definition Classes
                                                                      AnyRef
                                                                      +
                                                                    18. + + +

                                                                      + + final + def + + + notifyAll(): Unit + +

                                                                      + + Permalink + + +
                                                                      Definition Classes
                                                                      AnyRef
                                                                      +
                                                                    19. + + +

                                                                      + + final + def + + + synchronized[T0](arg0: ⇒ T0): T0 + +

                                                                      + + Permalink + + +
                                                                      Definition Classes
                                                                      AnyRef
                                                                      +
                                                                    20. + + +

                                                                      + + + def + + + tClosenessCheck(src: DataFrame, columnNames: Array[String], sens: Array[String], tClosenessValue: Double): Boolean + +

                                                                      + + Permalink + + +

                                                                      The common L-diversity method just checks whether the number of sensitive +attributes is greater than given L-constraints.

                                                                      The common L-diversity method just checks whether the number of sensitive +attributes is greater than given L-constraints. +Generally, an equivalence class is l-diverse if contains at least +'l' well-represented values for the sensitive attribute. A table +is l-diverse if every equivalence is l-diverse +

                                                                      src

                                                                      The anonymized dataframe

                                                                      returns

                                                                      Double return the l-diversity value

                                                                      +
                                                                    21. + + +

                                                                      + + + def + + + toString(): String + +

                                                                      + + Permalink + + +
                                                                      Definition Classes
                                                                      AnyRef → Any
                                                                      +
                                                                    22. + + +

                                                                      + + final + def + + + wait(): Unit + +

                                                                      + + Permalink + + +
                                                                      Definition Classes
                                                                      AnyRef
                                                                      Annotations
                                                                      + @throws( + + ... + ) + +
                                                                      +
                                                                    23. + + +

                                                                      + + final + def + + + wait(arg0: Long, arg1: Int): Unit + +

                                                                      + + Permalink + + +
                                                                      Definition Classes
                                                                      AnyRef
                                                                      Annotations
                                                                      + @throws( + + ... + ) + +
                                                                      +
                                                                    24. + + +

                                                                      + + final + def + + + wait(arg0: Long): Unit + +

                                                                      + + Permalink + + +
                                                                      Definition Classes
                                                                      AnyRef
                                                                      Annotations
                                                                      + @throws( + + ... + ) + +
                                                                      +
                                                                    +
                                                                    + + + + +
                                                                    + +
                                                                    +
                                                                    +

                                                                    Inherited from AnyRef

                                                                    +
                                                                    +

                                                                    Inherited from Any

                                                                    +
                                                                    + +
                                                                    + +
                                                                    +
                                                                    +

                                                                    Ungrouped

                                                                    + +
                                                                    +
                                                                    + +
                                                                    + +
                                                                    + + + + + + diff --git a/manual1903/api_reference/didentification/scaladocs/ksb/csle/didentification/verification/check/CommonLDiversityCheck$.html b/manual1903/api_reference/didentification/scaladocs/ksb/csle/didentification/verification/check/CommonLDiversityCheck$.html new file mode 100644 index 0000000000000000000000000000000000000000..123cbdd74b55e749342b1e828a2125036b7493ee --- /dev/null +++ b/manual1903/api_reference/didentification/scaladocs/ksb/csle/didentification/verification/check/CommonLDiversityCheck$.html @@ -0,0 +1,501 @@ + + + + CommonLDiversityCheck - KSB DEIDENTIFICATION Scala App Project 1.0-SNAPSHOT API - ksb.csle.didentification.verification.check.CommonLDiversityCheck + + + + + + + + + + + + + + + + + +

                                                                    + + + object + + + CommonLDiversityCheck + +

                                                                    + +
                                                                    + Linear Supertypes +
                                                                    AnyRef, Any
                                                                    +
                                                                    + + +
                                                                    +
                                                                    +
                                                                    + Ordering +
                                                                      + +
                                                                    1. Alphabetic
                                                                    2. +
                                                                    3. By Inheritance
                                                                    4. +
                                                                    +
                                                                    +
                                                                    + Inherited
                                                                    +
                                                                    +
                                                                      +
                                                                    1. CommonLDiversityCheck
                                                                    2. AnyRef
                                                                    3. Any
                                                                    4. +
                                                                    +
                                                                    + +
                                                                      +
                                                                    1. Hide All
                                                                    2. +
                                                                    3. Show All
                                                                    4. +
                                                                    +
                                                                    +
                                                                    + Visibility +
                                                                    1. Public
                                                                    2. All
                                                                    +
                                                                    +
                                                                    + +
                                                                    +
                                                                    + + + + + + +
                                                                    +

                                                                    Value Members

                                                                    +
                                                                    1. + + +

                                                                      + + final + def + + + !=(arg0: Any): Boolean + +

                                                                      + + Permalink + + +
                                                                      Definition Classes
                                                                      AnyRef → Any
                                                                      +
                                                                    2. + + +

                                                                      + + final + def + + + ##(): Int + +

                                                                      + + Permalink + + +
                                                                      Definition Classes
                                                                      AnyRef → Any
                                                                      +
                                                                    3. + + +

                                                                      + + final + def + + + ==(arg0: Any): Boolean + +

                                                                      + + Permalink + + +
                                                                      Definition Classes
                                                                      AnyRef → Any
                                                                      +
                                                                    4. + + +

                                                                      + + + def + + + apply(): CommonLDiversityCheck + +

                                                                      + + Permalink + + + +
                                                                    5. + + +

                                                                      + + final + def + + + asInstanceOf[T0]: T0 + +

                                                                      + + Permalink + + +
                                                                      Definition Classes
                                                                      Any
                                                                      +
                                                                    6. + + +

                                                                      + + + def + + + clone(): AnyRef + +

                                                                      + + Permalink + + +
                                                                      Attributes
                                                                      protected[java.lang]
                                                                      Definition Classes
                                                                      AnyRef
                                                                      Annotations
                                                                      + @throws( + + ... + ) + +
                                                                      +
                                                                    7. + + +

                                                                      + + final + def + + + eq(arg0: AnyRef): Boolean + +

                                                                      + + Permalink + + +
                                                                      Definition Classes
                                                                      AnyRef
                                                                      +
                                                                    8. + + +

                                                                      + + + def + + + equals(arg0: Any): Boolean + +

                                                                      + + Permalink + + +
                                                                      Definition Classes
                                                                      AnyRef → Any
                                                                      +
                                                                    9. + + +

                                                                      + + + def + + + finalize(): Unit + +

                                                                      + + Permalink + + +
                                                                      Attributes
                                                                      protected[java.lang]
                                                                      Definition Classes
                                                                      AnyRef
                                                                      Annotations
                                                                      + @throws( + + classOf[java.lang.Throwable] + ) + +
                                                                      +
                                                                    10. + + +

                                                                      + + final + def + + + getClass(): Class[_] + +

                                                                      + + Permalink + + +
                                                                      Definition Classes
                                                                      AnyRef → Any
                                                                      +
                                                                    11. + + +

                                                                      + + + def + + + hashCode(): Int + +

                                                                      + + Permalink + + +
                                                                      Definition Classes
                                                                      AnyRef → Any
                                                                      +
                                                                    12. + + +

                                                                      + + final + def + + + isInstanceOf[T0]: Boolean + +

                                                                      + + Permalink + + +
                                                                      Definition Classes
                                                                      Any
                                                                      +
                                                                    13. + + +

                                                                      + + final + def + + + ne(arg0: AnyRef): Boolean + +

                                                                      + + Permalink + + +
                                                                      Definition Classes
                                                                      AnyRef
                                                                      +
                                                                    14. + + +

                                                                      + + final + def + + + notify(): Unit + +

                                                                      + + Permalink + + +
                                                                      Definition Classes
                                                                      AnyRef
                                                                      +
                                                                    15. + + +

                                                                      + + final + def + + + notifyAll(): Unit + +

                                                                      + + Permalink + + +
                                                                      Definition Classes
                                                                      AnyRef
                                                                      +
                                                                    16. + + +

                                                                      + + final + def + + + synchronized[T0](arg0: ⇒ T0): T0 + +

                                                                      + + Permalink + + +
                                                                      Definition Classes
                                                                      AnyRef
                                                                      +
                                                                    17. + + +

                                                                      + + + def + + + toString(): String + +

                                                                      + + Permalink + + +
                                                                      Definition Classes
                                                                      AnyRef → Any
                                                                      +
                                                                    18. + + +

                                                                      + + final + def + + + wait(): Unit + +

                                                                      + + Permalink + + +
                                                                      Definition Classes
                                                                      AnyRef
                                                                      Annotations
                                                                      + @throws( + + ... + ) + +
                                                                      +
                                                                    19. + + +

                                                                      + + final + def + + + wait(arg0: Long, arg1: Int): Unit + +

                                                                      + + Permalink + + +
                                                                      Definition Classes
                                                                      AnyRef
                                                                      Annotations
                                                                      + @throws( + + ... + ) + +
                                                                      +
                                                                    20. + + +

                                                                      + + final + def + + + wait(arg0: Long): Unit + +

                                                                      + + Permalink + + +
                                                                      Definition Classes
                                                                      AnyRef
                                                                      Annotations
                                                                      + @throws( + + ... + ) + +
                                                                      +
                                                                    +
                                                                    + + + + +
                                                                    + +
                                                                    +
                                                                    +

                                                                    Inherited from AnyRef

                                                                    +
                                                                    +

                                                                    Inherited from Any

                                                                    +
                                                                    + +
                                                                    + +
                                                                    +
                                                                    +

                                                                    Ungrouped

                                                                    + +
                                                                    +
                                                                    + +
                                                                    + +
                                                                    + + + + + + diff --git a/manual1903/api_reference/didentification/scaladocs/ksb/csle/didentification/verification/check/CommonLDiversityCheck.html b/manual1903/api_reference/didentification/scaladocs/ksb/csle/didentification/verification/check/CommonLDiversityCheck.html new file mode 100644 index 0000000000000000000000000000000000000000..a20e55e1e29dc9aa8c5fdb9152e1d24ccb9d87da --- /dev/null +++ b/manual1903/api_reference/didentification/scaladocs/ksb/csle/didentification/verification/check/CommonLDiversityCheck.html @@ -0,0 +1,571 @@ + + + + CommonLDiversityCheck - KSB DEIDENTIFICATION Scala App Project 1.0-SNAPSHOT API - ksb.csle.didentification.verification.check.CommonLDiversityCheck + + + + + + + + + + + + + + + + + +

                                                                    + + + class + + + CommonLDiversityCheck extends BaseLDiversityCheck + +

                                                                    + +

                                                                    This class checks whether the anonymized data satisfies the common +L-diversity constraint. Note that this class checks the l-diversity +value in an single equivalence class, not the dataframe. +

                                                                    + Linear Supertypes +
                                                                    BaseLDiversityCheck, AnyRef, Any
                                                                    +
                                                                    + + +
                                                                    +
                                                                    +
                                                                    + Ordering +
                                                                      + +
                                                                    1. Alphabetic
                                                                    2. +
                                                                    3. By Inheritance
                                                                    4. +
                                                                    +
                                                                    +
                                                                    + Inherited
                                                                    +
                                                                    +
                                                                      +
                                                                    1. CommonLDiversityCheck
                                                                    2. BaseLDiversityCheck
                                                                    3. AnyRef
                                                                    4. Any
                                                                    5. +
                                                                    +
                                                                    + +
                                                                      +
                                                                    1. Hide All
                                                                    2. +
                                                                    3. Show All
                                                                    4. +
                                                                    +
                                                                    +
                                                                    + Visibility +
                                                                    1. Public
                                                                    2. All
                                                                    +
                                                                    +
                                                                    + +
                                                                    +
                                                                    +
                                                                    +

                                                                    Instance Constructors

                                                                    +
                                                                    1. + + +

                                                                      + + + new + + + CommonLDiversityCheck() + +

                                                                      + + Permalink + + + +
                                                                    +
                                                                    + + + + + +
                                                                    +

                                                                    Value Members

                                                                    +
                                                                    1. + + +

                                                                      + + final + def + + + !=(arg0: Any): Boolean + +

                                                                      + + Permalink + + +
                                                                      Definition Classes
                                                                      AnyRef → Any
                                                                      +
                                                                    2. + + +

                                                                      + + final + def + + + ##(): Int + +

                                                                      + + Permalink + + +
                                                                      Definition Classes
                                                                      AnyRef → Any
                                                                      +
                                                                    3. + + +

                                                                      + + final + def + + + ==(arg0: Any): Boolean + +

                                                                      + + Permalink + + +
                                                                      Definition Classes
                                                                      AnyRef → Any
                                                                      +
                                                                    4. + + +

                                                                      + + final + def + + + asInstanceOf[T0]: T0 + +

                                                                      + + Permalink + + +
                                                                      Definition Classes
                                                                      Any
                                                                      +
                                                                    5. + + +

                                                                      + + + def + + + clone(): AnyRef + +

                                                                      + + Permalink + + +
                                                                      Attributes
                                                                      protected[java.lang]
                                                                      Definition Classes
                                                                      AnyRef
                                                                      Annotations
                                                                      + @throws( + + ... + ) + +
                                                                      +
                                                                    6. + + +

                                                                      + + final + def + + + eq(arg0: AnyRef): Boolean + +

                                                                      + + Permalink + + +
                                                                      Definition Classes
                                                                      AnyRef
                                                                      +
                                                                    7. + + +

                                                                      + + + def + + + equals(arg0: Any): Boolean + +

                                                                      + + Permalink + + +
                                                                      Definition Classes
                                                                      AnyRef → Any
                                                                      +
                                                                    8. + + +

                                                                      + + + def + + + finalize(): Unit + +

                                                                      + + Permalink + + +
                                                                      Attributes
                                                                      protected[java.lang]
                                                                      Definition Classes
                                                                      AnyRef
                                                                      Annotations
                                                                      + @throws( + + classOf[java.lang.Throwable] + ) + +
                                                                      +
                                                                    9. + + +

                                                                      + + final + def + + + getClass(): Class[_] + +

                                                                      + + Permalink + + +
                                                                      Definition Classes
                                                                      AnyRef → Any
                                                                      +
                                                                    10. + + +

                                                                      + + + def + + + getLDiversityValue(eqTable: Map[List[Any], Long]): Double + +

                                                                      + + Permalink + + +

                                                                      Gets the l-diversity value of this equivalence class.

                                                                      Gets the l-diversity value of this equivalence class. +Note that this function checks the l-diversity value in an single +equivalence class, not the dataframe. that is, the 'senslist' is the +list of senstivie contents in an single equivalence class. +

                                                                      returns

                                                                      Double The l-diversity value

                                                                      Definition Classes
                                                                      CommonLDiversityCheckBaseLDiversityCheck
                                                                      +
                                                                    11. + + +

                                                                      + + + def + + + getLDiversityValue(src: DataFrame, columnNames: Array[String], sens: Array[String]): Double + +

                                                                      + + Permalink + + +

                                                                      The common L-diversity method just checks whether the number of sensitive +attributes is greater than given L-constraints.

                                                                      The common L-diversity method just checks whether the number of sensitive +attributes is greater than given L-constraints. +Generally, an equivalence class is l-diverse if contains at least +'l' well-represented values for the sensitive attribute. A table +is l-diverse if every equivalence is l-diverse +

                                                                      src

                                                                      The anonymized dataframe

                                                                      returns

                                                                      Double return the l-diversity value

                                                                      Definition Classes
                                                                      BaseLDiversityCheck
                                                                      +
                                                                    12. + + +

                                                                      + + + def + + + hashCode(): Int + +

                                                                      + + Permalink + + +
                                                                      Definition Classes
                                                                      AnyRef → Any
                                                                      +
                                                                    13. + + +

                                                                      + + final + def + + + isInstanceOf[T0]: Boolean + +

                                                                      + + Permalink + + +
                                                                      Definition Classes
                                                                      Any
                                                                      +
                                                                    14. + + +

                                                                      + + + def + + + lDiversityCheck(src: DataFrame, columnNames: Array[String], sens: Array[String], lDiversityValue: Double): Boolean + +

                                                                      + + Permalink + + +

                                                                      Checks the anonymized dataframe satisfies the given l-Diversity constraint.

                                                                      Checks the anonymized dataframe satisfies the given l-Diversity constraint. +

                                                                      src

                                                                      The anonymized dataframe

                                                                      lDiversityValue

                                                                      the given l-diversity constraint

                                                                      returns

                                                                      Boolean return true if satisfying the given l-diversity constraint

                                                                      Definition Classes
                                                                      BaseLDiversityCheck
                                                                      +
                                                                    15. + + +

                                                                      + + final + def + + + ne(arg0: AnyRef): Boolean + +

                                                                      + + Permalink + + +
                                                                      Definition Classes
                                                                      AnyRef
                                                                      +
                                                                    16. + + +

                                                                      + + final + def + + + notify(): Unit + +

                                                                      + + Permalink + + +
                                                                      Definition Classes
                                                                      AnyRef
                                                                      +
                                                                    17. + + +

                                                                      + + final + def + + + notifyAll(): Unit + +

                                                                      + + Permalink + + +
                                                                      Definition Classes
                                                                      AnyRef
                                                                      +
                                                                    18. + + +

                                                                      + + final + def + + + synchronized[T0](arg0: ⇒ T0): T0 + +

                                                                      + + Permalink + + +
                                                                      Definition Classes
                                                                      AnyRef
                                                                      +
                                                                    19. + + +

                                                                      + + + def + + + toString(): String + +

                                                                      + + Permalink + + +
                                                                      Definition Classes
                                                                      AnyRef → Any
                                                                      +
                                                                    20. + + +

                                                                      + + final + def + + + wait(): Unit + +

                                                                      + + Permalink + + +
                                                                      Definition Classes
                                                                      AnyRef
                                                                      Annotations
                                                                      + @throws( + + ... + ) + +
                                                                      +
                                                                    21. + + +

                                                                      + + final + def + + + wait(arg0: Long, arg1: Int): Unit + +

                                                                      + + Permalink + + +
                                                                      Definition Classes
                                                                      AnyRef
                                                                      Annotations
                                                                      + @throws( + + ... + ) + +
                                                                      +
                                                                    22. + + +

                                                                      + + final + def + + + wait(arg0: Long): Unit + +

                                                                      + + Permalink + + +
                                                                      Definition Classes
                                                                      AnyRef
                                                                      Annotations
                                                                      + @throws( + + ... + ) + +
                                                                      +
                                                                    +
                                                                    + + + + +
                                                                    + +
                                                                    +
                                                                    +

                                                                    Inherited from BaseLDiversityCheck

                                                                    +
                                                                    +

                                                                    Inherited from AnyRef

                                                                    +
                                                                    +

                                                                    Inherited from Any

                                                                    +
                                                                    + +
                                                                    + +
                                                                    +
                                                                    +

                                                                    Ungrouped

                                                                    + +
                                                                    +
                                                                    + +
                                                                    + +
                                                                    + + + + + + diff --git a/manual1903/api_reference/didentification/scaladocs/ksb/csle/didentification/verification/check/EntropyLDiversityCheck$.html b/manual1903/api_reference/didentification/scaladocs/ksb/csle/didentification/verification/check/EntropyLDiversityCheck$.html new file mode 100644 index 0000000000000000000000000000000000000000..ddd883458ea76e91df658f6fd984eae83e1fb459 --- /dev/null +++ b/manual1903/api_reference/didentification/scaladocs/ksb/csle/didentification/verification/check/EntropyLDiversityCheck$.html @@ -0,0 +1,501 @@ + + + + EntropyLDiversityCheck - KSB DEIDENTIFICATION Scala App Project 1.0-SNAPSHOT API - ksb.csle.didentification.verification.check.EntropyLDiversityCheck + + + + + + + + + + + + + + + + + +

                                                                    + + + object + + + EntropyLDiversityCheck + +

                                                                    + +
                                                                    + Linear Supertypes +
                                                                    AnyRef, Any
                                                                    +
                                                                    + + +
                                                                    +
                                                                    +
                                                                    + Ordering +
                                                                      + +
                                                                    1. Alphabetic
                                                                    2. +
                                                                    3. By Inheritance
                                                                    4. +
                                                                    +
                                                                    +
                                                                    + Inherited
                                                                    +
                                                                    +
                                                                      +
                                                                    1. EntropyLDiversityCheck
                                                                    2. AnyRef
                                                                    3. Any
                                                                    4. +
                                                                    +
                                                                    + +
                                                                      +
                                                                    1. Hide All
                                                                    2. +
                                                                    3. Show All
                                                                    4. +
                                                                    +
                                                                    +
                                                                    + Visibility +
                                                                    1. Public
                                                                    2. All
                                                                    +
                                                                    +
                                                                    + +
                                                                    +
                                                                    + + + + + + +
                                                                    +

                                                                    Value Members

                                                                    +
                                                                    1. + + +

                                                                      + + final + def + + + !=(arg0: Any): Boolean + +

                                                                      + + Permalink + + +
                                                                      Definition Classes
                                                                      AnyRef → Any
                                                                      +
                                                                    2. + + +

                                                                      + + final + def + + + ##(): Int + +

                                                                      + + Permalink + + +
                                                                      Definition Classes
                                                                      AnyRef → Any
                                                                      +
                                                                    3. + + +

                                                                      + + final + def + + + ==(arg0: Any): Boolean + +

                                                                      + + Permalink + + +
                                                                      Definition Classes
                                                                      AnyRef → Any
                                                                      +
                                                                    4. + + +

                                                                      + + + def + + + apply(): EntropyLDiversityCheck + +

                                                                      + + Permalink + + + +
                                                                    5. + + +

                                                                      + + final + def + + + asInstanceOf[T0]: T0 + +

                                                                      + + Permalink + + +
                                                                      Definition Classes
                                                                      Any
                                                                      +
                                                                    6. + + +

                                                                      + + + def + + + clone(): AnyRef + +

                                                                      + + Permalink + + +
                                                                      Attributes
                                                                      protected[java.lang]
                                                                      Definition Classes
                                                                      AnyRef
                                                                      Annotations
                                                                      + @throws( + + ... + ) + +
                                                                      +
                                                                    7. + + +

                                                                      + + final + def + + + eq(arg0: AnyRef): Boolean + +

                                                                      + + Permalink + + +
                                                                      Definition Classes
                                                                      AnyRef
                                                                      +
                                                                    8. + + +

                                                                      + + + def + + + equals(arg0: Any): Boolean + +

                                                                      + + Permalink + + +
                                                                      Definition Classes
                                                                      AnyRef → Any
                                                                      +
                                                                    9. + + +

                                                                      + + + def + + + finalize(): Unit + +

                                                                      + + Permalink + + +
                                                                      Attributes
                                                                      protected[java.lang]
                                                                      Definition Classes
                                                                      AnyRef
                                                                      Annotations
                                                                      + @throws( + + classOf[java.lang.Throwable] + ) + +
                                                                      +
                                                                    10. + + +

                                                                      + + final + def + + + getClass(): Class[_] + +

                                                                      + + Permalink + + +
                                                                      Definition Classes
                                                                      AnyRef → Any
                                                                      +
                                                                    11. + + +

                                                                      + + + def + + + hashCode(): Int + +

                                                                      + + Permalink + + +
                                                                      Definition Classes
                                                                      AnyRef → Any
                                                                      +
                                                                    12. + + +

                                                                      + + final + def + + + isInstanceOf[T0]: Boolean + +

                                                                      + + Permalink + + +
                                                                      Definition Classes
                                                                      Any
                                                                      +
                                                                    13. + + +

                                                                      + + final + def + + + ne(arg0: AnyRef): Boolean + +

                                                                      + + Permalink + + +
                                                                      Definition Classes
                                                                      AnyRef
                                                                      +
                                                                    14. + + +

                                                                      + + final + def + + + notify(): Unit + +

                                                                      + + Permalink + + +
                                                                      Definition Classes
                                                                      AnyRef
                                                                      +
                                                                    15. + + +

                                                                      + + final + def + + + notifyAll(): Unit + +

                                                                      + + Permalink + + +
                                                                      Definition Classes
                                                                      AnyRef
                                                                      +
                                                                    16. + + +

                                                                      + + final + def + + + synchronized[T0](arg0: ⇒ T0): T0 + +

                                                                      + + Permalink + + +
                                                                      Definition Classes
                                                                      AnyRef
                                                                      +
                                                                    17. + + +

                                                                      + + + def + + + toString(): String + +

                                                                      + + Permalink + + +
                                                                      Definition Classes
                                                                      AnyRef → Any
                                                                      +
                                                                    18. + + +

                                                                      + + final + def + + + wait(): Unit + +

                                                                      + + Permalink + + +
                                                                      Definition Classes
                                                                      AnyRef
                                                                      Annotations
                                                                      + @throws( + + ... + ) + +
                                                                      +
                                                                    19. + + +

                                                                      + + final + def + + + wait(arg0: Long, arg1: Int): Unit + +

                                                                      + + Permalink + + +
                                                                      Definition Classes
                                                                      AnyRef
                                                                      Annotations
                                                                      + @throws( + + ... + ) + +
                                                                      +
                                                                    20. + + +

                                                                      + + final + def + + + wait(arg0: Long): Unit + +

                                                                      + + Permalink + + +
                                                                      Definition Classes
                                                                      AnyRef
                                                                      Annotations
                                                                      + @throws( + + ... + ) + +
                                                                      +
                                                                    +
                                                                    + + + + +
                                                                    + +
                                                                    +
                                                                    +

                                                                    Inherited from AnyRef

                                                                    +
                                                                    +

                                                                    Inherited from Any

                                                                    +
                                                                    + +
                                                                    + +
                                                                    +
                                                                    +

                                                                    Ungrouped

                                                                    + +
                                                                    +
                                                                    + +
                                                                    + +
                                                                    + + + + + + diff --git a/manual1903/api_reference/didentification/scaladocs/ksb/csle/didentification/verification/check/EntropyLDiversityCheck.html b/manual1903/api_reference/didentification/scaladocs/ksb/csle/didentification/verification/check/EntropyLDiversityCheck.html new file mode 100644 index 0000000000000000000000000000000000000000..73e673fefd51b6f7cee718f853ab26c629608c00 --- /dev/null +++ b/manual1903/api_reference/didentification/scaladocs/ksb/csle/didentification/verification/check/EntropyLDiversityCheck.html @@ -0,0 +1,574 @@ + + + + EntropyLDiversityCheck - KSB DEIDENTIFICATION Scala App Project 1.0-SNAPSHOT API - ksb.csle.didentification.verification.check.EntropyLDiversityCheck + + + + + + + + + + + + + + + + + +

                                                                    + + + class + + + EntropyLDiversityCheck extends BaseLDiversityCheck + +

                                                                    + +

                                                                    This class checks whether the anonymized data satisfies the entropy +L-diversity constraint.Note that this class checks the l-diversity +value in an single equivalence class, not the dataframe. +

                                                                    + Linear Supertypes +
                                                                    BaseLDiversityCheck, AnyRef, Any
                                                                    +
                                                                    + + +
                                                                    +
                                                                    +
                                                                    + Ordering +
                                                                      + +
                                                                    1. Alphabetic
                                                                    2. +
                                                                    3. By Inheritance
                                                                    4. +
                                                                    +
                                                                    +
                                                                    + Inherited
                                                                    +
                                                                    +
                                                                      +
                                                                    1. EntropyLDiversityCheck
                                                                    2. BaseLDiversityCheck
                                                                    3. AnyRef
                                                                    4. Any
                                                                    5. +
                                                                    +
                                                                    + +
                                                                      +
                                                                    1. Hide All
                                                                    2. +
                                                                    3. Show All
                                                                    4. +
                                                                    +
                                                                    +
                                                                    + Visibility +
                                                                    1. Public
                                                                    2. All
                                                                    +
                                                                    +
                                                                    + +
                                                                    +
                                                                    +
                                                                    +

                                                                    Instance Constructors

                                                                    +
                                                                    1. + + +

                                                                      + + + new + + + EntropyLDiversityCheck() + +

                                                                      + + Permalink + + + +
                                                                    +
                                                                    + + + + + +
                                                                    +

                                                                    Value Members

                                                                    +
                                                                    1. + + +

                                                                      + + final + def + + + !=(arg0: Any): Boolean + +

                                                                      + + Permalink + + +
                                                                      Definition Classes
                                                                      AnyRef → Any
                                                                      +
                                                                    2. + + +

                                                                      + + final + def + + + ##(): Int + +

                                                                      + + Permalink + + +
                                                                      Definition Classes
                                                                      AnyRef → Any
                                                                      +
                                                                    3. + + +

                                                                      + + final + def + + + ==(arg0: Any): Boolean + +

                                                                      + + Permalink + + +
                                                                      Definition Classes
                                                                      AnyRef → Any
                                                                      +
                                                                    4. + + +

                                                                      + + final + def + + + asInstanceOf[T0]: T0 + +

                                                                      + + Permalink + + +
                                                                      Definition Classes
                                                                      Any
                                                                      +
                                                                    5. + + +

                                                                      + + + def + + + clone(): AnyRef + +

                                                                      + + Permalink + + +
                                                                      Attributes
                                                                      protected[java.lang]
                                                                      Definition Classes
                                                                      AnyRef
                                                                      Annotations
                                                                      + @throws( + + ... + ) + +
                                                                      +
                                                                    6. + + +

                                                                      + + final + def + + + eq(arg0: AnyRef): Boolean + +

                                                                      + + Permalink + + +
                                                                      Definition Classes
                                                                      AnyRef
                                                                      +
                                                                    7. + + +

                                                                      + + + def + + + equals(arg0: Any): Boolean + +

                                                                      + + Permalink + + +
                                                                      Definition Classes
                                                                      AnyRef → Any
                                                                      +
                                                                    8. + + +

                                                                      + + + def + + + finalize(): Unit + +

                                                                      + + Permalink + + +
                                                                      Attributes
                                                                      protected[java.lang]
                                                                      Definition Classes
                                                                      AnyRef
                                                                      Annotations
                                                                      + @throws( + + classOf[java.lang.Throwable] + ) + +
                                                                      +
                                                                    9. + + +

                                                                      + + final + def + + + getClass(): Class[_] + +

                                                                      + + Permalink + + +
                                                                      Definition Classes
                                                                      AnyRef → Any
                                                                      +
                                                                    10. + + +

                                                                      + + + def + + + getLDiversityValue(eqTable: Map[List[Any], Long]): Double + +

                                                                      + + Permalink + + +

                                                                      The entropy L-diversity constraint calculates the entropy of sensitive +attributes while considering their distributions in an equivalence class.

                                                                      The entropy L-diversity constraint calculates the entropy of sensitive +attributes while considering their distributions in an equivalence class. +A table is Entropy l-diverse if for every equivalence class E +-sigma_{s \in S}p(E,s)log(p(E,s)) >= log(l) +where p(E,s) is the fraction of tuples in the equivalence class E +with sensitive attribute value equal to s. +

                                                                      returns

                                                                      Boolean return true when satisfying privacy policy

                                                                      Definition Classes
                                                                      EntropyLDiversityCheckBaseLDiversityCheck
                                                                      +
                                                                    11. + + +

                                                                      + + + def + + + getLDiversityValue(src: DataFrame, columnNames: Array[String], sens: Array[String]): Double + +

                                                                      + + Permalink + + +

                                                                      The common L-diversity method just checks whether the number of sensitive +attributes is greater than given L-constraints.

                                                                      The common L-diversity method just checks whether the number of sensitive +attributes is greater than given L-constraints. +Generally, an equivalence class is l-diverse if contains at least +'l' well-represented values for the sensitive attribute. A table +is l-diverse if every equivalence is l-diverse +

                                                                      src

                                                                      The anonymized dataframe

                                                                      returns

                                                                      Double return the l-diversity value

                                                                      Definition Classes
                                                                      BaseLDiversityCheck
                                                                      +
                                                                    12. + + +

                                                                      + + + def + + + hashCode(): Int + +

                                                                      + + Permalink + + +
                                                                      Definition Classes
                                                                      AnyRef → Any
                                                                      +
                                                                    13. + + +

                                                                      + + final + def + + + isInstanceOf[T0]: Boolean + +

                                                                      + + Permalink + + +
                                                                      Definition Classes
                                                                      Any
                                                                      +
                                                                    14. + + +

                                                                      + + + def + + + lDiversityCheck(src: DataFrame, columnNames: Array[String], sens: Array[String], lDiversityValue: Double): Boolean + +

                                                                      + + Permalink + + +

                                                                      Checks the anonymized dataframe satisfies the given l-Diversity constraint.

                                                                      Checks the anonymized dataframe satisfies the given l-Diversity constraint. +

                                                                      src

                                                                      The anonymized dataframe

                                                                      lDiversityValue

                                                                      the given l-diversity constraint

                                                                      returns

                                                                      Boolean return true if satisfying the given l-diversity constraint

                                                                      Definition Classes
                                                                      BaseLDiversityCheck
                                                                      +
                                                                    15. + + +

                                                                      + + final + def + + + ne(arg0: AnyRef): Boolean + +

                                                                      + + Permalink + + +
                                                                      Definition Classes
                                                                      AnyRef
                                                                      +
                                                                    16. + + +

                                                                      + + final + def + + + notify(): Unit + +

                                                                      + + Permalink + + +
                                                                      Definition Classes
                                                                      AnyRef
                                                                      +
                                                                    17. + + +

                                                                      + + final + def + + + notifyAll(): Unit + +

                                                                      + + Permalink + + +
                                                                      Definition Classes
                                                                      AnyRef
                                                                      +
                                                                    18. + + +

                                                                      + + final + def + + + synchronized[T0](arg0: ⇒ T0): T0 + +

                                                                      + + Permalink + + +
                                                                      Definition Classes
                                                                      AnyRef
                                                                      +
                                                                    19. + + +

                                                                      + + + def + + + toString(): String + +

                                                                      + + Permalink + + +
                                                                      Definition Classes
                                                                      AnyRef → Any
                                                                      +
                                                                    20. + + +

                                                                      + + final + def + + + wait(): Unit + +

                                                                      + + Permalink + + +
                                                                      Definition Classes
                                                                      AnyRef
                                                                      Annotations
                                                                      + @throws( + + ... + ) + +
                                                                      +
                                                                    21. + + +

                                                                      + + final + def + + + wait(arg0: Long, arg1: Int): Unit + +

                                                                      + + Permalink + + +
                                                                      Definition Classes
                                                                      AnyRef
                                                                      Annotations
                                                                      + @throws( + + ... + ) + +
                                                                      +
                                                                    22. + + +

                                                                      + + final + def + + + wait(arg0: Long): Unit + +

                                                                      + + Permalink + + +
                                                                      Definition Classes
                                                                      AnyRef
                                                                      Annotations
                                                                      + @throws( + + ... + ) + +
                                                                      +
                                                                    +
                                                                    + + + + +
                                                                    + +
                                                                    +
                                                                    +

                                                                    Inherited from BaseLDiversityCheck

                                                                    +
                                                                    +

                                                                    Inherited from AnyRef

                                                                    +
                                                                    +

                                                                    Inherited from Any

                                                                    +
                                                                    + +
                                                                    + +
                                                                    +
                                                                    +

                                                                    Ungrouped

                                                                    + +
                                                                    +
                                                                    + +
                                                                    + +
                                                                    + + + + + + diff --git a/manual1903/api_reference/didentification/scaladocs/ksb/csle/didentification/verification/check/KAnonymityCheck$.html b/manual1903/api_reference/didentification/scaladocs/ksb/csle/didentification/verification/check/KAnonymityCheck$.html new file mode 100644 index 0000000000000000000000000000000000000000..ee8f363a8111aa6ca23a0b24145e06ea2686ffcd --- /dev/null +++ b/manual1903/api_reference/didentification/scaladocs/ksb/csle/didentification/verification/check/KAnonymityCheck$.html @@ -0,0 +1,501 @@ + + + + KAnonymityCheck - KSB DEIDENTIFICATION Scala App Project 1.0-SNAPSHOT API - ksb.csle.didentification.verification.check.KAnonymityCheck + + + + + + + + + + + + + + + + + +

                                                                    + + + object + + + KAnonymityCheck + +

                                                                    + +
                                                                    + Linear Supertypes +
                                                                    AnyRef, Any
                                                                    +
                                                                    + + +
                                                                    +
                                                                    +
                                                                    + Ordering +
                                                                      + +
                                                                    1. Alphabetic
                                                                    2. +
                                                                    3. By Inheritance
                                                                    4. +
                                                                    +
                                                                    +
                                                                    + Inherited
                                                                    +
                                                                    +
                                                                      +
                                                                    1. KAnonymityCheck
                                                                    2. AnyRef
                                                                    3. Any
                                                                    4. +
                                                                    +
                                                                    + +
                                                                      +
                                                                    1. Hide All
                                                                    2. +
                                                                    3. Show All
                                                                    4. +
                                                                    +
                                                                    +
                                                                    + Visibility +
                                                                    1. Public
                                                                    2. All
                                                                    +
                                                                    +
                                                                    + +
                                                                    +
                                                                    + + + + + + +
                                                                    +

                                                                    Value Members

                                                                    +
                                                                    1. + + +

                                                                      + + final + def + + + !=(arg0: Any): Boolean + +

                                                                      + + Permalink + + +
                                                                      Definition Classes
                                                                      AnyRef → Any
                                                                      +
                                                                    2. + + +

                                                                      + + final + def + + + ##(): Int + +

                                                                      + + Permalink + + +
                                                                      Definition Classes
                                                                      AnyRef → Any
                                                                      +
                                                                    3. + + +

                                                                      + + final + def + + + ==(arg0: Any): Boolean + +

                                                                      + + Permalink + + +
                                                                      Definition Classes
                                                                      AnyRef → Any
                                                                      +
                                                                    4. + + +

                                                                      + + + def + + + apply(): KAnonymityCheck + +

                                                                      + + Permalink + + + +
                                                                    5. + + +

                                                                      + + final + def + + + asInstanceOf[T0]: T0 + +

                                                                      + + Permalink + + +
                                                                      Definition Classes
                                                                      Any
                                                                      +
                                                                    6. + + +

                                                                      + + + def + + + clone(): AnyRef + +

                                                                      + + Permalink + + +
                                                                      Attributes
                                                                      protected[java.lang]
                                                                      Definition Classes
                                                                      AnyRef
                                                                      Annotations
                                                                      + @throws( + + ... + ) + +
                                                                      +
                                                                    7. + + +

                                                                      + + final + def + + + eq(arg0: AnyRef): Boolean + +

                                                                      + + Permalink + + +
                                                                      Definition Classes
                                                                      AnyRef
                                                                      +
                                                                    8. + + +

                                                                      + + + def + + + equals(arg0: Any): Boolean + +

                                                                      + + Permalink + + +
                                                                      Definition Classes
                                                                      AnyRef → Any
                                                                      +
                                                                    9. + + +

                                                                      + + + def + + + finalize(): Unit + +

                                                                      + + Permalink + + +
                                                                      Attributes
                                                                      protected[java.lang]
                                                                      Definition Classes
                                                                      AnyRef
                                                                      Annotations
                                                                      + @throws( + + classOf[java.lang.Throwable] + ) + +
                                                                      +
                                                                    10. + + +

                                                                      + + final + def + + + getClass(): Class[_] + +

                                                                      + + Permalink + + +
                                                                      Definition Classes
                                                                      AnyRef → Any
                                                                      +
                                                                    11. + + +

                                                                      + + + def + + + hashCode(): Int + +

                                                                      + + Permalink + + +
                                                                      Definition Classes
                                                                      AnyRef → Any
                                                                      +
                                                                    12. + + +

                                                                      + + final + def + + + isInstanceOf[T0]: Boolean + +

                                                                      + + Permalink + + +
                                                                      Definition Classes
                                                                      Any
                                                                      +
                                                                    13. + + +

                                                                      + + final + def + + + ne(arg0: AnyRef): Boolean + +

                                                                      + + Permalink + + +
                                                                      Definition Classes
                                                                      AnyRef
                                                                      +
                                                                    14. + + +

                                                                      + + final + def + + + notify(): Unit + +

                                                                      + + Permalink + + +
                                                                      Definition Classes
                                                                      AnyRef
                                                                      +
                                                                    15. + + +

                                                                      + + final + def + + + notifyAll(): Unit + +

                                                                      + + Permalink + + +
                                                                      Definition Classes
                                                                      AnyRef
                                                                      +
                                                                    16. + + +

                                                                      + + final + def + + + synchronized[T0](arg0: ⇒ T0): T0 + +

                                                                      + + Permalink + + +
                                                                      Definition Classes
                                                                      AnyRef
                                                                      +
                                                                    17. + + +

                                                                      + + + def + + + toString(): String + +

                                                                      + + Permalink + + +
                                                                      Definition Classes
                                                                      AnyRef → Any
                                                                      +
                                                                    18. + + +

                                                                      + + final + def + + + wait(): Unit + +

                                                                      + + Permalink + + +
                                                                      Definition Classes
                                                                      AnyRef
                                                                      Annotations
                                                                      + @throws( + + ... + ) + +
                                                                      +
                                                                    19. + + +

                                                                      + + final + def + + + wait(arg0: Long, arg1: Int): Unit + +

                                                                      + + Permalink + + +
                                                                      Definition Classes
                                                                      AnyRef
                                                                      Annotations
                                                                      + @throws( + + ... + ) + +
                                                                      +
                                                                    20. + + +

                                                                      + + final + def + + + wait(arg0: Long): Unit + +

                                                                      + + Permalink + + +
                                                                      Definition Classes
                                                                      AnyRef
                                                                      Annotations
                                                                      + @throws( + + ... + ) + +
                                                                      +
                                                                    +
                                                                    + + + + +
                                                                    + +
                                                                    +
                                                                    +

                                                                    Inherited from AnyRef

                                                                    +
                                                                    +

                                                                    Inherited from Any

                                                                    +
                                                                    + +
                                                                    + +
                                                                    +
                                                                    +

                                                                    Ungrouped

                                                                    + +
                                                                    +
                                                                    + +
                                                                    + +
                                                                    + + + + + + diff --git a/manual1903/api_reference/didentification/scaladocs/ksb/csle/didentification/verification/check/KAnonymityCheck.html b/manual1903/api_reference/didentification/scaladocs/ksb/csle/didentification/verification/check/KAnonymityCheck.html new file mode 100644 index 0000000000000000000000000000000000000000..7e8e8113e89fb57dcdce4540420fa118529918c5 --- /dev/null +++ b/manual1903/api_reference/didentification/scaladocs/ksb/csle/didentification/verification/check/KAnonymityCheck.html @@ -0,0 +1,545 @@ + + + + KAnonymityCheck - KSB DEIDENTIFICATION Scala App Project 1.0-SNAPSHOT API - ksb.csle.didentification.verification.check.KAnonymityCheck + + + + + + + + + + + + + + + + + +

                                                                    + + + class + + + KAnonymityCheck extends AnyRef + +

                                                                    + +

                                                                    This class checks whether the anonymized data satisfies the common +K-anonymity constraint. +

                                                                    + Linear Supertypes +
                                                                    AnyRef, Any
                                                                    +
                                                                    + + +
                                                                    +
                                                                    +
                                                                    + Ordering +
                                                                      + +
                                                                    1. Alphabetic
                                                                    2. +
                                                                    3. By Inheritance
                                                                    4. +
                                                                    +
                                                                    +
                                                                    + Inherited
                                                                    +
                                                                    +
                                                                      +
                                                                    1. KAnonymityCheck
                                                                    2. AnyRef
                                                                    3. Any
                                                                    4. +
                                                                    +
                                                                    + +
                                                                      +
                                                                    1. Hide All
                                                                    2. +
                                                                    3. Show All
                                                                    4. +
                                                                    +
                                                                    +
                                                                    + Visibility +
                                                                    1. Public
                                                                    2. All
                                                                    +
                                                                    +
                                                                    + +
                                                                    +
                                                                    +
                                                                    +

                                                                    Instance Constructors

                                                                    +
                                                                    1. + + +

                                                                      + + + new + + + KAnonymityCheck() + +

                                                                      + + Permalink + + + +
                                                                    +
                                                                    + + + + + +
                                                                    +

                                                                    Value Members

                                                                    +
                                                                    1. + + +

                                                                      + + final + def + + + !=(arg0: Any): Boolean + +

                                                                      + + Permalink + + +
                                                                      Definition Classes
                                                                      AnyRef → Any
                                                                      +
                                                                    2. + + +

                                                                      + + final + def + + + ##(): Int + +

                                                                      + + Permalink + + +
                                                                      Definition Classes
                                                                      AnyRef → Any
                                                                      +
                                                                    3. + + +

                                                                      + + final + def + + + ==(arg0: Any): Boolean + +

                                                                      + + Permalink + + +
                                                                      Definition Classes
                                                                      AnyRef → Any
                                                                      +
                                                                    4. + + +

                                                                      + + final + def + + + asInstanceOf[T0]: T0 + +

                                                                      + + Permalink + + +
                                                                      Definition Classes
                                                                      Any
                                                                      +
                                                                    5. + + +

                                                                      + + + def + + + clone(): AnyRef + +

                                                                      + + Permalink + + +
                                                                      Attributes
                                                                      protected[java.lang]
                                                                      Definition Classes
                                                                      AnyRef
                                                                      Annotations
                                                                      + @throws( + + ... + ) + +
                                                                      +
                                                                    6. + + +

                                                                      + + final + def + + + eq(arg0: AnyRef): Boolean + +

                                                                      + + Permalink + + +
                                                                      Definition Classes
                                                                      AnyRef
                                                                      +
                                                                    7. + + +

                                                                      + + + def + + + equals(arg0: Any): Boolean + +

                                                                      + + Permalink + + +
                                                                      Definition Classes
                                                                      AnyRef → Any
                                                                      +
                                                                    8. + + +

                                                                      + + + def + + + finalize(): Unit + +

                                                                      + + Permalink + + +
                                                                      Attributes
                                                                      protected[java.lang]
                                                                      Definition Classes
                                                                      AnyRef
                                                                      Annotations
                                                                      + @throws( + + classOf[java.lang.Throwable] + ) + +
                                                                      +
                                                                    9. + + +

                                                                      + + final + def + + + getClass(): Class[_] + +

                                                                      + + Permalink + + +
                                                                      Definition Classes
                                                                      AnyRef → Any
                                                                      +
                                                                    10. + + +

                                                                      + + + def + + + getKAnonymityValue(src: DataFrame, columnNames: Array[String]): Double + +

                                                                      + + Permalink + + +

                                                                      Returns the k-anonymity value.

                                                                      Returns the k-anonymity value. +

                                                                      src

                                                                      The source dataframe

                                                                      columnNames

                                                                      The array of column names

                                                                      returns

                                                                      Double return the k-anonymity value.

                                                                      +
                                                                    11. + + +

                                                                      + + + def + + + hashCode(): Int + +

                                                                      + + Permalink + + +
                                                                      Definition Classes
                                                                      AnyRef → Any
                                                                      +
                                                                    12. + + +

                                                                      + + final + def + + + isInstanceOf[T0]: Boolean + +

                                                                      + + Permalink + + +
                                                                      Definition Classes
                                                                      Any
                                                                      +
                                                                    13. + + +

                                                                      + + + def + + + kAnonymityCheck(src: DataFrame, columnNames: Array[String], kAnonymityValue: Int): Boolean + +

                                                                      + + Permalink + + +

                                                                      Checks the calculated k-anonymity value of 'src' dataframe is bigger +than the given k-anonymity value.

                                                                      Checks the calculated k-anonymity value of 'src' dataframe is bigger +than the given k-anonymity value. +

                                                                      src

                                                                      The source dataframe

                                                                      columnNames

                                                                      The array of column names

                                                                      kAnonymityValue

                                                                      The given k-anonymity value

                                                                      returns

                                                                      Boolean return true if the calculated k-anonymity value is bigger +than the given one.

                                                                      +
                                                                    14. + + +

                                                                      + + final + def + + + ne(arg0: AnyRef): Boolean + +

                                                                      + + Permalink + + +
                                                                      Definition Classes
                                                                      AnyRef
                                                                      +
                                                                    15. + + +

                                                                      + + final + def + + + notify(): Unit + +

                                                                      + + Permalink + + +
                                                                      Definition Classes
                                                                      AnyRef
                                                                      +
                                                                    16. + + +

                                                                      + + final + def + + + notifyAll(): Unit + +

                                                                      + + Permalink + + +
                                                                      Definition Classes
                                                                      AnyRef
                                                                      +
                                                                    17. + + +

                                                                      + + final + def + + + synchronized[T0](arg0: ⇒ T0): T0 + +

                                                                      + + Permalink + + +
                                                                      Definition Classes
                                                                      AnyRef
                                                                      +
                                                                    18. + + +

                                                                      + + + def + + + toString(): String + +

                                                                      + + Permalink + + +
                                                                      Definition Classes
                                                                      AnyRef → Any
                                                                      +
                                                                    19. + + +

                                                                      + + final + def + + + wait(): Unit + +

                                                                      + + Permalink + + +
                                                                      Definition Classes
                                                                      AnyRef
                                                                      Annotations
                                                                      + @throws( + + ... + ) + +
                                                                      +
                                                                    20. + + +

                                                                      + + final + def + + + wait(arg0: Long, arg1: Int): Unit + +

                                                                      + + Permalink + + +
                                                                      Definition Classes
                                                                      AnyRef
                                                                      Annotations
                                                                      + @throws( + + ... + ) + +
                                                                      +
                                                                    21. + + +

                                                                      + + final + def + + + wait(arg0: Long): Unit + +

                                                                      + + Permalink + + +
                                                                      Definition Classes
                                                                      AnyRef
                                                                      Annotations
                                                                      + @throws( + + ... + ) + +
                                                                      +
                                                                    +
                                                                    + + + + +
                                                                    + +
                                                                    +
                                                                    +

                                                                    Inherited from AnyRef

                                                                    +
                                                                    +

                                                                    Inherited from Any

                                                                    +
                                                                    + +
                                                                    + +
                                                                    +
                                                                    +

                                                                    Ungrouped

                                                                    + +
                                                                    +
                                                                    + +
                                                                    + +
                                                                    + + + + + + diff --git a/manual1903/api_reference/didentification/scaladocs/ksb/csle/didentification/verification/check/ProbLDiversityCheck$.html b/manual1903/api_reference/didentification/scaladocs/ksb/csle/didentification/verification/check/ProbLDiversityCheck$.html new file mode 100644 index 0000000000000000000000000000000000000000..ee36a1d8178210c0423757c18350d6f40e37654a --- /dev/null +++ b/manual1903/api_reference/didentification/scaladocs/ksb/csle/didentification/verification/check/ProbLDiversityCheck$.html @@ -0,0 +1,501 @@ + + + + ProbLDiversityCheck - KSB DEIDENTIFICATION Scala App Project 1.0-SNAPSHOT API - ksb.csle.didentification.verification.check.ProbLDiversityCheck + + + + + + + + + + + + + + + + + +

                                                                    + + + object + + + ProbLDiversityCheck + +

                                                                    + +
                                                                    + Linear Supertypes +
                                                                    AnyRef, Any
                                                                    +
                                                                    + + +
                                                                    +
                                                                    +
                                                                    + Ordering +
                                                                      + +
                                                                    1. Alphabetic
                                                                    2. +
                                                                    3. By Inheritance
                                                                    4. +
                                                                    +
                                                                    +
                                                                    + Inherited
                                                                    +
                                                                    +
                                                                      +
                                                                    1. ProbLDiversityCheck
                                                                    2. AnyRef
                                                                    3. Any
                                                                    4. +
                                                                    +
                                                                    + +
                                                                      +
                                                                    1. Hide All
                                                                    2. +
                                                                    3. Show All
                                                                    4. +
                                                                    +
                                                                    +
                                                                    + Visibility +
                                                                    1. Public
                                                                    2. All
                                                                    +
                                                                    +
                                                                    + +
                                                                    +
                                                                    + + + + + + +
                                                                    +

                                                                    Value Members

                                                                    +
                                                                    1. + + +

                                                                      + + final + def + + + !=(arg0: Any): Boolean + +

                                                                      + + Permalink + + +
                                                                      Definition Classes
                                                                      AnyRef → Any
                                                                      +
                                                                    2. + + +

                                                                      + + final + def + + + ##(): Int + +

                                                                      + + Permalink + + +
                                                                      Definition Classes
                                                                      AnyRef → Any
                                                                      +
                                                                    3. + + +

                                                                      + + final + def + + + ==(arg0: Any): Boolean + +

                                                                      + + Permalink + + +
                                                                      Definition Classes
                                                                      AnyRef → Any
                                                                      +
                                                                    4. + + +

                                                                      + + + def + + + apply(): ProbLDiversityCheck + +

                                                                      + + Permalink + + + +
                                                                    5. + + +

                                                                      + + final + def + + + asInstanceOf[T0]: T0 + +

                                                                      + + Permalink + + +
                                                                      Definition Classes
                                                                      Any
                                                                      +
                                                                    6. + + +

                                                                      + + + def + + + clone(): AnyRef + +

                                                                      + + Permalink + + +
                                                                      Attributes
                                                                      protected[java.lang]
                                                                      Definition Classes
                                                                      AnyRef
                                                                      Annotations
                                                                      + @throws( + + ... + ) + +
                                                                      +
                                                                    7. + + +

                                                                      + + final + def + + + eq(arg0: AnyRef): Boolean + +

                                                                      + + Permalink + + +
                                                                      Definition Classes
                                                                      AnyRef
                                                                      +
                                                                    8. + + +

                                                                      + + + def + + + equals(arg0: Any): Boolean + +

                                                                      + + Permalink + + +
                                                                      Definition Classes
                                                                      AnyRef → Any
                                                                      +
                                                                    9. + + +

                                                                      + + + def + + + finalize(): Unit + +

                                                                      + + Permalink + + +
                                                                      Attributes
                                                                      protected[java.lang]
                                                                      Definition Classes
                                                                      AnyRef
                                                                      Annotations
                                                                      + @throws( + + classOf[java.lang.Throwable] + ) + +
                                                                      +
                                                                    10. + + +

                                                                      + + final + def + + + getClass(): Class[_] + +

                                                                      + + Permalink + + +
                                                                      Definition Classes
                                                                      AnyRef → Any
                                                                      +
                                                                    11. + + +

                                                                      + + + def + + + hashCode(): Int + +

                                                                      + + Permalink + + +
                                                                      Definition Classes
                                                                      AnyRef → Any
                                                                      +
                                                                    12. + + +

                                                                      + + final + def + + + isInstanceOf[T0]: Boolean + +

                                                                      + + Permalink + + +
                                                                      Definition Classes
                                                                      Any
                                                                      +
                                                                    13. + + +

                                                                      + + final + def + + + ne(arg0: AnyRef): Boolean + +

                                                                      + + Permalink + + +
                                                                      Definition Classes
                                                                      AnyRef
                                                                      +
                                                                    14. + + +

                                                                      + + final + def + + + notify(): Unit + +

                                                                      + + Permalink + + +
                                                                      Definition Classes
                                                                      AnyRef
                                                                      +
                                                                    15. + + +

                                                                      + + final + def + + + notifyAll(): Unit + +

                                                                      + + Permalink + + +
                                                                      Definition Classes
                                                                      AnyRef
                                                                      +
                                                                    16. + + +

                                                                      + + final + def + + + synchronized[T0](arg0: ⇒ T0): T0 + +

                                                                      + + Permalink + + +
                                                                      Definition Classes
                                                                      AnyRef
                                                                      +
                                                                    17. + + +

                                                                      + + + def + + + toString(): String + +

                                                                      + + Permalink + + +
                                                                      Definition Classes
                                                                      AnyRef → Any
                                                                      +
                                                                    18. + + +

                                                                      + + final + def + + + wait(): Unit + +

                                                                      + + Permalink + + +
                                                                      Definition Classes
                                                                      AnyRef
                                                                      Annotations
                                                                      + @throws( + + ... + ) + +
                                                                      +
                                                                    19. + + +

                                                                      + + final + def + + + wait(arg0: Long, arg1: Int): Unit + +

                                                                      + + Permalink + + +
                                                                      Definition Classes
                                                                      AnyRef
                                                                      Annotations
                                                                      + @throws( + + ... + ) + +
                                                                      +
                                                                    20. + + +

                                                                      + + final + def + + + wait(arg0: Long): Unit + +

                                                                      + + Permalink + + +
                                                                      Definition Classes
                                                                      AnyRef
                                                                      Annotations
                                                                      + @throws( + + ... + ) + +
                                                                      +
                                                                    +
                                                                    + + + + +
                                                                    + +
                                                                    +
                                                                    +

                                                                    Inherited from AnyRef

                                                                    +
                                                                    +

                                                                    Inherited from Any

                                                                    +
                                                                    + +
                                                                    + +
                                                                    +
                                                                    +

                                                                    Ungrouped

                                                                    + +
                                                                    +
                                                                    + +
                                                                    + +
                                                                    + + + + + + diff --git a/manual1903/api_reference/didentification/scaladocs/ksb/csle/didentification/verification/check/ProbLDiversityCheck.html b/manual1903/api_reference/didentification/scaladocs/ksb/csle/didentification/verification/check/ProbLDiversityCheck.html new file mode 100644 index 0000000000000000000000000000000000000000..676b59804434137d9ddb33c8a598a7d249410d76 --- /dev/null +++ b/manual1903/api_reference/didentification/scaladocs/ksb/csle/didentification/verification/check/ProbLDiversityCheck.html @@ -0,0 +1,572 @@ + + + + ProbLDiversityCheck - KSB DEIDENTIFICATION Scala App Project 1.0-SNAPSHOT API - ksb.csle.didentification.verification.check.ProbLDiversityCheck + + + + + + + + + + + + + + + + + +

                                                                    + + + class + + + ProbLDiversityCheck extends BaseLDiversityCheck + +

                                                                    + +

                                                                    This class checks whether the anonymized data satisfies the probabilistic +L-diversity constraint. Note that this class checks the l-diversity +value in an single equivalence class, not the dataframe. +

                                                                    + Linear Supertypes +
                                                                    BaseLDiversityCheck, AnyRef, Any
                                                                    +
                                                                    + + +
                                                                    +
                                                                    +
                                                                    + Ordering +
                                                                      + +
                                                                    1. Alphabetic
                                                                    2. +
                                                                    3. By Inheritance
                                                                    4. +
                                                                    +
                                                                    +
                                                                    + Inherited
                                                                    +
                                                                    +
                                                                      +
                                                                    1. ProbLDiversityCheck
                                                                    2. BaseLDiversityCheck
                                                                    3. AnyRef
                                                                    4. Any
                                                                    5. +
                                                                    +
                                                                    + +
                                                                      +
                                                                    1. Hide All
                                                                    2. +
                                                                    3. Show All
                                                                    4. +
                                                                    +
                                                                    +
                                                                    + Visibility +
                                                                    1. Public
                                                                    2. All
                                                                    +
                                                                    +
                                                                    + +
                                                                    +
                                                                    +
                                                                    +

                                                                    Instance Constructors

                                                                    +
                                                                    1. + + +

                                                                      + + + new + + + ProbLDiversityCheck() + +

                                                                      + + Permalink + + + +
                                                                    +
                                                                    + + + + + +
                                                                    +

                                                                    Value Members

                                                                    +
                                                                    1. + + +

                                                                      + + final + def + + + !=(arg0: Any): Boolean + +

                                                                      + + Permalink + + +
                                                                      Definition Classes
                                                                      AnyRef → Any
                                                                      +
                                                                    2. + + +

                                                                      + + final + def + + + ##(): Int + +

                                                                      + + Permalink + + +
                                                                      Definition Classes
                                                                      AnyRef → Any
                                                                      +
                                                                    3. + + +

                                                                      + + final + def + + + ==(arg0: Any): Boolean + +

                                                                      + + Permalink + + +
                                                                      Definition Classes
                                                                      AnyRef → Any
                                                                      +
                                                                    4. + + +

                                                                      + + final + def + + + asInstanceOf[T0]: T0 + +

                                                                      + + Permalink + + +
                                                                      Definition Classes
                                                                      Any
                                                                      +
                                                                    5. + + +

                                                                      + + + def + + + clone(): AnyRef + +

                                                                      + + Permalink + + +
                                                                      Attributes
                                                                      protected[java.lang]
                                                                      Definition Classes
                                                                      AnyRef
                                                                      Annotations
                                                                      + @throws( + + ... + ) + +
                                                                      +
                                                                    6. + + +

                                                                      + + final + def + + + eq(arg0: AnyRef): Boolean + +

                                                                      + + Permalink + + +
                                                                      Definition Classes
                                                                      AnyRef
                                                                      +
                                                                    7. + + +

                                                                      + + + def + + + equals(arg0: Any): Boolean + +

                                                                      + + Permalink + + +
                                                                      Definition Classes
                                                                      AnyRef → Any
                                                                      +
                                                                    8. + + +

                                                                      + + + def + + + finalize(): Unit + +

                                                                      + + Permalink + + +
                                                                      Attributes
                                                                      protected[java.lang]
                                                                      Definition Classes
                                                                      AnyRef
                                                                      Annotations
                                                                      + @throws( + + classOf[java.lang.Throwable] + ) + +
                                                                      +
                                                                    9. + + +

                                                                      + + final + def + + + getClass(): Class[_] + +

                                                                      + + Permalink + + +
                                                                      Definition Classes
                                                                      AnyRef → Any
                                                                      +
                                                                    10. + + +

                                                                      + + + def + + + getLDiversityValue(eqTable: Map[List[Any], Long]): Double + +

                                                                      + + Permalink + + +

                                                                      The probabilistic L-diversity method checks the probability of the most +frequent attribute values in the equivalence class to be less than 1/l.

                                                                      The probabilistic L-diversity method checks the probability of the most +frequent attribute values in the equivalence class to be less than 1/l. +The table is said to be probabilistic l-diverse if every equivalence satisfy +the probabilistic l-diverse. +

                                                                      returns

                                                                      Boolean return true when satisfying privacy policy

                                                                      Definition Classes
                                                                      ProbLDiversityCheckBaseLDiversityCheck
                                                                      +
                                                                    11. + + +

                                                                      + + + def + + + getLDiversityValue(src: DataFrame, columnNames: Array[String], sens: Array[String]): Double + +

                                                                      + + Permalink + + +

                                                                      The common L-diversity method just checks whether the number of sensitive +attributes is greater than given L-constraints.

                                                                      The common L-diversity method just checks whether the number of sensitive +attributes is greater than given L-constraints. +Generally, an equivalence class is l-diverse if contains at least +'l' well-represented values for the sensitive attribute. A table +is l-diverse if every equivalence is l-diverse +

                                                                      src

                                                                      The anonymized dataframe

                                                                      returns

                                                                      Double return the l-diversity value

                                                                      Definition Classes
                                                                      BaseLDiversityCheck
                                                                      +
                                                                    12. + + +

                                                                      + + + def + + + hashCode(): Int + +

                                                                      + + Permalink + + +
                                                                      Definition Classes
                                                                      AnyRef → Any
                                                                      +
                                                                    13. + + +

                                                                      + + final + def + + + isInstanceOf[T0]: Boolean + +

                                                                      + + Permalink + + +
                                                                      Definition Classes
                                                                      Any
                                                                      +
                                                                    14. + + +

                                                                      + + + def + + + lDiversityCheck(src: DataFrame, columnNames: Array[String], sens: Array[String], lDiversityValue: Double): Boolean + +

                                                                      + + Permalink + + +

                                                                      Checks the anonymized dataframe satisfies the given l-Diversity constraint.

                                                                      Checks the anonymized dataframe satisfies the given l-Diversity constraint. +

                                                                      src

                                                                      The anonymized dataframe

                                                                      lDiversityValue

                                                                      the given l-diversity constraint

                                                                      returns

                                                                      Boolean return true if satisfying the given l-diversity constraint

                                                                      Definition Classes
                                                                      BaseLDiversityCheck
                                                                      +
                                                                    15. + + +

                                                                      + + final + def + + + ne(arg0: AnyRef): Boolean + +

                                                                      + + Permalink + + +
                                                                      Definition Classes
                                                                      AnyRef
                                                                      +
                                                                    16. + + +

                                                                      + + final + def + + + notify(): Unit + +

                                                                      + + Permalink + + +
                                                                      Definition Classes
                                                                      AnyRef
                                                                      +
                                                                    17. + + +

                                                                      + + final + def + + + notifyAll(): Unit + +

                                                                      + + Permalink + + +
                                                                      Definition Classes
                                                                      AnyRef
                                                                      +
                                                                    18. + + +

                                                                      + + final + def + + + synchronized[T0](arg0: ⇒ T0): T0 + +

                                                                      + + Permalink + + +
                                                                      Definition Classes
                                                                      AnyRef
                                                                      +
                                                                    19. + + +

                                                                      + + + def + + + toString(): String + +

                                                                      + + Permalink + + +
                                                                      Definition Classes
                                                                      AnyRef → Any
                                                                      +
                                                                    20. + + +

                                                                      + + final + def + + + wait(): Unit + +

                                                                      + + Permalink + + +
                                                                      Definition Classes
                                                                      AnyRef
                                                                      Annotations
                                                                      + @throws( + + ... + ) + +
                                                                      +
                                                                    21. + + +

                                                                      + + final + def + + + wait(arg0: Long, arg1: Int): Unit + +

                                                                      + + Permalink + + +
                                                                      Definition Classes
                                                                      AnyRef
                                                                      Annotations
                                                                      + @throws( + + ... + ) + +
                                                                      +
                                                                    22. + + +

                                                                      + + final + def + + + wait(arg0: Long): Unit + +

                                                                      + + Permalink + + +
                                                                      Definition Classes
                                                                      AnyRef
                                                                      Annotations
                                                                      + @throws( + + ... + ) + +
                                                                      +
                                                                    +
                                                                    + + + + +
                                                                    + +
                                                                    +
                                                                    +

                                                                    Inherited from BaseLDiversityCheck

                                                                    +
                                                                    +

                                                                    Inherited from AnyRef

                                                                    +
                                                                    +

                                                                    Inherited from Any

                                                                    +
                                                                    + +
                                                                    + +
                                                                    +
                                                                    +

                                                                    Ungrouped

                                                                    + +
                                                                    +
                                                                    + +
                                                                    + +
                                                                    + + + + + + diff --git a/manual1903/api_reference/didentification/scaladocs/ksb/csle/didentification/verification/check/RecursiveLDiversityCheck$.html b/manual1903/api_reference/didentification/scaladocs/ksb/csle/didentification/verification/check/RecursiveLDiversityCheck$.html new file mode 100644 index 0000000000000000000000000000000000000000..438a3f55914ed83873012639cef15f2e9c124dc4 --- /dev/null +++ b/manual1903/api_reference/didentification/scaladocs/ksb/csle/didentification/verification/check/RecursiveLDiversityCheck$.html @@ -0,0 +1,501 @@ + + + + RecursiveLDiversityCheck - KSB DEIDENTIFICATION Scala App Project 1.0-SNAPSHOT API - ksb.csle.didentification.verification.check.RecursiveLDiversityCheck + + + + + + + + + + + + + + + + + +

                                                                    + + + object + + + RecursiveLDiversityCheck + +

                                                                    + +
                                                                    + Linear Supertypes +
                                                                    AnyRef, Any
                                                                    +
                                                                    + + +
                                                                    +
                                                                    +
                                                                    + Ordering +
                                                                      + +
                                                                    1. Alphabetic
                                                                    2. +
                                                                    3. By Inheritance
                                                                    4. +
                                                                    +
                                                                    +
                                                                    + Inherited
                                                                    +
                                                                    +
                                                                      +
                                                                    1. RecursiveLDiversityCheck
                                                                    2. AnyRef
                                                                    3. Any
                                                                    4. +
                                                                    +
                                                                    + +
                                                                      +
                                                                    1. Hide All
                                                                    2. +
                                                                    3. Show All
                                                                    4. +
                                                                    +
                                                                    +
                                                                    + Visibility +
                                                                    1. Public
                                                                    2. All
                                                                    +
                                                                    +
                                                                    + +
                                                                    +
                                                                    + + + + + + +
                                                                    +

                                                                    Value Members

                                                                    +
                                                                    1. + + +

                                                                      + + final + def + + + !=(arg0: Any): Boolean + +

                                                                      + + Permalink + + +
                                                                      Definition Classes
                                                                      AnyRef → Any
                                                                      +
                                                                    2. + + +

                                                                      + + final + def + + + ##(): Int + +

                                                                      + + Permalink + + +
                                                                      Definition Classes
                                                                      AnyRef → Any
                                                                      +
                                                                    3. + + +

                                                                      + + final + def + + + ==(arg0: Any): Boolean + +

                                                                      + + Permalink + + +
                                                                      Definition Classes
                                                                      AnyRef → Any
                                                                      +
                                                                    4. + + +

                                                                      + + + def + + + apply(): RecursiveLDiversityCheck + +

                                                                      + + Permalink + + + +
                                                                    5. + + +

                                                                      + + final + def + + + asInstanceOf[T0]: T0 + +

                                                                      + + Permalink + + +
                                                                      Definition Classes
                                                                      Any
                                                                      +
                                                                    6. + + +

                                                                      + + + def + + + clone(): AnyRef + +

                                                                      + + Permalink + + +
                                                                      Attributes
                                                                      protected[java.lang]
                                                                      Definition Classes
                                                                      AnyRef
                                                                      Annotations
                                                                      + @throws( + + ... + ) + +
                                                                      +
                                                                    7. + + +

                                                                      + + final + def + + + eq(arg0: AnyRef): Boolean + +

                                                                      + + Permalink + + +
                                                                      Definition Classes
                                                                      AnyRef
                                                                      +
                                                                    8. + + +

                                                                      + + + def + + + equals(arg0: Any): Boolean + +

                                                                      + + Permalink + + +
                                                                      Definition Classes
                                                                      AnyRef → Any
                                                                      +
                                                                    9. + + +

                                                                      + + + def + + + finalize(): Unit + +

                                                                      + + Permalink + + +
                                                                      Attributes
                                                                      protected[java.lang]
                                                                      Definition Classes
                                                                      AnyRef
                                                                      Annotations
                                                                      + @throws( + + classOf[java.lang.Throwable] + ) + +
                                                                      +
                                                                    10. + + +

                                                                      + + final + def + + + getClass(): Class[_] + +

                                                                      + + Permalink + + +
                                                                      Definition Classes
                                                                      AnyRef → Any
                                                                      +
                                                                    11. + + +

                                                                      + + + def + + + hashCode(): Int + +

                                                                      + + Permalink + + +
                                                                      Definition Classes
                                                                      AnyRef → Any
                                                                      +
                                                                    12. + + +

                                                                      + + final + def + + + isInstanceOf[T0]: Boolean + +

                                                                      + + Permalink + + +
                                                                      Definition Classes
                                                                      Any
                                                                      +
                                                                    13. + + +

                                                                      + + final + def + + + ne(arg0: AnyRef): Boolean + +

                                                                      + + Permalink + + +
                                                                      Definition Classes
                                                                      AnyRef
                                                                      +
                                                                    14. + + +

                                                                      + + final + def + + + notify(): Unit + +

                                                                      + + Permalink + + +
                                                                      Definition Classes
                                                                      AnyRef
                                                                      +
                                                                    15. + + +

                                                                      + + final + def + + + notifyAll(): Unit + +

                                                                      + + Permalink + + +
                                                                      Definition Classes
                                                                      AnyRef
                                                                      +
                                                                    16. + + +

                                                                      + + final + def + + + synchronized[T0](arg0: ⇒ T0): T0 + +

                                                                      + + Permalink + + +
                                                                      Definition Classes
                                                                      AnyRef
                                                                      +
                                                                    17. + + +

                                                                      + + + def + + + toString(): String + +

                                                                      + + Permalink + + +
                                                                      Definition Classes
                                                                      AnyRef → Any
                                                                      +
                                                                    18. + + +

                                                                      + + final + def + + + wait(): Unit + +

                                                                      + + Permalink + + +
                                                                      Definition Classes
                                                                      AnyRef
                                                                      Annotations
                                                                      + @throws( + + ... + ) + +
                                                                      +
                                                                    19. + + +

                                                                      + + final + def + + + wait(arg0: Long, arg1: Int): Unit + +

                                                                      + + Permalink + + +
                                                                      Definition Classes
                                                                      AnyRef
                                                                      Annotations
                                                                      + @throws( + + ... + ) + +
                                                                      +
                                                                    20. + + +

                                                                      + + final + def + + + wait(arg0: Long): Unit + +

                                                                      + + Permalink + + +
                                                                      Definition Classes
                                                                      AnyRef
                                                                      Annotations
                                                                      + @throws( + + ... + ) + +
                                                                      +
                                                                    +
                                                                    + + + + +
                                                                    + +
                                                                    +
                                                                    +

                                                                    Inherited from AnyRef

                                                                    +
                                                                    +

                                                                    Inherited from Any

                                                                    +
                                                                    + +
                                                                    + +
                                                                    +
                                                                    +

                                                                    Ungrouped

                                                                    + +
                                                                    +
                                                                    + +
                                                                    + +
                                                                    + + + + + + diff --git a/manual1903/api_reference/didentification/scaladocs/ksb/csle/didentification/verification/check/RecursiveLDiversityCheck.html b/manual1903/api_reference/didentification/scaladocs/ksb/csle/didentification/verification/check/RecursiveLDiversityCheck.html new file mode 100644 index 0000000000000000000000000000000000000000..f4d323127b4758f2d6d65d4c14df0b15790623cc --- /dev/null +++ b/manual1903/api_reference/didentification/scaladocs/ksb/csle/didentification/verification/check/RecursiveLDiversityCheck.html @@ -0,0 +1,547 @@ + + + + RecursiveLDiversityCheck - KSB DEIDENTIFICATION Scala App Project 1.0-SNAPSHOT API - ksb.csle.didentification.verification.check.RecursiveLDiversityCheck + + + + + + + + + + + + + + + + + +

                                                                    + + + class + + + RecursiveLDiversityCheck extends AnyRef + +

                                                                    + +

                                                                    This class checks whether the anonymized data satisfies the recursive +L-diversity constraint.Note that this class checks the l-diversity +value in an single equivalence class, not the dataframe. +

                                                                    + Linear Supertypes +
                                                                    AnyRef, Any
                                                                    +
                                                                    + + +
                                                                    +
                                                                    +
                                                                    + Ordering +
                                                                      + +
                                                                    1. Alphabetic
                                                                    2. +
                                                                    3. By Inheritance
                                                                    4. +
                                                                    +
                                                                    +
                                                                    + Inherited
                                                                    +
                                                                    +
                                                                      +
                                                                    1. RecursiveLDiversityCheck
                                                                    2. AnyRef
                                                                    3. Any
                                                                    4. +
                                                                    +
                                                                    + +
                                                                      +
                                                                    1. Hide All
                                                                    2. +
                                                                    3. Show All
                                                                    4. +
                                                                    +
                                                                    +
                                                                    + Visibility +
                                                                    1. Public
                                                                    2. All
                                                                    +
                                                                    +
                                                                    + +
                                                                    +
                                                                    +
                                                                    +

                                                                    Instance Constructors

                                                                    +
                                                                    1. + + +

                                                                      + + + new + + + RecursiveLDiversityCheck() + +

                                                                      + + Permalink + + + +
                                                                    +
                                                                    + + + + + +
                                                                    +

                                                                    Value Members

                                                                    +
                                                                    1. + + +

                                                                      + + final + def + + + !=(arg0: Any): Boolean + +

                                                                      + + Permalink + + +
                                                                      Definition Classes
                                                                      AnyRef → Any
                                                                      +
                                                                    2. + + +

                                                                      + + final + def + + + ##(): Int + +

                                                                      + + Permalink + + +
                                                                      Definition Classes
                                                                      AnyRef → Any
                                                                      +
                                                                    3. + + +

                                                                      + + final + def + + + ==(arg0: Any): Boolean + +

                                                                      + + Permalink + + +
                                                                      Definition Classes
                                                                      AnyRef → Any
                                                                      +
                                                                    4. + + +

                                                                      + + final + def + + + asInstanceOf[T0]: T0 + +

                                                                      + + Permalink + + +
                                                                      Definition Classes
                                                                      Any
                                                                      +
                                                                    5. + + +

                                                                      + + + def + + + clone(): AnyRef + +

                                                                      + + Permalink + + +
                                                                      Attributes
                                                                      protected[java.lang]
                                                                      Definition Classes
                                                                      AnyRef
                                                                      Annotations
                                                                      + @throws( + + ... + ) + +
                                                                      +
                                                                    6. + + +

                                                                      + + final + def + + + eq(arg0: AnyRef): Boolean + +

                                                                      + + Permalink + + +
                                                                      Definition Classes
                                                                      AnyRef
                                                                      +
                                                                    7. + + +

                                                                      + + + def + + + equals(arg0: Any): Boolean + +

                                                                      + + Permalink + + +
                                                                      Definition Classes
                                                                      AnyRef → Any
                                                                      +
                                                                    8. + + +

                                                                      + + + def + + + finalize(): Unit + +

                                                                      + + Permalink + + +
                                                                      Attributes
                                                                      protected[java.lang]
                                                                      Definition Classes
                                                                      AnyRef
                                                                      Annotations
                                                                      + @throws( + + classOf[java.lang.Throwable] + ) + +
                                                                      +
                                                                    9. + + +

                                                                      + + final + def + + + getClass(): Class[_] + +

                                                                      + + Permalink + + +
                                                                      Definition Classes
                                                                      AnyRef → Any
                                                                      +
                                                                    10. + + +

                                                                      + + + def + + + hashCode(): Int + +

                                                                      + + Permalink + + +
                                                                      Definition Classes
                                                                      AnyRef → Any
                                                                      +
                                                                    11. + + +

                                                                      + + final + def + + + isInstanceOf[T0]: Boolean + +

                                                                      + + Permalink + + +
                                                                      Definition Classes
                                                                      Any
                                                                      +
                                                                    12. + + +

                                                                      + + + def + + + lDiversityCheck(src: DataFrame, columnNames: Array[String], sens: Array[String], lValue: Double, cValue: Int): Boolean + +

                                                                      + + Permalink + + +

                                                                      Checks the anonymized dataframe satisfies the given l-Diversity constraint.

                                                                      Checks the anonymized dataframe satisfies the given l-Diversity constraint. +

                                                                      src

                                                                      The anonymized dataframe

                                                                      lValue

                                                                      the l value of given (c,l)-diversity constraint

                                                                      cValue

                                                                      the c value of given (c,l)-diversity constraint

                                                                      returns

                                                                      Boolean return true if satisfying the given l-diversity constraint

                                                                      +
                                                                    13. + + +

                                                                      + + + def + + + lDiversityCheck(sensList: List[Any], cValue: Int, lValue: Double): Boolean + +

                                                                      + + Permalink + + +

                                                                      The recursive L-diversity constraint checks the following conditions.

                                                                      The recursive L-diversity constraint checks the following conditions.

                                                                      In a given equivalence class, let r_i denote the number of times the +i-th most frequent sensitive value appears in that equivalence class. +Given a constant c, the equivalence class satisfies recursive +(c,l)-diverse if r_1 < c(r_l + r_(l+1) + r_m)

                                                                      A table satisfies recursive (c,l)-diversity if every equivalence class +satisfies recursive l-diversity. +

                                                                      sensList

                                                                      the list of sensitive attributes

                                                                      returns

                                                                      Boolean return true when satisfying privacy policy

                                                                      +
                                                                    14. + + +

                                                                      + + final + def + + + ne(arg0: AnyRef): Boolean + +

                                                                      + + Permalink + + +
                                                                      Definition Classes
                                                                      AnyRef
                                                                      +
                                                                    15. + + +

                                                                      + + final + def + + + notify(): Unit + +

                                                                      + + Permalink + + +
                                                                      Definition Classes
                                                                      AnyRef
                                                                      +
                                                                    16. + + +

                                                                      + + final + def + + + notifyAll(): Unit + +

                                                                      + + Permalink + + +
                                                                      Definition Classes
                                                                      AnyRef
                                                                      +
                                                                    17. + + +

                                                                      + + final + def + + + synchronized[T0](arg0: ⇒ T0): T0 + +

                                                                      + + Permalink + + +
                                                                      Definition Classes
                                                                      AnyRef
                                                                      +
                                                                    18. + + +

                                                                      + + + def + + + toString(): String + +

                                                                      + + Permalink + + +
                                                                      Definition Classes
                                                                      AnyRef → Any
                                                                      +
                                                                    19. + + +

                                                                      + + final + def + + + wait(): Unit + +

                                                                      + + Permalink + + +
                                                                      Definition Classes
                                                                      AnyRef
                                                                      Annotations
                                                                      + @throws( + + ... + ) + +
                                                                      +
                                                                    20. + + +

                                                                      + + final + def + + + wait(arg0: Long, arg1: Int): Unit + +

                                                                      + + Permalink + + +
                                                                      Definition Classes
                                                                      AnyRef
                                                                      Annotations
                                                                      + @throws( + + ... + ) + +
                                                                      +
                                                                    21. + + +

                                                                      + + final + def + + + wait(arg0: Long): Unit + +

                                                                      + + Permalink + + +
                                                                      Definition Classes
                                                                      AnyRef
                                                                      Annotations
                                                                      + @throws( + + ... + ) + +
                                                                      +
                                                                    +
                                                                    + + + + +
                                                                    + +
                                                                    +
                                                                    +

                                                                    Inherited from AnyRef

                                                                    +
                                                                    +

                                                                    Inherited from Any

                                                                    +
                                                                    + +
                                                                    + +
                                                                    +
                                                                    +

                                                                    Ungrouped

                                                                    + +
                                                                    +
                                                                    + +
                                                                    + +
                                                                    + + + + + + diff --git a/manual1903/api_reference/didentification/scaladocs/ksb/csle/didentification/verification/check/package.html b/manual1903/api_reference/didentification/scaladocs/ksb/csle/didentification/verification/check/package.html new file mode 100644 index 0000000000000000000000000000000000000000..05ad76bda82dc5e5bba2acf4595860dcbef51671 --- /dev/null +++ b/manual1903/api_reference/didentification/scaladocs/ksb/csle/didentification/verification/check/package.html @@ -0,0 +1,370 @@ + + + + check - KSB DEIDENTIFICATION Scala App Project 1.0-SNAPSHOT API - ksb.csle.didentification.verification.check + + + + + + + + + + + + + + + + + +

                                                                    + + + package + + + check + +

                                                                    + +
                                                                    + Linear Supertypes +
                                                                    AnyRef, Any
                                                                    +
                                                                    + + +
                                                                    +
                                                                    +
                                                                    + Ordering +
                                                                      + +
                                                                    1. Alphabetic
                                                                    2. +
                                                                    3. By Inheritance
                                                                    4. +
                                                                    +
                                                                    +
                                                                    + Inherited
                                                                    +
                                                                    +
                                                                      +
                                                                    1. check
                                                                    2. AnyRef
                                                                    3. Any
                                                                    4. +
                                                                    +
                                                                    + +
                                                                      +
                                                                    1. Hide All
                                                                    2. +
                                                                    3. Show All
                                                                    4. +
                                                                    +
                                                                    +
                                                                    + Visibility +
                                                                    1. Public
                                                                    2. All
                                                                    +
                                                                    +
                                                                    + +
                                                                    +
                                                                    + + +
                                                                    +

                                                                    Type Members

                                                                    +
                                                                    1. + + +

                                                                      + + abstract + class + + + BaseLDiversityCheck extends AnyRef + +

                                                                      + + Permalink + + +

                                                                      This class is a base class to check whether the anonymized data satisfies +the L-diversity constraints.

                                                                      This class is a base class to check whether the anonymized data satisfies +the L-diversity constraints. Note that there are some variants of +L-diversity. Currently, common l-diversity, entropy l-diversity, +probabilistic l-diversity, and recursive C-L diversity are implemented. +

                                                                      +
                                                                    2. + + +

                                                                      + + + class + + + CategoryTClosenessCheck extends AnyRef + +

                                                                      + + Permalink + + +

                                                                      This class is a base class to check whether the anonymized data satisfies +the T-closeness constraints.

                                                                      +
                                                                    3. + + +

                                                                      + + + class + + + CommonLDiversityCheck extends BaseLDiversityCheck + +

                                                                      + + Permalink + + +

                                                                      This class checks whether the anonymized data satisfies the common +L-diversity constraint.

                                                                      This class checks whether the anonymized data satisfies the common +L-diversity constraint. Note that this class checks the l-diversity +value in an single equivalence class, not the dataframe. +

                                                                      +
                                                                    4. + + +

                                                                      + + + class + + + EntropyLDiversityCheck extends BaseLDiversityCheck + +

                                                                      + + Permalink + + +

                                                                      This class checks whether the anonymized data satisfies the entropy +L-diversity constraint.Note that this class checks the l-diversity +value in an single equivalence class, not the dataframe.

                                                                      +
                                                                    5. + + +

                                                                      + + + class + + + KAnonymityCheck extends AnyRef + +

                                                                      + + Permalink + + +

                                                                      This class checks whether the anonymized data satisfies the common +K-anonymity constraint.

                                                                      +
                                                                    6. + + +

                                                                      + + + class + + + ProbLDiversityCheck extends BaseLDiversityCheck + +

                                                                      + + Permalink + + +

                                                                      This class checks whether the anonymized data satisfies the probabilistic +L-diversity constraint.

                                                                      This class checks whether the anonymized data satisfies the probabilistic +L-diversity constraint. Note that this class checks the l-diversity +value in an single equivalence class, not the dataframe. +

                                                                      +
                                                                    7. + + +

                                                                      + + + class + + + RecursiveLDiversityCheck extends AnyRef + +

                                                                      + + Permalink + + +

                                                                      This class checks whether the anonymized data satisfies the recursive +L-diversity constraint.Note that this class checks the l-diversity +value in an single equivalence class, not the dataframe.

                                                                      +
                                                                    +
                                                                    + + + +
                                                                    +

                                                                    Value Members

                                                                    +
                                                                    1. + + +

                                                                      + + + object + + + CategoryTClosenessCheck + +

                                                                      + + Permalink + + + +
                                                                    2. + + +

                                                                      + + + object + + + CommonLDiversityCheck + +

                                                                      + + Permalink + + + +
                                                                    3. + + +

                                                                      + + + object + + + EntropyLDiversityCheck + +

                                                                      + + Permalink + + + +
                                                                    4. + + +

                                                                      + + + object + + + KAnonymityCheck + +

                                                                      + + Permalink + + + +
                                                                    5. + + +

                                                                      + + + object + + + ProbLDiversityCheck + +

                                                                      + + Permalink + + + +
                                                                    6. + + +

                                                                      + + + object + + + RecursiveLDiversityCheck + +

                                                                      + + Permalink + + + +
                                                                    +
                                                                    + + + + +
                                                                    + +
                                                                    +
                                                                    +

                                                                    Inherited from AnyRef

                                                                    +
                                                                    +

                                                                    Inherited from Any

                                                                    +
                                                                    + +
                                                                    + +
                                                                    +
                                                                    +

                                                                    Ungrouped

                                                                    + +
                                                                    +
                                                                    + +
                                                                    + +
                                                                    + + + + + + diff --git a/manual1903/api_reference/didentification/scaladocs/ksb/csle/didentification/verification/loss/AECSLoss$.html b/manual1903/api_reference/didentification/scaladocs/ksb/csle/didentification/verification/loss/AECSLoss$.html new file mode 100644 index 0000000000000000000000000000000000000000..60ed4c98ff1c5417b146b105209ef2cf6c2e3cf3 --- /dev/null +++ b/manual1903/api_reference/didentification/scaladocs/ksb/csle/didentification/verification/loss/AECSLoss$.html @@ -0,0 +1,505 @@ + + + + AECSLoss - KSB DEIDENTIFICATION Scala App Project 1.0-SNAPSHOT API - ksb.csle.didentification.verification.loss.AECSLoss + + + + + + + + + + + + + + + + + +

                                                                    + + + object + + + AECSLoss extends Serializable + +

                                                                    + +
                                                                    + Linear Supertypes +
                                                                    Serializable, Serializable, AnyRef, Any
                                                                    +
                                                                    + + +
                                                                    +
                                                                    +
                                                                    + Ordering +
                                                                      + +
                                                                    1. Alphabetic
                                                                    2. +
                                                                    3. By Inheritance
                                                                    4. +
                                                                    +
                                                                    +
                                                                    + Inherited
                                                                    +
                                                                    +
                                                                      +
                                                                    1. AECSLoss
                                                                    2. Serializable
                                                                    3. Serializable
                                                                    4. AnyRef
                                                                    5. Any
                                                                    6. +
                                                                    +
                                                                    + +
                                                                      +
                                                                    1. Hide All
                                                                    2. +
                                                                    3. Show All
                                                                    4. +
                                                                    +
                                                                    +
                                                                    + Visibility +
                                                                    1. Public
                                                                    2. All
                                                                    +
                                                                    +
                                                                    + +
                                                                    +
                                                                    + + + + + + +
                                                                    +

                                                                    Value Members

                                                                    +
                                                                    1. + + +

                                                                      + + final + def + + + !=(arg0: Any): Boolean + +

                                                                      + + Permalink + + +
                                                                      Definition Classes
                                                                      AnyRef → Any
                                                                      +
                                                                    2. + + +

                                                                      + + final + def + + + ##(): Int + +

                                                                      + + Permalink + + +
                                                                      Definition Classes
                                                                      AnyRef → Any
                                                                      +
                                                                    3. + + +

                                                                      + + final + def + + + ==(arg0: Any): Boolean + +

                                                                      + + Permalink + + +
                                                                      Definition Classes
                                                                      AnyRef → Any
                                                                      +
                                                                    4. + + +

                                                                      + + + def + + + apply(): AECSLoss + +

                                                                      + + Permalink + + + +
                                                                    5. + + +

                                                                      + + final + def + + + asInstanceOf[T0]: T0 + +

                                                                      + + Permalink + + +
                                                                      Definition Classes
                                                                      Any
                                                                      +
                                                                    6. + + +

                                                                      + + + def + + + clone(): AnyRef + +

                                                                      + + Permalink + + +
                                                                      Attributes
                                                                      protected[java.lang]
                                                                      Definition Classes
                                                                      AnyRef
                                                                      Annotations
                                                                      + @throws( + + ... + ) + +
                                                                      +
                                                                    7. + + +

                                                                      + + final + def + + + eq(arg0: AnyRef): Boolean + +

                                                                      + + Permalink + + +
                                                                      Definition Classes
                                                                      AnyRef
                                                                      +
                                                                    8. + + +

                                                                      + + + def + + + equals(arg0: Any): Boolean + +

                                                                      + + Permalink + + +
                                                                      Definition Classes
                                                                      AnyRef → Any
                                                                      +
                                                                    9. + + +

                                                                      + + + def + + + finalize(): Unit + +

                                                                      + + Permalink + + +
                                                                      Attributes
                                                                      protected[java.lang]
                                                                      Definition Classes
                                                                      AnyRef
                                                                      Annotations
                                                                      + @throws( + + classOf[java.lang.Throwable] + ) + +
                                                                      +
                                                                    10. + + +

                                                                      + + final + def + + + getClass(): Class[_] + +

                                                                      + + Permalink + + +
                                                                      Definition Classes
                                                                      AnyRef → Any
                                                                      +
                                                                    11. + + +

                                                                      + + + def + + + hashCode(): Int + +

                                                                      + + Permalink + + +
                                                                      Definition Classes
                                                                      AnyRef → Any
                                                                      +
                                                                    12. + + +

                                                                      + + final + def + + + isInstanceOf[T0]: Boolean + +

                                                                      + + Permalink + + +
                                                                      Definition Classes
                                                                      Any
                                                                      +
                                                                    13. + + +

                                                                      + + final + def + + + ne(arg0: AnyRef): Boolean + +

                                                                      + + Permalink + + +
                                                                      Definition Classes
                                                                      AnyRef
                                                                      +
                                                                    14. + + +

                                                                      + + final + def + + + notify(): Unit + +

                                                                      + + Permalink + + +
                                                                      Definition Classes
                                                                      AnyRef
                                                                      +
                                                                    15. + + +

                                                                      + + final + def + + + notifyAll(): Unit + +

                                                                      + + Permalink + + +
                                                                      Definition Classes
                                                                      AnyRef
                                                                      +
                                                                    16. + + +

                                                                      + + final + def + + + synchronized[T0](arg0: ⇒ T0): T0 + +

                                                                      + + Permalink + + +
                                                                      Definition Classes
                                                                      AnyRef
                                                                      +
                                                                    17. + + +

                                                                      + + + def + + + toString(): String + +

                                                                      + + Permalink + + +
                                                                      Definition Classes
                                                                      AnyRef → Any
                                                                      +
                                                                    18. + + +

                                                                      + + final + def + + + wait(): Unit + +

                                                                      + + Permalink + + +
                                                                      Definition Classes
                                                                      AnyRef
                                                                      Annotations
                                                                      + @throws( + + ... + ) + +
                                                                      +
                                                                    19. + + +

                                                                      + + final + def + + + wait(arg0: Long, arg1: Int): Unit + +

                                                                      + + Permalink + + +
                                                                      Definition Classes
                                                                      AnyRef
                                                                      Annotations
                                                                      + @throws( + + ... + ) + +
                                                                      +
                                                                    20. + + +

                                                                      + + final + def + + + wait(arg0: Long): Unit + +

                                                                      + + Permalink + + +
                                                                      Definition Classes
                                                                      AnyRef
                                                                      Annotations
                                                                      + @throws( + + ... + ) + +
                                                                      +
                                                                    +
                                                                    + + + + +
                                                                    + +
                                                                    +
                                                                    +

                                                                    Inherited from Serializable

                                                                    +
                                                                    +

                                                                    Inherited from Serializable

                                                                    +
                                                                    +

                                                                    Inherited from AnyRef

                                                                    +
                                                                    +

                                                                    Inherited from Any

                                                                    +
                                                                    + +
                                                                    + +
                                                                    +
                                                                    +

                                                                    Ungrouped

                                                                    + +
                                                                    +
                                                                    + +
                                                                    + +
                                                                    + + + + + + diff --git a/manual1903/api_reference/didentification/scaladocs/ksb/csle/didentification/verification/loss/AECSLoss.html b/manual1903/api_reference/didentification/scaladocs/ksb/csle/didentification/verification/loss/AECSLoss.html new file mode 100644 index 0000000000000000000000000000000000000000..443ff972bc34c558a6d20eb3a14ae90c866014f2 --- /dev/null +++ b/manual1903/api_reference/didentification/scaladocs/ksb/csle/didentification/verification/loss/AECSLoss.html @@ -0,0 +1,586 @@ + + + + AECSLoss - KSB DEIDENTIFICATION Scala App Project 1.0-SNAPSHOT API - ksb.csle.didentification.verification.loss.AECSLoss + + + + + + + + + + + + + + + + + +

                                                                    + + + class + + + AECSLoss extends InformationLoss + +

                                                                    + +

                                                                    This class implements the loss measure method named the AECS (Average +Equivalence Class Size). +

                                                                    + Linear Supertypes +
                                                                    InformationLoss, Serializable, Serializable, AnyRef, Any
                                                                    +
                                                                    + + +
                                                                    +
                                                                    +
                                                                    + Ordering +
                                                                      + +
                                                                    1. Alphabetic
                                                                    2. +
                                                                    3. By Inheritance
                                                                    4. +
                                                                    +
                                                                    +
                                                                    + Inherited
                                                                    +
                                                                    +
                                                                      +
                                                                    1. AECSLoss
                                                                    2. InformationLoss
                                                                    3. Serializable
                                                                    4. Serializable
                                                                    5. AnyRef
                                                                    6. Any
                                                                    7. +
                                                                    +
                                                                    + +
                                                                      +
                                                                    1. Hide All
                                                                    2. +
                                                                    3. Show All
                                                                    4. +
                                                                    +
                                                                    +
                                                                    + Visibility +
                                                                    1. Public
                                                                    2. All
                                                                    +
                                                                    +
                                                                    + +
                                                                    +
                                                                    +
                                                                    +

                                                                    Instance Constructors

                                                                    +
                                                                    1. + + +

                                                                      + + + new + + + AECSLoss() + +

                                                                      + + Permalink + + + +
                                                                    +
                                                                    + + + + + +
                                                                    +

                                                                    Value Members

                                                                    +
                                                                    1. + + +

                                                                      + + final + def + + + !=(arg0: Any): Boolean + +

                                                                      + + Permalink + + +
                                                                      Definition Classes
                                                                      AnyRef → Any
                                                                      +
                                                                    2. + + +

                                                                      + + final + def + + + ##(): Int + +

                                                                      + + Permalink + + +
                                                                      Definition Classes
                                                                      AnyRef → Any
                                                                      +
                                                                    3. + + +

                                                                      + + final + def + + + ==(arg0: Any): Boolean + +

                                                                      + + Permalink + + +
                                                                      Definition Classes
                                                                      AnyRef → Any
                                                                      +
                                                                    4. + + +

                                                                      + + final + def + + + asInstanceOf[T0]: T0 + +

                                                                      + + Permalink + + +
                                                                      Definition Classes
                                                                      Any
                                                                      +
                                                                    5. + + +

                                                                      + + + def + + + clone(): AnyRef + +

                                                                      + + Permalink + + +
                                                                      Attributes
                                                                      protected[java.lang]
                                                                      Definition Classes
                                                                      AnyRef
                                                                      Annotations
                                                                      + @throws( + + ... + ) + +
                                                                      +
                                                                    6. + + +

                                                                      + + + def + + + convertColumntoArray(src: DataFrame, columnName: String): Array[String] + +

                                                                      + + Permalink + + +

                                                                      Converts all the contents of a specific column to the array of string.

                                                                      Converts all the contents of a specific column to the array of string. +

                                                                      src

                                                                      the dataframe

                                                                      columnName

                                                                      the column name

                                                                      returns

                                                                      Array[String] the number of equivalence classes

                                                                      Definition Classes
                                                                      InformationLoss
                                                                      +
                                                                    7. + + +

                                                                      + + final + def + + + eq(arg0: AnyRef): Boolean + +

                                                                      + + Permalink + + +
                                                                      Definition Classes
                                                                      AnyRef
                                                                      +
                                                                    8. + + +

                                                                      + + + def + + + equals(arg0: Any): Boolean + +

                                                                      + + Permalink + + +
                                                                      Definition Classes
                                                                      AnyRef → Any
                                                                      +
                                                                    9. + + +

                                                                      + + + def + + + finalize(): Unit + +

                                                                      + + Permalink + + +
                                                                      Attributes
                                                                      protected[java.lang]
                                                                      Definition Classes
                                                                      AnyRef
                                                                      Annotations
                                                                      + @throws( + + classOf[java.lang.Throwable] + ) + +
                                                                      +
                                                                    10. + + +

                                                                      + + final + def + + + getClass(): Class[_] + +

                                                                      + + Permalink + + +
                                                                      Definition Classes
                                                                      AnyRef → Any
                                                                      +
                                                                    11. + + +

                                                                      + + + def + + + getNumEquivalence(src: DataFrame, columnNames: Array[String]): Double + +

                                                                      + + Permalink + + +

                                                                      Gets the number of the equivalence class which is composed of referring +to the columns of quasi-identifiers.

                                                                      Gets the number of the equivalence class which is composed of referring +to the columns of quasi-identifiers. +

                                                                      src

                                                                      the dataframe

                                                                      columnNames

                                                                      the array of quasi-identifier columns

                                                                      returns

                                                                      Long the number of equivalence classes

                                                                      Definition Classes
                                                                      InformationLoss
                                                                      +
                                                                    12. + + +

                                                                      + + + def + + + hashCode(): Int + +

                                                                      + + Permalink + + +
                                                                      Definition Classes
                                                                      AnyRef → Any
                                                                      +
                                                                    13. + + +

                                                                      + + final + def + + + isInstanceOf[T0]: Boolean + +

                                                                      + + Permalink + + +
                                                                      Definition Classes
                                                                      Any
                                                                      +
                                                                    14. + + +

                                                                      + + + def + + + lossMeasure(src: DataFrame, anonymizedSrc: DataFrame, suppressedSrc: DataFrame, columnNames: Array[String]): InformationLossBound + +

                                                                      + + Permalink + + +

                                                                      Measures the information loss of anonymized data compared to the original data.

                                                                      Measures the information loss of anonymized data compared to the original data. +

                                                                      src

                                                                      the dataframe

                                                                      anonymizedSrc

                                                                      the anonymized dataframe

                                                                      suppressedSrc

                                                                      the suppressed dataframe

                                                                      columnNames

                                                                      the array of column names

                                                                      returns

                                                                      InformationLossBound the measured information loss bound

                                                                      Definition Classes
                                                                      AECSLossInformationLoss
                                                                      +
                                                                    15. + + +

                                                                      + + + def + + + lossMeasure(src: DataFrame, anonymizedSrc: DataFrame, columnNames: Array[String]): InformationLossBound + +

                                                                      + + Permalink + + +

                                                                      Measures the information loss of anonymized data compared to the original data.

                                                                      Measures the information loss of anonymized data compared to the original data. +

                                                                      src

                                                                      the dataframe

                                                                      anonymizedSrc

                                                                      the anonymized dataframe

                                                                      columnNames

                                                                      the array of column names

                                                                      returns

                                                                      InformationLossBound the measured information loss bound

                                                                      Definition Classes
                                                                      InformationLoss
                                                                      +
                                                                    16. + + +

                                                                      + + final + def + + + ne(arg0: AnyRef): Boolean + +

                                                                      + + Permalink + + +
                                                                      Definition Classes
                                                                      AnyRef
                                                                      +
                                                                    17. + + +

                                                                      + + final + def + + + notify(): Unit + +

                                                                      + + Permalink + + +
                                                                      Definition Classes
                                                                      AnyRef
                                                                      +
                                                                    18. + + +

                                                                      + + final + def + + + notifyAll(): Unit + +

                                                                      + + Permalink + + +
                                                                      Definition Classes
                                                                      AnyRef
                                                                      +
                                                                    19. + + +

                                                                      + + final + def + + + synchronized[T0](arg0: ⇒ T0): T0 + +

                                                                      + + Permalink + + +
                                                                      Definition Classes
                                                                      AnyRef
                                                                      +
                                                                    20. + + +

                                                                      + + + def + + + toString(): String + +

                                                                      + + Permalink + + +
                                                                      Definition Classes
                                                                      AnyRef → Any
                                                                      +
                                                                    21. + + +

                                                                      + + final + def + + + wait(): Unit + +

                                                                      + + Permalink + + +
                                                                      Definition Classes
                                                                      AnyRef
                                                                      Annotations
                                                                      + @throws( + + ... + ) + +
                                                                      +
                                                                    22. + + +

                                                                      + + final + def + + + wait(arg0: Long, arg1: Int): Unit + +

                                                                      + + Permalink + + +
                                                                      Definition Classes
                                                                      AnyRef
                                                                      Annotations
                                                                      + @throws( + + ... + ) + +
                                                                      +
                                                                    23. + + +

                                                                      + + final + def + + + wait(arg0: Long): Unit + +

                                                                      + + Permalink + + +
                                                                      Definition Classes
                                                                      AnyRef
                                                                      Annotations
                                                                      + @throws( + + ... + ) + +
                                                                      +
                                                                    +
                                                                    + + + + +
                                                                    + +
                                                                    +
                                                                    +

                                                                    Inherited from InformationLoss

                                                                    +
                                                                    +

                                                                    Inherited from Serializable

                                                                    +
                                                                    +

                                                                    Inherited from Serializable

                                                                    +
                                                                    +

                                                                    Inherited from AnyRef

                                                                    +
                                                                    +

                                                                    Inherited from Any

                                                                    +
                                                                    + +
                                                                    + +
                                                                    +
                                                                    +

                                                                    Ungrouped

                                                                    + +
                                                                    +
                                                                    + +
                                                                    + +
                                                                    + + + + + + diff --git a/manual1903/api_reference/didentification/scaladocs/ksb/csle/didentification/verification/loss/CardinalityLoss$.html b/manual1903/api_reference/didentification/scaladocs/ksb/csle/didentification/verification/loss/CardinalityLoss$.html new file mode 100644 index 0000000000000000000000000000000000000000..37bc06855a153fb336d2e449d9d588daf5115431 --- /dev/null +++ b/manual1903/api_reference/didentification/scaladocs/ksb/csle/didentification/verification/loss/CardinalityLoss$.html @@ -0,0 +1,505 @@ + + + + CardinalityLoss - KSB DEIDENTIFICATION Scala App Project 1.0-SNAPSHOT API - ksb.csle.didentification.verification.loss.CardinalityLoss + + + + + + + + + + + + + + + + + +

                                                                    + + + object + + + CardinalityLoss extends Serializable + +

                                                                    + +
                                                                    + Linear Supertypes +
                                                                    Serializable, Serializable, AnyRef, Any
                                                                    +
                                                                    + + +
                                                                    +
                                                                    +
                                                                    + Ordering +
                                                                      + +
                                                                    1. Alphabetic
                                                                    2. +
                                                                    3. By Inheritance
                                                                    4. +
                                                                    +
                                                                    +
                                                                    + Inherited
                                                                    +
                                                                    +
                                                                      +
                                                                    1. CardinalityLoss
                                                                    2. Serializable
                                                                    3. Serializable
                                                                    4. AnyRef
                                                                    5. Any
                                                                    6. +
                                                                    +
                                                                    + +
                                                                      +
                                                                    1. Hide All
                                                                    2. +
                                                                    3. Show All
                                                                    4. +
                                                                    +
                                                                    +
                                                                    + Visibility +
                                                                    1. Public
                                                                    2. All
                                                                    +
                                                                    +
                                                                    + +
                                                                    +
                                                                    + + + + + + +
                                                                    +

                                                                    Value Members

                                                                    +
                                                                    1. + + +

                                                                      + + final + def + + + !=(arg0: Any): Boolean + +

                                                                      + + Permalink + + +
                                                                      Definition Classes
                                                                      AnyRef → Any
                                                                      +
                                                                    2. + + +

                                                                      + + final + def + + + ##(): Int + +

                                                                      + + Permalink + + +
                                                                      Definition Classes
                                                                      AnyRef → Any
                                                                      +
                                                                    3. + + +

                                                                      + + final + def + + + ==(arg0: Any): Boolean + +

                                                                      + + Permalink + + +
                                                                      Definition Classes
                                                                      AnyRef → Any
                                                                      +
                                                                    4. + + +

                                                                      + + + def + + + apply(): CardinalityLoss + +

                                                                      + + Permalink + + + +
                                                                    5. + + +

                                                                      + + final + def + + + asInstanceOf[T0]: T0 + +

                                                                      + + Permalink + + +
                                                                      Definition Classes
                                                                      Any
                                                                      +
                                                                    6. + + +

                                                                      + + + def + + + clone(): AnyRef + +

                                                                      + + Permalink + + +
                                                                      Attributes
                                                                      protected[java.lang]
                                                                      Definition Classes
                                                                      AnyRef
                                                                      Annotations
                                                                      + @throws( + + ... + ) + +
                                                                      +
                                                                    7. + + +

                                                                      + + final + def + + + eq(arg0: AnyRef): Boolean + +

                                                                      + + Permalink + + +
                                                                      Definition Classes
                                                                      AnyRef
                                                                      +
                                                                    8. + + +

                                                                      + + + def + + + equals(arg0: Any): Boolean + +

                                                                      + + Permalink + + +
                                                                      Definition Classes
                                                                      AnyRef → Any
                                                                      +
                                                                    9. + + +

                                                                      + + + def + + + finalize(): Unit + +

                                                                      + + Permalink + + +
                                                                      Attributes
                                                                      protected[java.lang]
                                                                      Definition Classes
                                                                      AnyRef
                                                                      Annotations
                                                                      + @throws( + + classOf[java.lang.Throwable] + ) + +
                                                                      +
                                                                    10. + + +

                                                                      + + final + def + + + getClass(): Class[_] + +

                                                                      + + Permalink + + +
                                                                      Definition Classes
                                                                      AnyRef → Any
                                                                      +
                                                                    11. + + +

                                                                      + + + def + + + hashCode(): Int + +

                                                                      + + Permalink + + +
                                                                      Definition Classes
                                                                      AnyRef → Any
                                                                      +
                                                                    12. + + +

                                                                      + + final + def + + + isInstanceOf[T0]: Boolean + +

                                                                      + + Permalink + + +
                                                                      Definition Classes
                                                                      Any
                                                                      +
                                                                    13. + + +

                                                                      + + final + def + + + ne(arg0: AnyRef): Boolean + +

                                                                      + + Permalink + + +
                                                                      Definition Classes
                                                                      AnyRef
                                                                      +
                                                                    14. + + +

                                                                      + + final + def + + + notify(): Unit + +

                                                                      + + Permalink + + +
                                                                      Definition Classes
                                                                      AnyRef
                                                                      +
                                                                    15. + + +

                                                                      + + final + def + + + notifyAll(): Unit + +

                                                                      + + Permalink + + +
                                                                      Definition Classes
                                                                      AnyRef
                                                                      +
                                                                    16. + + +

                                                                      + + final + def + + + synchronized[T0](arg0: ⇒ T0): T0 + +

                                                                      + + Permalink + + +
                                                                      Definition Classes
                                                                      AnyRef
                                                                      +
                                                                    17. + + +

                                                                      + + + def + + + toString(): String + +

                                                                      + + Permalink + + +
                                                                      Definition Classes
                                                                      AnyRef → Any
                                                                      +
                                                                    18. + + +

                                                                      + + final + def + + + wait(): Unit + +

                                                                      + + Permalink + + +
                                                                      Definition Classes
                                                                      AnyRef
                                                                      Annotations
                                                                      + @throws( + + ... + ) + +
                                                                      +
                                                                    19. + + +

                                                                      + + final + def + + + wait(arg0: Long, arg1: Int): Unit + +

                                                                      + + Permalink + + +
                                                                      Definition Classes
                                                                      AnyRef
                                                                      Annotations
                                                                      + @throws( + + ... + ) + +
                                                                      +
                                                                    20. + + +

                                                                      + + final + def + + + wait(arg0: Long): Unit + +

                                                                      + + Permalink + + +
                                                                      Definition Classes
                                                                      AnyRef
                                                                      Annotations
                                                                      + @throws( + + ... + ) + +
                                                                      +
                                                                    +
                                                                    + + + + +
                                                                    + +
                                                                    +
                                                                    +

                                                                    Inherited from Serializable

                                                                    +
                                                                    +

                                                                    Inherited from Serializable

                                                                    +
                                                                    +

                                                                    Inherited from AnyRef

                                                                    +
                                                                    +

                                                                    Inherited from Any

                                                                    +
                                                                    + +
                                                                    + +
                                                                    +
                                                                    +

                                                                    Ungrouped

                                                                    + +
                                                                    +
                                                                    + +
                                                                    + +
                                                                    + + + + + + diff --git a/manual1903/api_reference/didentification/scaladocs/ksb/csle/didentification/verification/loss/CardinalityLoss.html b/manual1903/api_reference/didentification/scaladocs/ksb/csle/didentification/verification/loss/CardinalityLoss.html new file mode 100644 index 0000000000000000000000000000000000000000..2da6f88d33f9d08b5f82ff5cadea1eb0d7be4826 --- /dev/null +++ b/manual1903/api_reference/didentification/scaladocs/ksb/csle/didentification/verification/loss/CardinalityLoss.html @@ -0,0 +1,625 @@ + + + + CardinalityLoss - KSB DEIDENTIFICATION Scala App Project 1.0-SNAPSHOT API - ksb.csle.didentification.verification.loss.CardinalityLoss + + + + + + + + + + + + + + + + + +

                                                                    + + + class + + + CardinalityLoss extends InformationLoss + +

                                                                    + +

                                                                    This class implements the loss measure method named as the cardinality +loss which measures the loss based on cardinality of a column. +

                                                                    + Linear Supertypes +
                                                                    InformationLoss, Serializable, Serializable, AnyRef, Any
                                                                    +
                                                                    + + +
                                                                    +
                                                                    +
                                                                    + Ordering +
                                                                      + +
                                                                    1. Alphabetic
                                                                    2. +
                                                                    3. By Inheritance
                                                                    4. +
                                                                    +
                                                                    +
                                                                    + Inherited
                                                                    +
                                                                    +
                                                                      +
                                                                    1. CardinalityLoss
                                                                    2. InformationLoss
                                                                    3. Serializable
                                                                    4. Serializable
                                                                    5. AnyRef
                                                                    6. Any
                                                                    7. +
                                                                    +
                                                                    + +
                                                                      +
                                                                    1. Hide All
                                                                    2. +
                                                                    3. Show All
                                                                    4. +
                                                                    +
                                                                    +
                                                                    + Visibility +
                                                                    1. Public
                                                                    2. All
                                                                    +
                                                                    +
                                                                    + +
                                                                    +
                                                                    +
                                                                    +

                                                                    Instance Constructors

                                                                    +
                                                                    1. + + +

                                                                      + + + new + + + CardinalityLoss() + +

                                                                      + + Permalink + + + +
                                                                    +
                                                                    + + + + + +
                                                                    +

                                                                    Value Members

                                                                    +
                                                                    1. + + +

                                                                      + + final + def + + + !=(arg0: Any): Boolean + +

                                                                      + + Permalink + + +
                                                                      Definition Classes
                                                                      AnyRef → Any
                                                                      +
                                                                    2. + + +

                                                                      + + final + def + + + ##(): Int + +

                                                                      + + Permalink + + +
                                                                      Definition Classes
                                                                      AnyRef → Any
                                                                      +
                                                                    3. + + +

                                                                      + + final + def + + + ==(arg0: Any): Boolean + +

                                                                      + + Permalink + + +
                                                                      Definition Classes
                                                                      AnyRef → Any
                                                                      +
                                                                    4. + + +

                                                                      + + final + def + + + asInstanceOf[T0]: T0 + +

                                                                      + + Permalink + + +
                                                                      Definition Classes
                                                                      Any
                                                                      +
                                                                    5. + + +

                                                                      + + + def + + + clone(): AnyRef + +

                                                                      + + Permalink + + +
                                                                      Attributes
                                                                      protected[java.lang]
                                                                      Definition Classes
                                                                      AnyRef
                                                                      Annotations
                                                                      + @throws( + + ... + ) + +
                                                                      +
                                                                    6. + + +

                                                                      + + + def + + + convertColumntoArray(src: DataFrame, columnName: String): Array[String] + +

                                                                      + + Permalink + + +

                                                                      Converts all the contents of a specific column to the array of string.

                                                                      Converts all the contents of a specific column to the array of string. +

                                                                      src

                                                                      the dataframe

                                                                      columnName

                                                                      the column name

                                                                      returns

                                                                      Array[String] the number of equivalence classes

                                                                      Definition Classes
                                                                      InformationLoss
                                                                      +
                                                                    7. + + +

                                                                      + + final + def + + + eq(arg0: AnyRef): Boolean + +

                                                                      + + Permalink + + +
                                                                      Definition Classes
                                                                      AnyRef
                                                                      +
                                                                    8. + + +

                                                                      + + + def + + + equals(arg0: Any): Boolean + +

                                                                      + + Permalink + + +
                                                                      Definition Classes
                                                                      AnyRef → Any
                                                                      +
                                                                    9. + + +

                                                                      + + + def + + + finalize(): Unit + +

                                                                      + + Permalink + + +
                                                                      Attributes
                                                                      protected[java.lang]
                                                                      Definition Classes
                                                                      AnyRef
                                                                      Annotations
                                                                      + @throws( + + classOf[java.lang.Throwable] + ) + +
                                                                      +
                                                                    10. + + +

                                                                      + + + def + + + getCardinality(src: DataFrame, columnNames: Array[String]): Double + +

                                                                      + + Permalink + + +

                                                                      Gets cardinality of the array of columns in 'src' dataframe +

                                                                      Gets cardinality of the array of columns in 'src' dataframe +

                                                                      src

                                                                      the dataframe

                                                                      returns

                                                                      Double the cardinality of the column

                                                                      +
                                                                    11. + + +

                                                                      + + + def + + + getCardinality(src: DataFrame, column: String): Double + +

                                                                      + + Permalink + + +

                                                                      Gets cardinality of 'column' column in 'src' dataframe +

                                                                      Gets cardinality of 'column' column in 'src' dataframe +

                                                                      src

                                                                      the dataframe

                                                                      column

                                                                      the column to get cardinality

                                                                      returns

                                                                      Double the cardinality of the column

                                                                      +
                                                                    12. + + +

                                                                      + + final + def + + + getClass(): Class[_] + +

                                                                      + + Permalink + + +
                                                                      Definition Classes
                                                                      AnyRef → Any
                                                                      +
                                                                    13. + + +

                                                                      + + + def + + + getNumEquivalence(src: DataFrame, columnNames: Array[String]): Double + +

                                                                      + + Permalink + + +

                                                                      Gets the number of the equivalence class which is composed of referring +to the columns of quasi-identifiers.

                                                                      Gets the number of the equivalence class which is composed of referring +to the columns of quasi-identifiers. +

                                                                      src

                                                                      the dataframe

                                                                      columnNames

                                                                      the array of quasi-identifier columns

                                                                      returns

                                                                      Long the number of equivalence classes

                                                                      Definition Classes
                                                                      InformationLoss
                                                                      +
                                                                    14. + + +

                                                                      + + + def + + + hashCode(): Int + +

                                                                      + + Permalink + + +
                                                                      Definition Classes
                                                                      AnyRef → Any
                                                                      +
                                                                    15. + + +

                                                                      + + final + def + + + isInstanceOf[T0]: Boolean + +

                                                                      + + Permalink + + +
                                                                      Definition Classes
                                                                      Any
                                                                      +
                                                                    16. + + +

                                                                      + + + def + + + lossMeasure(src: DataFrame, anonymizedSrc: DataFrame, suppressedSrc: DataFrame, columnNames: Array[String]): InformationLossBound + +

                                                                      + + Permalink + + +

                                                                      Measures the information loss based on cardinality of a column.

                                                                      Measures the information loss based on cardinality of a column. +

                                                                      src

                                                                      the original dataframe

                                                                      anonymizedSrc

                                                                      the anonymized dataframe

                                                                      suppressedSrc

                                                                      the suppressed dataframe

                                                                      columnNames

                                                                      the array of column names of quasi-identifiers. The +combination key is made by cross-tabulating these variables.

                                                                      returns

                                                                      InformationLossBound the measured information loss

                                                                      Definition Classes
                                                                      CardinalityLossInformationLoss
                                                                      +
                                                                    17. + + +

                                                                      + + + def + + + lossMeasure(src: DataFrame, anonymizedSrc: DataFrame, columnNames: Array[String]): InformationLossBound + +

                                                                      + + Permalink + + +

                                                                      Measures the information loss of anonymized data compared to the original data.

                                                                      Measures the information loss of anonymized data compared to the original data. +

                                                                      src

                                                                      the dataframe

                                                                      anonymizedSrc

                                                                      the anonymized dataframe

                                                                      columnNames

                                                                      the array of column names

                                                                      returns

                                                                      InformationLossBound the measured information loss bound

                                                                      Definition Classes
                                                                      InformationLoss
                                                                      +
                                                                    18. + + +

                                                                      + + final + def + + + ne(arg0: AnyRef): Boolean + +

                                                                      + + Permalink + + +
                                                                      Definition Classes
                                                                      AnyRef
                                                                      +
                                                                    19. + + +

                                                                      + + final + def + + + notify(): Unit + +

                                                                      + + Permalink + + +
                                                                      Definition Classes
                                                                      AnyRef
                                                                      +
                                                                    20. + + +

                                                                      + + final + def + + + notifyAll(): Unit + +

                                                                      + + Permalink + + +
                                                                      Definition Classes
                                                                      AnyRef
                                                                      +
                                                                    21. + + +

                                                                      + + final + def + + + synchronized[T0](arg0: ⇒ T0): T0 + +

                                                                      + + Permalink + + +
                                                                      Definition Classes
                                                                      AnyRef
                                                                      +
                                                                    22. + + +

                                                                      + + + def + + + toString(): String + +

                                                                      + + Permalink + + +
                                                                      Definition Classes
                                                                      AnyRef → Any
                                                                      +
                                                                    23. + + +

                                                                      + + final + def + + + wait(): Unit + +

                                                                      + + Permalink + + +
                                                                      Definition Classes
                                                                      AnyRef
                                                                      Annotations
                                                                      + @throws( + + ... + ) + +
                                                                      +
                                                                    24. + + +

                                                                      + + final + def + + + wait(arg0: Long, arg1: Int): Unit + +

                                                                      + + Permalink + + +
                                                                      Definition Classes
                                                                      AnyRef
                                                                      Annotations
                                                                      + @throws( + + ... + ) + +
                                                                      +
                                                                    25. + + +

                                                                      + + final + def + + + wait(arg0: Long): Unit + +

                                                                      + + Permalink + + +
                                                                      Definition Classes
                                                                      AnyRef
                                                                      Annotations
                                                                      + @throws( + + ... + ) + +
                                                                      +
                                                                    +
                                                                    + + + + +
                                                                    + +
                                                                    +
                                                                    +

                                                                    Inherited from InformationLoss

                                                                    +
                                                                    +

                                                                    Inherited from Serializable

                                                                    +
                                                                    +

                                                                    Inherited from Serializable

                                                                    +
                                                                    +

                                                                    Inherited from AnyRef

                                                                    +
                                                                    +

                                                                    Inherited from Any

                                                                    +
                                                                    + +
                                                                    + +
                                                                    +
                                                                    +

                                                                    Ungrouped

                                                                    + +
                                                                    +
                                                                    + +
                                                                    + +
                                                                    + + + + + + diff --git a/manual1903/api_reference/didentification/scaladocs/ksb/csle/didentification/verification/loss/DMLoss$.html b/manual1903/api_reference/didentification/scaladocs/ksb/csle/didentification/verification/loss/DMLoss$.html new file mode 100644 index 0000000000000000000000000000000000000000..0c2aa89d0d6f1e346a535130191d34372bfea0c6 --- /dev/null +++ b/manual1903/api_reference/didentification/scaladocs/ksb/csle/didentification/verification/loss/DMLoss$.html @@ -0,0 +1,505 @@ + + + + DMLoss - KSB DEIDENTIFICATION Scala App Project 1.0-SNAPSHOT API - ksb.csle.didentification.verification.loss.DMLoss + + + + + + + + + + + + + + + + + +

                                                                    + + + object + + + DMLoss extends Serializable + +

                                                                    + +
                                                                    + Linear Supertypes +
                                                                    Serializable, Serializable, AnyRef, Any
                                                                    +
                                                                    + + +
                                                                    +
                                                                    +
                                                                    + Ordering +
                                                                      + +
                                                                    1. Alphabetic
                                                                    2. +
                                                                    3. By Inheritance
                                                                    4. +
                                                                    +
                                                                    +
                                                                    + Inherited
                                                                    +
                                                                    +
                                                                      +
                                                                    1. DMLoss
                                                                    2. Serializable
                                                                    3. Serializable
                                                                    4. AnyRef
                                                                    5. Any
                                                                    6. +
                                                                    +
                                                                    + +
                                                                      +
                                                                    1. Hide All
                                                                    2. +
                                                                    3. Show All
                                                                    4. +
                                                                    +
                                                                    +
                                                                    + Visibility +
                                                                    1. Public
                                                                    2. All
                                                                    +
                                                                    +
                                                                    + +
                                                                    +
                                                                    + + + + + + +
                                                                    +

                                                                    Value Members

                                                                    +
                                                                    1. + + +

                                                                      + + final + def + + + !=(arg0: Any): Boolean + +

                                                                      + + Permalink + + +
                                                                      Definition Classes
                                                                      AnyRef → Any
                                                                      +
                                                                    2. + + +

                                                                      + + final + def + + + ##(): Int + +

                                                                      + + Permalink + + +
                                                                      Definition Classes
                                                                      AnyRef → Any
                                                                      +
                                                                    3. + + +

                                                                      + + final + def + + + ==(arg0: Any): Boolean + +

                                                                      + + Permalink + + +
                                                                      Definition Classes
                                                                      AnyRef → Any
                                                                      +
                                                                    4. + + +

                                                                      + + + def + + + apply(): DMLoss + +

                                                                      + + Permalink + + + +
                                                                    5. + + +

                                                                      + + final + def + + + asInstanceOf[T0]: T0 + +

                                                                      + + Permalink + + +
                                                                      Definition Classes
                                                                      Any
                                                                      +
                                                                    6. + + +

                                                                      + + + def + + + clone(): AnyRef + +

                                                                      + + Permalink + + +
                                                                      Attributes
                                                                      protected[java.lang]
                                                                      Definition Classes
                                                                      AnyRef
                                                                      Annotations
                                                                      + @throws( + + ... + ) + +
                                                                      +
                                                                    7. + + +

                                                                      + + final + def + + + eq(arg0: AnyRef): Boolean + +

                                                                      + + Permalink + + +
                                                                      Definition Classes
                                                                      AnyRef
                                                                      +
                                                                    8. + + +

                                                                      + + + def + + + equals(arg0: Any): Boolean + +

                                                                      + + Permalink + + +
                                                                      Definition Classes
                                                                      AnyRef → Any
                                                                      +
                                                                    9. + + +

                                                                      + + + def + + + finalize(): Unit + +

                                                                      + + Permalink + + +
                                                                      Attributes
                                                                      protected[java.lang]
                                                                      Definition Classes
                                                                      AnyRef
                                                                      Annotations
                                                                      + @throws( + + classOf[java.lang.Throwable] + ) + +
                                                                      +
                                                                    10. + + +

                                                                      + + final + def + + + getClass(): Class[_] + +

                                                                      + + Permalink + + +
                                                                      Definition Classes
                                                                      AnyRef → Any
                                                                      +
                                                                    11. + + +

                                                                      + + + def + + + hashCode(): Int + +

                                                                      + + Permalink + + +
                                                                      Definition Classes
                                                                      AnyRef → Any
                                                                      +
                                                                    12. + + +

                                                                      + + final + def + + + isInstanceOf[T0]: Boolean + +

                                                                      + + Permalink + + +
                                                                      Definition Classes
                                                                      Any
                                                                      +
                                                                    13. + + +

                                                                      + + final + def + + + ne(arg0: AnyRef): Boolean + +

                                                                      + + Permalink + + +
                                                                      Definition Classes
                                                                      AnyRef
                                                                      +
                                                                    14. + + +

                                                                      + + final + def + + + notify(): Unit + +

                                                                      + + Permalink + + +
                                                                      Definition Classes
                                                                      AnyRef
                                                                      +
                                                                    15. + + +

                                                                      + + final + def + + + notifyAll(): Unit + +

                                                                      + + Permalink + + +
                                                                      Definition Classes
                                                                      AnyRef
                                                                      +
                                                                    16. + + +

                                                                      + + final + def + + + synchronized[T0](arg0: ⇒ T0): T0 + +

                                                                      + + Permalink + + +
                                                                      Definition Classes
                                                                      AnyRef
                                                                      +
                                                                    17. + + +

                                                                      + + + def + + + toString(): String + +

                                                                      + + Permalink + + +
                                                                      Definition Classes
                                                                      AnyRef → Any
                                                                      +
                                                                    18. + + +

                                                                      + + final + def + + + wait(): Unit + +

                                                                      + + Permalink + + +
                                                                      Definition Classes
                                                                      AnyRef
                                                                      Annotations
                                                                      + @throws( + + ... + ) + +
                                                                      +
                                                                    19. + + +

                                                                      + + final + def + + + wait(arg0: Long, arg1: Int): Unit + +

                                                                      + + Permalink + + +
                                                                      Definition Classes
                                                                      AnyRef
                                                                      Annotations
                                                                      + @throws( + + ... + ) + +
                                                                      +
                                                                    20. + + +

                                                                      + + final + def + + + wait(arg0: Long): Unit + +

                                                                      + + Permalink + + +
                                                                      Definition Classes
                                                                      AnyRef
                                                                      Annotations
                                                                      + @throws( + + ... + ) + +
                                                                      +
                                                                    +
                                                                    + + + + +
                                                                    + +
                                                                    +
                                                                    +

                                                                    Inherited from Serializable

                                                                    +
                                                                    +

                                                                    Inherited from Serializable

                                                                    +
                                                                    +

                                                                    Inherited from AnyRef

                                                                    +
                                                                    +

                                                                    Inherited from Any

                                                                    +
                                                                    + +
                                                                    + +
                                                                    +
                                                                    +

                                                                    Ungrouped

                                                                    + +
                                                                    +
                                                                    + +
                                                                    + +
                                                                    + + + + + + diff --git a/manual1903/api_reference/didentification/scaladocs/ksb/csle/didentification/verification/loss/DMLoss.html b/manual1903/api_reference/didentification/scaladocs/ksb/csle/didentification/verification/loss/DMLoss.html new file mode 100644 index 0000000000000000000000000000000000000000..d7e4d8e16ddd015aa62dc5dce9ba32fa2c7a715c --- /dev/null +++ b/manual1903/api_reference/didentification/scaladocs/ksb/csle/didentification/verification/loss/DMLoss.html @@ -0,0 +1,586 @@ + + + + DMLoss - KSB DEIDENTIFICATION Scala App Project 1.0-SNAPSHOT API - ksb.csle.didentification.verification.loss.DMLoss + + + + + + + + + + + + + + + + + +

                                                                    + + + class + + + DMLoss extends InformationLoss + +

                                                                    + +

                                                                    This class implements the loss measure method named the DM (Discern Metrics). +

                                                                    + Linear Supertypes +
                                                                    InformationLoss, Serializable, Serializable, AnyRef, Any
                                                                    +
                                                                    + + +
                                                                    +
                                                                    +
                                                                    + Ordering +
                                                                      + +
                                                                    1. Alphabetic
                                                                    2. +
                                                                    3. By Inheritance
                                                                    4. +
                                                                    +
                                                                    +
                                                                    + Inherited
                                                                    +
                                                                    +
                                                                      +
                                                                    1. DMLoss
                                                                    2. InformationLoss
                                                                    3. Serializable
                                                                    4. Serializable
                                                                    5. AnyRef
                                                                    6. Any
                                                                    7. +
                                                                    +
                                                                    + +
                                                                      +
                                                                    1. Hide All
                                                                    2. +
                                                                    3. Show All
                                                                    4. +
                                                                    +
                                                                    +
                                                                    + Visibility +
                                                                    1. Public
                                                                    2. All
                                                                    +
                                                                    +
                                                                    + +
                                                                    +
                                                                    +
                                                                    +

                                                                    Instance Constructors

                                                                    +
                                                                    1. + + +

                                                                      + + + new + + + DMLoss() + +

                                                                      + + Permalink + + + +
                                                                    +
                                                                    + + + + + +
                                                                    +

                                                                    Value Members

                                                                    +
                                                                    1. + + +

                                                                      + + final + def + + + !=(arg0: Any): Boolean + +

                                                                      + + Permalink + + +
                                                                      Definition Classes
                                                                      AnyRef → Any
                                                                      +
                                                                    2. + + +

                                                                      + + final + def + + + ##(): Int + +

                                                                      + + Permalink + + +
                                                                      Definition Classes
                                                                      AnyRef → Any
                                                                      +
                                                                    3. + + +

                                                                      + + final + def + + + ==(arg0: Any): Boolean + +

                                                                      + + Permalink + + +
                                                                      Definition Classes
                                                                      AnyRef → Any
                                                                      +
                                                                    4. + + +

                                                                      + + final + def + + + asInstanceOf[T0]: T0 + +

                                                                      + + Permalink + + +
                                                                      Definition Classes
                                                                      Any
                                                                      +
                                                                    5. + + +

                                                                      + + + def + + + clone(): AnyRef + +

                                                                      + + Permalink + + +
                                                                      Attributes
                                                                      protected[java.lang]
                                                                      Definition Classes
                                                                      AnyRef
                                                                      Annotations
                                                                      + @throws( + + ... + ) + +
                                                                      +
                                                                    6. + + +

                                                                      + + + def + + + convertColumntoArray(src: DataFrame, columnName: String): Array[String] + +

                                                                      + + Permalink + + +

                                                                      Converts all the contents of a specific column to the array of string.

                                                                      Converts all the contents of a specific column to the array of string. +

                                                                      src

                                                                      the dataframe

                                                                      columnName

                                                                      the column name

                                                                      returns

                                                                      Array[String] the number of equivalence classes

                                                                      Definition Classes
                                                                      InformationLoss
                                                                      +
                                                                    7. + + +

                                                                      + + final + def + + + eq(arg0: AnyRef): Boolean + +

                                                                      + + Permalink + + +
                                                                      Definition Classes
                                                                      AnyRef
                                                                      +
                                                                    8. + + +

                                                                      + + + def + + + equals(arg0: Any): Boolean + +

                                                                      + + Permalink + + +
                                                                      Definition Classes
                                                                      AnyRef → Any
                                                                      +
                                                                    9. + + +

                                                                      + + + def + + + finalize(): Unit + +

                                                                      + + Permalink + + +
                                                                      Attributes
                                                                      protected[java.lang]
                                                                      Definition Classes
                                                                      AnyRef
                                                                      Annotations
                                                                      + @throws( + + classOf[java.lang.Throwable] + ) + +
                                                                      +
                                                                    10. + + +

                                                                      + + final + def + + + getClass(): Class[_] + +

                                                                      + + Permalink + + +
                                                                      Definition Classes
                                                                      AnyRef → Any
                                                                      +
                                                                    11. + + +

                                                                      + + + def + + + getNumEquivalence(src: DataFrame, columnNames: Array[String]): Double + +

                                                                      + + Permalink + + +

                                                                      Gets the number of the equivalence class which is composed of referring +to the columns of quasi-identifiers.

                                                                      Gets the number of the equivalence class which is composed of referring +to the columns of quasi-identifiers. +

                                                                      src

                                                                      the dataframe

                                                                      columnNames

                                                                      the array of quasi-identifier columns

                                                                      returns

                                                                      Long the number of equivalence classes

                                                                      Definition Classes
                                                                      InformationLoss
                                                                      +
                                                                    12. + + +

                                                                      + + + def + + + hashCode(): Int + +

                                                                      + + Permalink + + +
                                                                      Definition Classes
                                                                      AnyRef → Any
                                                                      +
                                                                    13. + + +

                                                                      + + final + def + + + isInstanceOf[T0]: Boolean + +

                                                                      + + Permalink + + +
                                                                      Definition Classes
                                                                      Any
                                                                      +
                                                                    14. + + +

                                                                      + + + def + + + lossMeasure(src: DataFrame, anonymizedSrc: DataFrame, suppressedSrc: DataFrame, columnNames: Array[String]): InformationLossBound + +

                                                                      + + Permalink + + +

                                                                      Measures the information loss bound of anonymized data +

                                                                      Measures the information loss bound of anonymized data +

                                                                      src

                                                                      the dataframe

                                                                      anonymizedSrc

                                                                      the anonymized dataframe

                                                                      suppressedSrc

                                                                      the suppressed dataframe

                                                                      columnNames

                                                                      the array of column names

                                                                      returns

                                                                      InformationLossBound the measured information loss bound

                                                                      Definition Classes
                                                                      DMLossInformationLoss
                                                                      +
                                                                    15. + + +

                                                                      + + + def + + + lossMeasure(src: DataFrame, anonymizedSrc: DataFrame, columnNames: Array[String]): InformationLossBound + +

                                                                      + + Permalink + + +

                                                                      Measures the information loss of anonymized data compared to the original data.

                                                                      Measures the information loss of anonymized data compared to the original data. +

                                                                      src

                                                                      the dataframe

                                                                      anonymizedSrc

                                                                      the anonymized dataframe

                                                                      columnNames

                                                                      the array of column names

                                                                      returns

                                                                      InformationLossBound the measured information loss bound

                                                                      Definition Classes
                                                                      InformationLoss
                                                                      +
                                                                    16. + + +

                                                                      + + final + def + + + ne(arg0: AnyRef): Boolean + +

                                                                      + + Permalink + + +
                                                                      Definition Classes
                                                                      AnyRef
                                                                      +
                                                                    17. + + +

                                                                      + + final + def + + + notify(): Unit + +

                                                                      + + Permalink + + +
                                                                      Definition Classes
                                                                      AnyRef
                                                                      +
                                                                    18. + + +

                                                                      + + final + def + + + notifyAll(): Unit + +

                                                                      + + Permalink + + +
                                                                      Definition Classes
                                                                      AnyRef
                                                                      +
                                                                    19. + + +

                                                                      + + final + def + + + synchronized[T0](arg0: ⇒ T0): T0 + +

                                                                      + + Permalink + + +
                                                                      Definition Classes
                                                                      AnyRef
                                                                      +
                                                                    20. + + +

                                                                      + + + def + + + toString(): String + +

                                                                      + + Permalink + + +
                                                                      Definition Classes
                                                                      AnyRef → Any
                                                                      +
                                                                    21. + + +

                                                                      + + final + def + + + wait(): Unit + +

                                                                      + + Permalink + + +
                                                                      Definition Classes
                                                                      AnyRef
                                                                      Annotations
                                                                      + @throws( + + ... + ) + +
                                                                      +
                                                                    22. + + +

                                                                      + + final + def + + + wait(arg0: Long, arg1: Int): Unit + +

                                                                      + + Permalink + + +
                                                                      Definition Classes
                                                                      AnyRef
                                                                      Annotations
                                                                      + @throws( + + ... + ) + +
                                                                      +
                                                                    23. + + +

                                                                      + + final + def + + + wait(arg0: Long): Unit + +

                                                                      + + Permalink + + +
                                                                      Definition Classes
                                                                      AnyRef
                                                                      Annotations
                                                                      + @throws( + + ... + ) + +
                                                                      +
                                                                    +
                                                                    + + + + +
                                                                    + +
                                                                    +
                                                                    +

                                                                    Inherited from InformationLoss

                                                                    +
                                                                    +

                                                                    Inherited from Serializable

                                                                    +
                                                                    +

                                                                    Inherited from Serializable

                                                                    +
                                                                    +

                                                                    Inherited from AnyRef

                                                                    +
                                                                    +

                                                                    Inherited from Any

                                                                    +
                                                                    + +
                                                                    + +
                                                                    +
                                                                    +

                                                                    Ungrouped

                                                                    + +
                                                                    +
                                                                    + +
                                                                    + +
                                                                    + + + + + + diff --git a/manual1903/api_reference/didentification/scaladocs/ksb/csle/didentification/verification/loss/EquivalenceLoss$.html b/manual1903/api_reference/didentification/scaladocs/ksb/csle/didentification/verification/loss/EquivalenceLoss$.html new file mode 100644 index 0000000000000000000000000000000000000000..6ca4ed7f5e29549d0d9ca34f31ef0c79fb3bd3ab --- /dev/null +++ b/manual1903/api_reference/didentification/scaladocs/ksb/csle/didentification/verification/loss/EquivalenceLoss$.html @@ -0,0 +1,505 @@ + + + + EquivalenceLoss - KSB DEIDENTIFICATION Scala App Project 1.0-SNAPSHOT API - ksb.csle.didentification.verification.loss.EquivalenceLoss + + + + + + + + + + + + + + + + + +

                                                                    + + + object + + + EquivalenceLoss extends Serializable + +

                                                                    + +
                                                                    + Linear Supertypes +
                                                                    Serializable, Serializable, AnyRef, Any
                                                                    +
                                                                    + + +
                                                                    +
                                                                    +
                                                                    + Ordering +
                                                                      + +
                                                                    1. Alphabetic
                                                                    2. +
                                                                    3. By Inheritance
                                                                    4. +
                                                                    +
                                                                    +
                                                                    + Inherited
                                                                    +
                                                                    +
                                                                      +
                                                                    1. EquivalenceLoss
                                                                    2. Serializable
                                                                    3. Serializable
                                                                    4. AnyRef
                                                                    5. Any
                                                                    6. +
                                                                    +
                                                                    + +
                                                                      +
                                                                    1. Hide All
                                                                    2. +
                                                                    3. Show All
                                                                    4. +
                                                                    +
                                                                    +
                                                                    + Visibility +
                                                                    1. Public
                                                                    2. All
                                                                    +
                                                                    +
                                                                    + +
                                                                    +
                                                                    + + + + + + +
                                                                    +

                                                                    Value Members

                                                                    +
                                                                    1. + + +

                                                                      + + final + def + + + !=(arg0: Any): Boolean + +

                                                                      + + Permalink + + +
                                                                      Definition Classes
                                                                      AnyRef → Any
                                                                      +
                                                                    2. + + +

                                                                      + + final + def + + + ##(): Int + +

                                                                      + + Permalink + + +
                                                                      Definition Classes
                                                                      AnyRef → Any
                                                                      +
                                                                    3. + + +

                                                                      + + final + def + + + ==(arg0: Any): Boolean + +

                                                                      + + Permalink + + +
                                                                      Definition Classes
                                                                      AnyRef → Any
                                                                      +
                                                                    4. + + +

                                                                      + + + def + + + apply(): EquivalenceLoss + +

                                                                      + + Permalink + + + +
                                                                    5. + + +

                                                                      + + final + def + + + asInstanceOf[T0]: T0 + +

                                                                      + + Permalink + + +
                                                                      Definition Classes
                                                                      Any
                                                                      +
                                                                    6. + + +

                                                                      + + + def + + + clone(): AnyRef + +

                                                                      + + Permalink + + +
                                                                      Attributes
                                                                      protected[java.lang]
                                                                      Definition Classes
                                                                      AnyRef
                                                                      Annotations
                                                                      + @throws( + + ... + ) + +
                                                                      +
                                                                    7. + + +

                                                                      + + final + def + + + eq(arg0: AnyRef): Boolean + +

                                                                      + + Permalink + + +
                                                                      Definition Classes
                                                                      AnyRef
                                                                      +
                                                                    8. + + +

                                                                      + + + def + + + equals(arg0: Any): Boolean + +

                                                                      + + Permalink + + +
                                                                      Definition Classes
                                                                      AnyRef → Any
                                                                      +
                                                                    9. + + +

                                                                      + + + def + + + finalize(): Unit + +

                                                                      + + Permalink + + +
                                                                      Attributes
                                                                      protected[java.lang]
                                                                      Definition Classes
                                                                      AnyRef
                                                                      Annotations
                                                                      + @throws( + + classOf[java.lang.Throwable] + ) + +
                                                                      +
                                                                    10. + + +

                                                                      + + final + def + + + getClass(): Class[_] + +

                                                                      + + Permalink + + +
                                                                      Definition Classes
                                                                      AnyRef → Any
                                                                      +
                                                                    11. + + +

                                                                      + + + def + + + hashCode(): Int + +

                                                                      + + Permalink + + +
                                                                      Definition Classes
                                                                      AnyRef → Any
                                                                      +
                                                                    12. + + +

                                                                      + + final + def + + + isInstanceOf[T0]: Boolean + +

                                                                      + + Permalink + + +
                                                                      Definition Classes
                                                                      Any
                                                                      +
                                                                    13. + + +

                                                                      + + final + def + + + ne(arg0: AnyRef): Boolean + +

                                                                      + + Permalink + + +
                                                                      Definition Classes
                                                                      AnyRef
                                                                      +
                                                                    14. + + +

                                                                      + + final + def + + + notify(): Unit + +

                                                                      + + Permalink + + +
                                                                      Definition Classes
                                                                      AnyRef
                                                                      +
                                                                    15. + + +

                                                                      + + final + def + + + notifyAll(): Unit + +

                                                                      + + Permalink + + +
                                                                      Definition Classes
                                                                      AnyRef
                                                                      +
                                                                    16. + + +

                                                                      + + final + def + + + synchronized[T0](arg0: ⇒ T0): T0 + +

                                                                      + + Permalink + + +
                                                                      Definition Classes
                                                                      AnyRef
                                                                      +
                                                                    17. + + +

                                                                      + + + def + + + toString(): String + +

                                                                      + + Permalink + + +
                                                                      Definition Classes
                                                                      AnyRef → Any
                                                                      +
                                                                    18. + + +

                                                                      + + final + def + + + wait(): Unit + +

                                                                      + + Permalink + + +
                                                                      Definition Classes
                                                                      AnyRef
                                                                      Annotations
                                                                      + @throws( + + ... + ) + +
                                                                      +
                                                                    19. + + +

                                                                      + + final + def + + + wait(arg0: Long, arg1: Int): Unit + +

                                                                      + + Permalink + + +
                                                                      Definition Classes
                                                                      AnyRef
                                                                      Annotations
                                                                      + @throws( + + ... + ) + +
                                                                      +
                                                                    20. + + +

                                                                      + + final + def + + + wait(arg0: Long): Unit + +

                                                                      + + Permalink + + +
                                                                      Definition Classes
                                                                      AnyRef
                                                                      Annotations
                                                                      + @throws( + + ... + ) + +
                                                                      +
                                                                    +
                                                                    + + + + +
                                                                    + +
                                                                    +
                                                                    +

                                                                    Inherited from Serializable

                                                                    +
                                                                    +

                                                                    Inherited from Serializable

                                                                    +
                                                                    +

                                                                    Inherited from AnyRef

                                                                    +
                                                                    +

                                                                    Inherited from Any

                                                                    +
                                                                    + +
                                                                    + +
                                                                    +
                                                                    +

                                                                    Ungrouped

                                                                    + +
                                                                    +
                                                                    + +
                                                                    + +
                                                                    + + + + + + diff --git a/manual1903/api_reference/didentification/scaladocs/ksb/csle/didentification/verification/loss/EquivalenceLoss.html b/manual1903/api_reference/didentification/scaladocs/ksb/csle/didentification/verification/loss/EquivalenceLoss.html new file mode 100644 index 0000000000000000000000000000000000000000..2bfcfbf14c365f692e56036bdb4c3722de6bc73f --- /dev/null +++ b/manual1903/api_reference/didentification/scaladocs/ksb/csle/didentification/verification/loss/EquivalenceLoss.html @@ -0,0 +1,586 @@ + + + + EquivalenceLoss - KSB DEIDENTIFICATION Scala App Project 1.0-SNAPSHOT API - ksb.csle.didentification.verification.loss.EquivalenceLoss + + + + + + + + + + + + + + + + + +

                                                                    + + + class + + + EquivalenceLoss extends InformationLoss + +

                                                                    + +

                                                                    This class implements the loss measure method named as Euqivalence Loss. +

                                                                    + Linear Supertypes +
                                                                    InformationLoss, Serializable, Serializable, AnyRef, Any
                                                                    +
                                                                    + + +
                                                                    +
                                                                    +
                                                                    + Ordering +
                                                                      + +
                                                                    1. Alphabetic
                                                                    2. +
                                                                    3. By Inheritance
                                                                    4. +
                                                                    +
                                                                    +
                                                                    + Inherited
                                                                    +
                                                                    +
                                                                      +
                                                                    1. EquivalenceLoss
                                                                    2. InformationLoss
                                                                    3. Serializable
                                                                    4. Serializable
                                                                    5. AnyRef
                                                                    6. Any
                                                                    7. +
                                                                    +
                                                                    + +
                                                                      +
                                                                    1. Hide All
                                                                    2. +
                                                                    3. Show All
                                                                    4. +
                                                                    +
                                                                    +
                                                                    + Visibility +
                                                                    1. Public
                                                                    2. All
                                                                    +
                                                                    +
                                                                    + +
                                                                    +
                                                                    +
                                                                    +

                                                                    Instance Constructors

                                                                    +
                                                                    1. + + +

                                                                      + + + new + + + EquivalenceLoss() + +

                                                                      + + Permalink + + + +
                                                                    +
                                                                    + + + + + +
                                                                    +

                                                                    Value Members

                                                                    +
                                                                    1. + + +

                                                                      + + final + def + + + !=(arg0: Any): Boolean + +

                                                                      + + Permalink + + +
                                                                      Definition Classes
                                                                      AnyRef → Any
                                                                      +
                                                                    2. + + +

                                                                      + + final + def + + + ##(): Int + +

                                                                      + + Permalink + + +
                                                                      Definition Classes
                                                                      AnyRef → Any
                                                                      +
                                                                    3. + + +

                                                                      + + final + def + + + ==(arg0: Any): Boolean + +

                                                                      + + Permalink + + +
                                                                      Definition Classes
                                                                      AnyRef → Any
                                                                      +
                                                                    4. + + +

                                                                      + + final + def + + + asInstanceOf[T0]: T0 + +

                                                                      + + Permalink + + +
                                                                      Definition Classes
                                                                      Any
                                                                      +
                                                                    5. + + +

                                                                      + + + def + + + clone(): AnyRef + +

                                                                      + + Permalink + + +
                                                                      Attributes
                                                                      protected[java.lang]
                                                                      Definition Classes
                                                                      AnyRef
                                                                      Annotations
                                                                      + @throws( + + ... + ) + +
                                                                      +
                                                                    6. + + +

                                                                      + + + def + + + convertColumntoArray(src: DataFrame, columnName: String): Array[String] + +

                                                                      + + Permalink + + +

                                                                      Converts all the contents of a specific column to the array of string.

                                                                      Converts all the contents of a specific column to the array of string. +

                                                                      src

                                                                      the dataframe

                                                                      columnName

                                                                      the column name

                                                                      returns

                                                                      Array[String] the number of equivalence classes

                                                                      Definition Classes
                                                                      InformationLoss
                                                                      +
                                                                    7. + + +

                                                                      + + final + def + + + eq(arg0: AnyRef): Boolean + +

                                                                      + + Permalink + + +
                                                                      Definition Classes
                                                                      AnyRef
                                                                      +
                                                                    8. + + +

                                                                      + + + def + + + equals(arg0: Any): Boolean + +

                                                                      + + Permalink + + +
                                                                      Definition Classes
                                                                      AnyRef → Any
                                                                      +
                                                                    9. + + +

                                                                      + + + def + + + finalize(): Unit + +

                                                                      + + Permalink + + +
                                                                      Attributes
                                                                      protected[java.lang]
                                                                      Definition Classes
                                                                      AnyRef
                                                                      Annotations
                                                                      + @throws( + + classOf[java.lang.Throwable] + ) + +
                                                                      +
                                                                    10. + + +

                                                                      + + final + def + + + getClass(): Class[_] + +

                                                                      + + Permalink + + +
                                                                      Definition Classes
                                                                      AnyRef → Any
                                                                      +
                                                                    11. + + +

                                                                      + + + def + + + getNumEquivalence(src: DataFrame, columnNames: Array[String]): Double + +

                                                                      + + Permalink + + +

                                                                      Gets the number of the equivalence class which is composed of referring +to the columns of quasi-identifiers.

                                                                      Gets the number of the equivalence class which is composed of referring +to the columns of quasi-identifiers. +

                                                                      src

                                                                      the dataframe

                                                                      columnNames

                                                                      the array of quasi-identifier columns

                                                                      returns

                                                                      Long the number of equivalence classes

                                                                      Definition Classes
                                                                      InformationLoss
                                                                      +
                                                                    12. + + +

                                                                      + + + def + + + hashCode(): Int + +

                                                                      + + Permalink + + +
                                                                      Definition Classes
                                                                      AnyRef → Any
                                                                      +
                                                                    13. + + +

                                                                      + + final + def + + + isInstanceOf[T0]: Boolean + +

                                                                      + + Permalink + + +
                                                                      Definition Classes
                                                                      Any
                                                                      +
                                                                    14. + + +

                                                                      + + + def + + + lossMeasure(src: DataFrame, anonymizedSrc: DataFrame, suppressedSrc: DataFrame, columnNames: Array[String]): InformationLossBound + +

                                                                      + + Permalink + + +

                                                                      Measures the information loss based on the number of equivalence classes.

                                                                      Measures the information loss based on the number of equivalence classes. +

                                                                      src

                                                                      the original dataframe

                                                                      anonymizedSrc

                                                                      the generalized dataframe

                                                                      suppressedSrc

                                                                      the suppressed dataframe

                                                                      columnNames

                                                                      the array of column names of quasi-identifiers. The +combination key is made by cross-tabulating these variables.

                                                                      returns

                                                                      Double the measured information loss

                                                                      Definition Classes
                                                                      EquivalenceLossInformationLoss
                                                                      +
                                                                    15. + + +

                                                                      + + + def + + + lossMeasure(src: DataFrame, anonymizedSrc: DataFrame, columnNames: Array[String]): InformationLossBound + +

                                                                      + + Permalink + + +

                                                                      Measures the information loss of anonymized data compared to the original data.

                                                                      Measures the information loss of anonymized data compared to the original data. +

                                                                      src

                                                                      the dataframe

                                                                      anonymizedSrc

                                                                      the anonymized dataframe

                                                                      columnNames

                                                                      the array of column names

                                                                      returns

                                                                      InformationLossBound the measured information loss bound

                                                                      Definition Classes
                                                                      InformationLoss
                                                                      +
                                                                    16. + + +

                                                                      + + final + def + + + ne(arg0: AnyRef): Boolean + +

                                                                      + + Permalink + + +
                                                                      Definition Classes
                                                                      AnyRef
                                                                      +
                                                                    17. + + +

                                                                      + + final + def + + + notify(): Unit + +

                                                                      + + Permalink + + +
                                                                      Definition Classes
                                                                      AnyRef
                                                                      +
                                                                    18. + + +

                                                                      + + final + def + + + notifyAll(): Unit + +

                                                                      + + Permalink + + +
                                                                      Definition Classes
                                                                      AnyRef
                                                                      +
                                                                    19. + + +

                                                                      + + final + def + + + synchronized[T0](arg0: ⇒ T0): T0 + +

                                                                      + + Permalink + + +
                                                                      Definition Classes
                                                                      AnyRef
                                                                      +
                                                                    20. + + +

                                                                      + + + def + + + toString(): String + +

                                                                      + + Permalink + + +
                                                                      Definition Classes
                                                                      AnyRef → Any
                                                                      +
                                                                    21. + + +

                                                                      + + final + def + + + wait(): Unit + +

                                                                      + + Permalink + + +
                                                                      Definition Classes
                                                                      AnyRef
                                                                      Annotations
                                                                      + @throws( + + ... + ) + +
                                                                      +
                                                                    22. + + +

                                                                      + + final + def + + + wait(arg0: Long, arg1: Int): Unit + +

                                                                      + + Permalink + + +
                                                                      Definition Classes
                                                                      AnyRef
                                                                      Annotations
                                                                      + @throws( + + ... + ) + +
                                                                      +
                                                                    23. + + +

                                                                      + + final + def + + + wait(arg0: Long): Unit + +

                                                                      + + Permalink + + +
                                                                      Definition Classes
                                                                      AnyRef
                                                                      Annotations
                                                                      + @throws( + + ... + ) + +
                                                                      +
                                                                    +
                                                                    + + + + +
                                                                    + +
                                                                    +
                                                                    +

                                                                    Inherited from InformationLoss

                                                                    +
                                                                    +

                                                                    Inherited from Serializable

                                                                    +
                                                                    +

                                                                    Inherited from Serializable

                                                                    +
                                                                    +

                                                                    Inherited from AnyRef

                                                                    +
                                                                    +

                                                                    Inherited from Any

                                                                    +
                                                                    + +
                                                                    + +
                                                                    +
                                                                    +

                                                                    Ungrouped

                                                                    + +
                                                                    +
                                                                    + +
                                                                    + +
                                                                    + + + + + + diff --git a/manual1903/api_reference/didentification/scaladocs/ksb/csle/didentification/verification/loss/HierarchicalTreeLoss$.html b/manual1903/api_reference/didentification/scaladocs/ksb/csle/didentification/verification/loss/HierarchicalTreeLoss$.html new file mode 100644 index 0000000000000000000000000000000000000000..ae348552b9f9bb14cb9826a0be7bde7b4b2bbddf --- /dev/null +++ b/manual1903/api_reference/didentification/scaladocs/ksb/csle/didentification/verification/loss/HierarchicalTreeLoss$.html @@ -0,0 +1,505 @@ + + + + HierarchicalTreeLoss - KSB DEIDENTIFICATION Scala App Project 1.0-SNAPSHOT API - ksb.csle.didentification.verification.loss.HierarchicalTreeLoss + + + + + + + + + + + + + + + + + +

                                                                    + + + object + + + HierarchicalTreeLoss extends Serializable + +

                                                                    + +
                                                                    + Linear Supertypes +
                                                                    Serializable, Serializable, AnyRef, Any
                                                                    +
                                                                    + + +
                                                                    +
                                                                    +
                                                                    + Ordering +
                                                                      + +
                                                                    1. Alphabetic
                                                                    2. +
                                                                    3. By Inheritance
                                                                    4. +
                                                                    +
                                                                    +
                                                                    + Inherited
                                                                    +
                                                                    +
                                                                      +
                                                                    1. HierarchicalTreeLoss
                                                                    2. Serializable
                                                                    3. Serializable
                                                                    4. AnyRef
                                                                    5. Any
                                                                    6. +
                                                                    +
                                                                    + +
                                                                      +
                                                                    1. Hide All
                                                                    2. +
                                                                    3. Show All
                                                                    4. +
                                                                    +
                                                                    +
                                                                    + Visibility +
                                                                    1. Public
                                                                    2. All
                                                                    +
                                                                    +
                                                                    + +
                                                                    +
                                                                    + + + + + + +
                                                                    +

                                                                    Value Members

                                                                    +
                                                                    1. + + +

                                                                      + + final + def + + + !=(arg0: Any): Boolean + +

                                                                      + + Permalink + + +
                                                                      Definition Classes
                                                                      AnyRef → Any
                                                                      +
                                                                    2. + + +

                                                                      + + final + def + + + ##(): Int + +

                                                                      + + Permalink + + +
                                                                      Definition Classes
                                                                      AnyRef → Any
                                                                      +
                                                                    3. + + +

                                                                      + + final + def + + + ==(arg0: Any): Boolean + +

                                                                      + + Permalink + + +
                                                                      Definition Classes
                                                                      AnyRef → Any
                                                                      +
                                                                    4. + + +

                                                                      + + + def + + + apply(h: Map[FieldInfo, ColumnHierarchy]): HierarchicalTreeLoss + +

                                                                      + + Permalink + + + +
                                                                    5. + + +

                                                                      + + final + def + + + asInstanceOf[T0]: T0 + +

                                                                      + + Permalink + + +
                                                                      Definition Classes
                                                                      Any
                                                                      +
                                                                    6. + + +

                                                                      + + + def + + + clone(): AnyRef + +

                                                                      + + Permalink + + +
                                                                      Attributes
                                                                      protected[java.lang]
                                                                      Definition Classes
                                                                      AnyRef
                                                                      Annotations
                                                                      + @throws( + + ... + ) + +
                                                                      +
                                                                    7. + + +

                                                                      + + final + def + + + eq(arg0: AnyRef): Boolean + +

                                                                      + + Permalink + + +
                                                                      Definition Classes
                                                                      AnyRef
                                                                      +
                                                                    8. + + +

                                                                      + + + def + + + equals(arg0: Any): Boolean + +

                                                                      + + Permalink + + +
                                                                      Definition Classes
                                                                      AnyRef → Any
                                                                      +
                                                                    9. + + +

                                                                      + + + def + + + finalize(): Unit + +

                                                                      + + Permalink + + +
                                                                      Attributes
                                                                      protected[java.lang]
                                                                      Definition Classes
                                                                      AnyRef
                                                                      Annotations
                                                                      + @throws( + + classOf[java.lang.Throwable] + ) + +
                                                                      +
                                                                    10. + + +

                                                                      + + final + def + + + getClass(): Class[_] + +

                                                                      + + Permalink + + +
                                                                      Definition Classes
                                                                      AnyRef → Any
                                                                      +
                                                                    11. + + +

                                                                      + + + def + + + hashCode(): Int + +

                                                                      + + Permalink + + +
                                                                      Definition Classes
                                                                      AnyRef → Any
                                                                      +
                                                                    12. + + +

                                                                      + + final + def + + + isInstanceOf[T0]: Boolean + +

                                                                      + + Permalink + + +
                                                                      Definition Classes
                                                                      Any
                                                                      +
                                                                    13. + + +

                                                                      + + final + def + + + ne(arg0: AnyRef): Boolean + +

                                                                      + + Permalink + + +
                                                                      Definition Classes
                                                                      AnyRef
                                                                      +
                                                                    14. + + +

                                                                      + + final + def + + + notify(): Unit + +

                                                                      + + Permalink + + +
                                                                      Definition Classes
                                                                      AnyRef
                                                                      +
                                                                    15. + + +

                                                                      + + final + def + + + notifyAll(): Unit + +

                                                                      + + Permalink + + +
                                                                      Definition Classes
                                                                      AnyRef
                                                                      +
                                                                    16. + + +

                                                                      + + final + def + + + synchronized[T0](arg0: ⇒ T0): T0 + +

                                                                      + + Permalink + + +
                                                                      Definition Classes
                                                                      AnyRef
                                                                      +
                                                                    17. + + +

                                                                      + + + def + + + toString(): String + +

                                                                      + + Permalink + + +
                                                                      Definition Classes
                                                                      AnyRef → Any
                                                                      +
                                                                    18. + + +

                                                                      + + final + def + + + wait(): Unit + +

                                                                      + + Permalink + + +
                                                                      Definition Classes
                                                                      AnyRef
                                                                      Annotations
                                                                      + @throws( + + ... + ) + +
                                                                      +
                                                                    19. + + +

                                                                      + + final + def + + + wait(arg0: Long, arg1: Int): Unit + +

                                                                      + + Permalink + + +
                                                                      Definition Classes
                                                                      AnyRef
                                                                      Annotations
                                                                      + @throws( + + ... + ) + +
                                                                      +
                                                                    20. + + +

                                                                      + + final + def + + + wait(arg0: Long): Unit + +

                                                                      + + Permalink + + +
                                                                      Definition Classes
                                                                      AnyRef
                                                                      Annotations
                                                                      + @throws( + + ... + ) + +
                                                                      +
                                                                    +
                                                                    + + + + +
                                                                    + +
                                                                    +
                                                                    +

                                                                    Inherited from Serializable

                                                                    +
                                                                    +

                                                                    Inherited from Serializable

                                                                    +
                                                                    +

                                                                    Inherited from AnyRef

                                                                    +
                                                                    +

                                                                    Inherited from Any

                                                                    +
                                                                    + +
                                                                    + +
                                                                    +
                                                                    +

                                                                    Ungrouped

                                                                    + +
                                                                    +
                                                                    + +
                                                                    + +
                                                                    + + + + + + diff --git a/manual1903/api_reference/didentification/scaladocs/ksb/csle/didentification/verification/loss/HierarchicalTreeLoss.html b/manual1903/api_reference/didentification/scaladocs/ksb/csle/didentification/verification/loss/HierarchicalTreeLoss.html new file mode 100644 index 0000000000000000000000000000000000000000..81eb9eb57d14b0cc8b537e33e9dfc307b85a6a03 --- /dev/null +++ b/manual1903/api_reference/didentification/scaladocs/ksb/csle/didentification/verification/loss/HierarchicalTreeLoss.html @@ -0,0 +1,604 @@ + + + + HierarchicalTreeLoss - KSB DEIDENTIFICATION Scala App Project 1.0-SNAPSHOT API - ksb.csle.didentification.verification.loss.HierarchicalTreeLoss + + + + + + + + + + + + + + + + + +

                                                                    + + + class + + + HierarchicalTreeLoss extends InformationLoss + +

                                                                    + +

                                                                    This class implements the loss measure method named as hierarchical tree loss. +To Be Modified for future +

                                                                    + Linear Supertypes +
                                                                    InformationLoss, Serializable, Serializable, AnyRef, Any
                                                                    +
                                                                    + + +
                                                                    +
                                                                    +
                                                                    + Ordering +
                                                                      + +
                                                                    1. Alphabetic
                                                                    2. +
                                                                    3. By Inheritance
                                                                    4. +
                                                                    +
                                                                    +
                                                                    + Inherited
                                                                    +
                                                                    +
                                                                      +
                                                                    1. HierarchicalTreeLoss
                                                                    2. InformationLoss
                                                                    3. Serializable
                                                                    4. Serializable
                                                                    5. AnyRef
                                                                    6. Any
                                                                    7. +
                                                                    +
                                                                    + +
                                                                      +
                                                                    1. Hide All
                                                                    2. +
                                                                    3. Show All
                                                                    4. +
                                                                    +
                                                                    +
                                                                    + Visibility +
                                                                    1. Public
                                                                    2. All
                                                                    +
                                                                    +
                                                                    + +
                                                                    +
                                                                    +
                                                                    +

                                                                    Instance Constructors

                                                                    +
                                                                    1. + + +

                                                                      + + + new + + + HierarchicalTreeLoss(hier: Map[FieldInfo, ColumnHierarchy]) + +

                                                                      + + Permalink + + + +
                                                                    +
                                                                    + + + + + +
                                                                    +

                                                                    Value Members

                                                                    +
                                                                    1. + + +

                                                                      + + final + def + + + !=(arg0: Any): Boolean + +

                                                                      + + Permalink + + +
                                                                      Definition Classes
                                                                      AnyRef → Any
                                                                      +
                                                                    2. + + +

                                                                      + + final + def + + + ##(): Int + +

                                                                      + + Permalink + + +
                                                                      Definition Classes
                                                                      AnyRef → Any
                                                                      +
                                                                    3. + + +

                                                                      + + final + def + + + ==(arg0: Any): Boolean + +

                                                                      + + Permalink + + +
                                                                      Definition Classes
                                                                      AnyRef → Any
                                                                      +
                                                                    4. + + +

                                                                      + + final + def + + + asInstanceOf[T0]: T0 + +

                                                                      + + Permalink + + +
                                                                      Definition Classes
                                                                      Any
                                                                      +
                                                                    5. + + +

                                                                      + + + def + + + clone(): AnyRef + +

                                                                      + + Permalink + + +
                                                                      Attributes
                                                                      protected[java.lang]
                                                                      Definition Classes
                                                                      AnyRef
                                                                      Annotations
                                                                      + @throws( + + ... + ) + +
                                                                      +
                                                                    6. + + +

                                                                      + + + def + + + convertColumntoArray(src: DataFrame, columnName: String): Array[String] + +

                                                                      + + Permalink + + +

                                                                      Converts all the contents of a specific column to the array of string.

                                                                      Converts all the contents of a specific column to the array of string. +

                                                                      src

                                                                      the dataframe

                                                                      columnName

                                                                      the column name

                                                                      returns

                                                                      Array[String] the number of equivalence classes

                                                                      Definition Classes
                                                                      InformationLoss
                                                                      +
                                                                    7. + + +

                                                                      + + final + def + + + eq(arg0: AnyRef): Boolean + +

                                                                      + + Permalink + + +
                                                                      Definition Classes
                                                                      AnyRef
                                                                      +
                                                                    8. + + +

                                                                      + + + def + + + equals(arg0: Any): Boolean + +

                                                                      + + Permalink + + +
                                                                      Definition Classes
                                                                      AnyRef → Any
                                                                      +
                                                                    9. + + +

                                                                      + + + def + + + finalize(): Unit + +

                                                                      + + Permalink + + +
                                                                      Attributes
                                                                      protected[java.lang]
                                                                      Definition Classes
                                                                      AnyRef
                                                                      Annotations
                                                                      + @throws( + + classOf[java.lang.Throwable] + ) + +
                                                                      +
                                                                    10. + + +

                                                                      + + final + def + + + getClass(): Class[_] + +

                                                                      + + Permalink + + +
                                                                      Definition Classes
                                                                      AnyRef → Any
                                                                      +
                                                                    11. + + +

                                                                      + + + def + + + getNumEquivalence(src: DataFrame, columnNames: Array[String]): Double + +

                                                                      + + Permalink + + +

                                                                      Gets the number of the equivalence class which is composed of referring +to the columns of quasi-identifiers.

                                                                      Gets the number of the equivalence class which is composed of referring +to the columns of quasi-identifiers. +

                                                                      src

                                                                      the dataframe

                                                                      columnNames

                                                                      the array of quasi-identifier columns

                                                                      returns

                                                                      Long the number of equivalence classes

                                                                      Definition Classes
                                                                      InformationLoss
                                                                      +
                                                                    12. + + +

                                                                      + + + var + + + h: Map[FieldInfo, ColumnHierarchy] + +

                                                                      + + Permalink + + + +
                                                                    13. + + +

                                                                      + + + def + + + hashCode(): Int + +

                                                                      + + Permalink + + +
                                                                      Definition Classes
                                                                      AnyRef → Any
                                                                      +
                                                                    14. + + +

                                                                      + + final + def + + + isInstanceOf[T0]: Boolean + +

                                                                      + + Permalink + + +
                                                                      Definition Classes
                                                                      Any
                                                                      +
                                                                    15. + + +

                                                                      + + + def + + + lossMeasure(src: DataFrame, anonymizedSrc: DataFrame, suppressedSrc: DataFrame, columnNames: Array[String]): InformationLossBound + +

                                                                      + + Permalink + + +

                                                                      Measures the information loss bound of anonymized data +

                                                                      Measures the information loss bound of anonymized data +

                                                                      src

                                                                      the dataframe

                                                                      anonymizedSrc

                                                                      the anonymized dataframe

                                                                      suppressedSrc

                                                                      the suppressed dataframe

                                                                      columnNames

                                                                      the array of column names

                                                                      returns

                                                                      InformationLossBound the measured information loss bound

                                                                      Definition Classes
                                                                      HierarchicalTreeLossInformationLoss
                                                                      +
                                                                    16. + + +

                                                                      + + + def + + + lossMeasure(src: DataFrame, anonymizedSrc: DataFrame, columnNames: Array[String]): InformationLossBound + +

                                                                      + + Permalink + + +

                                                                      Measures the information loss of anonymized data compared to the original data.

                                                                      Measures the information loss of anonymized data compared to the original data. +

                                                                      src

                                                                      the dataframe

                                                                      anonymizedSrc

                                                                      the anonymized dataframe

                                                                      columnNames

                                                                      the array of column names

                                                                      returns

                                                                      InformationLossBound the measured information loss bound

                                                                      Definition Classes
                                                                      InformationLoss
                                                                      +
                                                                    17. + + +

                                                                      + + final + def + + + ne(arg0: AnyRef): Boolean + +

                                                                      + + Permalink + + +
                                                                      Definition Classes
                                                                      AnyRef
                                                                      +
                                                                    18. + + +

                                                                      + + final + def + + + notify(): Unit + +

                                                                      + + Permalink + + +
                                                                      Definition Classes
                                                                      AnyRef
                                                                      +
                                                                    19. + + +

                                                                      + + final + def + + + notifyAll(): Unit + +

                                                                      + + Permalink + + +
                                                                      Definition Classes
                                                                      AnyRef
                                                                      +
                                                                    20. + + +

                                                                      + + final + def + + + synchronized[T0](arg0: ⇒ T0): T0 + +

                                                                      + + Permalink + + +
                                                                      Definition Classes
                                                                      AnyRef
                                                                      +
                                                                    21. + + +

                                                                      + + + def + + + toString(): String + +

                                                                      + + Permalink + + +
                                                                      Definition Classes
                                                                      AnyRef → Any
                                                                      +
                                                                    22. + + +

                                                                      + + final + def + + + wait(): Unit + +

                                                                      + + Permalink + + +
                                                                      Definition Classes
                                                                      AnyRef
                                                                      Annotations
                                                                      + @throws( + + ... + ) + +
                                                                      +
                                                                    23. + + +

                                                                      + + final + def + + + wait(arg0: Long, arg1: Int): Unit + +

                                                                      + + Permalink + + +
                                                                      Definition Classes
                                                                      AnyRef
                                                                      Annotations
                                                                      + @throws( + + ... + ) + +
                                                                      +
                                                                    24. + + +

                                                                      + + final + def + + + wait(arg0: Long): Unit + +

                                                                      + + Permalink + + +
                                                                      Definition Classes
                                                                      AnyRef
                                                                      Annotations
                                                                      + @throws( + + ... + ) + +
                                                                      +
                                                                    +
                                                                    + + + + +
                                                                    + +
                                                                    +
                                                                    +

                                                                    Inherited from InformationLoss

                                                                    +
                                                                    +

                                                                    Inherited from Serializable

                                                                    +
                                                                    +

                                                                    Inherited from Serializable

                                                                    +
                                                                    +

                                                                    Inherited from AnyRef

                                                                    +
                                                                    +

                                                                    Inherited from Any

                                                                    +
                                                                    + +
                                                                    + +
                                                                    +
                                                                    +

                                                                    Ungrouped

                                                                    + +
                                                                    +
                                                                    + +
                                                                    + +
                                                                    + + + + + + diff --git a/manual1903/api_reference/didentification/scaladocs/ksb/csle/didentification/verification/loss/InformationLoss.html b/manual1903/api_reference/didentification/scaladocs/ksb/csle/didentification/verification/loss/InformationLoss.html new file mode 100644 index 0000000000000000000000000000000000000000..5ee44d5a9473ae50aab73b474252a30dfdff18f3 --- /dev/null +++ b/manual1903/api_reference/didentification/scaladocs/ksb/csle/didentification/verification/loss/InformationLoss.html @@ -0,0 +1,588 @@ + + + + InformationLoss - KSB DEIDENTIFICATION Scala App Project 1.0-SNAPSHOT API - ksb.csle.didentification.verification.loss.InformationLoss + + + + + + + + + + + + + + + +
                                                                    + Class +

                                                                    ksb.csle.didentification.verification.loss

                                                                    +

                                                                    InformationLoss

                                                                    Related Doc: + package loss +

                                                                    + + Permalink + + +
                                                                    + +

                                                                    + + abstract + class + + + InformationLoss extends Serializable + +

                                                                    + +

                                                                    This abstract class defines some functions for measuring information loss. +To Be Modified for future +

                                                                    + Linear Supertypes +
                                                                    Serializable, Serializable, AnyRef, Any
                                                                    +
                                                                    + + +
                                                                    +
                                                                    +
                                                                    + Ordering +
                                                                      + +
                                                                    1. Alphabetic
                                                                    2. +
                                                                    3. By Inheritance
                                                                    4. +
                                                                    +
                                                                    +
                                                                    + Inherited
                                                                    +
                                                                    +
                                                                      +
                                                                    1. InformationLoss
                                                                    2. Serializable
                                                                    3. Serializable
                                                                    4. AnyRef
                                                                    5. Any
                                                                    6. +
                                                                    +
                                                                    + +
                                                                      +
                                                                    1. Hide All
                                                                    2. +
                                                                    3. Show All
                                                                    4. +
                                                                    +
                                                                    +
                                                                    + Visibility +
                                                                    1. Public
                                                                    2. All
                                                                    +
                                                                    +
                                                                    + +
                                                                    +
                                                                    +
                                                                    +

                                                                    Instance Constructors

                                                                    +
                                                                    1. + + +

                                                                      + + + new + + + InformationLoss() + +

                                                                      + + Permalink + + + +
                                                                    +
                                                                    + + + +
                                                                    +

                                                                    Abstract Value Members

                                                                    +
                                                                    1. + + +

                                                                      + + abstract + def + + + lossMeasure(src: DataFrame, anonymizedSrc: DataFrame, suppressedSrc: DataFrame, columnNames: Array[String]): InformationLossBound + +

                                                                      + + Permalink + + +

                                                                      Measures the information loss of anonymized data compared to the original data.

                                                                      Measures the information loss of anonymized data compared to the original data. +

                                                                      src

                                                                      the dataframe

                                                                      anonymizedSrc

                                                                      the anonymized dataframe

                                                                      suppressedSrc

                                                                      the suppressed dataframe

                                                                      columnNames

                                                                      the array of column names

                                                                      returns

                                                                      InformationLossBound the measured information loss bound

                                                                      +
                                                                    +
                                                                    + +
                                                                    +

                                                                    Concrete Value Members

                                                                    +
                                                                    1. + + +

                                                                      + + final + def + + + !=(arg0: Any): Boolean + +

                                                                      + + Permalink + + +
                                                                      Definition Classes
                                                                      AnyRef → Any
                                                                      +
                                                                    2. + + +

                                                                      + + final + def + + + ##(): Int + +

                                                                      + + Permalink + + +
                                                                      Definition Classes
                                                                      AnyRef → Any
                                                                      +
                                                                    3. + + +

                                                                      + + final + def + + + ==(arg0: Any): Boolean + +

                                                                      + + Permalink + + +
                                                                      Definition Classes
                                                                      AnyRef → Any
                                                                      +
                                                                    4. + + +

                                                                      + + final + def + + + asInstanceOf[T0]: T0 + +

                                                                      + + Permalink + + +
                                                                      Definition Classes
                                                                      Any
                                                                      +
                                                                    5. + + +

                                                                      + + + def + + + clone(): AnyRef + +

                                                                      + + Permalink + + +
                                                                      Attributes
                                                                      protected[java.lang]
                                                                      Definition Classes
                                                                      AnyRef
                                                                      Annotations
                                                                      + @throws( + + ... + ) + +
                                                                      +
                                                                    6. + + +

                                                                      + + + def + + + convertColumntoArray(src: DataFrame, columnName: String): Array[String] + +

                                                                      + + Permalink + + +

                                                                      Converts all the contents of a specific column to the array of string.

                                                                      Converts all the contents of a specific column to the array of string. +

                                                                      src

                                                                      the dataframe

                                                                      columnName

                                                                      the column name

                                                                      returns

                                                                      Array[String] the number of equivalence classes

                                                                      +
                                                                    7. + + +

                                                                      + + final + def + + + eq(arg0: AnyRef): Boolean + +

                                                                      + + Permalink + + +
                                                                      Definition Classes
                                                                      AnyRef
                                                                      +
                                                                    8. + + +

                                                                      + + + def + + + equals(arg0: Any): Boolean + +

                                                                      + + Permalink + + +
                                                                      Definition Classes
                                                                      AnyRef → Any
                                                                      +
                                                                    9. + + +

                                                                      + + + def + + + finalize(): Unit + +

                                                                      + + Permalink + + +
                                                                      Attributes
                                                                      protected[java.lang]
                                                                      Definition Classes
                                                                      AnyRef
                                                                      Annotations
                                                                      + @throws( + + classOf[java.lang.Throwable] + ) + +
                                                                      +
                                                                    10. + + +

                                                                      + + final + def + + + getClass(): Class[_] + +

                                                                      + + Permalink + + +
                                                                      Definition Classes
                                                                      AnyRef → Any
                                                                      +
                                                                    11. + + +

                                                                      + + + def + + + getNumEquivalence(src: DataFrame, columnNames: Array[String]): Double + +

                                                                      + + Permalink + + +

                                                                      Gets the number of the equivalence class which is composed of referring +to the columns of quasi-identifiers.

                                                                      Gets the number of the equivalence class which is composed of referring +to the columns of quasi-identifiers. +

                                                                      src

                                                                      the dataframe

                                                                      columnNames

                                                                      the array of quasi-identifier columns

                                                                      returns

                                                                      Long the number of equivalence classes

                                                                      +
                                                                    12. + + +

                                                                      + + + def + + + hashCode(): Int + +

                                                                      + + Permalink + + +
                                                                      Definition Classes
                                                                      AnyRef → Any
                                                                      +
                                                                    13. + + +

                                                                      + + final + def + + + isInstanceOf[T0]: Boolean + +

                                                                      + + Permalink + + +
                                                                      Definition Classes
                                                                      Any
                                                                      +
                                                                    14. + + +

                                                                      + + + def + + + lossMeasure(src: DataFrame, anonymizedSrc: DataFrame, columnNames: Array[String]): InformationLossBound + +

                                                                      + + Permalink + + +

                                                                      Measures the information loss of anonymized data compared to the original data.

                                                                      Measures the information loss of anonymized data compared to the original data. +

                                                                      src

                                                                      the dataframe

                                                                      anonymizedSrc

                                                                      the anonymized dataframe

                                                                      columnNames

                                                                      the array of column names

                                                                      returns

                                                                      InformationLossBound the measured information loss bound

                                                                      +
                                                                    15. + + +

                                                                      + + final + def + + + ne(arg0: AnyRef): Boolean + +

                                                                      + + Permalink + + +
                                                                      Definition Classes
                                                                      AnyRef
                                                                      +
                                                                    16. + + +

                                                                      + + final + def + + + notify(): Unit + +

                                                                      + + Permalink + + +
                                                                      Definition Classes
                                                                      AnyRef
                                                                      +
                                                                    17. + + +

                                                                      + + final + def + + + notifyAll(): Unit + +

                                                                      + + Permalink + + +
                                                                      Definition Classes
                                                                      AnyRef
                                                                      +
                                                                    18. + + +

                                                                      + + final + def + + + synchronized[T0](arg0: ⇒ T0): T0 + +

                                                                      + + Permalink + + +
                                                                      Definition Classes
                                                                      AnyRef
                                                                      +
                                                                    19. + + +

                                                                      + + + def + + + toString(): String + +

                                                                      + + Permalink + + +
                                                                      Definition Classes
                                                                      AnyRef → Any
                                                                      +
                                                                    20. + + +

                                                                      + + final + def + + + wait(): Unit + +

                                                                      + + Permalink + + +
                                                                      Definition Classes
                                                                      AnyRef
                                                                      Annotations
                                                                      + @throws( + + ... + ) + +
                                                                      +
                                                                    21. + + +

                                                                      + + final + def + + + wait(arg0: Long, arg1: Int): Unit + +

                                                                      + + Permalink + + +
                                                                      Definition Classes
                                                                      AnyRef
                                                                      Annotations
                                                                      + @throws( + + ... + ) + +
                                                                      +
                                                                    22. + + +

                                                                      + + final + def + + + wait(arg0: Long): Unit + +

                                                                      + + Permalink + + +
                                                                      Definition Classes
                                                                      AnyRef
                                                                      Annotations
                                                                      + @throws( + + ... + ) + +
                                                                      +
                                                                    +
                                                                    + + + + +
                                                                    + +
                                                                    +
                                                                    +

                                                                    Inherited from Serializable

                                                                    +
                                                                    +

                                                                    Inherited from Serializable

                                                                    +
                                                                    +

                                                                    Inherited from AnyRef

                                                                    +
                                                                    +

                                                                    Inherited from Any

                                                                    +
                                                                    + +
                                                                    + +
                                                                    +
                                                                    +

                                                                    Ungrouped

                                                                    + +
                                                                    +
                                                                    + +
                                                                    + +
                                                                    + + + + + + diff --git a/manual1903/api_reference/didentification/scaladocs/ksb/csle/didentification/verification/loss/package.html b/manual1903/api_reference/didentification/scaladocs/ksb/csle/didentification/verification/loss/package.html new file mode 100644 index 0000000000000000000000000000000000000000..46c2a6261bb3f705e557a865f84c5f298ebc87c6 --- /dev/null +++ b/manual1903/api_reference/didentification/scaladocs/ksb/csle/didentification/verification/loss/package.html @@ -0,0 +1,323 @@ + + + + loss - KSB DEIDENTIFICATION Scala App Project 1.0-SNAPSHOT API - ksb.csle.didentification.verification.loss + + + + + + + + + + + + + + + + + +

                                                                    + + + package + + + loss + +

                                                                    + +
                                                                    + Linear Supertypes +
                                                                    AnyRef, Any
                                                                    +
                                                                    + + +
                                                                    +
                                                                    +
                                                                    + Ordering +
                                                                      + +
                                                                    1. Alphabetic
                                                                    2. +
                                                                    3. By Inheritance
                                                                    4. +
                                                                    +
                                                                    +
                                                                    + Inherited
                                                                    +
                                                                    +
                                                                      +
                                                                    1. loss
                                                                    2. AnyRef
                                                                    3. Any
                                                                    4. +
                                                                    +
                                                                    + +
                                                                      +
                                                                    1. Hide All
                                                                    2. +
                                                                    3. Show All
                                                                    4. +
                                                                    +
                                                                    +
                                                                    + Visibility +
                                                                    1. Public
                                                                    2. All
                                                                    +
                                                                    +
                                                                    + +
                                                                    +
                                                                    + + +
                                                                    +

                                                                    Type Members

                                                                    +
                                                                    1. + + +

                                                                      + + + class + + + AECSLoss extends InformationLoss + +

                                                                      + + Permalink + + +

                                                                      This class implements the loss measure method named the AECS (Average +Equivalence Class Size).

                                                                      +
                                                                    2. + + +

                                                                      + + + class + + + CardinalityLoss extends InformationLoss + +

                                                                      + + Permalink + + +

                                                                      This class implements the loss measure method named as the cardinality +loss which measures the loss based on cardinality of a column.

                                                                      +
                                                                    3. + + +

                                                                      + + + class + + + DMLoss extends InformationLoss + +

                                                                      + + Permalink + + +

                                                                      This class implements the loss measure method named the DM (Discern Metrics).

                                                                      +
                                                                    4. + + +

                                                                      + + + class + + + EquivalenceLoss extends InformationLoss + +

                                                                      + + Permalink + + +

                                                                      This class implements the loss measure method named as Euqivalence Loss.

                                                                      +
                                                                    5. + + +

                                                                      + + + class + + + HierarchicalTreeLoss extends InformationLoss + +

                                                                      + + Permalink + + +

                                                                      This class implements the loss measure method named as hierarchical tree loss.

                                                                      This class implements the loss measure method named as hierarchical tree loss. +To Be Modified for future +

                                                                      +
                                                                    6. + + +

                                                                      + + abstract + class + + + InformationLoss extends Serializable + +

                                                                      + + Permalink + + +

                                                                      This abstract class defines some functions for measuring information loss.

                                                                      This abstract class defines some functions for measuring information loss. +To Be Modified for future +

                                                                      +
                                                                    +
                                                                    + + + +
                                                                    +

                                                                    Value Members

                                                                    +
                                                                    1. + + +

                                                                      + + + object + + + AECSLoss extends Serializable + +

                                                                      + + Permalink + + + +
                                                                    2. + + +

                                                                      + + + object + + + CardinalityLoss extends Serializable + +

                                                                      + + Permalink + + + +
                                                                    3. + + +

                                                                      + + + object + + + DMLoss extends Serializable + +

                                                                      + + Permalink + + + +
                                                                    4. + + +

                                                                      + + + object + + + EquivalenceLoss extends Serializable + +

                                                                      + + Permalink + + + +
                                                                    5. + + +

                                                                      + + + object + + + HierarchicalTreeLoss extends Serializable + +

                                                                      + + Permalink + + + +
                                                                    +
                                                                    + + + + +
                                                                    + +
                                                                    +
                                                                    +

                                                                    Inherited from AnyRef

                                                                    +
                                                                    +

                                                                    Inherited from Any

                                                                    +
                                                                    + +
                                                                    + +
                                                                    +
                                                                    +

                                                                    Ungrouped

                                                                    + +
                                                                    +
                                                                    + +
                                                                    + +
                                                                    + + + + + + diff --git a/manual1903/api_reference/didentification/scaladocs/ksb/csle/didentification/verification/package.html b/manual1903/api_reference/didentification/scaladocs/ksb/csle/didentification/verification/package.html new file mode 100644 index 0000000000000000000000000000000000000000..1bca906e8450287fa67a4cbde0b20ce824fc76fe --- /dev/null +++ b/manual1903/api_reference/didentification/scaladocs/ksb/csle/didentification/verification/package.html @@ -0,0 +1,215 @@ + + + + verification - KSB DEIDENTIFICATION Scala App Project 1.0-SNAPSHOT API - ksb.csle.didentification.verification + + + + + + + + + + + + + + + +
                                                                    + Package +

                                                                    ksb.csle.didentification

                                                                    +

                                                                    verification

                                                                    + + Permalink + + +
                                                                    + +

                                                                    + + + package + + + verification + +

                                                                    + +
                                                                    + Linear Supertypes +
                                                                    AnyRef, Any
                                                                    +
                                                                    + + +
                                                                    +
                                                                    +
                                                                    + Ordering +
                                                                      + +
                                                                    1. Alphabetic
                                                                    2. +
                                                                    3. By Inheritance
                                                                    4. +
                                                                    +
                                                                    +
                                                                    + Inherited
                                                                    +
                                                                    +
                                                                      +
                                                                    1. verification
                                                                    2. AnyRef
                                                                    3. Any
                                                                    4. +
                                                                    +
                                                                    + +
                                                                      +
                                                                    1. Hide All
                                                                    2. +
                                                                    3. Show All
                                                                    4. +
                                                                    +
                                                                    +
                                                                    + Visibility +
                                                                    1. Public
                                                                    2. All
                                                                    +
                                                                    +
                                                                    + +
                                                                    +
                                                                    + + +
                                                                    +

                                                                    Type Members

                                                                    +
                                                                    1. + + +

                                                                      + + + class + + + Verification extends DataFrameCheck + +

                                                                      + + Permalink + + + +
                                                                    +
                                                                    + + + +
                                                                    +

                                                                    Value Members

                                                                    +
                                                                    1. + + +

                                                                      + + + object + + + Verification + +

                                                                      + + Permalink + + + +
                                                                    2. + + +

                                                                      + + + package + + + check + +

                                                                      + + Permalink + + + +
                                                                    3. + + +

                                                                      + + + package + + + loss + +

                                                                      + + Permalink + + + +
                                                                    4. + + +

                                                                      + + + package + + + risk + +

                                                                      + + Permalink + + + +
                                                                    +
                                                                    + + + + +
                                                                    + +
                                                                    +
                                                                    +

                                                                    Inherited from AnyRef

                                                                    +
                                                                    +

                                                                    Inherited from Any

                                                                    +
                                                                    + +
                                                                    + +
                                                                    +
                                                                    +

                                                                    Ungrouped

                                                                    + +
                                                                    +
                                                                    + +
                                                                    + +
                                                                    + + + + + + diff --git a/manual1903/api_reference/didentification/scaladocs/ksb/csle/didentification/verification/risk/GlobalRiskMeasure$.html b/manual1903/api_reference/didentification/scaladocs/ksb/csle/didentification/verification/risk/GlobalRiskMeasure$.html new file mode 100644 index 0000000000000000000000000000000000000000..2c4421369f3e056f0a0f7dd9ab40ecc0d9b80a86 --- /dev/null +++ b/manual1903/api_reference/didentification/scaladocs/ksb/csle/didentification/verification/risk/GlobalRiskMeasure$.html @@ -0,0 +1,505 @@ + + + + GlobalRiskMeasure - KSB DEIDENTIFICATION Scala App Project 1.0-SNAPSHOT API - ksb.csle.didentification.verification.risk.GlobalRiskMeasure + + + + + + + + + + + + + + + + + +

                                                                    + + + object + + + GlobalRiskMeasure extends Serializable + +

                                                                    + +
                                                                    + Linear Supertypes +
                                                                    Serializable, Serializable, AnyRef, Any
                                                                    +
                                                                    + + +
                                                                    +
                                                                    +
                                                                    + Ordering +
                                                                      + +
                                                                    1. Alphabetic
                                                                    2. +
                                                                    3. By Inheritance
                                                                    4. +
                                                                    +
                                                                    +
                                                                    + Inherited
                                                                    +
                                                                    +
                                                                      +
                                                                    1. GlobalRiskMeasure
                                                                    2. Serializable
                                                                    3. Serializable
                                                                    4. AnyRef
                                                                    5. Any
                                                                    6. +
                                                                    +
                                                                    + +
                                                                      +
                                                                    1. Hide All
                                                                    2. +
                                                                    3. Show All
                                                                    4. +
                                                                    +
                                                                    +
                                                                    + Visibility +
                                                                    1. Public
                                                                    2. All
                                                                    +
                                                                    +
                                                                    + +
                                                                    +
                                                                    + + + + + + +
                                                                    +

                                                                    Value Members

                                                                    +
                                                                    1. + + +

                                                                      + + final + def + + + !=(arg0: Any): Boolean + +

                                                                      + + Permalink + + +
                                                                      Definition Classes
                                                                      AnyRef → Any
                                                                      +
                                                                    2. + + +

                                                                      + + final + def + + + ##(): Int + +

                                                                      + + Permalink + + +
                                                                      Definition Classes
                                                                      AnyRef → Any
                                                                      +
                                                                    3. + + +

                                                                      + + final + def + + + ==(arg0: Any): Boolean + +

                                                                      + + Permalink + + +
                                                                      Definition Classes
                                                                      AnyRef → Any
                                                                      +
                                                                    4. + + +

                                                                      + + + def + + + apply(): GlobalRiskMeasure + +

                                                                      + + Permalink + + + +
                                                                    5. + + +

                                                                      + + final + def + + + asInstanceOf[T0]: T0 + +

                                                                      + + Permalink + + +
                                                                      Definition Classes
                                                                      Any
                                                                      +
                                                                    6. + + +

                                                                      + + + def + + + clone(): AnyRef + +

                                                                      + + Permalink + + +
                                                                      Attributes
                                                                      protected[java.lang]
                                                                      Definition Classes
                                                                      AnyRef
                                                                      Annotations
                                                                      + @throws( + + ... + ) + +
                                                                      +
                                                                    7. + + +

                                                                      + + final + def + + + eq(arg0: AnyRef): Boolean + +

                                                                      + + Permalink + + +
                                                                      Definition Classes
                                                                      AnyRef
                                                                      +
                                                                    8. + + +

                                                                      + + + def + + + equals(arg0: Any): Boolean + +

                                                                      + + Permalink + + +
                                                                      Definition Classes
                                                                      AnyRef → Any
                                                                      +
                                                                    9. + + +

                                                                      + + + def + + + finalize(): Unit + +

                                                                      + + Permalink + + +
                                                                      Attributes
                                                                      protected[java.lang]
                                                                      Definition Classes
                                                                      AnyRef
                                                                      Annotations
                                                                      + @throws( + + classOf[java.lang.Throwable] + ) + +
                                                                      +
                                                                    10. + + +

                                                                      + + final + def + + + getClass(): Class[_] + +

                                                                      + + Permalink + + +
                                                                      Definition Classes
                                                                      AnyRef → Any
                                                                      +
                                                                    11. + + +

                                                                      + + + def + + + hashCode(): Int + +

                                                                      + + Permalink + + +
                                                                      Definition Classes
                                                                      AnyRef → Any
                                                                      +
                                                                    12. + + +

                                                                      + + final + def + + + isInstanceOf[T0]: Boolean + +

                                                                      + + Permalink + + +
                                                                      Definition Classes
                                                                      Any
                                                                      +
                                                                    13. + + +

                                                                      + + final + def + + + ne(arg0: AnyRef): Boolean + +

                                                                      + + Permalink + + +
                                                                      Definition Classes
                                                                      AnyRef
                                                                      +
                                                                    14. + + +

                                                                      + + final + def + + + notify(): Unit + +

                                                                      + + Permalink + + +
                                                                      Definition Classes
                                                                      AnyRef
                                                                      +
                                                                    15. + + +

                                                                      + + final + def + + + notifyAll(): Unit + +

                                                                      + + Permalink + + +
                                                                      Definition Classes
                                                                      AnyRef
                                                                      +
                                                                    16. + + +

                                                                      + + final + def + + + synchronized[T0](arg0: ⇒ T0): T0 + +

                                                                      + + Permalink + + +
                                                                      Definition Classes
                                                                      AnyRef
                                                                      +
                                                                    17. + + +

                                                                      + + + def + + + toString(): String + +

                                                                      + + Permalink + + +
                                                                      Definition Classes
                                                                      AnyRef → Any
                                                                      +
                                                                    18. + + +

                                                                      + + final + def + + + wait(): Unit + +

                                                                      + + Permalink + + +
                                                                      Definition Classes
                                                                      AnyRef
                                                                      Annotations
                                                                      + @throws( + + ... + ) + +
                                                                      +
                                                                    19. + + +

                                                                      + + final + def + + + wait(arg0: Long, arg1: Int): Unit + +

                                                                      + + Permalink + + +
                                                                      Definition Classes
                                                                      AnyRef
                                                                      Annotations
                                                                      + @throws( + + ... + ) + +
                                                                      +
                                                                    20. + + +

                                                                      + + final + def + + + wait(arg0: Long): Unit + +

                                                                      + + Permalink + + +
                                                                      Definition Classes
                                                                      AnyRef
                                                                      Annotations
                                                                      + @throws( + + ... + ) + +
                                                                      +
                                                                    +
                                                                    + + + + +
                                                                    + +
                                                                    +
                                                                    +

                                                                    Inherited from Serializable

                                                                    +
                                                                    +

                                                                    Inherited from Serializable

                                                                    +
                                                                    +

                                                                    Inherited from AnyRef

                                                                    +
                                                                    +

                                                                    Inherited from Any

                                                                    +
                                                                    + +
                                                                    + +
                                                                    +
                                                                    +

                                                                    Ungrouped

                                                                    + +
                                                                    +
                                                                    + +
                                                                    + +
                                                                    + + + + + + diff --git a/manual1903/api_reference/didentification/scaladocs/ksb/csle/didentification/verification/risk/GlobalRiskMeasure.html b/manual1903/api_reference/didentification/scaladocs/ksb/csle/didentification/verification/risk/GlobalRiskMeasure.html new file mode 100644 index 0000000000000000000000000000000000000000..350c15b6326409c6928810c18ff06a16e6f80e13 --- /dev/null +++ b/manual1903/api_reference/didentification/scaladocs/ksb/csle/didentification/verification/risk/GlobalRiskMeasure.html @@ -0,0 +1,550 @@ + + + + GlobalRiskMeasure - KSB DEIDENTIFICATION Scala App Project 1.0-SNAPSHOT API - ksb.csle.didentification.verification.risk.GlobalRiskMeasure + + + + + + + + + + + + + + + + + +

                                                                    + + + class + + + GlobalRiskMeasure extends ReIdentificationRisk + +

                                                                    + +

                                                                    This class measures the re-identification risk of the given data frame +on the basis of the sample uniqueness method. +

                                                                    + Linear Supertypes +
                                                                    ReIdentificationRisk, Serializable, Serializable, AnyRef, Any
                                                                    +
                                                                    + + +
                                                                    +
                                                                    +
                                                                    + Ordering +
                                                                      + +
                                                                    1. Alphabetic
                                                                    2. +
                                                                    3. By Inheritance
                                                                    4. +
                                                                    +
                                                                    +
                                                                    + Inherited
                                                                    +
                                                                    +
                                                                      +
                                                                    1. GlobalRiskMeasure
                                                                    2. ReIdentificationRisk
                                                                    3. Serializable
                                                                    4. Serializable
                                                                    5. AnyRef
                                                                    6. Any
                                                                    7. +
                                                                    +
                                                                    + +
                                                                      +
                                                                    1. Hide All
                                                                    2. +
                                                                    3. Show All
                                                                    4. +
                                                                    +
                                                                    +
                                                                    + Visibility +
                                                                    1. Public
                                                                    2. All
                                                                    +
                                                                    +
                                                                    + +
                                                                    +
                                                                    +
                                                                    +

                                                                    Instance Constructors

                                                                    +
                                                                    1. + + +

                                                                      + + + new + + + GlobalRiskMeasure() + +

                                                                      + + Permalink + + + +
                                                                    +
                                                                    + + + + + +
                                                                    +

                                                                    Value Members

                                                                    +
                                                                    1. + + +

                                                                      + + final + def + + + !=(arg0: Any): Boolean + +

                                                                      + + Permalink + + +
                                                                      Definition Classes
                                                                      AnyRef → Any
                                                                      +
                                                                    2. + + +

                                                                      + + final + def + + + ##(): Int + +

                                                                      + + Permalink + + +
                                                                      Definition Classes
                                                                      AnyRef → Any
                                                                      +
                                                                    3. + + +

                                                                      + + final + def + + + ==(arg0: Any): Boolean + +

                                                                      + + Permalink + + +
                                                                      Definition Classes
                                                                      AnyRef → Any
                                                                      +
                                                                    4. + + +

                                                                      + + final + def + + + asInstanceOf[T0]: T0 + +

                                                                      + + Permalink + + +
                                                                      Definition Classes
                                                                      Any
                                                                      +
                                                                    5. + + +

                                                                      + + + def + + + clone(): AnyRef + +

                                                                      + + Permalink + + +
                                                                      Attributes
                                                                      protected[java.lang]
                                                                      Definition Classes
                                                                      AnyRef
                                                                      Annotations
                                                                      + @throws( + + ... + ) + +
                                                                      +
                                                                    6. + + +

                                                                      + + final + def + + + eq(arg0: AnyRef): Boolean + +

                                                                      + + Permalink + + +
                                                                      Definition Classes
                                                                      AnyRef
                                                                      +
                                                                    7. + + +

                                                                      + + + def + + + equals(arg0: Any): Boolean + +

                                                                      + + Permalink + + +
                                                                      Definition Classes
                                                                      AnyRef → Any
                                                                      +
                                                                    8. + + +

                                                                      + + + def + + + finalize(): Unit + +

                                                                      + + Permalink + + +
                                                                      Attributes
                                                                      protected[java.lang]
                                                                      Definition Classes
                                                                      AnyRef
                                                                      Annotations
                                                                      + @throws( + + classOf[java.lang.Throwable] + ) + +
                                                                      +
                                                                    9. + + +

                                                                      + + final + def + + + getClass(): Class[_] + +

                                                                      + + Permalink + + +
                                                                      Definition Classes
                                                                      AnyRef → Any
                                                                      +
                                                                    10. + + +

                                                                      + + + def + + + hashCode(): Int + +

                                                                      + + Permalink + + +
                                                                      Definition Classes
                                                                      AnyRef → Any
                                                                      +
                                                                    11. + + +

                                                                      + + final + def + + + isInstanceOf[T0]: Boolean + +

                                                                      + + Permalink + + +
                                                                      Definition Classes
                                                                      Any
                                                                      +
                                                                    12. + + +

                                                                      + + + def + + + makeListofIndividualRisk(src: DataFrame, columnNames: Array[String]): Map[List[Any], Long] + +

                                                                      + + Permalink + + +

                                                                      Makes the list of the risk for all individuals +

                                                                      Makes the list of the risk for all individuals +

                                                                      src

                                                                      given Dataframe

                                                                      returns

                                                                      DataFrame

                                                                      Definition Classes
                                                                      ReIdentificationRisk
                                                                      +
                                                                    13. + + +

                                                                      + + final + def + + + ne(arg0: AnyRef): Boolean + +

                                                                      + + Permalink + + +
                                                                      Definition Classes
                                                                      AnyRef
                                                                      +
                                                                    14. + + +

                                                                      + + final + def + + + notify(): Unit + +

                                                                      + + Permalink + + +
                                                                      Definition Classes
                                                                      AnyRef
                                                                      +
                                                                    15. + + +

                                                                      + + final + def + + + notifyAll(): Unit + +

                                                                      + + Permalink + + +
                                                                      Definition Classes
                                                                      AnyRef
                                                                      +
                                                                    16. + + +

                                                                      + + + def + + + riskMeasure(src: DataFrame, columnNames: Array[String]): Double + +

                                                                      + + Permalink + + +

                                                                      Measures the re-identification risks based on the sample uniqueness.

                                                                      Measures the re-identification risks based on the sample uniqueness. +

                                                                      src

                                                                      the dataframe to measure the risk

                                                                      columnNames

                                                                      the array of column names of quasi-identifiers. The +combination key is made by cross-tabulating these variables.

                                                                      returns

                                                                      Double the measured re-identification risk

                                                                      Definition Classes
                                                                      GlobalRiskMeasureReIdentificationRisk
                                                                      +
                                                                    17. + + +

                                                                      + + final + def + + + synchronized[T0](arg0: ⇒ T0): T0 + +

                                                                      + + Permalink + + +
                                                                      Definition Classes
                                                                      AnyRef
                                                                      +
                                                                    18. + + +

                                                                      + + + def + + + toString(): String + +

                                                                      + + Permalink + + +
                                                                      Definition Classes
                                                                      AnyRef → Any
                                                                      +
                                                                    19. + + +

                                                                      + + final + def + + + wait(): Unit + +

                                                                      + + Permalink + + +
                                                                      Definition Classes
                                                                      AnyRef
                                                                      Annotations
                                                                      + @throws( + + ... + ) + +
                                                                      +
                                                                    20. + + +

                                                                      + + final + def + + + wait(arg0: Long, arg1: Int): Unit + +

                                                                      + + Permalink + + +
                                                                      Definition Classes
                                                                      AnyRef
                                                                      Annotations
                                                                      + @throws( + + ... + ) + +
                                                                      +
                                                                    21. + + +

                                                                      + + final + def + + + wait(arg0: Long): Unit + +

                                                                      + + Permalink + + +
                                                                      Definition Classes
                                                                      AnyRef
                                                                      Annotations
                                                                      + @throws( + + ... + ) + +
                                                                      +
                                                                    +
                                                                    + + + + +
                                                                    + +
                                                                    +
                                                                    +

                                                                    Inherited from ReIdentificationRisk

                                                                    +
                                                                    +

                                                                    Inherited from Serializable

                                                                    +
                                                                    +

                                                                    Inherited from Serializable

                                                                    +
                                                                    +

                                                                    Inherited from AnyRef

                                                                    +
                                                                    +

                                                                    Inherited from Any

                                                                    +
                                                                    + +
                                                                    + +
                                                                    +
                                                                    +

                                                                    Ungrouped

                                                                    + +
                                                                    +
                                                                    + +
                                                                    + +
                                                                    + + + + + + diff --git a/manual1903/api_reference/didentification/scaladocs/ksb/csle/didentification/verification/risk/ReIdentificationRisk$.html b/manual1903/api_reference/didentification/scaladocs/ksb/csle/didentification/verification/risk/ReIdentificationRisk$.html new file mode 100644 index 0000000000000000000000000000000000000000..7c7f47a01f3b724b447976f1086823f85fe3aed8 --- /dev/null +++ b/manual1903/api_reference/didentification/scaladocs/ksb/csle/didentification/verification/risk/ReIdentificationRisk$.html @@ -0,0 +1,505 @@ + + + + ReIdentificationRisk - KSB DEIDENTIFICATION Scala App Project 1.0-SNAPSHOT API - ksb.csle.didentification.verification.risk.ReIdentificationRisk + + + + + + + + + + + + + + + + + +

                                                                    + + + object + + + ReIdentificationRisk extends Serializable + +

                                                                    + +
                                                                    + Linear Supertypes +
                                                                    Serializable, Serializable, AnyRef, Any
                                                                    +
                                                                    + + +
                                                                    +
                                                                    +
                                                                    + Ordering +
                                                                      + +
                                                                    1. Alphabetic
                                                                    2. +
                                                                    3. By Inheritance
                                                                    4. +
                                                                    +
                                                                    +
                                                                    + Inherited
                                                                    +
                                                                    +
                                                                      +
                                                                    1. ReIdentificationRisk
                                                                    2. Serializable
                                                                    3. Serializable
                                                                    4. AnyRef
                                                                    5. Any
                                                                    6. +
                                                                    +
                                                                    + +
                                                                      +
                                                                    1. Hide All
                                                                    2. +
                                                                    3. Show All
                                                                    4. +
                                                                    +
                                                                    +
                                                                    + Visibility +
                                                                    1. Public
                                                                    2. All
                                                                    +
                                                                    +
                                                                    + +
                                                                    +
                                                                    + + + + + + +
                                                                    +

                                                                    Value Members

                                                                    +
                                                                    1. + + +

                                                                      + + final + def + + + !=(arg0: Any): Boolean + +

                                                                      + + Permalink + + +
                                                                      Definition Classes
                                                                      AnyRef → Any
                                                                      +
                                                                    2. + + +

                                                                      + + final + def + + + ##(): Int + +

                                                                      + + Permalink + + +
                                                                      Definition Classes
                                                                      AnyRef → Any
                                                                      +
                                                                    3. + + +

                                                                      + + final + def + + + ==(arg0: Any): Boolean + +

                                                                      + + Permalink + + +
                                                                      Definition Classes
                                                                      AnyRef → Any
                                                                      +
                                                                    4. + + +

                                                                      + + + def + + + apply(): ReIdentificationRisk + +

                                                                      + + Permalink + + + +
                                                                    5. + + +

                                                                      + + final + def + + + asInstanceOf[T0]: T0 + +

                                                                      + + Permalink + + +
                                                                      Definition Classes
                                                                      Any
                                                                      +
                                                                    6. + + +

                                                                      + + + def + + + clone(): AnyRef + +

                                                                      + + Permalink + + +
                                                                      Attributes
                                                                      protected[java.lang]
                                                                      Definition Classes
                                                                      AnyRef
                                                                      Annotations
                                                                      + @throws( + + ... + ) + +
                                                                      +
                                                                    7. + + +

                                                                      + + final + def + + + eq(arg0: AnyRef): Boolean + +

                                                                      + + Permalink + + +
                                                                      Definition Classes
                                                                      AnyRef
                                                                      +
                                                                    8. + + +

                                                                      + + + def + + + equals(arg0: Any): Boolean + +

                                                                      + + Permalink + + +
                                                                      Definition Classes
                                                                      AnyRef → Any
                                                                      +
                                                                    9. + + +

                                                                      + + + def + + + finalize(): Unit + +

                                                                      + + Permalink + + +
                                                                      Attributes
                                                                      protected[java.lang]
                                                                      Definition Classes
                                                                      AnyRef
                                                                      Annotations
                                                                      + @throws( + + classOf[java.lang.Throwable] + ) + +
                                                                      +
                                                                    10. + + +

                                                                      + + final + def + + + getClass(): Class[_] + +

                                                                      + + Permalink + + +
                                                                      Definition Classes
                                                                      AnyRef → Any
                                                                      +
                                                                    11. + + +

                                                                      + + + def + + + hashCode(): Int + +

                                                                      + + Permalink + + +
                                                                      Definition Classes
                                                                      AnyRef → Any
                                                                      +
                                                                    12. + + +

                                                                      + + final + def + + + isInstanceOf[T0]: Boolean + +

                                                                      + + Permalink + + +
                                                                      Definition Classes
                                                                      Any
                                                                      +
                                                                    13. + + +

                                                                      + + final + def + + + ne(arg0: AnyRef): Boolean + +

                                                                      + + Permalink + + +
                                                                      Definition Classes
                                                                      AnyRef
                                                                      +
                                                                    14. + + +

                                                                      + + final + def + + + notify(): Unit + +

                                                                      + + Permalink + + +
                                                                      Definition Classes
                                                                      AnyRef
                                                                      +
                                                                    15. + + +

                                                                      + + final + def + + + notifyAll(): Unit + +

                                                                      + + Permalink + + +
                                                                      Definition Classes
                                                                      AnyRef
                                                                      +
                                                                    16. + + +

                                                                      + + final + def + + + synchronized[T0](arg0: ⇒ T0): T0 + +

                                                                      + + Permalink + + +
                                                                      Definition Classes
                                                                      AnyRef
                                                                      +
                                                                    17. + + +

                                                                      + + + def + + + toString(): String + +

                                                                      + + Permalink + + +
                                                                      Definition Classes
                                                                      AnyRef → Any
                                                                      +
                                                                    18. + + +

                                                                      + + final + def + + + wait(): Unit + +

                                                                      + + Permalink + + +
                                                                      Definition Classes
                                                                      AnyRef
                                                                      Annotations
                                                                      + @throws( + + ... + ) + +
                                                                      +
                                                                    19. + + +

                                                                      + + final + def + + + wait(arg0: Long, arg1: Int): Unit + +

                                                                      + + Permalink + + +
                                                                      Definition Classes
                                                                      AnyRef
                                                                      Annotations
                                                                      + @throws( + + ... + ) + +
                                                                      +
                                                                    20. + + +

                                                                      + + final + def + + + wait(arg0: Long): Unit + +

                                                                      + + Permalink + + +
                                                                      Definition Classes
                                                                      AnyRef
                                                                      Annotations
                                                                      + @throws( + + ... + ) + +
                                                                      +
                                                                    +
                                                                    + + + + +
                                                                    + +
                                                                    +
                                                                    +

                                                                    Inherited from Serializable

                                                                    +
                                                                    +

                                                                    Inherited from Serializable

                                                                    +
                                                                    +

                                                                    Inherited from AnyRef

                                                                    +
                                                                    +

                                                                    Inherited from Any

                                                                    +
                                                                    + +
                                                                    + +
                                                                    +
                                                                    +

                                                                    Ungrouped

                                                                    + +
                                                                    +
                                                                    + +
                                                                    + +
                                                                    + + + + + + diff --git a/manual1903/api_reference/didentification/scaladocs/ksb/csle/didentification/verification/risk/ReIdentificationRisk.html b/manual1903/api_reference/didentification/scaladocs/ksb/csle/didentification/verification/risk/ReIdentificationRisk.html new file mode 100644 index 0000000000000000000000000000000000000000..8d11c7b20fb3dceb0a1380d84680bebd000a04b5 --- /dev/null +++ b/manual1903/api_reference/didentification/scaladocs/ksb/csle/didentification/verification/risk/ReIdentificationRisk.html @@ -0,0 +1,551 @@ + + + + ReIdentificationRisk - KSB DEIDENTIFICATION Scala App Project 1.0-SNAPSHOT API - ksb.csle.didentification.verification.risk.ReIdentificationRisk + + + + + + + + + + + + + + + + + +

                                                                    + + + class + + + ReIdentificationRisk extends Serializable + +

                                                                    + +

                                                                    This abstract class defines some functions for measuring the re-identification +risk shared by 'sample uniqueness', 'population uniqueness', 'attribute risk' +and other re-identification measuring methods. +To Be Defined for future +

                                                                    + Linear Supertypes +
                                                                    Serializable, Serializable, AnyRef, Any
                                                                    +
                                                                    + Known Subclasses + +
                                                                    + + +
                                                                    +
                                                                    +
                                                                    + Ordering +
                                                                      + +
                                                                    1. Alphabetic
                                                                    2. +
                                                                    3. By Inheritance
                                                                    4. +
                                                                    +
                                                                    +
                                                                    + Inherited
                                                                    +
                                                                    +
                                                                      +
                                                                    1. ReIdentificationRisk
                                                                    2. Serializable
                                                                    3. Serializable
                                                                    4. AnyRef
                                                                    5. Any
                                                                    6. +
                                                                    +
                                                                    + +
                                                                      +
                                                                    1. Hide All
                                                                    2. +
                                                                    3. Show All
                                                                    4. +
                                                                    +
                                                                    +
                                                                    + Visibility +
                                                                    1. Public
                                                                    2. All
                                                                    +
                                                                    +
                                                                    + +
                                                                    +
                                                                    +
                                                                    +

                                                                    Instance Constructors

                                                                    +
                                                                    1. + + +

                                                                      + + + new + + + ReIdentificationRisk() + +

                                                                      + + Permalink + + + +
                                                                    +
                                                                    + + + + + +
                                                                    +

                                                                    Value Members

                                                                    +
                                                                    1. + + +

                                                                      + + final + def + + + !=(arg0: Any): Boolean + +

                                                                      + + Permalink + + +
                                                                      Definition Classes
                                                                      AnyRef → Any
                                                                      +
                                                                    2. + + +

                                                                      + + final + def + + + ##(): Int + +

                                                                      + + Permalink + + +
                                                                      Definition Classes
                                                                      AnyRef → Any
                                                                      +
                                                                    3. + + +

                                                                      + + final + def + + + ==(arg0: Any): Boolean + +

                                                                      + + Permalink + + +
                                                                      Definition Classes
                                                                      AnyRef → Any
                                                                      +
                                                                    4. + + +

                                                                      + + final + def + + + asInstanceOf[T0]: T0 + +

                                                                      + + Permalink + + +
                                                                      Definition Classes
                                                                      Any
                                                                      +
                                                                    5. + + +

                                                                      + + + def + + + clone(): AnyRef + +

                                                                      + + Permalink + + +
                                                                      Attributes
                                                                      protected[java.lang]
                                                                      Definition Classes
                                                                      AnyRef
                                                                      Annotations
                                                                      + @throws( + + ... + ) + +
                                                                      +
                                                                    6. + + +

                                                                      + + final + def + + + eq(arg0: AnyRef): Boolean + +

                                                                      + + Permalink + + +
                                                                      Definition Classes
                                                                      AnyRef
                                                                      +
                                                                    7. + + +

                                                                      + + + def + + + equals(arg0: Any): Boolean + +

                                                                      + + Permalink + + +
                                                                      Definition Classes
                                                                      AnyRef → Any
                                                                      +
                                                                    8. + + +

                                                                      + + + def + + + finalize(): Unit + +

                                                                      + + Permalink + + +
                                                                      Attributes
                                                                      protected[java.lang]
                                                                      Definition Classes
                                                                      AnyRef
                                                                      Annotations
                                                                      + @throws( + + classOf[java.lang.Throwable] + ) + +
                                                                      +
                                                                    9. + + +

                                                                      + + final + def + + + getClass(): Class[_] + +

                                                                      + + Permalink + + +
                                                                      Definition Classes
                                                                      AnyRef → Any
                                                                      +
                                                                    10. + + +

                                                                      + + + def + + + hashCode(): Int + +

                                                                      + + Permalink + + +
                                                                      Definition Classes
                                                                      AnyRef → Any
                                                                      +
                                                                    11. + + +

                                                                      + + final + def + + + isInstanceOf[T0]: Boolean + +

                                                                      + + Permalink + + +
                                                                      Definition Classes
                                                                      Any
                                                                      +
                                                                    12. + + +

                                                                      + + + def + + + makeListofIndividualRisk(src: DataFrame, columnNames: Array[String]): Map[List[Any], Long] + +

                                                                      + + Permalink + + +

                                                                      Makes the list of the risk for all individuals +

                                                                      Makes the list of the risk for all individuals +

                                                                      src

                                                                      given Dataframe

                                                                      returns

                                                                      DataFrame

                                                                      +
                                                                    13. + + +

                                                                      + + final + def + + + ne(arg0: AnyRef): Boolean + +

                                                                      + + Permalink + + +
                                                                      Definition Classes
                                                                      AnyRef
                                                                      +
                                                                    14. + + +

                                                                      + + final + def + + + notify(): Unit + +

                                                                      + + Permalink + + +
                                                                      Definition Classes
                                                                      AnyRef
                                                                      +
                                                                    15. + + +

                                                                      + + final + def + + + notifyAll(): Unit + +

                                                                      + + Permalink + + +
                                                                      Definition Classes
                                                                      AnyRef
                                                                      +
                                                                    16. + + +

                                                                      + + + def + + + riskMeasure(src: DataFrame, columnNames: Array[String]): Double + +

                                                                      + + Permalink + + + +
                                                                    17. + + +

                                                                      + + final + def + + + synchronized[T0](arg0: ⇒ T0): T0 + +

                                                                      + + Permalink + + +
                                                                      Definition Classes
                                                                      AnyRef
                                                                      +
                                                                    18. + + +

                                                                      + + + def + + + toString(): String + +

                                                                      + + Permalink + + +
                                                                      Definition Classes
                                                                      AnyRef → Any
                                                                      +
                                                                    19. + + +

                                                                      + + final + def + + + wait(): Unit + +

                                                                      + + Permalink + + +
                                                                      Definition Classes
                                                                      AnyRef
                                                                      Annotations
                                                                      + @throws( + + ... + ) + +
                                                                      +
                                                                    20. + + +

                                                                      + + final + def + + + wait(arg0: Long, arg1: Int): Unit + +

                                                                      + + Permalink + + +
                                                                      Definition Classes
                                                                      AnyRef
                                                                      Annotations
                                                                      + @throws( + + ... + ) + +
                                                                      +
                                                                    21. + + +

                                                                      + + final + def + + + wait(arg0: Long): Unit + +

                                                                      + + Permalink + + +
                                                                      Definition Classes
                                                                      AnyRef
                                                                      Annotations
                                                                      + @throws( + + ... + ) + +
                                                                      +
                                                                    +
                                                                    + + + + +
                                                                    + +
                                                                    +
                                                                    +

                                                                    Inherited from Serializable

                                                                    +
                                                                    +

                                                                    Inherited from Serializable

                                                                    +
                                                                    +

                                                                    Inherited from AnyRef

                                                                    +
                                                                    +

                                                                    Inherited from Any

                                                                    +
                                                                    + +
                                                                    + +
                                                                    +
                                                                    +

                                                                    Ungrouped

                                                                    + +
                                                                    +
                                                                    + +
                                                                    + +
                                                                    + + + + + + diff --git a/manual1903/api_reference/didentification/scaladocs/ksb/csle/didentification/verification/risk/package.html b/manual1903/api_reference/didentification/scaladocs/ksb/csle/didentification/verification/risk/package.html new file mode 100644 index 0000000000000000000000000000000000000000..51628d650650e420dd1adb5902328ca4217256b0 --- /dev/null +++ b/manual1903/api_reference/didentification/scaladocs/ksb/csle/didentification/verification/risk/package.html @@ -0,0 +1,205 @@ + + + + risk - KSB DEIDENTIFICATION Scala App Project 1.0-SNAPSHOT API - ksb.csle.didentification.verification.risk + + + + + + + + + + + + + + + + + +

                                                                    + + + package + + + risk + +

                                                                    + +
                                                                    + Linear Supertypes +
                                                                    AnyRef, Any
                                                                    +
                                                                    + + +
                                                                    +
                                                                    +
                                                                    + Ordering +
                                                                      + +
                                                                    1. Alphabetic
                                                                    2. +
                                                                    3. By Inheritance
                                                                    4. +
                                                                    +
                                                                    +
                                                                    + Inherited
                                                                    +
                                                                    +
                                                                      +
                                                                    1. risk
                                                                    2. AnyRef
                                                                    3. Any
                                                                    4. +
                                                                    +
                                                                    + +
                                                                      +
                                                                    1. Hide All
                                                                    2. +
                                                                    3. Show All
                                                                    4. +
                                                                    +
                                                                    +
                                                                    + Visibility +
                                                                    1. Public
                                                                    2. All
                                                                    +
                                                                    +
                                                                    + +
                                                                    +
                                                                    + + +
                                                                    +

                                                                    Type Members

                                                                    +
                                                                    1. + + +

                                                                      + + + class + + + GlobalRiskMeasure extends ReIdentificationRisk + +

                                                                      + + Permalink + + +

                                                                      This class measures the re-identification risk of the given data frame +on the basis of the sample uniqueness method.

                                                                      +
                                                                    2. + + +

                                                                      + + + class + + + ReIdentificationRisk extends Serializable + +

                                                                      + + Permalink + + +

                                                                      This abstract class defines some functions for measuring the re-identification +risk shared by 'sample uniqueness', 'population uniqueness', 'attribute risk' +and other re-identification measuring methods.

                                                                      This abstract class defines some functions for measuring the re-identification +risk shared by 'sample uniqueness', 'population uniqueness', 'attribute risk' +and other re-identification measuring methods. +To Be Defined for future +

                                                                      +
                                                                    +
                                                                    + + + +
                                                                    +

                                                                    Value Members

                                                                    +
                                                                    1. + + +

                                                                      + + + object + + + GlobalRiskMeasure extends Serializable + +

                                                                      + + Permalink + + + +
                                                                    2. + + +

                                                                      + + + object + + + ReIdentificationRisk extends Serializable + +

                                                                      + + Permalink + + + +
                                                                    +
                                                                    + + + + +
                                                                    + +
                                                                    +
                                                                    +

                                                                    Inherited from AnyRef

                                                                    +
                                                                    +

                                                                    Inherited from Any

                                                                    +
                                                                    + +
                                                                    + +
                                                                    +
                                                                    +

                                                                    Ungrouped

                                                                    + +
                                                                    +
                                                                    + +
                                                                    + +
                                                                    + + + + + + diff --git a/manual1903/api_reference/didentification/scaladocs/ksb/csle/package.html b/manual1903/api_reference/didentification/scaladocs/ksb/csle/package.html new file mode 100644 index 0000000000000000000000000000000000000000..640b1ddc957965ce4c7af20b2e5ae066811d20ab --- /dev/null +++ b/manual1903/api_reference/didentification/scaladocs/ksb/csle/package.html @@ -0,0 +1,118 @@ + + + + csle - KSB DEIDENTIFICATION Scala App Project 1.0-SNAPSHOT API - ksb.csle + + + + + + + + + + + + + + + +
                                                                    + Package +

                                                                    ksb

                                                                    +

                                                                    csle

                                                                    + + Permalink + + +
                                                                    + +

                                                                    + + + package + + + csle + +

                                                                    + +
                                                                    + + +
                                                                    +
                                                                    + + +
                                                                    + Visibility +
                                                                    1. Public
                                                                    2. All
                                                                    +
                                                                    +
                                                                    + +
                                                                    +
                                                                    + + + + + + +
                                                                    +

                                                                    Value Members

                                                                    +
                                                                    1. + + +

                                                                      + + + package + + + didentification + +

                                                                      + + Permalink + + + +
                                                                    +
                                                                    + + + + +
                                                                    + +
                                                                    + + +
                                                                    + +
                                                                    +
                                                                    +

                                                                    Ungrouped

                                                                    + +
                                                                    +
                                                                    + +
                                                                    + +
                                                                    + + + + + + diff --git a/manual1903/api_reference/didentification/scaladocs/ksb/package.html b/manual1903/api_reference/didentification/scaladocs/ksb/package.html new file mode 100644 index 0000000000000000000000000000000000000000..a935f5d0ac17bb55a1745c7ea779d3e0a0c184ff --- /dev/null +++ b/manual1903/api_reference/didentification/scaladocs/ksb/package.html @@ -0,0 +1,118 @@ + + + + ksb - KSB DEIDENTIFICATION Scala App Project 1.0-SNAPSHOT API - ksb + + + + + + + + + + + + + + + +
                                                                    + Package + +

                                                                    ksb

                                                                    + + Permalink + + +
                                                                    + +

                                                                    + + + package + + + ksb + +

                                                                    + +
                                                                    + + +
                                                                    +
                                                                    + + +
                                                                    + Visibility +
                                                                    1. Public
                                                                    2. All
                                                                    +
                                                                    +
                                                                    + +
                                                                    +
                                                                    + + + + + + +
                                                                    +

                                                                    Value Members

                                                                    +
                                                                    1. + + +

                                                                      + + + package + + + csle + +

                                                                      + + Permalink + + + +
                                                                    +
                                                                    + + + + +
                                                                    + +
                                                                    + + +
                                                                    + +
                                                                    +
                                                                    +

                                                                    Ungrouped

                                                                    + +
                                                                    +
                                                                    + +
                                                                    + +
                                                                    + + + + + + diff --git a/manual1903/api_reference/didentification/scaladocs/lib/arrow-down.png b/manual1903/api_reference/didentification/scaladocs/lib/arrow-down.png new file mode 100644 index 0000000000000000000000000000000000000000..7229603ae5b30ce0e0bd09863543b260085c8f2d Binary files /dev/null and b/manual1903/api_reference/didentification/scaladocs/lib/arrow-down.png differ diff --git a/manual1903/api_reference/didentification/scaladocs/lib/arrow-right.png b/manual1903/api_reference/didentification/scaladocs/lib/arrow-right.png new file mode 100644 index 0000000000000000000000000000000000000000..b2f2935dc9be286841e9ae586a78551ed13617b7 Binary files /dev/null and b/manual1903/api_reference/didentification/scaladocs/lib/arrow-right.png differ diff --git a/manual1903/api_reference/didentification/scaladocs/lib/class.png b/manual1903/api_reference/didentification/scaladocs/lib/class.png new file mode 100644 index 0000000000000000000000000000000000000000..97edbd49db03f5a728c0ce855e6dd30fb869ebb3 Binary files /dev/null and b/manual1903/api_reference/didentification/scaladocs/lib/class.png differ diff --git a/manual1903/api_reference/didentification/scaladocs/lib/class_big.png b/manual1903/api_reference/didentification/scaladocs/lib/class_big.png new file mode 100644 index 0000000000000000000000000000000000000000..cb1f638a585c50456f57b73c4d043c75762ff9a5 Binary files /dev/null and b/manual1903/api_reference/didentification/scaladocs/lib/class_big.png differ diff --git a/manual1903/api_reference/didentification/scaladocs/lib/class_diagram.png b/manual1903/api_reference/didentification/scaladocs/lib/class_diagram.png new file mode 100644 index 0000000000000000000000000000000000000000..9d7aec792bebaea124455ad1918fbf0a7c1fc9a1 Binary files /dev/null and b/manual1903/api_reference/didentification/scaladocs/lib/class_diagram.png differ diff --git a/manual1903/api_reference/didentification/scaladocs/lib/class_to_object_big.png b/manual1903/api_reference/didentification/scaladocs/lib/class_to_object_big.png new file mode 100644 index 0000000000000000000000000000000000000000..5dd6e38d2e24ce832413d1a3e83deac76861f471 Binary files /dev/null and b/manual1903/api_reference/didentification/scaladocs/lib/class_to_object_big.png differ diff --git a/manual1903/api_reference/didentification/scaladocs/lib/constructorsbg.gif b/manual1903/api_reference/didentification/scaladocs/lib/constructorsbg.gif new file mode 100644 index 0000000000000000000000000000000000000000..2e3f5ea53025f68e2636f9c65e5115a3aa1bb581 Binary files /dev/null and b/manual1903/api_reference/didentification/scaladocs/lib/constructorsbg.gif differ diff --git a/manual1903/api_reference/didentification/scaladocs/lib/conversionbg.gif b/manual1903/api_reference/didentification/scaladocs/lib/conversionbg.gif new file mode 100644 index 0000000000000000000000000000000000000000..4be145d0af89d312ff04a6bd6efefd5106fd31ee Binary files /dev/null and b/manual1903/api_reference/didentification/scaladocs/lib/conversionbg.gif differ diff --git a/manual1903/api_reference/didentification/scaladocs/lib/defbg-blue.gif b/manual1903/api_reference/didentification/scaladocs/lib/defbg-blue.gif new file mode 100644 index 0000000000000000000000000000000000000000..69038337a793be5ec04430183980b7e393113ea1 Binary files /dev/null and b/manual1903/api_reference/didentification/scaladocs/lib/defbg-blue.gif differ diff --git a/manual1903/api_reference/didentification/scaladocs/lib/defbg-green.gif b/manual1903/api_reference/didentification/scaladocs/lib/defbg-green.gif new file mode 100644 index 0000000000000000000000000000000000000000..36c43be3a2c67992ce648a7bdf008d818d7fc0b6 Binary files /dev/null and b/manual1903/api_reference/didentification/scaladocs/lib/defbg-green.gif differ diff --git a/manual1903/api_reference/didentification/scaladocs/lib/diagrams.css b/manual1903/api_reference/didentification/scaladocs/lib/diagrams.css new file mode 100644 index 0000000000000000000000000000000000000000..5fe33f72f5bb4f3ad30465f435b72cbb12e639f9 --- /dev/null +++ b/manual1903/api_reference/didentification/scaladocs/lib/diagrams.css @@ -0,0 +1,143 @@ +.diagram-container +{ + display: none; +} + +.diagram +{ + overflow: hidden; + padding-top:15px; +} + +.diagram svg +{ + display: block; + position: absolute; + visibility: hidden; + margin: auto; +} + +.diagram-help +{ + float:right; + display:none; +} + +.magnifying +{ + cursor: -webkit-zoom-in ! important; + cursor: -moz-zoom-in ! important; + cursor: pointer; +} + +#close-link +{ + position: absolute; + z-index: 100; + font-family: Arial, sans-serif; + font-size: 10pt; + text-decoration: underline; + color: #315479; +} + +#close:hover +{ + text-decoration: none; +} + +svg a +{ + cursor:pointer; +} + +svg text +{ + font-size: 10px; +} + +/* try to move the node text 1px in order to be vertically + centered (does not work in all browsers) */ +svg .node text +{ + transform: translate(0px,1px); + -ms-transform: translate(0px,1px); + -webkit-transform: translate(0px,1px); + -o-transform: translate(0px,1px); + -moz-transform: translate(0px,1px); +} + +/* hover effect for edges */ + +svg .edge.over text, +svg .edge.implicit-incoming.over polygon, +svg .edge.implicit-outgoing.over polygon +{ + fill: #202020; +} + +svg .edge.over path, +svg .edge.over polygon +{ + stroke: #202020; +} + +/* hover effect for nodes in class diagrams */ + +svg.class-diagram .node +{ + opacity: 0.75; +} + +svg.class-diagram .node.this +{ + opacity: 1.0; +} + +svg.class-diagram .node.over +{ + opacity: 1.0; +} + +svg .node.over polygon +{ + stroke: #202020; +} + +/* hover effect for nodes in package diagrams */ + +svg.package-diagram .node.class.over polygon, +svg.class-diagram .node.this.class.over polygon +{ + fill: #098552; + fill: #04663e; +} + +svg.package-diagram .node.trait.over polygon, +svg.class-diagram .node.this.trait.over polygon +{ + fill: #3c7b9b; + fill: #235d7b; +} + +svg.package-diagram .node.type.over polygon, +svg.class-diagram .node.this.type.over polygon +{ + fill: #098552; + fill: #04663e; +} + + +svg.package-diagram .node.object.over polygon +{ + fill: #183377; +} + +svg.package-diagram .node.outside.over polygon +{ + fill: #d4d4d4; +} + +svg.package-diagram .node.default.over polygon +{ + fill: #d4d4d4; +} diff --git a/manual1903/api_reference/didentification/scaladocs/lib/diagrams.js b/manual1903/api_reference/didentification/scaladocs/lib/diagrams.js new file mode 100644 index 0000000000000000000000000000000000000000..680ead7a593d21f926fb2587c990d79405c0a3d1 --- /dev/null +++ b/manual1903/api_reference/didentification/scaladocs/lib/diagrams.js @@ -0,0 +1,324 @@ +/** + * JavaScript functions enhancing the SVG diagrams. + * + * @author Damien Obrist + */ + +var diagrams = {}; + +/** + * Initializes the diagrams in the main window. + */ +$(document).ready(function() +{ + // hide diagrams in browsers not supporting SVG + if(Modernizr && !Modernizr.inlinesvg) + return; + + // only execute this in the main window + if(diagrams.isPopup) + return; + + if($("#content-diagram").length) + $("#inheritance-diagram").css("padding-bottom", "20px"); + + $(".diagram-container").css("display", "block"); + + $(".diagram").each(function() { + // store initial dimensions + $(this).data("width", $("svg", $(this)).width()); + $(this).data("height", $("svg", $(this)).height()); + // store unscaled clone of SVG element + $(this).data("svg", $(this).get(0).childNodes[0].cloneNode(true)); + }); + + // make diagram visible, hide container + $(".diagram").css("display", "none"); + $(".diagram svg").css({ + "position": "static", + "visibility": "visible", + "z-index": "auto" + }); + + // enable linking to diagrams + if($(location).attr("hash") == "#inheritance-diagram") { + diagrams.toggle($("#inheritance-diagram-container"), true); + } else if($(location).attr("hash") == "#content-diagram") { + diagrams.toggle($("#content-diagram-container"), true); + } + + $(".diagram-link").click(function() { + diagrams.toggle($(this).parent()); + }); + + // register resize function + $(window).resize(diagrams.resize); + + // don't bubble event to parent div + // when clicking on a node of a resized + // diagram + $("svg a").click(function(e) { + e.stopPropagation(); + }); + + diagrams.initHighlighting(); +}); + +/** + * Initializes the diagrams in the popup. + */ +diagrams.initPopup = function(id) +{ + // copy diagram from main window + if(!jQuery.browser.msie) + $("body").append(opener.$("#" + id).data("svg")); + + // positioning + $("svg").css("position", "absolute"); + $(window).resize(function() + { + var svg_w = $("svg").css("width").replace("px", ""); + var svg_h = $("svg").css("height").replace("px", ""); + var x = $(window).width() / 2 - svg_w / 2; + if(x < 0) x = 0; + var y = $(window).height() / 2 - svg_h / 2; + if(y < 0) y = 0; + $("svg").css("left", x + "px"); + $("svg").css("top", y + "px"); + }); + $(window).resize(); + + diagrams.initHighlighting(); + $("svg a").click(function(e) { + opener.diagrams.redirectFromPopup(this.href.baseVal); + window.close(); + }); + $(document).keyup(function(e) { + if (e.keyCode == 27) window.close(); + }); +} + +/** + * Initializes highlighting for nodes and edges. + */ +diagrams.initHighlighting = function() +{ + // helper function since $.hover doesn't work in IE + + function hover(elements, fn) + { + elements.mouseover(fn); + elements.mouseout(fn); + } + + // inheritance edges + + hover($("svg .edge.inheritance"), function(evt){ + var toggleClass = evt.type == "mouseout" ? diagrams.removeClass : diagrams.addClass; + var parts = $(this).attr("id").split("_"); + toggleClass($("#" + parts[0] + "_" + parts[1])); + toggleClass($("#" + parts[0] + "_" + parts[2])); + toggleClass($(this)); + }); + + // nodes + + hover($("svg .node"), function(evt){ + var toggleClass = evt.type == "mouseout" ? diagrams.removeClass : diagrams.addClass; + toggleClass($(this)); + var parts = $(this).attr("id").split("_"); + var index = parts[1]; + $("svg#" + parts[0] + " .edge.inheritance").each(function(){ + var parts2 = $(this).attr("id").split("_"); + if(parts2[1] == index) + { + toggleClass($("#" + parts2[0] + "_" + parts2[2])); + toggleClass($(this)); + } else if(parts2[2] == index) + { + toggleClass($("#" + parts2[0] + "_" + parts2[1])); + toggleClass($(this)); + } + }); + }); + + // incoming implicits + + hover($("svg .node.implicit-incoming"), function(evt){ + var toggleClass = evt.type == "mouseout" ? diagrams.removeClass : diagrams.addClass; + toggleClass($(this)); + toggleClass($("svg .edge.implicit-incoming")); + toggleClass($("svg .node.this")); + }); + + hover($("svg .edge.implicit-incoming"), function(evt){ + var toggleClass = evt.type == "mouseout" ? diagrams.removeClass : diagrams.addClass; + toggleClass($(this)); + toggleClass($("svg .node.this")); + $("svg .node.implicit-incoming").each(function(){ + toggleClass($(this)); + }); + }); + + // implicit outgoing nodes + + hover($("svg .node.implicit-outgoing"), function(evt){ + var toggleClass = evt.type == "mouseout" ? diagrams.removeClass : diagrams.addClass; + toggleClass($(this)); + toggleClass($("svg .edge.implicit-outgoing")); + toggleClass($("svg .node.this")); + }); + + hover($("svg .edge.implicit-outgoing"), function(evt){ + var toggleClass = evt.type == "mouseout" ? diagrams.removeClass : diagrams.addClass; + toggleClass($(this)); + toggleClass($("svg .node.this")); + $("svg .node.implicit-outgoing").each(function(){ + toggleClass($(this)); + }); + }); +}; + +/** + * Resizes the diagrams according to the available width. + */ +diagrams.resize = function() +{ + // available width + var availableWidth = $("body").width() - 20; + + $(".diagram-container").each(function() { + // unregister click event on whole div + $(".diagram", this).unbind("click"); + var diagramWidth = $(".diagram", this).data("width"); + var diagramHeight = $(".diagram", this).data("height"); + + if(diagramWidth > availableWidth) + { + // resize diagram + var height = diagramHeight / diagramWidth * availableWidth; + $(".diagram svg", this).width(availableWidth); + $(".diagram svg", this).height(height); + + // register click event on whole div + $(".diagram", this).click(function() { + diagrams.popup($(this)); + }); + $(".diagram", this).addClass("magnifying"); + } + else + { + // restore full size of diagram + $(".diagram svg", this).width(diagramWidth); + $(".diagram svg", this).height(diagramHeight); + // don't show custom cursor any more + $(".diagram", this).removeClass("magnifying"); + } + }); +}; + +/** + * Shows or hides a diagram depending on its current state. + */ +diagrams.toggle = function(container, dontAnimate) +{ + // change class of link + $(".diagram-link", container).toggleClass("open"); + // get element to show / hide + var div = $(".diagram", container); + if (div.is(':visible')) + { + $(".diagram-help", container).hide(); + div.unbind("click"); + div.removeClass("magnifying"); + div.slideUp(100); + } + else + { + diagrams.resize(); + if(dontAnimate) + div.show(); + else + div.slideDown(100); + $(".diagram-help", container).show(); + } +}; + +/** + * Opens a popup containing a copy of a diagram. + */ +diagrams.windows = {}; +diagrams.popup = function(diagram) +{ + var id = diagram.attr("id"); + if(!diagrams.windows[id] || diagrams.windows[id].closed) { + var title = $(".symbol .name", $("#signature")).text(); + // cloning from parent window to popup somehow doesn't work in IE + // therefore include the SVG as a string into the HTML + var svgIE = jQuery.browser.msie ? $("
                                                                    ").append(diagram.data("svg")).html() : ""; + var html = '' + + '\n' + + '\n' + + '\n' + + ' \n' + + ' ' + title + '\n' + + ' \n' + + ' \n' + + ' \n' + + ' \n' + + ' \n' + + ' \n' + + ' Close this window\n' + + ' ' + svgIE + '\n' + + ' \n' + + ''; + + var padding = 30; + var screenHeight = screen.availHeight; + var screenWidth = screen.availWidth; + var w = Math.min(screenWidth, diagram.data("width") + 2 * padding); + var h = Math.min(screenHeight, diagram.data("height") + 2 * padding); + var left = (screenWidth - w) / 2; + var top = (screenHeight - h) / 2; + var parameters = "height=" + h + ", width=" + w + ", left=" + left + ", top=" + top + ", scrollbars=yes, location=no, resizable=yes"; + var win = window.open("about:blank", "_blank", parameters); + win.document.open(); + win.document.write(html); + win.document.close(); + diagrams.windows[id] = win; + } + win.focus(); +}; + +/** + * This method is called from within the popup when a node is clicked. + */ +diagrams.redirectFromPopup = function(url) +{ + window.location = url; +}; + +/** + * Helper method that adds a class to a SVG element. + */ +diagrams.addClass = function(svgElem, newClass) { + newClass = newClass || "over"; + var classes = svgElem.attr("class"); + if ($.inArray(newClass, classes.split(/\s+/)) == -1) { + classes += (classes ? ' ' : '') + newClass; + svgElem.attr("class", classes); + } +}; + +/** + * Helper method that removes a class from a SVG element. + */ +diagrams.removeClass = function(svgElem, oldClass) { + oldClass = oldClass || "over"; + var classes = svgElem.attr("class"); + classes = $.grep(classes.split(/\s+/), function(n, i) { return n != oldClass; }).join(' '); + svgElem.attr("class", classes); +}; + diff --git a/manual1903/api_reference/didentification/scaladocs/lib/filter_box_left.png b/manual1903/api_reference/didentification/scaladocs/lib/filter_box_left.png new file mode 100644 index 0000000000000000000000000000000000000000..0e8c893315e7955b02474d3a544b9145aafb15b2 Binary files /dev/null and b/manual1903/api_reference/didentification/scaladocs/lib/filter_box_left.png differ diff --git a/manual1903/api_reference/didentification/scaladocs/lib/filter_box_left2.gif b/manual1903/api_reference/didentification/scaladocs/lib/filter_box_left2.gif new file mode 100644 index 0000000000000000000000000000000000000000..b9b49076a6410112fd18b370bc661154bbab8f80 Binary files /dev/null and b/manual1903/api_reference/didentification/scaladocs/lib/filter_box_left2.gif differ diff --git a/manual1903/api_reference/didentification/scaladocs/lib/filter_box_right.png b/manual1903/api_reference/didentification/scaladocs/lib/filter_box_right.png new file mode 100644 index 0000000000000000000000000000000000000000..f127e35b48d39bd048fea2a8e98dd68fb5984601 Binary files /dev/null and b/manual1903/api_reference/didentification/scaladocs/lib/filter_box_right.png differ diff --git a/manual1903/api_reference/didentification/scaladocs/lib/filterbg.gif b/manual1903/api_reference/didentification/scaladocs/lib/filterbg.gif new file mode 100644 index 0000000000000000000000000000000000000000..542ba4aa5a59c8753bfdaa2fa1db8db0bb452d25 Binary files /dev/null and b/manual1903/api_reference/didentification/scaladocs/lib/filterbg.gif differ diff --git a/manual1903/api_reference/didentification/scaladocs/lib/filterboxbarbg.gif b/manual1903/api_reference/didentification/scaladocs/lib/filterboxbarbg.gif new file mode 100644 index 0000000000000000000000000000000000000000..b5075c16cd8c70fca9e2acf29e3cc6cd462517ea Binary files /dev/null and b/manual1903/api_reference/didentification/scaladocs/lib/filterboxbarbg.gif differ diff --git a/manual1903/api_reference/didentification/scaladocs/lib/filterboxbarbg.png b/manual1903/api_reference/didentification/scaladocs/lib/filterboxbarbg.png new file mode 100644 index 0000000000000000000000000000000000000000..d613cf5633954d02ef3260288c8429608bc72b86 Binary files /dev/null and b/manual1903/api_reference/didentification/scaladocs/lib/filterboxbarbg.png differ diff --git a/manual1903/api_reference/didentification/scaladocs/lib/filterboxbg.gif b/manual1903/api_reference/didentification/scaladocs/lib/filterboxbg.gif new file mode 100644 index 0000000000000000000000000000000000000000..ae2f85823bbbd77d85a28d8348bfd75a1ec626ba Binary files /dev/null and b/manual1903/api_reference/didentification/scaladocs/lib/filterboxbg.gif differ diff --git a/manual1903/api_reference/didentification/scaladocs/lib/fullcommenttopbg.gif b/manual1903/api_reference/didentification/scaladocs/lib/fullcommenttopbg.gif new file mode 100644 index 0000000000000000000000000000000000000000..a0d93f4844ef407432e0984a2c1cc58b0707e0d9 Binary files /dev/null and b/manual1903/api_reference/didentification/scaladocs/lib/fullcommenttopbg.gif differ diff --git a/manual1903/api_reference/didentification/scaladocs/lib/index.css b/manual1903/api_reference/didentification/scaladocs/lib/index.css new file mode 100644 index 0000000000000000000000000000000000000000..3e352a95b3a935332bdf1cc25a1115cc01ccffbb --- /dev/null +++ b/manual1903/api_reference/didentification/scaladocs/lib/index.css @@ -0,0 +1,339 @@ +* { + color: inherit; + font-size: 10pt; + text-decoration: none; + font-family: Arial, sans-serif; + border-width: 0px; + padding: 0px; + margin: 0px; +} + +a { + cursor: pointer; +} + +a:hover { + text-decoration: underline; +} + +h1 { + display: none; +} + +.selected { + -moz-box-shadow: inset 0px 5px 10px rgba(58, 88, 97, .36); + -webkit-box-shadow: inset 0px 5px 10px rgba(58, 88, 97, .36); + border-top: solid 1px rgba(119, 138, 153, 0.8); + border-bottom: solid 1px rgba(151, 173, 191, 0.4); + background-color: #ced2d9; + margin: -1px 0px; +} + +/*.letters { + font-family: monospace; + font-size: 2pt; + padding: 5px; + background-color: #DADADA; + text-shadow: #ffffff 0 1px 0; +}*/ + +#library { + display: none; +} + +#browser { + top: 0px; + left: 0px; + bottom: 0px; + width: 100%; + display: block; + position: fixed; +} + +#filter { + position: absolute; + display: block; +/* padding: 5px;*/ + right: 0; + left: 0; + top: 0; + background-image:url('filterbg.gif'); + background-repeat:repeat-x; + background-color: #ededee; /* light gray */ + /*background-color: #DADADA;*/ + border:1px solid #bbbbbb; + border-top:0; + border-left:0; + border-right:0; +} + +#textfilter { + position: relative; + display: block; + height: 20px; + margin-top: 5px; + margin-bottom: 5px; +} + +#textfilter > .pre { + display: block; + position: absolute; + top: 0; + left: 0; + height: 23px; + width: 21px; + background: url("filter_box_left.png"); +} + +#textfilter > .input { + display: block; + position: absolute; + top: 0; + right: 20px; + left: 20px; +} + +#textfilter > .input > input { + height: 20px; + padding: 1px; + font-weight: bold; + color: #000000; + background: #ffffff url("filterboxbarbg.png") repeat-x bottom left; + width: 100%; +} + +#textfilter > .post { + display: block; + position: absolute; + top: 0; + right: 0; + height: 23px; + width: 21px; + background: url("filter_box_right.png"); +} + +/*#textfilter { + position: relative; + display: block; + height: 20px; + margin-bottom: 5px; +} + +#textfilter > .pre { + display: block; + position: absolute; + top: 0; + left: 0; + height: 20px; + width: 20px; + background: url("filter_box_left.png"); +} + +#textfilter > .input { + display: block; + position: absolute; + top: 0; + right: 20px; + left: 20px; +} + +#textfilter > .input > input { + height: 16px; + padding: 2px; + font-weight: bold; + color: darkblue; + background-color: white; + width: 100%; +} + +#textfilter > .post { + display: block; + position: absolute; + top: 0; + right: 0; + height: 20px; + width: 20px; + background: url("filter_box_right.png"); +}*/ + +#focusfilter { + position: relative; + text-align: center; + display: block; + padding: 5px; + background-color: #fffebd; /* light yellow*/ + text-shadow: #ffffff 0 1px 0; +} + +#focusfilter .focuscoll { + font-weight: bold; + text-shadow: #ffffff 0 1px 0; +} + +#focusfilter img { + bottom: -2px; + position: relative; +} + +#kindfilter { + position: relative; + display: block; + padding: 5px; +/* background-color: #999;*/ + text-align: center; +} + +#kindfilter > a { + color: black; +/* text-decoration: underline;*/ + text-shadow: #ffffff 0 1px 0; + +} + +#kindfilter > a:hover { + color: #4C4C4C; + text-decoration: none; + text-shadow: #ffffff 0 1px 0; +} + +#letters { + position: relative; + text-align: center; + padding-bottom: 5px; + border:1px solid #bbbbbb; + border-top:0; + border-left:0; + border-right:0; +} + +#letters > a, #letters > span { +/* font-family: monospace;*/ + color: #858484; + font-weight: bold; + font-size: 8pt; + text-shadow: #ffffff 0 1px 0; + padding-right: 2px; +} + +#letters > span { + color: #bbb; +} + +#tpl { + display: block; + position: fixed; + overflow: auto; + right: 0; + left: 0; + bottom: 0; + top: 5px; + position: absolute; + display: block; +} + +#tpl .packhide { + display: block; + float: right; + font-weight: normal; + color: white; +} + +#tpl .packfocus { + display: block; + float: right; + font-weight: normal; + color: white; +} + +#tpl .packages > ol { + background-color: #dadfe6; + /*margin-bottom: 5px;*/ +} + +/*#tpl .packages > ol > li { + margin-bottom: 1px; +}*/ + +#tpl .packages > li > a { + padding: 0px 5px; +} + +#tpl .packages > li > a.tplshow { + display: block; + color: white; + font-weight: bold; + display: block; + text-shadow: #000000 0 1px 0; +} + +#tpl ol > li.pack { + padding: 3px 5px; + background: url("packagesbg.gif"); + background-repeat:repeat-x; + min-height: 14px; + background-color: #6e808e; +} + +#tpl ol > li { + display: block; +} + +#tpl .templates > li { + padding-left: 5px; + min-height: 18px; +} + +#tpl ol > li .icon { + padding-right: 5px; + bottom: -2px; + position: relative; +} + +#tpl .templates div.placeholder { + padding-right: 5px; + width: 13px; + display: inline-block; +} + +#tpl .templates span.tplLink { + padding-left: 5px; +} + +#content { + border-left-width: 1px; + border-left-color: black; + border-left-style: white; + right: 0px; + left: 0px; + bottom: 0px; + top: 0px; + position: fixed; + margin-left: 300px; + display: block; + -webkit-overflow-scrolling: touch; +} + +#content > iframe { + display: block; + height: 100%; + width: 100%; +} + +.ui-layout-pane { + background: #FFF; + overflow: auto; +} + +.ui-layout-resizer { + background-image:url('filterbg.gif'); + background-repeat:repeat-x; + background-color: #ededee; /* light gray */ + border:1px solid #bbbbbb; + border-top:0; + border-bottom:0; + border-left: 0; +} + +.ui-layout-toggler { + background: #AAA; +} \ No newline at end of file diff --git a/manual1903/api_reference/didentification/scaladocs/lib/index.js b/manual1903/api_reference/didentification/scaladocs/lib/index.js new file mode 100644 index 0000000000000000000000000000000000000000..cf81f7fdf5065743eda39df500cb05ad45a3449e --- /dev/null +++ b/manual1903/api_reference/didentification/scaladocs/lib/index.js @@ -0,0 +1,577 @@ +// © 2009–2010 EPFL/LAMP +// code by Gilles Dubochet with contributions by Johannes Rudolph, "spiros" and Marcin Kubala + +var topLevelTemplates = undefined; +var topLevelPackages = undefined; + +var scheduler = undefined; + +var kindFilterState = undefined; +var focusFilterState = undefined; + +var title = $(document).attr('title'); + +var lastFragment = ""; + +$(document).ready(function() { + $('body').layout({ + west__size: '20%', + center__maskContents: true + }); + $('#browser').layout({ + center__paneSelector: ".ui-west-center" + //,center__initClosed:true + ,north__paneSelector: ".ui-west-north" + }); + $('iframe').bind("load", function(){ + try { + var subtitle = $(this).contents().find('title').text(); + $(document).attr('title', (title ? title + " - " : "") + subtitle); + } catch (e) { + // Chrome doesn't allow reading the iframe's contents when + // used on the local file system. + } + setUrlFragmentFromFrameSrc(); + }); + + // workaround for IE's iframe sizing lack of smartness + if($.browser.msie) { + function fixIFrame() { + $('iframe').height($(window).height() ) + } + $('iframe').bind("load",fixIFrame) + $('iframe').bind("resize",fixIFrame) + } + + scheduler = new Scheduler(); + scheduler.addLabel("init", 1); + scheduler.addLabel("focus", 2); + scheduler.addLabel("filter", 4); + + prepareEntityList(); + + configureTextFilter(); + configureKindFilter(); + configureEntityList(); + + setFrameSrcFromUrlFragment(); + + // If the url fragment changes, adjust the src of iframe "template". + $(window).bind('hashchange', function() { + if(lastFragment != window.location.hash) { + lastFragment = window.location.hash; + setFrameSrcFromUrlFragment(); + } + }); +}); + +// Set the iframe's src according to the fragment of the current url. +// fragment = "#scala.Either" => iframe url = "scala/Either.html" +// fragment = "#scala.Either@isRight:Boolean" => iframe url = "scala/Either.html#isRight:Boolean" +// fragment = "#scalaz.iteratee.package@>@>[E,A]=scalaz.iteratee.package.Iteratee[E,A]" => iframe url = "scalaz/iteratee/package.html#>@>[E,A]=scalaz.iteratee.package.Iteratee[E,A]" +function setFrameSrcFromUrlFragment() { + + function extractLoc(fragment) { + var loc = fragment.split('@')[0].replace(/\./g, "/"); + if (loc.indexOf(".html") < 0) { + loc += ".html"; + } + return loc; + } + + function extractMemberSig(fragment) { + var splitIdx = fragment.indexOf('@'); + if (splitIdx < 0) { + return; + } + return fragment.substr(splitIdx + 1); + } + + var fragment = location.hash.slice(1); + if (fragment) { + var locWithMemeberSig = extractLoc(fragment); + var memberSig = extractMemberSig(fragment); + if (memberSig) { + locWithMemeberSig += "#" + memberSig; + } + frames["template"].location.replace(location.protocol + locWithMemeberSig); + } else { + console.log("empty fragment detected"); + frames["template"].location.replace("package.html"); + } +} + +// Set the url fragment according to the src of the iframe "template". +// iframe url = "scala/Either.html" => url fragment = "#scala.Either" +// iframe url = "scala/Either.html#isRight:Boolean" => url fragment = "#scala.Either@isRight:Boolean" +// iframe url = "scalaz/iteratee/package.html#>@>[E,A]=scalaz.iteratee.package.Iteratee[E,A]" => fragment = "#scalaz.iteratee.package@>@>[E,A]=scalaz.iteratee.package.Iteratee[E,A]" +function setUrlFragmentFromFrameSrc() { + try { + var commonLength = location.pathname.lastIndexOf("/"); + var frameLocation = frames["template"].location; + var relativePath = frameLocation.pathname.slice(commonLength + 1); + + if(!relativePath || frameLocation.pathname.indexOf("/") < 0) + return; + + // Add #, remove ".html" and replace "/" with "." + fragment = "#" + relativePath.replace(/\.html$/, "").replace(/\//g, "."); + + // Add the frame's hash after an @ + if(frameLocation.hash) fragment += ("@" + frameLocation.hash.slice(1)); + + // Use replace to not add history items + lastFragment = fragment; + location.replace(fragment); + } + catch(e) { + // Chrome doesn't allow reading the iframe's location when + // used on the local file system. + } +} + +var Index = {}; + +(function (ns) { + function openLink(t, type) { + var href; + if (type == 'object') { + href = t['object']; + } else { + href = t['class'] || t['trait'] || t['case class'] || t['type']; + } + return [ + '' + ].join(''); + } + + function createPackageHeader(pack) { + return [ + '
                                                                  1. ', + 'focushide', + '', + pack, + '
                                                                  2. ' + ].join(''); + }; + + function createListItem(template) { + var inner = ''; + + + if (template.object) { + inner += openLink(template, 'object'); + } + + if (template['class'] || template['trait'] || template['case class'] || template['type']) { + inner += (inner == '') ? + '
                                                                    ' : ''; + inner += openLink(template, template['trait'] ? 'trait' : template['type'] ? 'type' : 'class'); + } else { + inner += '
                                                                    '; + } + + return [ + '
                                                                  3. ', + inner, + '', + template.name.replace(/^.*\./, ''), + '
                                                                  4. ' + ].join(''); + } + + + ns.createPackageTree = function (pack, matched, focused) { + var html = $.map(matched, function (child, i) { + return createListItem(child); + }).join(''); + + var header; + if (focused && pack == focused) { + header = ''; + } else { + header = createPackageHeader(pack); + } + + return [ + '
                                                                      ', + header, + '
                                                                        ', + html, + '
                                                                    ' + ].join(''); + } + + ns.keys = function (obj) { + var result = []; + var key; + for (key in obj) { + result.push(key); + } + return result; + } + + var hiddenPackages = {}; + + function subPackages(pack) { + return $.grep($('#tpl ol.packages'), function (element, index) { + var pack = $('li.pack > .tplshow', element).text(); + return pack.indexOf(pack + '.') == 0; + }); + } + + ns.hidePackage = function (ol) { + var selected = $('li.pack > .tplshow', ol).text(); + hiddenPackages[selected] = true; + + $('ol.templates', ol).hide(); + + $.each(subPackages(selected), function (index, element) { + $(element).hide(); + }); + } + + ns.showPackage = function (ol, state) { + var selected = $('li.pack > .tplshow', ol).text(); + hiddenPackages[selected] = false; + + $('ol.templates', ol).show(); + + $.each(subPackages(selected), function (index, element) { + $(element).show(); + + // When the filter is in "packs" state, + // we don't want to show the `.templates` + var key = $('li.pack > .tplshow', element).text(); + if (hiddenPackages[key] || state == 'packs') { + $('ol.templates', element).hide(); + } + }); + } + +})(Index); + +function configureEntityList() { + kindFilterSync(); + configureHideFilter(); + configureFocusFilter(); + textFilter(); +} + +/* Updates the list of entities (i.e. the content of the #tpl element) from the raw form generated by Scaladoc to a + form suitable for display. In particular, it adds class and object etc. icons, and it configures links to open in + the right frame. Furthermore, it sets the two reference top-level entities lists (topLevelTemplates and + topLevelPackages) to serve as reference for resetting the list when needed. + Be advised: this function should only be called once, on page load. */ +function prepareEntityList() { + var classIcon = $("#library > img.class"); + var traitIcon = $("#library > img.trait"); + var typeIcon = $("#library > img.type"); + var objectIcon = $("#library > img.object"); + var packageIcon = $("#library > img.package"); + + $('#tpl li.pack > a.tplshow').attr("target", "template"); + $('#tpl li.pack').each(function () { + $("span.class", this).each(function() { $(this).replaceWith(classIcon.clone()); }); + $("span.trait", this).each(function() { $(this).replaceWith(traitIcon.clone()); }); + $("span.type", this).each(function() { $(this).replaceWith(typeIcon.clone()); }); + $("span.object", this).each(function() { $(this).replaceWith(objectIcon.clone()); }); + $("span.package", this).each(function() { $(this).replaceWith(packageIcon.clone()); }); + }); + $('#tpl li.pack') + .prepend("hide") + .prepend("focus"); +} + +/* Handles all key presses while scrolling around with keyboard shortcuts in left panel */ +function keyboardScrolldownLeftPane() { + scheduler.add("init", function() { + $("#textfilter input").blur(); + var $items = $("#tpl li"); + $items.first().addClass('selected'); + + $(window).bind("keydown", function(e) { + var $old = $items.filter('.selected'), + $new; + + switch ( e.keyCode ) { + + case 9: // tab + $old.removeClass('selected'); + break; + + case 13: // enter + $old.removeClass('selected'); + var $url = $old.children().filter('a:last').attr('href'); + $("#template").attr("src",$url); + break; + + case 27: // escape + $old.removeClass('selected'); + $(window).unbind(e); + $("#textfilter input").focus(); + + break; + + case 38: // up + $new = $old.prev(); + + if (!$new.length) { + $new = $old.parent().prev(); + } + + if ($new.is('ol') && $new.children(':last').is('ol')) { + $new = $new.children().children(':last'); + } else if ($new.is('ol')) { + $new = $new.children(':last'); + } + + break; + + case 40: // down + $new = $old.next(); + if (!$new.length) { + $new = $old.parent().parent().next(); + } + if ($new.is('ol')) { + $new = $new.children(':first'); + } + break; + } + + if ($new.is('li')) { + $old.removeClass('selected'); + $new.addClass('selected'); + } else if (e.keyCode == 38) { + $(window).unbind(e); + $("#textfilter input").focus(); + } + }); + }); +} + +/* Configures the text filter */ +function configureTextFilter() { + scheduler.add("init", function() { + $("#textfilter").append(""); + var input = $("#textfilter input"); + resizeFilterBlock(); + input.bind('keyup', function(event) { + if (event.keyCode == 27) { // escape + input.attr("value", ""); + } + if (event.keyCode == 40) { // down arrow + $(window).unbind("keydown"); + keyboardScrolldownLeftPane(); + return false; + } + textFilter(); + }); + input.bind('keydown', function(event) { + if (event.keyCode == 9) { // tab + $("#template").contents().find("#mbrsel-input").focus(); + input.attr("value", ""); + return false; + } + textFilter(); + }); + input.focus(function(event) { input.select(); }); + }); + scheduler.add("init", function() { + $("#textfilter > .post").click(function(){ + $("#textfilter input").attr("value", ""); + textFilter(); + }); + }); +} + +function compilePattern(query) { + var escaped = query.replace(/([\.\*\+\?\|\(\)\[\]\\])/g, '\\$1'); + + if (query.toLowerCase() != query) { + // Regexp that matches CamelCase subbits: "BiSe" is + // "[a-z]*Bi[a-z]*Se" and matches "BitSet", "ABitSet", ... + return new RegExp(escaped.replace(/([A-Z])/g,"[a-z]*$1")); + } + else { // if query is all lower case make a normal case insensitive search + return new RegExp(escaped, "i"); + } +} + +// Filters all focused templates and packages. This function should be made less-blocking. +// @param query The string of the query +function textFilter() { + var query = $("#textfilter input").attr("value") || ''; + var queryRegExp = compilePattern(query); + + // if we are filtering on types, then we have to display types + // ("display packages only" is not possible when filtering) + if (query !== "") { + kindFilter("all"); + } + + // Three things trigger a reload of the left pane list: + // typeof textFilter.lastQuery === "undefined" <-- first load, there is nothing yet in the left pane + // textFilter.lastQuery !== query <-- the filter text has changed + // focusFilterState != null <-- a package has been "focused" + if ((typeof textFilter.lastQuery === "undefined") || (textFilter.lastQuery !== query) || (focusFilterState != null)) { + + textFilter.lastQuery = query; + + scheduler.clear("filter"); + + $('#tpl').html(''); + + var index = 0; + + var searchLoop = function () { + var packages = Index.keys(Index.PACKAGES).sort(); + + while (packages[index]) { + var pack = packages[index]; + var children = Index.PACKAGES[pack]; + index++; + + if (focusFilterState) { + if (pack == focusFilterState || + pack.indexOf(focusFilterState + '.') == 0) { + ; + } else { + continue; + } + } + + var matched = $.grep(children, function (child, i) { + return queryRegExp.test(child.name); + }); + + if (matched.length > 0) { + $('#tpl').append(Index.createPackageTree(pack, matched, + focusFilterState)); + scheduler.add('filter', searchLoop); + return; + } + } + + $('#tpl a.packfocus').click(function () { + focusFilter($(this).parent().parent()); + }); + configureHideFilter(); + }; + + scheduler.add('filter', searchLoop); + } +} + +/* Configures the hide tool by adding the hide link to all packages. */ +function configureHideFilter() { + $('#tpl li.pack a.packhide').click(function () { + var packhide = $(this) + var action = packhide.text(); + + var ol = $(this).parent().parent(); + + if (action == "hide") { + Index.hidePackage(ol); + packhide.text("show"); + } + else { + Index.showPackage(ol, kindFilterState); + packhide.text("hide"); + } + return false; + }); +} + +/* Configures the focus tool by adding the focus bar in the filter box (initially hidden), and by adding the focus + link to all packages. */ +function configureFocusFilter() { + scheduler.add("init", function() { + focusFilterState = null; + if ($("#focusfilter").length == 0) { + $("#filter").append("
                                                                    focused on
                                                                    "); + $("#focusfilter > .focusremove").click(function(event) { + textFilter(); + + $("#focusfilter").hide(); + $("#kindfilter").show(); + resizeFilterBlock(); + focusFilterState = null; + }); + $("#focusfilter").hide(); + resizeFilterBlock(); + } + }); + scheduler.add("init", function() { + $('#tpl li.pack a.packfocus').click(function () { + focusFilter($(this).parent()); + return false; + }); + }); +} + +/* Focuses the entity index on a specific package. To do so, it will copy the sub-templates and sub-packages of the + focuses package into the top-level templates and packages position of the index. The original top-level + @param package The
                                                                  5. element that corresponds to the package in the entity index */ +function focusFilter(package) { + scheduler.clear("filter"); + + var currentFocus = $('li.pack > .tplshow', package).text(); + $("#focusfilter > .focuscoll").empty(); + $("#focusfilter > .focuscoll").append(currentFocus); + + $("#focusfilter").show(); + $("#kindfilter").hide(); + resizeFilterBlock(); + focusFilterState = currentFocus; + kindFilterSync(); + + textFilter(); +} + +function configureKindFilter() { + scheduler.add("init", function() { + kindFilterState = "all"; + $("#filter").append(""); + $("#kindfilter > a").click(function(event) { kindFilter("packs"); }); + resizeFilterBlock(); + }); +} + +function kindFilter(kind) { + if (kind == "packs") { + kindFilterState = "packs"; + kindFilterSync(); + $("#kindfilter > a").replaceWith("display all entities"); + $("#kindfilter > a").click(function(event) { kindFilter("all"); }); + } + else { + kindFilterState = "all"; + kindFilterSync(); + $("#kindfilter > a").replaceWith("display packages only"); + $("#kindfilter > a").click(function(event) { kindFilter("packs"); }); + } +} + +/* Applies the kind filter. */ +function kindFilterSync() { + if (kindFilterState == "all" || focusFilterState != null) { + $("#tpl a.packhide").text('hide'); + $("#tpl ol.templates").show(); + } else { + $("#tpl a.packhide").text('show'); + $("#tpl ol.templates").hide(); + } +} + +function resizeFilterBlock() { + $("#tpl").css("top", $("#filter").outerHeight(true)); +} diff --git a/manual1903/api_reference/didentification/scaladocs/lib/jquery-ui.js b/manual1903/api_reference/didentification/scaladocs/lib/jquery-ui.js new file mode 100644 index 0000000000000000000000000000000000000000..faab0cf1a31b3fb4de9a982ba0db7f6eb881da83 --- /dev/null +++ b/manual1903/api_reference/didentification/scaladocs/lib/jquery-ui.js @@ -0,0 +1,6 @@ +/*! jQuery UI - v1.9.0 - 2012-10-05 +* http://jqueryui.com +* Includes: jquery.ui.core.js, jquery.ui.widget.js, jquery.ui.mouse.js, jquery.ui.position.js, jquery.ui.accordion.js, jquery.ui.autocomplete.js, jquery.ui.button.js, jquery.ui.datepicker.js, jquery.ui.dialog.js, jquery.ui.draggable.js, jquery.ui.droppable.js, jquery.ui.effect.js, jquery.ui.effect-blind.js, jquery.ui.effect-bounce.js, jquery.ui.effect-clip.js, jquery.ui.effect-drop.js, jquery.ui.effect-explode.js, jquery.ui.effect-fade.js, jquery.ui.effect-fold.js, jquery.ui.effect-highlight.js, jquery.ui.effect-pulsate.js, jquery.ui.effect-scale.js, jquery.ui.effect-shake.js, jquery.ui.effect-slide.js, jquery.ui.effect-transfer.js, jquery.ui.menu.js, jquery.ui.progressbar.js, jquery.ui.resizable.js, jquery.ui.selectable.js, jquery.ui.slider.js, jquery.ui.sortable.js, jquery.ui.spinner.js, jquery.ui.tabs.js, jquery.ui.tooltip.js +* Copyright (c) 2012 jQuery Foundation and other contributors Licensed MIT */ + +(function(e,t){function i(t,n){var r,i,o,u=t.nodeName.toLowerCase();return"area"===u?(r=t.parentNode,i=r.name,!t.href||!i||r.nodeName.toLowerCase()!=="map"?!1:(o=e("img[usemap=#"+i+"]")[0],!!o&&s(o))):(/input|select|textarea|button|object/.test(u)?!t.disabled:"a"===u?t.href||n:n)&&s(t)}function s(t){return!e(t).parents().andSelf().filter(function(){return e.css(this,"visibility")==="hidden"||e.expr.filters.hidden(this)}).length}var n=0,r=/^ui-id-\d+$/;e.ui=e.ui||{};if(e.ui.version)return;e.extend(e.ui,{version:"1.9.0",keyCode:{BACKSPACE:8,COMMA:188,DELETE:46,DOWN:40,END:35,ENTER:13,ESCAPE:27,HOME:36,LEFT:37,NUMPAD_ADD:107,NUMPAD_DECIMAL:110,NUMPAD_DIVIDE:111,NUMPAD_ENTER:108,NUMPAD_MULTIPLY:106,NUMPAD_SUBTRACT:109,PAGE_DOWN:34,PAGE_UP:33,PERIOD:190,RIGHT:39,SPACE:32,TAB:9,UP:38}}),e.fn.extend({_focus:e.fn.focus,focus:function(t,n){return typeof t=="number"?this.each(function(){var r=this;setTimeout(function(){e(r).focus(),n&&n.call(r)},t)}):this._focus.apply(this,arguments)},scrollParent:function(){var t;return e.browser.msie&&/(static|relative)/.test(this.css("position"))||/absolute/.test(this.css("position"))?t=this.parents().filter(function(){return/(relative|absolute|fixed)/.test(e.css(this,"position"))&&/(auto|scroll)/.test(e.css(this,"overflow")+e.css(this,"overflow-y")+e.css(this,"overflow-x"))}).eq(0):t=this.parents().filter(function(){return/(auto|scroll)/.test(e.css(this,"overflow")+e.css(this,"overflow-y")+e.css(this,"overflow-x"))}).eq(0),/fixed/.test(this.css("position"))||!t.length?e(document):t},zIndex:function(n){if(n!==t)return this.css("zIndex",n);if(this.length){var r=e(this[0]),i,s;while(r.length&&r[0]!==document){i=r.css("position");if(i==="absolute"||i==="relative"||i==="fixed"){s=parseInt(r.css("zIndex"),10);if(!isNaN(s)&&s!==0)return s}r=r.parent()}}return 0},uniqueId:function(){return this.each(function(){this.id||(this.id="ui-id-"+ ++n)})},removeUniqueId:function(){return this.each(function(){r.test(this.id)&&e(this).removeAttr("id")})}}),e("").outerWidth(1).jquery||e.each(["Width","Height"],function(n,r){function u(t,n,r,s){return e.each(i,function(){n-=parseFloat(e.css(t,"padding"+this))||0,r&&(n-=parseFloat(e.css(t,"border"+this+"Width"))||0),s&&(n-=parseFloat(e.css(t,"margin"+this))||0)}),n}var i=r==="Width"?["Left","Right"]:["Top","Bottom"],s=r.toLowerCase(),o={innerWidth:e.fn.innerWidth,innerHeight:e.fn.innerHeight,outerWidth:e.fn.outerWidth,outerHeight:e.fn.outerHeight};e.fn["inner"+r]=function(n){return n===t?o["inner"+r].call(this):this.each(function(){e(this).css(s,u(this,n)+"px")})},e.fn["outer"+r]=function(t,n){return typeof t!="number"?o["outer"+r].call(this,t):this.each(function(){e(this).css(s,u(this,t,!0,n)+"px")})}}),e.extend(e.expr[":"],{data:e.expr.createPseudo?e.expr.createPseudo(function(t){return function(n){return!!e.data(n,t)}}):function(t,n,r){return!!e.data(t,r[3])},focusable:function(t){return i(t,!isNaN(e.attr(t,"tabindex")))},tabbable:function(t){var n=e.attr(t,"tabindex"),r=isNaN(n);return(r||n>=0)&&i(t,!r)}}),e(function(){var t=document.body,n=t.appendChild(n=document.createElement("div"));n.offsetHeight,e.extend(n.style,{minHeight:"100px",height:"auto",padding:0,borderWidth:0}),e.support.minHeight=n.offsetHeight===100,e.support.selectstart="onselectstart"in n,t.removeChild(n).style.display="none"}),e.fn.extend({disableSelection:function(){return this.bind((e.support.selectstart?"selectstart":"mousedown")+".ui-disableSelection",function(e){e.preventDefault()})},enableSelection:function(){return this.unbind(".ui-disableSelection")}}),e.extend(e.ui,{plugin:{add:function(t,n,r){var i,s=e.ui[t].prototype;for(i in r)s.plugins[i]=s.plugins[i]||[],s.plugins[i].push([n,r[i]])},call:function(e,t,n){var r,i=e.plugins[t];if(!i||!e.element[0].parentNode||e.element[0].parentNode.nodeType===11)return;for(r=0;r0?!0:(t[r]=1,i=t[r]>0,t[r]=0,i)},isOverAxis:function(e,t,n){return e>t&&e",options:{disabled:!1,create:null},_createWidget:function(t,r){r=e(r||this.defaultElement||this)[0],this.element=e(r),this.uuid=n++,this.eventNamespace="."+this.widgetName+this.uuid,this.options=e.widget.extend({},this.options,this._getCreateOptions(),t),this.bindings=e(),this.hoverable=e(),this.focusable=e(),r!==this&&(e.data(r,this.widgetName,this),e.data(r,this.widgetFullName,this),this._on({remove:"destroy"}),this.document=e(r.style?r.ownerDocument:r.document||r),this.window=e(this.document[0].defaultView||this.document[0].parentWindow)),this._create(),this._trigger("create",null,this._getCreateEventData()),this._init()},_getCreateOptions:e.noop,_getCreateEventData:e.noop,_create:e.noop,_init:e.noop,destroy:function(){this._destroy(),this.element.unbind(this.eventNamespace).removeData(this.widgetName).removeData(this.widgetFullName).removeData(e.camelCase(this.widgetFullName)),this.widget().unbind(this.eventNamespace).removeAttr("aria-disabled").removeClass(this.widgetFullName+"-disabled "+"ui-state-disabled"),this.bindings.unbind(this.eventNamespace),this.hoverable.removeClass("ui-state-hover"),this.focusable.removeClass("ui-state-focus")},_destroy:e.noop,widget:function(){return this.element},option:function(n,r){var i=n,s,o,u;if(arguments.length===0)return e.widget.extend({},this.options);if(typeof n=="string"){i={},s=n.split("."),n=s.shift();if(s.length){o=i[n]=e.widget.extend({},this.options[n]);for(u=0;u=9||!!t.button?this._mouseStarted?(this._mouseDrag(t),t.preventDefault()):(this._mouseDistanceMet(t)&&this._mouseDelayMet(t)&&(this._mouseStarted=this._mouseStart(this._mouseDownEvent,t)!==!1,this._mouseStarted?this._mouseDrag(t):this._mouseUp(t)),!this._mouseStarted):this._mouseUp(t)},_mouseUp:function(t){return e(document).unbind("mousemove."+this.widgetName,this._mouseMoveDelegate).unbind("mouseup."+this.widgetName,this._mouseUpDelegate),this._mouseStarted&&(this._mouseStarted=!1,t.target===this._mouseDownEvent.target&&e.data(t.target,this.widgetName+".preventClickEvent",!0),this._mouseStop(t)),!1},_mouseDistanceMet:function(e){return Math.max(Math.abs(this._mouseDownEvent.pageX-e.pageX),Math.abs(this._mouseDownEvent.pageY-e.pageY))>=this.options.distance},_mouseDelayMet:function(e){return this.mouseDelayMet},_mouseStart:function(e){},_mouseDrag:function(e){},_mouseStop:function(e){},_mouseCapture:function(e){return!0}})})(jQuery);(function(e,t){function h(e,t,n){return[parseInt(e[0],10)*(l.test(e[0])?t/100:1),parseInt(e[1],10)*(l.test(e[1])?n/100:1)]}function p(t,n){return parseInt(e.css(t,n),10)||0}e.ui=e.ui||{};var n,r=Math.max,i=Math.abs,s=Math.round,o=/left|center|right/,u=/top|center|bottom/,a=/[\+\-]\d+%?/,f=/^\w+/,l=/%$/,c=e.fn.position;e.position={scrollbarWidth:function(){if(n!==t)return n;var r,i,s=e("
                                                                    "),o=s.children()[0];return e("body").append(s),r=o.offsetWidth,s.css("overflow","scroll"),i=o.offsetWidth,r===i&&(i=s[0].clientWidth),s.remove(),n=r-i},getScrollInfo:function(t){var n=t.isWindow?"":t.element.css("overflow-x"),r=t.isWindow?"":t.element.css("overflow-y"),i=n==="scroll"||n==="auto"&&t.width0?"right":"center",vertical:u<0?"top":o>0?"bottom":"middle"};lr(i(o),i(u))?h.important="horizontal":h.important="vertical",t.using.call(this,e,h)}),a.offset(e.extend(C,{using:u}))})},e.ui.position={fit:{left:function(e,t){var n=t.within,i=n.isWindow?n.scrollLeft:n.offset.left,s=n.width,o=e.left-t.collisionPosition.marginLeft,u=i-o,a=o+t.collisionWidth-s-i,f;t.collisionWidth>s?u>0&&a<=0?(f=e.left+u+t.collisionWidth-s-i,e.left+=u-f):a>0&&u<=0?e.left=i:u>a?e.left=i+s-t.collisionWidth:e.left=i:u>0?e.left+=u:a>0?e.left-=a:e.left=r(e.left-o,e.left)},top:function(e,t){var n=t.within,i=n.isWindow?n.scrollTop:n.offset.top,s=t.within.height,o=e.top-t.collisionPosition.marginTop,u=i-o,a=o+t.collisionHeight-s-i,f;t.collisionHeight>s?u>0&&a<=0?(f=e.top+u+t.collisionHeight-s-i,e.top+=u-f):a>0&&u<=0?e.top=i:u>a?e.top=i+s-t.collisionHeight:e.top=i:u>0?e.top+=u:a>0?e.top-=a:e.top=r(e.top-o,e.top)}},flip:{left:function(e,t){var n=t.within,r=n.offset.left+n.scrollLeft,s=n.width,o=n.isWindow?n.scrollLeft:n.offset.left,u=e.left-t.collisionPosition.marginLeft,a=u-o,f=u+t.collisionWidth-s-o,l=t.my[0]==="left"?-t.elemWidth:t.my[0]==="right"?t.elemWidth:0,c=t.at[0]==="left"?t.targetWidth:t.at[0]==="right"?-t.targetWidth:0,h=-2*t.offset[0],p,d;if(a<0){p=e.left+l+c+h+t.collisionWidth-s-r;if(p<0||p0){d=e.left-t.collisionPosition.marginLeft+l+c+h-o;if(d>0||i(d)a&&(v<0||v0&&(d=e.top-t.collisionPosition.marginTop+c+h+p-o,e.top+c+h+p>f&&(d>0||i(d)10&&i<11,t.innerHTML="",n.removeChild(t)}(),e.uiBackCompat!==!1&&function(e){var n=e.fn.position;e.fn.position=function(r){if(!r||!r.offset)return n.call(this,r);var i=r.offset.split(" "),s=r.at.split(" ");return i.length===1&&(i[1]=i[0]),/^\d/.test(i[0])&&(i[0]="+"+i[0]),/^\d/.test(i[1])&&(i[1]="+"+i[1]),s.length===1&&(/left|center|right/.test(s[0])?s[1]="center":(s[1]=s[0],s[0]="center")),n.call(this,e.extend(r,{at:s[0]+i[0]+" "+s[1]+i[1],offset:t}))}}(jQuery)})(jQuery);(function(e,t){var n=0,r={},i={};r.height=r.paddingTop=r.paddingBottom=r.borderTopWidth=r.borderBottomWidth="hide",i.height=i.paddingTop=i.paddingBottom=i.borderTopWidth=i.borderBottomWidth="show",e.widget("ui.accordion",{version:"1.9.0",options:{active:0,animate:{},collapsible:!1,event:"click",header:"> li > :first-child,> :not(li):even",heightStyle:"auto",icons:{activeHeader:"ui-icon-triangle-1-s",header:"ui-icon-triangle-1-e"},activate:null,beforeActivate:null},_create:function(){var t=this.accordionId="ui-accordion-"+(this.element.attr("id")||++n),r=this.options;this.prevShow=this.prevHide=e(),this.element.addClass("ui-accordion ui-widget ui-helper-reset"),this.headers=this.element.find(r.header).addClass("ui-accordion-header ui-helper-reset ui-state-default ui-corner-all"),this._hoverable(this.headers),this._focusable(this.headers),this.headers.next().addClass("ui-accordion-content ui-helper-reset ui-widget-content ui-corner-bottom").hide(),!r.collapsible&&r.active===!1&&(r.active=0),r.active<0&&(r.active+=this.headers.length),this.active=this._findActive(r.active).addClass("ui-accordion-header-active ui-state-active").toggleClass("ui-corner-all ui-corner-top"),this.active.next().addClass("ui-accordion-content-active").show(),this._createIcons(),this.originalHeight=this.element[0].style.height,this.refresh(),this.element.attr("role","tablist"),this.headers.attr("role","tab").each(function(n){var r=e(this),i=r.attr("id"),s=r.next(),o=s.attr("id");i||(i=t+"-header-"+n,r.attr("id",i)),o||(o=t+"-panel-"+n,s.attr("id",o)),r.attr("aria-controls",o),s.attr("aria-labelledby",i)}).next().attr("role","tabpanel"),this.headers.not(this.active).attr({"aria-selected":"false",tabIndex:-1}).next().attr({"aria-expanded":"false","aria-hidden":"true"}).hide(),this.active.length?this.active.attr({"aria-selected":"true",tabIndex:0}).next().attr({"aria-expanded":"true","aria-hidden":"false"}):this.headers.eq(0).attr("tabIndex",0),this._on(this.headers,{keydown:"_keydown"}),this._on(this.headers.next(),{keydown:"_panelKeyDown"}),this._setupEvents(r.event)},_getCreateEventData:function(){return{header:this.active,content:this.active.length?this.active.next():e()}},_createIcons:function(){var t=this.options.icons;t&&(e("").addClass("ui-accordion-header-icon ui-icon "+t.header).prependTo(this.headers),this.active.children(".ui-accordion-header-icon").removeClass(t.header).addClass(t.activeHeader),this.headers.addClass("ui-accordion-icons"))},_destroyIcons:function(){this.headers.removeClass("ui-accordion-icons").children(".ui-accordion-header-icon").remove()},_destroy:function(){var e;this.element.removeClass("ui-accordion ui-widget ui-helper-reset").removeAttr("role"),this.headers.removeClass("ui-accordion-header ui-accordion-header-active ui-helper-reset ui-state-default ui-corner-all ui-state-active ui-state-disabled ui-corner-top").removeAttr("role").removeAttr("aria-selected").removeAttr("aria-controls").removeAttr("tabIndex").each(function(){/^ui-accordion/.test(this.id)&&this.removeAttribute("id")}),this._destroyIcons(),e=this.headers.next().css("display","").removeAttr("role").removeAttr("aria-expanded").removeAttr("aria-hidden").removeAttr("aria-labelledby").removeClass("ui-helper-reset ui-widget-content ui-corner-bottom ui-accordion-content ui-accordion-content-active ui-state-disabled").each(function(){/^ui-accordion/.test(this.id)&&this.removeAttribute("id")}),this.options.heightStyle!=="content"&&(this.element.css("height",this.originalHeight),e.css("height",""))},_setOption:function(e,t){if(e==="active"){this._activate(t);return}e==="event"&&(this.options.event&&this._off(this.headers,this.options.event),this._setupEvents(t)),this._super(e,t),e==="collapsible"&&!t&&this.options.active===!1&&this._activate(0),e==="icons"&&(this._destroyIcons(),t&&this._createIcons()),e==="disabled"&&this.headers.add(this.headers.next()).toggleClass("ui-state-disabled",!!t)},_keydown:function(t){if(t.altKey||t.ctrlKey)return;var n=e.ui.keyCode,r=this.headers.length,i=this.headers.index(t.target),s=!1;switch(t.keyCode){case n.RIGHT:case n.DOWN:s=this.headers[(i+1)%r];break;case n.LEFT:case n.UP:s=this.headers[(i-1+r)%r];break;case n.SPACE:case n.ENTER:this._eventHandler(t);break;case n.HOME:s=this.headers[0];break;case n.END:s=this.headers[r-1]}s&&(e(t.target).attr("tabIndex",-1),e(s).attr("tabIndex",0),s.focus(),t.preventDefault())},_panelKeyDown:function(t){t.keyCode===e.ui.keyCode.UP&&t.ctrlKey&&e(t.currentTarget).prev().focus()},refresh:function(){var t,n,r=this.options.heightStyle,i=this.element.parent();this.element.css("height",this.originalHeight),r==="fill"?(e.support.minHeight||(n=i.css("overflow"),i.css("overflow","hidden")),t=i.height(),this.element.siblings(":visible").each(function(){var n=e(this),r=n.css("position");if(r==="absolute"||r==="fixed")return;t-=n.outerHeight(!0)}),n&&i.css("overflow",n),this.headers.each(function(){t-=e(this).outerHeight(!0)}),this.headers.next().each(function(){e(this).height(Math.max(0,t-e(this).innerHeight()+e(this).height()))}).css("overflow","auto")):r==="auto"&&(t=0,this.headers.next().each(function(){t=Math.max(t,e(this).height("").height())}).height(t)),r!=="content"&&this.element.height(this.element.height())},_activate:function(t){var n=this._findActive(t)[0];if(n===this.active[0])return;n=n||this.active[0],this._eventHandler({target:n,currentTarget:n,preventDefault:e.noop})},_findActive:function(t){return typeof t=="number"?this.headers.eq(t):e()},_setupEvents:function(t){var n={};if(!t)return;e.each(t.split(" "),function(e,t){n[t]="_eventHandler"}),this._on(this.headers,n)},_eventHandler:function(t){var n=this.options,r=this.active,i=e(t.currentTarget),s=i[0]===r[0],o=s&&n.collapsible,u=o?e():i.next(),a=r.next(),f={oldHeader:r,oldPanel:a,newHeader:o?e():i,newPanel:u};t.preventDefault();if(s&&!n.collapsible||this._trigger("beforeActivate",t,f)===!1)return;n.active=o?!1:this.headers.index(i),this.active=s?e():i,this._toggle(f),r.removeClass("ui-accordion-header-active ui-state-active"),n.icons&&r.children(".ui-accordion-header-icon").removeClass(n.icons.activeHeader).addClass(n.icons.header),s||(i.removeClass("ui-corner-all").addClass("ui-accordion-header-active ui-state-active ui-corner-top"),n.icons&&i.children(".ui-accordion-header-icon").removeClass(n.icons.header).addClass(n.icons.activeHeader),i.next().addClass("ui-accordion-content-active"))},_toggle:function(t){var n=t.newPanel,r=this.prevShow.length?this.prevShow:t.oldPanel;this.prevShow.add(this.prevHide).stop(!0,!0),this.prevShow=n,this.prevHide=r,this.options.animate?this._animate(n,r,t):(r.hide(),n.show(),this._toggleComplete(t)),r.attr({"aria-expanded":"false","aria-hidden":"true"}),r.prev().attr("aria-selected","false"),n.length&&r.length?r.prev().attr("tabIndex",-1):n.length&&this.headers.filter(function(){return e(this).attr("tabIndex")===0}).attr("tabIndex",-1),n.attr({"aria-expanded":"true","aria-hidden":"false"}).prev().attr({"aria-selected":"true",tabIndex:0})},_animate:function(e,t,n){var s,o,u,a=this,f=0,l=e.length&&(!t.length||e.index()",options:{appendTo:"body",autoFocus:!1,delay:300,minLength:1,position:{my:"left top",at:"left bottom",collision:"none"},source:null,change:null,close:null,focus:null,open:null,response:null,search:null,select:null},pending:0,_create:function(){var t,n,r;this.isMultiLine=this._isMultiLine(),this.valueMethod=this.element[this.element.is("input,textarea")?"val":"text"],this.isNewMenu=!0,this.element.addClass("ui-autocomplete-input").attr("autocomplete","off"),this._on({keydown:function(i){if(this.element.prop("readOnly")){t=!0,r=!0,n=!0;return}t=!1,r=!1,n=!1;var s=e.ui.keyCode;switch(i.keyCode){case s.PAGE_UP:t=!0,this._move("previousPage",i);break;case s.PAGE_DOWN:t=!0,this._move("nextPage",i);break;case s.UP:t=!0,this._keyEvent("previous",i);break;case s.DOWN:t=!0,this._keyEvent("next",i);break;case s.ENTER:case s.NUMPAD_ENTER:this.menu.active&&(t=!0,i.preventDefault(),this.menu.select(i));break;case s.TAB:this.menu.active&&this.menu.select(i);break;case s.ESCAPE:this.menu.element.is(":visible")&&(this._value(this.term),this.close(i),i.preventDefault());break;default:n=!0,this._searchTimeout(i)}},keypress:function(r){if(t){t=!1,r.preventDefault();return}if(n)return;var i=e.ui.keyCode;switch(r.keyCode){case i.PAGE_UP:this._move("previousPage",r);break;case i.PAGE_DOWN:this._move("nextPage",r);break;case i.UP:this._keyEvent("previous",r);break;case i.DOWN:this._keyEvent("next",r)}},input:function(e){if(r){r=!1,e.preventDefault();return}this._searchTimeout(e)},focus:function(){this.selectedItem=null,this.previous=this._value()},blur:function(e){if(this.cancelBlur){delete this.cancelBlur;return}clearTimeout(this.searching),this.close(e),this._change(e)}}),this._initSource(),this.menu=e("
                                                                  6. '+"";var z=N?'":"";for(var W=0;W<7;W++){var X=(W+T)%7;z+="=5?' class="ui-datepicker-week-end"':"")+">"+''+L[X]+""}U+=z+"";var V=this._getDaysInMonth(d,p);d==e.selectedYear&&p==e.selectedMonth&&(e.selectedDay=Math.min(e.selectedDay,V));var J=(this._getFirstDayOfMonth(d,p)-T+7)%7,K=Math.ceil((J+V)/7),Q=f?this.maxRows>K?this.maxRows:K:K;this.maxRows=Q;var G=this._daylightSavingAdjust(new Date(d,p,1-J));for(var Y=0;Y";var Z=N?'":"";for(var W=0;W<7;W++){var et=M?M.apply(e.input?e.input[0]:null,[G]):[!0,""],tt=G.getMonth()!=p,nt=tt&&!D||!et[0]||c&&Gh;Z+='",G.setDate(G.getDate()+1),G=this._daylightSavingAdjust(G)}U+=Z+""}p++,p>11&&(p=0,d++),U+="
                                                                    '+this._get(e,"weekHeader")+"
                                                                    '+this._get(e,"calculateWeek")(G)+""+(tt&&!_?" ":nt?''+G.getDate()+"":''+G.getDate()+"")+"
                                                                    "+(f?"
                                                                    "+(o[0]>0&&I==o[1]-1?'
                                                                    ':""):""),F+=U}B+=F}return B+=x+($.browser.msie&&parseInt($.browser.version,10)<7&&!e.inline?'':""),e._keyEvent=!1,B},_generateMonthYearHeader:function(e,t,n,r,i,s,o,u){var a=this._get(e,"changeMonth"),f=this._get(e,"changeYear"),l=this._get(e,"showMonthAfterYear"),c='
                                                                    ',h="";if(s||!a)h+=''+o[t]+"";else{var p=r&&r.getFullYear()==n,d=i&&i.getFullYear()==n;h+='"}l||(c+=h+(s||!a||!f?" ":""));if(!e.yearshtml){e.yearshtml="";if(s||!f)c+=''+n+"";else{var m=this._get(e,"yearRange").split(":"),g=(new Date).getFullYear(),y=function(e){var t=e.match(/c[+-].*/)?n+parseInt(e.substring(1),10):e.match(/[+-].*/)?g+parseInt(e,10):parseInt(e,10);return isNaN(t)?g:t},b=y(m[0]),w=Math.max(b,y(m[1]||""));b=r?Math.max(b,r.getFullYear()):b,w=i?Math.min(w,i.getFullYear()):w,e.yearshtml+='",c+=e.yearshtml,e.yearshtml=null}}return c+=this._get(e,"yearSuffix"),l&&(c+=(s||!a||!f?" ":"")+h),c+="
                                                                    ",c},_adjustInstDate:function(e,t,n){var r=e.drawYear+(n=="Y"?t:0),i=e.drawMonth+(n=="M"?t:0),s=Math.min(e.selectedDay,this._getDaysInMonth(r,i))+(n=="D"?t:0),o=this._restrictMinMax(e,this._daylightSavingAdjust(new Date(r,i,s)));e.selectedDay=o.getDate(),e.drawMonth=e.selectedMonth=o.getMonth(),e.drawYear=e.selectedYear=o.getFullYear(),(n=="M"||n=="Y")&&this._notifyChange(e)},_restrictMinMax:function(e,t){var n=this._getMinMaxDate(e,"min"),r=this._getMinMaxDate(e,"max"),i=n&&tr?r:i,i},_notifyChange:function(e){var t=this._get(e,"onChangeMonthYear");t&&t.apply(e.input?e.input[0]:null,[e.selectedYear,e.selectedMonth+1,e])},_getNumberOfMonths:function(e){var t=this._get(e,"numberOfMonths");return t==null?[1,1]:typeof t=="number"?[1,t]:t},_getMinMaxDate:function(e,t){return this._determineDate(e,this._get(e,t+"Date"),null)},_getDaysInMonth:function(e,t){return 32-this._daylightSavingAdjust(new Date(e,t,32)).getDate()},_getFirstDayOfMonth:function(e,t){return(new Date(e,t,1)).getDay()},_canAdjustMonth:function(e,t,n,r){var i=this._getNumberOfMonths(e),s=this._daylightSavingAdjust(new Date(n,r+(t<0?t:i[0]*i[1]),1));return t<0&&s.setDate(this._getDaysInMonth(s.getFullYear(),s.getMonth())),this._isInRange(e,s)},_isInRange:function(e,t){var n=this._getMinMaxDate(e,"min"),r=this._getMinMaxDate(e,"max");return(!n||t.getTime()>=n.getTime())&&(!r||t.getTime()<=r.getTime())},_getFormatConfig:function(e){var t=this._get(e,"shortYearCutoff");return t=typeof t!="string"?t:(new Date).getFullYear()%100+parseInt(t,10),{shortYearCutoff:t,dayNamesShort:this._get(e,"dayNamesShort"),dayNames:this._get(e,"dayNames"),monthNamesShort:this._get(e,"monthNamesShort"),monthNames:this._get(e,"monthNames")}},_formatDate:function(e,t,n,r){t||(e.currentDay=e.selectedDay,e.currentMonth=e.selectedMonth,e.currentYear=e.selectedYear);var i=t?typeof t=="object"?t:this._daylightSavingAdjust(new Date(r,n,t)):this._daylightSavingAdjust(new Date(e.currentYear,e.currentMonth,e.currentDay));return this.formatDate(this._get(e,"dateFormat"),i,this._getFormatConfig(e))}}),$.fn.datepicker=function(e){if(!this.length)return this;$.datepicker.initialized||($(document).mousedown($.datepicker._checkExternalClick).find(document.body).append($.datepicker.dpDiv),$.datepicker.initialized=!0);var t=Array.prototype.slice.call(arguments,1);return typeof e!="string"||e!="isDisabled"&&e!="getDate"&&e!="widget"?e=="option"&&arguments.length==2&&typeof arguments[1]=="string"?$.datepicker["_"+e+"Datepicker"].apply($.datepicker,[this[0]].concat(t)):this.each(function(){typeof e=="string"?$.datepicker["_"+e+"Datepicker"].apply($.datepicker,[this].concat(t)):$.datepicker._attachDatepicker(this,e)}):$.datepicker["_"+e+"Datepicker"].apply($.datepicker,[this[0]].concat(t))},$.datepicker=new Datepicker,$.datepicker.initialized=!1,$.datepicker.uuid=(new Date).getTime(),$.datepicker.version="1.9.0",window["DP_jQuery_"+dpuuid]=$})(jQuery);(function(e,t){var n="ui-dialog ui-widget ui-widget-content ui-corner-all ",r={buttons:!0,height:!0,maxHeight:!0,maxWidth:!0,minHeight:!0,minWidth:!0,width:!0},i={maxHeight:!0,maxWidth:!0,minHeight:!0,minWidth:!0};e.widget("ui.dialog",{version:"1.9.0",options:{autoOpen:!0,buttons:{},closeOnEscape:!0,closeText:"close",dialogClass:"",draggable:!0,hide:null,height:"auto",maxHeight:!1,maxWidth:!1,minHeight:150,minWidth:150,modal:!1,position:{my:"center",at:"center",of:window,collision:"fit",using:function(t){var n=e(this).css(t).offset().top;n<0&&e(this).css("top",t.top-n)}},resizable:!0,show:null,stack:!0,title:"",width:300,zIndex:1e3},_create:function(){this.originalTitle=this.element.attr("title"),typeof this.originalTitle!="string"&&(this.originalTitle=""),this.oldPosition={parent:this.element.parent(),index:this.element.parent().children().index(this.element)},this.options.title=this.options.title||this.originalTitle;var t=this,r=this.options,i=r.title||" ",s=(this.uiDialog=e("
                                                                    ")).addClass(n+r.dialogClass).css({display:"none",outline:0,zIndex:r.zIndex}).attr("tabIndex",-1).keydown(function(n){r.closeOnEscape&&!n.isDefaultPrevented()&&n.keyCode&&n.keyCode===e.ui.keyCode.ESCAPE&&(t.close(n),n.preventDefault())}).mousedown(function(e){t.moveToTop(!1,e)}).appendTo("body"),o=this.element.show().removeAttr("title").addClass("ui-dialog-content ui-widget-content").appendTo(s),u=(this.uiDialogTitlebar=e("
                                                                    ")).addClass("ui-dialog-titlebar ui-widget-header ui-corner-all ui-helper-clearfix").prependTo(s),a=e("").addClass("ui-dialog-titlebar-close ui-corner-all").attr("role","button").click(function(e){e.preventDefault(),t.close(e)}).appendTo(u),f=(this.uiDialogTitlebarCloseText=e("")).addClass("ui-icon ui-icon-closethick").text(r.closeText).appendTo(a),l=e("").uniqueId().addClass("ui-dialog-title").html(i).prependTo(u),c=(this.uiDialogButtonPane=e("
                                                                    ")).addClass("ui-dialog-buttonpane ui-widget-content ui-helper-clearfix"),h=(this.uiButtonSet=e("
                                                                    ")).addClass("ui-dialog-buttonset").appendTo(c);s.attr({role:"dialog","aria-labelledby":l.attr("id")}),u.find("*").add(u).disableSelection(),this._hoverable(a),this._focusable(a),r.draggable&&e.fn.draggable&&this._makeDraggable(),r.resizable&&e.fn.resizable&&this._makeResizable(),this._createButtons(r.buttons),this._isOpen=!1,e.fn.bgiframe&&s.bgiframe(),this._on(s,{keydown:function(t){if(!r.modal||t.keyCode!==e.ui.keyCode.TAB)return;var n=e(":tabbable",s),i=n.filter(":first"),o=n.filter(":last");if(t.target===o[0]&&!t.shiftKey)return i.focus(1),!1;if(t.target===i[0]&&t.shiftKey)return o.focus(1),!1}})},_init:function(){this.options.autoOpen&&this.open()},_destroy:function(){var e,t=this.oldPosition;this.overlay&&this.overlay.destroy(),this.uiDialog.hide(),this.element.removeClass("ui-dialog-content ui-widget-content").hide().appendTo("body"),this.uiDialog.remove(),this.originalTitle&&this.element.attr("title",this.originalTitle),e=t.parent.children().eq(t.index),e.length&&e[0]!==this.element[0]?e.before(this.element):t.parent.append(this.element)},widget:function(){return this.uiDialog},close:function(t){var n=this,r,i;if(!this._isOpen)return;if(!1===this._trigger("beforeClose",t))return;return this._isOpen=!1,this.overlay&&this.overlay.destroy(),this.options.hide?this.uiDialog.hide(this.options.hide,function(){n._trigger("close",t)}):(this.uiDialog.hide(),this._trigger("close",t)),e.ui.dialog.overlay.resize(),this.options.modal&&(r=0,e(".ui-dialog").each(function(){this!==n.uiDialog[0]&&(i=e(this).css("z-index"),isNaN(i)||(r=Math.max(r,i)))}),e.ui.dialog.maxZ=r),this},isOpen:function(){return this._isOpen},moveToTop:function(t,n){var r=this.options,i;return r.modal&&!t||!r.stack&&!r.modal?this._trigger("focus",n):(r.zIndex>e.ui.dialog.maxZ&&(e.ui.dialog.maxZ=r.zIndex),this.overlay&&(e.ui.dialog.maxZ+=1,e.ui.dialog.overlay.maxZ=e.ui.dialog.maxZ,this.overlay.$el.css("z-index",e.ui.dialog.overlay.maxZ)),i={scrollTop:this.element.scrollTop(),scrollLeft:this.element.scrollLeft()},e.ui.dialog.maxZ+=1,this.uiDialog.css("z-index",e.ui.dialog.maxZ),this.element.attr(i),this._trigger("focus",n),this)},open:function(){if(this._isOpen)return;var t,n=this.options,r=this.uiDialog;return this._size(),this._position(n.position),r.show(n.show),this.overlay=n.modal?new e.ui.dialog.overlay(this):null,this.moveToTop(!0),t=this.element.find(":tabbable"),t.length||(t=this.uiDialogButtonPane.find(":tabbable"),t.length||(t=r)),t.eq(0).focus(),this._isOpen=!0,this._trigger("open"),this},_createButtons:function(t){var n,r,i=this,s=!1;this.uiDialogButtonPane.remove(),this.uiButtonSet.empty(),typeof t=="object"&&t!==null&&e.each(t,function(){return!(s=!0)}),s?(e.each(t,function(t,n){n=e.isFunction(n)?{click:n,text:t}:n;var r=e("
                                                                    ').css({width:this.offsetWidth+"px",height:this.offsetHeight+"px",position:"absolute",opacity:"0.001",zIndex:1e3}).css(e(this).offset()).appendTo("body")}),!0):!1)},_mouseStart:function(t){var n=this.options;return this.helper=this._createHelper(t),this.helper.addClass("ui-draggable-dragging"),this._cacheHelperProportions(),e.ui.ddmanager&&(e.ui.ddmanager.current=this),this._cacheMargins(),this.cssPosition=this.helper.css("position"),this.scrollParent=this.helper.scrollParent(),this.offset=this.positionAbs=this.element.offset(),this.offset={top:this.offset.top-this.margins.top,left:this.offset.left-this.margins.left},e.extend(this.offset,{click:{left:t.pageX-this.offset.left,top:t.pageY-this.offset.top},parent:this._getParentOffset(),relative:this._getRelativeOffset()}),this.originalPosition=this.position=this._generatePosition(t),this.originalPageX=t.pageX,this.originalPageY=t.pageY,n.cursorAt&&this._adjustOffsetFromHelper(n.cursorAt),n.containment&&this._setContainment(),this._trigger("start",t)===!1?(this._clear(),!1):(this._cacheHelperProportions(),e.ui.ddmanager&&!n.dropBehaviour&&e.ui.ddmanager.prepareOffsets(this,t),this._mouseDrag(t,!0),e.ui.ddmanager&&e.ui.ddmanager.dragStart(this,t),!0)},_mouseDrag:function(t,n){this.position=this._generatePosition(t),this.positionAbs=this._convertPositionTo("absolute");if(!n){var r=this._uiHash();if(this._trigger("drag",t,r)===!1)return this._mouseUp({}),!1;this.position=r.position}if(!this.options.axis||this.options.axis!="y")this.helper[0].style.left=this.position.left+"px";if(!this.options.axis||this.options.axis!="x")this.helper[0].style.top=this.position.top+"px";return e.ui.ddmanager&&e.ui.ddmanager.drag(this,t),!1},_mouseStop:function(t){var n=!1;e.ui.ddmanager&&!this.options.dropBehaviour&&(n=e.ui.ddmanager.drop(this,t)),this.dropped&&(n=this.dropped,this.dropped=!1);var r=this.element[0],i=!1;while(r&&(r=r.parentNode))r==document&&(i=!0);if(!i&&this.options.helper==="original")return!1;if(this.options.revert=="invalid"&&!n||this.options.revert=="valid"&&n||this.options.revert===!0||e.isFunction(this.options.revert)&&this.options.revert.call(this.element,n)){var s=this;e(this.helper).animate(this.originalPosition,parseInt(this.options.revertDuration,10),function(){s._trigger("stop",t)!==!1&&s._clear()})}else this._trigger("stop",t)!==!1&&this._clear();return!1},_mouseUp:function(t){return e("div.ui-draggable-iframeFix").each(function(){this.parentNode.removeChild(this)}),e.ui.ddmanager&&e.ui.ddmanager.dragStop(this,t),e.ui.mouse.prototype._mouseUp.call(this,t)},cancel:function(){return this.helper.is(".ui-draggable-dragging")?this._mouseUp({}):this._clear(),this},_getHandle:function(t){var n=!this.options.handle||!e(this.options.handle,this.element).length?!0:!1;return e(this.options.handle,this.element).find("*").andSelf().each(function(){this==t.target&&(n=!0)}),n},_createHelper:function(t){var n=this.options,r=e.isFunction(n.helper)?e(n.helper.apply(this.element[0],[t])):n.helper=="clone"?this.element.clone().removeAttr("id"):this.element;return r.parents("body").length||r.appendTo(n.appendTo=="parent"?this.element[0].parentNode:n.appendTo),r[0]!=this.element[0]&&!/(fixed|absolute)/.test(r.css("position"))&&r.css("position","absolute"),r},_adjustOffsetFromHelper:function(t){typeof t=="string"&&(t=t.split(" ")),e.isArray(t)&&(t={left:+t[0],top:+t[1]||0}),"left"in t&&(this.offset.click.left=t.left+this.margins.left),"right"in t&&(this.offset.click.left=this.helperProportions.width-t.right+this.margins.left),"top"in t&&(this.offset.click.top=t.top+this.margins.top),"bottom"in t&&(this.offset.click.top=this.helperProportions.height-t.bottom+this.margins.top)},_getParentOffset:function(){this.offsetParent=this.helper.offsetParent();var t=this.offsetParent.offset();this.cssPosition=="absolute"&&this.scrollParent[0]!=document&&e.contains(this.scrollParent[0],this.offsetParent[0])&&(t.left+=this.scrollParent.scrollLeft(),t.top+=this.scrollParent.scrollTop());if(this.offsetParent[0]==document.body||this.offsetParent[0].tagName&&this.offsetParent[0].tagName.toLowerCase()=="html"&&e.browser.msie)t={top:0,left:0};return{top:t.top+(parseInt(this.offsetParent.css("borderTopWidth"),10)||0),left:t.left+(parseInt(this.offsetParent.css("borderLeftWidth"),10)||0)}},_getRelativeOffset:function(){if(this.cssPosition=="relative"){var e=this.element.position();return{top:e.top-(parseInt(this.helper.css("top"),10)||0)+this.scrollParent.scrollTop(),left:e.left-(parseInt(this.helper.css("left"),10)||0)+this.scrollParent.scrollLeft()}}return{top:0,left:0}},_cacheMargins:function(){this.margins={left:parseInt(this.element.css("marginLeft"),10)||0,top:parseInt(this.element.css("marginTop"),10)||0,right:parseInt(this.element.css("marginRight"),10)||0,bottom:parseInt(this.element.css("marginBottom"),10)||0}},_cacheHelperProportions:function(){this.helperProportions={width:this.helper.outerWidth(),height:this.helper.outerHeight()}},_setContainment:function(){var t=this.options;t.containment=="parent"&&(t.containment=this.helper[0].parentNode);if(t.containment=="document"||t.containment=="window")this.containment=[t.containment=="document"?0:e(window).scrollLeft()-this.offset.relative.left-this.offset.parent.left,t.containment=="document"?0:e(window).scrollTop()-this.offset.relative.top-this.offset.parent.top,(t.containment=="document"?0:e(window).scrollLeft())+e(t.containment=="document"?document:window).width()-this.helperProportions.width-this.margins.left,(t.containment=="document"?0:e(window).scrollTop())+(e(t.containment=="document"?document:window).height()||document.body.parentNode.scrollHeight)-this.helperProportions.height-this.margins.top];if(!/^(document|window|parent)$/.test(t.containment)&&t.containment.constructor!=Array){var n=e(t.containment),r=n[0];if(!r)return;var i=n.offset(),s=e(r).css("overflow")!="hidden";this.containment=[(parseInt(e(r).css("borderLeftWidth"),10)||0)+(parseInt(e(r).css("paddingLeft"),10)||0),(parseInt(e(r).css("borderTopWidth"),10)||0)+(parseInt(e(r).css("paddingTop"),10)||0),(s?Math.max(r.scrollWidth,r.offsetWidth):r.offsetWidth)-(parseInt(e(r).css("borderLeftWidth"),10)||0)-(parseInt(e(r).css("paddingRight"),10)||0)-this.helperProportions.width-this.margins.left-this.margins.right,(s?Math.max(r.scrollHeight,r.offsetHeight):r.offsetHeight)-(parseInt(e(r).css("borderTopWidth"),10)||0)-(parseInt(e(r).css("paddingBottom"),10)||0)-this.helperProportions.height-this.margins.top-this.margins.bottom],this.relative_container=n}else t.containment.constructor==Array&&(this.containment=t.containment)},_convertPositionTo:function(t,n){n||(n=this.position);var r=t=="absolute"?1:-1,i=this.options,s=this.cssPosition!="absolute"||this.scrollParent[0]!=document&&!!e.contains(this.scrollParent[0],this.offsetParent[0])?this.scrollParent:this.offsetParent,o=/(html|body)/i.test(s[0].tagName);return{top:n.top+this.offset.relative.top*r+this.offset.parent.top*r-(this.cssPosition=="fixed"?-this.scrollParent.scrollTop():o?0:s.scrollTop())*r,left:n.left+this.offset.relative.left*r+this.offset.parent.left*r-(this.cssPosition=="fixed"?-this.scrollParent.scrollLeft():o?0:s.scrollLeft())*r}},_generatePosition:function(t){var n=this.options,r=this.cssPosition!="absolute"||this.scrollParent[0]!=document&&!!e.contains(this.scrollParent[0],this.offsetParent[0])?this.scrollParent:this.offsetParent,i=/(html|body)/i.test(r[0].tagName),s=t.pageX,o=t.pageY;if(this.originalPosition){var u;if(this.containment){if(this.relative_container){var a=this.relative_container.offset();u=[this.containment[0]+a.left,this.containment[1]+a.top,this.containment[2]+a.left,this.containment[3]+a.top]}else u=this.containment;t.pageX-this.offset.click.leftu[2]&&(s=u[2]+this.offset.click.left),t.pageY-this.offset.click.top>u[3]&&(o=u[3]+this.offset.click.top)}if(n.grid){var f=n.grid[1]?this.originalPageY+Math.round((o-this.originalPageY)/n.grid[1])*n.grid[1]:this.originalPageY;o=u?f-this.offset.click.topu[3]?f-this.offset.click.topu[2]?l-this.offset.click.left=0;l--){var c=r.snapElements[l].left,h=c+r.snapElements[l].width,p=r.snapElements[l].top,d=p+r.snapElements[l].height;if(!(c-s=l&&o<=c||u>=l&&u<=c||oc)&&(i>=a&&i<=f||s>=a&&s<=f||if);default:return!1}},e.ui.ddmanager={current:null,droppables:{"default":[]},prepareOffsets:function(t,n){var r=e.ui.ddmanager.droppables[t.options.scope]||[],i=n?n.type:null,s=(t.currentItem||t.element).find(":data(droppable)").andSelf();e:for(var o=0;oe?0:r.max")[0],c,h=t.each;l.style.cssText="background-color:rgba(1,1,1,.5)",f.rgba=l.style.backgroundColor.indexOf("rgba")>-1,h(u,function(e,t){t.cache="_"+e,t.props.alpha={idx:3,type:"percent",def:1}}),o.fn=t.extend(o.prototype,{parse:function(r,i,s,a){if(r===n)return this._rgba=[null,null,null,null],this;if(r.jquery||r.nodeType)r=t(r).css(i),i=n;var f=this,l=t.type(r),v=this._rgba=[],m;i!==n&&(r=[r,i,s,a],l="array");if(l==="string")return this.parse(d(r)||c._default);if(l==="array")return h(u.rgba.props,function(e,t){v[t.idx]=p(r[t.idx],t)}),this;if(l==="object")return r instanceof o?h(u,function(e,t){r[t.cache]&&(f[t.cache]=r[t.cache].slice())}):h(u,function(t,n){var i=n.cache;h(n.props,function(e,t){if(!f[i]&&n.to){if(e==="alpha"||r[e]==null)return;f[i]=n.to(f._rgba)}f[i][t.idx]=p(r[e],t,!0)}),f[i]&&e.inArray(null,f[i].slice(0,3))<0&&(f[i][3]=1,n.from&&(f._rgba=n.from(f[i])))}),this},is:function(e){var t=o(e),n=!0,r=this;return h(u,function(e,i){var s,o=t[i.cache];return o&&(s=r[i.cache]||i.to&&i.to(r._rgba)||[],h(i.props,function(e,t){if(o[t.idx]!=null)return n=o[t.idx]===s[t.idx],n})),n}),n},_space:function(){var e=[],t=this;return h(u,function(n,r){t[r.cache]&&e.push(n)}),e.pop()},transition:function(e,t){var n=o(e),r=n._space(),i=u[r],s=this.alpha()===0?o("transparent"):this,f=s[i.cache]||i.to(s._rgba),l=f.slice();return n=n[i.cache],h(i.props,function(e,r){var i=r.idx,s=f[i],o=n[i],u=a[r.type]||{};if(o===null)return;s===null?l[i]=o:(u.mod&&(o-s>u.mod/2?s+=u.mod:s-o>u.mod/2&&(s-=u.mod)),l[i]=p((o-s)*t+s,r))}),this[r](l)},blend:function(e){if(this._rgba[3]===1)return this;var n=this._rgba.slice(),r=n.pop(),i=o(e)._rgba;return o(t.map(n,function(e,t){return(1-r)*i[t]+r*e}))},toRgbaString:function(){var e="rgba(",n=t.map(this._rgba,function(e,t){return e==null?t>2?1:0:e});return n[3]===1&&(n.pop(),e="rgb("),e+n.join()+")"},toHslaString:function(){var e="hsla(",n=t.map(this.hsla(),function(e,t){return e==null&&(e=t>2?1:0),t&&t<3&&(e=Math.round(e*100)+"%"),e});return n[3]===1&&(n.pop(),e="hsl("),e+n.join()+")"},toHexString:function(e){var n=this._rgba.slice(),r=n.pop();return e&&n.push(~~(r*255)),"#"+t.map(n,function(e,t){return e=(e||0).toString(16),e.length===1?"0"+e:e}).join("")},toString:function(){return this._rgba[3]===0?"transparent":this.toRgbaString()}}),o.fn.parse.prototype=o.fn,u.hsla.to=function(e){if(e[0]==null||e[1]==null||e[2]==null)return[null,null,null,e[3]];var t=e[0]/255,n=e[1]/255,r=e[2]/255,i=e[3],s=Math.max(t,n,r),o=Math.min(t,n,r),u=s-o,a=s+o,f=a*.5,l,c;return o===s?l=0:t===s?l=60*(n-r)/u+360:n===s?l=60*(r-t)/u+120:l=60*(t-n)/u+240,f===0||f===1?c=f:f<=.5?c=u/a:c=u/(2-a),[Math.round(l)%360,c,f,i==null?1:i]},u.hsla.from=function(e){if(e[0]==null||e[1]==null||e[2]==null)return[null,null,null,e[3]];var t=e[0]/360,n=e[1],r=e[2],i=e[3],s=r<=.5?r*(1+n):r+n-r*n,o=2*r-s,u,a,f;return[Math.round(v(o,s,t+1/3)*255),Math.round(v(o,s,t)*255),Math.round(v(o,s,t-1/3)*255),i]},h(u,function(e,r){var s=r.props,u=r.cache,a=r.to,f=r.from;o.fn[e]=function(e){a&&!this[u]&&(this[u]=a(this._rgba));if(e===n)return this[u].slice();var r,i=t.type(e),l=i==="array"||i==="object"?e:arguments,c=this[u].slice();return h(s,function(e,t){var n=l[i==="object"?e:t.idx];n==null&&(n=c[t.idx]),c[t.idx]=p(n,t)}),f?(r=o(f(c)),r[u]=c,r):o(c)},h(s,function(n,r){if(o.fn[n])return;o.fn[n]=function(s){var o=t.type(s),u=n==="alpha"?this._hsla?"hsla":"rgba":e,a=this[u](),f=a[r.idx],l;return o==="undefined"?f:(o==="function"&&(s=s.call(this,f),o=t.type(s)),s==null&&r.empty?this:(o==="string"&&(l=i.exec(s),l&&(s=f+parseFloat(l[2])*(l[1]==="+"?1:-1))),a[r.idx]=s,this[u](a)))}})}),h(r,function(e,n){t.cssHooks[n]={set:function(e,r){var i,s,u="";if(t.type(r)!=="string"||(i=d(r))){r=o(i||r);if(!f.rgba&&r._rgba[3]!==1){s=n==="backgroundColor"?e.parentNode:e;while((u===""||u==="transparent")&&s&&s.style)try{u=t.css(s,"backgroundColor"),s=s.parentNode}catch(a){}r=r.blend(u&&u!=="transparent"?u:"_default")}r=r.toRgbaString()}try{e.style[n]=r}catch(r){}}},t.fx.step[n]=function(e){e.colorInit||(e.start=o(e.elem,n),e.end=o(e.end),e.colorInit=!0),t.cssHooks[n].set(e.elem,e.start.transition(e.end,e.pos))}}),t.cssHooks.borderColor={expand:function(e){var t={};return h(["Top","Right","Bottom","Left"],function(n,r){t["border"+r+"Color"]=e}),t}},c=t.Color.names={aqua:"#00ffff",black:"#000000",blue:"#0000ff",fuchsia:"#ff00ff",gray:"#808080",green:"#008000",lime:"#00ff00",maroon:"#800000",navy:"#000080",olive:"#808000",purple:"#800080",red:"#ff0000",silver:"#c0c0c0",teal:"#008080",white:"#ffffff",yellow:"#ffff00",transparent:[null,null,null,0],_default:"#ffffff"}}(jQuery),function(){function i(){var t=this.ownerDocument.defaultView?this.ownerDocument.defaultView.getComputedStyle(this,null):this.currentStyle,n={},r,i,s;if(t&&t.length&&t[0]&&t[t[0]]){s=t.length;while(s--)r=t[s],typeof t[r]=="string"&&(n[e.camelCase(r)]=t[r])}else for(r in t)typeof t[r]=="string"&&(n[r]=t[r]);return n}function s(t,n){var i={},s,o;for(s in n)o=n[s],t[s]!==o&&!r[s]&&(e.fx.step[s]||!isNaN(parseFloat(o)))&&(i[s]=o);return i}var n=["add","remove","toggle"],r={border:1,borderBottom:1,borderColor:1,borderLeft:1,borderRight:1,borderTop:1,borderWidth:1,margin:1,padding:1};e.each(["borderLeftStyle","borderRightStyle","borderBottomStyle","borderTopStyle"],function(t,n){e.fx.step[n]=function(e){if(e.end!=="none"&&!e.setAttr||e.pos===1&&!e.setAttr)jQuery.style(e.elem,n,e.end),e.setAttr=!0}}),e.effects.animateClass=function(t,r,o,u){var a=e.speed(r,o,u);return this.queue(function(){var r=e(this),o=r.attr("class")||"",u,f=a.children?r.find("*").andSelf():r;f=f.map(function(){var t=e(this);return{el:t,start:i.call(this)}}),u=function(){e.each(n,function(e,n){t[n]&&r[n+"Class"](t[n])})},u(),f=f.map(function(){return this.end=i.call(this.el[0]),this.diff=s(this.start,this.end),this}),r.attr("class",o),f=f.map(function(){var t=this,n=e.Deferred(),r=jQuery.extend({},a,{queue:!1,complete:function(){n.resolve(t)}});return this.el.animate(this.diff,r),n.promise()}),e.when.apply(e,f.get()).done(function(){u(),e.each(arguments,function(){var t=this.el;e.each(this.diff,function(e){t.css(e,"")})}),a.complete.call(r[0])})})},e.fn.extend({_addClass:e.fn.addClass,addClass:function(t,n,r,i){return n?e.effects.animateClass.call(this,{add:t},n,r,i):this._addClass(t)},_removeClass:e.fn.removeClass,removeClass:function(t,n,r,i){return n?e.effects.animateClass.call(this,{remove:t},n,r,i):this._removeClass(t)},_toggleClass:e.fn.toggleClass,toggleClass:function(n,r,i,s,o){return typeof r=="boolean"||r===t?i?e.effects.animateClass.call(this,r?{add:n}:{remove:n},i,s,o):this._toggleClass(n,r):e.effects.animateClass.call(this,{toggle:n},r,i,s)},switchClass:function(t,n,r,i,s){return e.effects.animateClass.call(this,{add:n,remove:t},r,i,s)}})}(),function(){function i(n,r,i,s){e.isPlainObject(n)&&(r=n,n=n.effect),n={effect:n},r===t&&(r={}),e.isFunction(r)&&(s=r,i=null,r={});if(typeof r=="number"||e.fx.speeds[r])s=i,i=r,r={};return e.isFunction(i)&&(s=i,i=null),r&&e.extend(n,r),i=i||r.duration,n.duration=e.fx.off?0:typeof i=="number"?i:i in e.fx.speeds?e.fx.speeds[i]:e.fx.speeds._default,n.complete=s||r.complete,n}function s(t){return!t||typeof t=="number"||e.fx.speeds[t]?!0:typeof t=="string"&&!e.effects.effect[t]?n&&e.effects[t]?!1:!0:!1}e.extend(e.effects,{version:"1.9.0",save:function(e,t){for(var n=0;n
                                                                    ").addClass("ui-effects-wrapper").css({fontSize:"100%",background:"transparent",border:"none",margin:0,padding:0}),i={width:t.width(),height:t.height()},s=document.activeElement;try{s.id}catch(o){s=document.body}return t.wrap(r),(t[0]===s||e.contains(t[0],s))&&e(s).focus(),r=t.parent(),t.css("position")==="static"?(r.css({position:"relative"}),t.css({position:"relative"})):(e.extend(n,{position:t.css("position"),zIndex:t.css("z-index")}),e.each(["top","left","bottom","right"],function(e,r){n[r]=t.css(r),isNaN(parseInt(n[r],10))&&(n[r]="auto")}),t.css({position:"relative",top:0,left:0,right:"auto",bottom:"auto"})),t.css(i),r.css(n).show()},removeWrapper:function(t){var n=document.activeElement;return t.parent().is(".ui-effects-wrapper")&&(t.parent().replaceWith(t),(t[0]===n||e.contains(t[0],n))&&e(n).focus()),t},setTransition:function(t,n,r,i){return i=i||{},e.each(n,function(e,n){var s=t.cssUnit(n);s[0]>0&&(i[n]=s[0]*r+s[1])}),i}}),e.fn.extend({effect:function(t,r,s,o){function h(t){function s(){e.isFunction(r)&&r.call(n[0]),e.isFunction(t)&&t()}var n=e(this),r=u.complete,i=u.mode;(n.is(":hidden")?i==="hide":i==="show")?s():l.call(n[0],u,s)}var u=i.apply(this,arguments),a=u.mode,f=u.queue,l=e.effects.effect[u.effect],c=!l&&n&&e.effects[u.effect];return e.fx.off||!l&&!c?a?this[a](u.duration,u.complete):this.each(function(){u.complete&&u.complete.call(this)}):l?f===!1?this.each(h):this.queue(f||"fx",h):c.call(this,{options:u,duration:u.duration,callback:u.complete,mode:u.mode})},_show:e.fn.show,show:function(e){if(s(e))return this._show.apply(this,arguments);var t=i.apply(this,arguments);return t.mode="show",this.effect.call(this,t)},_hide:e.fn.hide,hide:function(e){if(s(e))return this._hide.apply(this,arguments);var t=i.apply(this,arguments);return t.mode="hide",this.effect.call(this,t)},__toggle:e.fn.toggle,toggle:function(t){if(s(t)||typeof t=="boolean"||e.isFunction(t))return this.__toggle.apply(this,arguments);var n=i.apply(this,arguments);return n.mode="toggle",this.effect.call(this,n)},cssUnit:function(t){var n=this.css(t),r=[];return e.each(["em","px","%","pt"],function(e,t){n.indexOf(t)>0&&(r=[parseFloat(n),t])}),r}})}(),function(){var t={};e.each(["Quad","Cubic","Quart","Quint","Expo"],function(e,n){t[n]=function(t){return Math.pow(t,e+2)}}),e.extend(t,{Sine:function(e){return 1-Math.cos(e*Math.PI/2)},Circ:function(e){return 1-Math.sqrt(1-e*e)},Elastic:function(e){return e===0||e===1?e:-Math.pow(2,8*(e-1))*Math.sin(((e-1)*80-7.5)*Math.PI/15)},Back:function(e){return e*e*(3*e-2)},Bounce:function(e){var t,n=4;while(e<((t=Math.pow(2,--n))-1)/11);return 1/Math.pow(4,3-n)-7.5625*Math.pow((t*3-2)/22-e,2)}}),e.each(t,function(t,n){e.easing["easeIn"+t]=n,e.easing["easeOut"+t]=function(e){return 1-n(1-e)},e.easing["easeInOut"+t]=function(e){return e<.5?n(e*2)/2:1-n(e*-2+2)/2}})}()}(jQuery);(function(e,t){var n=/up|down|vertical/,r=/up|left|vertical|horizontal/;e.effects.effect.blind=function(t,i){var s=e(this),o=["position","top","bottom","left","right","height","width"],u=e.effects.setMode(s,t.mode||"hide"),a=t.direction||"up",f=n.test(a),l=f?"height":"width",c=f?"top":"left",h=r.test(a),p={},d=u==="show",v,m,g;s.parent().is(".ui-effects-wrapper")?e.effects.save(s.parent(),o):e.effects.save(s,o),s.show(),v=e.effects.createWrapper(s).css({overflow:"hidden"}),m=v[l](),g=parseFloat(v.css(c))||0,p[l]=d?m:0,h||(s.css(f?"bottom":"right",0).css(f?"top":"left","auto").css({position:"absolute"}),p[c]=d?g:m+g),d&&(v.css(l,0),h||v.css(c,g+m)),v.animate(p,{duration:t.duration,easing:t.easing,queue:!1,complete:function(){u==="hide"&&s.hide(),e.effects.restore(s,o),e.effects.removeWrapper(s),i()}})}})(jQuery);(function(e,t){e.effects.effect.bounce=function(t,n){var r=e(this),i=["position","top","bottom","left","right","height","width"],s=e.effects.setMode(r,t.mode||"effect"),o=s==="hide",u=s==="show",a=t.direction||"up",f=t.distance,l=t.times||5,c=l*2+(u||o?1:0),h=t.duration/c,p=t.easing,d=a==="up"||a==="down"?"top":"left",v=a==="up"||a==="left",m,g,y,b=r.queue(),w=b.length;(u||o)&&i.push("opacity"),e.effects.save(r,i),r.show(),e.effects.createWrapper(r),f||(f=r[d==="top"?"outerHeight":"outerWidth"]()/3),u&&(y={opacity:1},y[d]=0,r.css("opacity",0).css(d,v?-f*2:f*2).animate(y,h,p)),o&&(f/=Math.pow(2,l-1)),y={},y[d]=0;for(m=0;m1&&b.splice.apply(b,[1,0].concat(b.splice(w,c+1))),r.dequeue()}})(jQuery);(function(e,t){e.effects.effect.clip=function(t,n){var r=e(this),i=["position","top","bottom","left","right","height","width"],s=e.effects.setMode(r,t.mode||"hide"),o=s==="show",u=t.direction||"vertical",a=u==="vertical",f=a?"height":"width",l=a?"top":"left",c={},h,p,d;e.effects.save(r,i),r.show(),h=e.effects.createWrapper(r).css({overflow:"hidden"}),p=r[0].tagName==="IMG"?h:r,d=p[f](),o&&(p.css(f,0),p.css(l,d/2)),c[f]=o?d:0,c[l]=o?0:d/2,p.animate(c,{queue:!1,duration:t.duration,easing:t.easing,complete:function(){o||r.hide(),e.effects.restore(r,i),e.effects.removeWrapper(r),n()}})}})(jQuery);(function(e,t){e.effects.effect.drop=function(t,n){var r=e(this),i=["position","top","bottom","left","right","opacity","height","width"],s=e.effects.setMode(r,t.mode||"hide"),o=s==="show",u=t.direction||"left",a=u==="up"||u==="down"?"top":"left",f=u==="up"||u==="left"?"pos":"neg",l={opacity:o?1:0},c;e.effects.save(r,i),r.show(),e.effects.createWrapper(r),c=t.distance||r[a==="top"?"outerHeight":"outerWidth"](!0)/2,o&&r.css("opacity",0).css(a,f==="pos"?-c:c),l[a]=(o?f==="pos"?"+=":"-=":f==="pos"?"-=":"+=")+c,r.animate(l,{queue:!1,duration:t.duration,easing:t.easing,complete:function(){s==="hide"&&r.hide(),e.effects.restore(r,i),e.effects.removeWrapper(r),n()}})}})(jQuery);(function(e,t){e.effects.effect.explode=function(t,n){function y(){c.push(this),c.length===r*i&&b()}function b(){s.css({visibility:"visible"}),e(c).remove(),u||s.hide(),n()}var r=t.pieces?Math.round(Math.sqrt(t.pieces)):3,i=r,s=e(this),o=e.effects.setMode(s,t.mode||"hide"),u=o==="show",a=s.show().css("visibility","hidden").offset(),f=Math.ceil(s.outerWidth()/i),l=Math.ceil(s.outerHeight()/r),c=[],h,p,d,v,m,g;for(h=0;h
                                                                    ").css({position:"absolute",visibility:"visible",left:-p*f,top:-h*l}).parent().addClass("ui-effects-explode").css({position:"absolute",overflow:"hidden",width:f,height:l,left:d+(u?m*f:0),top:v+(u?g*l:0),opacity:u?0:1}).animate({left:d+(u?0:m*f),top:v+(u?0:g*l),opacity:u?1:0},t.duration||500,t.easing,y)}}})(jQuery);(function(e,t){e.effects.effect.fade=function(t,n){var r=e(this),i=e.effects.setMode(r,t.mode||"toggle");r.animate({opacity:i},{queue:!1,duration:t.duration,easing:t.easing,complete:n})}})(jQuery);(function(e,t){e.effects.effect.fold=function(t,n){var r=e(this),i=["position","top","bottom","left","right","height","width"],s=e.effects.setMode(r,t.mode||"hide"),o=s==="show",u=s==="hide",a=t.size||15,f=/([0-9]+)%/.exec(a),l=!!t.horizFirst,c=o!==l,h=c?["width","height"]:["height","width"],p=t.duration/2,d,v,m={},g={};e.effects.save(r,i),r.show(),d=e.effects.createWrapper(r).css({overflow:"hidden"}),v=c?[d.width(),d.height()]:[d.height(),d.width()],f&&(a=parseInt(f[1],10)/100*v[u?0:1]),o&&d.css(l?{height:0,width:a}:{height:a,width:0}),m[h[0]]=o?v[0]:a,g[h[1]]=o?v[1]:0,d.animate(m,p,t.easing).animate(g,p,t.easing,function(){u&&r.hide(),e.effects.restore(r,i),e.effects.removeWrapper(r),n()})}})(jQuery);(function(e,t){e.effects.effect.highlight=function(t,n){var r=e(this),i=["backgroundImage","backgroundColor","opacity"],s=e.effects.setMode(r,t.mode||"show"),o={backgroundColor:r.css("backgroundColor")};s==="hide"&&(o.opacity=0),e.effects.save(r,i),r.show().css({backgroundImage:"none",backgroundColor:t.color||"#ffff99"}).animate(o,{queue:!1,duration:t.duration,easing:t.easing,complete:function(){s==="hide"&&r.hide(),e.effects.restore(r,i),n()}})}})(jQuery);(function(e,t){e.effects.effect.pulsate=function(t,n){var r=e(this),i=e.effects.setMode(r,t.mode||"show"),s=i==="show",o=i==="hide",u=s||i==="hide",a=(t.times||5)*2+(u?1:0),f=t.duration/a,l=0,c=r.queue(),h=c.length,p;if(s||!r.is(":visible"))r.css("opacity",0).show(),l=1;for(p=1;p1&&c.splice.apply(c,[1,0].concat(c.splice(h,a+1))),r.dequeue()}})(jQuery);(function(e,t){e.effects.effect.puff=function(t,n){var r=e(this),i=e.effects.setMode(r,t.mode||"hide"),s=i==="hide",o=parseInt(t.percent,10)||150,u=o/100,a={height:r.height(),width:r.width()};e.extend(t,{effect:"scale",queue:!1,fade:!0,mode:i,complete:n,percent:s?o:100,from:s?a:{height:a.height*u,width:a.width*u}}),r.effect(t)},e.effects.effect.scale=function(t,n){var r=e(this),i=e.extend(!0,{},t),s=e.effects.setMode(r,t.mode||"effect"),o=parseInt(t.percent,10)||(parseInt(t.percent,10)===0?0:s==="hide"?0:100),u=t.direction||"both",a=t.origin,f={height:r.height(),width:r.width(),outerHeight:r.outerHeight(),outerWidth:r.outerWidth()},l={y:u!=="horizontal"?o/100:1,x:u!=="vertical"?o/100:1};i.effect="size",i.queue=!1,i.complete=n,s!=="effect"&&(i.origin=a||["middle","center"],i.restore=!0),i.from=t.from||(s==="show"?{height:0,width:0}:f),i.to={height:f.height*l.y,width:f.width*l.x,outerHeight:f.outerHeight*l.y,outerWidth:f.outerWidth*l.x},i.fade&&(s==="show"&&(i.from.opacity=0,i.to.opacity=1),s==="hide"&&(i.from.opacity=1,i.to.opacity=0)),r.effect(i)},e.effects.effect.size=function(t,n){var r=e(this),i=["position","top","bottom","left","right","width","height","overflow","opacity"],s=["position","top","bottom","left","right","overflow","opacity"],o=["width","height","overflow"],u=["fontSize"],a=["borderTopWidth","borderBottomWidth","paddingTop","paddingBottom"],f=["borderLeftWidth","borderRightWidth","paddingLeft","paddingRight"],l=e.effects.setMode(r,t.mode||"effect"),c=t.restore||l!=="effect",h=t.scale||"both",p=t.origin||["middle","center"],d,v,m,g=r.css("position");l==="show"&&r.show(),d={height:r.height(),width:r.width(),outerHeight:r.outerHeight(),outerWidth:r.outerWidth()},r.from=t.from||d,r.to=t.to||d,m={from:{y:r.from.height/d.height,x:r.from.width/d.width},to:{y:r.to.height/d.height,x:r.to.width/d.width}};if(h==="box"||h==="both")m.from.y!==m.to.y&&(i=i.concat(a),r.from=e.effects.setTransition(r,a,m.from.y,r.from),r.to=e.effects.setTransition(r,a,m.to.y,r.to)),m.from.x!==m.to.x&&(i=i.concat(f),r.from=e.effects.setTransition(r,f,m.from.x,r.from),r.to=e.effects.setTransition(r,f,m.to.x,r.to));(h==="content"||h==="both")&&m.from.y!==m.to.y&&(i=i.concat(u),r.from=e.effects.setTransition(r,u,m.from.y,r.from),r.to=e.effects.setTransition(r,u,m.to.y,r.to)),e.effects.save(r,c?i:s),r.show(),e.effects.createWrapper(r),r.css("overflow","hidden").css(r.from),p&&(v=e.effects.getBaseline(p,d),r.from.top=(d.outerHeight-r.outerHeight())*v.y,r.from.left=(d.outerWidth-r.outerWidth())*v.x,r.to.top=(d.outerHeight-r.to.outerHeight)*v.y,r.to.left=(d.outerWidth-r.to.outerWidth)*v.x),r.css(r.from);if(h==="content"||h==="both")a=a.concat(["marginTop","marginBottom"]).concat(u),f=f.concat(["marginLeft","marginRight"]),o=i.concat(a).concat(f),r.find("*[width]").each(function(){var n=e(this),r={height:n.height(),width:n.width()};c&&e.effects.save(n,o),n.from={height:r.height*m.from.y,width:r.width*m.from.x},n.to={height:r.height*m.to.y,width:r.width*m.to.x},m.from.y!==m.to.y&&(n.from=e.effects.setTransition(n,a,m.from.y,n.from),n.to=e.effects.setTransition(n,a,m.to.y,n.to)),m.from.x!==m.to.x&&(n.from=e.effects.setTransition(n,f,m.from.x,n.from),n.to=e.effects.setTransition(n,f,m.to.x,n.to)),n.css(n.from),n.animate(n.to,t.duration,t.easing,function(){c&&e.effects.restore(n,o)})});r.animate(r.to,{queue:!1,duration:t.duration,easing:t.easing,complete:function(){r.to.opacity===0&&r.css("opacity",r.from.opacity),l==="hide"&&r.hide(),e.effects.restore(r,c?i:s),c||(g==="static"?r.css({position:"relative",top:r.to.top,left:r.to.left}):e.each(["top","left"],function(e,t){r.css(t,function(t,n){var i=parseInt(n,10),s=e?r.to.left:r.to.top;return n==="auto"?s+"px":i+s+"px"})})),e.effects.removeWrapper(r),n()}})}})(jQuery);(function(e,t){e.effects.effect.shake=function(t,n){var r=e(this),i=["position","top","bottom","left","right","height","width"],s=e.effects.setMode(r,t.mode||"effect"),o=t.direction||"left",u=t.distance||20,a=t.times||3,f=a*2+1,l=Math.round(t.duration/f),c=o==="up"||o==="down"?"top":"left",h=o==="up"||o==="left",p={},d={},v={},m,g=r.queue(),y=g.length;e.effects.save(r,i),r.show(),e.effects.createWrapper(r),p[c]=(h?"-=":"+=")+u,d[c]=(h?"+=":"-=")+u*2,v[c]=(h?"-=":"+=")+u*2,r.animate(p,l,t.easing);for(m=1;m1&&g.splice.apply(g,[1,0].concat(g.splice(y,f+1))),r.dequeue()}})(jQuery);(function(e,t){e.effects.effect.slide=function(t,n){var r=e(this),i=["position","top","bottom","left","right","width","height"],s=e.effects.setMode(r,t.mode||"show"),o=s==="show",u=t.direction||"left",a=u==="up"||u==="down"?"top":"left",f=u==="up"||u==="left",l,c={};e.effects.save(r,i),r.show(),l=t.distance||r[a==="top"?"outerHeight":"outerWidth"](!0),e.effects.createWrapper(r).css({overflow:"hidden"}),o&&r.css(a,f?isNaN(l)?"-"+l:-l:l),c[a]=(o?f?"+=":"-=":f?"-=":"+=")+l,r.animate(c,{queue:!1,duration:t.duration,easing:t.easing,complete:function(){s==="hide"&&r.hide(),e.effects.restore(r,i),e.effects.removeWrapper(r),n()}})}})(jQuery);(function(e,t){e.effects.effect.transfer=function(t,n){var r=e(this),i=e(t.to),s=i.css("position")==="fixed",o=e("body"),u=s?o.scrollTop():0,a=s?o.scrollLeft():0,f=i.offset(),l={top:f.top-u,left:f.left-a,height:i.innerHeight(),width:i.innerWidth()},c=r.offset(),h=e('
                                                                    ').appendTo(document.body).addClass(t.className).css({top:c.top-u,left:c.left-a,height:r.innerHeight(),width:r.innerWidth(),position:s?"fixed":"absolute"}).animate(l,t.duration,t.easing,function(){h.remove(),n()})}})(jQuery);(function(e,t){var n=!1;e.widget("ui.menu",{version:"1.9.0",defaultElement:"
                                                                      ",delay:300,options:{icons:{submenu:"ui-icon-carat-1-e"},menus:"ul",position:{my:"left top",at:"right top"},role:"menu",blur:null,focus:null,select:null},_create:function(){this.activeMenu=this.element,this.element.uniqueId().addClass("ui-menu ui-widget ui-widget-content ui-corner-all").toggleClass("ui-menu-icons",!!this.element.find(".ui-icon").length).attr({role:this.options.role,tabIndex:0}).bind("click"+this.eventNamespace,e.proxy(function(e){this.options.disabled&&e.preventDefault()},this)),this.options.disabled&&this.element.addClass("ui-state-disabled").attr("aria-disabled","true"),this._on({"mousedown .ui-menu-item > a":function(e){e.preventDefault()},"click .ui-state-disabled > a":function(e){e.preventDefault()},"click .ui-menu-item:has(a)":function(t){var r=e(t.target).closest(".ui-menu-item");!n&&r.not(".ui-state-disabled").length&&(n=!0,this.select(t),r.has(".ui-menu").length?this.expand(t):this.element.is(":focus")||(this.element.trigger("focus",[!0]),this.active&&this.active.parents(".ui-menu").length===1&&clearTimeout(this.timer)))},"mouseenter .ui-menu-item":function(t){var n=e(t.currentTarget);n.siblings().children(".ui-state-active").removeClass("ui-state-active"),this.focus(t,n)},mouseleave:"collapseAll","mouseleave .ui-menu":"collapseAll",focus:function(e,t){var n=this.active||this.element.children(".ui-menu-item").eq(0);t||this.focus(e,n)},blur:function(t){this._delay(function(){e.contains(this.element[0],this.document[0].activeElement)||this.collapseAll(t)})},keydown:"_keydown"}),this.refresh(),this._on(this.document,{click:function(t){e(t.target).closest(".ui-menu").length||this.collapseAll(t),n=!1}})},_destroy:function(){this.element.removeAttr("aria-activedescendant").find(".ui-menu").andSelf().removeClass("ui-menu ui-widget ui-widget-content ui-corner-all ui-menu-icons").removeAttr("role").removeAttr("tabIndex").removeAttr("aria-labelledby").removeAttr("aria-expanded").removeAttr("aria-hidden").removeAttr("aria-disabled").removeUniqueId().show(),this.element.find(".ui-menu-item").removeClass("ui-menu-item").removeAttr("role").removeAttr("aria-disabled").children("a").removeUniqueId().removeClass("ui-corner-all ui-state-hover").removeAttr("tabIndex").removeAttr("role").removeAttr("aria-haspopup").children().each(function(){var t=e(this);t.data("ui-menu-submenu-carat")&&t.remove()}),this.element.find(".ui-menu-divider").removeClass("ui-menu-divider ui-widget-content")},_keydown:function(t){function a(e){return e.replace(/[\-\[\]{}()*+?.,\\\^$|#\s]/g,"\\$&")}var n,r,i,s,o,u=!0;switch(t.keyCode){case e.ui.keyCode.PAGE_UP:this.previousPage(t);break;case e.ui.keyCode.PAGE_DOWN:this.nextPage(t);break;case e.ui.keyCode.HOME:this._move("first","first",t);break;case e.ui.keyCode.END:this._move("last","last",t);break;case e.ui.keyCode.UP:this.previous(t);break;case e.ui.keyCode.DOWN:this.next(t);break;case e.ui.keyCode.LEFT:this.collapse(t);break;case e.ui.keyCode.RIGHT:this.active&&!this.active.is(".ui-state-disabled")&&this.expand(t);break;case e.ui.keyCode.ENTER:case e.ui.keyCode.SPACE:this._activate(t);break;case e.ui.keyCode.ESCAPE:this.collapse(t);break;default:u=!1,r=this.previousFilter||"",i=String.fromCharCode(t.keyCode),s=!1,clearTimeout(this.filterTimer),i===r?s=!0:i=r+i,o=new RegExp("^"+a(i),"i"),n=this.activeMenu.children(".ui-menu-item").filter(function(){return o.test(e(this).children("a").text())}),n=s&&n.index(this.active.next())!==-1?this.active.nextAll(".ui-menu-item"):n,n.length||(i=String.fromCharCode(t.keyCode),o=new RegExp("^"+a(i),"i"),n=this.activeMenu.children(".ui-menu-item").filter(function(){return o.test(e(this).children("a").text())})),n.length?(this.focus(t,n),n.length>1?(this.previousFilter=i,this.filterTimer=this._delay(function(){delete this.previousFilter},1e3)):delete this.previousFilter):delete this.previousFilter}u&&t.preventDefault()},_activate:function(e){this.active.is(".ui-state-disabled")||(this.active.children("a[aria-haspopup='true']").length?this.expand(e):this.select(e))},refresh:function(){var t,n=this.options.icons.submenu,r=this.element.find(this.options.menus+":not(.ui-menu)").addClass("ui-menu ui-widget ui-widget-content ui-corner-all").hide().attr({role:this.options.role,"aria-hidden":"true","aria-expanded":"false"});t=r.add(this.element),t.children(":not(.ui-menu-item):has(a)").addClass("ui-menu-item").attr("role","presentation").children("a").uniqueId().addClass("ui-corner-all").attr({tabIndex:-1,role:this._itemRole()}),t.children(":not(.ui-menu-item)").each(function(){var t=e(this);/[^\-—–\s]/.test(t.text())||t.addClass("ui-widget-content ui-menu-divider")}),t.children(".ui-state-disabled").attr("aria-disabled","true"),r.each(function(){var t=e(this),r=t.prev("a"),i=e("").addClass("ui-menu-icon ui-icon "+n).data("ui-menu-submenu-carat",!0);r.attr("aria-haspopup","true").prepend(i),t.attr("aria-labelledby",r.attr("id"))}),this.active&&!e.contains(this.element[0],this.active[0])&&this.blur()},_itemRole:function(){return{menu:"menuitem",listbox:"option"}[this.options.role]},focus:function(e,t){var n,r;this.blur(e,e&&e.type==="focus"),this._scrollIntoView(t),this.active=t.first(),r=this.active.children("a").addClass("ui-state-focus"),this.options.role&&this.element.attr("aria-activedescendant",r.attr("id")),this.active.parent().closest(".ui-menu-item").children("a:first").addClass("ui-state-active"),e&&e.type==="keydown"?this._close():this.timer=this._delay(function(){this._close()},this.delay),n=t.children(".ui-menu"),n.length&&/^mouse/.test(e.type)&&this._startOpening(n),this.activeMenu=t.parent(),this._trigger("focus",e,{item:t})},_scrollIntoView:function(t){var n,r,i,s,o,u;this._hasScroll()&&(n=parseFloat(e.css(this.activeMenu[0],"borderTopWidth"))||0,r=parseFloat(e.css(this.activeMenu[0],"paddingTop"))||0,i=t.offset().top-this.activeMenu.offset().top-n-r,s=this.activeMenu.scrollTop(),o=this.activeMenu.height(),u=t.height(),i<0?this.activeMenu.scrollTop(s+i):i+u>o&&this.activeMenu.scrollTop(s+i-o+u))},blur:function(e,t){t||clearTimeout(this.timer);if(!this.active)return;this.active.children("a").removeClass("ui-state-focus"),this.active=null,this._trigger("blur",e,{item:this.active})},_startOpening:function(e){clearTimeout(this.timer);if(e.attr("aria-hidden")!=="true")return;this.timer=this._delay(function(){this._close(),this._open(e)},this.delay)},_open:function(t){var n=e.extend({of:this.active},this.options.position);clearTimeout(this.timer),this.element.find(".ui-menu").not(t.parents(".ui-menu")).hide().attr("aria-hidden","true"),t.show().removeAttr("aria-hidden").attr("aria-expanded","true").position(n)},collapseAll:function(t,n){clearTimeout(this.timer),this.timer=this._delay(function(){var r=n?this.element:e(t&&t.target).closest(this.element.find(".ui-menu"));r.length||(r=this.element),this._close(r),this.blur(t),this.activeMenu=r},this.delay)},_close:function(e){e||(e=this.active?this.active.parent():this.element),e.find(".ui-menu").hide().attr("aria-hidden","true").attr("aria-expanded","false").end().find("a.ui-state-active").removeClass("ui-state-active")},collapse:function(e){var t=this.active&&this.active.parent().closest(".ui-menu-item",this.element);t&&t.length&&(this._close(),this.focus(e,t))},expand:function(e){var t=this.active&&this.active.children(".ui-menu ").children(".ui-menu-item").first();t&&t.length&&(this._open(t.parent()),this._delay(function(){this.focus(e,t)}))},next:function(e){this._move("next","first",e)},previous:function(e){this._move("prev","last",e)},isFirstItem:function(){return this.active&&!this.active.prevAll(".ui-menu-item").length},isLastItem:function(){return this.active&&!this.active.nextAll(".ui-menu-item").length},_move:function(e,t,n){var r;this.active&&(e==="first"||e==="last"?r=this.active[e==="first"?"prevAll":"nextAll"](".ui-menu-item").eq(-1):r=this.active[e+"All"](".ui-menu-item").eq(0));if(!r||!r.length||!this.active)r=this.activeMenu.children(".ui-menu-item")[t]();this.focus(n,r)},nextPage:function(t){var n,r,i;if(!this.active){this.next(t);return}if(this.isLastItem())return;this._hasScroll()?(r=this.active.offset().top,i=this.element.height(),this.active.nextAll(".ui-menu-item").each(function(){return n=e(this),n.offset().top-r-i<0}),this.focus(t,n)):this.focus(t,this.activeMenu.children(".ui-menu-item")[this.active?"last":"first"]())},previousPage:function(t){var n,r,i;if(!this.active){this.next(t);return}if(this.isFirstItem())return;this._hasScroll()?(r=this.active.offset().top,i=this.element.height(),this.active.prevAll(".ui-menu-item").each(function(){return n=e(this),n.offset().top-r+i>0}),this.focus(t,n)):this.focus(t,this.activeMenu.children(".ui-menu-item").first())},_hasScroll:function(){return this.element.outerHeight()
                                                                    ").appendTo(this.element),this.oldValue=this._value(),this._refreshValue()},_destroy:function(){this.element.removeClass("ui-progressbar ui-widget ui-widget-content ui-corner-all").removeAttr("role").removeAttr("aria-valuemin").removeAttr("aria-valuemax").removeAttr("aria-valuenow"),this.valueDiv.remove()},value:function(e){return e===t?this._value():(this._setOption("value",e),this)},_setOption:function(e,t){e==="value"&&(this.options.value=t,this._refreshValue(),this._value()===this.options.max&&this._trigger("complete")),this._super(e,t)},_value:function(){var e=this.options.value;return typeof e!="number"&&(e=0),Math.min(this.options.max,Math.max(this.min,e))},_percentage:function(){return 100*this._value()/this.options.max},_refreshValue:function(){var e=this.value(),t=this._percentage();this.oldValue!==e&&(this.oldValue=e,this._trigger("change")),this.valueDiv.toggle(e>this.min).toggleClass("ui-corner-right",e===this.options.max).width(t.toFixed(0)+"%"),this.element.attr("aria-valuenow",e)}})})(jQuery);(function(e,t){e.widget("ui.resizable",e.ui.mouse,{version:"1.9.0",widgetEventPrefix:"resize",options:{alsoResize:!1,animate:!1,animateDuration:"slow",animateEasing:"swing",aspectRatio:!1,autoHide:!1,containment:!1,ghost:!1,grid:!1,handles:"e,s,se",helper:!1,maxHeight:null,maxWidth:null,minHeight:10,minWidth:10,zIndex:1e3},_create:function(){var t=this,n=this.options;this.element.addClass("ui-resizable"),e.extend(this,{_aspectRatio:!!n.aspectRatio,aspectRatio:n.aspectRatio,originalElement:this.element,_proportionallyResizeElements:[],_helper:n.helper||n.ghost||n.animate?n.helper||"ui-resizable-helper":null}),this.element[0].nodeName.match(/canvas|textarea|input|select|button|img/i)&&(this.element.wrap(e('
                                                                    ').css({position:this.element.css("position"),width:this.element.outerWidth(),height:this.element.outerHeight(),top:this.element.css("top"),left:this.element.css("left")})),this.element=this.element.parent().data("resizable",this.element.data("resizable")),this.elementIsWrapper=!0,this.element.css({marginLeft:this.originalElement.css("marginLeft"),marginTop:this.originalElement.css("marginTop"),marginRight:this.originalElement.css("marginRight"),marginBottom:this.originalElement.css("marginBottom")}),this.originalElement.css({marginLeft:0,marginTop:0,marginRight:0,marginBottom:0}),this.originalResizeStyle=this.originalElement.css("resize"),this.originalElement.css("resize","none"),this._proportionallyResizeElements.push(this.originalElement.css({position:"static",zoom:1,display:"block"})),this.originalElement.css({margin:this.originalElement.css("margin")}),this._proportionallyResize()),this.handles=n.handles||(e(".ui-resizable-handle",this.element).length?{n:".ui-resizable-n",e:".ui-resizable-e",s:".ui-resizable-s",w:".ui-resizable-w",se:".ui-resizable-se",sw:".ui-resizable-sw",ne:".ui-resizable-ne",nw:".ui-resizable-nw"}:"e,s,se");if(this.handles.constructor==String){this.handles=="all"&&(this.handles="n,e,s,w,se,sw,ne,nw");var r=this.handles.split(",");this.handles={};for(var i=0;i
                                                                    ');u.css({zIndex:n.zIndex}),"se"==s&&u.addClass("ui-icon ui-icon-gripsmall-diagonal-se"),this.handles[s]=".ui-resizable-"+s,this.element.append(u)}}this._renderAxis=function(t){t=t||this.element;for(var n in this.handles){this.handles[n].constructor==String&&(this.handles[n]=e(this.handles[n],this.element).show());if(this.elementIsWrapper&&this.originalElement[0].nodeName.match(/textarea|input|select|button/i)){var r=e(this.handles[n],this.element),i=0;i=/sw|ne|nw|se|n|s/.test(n)?r.outerHeight():r.outerWidth();var s=["padding",/ne|nw|n/.test(n)?"Top":/se|sw|s/.test(n)?"Bottom":/^e$/.test(n)?"Right":"Left"].join("");t.css(s,i),this._proportionallyResize()}if(!e(this.handles[n]).length)continue}},this._renderAxis(this.element),this._handles=e(".ui-resizable-handle",this.element).disableSelection(),this._handles.mouseover(function(){if(!t.resizing){if(this.className)var e=this.className.match(/ui-resizable-(se|sw|ne|nw|n|e|s|w)/i);t.axis=e&&e[1]?e[1]:"se"}}),n.autoHide&&(this._handles.hide(),e(this.element).addClass("ui-resizable-autohide").mouseenter(function(){if(n.disabled)return;e(this).removeClass("ui-resizable-autohide"),t._handles.show()}).mouseleave(function(){if(n.disabled)return;t.resizing||(e(this).addClass("ui-resizable-autohide"),t._handles.hide())})),this._mouseInit()},_destroy:function(){this._mouseDestroy();var t=function(t){e(t).removeClass("ui-resizable ui-resizable-disabled ui-resizable-resizing").removeData("resizable").removeData("ui-resizable").unbind(".resizable").find(".ui-resizable-handle").remove()};if(this.elementIsWrapper){t(this.element);var n=this.element;n.after(this.originalElement.css({position:n.css("position"),width:n.outerWidth(),height:n.outerHeight(),top:n.css("top"),left:n.css("left")})).remove()}return this.originalElement.css("resize",this.originalResizeStyle),t(this.originalElement),this},_mouseCapture:function(t){var n=!1;for(var r in this.handles)e(this.handles[r])[0]==t.target&&(n=!0);return!this.options.disabled&&n},_mouseStart:function(t){var r=this.options,i=this.element.position(),s=this.element;this.resizing=!0,this.documentScroll={top:e(document).scrollTop(),left:e(document).scrollLeft()},(s.is(".ui-draggable")||/absolute/.test(s.css("position")))&&s.css({position:"absolute",top:i.top,left:i.left}),this._renderProxy();var o=n(this.helper.css("left")),u=n(this.helper.css("top"));r.containment&&(o+=e(r.containment).scrollLeft()||0,u+=e(r.containment).scrollTop()||0),this.offset=this.helper.offset(),this.position={left:o,top:u},this.size=this._helper?{width:s.outerWidth(),height:s.outerHeight()}:{width:s.width(),height:s.height()},this.originalSize=this._helper?{width:s.outerWidth(),height:s.outerHeight()}:{width:s.width(),height:s.height()},this.originalPosition={left:o,top:u},this.sizeDiff={width:s.outerWidth()-s.width(),height:s.outerHeight()-s.height()},this.originalMousePosition={left:t.pageX,top:t.pageY},this.aspectRatio=typeof r.aspectRatio=="number"?r.aspectRatio:this.originalSize.width/this.originalSize.height||1;var a=e(".ui-resizable-"+this.axis).css("cursor");return e("body").css("cursor",a=="auto"?this.axis+"-resize":a),s.addClass("ui-resizable-resizing"),this._propagate("start",t),!0},_mouseDrag:function(e){var t=this.helper,n=this.options,r={},i=this,s=this.originalMousePosition,o=this.axis,u=e.pageX-s.left||0,a=e.pageY-s.top||0,f=this._change[o];if(!f)return!1;var l=f.apply(this,[e,u,a]);this._updateVirtualBoundaries(e.shiftKey);if(this._aspectRatio||e.shiftKey)l=this._updateRatio(l,e);return l=this._respectSize(l,e),this._propagate("resize",e),t.css({top:this.position.top+"px",left:this.position.left+"px",width:this.size.width+"px",height:this.size.height+"px"}),!this._helper&&this._proportionallyResizeElements.length&&this._proportionallyResize(),this._updateCache(l),this._trigger("resize",e,this.ui()),!1},_mouseStop:function(t){this.resizing=!1;var n=this.options,r=this;if(this._helper){var i=this._proportionallyResizeElements,s=i.length&&/textarea/i.test(i[0].nodeName),o=s&&e.ui.hasScroll(i[0],"left")?0:r.sizeDiff.height,u=s?0:r.sizeDiff.width,a={width:r.helper.width()-u,height:r.helper.height()-o},f=parseInt(r.element.css("left"),10)+(r.position.left-r.originalPosition.left)||null,l=parseInt(r.element.css("top"),10)+(r.position.top-r.originalPosition.top)||null;n.animate||this.element.css(e.extend(a,{top:l,left:f})),r.helper.height(r.size.height),r.helper.width(r.size.width),this._helper&&!n.animate&&this._proportionallyResize()}return e("body").css("cursor","auto"),this.element.removeClass("ui-resizable-resizing"),this._propagate("stop",t),this._helper&&this.helper.remove(),!1},_updateVirtualBoundaries:function(e){var t=this.options,n,i,s,o,u;u={minWidth:r(t.minWidth)?t.minWidth:0,maxWidth:r(t.maxWidth)?t.maxWidth:Infinity,minHeight:r(t.minHeight)?t.minHeight:0,maxHeight:r(t.maxHeight)?t.maxHeight:Infinity};if(this._aspectRatio||e)n=u.minHeight*this.aspectRatio,s=u.minWidth/this.aspectRatio,i=u.maxHeight*this.aspectRatio,o=u.maxWidth/this.aspectRatio,n>u.minWidth&&(u.minWidth=n),s>u.minHeight&&(u.minHeight=s),ie.width,l=r(e.height)&&i.minHeight&&i.minHeight>e.height;f&&(e.width=i.minWidth),l&&(e.height=i.minHeight),u&&(e.width=i.maxWidth),a&&(e.height=i.maxHeight);var c=this.originalPosition.left+this.originalSize.width,h=this.position.top+this.size.height,p=/sw|nw|w/.test(o),d=/nw|ne|n/.test(o);f&&p&&(e.left=c-i.minWidth),u&&p&&(e.left=c-i.maxWidth),l&&d&&(e.top=h-i.minHeight),a&&d&&(e.top=h-i.maxHeight);var v=!e.width&&!e.height;return v&&!e.left&&e.top?e.top=null:v&&!e.top&&e.left&&(e.left=null),e},_proportionallyResize:function(){var t=this.options;if(!this._proportionallyResizeElements.length)return;var n=this.helper||this.element;for(var r=0;r
                                                                    ');var r=e.browser.msie&&e.browser.version<7,i=r?1:0,s=r?2:-1;this.helper.addClass(this._helper).css({width:this.element.outerWidth()+s,height:this.element.outerHeight()+s,position:"absolute",left:this.elementOffset.left-i+"px",top:this.elementOffset.top-i+"px",zIndex:++n.zIndex}),this.helper.appendTo("body").disableSelection()}else this.helper=this.element},_change:{e:function(e,t,n){return{width:this.originalSize.width+t}},w:function(e,t,n){var r=this.options,i=this.originalSize,s=this.originalPosition;return{left:s.left+t,width:i.width-t}},n:function(e,t,n){var r=this.options,i=this.originalSize,s=this.originalPosition;return{top:s.top+n,height:i.height-n}},s:function(e,t,n){return{height:this.originalSize.height+n}},se:function(t,n,r){return e.extend(this._change.s.apply(this,arguments),this._change.e.apply(this,[t,n,r]))},sw:function(t,n,r){return e.extend(this._change.s.apply(this,arguments),this._change.w.apply(this,[t,n,r]))},ne:function(t,n,r){return e.extend(this._change.n.apply(this,arguments),this._change.e.apply(this,[t,n,r]))},nw:function(t,n,r){return e.extend(this._change.n.apply(this,arguments),this._change.w.apply(this,[t,n,r]))}},_propagate:function(t,n){e.ui.plugin.call(this,t,[n,this.ui()]),t!="resize"&&this._trigger(t,n,this.ui())},plugins:{},ui:function(){return{originalElement:this.originalElement,element:this.element,helper:this.helper,position:this.position,size:this.size,originalSize:this.originalSize,originalPosition:this.originalPosition}}}),e.ui.plugin.add("resizable","alsoResize",{start:function(t,n){var r=e(this).data("resizable"),i=r.options,s=function(t){e(t).each(function(){var t=e(this);t.data("resizable-alsoresize",{width:parseInt(t.width(),10),height:parseInt(t.height(),10),left:parseInt(t.css("left"),10),top:parseInt(t.css("top"),10)})})};typeof i.alsoResize=="object"&&!i.alsoResize.parentNode?i.alsoResize.length?(i.alsoResize=i.alsoResize[0],s(i.alsoResize)):e.each(i.alsoResize,function(e){s(e)}):s(i.alsoResize)},resize:function(t,n){var r=e(this).data("resizable"),i=r.options,s=r.originalSize,o=r.originalPosition,u={height:r.size.height-s.height||0,width:r.size.width-s.width||0,top:r.position.top-o.top||0,left:r.position.left-o.left||0},a=function(t,r){e(t).each(function(){var t=e(this),i=e(this).data("resizable-alsoresize"),s={},o=r&&r.length?r:t.parents(n.originalElement[0]).length?["width","height"]:["width","height","top","left"];e.each(o,function(e,t){var n=(i[t]||0)+(u[t]||0);n&&n>=0&&(s[t]=n||null)}),t.css(s)})};typeof i.alsoResize=="object"&&!i.alsoResize.nodeType?e.each(i.alsoResize,function(e,t){a(e,t)}):a(i.alsoResize)},stop:function(t,n){e(this).removeData("resizable-alsoresize")}}),e.ui.plugin.add("resizable","animate",{stop:function(t,n){var r=e(this).data("resizable"),i=r.options,s=r._proportionallyResizeElements,o=s.length&&/textarea/i.test(s[0].nodeName),u=o&&e.ui.hasScroll(s[0],"left")?0:r.sizeDiff.height,a=o?0:r.sizeDiff.width,f={width:r.size.width-a,height:r.size.height-u},l=parseInt(r.element.css("left"),10)+(r.position.left-r.originalPosition.left)||null,c=parseInt(r.element.css("top"),10)+(r.position.top-r.originalPosition.top)||null;r.element.animate(e.extend(f,c&&l?{top:c,left:l}:{}),{duration:i.animateDuration,easing:i.animateEasing,step:function(){var n={width:parseInt(r.element.css("width"),10),height:parseInt(r.element.css("height"),10),top:parseInt(r.element.css("top"),10),left:parseInt(r.element.css("left"),10)};s&&s.length&&e(s[0]).css({width:n.width,height:n.height}),r._updateCache(n),r._propagate("resize",t)}})}}),e.ui.plugin.add("resizable","containment",{start:function(t,r){var i=e(this).data("resizable"),s=i.options,o=i.element,u=s.containment,a=u instanceof e?u.get(0):/parent/.test(u)?o.parent().get(0):u;if(!a)return;i.containerElement=e(a);if(/document/.test(u)||u==document)i.containerOffset={left:0,top:0},i.containerPosition={left:0,top:0},i.parentData={element:e(document),left:0,top:0,width:e(document).width(),height:e(document).height()||document.body.parentNode.scrollHeight};else{var f=e(a),l=[];e(["Top","Right","Left","Bottom"]).each(function(e,t){l[e]=n(f.css("padding"+t))}),i.containerOffset=f.offset(),i.containerPosition=f.position(),i.containerSize={height:f.innerHeight()-l[3],width:f.innerWidth()-l[1]};var c=i.containerOffset,h=i.containerSize.height,p=i.containerSize.width,d=e.ui.hasScroll(a,"left")?a.scrollWidth:p,v=e.ui.hasScroll(a)?a.scrollHeight:h;i.parentData={element:a,left:c.left,top:c.top,width:d,height:v}}},resize:function(t,n){var r=e(this).data("resizable"),i=r.options,s=r.containerSize,o=r.containerOffset,u=r.size,a=r.position,f=r._aspectRatio||t.shiftKey,l={top:0,left:0},c=r.containerElement;c[0]!=document&&/static/.test(c.css("position"))&&(l=o),a.left<(r._helper?o.left:0)&&(r.size.width=r.size.width+(r._helper?r.position.left-o.left:r.position.left-l.left),f&&(r.size.height=r.size.width/r.aspectRatio),r.position.left=i.helper?o.left:0),a.top<(r._helper?o.top:0)&&(r.size.height=r.size.height+(r._helper?r.position.top-o.top:r.position.top),f&&(r.size.width=r.size.height*r.aspectRatio),r.position.top=r._helper?o.top:0),r.offset.left=r.parentData.left+r.position.left,r.offset.top=r.parentData.top+r.position.top;var h=Math.abs((r._helper?r.offset.left-l.left:r.offset.left-l.left)+r.sizeDiff.width),p=Math.abs((r._helper?r.offset.top-l.top:r.offset.top-o.top)+r.sizeDiff.height),d=r.containerElement.get(0)==r.element.parent().get(0),v=/relative|absolute/.test(r.containerElement.css("position"));d&&v&&(h-=r.parentData.left),h+r.size.width>=r.parentData.width&&(r.size.width=r.parentData.width-h,f&&(r.size.height=r.size.width/r.aspectRatio)),p+r.size.height>=r.parentData.height&&(r.size.height=r.parentData.height-p,f&&(r.size.width=r.size.height*r.aspectRatio))},stop:function(t,n){var r=e(this).data("resizable"),i=r.options,s=r.position,o=r.containerOffset,u=r.containerPosition,a=r.containerElement,f=e(r.helper),l=f.offset(),c=f.outerWidth()-r.sizeDiff.width,h=f.outerHeight()-r.sizeDiff.height;r._helper&&!i.animate&&/relative/.test(a.css("position"))&&e(this).css({left:l.left-u.left-o.left,width:c,height:h}),r._helper&&!i.animate&&/static/.test(a.css("position"))&&e(this).css({left:l.left-u.left-o.left,width:c,height:h})}}),e.ui.plugin.add("resizable","ghost",{start:function(t,n){var r=e(this).data("resizable"),i=r.options,s=r.size;r.ghost=r.originalElement.clone(),r.ghost.css({opacity:.25,display:"block",position:"relative",height:s.height,width:s.width,margin:0,left:0,top:0}).addClass("ui-resizable-ghost").addClass(typeof i.ghost=="string"?i.ghost:""),r.ghost.appendTo(r.helper)},resize:function(t,n){var r=e(this).data("resizable"),i=r.options;r.ghost&&r.ghost.css({position:"relative",height:r.size.height,width:r.size.width})},stop:function(t,n){var r=e(this).data("resizable"),i=r.options;r.ghost&&r.helper&&r.helper.get(0).removeChild(r.ghost.get(0))}}),e.ui.plugin.add("resizable","grid",{resize:function(t,n){var r=e(this).data("resizable"),i=r.options,s=r.size,o=r.originalSize,u=r.originalPosition,a=r.axis,f=i._aspectRatio||t.shiftKey;i.grid=typeof i.grid=="number"?[i.grid,i.grid]:i.grid;var l=Math.round((s.width-o.width)/(i.grid[0]||1))*(i.grid[0]||1),c=Math.round((s.height-o.height)/(i.grid[1]||1))*(i.grid[1]||1);/^(se|s|e)$/.test(a)?(r.size.width=o.width+l,r.size.height=o.height+c):/^(ne)$/.test(a)?(r.size.width=o.width+l,r.size.height=o.height+c,r.position.top=u.top-c):/^(sw)$/.test(a)?(r.size.width=o.width+l,r.size.height=o.height+c,r.position.left=u.left-l):(r.size.width=o.width+l,r.size.height=o.height+c,r.position.top=u.top-c,r.position.left=u.left-l)}});var n=function(e){return parseInt(e,10)||0},r=function(e){return!isNaN(parseInt(e,10))}})(jQuery);(function(e,t){e.widget("ui.selectable",e.ui.mouse,{version:"1.9.0",options:{appendTo:"body",autoRefresh:!0,distance:0,filter:"*",tolerance:"touch"},_create:function(){var t=this;this.element.addClass("ui-selectable"),this.dragged=!1;var n;this.refresh=function(){n=e(t.options.filter,t.element[0]),n.addClass("ui-selectee"),n.each(function(){var t=e(this),n=t.offset();e.data(this,"selectable-item",{element:this,$element:t,left:n.left,top:n.top,right:n.left+t.outerWidth(),bottom:n.top+t.outerHeight(),startselected:!1,selected:t.hasClass("ui-selected"),selecting:t.hasClass("ui-selecting"),unselecting:t.hasClass("ui-unselecting")})})},this.refresh(),this.selectees=n.addClass("ui-selectee"),this._mouseInit(),this.helper=e("
                                                                    ")},_destroy:function(){this.selectees.removeClass("ui-selectee").removeData("selectable-item"),this.element.removeClass("ui-selectable ui-selectable-disabled"),this._mouseDestroy()},_mouseStart:function(t){var n=this;this.opos=[t.pageX,t.pageY];if(this.options.disabled)return;var r=this.options;this.selectees=e(r.filter,this.element[0]),this._trigger("start",t),e(r.appendTo).append(this.helper),this.helper.css({left:t.clientX,top:t.clientY,width:0,height:0}),r.autoRefresh&&this.refresh(),this.selectees.filter(".ui-selected").each(function(){var r=e.data(this,"selectable-item");r.startselected=!0,!t.metaKey&&!t.ctrlKey&&(r.$element.removeClass("ui-selected"),r.selected=!1,r.$element.addClass("ui-unselecting"),r.unselecting=!0,n._trigger("unselecting",t,{unselecting:r.element}))}),e(t.target).parents().andSelf().each(function(){var r=e.data(this,"selectable-item");if(r){var i=!t.metaKey&&!t.ctrlKey||!r.$element.hasClass("ui-selected");return r.$element.removeClass(i?"ui-unselecting":"ui-selected").addClass(i?"ui-selecting":"ui-unselecting"),r.unselecting=!i,r.selecting=i,r.selected=i,i?n._trigger("selecting",t,{selecting:r.element}):n._trigger("unselecting",t,{unselecting:r.element}),!1}})},_mouseDrag:function(t){var n=this;this.dragged=!0;if(this.options.disabled)return;var r=this.options,i=this.opos[0],s=this.opos[1],o=t.pageX,u=t.pageY;if(i>o){var a=o;o=i,i=a}if(s>u){var a=u;u=s,s=a}return this.helper.css({left:i,top:s,width:o-i,height:u-s}),this.selectees.each(function(){var a=e.data(this,"selectable-item");if(!a||a.element==n.element[0])return;var f=!1;r.tolerance=="touch"?f=!(a.left>o||a.rightu||a.bottomi&&a.rights&&a.bottom").appendTo(this.element).addClass("ui-slider-range ui-widget-header"+(r.range==="min"||r.range==="max"?" ui-slider-range-"+r.range:"")));for(t=i.length;tn&&(i=n,s=e(this),o=t)}),c.range===!0&&this.values(1)===c.min&&(o+=1,s=e(this.handles[o])),u=this._start(t,o),u===!1?!1:(this._mouseSliding=!0,this._handleIndex=o,s.addClass("ui-state-active").focus(),a=s.offset(),f=!e(t.target).parents().andSelf().is(".ui-slider-handle"),this._clickOffset=f?{left:0,top:0}:{left:t.pageX-a.left-s.width()/2,top:t.pageY-a.top-s.height()/2-(parseInt(s.css("borderTopWidth"),10)||0)-(parseInt(s.css("borderBottomWidth"),10)||0)+(parseInt(s.css("marginTop"),10)||0)},this.handles.hasClass("ui-state-hover")||this._slide(t,o,r),this._animateOff=!0,!0))},_mouseStart:function(e){return!0},_mouseDrag:function(e){var t={x:e.pageX,y:e.pageY},n=this._normValueFromMouse(t);return this._slide(e,this._handleIndex,n),!1},_mouseStop:function(e){return this.handles.removeClass("ui-state-active"),this._mouseSliding=!1,this._stop(e,this._handleIndex),this._change(e,this._handleIndex),this._handleIndex=null,this._clickOffset=null,this._animateOff=!1,!1},_detectOrientation:function(){this.orientation=this.options.orientation==="vertical"?"vertical":"horizontal"},_normValueFromMouse:function(e){var t,n,r,i,s;return this.orientation==="horizontal"?(t=this.elementSize.width,n=e.x-this.elementOffset.left-(this._clickOffset?this._clickOffset.left:0)):(t=this.elementSize.height,n=e.y-this.elementOffset.top-(this._clickOffset?this._clickOffset.top:0)),r=n/t,r>1&&(r=1),r<0&&(r=0),this.orientation==="vertical"&&(r=1-r),i=this._valueMax()-this._valueMin(),s=this._valueMin()+r*i,this._trimAlignValue(s)},_start:function(e,t){var n={handle:this.handles[t],value:this.value()};return this.options.values&&this.options.values.length&&(n.value=this.values(t),n.values=this.values()),this._trigger("start",e,n)},_slide:function(e,t,n){var r,i,s;this.options.values&&this.options.values.length?(r=this.values(t?0:1),this.options.values.length===2&&this.options.range===!0&&(t===0&&n>r||t===1&&n1){this.options.values[t]=this._trimAlignValue(n),this._refreshValue(),this._change(null,t);return}if(!arguments.length)return this._values();if(!e.isArray(arguments[0]))return this.options.values&&this.options.values.length?this._values(t):this.value();r=this.options.values,i=arguments[0];for(s=0;s=this._valueMax())return this._valueMax();var t=this.options.step>0?this.options.step:1,n=(e-this._valueMin())%t,r=e-n;return Math.abs(n)*2>=t&&(r+=n>0?t:-t),parseFloat(r.toFixed(5))},_valueMin:function(){return this.options.min},_valueMax:function(){return this.options.max},_refreshValue:function(){var t,n,r,i,s,o=this.options.range,u=this.options,a=this,f=this._animateOff?!1:u.animate,l={};this.options.values&&this.options.values.length?this.handles.each(function(r,i){n=(a.values(r)-a._valueMin())/(a._valueMax()-a._valueMin())*100,l[a.orientation==="horizontal"?"left":"bottom"]=n+"%",e(this).stop(1,1)[f?"animate":"css"](l,u.animate),a.options.range===!0&&(a.orientation==="horizontal"?(r===0&&a.range.stop(1,1)[f?"animate":"css"]({left:n+"%"},u.animate),r===1&&a.range[f?"animate":"css"]({width:n-t+"%"},{queue:!1,duration:u.animate})):(r===0&&a.range.stop(1,1)[f?"animate":"css"]({bottom:n+"%"},u.animate),r===1&&a.range[f?"animate":"css"]({height:n-t+"%"},{queue:!1,duration:u.animate}))),t=n}):(r=this.value(),i=this._valueMin(),s=this._valueMax(),n=s!==i?(r-i)/(s-i)*100:0,l[this.orientation==="horizontal"?"left":"bottom"]=n+"%",this.handle.stop(1,1)[f?"animate":"css"](l,u.animate),o==="min"&&this.orientation==="horizontal"&&this.range.stop(1,1)[f?"animate":"css"]({width:n+"%"},u.animate),o==="max"&&this.orientation==="horizontal"&&this.range[f?"animate":"css"]({width:100-n+"%"},{queue:!1,duration:u.animate}),o==="min"&&this.orientation==="vertical"&&this.range.stop(1,1)[f?"animate":"css"]({height:n+"%"},u.animate),o==="max"&&this.orientation==="vertical"&&this.range[f?"animate":"css"]({height:100-n+"%"},{queue:!1,duration:u.animate}))}})})(jQuery);(function(e,t){e.widget("ui.sortable",e.ui.mouse,{version:"1.9.0",widgetEventPrefix:"sort",ready:!1,options:{appendTo:"parent",axis:!1,connectWith:!1,containment:!1,cursor:"auto",cursorAt:!1,dropOnEmpty:!0,forcePlaceholderSize:!1,forceHelperSize:!1,grid:!1,handle:!1,helper:"original",items:"> *",opacity:!1,placeholder:!1,revert:!1,scroll:!0,scrollSensitivity:20,scrollSpeed:20,scope:"default",tolerance:"intersect",zIndex:1e3},_create:function(){var e=this.options;this.containerCache={},this.element.addClass("ui-sortable"),this.refresh(),this.floating=this.items.length?e.axis==="x"||/left|right/.test(this.items[0].item.css("float"))||/inline|table-cell/.test(this.items[0].item.css("display")):!1,this.offset=this.element.offset(),this._mouseInit(),this.ready=!0},_destroy:function(){this.element.removeClass("ui-sortable ui-sortable-disabled"),this._mouseDestroy();for(var e=this.items.length-1;e>=0;e--)this.items[e].item.removeData(this.widgetName+"-item");return this},_setOption:function(t,n){t==="disabled"?(this.options[t]=n,this.widget().toggleClass("ui-sortable-disabled",!!n)):e.Widget.prototype._setOption.apply(this,arguments)},_mouseCapture:function(t,n){var r=this;if(this.reverting)return!1;if(this.options.disabled||this.options.type=="static")return!1;this._refreshItems(t);var i=null,s=e(t.target).parents().each(function(){if(e.data(this,r.widgetName+"-item")==r)return i=e(this),!1});e.data(t.target,r.widgetName+"-item")==r&&(i=e(t.target));if(!i)return!1;if(this.options.handle&&!n){var o=!1;e(this.options.handle,i).find("*").andSelf().each(function(){this==t.target&&(o=!0)});if(!o)return!1}return this.currentItem=i,this._removeCurrentsFromItems(),!0},_mouseStart:function(t,n,r){var i=this.options;this.currentContainer=this,this.refreshPositions(),this.helper=this._createHelper(t),this._cacheHelperProportions(),this._cacheMargins(),this.scrollParent=this.helper.scrollParent(),this.offset=this.currentItem.offset(),this.offset={top:this.offset.top-this.margins.top,left:this.offset.left-this.margins.left},e.extend(this.offset,{click:{left:t.pageX-this.offset.left,top:t.pageY-this.offset.top},parent:this._getParentOffset(),relative:this._getRelativeOffset()}),this.helper.css("position","absolute"),this.cssPosition=this.helper.css("position"),this.originalPosition=this._generatePosition(t),this.originalPageX=t.pageX,this.originalPageY=t.pageY,i.cursorAt&&this._adjustOffsetFromHelper(i.cursorAt),this.domPosition={prev:this.currentItem.prev()[0],parent:this.currentItem.parent()[0]},this.helper[0]!=this.currentItem[0]&&this.currentItem.hide(),this._createPlaceholder(),i.containment&&this._setContainment(),i.cursor&&(e("body").css("cursor")&&(this._storedCursor=e("body").css("cursor")),e("body").css("cursor",i.cursor)),i.opacity&&(this.helper.css("opacity")&&(this._storedOpacity=this.helper.css("opacity")),this.helper.css("opacity",i.opacity)),i.zIndex&&(this.helper.css("zIndex")&&(this._storedZIndex=this.helper.css("zIndex")),this.helper.css("zIndex",i.zIndex)),this.scrollParent[0]!=document&&this.scrollParent[0].tagName!="HTML"&&(this.overflowOffset=this.scrollParent.offset()),this._trigger("start",t,this._uiHash()),this._preserveHelperProportions||this._cacheHelperProportions();if(!r)for(var s=this.containers.length-1;s>=0;s--)this.containers[s]._trigger("activate",t,this._uiHash(this));return e.ui.ddmanager&&(e.ui.ddmanager.current=this),e.ui.ddmanager&&!i.dropBehaviour&&e.ui.ddmanager.prepareOffsets(this,t),this.dragging=!0,this.helper.addClass("ui-sortable-helper"),this._mouseDrag(t),!0},_mouseDrag:function(t){this.position=this._generatePosition(t),this.positionAbs=this._convertPositionTo("absolute"),this.lastPositionAbs||(this.lastPositionAbs=this.positionAbs);if(this.options.scroll){var n=this.options,r=!1;this.scrollParent[0]!=document&&this.scrollParent[0].tagName!="HTML"?(this.overflowOffset.top+this.scrollParent[0].offsetHeight-t.pageY=0;i--){var s=this.items[i],o=s.item[0],u=this._intersectsWithPointer(s);if(!u)continue;if(s.instance!==this.currentContainer)continue;if(o!=this.currentItem[0]&&this.placeholder[u==1?"next":"prev"]()[0]!=o&&!e.contains(this.placeholder[0],o)&&(this.options.type=="semi-dynamic"?!e.contains(this.element[0],o):!0)){this.direction=u==1?"down":"up";if(this.options.tolerance!="pointer"&&!this._intersectsWithSides(s))break;this._rearrange(t,s),this._trigger("change",t,this._uiHash());break}}return this._contactContainers(t),e.ui.ddmanager&&e.ui.ddmanager.drag(this,t),this._trigger("sort",t,this._uiHash()),this.lastPositionAbs=this.positionAbs,!1},_mouseStop:function(t,n){if(!t)return;e.ui.ddmanager&&!this.options.dropBehaviour&&e.ui.ddmanager.drop(this,t);if(this.options.revert){var r=this,i=this.placeholder.offset();this.reverting=!0,e(this.helper).animate({left:i.left-this.offset.parent.left-this.margins.left+(this.offsetParent[0]==document.body?0:this.offsetParent[0].scrollLeft),top:i.top-this.offset.parent.top-this.margins.top+(this.offsetParent[0]==document.body?0:this.offsetParent[0].scrollTop)},parseInt(this.options.revert,10)||500,function(){r._clear(t)})}else this._clear(t,n);return!1},cancel:function(){if(this.dragging){this._mouseUp({target:null}),this.options.helper=="original"?this.currentItem.css(this._storedCSS).removeClass("ui-sortable-helper"):this.currentItem.show();for(var t=this.containers.length-1;t>=0;t--)this.containers[t]._trigger("deactivate",null,this._uiHash(this)),this.containers[t].containerCache.over&&(this.containers[t]._trigger("out",null,this._uiHash(this)),this.containers[t].containerCache.over=0)}return this.placeholder&&(this.placeholder[0].parentNode&&this.placeholder[0].parentNode.removeChild(this.placeholder[0]),this.options.helper!="original"&&this.helper&&this.helper[0].parentNode&&this.helper.remove(),e.extend(this,{helper:null,dragging:!1,reverting:!1,_noFinalSort:null}),this.domPosition.prev?e(this.domPosition.prev).after(this.currentItem):e(this.domPosition.parent).prepend(this.currentItem)),this},serialize:function(t){var n=this._getItemsAsjQuery(t&&t.connected),r=[];return t=t||{},e(n).each(function(){var n=(e(t.item||this).attr(t.attribute||"id")||"").match(t.expression||/(.+)[-=_](.+)/);n&&r.push((t.key||n[1]+"[]")+"="+(t.key&&t.expression?n[1]:n[2]))}),!r.length&&t.key&&r.push(t.key+"="),r.join("&")},toArray:function(t){var n=this._getItemsAsjQuery(t&&t.connected),r=[];return t=t||{},n.each(function(){r.push(e(t.item||this).attr(t.attribute||"id")||"")}),r},_intersectsWith:function(e){var t=this.positionAbs.left,n=t+this.helperProportions.width,r=this.positionAbs.top,i=r+this.helperProportions.height,s=e.left,o=s+e.width,u=e.top,a=u+e.height,f=this.offset.click.top,l=this.offset.click.left,c=r+f>u&&r+fs&&t+le[this.floating?"width":"height"]?c:s0?"down":"up")},_getDragHorizontalDirection:function(){var e=this.positionAbs.left-this.lastPositionAbs.left;return e!=0&&(e>0?"right":"left")},refresh:function(e){return this._refreshItems(e),this.refreshPositions(),this},_connectWith:function(){var e=this.options;return e.connectWith.constructor==String?[e.connectWith]:e.connectWith},_getItemsAsjQuery:function(t){var n=[],r=[],i=this._connectWith();if(i&&t)for(var s=i.length-1;s>=0;s--){var o=e(i[s]);for(var u=o.length-1;u>=0;u--){var a=e.data(o[u],this.widgetName);a&&a!=this&&!a.options.disabled&&r.push([e.isFunction(a.options.items)?a.options.items.call(a.element):e(a.options.items,a.element).not(".ui-sortable-helper").not(".ui-sortable-placeholder"),a])}}r.push([e.isFunction(this.options.items)?this.options.items.call(this.element,null,{options:this.options,item:this.currentItem}):e(this.options.items,this.element).not(".ui-sortable-helper").not(".ui-sortable-placeholder"),this]);for(var s=r.length-1;s>=0;s--)r[s][0].each(function(){n.push(this)});return e(n)},_removeCurrentsFromItems:function(){var e=this.currentItem.find(":data("+this.widgetName+"-item)");for(var t=0;t=0;s--){var o=e(i[s]);for(var u=o.length-1;u>=0;u--){var a=e.data(o[u],this.widgetName);a&&a!=this&&!a.options.disabled&&(r.push([e.isFunction(a.options.items)?a.options.items.call(a.element[0],t,{item:this.currentItem}):e(a.options.items,a.element),a]),this.containers.push(a))}}for(var s=r.length-1;s>=0;s--){var f=r[s][1],l=r[s][0];for(var u=0,c=l.length;u=0;n--){var r=this.items[n];if(r.instance!=this.currentContainer&&this.currentContainer&&r.item[0]!=this.currentItem[0])continue;var i=this.options.toleranceElement?e(this.options.toleranceElement,r.item):r.item;t||(r.width=i.outerWidth(),r.height=i.outerHeight());var s=i.offset();r.left=s.left,r.top=s.top}if(this.options.custom&&this.options.custom.refreshContainers)this.options.custom.refreshContainers.call(this);else for(var n=this.containers.length-1;n>=0;n--){var s=this.containers[n].element.offset();this.containers[n].containerCache.left=s.left,this.containers[n].containerCache.top=s.top,this.containers[n].containerCache.width=this.containers[n].element.outerWidth(),this.containers[n].containerCache.height=this.containers[n].element.outerHeight()}return this},_createPlaceholder:function(t){t=t||this;var n=t.options;if(!n.placeholder||n.placeholder.constructor==String){var r=n.placeholder;n.placeholder={element:function(){var n=e(document.createElement(t.currentItem[0].nodeName)).addClass(r||t.currentItem[0].className+" ui-sortable-placeholder").removeClass("ui-sortable-helper")[0];return r||(n.style.visibility="hidden"),n},update:function(e,i){if(r&&!n.forcePlaceholderSize)return;i.height()||i.height(t.currentItem.innerHeight()-parseInt(t.currentItem.css("paddingTop")||0,10)-parseInt(t.currentItem.css("paddingBottom")||0,10)),i.width()||i.width(t.currentItem.innerWidth()-parseInt(t.currentItem.css("paddingLeft")||0,10)-parseInt(t.currentItem.css("paddingRight")||0,10))}}}t.placeholder=e(n.placeholder.element.call(t.element,t.currentItem)),t.currentItem.after(t.placeholder),n.placeholder.update(t,t.placeholder)},_contactContainers:function(t){var n=null,r=null;for(var i=this.containers.length-1;i>=0;i--){if(e.contains(this.currentItem[0],this.containers[i].element[0]))continue;if(this._intersectsWith(this.containers[i].containerCache)){if(n&&e.contains(this.containers[i].element[0],n.element[0]))continue;n=this.containers[i],r=i}else this.containers[i].containerCache.over&&(this.containers[i]._trigger("out",t,this._uiHash(this)),this.containers[i].containerCache.over=0)}if(!n)return;if(this.containers.length===1)this.containers[r]._trigger("over",t,this._uiHash(this)),this.containers[r].containerCache.over=1;else if(this.currentContainer!=this.containers[r]){var s=1e4,o=null,u=this.positionAbs[this.containers[r].floating?"left":"top"];for(var a=this.items.length-1;a>=0;a--){if(!e.contains(this.containers[r].element[0],this.items[a].item[0]))continue;var f=this.containers[r].floating?this.items[a].item.offset().left:this.items[a].item.offset().top;Math.abs(f-u)0?"down":"up")}if(!o&&!this.options.dropOnEmpty)return;this.currentContainer=this.containers[r],o?this._rearrange(t,o,null,!0):this._rearrange(t,null,this.containers[r].element,!0),this._trigger("change",t,this._uiHash()),this.containers[r]._trigger("change",t,this._uiHash(this)),this.options.placeholder.update(this.currentContainer,this.placeholder),this.containers[r]._trigger("over",t,this._uiHash(this)),this.containers[r].containerCache.over=1}},_createHelper:function(t){var n=this.options,r=e.isFunction(n.helper)?e(n.helper.apply(this.element[0],[t,this.currentItem])):n.helper=="clone"?this.currentItem.clone():this.currentItem;return r.parents("body").length||e(n.appendTo!="parent"?n.appendTo:this.currentItem[0].parentNode)[0].appendChild(r[0]),r[0]==this.currentItem[0]&&(this._storedCSS={width:this.currentItem[0].style.width,height:this.currentItem[0].style.height,position:this.currentItem.css("position"),top:this.currentItem.css("top"),left:this.currentItem.css("left")}),(r[0].style.width==""||n.forceHelperSize)&&r.width(this.currentItem.width()),(r[0].style.height==""||n.forceHelperSize)&&r.height(this.currentItem.height()),r},_adjustOffsetFromHelper:function(t){typeof t=="string"&&(t=t.split(" ")),e.isArray(t)&&(t={left:+t[0],top:+t[1]||0}),"left"in t&&(this.offset.click.left=t.left+this.margins.left),"right"in t&&(this.offset.click.left=this.helperProportions.width-t.right+this.margins.left),"top"in t&&(this.offset.click.top=t.top+this.margins.top),"bottom"in t&&(this.offset.click.top=this.helperProportions.height-t.bottom+this.margins.top)},_getParentOffset:function(){this.offsetParent=this.helper.offsetParent();var t=this.offsetParent.offset();this.cssPosition=="absolute"&&this.scrollParent[0]!=document&&e.contains(this.scrollParent[0],this.offsetParent[0])&&(t.left+=this.scrollParent.scrollLeft(),t.top+=this.scrollParent.scrollTop());if(this.offsetParent[0]==document.body||this.offsetParent[0].tagName&&this.offsetParent[0].tagName.toLowerCase()=="html"&&e.browser.msie)t={top:0,left:0};return{top:t.top+(parseInt(this.offsetParent.css("borderTopWidth"),10)||0),left:t.left+(parseInt(this.offsetParent.css("borderLeftWidth"),10)||0)}},_getRelativeOffset:function(){if(this.cssPosition=="relative"){var e=this.currentItem.position();return{top:e.top-(parseInt(this.helper.css("top"),10)||0)+this.scrollParent.scrollTop(),left:e.left-(parseInt(this.helper.css("left"),10)||0)+this.scrollParent.scrollLeft()}}return{top:0,left:0}},_cacheMargins:function(){this.margins={left:parseInt(this.currentItem.css("marginLeft"),10)||0,top:parseInt(this.currentItem.css("marginTop"),10)||0}},_cacheHelperProportions:function(){this.helperProportions={width:this.helper.outerWidth(),height:this.helper.outerHeight()}},_setContainment:function(){var t=this.options;t.containment=="parent"&&(t.containment=this.helper[0].parentNode);if(t.containment=="document"||t.containment=="window")this.containment=[0-this.offset.relative.left-this.offset.parent.left,0-this.offset.relative.top-this.offset.parent.top,e(t.containment=="document"?document:window).width()-this.helperProportions.width-this.margins.left,(e(t.containment=="document"?document:window).height()||document.body.parentNode.scrollHeight)-this.helperProportions.height-this.margins.top];if(!/^(document|window|parent)$/.test(t.containment)){var n=e(t.containment)[0],r=e(t.containment).offset(),i=e(n).css("overflow")!="hidden";this.containment=[r.left+(parseInt(e(n).css("borderLeftWidth"),10)||0)+(parseInt(e(n).css("paddingLeft"),10)||0)-this.margins.left,r.top+(parseInt(e(n).css("borderTopWidth"),10)||0)+(parseInt(e(n).css("paddingTop"),10)||0)-this.margins.top,r.left+(i?Math.max(n.scrollWidth,n.offsetWidth):n.offsetWidth)-(parseInt(e(n).css("borderLeftWidth"),10)||0)-(parseInt(e(n).css("paddingRight"),10)||0)-this.helperProportions.width-this.margins.left,r.top+(i?Math.max(n.scrollHeight,n.offsetHeight):n.offsetHeight)-(parseInt(e(n).css("borderTopWidth"),10)||0)-(parseInt(e(n).css("paddingBottom"),10)||0)-this.helperProportions.height-this.margins.top]}},_convertPositionTo:function(t,n){n||(n=this.position);var r=t=="absolute"?1:-1,i=this.options,s=this.cssPosition!="absolute"||this.scrollParent[0]!=document&&!!e.contains(this.scrollParent[0],this.offsetParent[0])?this.scrollParent:this.offsetParent,o=/(html|body)/i.test(s[0].tagName);return{top:n.top+this.offset.relative.top*r+this.offset.parent.top*r-(this.cssPosition=="fixed"?-this.scrollParent.scrollTop():o?0:s.scrollTop())*r,left:n.left+this.offset.relative.left*r+this.offset.parent.left*r-(this.cssPosition=="fixed"?-this.scrollParent.scrollLeft():o?0:s.scrollLeft())*r}},_generatePosition:function(t){var n=this.options,r=this.cssPosition!="absolute"||this.scrollParent[0]!=document&&!!e.contains(this.scrollParent[0],this.offsetParent[0])?this.scrollParent:this.offsetParent,i=/(html|body)/i.test(r[0].tagName);this.cssPosition=="relative"&&(this.scrollParent[0]==document||this.scrollParent[0]==this.offsetParent[0])&&(this.offset.relative=this._getRelativeOffset());var s=t.pageX,o=t.pageY;if(this.originalPosition){this.containment&&(t.pageX-this.offset.click.leftthis.containment[2]&&(s=this.containment[2]+this.offset.click.left),t.pageY-this.offset.click.top>this.containment[3]&&(o=this.containment[3]+this.offset.click.top));if(n.grid){var u=this.originalPageY+Math.round((o-this.originalPageY)/n.grid[1])*n.grid[1];o=this.containment?u-this.offset.click.topthis.containment[3]?u-this.offset.click.topthis.containment[2]?a-this.offset.click.left=0;i--)n||r.push(function(e){return function(t){e._trigger("deactivate",t,this._uiHash(this))}}.call(this,this.containers[i])),this.containers[i].containerCache.over&&(r.push(function(e){return function(t){e._trigger("out",t,this._uiHash(this))}}.call(this,this.containers[i])),this.containers[i].containerCache.over=0);this._storedCursor&&e("body").css("cursor",this._storedCursor),this._storedOpacity&&this.helper.css("opacity",this._storedOpacity),this._storedZIndex&&this.helper.css("zIndex",this._storedZIndex=="auto"?"":this._storedZIndex),this.dragging=!1;if(this.cancelHelperRemoval){if(!n){this._trigger("beforeStop",t,this._uiHash());for(var i=0;i",widgetEventPrefix:"spin",options:{culture:null,icons:{down:"ui-icon-triangle-1-s",up:"ui-icon-triangle-1-n"},incremental:!0,max:null,min:null,numberFormat:null,page:10,step:1,change:null,spin:null,start:null,stop:null},_create:function(){this._setOption("max",this.options.max),this._setOption("min",this.options.min),this._setOption("step",this.options.step),this._value(this.element.val(),!0),this._draw(),this._on(this._events),this._refresh(),this._on(this.window,{beforeunload:function(){this.element.removeAttr("autocomplete")}})},_getCreateOptions:function(){var t={},n=this.element;return e.each(["min","max","step"],function(e,r){var i=n.attr(r);i!==undefined&&i.length&&(t[r]=i)}),t},_events:{keydown:function(e){this._start(e)&&this._keydown(e)&&e.preventDefault()},keyup:"_stop",focus:function(){this.uiSpinner.addClass("ui-state-active"),this.previous=this.element.val()},blur:function(e){if(this.cancelBlur){delete this.cancelBlur;return}this._refresh(),this.uiSpinner.removeClass("ui-state-active"),this.previous!==this.element.val()&&this._trigger("change",e)},mousewheel:function(e,t){if(!t)return;if(!this.spinning&&!this._start(e))return!1;this._spin((t>0?1:-1)*this.options.step,e),clearTimeout(this.mousewheelTimer),this.mousewheelTimer=this._delay(function(){this.spinning&&this._stop(e)},100),e.preventDefault()},"mousedown .ui-spinner-button":function(t){function r(){var e=this.element[0]===this.document[0].activeElement;e||(this.element.focus(),this.previous=n,this._delay(function(){this.previous=n}))}var n;n=this.element[0]===this.document[0].activeElement?this.previous:this.element.val(),t.preventDefault(),r.call(this),this.cancelBlur=!0,this._delay(function(){delete this.cancelBlur,r.call(this)});if(this._start(t)===!1)return;this._repeat(null,e(t.currentTarget).hasClass("ui-spinner-up")?1:-1,t)},"mouseup .ui-spinner-button":"_stop","mouseenter .ui-spinner-button":function(t){if(!e(t.currentTarget).hasClass("ui-state-active"))return;if(this._start(t)===!1)return!1;this._repeat(null,e(t.currentTarget).hasClass("ui-spinner-up")?1:-1,t)},"mouseleave .ui-spinner-button":"_stop"},_draw:function(){var e=this.uiSpinner=this.element.addClass("ui-spinner-input").attr("autocomplete","off").wrap(this._uiSpinnerHtml()).parent().append(this._buttonHtml());this._hoverable(e),this.element.attr("role","spinbutton"),this.buttons=e.find(".ui-spinner-button").attr("tabIndex",-1).button().removeClass("ui-corner-all"),this.buttons.height()>Math.ceil(e.height()*.5)&&e.height()>0&&e.height(e.height()),this.options.disabled&&this.disable()},_keydown:function(t){var n=this.options,r=e.ui.keyCode;switch(t.keyCode){case r.UP:return this._repeat(null,1,t),!0;case r.DOWN:return this._repeat(null,-1,t),!0;case r.PAGE_UP:return this._repeat(null,n.page,t),!0;case r.PAGE_DOWN:return this._repeat(null,-n.page,t),!0}return!1},_uiSpinnerHtml:function(){return""},_buttonHtml:function(){return""+""+""+""+""},_start:function(e){return!this.spinning&&this._trigger("start",e)===!1?!1:(this.counter||(this.counter=1),this.spinning=!0,!0)},_repeat:function(e,t,n){e=e||500,clearTimeout(this.timer),this.timer=this._delay(function(){this._repeat(40,t,n)},e),this._spin(t*this.options.step,n)},_spin:function(e,t){var n=this.value()||0;this.counter||(this.counter=1),n=this._adjustValue(n+e*this._increment(this.counter));if(!this.spinning||this._trigger("spin",t,{value:n})!==!1)this._value(n),this.counter++},_increment:function(t){var n=this.options.incremental;return n?e.isFunction(n)?n(t):Math.floor(t*t*t/5e4-t*t/500+17*t/200+1):1},_precision:function(){var e=this._precisionOf(this.options.step);return this.options.min!==null&&(e=Math.max(e,this._precisionOf(this.options.min))),e},_precisionOf:function(e){var t=e.toString(),n=t.indexOf(".");return n===-1?0:t.length-n-1},_adjustValue:function(e){var t,n,r=this.options;return t=r.min!==null?r.min:0,n=e-t,n=Math.round(n/r.step)*r.step,e=t+n,e=parseFloat(e.toFixed(this._precision())),r.max!==null&&e>r.max?r.max:r.min!==null&&e1&&e.href.replace(r,"")===location.href.replace(r,"")}var n=0,r=/#.*$/;e.widget("ui.tabs",{version:"1.9.0",delay:300,options:{active:null,collapsible:!1,event:"click",heightStyle:"content",hide:null,show:null,activate:null,beforeActivate:null,beforeLoad:null,load:null},_create:function(){var t,n=this,r=this.options,i=r.active;this.running=!1,this.element.addClass("ui-tabs ui-widget ui-widget-content ui-corner-all").toggleClass("ui-tabs-collapsible",r.collapsible).delegate(".ui-tabs-nav > li","mousedown"+this.eventNamespace,function(t){e(this).is(".ui-state-disabled")&&t.preventDefault()}).delegate(".ui-tabs-anchor","focus"+this.eventNamespace,function(){e(this).closest("li").is(".ui-state-disabled")&&this.blur()}),this._processTabs();if(i===null){location.hash&&this.anchors.each(function(e,t){if(t.hash===location.hash)return i=e,!1}),i===null&&(i=this.tabs.filter(".ui-tabs-active").index());if(i===null||i===-1)i=this.tabs.length?0:!1}i!==!1&&(i=this.tabs.index(this.tabs.eq(i)),i===-1&&(i=r.collapsible?!1:0)),r.active=i,!r.collapsible&&r.active===!1&&this.anchors.length&&(r.active=0),e.isArray(r.disabled)&&(r.disabled=e.unique(r.disabled.concat(e.map(this.tabs.filter(".ui-state-disabled"),function(e){return n.tabs.index(e)}))).sort()),this.options.active!==!1&&this.anchors.length?this.active=this._findActive(this.options.active):this.active=e(),this._refresh(),this.active.length&&this.load(r.active)},_getCreateEventData:function(){return{tab:this.active,panel:this.active.length?this._getPanelForTab(this.active):e()}},_tabKeydown:function(t){var n=e(this.document[0].activeElement).closest("li"),r=this.tabs.index(n),i=!0;if(this._handlePageNav(t))return;switch(t.keyCode){case e.ui.keyCode.RIGHT:case e.ui.keyCode.DOWN:r++;break;case e.ui.keyCode.UP:case e.ui.keyCode.LEFT:i=!1,r--;break;case e.ui.keyCode.END:r=this.anchors.length-1;break;case e.ui.keyCode.HOME:r=0;break;case e.ui.keyCode.SPACE:t.preventDefault(),clearTimeout(this.activating),this._activate(r);return;case e.ui.keyCode.ENTER:t.preventDefault(),clearTimeout(this.activating),this._activate(r===this.options.active?!1:r);return;default:return}t.preventDefault(),clearTimeout(this.activating),r=this._focusNextTab(r,i),t.ctrlKey||(n.attr("aria-selected","false"),this.tabs.eq(r).attr("aria-selected","true"),this.activating=this._delay(function(){this.option("active",r)},this.delay))},_panelKeydown:function(t){if(this._handlePageNav(t))return;t.ctrlKey&&t.keyCode===e.ui.keyCode.UP&&(t.preventDefault(),this.active.focus())},_handlePageNav:function(t){if(t.altKey&&t.keyCode===e.ui.keyCode.PAGE_UP)return this._activate(this._focusNextTab(this.options.active-1,!1)),!0;if(t.altKey&&t.keyCode===e.ui.keyCode.PAGE_DOWN)return this._activate(this._focusNextTab(this.options.active+1,!0)),!0},_findNextTab:function(t,n){function i(){return t>r&&(t=0),t<0&&(t=r),t}var r=this.tabs.length-1;while(e.inArray(i(),this.options.disabled)!==-1)t=n?t+1:t-1;return t},_focusNextTab:function(e,t){return e=this._findNextTab(e,t),this.tabs.eq(e).focus(),e},_setOption:function(e,t){if(e==="active"){this._activate(t);return}if(e==="disabled"){this._setupDisabled(t);return}this._super(e,t),e==="collapsible"&&(this.element.toggleClass("ui-tabs-collapsible",t),!t&&this.options.active===!1&&this._activate(0)),e==="event"&&this._setupEvents(t),e==="heightStyle"&&this._setupHeightStyle(t)},_tabId:function(e){return e.attr("aria-controls")||"ui-tabs-"+i()},_sanitizeSelector:function(e){return e?e.replace(/[!"$%&'()*+,.\/:;<=>?@\[\]\^`{|}~]/g,"\\$&"):""},refresh:function(){var t,n=this.options,r=this.tablist.children(":has(a[href])");n.disabled=e.map(r.filter(".ui-state-disabled"),function(e){return r.index(e)}),this._processTabs(),n.active===!1||!this.anchors.length?(n.active=!1,this.active=e()):this.active.length&&!e.contains(this.tablist[0],this.active[0])?this.tabs.length===n.disabled.length?(n.active=!1,this.active=e()):this._activate(this._findNextTab(Math.max(0,n.active-1),!1)):n.active=this.tabs.index(this.active),this._refresh()},_refresh:function(){this._setupDisabled(this.options.disabled),this._setupEvents(this.options.event),this._setupHeightStyle(this.options.heightStyle),this.tabs.not(this.active).attr({"aria-selected":"false",tabIndex:-1}),this.panels.not(this._getPanelForTab(this.active)).hide().attr({"aria-expanded":"false","aria-hidden":"true"}),this.active.length?(this.active.addClass("ui-tabs-active ui-state-active").attr({"aria-selected":"true",tabIndex:0}),this._getPanelForTab(this.active).show().attr({"aria-expanded":"true","aria-hidden":"false"})):this.tabs.eq(0).attr("tabIndex",0)},_processTabs:function(){var t=this;this.tablist=this._getList().addClass("ui-tabs-nav ui-helper-reset ui-helper-clearfix ui-widget-header ui-corner-all").attr("role","tablist"),this.tabs=this.tablist.find("> li:has(a[href])").addClass("ui-state-default ui-corner-top").attr({role:"tab",tabIndex:-1}),this.anchors=this.tabs.map(function(){return e("a",this)[0]}).addClass("ui-tabs-anchor").attr({role:"presentation",tabIndex:-1}),this.panels=e(),this.anchors.each(function(n,r){var i,o,u,a=e(r).uniqueId().attr("id"),f=e(r).closest("li"),l=f.attr("aria-controls");s(r)?(i=r.hash,o=t.element.find(t._sanitizeSelector(i))):(u=t._tabId(f),i="#"+u,o=t.element.find(i),o.length||(o=t._createPanel(u),o.insertAfter(t.panels[n-1]||t.tablist)),o.attr("aria-live","polite")),o.length&&(t.panels=t.panels.add(o)),l&&f.data("ui-tabs-aria-controls",l),f.attr({"aria-controls":i.substring(1),"aria-labelledby":a}),o.attr("aria-labelledby",a)}),this.panels.addClass("ui-tabs-panel ui-widget-content ui-corner-bottom").attr("role","tabpanel")},_getList:function(){return this.element.find("ol,ul").eq(0)},_createPanel:function(t){return e("
                                                                    ").attr("id",t).addClass("ui-tabs-panel ui-widget-content ui-corner-bottom").data("ui-tabs-destroy",!0)},_setupDisabled:function(t){e.isArray(t)&&(t.length?t.length===this.anchors.length&&(t=!0):t=!1);for(var n=0,r;r=this.tabs[n];n++)t===!0||e.inArray(n,t)!==-1?e(r).addClass("ui-state-disabled").attr("aria-disabled","true"):e(r).removeClass("ui-state-disabled").removeAttr("aria-disabled");this.options.disabled=t},_setupEvents:function(t){var n={click:function(e){e.preventDefault()}};t&&e.each(t.split(" "),function(e,t){n[t]="_eventHandler"}),this._off(this.anchors.add(this.tabs).add(this.panels)),this._on(this.anchors,n),this._on(this.tabs,{keydown:"_tabKeydown"}),this._on(this.panels,{keydown:"_panelKeydown"}),this._focusable(this.tabs),this._hoverable(this.tabs)},_setupHeightStyle:function(t){var n,r,i=this.element.parent();t==="fill"?(e.support.minHeight||(r=i.css("overflow"),i.css("overflow","hidden")),n=i.height(),this.element.siblings(":visible").each(function(){var t=e(this),r=t.css("position");if(r==="absolute"||r==="fixed")return;n-=t.outerHeight(!0)}),r&&i.css("overflow",r),this.element.children().not(this.panels).each(function(){n-=e(this).outerHeight(!0)}),this.panels.each(function(){e(this).height(Math.max(0,n-e(this).innerHeight()+e(this).height()))}).css("overflow","auto")):t==="auto"&&(n=0,this.panels.each(function(){n=Math.max(n,e(this).height("").height())}).height(n))},_eventHandler:function(t){var n=this.options,r=this.active,i=e(t.currentTarget),s=i.closest("li"),o=s[0]===r[0],u=o&&n.collapsible,a=u?e():this._getPanelForTab(s),f=r.length?this._getPanelForTab(r):e(),l={oldTab:r,oldPanel:f,newTab:u?e():s,newPanel:a};t.preventDefault();if(s.hasClass("ui-state-disabled")||s.hasClass("ui-tabs-loading")||this.running||o&&!n.collapsible||this._trigger("beforeActivate",t,l)===!1)return;n.active=u?!1:this.tabs.index(s),this.active=o?e():s,this.xhr&&this.xhr.abort(),!f.length&&!a.length&&e.error("jQuery UI Tabs: Mismatching fragment identifier."),a.length&&this.load(this.tabs.index(s),t),this._toggle(t,l)},_toggle:function(t,n){function o(){r.running=!1,r._trigger("activate",t,n)}function u(){n.newTab.closest("li").addClass("ui-tabs-active ui-state-active"),i.length&&r.options.show?r._show(i,r.options.show,o):(i.show(),o())}var r=this,i=n.newPanel,s=n.oldPanel;this.running=!0,s.length&&this.options.hide?this._hide(s,this.options.hide,function(){n.oldTab.closest("li").removeClass("ui-tabs-active ui-state-active"),u()}):(n.oldTab.closest("li").removeClass("ui-tabs-active ui-state-active"),s.hide(),u()),s.attr({"aria-expanded":"false","aria-hidden":"true"}),n.oldTab.attr("aria-selected","false"),i.length&&s.length?n.oldTab.attr("tabIndex",-1):i.length&&this.tabs.filter(function(){return e(this).attr("tabIndex")===0}).attr("tabIndex",-1),i.attr({"aria-expanded":"true","aria-hidden":"false"}),n.newTab.attr({"aria-selected":"true",tabIndex:0})},_activate:function(t){var n,r=this._findActive(t);if(r[0]===this.active[0])return;r.length||(r=this.active),n=r.find(".ui-tabs-anchor")[0],this._eventHandler({target:n,currentTarget:n,preventDefault:e.noop})},_findActive:function(t){return t===!1?e():this.tabs.eq(t)},_getIndex:function(e){return typeof e=="string"&&(e=this.anchors.index(this.anchors.filter("[href$='"+e+"']"))),e},_destroy:function(){this.xhr&&this.xhr.abort(),this.element.removeClass("ui-tabs ui-widget ui-widget-content ui-corner-all ui-tabs-collapsible"),this.tablist.removeClass("ui-tabs-nav ui-helper-reset ui-helper-clearfix ui-widget-header ui-corner-all").removeAttr("role"),this.anchors.removeClass("ui-tabs-anchor").removeAttr("role").removeAttr("tabIndex").removeData("href.tabs").removeData("load.tabs").removeUniqueId(),this.tabs.add(this.panels).each(function(){e.data(this,"ui-tabs-destroy")?e(this).remove():e(this).removeClass("ui-state-default ui-state-active ui-state-disabled ui-corner-top ui-corner-bottom ui-widget-content ui-tabs-active ui-tabs-panel").removeAttr("tabIndex").removeAttr("aria-live").removeAttr("aria-busy").removeAttr("aria-selected").removeAttr("aria-labelledby").removeAttr("aria-hidden").removeAttr("aria-expanded").removeAttr("role")}),this.tabs.each(function(){var t=e(this),n=t.data("ui-tabs-aria-controls");n?t.attr("aria-controls",n):t.removeAttr("aria-controls")}),this.options.heightStyle!=="content"&&this.panels.css("height","")},enable:function(n){var r=this.options.disabled;if(r===!1)return;n===t?r=!1:(n=this._getIndex(n),e.isArray(r)?r=e.map(r,function(e){return e!==n?e:null}):r=e.map(this.tabs,function(e,t){return t!==n?t:null})),this._setupDisabled(r)},disable:function(n){var r=this.options.disabled;if(r===!0)return;if(n===t)r=!0;else{n=this._getIndex(n);if(e.inArray(n,r)!==-1)return;e.isArray(r)?r=e.merge([n],r).sort():r=[n]}this._setupDisabled(r)},load:function(t,n){t=this._getIndex(t);var r=this,i=this.tabs.eq(t),o=i.find(".ui-tabs-anchor"),u=this._getPanelForTab(i),a={tab:i,panel:u};if(s(o[0]))return;this.xhr=e.ajax(this._ajaxSettings(o,n,a)),this.xhr&&this.xhr.statusText!=="canceled"&&(i.addClass("ui-tabs-loading"),u.attr("aria-busy","true"),this.xhr.success(function(e){setTimeout(function(){u.html(e),r._trigger("load",n,a)},1)}).complete(function(e,t){setTimeout(function(){t==="abort"&&r.panels.stop(!1,!0),i.removeClass("ui-tabs-loading"),u.removeAttr("aria-busy"),e===r.xhr&&delete r.xhr},1)}))},_ajaxSettings:function(t,n,r){var i=this;return{url:t.attr("href"),beforeSend:function(t,s){return i._trigger("beforeLoad",n,e.extend({jqXHR:t,ajaxSettings:s},r))}}},_getPanelForTab:function(t){var n=e(t).attr("aria-controls");return this.element.find(this._sanitizeSelector("#"+n))}}),e.uiBackCompat!==!1&&(e.ui.tabs.prototype._ui=function(e,t){return{tab:e,panel:t,index:this.anchors.index(e)}},e.widget("ui.tabs",e.ui.tabs,{url:function(e,t){this.anchors.eq(e).attr("href",t)}}),e.widget("ui.tabs",e.ui.tabs,{options:{ajaxOptions:null,cache:!1},_create:function(){this._super();var t=this;this._on({tabsbeforeload:function(n,r){if(e.data(r.tab[0],"cache.tabs")){n.preventDefault();return}r.jqXHR.success(function(){t.options.cache&&e.data(r.tab[0],"cache.tabs",!0)})}})},_ajaxSettings:function(t,n,r){var i=this.options.ajaxOptions;return e.extend({},i,{error:function(e,t,n){try{i.error(e,t,r.tab.closest("li").index(),r.tab[0])}catch(n){}}},this._superApply(arguments))},_setOption:function(e,t){e==="cache"&&t===!1&&this.anchors.removeData("cache.tabs"),this._super(e,t)},_destroy:function(){this.anchors.removeData("cache.tabs"),this._super()},url:function(e,t){this.anchors.eq(e).removeData("cache.tabs"),this._superApply(arguments)}}),e.widget("ui.tabs",e.ui.tabs,{abort:function(){this.xhr&&this.xhr.abort()}}),e.widget("ui.tabs",e.ui.tabs,{options:{spinner:"Loading…"},_create:function(){this._super(),this._on({tabsbeforeload:function(e,t){if(e.target!==this.element[0]||!this.options.spinner)return;var n=t.tab.find("span"),r=n.html();n.html(this.options.spinner),t.jqXHR.complete(function(){n.html(r)})}})}}),e.widget("ui.tabs",e.ui.tabs,{options:{enable:null,disable:null},enable:function(t){var n=this.options,r;if(t&&n.disabled===!0||e.isArray(n.disabled)&&e.inArray(t,n.disabled)!==-1)r=!0;this._superApply(arguments),r&&this._trigger("enable",null,this._ui(this.anchors[t],this.panels[t]))},disable:function(t){var n=this.options,r;if(t&&n.disabled===!1||e.isArray(n.disabled)&&e.inArray(t,n.disabled)===-1)r=!0;this._superApply(arguments),r&&this._trigger("disable",null,this._ui(this.anchors[t],this.panels[t]))}}),e.widget("ui.tabs",e.ui.tabs,{options:{add:null,remove:null,tabTemplate:"
                                                                  7. #{label}
                                                                  8. "},add:function(n,r,i){i===t&&(i=this.anchors.length);var s,o,u=this.options,a=e(u.tabTemplate.replace(/#\{href\}/g,n).replace(/#\{label\}/g,r)),f=n.indexOf("#")?this._tabId(a):n.replace("#","");return a.addClass("ui-state-default ui-corner-top").data("ui-tabs-destroy",!0),a.attr("aria-controls",f),s=i>=this.tabs.length,o=this.element.find("#"+f),o.length||(o=this._createPanel(f),s?i>0?o.insertAfter(this.panels.eq(-1)):o.appendTo(this.element):o.insertBefore(this.panels[i])),o.addClass("ui-tabs-panel ui-widget-content ui-corner-bottom").hide(),s?a.appendTo(this.tablist):a.insertBefore(this.tabs[i]),u.disabled=e.map(u.disabled,function(e){return e>=i?++e:e}),this.refresh(),this.tabs.length===1&&u.active===!1&&this.option("active",0),this._trigger("add",null,this._ui(this.anchors[i],this.panels[i])),this},remove:function(t){t=this._getIndex(t);var n=this.options,r=this.tabs.eq(t).remove(),i=this._getPanelForTab(r).remove();return r.hasClass("ui-tabs-active")&&this.anchors.length>2&&this._activate(t+(t+1=t?--e:e}),this.refresh(),this._trigger("remove",null,this._ui(r.find("a")[0],i[0])),this}}),e.widget("ui.tabs",e.ui.tabs,{length:function(){return this.anchors.length}}),e.widget("ui.tabs",e.ui.tabs,{options:{idPrefix:"ui-tabs-"},_tabId:function(t){var n=t.is("li")?t.find("a[href]"):t;return n=n[0],e(n).closest("li").attr("aria-controls")||n.title&&n.title.replace(/\s/g,"_").replace(/[^\w\u00c0-\uFFFF\-]/g,"")||this.options.idPrefix+i()}}),e.widget("ui.tabs",e.ui.tabs,{options:{panelTemplate:"
                                                                    "},_createPanel:function(t){return e(this.options.panelTemplate).attr("id",t).addClass("ui-tabs-panel ui-widget-content ui-corner-bottom").data("ui-tabs-destroy",!0)}}),e.widget("ui.tabs",e.ui.tabs,{_create:function(){var e=this.options;e.active===null&&e.selected!==t&&(e.active=e.selected===-1?!1:e.selected),this._super(),e.selected=e.active,e.selected===!1&&(e.selected=-1)},_setOption:function(e,t){if(e!=="selected")return this._super(e,t);var n=this.options;this._super("active",t===-1?!1:t),n.selected=n.active,n.selected===!1&&(n.selected=-1)},_eventHandler:function(e){this._superApply(arguments),this.options.selected=this.options.active,this.options.selected===!1&&(this.options.selected=-1)}}),e.widget("ui.tabs",e.ui.tabs,{options:{show:null,select:null},_create:function(){this._super(),this.options.active!==!1&&this._trigger("show",null,this._ui(this.active.find(".ui-tabs-anchor")[0],this._getPanelForTab(this.active)[0]))},_trigger:function(e,t,n){var r=this._superApply(arguments);return r?(e==="beforeActivate"&&n.newTab.length?r=this._super("select",t,{tab:n.newTab.find(".ui-tabs-anchor")[0],panel:n.newPanel[0],index:n.newTab.closest("li").index()}):e==="activate"&&n.newTab.length&&(r=this._super("show",t,{tab:n.newTab.find(".ui-tabs-anchor")[0],panel:n.newPanel[0],index:n.newTab.closest("li").index()})),r):!1}}),e.widget("ui.tabs",e.ui.tabs,{select:function(e){e=this._getIndex(e);if(e===-1){if(!this.options.collapsible||this.options.selected===-1)return;e=this.options.selected}this.anchors.eq(e).trigger(this.options.event+this.eventNamespace)}}),function(){var t=0;e.widget("ui.tabs",e.ui.tabs,{options:{cookie:null},_create:function(){var e=this.options,t;e.active==null&&e.cookie&&(t=parseInt(this._cookie(),10),t===-1&&(t=!1),e.active=t),this._super()},_cookie:function(n){var r=[this.cookie||(this.cookie=this.options.cookie.name||"ui-tabs-"+ ++t)];return arguments.length&&(r.push(n===!1?-1:n),r.push(this.options.cookie)),e.cookie.apply(null,r)},_refresh:function(){this._super(),this.options.cookie&&this._cookie(this.options.active,this.options.cookie)},_eventHandler:function(e){this._superApply(arguments),this.options.cookie&&this._cookie(this.options.active,this.options.cookie)},_destroy:function(){this._super(),this.options.cookie&&this._cookie(null,this.options.cookie)}})}(),e.widget("ui.tabs",e.ui.tabs,{_trigger:function(t,n,r){var i=e.extend({},r);return t==="load"&&(i.panel=i.panel[0],i.tab=i.tab.find(".ui-tabs-anchor")[0]),this._super(t,n,i)}}),e.widget("ui.tabs",e.ui.tabs,{options:{fx:null},_getFx:function(){var t,n,r=this.options.fx;return r&&(e.isArray(r)?(t=r[0],n=r[1]):t=n=r),r?{show:n,hide:t}:null},_toggle:function(e,t){function o(){n.running=!1,n._trigger("activate",e,t)}function u(){t.newTab.closest("li").addClass("ui-tabs-active ui-state-active"),r.length&&s.show?r.animate(s.show,s.show.duration,function(){o()}):(r.show(),o())}var n=this,r=t.newPanel,i=t.oldPanel,s=this._getFx();if(!s)return this._super(e,t);n.running=!0,i.length&&s.hide?i.animate(s.hide,s.hide.duration,function(){t.oldTab.closest("li").removeClass("ui-tabs-active ui-state-active"),u()}):(t.oldTab.closest("li").removeClass("ui-tabs-active ui-state-active"),i.hide(),u())}}))})(jQuery);(function(e){function n(t,n){var r=(t.attr("aria-describedby")||"").split(/\s+/);r.push(n),t.data("ui-tooltip-id",n).attr("aria-describedby",e.trim(r.join(" ")))}function r(t){var n=t.data("ui-tooltip-id"),r=(t.attr("aria-describedby")||"").split(/\s+/),i=e.inArray(n,r);i!==-1&&r.splice(i,1),t.removeData("ui-tooltip-id"),r=e.trim(r.join(" ")),r?t.attr("aria-describedby",r):t.removeAttr("aria-describedby")}var t=0;e.widget("ui.tooltip",{version:"1.9.0",options:{content:function(){return e(this).attr("title")},hide:!0,items:"[title]",position:{my:"left+15 center",at:"right center",collision:"flipfit flipfit"},show:!0,tooltipClass:null,track:!1,close:null,open:null},_create:function(){this._on({mouseover:"open",focusin:"open"}),this.tooltips={}},_setOption:function(t,n){var r=this;if(t==="disabled"){this[n?"_disable":"_enable"](),this.options[t]=n;return}this._super(t,n),t==="content"&&e.each(this.tooltips,function(e,t){r._updateContent(t)})},_disable:function(){var t=this;e.each(this.tooltips,function(n,r){var i=e.Event("blur");i.target=i.currentTarget=r[0],t.close(i,!0)}),this.element.find(this.options.items).andSelf().each(function(){var t=e(this);t.is("[title]")&&t.data("ui-tooltip-title",t.attr("title")).attr("title","")})},_enable:function(){this.element.find(this.options.items).andSelf().each(function(){var t=e(this);t.data("ui-tooltip-title")&&t.attr("title",t.data("ui-tooltip-title"))})},open:function(t){var n=e(t?t.target:this.element).closest(this.options.items);if(!n.length)return;if(this.options.track&&n.data("ui-tooltip-id")){this._find(n).position(e.extend({of:n},this.options.position)),this._off(this.document,"mousemove");return}n.attr("title")&&n.data("ui-tooltip-title",n.attr("title")),n.data("tooltip-open",!0),this._updateContent(n,t)},_updateContent:function(e,t){var n,r=this.options.content,i=this;if(typeof r=="string")return this._open(t,e,r);n=r.call(e[0],function(n){if(!e.data("tooltip-open"))return;i._delay(function(){this._open(t,e,n)})}),n&&this._open(t,e,n)},_open:function(t,r,i){function u(e){o.of=e,s.position(o)}var s,o;if(!i)return;s=this._find(r);if(s.length){s.find(".ui-tooltip-content").html(i);return}r.is("[title]")&&(t&&t.type==="mouseover"?r.attr("title",""):r.removeAttr("title")),s=this._tooltip(r),n(r,s.attr("id")),s.find(".ui-tooltip-content").html(i),this.options.track&&t&&/^mouse/.test(t.originalEvent.type)?(o=e.extend({},this.options.position),this._on(this.document,{mousemove:u}),u(t)):s.position(e.extend({of:r},this.options.position)),s.hide(),this._show(s,this.options.show),this._trigger("open",t,{tooltip:s}),this._on(r,{mouseleave:"close",focusout:"close",keyup:function(t){if(t.keyCode===e.ui.keyCode.ESCAPE){var n=e.Event(t);n.currentTarget=r[0],this.close(n,!0)}}})},close:function(t,n){var i=this,s=e(t?t.currentTarget:this.element),o=this._find(s);if(this.closing)return;if(!n&&t&&t.type!=="focusout"&&this.document[0].activeElement===s[0])return;s.data("ui-tooltip-title")&&s.attr("title",s.data("ui-tooltip-title")),r(s),o.stop(!0),this._hide(o,this.options.hide,function(){e(this).remove(),delete i.tooltips[this.id]}),s.removeData("tooltip-open"),this._off(s,"mouseleave focusout keyup"),this._off(this.document,"mousemove"),this.closing=!0,this._trigger("close",t,{tooltip:o}),this.closing=!1},_tooltip:function(n){var r="ui-tooltip-"+t++,i=e("
                                                                    ").attr({id:r,role:"tooltip"}).addClass("ui-tooltip ui-widget ui-corner-all ui-widget-content "+(this.options.tooltipClass||""));return e("
                                                                    ").addClass("ui-tooltip-content").appendTo(i),i.appendTo(this.document[0].body),e.fn.bgiframe&&i.bgiframe(),this.tooltips[r]=n,i},_find:function(t){var n=t.data("ui-tooltip-id");return n?e("#"+n):e()},_destroy:function(){var t=this;e.each(this.tooltips,function(n,r){var i=e.Event("blur");i.target=i.currentTarget=r[0],t.close(i,!0),e("#"+n).remove(),r.data("ui-tooltip-title")&&(r.attr("title",r.data("ui-tooltip-title")),r.removeData("ui-tooltip-title"))})}})})(jQuery); \ No newline at end of file diff --git a/manual1903/api_reference/didentification/scaladocs/lib/jquery.js b/manual1903/api_reference/didentification/scaladocs/lib/jquery.js new file mode 100644 index 0000000000000000000000000000000000000000..bc3fbc81b261b9dd759fd83917b93664138faa4a --- /dev/null +++ b/manual1903/api_reference/didentification/scaladocs/lib/jquery.js @@ -0,0 +1,2 @@ +/*! jQuery v1.8.2 jquery.com | jquery.org/license */ +(function(a,b){function G(a){var b=F[a]={};return p.each(a.split(s),function(a,c){b[c]=!0}),b}function J(a,c,d){if(d===b&&a.nodeType===1){var e="data-"+c.replace(I,"-$1").toLowerCase();d=a.getAttribute(e);if(typeof d=="string"){try{d=d==="true"?!0:d==="false"?!1:d==="null"?null:+d+""===d?+d:H.test(d)?p.parseJSON(d):d}catch(f){}p.data(a,c,d)}else d=b}return d}function K(a){var b;for(b in a){if(b==="data"&&p.isEmptyObject(a[b]))continue;if(b!=="toJSON")return!1}return!0}function ba(){return!1}function bb(){return!0}function bh(a){return!a||!a.parentNode||a.parentNode.nodeType===11}function bi(a,b){do a=a[b];while(a&&a.nodeType!==1);return a}function bj(a,b,c){b=b||0;if(p.isFunction(b))return p.grep(a,function(a,d){var e=!!b.call(a,d,a);return e===c});if(b.nodeType)return p.grep(a,function(a,d){return a===b===c});if(typeof b=="string"){var d=p.grep(a,function(a){return a.nodeType===1});if(be.test(b))return p.filter(b,d,!c);b=p.filter(b,d)}return p.grep(a,function(a,d){return p.inArray(a,b)>=0===c})}function bk(a){var b=bl.split("|"),c=a.createDocumentFragment();if(c.createElement)while(b.length)c.createElement(b.pop());return c}function bC(a,b){return a.getElementsByTagName(b)[0]||a.appendChild(a.ownerDocument.createElement(b))}function bD(a,b){if(b.nodeType!==1||!p.hasData(a))return;var c,d,e,f=p._data(a),g=p._data(b,f),h=f.events;if(h){delete g.handle,g.events={};for(c in h)for(d=0,e=h[c].length;d").appendTo(e.body),c=b.css("display");b.remove();if(c==="none"||c===""){bI=e.body.appendChild(bI||p.extend(e.createElement("iframe"),{frameBorder:0,width:0,height:0}));if(!bJ||!bI.createElement)bJ=(bI.contentWindow||bI.contentDocument).document,bJ.write(""),bJ.close();b=bJ.body.appendChild(bJ.createElement(a)),c=bH(b,"display"),e.body.removeChild(bI)}return bS[a]=c,c}function ci(a,b,c,d){var e;if(p.isArray(b))p.each(b,function(b,e){c||ce.test(a)?d(a,e):ci(a+"["+(typeof e=="object"?b:"")+"]",e,c,d)});else if(!c&&p.type(b)==="object")for(e in b)ci(a+"["+e+"]",b[e],c,d);else d(a,b)}function cz(a){return function(b,c){typeof b!="string"&&(c=b,b="*");var d,e,f,g=b.toLowerCase().split(s),h=0,i=g.length;if(p.isFunction(c))for(;h)[^>]*$|#([\w\-]*)$)/,v=/^<(\w+)\s*\/?>(?:<\/\1>|)$/,w=/^[\],:{}\s]*$/,x=/(?:^|:|,)(?:\s*\[)+/g,y=/\\(?:["\\\/bfnrt]|u[\da-fA-F]{4})/g,z=/"[^"\\\r\n]*"|true|false|null|-?(?:\d\d*\.|)\d+(?:[eE][\-+]?\d+|)/g,A=/^-ms-/,B=/-([\da-z])/gi,C=function(a,b){return(b+"").toUpperCase()},D=function(){e.addEventListener?(e.removeEventListener("DOMContentLoaded",D,!1),p.ready()):e.readyState==="complete"&&(e.detachEvent("onreadystatechange",D),p.ready())},E={};p.fn=p.prototype={constructor:p,init:function(a,c,d){var f,g,h,i;if(!a)return this;if(a.nodeType)return this.context=this[0]=a,this.length=1,this;if(typeof a=="string"){a.charAt(0)==="<"&&a.charAt(a.length-1)===">"&&a.length>=3?f=[null,a,null]:f=u.exec(a);if(f&&(f[1]||!c)){if(f[1])return c=c instanceof p?c[0]:c,i=c&&c.nodeType?c.ownerDocument||c:e,a=p.parseHTML(f[1],i,!0),v.test(f[1])&&p.isPlainObject(c)&&this.attr.call(a,c,!0),p.merge(this,a);g=e.getElementById(f[2]);if(g&&g.parentNode){if(g.id!==f[2])return d.find(a);this.length=1,this[0]=g}return this.context=e,this.selector=a,this}return!c||c.jquery?(c||d).find(a):this.constructor(c).find(a)}return p.isFunction(a)?d.ready(a):(a.selector!==b&&(this.selector=a.selector,this.context=a.context),p.makeArray(a,this))},selector:"",jquery:"1.8.2",length:0,size:function(){return this.length},toArray:function(){return k.call(this)},get:function(a){return a==null?this.toArray():a<0?this[this.length+a]:this[a]},pushStack:function(a,b,c){var d=p.merge(this.constructor(),a);return d.prevObject=this,d.context=this.context,b==="find"?d.selector=this.selector+(this.selector?" ":"")+c:b&&(d.selector=this.selector+"."+b+"("+c+")"),d},each:function(a,b){return p.each(this,a,b)},ready:function(a){return p.ready.promise().done(a),this},eq:function(a){return a=+a,a===-1?this.slice(a):this.slice(a,a+1)},first:function(){return this.eq(0)},last:function(){return this.eq(-1)},slice:function(){return this.pushStack(k.apply(this,arguments),"slice",k.call(arguments).join(","))},map:function(a){return this.pushStack(p.map(this,function(b,c){return a.call(b,c,b)}))},end:function(){return this.prevObject||this.constructor(null)},push:j,sort:[].sort,splice:[].splice},p.fn.init.prototype=p.fn,p.extend=p.fn.extend=function(){var a,c,d,e,f,g,h=arguments[0]||{},i=1,j=arguments.length,k=!1;typeof h=="boolean"&&(k=h,h=arguments[1]||{},i=2),typeof h!="object"&&!p.isFunction(h)&&(h={}),j===i&&(h=this,--i);for(;i0)return;d.resolveWith(e,[p]),p.fn.trigger&&p(e).trigger("ready").off("ready")},isFunction:function(a){return p.type(a)==="function"},isArray:Array.isArray||function(a){return p.type(a)==="array"},isWindow:function(a){return a!=null&&a==a.window},isNumeric:function(a){return!isNaN(parseFloat(a))&&isFinite(a)},type:function(a){return a==null?String(a):E[m.call(a)]||"object"},isPlainObject:function(a){if(!a||p.type(a)!=="object"||a.nodeType||p.isWindow(a))return!1;try{if(a.constructor&&!n.call(a,"constructor")&&!n.call(a.constructor.prototype,"isPrototypeOf"))return!1}catch(c){return!1}var d;for(d in a);return d===b||n.call(a,d)},isEmptyObject:function(a){var b;for(b in a)return!1;return!0},error:function(a){throw new Error(a)},parseHTML:function(a,b,c){var d;return!a||typeof a!="string"?null:(typeof b=="boolean"&&(c=b,b=0),b=b||e,(d=v.exec(a))?[b.createElement(d[1])]:(d=p.buildFragment([a],b,c?null:[]),p.merge([],(d.cacheable?p.clone(d.fragment):d.fragment).childNodes)))},parseJSON:function(b){if(!b||typeof b!="string")return null;b=p.trim(b);if(a.JSON&&a.JSON.parse)return a.JSON.parse(b);if(w.test(b.replace(y,"@").replace(z,"]").replace(x,"")))return(new Function("return "+b))();p.error("Invalid JSON: "+b)},parseXML:function(c){var d,e;if(!c||typeof c!="string")return null;try{a.DOMParser?(e=new DOMParser,d=e.parseFromString(c,"text/xml")):(d=new ActiveXObject("Microsoft.XMLDOM"),d.async="false",d.loadXML(c))}catch(f){d=b}return(!d||!d.documentElement||d.getElementsByTagName("parsererror").length)&&p.error("Invalid XML: "+c),d},noop:function(){},globalEval:function(b){b&&r.test(b)&&(a.execScript||function(b){a.eval.call(a,b)})(b)},camelCase:function(a){return a.replace(A,"ms-").replace(B,C)},nodeName:function(a,b){return a.nodeName&&a.nodeName.toLowerCase()===b.toLowerCase()},each:function(a,c,d){var e,f=0,g=a.length,h=g===b||p.isFunction(a);if(d){if(h){for(e in a)if(c.apply(a[e],d)===!1)break}else for(;f0&&a[0]&&a[i-1]||i===0||p.isArray(a));if(j)for(;h-1)i.splice(c,1),e&&(c<=g&&g--,c<=h&&h--)}),this},has:function(a){return p.inArray(a,i)>-1},empty:function(){return i=[],this},disable:function(){return i=j=c=b,this},disabled:function(){return!i},lock:function(){return j=b,c||l.disable(),this},locked:function(){return!j},fireWith:function(a,b){return b=b||[],b=[a,b.slice?b.slice():b],i&&(!d||j)&&(e?j.push(b):k(b)),this},fire:function(){return l.fireWith(this,arguments),this},fired:function(){return!!d}};return l},p.extend({Deferred:function(a){var b=[["resolve","done",p.Callbacks("once memory"),"resolved"],["reject","fail",p.Callbacks("once memory"),"rejected"],["notify","progress",p.Callbacks("memory")]],c="pending",d={state:function(){return c},always:function(){return e.done(arguments).fail(arguments),this},then:function(){var a=arguments;return p.Deferred(function(c){p.each(b,function(b,d){var f=d[0],g=a[b];e[d[1]](p.isFunction(g)?function(){var a=g.apply(this,arguments);a&&p.isFunction(a.promise)?a.promise().done(c.resolve).fail(c.reject).progress(c.notify):c[f+"With"](this===e?c:this,[a])}:c[f])}),a=null}).promise()},promise:function(a){return a!=null?p.extend(a,d):d}},e={};return d.pipe=d.then,p.each(b,function(a,f){var g=f[2],h=f[3];d[f[1]]=g.add,h&&g.add(function(){c=h},b[a^1][2].disable,b[2][2].lock),e[f[0]]=g.fire,e[f[0]+"With"]=g.fireWith}),d.promise(e),a&&a.call(e,e),e},when:function(a){var b=0,c=k.call(arguments),d=c.length,e=d!==1||a&&p.isFunction(a.promise)?d:0,f=e===1?a:p.Deferred(),g=function(a,b,c){return function(d){b[a]=this,c[a]=arguments.length>1?k.call(arguments):d,c===h?f.notifyWith(b,c):--e||f.resolveWith(b,c)}},h,i,j;if(d>1){h=new Array(d),i=new Array(d),j=new Array(d);for(;b
                                                                    a",c=n.getElementsByTagName("*"),d=n.getElementsByTagName("a")[0],d.style.cssText="top:1px;float:left;opacity:.5";if(!c||!c.length)return{};f=e.createElement("select"),g=f.appendChild(e.createElement("option")),h=n.getElementsByTagName("input")[0],b={leadingWhitespace:n.firstChild.nodeType===3,tbody:!n.getElementsByTagName("tbody").length,htmlSerialize:!!n.getElementsByTagName("link").length,style:/top/.test(d.getAttribute("style")),hrefNormalized:d.getAttribute("href")==="/a",opacity:/^0.5/.test(d.style.opacity),cssFloat:!!d.style.cssFloat,checkOn:h.value==="on",optSelected:g.selected,getSetAttribute:n.className!=="t",enctype:!!e.createElement("form").enctype,html5Clone:e.createElement("nav").cloneNode(!0).outerHTML!=="<:nav>",boxModel:e.compatMode==="CSS1Compat",submitBubbles:!0,changeBubbles:!0,focusinBubbles:!1,deleteExpando:!0,noCloneEvent:!0,inlineBlockNeedsLayout:!1,shrinkWrapBlocks:!1,reliableMarginRight:!0,boxSizingReliable:!0,pixelPosition:!1},h.checked=!0,b.noCloneChecked=h.cloneNode(!0).checked,f.disabled=!0,b.optDisabled=!g.disabled;try{delete n.test}catch(o){b.deleteExpando=!1}!n.addEventListener&&n.attachEvent&&n.fireEvent&&(n.attachEvent("onclick",m=function(){b.noCloneEvent=!1}),n.cloneNode(!0).fireEvent("onclick"),n.detachEvent("onclick",m)),h=e.createElement("input"),h.value="t",h.setAttribute("type","radio"),b.radioValue=h.value==="t",h.setAttribute("checked","checked"),h.setAttribute("name","t"),n.appendChild(h),i=e.createDocumentFragment(),i.appendChild(n.lastChild),b.checkClone=i.cloneNode(!0).cloneNode(!0).lastChild.checked,b.appendChecked=h.checked,i.removeChild(h),i.appendChild(n);if(n.attachEvent)for(k in{submit:!0,change:!0,focusin:!0})j="on"+k,l=j in n,l||(n.setAttribute(j,"return;"),l=typeof n[j]=="function"),b[k+"Bubbles"]=l;return p(function(){var c,d,f,g,h="padding:0;margin:0;border:0;display:block;overflow:hidden;",i=e.getElementsByTagName("body")[0];if(!i)return;c=e.createElement("div"),c.style.cssText="visibility:hidden;border:0;width:0;height:0;position:static;top:0;margin-top:1px",i.insertBefore(c,i.firstChild),d=e.createElement("div"),c.appendChild(d),d.innerHTML="
                                                                    t
                                                                    ",f=d.getElementsByTagName("td"),f[0].style.cssText="padding:0;margin:0;border:0;display:none",l=f[0].offsetHeight===0,f[0].style.display="",f[1].style.display="none",b.reliableHiddenOffsets=l&&f[0].offsetHeight===0,d.innerHTML="",d.style.cssText="box-sizing:border-box;-moz-box-sizing:border-box;-webkit-box-sizing:border-box;padding:1px;border:1px;display:block;width:4px;margin-top:1%;position:absolute;top:1%;",b.boxSizing=d.offsetWidth===4,b.doesNotIncludeMarginInBodyOffset=i.offsetTop!==1,a.getComputedStyle&&(b.pixelPosition=(a.getComputedStyle(d,null)||{}).top!=="1%",b.boxSizingReliable=(a.getComputedStyle(d,null)||{width:"4px"}).width==="4px",g=e.createElement("div"),g.style.cssText=d.style.cssText=h,g.style.marginRight=g.style.width="0",d.style.width="1px",d.appendChild(g),b.reliableMarginRight=!parseFloat((a.getComputedStyle(g,null)||{}).marginRight)),typeof d.style.zoom!="undefined"&&(d.innerHTML="",d.style.cssText=h+"width:1px;padding:1px;display:inline;zoom:1",b.inlineBlockNeedsLayout=d.offsetWidth===3,d.style.display="block",d.style.overflow="visible",d.innerHTML="
                                                                    ",d.firstChild.style.width="5px",b.shrinkWrapBlocks=d.offsetWidth!==3,c.style.zoom=1),i.removeChild(c),c=d=f=g=null}),i.removeChild(n),c=d=f=g=h=i=n=null,b}();var H=/(?:\{[\s\S]*\}|\[[\s\S]*\])$/,I=/([A-Z])/g;p.extend({cache:{},deletedIds:[],uuid:0,expando:"jQuery"+(p.fn.jquery+Math.random()).replace(/\D/g,""),noData:{embed:!0,object:"clsid:D27CDB6E-AE6D-11cf-96B8-444553540000",applet:!0},hasData:function(a){return a=a.nodeType?p.cache[a[p.expando]]:a[p.expando],!!a&&!K(a)},data:function(a,c,d,e){if(!p.acceptData(a))return;var f,g,h=p.expando,i=typeof c=="string",j=a.nodeType,k=j?p.cache:a,l=j?a[h]:a[h]&&h;if((!l||!k[l]||!e&&!k[l].data)&&i&&d===b)return;l||(j?a[h]=l=p.deletedIds.pop()||p.guid++:l=h),k[l]||(k[l]={},j||(k[l].toJSON=p.noop));if(typeof c=="object"||typeof c=="function")e?k[l]=p.extend(k[l],c):k[l].data=p.extend(k[l].data,c);return f=k[l],e||(f.data||(f.data={}),f=f.data),d!==b&&(f[p.camelCase(c)]=d),i?(g=f[c],g==null&&(g=f[p.camelCase(c)])):g=f,g},removeData:function(a,b,c){if(!p.acceptData(a))return;var d,e,f,g=a.nodeType,h=g?p.cache:a,i=g?a[p.expando]:p.expando;if(!h[i])return;if(b){d=c?h[i]:h[i].data;if(d){p.isArray(b)||(b in d?b=[b]:(b=p.camelCase(b),b in d?b=[b]:b=b.split(" ")));for(e=0,f=b.length;e1,null,!1))},removeData:function(a){return this.each(function(){p.removeData(this,a)})}}),p.extend({queue:function(a,b,c){var d;if(a)return b=(b||"fx")+"queue",d=p._data(a,b),c&&(!d||p.isArray(c)?d=p._data(a,b,p.makeArray(c)):d.push(c)),d||[]},dequeue:function(a,b){b=b||"fx";var c=p.queue(a,b),d=c.length,e=c.shift(),f=p._queueHooks(a,b),g=function(){p.dequeue(a,b)};e==="inprogress"&&(e=c.shift(),d--),e&&(b==="fx"&&c.unshift("inprogress"),delete f.stop,e.call(a,g,f)),!d&&f&&f.empty.fire()},_queueHooks:function(a,b){var c=b+"queueHooks";return p._data(a,c)||p._data(a,c,{empty:p.Callbacks("once memory").add(function(){p.removeData(a,b+"queue",!0),p.removeData(a,c,!0)})})}}),p.fn.extend({queue:function(a,c){var d=2;return typeof a!="string"&&(c=a,a="fx",d--),arguments.length1)},removeAttr:function(a){return this.each(function(){p.removeAttr(this,a)})},prop:function(a,b){return p.access(this,p.prop,a,b,arguments.length>1)},removeProp:function(a){return a=p.propFix[a]||a,this.each(function(){try{this[a]=b,delete this[a]}catch(c){}})},addClass:function(a){var b,c,d,e,f,g,h;if(p.isFunction(a))return this.each(function(b){p(this).addClass(a.call(this,b,this.className))});if(a&&typeof a=="string"){b=a.split(s);for(c=0,d=this.length;c=0)d=d.replace(" "+c[f]+" "," ");e.className=a?p.trim(d):""}}}return this},toggleClass:function(a,b){var c=typeof a,d=typeof b=="boolean";return p.isFunction(a)?this.each(function(c){p(this).toggleClass(a.call(this,c,this.className,b),b)}):this.each(function(){if(c==="string"){var e,f=0,g=p(this),h=b,i=a.split(s);while(e=i[f++])h=d?h:!g.hasClass(e),g[h?"addClass":"removeClass"](e)}else if(c==="undefined"||c==="boolean")this.className&&p._data(this,"__className__",this.className),this.className=this.className||a===!1?"":p._data(this,"__className__")||""})},hasClass:function(a){var b=" "+a+" ",c=0,d=this.length;for(;c=0)return!0;return!1},val:function(a){var c,d,e,f=this[0];if(!arguments.length){if(f)return c=p.valHooks[f.type]||p.valHooks[f.nodeName.toLowerCase()],c&&"get"in c&&(d=c.get(f,"value"))!==b?d:(d=f.value,typeof d=="string"?d.replace(P,""):d==null?"":d);return}return e=p.isFunction(a),this.each(function(d){var f,g=p(this);if(this.nodeType!==1)return;e?f=a.call(this,d,g.val()):f=a,f==null?f="":typeof f=="number"?f+="":p.isArray(f)&&(f=p.map(f,function(a){return a==null?"":a+""})),c=p.valHooks[this.type]||p.valHooks[this.nodeName.toLowerCase()];if(!c||!("set"in c)||c.set(this,f,"value")===b)this.value=f})}}),p.extend({valHooks:{option:{get:function(a){var b=a.attributes.value;return!b||b.specified?a.value:a.text}},select:{get:function(a){var b,c,d,e,f=a.selectedIndex,g=[],h=a.options,i=a.type==="select-one";if(f<0)return null;c=i?f:0,d=i?f+1:h.length;for(;c=0}),c.length||(a.selectedIndex=-1),c}}},attrFn:{},attr:function(a,c,d,e){var f,g,h,i=a.nodeType;if(!a||i===3||i===8||i===2)return;if(e&&p.isFunction(p.fn[c]))return p(a)[c](d);if(typeof a.getAttribute=="undefined")return p.prop(a,c,d);h=i!==1||!p.isXMLDoc(a),h&&(c=c.toLowerCase(),g=p.attrHooks[c]||(T.test(c)?M:L));if(d!==b){if(d===null){p.removeAttr(a,c);return}return g&&"set"in g&&h&&(f=g.set(a,d,c))!==b?f:(a.setAttribute(c,d+""),d)}return g&&"get"in g&&h&&(f=g.get(a,c))!==null?f:(f=a.getAttribute(c),f===null?b:f)},removeAttr:function(a,b){var c,d,e,f,g=0;if(b&&a.nodeType===1){d=b.split(s);for(;g=0}})});var V=/^(?:textarea|input|select)$/i,W=/^([^\.]*|)(?:\.(.+)|)$/,X=/(?:^|\s)hover(\.\S+|)\b/,Y=/^key/,Z=/^(?:mouse|contextmenu)|click/,$=/^(?:focusinfocus|focusoutblur)$/,_=function(a){return p.event.special.hover?a:a.replace(X,"mouseenter$1 mouseleave$1")};p.event={add:function(a,c,d,e,f){var g,h,i,j,k,l,m,n,o,q,r;if(a.nodeType===3||a.nodeType===8||!c||!d||!(g=p._data(a)))return;d.handler&&(o=d,d=o.handler,f=o.selector),d.guid||(d.guid=p.guid++),i=g.events,i||(g.events=i={}),h=g.handle,h||(g.handle=h=function(a){return typeof p!="undefined"&&(!a||p.event.triggered!==a.type)?p.event.dispatch.apply(h.elem,arguments):b},h.elem=a),c=p.trim(_(c)).split(" ");for(j=0;j=0&&(s=s.slice(0,-1),i=!0),s.indexOf(".")>=0&&(t=s.split("."),s=t.shift(),t.sort());if((!f||p.event.customEvent[s])&&!p.event.global[s])return;c=typeof c=="object"?c[p.expando]?c:new p.Event(s,c):new p.Event(s),c.type=s,c.isTrigger=!0,c.exclusive=i,c.namespace=t.join("."),c.namespace_re=c.namespace?new RegExp("(^|\\.)"+t.join("\\.(?:.*\\.|)")+"(\\.|$)"):null,m=s.indexOf(":")<0?"on"+s:"";if(!f){h=p.cache;for(j in h)h[j].events&&h[j].events[s]&&p.event.trigger(c,d,h[j].handle.elem,!0);return}c.result=b,c.target||(c.target=f),d=d!=null?p.makeArray(d):[],d.unshift(c),n=p.event.special[s]||{};if(n.trigger&&n.trigger.apply(f,d)===!1)return;q=[[f,n.bindType||s]];if(!g&&!n.noBubble&&!p.isWindow(f)){r=n.delegateType||s,k=$.test(r+s)?f:f.parentNode;for(l=f;k;k=k.parentNode)q.push([k,r]),l=k;l===(f.ownerDocument||e)&&q.push([l.defaultView||l.parentWindow||a,r])}for(j=0;j=0:p.find(m,this,null,[f]).length),h[m]&&j.push(l);j.length&&u.push({elem:f,matches:j})}o.length>q&&u.push({elem:this,matches:o.slice(q)});for(d=0;d0?this.on(b,null,a,c):this.trigger(b)},Y.test(b)&&(p.event.fixHooks[b]=p.event.keyHooks),Z.test(b)&&(p.event.fixHooks[b]=p.event.mouseHooks)}),function(a,b){function bc(a,b,c,d){c=c||[],b=b||r;var e,f,i,j,k=b.nodeType;if(!a||typeof a!="string")return c;if(k!==1&&k!==9)return[];i=g(b);if(!i&&!d)if(e=P.exec(a))if(j=e[1]){if(k===9){f=b.getElementById(j);if(!f||!f.parentNode)return c;if(f.id===j)return c.push(f),c}else if(b.ownerDocument&&(f=b.ownerDocument.getElementById(j))&&h(b,f)&&f.id===j)return c.push(f),c}else{if(e[2])return w.apply(c,x.call(b.getElementsByTagName(a),0)),c;if((j=e[3])&&_&&b.getElementsByClassName)return w.apply(c,x.call(b.getElementsByClassName(j),0)),c}return bp(a.replace(L,"$1"),b,c,d,i)}function bd(a){return function(b){var c=b.nodeName.toLowerCase();return c==="input"&&b.type===a}}function be(a){return function(b){var c=b.nodeName.toLowerCase();return(c==="input"||c==="button")&&b.type===a}}function bf(a){return z(function(b){return b=+b,z(function(c,d){var e,f=a([],c.length,b),g=f.length;while(g--)c[e=f[g]]&&(c[e]=!(d[e]=c[e]))})})}function bg(a,b,c){if(a===b)return c;var d=a.nextSibling;while(d){if(d===b)return-1;d=d.nextSibling}return 1}function bh(a,b){var c,d,f,g,h,i,j,k=C[o][a];if(k)return b?0:k.slice(0);h=a,i=[],j=e.preFilter;while(h){if(!c||(d=M.exec(h)))d&&(h=h.slice(d[0].length)),i.push(f=[]);c=!1;if(d=N.exec(h))f.push(c=new q(d.shift())),h=h.slice(c.length),c.type=d[0].replace(L," ");for(g in e.filter)(d=W[g].exec(h))&&(!j[g]||(d=j[g](d,r,!0)))&&(f.push(c=new q(d.shift())),h=h.slice(c.length),c.type=g,c.matches=d);if(!c)break}return b?h.length:h?bc.error(a):C(a,i).slice(0)}function bi(a,b,d){var e=b.dir,f=d&&b.dir==="parentNode",g=u++;return b.first?function(b,c,d){while(b=b[e])if(f||b.nodeType===1)return a(b,c,d)}:function(b,d,h){if(!h){var i,j=t+" "+g+" ",k=j+c;while(b=b[e])if(f||b.nodeType===1){if((i=b[o])===k)return b.sizset;if(typeof i=="string"&&i.indexOf(j)===0){if(b.sizset)return b}else{b[o]=k;if(a(b,d,h))return b.sizset=!0,b;b.sizset=!1}}}else while(b=b[e])if(f||b.nodeType===1)if(a(b,d,h))return b}}function bj(a){return a.length>1?function(b,c,d){var e=a.length;while(e--)if(!a[e](b,c,d))return!1;return!0}:a[0]}function bk(a,b,c,d,e){var f,g=[],h=0,i=a.length,j=b!=null;for(;h-1},h,!0),m=[function(a,c,d){return!g&&(d||c!==l)||((b=c).nodeType?j(a,c,d):k(a,c,d))}];for(;i1&&bj(m),i>1&&a.slice(0,i-1).join("").replace(L,"$1"),c,i0,f=a.length>0,g=function(h,i,j,k,m){var n,o,p,q=[],s=0,u="0",x=h&&[],y=m!=null,z=l,A=h||f&&e.find.TAG("*",m&&i.parentNode||i),B=t+=z==null?1:Math.E;y&&(l=i!==r&&i,c=g.el);for(;(n=A[u])!=null;u++){if(f&&n){for(o=0;p=a[o];o++)if(p(n,i,j)){k.push(n);break}y&&(t=B,c=++g.el)}d&&((n=!p&&n)&&s--,h&&x.push(n))}s+=u;if(d&&u!==s){for(o=0;p=b[o];o++)p(x,q,i,j);if(h){if(s>0)while(u--)!x[u]&&!q[u]&&(q[u]=v.call(k));q=bk(q)}w.apply(k,q),y&&!h&&q.length>0&&s+b.length>1&&bc.uniqueSort(k)}return y&&(t=B,l=z),x};return g.el=0,d?z(g):g}function bo(a,b,c,d){var e=0,f=b.length;for(;e2&&(j=h[0]).type==="ID"&&b.nodeType===9&&!f&&e.relative[h[1].type]){b=e.find.ID(j.matches[0].replace(V,""),b,f)[0];if(!b)return c;a=a.slice(h.shift().length)}for(g=W.POS.test(a)?-1:h.length-1;g>=0;g--){j=h[g];if(e.relative[k=j.type])break;if(l=e.find[k])if(d=l(j.matches[0].replace(V,""),R.test(h[0].type)&&b.parentNode||b,f)){h.splice(g,1),a=d.length&&h.join("");if(!a)return w.apply(c,x.call(d,0)),c;break}}}return i(a,m)(d,b,f,c,R.test(a)),c}function bq(){}var c,d,e,f,g,h,i,j,k,l,m=!0,n="undefined",o=("sizcache"+Math.random()).replace(".",""),q=String,r=a.document,s=r.documentElement,t=0,u=0,v=[].pop,w=[].push,x=[].slice,y=[].indexOf||function(a){var b=0,c=this.length;for(;be.cacheLength&&delete a[b.shift()],a[c]=d},a)},B=A(),C=A(),D=A(),E="[\\x20\\t\\r\\n\\f]",F="(?:\\\\.|[-\\w]|[^\\x00-\\xa0])+",G=F.replace("w","w#"),H="([*^$|!~]?=)",I="\\["+E+"*("+F+")"+E+"*(?:"+H+E+"*(?:(['\"])((?:\\\\.|[^\\\\])*?)\\3|("+G+")|)|)"+E+"*\\]",J=":("+F+")(?:\\((?:(['\"])((?:\\\\.|[^\\\\])*?)\\2|([^()[\\]]*|(?:(?:"+I+")|[^:]|\\\\.)*|.*))\\)|)",K=":(even|odd|eq|gt|lt|nth|first|last)(?:\\("+E+"*((?:-\\d)?\\d*)"+E+"*\\)|)(?=[^-]|$)",L=new RegExp("^"+E+"+|((?:^|[^\\\\])(?:\\\\.)*)"+E+"+$","g"),M=new RegExp("^"+E+"*,"+E+"*"),N=new RegExp("^"+E+"*([\\x20\\t\\r\\n\\f>+~])"+E+"*"),O=new RegExp(J),P=/^(?:#([\w\-]+)|(\w+)|\.([\w\-]+))$/,Q=/^:not/,R=/[\x20\t\r\n\f]*[+~]/,S=/:not\($/,T=/h\d/i,U=/input|select|textarea|button/i,V=/\\(?!\\)/g,W={ID:new RegExp("^#("+F+")"),CLASS:new RegExp("^\\.("+F+")"),NAME:new RegExp("^\\[name=['\"]?("+F+")['\"]?\\]"),TAG:new RegExp("^("+F.replace("w","w*")+")"),ATTR:new RegExp("^"+I),PSEUDO:new RegExp("^"+J),POS:new RegExp(K,"i"),CHILD:new RegExp("^:(only|nth|first|last)-child(?:\\("+E+"*(even|odd|(([+-]|)(\\d*)n|)"+E+"*(?:([+-]|)"+E+"*(\\d+)|))"+E+"*\\)|)","i"),needsContext:new RegExp("^"+E+"*[>+~]|"+K,"i")},X=function(a){var b=r.createElement("div");try{return a(b)}catch(c){return!1}finally{b=null}},Y=X(function(a){return a.appendChild(r.createComment("")),!a.getElementsByTagName("*").length}),Z=X(function(a){return a.innerHTML="",a.firstChild&&typeof a.firstChild.getAttribute!==n&&a.firstChild.getAttribute("href")==="#"}),$=X(function(a){a.innerHTML="";var b=typeof a.lastChild.getAttribute("multiple");return b!=="boolean"&&b!=="string"}),_=X(function(a){return a.innerHTML="",!a.getElementsByClassName||!a.getElementsByClassName("e").length?!1:(a.lastChild.className="e",a.getElementsByClassName("e").length===2)}),ba=X(function(a){a.id=o+0,a.innerHTML="
                                                                    ",s.insertBefore(a,s.firstChild);var b=r.getElementsByName&&r.getElementsByName(o).length===2+r.getElementsByName(o+0).length;return d=!r.getElementById(o),s.removeChild(a),b});try{x.call(s.childNodes,0)[0].nodeType}catch(bb){x=function(a){var b,c=[];for(;b=this[a];a++)c.push(b);return c}}bc.matches=function(a,b){return bc(a,null,null,b)},bc.matchesSelector=function(a,b){return bc(b,null,null,[a]).length>0},f=bc.getText=function(a){var b,c="",d=0,e=a.nodeType;if(e){if(e===1||e===9||e===11){if(typeof a.textContent=="string")return a.textContent;for(a=a.firstChild;a;a=a.nextSibling)c+=f(a)}else if(e===3||e===4)return a.nodeValue}else for(;b=a[d];d++)c+=f(b);return c},g=bc.isXML=function(a){var b=a&&(a.ownerDocument||a).documentElement;return b?b.nodeName!=="HTML":!1},h=bc.contains=s.contains?function(a,b){var c=a.nodeType===9?a.documentElement:a,d=b&&b.parentNode;return a===d||!!(d&&d.nodeType===1&&c.contains&&c.contains(d))}:s.compareDocumentPosition?function(a,b){return b&&!!(a.compareDocumentPosition(b)&16)}:function(a,b){while(b=b.parentNode)if(b===a)return!0;return!1},bc.attr=function(a,b){var c,d=g(a);return d||(b=b.toLowerCase()),(c=e.attrHandle[b])?c(a):d||$?a.getAttribute(b):(c=a.getAttributeNode(b),c?typeof a[b]=="boolean"?a[b]?b:null:c.specified?c.value:null:null)},e=bc.selectors={cacheLength:50,createPseudo:z,match:W,attrHandle:Z?{}:{href:function(a){return a.getAttribute("href",2)},type:function(a){return a.getAttribute("type")}},find:{ID:d?function(a,b,c){if(typeof b.getElementById!==n&&!c){var d=b.getElementById(a);return d&&d.parentNode?[d]:[]}}:function(a,c,d){if(typeof c.getElementById!==n&&!d){var e=c.getElementById(a);return e?e.id===a||typeof e.getAttributeNode!==n&&e.getAttributeNode("id").value===a?[e]:b:[]}},TAG:Y?function(a,b){if(typeof b.getElementsByTagName!==n)return b.getElementsByTagName(a)}:function(a,b){var c=b.getElementsByTagName(a);if(a==="*"){var d,e=[],f=0;for(;d=c[f];f++)d.nodeType===1&&e.push(d);return e}return c},NAME:ba&&function(a,b){if(typeof b.getElementsByName!==n)return b.getElementsByName(name)},CLASS:_&&function(a,b,c){if(typeof b.getElementsByClassName!==n&&!c)return b.getElementsByClassName(a)}},relative:{">":{dir:"parentNode",first:!0}," ":{dir:"parentNode"},"+":{dir:"previousSibling",first:!0},"~":{dir:"previousSibling"}},preFilter:{ATTR:function(a){return a[1]=a[1].replace(V,""),a[3]=(a[4]||a[5]||"").replace(V,""),a[2]==="~="&&(a[3]=" "+a[3]+" "),a.slice(0,4)},CHILD:function(a){return a[1]=a[1].toLowerCase(),a[1]==="nth"?(a[2]||bc.error(a[0]),a[3]=+(a[3]?a[4]+(a[5]||1):2*(a[2]==="even"||a[2]==="odd")),a[4]=+(a[6]+a[7]||a[2]==="odd")):a[2]&&bc.error(a[0]),a},PSEUDO:function(a){var b,c;if(W.CHILD.test(a[0]))return null;if(a[3])a[2]=a[3];else if(b=a[4])O.test(b)&&(c=bh(b,!0))&&(c=b.indexOf(")",b.length-c)-b.length)&&(b=b.slice(0,c),a[0]=a[0].slice(0,c)),a[2]=b;return a.slice(0,3)}},filter:{ID:d?function(a){return a=a.replace(V,""),function(b){return b.getAttribute("id")===a}}:function(a){return a=a.replace(V,""),function(b){var c=typeof b.getAttributeNode!==n&&b.getAttributeNode("id");return c&&c.value===a}},TAG:function(a){return a==="*"?function(){return!0}:(a=a.replace(V,"").toLowerCase(),function(b){return b.nodeName&&b.nodeName.toLowerCase()===a})},CLASS:function(a){var b=B[o][a];return b||(b=B(a,new RegExp("(^|"+E+")"+a+"("+E+"|$)"))),function(a){return b.test(a.className||typeof a.getAttribute!==n&&a.getAttribute("class")||"")}},ATTR:function(a,b,c){return function(d,e){var f=bc.attr(d,a);return f==null?b==="!=":b?(f+="",b==="="?f===c:b==="!="?f!==c:b==="^="?c&&f.indexOf(c)===0:b==="*="?c&&f.indexOf(c)>-1:b==="$="?c&&f.substr(f.length-c.length)===c:b==="~="?(" "+f+" ").indexOf(c)>-1:b==="|="?f===c||f.substr(0,c.length+1)===c+"-":!1):!0}},CHILD:function(a,b,c,d){return a==="nth"?function(a){var b,e,f=a.parentNode;if(c===1&&d===0)return!0;if(f){e=0;for(b=f.firstChild;b;b=b.nextSibling)if(b.nodeType===1){e++;if(a===b)break}}return e-=d,e===c||e%c===0&&e/c>=0}:function(b){var c=b;switch(a){case"only":case"first":while(c=c.previousSibling)if(c.nodeType===1)return!1;if(a==="first")return!0;c=b;case"last":while(c=c.nextSibling)if(c.nodeType===1)return!1;return!0}}},PSEUDO:function(a,b){var c,d=e.pseudos[a]||e.setFilters[a.toLowerCase()]||bc.error("unsupported pseudo: "+a);return d[o]?d(b):d.length>1?(c=[a,a,"",b],e.setFilters.hasOwnProperty(a.toLowerCase())?z(function(a,c){var e,f=d(a,b),g=f.length;while(g--)e=y.call(a,f[g]),a[e]=!(c[e]=f[g])}):function(a){return d(a,0,c)}):d}},pseudos:{not:z(function(a){var b=[],c=[],d=i(a.replace(L,"$1"));return d[o]?z(function(a,b,c,e){var f,g=d(a,null,e,[]),h=a.length;while(h--)if(f=g[h])a[h]=!(b[h]=f)}):function(a,e,f){return b[0]=a,d(b,null,f,c),!c.pop()}}),has:z(function(a){return function(b){return bc(a,b).length>0}}),contains:z(function(a){return function(b){return(b.textContent||b.innerText||f(b)).indexOf(a)>-1}}),enabled:function(a){return a.disabled===!1},disabled:function(a){return a.disabled===!0},checked:function(a){var b=a.nodeName.toLowerCase();return b==="input"&&!!a.checked||b==="option"&&!!a.selected},selected:function(a){return a.parentNode&&a.parentNode.selectedIndex,a.selected===!0},parent:function(a){return!e.pseudos.empty(a)},empty:function(a){var b;a=a.firstChild;while(a){if(a.nodeName>"@"||(b=a.nodeType)===3||b===4)return!1;a=a.nextSibling}return!0},header:function(a){return T.test(a.nodeName)},text:function(a){var b,c;return a.nodeName.toLowerCase()==="input"&&(b=a.type)==="text"&&((c=a.getAttribute("type"))==null||c.toLowerCase()===b)},radio:bd("radio"),checkbox:bd("checkbox"),file:bd("file"),password:bd("password"),image:bd("image"),submit:be("submit"),reset:be("reset"),button:function(a){var b=a.nodeName.toLowerCase();return b==="input"&&a.type==="button"||b==="button"},input:function(a){return U.test(a.nodeName)},focus:function(a){var b=a.ownerDocument;return a===b.activeElement&&(!b.hasFocus||b.hasFocus())&&(!!a.type||!!a.href)},active:function(a){return a===a.ownerDocument.activeElement},first:bf(function(a,b,c){return[0]}),last:bf(function(a,b,c){return[b-1]}),eq:bf(function(a,b,c){return[c<0?c+b:c]}),even:bf(function(a,b,c){for(var d=0;d=0;)a.push(d);return a}),gt:bf(function(a,b,c){for(var d=c<0?c+b:c;++d",a.querySelectorAll("[selected]").length||e.push("\\["+E+"*(?:checked|disabled|ismap|multiple|readonly|selected|value)"),a.querySelectorAll(":checked").length||e.push(":checked")}),X(function(a){a.innerHTML="

                                                                    ",a.querySelectorAll("[test^='']").length&&e.push("[*^$]="+E+"*(?:\"\"|'')"),a.innerHTML="",a.querySelectorAll(":enabled").length||e.push(":enabled",":disabled")}),e=new RegExp(e.join("|")),bp=function(a,d,f,g,h){if(!g&&!h&&(!e||!e.test(a))){var i,j,k=!0,l=o,m=d,n=d.nodeType===9&&a;if(d.nodeType===1&&d.nodeName.toLowerCase()!=="object"){i=bh(a),(k=d.getAttribute("id"))?l=k.replace(c,"\\$&"):d.setAttribute("id",l),l="[id='"+l+"'] ",j=i.length;while(j--)i[j]=l+i[j].join("");m=R.test(a)&&d.parentNode||d,n=i.join(",")}if(n)try{return w.apply(f,x.call(m.querySelectorAll(n),0)),f}catch(p){}finally{k||d.removeAttribute("id")}}return b(a,d,f,g,h)},h&&(X(function(b){a=h.call(b,"div");try{h.call(b,"[test!='']:sizzle"),f.push("!=",J)}catch(c){}}),f=new RegExp(f.join("|")),bc.matchesSelector=function(b,c){c=c.replace(d,"='$1']");if(!g(b)&&!f.test(c)&&(!e||!e.test(c)))try{var i=h.call(b,c);if(i||a||b.document&&b.document.nodeType!==11)return i}catch(j){}return bc(c,null,null,[b]).length>0})}(),e.pseudos.nth=e.pseudos.eq,e.filters=bq.prototype=e.pseudos,e.setFilters=new bq,bc.attr=p.attr,p.find=bc,p.expr=bc.selectors,p.expr[":"]=p.expr.pseudos,p.unique=bc.uniqueSort,p.text=bc.getText,p.isXMLDoc=bc.isXML,p.contains=bc.contains}(a);var bc=/Until$/,bd=/^(?:parents|prev(?:Until|All))/,be=/^.[^:#\[\.,]*$/,bf=p.expr.match.needsContext,bg={children:!0,contents:!0,next:!0,prev:!0};p.fn.extend({find:function(a){var b,c,d,e,f,g,h=this;if(typeof a!="string")return p(a).filter(function(){for(b=0,c=h.length;b0)for(e=d;e=0:p.filter(a,this).length>0:this.filter(a).length>0)},closest:function(a,b){var c,d=0,e=this.length,f=[],g=bf.test(a)||typeof a!="string"?p(a,b||this.context):0;for(;d-1:p.find.matchesSelector(c,a)){f.push(c);break}c=c.parentNode}}return f=f.length>1?p.unique(f):f,this.pushStack(f,"closest",a)},index:function(a){return a?typeof a=="string"?p.inArray(this[0],p(a)):p.inArray(a.jquery?a[0]:a,this):this[0]&&this[0].parentNode?this.prevAll().length:-1},add:function(a,b){var c=typeof a=="string"?p(a,b):p.makeArray(a&&a.nodeType?[a]:a),d=p.merge(this.get(),c);return this.pushStack(bh(c[0])||bh(d[0])?d:p.unique(d))},addBack:function(a){return this.add(a==null?this.prevObject:this.prevObject.filter(a))}}),p.fn.andSelf=p.fn.addBack,p.each({parent:function(a){var b=a.parentNode;return b&&b.nodeType!==11?b:null},parents:function(a){return p.dir(a,"parentNode")},parentsUntil:function(a,b,c){return p.dir(a,"parentNode",c)},next:function(a){return bi(a,"nextSibling")},prev:function(a){return bi(a,"previousSibling")},nextAll:function(a){return p.dir(a,"nextSibling")},prevAll:function(a){return p.dir(a,"previousSibling")},nextUntil:function(a,b,c){return p.dir(a,"nextSibling",c)},prevUntil:function(a,b,c){return p.dir(a,"previousSibling",c)},siblings:function(a){return p.sibling((a.parentNode||{}).firstChild,a)},children:function(a){return p.sibling(a.firstChild)},contents:function(a){return p.nodeName(a,"iframe")?a.contentDocument||a.contentWindow.document:p.merge([],a.childNodes)}},function(a,b){p.fn[a]=function(c,d){var e=p.map(this,b,c);return bc.test(a)||(d=c),d&&typeof d=="string"&&(e=p.filter(d,e)),e=this.length>1&&!bg[a]?p.unique(e):e,this.length>1&&bd.test(a)&&(e=e.reverse()),this.pushStack(e,a,k.call(arguments).join(","))}}),p.extend({filter:function(a,b,c){return c&&(a=":not("+a+")"),b.length===1?p.find.matchesSelector(b[0],a)?[b[0]]:[]:p.find.matches(a,b)},dir:function(a,c,d){var e=[],f=a[c];while(f&&f.nodeType!==9&&(d===b||f.nodeType!==1||!p(f).is(d)))f.nodeType===1&&e.push(f),f=f[c];return e},sibling:function(a,b){var c=[];for(;a;a=a.nextSibling)a.nodeType===1&&a!==b&&c.push(a);return c}});var bl="abbr|article|aside|audio|bdi|canvas|data|datalist|details|figcaption|figure|footer|header|hgroup|mark|meter|nav|output|progress|section|summary|time|video",bm=/ jQuery\d+="(?:null|\d+)"/g,bn=/^\s+/,bo=/<(?!area|br|col|embed|hr|img|input|link|meta|param)(([\w:]+)[^>]*)\/>/gi,bp=/<([\w:]+)/,bq=/]","i"),bv=/^(?:checkbox|radio)$/,bw=/checked\s*(?:[^=]|=\s*.checked.)/i,bx=/\/(java|ecma)script/i,by=/^\s*\s*$/g,bz={option:[1,""],legend:[1,"
                                                                    ","
                                                                    "],thead:[1,"","
                                                                    "],tr:[2,"","
                                                                    "],td:[3,"","
                                                                    "],col:[2,"","
                                                                    "],area:[1,"",""],_default:[0,"",""]},bA=bk(e),bB=bA.appendChild(e.createElement("div"));bz.optgroup=bz.option,bz.tbody=bz.tfoot=bz.colgroup=bz.caption=bz.thead,bz.th=bz.td,p.support.htmlSerialize||(bz._default=[1,"X
                                                                    ","
                                                                    "]),p.fn.extend({text:function(a){return p.access(this,function(a){return a===b?p.text(this):this.empty().append((this[0]&&this[0].ownerDocument||e).createTextNode(a))},null,a,arguments.length)},wrapAll:function(a){if(p.isFunction(a))return this.each(function(b){p(this).wrapAll(a.call(this,b))});if(this[0]){var b=p(a,this[0].ownerDocument).eq(0).clone(!0);this[0].parentNode&&b.insertBefore(this[0]),b.map(function(){var a=this;while(a.firstChild&&a.firstChild.nodeType===1)a=a.firstChild;return a}).append(this)}return this},wrapInner:function(a){return p.isFunction(a)?this.each(function(b){p(this).wrapInner(a.call(this,b))}):this.each(function(){var b=p(this),c=b.contents();c.length?c.wrapAll(a):b.append(a)})},wrap:function(a){var b=p.isFunction(a);return this.each(function(c){p(this).wrapAll(b?a.call(this,c):a)})},unwrap:function(){return this.parent().each(function(){p.nodeName(this,"body")||p(this).replaceWith(this.childNodes)}).end()},append:function(){return this.domManip(arguments,!0,function(a){(this.nodeType===1||this.nodeType===11)&&this.appendChild(a)})},prepend:function(){return this.domManip(arguments,!0,function(a){(this.nodeType===1||this.nodeType===11)&&this.insertBefore(a,this.firstChild)})},before:function(){if(!bh(this[0]))return this.domManip(arguments,!1,function(a){this.parentNode.insertBefore(a,this)});if(arguments.length){var a=p.clean(arguments);return this.pushStack(p.merge(a,this),"before",this.selector)}},after:function(){if(!bh(this[0]))return this.domManip(arguments,!1,function(a){this.parentNode.insertBefore(a,this.nextSibling)});if(arguments.length){var a=p.clean(arguments);return this.pushStack(p.merge(this,a),"after",this.selector)}},remove:function(a,b){var c,d=0;for(;(c=this[d])!=null;d++)if(!a||p.filter(a,[c]).length)!b&&c.nodeType===1&&(p.cleanData(c.getElementsByTagName("*")),p.cleanData([c])),c.parentNode&&c.parentNode.removeChild(c);return this},empty:function(){var a,b=0;for(;(a=this[b])!=null;b++){a.nodeType===1&&p.cleanData(a.getElementsByTagName("*"));while(a.firstChild)a.removeChild(a.firstChild)}return this},clone:function(a,b){return a=a==null?!1:a,b=b==null?a:b,this.map(function(){return p.clone(this,a,b)})},html:function(a){return p.access(this,function(a){var c=this[0]||{},d=0,e=this.length;if(a===b)return c.nodeType===1?c.innerHTML.replace(bm,""):b;if(typeof a=="string"&&!bs.test(a)&&(p.support.htmlSerialize||!bu.test(a))&&(p.support.leadingWhitespace||!bn.test(a))&&!bz[(bp.exec(a)||["",""])[1].toLowerCase()]){a=a.replace(bo,"<$1>");try{for(;d1&&typeof j=="string"&&bw.test(j))return this.each(function(){p(this).domManip(a,c,d)});if(p.isFunction(j))return this.each(function(e){var f=p(this);a[0]=j.call(this,e,c?f.html():b),f.domManip(a,c,d)});if(this[0]){e=p.buildFragment(a,this,k),g=e.fragment,f=g.firstChild,g.childNodes.length===1&&(g=f);if(f){c=c&&p.nodeName(f,"tr");for(h=e.cacheable||l-1;i0?this.clone(!0):this).get(),p(g[e])[b](d),f=f.concat(d);return this.pushStack(f,a,g.selector)}}),p.extend({clone:function(a,b,c){var d,e,f,g;p.support.html5Clone||p.isXMLDoc(a)||!bu.test("<"+a.nodeName+">")?g=a.cloneNode(!0):(bB.innerHTML=a.outerHTML,bB.removeChild(g=bB.firstChild));if((!p.support.noCloneEvent||!p.support.noCloneChecked)&&(a.nodeType===1||a.nodeType===11)&&!p.isXMLDoc(a)){bE(a,g),d=bF(a),e=bF(g);for(f=0;d[f];++f)e[f]&&bE(d[f],e[f])}if(b){bD(a,g);if(c){d=bF(a),e=bF(g);for(f=0;d[f];++f)bD(d[f],e[f])}}return d=e=null,g},clean:function(a,b,c,d){var f,g,h,i,j,k,l,m,n,o,q,r,s=b===e&&bA,t=[];if(!b||typeof b.createDocumentFragment=="undefined")b=e;for(f=0;(h=a[f])!=null;f++){typeof h=="number"&&(h+="");if(!h)continue;if(typeof h=="string")if(!br.test(h))h=b.createTextNode(h);else{s=s||bk(b),l=b.createElement("div"),s.appendChild(l),h=h.replace(bo,"<$1>"),i=(bp.exec(h)||["",""])[1].toLowerCase(),j=bz[i]||bz._default,k=j[0],l.innerHTML=j[1]+h+j[2];while(k--)l=l.lastChild;if(!p.support.tbody){m=bq.test(h),n=i==="table"&&!m?l.firstChild&&l.firstChild.childNodes:j[1]===""&&!m?l.childNodes:[];for(g=n.length-1;g>=0;--g)p.nodeName(n[g],"tbody")&&!n[g].childNodes.length&&n[g].parentNode.removeChild(n[g])}!p.support.leadingWhitespace&&bn.test(h)&&l.insertBefore(b.createTextNode(bn.exec(h)[0]),l.firstChild),h=l.childNodes,l.parentNode.removeChild(l)}h.nodeType?t.push(h):p.merge(t,h)}l&&(h=l=s=null);if(!p.support.appendChecked)for(f=0;(h=t[f])!=null;f++)p.nodeName(h,"input")?bG(h):typeof h.getElementsByTagName!="undefined"&&p.grep(h.getElementsByTagName("input"),bG);if(c){q=function(a){if(!a.type||bx.test(a.type))return d?d.push(a.parentNode?a.parentNode.removeChild(a):a):c.appendChild(a)};for(f=0;(h=t[f])!=null;f++)if(!p.nodeName(h,"script")||!q(h))c.appendChild(h),typeof h.getElementsByTagName!="undefined"&&(r=p.grep(p.merge([],h.getElementsByTagName("script")),q),t.splice.apply(t,[f+1,0].concat(r)),f+=r.length)}return t},cleanData:function(a,b){var c,d,e,f,g=0,h=p.expando,i=p.cache,j=p.support.deleteExpando,k=p.event.special;for(;(e=a[g])!=null;g++)if(b||p.acceptData(e)){d=e[h],c=d&&i[d];if(c){if(c.events)for(f in c.events)k[f]?p.event.remove(e,f):p.removeEvent(e,f,c.handle);i[d]&&(delete i[d],j?delete e[h]:e.removeAttribute?e.removeAttribute(h):e[h]=null,p.deletedIds.push(d))}}}}),function(){var a,b;p.uaMatch=function(a){a=a.toLowerCase();var b=/(chrome)[ \/]([\w.]+)/.exec(a)||/(webkit)[ \/]([\w.]+)/.exec(a)||/(opera)(?:.*version|)[ \/]([\w.]+)/.exec(a)||/(msie) ([\w.]+)/.exec(a)||a.indexOf("compatible")<0&&/(mozilla)(?:.*? rv:([\w.]+)|)/.exec(a)||[];return{browser:b[1]||"",version:b[2]||"0"}},a=p.uaMatch(g.userAgent),b={},a.browser&&(b[a.browser]=!0,b.version=a.version),b.chrome?b.webkit=!0:b.webkit&&(b.safari=!0),p.browser=b,p.sub=function(){function a(b,c){return new a.fn.init(b,c)}p.extend(!0,a,this),a.superclass=this,a.fn=a.prototype=this(),a.fn.constructor=a,a.sub=this.sub,a.fn.init=function c(c,d){return d&&d instanceof p&&!(d instanceof a)&&(d=a(d)),p.fn.init.call(this,c,d,b)},a.fn.init.prototype=a.fn;var b=a(e);return a}}();var bH,bI,bJ,bK=/alpha\([^)]*\)/i,bL=/opacity=([^)]*)/,bM=/^(top|right|bottom|left)$/,bN=/^(none|table(?!-c[ea]).+)/,bO=/^margin/,bP=new RegExp("^("+q+")(.*)$","i"),bQ=new RegExp("^("+q+")(?!px)[a-z%]+$","i"),bR=new RegExp("^([-+])=("+q+")","i"),bS={},bT={position:"absolute",visibility:"hidden",display:"block"},bU={letterSpacing:0,fontWeight:400},bV=["Top","Right","Bottom","Left"],bW=["Webkit","O","Moz","ms"],bX=p.fn.toggle;p.fn.extend({css:function(a,c){return p.access(this,function(a,c,d){return d!==b?p.style(a,c,d):p.css(a,c)},a,c,arguments.length>1)},show:function(){return b$(this,!0)},hide:function(){return b$(this)},toggle:function(a,b){var c=typeof a=="boolean";return p.isFunction(a)&&p.isFunction(b)?bX.apply(this,arguments):this.each(function(){(c?a:bZ(this))?p(this).show():p(this).hide()})}}),p.extend({cssHooks:{opacity:{get:function(a,b){if(b){var c=bH(a,"opacity");return c===""?"1":c}}}},cssNumber:{fillOpacity:!0,fontWeight:!0,lineHeight:!0,opacity:!0,orphans:!0,widows:!0,zIndex:!0,zoom:!0},cssProps:{"float":p.support.cssFloat?"cssFloat":"styleFloat"},style:function(a,c,d,e){if(!a||a.nodeType===3||a.nodeType===8||!a.style)return;var f,g,h,i=p.camelCase(c),j=a.style;c=p.cssProps[i]||(p.cssProps[i]=bY(j,i)),h=p.cssHooks[c]||p.cssHooks[i];if(d===b)return h&&"get"in h&&(f=h.get(a,!1,e))!==b?f:j[c];g=typeof d,g==="string"&&(f=bR.exec(d))&&(d=(f[1]+1)*f[2]+parseFloat(p.css(a,c)),g="number");if(d==null||g==="number"&&isNaN(d))return;g==="number"&&!p.cssNumber[i]&&(d+="px");if(!h||!("set"in h)||(d=h.set(a,d,e))!==b)try{j[c]=d}catch(k){}},css:function(a,c,d,e){var f,g,h,i=p.camelCase(c);return c=p.cssProps[i]||(p.cssProps[i]=bY(a.style,i)),h=p.cssHooks[c]||p.cssHooks[i],h&&"get"in h&&(f=h.get(a,!0,e)),f===b&&(f=bH(a,c)),f==="normal"&&c in bU&&(f=bU[c]),d||e!==b?(g=parseFloat(f),d||p.isNumeric(g)?g||0:f):f},swap:function(a,b,c){var d,e,f={};for(e in b)f[e]=a.style[e],a.style[e]=b[e];d=c.call(a);for(e in b)a.style[e]=f[e];return d}}),a.getComputedStyle?bH=function(b,c){var d,e,f,g,h=a.getComputedStyle(b,null),i=b.style;return h&&(d=h[c],d===""&&!p.contains(b.ownerDocument,b)&&(d=p.style(b,c)),bQ.test(d)&&bO.test(c)&&(e=i.width,f=i.minWidth,g=i.maxWidth,i.minWidth=i.maxWidth=i.width=d,d=h.width,i.width=e,i.minWidth=f,i.maxWidth=g)),d}:e.documentElement.currentStyle&&(bH=function(a,b){var c,d,e=a.currentStyle&&a.currentStyle[b],f=a.style;return e==null&&f&&f[b]&&(e=f[b]),bQ.test(e)&&!bM.test(b)&&(c=f.left,d=a.runtimeStyle&&a.runtimeStyle.left,d&&(a.runtimeStyle.left=a.currentStyle.left),f.left=b==="fontSize"?"1em":e,e=f.pixelLeft+"px",f.left=c,d&&(a.runtimeStyle.left=d)),e===""?"auto":e}),p.each(["height","width"],function(a,b){p.cssHooks[b]={get:function(a,c,d){if(c)return a.offsetWidth===0&&bN.test(bH(a,"display"))?p.swap(a,bT,function(){return cb(a,b,d)}):cb(a,b,d)},set:function(a,c,d){return b_(a,c,d?ca(a,b,d,p.support.boxSizing&&p.css(a,"boxSizing")==="border-box"):0)}}}),p.support.opacity||(p.cssHooks.opacity={get:function(a,b){return bL.test((b&&a.currentStyle?a.currentStyle.filter:a.style.filter)||"")?.01*parseFloat(RegExp.$1)+"":b?"1":""},set:function(a,b){var c=a.style,d=a.currentStyle,e=p.isNumeric(b)?"alpha(opacity="+b*100+")":"",f=d&&d.filter||c.filter||"";c.zoom=1;if(b>=1&&p.trim(f.replace(bK,""))===""&&c.removeAttribute){c.removeAttribute("filter");if(d&&!d.filter)return}c.filter=bK.test(f)?f.replace(bK,e):f+" "+e}}),p(function(){p.support.reliableMarginRight||(p.cssHooks.marginRight={get:function(a,b){return p.swap(a,{display:"inline-block"},function(){if(b)return bH(a,"marginRight")})}}),!p.support.pixelPosition&&p.fn.position&&p.each(["top","left"],function(a,b){p.cssHooks[b]={get:function(a,c){if(c){var d=bH(a,b);return bQ.test(d)?p(a).position()[b]+"px":d}}}})}),p.expr&&p.expr.filters&&(p.expr.filters.hidden=function(a){return a.offsetWidth===0&&a.offsetHeight===0||!p.support.reliableHiddenOffsets&&(a.style&&a.style.display||bH(a,"display"))==="none"},p.expr.filters.visible=function(a){return!p.expr.filters.hidden(a)}),p.each({margin:"",padding:"",border:"Width"},function(a,b){p.cssHooks[a+b]={expand:function(c){var d,e=typeof c=="string"?c.split(" "):[c],f={};for(d=0;d<4;d++)f[a+bV[d]+b]=e[d]||e[d-2]||e[0];return f}},bO.test(a)||(p.cssHooks[a+b].set=b_)});var cd=/%20/g,ce=/\[\]$/,cf=/\r?\n/g,cg=/^(?:color|date|datetime|datetime-local|email|hidden|month|number|password|range|search|tel|text|time|url|week)$/i,ch=/^(?:select|textarea)/i;p.fn.extend({serialize:function(){return p.param(this.serializeArray())},serializeArray:function(){return this.map(function(){return this.elements?p.makeArray(this.elements):this}).filter(function(){return this.name&&!this.disabled&&(this.checked||ch.test(this.nodeName)||cg.test(this.type))}).map(function(a,b){var c=p(this).val();return c==null?null:p.isArray(c)?p.map(c,function(a,c){return{name:b.name,value:a.replace(cf,"\r\n")}}):{name:b.name,value:c.replace(cf,"\r\n")}}).get()}}),p.param=function(a,c){var d,e=[],f=function(a,b){b=p.isFunction(b)?b():b==null?"":b,e[e.length]=encodeURIComponent(a)+"="+encodeURIComponent(b)};c===b&&(c=p.ajaxSettings&&p.ajaxSettings.traditional);if(p.isArray(a)||a.jquery&&!p.isPlainObject(a))p.each(a,function(){f(this.name,this.value)});else for(d in a)ci(d,a[d],c,f);return e.join("&").replace(cd,"+")};var cj,ck,cl=/#.*$/,cm=/^(.*?):[ \t]*([^\r\n]*)\r?$/mg,cn=/^(?:about|app|app\-storage|.+\-extension|file|res|widget):$/,co=/^(?:GET|HEAD)$/,cp=/^\/\//,cq=/\?/,cr=/)<[^<]*)*<\/script>/gi,cs=/([?&])_=[^&]*/,ct=/^([\w\+\.\-]+:)(?:\/\/([^\/?#:]*)(?::(\d+)|)|)/,cu=p.fn.load,cv={},cw={},cx=["*/"]+["*"];try{ck=f.href}catch(cy){ck=e.createElement("a"),ck.href="",ck=ck.href}cj=ct.exec(ck.toLowerCase())||[],p.fn.load=function(a,c,d){if(typeof a!="string"&&cu)return cu.apply(this,arguments);if(!this.length)return this;var e,f,g,h=this,i=a.indexOf(" ");return i>=0&&(e=a.slice(i,a.length),a=a.slice(0,i)),p.isFunction(c)?(d=c,c=b):c&&typeof c=="object"&&(f="POST"),p.ajax({url:a,type:f,dataType:"html",data:c,complete:function(a,b){d&&h.each(d,g||[a.responseText,b,a])}}).done(function(a){g=arguments,h.html(e?p("
                                                                    ").append(a.replace(cr,"")).find(e):a)}),this},p.each("ajaxStart ajaxStop ajaxComplete ajaxError ajaxSuccess ajaxSend".split(" "),function(a,b){p.fn[b]=function(a){return this.on(b,a)}}),p.each(["get","post"],function(a,c){p[c]=function(a,d,e,f){return p.isFunction(d)&&(f=f||e,e=d,d=b),p.ajax({type:c,url:a,data:d,success:e,dataType:f})}}),p.extend({getScript:function(a,c){return p.get(a,b,c,"script")},getJSON:function(a,b,c){return p.get(a,b,c,"json")},ajaxSetup:function(a,b){return b?cB(a,p.ajaxSettings):(b=a,a=p.ajaxSettings),cB(a,b),a},ajaxSettings:{url:ck,isLocal:cn.test(cj[1]),global:!0,type:"GET",contentType:"application/x-www-form-urlencoded; charset=UTF-8",processData:!0,async:!0,accepts:{xml:"application/xml, text/xml",html:"text/html",text:"text/plain",json:"application/json, text/javascript","*":cx},contents:{xml:/xml/,html:/html/,json:/json/},responseFields:{xml:"responseXML",text:"responseText"},converters:{"* text":a.String,"text html":!0,"text json":p.parseJSON,"text xml":p.parseXML},flatOptions:{context:!0,url:!0}},ajaxPrefilter:cz(cv),ajaxTransport:cz(cw),ajax:function(a,c){function y(a,c,f,i){var k,s,t,u,w,y=c;if(v===2)return;v=2,h&&clearTimeout(h),g=b,e=i||"",x.readyState=a>0?4:0,f&&(u=cC(l,x,f));if(a>=200&&a<300||a===304)l.ifModified&&(w=x.getResponseHeader("Last-Modified"),w&&(p.lastModified[d]=w),w=x.getResponseHeader("Etag"),w&&(p.etag[d]=w)),a===304?(y="notmodified",k=!0):(k=cD(l,u),y=k.state,s=k.data,t=k.error,k=!t);else{t=y;if(!y||a)y="error",a<0&&(a=0)}x.status=a,x.statusText=(c||y)+"",k?o.resolveWith(m,[s,y,x]):o.rejectWith(m,[x,y,t]),x.statusCode(r),r=b,j&&n.trigger("ajax"+(k?"Success":"Error"),[x,l,k?s:t]),q.fireWith(m,[x,y]),j&&(n.trigger("ajaxComplete",[x,l]),--p.active||p.event.trigger("ajaxStop"))}typeof a=="object"&&(c=a,a=b),c=c||{};var d,e,f,g,h,i,j,k,l=p.ajaxSetup({},c),m=l.context||l,n=m!==l&&(m.nodeType||m instanceof p)?p(m):p.event,o=p.Deferred(),q=p.Callbacks("once memory"),r=l.statusCode||{},t={},u={},v=0,w="canceled",x={readyState:0,setRequestHeader:function(a,b){if(!v){var c=a.toLowerCase();a=u[c]=u[c]||a,t[a]=b}return this},getAllResponseHeaders:function(){return v===2?e:null},getResponseHeader:function(a){var c;if(v===2){if(!f){f={};while(c=cm.exec(e))f[c[1].toLowerCase()]=c[2]}c=f[a.toLowerCase()]}return c===b?null:c},overrideMimeType:function(a){return v||(l.mimeType=a),this},abort:function(a){return a=a||w,g&&g.abort(a),y(0,a),this}};o.promise(x),x.success=x.done,x.error=x.fail,x.complete=q.add,x.statusCode=function(a){if(a){var b;if(v<2)for(b in a)r[b]=[r[b],a[b]];else b=a[x.status],x.always(b)}return this},l.url=((a||l.url)+"").replace(cl,"").replace(cp,cj[1]+"//"),l.dataTypes=p.trim(l.dataType||"*").toLowerCase().split(s),l.crossDomain==null&&(i=ct.exec(l.url.toLowerCase())||!1,l.crossDomain=i&&i.join(":")+(i[3]?"":i[1]==="http:"?80:443)!==cj.join(":")+(cj[3]?"":cj[1]==="http:"?80:443)),l.data&&l.processData&&typeof l.data!="string"&&(l.data=p.param(l.data,l.traditional)),cA(cv,l,c,x);if(v===2)return x;j=l.global,l.type=l.type.toUpperCase(),l.hasContent=!co.test(l.type),j&&p.active++===0&&p.event.trigger("ajaxStart");if(!l.hasContent){l.data&&(l.url+=(cq.test(l.url)?"&":"?")+l.data,delete l.data),d=l.url;if(l.cache===!1){var z=p.now(),A=l.url.replace(cs,"$1_="+z);l.url=A+(A===l.url?(cq.test(l.url)?"&":"?")+"_="+z:"")}}(l.data&&l.hasContent&&l.contentType!==!1||c.contentType)&&x.setRequestHeader("Content-Type",l.contentType),l.ifModified&&(d=d||l.url,p.lastModified[d]&&x.setRequestHeader("If-Modified-Since",p.lastModified[d]),p.etag[d]&&x.setRequestHeader("If-None-Match",p.etag[d])),x.setRequestHeader("Accept",l.dataTypes[0]&&l.accepts[l.dataTypes[0]]?l.accepts[l.dataTypes[0]]+(l.dataTypes[0]!=="*"?", "+cx+"; q=0.01":""):l.accepts["*"]);for(k in l.headers)x.setRequestHeader(k,l.headers[k]);if(!l.beforeSend||l.beforeSend.call(m,x,l)!==!1&&v!==2){w="abort";for(k in{success:1,error:1,complete:1})x[k](l[k]);g=cA(cw,l,c,x);if(!g)y(-1,"No Transport");else{x.readyState=1,j&&n.trigger("ajaxSend",[x,l]),l.async&&l.timeout>0&&(h=setTimeout(function(){x.abort("timeout")},l.timeout));try{v=1,g.send(t,y)}catch(B){if(v<2)y(-1,B);else throw B}}return x}return x.abort()},active:0,lastModified:{},etag:{}});var cE=[],cF=/\?/,cG=/(=)\?(?=&|$)|\?\?/,cH=p.now();p.ajaxSetup({jsonp:"callback",jsonpCallback:function(){var a=cE.pop()||p.expando+"_"+cH++;return this[a]=!0,a}}),p.ajaxPrefilter("json jsonp",function(c,d,e){var f,g,h,i=c.data,j=c.url,k=c.jsonp!==!1,l=k&&cG.test(j),m=k&&!l&&typeof i=="string"&&!(c.contentType||"").indexOf("application/x-www-form-urlencoded")&&cG.test(i);if(c.dataTypes[0]==="jsonp"||l||m)return f=c.jsonpCallback=p.isFunction(c.jsonpCallback)?c.jsonpCallback():c.jsonpCallback,g=a[f],l?c.url=j.replace(cG,"$1"+f):m?c.data=i.replace(cG,"$1"+f):k&&(c.url+=(cF.test(j)?"&":"?")+c.jsonp+"="+f),c.converters["script json"]=function(){return h||p.error(f+" was not called"),h[0]},c.dataTypes[0]="json",a[f]=function(){h=arguments},e.always(function(){a[f]=g,c[f]&&(c.jsonpCallback=d.jsonpCallback,cE.push(f)),h&&p.isFunction(g)&&g(h[0]),h=g=b}),"script"}),p.ajaxSetup({accepts:{script:"text/javascript, application/javascript, application/ecmascript, application/x-ecmascript"},contents:{script:/javascript|ecmascript/},converters:{"text script":function(a){return p.globalEval(a),a}}}),p.ajaxPrefilter("script",function(a){a.cache===b&&(a.cache=!1),a.crossDomain&&(a.type="GET",a.global=!1)}),p.ajaxTransport("script",function(a){if(a.crossDomain){var c,d=e.head||e.getElementsByTagName("head")[0]||e.documentElement;return{send:function(f,g){c=e.createElement("script"),c.async="async",a.scriptCharset&&(c.charset=a.scriptCharset),c.src=a.url,c.onload=c.onreadystatechange=function(a,e){if(e||!c.readyState||/loaded|complete/.test(c.readyState))c.onload=c.onreadystatechange=null,d&&c.parentNode&&d.removeChild(c),c=b,e||g(200,"success")},d.insertBefore(c,d.firstChild)},abort:function(){c&&c.onload(0,1)}}}});var cI,cJ=a.ActiveXObject?function(){for(var a in cI)cI[a](0,1)}:!1,cK=0;p.ajaxSettings.xhr=a.ActiveXObject?function(){return!this.isLocal&&cL()||cM()}:cL,function(a){p.extend(p.support,{ajax:!!a,cors:!!a&&"withCredentials"in a})}(p.ajaxSettings.xhr()),p.support.ajax&&p.ajaxTransport(function(c){if(!c.crossDomain||p.support.cors){var d;return{send:function(e,f){var g,h,i=c.xhr();c.username?i.open(c.type,c.url,c.async,c.username,c.password):i.open(c.type,c.url,c.async);if(c.xhrFields)for(h in c.xhrFields)i[h]=c.xhrFields[h];c.mimeType&&i.overrideMimeType&&i.overrideMimeType(c.mimeType),!c.crossDomain&&!e["X-Requested-With"]&&(e["X-Requested-With"]="XMLHttpRequest");try{for(h in e)i.setRequestHeader(h,e[h])}catch(j){}i.send(c.hasContent&&c.data||null),d=function(a,e){var h,j,k,l,m;try{if(d&&(e||i.readyState===4)){d=b,g&&(i.onreadystatechange=p.noop,cJ&&delete cI[g]);if(e)i.readyState!==4&&i.abort();else{h=i.status,k=i.getAllResponseHeaders(),l={},m=i.responseXML,m&&m.documentElement&&(l.xml=m);try{l.text=i.responseText}catch(a){}try{j=i.statusText}catch(n){j=""}!h&&c.isLocal&&!c.crossDomain?h=l.text?200:404:h===1223&&(h=204)}}}catch(o){e||f(-1,o)}l&&f(h,j,l,k)},c.async?i.readyState===4?setTimeout(d,0):(g=++cK,cJ&&(cI||(cI={},p(a).unload(cJ)),cI[g]=d),i.onreadystatechange=d):d()},abort:function(){d&&d(0,1)}}}});var cN,cO,cP=/^(?:toggle|show|hide)$/,cQ=new RegExp("^(?:([-+])=|)("+q+")([a-z%]*)$","i"),cR=/queueHooks$/,cS=[cY],cT={"*":[function(a,b){var c,d,e=this.createTween(a,b),f=cQ.exec(b),g=e.cur(),h=+g||0,i=1,j=20;if(f){c=+f[2],d=f[3]||(p.cssNumber[a]?"":"px");if(d!=="px"&&h){h=p.css(e.elem,a,!0)||c||1;do i=i||".5",h=h/i,p.style(e.elem,a,h+d);while(i!==(i=e.cur()/g)&&i!==1&&--j)}e.unit=d,e.start=h,e.end=f[1]?h+(f[1]+1)*c:c}return e}]};p.Animation=p.extend(cW,{tweener:function(a,b){p.isFunction(a)?(b=a,a=["*"]):a=a.split(" ");var c,d=0,e=a.length;for(;d-1,j={},k={},l,m;i?(k=e.position(),l=k.top,m=k.left):(l=parseFloat(g)||0,m=parseFloat(h)||0),p.isFunction(b)&&(b=b.call(a,c,f)),b.top!=null&&(j.top=b.top-f.top+l),b.left!=null&&(j.left=b.left-f.left+m),"using"in b?b.using.call(a,j):e.css(j)}},p.fn.extend({position:function(){if(!this[0])return;var a=this[0],b=this.offsetParent(),c=this.offset(),d=c_.test(b[0].nodeName)?{top:0,left:0}:b.offset();return c.top-=parseFloat(p.css(a,"marginTop"))||0,c.left-=parseFloat(p.css(a,"marginLeft"))||0,d.top+=parseFloat(p.css(b[0],"borderTopWidth"))||0,d.left+=parseFloat(p.css(b[0],"borderLeftWidth"))||0,{top:c.top-d.top,left:c.left-d.left}},offsetParent:function(){return this.map(function(){var a=this.offsetParent||e.body;while(a&&!c_.test(a.nodeName)&&p.css(a,"position")==="static")a=a.offsetParent;return a||e.body})}}),p.each({scrollLeft:"pageXOffset",scrollTop:"pageYOffset"},function(a,c){var d=/Y/.test(c);p.fn[a]=function(e){return p.access(this,function(a,e,f){var g=da(a);if(f===b)return g?c in g?g[c]:g.document.documentElement[e]:a[e];g?g.scrollTo(d?p(g).scrollLeft():f,d?f:p(g).scrollTop()):a[e]=f},a,e,arguments.length,null)}}),p.each({Height:"height",Width:"width"},function(a,c){p.each({padding:"inner"+a,content:c,"":"outer"+a},function(d,e){p.fn[e]=function(e,f){var g=arguments.length&&(d||typeof e!="boolean"),h=d||(e===!0||f===!0?"margin":"border");return p.access(this,function(c,d,e){var f;return p.isWindow(c)?c.document.documentElement["client"+a]:c.nodeType===9?(f=c.documentElement,Math.max(c.body["scroll"+a],f["scroll"+a],c.body["offset"+a],f["offset"+a],f["client"+a])):e===b?p.css(c,d,e,h):p.style(c,d,e,h)},c,g?e:b,g,null)}})}),a.jQuery=a.$=p,typeof define=="function"&&define.amd&&define.amd.jQuery&&define("jquery",[],function(){return p})})(window); \ No newline at end of file diff --git a/manual1903/api_reference/didentification/scaladocs/lib/jquery.layout.js b/manual1903/api_reference/didentification/scaladocs/lib/jquery.layout.js new file mode 100644 index 0000000000000000000000000000000000000000..d5e008d2899581b2d3b83cbdbb87d86e05543ff3 --- /dev/null +++ b/manual1903/api_reference/didentification/scaladocs/lib/jquery.layout.js @@ -0,0 +1,5486 @@ +/** + * @preserve jquery.layout 1.3.0 - Release Candidate 30.62 + * $Date: 2012-08-04 08:00:00 (Thu, 23 Aug 2012) $ + * $Rev: 303006 $ + * + * Copyright (c) 2012 + * Fabrizio Balliano (http://www.fabrizioballiano.net) + * Kevin Dalman (http://allpro.net) + * + * Dual licensed under the GPL (http://www.gnu.org/licenses/gpl.html) + * and MIT (http://www.opensource.org/licenses/mit-license.php) licenses. + * + * Changelog: http://layout.jquery-dev.net/changelog.cfm#1.3.0.rc30.62 + * NOTE: This is a short-term release to patch a couple of bugs. + * These bugs are listed as officially fixed in RC30.7, which will be released shortly. + * + * Docs: http://layout.jquery-dev.net/documentation.html + * Tips: http://layout.jquery-dev.net/tips.html + * Help: http://groups.google.com/group/jquery-ui-layout + */ + +/* JavaDoc Info: http://code.google.com/closure/compiler/docs/js-for-compiler.html + * {!Object} non-nullable type (never NULL) + * {?string} nullable type (sometimes NULL) - default for {Object} + * {number=} optional parameter + * {*} ALL types + */ + +// NOTE: For best readability, view with a fixed-width font and tabs equal to 4-chars + +;(function ($) { + +// alias Math methods - used a lot! +var min = Math.min +, max = Math.max +, round = Math.floor + +, isStr = function (v) { return $.type(v) === "string"; } + +, runPluginCallbacks = function (Instance, a_fn) { + if ($.isArray(a_fn)) + for (var i=0, c=a_fn.length; i
                                                                    ').appendTo("body"); + var d = { width: $c.width() - $c[0].clientWidth, height: $c.height() - $c[0].clientHeight }; + $c.remove(); + window.scrollbarWidth = d.width; + window.scrollbarHeight = d.height; + return dim.match(/^(width|height)$/) ? d[dim] : d; + } + + + /** + * Returns hash container 'display' and 'visibility' + * + * @see $.swap() - swaps CSS, runs callback, resets CSS + */ +, showInvisibly: function ($E, force) { + if ($E && $E.length && (force || $E.css('display') === "none")) { // only if not *already hidden* + var s = $E[0].style + // save ONLY the 'style' props because that is what we must restore + , CSS = { display: s.display || '', visibility: s.visibility || '' }; + // show element 'invisibly' so can be measured + $E.css({ display: "block", visibility: "hidden" }); + return CSS; + } + return {}; + } + + /** + * Returns data for setting size of an element (container or a pane). + * + * @see _create(), onWindowResize() for container, plus others for pane + * @return JSON Returns a hash of all dimensions: top, bottom, left, right, outerWidth, innerHeight, etc + */ +, getElementDimensions: function ($E) { + var + d = {} // dimensions hash + , x = d.css = {} // CSS hash + , i = {} // TEMP insets + , b, p // TEMP border, padding + , N = $.layout.cssNum + , off = $E.offset() + ; + d.offsetLeft = off.left; + d.offsetTop = off.top; + + $.each("Left,Right,Top,Bottom".split(","), function (idx, e) { // e = edge + b = x["border" + e] = $.layout.borderWidth($E, e); + p = x["padding"+ e] = $.layout.cssNum($E, "padding"+e); + i[e] = b + p; // total offset of content from outer side + d["inset"+ e] = p; // eg: insetLeft = paddingLeft + }); + + d.offsetWidth = $E.innerWidth(); // offsetWidth is used in calc when doing manual resize + d.offsetHeight = $E.innerHeight(); // ditto + d.outerWidth = $E.outerWidth(); + d.outerHeight = $E.outerHeight(); + d.innerWidth = max(0, d.outerWidth - i.Left - i.Right); + d.innerHeight = max(0, d.outerHeight - i.Top - i.Bottom); + + x.width = $E.width(); + x.height = $E.height(); + x.top = N($E,"top",true); + x.bottom = N($E,"bottom",true); + x.left = N($E,"left",true); + x.right = N($E,"right",true); + + //d.visible = $E.is(":visible");// && x.width > 0 && x.height > 0; + + return d; + } + +, getElementCSS: function ($E, list) { + var + CSS = {} + , style = $E[0].style + , props = list.split(",") + , sides = "Top,Bottom,Left,Right".split(",") + , attrs = "Color,Style,Width".split(",") + , p, s, a, i, j, k + ; + for (i=0; i < props.length; i++) { + p = props[i]; + if (p.match(/(border|padding|margin)$/)) + for (j=0; j < 4; j++) { + s = sides[j]; + if (p === "border") + for (k=0; k < 3; k++) { + a = attrs[k]; + CSS[p+s+a] = style[p+s+a]; + } + else + CSS[p+s] = style[p+s]; + } + else + CSS[p] = style[p]; + }; + return CSS + } + + /** + * Return the innerWidth for the current browser/doctype + * + * @see initPanes(), sizeMidPanes(), initHandles(), sizeHandles() + * @param {Array.} $E Must pass a jQuery object - first element is processed + * @param {number=} outerWidth (optional) Can pass a width, allowing calculations BEFORE element is resized + * @return {number} Returns the innerWidth of the elem by subtracting padding and borders + */ +, cssWidth: function ($E, outerWidth) { + // a 'calculated' outerHeight can be passed so borders and/or padding are removed if needed + if (outerWidth <= 0) return 0; + + if (!$.layout.browser.boxModel) return outerWidth; + + // strip border and padding from outerWidth to get CSS Width + var b = $.layout.borderWidth + , n = $.layout.cssNum + , W = outerWidth + - b($E, "Left") + - b($E, "Right") + - n($E, "paddingLeft") + - n($E, "paddingRight"); + + return max(0,W); + } + + /** + * Return the innerHeight for the current browser/doctype + * + * @see initPanes(), sizeMidPanes(), initHandles(), sizeHandles() + * @param {Array.} $E Must pass a jQuery object - first element is processed + * @param {number=} outerHeight (optional) Can pass a width, allowing calculations BEFORE element is resized + * @return {number} Returns the innerHeight of the elem by subtracting padding and borders + */ +, cssHeight: function ($E, outerHeight) { + // a 'calculated' outerHeight can be passed so borders and/or padding are removed if needed + if (outerHeight <= 0) return 0; + + if (!$.layout.browser.boxModel) return outerHeight; + + // strip border and padding from outerHeight to get CSS Height + var b = $.layout.borderWidth + , n = $.layout.cssNum + , H = outerHeight + - b($E, "Top") + - b($E, "Bottom") + - n($E, "paddingTop") + - n($E, "paddingBottom"); + + return max(0,H); + } + + /** + * Returns the 'current CSS numeric value' for a CSS property - 0 if property does not exist + * + * @see Called by many methods + * @param {Array.} $E Must pass a jQuery object - first element is processed + * @param {string} prop The name of the CSS property, eg: top, width, etc. + * @param {boolean=} [allowAuto=false] true = return 'auto' if that is value; false = return 0 + * @return {(string|number)} Usually used to get an integer value for position (top, left) or size (height, width) + */ +, cssNum: function ($E, prop, allowAuto) { + if (!$E.jquery) $E = $($E); + var CSS = $.layout.showInvisibly($E) + , p = $.css($E[0], prop, true) + , v = allowAuto && p=="auto" ? p : (parseInt(p, 10) || 0); + $E.css( CSS ); // RESET + return v; + } + +, borderWidth: function (el, side) { + if (el.jquery) el = el[0]; + var b = "border"+ side.substr(0,1).toUpperCase() + side.substr(1); // left => Left + return $.css(el, b+"Style", true) === "none" ? 0 : (parseInt($.css(el, b+"Width", true), 10) || 0); + } + + /** + * Mouse-tracking utility - FUTURE REFERENCE + * + * init: if (!window.mouse) { + * window.mouse = { x: 0, y: 0 }; + * $(document).mousemove( $.layout.trackMouse ); + * } + * + * @param {Object} evt + * +, trackMouse: function (evt) { + window.mouse = { x: evt.clientX, y: evt.clientY }; + } + */ + + /** + * SUBROUTINE for preventPrematureSlideClose option + * + * @param {Object} evt + * @param {Object=} el + */ +, isMouseOverElem: function (evt, el) { + var + $E = $(el || this) + , d = $E.offset() + , T = d.top + , L = d.left + , R = L + $E.outerWidth() + , B = T + $E.outerHeight() + , x = evt.pageX // evt.clientX ? + , y = evt.pageY // evt.clientY ? + ; + // if X & Y are < 0, probably means is over an open SELECT + return ($.layout.browser.msie && x < 0 && y < 0) || ((x >= L && x <= R) && (y >= T && y <= B)); + } + + /** + * Message/Logging Utility + * + * @example $.layout.msg("My message"); // log text + * @example $.layout.msg("My message", true); // alert text + * @example $.layout.msg({ foo: "bar" }, "Title"); // log hash-data, with custom title + * @example $.layout.msg({ foo: "bar" }, true, "Title", { sort: false }); -OR- + * @example $.layout.msg({ foo: "bar" }, "Title", { sort: false, display: true }); // alert hash-data + * + * @param {(Object|string)} info String message OR Hash/Array + * @param {(Boolean|string|Object)=} [popup=false] True means alert-box - can be skipped + * @param {(Object|string)=} [debugTitle=""] Title for Hash data - can be skipped + * @param {Object=} [debugOpts] Extra options for debug output + */ +, msg: function (info, popup, debugTitle, debugOpts) { + if ($.isPlainObject(info) && window.debugData) { + if (typeof popup === "string") { + debugOpts = debugTitle; + debugTitle = popup; + } + else if (typeof debugTitle === "object") { + debugOpts = debugTitle; + debugTitle = null; + } + var t = debugTitle || "log( )" + , o = $.extend({ sort: false, returnHTML: false, display: false }, debugOpts); + if (popup === true || o.display) + debugData( info, t, o ); + else if (window.console) + console.log(debugData( info, t, o )); + } + else if (popup) + alert(info); + else if (window.console) + console.log(info); + else { + var id = "#layoutLogger" + , $l = $(id); + if (!$l.length) + $l = createLog(); + $l.children("ul").append('
                                                                  9. '+ info.replace(/\/g,">") +'
                                                                  10. '); + } + + function createLog () { + var pos = $.support.fixedPosition ? 'fixed' : 'absolute' + , $e = $('
                                                                    ' + + '
                                                                    ' + + 'XLayout console.log
                                                                    ' + + '
                                                                      ' + + '
                                                                      ' + ).appendTo("body"); + $e.css('left', $(window).width() - $e.outerWidth() - 5) + if ($.ui.draggable) $e.draggable({ handle: ':first-child' }); + return $e; + }; + } + +}; + +// DEFAULT OPTIONS +$.layout.defaults = { +/* + * LAYOUT & LAYOUT-CONTAINER OPTIONS + * - none of these options are applicable to individual panes + */ + name: "" // Not required, but useful for buttons and used for the state-cookie +, containerSelector: "" // ONLY used when specifying a childOptions - to find container-element that is NOT directly-nested +, containerClass: "ui-layout-container" // layout-container element +, scrollToBookmarkOnLoad: true // after creating a layout, scroll to bookmark in URL (.../page.htm#myBookmark) +, resizeWithWindow: true // bind thisLayout.resizeAll() to the window.resize event +, resizeWithWindowDelay: 200 // delay calling resizeAll because makes window resizing very jerky +, resizeWithWindowMaxDelay: 0 // 0 = none - force resize every XX ms while window is being resized +, onresizeall_start: null // CALLBACK when resizeAll() STARTS - NOT pane-specific +, onresizeall_end: null // CALLBACK when resizeAll() ENDS - NOT pane-specific +, onload_start: null // CALLBACK when Layout inits - after options initialized, but before elements +, onload_end: null // CALLBACK when Layout inits - after EVERYTHING has been initialized +, onunload_start: null // CALLBACK when Layout is destroyed OR onWindowUnload +, onunload_end: null // CALLBACK when Layout is destroyed OR onWindowUnload +, initPanes: true // false = DO NOT initialize the panes onLoad - will init later +, showErrorMessages: true // enables fatal error messages to warn developers of common errors +, showDebugMessages: false // display console-and-alert debug msgs - IF this Layout version _has_ debugging code! +// Changing this zIndex value will cause other zIndex values to automatically change +, zIndex: null // the PANE zIndex - resizers and masks will be +1 +// DO NOT CHANGE the zIndex values below unless you clearly understand their relationships +, zIndexes: { // set _default_ z-index values here... + pane_normal: 0 // normal z-index for panes + , content_mask: 1 // applied to overlays used to mask content INSIDE panes during resizing + , resizer_normal: 2 // normal z-index for resizer-bars + , pane_sliding: 100 // applied to *BOTH* the pane and its resizer when a pane is 'slid open' + , pane_animate: 1000 // applied to the pane when being animated - not applied to the resizer + , resizer_drag: 10000 // applied to the CLONED resizer-bar when being 'dragged' + } +, errors: { + pane: "pane" // description of "layout pane element" - used only in error messages + , selector: "selector" // description of "jQuery-selector" - used only in error messages + , addButtonError: "Error Adding Button \n\nInvalid " + , containerMissing: "UI Layout Initialization Error\n\nThe specified layout-container does not exist." + , centerPaneMissing: "UI Layout Initialization Error\n\nThe center-pane element does not exist.\n\nThe center-pane is a required element." + , noContainerHeight: "UI Layout Initialization Warning\n\nThe layout-container \"CONTAINER\" has no height.\n\nTherefore the layout is 0-height and hence 'invisible'!" + , callbackError: "UI Layout Callback Error\n\nThe EVENT callback is not a valid function." + } +/* + * PANE DEFAULT SETTINGS + * - settings under the 'panes' key become the default settings for *all panes* + * - ALL pane-options can also be set specifically for each panes, which will override these 'default values' + */ +, panes: { // default options for 'all panes' - will be overridden by 'per-pane settings' + applyDemoStyles: false // NOTE: renamed from applyDefaultStyles for clarity + , closable: true // pane can open & close + , resizable: true // when open, pane can be resized + , slidable: true // when closed, pane can 'slide open' over other panes - closes on mouse-out + , initClosed: false // true = init pane as 'closed' + , initHidden: false // true = init pane as 'hidden' - no resizer-bar/spacing + // SELECTORS + //, paneSelector: "" // MUST be pane-specific - jQuery selector for pane + , contentSelector: ".ui-layout-content" // INNER div/element to auto-size so only it scrolls, not the entire pane! + , contentIgnoreSelector: ".ui-layout-ignore" // element(s) to 'ignore' when measuring 'content' + , findNestedContent: false // true = $P.find(contentSelector), false = $P.children(contentSelector) + // GENERIC ROOT-CLASSES - for auto-generated classNames + , paneClass: "ui-layout-pane" // Layout Pane + , resizerClass: "ui-layout-resizer" // Resizer Bar + , togglerClass: "ui-layout-toggler" // Toggler Button + , buttonClass: "ui-layout-button" // CUSTOM Buttons - eg: '[ui-layout-button]-toggle/-open/-close/-pin' + // ELEMENT SIZE & SPACING + //, size: 100 // MUST be pane-specific -initial size of pane + , minSize: 0 // when manually resizing a pane + , maxSize: 0 // ditto, 0 = no limit + , spacing_open: 6 // space between pane and adjacent panes - when pane is 'open' + , spacing_closed: 6 // ditto - when pane is 'closed' + , togglerLength_open: 50 // Length = WIDTH of toggler button on north/south sides - HEIGHT on east/west sides + , togglerLength_closed: 50 // 100% OR -1 means 'full height/width of resizer bar' - 0 means 'hidden' + , togglerAlign_open: "center" // top/left, bottom/right, center, OR... + , togglerAlign_closed: "center" // 1 => nn = offset from top/left, -1 => -nn == offset from bottom/right + , togglerContent_open: "" // text or HTML to put INSIDE the toggler + , togglerContent_closed: "" // ditto + // RESIZING OPTIONS + , resizerDblClickToggle: true // + , autoResize: true // IF size is 'auto' or a percentage, then recalc 'pixel size' whenever the layout resizes + , autoReopen: true // IF a pane was auto-closed due to noRoom, reopen it when there is room? False = leave it closed + , resizerDragOpacity: 1 // option for ui.draggable + //, resizerCursor: "" // MUST be pane-specific - cursor when over resizer-bar + , maskContents: false // true = add DIV-mask over-or-inside this pane so can 'drag' over IFRAMES + , maskObjects: false // true = add IFRAME-mask over-or-inside this pane to cover objects/applets - content-mask will overlay this mask + , maskZindex: null // will override zIndexes.content_mask if specified - not applicable to iframe-panes + , resizingGrid: false // grid size that the resizers will snap-to during resizing, eg: [20,20] + , livePaneResizing: false // true = LIVE Resizing as resizer is dragged + , liveContentResizing: false // true = re-measure header/footer heights as resizer is dragged + , liveResizingTolerance: 1 // how many px change before pane resizes, to control performance + // SLIDING OPTIONS + , sliderCursor: "pointer" // cursor when resizer-bar will trigger 'sliding' + , slideTrigger_open: "click" // click, dblclick, mouseenter + , slideTrigger_close: "mouseleave"// click, mouseleave + , slideDelay_open: 300 // applies only for mouseenter event - 0 = instant open + , slideDelay_close: 300 // applies only for mouseleave event (300ms is the minimum!) + , hideTogglerOnSlide: false // when pane is slid-open, should the toggler show? + , preventQuickSlideClose: $.layout.browser.webkit // Chrome triggers slideClosed as it is opening + , preventPrematureSlideClose: false // handle incorrect mouseleave trigger, like when over a SELECT-list in IE + // PANE-SPECIFIC TIPS & MESSAGES + , tips: { + Open: "Open" // eg: "Open Pane" + , Close: "Close" + , Resize: "Resize" + , Slide: "Slide Open" + , Pin: "Pin" + , Unpin: "Un-Pin" + , noRoomToOpen: "Not enough room to show this panel." // alert if user tries to open a pane that cannot + , minSizeWarning: "Panel has reached its minimum size" // displays in browser statusbar + , maxSizeWarning: "Panel has reached its maximum size" // ditto + } + // HOT-KEYS & MISC + , showOverflowOnHover: false // will bind allowOverflow() utility to pane.onMouseOver + , enableCursorHotkey: true // enabled 'cursor' hotkeys + //, customHotkey: "" // MUST be pane-specific - EITHER a charCode OR a character + , customHotkeyModifier: "SHIFT" // either 'SHIFT', 'CTRL' or 'CTRL+SHIFT' - NOT 'ALT' + // PANE ANIMATION + // NOTE: fxSss_open, fxSss_close & fxSss_size options (eg: fxName_open) are auto-generated if not passed + , fxName: "slide" // ('none' or blank), slide, drop, scale -- only relevant to 'open' & 'close', NOT 'size' + , fxSpeed: null // slow, normal, fast, 200, nnn - if passed, will OVERRIDE fxSettings.duration + , fxSettings: {} // can be passed, eg: { easing: "easeOutBounce", duration: 1500 } + , fxOpacityFix: true // tries to fix opacity in IE to restore anti-aliasing after animation + , animatePaneSizing: false // true = animate resizing after dragging resizer-bar OR sizePane() is called + /* NOTE: Action-specific FX options are auto-generated from the options above if not specifically set: + fxName_open: "slide" // 'Open' pane animation + fnName_close: "slide" // 'Close' pane animation + fxName_size: "slide" // 'Size' pane animation - when animatePaneSizing = true + fxSpeed_open: null + fxSpeed_close: null + fxSpeed_size: null + fxSettings_open: {} + fxSettings_close: {} + fxSettings_size: {} + */ + // CHILD/NESTED LAYOUTS + , childOptions: null // Layout-options for nested/child layout - even {} is valid as options + , initChildLayout: true // true = child layout will be created as soon as _this_ layout completes initialization + , destroyChildLayout: true // true = destroy child-layout if this pane is destroyed + , resizeChildLayout: true // true = trigger child-layout.resizeAll() when this pane is resized + // EVENT TRIGGERING + , triggerEventsOnLoad: false // true = trigger onopen OR onclose callbacks when layout initializes + , triggerEventsDuringLiveResize: true // true = trigger onresize callback REPEATEDLY if livePaneResizing==true + // PANE CALLBACKS + , onshow_start: null // CALLBACK when pane STARTS to Show - BEFORE onopen/onhide_start + , onshow_end: null // CALLBACK when pane ENDS being Shown - AFTER onopen/onhide_end + , onhide_start: null // CALLBACK when pane STARTS to Close - BEFORE onclose_start + , onhide_end: null // CALLBACK when pane ENDS being Closed - AFTER onclose_end + , onopen_start: null // CALLBACK when pane STARTS to Open + , onopen_end: null // CALLBACK when pane ENDS being Opened + , onclose_start: null // CALLBACK when pane STARTS to Close + , onclose_end: null // CALLBACK when pane ENDS being Closed + , onresize_start: null // CALLBACK when pane STARTS being Resized ***FOR ANY REASON*** + , onresize_end: null // CALLBACK when pane ENDS being Resized ***FOR ANY REASON*** + , onsizecontent_start: null // CALLBACK when sizing of content-element STARTS + , onsizecontent_end: null // CALLBACK when sizing of content-element ENDS + , onswap_start: null // CALLBACK when pane STARTS to Swap + , onswap_end: null // CALLBACK when pane ENDS being Swapped + , ondrag_start: null // CALLBACK when pane STARTS being ***MANUALLY*** Resized + , ondrag_end: null // CALLBACK when pane ENDS being ***MANUALLY*** Resized + } +/* + * PANE-SPECIFIC SETTINGS + * - options listed below MUST be specified per-pane - they CANNOT be set under 'panes' + * - all options under the 'panes' key can also be set specifically for any pane + * - most options under the 'panes' key apply only to 'border-panes' - NOT the center-pane + */ +, north: { + paneSelector: ".ui-layout-north" + , size: "auto" // eg: "auto", "30%", .30, 200 + , resizerCursor: "n-resize" // custom = url(myCursor.cur) + , customHotkey: "" // EITHER a charCode (43) OR a character ("o") + } +, south: { + paneSelector: ".ui-layout-south" + , size: "auto" + , resizerCursor: "s-resize" + , customHotkey: "" + } +, east: { + paneSelector: ".ui-layout-east" + , size: 200 + , resizerCursor: "e-resize" + , customHotkey: "" + } +, west: { + paneSelector: ".ui-layout-west" + , size: 200 + , resizerCursor: "w-resize" + , customHotkey: "" + } +, center: { + paneSelector: ".ui-layout-center" + , minWidth: 0 + , minHeight: 0 + } +}; + +$.layout.optionsMap = { + // layout/global options - NOT pane-options + layout: ("stateManagement,effects,zIndexes,errors," + + "name,zIndex,scrollToBookmarkOnLoad,showErrorMessages," + + "resizeWithWindow,resizeWithWindowDelay,resizeWithWindowMaxDelay," + + "onresizeall,onresizeall_start,onresizeall_end,onload,onunload").split(",") +// borderPanes: [ ALL options that are NOT specified as 'layout' ] + // default.panes options that apply to the center-pane (most options apply _only_ to border-panes) +, center: ("paneClass,contentSelector,contentIgnoreSelector,findNestedContent,applyDemoStyles,triggerEventsOnLoad," + + "showOverflowOnHover,maskContents,maskObjects,liveContentResizing," + + "childOptions,initChildLayout,resizeChildLayout,destroyChildLayout," + + "onresize,onresize_start,onresize_end,onsizecontent,onsizecontent_start,onsizecontent_end").split(",") + // options that MUST be specifically set 'per-pane' - CANNOT set in the panes (defaults) key +, noDefault: ("paneSelector,resizerCursor,customHotkey").split(",") +}; + +/** + * Processes options passed in converts flat-format data into subkey (JSON) format + * In flat-format, subkeys are _currently_ separated with 2 underscores, like north__optName + * Plugins may also call this method so they can transform their own data + * + * @param {!Object} hash Data/options passed by user - may be a single level or nested levels + * @return {Object} Returns hash of minWidth & minHeight + */ +$.layout.transformData = function (hash) { + var json = { panes: {}, center: {} } // init return object + , data, branch, optKey, keys, key, val, i, c; + + if (typeof hash !== "object") return json; // no options passed + + // convert all 'flat-keys' to 'sub-key' format + for (optKey in hash) { + branch = json; + data = $.layout.optionsMap.layout; + val = hash[ optKey ]; + keys = optKey.split("__"); // eg: west__size or north__fxSettings__duration + c = keys.length - 1; + // convert underscore-delimited to subkeys + for (i=0; i <= c; i++) { + key = keys[i]; + if (i === c) + branch[key] = val; + else if (!branch[key]) + branch[key] = {}; // create the subkey + // recurse to sub-key for next loop - if not done + branch = branch[key]; + } + } + + return json; +}; + +// INTERNAL CONFIG DATA - DO NOT CHANGE THIS! +$.layout.backwardCompatibility = { + // data used by renameOldOptions() + map: { + // OLD Option Name: NEW Option Name + applyDefaultStyles: "applyDemoStyles" + , resizeNestedLayout: "resizeChildLayout" + , resizeWhileDragging: "livePaneResizing" + , resizeContentWhileDragging: "liveContentResizing" + , triggerEventsWhileDragging: "triggerEventsDuringLiveResize" + , maskIframesOnResize: "maskContents" + , useStateCookie: "stateManagement.enabled" + , "cookie.autoLoad": "stateManagement.autoLoad" + , "cookie.autoSave": "stateManagement.autoSave" + , "cookie.keys": "stateManagement.stateKeys" + , "cookie.name": "stateManagement.cookie.name" + , "cookie.domain": "stateManagement.cookie.domain" + , "cookie.path": "stateManagement.cookie.path" + , "cookie.expires": "stateManagement.cookie.expires" + , "cookie.secure": "stateManagement.cookie.secure" + // OLD Language options + , noRoomToOpenTip: "tips.noRoomToOpen" + , togglerTip_open: "tips.Close" // open = Close + , togglerTip_closed: "tips.Open" // closed = Open + , resizerTip: "tips.Resize" + , sliderTip: "tips.Slide" + } + +/** +* @param {Object} opts +*/ +, renameOptions: function (opts) { + var map = $.layout.backwardCompatibility.map + , oldData, newData, value + ; + for (var itemPath in map) { + oldData = getBranch( itemPath ); + value = oldData.branch[ oldData.key ]; + if (value !== undefined) { + newData = getBranch( map[itemPath], true ); + newData.branch[ newData.key ] = value; + delete oldData.branch[ oldData.key ]; + } + } + + /** + * @param {string} path + * @param {boolean=} [create=false] Create path if does not exist + */ + function getBranch (path, create) { + var a = path.split(".") // split keys into array + , c = a.length - 1 + , D = { branch: opts, key: a[c] } // init branch at top & set key (last item) + , i = 0, k, undef; + for (; i 0) { + if (autoHide && $E.data('autoHidden') && $E.innerHeight() > 0) { + $E.show().data('autoHidden', false); + if (!browser.mozilla) // FireFox refreshes iframes - IE does not + // make hidden, then visible to 'refresh' display after animation + $E.css(_c.hidden).css(_c.visible); + } + } + else if (autoHide && !$E.data('autoHidden')) + $E.hide().data('autoHidden', true); + } + + /** + * @param {(string|!Object)} el + * @param {number=} outerHeight + * @param {boolean=} [autoHide=false] + */ +, setOuterHeight = function (el, outerHeight, autoHide) { + var $E = el, h; + if (isStr(el)) $E = $Ps[el]; // west + else if (!el.jquery) $E = $(el); + h = cssH($E, outerHeight); + $E.css({ height: h, visibility: "visible" }); // may have been 'hidden' by sizeContent + if (h > 0 && $E.innerWidth() > 0) { + if (autoHide && $E.data('autoHidden')) { + $E.show().data('autoHidden', false); + if (!browser.mozilla) // FireFox refreshes iframes - IE does not + $E.css(_c.hidden).css(_c.visible); + } + } + else if (autoHide && !$E.data('autoHidden')) + $E.hide().data('autoHidden', true); + } + + /** + * @param {(string|!Object)} el + * @param {number=} outerSize + * @param {boolean=} [autoHide=false] + */ +, setOuterSize = function (el, outerSize, autoHide) { + if (_c[pane].dir=="horz") // pane = north or south + setOuterHeight(el, outerSize, autoHide); + else // pane = east or west + setOuterWidth(el, outerSize, autoHide); + } + + + /** + * Converts any 'size' params to a pixel/integer size, if not already + * If 'auto' or a decimal/percentage is passed as 'size', a pixel-size is calculated + * + /** + * @param {string} pane + * @param {(string|number)=} size + * @param {string=} [dir] + * @return {number} + */ +, _parseSize = function (pane, size, dir) { + if (!dir) dir = _c[pane].dir; + + if (isStr(size) && size.match(/%/)) + size = (size === '100%') ? -1 : parseInt(size, 10) / 100; // convert % to decimal + + if (size === 0) + return 0; + else if (size >= 1) + return parseInt(size, 10); + + var o = options, avail = 0; + if (dir=="horz") // north or south or center.minHeight + avail = sC.innerHeight - ($Ps.north ? o.north.spacing_open : 0) - ($Ps.south ? o.south.spacing_open : 0); + else if (dir=="vert") // east or west or center.minWidth + avail = sC.innerWidth - ($Ps.west ? o.west.spacing_open : 0) - ($Ps.east ? o.east.spacing_open : 0); + + if (size === -1) // -1 == 100% + return avail; + else if (size > 0) // percentage, eg: .25 + return round(avail * size); + else if (pane=="center") + return 0; + else { // size < 0 || size=='auto' || size==Missing || size==Invalid + // auto-size the pane + var dim = (dir === "horz" ? "height" : "width") + , $P = $Ps[pane] + , $C = dim === 'height' ? $Cs[pane] : false + , vis = $.layout.showInvisibly($P) // show pane invisibly if hidden + , szP = $P.css(dim) // SAVE current pane size + , szC = $C ? $C.css(dim) : 0 // SAVE current content size + ; + $P.css(dim, "auto"); + if ($C) $C.css(dim, "auto"); + size = (dim === "height") ? $P.outerHeight() : $P.outerWidth(); // MEASURE + $P.css(dim, szP).css(vis); // RESET size & visibility + if ($C) $C.css(dim, szC); + return size; + } + } + + /** + * Calculates current 'size' (outer-width or outer-height) of a border-pane - optionally with 'pane-spacing' added + * + * @param {(string|!Object)} pane + * @param {boolean=} [inclSpace=false] + * @return {number} Returns EITHER Width for east/west panes OR Height for north/south panes + */ +, getPaneSize = function (pane, inclSpace) { + var + $P = $Ps[pane] + , o = options[pane] + , s = state[pane] + , oSp = (inclSpace ? o.spacing_open : 0) + , cSp = (inclSpace ? o.spacing_closed : 0) + ; + if (!$P || s.isHidden) + return 0; + else if (s.isClosed || (s.isSliding && inclSpace)) + return cSp; + else if (_c[pane].dir === "horz") + return $P.outerHeight() + oSp; + else // dir === "vert" + return $P.outerWidth() + oSp; + } + + /** + * Calculate min/max pane dimensions and limits for resizing + * + * @param {string} pane + * @param {boolean=} [slide=false] + */ +, setSizeLimits = function (pane, slide) { + if (!isInitialized()) return; + var + o = options[pane] + , s = state[pane] + , c = _c[pane] + , dir = c.dir + , side = c.side.toLowerCase() + , type = c.sizeType.toLowerCase() + , isSliding = (slide != undefined ? slide : s.isSliding) // only open() passes 'slide' param + , $P = $Ps[pane] + , paneSpacing = o.spacing_open + // measure the pane on the *opposite side* from this pane + , altPane = _c.oppositeEdge[pane] + , altS = state[altPane] + , $altP = $Ps[altPane] + , altPaneSize = (!$altP || altS.isVisible===false || altS.isSliding ? 0 : (dir=="horz" ? $altP.outerHeight() : $altP.outerWidth())) + , altPaneSpacing = ((!$altP || altS.isHidden ? 0 : options[altPane][ altS.isClosed !== false ? "spacing_closed" : "spacing_open" ]) || 0) + // limitSize prevents this pane from 'overlapping' opposite pane + , containerSize = (dir=="horz" ? sC.innerHeight : sC.innerWidth) + , minCenterDims = cssMinDims("center") + , minCenterSize = dir=="horz" ? max(options.center.minHeight, minCenterDims.minHeight) : max(options.center.minWidth, minCenterDims.minWidth) + // if pane is 'sliding', then ignore center and alt-pane sizes - because 'overlays' them + , limitSize = (containerSize - paneSpacing - (isSliding ? 0 : (_parseSize("center", minCenterSize, dir) + altPaneSize + altPaneSpacing))) + , minSize = s.minSize = max( _parseSize(pane, o.minSize), cssMinDims(pane).minSize ) + , maxSize = s.maxSize = min( (o.maxSize ? _parseSize(pane, o.maxSize) : 100000), limitSize ) + , r = s.resizerPosition = {} // used to set resizing limits + , top = sC.insetTop + , left = sC.insetLeft + , W = sC.innerWidth + , H = sC.innerHeight + , rW = o.spacing_open // subtract resizer-width to get top/left position for south/east + ; + switch (pane) { + case "north": r.min = top + minSize; + r.max = top + maxSize; + break; + case "west": r.min = left + minSize; + r.max = left + maxSize; + break; + case "south": r.min = top + H - maxSize - rW; + r.max = top + H - minSize - rW; + break; + case "east": r.min = left + W - maxSize - rW; + r.max = left + W - minSize - rW; + break; + }; + } + + /** + * Returns data for setting the size/position of center pane. Also used to set Height for east/west panes + * + * @return JSON Returns a hash of all dimensions: top, bottom, left, right, (outer) width and (outer) height + */ +, calcNewCenterPaneDims = function () { + var d = { + top: getPaneSize("north", true) // true = include 'spacing' value for pane + , bottom: getPaneSize("south", true) + , left: getPaneSize("west", true) + , right: getPaneSize("east", true) + , width: 0 + , height: 0 + }; + + // NOTE: sC = state.container + // calc center-pane outer dimensions + d.width = sC.innerWidth - d.left - d.right; // outerWidth + d.height = sC.innerHeight - d.bottom - d.top; // outerHeight + // add the 'container border/padding' to get final positions relative to the container + d.top += sC.insetTop; + d.bottom += sC.insetBottom; + d.left += sC.insetLeft; + d.right += sC.insetRight; + + return d; + } + + + /** + * @param {!Object} el + * @param {boolean=} [allStates=false] + */ +, getHoverClasses = function (el, allStates) { + var + $El = $(el) + , type = $El.data("layoutRole") + , pane = $El.data("layoutEdge") + , o = options[pane] + , root = o[type +"Class"] + , _pane = "-"+ pane // eg: "-west" + , _open = "-open" + , _closed = "-closed" + , _slide = "-sliding" + , _hover = "-hover " // NOTE the trailing space + , _state = $El.hasClass(root+_closed) ? _closed : _open + , _alt = _state === _closed ? _open : _closed + , classes = (root+_hover) + (root+_pane+_hover) + (root+_state+_hover) + (root+_pane+_state+_hover) + ; + if (allStates) // when 'removing' classes, also remove alternate-state classes + classes += (root+_alt+_hover) + (root+_pane+_alt+_hover); + + if (type=="resizer" && $El.hasClass(root+_slide)) + classes += (root+_slide+_hover) + (root+_pane+_slide+_hover); + + return $.trim(classes); + } +, addHover = function (evt, el) { + var $E = $(el || this); + if (evt && $E.data("layoutRole") === "toggler") + evt.stopPropagation(); // prevent triggering 'slide' on Resizer-bar + $E.addClass( getHoverClasses($E) ); + } +, removeHover = function (evt, el) { + var $E = $(el || this); + $E.removeClass( getHoverClasses($E, true) ); + } + +, onResizerEnter = function (evt) { // ALSO called by toggler.mouseenter + if ($.fn.disableSelection) + $("body").disableSelection(); + } +, onResizerLeave = function (evt, el) { + var + e = el || this // el is only passed when called by the timer + , pane = $(e).data("layoutEdge") + , name = pane +"ResizerLeave" + ; + timer.clear(pane+"_openSlider"); // cancel slideOpen timer, if set + timer.clear(name); // cancel enableSelection timer - may re/set below + // this method calls itself on a timer because it needs to allow + // enough time for dragging to kick-in and set the isResizing flag + // dragging has a 100ms delay set, so this delay must be >100 + if (!el) // 1st call - mouseleave event + timer.set(name, function(){ onResizerLeave(evt, e); }, 200); + // if user is resizing, then dragStop will enableSelection(), so can skip it here + else if (!state[pane].isResizing && $.fn.enableSelection) // 2nd call - by timer + $("body").enableSelection(); + } + +/* + * ########################### + * INITIALIZATION METHODS + * ########################### + */ + + /** + * Initialize the layout - called automatically whenever an instance of layout is created + * + * @see none - triggered onInit + * @return mixed true = fully initialized | false = panes not initialized (yet) | 'cancel' = abort + */ +, _create = function () { + // initialize config/options + initOptions(); + var o = options; + + // TEMP state so isInitialized returns true during init process + state.creatingLayout = true; + + // init plugins for this layout, if there are any (eg: stateManagement) + runPluginCallbacks( Instance, $.layout.onCreate ); + + // options & state have been initialized, so now run beforeLoad callback + // onload will CANCEL layout creation if it returns false + if (false === _runCallbacks("onload_start")) + return 'cancel'; + + // initialize the container element + _initContainer(); + + // bind hotkey function - keyDown - if required + initHotkeys(); + + // bind window.onunload + $(window).bind("unload."+ sID, unload); + + // init plugins for this layout, if there are any (eg: customButtons) + runPluginCallbacks( Instance, $.layout.onLoad ); + + // if layout elements are hidden, then layout WILL NOT complete initialization! + // initLayoutElements will set initialized=true and run the onload callback IF successful + if (o.initPanes) _initLayoutElements(); + + delete state.creatingLayout; + + return state.initialized; + } + + /** + * Initialize the layout IF not already + * + * @see All methods in Instance run this test + * @return boolean true = layoutElements have been initialized | false = panes are not initialized (yet) + */ +, isInitialized = function () { + if (state.initialized || state.creatingLayout) return true; // already initialized + else return _initLayoutElements(); // try to init panes NOW + } + + /** + * Initialize the layout - called automatically whenever an instance of layout is created + * + * @see _create() & isInitialized + * @return An object pointer to the instance created + */ +, _initLayoutElements = function (retry) { + // initialize config/options + var o = options; + + // CANNOT init panes inside a hidden container! + if (!$N.is(":visible")) { + // handle Chrome bug where popup window 'has no height' + // if layout is BODY element, try again in 50ms + // SEE: http://layout.jquery-dev.net/samples/test_popup_window.html + if ( !retry && browser.webkit && $N[0].tagName === "BODY" ) + setTimeout(function(){ _initLayoutElements(true); }, 50); + return false; + } + + // a center pane is required, so make sure it exists + if (!getPane("center").length) { + return _log( o.errors.centerPaneMissing ); + } + + // TEMP state so isInitialized returns true during init process + state.creatingLayout = true; + + // update Container dims + $.extend(sC, elDims( $N )); + + // initialize all layout elements + initPanes(); // size & position panes - calls initHandles() - which calls initResizable() + + if (o.scrollToBookmarkOnLoad) { + var l = self.location; + if (l.hash) l.replace( l.hash ); // scrollTo Bookmark + } + + // check to see if this layout 'nested' inside a pane + if (Instance.hasParentLayout) + o.resizeWithWindow = false; + // bind resizeAll() for 'this layout instance' to window.resize event + else if (o.resizeWithWindow) + $(window).bind("resize."+ sID, windowResize); + + delete state.creatingLayout; + state.initialized = true; + + // init plugins for this layout, if there are any + runPluginCallbacks( Instance, $.layout.onReady ); + + // now run the onload callback, if exists + _runCallbacks("onload_end"); + + return true; // elements initialized successfully + } + + /** + * Initialize nested layouts - called when _initLayoutElements completes + * + * NOT CURRENTLY USED + * + * @see _initLayoutElements + * @return An object pointer to the instance created + */ +, _initChildLayouts = function () { + $.each(_c.allPanes, function (idx, pane) { + if (options[pane].initChildLayout) + createChildLayout( pane ); + }); + } + + /** + * Initialize nested layouts for a specific pane - can optionally pass layout-options + * + * @see _initChildLayouts + * @param {string|Object} evt_or_pane The pane being opened, ie: north, south, east, or west + * @param {Object=} [opts] Layout-options - if passed, will OVERRRIDE options[pane].childOptions + * @return An object pointer to the layout instance created - or null + */ +, createChildLayout = function (evt_or_pane, opts) { + var pane = evtPane.call(this, evt_or_pane) + , $P = $Ps[pane] + , C = children + ; + if ($P) { + var $C = $Cs[pane] + , o = opts || options[pane].childOptions + , d = "layout" + // determine which element is supposed to be the 'child container' + // if pane has a 'containerSelector' OR a 'content-div', use those instead of the pane + , $Cont = o.containerSelector ? $P.find( o.containerSelector ) : ($C || $P) + , containerFound = $Cont.length + // see if a child-layout ALREADY exists on this element + , child = containerFound ? (C[pane] = $Cont.data(d) || null) : null + ; + // if no layout exists, but childOptions are set, try to create the layout now + if (!child && containerFound && o) + child = C[pane] = $Cont.eq(0).layout(o) || null; + if (child) + child.hasParentLayout = true; // set parent-flag in child + } + Instance[pane].child = C[pane]; // ALWAYS set pane-object pointer, even if null + } + +, windowResize = function () { + var delay = Number(options.resizeWithWindowDelay); + if (delay < 10) delay = 100; // MUST have a delay! + // resizing uses a delay-loop because the resize event fires repeatly - except in FF, but delay anyway + timer.clear("winResize"); // if already running + timer.set("winResize", function(){ + timer.clear("winResize"); + timer.clear("winResizeRepeater"); + var dims = elDims( $N ); + // only trigger resizeAll() if container has changed size + if (dims.innerWidth !== sC.innerWidth || dims.innerHeight !== sC.innerHeight) + resizeAll(); + }, delay); + // ALSO set fixed-delay timer, if not already running + if (!timer.data["winResizeRepeater"]) setWindowResizeRepeater(); + } + +, setWindowResizeRepeater = function () { + var delay = Number(options.resizeWithWindowMaxDelay); + if (delay > 0) + timer.set("winResizeRepeater", function(){ setWindowResizeRepeater(); resizeAll(); }, delay); + } + +, unload = function () { + var o = options; + + _runCallbacks("onunload_start"); + + // trigger plugin callabacks for this layout (eg: stateManagement) + runPluginCallbacks( Instance, $.layout.onUnload ); + + _runCallbacks("onunload_end"); + } + + /** + * Validate and initialize container CSS and events + * + * @see _create() + */ +, _initContainer = function () { + var + N = $N[0] + , tag = sC.tagName = N.tagName + , id = sC.id = N.id + , cls = sC.className = N.className + , o = options + , name = o.name + , fullPage= (tag === "BODY") + , props = "overflow,position,margin,padding,border" + , css = "layoutCSS" + , CSS = {} + , hid = "hidden" // used A LOT! + // see if this container is a 'pane' inside an outer-layout + , parent = $N.data("parentLayout") // parent-layout Instance + , pane = $N.data("layoutEdge") // pane-name in parent-layout + , isChild = parent && pane + ; + // sC -> state.container + sC.selector = $N.selector.split(".slice")[0]; + sC.ref = (o.name ? o.name +' layout / ' : '') + tag + (id ? "#"+id : cls ? '.['+cls+']' : ''); // used in messages + + $N .data({ + layout: Instance + , layoutContainer: sID // FLAG to indicate this is a layout-container - contains unique internal ID + }) + .addClass(o.containerClass) + ; + var layoutMethods = { + destroy: '' + , initPanes: '' + , resizeAll: 'resizeAll' + , resize: 'resizeAll' + }; + // loop hash and bind all methods - include layoutID namespacing + for (name in layoutMethods) { + $N.bind("layout"+ name.toLowerCase() +"."+ sID, Instance[ layoutMethods[name] || name ]); + } + + // if this container is another layout's 'pane', then set child/parent pointers + if (isChild) { + // update parent flag + Instance.hasParentLayout = true; + // set pointers to THIS child-layout (Instance) in parent-layout + // NOTE: parent.PANE.child is an ALIAS to parent.children.PANE + parent[pane].child = parent.children[pane] = $N.data("layout"); + } + + // SAVE original container CSS for use in destroy() + if (!$N.data(css)) { + // handle props like overflow different for BODY & HTML - has 'system default' values + if (fullPage) { + CSS = $.extend( elCSS($N, props), { + height: $N.css("height") + , overflow: $N.css("overflow") + , overflowX: $N.css("overflowX") + , overflowY: $N.css("overflowY") + }); + // ALSO SAVE CSS + var $H = $("html"); + $H.data(css, { + height: "auto" // FF would return a fixed px-size! + , overflow: $H.css("overflow") + , overflowX: $H.css("overflowX") + , overflowY: $H.css("overflowY") + }); + } + else // handle props normally for non-body elements + CSS = elCSS($N, props+",top,bottom,left,right,width,height,overflow,overflowX,overflowY"); + + $N.data(css, CSS); + } + + try { // format html/body if this is a full page layout + if (fullPage) { + $("html").css({ + height: "100%" + , overflow: hid + , overflowX: hid + , overflowY: hid + }); + $("body").css({ + position: "relative" + , height: "100%" + , overflow: hid + , overflowX: hid + , overflowY: hid + , margin: 0 + , padding: 0 // TODO: test whether body-padding could be handled? + , border: "none" // a body-border creates problems because it cannot be measured! + }); + + // set current layout-container dimensions + $.extend(sC, elDims( $N )); + } + else { // set required CSS for overflow and position + // ENSURE container will not 'scroll' + CSS = { overflow: hid, overflowX: hid, overflowY: hid } + var + p = $N.css("position") + , h = $N.css("height") + ; + // if this is a NESTED layout, then container/outer-pane ALREADY has position and height + if (!isChild) { + if (!p || !p.match(/fixed|absolute|relative/)) + CSS.position = "relative"; // container MUST have a 'position' + /* + if (!h || h=="auto") + CSS.height = "100%"; // container MUST have a 'height' + */ + } + $N.css( CSS ); + + // set current layout-container dimensions + if ( $N.is(":visible") ) { + $.extend(sC, elDims( $N )); + if (sC.innerHeight < 1) + _log( o.errors.noContainerHeight.replace(/CONTAINER/, sC.ref) ); + } + } + } catch (ex) {} + } + + /** + * Bind layout hotkeys - if options enabled + * + * @see _create() and addPane() + * @param {string=} [panes=""] The edge(s) to process + */ +, initHotkeys = function (panes) { + panes = panes ? panes.split(",") : _c.borderPanes; + // bind keyDown to capture hotkeys, if option enabled for ANY pane + $.each(panes, function (i, pane) { + var o = options[pane]; + if (o.enableCursorHotkey || o.customHotkey) { + $(document).bind("keydown."+ sID, keyDown); // only need to bind this ONCE + return false; // BREAK - binding was done + } + }); + } + + /** + * Build final OPTIONS data + * + * @see _create() + */ +, initOptions = function () { + var data, d, pane, key, val, i, c, o; + + // reprocess user's layout-options to have correct options sub-key structure + opts = $.layout.transformData( opts ); // panes = default subkey + + // auto-rename old options for backward compatibility + opts = $.layout.backwardCompatibility.renameAllOptions( opts ); + + // if user-options has 'panes' key (pane-defaults), clean it... + if (!$.isEmptyObject(opts.panes)) { + // REMOVE any pane-defaults that MUST be set per-pane + data = $.layout.optionsMap.noDefault; + for (i=0, c=data.length; i 0) { + z.pane_normal = zo; + z.content_mask = max(zo+1, z.content_mask); // MIN = +1 + z.resizer_normal = max(zo+2, z.resizer_normal); // MIN = +2 + } + + // DELETE 'panes' key now that we are done - values were copied to EACH pane + delete options.panes; + + + function createFxOptions ( pane ) { + var o = options[pane] + , d = options.panes; + // ensure fxSettings key to avoid errors + if (!o.fxSettings) o.fxSettings = {}; + if (!d.fxSettings) d.fxSettings = {}; + + $.each(["_open","_close","_size"], function (i,n) { + var + sName = "fxName"+ n + , sSpeed = "fxSpeed"+ n + , sSettings = "fxSettings"+ n + // recalculate fxName according to specificity rules + , fxName = o[sName] = + o[sName] // options.west.fxName_open + || d[sName] // options.panes.fxName_open + || o.fxName // options.west.fxName + || d.fxName // options.panes.fxName + || "none" // MEANS $.layout.defaults.panes.fxName == "" || false || null || 0 + ; + // validate fxName to ensure is valid effect - MUST have effect-config data in options.effects + if (fxName === "none" || !$.effects || !$.effects[fxName] || !options.effects[fxName]) + fxName = o[sName] = "none"; // effect not loaded OR unrecognized fxName + + // set vars for effects subkeys to simplify logic + var fx = options.effects[fxName] || {} // effects.slide + , fx_all = fx.all || null // effects.slide.all + , fx_pane = fx[pane] || null // effects.slide.west + ; + // create fxSpeed[_open|_close|_size] + o[sSpeed] = + o[sSpeed] // options.west.fxSpeed_open + || d[sSpeed] // options.west.fxSpeed_open + || o.fxSpeed // options.west.fxSpeed + || d.fxSpeed // options.panes.fxSpeed + || null // DEFAULT - let fxSetting.duration control speed + ; + // create fxSettings[_open|_close|_size] + o[sSettings] = $.extend( + true + , {} + , fx_all // effects.slide.all + , fx_pane // effects.slide.west + , d.fxSettings // options.panes.fxSettings + , o.fxSettings // options.west.fxSettings + , d[sSettings] // options.panes.fxSettings_open + , o[sSettings] // options.west.fxSettings_open + ); + }); + + // DONE creating action-specific-settings for this pane, + // so DELETE generic options - are no longer meaningful + delete o.fxName; + delete o.fxSpeed; + delete o.fxSettings; + } + } + + /** + * Initialize module objects, styling, size and position for all panes + * + * @see _initElements() + * @param {string} pane The pane to process + */ +, getPane = function (pane) { + var sel = options[pane].paneSelector + if (sel.substr(0,1)==="#") // ID selector + // NOTE: elements selected 'by ID' DO NOT have to be 'children' + return $N.find(sel).eq(0); + else { // class or other selector + var $P = $N.children(sel).eq(0); + // look for the pane nested inside a 'form' element + return $P.length ? $P : $N.children("form:first").children(sel).eq(0); + } + } + +, initPanes = function (evt) { + // stopPropagation if called by trigger("layoutinitpanes") - use evtPane utility + evtPane(evt); + + // NOTE: do north & south FIRST so we can measure their height - do center LAST + $.each(_c.allPanes, function (idx, pane) { + addPane( pane, true ); + }); + + // init the pane-handles NOW in case we have to hide or close the pane below + initHandles(); + + // now that all panes have been initialized and initially-sized, + // make sure there is really enough space available for each pane + $.each(_c.borderPanes, function (i, pane) { + if ($Ps[pane] && state[pane].isVisible) { // pane is OPEN + setSizeLimits(pane); + makePaneFit(pane); // pane may be Closed, Hidden or Resized by makePaneFit() + } + }); + // size center-pane AGAIN in case we 'closed' a border-pane in loop above + sizeMidPanes("center"); + + // Chrome/Webkit sometimes fires callbacks BEFORE it completes resizing! + // Before RC30.3, there was a 10ms delay here, but that caused layout + // to load asynchrously, which is BAD, so try skipping delay for now + + // process pane contents and callbacks, and init/resize child-layout if exists + $.each(_c.allPanes, function (i, pane) { + var o = options[pane]; + if ($Ps[pane]) { + if (state[pane].isVisible) { // pane is OPEN + sizeContent(pane); + // trigger pane.onResize if triggerEventsOnLoad = true + if (o.triggerEventsOnLoad) + _runCallbacks("onresize_end", pane); + else // automatic if onresize called, otherwise call it specifically + // resize child - IF inner-layout already exists (created before this layout) + resizeChildLayout(pane); + } + // init childLayout - even if pane is not visible + if (o.initChildLayout && o.childOptions) + createChildLayout(pane); + } + }); + } + + /** + * Add a pane to the layout - subroutine of initPanes() + * + * @see initPanes() + * @param {string} pane The pane to process + * @param {boolean=} [force=false] Size content after init + */ +, addPane = function (pane, force) { + if (!force && !isInitialized()) return; + var + o = options[pane] + , s = state[pane] + , c = _c[pane] + , fx = s.fx + , dir = c.dir + , spacing = o.spacing_open || 0 + , isCenter = (pane === "center") + , CSS = {} + , $P = $Ps[pane] + , size, minSize, maxSize + ; + // if pane-pointer already exists, remove the old one first + if ($P) + removePane( pane, false, true, false ); + else + $Cs[pane] = false; // init + + $P = $Ps[pane] = getPane(pane); + if (!$P.length) { + $Ps[pane] = false; // logic + return; + } + + // SAVE original Pane CSS + if (!$P.data("layoutCSS")) { + var props = "position,top,left,bottom,right,width,height,overflow,zIndex,display,backgroundColor,padding,margin,border"; + $P.data("layoutCSS", elCSS($P, props)); + } + + // create alias for pane data in Instance - initHandles will add more + Instance[pane] = { name: pane, pane: $Ps[pane], content: $Cs[pane], options: options[pane], state: state[pane], child: children[pane] }; + + // add classes, attributes & events + $P .data({ + parentLayout: Instance // pointer to Layout Instance + , layoutPane: Instance[pane] // NEW pointer to pane-alias-object + , layoutEdge: pane + , layoutRole: "pane" + }) + .css(c.cssReq).css("zIndex", options.zIndexes.pane_normal) + .css(o.applyDemoStyles ? c.cssDemo : {}) // demo styles + .addClass( o.paneClass +" "+ o.paneClass+"-"+pane ) // default = "ui-layout-pane ui-layout-pane-west" - may be a dupe of 'paneSelector' + .bind("mouseenter."+ sID, addHover ) + .bind("mouseleave."+ sID, removeHover ) + ; + var paneMethods = { + hide: '' + , show: '' + , toggle: '' + , close: '' + , open: '' + , slideOpen: '' + , slideClose: '' + , slideToggle: '' + , size: 'sizePane' + , sizePane: 'sizePane' + , sizeContent: '' + , sizeHandles: '' + , enableClosable: '' + , disableClosable: '' + , enableSlideable: '' + , disableSlideable: '' + , enableResizable: '' + , disableResizable: '' + , swapPanes: 'swapPanes' + , swap: 'swapPanes' + , move: 'swapPanes' + , removePane: 'removePane' + , remove: 'removePane' + , createChildLayout: '' + , resizeChildLayout: '' + , resizeAll: 'resizeAll' + , resizeLayout: 'resizeAll' + } + , name; + // loop hash and bind all methods - include layoutID namespacing + for (name in paneMethods) { + $P.bind("layoutpane"+ name.toLowerCase() +"."+ sID, Instance[ paneMethods[name] || name ]); + } + + // see if this pane has a 'scrolling-content element' + initContent(pane, false); // false = do NOT sizeContent() - called later + + if (!isCenter) { + // call _parseSize AFTER applying pane classes & styles - but before making visible (if hidden) + // if o.size is auto or not valid, then MEASURE the pane and use that as its 'size' + size = s.size = _parseSize(pane, o.size); + minSize = _parseSize(pane,o.minSize) || 1; + maxSize = _parseSize(pane,o.maxSize) || 100000; + if (size > 0) size = max(min(size, maxSize), minSize); + + // state for border-panes + s.isClosed = false; // true = pane is closed + s.isSliding = false; // true = pane is currently open by 'sliding' over adjacent panes + s.isResizing= false; // true = pane is in process of being resized + s.isHidden = false; // true = pane is hidden - no spacing, resizer or toggler is visible! + + // array for 'pin buttons' whose classNames are auto-updated on pane-open/-close + if (!s.pins) s.pins = []; + } + // states common to ALL panes + s.tagName = $P[0].tagName; + s.edge = pane; // useful if pane is (or about to be) 'swapped' - easy find out where it is (or is going) + s.noRoom = false; // true = pane 'automatically' hidden due to insufficient room - will unhide automatically + s.isVisible = true; // false = pane is invisible - closed OR hidden - simplify logic + + // set css-position to account for container borders & padding + switch (pane) { + case "north": CSS.top = sC.insetTop; + CSS.left = sC.insetLeft; + CSS.right = sC.insetRight; + break; + case "south": CSS.bottom = sC.insetBottom; + CSS.left = sC.insetLeft; + CSS.right = sC.insetRight; + break; + case "west": CSS.left = sC.insetLeft; // top, bottom & height set by sizeMidPanes() + break; + case "east": CSS.right = sC.insetRight; // ditto + break; + case "center": // top, left, width & height set by sizeMidPanes() + } + + if (dir === "horz") // north or south pane + CSS.height = cssH($P, size); + else if (dir === "vert") // east or west pane + CSS.width = cssW($P, size); + //else if (isCenter) {} + + $P.css(CSS); // apply size -- top, bottom & height will be set by sizeMidPanes + if (dir != "horz") sizeMidPanes(pane, true); // true = skipCallback + + // close or hide the pane if specified in settings + if (o.initClosed && o.closable && !o.initHidden) + close(pane, true, true); // true, true = force, noAnimation + else if (o.initHidden || o.initClosed) + hide(pane); // will be completely invisible - no resizer or spacing + else if (!s.noRoom) + // make the pane visible - in case was initially hidden + $P.css("display","block"); + // ELSE setAsOpen() - called later by initHandles() + + // RESET visibility now - pane will appear IF display:block + $P.css("visibility","visible"); + + // check option for auto-handling of pop-ups & drop-downs + if (o.showOverflowOnHover) + $P.hover( allowOverflow, resetOverflow ); + + // if manually adding a pane AFTER layout initialization, then... + if (state.initialized) { + initHandles( pane ); + initHotkeys( pane ); + resizeAll(); // will sizeContent if pane is visible + if (s.isVisible) { // pane is OPEN + if (o.triggerEventsOnLoad) + _runCallbacks("onresize_end", pane); + else // automatic if onresize called, otherwise call it specifically + // resize child - IF inner-layout already exists (created before this layout) + resizeChildLayout(pane); // a previously existing childLayout + } + if (o.initChildLayout && o.childOptions) + createChildLayout(pane); + } + } + + /** + * Initialize module objects, styling, size and position for all resize bars and toggler buttons + * + * @see _create() + * @param {string=} [panes=""] The edge(s) to process + */ +, initHandles = function (panes) { + panes = panes ? panes.split(",") : _c.borderPanes; + + // create toggler DIVs for each pane, and set object pointers for them, eg: $R.north = north toggler DIV + $.each(panes, function (i, pane) { + var $P = $Ps[pane]; + $Rs[pane] = false; // INIT + $Ts[pane] = false; + if (!$P) return; // pane does not exist - skip + + var + o = options[pane] + , s = state[pane] + , c = _c[pane] + , paneId = o.paneSelector.substr(0,1) === "#" ? o.paneSelector.substr(1) : "" + , rClass = o.resizerClass + , tClass = o.togglerClass + , side = c.side.toLowerCase() + , spacing = (s.isVisible ? o.spacing_open : o.spacing_closed) + , _pane = "-"+ pane // used for classNames + , _state = (s.isVisible ? "-open" : "-closed") // used for classNames + , I = Instance[pane] + // INIT RESIZER BAR + , $R = I.resizer = $Rs[pane] = $("
                                                                      ") + // INIT TOGGLER BUTTON + , $T = I.toggler = (o.closable ? $Ts[pane] = $("
                                                                      ") : false) + ; + + //if (s.isVisible && o.resizable) ... handled by initResizable + if (!s.isVisible && o.slidable) + $R.attr("title", o.tips.Slide).css("cursor", o.sliderCursor); + + $R // if paneSelector is an ID, then create a matching ID for the resizer, eg: "#paneLeft" => "paneLeft-resizer" + .attr("id", paneId ? paneId +"-resizer" : "" ) + .data({ + parentLayout: Instance + , layoutPane: Instance[pane] // NEW pointer to pane-alias-object + , layoutEdge: pane + , layoutRole: "resizer" + }) + .css(_c.resizers.cssReq).css("zIndex", options.zIndexes.resizer_normal) + .css(o.applyDemoStyles ? _c.resizers.cssDemo : {}) // add demo styles + .addClass(rClass +" "+ rClass+_pane) + .hover(addHover, removeHover) // ALWAYS add hover-classes, even if resizing is not enabled - handle with CSS instead + .hover(onResizerEnter, onResizerLeave) // ALWAYS NEED resizer.mouseleave to balance toggler.mouseenter + .appendTo($N) // append DIV to container + ; + + if ($T) { + $T // if paneSelector is an ID, then create a matching ID for the resizer, eg: "#paneLeft" => "#paneLeft-toggler" + .attr("id", paneId ? paneId +"-toggler" : "" ) + .data({ + parentLayout: Instance + , layoutPane: Instance[pane] // NEW pointer to pane-alias-object + , layoutEdge: pane + , layoutRole: "toggler" + }) + .css(_c.togglers.cssReq) // add base/required styles + .css(o.applyDemoStyles ? _c.togglers.cssDemo : {}) // add demo styles + .addClass(tClass +" "+ tClass+_pane) + .hover(addHover, removeHover) // ALWAYS add hover-classes, even if toggling is not enabled - handle with CSS instead + .bind("mouseenter", onResizerEnter) // NEED toggler.mouseenter because mouseenter MAY NOT fire on resizer + .appendTo($R) // append SPAN to resizer DIV + ; + // ADD INNER-SPANS TO TOGGLER + if (o.togglerContent_open) // ui-layout-open + $(""+ o.togglerContent_open +"") + .data({ + layoutEdge: pane + , layoutRole: "togglerContent" + }) + .data("layoutRole", "togglerContent") + .data("layoutEdge", pane) + .addClass("content content-open") + .css("display","none") + .appendTo( $T ) + //.hover( addHover, removeHover ) // use ui-layout-toggler-west-hover .content-open instead! + ; + if (o.togglerContent_closed) // ui-layout-closed + $(""+ o.togglerContent_closed +"") + .data({ + layoutEdge: pane + , layoutRole: "togglerContent" + }) + .addClass("content content-closed") + .css("display","none") + .appendTo( $T ) + //.hover( addHover, removeHover ) // use ui-layout-toggler-west-hover .content-closed instead! + ; + // ADD TOGGLER.click/.hover + enableClosable(pane); + } + + // add Draggable events + initResizable(pane); + + // ADD CLASSNAMES & SLIDE-BINDINGS - eg: class="resizer resizer-west resizer-open" + if (s.isVisible) + setAsOpen(pane); // onOpen will be called, but NOT onResize + else { + setAsClosed(pane); // onClose will be called + bindStartSlidingEvent(pane, true); // will enable events IF option is set + } + + }); + + // SET ALL HANDLE DIMENSIONS + sizeHandles(); + } + + + /** + * Initialize scrolling ui-layout-content div - if exists + * + * @see initPane() - or externally after an Ajax injection + * @param {string} [pane] The pane to process + * @param {boolean=} [resize=true] Size content after init + */ +, initContent = function (pane, resize) { + if (!isInitialized()) return; + var + o = options[pane] + , sel = o.contentSelector + , I = Instance[pane] + , $P = $Ps[pane] + , $C + ; + if (sel) $C = I.content = $Cs[pane] = (o.findNestedContent) + ? $P.find(sel).eq(0) // match 1-element only + : $P.children(sel).eq(0) + ; + if ($C && $C.length) { + $C.data("layoutRole", "content"); + // SAVE original Pane CSS + if (!$C.data("layoutCSS")) + $C.data("layoutCSS", elCSS($C, "height")); + $C.css( _c.content.cssReq ); + if (o.applyDemoStyles) { + $C.css( _c.content.cssDemo ); // add padding & overflow: auto to content-div + $P.css( _c.content.cssDemoPane ); // REMOVE padding/scrolling from pane + } + state[pane].content = {}; // init content state + if (resize !== false) sizeContent(pane); + // sizeContent() is called AFTER init of all elements + } + else + I.content = $Cs[pane] = false; + } + + + /** + * Add resize-bars to all panes that specify it in options + * -dependancy: $.fn.resizable - will skip if not found + * + * @see _create() + * @param {string=} [panes=""] The edge(s) to process + */ +, initResizable = function (panes) { + var draggingAvailable = $.layout.plugins.draggable + , side // set in start() + ; + panes = panes ? panes.split(",") : _c.borderPanes; + + $.each(panes, function (idx, pane) { + var o = options[pane]; + if (!draggingAvailable || !$Ps[pane] || !o.resizable) { + o.resizable = false; + return true; // skip to next + } + + var s = state[pane] + , z = options.zIndexes + , c = _c[pane] + , side = c.dir=="horz" ? "top" : "left" + , opEdge = _c.oppositeEdge[pane] + , masks = pane +",center,"+ opEdge + (c.dir=="horz" ? ",west,east" : "") + , $P = $Ps[pane] + , $R = $Rs[pane] + , base = o.resizerClass + , lastPos = 0 // used when live-resizing + , r, live // set in start because may change + // 'drag' classes are applied to the ORIGINAL resizer-bar while dragging is in process + , resizerClass = base+"-drag" // resizer-drag + , resizerPaneClass = base+"-"+pane+"-drag" // resizer-north-drag + // 'helper' class is applied to the CLONED resizer-bar while it is being dragged + , helperClass = base+"-dragging" // resizer-dragging + , helperPaneClass = base+"-"+pane+"-dragging" // resizer-north-dragging + , helperLimitClass = base+"-dragging-limit" // resizer-drag + , helperPaneLimitClass = base+"-"+pane+"-dragging-limit" // resizer-north-drag + , helperClassesSet = false // logic var + ; + + if (!s.isClosed) + $R.attr("title", o.tips.Resize) + .css("cursor", o.resizerCursor); // n-resize, s-resize, etc + + $R.draggable({ + containment: $N[0] // limit resizing to layout container + , axis: (c.dir=="horz" ? "y" : "x") // limit resizing to horz or vert axis + , delay: 0 + , distance: 1 + , grid: o.resizingGrid + // basic format for helper - style it using class: .ui-draggable-dragging + , helper: "clone" + , opacity: o.resizerDragOpacity + , addClasses: false // avoid ui-state-disabled class when disabled + //, iframeFix: o.draggableIframeFix // TODO: consider using when bug is fixed + , zIndex: z.resizer_drag + + , start: function (e, ui) { + // REFRESH options & state pointers in case we used swapPanes + o = options[pane]; + s = state[pane]; + // re-read options + live = o.livePaneResizing; + + // ondrag_start callback - will CANCEL hide if returns false + // TODO: dragging CANNOT be cancelled like this, so see if there is a way? + if (false === _runCallbacks("ondrag_start", pane)) return false; + + s.isResizing = true; // prevent pane from closing while resizing + timer.clear(pane+"_closeSlider"); // just in case already triggered + + // SET RESIZER LIMITS - used in drag() + setSizeLimits(pane); // update pane/resizer state + r = s.resizerPosition; + lastPos = ui.position[ side ] + + $R.addClass( resizerClass +" "+ resizerPaneClass ); // add drag classes + helperClassesSet = false; // reset logic var - see drag() + + // DISABLE TEXT SELECTION (probably already done by resizer.mouseOver) + $('body').disableSelection(); + + // MASK PANES CONTAINING IFRAMES, APPLETS OR OTHER TROUBLESOME ELEMENTS + showMasks( masks ); + } + + , drag: function (e, ui) { + if (!helperClassesSet) { // can only add classes after clone has been added to the DOM + //$(".ui-draggable-dragging") + ui.helper + .addClass( helperClass +" "+ helperPaneClass ) // add helper classes + .css({ right: "auto", bottom: "auto" }) // fix dir="rtl" issue + .children().css("visibility","hidden") // hide toggler inside dragged resizer-bar + ; + helperClassesSet = true; + // draggable bug!? RE-SET zIndex to prevent E/W resize-bar showing through N/S pane! + if (s.isSliding) $Ps[pane].css("zIndex", z.pane_sliding); + } + // CONTAIN RESIZER-BAR TO RESIZING LIMITS + var limit = 0; + if (ui.position[side] < r.min) { + ui.position[side] = r.min; + limit = -1; + } + else if (ui.position[side] > r.max) { + ui.position[side] = r.max; + limit = 1; + } + // ADD/REMOVE dragging-limit CLASS + if (limit) { + ui.helper.addClass( helperLimitClass +" "+ helperPaneLimitClass ); // at dragging-limit + window.defaultStatus = (limit>0 && pane.match(/(north|west)/)) || (limit<0 && pane.match(/(south|east)/)) ? o.tips.maxSizeWarning : o.tips.minSizeWarning; + } + else { + ui.helper.removeClass( helperLimitClass +" "+ helperPaneLimitClass ); // not at dragging-limit + window.defaultStatus = ""; + } + // DYNAMICALLY RESIZE PANES IF OPTION ENABLED + // won't trigger unless resizer has actually moved! + if (live && Math.abs(ui.position[side] - lastPos) >= o.liveResizingTolerance) { + lastPos = ui.position[side]; + resizePanes(e, ui, pane) + } + } + + , stop: function (e, ui) { + $('body').enableSelection(); // RE-ENABLE TEXT SELECTION + window.defaultStatus = ""; // clear 'resizing limit' message from statusbar + $R.removeClass( resizerClass +" "+ resizerPaneClass ); // remove drag classes from Resizer + s.isResizing = false; + resizePanes(e, ui, pane, true, masks); // true = resizingDone + } + + }); + }); + + /** + * resizePanes + * + * Sub-routine called from stop() - and drag() if livePaneResizing + * + * @param {!Object} evt + * @param {!Object} ui + * @param {string} pane + * @param {boolean=} [resizingDone=false] + */ + var resizePanes = function (evt, ui, pane, resizingDone, masks) { + var dragPos = ui.position + , c = _c[pane] + , o = options[pane] + , s = state[pane] + , resizerPos + ; + switch (pane) { + case "north": resizerPos = dragPos.top; break; + case "west": resizerPos = dragPos.left; break; + case "south": resizerPos = sC.offsetHeight - dragPos.top - o.spacing_open; break; + case "east": resizerPos = sC.offsetWidth - dragPos.left - o.spacing_open; break; + }; + // remove container margin from resizer position to get the pane size + var newSize = resizerPos - sC["inset"+ c.side]; + + // Disable OR Resize Mask(s) created in drag.start + if (!resizingDone) { + // ensure we meet liveResizingTolerance criteria + if (Math.abs(newSize - s.size) < o.liveResizingTolerance) + return; // SKIP resize this time + // resize the pane + manualSizePane(pane, newSize, false, true); // true = noAnimation + sizeMasks(); // resize all visible masks + } + else { // resizingDone + // ondrag_end callback + if (false !== _runCallbacks("ondrag_end", pane)) + manualSizePane(pane, newSize, false, true); // true = noAnimation + hideMasks(); // hide all masks, which include panes with 'content/iframe-masks' + if (s.isSliding && masks) // RE-SHOW only 'object-masks' so objects won't show through sliding pane + showMasks( masks, true ); // true = onlyForObjects + } + }; + } + + /** + * sizeMask + * + * Needed to overlay a DIV over an IFRAME-pane because mask CANNOT be *inside* the pane + * Called when mask created, and during livePaneResizing + */ +, sizeMask = function () { + var $M = $(this) + , pane = $M.data("layoutMask") // eg: "west" + , s = state[pane] + ; + // only masks over an IFRAME-pane need manual resizing + if (s.tagName == "IFRAME" && s.isVisible) // no need to mask closed/hidden panes + $M.css({ + top: s.offsetTop + , left: s.offsetLeft + , width: s.outerWidth + , height: s.outerHeight + }); + /* ALT Method... + var $P = $Ps[pane]; + $M.css( $P.position() ).css({ width: $P[0].offsetWidth, height: $P[0].offsetHeight }); + */ + } +, sizeMasks = function () { + $Ms.each( sizeMask ); // resize all 'visible' masks + } + +, showMasks = function (panes, onlyForObjects) { + var a = panes ? panes.split(",") : $.layout.config.allPanes + , z = options.zIndexes + , o, s; + $.each(a, function(i,p){ + s = state[p]; + o = options[p]; + if (s.isVisible && ( (!onlyForObjects && o.maskContents) || o.maskObjects )) { + getMasks(p).each(function(){ + sizeMask.call(this); + this.style.zIndex = s.isSliding ? z.pane_sliding+1 : z.pane_normal+1 + this.style.display = "block"; + }); + } + }); + } + +, hideMasks = function () { + // ensure no pane is resizing - could be a timing issue + var skip; + $.each( $.layout.config.borderPanes, function(i,p){ + if (state[p].isResizing) { + skip = true; + return false; // BREAK + } + }); + if (!skip) + $Ms.hide(); // hide ALL masks + } + +, getMasks = function (pane) { + var $Masks = $([]) + , $M, i = 0, c = $Ms.length + ; + for (; i CSS + if (sC.tagName === "BODY" && ($N = $("html")).data(css)) // RESET CSS + $N.css( $N.data(css) ).removeData(css); + + // trigger plugins for this layout, if there are any + runPluginCallbacks( Instance, $.layout.onDestroy ); + + // trigger state-management and onunload callback + unload(); + + // clear the Instance of everything except for container & options (so could recreate) + // RE-CREATE: myLayout = myLayout.container.layout( myLayout.options ); + for (n in Instance) + if (!n.match(/^(container|options)$/)) delete Instance[ n ]; + // add a 'destroyed' flag to make it easy to check + Instance.destroyed = true; + + // if this is a child layout, CLEAR the child-pointer in the parent + /* for now the pointer REMAINS, but with only container, options and destroyed keys + if (parentPane) { + var layout = parentPane.pane.data("parentLayout"); + parentPane.child = layout.children[ parentPane.name ] = null; + } + */ + + return Instance; // for coding convenience + } + + /** + * Remove a pane from the layout - subroutine of destroy() + * + * @see destroy() + * @param {string|Object} evt_or_pane The pane to process + * @param {boolean=} [remove=false] Remove the DOM element? + * @param {boolean=} [skipResize=false] Skip calling resizeAll()? + * @param {boolean=} [destroyChild=true] Destroy Child-layouts? If not passed, obeys options setting + */ +, removePane = function (evt_or_pane, remove, skipResize, destroyChild) { + if (!isInitialized()) return; + var pane = evtPane.call(this, evt_or_pane) + , $P = $Ps[pane] + , $C = $Cs[pane] + , $R = $Rs[pane] + , $T = $Ts[pane] + ; + // NOTE: elements can still exist even after remove() + // so check for missing data(), which is cleared by removed() + if ($P && $.isEmptyObject( $P.data() )) $P = false; + if ($C && $.isEmptyObject( $C.data() )) $C = false; + if ($R && $.isEmptyObject( $R.data() )) $R = false; + if ($T && $.isEmptyObject( $T.data() )) $T = false; + + if ($P) $P.stop(true, true); + + // check for a child layout + var o = options[pane] + , s = state[pane] + , d = "layout" + , css = "layoutCSS" + , child = children[pane] || ($P ? $P.data(d) : 0) || ($C ? $C.data(d) : 0) || null + , destroy = destroyChild !== undefined ? destroyChild : o.destroyChildLayout + ; + + // FIRST destroy the child-layout(s) + if (destroy && child && !child.destroyed) { + child.destroy(true); // tell child-layout to destroy ALL its child-layouts too + if (child.destroyed) // destroy was successful + child = null; // clear pointer for logic below + } + + if ($P && remove && !child) + $P.remove(); + else if ($P && $P[0]) { + // create list of ALL pane-classes that need to be removed + var root = o.paneClass // default="ui-layout-pane" + , pRoot = root +"-"+ pane // eg: "ui-layout-pane-west" + , _open = "-open" + , _sliding= "-sliding" + , _closed = "-closed" + , classes = [ root, root+_open, root+_closed, root+_sliding, // generic classes + pRoot, pRoot+_open, pRoot+_closed, pRoot+_sliding ] // pane-specific classes + ; + $.merge(classes, getHoverClasses($P, true)); // ADD hover-classes + // remove all Layout classes from pane-element + $P .removeClass( classes.join(" ") ) // remove ALL pane-classes + .removeData("parentLayout") + .removeData("layoutPane") + .removeData("layoutRole") + .removeData("layoutEdge") + .removeData("autoHidden") // in case set + .unbind("."+ sID) // remove ALL Layout events + // TODO: remove these extra unbind commands when jQuery is fixed + //.unbind("mouseenter"+ sID) + //.unbind("mouseleave"+ sID) + ; + // do NOT reset CSS if this pane/content is STILL the container of a nested layout! + // the nested layout will reset its 'container' CSS when/if it is destroyed + if ($C && $C.data(d)) { + // a content-div may not have a specific width, so give it one to contain the Layout + $C.width( $C.width() ); + child.resizeAll(); // now resize the Layout + } + else if ($C) + $C.css( $C.data(css) ).removeData(css).removeData("layoutRole"); + // remove pane AFTER content in case there was a nested layout + if (!$P.data(d)) + $P.css( $P.data(css) ).removeData(css); + } + + // REMOVE pane resizer and toggler elements + if ($T) $T.remove(); + if ($R) $R.remove(); + + // CLEAR all pointers and state data + Instance[pane] = $Ps[pane] = $Cs[pane] = $Rs[pane] = $Ts[pane] = children[pane] = false; + s = { removed: true }; + + if (!skipResize) + resizeAll(); + } + + +/* + * ########################### + * ACTION METHODS + * ########################### + */ + +, _hidePane = function (pane) { + var $P = $Ps[pane] + , o = options[pane] + , s = $P[0].style + ; + if (o.useOffscreenClose) { + if (!$P.data(_c.offscreenReset)) + $P.data(_c.offscreenReset, { left: s.left, right: s.right }); + $P.css( _c.offscreenCSS ); + } + else + $P.hide().removeData(_c.offscreenReset); + } + +, _showPane = function (pane) { + var $P = $Ps[pane] + , o = options[pane] + , off = _c.offscreenCSS + , old = $P.data(_c.offscreenReset) + , s = $P[0].style + ; + $P .show() // ALWAYS show, just in case + .removeData(_c.offscreenReset); + if (o.useOffscreenClose && old) { + if (s.left == off.left) + s.left = old.left; + if (s.right == off.right) + s.right = old.right; + } + } + + + /** + * Completely 'hides' a pane, including its spacing - as if it does not exist + * The pane is not actually 'removed' from the source, so can use 'show' to un-hide it + * + * @param {string|Object} evt_or_pane The pane being hidden, ie: north, south, east, or west + * @param {boolean=} [noAnimation=false] + */ +, hide = function (evt_or_pane, noAnimation) { + if (!isInitialized()) return; + var pane = evtPane.call(this, evt_or_pane) + , o = options[pane] + , s = state[pane] + , $P = $Ps[pane] + , $R = $Rs[pane] + ; + if (!$P || s.isHidden) return; // pane does not exist OR is already hidden + + // onhide_start callback - will CANCEL hide if returns false + if (state.initialized && false === _runCallbacks("onhide_start", pane)) return; + + s.isSliding = false; // just in case + + // now hide the elements + if ($R) $R.hide(); // hide resizer-bar + if (!state.initialized || s.isClosed) { + s.isClosed = true; // to trigger open-animation on show() + s.isHidden = true; + s.isVisible = false; + if (!state.initialized) + _hidePane(pane); // no animation when loading page + sizeMidPanes(_c[pane].dir === "horz" ? "" : "center"); + if (state.initialized || o.triggerEventsOnLoad) + _runCallbacks("onhide_end", pane); + } + else { + s.isHiding = true; // used by onclose + close(pane, false, noAnimation); // adjust all panes to fit + } + } + + /** + * Show a hidden pane - show as 'closed' by default unless openPane = true + * + * @param {string|Object} evt_or_pane The pane being opened, ie: north, south, east, or west + * @param {boolean=} [openPane=false] + * @param {boolean=} [noAnimation=false] + * @param {boolean=} [noAlert=false] + */ +, show = function (evt_or_pane, openPane, noAnimation, noAlert) { + if (!isInitialized()) return; + var pane = evtPane.call(this, evt_or_pane) + , o = options[pane] + , s = state[pane] + , $P = $Ps[pane] + , $R = $Rs[pane] + ; + if (!$P || !s.isHidden) return; // pane does not exist OR is not hidden + + // onshow_start callback - will CANCEL show if returns false + if (false === _runCallbacks("onshow_start", pane)) return; + + s.isSliding = false; // just in case + s.isShowing = true; // used by onopen/onclose + //s.isHidden = false; - will be set by open/close - if not cancelled + + // now show the elements + //if ($R) $R.show(); - will be shown by open/close + if (openPane === false) + close(pane, true); // true = force + else + open(pane, false, noAnimation, noAlert); // adjust all panes to fit + } + + + /** + * Toggles a pane open/closed by calling either open or close + * + * @param {string|Object} evt_or_pane The pane being toggled, ie: north, south, east, or west + * @param {boolean=} [slide=false] + */ +, toggle = function (evt_or_pane, slide) { + if (!isInitialized()) return; + var evt = evtObj(evt_or_pane) + , pane = evtPane.call(this, evt_or_pane) + , s = state[pane] + ; + if (evt) // called from to $R.dblclick OR triggerPaneEvent + evt.stopImmediatePropagation(); + if (s.isHidden) + show(pane); // will call 'open' after unhiding it + else if (s.isClosed) + open(pane, !!slide); + else + close(pane); + } + + + /** + * Utility method used during init or other auto-processes + * + * @param {string} pane The pane being closed + * @param {boolean=} [setHandles=false] + */ +, _closePane = function (pane, setHandles) { + var + $P = $Ps[pane] + , s = state[pane] + ; + _hidePane(pane); + s.isClosed = true; + s.isVisible = false; + // UNUSED: if (setHandles) setAsClosed(pane, true); // true = force + } + + /** + * Close the specified pane (animation optional), and resize all other panes as needed + * + * @param {string|Object} evt_or_pane The pane being closed, ie: north, south, east, or west + * @param {boolean=} [force=false] + * @param {boolean=} [noAnimation=false] + * @param {boolean=} [skipCallback=false] + */ +, close = function (evt_or_pane, force, noAnimation, skipCallback) { + var pane = evtPane.call(this, evt_or_pane); + // if pane has been initialized, but NOT the complete layout, close pane instantly + if (!state.initialized && $Ps[pane]) { + _closePane(pane); // INIT pane as closed + return; + } + if (!isInitialized()) return; + + var + $P = $Ps[pane] + , $R = $Rs[pane] + , $T = $Ts[pane] + , o = options[pane] + , s = state[pane] + , c = _c[pane] + , doFX, isShowing, isHiding, wasSliding; + + // QUEUE in case another action/animation is in progress + $N.queue(function( queueNext ){ + + if ( !$P + || (!o.closable && !s.isShowing && !s.isHiding) // invalid request // (!o.resizable && !o.closable) ??? + || (!force && s.isClosed && !s.isShowing) // already closed + ) return queueNext(); + + // onclose_start callback - will CANCEL hide if returns false + // SKIP if just 'showing' a hidden pane as 'closed' + var abort = !s.isShowing && false === _runCallbacks("onclose_start", pane); + + // transfer logic vars to temp vars + isShowing = s.isShowing; + isHiding = s.isHiding; + wasSliding = s.isSliding; + // now clear the logic vars (REQUIRED before aborting) + delete s.isShowing; + delete s.isHiding; + + if (abort) return queueNext(); + + doFX = !noAnimation && !s.isClosed && (o.fxName_close != "none"); + s.isMoving = true; + s.isClosed = true; + s.isVisible = false; + // update isHidden BEFORE sizing panes + if (isHiding) s.isHidden = true; + else if (isShowing) s.isHidden = false; + + if (s.isSliding) // pane is being closed, so UNBIND trigger events + bindStopSlidingEvents(pane, false); // will set isSliding=false + else // resize panes adjacent to this one + sizeMidPanes(_c[pane].dir === "horz" ? "" : "center", false); // false = NOT skipCallback + + // if this pane has a resizer bar, move it NOW - before animation + setAsClosed(pane); + + // CLOSE THE PANE + if (doFX) { // animate the close + // mask panes with objects + var masks = "center"+ (c.dir=="horz" ? ",west,east" : ""); + showMasks( masks, true ); // true = ONLY mask panes with maskObjects=true + lockPaneForFX(pane, true); // need to set left/top so animation will work + $P.hide( o.fxName_close, o.fxSettings_close, o.fxSpeed_close, function () { + lockPaneForFX(pane, false); // undo + if (s.isClosed) close_2(); + queueNext(); + }); + } + else { // hide the pane without animation + _hidePane(pane); + close_2(); + queueNext(); + }; + }); + + // SUBROUTINE + function close_2 () { + s.isMoving = false; + bindStartSlidingEvent(pane, true); // will enable if o.slidable = true + + // if opposite-pane was autoClosed, see if it can be autoOpened now + var altPane = _c.oppositeEdge[pane]; + if (state[ altPane ].noRoom) { + setSizeLimits( altPane ); + makePaneFit( altPane ); + } + + // hide any masks shown while closing + hideMasks(); + + if (!skipCallback && (state.initialized || o.triggerEventsOnLoad)) { + // onclose callback - UNLESS just 'showing' a hidden pane as 'closed' + if (!isShowing) _runCallbacks("onclose_end", pane); + // onhide OR onshow callback + if (isShowing) _runCallbacks("onshow_end", pane); + if (isHiding) _runCallbacks("onhide_end", pane); + } + } + } + + /** + * @param {string} pane The pane just closed, ie: north, south, east, or west + */ +, setAsClosed = function (pane) { + var + $P = $Ps[pane] + , $R = $Rs[pane] + , $T = $Ts[pane] + , o = options[pane] + , s = state[pane] + , side = _c[pane].side.toLowerCase() + , inset = "inset"+ _c[pane].side + , rClass = o.resizerClass + , tClass = o.togglerClass + , _pane = "-"+ pane // used for classNames + , _open = "-open" + , _sliding= "-sliding" + , _closed = "-closed" + ; + $R + .css(side, sC[inset]) // move the resizer + .removeClass( rClass+_open +" "+ rClass+_pane+_open ) + .removeClass( rClass+_sliding +" "+ rClass+_pane+_sliding ) + .addClass( rClass+_closed +" "+ rClass+_pane+_closed ) + .unbind("dblclick."+ sID) + ; + // DISABLE 'resizing' when closed - do this BEFORE bindStartSlidingEvent? + if (o.resizable && $.layout.plugins.draggable) + $R + .draggable("disable") + .removeClass("ui-state-disabled") // do NOT apply disabled styling - not suitable here + .css("cursor", "default") + .attr("title","") + ; + + // if pane has a toggler button, adjust that too + if ($T) { + $T + .removeClass( tClass+_open +" "+ tClass+_pane+_open ) + .addClass( tClass+_closed +" "+ tClass+_pane+_closed ) + .attr("title", o.tips.Open) // may be blank + ; + // toggler-content - if exists + $T.children(".content-open").hide(); + $T.children(".content-closed").css("display","block"); + } + + // sync any 'pin buttons' + syncPinBtns(pane, false); + + if (state.initialized) { + // resize 'length' and position togglers for adjacent panes + sizeHandles(); + } + } + + /** + * Open the specified pane (animation optional), and resize all other panes as needed + * + * @param {string|Object} evt_or_pane The pane being opened, ie: north, south, east, or west + * @param {boolean=} [slide=false] + * @param {boolean=} [noAnimation=false] + * @param {boolean=} [noAlert=false] + */ +, open = function (evt_or_pane, slide, noAnimation, noAlert) { + if (!isInitialized()) return; + var pane = evtPane.call(this, evt_or_pane) + , $P = $Ps[pane] + , $R = $Rs[pane] + , $T = $Ts[pane] + , o = options[pane] + , s = state[pane] + , c = _c[pane] + , doFX, isShowing + ; + // QUEUE in case another action/animation is in progress + $N.queue(function( queueNext ){ + + if ( !$P + || (!o.resizable && !o.closable && !s.isShowing) // invalid request + || (s.isVisible && !s.isSliding) // already open + ) return queueNext(); + + // pane can ALSO be unhidden by just calling show(), so handle this scenario + if (s.isHidden && !s.isShowing) { + queueNext(); // call before show() because it needs the queue free + show(pane, true); + return; + } + + if (o.autoResize && s.size != o.size) // resize pane to original size set in options + sizePane(pane, o.size, true, true, true); // true=skipCallback/forceResize/noAnimation + else + // make sure there is enough space available to open the pane + setSizeLimits(pane, slide); + + // onopen_start callback - will CANCEL open if returns false + var cbReturn = _runCallbacks("onopen_start", pane); + + if (cbReturn === "abort") + return queueNext(); + + // update pane-state again in case options were changed in onopen_start + if (cbReturn !== "NC") // NC = "No Callback" + setSizeLimits(pane, slide); + + if (s.minSize > s.maxSize) { // INSUFFICIENT ROOM FOR PANE TO OPEN! + syncPinBtns(pane, false); // make sure pin-buttons are reset + if (!noAlert && o.tips.noRoomToOpen) + alert(o.tips.noRoomToOpen); + return queueNext(); // ABORT + } + + if (slide) // START Sliding - will set isSliding=true + bindStopSlidingEvents(pane, true); // BIND trigger events to close sliding-pane + else if (s.isSliding) // PIN PANE (stop sliding) - open pane 'normally' instead + bindStopSlidingEvents(pane, false); // UNBIND trigger events - will set isSliding=false + else if (o.slidable) + bindStartSlidingEvent(pane, false); // UNBIND trigger events + + s.noRoom = false; // will be reset by makePaneFit if 'noRoom' + makePaneFit(pane); + + // transfer logic var to temp var + isShowing = s.isShowing; + // now clear the logic var + delete s.isShowing; + + doFX = !noAnimation && s.isClosed && (o.fxName_open != "none"); + s.isMoving = true; + s.isVisible = true; + s.isClosed = false; + // update isHidden BEFORE sizing panes - WHY??? Old? + if (isShowing) s.isHidden = false; + + if (doFX) { // ANIMATE + // mask panes with objects + var masks = "center"+ (c.dir=="horz" ? ",west,east" : ""); + if (s.isSliding) masks += ","+ _c.oppositeEdge[pane]; + showMasks( masks, true ); // true = ONLY mask panes with maskObjects=true + lockPaneForFX(pane, true); // need to set left/top so animation will work + $P.show( o.fxName_open, o.fxSettings_open, o.fxSpeed_open, function() { + lockPaneForFX(pane, false); // undo + if (s.isVisible) open_2(); // continue + queueNext(); + }); + } + else { // no animation + _showPane(pane);// just show pane and... + open_2(); // continue + queueNext(); + }; + }); + + // SUBROUTINE + function open_2 () { + s.isMoving = false; + + // cure iframe display issues + _fixIframe(pane); + + // NOTE: if isSliding, then other panes are NOT 'resized' + if (!s.isSliding) { // resize all panes adjacent to this one + hideMasks(); // remove any masks shown while opening + sizeMidPanes(_c[pane].dir=="vert" ? "center" : "", false); // false = NOT skipCallback + } + + // set classes, position handles and execute callbacks... + setAsOpen(pane); + }; + + } + + /** + * @param {string} pane The pane just opened, ie: north, south, east, or west + * @param {boolean=} [skipCallback=false] + */ +, setAsOpen = function (pane, skipCallback) { + var + $P = $Ps[pane] + , $R = $Rs[pane] + , $T = $Ts[pane] + , o = options[pane] + , s = state[pane] + , side = _c[pane].side.toLowerCase() + , inset = "inset"+ _c[pane].side + , rClass = o.resizerClass + , tClass = o.togglerClass + , _pane = "-"+ pane // used for classNames + , _open = "-open" + , _closed = "-closed" + , _sliding= "-sliding" + ; + $R + .css(side, sC[inset] + getPaneSize(pane)) // move the resizer + .removeClass( rClass+_closed +" "+ rClass+_pane+_closed ) + .addClass( rClass+_open +" "+ rClass+_pane+_open ) + ; + if (s.isSliding) + $R.addClass( rClass+_sliding +" "+ rClass+_pane+_sliding ) + else // in case 'was sliding' + $R.removeClass( rClass+_sliding +" "+ rClass+_pane+_sliding ) + + if (o.resizerDblClickToggle) + $R.bind("dblclick", toggle ); + removeHover( 0, $R ); // remove hover classes + if (o.resizable && $.layout.plugins.draggable) + $R .draggable("enable") + .css("cursor", o.resizerCursor) + .attr("title", o.tips.Resize); + else if (!s.isSliding) + $R.css("cursor", "default"); // n-resize, s-resize, etc + + // if pane also has a toggler button, adjust that too + if ($T) { + $T .removeClass( tClass+_closed +" "+ tClass+_pane+_closed ) + .addClass( tClass+_open +" "+ tClass+_pane+_open ) + .attr("title", o.tips.Close); // may be blank + removeHover( 0, $T ); // remove hover classes + // toggler-content - if exists + $T.children(".content-closed").hide(); + $T.children(".content-open").css("display","block"); + } + + // sync any 'pin buttons' + syncPinBtns(pane, !s.isSliding); + + // update pane-state dimensions - BEFORE resizing content + $.extend(s, elDims($P)); + + if (state.initialized) { + // resize resizer & toggler sizes for all panes + sizeHandles(); + // resize content every time pane opens - to be sure + sizeContent(pane, true); // true = remeasure headers/footers, even if 'pane.isMoving' + } + + if (!skipCallback && (state.initialized || o.triggerEventsOnLoad) && $P.is(":visible")) { + // onopen callback + _runCallbacks("onopen_end", pane); + // onshow callback - TODO: should this be here? + if (s.isShowing) _runCallbacks("onshow_end", pane); + + // ALSO call onresize because layout-size *may* have changed while pane was closed + if (state.initialized) + _runCallbacks("onresize_end", pane); + } + + // TODO: Somehow sizePane("north") is being called after this point??? + } + + + /** + * slideOpen / slideClose / slideToggle + * + * Pass-though methods for sliding + */ +, slideOpen = function (evt_or_pane) { + if (!isInitialized()) return; + var evt = evtObj(evt_or_pane) + , pane = evtPane.call(this, evt_or_pane) + , s = state[pane] + , delay = options[pane].slideDelay_open + ; + // prevent event from triggering on NEW resizer binding created below + if (evt) evt.stopImmediatePropagation(); + + if (s.isClosed && evt && evt.type === "mouseenter" && delay > 0) + // trigger = mouseenter - use a delay + timer.set(pane+"_openSlider", open_NOW, delay); + else + open_NOW(); // will unbind events if is already open + + /** + * SUBROUTINE for timed open + */ + function open_NOW () { + if (!s.isClosed) // skip if no longer closed! + bindStopSlidingEvents(pane, true); // BIND trigger events to close sliding-pane + else if (!s.isMoving) + open(pane, true); // true = slide - open() will handle binding + }; + } + +, slideClose = function (evt_or_pane) { + if (!isInitialized()) return; + var evt = evtObj(evt_or_pane) + , pane = evtPane.call(this, evt_or_pane) + , o = options[pane] + , s = state[pane] + , delay = s.isMoving ? 1000 : 300 // MINIMUM delay - option may override + ; + if (s.isClosed || s.isResizing) + return; // skip if already closed OR in process of resizing + else if (o.slideTrigger_close === "click") + close_NOW(); // close immediately onClick + else if (o.preventQuickSlideClose && s.isMoving) + return; // handle Chrome quick-close on slide-open + else if (o.preventPrematureSlideClose && evt && $.layout.isMouseOverElem(evt, $Ps[pane])) + return; // handle incorrect mouseleave trigger, like when over a SELECT-list in IE + else if (evt) // trigger = mouseleave - use a delay + // 1 sec delay if 'opening', else .3 sec + timer.set(pane+"_closeSlider", close_NOW, max(o.slideDelay_close, delay)); + else // called programically + close_NOW(); + + /** + * SUBROUTINE for timed close + */ + function close_NOW () { + if (s.isClosed) // skip 'close' if already closed! + bindStopSlidingEvents(pane, false); // UNBIND trigger events - TODO: is this needed here? + else if (!s.isMoving) + close(pane); // close will handle unbinding + }; + } + + /** + * @param {string|Object} evt_or_pane The pane being opened, ie: north, south, east, or west + */ +, slideToggle = function (evt_or_pane) { + var pane = evtPane.call(this, evt_or_pane); + toggle(pane, true); + } + + + /** + * Must set left/top on East/South panes so animation will work properly + * + * @param {string} pane The pane to lock, 'east' or 'south' - any other is ignored! + * @param {boolean} doLock true = set left/top, false = remove + */ +, lockPaneForFX = function (pane, doLock) { + var $P = $Ps[pane] + , s = state[pane] + , o = options[pane] + , z = options.zIndexes + ; + if (doLock) { + $P.css({ zIndex: z.pane_animate }); // overlay all elements during animation + if (pane=="south") + $P.css({ top: sC.insetTop + sC.innerHeight - $P.outerHeight() }); + else if (pane=="east") + $P.css({ left: sC.insetLeft + sC.innerWidth - $P.outerWidth() }); + } + else { // animation DONE - RESET CSS + // TODO: see if this can be deleted. It causes a quick-close when sliding in Chrome + $P.css({ zIndex: (s.isSliding ? z.pane_sliding : z.pane_normal) }); + if (pane=="south") + $P.css({ top: "auto" }); + // if pane is positioned 'off-screen', then DO NOT screw with it! + else if (pane=="east" && !$P.css("left").match(/\-99999/)) + $P.css({ left: "auto" }); + // fix anti-aliasing in IE - only needed for animations that change opacity + if (browser.msie && o.fxOpacityFix && o.fxName_open != "slide" && $P.css("filter") && $P.css("opacity") == 1) + $P[0].style.removeAttribute('filter'); + } + } + + + /** + * Toggle sliding functionality of a specific pane on/off by adding removing 'slide open' trigger + * + * @see open(), close() + * @param {string} pane The pane to enable/disable, 'north', 'south', etc. + * @param {boolean} enable Enable or Disable sliding? + */ +, bindStartSlidingEvent = function (pane, enable) { + var o = options[pane] + , $P = $Ps[pane] + , $R = $Rs[pane] + , evtName = o.slideTrigger_open.toLowerCase() + ; + if (!$R || (enable && !o.slidable)) return; + + // make sure we have a valid event + if (evtName.match(/mouseover/)) + evtName = o.slideTrigger_open = "mouseenter"; + else if (!evtName.match(/(click|dblclick|mouseenter)/)) + evtName = o.slideTrigger_open = "click"; + + $R + // add or remove event + [enable ? "bind" : "unbind"](evtName +'.'+ sID, slideOpen) + // set the appropriate cursor & title/tip + .css("cursor", enable ? o.sliderCursor : "default") + .attr("title", enable ? o.tips.Slide : "") + ; + } + + /** + * Add or remove 'mouseleave' events to 'slide close' when pane is 'sliding' open or closed + * Also increases zIndex when pane is sliding open + * See bindStartSlidingEvent for code to control 'slide open' + * + * @see slideOpen(), slideClose() + * @param {string} pane The pane to process, 'north', 'south', etc. + * @param {boolean} enable Enable or Disable events? + */ +, bindStopSlidingEvents = function (pane, enable) { + var o = options[pane] + , s = state[pane] + , c = _c[pane] + , z = options.zIndexes + , evtName = o.slideTrigger_close.toLowerCase() + , action = (enable ? "bind" : "unbind") + , $P = $Ps[pane] + , $R = $Rs[pane] + ; + s.isSliding = enable; // logic + timer.clear(pane+"_closeSlider"); // just in case + + // remove 'slideOpen' event from resizer + // ALSO will raise the zIndex of the pane & resizer + if (enable) bindStartSlidingEvent(pane, false); + + // RE/SET zIndex - increases when pane is sliding-open, resets to normal when not + $P.css("zIndex", enable ? z.pane_sliding : z.pane_normal); + $R.css("zIndex", enable ? z.pane_sliding+2 : z.resizer_normal); // NOTE: mask = pane_sliding+1 + + // make sure we have a valid event + if (!evtName.match(/(click|mouseleave)/)) + evtName = o.slideTrigger_close = "mouseleave"; // also catches 'mouseout' + + // add/remove slide triggers + $R[action](evtName, slideClose); // base event on resize + // need extra events for mouseleave + if (evtName === "mouseleave") { + // also close on pane.mouseleave + $P[action]("mouseleave."+ sID, slideClose); + // cancel timer when mouse moves between 'pane' and 'resizer' + $R[action]("mouseenter."+ sID, cancelMouseOut); + $P[action]("mouseenter."+ sID, cancelMouseOut); + } + + if (!enable) + timer.clear(pane+"_closeSlider"); + else if (evtName === "click" && !o.resizable) { + // IF pane is not resizable (which already has a cursor and tip) + // then set the a cursor & title/tip on resizer when sliding + $R.css("cursor", enable ? o.sliderCursor : "default"); + $R.attr("title", enable ? o.tips.Close : ""); // use Toggler-tip, eg: "Close Pane" + } + + // SUBROUTINE for mouseleave timer clearing + function cancelMouseOut (evt) { + timer.clear(pane+"_closeSlider"); + evt.stopPropagation(); + } + } + + + /** + * Hides/closes a pane if there is insufficient room - reverses this when there is room again + * MUST have already called setSizeLimits() before calling this method + * + * @param {string} pane The pane being resized + * @param {boolean=} [isOpening=false] Called from onOpen? + * @param {boolean=} [skipCallback=false] Should the onresize callback be run? + * @param {boolean=} [force=false] + */ +, makePaneFit = function (pane, isOpening, skipCallback, force) { + var + o = options[pane] + , s = state[pane] + , c = _c[pane] + , $P = $Ps[pane] + , $R = $Rs[pane] + , isSidePane = c.dir==="vert" + , hasRoom = false + ; + // special handling for center & east/west panes + if (pane === "center" || (isSidePane && s.noVerticalRoom)) { + // see if there is enough room to display the pane + // ERROR: hasRoom = s.minHeight <= s.maxHeight && (isSidePane || s.minWidth <= s.maxWidth); + hasRoom = (s.maxHeight >= 0); + if (hasRoom && s.noRoom) { // previously hidden due to noRoom, so show now + _showPane(pane); + if ($R) $R.show(); + s.isVisible = true; + s.noRoom = false; + if (isSidePane) s.noVerticalRoom = false; + _fixIframe(pane); + } + else if (!hasRoom && !s.noRoom) { // not currently hidden, so hide now + _hidePane(pane); + if ($R) $R.hide(); + s.isVisible = false; + s.noRoom = true; + } + } + + // see if there is enough room to fit the border-pane + if (pane === "center") { + // ignore center in this block + } + else if (s.minSize <= s.maxSize) { // pane CAN fit + hasRoom = true; + if (s.size > s.maxSize) // pane is too big - shrink it + sizePane(pane, s.maxSize, skipCallback, force, true); // true = noAnimation + else if (s.size < s.minSize) // pane is too small - enlarge it + sizePane(pane, s.minSize, skipCallback, force, true); + // need s.isVisible because new pseudoClose method keeps pane visible, but off-screen + else if ($R && s.isVisible && $P.is(":visible")) { + // make sure resizer-bar is positioned correctly + // handles situation where nested layout was 'hidden' when initialized + var side = c.side.toLowerCase() + , pos = s.size + sC["inset"+ c.side] + ; + if ($.layout.cssNum($R, side) != pos) $R.css( side, pos ); + } + + // if was previously hidden due to noRoom, then RESET because NOW there is room + if (s.noRoom) { + // s.noRoom state will be set by open or show + if (s.wasOpen && o.closable) { + if (o.autoReopen) + open(pane, false, true, true); // true = noAnimation, true = noAlert + else // leave the pane closed, so just update state + s.noRoom = false; + } + else + show(pane, s.wasOpen, true, true); // true = noAnimation, true = noAlert + } + } + else { // !hasRoom - pane CANNOT fit + if (!s.noRoom) { // pane not set as noRoom yet, so hide or close it now... + s.noRoom = true; // update state + s.wasOpen = !s.isClosed && !s.isSliding; + if (s.isClosed){} // SKIP + else if (o.closable) // 'close' if possible + close(pane, true, true); // true = force, true = noAnimation + else // 'hide' pane if cannot just be closed + hide(pane, true); // true = noAnimation + } + } + } + + + /** + * sizePane / manualSizePane + * sizePane is called only by internal methods whenever a pane needs to be resized + * manualSizePane is an exposed flow-through method allowing extra code when pane is 'manually resized' + * + * @param {string|Object} evt_or_pane The pane being resized + * @param {number} size The *desired* new size for this pane - will be validated + * @param {boolean=} [skipCallback=false] Should the onresize callback be run? + * @param {boolean=} [noAnimation=false] + */ +, manualSizePane = function (evt_or_pane, size, skipCallback, noAnimation) { + if (!isInitialized()) return; + var pane = evtPane.call(this, evt_or_pane) + , o = options[pane] + , s = state[pane] + // if resizing callbacks have been delayed and resizing is now DONE, force resizing to complete... + , forceResize = o.livePaneResizing && !s.isResizing + ; + // ANY call to manualSizePane disables autoResize - ie, percentage sizing + o.autoResize = false; + // flow-through... + sizePane(pane, size, skipCallback, forceResize, noAnimation); // will animate resize if option enabled + } + + /** + * @param {string|Object} evt_or_pane The pane being resized + * @param {number} size The *desired* new size for this pane - will be validated + * @param {boolean=} [skipCallback=false] Should the onresize callback be run? + * @param {boolean=} [force=false] Force resizing even if does not seem necessary + * @param {boolean=} [noAnimation=false] + */ +, sizePane = function (evt_or_pane, size, skipCallback, force, noAnimation) { + if (!isInitialized()) return; + var pane = evtPane.call(this, evt_or_pane) // probably NEVER called from event? + , o = options[pane] + , s = state[pane] + , $P = $Ps[pane] + , $R = $Rs[pane] + , side = _c[pane].side.toLowerCase() + , dimName = _c[pane].sizeType.toLowerCase() + , inset = "inset"+ _c[pane].side + , skipResizeWhileDragging = s.isResizing && !o.triggerEventsDuringLiveResize + , doFX = noAnimation !== true && o.animatePaneSizing + , oldSize, newSize + ; + // QUEUE in case another action/animation is in progress + $N.queue(function( queueNext ){ + // calculate 'current' min/max sizes + setSizeLimits(pane); // update pane-state + oldSize = s.size; + size = _parseSize(pane, size); // handle percentages & auto + size = max(size, _parseSize(pane, o.minSize)); + size = min(size, s.maxSize); + if (size < s.minSize) { // not enough room for pane! + queueNext(); // call before makePaneFit() because it needs the queue free + makePaneFit(pane, false, skipCallback); // will hide or close pane + return; + } + + // IF newSize is same as oldSize, then nothing to do - abort + if (!force && size === oldSize) + return queueNext(); + + // onresize_start callback CANNOT cancel resizing because this would break the layout! + if (!skipCallback && state.initialized && s.isVisible) + _runCallbacks("onresize_start", pane); + + // resize the pane, and make sure its visible + newSize = cssSize(pane, size); + + if (doFX && $P.is(":visible")) { // ANIMATE + var fx = $.layout.effects.size[pane] || $.layout.effects.size.all + , easing = o.fxSettings_size.easing || fx.easing + , z = options.zIndexes + , props = {}; + props[ dimName ] = newSize +'px'; + s.isMoving = true; + // overlay all elements during animation + $P.css({ zIndex: z.pane_animate }) + .show().animate( props, o.fxSpeed_size, easing, function(){ + // reset zIndex after animation + $P.css({ zIndex: (s.isSliding ? z.pane_sliding : z.pane_normal) }); + s.isMoving = false; + sizePane_2(); // continue + queueNext(); + }); + } + else { // no animation + $P.css( dimName, newSize ); // resize pane + // if pane is visible, then + if ($P.is(":visible")) + sizePane_2(); // continue + else { + // pane is NOT VISIBLE, so just update state data... + // when pane is *next opened*, it will have the new size + s.size = size; // update state.size + $.extend(s, elDims($P)); // update state dimensions + } + queueNext(); + }; + + }); + + // SUBROUTINE + function sizePane_2 () { + /* Panes are sometimes not sized precisely in some browsers!? + * This code will resize the pane up to 3 times to nudge the pane to the correct size + */ + var actual = dimName==='width' ? $P.outerWidth() : $P.outerHeight() + , tries = [{ + pane: pane + , count: 1 + , target: size + , actual: actual + , correct: (size === actual) + , attempt: size + , cssSize: newSize + }] + , lastTry = tries[0] + , thisTry = {} + , msg = 'Inaccurate size after resizing the '+ pane +'-pane.' + ; + while ( !lastTry.correct ) { + thisTry = { pane: pane, count: lastTry.count+1, target: size }; + + if (lastTry.actual > size) + thisTry.attempt = max(0, lastTry.attempt - (lastTry.actual - size)); + else // lastTry.actual < size + thisTry.attempt = max(0, lastTry.attempt + (size - lastTry.actual)); + + thisTry.cssSize = cssSize(pane, thisTry.attempt); + $P.css( dimName, thisTry.cssSize ); + + thisTry.actual = dimName=='width' ? $P.outerWidth() : $P.outerHeight(); + thisTry.correct = (size === thisTry.actual); + + // log attempts and alert the user of this *non-fatal error* (if showDebugMessages) + if ( tries.length === 1) { + _log(msg, false, true); + _log(lastTry, false, true); + } + _log(thisTry, false, true); + // after 4 tries, is as close as its gonna get! + if (tries.length > 3) break; + + tries.push( thisTry ); + lastTry = tries[ tries.length - 1 ]; + } + // END TESTING CODE + + // update pane-state dimensions + s.size = size; + $.extend(s, elDims($P)); + + if (s.isVisible && $P.is(":visible")) { + // reposition the resizer-bar + if ($R) $R.css( side, size + sC[inset] ); + // resize the content-div + sizeContent(pane); + } + + if (!skipCallback && !skipResizeWhileDragging && state.initialized && s.isVisible) + _runCallbacks("onresize_end", pane); + + // resize all the adjacent panes, and adjust their toggler buttons + // when skipCallback passed, it means the controlling method will handle 'other panes' + if (!skipCallback) { + // also no callback if live-resize is in progress and NOT triggerEventsDuringLiveResize + if (!s.isSliding) sizeMidPanes(_c[pane].dir=="horz" ? "" : "center", skipResizeWhileDragging, force); + sizeHandles(); + } + + // if opposite-pane was autoClosed, see if it can be autoOpened now + var altPane = _c.oppositeEdge[pane]; + if (size < oldSize && state[ altPane ].noRoom) { + setSizeLimits( altPane ); + makePaneFit( altPane, false, skipCallback ); + } + + // DEBUG - ALERT user/developer so they know there was a sizing problem + if (tries.length > 1) + _log(msg +'\nSee the Error Console for details.', true, true); + } + } + + /** + * @see initPanes(), sizePane(), resizeAll(), open(), close(), hide() + * @param {Array.|string} panes The pane(s) being resized, comma-delmited string + * @param {boolean=} [skipCallback=false] Should the onresize callback be run? + * @param {boolean=} [force=false] + */ +, sizeMidPanes = function (panes, skipCallback, force) { + panes = (panes ? panes : "east,west,center").split(","); + + $.each(panes, function (i, pane) { + if (!$Ps[pane]) return; // NO PANE - skip + var + o = options[pane] + , s = state[pane] + , $P = $Ps[pane] + , $R = $Rs[pane] + , isCenter= (pane=="center") + , hasRoom = true + , CSS = {} + , newCenter = calcNewCenterPaneDims() + ; + // update pane-state dimensions + $.extend(s, elDims($P)); + + if (pane === "center") { + if (!force && s.isVisible && newCenter.width === s.outerWidth && newCenter.height === s.outerHeight) + return true; // SKIP - pane already the correct size + // set state for makePaneFit() logic + $.extend(s, cssMinDims(pane), { + maxWidth: newCenter.width + , maxHeight: newCenter.height + }); + CSS = newCenter; + // convert OUTER width/height to CSS width/height + CSS.width = cssW($P, CSS.width); + // NEW - allow pane to extend 'below' visible area rather than hide it + CSS.height = cssH($P, CSS.height); + hasRoom = CSS.width >= 0 && CSS.height >= 0; // height >= 0 = ALWAYS TRUE NOW + // during layout init, try to shrink east/west panes to make room for center + if (!state.initialized && o.minWidth > s.outerWidth) { + var + reqPx = o.minWidth - s.outerWidth + , minE = options.east.minSize || 0 + , minW = options.west.minSize || 0 + , sizeE = state.east.size + , sizeW = state.west.size + , newE = sizeE + , newW = sizeW + ; + if (reqPx > 0 && state.east.isVisible && sizeE > minE) { + newE = max( sizeE-minE, sizeE-reqPx ); + reqPx -= sizeE-newE; + } + if (reqPx > 0 && state.west.isVisible && sizeW > minW) { + newW = max( sizeW-minW, sizeW-reqPx ); + reqPx -= sizeW-newW; + } + // IF we found enough extra space, then resize the border panes as calculated + if (reqPx === 0) { + if (sizeE && sizeE != minE) + sizePane('east', newE, true, force, true); // true = skipCallback/noAnimation - initPanes will handle when done + if (sizeW && sizeW != minW) + sizePane('west', newW, true, force, true); + // now start over! + sizeMidPanes('center', skipCallback, force); + return; // abort this loop + } + } + } + else { // for east and west, set only the height, which is same as center height + // set state.min/maxWidth/Height for makePaneFit() logic + if (s.isVisible && !s.noVerticalRoom) + $.extend(s, elDims($P), cssMinDims(pane)) + if (!force && !s.noVerticalRoom && newCenter.height === s.outerHeight) + return true; // SKIP - pane already the correct size + // east/west have same top, bottom & height as center + CSS.top = newCenter.top; + CSS.bottom = newCenter.bottom; + // NEW - allow pane to extend 'below' visible area rather than hide it + CSS.height = cssH($P, newCenter.height); + s.maxHeight = CSS.height; + hasRoom = (s.maxHeight >= 0); // ALWAYS TRUE NOW + if (!hasRoom) s.noVerticalRoom = true; // makePaneFit() logic + } + + if (hasRoom) { + // resizeAll passes skipCallback because it triggers callbacks after ALL panes are resized + if (!skipCallback && state.initialized) + _runCallbacks("onresize_start", pane); + + $P.css(CSS); // apply the CSS to pane + if (pane !== "center") + sizeHandles(pane); // also update resizer length + if (s.noRoom && !s.isClosed && !s.isHidden) + makePaneFit(pane); // will re-open/show auto-closed/hidden pane + if (s.isVisible) { + $.extend(s, elDims($P)); // update pane dimensions + if (state.initialized) sizeContent(pane); // also resize the contents, if exists + } + } + else if (!s.noRoom && s.isVisible) // no room for pane + makePaneFit(pane); // will hide or close pane + + if (!s.isVisible) + return true; // DONE - next pane + + /* + * Extra CSS for IE6 or IE7 in Quirks-mode - add 'width' to NORTH/SOUTH panes + * Normally these panes have only 'left' & 'right' positions so pane auto-sizes + * ALSO required when pane is an IFRAME because will NOT default to 'full width' + * TODO: Can I use width:100% for a north/south iframe? + * TODO: Sounds like a job for $P.outerWidth( sC.innerWidth ) SETTER METHOD + */ + if (pane === "center") { // finished processing midPanes + var fix = browser.isIE6 || !browser.boxModel; + if ($Ps.north && (fix || state.north.tagName=="IFRAME")) + $Ps.north.css("width", cssW($Ps.north, sC.innerWidth)); + if ($Ps.south && (fix || state.south.tagName=="IFRAME")) + $Ps.south.css("width", cssW($Ps.south, sC.innerWidth)); + } + + // resizeAll passes skipCallback because it triggers callbacks after ALL panes are resized + if (!skipCallback && state.initialized) + _runCallbacks("onresize_end", pane); + }); + } + + + /** + * @see window.onresize(), callbacks or custom code + */ +, resizeAll = function (evt) { + // stopPropagation if called by trigger("layoutdestroy") - use evtPane utility + evtPane(evt); + + if (!state.initialized) { + _initLayoutElements(); + return; // no need to resize since we just initialized! + } + var oldW = sC.innerWidth + , oldH = sC.innerHeight + ; + // cannot size layout when 'container' is hidden or collapsed + if (!$N.is(":visible") ) return; + $.extend(state.container, elDims( $N )); // UPDATE container dimensions + if (!sC.outerHeight) return; + + // onresizeall_start will CANCEL resizing if returns false + // state.container has already been set, so user can access this info for calcuations + if (false === _runCallbacks("onresizeall_start")) return false; + + var // see if container is now 'smaller' than before + shrunkH = (sC.innerHeight < oldH) + , shrunkW = (sC.innerWidth < oldW) + , $P, o, s, dir + ; + // NOTE special order for sizing: S-N-E-W + $.each(["south","north","east","west"], function (i, pane) { + if (!$Ps[pane]) return; // no pane - SKIP + s = state[pane]; + o = options[pane]; + dir = _c[pane].dir; + + if (o.autoResize && s.size != o.size) // resize pane to original size set in options + sizePane(pane, o.size, true, true, true); // true=skipCallback/forceResize/noAnimation + else { + setSizeLimits(pane); + makePaneFit(pane, false, true, true); // true=skipCallback/forceResize + } + }); + + sizeMidPanes("", true, true); // true=skipCallback, true=forceResize + sizeHandles(); // reposition the toggler elements + + // trigger all individual pane callbacks AFTER layout has finished resizing + o = options; // reuse alias + $.each(_c.allPanes, function (i, pane) { + $P = $Ps[pane]; + if (!$P) return; // SKIP + if (state[pane].isVisible) // undefined for non-existent panes + _runCallbacks("onresize_end", pane); // callback - if exists + }); + + _runCallbacks("onresizeall_end"); + //_triggerLayoutEvent(pane, 'resizeall'); + } + + /** + * Whenever a pane resizes or opens that has a nested layout, trigger resizeAll + * + * @param {string|Object} evt_or_pane The pane just resized or opened + */ +, resizeChildLayout = function (evt_or_pane) { + var pane = evtPane.call(this, evt_or_pane); + if (!options[pane].resizeChildLayout) return; + var $P = $Ps[pane] + , $C = $Cs[pane] + , d = "layout" + , P = Instance[pane] + , L = children[pane] + ; + // user may have manually set EITHER instance pointer, so handle that + if (P.child && !L) { + // have to reverse the pointers! + var el = P.child.container; + L = children[pane] = (el ? el.data(d) : 0) || null; // set pointer _directly_ to layout instance + } + + // if a layout-pointer exists, see if child has been destroyed + if (L && L.destroyed) + L = children[pane] = null; // clear child pointers + // no child layout pointer is set - see if there is a child layout NOW + if (!L) L = children[pane] = $P.data(d) || ($C ? $C.data(d) : 0) || null; // set/update child pointers + + // ALWAYS refresh the pane.child alias + P.child = children[pane]; + + if (L) L.resizeAll(); + } + + + /** + * IF pane has a content-div, then resize all elements inside pane to fit pane-height + * + * @param {string|Object} evt_or_panes The pane(s) being resized + * @param {boolean=} [remeasure=false] Should the content (header/footer) be remeasured? + */ +, sizeContent = function (evt_or_panes, remeasure) { + if (!isInitialized()) return; + + var panes = evtPane.call(this, evt_or_panes); + panes = panes ? panes.split(",") : _c.allPanes; + + $.each(panes, function (idx, pane) { + var + $P = $Ps[pane] + , $C = $Cs[pane] + , o = options[pane] + , s = state[pane] + , m = s.content // m = measurements + ; + if (!$P || !$C || !$P.is(":visible")) return true; // NOT VISIBLE - skip + + // if content-element was REMOVED, update OR remove the pointer + if (!$C.length) { + initContent(pane, false); // false = do NOT sizeContent() - already there! + if (!$C) return; // no replacement element found - pointer have been removed + } + + // onsizecontent_start will CANCEL resizing if returns false + if (false === _runCallbacks("onsizecontent_start", pane)) return; + + // skip re-measuring offsets if live-resizing + if ((!s.isMoving && !s.isResizing) || o.liveContentResizing || remeasure || m.top == undefined) { + _measure(); + // if any footers are below pane-bottom, they may not measure correctly, + // so allow pane overflow and re-measure + if (m.hiddenFooters > 0 && $P.css("overflow") === "hidden") { + $P.css("overflow", "visible"); + _measure(); // remeasure while overflowing + $P.css("overflow", "hidden"); + } + } + // NOTE: spaceAbove/Below *includes* the pane paddingTop/Bottom, but not pane.borders + var newH = s.innerHeight - (m.spaceAbove - s.css.paddingTop) - (m.spaceBelow - s.css.paddingBottom); + + if (!$C.is(":visible") || m.height != newH) { + // size the Content element to fit new pane-size - will autoHide if not enough room + setOuterHeight($C, newH, true); // true=autoHide + m.height = newH; // save new height + }; + + if (state.initialized) + _runCallbacks("onsizecontent_end", pane); + + function _below ($E) { + return max(s.css.paddingBottom, (parseInt($E.css("marginBottom"), 10) || 0)); + }; + + function _measure () { + var + ignore = options[pane].contentIgnoreSelector + , $Fs = $C.nextAll().not(ignore || ':lt(0)') // not :lt(0) = ALL + , $Fs_vis = $Fs.filter(':visible') + , $F = $Fs_vis.filter(':last') + ; + m = { + top: $C[0].offsetTop + , height: $C.outerHeight() + , numFooters: $Fs.length + , hiddenFooters: $Fs.length - $Fs_vis.length + , spaceBelow: 0 // correct if no content footer ($E) + } + m.spaceAbove = m.top; // just for state - not used in calc + m.bottom = m.top + m.height; + if ($F.length) + //spaceBelow = (LastFooter.top + LastFooter.height) [footerBottom] - Content.bottom + max(LastFooter.marginBottom, pane.paddingBotom) + m.spaceBelow = ($F[0].offsetTop + $F.outerHeight()) - m.bottom + _below($F); + else // no footer - check marginBottom on Content element itself + m.spaceBelow = _below($C); + }; + }); + } + + + /** + * Called every time a pane is opened, closed, or resized to slide the togglers to 'center' and adjust their length if necessary + * + * @see initHandles(), open(), close(), resizeAll() + * @param {string|Object} evt_or_panes The pane(s) being resized + */ +, sizeHandles = function (evt_or_panes) { + var panes = evtPane.call(this, evt_or_panes) + panes = panes ? panes.split(",") : _c.borderPanes; + + $.each(panes, function (i, pane) { + var + o = options[pane] + , s = state[pane] + , $P = $Ps[pane] + , $R = $Rs[pane] + , $T = $Ts[pane] + , $TC + ; + if (!$P || !$R) return; + + var + dir = _c[pane].dir + , _state = (s.isClosed ? "_closed" : "_open") + , spacing = o["spacing"+ _state] + , togAlign = o["togglerAlign"+ _state] + , togLen = o["togglerLength"+ _state] + , paneLen + , left + , offset + , CSS = {} + ; + + if (spacing === 0) { + $R.hide(); + return; + } + else if (!s.noRoom && !s.isHidden) // skip if resizer was hidden for any reason + $R.show(); // in case was previously hidden + + // Resizer Bar is ALWAYS same width/height of pane it is attached to + if (dir === "horz") { // north/south + //paneLen = $P.outerWidth(); // s.outerWidth || + paneLen = sC.innerWidth; // handle offscreen-panes + s.resizerLength = paneLen; + left = $.layout.cssNum($P, "left") + $R.css({ + width: cssW($R, paneLen) // account for borders & padding + , height: cssH($R, spacing) // ditto + , left: left > -9999 ? left : sC.insetLeft // handle offscreen-panes + }); + } + else { // east/west + paneLen = $P.outerHeight(); // s.outerHeight || + s.resizerLength = paneLen; + $R.css({ + height: cssH($R, paneLen) // account for borders & padding + , width: cssW($R, spacing) // ditto + , top: sC.insetTop + getPaneSize("north", true) // TODO: what if no North pane? + //, top: $.layout.cssNum($Ps["center"], "top") + }); + } + + // remove hover classes + removeHover( o, $R ); + + if ($T) { + if (togLen === 0 || (s.isSliding && o.hideTogglerOnSlide)) { + $T.hide(); // always HIDE the toggler when 'sliding' + return; + } + else + $T.show(); // in case was previously hidden + + if (!(togLen > 0) || togLen === "100%" || togLen > paneLen) { + togLen = paneLen; + offset = 0; + } + else { // calculate 'offset' based on options.PANE.togglerAlign_open/closed + if (isStr(togAlign)) { + switch (togAlign) { + case "top": + case "left": offset = 0; + break; + case "bottom": + case "right": offset = paneLen - togLen; + break; + case "middle": + case "center": + default: offset = round((paneLen - togLen) / 2); // 'default' catches typos + } + } + else { // togAlign = number + var x = parseInt(togAlign, 10); // + if (togAlign >= 0) offset = x; + else offset = paneLen - togLen + x; // NOTE: x is negative! + } + } + + if (dir === "horz") { // north/south + var width = cssW($T, togLen); + $T.css({ + width: width // account for borders & padding + , height: cssH($T, spacing) // ditto + , left: offset // TODO: VERIFY that toggler positions correctly for ALL values + , top: 0 + }); + // CENTER the toggler content SPAN + $T.children(".content").each(function(){ + $TC = $(this); + $TC.css("marginLeft", round((width-$TC.outerWidth())/2)); // could be negative + }); + } + else { // east/west + var height = cssH($T, togLen); + $T.css({ + height: height // account for borders & padding + , width: cssW($T, spacing) // ditto + , top: offset // POSITION the toggler + , left: 0 + }); + // CENTER the toggler content SPAN + $T.children(".content").each(function(){ + $TC = $(this); + $TC.css("marginTop", round((height-$TC.outerHeight())/2)); // could be negative + }); + } + + // remove ALL hover classes + removeHover( 0, $T ); + } + + // DONE measuring and sizing this resizer/toggler, so can be 'hidden' now + if (!state.initialized && (o.initHidden || s.noRoom)) { + $R.hide(); + if ($T) $T.hide(); + } + }); + } + + + /** + * @param {string|Object} evt_or_pane + */ +, enableClosable = function (evt_or_pane) { + if (!isInitialized()) return; + var pane = evtPane.call(this, evt_or_pane) + , $T = $Ts[pane] + , o = options[pane] + ; + if (!$T) return; + o.closable = true; + $T .bind("click."+ sID, function(evt){ evt.stopPropagation(); toggle(pane); }) + .css("visibility", "visible") + .css("cursor", "pointer") + .attr("title", state[pane].isClosed ? o.tips.Open : o.tips.Close) // may be blank + .show(); + } + /** + * @param {string|Object} evt_or_pane + * @param {boolean=} [hide=false] + */ +, disableClosable = function (evt_or_pane, hide) { + if (!isInitialized()) return; + var pane = evtPane.call(this, evt_or_pane) + , $T = $Ts[pane] + ; + if (!$T) return; + options[pane].closable = false; + // is closable is disable, then pane MUST be open! + if (state[pane].isClosed) open(pane, false, true); + $T .unbind("."+ sID) + .css("visibility", hide ? "hidden" : "visible") // instead of hide(), which creates logic issues + .css("cursor", "default") + .attr("title", ""); + } + + + /** + * @param {string|Object} evt_or_pane + */ +, enableSlidable = function (evt_or_pane) { + if (!isInitialized()) return; + var pane = evtPane.call(this, evt_or_pane) + , $R = $Rs[pane] + ; + if (!$R || !$R.data('draggable')) return; + options[pane].slidable = true; + if (state[pane].isClosed) + bindStartSlidingEvent(pane, true); + } + /** + * @param {string|Object} evt_or_pane + */ +, disableSlidable = function (evt_or_pane) { + if (!isInitialized()) return; + var pane = evtPane.call(this, evt_or_pane) + , $R = $Rs[pane] + ; + if (!$R) return; + options[pane].slidable = false; + if (state[pane].isSliding) + close(pane, false, true); + else { + bindStartSlidingEvent(pane, false); + $R .css("cursor", "default") + .attr("title", ""); + removeHover(null, $R[0]); // in case currently hovered + } + } + + + /** + * @param {string|Object} evt_or_pane + */ +, enableResizable = function (evt_or_pane) { + if (!isInitialized()) return; + var pane = evtPane.call(this, evt_or_pane) + , $R = $Rs[pane] + , o = options[pane] + ; + if (!$R || !$R.data('draggable')) return; + o.resizable = true; + $R.draggable("enable"); + if (!state[pane].isClosed) + $R .css("cursor", o.resizerCursor) + .attr("title", o.tips.Resize); + } + /** + * @param {string|Object} evt_or_pane + */ +, disableResizable = function (evt_or_pane) { + if (!isInitialized()) return; + var pane = evtPane.call(this, evt_or_pane) + , $R = $Rs[pane] + ; + if (!$R || !$R.data('draggable')) return; + options[pane].resizable = false; + $R .draggable("disable") + .css("cursor", "default") + .attr("title", ""); + removeHover(null, $R[0]); // in case currently hovered + } + + + /** + * Move a pane from source-side (eg, west) to target-side (eg, east) + * If pane exists on target-side, move that to source-side, ie, 'swap' the panes + * + * @param {string|Object} evt_or_pane1 The pane/edge being swapped + * @param {string} pane2 ditto + */ +, swapPanes = function (evt_or_pane1, pane2) { + if (!isInitialized()) return; + var pane1 = evtPane.call(this, evt_or_pane1); + // change state.edge NOW so callbacks can know where pane is headed... + state[pane1].edge = pane2; + state[pane2].edge = pane1; + // run these even if NOT state.initialized + if (false === _runCallbacks("onswap_start", pane1) + || false === _runCallbacks("onswap_start", pane2) + ) { + state[pane1].edge = pane1; // reset + state[pane2].edge = pane2; + return; + } + + var + oPane1 = copy( pane1 ) + , oPane2 = copy( pane2 ) + , sizes = {} + ; + sizes[pane1] = oPane1 ? oPane1.state.size : 0; + sizes[pane2] = oPane2 ? oPane2.state.size : 0; + + // clear pointers & state + $Ps[pane1] = false; + $Ps[pane2] = false; + state[pane1] = {}; + state[pane2] = {}; + + // ALWAYS remove the resizer & toggler elements + if ($Ts[pane1]) $Ts[pane1].remove(); + if ($Ts[pane2]) $Ts[pane2].remove(); + if ($Rs[pane1]) $Rs[pane1].remove(); + if ($Rs[pane2]) $Rs[pane2].remove(); + $Rs[pane1] = $Rs[pane2] = $Ts[pane1] = $Ts[pane2] = false; + + // transfer element pointers and data to NEW Layout keys + move( oPane1, pane2 ); + move( oPane2, pane1 ); + + // cleanup objects + oPane1 = oPane2 = sizes = null; + + // make panes 'visible' again + if ($Ps[pane1]) $Ps[pane1].css(_c.visible); + if ($Ps[pane2]) $Ps[pane2].css(_c.visible); + + // fix any size discrepancies caused by swap + resizeAll(); + + // run these even if NOT state.initialized + _runCallbacks("onswap_end", pane1); + _runCallbacks("onswap_end", pane2); + + return; + + function copy (n) { // n = pane + var + $P = $Ps[n] + , $C = $Cs[n] + ; + return !$P ? false : { + pane: n + , P: $P ? $P[0] : false + , C: $C ? $C[0] : false + , state: $.extend(true, {}, state[n]) + , options: $.extend(true, {}, options[n]) + } + }; + + function move (oPane, pane) { + if (!oPane) return; + var + P = oPane.P + , C = oPane.C + , oldPane = oPane.pane + , c = _c[pane] + , side = c.side.toLowerCase() + , inset = "inset"+ c.side + // save pane-options that should be retained + , s = $.extend(true, {}, state[pane]) + , o = options[pane] + // RETAIN side-specific FX Settings - more below + , fx = { resizerCursor: o.resizerCursor } + , re, size, pos + ; + $.each("fxName,fxSpeed,fxSettings".split(","), function (i, k) { + fx[k +"_open"] = o[k +"_open"]; + fx[k +"_close"] = o[k +"_close"]; + fx[k +"_size"] = o[k +"_size"]; + }); + + // update object pointers and attributes + $Ps[pane] = $(P) + .data({ + layoutPane: Instance[pane] // NEW pointer to pane-alias-object + , layoutEdge: pane + }) + .css(_c.hidden) + .css(c.cssReq) + ; + $Cs[pane] = C ? $(C) : false; + + // set options and state + options[pane] = $.extend(true, {}, oPane.options, fx); + state[pane] = $.extend(true, {}, oPane.state); + + // change classNames on the pane, eg: ui-layout-pane-east ==> ui-layout-pane-west + re = new RegExp(o.paneClass +"-"+ oldPane, "g"); + P.className = P.className.replace(re, o.paneClass +"-"+ pane); + + // ALWAYS regenerate the resizer & toggler elements + initHandles(pane); // create the required resizer & toggler + + // if moving to different orientation, then keep 'target' pane size + if (c.dir != _c[oldPane].dir) { + size = sizes[pane] || 0; + setSizeLimits(pane); // update pane-state + size = max(size, state[pane].minSize); + // use manualSizePane to disable autoResize - not useful after panes are swapped + manualSizePane(pane, size, true, true); // true/true = skipCallback/noAnimation + } + else // move the resizer here + $Rs[pane].css(side, sC[inset] + (state[pane].isVisible ? getPaneSize(pane) : 0)); + + + // ADD CLASSNAMES & SLIDE-BINDINGS + if (oPane.state.isVisible && !s.isVisible) + setAsOpen(pane, true); // true = skipCallback + else { + setAsClosed(pane); + bindStartSlidingEvent(pane, true); // will enable events IF option is set + } + + // DESTROY the object + oPane = null; + }; + } + + + /** + * INTERNAL method to sync pin-buttons when pane is opened or closed + * Unpinned means the pane is 'sliding' - ie, over-top of the adjacent panes + * + * @see open(), setAsOpen(), setAsClosed() + * @param {string} pane These are the params returned to callbacks by layout() + * @param {boolean} doPin True means set the pin 'down', False means 'up' + */ +, syncPinBtns = function (pane, doPin) { + if ($.layout.plugins.buttons) + $.each(state[pane].pins, function (i, selector) { + $.layout.buttons.setPinState(Instance, $(selector), pane, doPin); + }); + } + +; // END var DECLARATIONS + + /** + * Capture keys when enableCursorHotkey - toggle pane if hotkey pressed + * + * @see document.keydown() + */ + function keyDown (evt) { + if (!evt) return true; + var code = evt.keyCode; + if (code < 33) return true; // ignore special keys: ENTER, TAB, etc + + var + PANE = { + 38: "north" // Up Cursor - $.ui.keyCode.UP + , 40: "south" // Down Cursor - $.ui.keyCode.DOWN + , 37: "west" // Left Cursor - $.ui.keyCode.LEFT + , 39: "east" // Right Cursor - $.ui.keyCode.RIGHT + } + , ALT = evt.altKey // no worky! + , SHIFT = evt.shiftKey + , CTRL = evt.ctrlKey + , CURSOR = (CTRL && code >= 37 && code <= 40) + , o, k, m, pane + ; + + if (CURSOR && options[PANE[code]].enableCursorHotkey) // valid cursor-hotkey + pane = PANE[code]; + else if (CTRL || SHIFT) // check to see if this matches a custom-hotkey + $.each(_c.borderPanes, function (i, p) { // loop each pane to check its hotkey + o = options[p]; + k = o.customHotkey; + m = o.customHotkeyModifier; // if missing or invalid, treated as "CTRL+SHIFT" + if ((SHIFT && m=="SHIFT") || (CTRL && m=="CTRL") || (CTRL && SHIFT)) { // Modifier matches + if (k && code === (isNaN(k) || k <= 9 ? k.toUpperCase().charCodeAt(0) : k)) { // Key matches + pane = p; + return false; // BREAK + } + } + }); + + // validate pane + if (!pane || !$Ps[pane] || !options[pane].closable || state[pane].isHidden) + return true; + + toggle(pane); + + evt.stopPropagation(); + evt.returnValue = false; // CANCEL key + return false; + }; + + +/* + * ###################################### + * UTILITY METHODS + * called externally or by initButtons + * ###################################### + */ + + /** + * Change/reset a pane overflow setting & zIndex to allow popups/drop-downs to work + * + * @param {Object=} [el] (optional) Can also be 'bound' to a click, mouseOver, or other event + */ + function allowOverflow (el) { + if (!isInitialized()) return; + if (this && this.tagName) el = this; // BOUND to element + var $P; + if (isStr(el)) + $P = $Ps[el]; + else if ($(el).data("layoutRole")) + $P = $(el); + else + $(el).parents().each(function(){ + if ($(this).data("layoutRole")) { + $P = $(this); + return false; // BREAK + } + }); + if (!$P || !$P.length) return; // INVALID + + var + pane = $P.data("layoutEdge") + , s = state[pane] + ; + + // if pane is already raised, then reset it before doing it again! + // this would happen if allowOverflow is attached to BOTH the pane and an element + if (s.cssSaved) + resetOverflow(pane); // reset previous CSS before continuing + + // if pane is raised by sliding or resizing, or its closed, then abort + if (s.isSliding || s.isResizing || s.isClosed) { + s.cssSaved = false; + return; + } + + var + newCSS = { zIndex: (options.zIndexes.resizer_normal + 1) } + , curCSS = {} + , of = $P.css("overflow") + , ofX = $P.css("overflowX") + , ofY = $P.css("overflowY") + ; + // determine which, if any, overflow settings need to be changed + if (of != "visible") { + curCSS.overflow = of; + newCSS.overflow = "visible"; + } + if (ofX && !ofX.match(/(visible|auto)/)) { + curCSS.overflowX = ofX; + newCSS.overflowX = "visible"; + } + if (ofY && !ofY.match(/(visible|auto)/)) { + curCSS.overflowY = ofX; + newCSS.overflowY = "visible"; + } + + // save the current overflow settings - even if blank! + s.cssSaved = curCSS; + + // apply new CSS to raise zIndex and, if necessary, make overflow 'visible' + $P.css( newCSS ); + + // make sure the zIndex of all other panes is normal + $.each(_c.allPanes, function(i, p) { + if (p != pane) resetOverflow(p); + }); + + }; + /** + * @param {Object=} [el] (optional) Can also be 'bound' to a click, mouseOver, or other event + */ + function resetOverflow (el) { + if (!isInitialized()) return; + if (this && this.tagName) el = this; // BOUND to element + var $P; + if (isStr(el)) + $P = $Ps[el]; + else if ($(el).data("layoutRole")) + $P = $(el); + else + $(el).parents().each(function(){ + if ($(this).data("layoutRole")) { + $P = $(this); + return false; // BREAK + } + }); + if (!$P || !$P.length) return; // INVALID + + var + pane = $P.data("layoutEdge") + , s = state[pane] + , CSS = s.cssSaved || {} + ; + // reset the zIndex + if (!s.isSliding && !s.isResizing) + $P.css("zIndex", options.zIndexes.pane_normal); + + // reset Overflow - if necessary + $P.css( CSS ); + + // clear var + s.cssSaved = false; + }; + +/* + * ##################### + * CREATE/RETURN LAYOUT + * ##################### + */ + + // validate that container exists + var $N = $(this).eq(0); // FIRST matching Container element + if (!$N.length) { + return _log( options.errors.containerMissing ); + }; + + // Users retrieve Instance of a layout with: $N.layout() OR $N.data("layout") + // return the Instance-pointer if layout has already been initialized + if ($N.data("layoutContainer") && $N.data("layout")) + return $N.data("layout"); // cached pointer + + // init global vars + var + $Ps = {} // Panes x5 - set in initPanes() + , $Cs = {} // Content x5 - set in initPanes() + , $Rs = {} // Resizers x4 - set in initHandles() + , $Ts = {} // Togglers x4 - set in initHandles() + , $Ms = $([]) // Masks - up to 2 masks per pane (IFRAME + DIV) + // aliases for code brevity + , sC = state.container // alias for easy access to 'container dimensions' + , sID = state.id // alias for unique layout ID/namespace - eg: "layout435" + ; + + // create Instance object to expose data & option Properties, and primary action Methods + var Instance = { + // layout data + options: options // property - options hash + , state: state // property - dimensions hash + // object pointers + , container: $N // property - object pointers for layout container + , panes: $Ps // property - object pointers for ALL Panes: panes.north, panes.center + , contents: $Cs // property - object pointers for ALL Content: contents.north, contents.center + , resizers: $Rs // property - object pointers for ALL Resizers, eg: resizers.north + , togglers: $Ts // property - object pointers for ALL Togglers, eg: togglers.north + // border-pane open/close + , hide: hide // method - ditto + , show: show // method - ditto + , toggle: toggle // method - pass a 'pane' ("north", "west", etc) + , open: open // method - ditto + , close: close // method - ditto + , slideOpen: slideOpen // method - ditto + , slideClose: slideClose // method - ditto + , slideToggle: slideToggle // method - ditto + // pane actions + , setSizeLimits: setSizeLimits // method - pass a 'pane' - update state min/max data + , _sizePane: sizePane // method -intended for user by plugins only! + , sizePane: manualSizePane // method - pass a 'pane' AND an 'outer-size' in pixels or percent, or 'auto' + , sizeContent: sizeContent // method - pass a 'pane' + , swapPanes: swapPanes // method - pass TWO 'panes' - will swap them + , showMasks: showMasks // method - pass a 'pane' OR list of panes - default = all panes with mask option set + , hideMasks: hideMasks // method - ditto' + // pane element methods + , initContent: initContent // method - ditto + , addPane: addPane // method - pass a 'pane' + , removePane: removePane // method - pass a 'pane' to remove from layout, add 'true' to delete the pane-elem + , createChildLayout: createChildLayout// method - pass a 'pane' and (optional) layout-options (OVERRIDES options[pane].childOptions + // special pane option setting + , enableClosable: enableClosable // method - pass a 'pane' + , disableClosable: disableClosable // method - ditto + , enableSlidable: enableSlidable // method - ditto + , disableSlidable: disableSlidable // method - ditto + , enableResizable: enableResizable // method - ditto + , disableResizable: disableResizable// method - ditto + // utility methods for panes + , allowOverflow: allowOverflow // utility - pass calling element (this) + , resetOverflow: resetOverflow // utility - ditto + // layout control + , destroy: destroy // method - no parameters + , initPanes: isInitialized // method - no parameters + , resizeAll: resizeAll // method - no parameters + // callback triggering + , runCallbacks: _runCallbacks // method - pass evtName & pane (if a pane-event), eg: trigger("onopen", "west") + // alias collections of options, state and children - created in addPane and extended elsewhere + , hasParentLayout: false // set by initContainer() + , children: children // pointers to child-layouts, eg: Instance.children["west"] + , north: false // alias group: { name: pane, pane: $Ps[pane], options: options[pane], state: state[pane], child: children[pane] } + , south: false // ditto + , west: false // ditto + , east: false // ditto + , center: false // ditto + }; + + // create the border layout NOW + if (_create() === 'cancel') // onload_start callback returned false to CANCEL layout creation + return null; + else // true OR false -- if layout-elements did NOT init (hidden or do not exist), can auto-init later + return Instance; // return the Instance object + +} + + +/* OLD versions of jQuery only set $.support.boxModel after page is loaded + * so if this is IE, use support.boxModel to test for quirks-mode (ONLY IE changes boxModel). + */ +$(function(){ + var b = $.layout.browser; + if (b.msie) b.boxModel = $.support.boxModel; +}); + + +/** + * jquery.layout.state 1.0 + * $Date: 2011-07-16 08:00:00 (Sat, 16 July 2011) $ + * + * Copyright (c) 2010 + * Kevin Dalman (http://allpro.net) + * + * Dual licensed under the GPL (http://www.gnu.org/licenses/gpl.html) + * and MIT (http://www.opensource.org/licenses/mit-license.php) licenses. + * + * @dependancies: UI Layout 1.3.0.rc30.1 or higher + * @dependancies: $.ui.cookie (above) + * + * @support: http://groups.google.com/group/jquery-ui-layout + */ +/* + * State-management options stored in options.stateManagement, which includes a .cookie hash + * Default options saves ALL KEYS for ALL PANES, ie: pane.size, pane.isClosed, pane.isHidden + * + * // STATE/COOKIE OPTIONS + * @example $(el).layout({ + stateManagement: { + enabled: true + , stateKeys: "east.size,west.size,east.isClosed,west.isClosed" + , cookie: { name: "appLayout", path: "/" } + } + }) + * @example $(el).layout({ stateManagement__enabled: true }) // enable auto-state-management using cookies + * @example $(el).layout({ stateManagement__cookie: { name: "appLayout", path: "/" } }) + * @example $(el).layout({ stateManagement__cookie__name: "appLayout", stateManagement__cookie__path: "/" }) + * + * // STATE/COOKIE METHODS + * @example myLayout.saveCookie( "west.isClosed,north.size,south.isHidden", {expires: 7} ); + * @example myLayout.loadCookie(); + * @example myLayout.deleteCookie(); + * @example var JSON = myLayout.readState(); // CURRENT Layout State + * @example var JSON = myLayout.readCookie(); // SAVED Layout State (from cookie) + * @example var JSON = myLayout.state.stateData; // LAST LOADED Layout State (cookie saved in layout.state hash) + * + * CUSTOM STATE-MANAGEMENT (eg, saved in a database) + * @example var JSON = myLayout.readState( "west.isClosed,north.size,south.isHidden" ); + * @example myLayout.loadState( JSON ); + */ + +/** + * UI COOKIE UTILITY + * + * A $.cookie OR $.ui.cookie namespace *should be standard*, but until then... + * This creates $.ui.cookie so Layout does not need the cookie.jquery.js plugin + * NOTE: This utility is REQUIRED by the layout.state plugin + * + * Cookie methods in Layout are created as part of State Management + */ +if (!$.ui) $.ui = {}; +$.ui.cookie = { + + // cookieEnabled is not in DOM specs, but DOES works in all browsers,including IE6 + acceptsCookies: !!navigator.cookieEnabled + +, read: function (name) { + var + c = document.cookie + , cs = c ? c.split(';') : [] + , pair // loop var + ; + for (var i=0, n=cs.length; i < n; i++) { + pair = $.trim(cs[i]).split('='); // name=value pair + if (pair[0] == name) // found the layout cookie + return decodeURIComponent(pair[1]); + + } + return null; + } + +, write: function (name, val, cookieOpts) { + var + params = '' + , date = '' + , clear = false + , o = cookieOpts || {} + , x = o.expires + ; + if (x && x.toUTCString) + date = x; + else if (x === null || typeof x === 'number') { + date = new Date(); + if (x > 0) + date.setDate(date.getDate() + x); + else { + date.setFullYear(1970); + clear = true; + } + } + if (date) params += ';expires='+ date.toUTCString(); + if (o.path) params += ';path='+ o.path; + if (o.domain) params += ';domain='+ o.domain; + if (o.secure) params += ';secure'; + document.cookie = name +'='+ (clear ? "" : encodeURIComponent( val )) + params; // write or clear cookie + } + +, clear: function (name) { + $.ui.cookie.write(name, '', {expires: -1}); + } + +}; +// if cookie.jquery.js is not loaded, create an alias to replicate it +// this may be useful to other plugins or code dependent on that plugin +if (!$.cookie) $.cookie = function (k, v, o) { + var C = $.ui.cookie; + if (v === null) + C.clear(k); + else if (v === undefined) + return C.read(k); + else + C.write(k, v, o); +}; + + +// tell Layout that the state plugin is available +$.layout.plugins.stateManagement = true; + +// Add State-Management options to layout.defaults +$.layout.config.optionRootKeys.push("stateManagement"); +$.layout.defaults.stateManagement = { + enabled: false // true = enable state-management, even if not using cookies +, autoSave: true // Save a state-cookie when page exits? +, autoLoad: true // Load the state-cookie when Layout inits? + // List state-data to save - must be pane-specific +, stateKeys: "north.size,south.size,east.size,west.size,"+ + "north.isClosed,south.isClosed,east.isClosed,west.isClosed,"+ + "north.isHidden,south.isHidden,east.isHidden,west.isHidden" +, cookie: { + name: "" // If not specified, will use Layout.name, else just "Layout" + , domain: "" // blank = current domain + , path: "" // blank = current page, '/' = entire website + , expires: "" // 'days' to keep cookie - leave blank for 'session cookie' + , secure: false + } +}; +// Set stateManagement as a layout-option, NOT a pane-option +$.layout.optionsMap.layout.push("stateManagement"); + +/* + * State Management methods + */ +$.layout.state = { + + /** + * Get the current layout state and save it to a cookie + * + * myLayout.saveCookie( keys, cookieOpts ) + * + * @param {Object} inst + * @param {(string|Array)=} keys + * @param {Object=} cookieOpts + */ + saveCookie: function (inst, keys, cookieOpts) { + var o = inst.options + , oS = o.stateManagement + , oC = $.extend(true, {}, oS.cookie, cookieOpts || null) + , data = inst.state.stateData = inst.readState( keys || oS.stateKeys ) // read current panes-state + ; + $.ui.cookie.write( oC.name || o.name || "Layout", $.layout.state.encodeJSON(data), oC ); + return $.extend(true, {}, data); // return COPY of state.stateData data + } + + /** + * Remove the state cookie + * + * @param {Object} inst + */ +, deleteCookie: function (inst) { + var o = inst.options; + $.ui.cookie.clear( o.stateManagement.cookie.name || o.name || "Layout" ); + } + + /** + * Read & return data from the cookie - as JSON + * + * @param {Object} inst + */ +, readCookie: function (inst) { + var o = inst.options; + var c = $.ui.cookie.read( o.stateManagement.cookie.name || o.name || "Layout" ); + // convert cookie string back to a hash and return it + return c ? $.layout.state.decodeJSON(c) : {}; + } + + /** + * Get data from the cookie and USE IT to loadState + * + * @param {Object} inst + */ +, loadCookie: function (inst) { + var c = $.layout.state.readCookie(inst); // READ the cookie + if (c) { + inst.state.stateData = $.extend(true, {}, c); // SET state.stateData + inst.loadState(c); // LOAD the retrieved state + } + return c; + } + + /** + * Update layout options from the cookie, if one exists + * + * @param {Object} inst + * @param {Object=} stateData + * @param {boolean=} animate + */ +, loadState: function (inst, stateData, animate) { + stateData = $.layout.transformData( stateData ); // panes = default subkey + if ($.isEmptyObject( stateData )) return; + $.extend(true, inst.options, stateData); // update layout options + // if layout has already been initialized, then UPDATE layout state + if (inst.state.initialized) { + var pane, vis, o, s, h, c + , noAnimate = (animate===false) + ; + $.each($.layout.config.borderPanes, function (idx, pane) { + state = inst.state[pane]; + o = stateData[ pane ]; + if (typeof o != 'object') return; // no key, continue + s = o.size; + c = o.initClosed; + h = o.initHidden; + vis = state.isVisible; + // resize BEFORE opening + if (!vis) + inst.sizePane(pane, s, false, false); + if (h === true) inst.hide(pane, noAnimate); + else if (c === false) inst.open (pane, false, noAnimate); + else if (c === true) inst.close(pane, false, noAnimate); + else if (h === false) inst.show (pane, false, noAnimate); + // resize AFTER any other actions + if (vis) + inst.sizePane(pane, s, false, noAnimate); // animate resize if option passed + }); + }; + } + + /** + * Get the *current layout state* and return it as a hash + * + * @param {Object=} inst + * @param {(string|Array)=} keys + */ +, readState: function (inst, keys) { + var + data = {} + , alt = { isClosed: 'initClosed', isHidden: 'initHidden' } + , state = inst.state + , panes = $.layout.config.allPanes + , pair, pane, key, val + ; + if (!keys) keys = inst.options.stateManagement.stateKeys; // if called by user + if ($.isArray(keys)) keys = keys.join(","); + // convert keys to an array and change delimiters from '__' to '.' + keys = keys.replace(/__/g, ".").split(','); + // loop keys and create a data hash + for (var i=0, n=keys.length; i < n; i++) { + pair = keys[i].split("."); + pane = pair[0]; + key = pair[1]; + if ($.inArray(pane, panes) < 0) continue; // bad pane! + val = state[ pane ][ key ]; + if (val == undefined) continue; + if (key=="isClosed" && state[pane]["isSliding"]) + val = true; // if sliding, then *really* isClosed + ( data[pane] || (data[pane]={}) )[ alt[key] ? alt[key] : key ] = val; + } + return data; + } + + /** + * Stringify a JSON hash so can save in a cookie or db-field + */ +, encodeJSON: function (JSON) { + return parse(JSON); + function parse (h) { + var D=[], i=0, k, v, t; // k = key, v = value + for (k in h) { + v = h[k]; + t = typeof v; + if (t == 'string') // STRING - add quotes + v = '"'+ v +'"'; + else if (t == 'object') // SUB-KEY - recurse into it + v = parse(v); + D[i++] = '"'+ k +'":'+ v; + } + return '{'+ D.join(',') +'}'; + }; + } + + /** + * Convert stringified JSON back to a hash object + * @see $.parseJSON(), adding in jQuery 1.4.1 + */ +, decodeJSON: function (str) { + try { return $.parseJSON ? $.parseJSON(str) : window["eval"]("("+ str +")") || {}; } + catch (e) { return {}; } + } + + +, _create: function (inst) { + var _ = $.layout.state; + // ADD State-Management plugin methods to inst + $.extend( inst, { + // readCookie - update options from cookie - returns hash of cookie data + readCookie: function () { return _.readCookie(inst); } + // deleteCookie + , deleteCookie: function () { _.deleteCookie(inst); } + // saveCookie - optionally pass keys-list and cookie-options (hash) + , saveCookie: function (keys, cookieOpts) { return _.saveCookie(inst, keys, cookieOpts); } + // loadCookie - readCookie and use to loadState() - returns hash of cookie data + , loadCookie: function () { return _.loadCookie(inst); } + // loadState - pass a hash of state to use to update options + , loadState: function (stateData, animate) { _.loadState(inst, stateData, animate); } + // readState - returns hash of current layout-state + , readState: function (keys) { return _.readState(inst, keys); } + // add JSON utility methods too... + , encodeJSON: _.encodeJSON + , decodeJSON: _.decodeJSON + }); + + // init state.stateData key, even if plugin is initially disabled + inst.state.stateData = {}; + + // read and load cookie-data per options + var oS = inst.options.stateManagement; + if (oS.enabled) { + if (oS.autoLoad) // update the options from the cookie + inst.loadCookie(); + else // don't modify options - just store cookie data in state.stateData + inst.state.stateData = inst.readCookie(); + } + } + +, _unload: function (inst) { + var oS = inst.options.stateManagement; + if (oS.enabled) { + if (oS.autoSave) // save a state-cookie automatically + inst.saveCookie(); + else // don't save a cookie, but do store state-data in state.stateData key + inst.state.stateData = inst.readState(); + } + } + +}; + +// add state initialization method to Layout's onCreate array of functions +$.layout.onCreate.push( $.layout.state._create ); +$.layout.onUnload.push( $.layout.state._unload ); + + + + +/** + * jquery.layout.buttons 1.0 + * $Date: 2011-07-16 08:00:00 (Sat, 16 July 2011) $ + * + * Copyright (c) 2010 + * Kevin Dalman (http://allpro.net) + * + * Dual licensed under the GPL (http://www.gnu.org/licenses/gpl.html) + * and MIT (http://www.opensource.org/licenses/mit-license.php) licenses. + * + * @dependancies: UI Layout 1.3.0.rc30.1 or higher + * + * @support: http://groups.google.com/group/jquery-ui-layout + * + * Docs: [ to come ] + * Tips: [ to come ] + */ + +// tell Layout that the state plugin is available +$.layout.plugins.buttons = true; + +// Add buttons options to layout.defaults +$.layout.defaults.autoBindCustomButtons = false; +// Specify autoBindCustomButtons as a layout-option, NOT a pane-option +$.layout.optionsMap.layout.push("autoBindCustomButtons"); + +/* + * Button methods + */ +$.layout.buttons = { + + /** + * Searches for .ui-layout-button-xxx elements and auto-binds them as layout-buttons + * + * @see _create() + * + * @param {Object} inst Layout Instance object + */ + init: function (inst) { + var pre = "ui-layout-button-" + , layout = inst.options.name || "" + , name; + $.each("toggle,open,close,pin,toggle-slide,open-slide".split(","), function (i, action) { + $.each($.layout.config.borderPanes, function (ii, pane) { + $("."+pre+action+"-"+pane).each(function(){ + // if button was previously 'bound', data.layoutName was set, but is blank if layout has no 'name' + name = $(this).data("layoutName") || $(this).attr("layoutName"); + if (name == undefined || name === layout) + inst.bindButton(this, action, pane); + }); + }); + }); + } + + /** + * Helper function to validate params received by addButton utilities + * + * Two classes are added to the element, based on the buttonClass... + * The type of button is appended to create the 2nd className: + * - ui-layout-button-pin // action btnClass + * - ui-layout-button-pin-west // action btnClass + pane + * - ui-layout-button-toggle + * - ui-layout-button-open + * - ui-layout-button-close + * + * @param {Object} inst Layout Instance object + * @param {(string|!Object)} selector jQuery selector (or element) for button, eg: ".ui-layout-north .toggle-button" + * @param {string} pane Name of the pane the button is for: 'north', 'south', etc. + * + * @return {Array.} If both params valid, the element matching 'selector' in a jQuery wrapper - otherwise returns null + */ +, get: function (inst, selector, pane, action) { + var $E = $(selector) + , o = inst.options + , err = o.errors.addButtonError + ; + if (!$E.length) { // element not found + $.layout.msg(err +" "+ o.errors.selector +": "+ selector, true); + } + else if ($.inArray(pane, $.layout.config.borderPanes) < 0) { // invalid 'pane' sepecified + $.layout.msg(err +" "+ o.errors.pane +": "+ pane, true); + $E = $(""); // NO BUTTON + } + else { // VALID + var btn = o[pane].buttonClass +"-"+ action; + $E .addClass( btn +" "+ btn +"-"+ pane ) + .data("layoutName", o.name); // add layout identifier - even if blank! + } + return $E; + } + + + /** + * NEW syntax for binding layout-buttons - will eventually replace addToggle, addOpen, etc. + * + * @param {Object} inst Layout Instance object + * @param {(string|!Object)} selector jQuery selector (or element) for button, eg: ".ui-layout-north .toggle-button" + * @param {string} action + * @param {string} pane + */ +, bind: function (inst, selector, action, pane) { + var _ = $.layout.buttons; + switch (action.toLowerCase()) { + case "toggle": _.addToggle (inst, selector, pane); break; + case "open": _.addOpen (inst, selector, pane); break; + case "close": _.addClose (inst, selector, pane); break; + case "pin": _.addPin (inst, selector, pane); break; + case "toggle-slide": _.addToggle (inst, selector, pane, true); break; + case "open-slide": _.addOpen (inst, selector, pane, true); break; + } + return inst; + } + + /** + * Add a custom Toggler button for a pane + * + * @param {Object} inst Layout Instance object + * @param {(string|!Object)} selector jQuery selector (or element) for button, eg: ".ui-layout-north .toggle-button" + * @param {string} pane Name of the pane the button is for: 'north', 'south', etc. + * @param {boolean=} slide true = slide-open, false = pin-open + */ +, addToggle: function (inst, selector, pane, slide) { + $.layout.buttons.get(inst, selector, pane, "toggle") + .click(function(evt){ + inst.toggle(pane, !!slide); + evt.stopPropagation(); + }); + return inst; + } + + /** + * Add a custom Open button for a pane + * + * @param {Object} inst Layout Instance object + * @param {(string|!Object)} selector jQuery selector (or element) for button, eg: ".ui-layout-north .toggle-button" + * @param {string} pane Name of the pane the button is for: 'north', 'south', etc. + * @param {boolean=} slide true = slide-open, false = pin-open + */ +, addOpen: function (inst, selector, pane, slide) { + $.layout.buttons.get(inst, selector, pane, "open") + .attr("title", inst.options[pane].tips.Open) + .click(function (evt) { + inst.open(pane, !!slide); + evt.stopPropagation(); + }); + return inst; + } + + /** + * Add a custom Close button for a pane + * + * @param {Object} inst Layout Instance object + * @param {(string|!Object)} selector jQuery selector (or element) for button, eg: ".ui-layout-north .toggle-button" + * @param {string} pane Name of the pane the button is for: 'north', 'south', etc. + */ +, addClose: function (inst, selector, pane) { + $.layout.buttons.get(inst, selector, pane, "close") + .attr("title", inst.options[pane].tips.Close) + .click(function (evt) { + inst.close(pane); + evt.stopPropagation(); + }); + return inst; + } + + /** + * Add a custom Pin button for a pane + * + * Four classes are added to the element, based on the paneClass for the associated pane... + * Assuming the default paneClass and the pin is 'up', these classes are added for a west-pane pin: + * - ui-layout-pane-pin + * - ui-layout-pane-west-pin + * - ui-layout-pane-pin-up + * - ui-layout-pane-west-pin-up + * + * @param {Object} inst Layout Instance object + * @param {(string|!Object)} selector jQuery selector (or element) for button, eg: ".ui-layout-north .toggle-button" + * @param {string} pane Name of the pane the pin is for: 'north', 'south', etc. + */ +, addPin: function (inst, selector, pane) { + var _ = $.layout.buttons + , $E = _.get(inst, selector, pane, "pin"); + if ($E.length) { + var s = inst.state[pane]; + $E.click(function (evt) { + _.setPinState(inst, $(this), pane, (s.isSliding || s.isClosed)); + if (s.isSliding || s.isClosed) inst.open( pane ); // change from sliding to open + else inst.close( pane ); // slide-closed + evt.stopPropagation(); + }); + // add up/down pin attributes and classes + _.setPinState(inst, $E, pane, (!s.isClosed && !s.isSliding)); + // add this pin to the pane data so we can 'sync it' automatically + // PANE.pins key is an array so we can store multiple pins for each pane + s.pins.push( selector ); // just save the selector string + } + return inst; + } + + /** + * Change the class of the pin button to make it look 'up' or 'down' + * + * @see addPin(), syncPins() + * + * @param {Object} inst Layout Instance object + * @param {Array.} $Pin The pin-span element in a jQuery wrapper + * @param {string} pane These are the params returned to callbacks by layout() + * @param {boolean} doPin true = set the pin 'down', false = set it 'up' + */ +, setPinState: function (inst, $Pin, pane, doPin) { + var updown = $Pin.attr("pin"); + if (updown && doPin === (updown=="down")) return; // already in correct state + var + o = inst.options[pane] + , pin = o.buttonClass +"-pin" + , side = pin +"-"+ pane + , UP = pin +"-up "+ side +"-up" + , DN = pin +"-down "+side +"-down" + ; + $Pin + .attr("pin", doPin ? "down" : "up") // logic + .attr("title", doPin ? o.tips.Unpin : o.tips.Pin) + .removeClass( doPin ? UP : DN ) + .addClass( doPin ? DN : UP ) + ; + } + + /** + * INTERNAL function to sync 'pin buttons' when pane is opened or closed + * Unpinned means the pane is 'sliding' - ie, over-top of the adjacent panes + * + * @see open(), close() + * + * @param {Object} inst Layout Instance object + * @param {string} pane These are the params returned to callbacks by layout() + * @param {boolean} doPin True means set the pin 'down', False means 'up' + */ +, syncPinBtns: function (inst, pane, doPin) { + // REAL METHOD IS _INSIDE_ LAYOUT - THIS IS HERE JUST FOR REFERENCE + $.each(inst.state[pane].pins, function (i, selector) { + $.layout.buttons.setPinState(inst, $(selector), pane, doPin); + }); + } + + +, _load: function (inst) { + var _ = $.layout.buttons; + // ADD Button methods to Layout Instance + // Note: sel = jQuery Selector string + $.extend( inst, { + bindButton: function (sel, action, pane) { return _.bind(inst, sel, action, pane); } + // DEPRECATED METHODS + , addToggleBtn: function (sel, pane, slide) { return _.addToggle(inst, sel, pane, slide); } + , addOpenBtn: function (sel, pane, slide) { return _.addOpen(inst, sel, pane, slide); } + , addCloseBtn: function (sel, pane) { return _.addClose(inst, sel, pane); } + , addPinBtn: function (sel, pane) { return _.addPin(inst, sel, pane); } + }); + + // init state array to hold pin-buttons + for (var i=0; i<4; i++) { + var pane = $.layout.config.borderPanes[i]; + inst.state[pane].pins = []; + } + + // auto-init buttons onLoad if option is enabled + if ( inst.options.autoBindCustomButtons ) + _.init(inst); + } + +, _unload: function (inst) { + // TODO: unbind all buttons??? + } + +}; + +// add initialization method to Layout's onLoad array of functions +$.layout.onLoad.push( $.layout.buttons._load ); +//$.layout.onUnload.push( $.layout.buttons._unload ); + + + +/** + * jquery.layout.browserZoom 1.0 + * $Date: 2011-12-29 08:00:00 (Thu, 29 Dec 2011) $ + * + * Copyright (c) 2012 + * Kevin Dalman (http://allpro.net) + * + * Dual licensed under the GPL (http://www.gnu.org/licenses/gpl.html) + * and MIT (http://www.opensource.org/licenses/mit-license.php) licenses. + * + * @dependancies: UI Layout 1.3.0.rc30.1 or higher + * + * @support: http://groups.google.com/group/jquery-ui-layout + * + * @todo: Extend logic to handle other problematic zooming in browsers + * @todo: Add hotkey/mousewheel bindings to _instantly_ respond to these zoom event + */ + +// tell Layout that the plugin is available +$.layout.plugins.browserZoom = true; + +$.layout.defaults.browserZoomCheckInterval = 1000; +$.layout.optionsMap.layout.push("browserZoomCheckInterval"); + +/* + * browserZoom methods + */ +$.layout.browserZoom = { + + _init: function (inst) { + // abort if browser does not need this check + if ($.layout.browserZoom.ratio() !== false) + $.layout.browserZoom._setTimer(inst); + } + +, _setTimer: function (inst) { + // abort if layout destroyed or browser does not need this check + if (inst.destroyed) return; + var o = inst.options + , s = inst.state + // don't need check if inst has parentLayout, but check occassionally in case parent destroyed! + // MINIMUM 100ms interval, for performance + , ms = inst.hasParentLayout ? 5000 : Math.max( o.browserZoomCheckInterval, 100 ) + ; + // set the timer + setTimeout(function(){ + if (inst.destroyed || !o.resizeWithWindow) return; + var d = $.layout.browserZoom.ratio(); + if (d !== s.browserZoom) { + s.browserZoom = d; + inst.resizeAll(); + } + // set a NEW timeout + $.layout.browserZoom._setTimer(inst); + } + , ms ); + } + +, ratio: function () { + var w = window + , s = screen + , d = document + , dE = d.documentElement || d.body + , b = $.layout.browser + , v = b.version + , r, sW, cW + ; + // we can ignore all browsers that fire window.resize event onZoom + if ((b.msie && v > 8) + || !b.msie + ) return false; // don't need to track zoom + + if (s.deviceXDPI) + return calc(s.deviceXDPI, s.systemXDPI); + // everything below is just for future reference! + if (b.webkit && (r = d.body.getBoundingClientRect)) + return calc((r.left - r.right), d.body.offsetWidth); + if (b.webkit && (sW = w.outerWidth)) + return calc(sW, w.innerWidth); + if ((sW = s.width) && (cW = dE.clientWidth)) + return calc(sW, cW); + return false; // no match, so cannot - or don't need to - track zoom + + function calc (x,y) { return (parseInt(x,10) / parseInt(y,10) * 100).toFixed(); } + } + +}; +// add initialization method to Layout's onLoad array of functions +$.layout.onReady.push( $.layout.browserZoom._init ); + + + +})( jQuery ); diff --git a/manual1903/api_reference/didentification/scaladocs/lib/modernizr.custom.js b/manual1903/api_reference/didentification/scaladocs/lib/modernizr.custom.js new file mode 100644 index 0000000000000000000000000000000000000000..4688d633fe15b2bb5f49ecb274cae0e6557eeba0 --- /dev/null +++ b/manual1903/api_reference/didentification/scaladocs/lib/modernizr.custom.js @@ -0,0 +1,4 @@ +/* Modernizr 2.5.3 (Custom Build) | MIT & BSD + * Build: http://www.modernizr.com/download/#-inlinesvg + */ +;window.Modernizr=function(a,b,c){function u(a){i.cssText=a}function v(a,b){return u(prefixes.join(a+";")+(b||""))}function w(a,b){return typeof a===b}function x(a,b){return!!~(""+a).indexOf(b)}function y(a,b,d){for(var e in a){var f=b[a[e]];if(f!==c)return d===!1?a[e]:w(f,"function")?f.bind(d||b):f}return!1}var d="2.5.3",e={},f=b.documentElement,g="modernizr",h=b.createElement(g),i=h.style,j,k={}.toString,l={svg:"http://www.w3.org/2000/svg"},m={},n={},o={},p=[],q=p.slice,r,s={}.hasOwnProperty,t;!w(s,"undefined")&&!w(s.call,"undefined")?t=function(a,b){return s.call(a,b)}:t=function(a,b){return b in a&&w(a.constructor.prototype[b],"undefined")},Function.prototype.bind||(Function.prototype.bind=function(b){var c=this;if(typeof c!="function")throw new TypeError;var d=q.call(arguments,1),e=function(){if(this instanceof e){var a=function(){};a.prototype=c.prototype;var f=new a,g=c.apply(f,d.concat(q.call(arguments)));return Object(g)===g?g:f}return c.apply(b,d.concat(q.call(arguments)))};return e}),m.inlinesvg=function(){var a=b.createElement("div");return a.innerHTML="",(a.firstChild&&a.firstChild.namespaceURI)==l.svg};for(var z in m)t(m,z)&&(r=z.toLowerCase(),e[r]=m[z](),p.push((e[r]?"":"no-")+r));return u(""),h=j=null,e._version=d,e}(this,this.document); \ No newline at end of file diff --git a/manual1903/api_reference/didentification/scaladocs/lib/navigation-li-a.png b/manual1903/api_reference/didentification/scaladocs/lib/navigation-li-a.png new file mode 100644 index 0000000000000000000000000000000000000000..9b32288e045cd94e6aaa0e35f1382a32b66b64da Binary files /dev/null and b/manual1903/api_reference/didentification/scaladocs/lib/navigation-li-a.png differ diff --git a/manual1903/api_reference/didentification/scaladocs/lib/navigation-li.png b/manual1903/api_reference/didentification/scaladocs/lib/navigation-li.png new file mode 100644 index 0000000000000000000000000000000000000000..fd0ad06e819742b15f3a982a9b2e50bbaa886a1e Binary files /dev/null and b/manual1903/api_reference/didentification/scaladocs/lib/navigation-li.png differ diff --git a/manual1903/api_reference/didentification/scaladocs/lib/object.png b/manual1903/api_reference/didentification/scaladocs/lib/object.png new file mode 100644 index 0000000000000000000000000000000000000000..ad312793ea64e50c60dce89da57a78b4b6d44730 Binary files /dev/null and b/manual1903/api_reference/didentification/scaladocs/lib/object.png differ diff --git a/manual1903/api_reference/didentification/scaladocs/lib/object_big.png b/manual1903/api_reference/didentification/scaladocs/lib/object_big.png new file mode 100644 index 0000000000000000000000000000000000000000..67ffca79defdbb0531437d41fc27ce1ea58a17c5 Binary files /dev/null and b/manual1903/api_reference/didentification/scaladocs/lib/object_big.png differ diff --git a/manual1903/api_reference/didentification/scaladocs/lib/object_diagram.png b/manual1903/api_reference/didentification/scaladocs/lib/object_diagram.png new file mode 100644 index 0000000000000000000000000000000000000000..6e9f2f743f67c15e04846f14819a913713b216e4 Binary files /dev/null and b/manual1903/api_reference/didentification/scaladocs/lib/object_diagram.png differ diff --git a/manual1903/api_reference/didentification/scaladocs/lib/object_to_class_big.png b/manual1903/api_reference/didentification/scaladocs/lib/object_to_class_big.png new file mode 100644 index 0000000000000000000000000000000000000000..7502942eb68134f5569c5c00e84533f452093c43 Binary files /dev/null and b/manual1903/api_reference/didentification/scaladocs/lib/object_to_class_big.png differ diff --git a/manual1903/api_reference/didentification/scaladocs/lib/object_to_trait_big.png b/manual1903/api_reference/didentification/scaladocs/lib/object_to_trait_big.png new file mode 100644 index 0000000000000000000000000000000000000000..c777bfce8dd0a169f484641a3f439720fd23c427 Binary files /dev/null and b/manual1903/api_reference/didentification/scaladocs/lib/object_to_trait_big.png differ diff --git a/manual1903/api_reference/didentification/scaladocs/lib/object_to_type_big.png b/manual1903/api_reference/didentification/scaladocs/lib/object_to_type_big.png new file mode 100644 index 0000000000000000000000000000000000000000..7502942eb68134f5569c5c00e84533f452093c43 Binary files /dev/null and b/manual1903/api_reference/didentification/scaladocs/lib/object_to_type_big.png differ diff --git a/manual1903/api_reference/didentification/scaladocs/lib/ownderbg2.gif b/manual1903/api_reference/didentification/scaladocs/lib/ownderbg2.gif new file mode 100644 index 0000000000000000000000000000000000000000..848dd5963a133dc18b9f055928150dc5e762dde0 Binary files /dev/null and b/manual1903/api_reference/didentification/scaladocs/lib/ownderbg2.gif differ diff --git a/manual1903/api_reference/didentification/scaladocs/lib/ownerbg.gif b/manual1903/api_reference/didentification/scaladocs/lib/ownerbg.gif new file mode 100644 index 0000000000000000000000000000000000000000..34a04249ee9edc75662a2539fe7daa04424cbe8d Binary files /dev/null and b/manual1903/api_reference/didentification/scaladocs/lib/ownerbg.gif differ diff --git a/manual1903/api_reference/didentification/scaladocs/lib/ownerbg2.gif b/manual1903/api_reference/didentification/scaladocs/lib/ownerbg2.gif new file mode 100644 index 0000000000000000000000000000000000000000..2ed33b0aa4a3741c9b7c2b0c0e83555d371f0c6e Binary files /dev/null and b/manual1903/api_reference/didentification/scaladocs/lib/ownerbg2.gif differ diff --git a/manual1903/api_reference/didentification/scaladocs/lib/package.png b/manual1903/api_reference/didentification/scaladocs/lib/package.png new file mode 100644 index 0000000000000000000000000000000000000000..6ea17ac320ec13c02680c5549cf496d007ea6acf Binary files /dev/null and b/manual1903/api_reference/didentification/scaladocs/lib/package.png differ diff --git a/manual1903/api_reference/didentification/scaladocs/lib/package_big.png b/manual1903/api_reference/didentification/scaladocs/lib/package_big.png new file mode 100644 index 0000000000000000000000000000000000000000..529aa9318851b5207355cf316ce35a50bc4731bb Binary files /dev/null and b/manual1903/api_reference/didentification/scaladocs/lib/package_big.png differ diff --git a/manual1903/api_reference/didentification/scaladocs/lib/packagesbg.gif b/manual1903/api_reference/didentification/scaladocs/lib/packagesbg.gif new file mode 100644 index 0000000000000000000000000000000000000000..00c3378a2a3af6ed04c42476fda69db07d622787 Binary files /dev/null and b/manual1903/api_reference/didentification/scaladocs/lib/packagesbg.gif differ diff --git a/manual1903/api_reference/didentification/scaladocs/lib/permalink.png b/manual1903/api_reference/didentification/scaladocs/lib/permalink.png new file mode 100644 index 0000000000000000000000000000000000000000..d54bc93f6a709dc33c59bd99280ebc6505ff14a9 Binary files /dev/null and b/manual1903/api_reference/didentification/scaladocs/lib/permalink.png differ diff --git a/manual1903/api_reference/didentification/scaladocs/lib/ref-index.css b/manual1903/api_reference/didentification/scaladocs/lib/ref-index.css new file mode 100644 index 0000000000000000000000000000000000000000..7d64b9c5c533e0acaab95fdb5b2705b1c9fb7978 --- /dev/null +++ b/manual1903/api_reference/didentification/scaladocs/lib/ref-index.css @@ -0,0 +1,30 @@ +body { + font-size: 10pt; + font-family: Arial, sans-serif; +} + +a { + color:#315479; +} + +.letters { + width:100%; + text-align:center; + margin:0.6em; + padding:0.1em; + border-bottom:1px solid gray; +} + +.entry { + border-bottom: 1px solid lightgray; + padding: 5px 0 8px; +} + +.name { + /* background-color:#E5E5E5; */ +} + +.occurrences { + margin-left: 1em; + margin-top: 5px; +} \ No newline at end of file diff --git a/manual1903/api_reference/didentification/scaladocs/lib/remove.png b/manual1903/api_reference/didentification/scaladocs/lib/remove.png new file mode 100644 index 0000000000000000000000000000000000000000..4625f9df7439960a2109b08e9019c2615dfd44e7 Binary files /dev/null and b/manual1903/api_reference/didentification/scaladocs/lib/remove.png differ diff --git a/manual1903/api_reference/didentification/scaladocs/lib/scheduler.js b/manual1903/api_reference/didentification/scaladocs/lib/scheduler.js new file mode 100644 index 0000000000000000000000000000000000000000..4417f5b4385729f6023b05c03bd75c59fe82e596 --- /dev/null +++ b/manual1903/api_reference/didentification/scaladocs/lib/scheduler.js @@ -0,0 +1,71 @@ +// © 2010 EPFL/LAMP +// code by Gilles Dubochet + +function Scheduler() { + var scheduler = this; + var resolution = 0; + this.timeout = undefined; + this.queues = new Array(0); // an array of work pacakges indexed by index in the labels table. + this.labels = new Array(0); // an indexed array of labels indexed by priority. This should be short. + this.label = function(name, priority) { + this.name = name; + this.priority = priority; + } + this.work = function(fn, self, args) { + this.fn = fn; + this.self = self; + this.args = args; + } + this.addLabel = function(name, priority) { + var idx = 0; + while (idx < scheduler.queues.length && scheduler.labels[idx].priority <= priority) { idx = idx + 1; } + scheduler.labels.splice(idx, 0, new scheduler.label(name, priority)); + scheduler.queues.splice(idx, 0, new Array(0)); + } + this.clearLabel = function(name) { + var idx = 0; + while (idx < scheduler.queues.length && scheduler.labels[idx].name != name) { idx = idx + 1; } + if (idx < scheduler.queues.length && scheduler.labels[i].name == name) { + scheduler.labels.splice(idx, 1); + scheduler.queues.splice(idx, 1); + } + } + this.nextWork = function() { + var fn = undefined; + var idx = 0; + while (idx < scheduler.queues.length && scheduler.queues[idx].length == 0) { idx = idx + 1; } + if (idx < scheduler.queues.length && scheduler.queues[idx].length > 0) { + var fn = scheduler.queues[idx].shift(); + } + return fn; + } + this.add = function(labelName, fn, self, args) { + var doWork = function() { + scheduler.timeout = setTimeout(function() { + var work = scheduler.nextWork(); + if (work != undefined) { + if (work.args == undefined) { work.args = new Array(0); } + work.fn.apply(work.self, work.args); + doWork(); + } + else { + scheduler.timeout = undefined; + } + }, resolution); + } + var idx = 0; + while (idx < scheduler.labels.length && scheduler.labels[idx].name != labelName) { idx = idx + 1; } + if (idx < scheduler.queues.length && scheduler.labels[idx].name == labelName) { + scheduler.queues[idx].push(new scheduler.work(fn, self, args)); + if (scheduler.timeout == undefined) doWork(); + } + else throw("queue for add is non existant"); + } + this.clear = function(labelName) { + var idx = 0; + while (idx < scheduler.labels.length && scheduler.labels[idx].name != labelName) { idx = idx + 1; } + if (idx < scheduler.queues.length && scheduler.labels[idx].name == labelName) { + scheduler.queues[idx] = new Array(); + } + } +}; diff --git a/manual1903/api_reference/didentification/scaladocs/lib/selected-implicits.png b/manual1903/api_reference/didentification/scaladocs/lib/selected-implicits.png new file mode 100644 index 0000000000000000000000000000000000000000..bc29efb3e60134039e702d5449e685a3bc103f06 Binary files /dev/null and b/manual1903/api_reference/didentification/scaladocs/lib/selected-implicits.png differ diff --git a/manual1903/api_reference/didentification/scaladocs/lib/selected-right-implicits.png b/manual1903/api_reference/didentification/scaladocs/lib/selected-right-implicits.png new file mode 100644 index 0000000000000000000000000000000000000000..8313f4975b4e7191d18183adcd8de77659622874 Binary files /dev/null and b/manual1903/api_reference/didentification/scaladocs/lib/selected-right-implicits.png differ diff --git a/manual1903/api_reference/didentification/scaladocs/lib/selected-right.png b/manual1903/api_reference/didentification/scaladocs/lib/selected-right.png new file mode 100644 index 0000000000000000000000000000000000000000..04eda2f3071a81ada129b906e60709eb5b1c4e29 Binary files /dev/null and b/manual1903/api_reference/didentification/scaladocs/lib/selected-right.png differ diff --git a/manual1903/api_reference/didentification/scaladocs/lib/selected.png b/manual1903/api_reference/didentification/scaladocs/lib/selected.png new file mode 100644 index 0000000000000000000000000000000000000000..c89765239e074f40ac120c7429b5d65a47dc218d Binary files /dev/null and b/manual1903/api_reference/didentification/scaladocs/lib/selected.png differ diff --git a/manual1903/api_reference/didentification/scaladocs/lib/selected2-right.png b/manual1903/api_reference/didentification/scaladocs/lib/selected2-right.png new file mode 100644 index 0000000000000000000000000000000000000000..bf984ef0bac9acacf732a22f6dbb9f648a6dc26a Binary files /dev/null and b/manual1903/api_reference/didentification/scaladocs/lib/selected2-right.png differ diff --git a/manual1903/api_reference/didentification/scaladocs/lib/selected2.png b/manual1903/api_reference/didentification/scaladocs/lib/selected2.png new file mode 100644 index 0000000000000000000000000000000000000000..a790bb1169b6b54de1d51f7778ee552979f52183 Binary files /dev/null and b/manual1903/api_reference/didentification/scaladocs/lib/selected2.png differ diff --git a/manual1903/api_reference/didentification/scaladocs/lib/signaturebg.gif b/manual1903/api_reference/didentification/scaladocs/lib/signaturebg.gif new file mode 100644 index 0000000000000000000000000000000000000000..b6ac4415e4a3a3ce7e38401a476beea7b1938585 Binary files /dev/null and b/manual1903/api_reference/didentification/scaladocs/lib/signaturebg.gif differ diff --git a/manual1903/api_reference/didentification/scaladocs/lib/signaturebg2.gif b/manual1903/api_reference/didentification/scaladocs/lib/signaturebg2.gif new file mode 100644 index 0000000000000000000000000000000000000000..9aae5ba0aaa44ba14acce95565d9610a03e3defb Binary files /dev/null and b/manual1903/api_reference/didentification/scaladocs/lib/signaturebg2.gif differ diff --git a/manual1903/api_reference/didentification/scaladocs/lib/template.css b/manual1903/api_reference/didentification/scaladocs/lib/template.css new file mode 100644 index 0000000000000000000000000000000000000000..e84d7c1ca66d1b8a6ac542f3918c53738049f3a1 --- /dev/null +++ b/manual1903/api_reference/didentification/scaladocs/lib/template.css @@ -0,0 +1,893 @@ +/* Reset */ + +html, body, div, span, object, iframe, +h1, h2, h3, h4, h5, h6, p, blockquote, pre, +a, abbr, acronym, address, code, pre, +del, dfn, em, img, q, dl, dt, dd, ol, ul, li, +fieldset, form, label, legend, input, +table, caption, tbody, tfoot, thead, tr, th, td { + margin: 0; + padding: 0; + border: 0; + font-weight: inherit; + font-style: inherit; + font-size: 100%; + font-family: inherit; + vertical-align: baseline; +} + +table { border-collapse: separate; border-spacing: 0; } +caption, th, td { text-align: left; font-weight: normal; } +table, td, th { vertical-align: middle; } + +blockquote:before, blockquote:after, q:before, q:after { content: ""; } +blockquote, q { quotes: none; } + +a img { border: none; } + +input { border-width: 0px; } + +/* Page */ + +body { + font-family: Arial, sans-serif; + font-size: 10pt; +} + +#footer { + font-size: 9pt; + text-align: center; + color: #858484; + bottom: 0; + width: 100%; + height: 20px; +} + +a[href] { + text-decoration: underline; + color: #315479; +} + +a[href]:hover { + text-decoration: none; +} + +#types ol li > p { + margin-top: 5px; +} + +#types ol li:last-child { + margin-bottom: 5px; +} + +/* +#definition { + padding: 6px 0 6px 6px; + min-height: 59px; + color: white; +} +*/ + +#definition { + display: block-inline; + padding: 5px 0px; + height: 61px; +} + +#definition > img { + float: left; + padding-right: 6px; + padding-left: 5px; +} + +#definition > a > img { + float: left; + padding-right: 6px; + padding-left: 5px; +} + +#definition p + h1 { + margin-top: 3px; +} + +#definition > h1 { +/* padding: 12px 0 12px 6px;*/ + color: white; + text-shadow: 3px black; + text-shadow: black 0px 2px 0px; + font-size: 24pt; + display: inline-block; + overflow: hidden; + margin-top: 10px; +} + +#definition h1 > a { + color: #ffffff; + font-size: 24pt; + text-shadow: black 0px 2px 0px; +/* text-shadow: black 0px 0px 0px;*/ +text-decoration: none; +} + +#definition #owner { + color: #ffffff; + margin-top: 4px; + font-size: 10pt; + overflow: hidden; +} + +#definition #owner > a { + color: #ffffff; +} + +#definition #owner > a:hover { + text-decoration: none; +} + +#signature { + background-image:url('signaturebg2.gif'); + background-color: #d7d7d7; + min-height: 18px; + background-repeat:repeat-x; + font-size: 11.5pt; +/* margin-bottom: 10px;*/ + padding: 8px; +} + +#signature > span.modifier_kind { + display: inline; + float: left; + text-align: left; + width: auto; + position: static; + text-shadow: 2px white; + text-shadow: white 0px 1px 0px; +} + +#signature > span.symbol { + text-align: left; + display: inline; + padding-left: 0.7em; + text-shadow: 2px white; + text-shadow: white 0px 1px 0px; +} + +/* Linear super types and known subclasses */ +.hiddenContent { + display: none; +} + +.toggleContainer .toggle { + cursor: pointer; + padding-left: 15px; + background: url("arrow-right.png") no-repeat 0 3px transparent; +} + +.toggleContainer .toggle.open { + background: url("arrow-down.png") no-repeat 0 3px transparent; +} + +.toggleContainer .hiddenContent { + margin-top: 5px; +} + +.value #definition { + background-color: #2C475C; /* blue */ + background-image:url('defbg-blue.gif'); + background-repeat:repeat-x; +} + +.type #definition { + background-color: #316555; /* green */ + background-image:url('defbg-green.gif'); + background-repeat:repeat-x; +} + +#template { + margin-bottom: 50px; +} + +h3 { + color: white; + padding: 5px 10px; + font-size: 12pt; + font-weight: bold; + text-shadow: black 1px 1px 0px; +} + +dl.attributes > dt { + display: block; + float: left; + font-style: italic; +} + +dl.attributes > dt.implicit { + font-weight: bold; + color: darkgreen; +} + +dl.attributes > dd { + display: block; + padding-left: 10em; + margin-bottom: 5px; + min-height: 15px; +} + +#template .values > h3 { + background: #2C475C url("valuemembersbg.gif") repeat-x bottom left; /* grayish blue */ + height: 18px; +} + +#values ol li:last-child { + margin-bottom: 5px; +} + +#template .types > h3 { + background: #316555 url("typebg.gif") repeat-x bottom left; /* green */ + height: 18px; +} + +#constructors > h3 { + background: #4f504f url("constructorsbg.gif") repeat-x bottom left; /* gray */ + height: 18px; +} + +#inheritedMembers > div.parent > h3 { + background: #dadada url("constructorsbg.gif") repeat-x bottom left; /* gray */ + height: 17px; + font-style: italic; + font-size: 12pt; +} + +#inheritedMembers > div.parent > h3 * { + color: white; +} + +#inheritedMembers > div.conversion > h3 { + background: #dadada url("conversionbg.gif") repeat-x bottom left; /* gray */ + height: 17px; + font-style: italic; + font-size: 12pt; +} + +#inheritedMembers > div.conversion > h3 * { + color: white; +} + +#groupedMembers > div.group > h3 { + background: #dadada url("typebg.gif") repeat-x bottom left; /* green */ + height: 17px; + font-size: 12pt; +} + +#groupedMembers > div.group > h3 * { + color: white; +} + + +/* Member cells */ + +div.members > ol { + background-color: white; + list-style: none +} + +div.members > ol > li { + display: block; + border-bottom: 1px solid gray; + padding: 5px 0 6px; + margin: 0 10px; + position: relative; +} + +div.members > ol > li:last-child { + border: 0; + padding: 5px 0 5px; +} + +/* Member signatures */ + +#tooltip { + background: #EFD5B5; + border: 1px solid gray; + color: black; + display: none; + padding: 5px; + position: absolute; +} + +.signature { + font-family: monospace; + font-size: 10pt; + line-height: 18px; + clear: both; + display: block; + text-shadow: 2px white; + text-shadow: white 0px 1px 0px; +} + +.signature .modifier_kind { + position: absolute; + text-align: right; + width: 14em; +} + +.signature > a > .symbol > .name { + text-decoration: underline; +} + +.signature > a:hover > .symbol > .name { + text-decoration: none; +} + +.signature > a { + text-decoration: none; +} + +.signature > .symbol { + display: block; + padding-left: 14.7em; +} + +.signature .name { + display: inline-block; + font-weight: bold; +} + +.signature .symbol > .implicit { + display: inline-block; + font-weight: bold; + text-decoration: underline; + color: darkgreen; +} + +.signature .symbol .shadowed { + color: darkseagreen; +} + +.signature .symbol .params > .implicit { + font-style: italic; +} + +.signature .symbol .deprecated { + text-decoration: line-through; +} + +.signature .symbol .params .default { + font-style: italic; +} + +#template .signature.closed { + background: url("arrow-right.png") no-repeat 0 5px transparent; + cursor: pointer; +} + +#template .signature.opened { + background: url("arrow-down.png") no-repeat 0 5px transparent; + cursor: pointer; +} + +#template .values .signature .name { + color: darkblue; +} + +#template .types .signature .name { + color: darkgreen; +} + +.full-signature-usecase h4 span { + font-size: 10pt; +} + +.full-signature-usecase > #signature { + padding-top: 0px; +} + +#template .full-signature-usecase > .signature.closed { + background: none; +} + +#template .full-signature-usecase > .signature.opened { + background: none; +} + +.full-signature-block { + padding: 5px 0 0; + border-top: 1px solid #EBEBEB; + margin-top: 5px; + margin-bottom: 5px; +} + +#definition .morelinks { + text-align: right; + position: absolute; + top: 40px; + right: 10px; + width: 450px; +} + +#definition .morelinks a { + color: #EBEBEB; +} + +#template .members li .permalink { + position: absolute; + top: 5px; + right: 5px; +} + +#definition .permalink { + position: absolute; + top: 10px; + right: 15px; +} + +#definition .permalink a { + color: #EBEBEB; +} + +#template .members li .permalink, +#definition .permalink a { + display: none; +} + +#template .members li:hover .permalink, +#definition:hover .permalink a { + display: block; +} + +#template .members li .permalink a, +#definition .permalink a { + text-decoration: none; + font-weight: bold; +} + +/* Comments text formating */ + +.cmt {} + +.cmt p { + margin: 0.7em 0; +} + +.cmt p:first-child { + margin-top: 0; +} + +.cmt p:last-child { + margin-bottom: 0; +} + +.cmt h3, +.cmt h4, +.cmt h5, +.cmt h6 { + margin-bottom: 0.7em; + margin-top: 1.4em; + display: block; + text-align: left; + font-weight: bold; +} + +.cmt h3 { + font-size: 14pt; +} + +.cmt h4 { + font-size: 13pt; +} + +.cmt h5 { + font-size: 12pt; +} + +.cmt h6 { + font-size: 11pt; +} + +.cmt pre { + padding: 5px; + border: 1px solid #ddd; + background-color: #eee; + margin: 5px 0; + display: block; + font-family: monospace; +} + +.cmt pre span.ano { + color: blue; +} + +.cmt pre span.cmt { + color: green; +} + +.cmt pre span.kw { + font-weight: bold; +} + +.cmt pre span.lit { + color: #c71585; +} + +.cmt pre span.num { + color: #1e90ff; /* dodgerblue */ +} + +.cmt pre span.std { + color: #008080; /* teal */ +} + +.cmt ul { + display: block; + list-style: circle; + padding-left: 20px; +} + +.cmt ol { + display: block; + padding-left:20px; +} + +.cmt ol.decimal { + list-style: decimal; +} + +.cmt ol.lowerAlpha { + list-style: lower-alpha; +} + +.cmt ol.upperAlpha { + list-style: upper-alpha; +} + +.cmt ol.lowerRoman { + list-style: lower-roman; +} + +.cmt ol.upperRoman { + list-style: upper-roman; +} + +.cmt li { + display: list-item; +} + +.cmt code { + font-family: monospace; +} + +.cmt a { + font-style: bold; +} + +.cmt em, .cmt i { + font-style: italic; +} + +.cmt strong, .cmt b { + font-weight: bold; +} + +/* Comments structured layout */ + +.group > div.comment { + padding-top: 5px; + padding-bottom: 5px; + padding-right: 5px; + padding-left: 5px; + border: 1px solid #ddd; + background-color: #eeeee; + margin-top:5px; + margin-bottom:5px; + margin-right:5px; + margin-left:5px; + display: block; +} + +p.comment { + display: block; + margin-left: 14.7em; + margin-top: 5px; +} + +.shortcomment { + display: block; + margin: 5px 10px; +} + +div.fullcommenttop { + padding: 10px 10px; + background-image:url('fullcommenttopbg.gif'); + background-repeat:repeat-x; +} + +div.fullcomment { + margin: 5px 10px; +} + +#template div.fullcommenttop, +#template div.fullcomment { + display:none; + margin: 5px 0 0 14.7em; +} + +#template .shortcomment { + margin: 5px 0 0 14.7em; + padding: 0; +} + +div.fullcomment .block { + padding: 5px 0 0; + border-top: 1px solid #EBEBEB; + margin-top: 5px; + overflow: hidden; +} + +div.fullcommenttop .block { + padding: 5px 0 0; + border-top: 1px solid #EBEBEB; + margin-top: 5px; + margin-bottom: 5px +} + +div.fullcomment div.block ol li p, +div.fullcomment div.block ol li { + display:inline +} + +div.fullcomment .block > h5 { + font-style: italic; + font-weight: normal; + display: inline-block; +} + +div.fullcomment .comment { + margin: 5px 0 10px; +} + +div.fullcommenttop .comment:last-child, +div.fullcomment .comment:last-child { + margin-bottom: 0; +} + +div.fullcommenttop dl.paramcmts { + margin-bottom: 0.8em; + padding-bottom: 0.8em; +} + +div.fullcommenttop dl.paramcmts > dt, +div.fullcomment dl.paramcmts > dt { + display: block; + float: left; + font-weight: bold; + min-width: 70px; +} + +div.fullcommenttop dl.paramcmts > dd, +div.fullcomment dl.paramcmts > dd { + display: block; + padding-left: 10px; + margin-bottom: 5px; + margin-left: 70px; + min-height: 15px; +} + +/* Members filter tool */ + +#textfilter { + position: relative; + display: block; + height: 20px; + margin-bottom: 5px; +} + +#textfilter > .pre { + display: block; + position: absolute; + top: 0; + left: 0; + height: 23px; + width: 21px; + background: url("filter_box_left.png"); +} + +#textfilter > .input { + display: block; + position: absolute; + top: 0; + right: 20px; + left: 20px; +} + +#textfilter > .input > input { + height: 20px; + padding: 1px; + font-weight: bold; + color: #000000; + background: #ffffff url("filterboxbarbg.png") repeat-x top left; + width: 100%; +} + +#textfilter > .post { + display: block; + position: absolute; + top: 0; + right: 0; + height: 23px; + width: 21px; + background: url("filter_box_right.png"); +} + +#mbrsel { + padding: 5px 10px; + background-color: #ededee; /* light gray */ + background-image:url('filterboxbg.gif'); + background-repeat:repeat-x; + font-size: 9.5pt; + display: block; + margin-top: 1em; +/* margin-bottom: 1em; */ +} + +#mbrsel > div { + margin-bottom: 5px; +} + +#mbrsel > div:last-child { + margin-bottom: 0; +} + +#mbrsel > div > span.filtertype { + padding: 4px; + margin-right: 5px; + float: left; + display: inline-block; + color: #000000; + font-weight: bold; + text-shadow: white 0px 1px 0px; + width: 4.5em; +} + +#mbrsel > div > ol { + display: inline-block; +} + +#mbrsel > div > a { + position:relative; + top: -8px; + font-size: 11px; + text-shadow: #ffffff 0 1px 0; +} + +#mbrsel > div > ol#linearization { + display: table; + margin-left: 70px; +} + +#mbrsel > div > ol#linearization > li.in { + text-decoration: none; + float: left; + padding-right: 10px; + margin-right: 5px; + background: url(selected-right.png) no-repeat; + background-position: right 0px; +} + +#mbrsel > div > ol#linearization > li.in > span{ + color: #404040; + float: left; + padding: 1px 0 1px 10px; + background: url(selected.png) no-repeat; + background-position: 0px 0px; + text-shadow: #ffffff 0 1px 0; +} + +#mbrsel > div > ol#implicits { + display: table; + margin-left: 70px; +} + +#mbrsel > div > ol#implicits > li.in { + text-decoration: none; + float: left; + padding-right: 10px; + margin-right: 5px; + background: url(selected-right-implicits.png) no-repeat; + background-position: right 0px; +} + +#mbrsel > div > ol#implicits > li.in > span{ + color: #404040; + float: left; + padding: 1px 0 1px 10px; + background: url(selected-implicits.png) no-repeat; + background-position: 0px 0px; + text-shadow: #ffffff 0 1px 0; +} + +#mbrsel > div > ol > li { +/* padding: 3px 10px;*/ + line-height: 16pt; + display: inline-block; + cursor: pointer; +} + +#mbrsel > div > ol > li.in { + text-decoration: none; + float: left; + padding-right: 10px; + margin-right: 5px; + background: url(selected-right.png) no-repeat; + background-position: right 0px; +} + +#mbrsel > div > ol > li.in > span{ + color: #404040; + float: left; + padding: 1px 0 1px 10px; + background: url(selected.png) no-repeat; + background-position: 0px 0px; + text-shadow: #ffffff 0 1px 0; +} + +#mbrsel > div > ol > li.out { + text-decoration: none; + float: left; + padding-right: 10px; + margin-right: 5px; +} + +#mbrsel > div > ol > li.out > span{ + color: #747474; +/* background-color: #999; */ + float: left; + padding: 1px 0 1px 10px; +/* background: url(unselected.png) no-repeat;*/ + background-position: 0px -1px; + text-shadow: #ffffff 0 1px 0; +} +/* +#mbrsel .hideall { + color: #4C4C4C; + line-height: 16px; + font-weight: bold; +} + +#mbrsel .hideall span { + color: #4C4C4C; + font-weight: bold; +} + +#mbrsel .showall { + color: #4C4C4C; + line-height: 16px; + font-weight: bold; +} + +#mbrsel .showall span { + color: #4C4C4C; + font-weight: bold; +}*/ + +.badge { + display: inline-block; + padding: 2px 4px; + font-size: 11.844px; + font-weight: bold; + line-height: 14px; + color: #ffffff; + text-shadow: 0 -1px 0 rgba(0, 0, 0, 0.25); + white-space: nowrap; + vertical-align: baseline; + background-color: #999999; + padding-right: 9px; + padding-left: 9px; + -webkit-border-radius: 9px; + -moz-border-radius: 9px; + border-radius: 9px; +} + +.badge-red { + background-color: #b94a48; +} diff --git a/manual1903/api_reference/didentification/scaladocs/lib/template.js b/manual1903/api_reference/didentification/scaladocs/lib/template.js new file mode 100644 index 0000000000000000000000000000000000000000..798a2d430b9e40540b2249ab0851c87d9c7e6bd0 --- /dev/null +++ b/manual1903/api_reference/didentification/scaladocs/lib/template.js @@ -0,0 +1,500 @@ +// © 2009–2010 EPFL/LAMP +// code by Gilles Dubochet with contributions by Pedro Furlanetto and Marcin Kubala + +$(document).ready(function(){ + + var controls = { + visibility: { + publicOnly: $("#visbl").find("> ol > li.public"), + all: $("#visbl").find("> ol > li.all") + } + }; + + // Escapes special characters and returns a valid jQuery selector + function escapeJquery(str){ + return str.replace(/([;&,\.\+\*\~':"\!\^#$%@\[\]\(\)=<>\|])/g, '\\$1'); + } + + function toggleVisibilityFilter(ctrlToEnable, ctrToDisable) { + if (ctrlToEnable.hasClass("out")) { + ctrlToEnable.removeClass("out").addClass("in"); + ctrToDisable.removeClass("in").addClass("out"); + filter(); + } + } + + controls.visibility.publicOnly.click(function () { + toggleVisibilityFilter(controls.visibility.publicOnly, controls.visibility.all); + }); + + controls.visibility.all.click(function () { + toggleVisibilityFilter(controls.visibility.all, controls.visibility.publicOnly); + }); + + function exposeMember(jqElem) { + var jqElemParent = jqElem.parent(), + parentName = jqElemParent.attr("name"), + linearizationName = /^([^#]*)(#.*)?$/gi.exec(parentName)[1]; + + // switch visibility filter if necessary + if (jqElemParent.attr("visbl") == "prt") { + toggleVisibilityFilter(controls.visibility.all, controls.visibility.publicOnly); + } + + // toggle appropriate linearization buttons + if (linearizationName) { + $("#linearization li.out[name='" + linearizationName + "']").removeClass("out").addClass("in"); + } + + filter(); + window.scrollTo(0, 0); + jqElemParent.effect("highlight", {color: "#FFCC85"}, 3000); + $('html,body').animate({scrollTop: jqElemParent.offset().top}, 1000); + } + + var isHiddenClass = function (name) { + return name == 'scala.Any' || + name == 'scala.AnyRef'; + }; + + var isHidden = function (elem) { + return $(elem).attr("data-hidden") == 'true'; + }; + + $("#linearization li:gt(0)").filter(function(){ + return isHiddenClass($(this).attr("name")); + }).removeClass("in").addClass("out"); + + $("#implicits li").filter(function(){ + return isHidden(this); + }).removeClass("in").addClass("out"); + + // Pre-filter members + filter(); + + // Member filter box + var input = $("#textfilter input"); + input.bind("keyup", function(event) { + + switch ( event.keyCode ) { + + case 27: // escape key + input.val(""); + filter(true); + break; + + case 38: // up + input.val(""); + filter(false); + window.scrollTo(0, $("body").offset().top); + input.focus(); + break; + + case 33: //page up + input.val(""); + filter(false); + break; + + case 34: //page down + input.val(""); + filter(false); + break; + + default: + window.scrollTo(0, $("#mbrsel").offset().top); + filter(true); + break; + + } + }); + input.focus(function(event) { + input.select(); + }); + $("#textfilter > .post").click(function() { + $("#textfilter input").attr("value", ""); + filter(); + }); + $(document).keydown(function(event) { + + if (event.keyCode == 9) { // tab + $("#index-input", window.parent.document).focus(); + input.attr("value", ""); + return false; + } + }); + + $("#linearization li").click(function(){ + if ($(this).hasClass("in")) { + $(this).removeClass("in"); + $(this).addClass("out"); + } + else if ($(this).hasClass("out")) { + $(this).removeClass("out"); + $(this).addClass("in"); + } + filter(); + }); + + $("#implicits li").click(function(){ + if ($(this).hasClass("in")) { + $(this).removeClass("in"); + $(this).addClass("out"); + } + else if ($(this).hasClass("out")) { + $(this).removeClass("out"); + $(this).addClass("in"); + } + filter(); + }); + + $("#mbrsel > div[id=ancestors] > ol > li.hideall").click(function() { + $("#linearization li.in").removeClass("in").addClass("out"); + $("#linearization li:first").removeClass("out").addClass("in"); + $("#implicits li.in").removeClass("in").addClass("out"); + + if ($(this).hasClass("out") && $("#mbrsel > div[id=ancestors] > ol > li.showall").hasClass("in")) { + $(this).removeClass("out").addClass("in"); + $("#mbrsel > div[id=ancestors] > ol > li.showall").removeClass("in").addClass("out"); + } + + filter(); + }) + $("#mbrsel > div[id=ancestors] > ol > li.showall").click(function() { + var filteredLinearization = + $("#linearization li.out").filter(function() { + return ! isHiddenClass($(this).attr("name")); + }); + filteredLinearization.removeClass("out").addClass("in"); + + var filteredImplicits = + $("#implicits li.out").filter(function() { + return ! isHidden(this); + }); + filteredImplicits.removeClass("out").addClass("in"); + + if ($(this).hasClass("out") && $("#mbrsel > div[id=ancestors] > ol > li.hideall").hasClass("in")) { + $(this).removeClass("out").addClass("in"); + $("#mbrsel > div[id=ancestors] > ol > li.hideall").removeClass("in").addClass("out"); + } + + filter(); + }); + $("#order > ol > li.alpha").click(function() { + if ($(this).hasClass("out")) { + orderAlpha(); + } + }) + $("#order > ol > li.inherit").click(function() { + if ($(this).hasClass("out")) { + orderInherit(); + } + }); + $("#order > ol > li.group").click(function() { + if ($(this).hasClass("out")) { + orderGroup(); + } + }); + $("#groupedMembers").hide(); + + initInherit(); + + // Create tooltips + $(".extype").add(".defval").tooltip({ + tip: "#tooltip", + position: "top center", + predelay: 500, + onBeforeShow: function(ev) { + $(this.getTip()).text(this.getTrigger().attr("name")); + } + }); + + /* Add toggle arrows */ + //var docAllSigs = $("#template li").has(".fullcomment").find(".signature"); + // trying to speed things up a little bit + var docAllSigs = $("#template li[fullComment=yes] .signature"); + + function commentToggleFct(signature){ + var parent = signature.parent(); + var shortComment = $(".shortcomment", parent); + var fullComment = $(".fullcomment", parent); + var vis = $(":visible", fullComment); + signature.toggleClass("closed").toggleClass("opened"); + if (vis.length > 0) { + shortComment.slideDown(100); + fullComment.slideUp(100); + } + else { + shortComment.slideUp(100); + fullComment.slideDown(100); + } + }; + docAllSigs.addClass("closed"); + docAllSigs.click(function() { + commentToggleFct($(this)); + }); + + /* Linear super types and known subclasses */ + function toggleShowContentFct(e){ + e.toggleClass("open"); + var content = $(".hiddenContent", e.parent().get(0)); + if (content.is(':visible')) { + content.slideUp(100); + } + else { + content.slideDown(100); + } + }; + + $(".toggle:not(.diagram-link)").click(function() { + toggleShowContentFct($(this)); + }); + + // Set parent window title + windowTitle(); + + if ($("#order > ol > li.group").length == 1) { orderGroup(); }; + + function findElementByHash(locationHash) { + var temp = locationHash.replace('#', ''); + var memberSelector = '#' + escapeJquery(temp); + return $(memberSelector); + } + + // highlight and jump to selected member + if (window.location.hash) { + var jqElem = findElementByHash(window.location.hash); + if (jqElem.length > 0) { + exposeMember(jqElem); + } + } +}); + +function orderAlpha() { + $("#order > ol > li.alpha").removeClass("out").addClass("in"); + $("#order > ol > li.inherit").removeClass("in").addClass("out"); + $("#order > ol > li.group").removeClass("in").addClass("out"); + $("#template > div.parent").hide(); + $("#template > div.conversion").hide(); + $("#mbrsel > div[id=ancestors]").show(); + filter(); +}; + +function orderInherit() { + $("#order > ol > li.inherit").removeClass("out").addClass("in"); + $("#order > ol > li.alpha").removeClass("in").addClass("out"); + $("#order > ol > li.group").removeClass("in").addClass("out"); + $("#template > div.parent").show(); + $("#template > div.conversion").show(); + $("#mbrsel > div[id=ancestors]").hide(); + filter(); +}; + +function orderGroup() { + $("#order > ol > li.group").removeClass("out").addClass("in"); + $("#order > ol > li.alpha").removeClass("in").addClass("out"); + $("#order > ol > li.inherit").removeClass("in").addClass("out"); + $("#template > div.parent").hide(); + $("#template > div.conversion").hide(); + $("#mbrsel > div[id=ancestors]").show(); + filter(); +}; + +/** Prepares the DOM for inheritance-based display. To do so it will: + * - hide all statically-generated parents headings; + * - copy all members from the value and type members lists (flat members) to corresponding lists nested below the + * parent headings (inheritance-grouped members); + * - initialises a control variable used by the filter method to control whether filtering happens on flat members + * or on inheritance-grouped members. */ +function initInherit() { + // inheritParents is a map from fully-qualified names to the DOM node of parent headings. + var inheritParents = new Object(); + var groupParents = new Object(); + $("#inheritedMembers > div.parent").each(function(){ + inheritParents[$(this).attr("name")] = $(this); + }); + $("#inheritedMembers > div.conversion").each(function(){ + inheritParents[$(this).attr("name")] = $(this); + }); + $("#groupedMembers > div.group").each(function(){ + groupParents[$(this).attr("name")] = $(this); + }); + + $("#types > ol > li").each(function(){ + var mbr = $(this); + this.mbrText = mbr.find("> .fullcomment .cmt").text(); + var qualName = mbr.attr("name"); + var owner = qualName.slice(0, qualName.indexOf("#")); + var name = qualName.slice(qualName.indexOf("#") + 1); + var inheritParent = inheritParents[owner]; + if (inheritParent != undefined) { + var types = $("> .types > ol", inheritParent); + if (types.length == 0) { + inheritParent.append("

                                                                      Type Members

                                                                        "); + types = $("> .types > ol", inheritParent); + } + var clone = mbr.clone(); + clone[0].mbrText = this.mbrText; + types.append(clone); + } + var group = mbr.attr("group") + var groupParent = groupParents[group]; + if (groupParent != undefined) { + var types = $("> .types > ol", groupParent); + if (types.length == 0) { + groupParent.append("
                                                                          "); + types = $("> .types > ol", groupParent); + } + var clone = mbr.clone(); + clone[0].mbrText = this.mbrText; + types.append(clone); + } + }); + + $("#values > ol > li").each(function(){ + var mbr = $(this); + this.mbrText = mbr.find("> .fullcomment .cmt").text(); + var qualName = mbr.attr("name"); + var owner = qualName.slice(0, qualName.indexOf("#")); + var name = qualName.slice(qualName.indexOf("#") + 1); + var inheritParent = inheritParents[owner]; + if (inheritParent != undefined) { + var values = $("> .values > ol", inheritParent); + if (values.length == 0) { + inheritParent.append("

                                                                          Value Members

                                                                            "); + values = $("> .values > ol", inheritParent); + } + var clone = mbr.clone(); + clone[0].mbrText = this.mbrText; + values.append(clone); + } + var group = mbr.attr("group") + var groupParent = groupParents[group]; + if (groupParent != undefined) { + var values = $("> .values > ol", groupParent); + if (values.length == 0) { + groupParent.append("
                                                                              "); + values = $("> .values > ol", groupParent); + } + var clone = mbr.clone(); + clone[0].mbrText = this.mbrText; + values.append(clone); + } + }); + $("#inheritedMembers > div.parent").each(function() { + if ($("> div.members", this).length == 0) { $(this).remove(); }; + }); + $("#inheritedMembers > div.conversion").each(function() { + if ($("> div.members", this).length == 0) { $(this).remove(); }; + }); + $("#groupedMembers > div.group").each(function() { + if ($("> div.members", this).length == 0) { $(this).remove(); }; + }); +}; + +/* filter used to take boolean scrollToMember */ +function filter() { + var query = $.trim($("#textfilter input").val()).toLowerCase(); + query = query.replace(/[-[\]{}()*+?.,\\^$|#]/g, "\\$&").replace(/\s+/g, "|"); + var queryRegExp = new RegExp(query, "i"); + var privateMembersHidden = $("#visbl > ol > li.public").hasClass("in"); + var orderingAlphabetic = $("#order > ol > li.alpha").hasClass("in"); + var orderingInheritance = $("#order > ol > li.inherit").hasClass("in"); + var orderingGroups = $("#order > ol > li.group").hasClass("in"); + var hiddenSuperclassElementsLinearization = orderingInheritance ? $("#linearization > li:gt(0)") : $("#linearization > li.out"); + var hiddenSuperclassesLinearization = hiddenSuperclassElementsLinearization.map(function() { + return $(this).attr("name"); + }).get(); + var hiddenSuperclassElementsImplicits = orderingInheritance ? $("#implicits > li") : $("#implicits > li.out"); + var hiddenSuperclassesImplicits = hiddenSuperclassElementsImplicits.map(function() { + return $(this).attr("name"); + }).get(); + + var hideInheritedMembers; + + if (orderingAlphabetic) { + $("#allMembers").show(); + $("#inheritedMembers").hide(); + $("#groupedMembers").hide(); + hideInheritedMembers = true; + $("#allMembers > .members").each(filterFunc); + } else if (orderingGroups) { + $("#groupedMembers").show(); + $("#inheritedMembers").hide(); + $("#allMembers").hide(); + hideInheritedMembers = true; + $("#groupedMembers > .group > .members").each(filterFunc); + $("#groupedMembers > div.group").each(function() { + $(this).show(); + if ($("> div.members", this).not(":hidden").length == 0) { + $(this).hide(); + } else { + $(this).show(); + } + }); + } else if (orderingInheritance) { + $("#inheritedMembers").show(); + $("#groupedMembers").hide(); + $("#allMembers").hide(); + hideInheritedMembers = false; + $("#inheritedMembers > .parent > .members").each(filterFunc); + $("#inheritedMembers > .conversion > .members").each(filterFunc); + } + + + function filterFunc() { + var membersVisible = false; + var members = $(this); + members.find("> ol > li").each(function() { + var mbr = $(this); + if (privateMembersHidden && mbr.attr("visbl") == "prt") { + mbr.hide(); + return; + } + var name = mbr.attr("name"); + // Owner filtering must not happen in "inherited from" member lists + if (hideInheritedMembers) { + var ownerIndex = name.indexOf("#"); + if (ownerIndex < 0) { + ownerIndex = name.lastIndexOf("."); + } + var owner = name.slice(0, ownerIndex); + for (var i = 0; i < hiddenSuperclassesLinearization.length; i++) { + if (hiddenSuperclassesLinearization[i] == owner) { + mbr.hide(); + return; + } + }; + for (var i = 0; i < hiddenSuperclassesImplicits.length; i++) { + if (hiddenSuperclassesImplicits[i] == owner) { + mbr.hide(); + return; + } + }; + } + if (query && !(queryRegExp.test(name) || queryRegExp.test(this.mbrText))) { + mbr.hide(); + return; + } + mbr.show(); + membersVisible = true; + }); + + if (membersVisible) + members.show(); + else + members.hide(); + }; + + return false; +}; + +function windowTitle() +{ + try { + parent.document.title=document.title; + } + catch(e) { + // Chrome doesn't allow settings the parent's title when + // used on the local file system. + } +}; diff --git a/manual1903/api_reference/didentification/scaladocs/lib/tools.tooltip.js b/manual1903/api_reference/didentification/scaladocs/lib/tools.tooltip.js new file mode 100644 index 0000000000000000000000000000000000000000..0af34eca4c4145e5f3284e85f821467972182957 --- /dev/null +++ b/manual1903/api_reference/didentification/scaladocs/lib/tools.tooltip.js @@ -0,0 +1,14 @@ +/* + * tools.tooltip 1.1.3 - Tooltips done right. + * + * Copyright (c) 2009 Tero Piirainen + * http://flowplayer.org/tools/tooltip.html + * + * Dual licensed under MIT and GPL 2+ licenses + * http://www.opensource.org/licenses + * + * Launch : November 2008 + * Date: ${date} + * Revision: ${revision} + */ +(function(c){var d=[];c.tools=c.tools||{};c.tools.tooltip={version:"1.1.3",conf:{effect:"toggle",fadeOutSpeed:"fast",tip:null,predelay:0,delay:30,opacity:1,lazy:undefined,position:["top","center"],offset:[0,0],cancelDefault:true,relative:false,oneInstance:true,events:{def:"mouseover,mouseout",input:"focus,blur",widget:"focus mouseover,blur mouseout",tooltip:"mouseover,mouseout"},api:false},addEffect:function(e,g,f){b[e]=[g,f]}};var b={toggle:[function(e){var f=this.getConf(),g=this.getTip(),h=f.opacity;if(h<1){g.css({opacity:h})}g.show();e.call()},function(e){this.getTip().hide();e.call()}],fade:[function(e){this.getTip().fadeIn(this.getConf().fadeInSpeed,e)},function(e){this.getTip().fadeOut(this.getConf().fadeOutSpeed,e)}]};function a(f,g){var p=this,k=c(this);f.data("tooltip",p);var l=f.next();if(g.tip){l=c(g.tip);if(l.length>1){l=f.nextAll(g.tip).eq(0);if(!l.length){l=f.parent().nextAll(g.tip).eq(0)}}}function o(u){var t=g.relative?f.position().top:f.offset().top,s=g.relative?f.position().left:f.offset().left,v=g.position[0];t-=l.outerHeight()-g.offset[0];s+=f.outerWidth()+g.offset[1];var q=l.outerHeight()+f.outerHeight();if(v=="center"){t+=q/2}if(v=="bottom"){t+=q}v=g.position[1];var r=l.outerWidth()+f.outerWidth();if(v=="center"){s-=r/2}if(v=="left"){s-=r}return{top:t,left:s}}var i=f.is(":input"),e=i&&f.is(":checkbox, :radio, select, :button"),h=f.attr("type"),n=g.events[h]||g.events[i?(e?"widget":"input"):"def"];n=n.split(/,\s*/);if(n.length!=2){throw"Tooltip: bad events configuration for "+h}f.bind(n[0],function(r){if(g.oneInstance){c.each(d,function(){this.hide()})}var q=l.data("trigger");if(q&&q[0]!=this){l.hide().stop(true,true)}r.target=this;p.show(r);n=g.events.tooltip.split(/,\s*/);l.bind(n[0],function(){p.show(r)});if(n[1]){l.bind(n[1],function(){p.hide(r)})}});f.bind(n[1],function(q){p.hide(q)});if(!c.browser.msie&&!i&&!g.predelay){f.mousemove(function(){if(!p.isShown()){f.triggerHandler("mouseover")}})}if(g.opacity<1){l.css("opacity",g.opacity)}var m=0,j=f.attr("title");if(j&&g.cancelDefault){f.removeAttr("title");f.data("title",j)}c.extend(p,{show:function(r){if(r){f=c(r.target)}clearTimeout(l.data("timer"));if(l.is(":animated")||l.is(":visible")){return p}function q(){l.data("trigger",f);var t=o(r);if(g.tip&&j){l.html(f.data("title"))}r=r||c.Event();r.type="onBeforeShow";k.trigger(r,[t]);if(r.isDefaultPrevented()){return p}t=o(r);l.css({position:"absolute",top:t.top,left:t.left});var s=b[g.effect];if(!s){throw'Nonexistent effect "'+g.effect+'"'}s[0].call(p,function(){r.type="onShow";k.trigger(r)})}if(g.predelay){clearTimeout(m);m=setTimeout(q,g.predelay)}else{q()}return p},hide:function(r){clearTimeout(l.data("timer"));clearTimeout(m);if(!l.is(":visible")){return}function q(){r=r||c.Event();r.type="onBeforeHide";k.trigger(r);if(r.isDefaultPrevented()){return}b[g.effect][1].call(p,function(){r.type="onHide";k.trigger(r)})}if(g.delay&&r){l.data("timer",setTimeout(q,g.delay))}else{q()}return p},isShown:function(){return l.is(":visible, :animated")},getConf:function(){return g},getTip:function(){return l},getTrigger:function(){return f},bind:function(q,r){k.bind(q,r);return p},onHide:function(q){return this.bind("onHide",q)},onBeforeShow:function(q){return this.bind("onBeforeShow",q)},onShow:function(q){return this.bind("onShow",q)},onBeforeHide:function(q){return this.bind("onBeforeHide",q)},unbind:function(q){k.unbind(q);return p}});c.each(g,function(q,r){if(c.isFunction(r)){p.bind(q,r)}})}c.prototype.tooltip=function(e){var f=this.eq(typeof e=="number"?e:0).data("tooltip");if(f){return f}var g=c.extend(true,{},c.tools.tooltip.conf);if(c.isFunction(e)){e={onBeforeShow:e}}else{if(typeof e=="string"){e={tip:e}}}e=c.extend(true,g,e);if(typeof e.position=="string"){e.position=e.position.split(/,?\s/)}if(e.lazy!==false&&(e.lazy===true||this.length>20)){this.one("mouseover",function(h){f=new a(c(this),e);f.show(h);d.push(f)})}else{this.each(function(){f=new a(c(this),e);d.push(f)})}return e.api?f:this}})(jQuery); \ No newline at end of file diff --git a/manual1903/api_reference/didentification/scaladocs/lib/trait.png b/manual1903/api_reference/didentification/scaladocs/lib/trait.png new file mode 100644 index 0000000000000000000000000000000000000000..fb961a2eda3f55c9d8272a4793549e23120aec6b Binary files /dev/null and b/manual1903/api_reference/didentification/scaladocs/lib/trait.png differ diff --git a/manual1903/api_reference/didentification/scaladocs/lib/trait_big.png b/manual1903/api_reference/didentification/scaladocs/lib/trait_big.png new file mode 100644 index 0000000000000000000000000000000000000000..625d9251cba32d350beb988fcd072672d5f3b375 Binary files /dev/null and b/manual1903/api_reference/didentification/scaladocs/lib/trait_big.png differ diff --git a/manual1903/api_reference/didentification/scaladocs/lib/trait_diagram.png b/manual1903/api_reference/didentification/scaladocs/lib/trait_diagram.png new file mode 100644 index 0000000000000000000000000000000000000000..88983254ce3a4295951e4d3af927d50b50a3146d Binary files /dev/null and b/manual1903/api_reference/didentification/scaladocs/lib/trait_diagram.png differ diff --git a/manual1903/api_reference/didentification/scaladocs/lib/trait_to_object_big.png b/manual1903/api_reference/didentification/scaladocs/lib/trait_to_object_big.png new file mode 100644 index 0000000000000000000000000000000000000000..d0cd7fd51264103854ca43e02a2b699e4ff298df Binary files /dev/null and b/manual1903/api_reference/didentification/scaladocs/lib/trait_to_object_big.png differ diff --git a/manual1903/api_reference/didentification/scaladocs/lib/type.png b/manual1903/api_reference/didentification/scaladocs/lib/type.png new file mode 100644 index 0000000000000000000000000000000000000000..6c6e1fe2f52c7a12d1db31f1ce3b134c8ab2aabf Binary files /dev/null and b/manual1903/api_reference/didentification/scaladocs/lib/type.png differ diff --git a/manual1903/api_reference/didentification/scaladocs/lib/type_big.png b/manual1903/api_reference/didentification/scaladocs/lib/type_big.png new file mode 100644 index 0000000000000000000000000000000000000000..04c8794e92a7b00da3b4caaccbfea94cdd210a38 Binary files /dev/null and b/manual1903/api_reference/didentification/scaladocs/lib/type_big.png differ diff --git a/manual1903/api_reference/didentification/scaladocs/lib/type_diagram.png b/manual1903/api_reference/didentification/scaladocs/lib/type_diagram.png new file mode 100644 index 0000000000000000000000000000000000000000..d8152529fdc350853f4b1e7debb0a0c8d632ff7f Binary files /dev/null and b/manual1903/api_reference/didentification/scaladocs/lib/type_diagram.png differ diff --git a/manual1903/api_reference/didentification/scaladocs/lib/type_to_object_big.png b/manual1903/api_reference/didentification/scaladocs/lib/type_to_object_big.png new file mode 100644 index 0000000000000000000000000000000000000000..ef2615bacc702f153594af64f60e4443ab91ea99 Binary files /dev/null and b/manual1903/api_reference/didentification/scaladocs/lib/type_to_object_big.png differ diff --git a/manual1903/api_reference/didentification/scaladocs/lib/typebg.gif b/manual1903/api_reference/didentification/scaladocs/lib/typebg.gif new file mode 100644 index 0000000000000000000000000000000000000000..2fcc77b2e85405d7b22deb0ad2ac24b709291377 Binary files /dev/null and b/manual1903/api_reference/didentification/scaladocs/lib/typebg.gif differ diff --git a/manual1903/api_reference/didentification/scaladocs/lib/unselected.png b/manual1903/api_reference/didentification/scaladocs/lib/unselected.png new file mode 100644 index 0000000000000000000000000000000000000000..d5ac639405ffe0a45fd51de2904692c7e905c5ef Binary files /dev/null and b/manual1903/api_reference/didentification/scaladocs/lib/unselected.png differ diff --git a/manual1903/api_reference/didentification/scaladocs/lib/valuemembersbg.gif b/manual1903/api_reference/didentification/scaladocs/lib/valuemembersbg.gif new file mode 100644 index 0000000000000000000000000000000000000000..2a949311d7869cb769ef7fd48a9c03a57937b60d Binary files /dev/null and b/manual1903/api_reference/didentification/scaladocs/lib/valuemembersbg.gif differ diff --git a/manual1903/api_reference/didentification/scaladocs/package.html b/manual1903/api_reference/didentification/scaladocs/package.html new file mode 100644 index 0000000000000000000000000000000000000000..0e72bcc99b76074f1358d7e888376f6862ed7fdb --- /dev/null +++ b/manual1903/api_reference/didentification/scaladocs/package.html @@ -0,0 +1,118 @@ + + + + root - KSB DEIDENTIFICATION Scala App Project 1.0-SNAPSHOT API - _root_ + + + + + + + + + + + + + + + +
                                                                              + Package + +

                                                                              root package

                                                                              + + Permalink + + +
                                                                              + +

                                                                              + + + package + + + root + +

                                                                              + +
                                                                              + + +
                                                                              +
                                                                              + + +
                                                                              + Visibility +
                                                                              1. Public
                                                                              2. All
                                                                              +
                                                                              +
                                                                              + +
                                                                              +
                                                                              + + + + + + +
                                                                              +

                                                                              Value Members

                                                                              +
                                                                              1. + + +

                                                                                + + + package + + + ksb + +

                                                                                + + Permalink + + + +
                                                                              +
                                                                              + + + + +
                                                                              + +
                                                                              + + +
                                                                              + +
                                                                              +
                                                                              +

                                                                              Ungrouped

                                                                              + +
                                                                              +
                                                                              + +
                                                                              + +
                                                                              + + + + + + diff --git a/manual1903/images/.DS_Store b/manual1903/images/.DS_Store new file mode 100644 index 0000000000000000000000000000000000000000..5008ddfcf53c02e82d7eee2e57c38e5672ef89f6 Binary files /dev/null and b/manual1903/images/.DS_Store differ diff --git a/manual1903/images/1.1_FrameworkArchitecture.png b/manual1903/images/1.1_FrameworkArchitecture.png new file mode 100644 index 0000000000000000000000000000000000000000..caf1287260f4f5edd4311c06a2d7b246883fbaab Binary files /dev/null and b/manual1903/images/1.1_FrameworkArchitecture.png differ diff --git a/manual1903/images/1.1_FrameworkCore.png b/manual1903/images/1.1_FrameworkCore.png new file mode 100644 index 0000000000000000000000000000000000000000..a06f5a1423dc21d4f2ab65650460b9cb90ab2b08 Binary files /dev/null and b/manual1903/images/1.1_FrameworkCore.png differ diff --git a/manual1903/images/1.1_WorkflowSpec.png b/manual1903/images/1.1_WorkflowSpec.png new file mode 100644 index 0000000000000000000000000000000000000000..23e7d1dc2b9ef6219bed7d7c560147221633e78b Binary files /dev/null and b/manual1903/images/1.1_WorkflowSpec.png differ diff --git a/manual1903/images/1.1_components.png b/manual1903/images/1.1_components.png new file mode 100644 index 0000000000000000000000000000000000000000..3a24c1535f6b2af57549e15f4a5cdd4975e68dce Binary files /dev/null and b/manual1903/images/1.1_components.png differ diff --git a/manual1903/images/1.1_deployment.png b/manual1903/images/1.1_deployment.png new file mode 100644 index 0000000000000000000000000000000000000000..3fdeed6307c4d5f9626a78315942f0f842214a4b Binary files /dev/null and b/manual1903/images/1.1_deployment.png differ diff --git a/manual1903/images/1.1_orchestrator.png b/manual1903/images/1.1_orchestrator.png new file mode 100644 index 0000000000000000000000000000000000000000..c58acdb5354732453df5b4c847e7cf9305906afa Binary files /dev/null and b/manual1903/images/1.1_orchestrator.png differ diff --git a/manual1903/images/1.3_HowToInstallKsbFrameWork_01.png b/manual1903/images/1.3_HowToInstallKsbFrameWork_01.png new file mode 100644 index 0000000000000000000000000000000000000000..32c9eb59b797d196c3dc6ba96690de3d6fd6fd0d Binary files /dev/null and b/manual1903/images/1.3_HowToInstallKsbFrameWork_01.png differ diff --git a/manual1903/images/1.3_HowToInstallKsbFrameWork_02.png b/manual1903/images/1.3_HowToInstallKsbFrameWork_02.png new file mode 100644 index 0000000000000000000000000000000000000000..66a4aacd08c34fbf453b1a5bea07e98ed7ea5e41 Binary files /dev/null and b/manual1903/images/1.3_HowToInstallKsbFrameWork_02.png differ diff --git a/manual1903/images/1.3_HowToInstallKsbFrameWork_03.png b/manual1903/images/1.3_HowToInstallKsbFrameWork_03.png new file mode 100644 index 0000000000000000000000000000000000000000..7ba5e4155a024de977682ebfe68ad20f509dbebd Binary files /dev/null and b/manual1903/images/1.3_HowToInstallKsbFrameWork_03.png differ diff --git a/manual1903/images/1.3_HowToInstallKsbFrameWork_04.png b/manual1903/images/1.3_HowToInstallKsbFrameWork_04.png new file mode 100644 index 0000000000000000000000000000000000000000..2dd3a24bb6d5d8873415b90e43528c640efcab93 Binary files /dev/null and b/manual1903/images/1.3_HowToInstallKsbFrameWork_04.png differ diff --git a/manual1903/images/1.3_HowToInstallKsbFrameWork_05.png b/manual1903/images/1.3_HowToInstallKsbFrameWork_05.png new file mode 100644 index 0000000000000000000000000000000000000000..2de20729c976a5949d01abe58c1816dd81da762e Binary files /dev/null and b/manual1903/images/1.3_HowToInstallKsbFrameWork_05.png differ diff --git a/manual1903/images/1.3_HowToInstallKsbFrameWork_06.png b/manual1903/images/1.3_HowToInstallKsbFrameWork_06.png new file mode 100644 index 0000000000000000000000000000000000000000..fbd990422cef4c147940a7d944399fe476a9f403 Binary files /dev/null and b/manual1903/images/1.3_HowToInstallKsbFrameWork_06.png differ diff --git a/manual1903/images/1.3_HowToInstallKsbFrameWork_07.png b/manual1903/images/1.3_HowToInstallKsbFrameWork_07.png new file mode 100644 index 0000000000000000000000000000000000000000..36c8755ec56db6edb34a82bbc13b02f7362e471f Binary files /dev/null and b/manual1903/images/1.3_HowToInstallKsbFrameWork_07.png differ diff --git a/manual1903/images/1.3_HowToInstallKsbFrameWork_08.png b/manual1903/images/1.3_HowToInstallKsbFrameWork_08.png new file mode 100644 index 0000000000000000000000000000000000000000..4836f2132e9f74d5625ab6ec3d10eb2147223cd9 Binary files /dev/null and b/manual1903/images/1.3_HowToInstallKsbFrameWork_08.png differ diff --git a/manual1903/images/1.4_01.png b/manual1903/images/1.4_01.png new file mode 100644 index 0000000000000000000000000000000000000000..e2f32bf9c5eb91bcecdb63d4af71f3d02fa2654f Binary files /dev/null and b/manual1903/images/1.4_01.png differ diff --git a/manual1903/images/1.4_02.png b/manual1903/images/1.4_02.png new file mode 100644 index 0000000000000000000000000000000000000000..fa71fa8f0b461238fcb5be28bb7c4a0b44b253a3 Binary files /dev/null and b/manual1903/images/1.4_02.png differ diff --git a/manual1903/images/1.5.HowToRunFirst_01.png b/manual1903/images/1.5.HowToRunFirst_01.png new file mode 100644 index 0000000000000000000000000000000000000000..687b6828af515da7da31c83fa318c37bb4e5029f Binary files /dev/null and b/manual1903/images/1.5.HowToRunFirst_01.png differ diff --git a/manual1903/images/1.5.HowToRunFirst_02.png b/manual1903/images/1.5.HowToRunFirst_02.png new file mode 100644 index 0000000000000000000000000000000000000000..a8788c5f5526133eddb37b795d1b091e551484bb Binary files /dev/null and b/manual1903/images/1.5.HowToRunFirst_02.png differ diff --git a/manual1903/images/1.6.KSB_K8s_install_Guide_01.png b/manual1903/images/1.6.KSB_K8s_install_Guide_01.png new file mode 100644 index 0000000000000000000000000000000000000000..528a962d2745e22edb2c085ef7e38a1581535126 Binary files /dev/null and b/manual1903/images/1.6.KSB_K8s_install_Guide_01.png differ diff --git a/manual1903/images/1.6.KSB_K8s_install_Guide_02.png b/manual1903/images/1.6.KSB_K8s_install_Guide_02.png new file mode 100644 index 0000000000000000000000000000000000000000..3b230b4868cc495158136bdfc4ca1545259d9ba0 Binary files /dev/null and b/manual1903/images/1.6.KSB_K8s_install_Guide_02.png differ diff --git a/manual1903/images/2.1_component.png b/manual1903/images/2.1_component.png new file mode 100644 index 0000000000000000000000000000000000000000..f1ed6bb92a0fbbc9b71e57a81137c2cb12cf69dc Binary files /dev/null and b/manual1903/images/2.1_component.png differ diff --git a/manual1903/images/2.1_dashboard.png b/manual1903/images/2.1_dashboard.png new file mode 100644 index 0000000000000000000000000000000000000000..7d6627fc9a1286714423f6ad0df3afebd6723ec8 Binary files /dev/null and b/manual1903/images/2.1_dashboard.png differ diff --git a/manual1903/images/2.1_joinin.png b/manual1903/images/2.1_joinin.png new file mode 100644 index 0000000000000000000000000000000000000000..e6bd47443897c50a8f0e9772618d76c7cd6952b1 Binary files /dev/null and b/manual1903/images/2.1_joinin.png differ diff --git a/manual1903/images/2.1_management.png b/manual1903/images/2.1_management.png new file mode 100644 index 0000000000000000000000000000000000000000..5935ac64108dbf69fa225c6f2e3b825d4ab2772a Binary files /dev/null and b/manual1903/images/2.1_management.png differ diff --git a/manual1903/images/2.1_monitoring.png b/manual1903/images/2.1_monitoring.png new file mode 100644 index 0000000000000000000000000000000000000000..0a820916d92dcd10e00590588fabe63d7c14aa91 Binary files /dev/null and b/manual1903/images/2.1_monitoring.png differ diff --git a/manual1903/images/2.1_monitoring2.png b/manual1903/images/2.1_monitoring2.png new file mode 100644 index 0000000000000000000000000000000000000000..0e1dfd548264cfe7cbaca7c1d83e019f115af1b0 Binary files /dev/null and b/manual1903/images/2.1_monitoring2.png differ diff --git a/manual1903/images/2.1_repository.png b/manual1903/images/2.1_repository.png new file mode 100644 index 0000000000000000000000000000000000000000..8f289615e9c95e0d944ad04fe5974dc59becdcf7 Binary files /dev/null and b/manual1903/images/2.1_repository.png differ diff --git a/manual1903/images/2.1_signin.png b/manual1903/images/2.1_signin.png new file mode 100644 index 0000000000000000000000000000000000000000..fb23331b14bed1be060dd6094806adb7c0f78e62 Binary files /dev/null and b/manual1903/images/2.1_signin.png differ diff --git a/manual1903/images/2.1_workflow.png b/manual1903/images/2.1_workflow.png new file mode 100644 index 0000000000000000000000000000000000000000..88dda8cd322d5a20b7e4158172cb85ee8b5707bc Binary files /dev/null and b/manual1903/images/2.1_workflow.png differ diff --git a/manual1903/images/2.2_EngineOrdering.png b/manual1903/images/2.2_EngineOrdering.png new file mode 100644 index 0000000000000000000000000000000000000000..567a1a66f1ae173049f0127b4ad0645153cde120 Binary files /dev/null and b/manual1903/images/2.2_EngineOrdering.png differ diff --git a/manual1903/images/2.2_EngineOrdering2.png b/manual1903/images/2.2_EngineOrdering2.png new file mode 100644 index 0000000000000000000000000000000000000000..dc94506aa169d9053a97c4b268d744b6ce4271c2 Binary files /dev/null and b/manual1903/images/2.2_EngineOrdering2.png differ diff --git a/manual1903/images/2.2_EngineOrdering3.png b/manual1903/images/2.2_EngineOrdering3.png new file mode 100644 index 0000000000000000000000000000000000000000..3933f36176a55e4aa0d356855e21cfb22090ddc3 Binary files /dev/null and b/manual1903/images/2.2_EngineOrdering3.png differ diff --git a/manual1903/images/2.2_WorkflowEditor1.png b/manual1903/images/2.2_WorkflowEditor1.png new file mode 100644 index 0000000000000000000000000000000000000000..411a8edf25b0b9032a2797c2b0d67f4fb3116f89 Binary files /dev/null and b/manual1903/images/2.2_WorkflowEditor1.png differ diff --git a/manual1903/images/2.2_WorkflowEditor2.png b/manual1903/images/2.2_WorkflowEditor2.png new file mode 100644 index 0000000000000000000000000000000000000000..62a04a969a6df39a0e71ee29764939d48c03de2d Binary files /dev/null and b/manual1903/images/2.2_WorkflowEditor2.png differ diff --git a/manual1903/images/2.2_WorkflowImport.png b/manual1903/images/2.2_WorkflowImport.png new file mode 100644 index 0000000000000000000000000000000000000000..8e367e3bc4bff6287f89c03c530de30088fa610d Binary files /dev/null and b/manual1903/images/2.2_WorkflowImport.png differ diff --git a/manual1903/images/2.2_WorkflowInstances.png b/manual1903/images/2.2_WorkflowInstances.png new file mode 100644 index 0000000000000000000000000000000000000000..5d599c27ea023e79fd02c20da61f673a764a3627 Binary files /dev/null and b/manual1903/images/2.2_WorkflowInstances.png differ diff --git a/manual1903/images/2.2_WorkflowLink.png b/manual1903/images/2.2_WorkflowLink.png new file mode 100644 index 0000000000000000000000000000000000000000..8e10f00e6eadd1ce2e351ca255ee16e885727332 Binary files /dev/null and b/manual1903/images/2.2_WorkflowLink.png differ diff --git a/manual1903/images/2.2_WorkflowLink2.png b/manual1903/images/2.2_WorkflowLink2.png new file mode 100644 index 0000000000000000000000000000000000000000..537be0592787db49721a9e06b12a73b37e33e081 Binary files /dev/null and b/manual1903/images/2.2_WorkflowLink2.png differ diff --git a/manual1903/images/2.2_WorkflowLink3.png b/manual1903/images/2.2_WorkflowLink3.png new file mode 100644 index 0000000000000000000000000000000000000000..2719b54b6fc88250e18438cd122bef5b1e506e6b Binary files /dev/null and b/manual1903/images/2.2_WorkflowLink3.png differ diff --git a/manual1903/images/2.2_WorkflowLoad.png b/manual1903/images/2.2_WorkflowLoad.png new file mode 100644 index 0000000000000000000000000000000000000000..98d4437d66af6f6101fb7890e338d1fbb0bfabe3 Binary files /dev/null and b/manual1903/images/2.2_WorkflowLoad.png differ diff --git a/manual1903/images/2.2_WorkflowProperty.png b/manual1903/images/2.2_WorkflowProperty.png new file mode 100644 index 0000000000000000000000000000000000000000..e9eaad4772c18a2ccf13930cb4c853841e744100 Binary files /dev/null and b/manual1903/images/2.2_WorkflowProperty.png differ diff --git a/manual1903/images/2.2_WorkflowRun.png b/manual1903/images/2.2_WorkflowRun.png new file mode 100644 index 0000000000000000000000000000000000000000..1d8164ba56b93bd25df1467a83e3e53d52e2dc36 Binary files /dev/null and b/manual1903/images/2.2_WorkflowRun.png differ diff --git a/manual1903/images/2.2_WorkflowSave.png b/manual1903/images/2.2_WorkflowSave.png new file mode 100644 index 0000000000000000000000000000000000000000..390a44abac2afad598e20287bac06c190b9fa097 Binary files /dev/null and b/manual1903/images/2.2_WorkflowSave.png differ diff --git a/manual1903/images/2.2_WorkflowVersion.png b/manual1903/images/2.2_WorkflowVersion.png new file mode 100644 index 0000000000000000000000000000000000000000..d7012ced7d7b80eb1644d7d1cb336b1e5deffac4 Binary files /dev/null and b/manual1903/images/2.2_WorkflowVersion.png differ diff --git a/manual1903/images/2.2_component.png b/manual1903/images/2.2_component.png new file mode 100755 index 0000000000000000000000000000000000000000..e6e2d526014d74747570b79717219dbd2e10d4e4 Binary files /dev/null and b/manual1903/images/2.2_component.png differ diff --git a/manual1903/images/2.2_container.png b/manual1903/images/2.2_container.png new file mode 100755 index 0000000000000000000000000000000000000000..83f761a4872f3fc4ec308b2caab6422390368586 Binary files /dev/null and b/manual1903/images/2.2_container.png differ diff --git a/manual1903/images/2.2_export.png b/manual1903/images/2.2_export.png new file mode 100755 index 0000000000000000000000000000000000000000..dd6fa191fa0790e0155fba739d3816f3ec425e67 Binary files /dev/null and b/manual1903/images/2.2_export.png differ diff --git a/manual1903/images/2.2_import.png b/manual1903/images/2.2_import.png new file mode 100755 index 0000000000000000000000000000000000000000..a1367f1251c0bb10e7eff4230c057b5447b43836 Binary files /dev/null and b/manual1903/images/2.2_import.png differ diff --git a/manual1903/images/2.2_loading.png b/manual1903/images/2.2_loading.png new file mode 100755 index 0000000000000000000000000000000000000000..b42f3d99e5bdb574aa6e61995cdfc316cd656ab6 Binary files /dev/null and b/manual1903/images/2.2_loading.png differ diff --git a/manual1903/images/2.2_loading2.png b/manual1903/images/2.2_loading2.png new file mode 100755 index 0000000000000000000000000000000000000000..d5dd2fa359c2dec06e24733b9c97190afa26d156 Binary files /dev/null and b/manual1903/images/2.2_loading2.png differ diff --git a/manual1903/images/2.2_monitoring.png b/manual1903/images/2.2_monitoring.png new file mode 100755 index 0000000000000000000000000000000000000000..f713ae37bfd4c3ed2269aa3dc766aa4f492833df Binary files /dev/null and b/manual1903/images/2.2_monitoring.png differ diff --git a/manual1903/images/2.2_new.png b/manual1903/images/2.2_new.png new file mode 100755 index 0000000000000000000000000000000000000000..64f4e20d7be2d4d8b6faa94b115c159b25cb710a Binary files /dev/null and b/manual1903/images/2.2_new.png differ diff --git a/manual1903/images/2.2_property.png b/manual1903/images/2.2_property.png new file mode 100755 index 0000000000000000000000000000000000000000..dc645290459e082833ff7cab4b965791a9ffab64 Binary files /dev/null and b/manual1903/images/2.2_property.png differ diff --git a/manual1903/images/2.2_property_file.png b/manual1903/images/2.2_property_file.png new file mode 100644 index 0000000000000000000000000000000000000000..1394ae1d1debfec2584e100c04195dfdedcff3a0 Binary files /dev/null and b/manual1903/images/2.2_property_file.png differ diff --git a/manual1903/images/2.2_property_help.png b/manual1903/images/2.2_property_help.png new file mode 100644 index 0000000000000000000000000000000000000000..432beb61d020eabfb5d3e1020f886e5939979f0f Binary files /dev/null and b/manual1903/images/2.2_property_help.png differ diff --git a/manual1903/images/2.2_result1.png b/manual1903/images/2.2_result1.png new file mode 100755 index 0000000000000000000000000000000000000000..a903ca22e268c2e6c9410baa8b485c232fed9c58 Binary files /dev/null and b/manual1903/images/2.2_result1.png differ diff --git a/manual1903/images/2.2_result2.png b/manual1903/images/2.2_result2.png new file mode 100755 index 0000000000000000000000000000000000000000..78bccf4102d611257f857a61b405a9767f4b2341 Binary files /dev/null and b/manual1903/images/2.2_result2.png differ diff --git a/manual1903/images/2.2_result3.png b/manual1903/images/2.2_result3.png new file mode 100755 index 0000000000000000000000000000000000000000..797b3d86c6488c70f1a64fabf4089442e719120b Binary files /dev/null and b/manual1903/images/2.2_result3.png differ diff --git a/manual1903/images/2.2_running.png b/manual1903/images/2.2_running.png new file mode 100755 index 0000000000000000000000000000000000000000..82f9b48fc4f71d927d6394dd28a95a230f1ff5dc Binary files /dev/null and b/manual1903/images/2.2_running.png differ diff --git a/manual1903/images/2.2_save.png b/manual1903/images/2.2_save.png new file mode 100755 index 0000000000000000000000000000000000000000..bf31113bb61e874f669adb2ad0debc4a4010a648 Binary files /dev/null and b/manual1903/images/2.2_save.png differ diff --git a/manual1903/images/2.2_wizard1.png b/manual1903/images/2.2_wizard1.png new file mode 100644 index 0000000000000000000000000000000000000000..92ebca94ab09b441476ce4a1ee78520406e236e3 Binary files /dev/null and b/manual1903/images/2.2_wizard1.png differ diff --git a/manual1903/images/2.2_wizard2.png b/manual1903/images/2.2_wizard2.png new file mode 100644 index 0000000000000000000000000000000000000000..5d5cc9d30851ee052db08bdfb3b54ddf719782b0 Binary files /dev/null and b/manual1903/images/2.2_wizard2.png differ diff --git a/manual1903/images/2.2_wizard3.png b/manual1903/images/2.2_wizard3.png new file mode 100644 index 0000000000000000000000000000000000000000..c2d41e685506752081d51c3dc16c031120593d59 Binary files /dev/null and b/manual1903/images/2.2_wizard3.png differ diff --git a/manual1903/images/2.2_workflow.png b/manual1903/images/2.2_workflow.png new file mode 100755 index 0000000000000000000000000000000000000000..d35978553c71356e5729f605c1e1387655bcd1ec Binary files /dev/null and b/manual1903/images/2.2_workflow.png differ diff --git a/manual1903/images/2.3.1_Compare1.png b/manual1903/images/2.3.1_Compare1.png new file mode 100644 index 0000000000000000000000000000000000000000..8fe66dd510efa880c2f6892f7a5055709eee8d81 Binary files /dev/null and b/manual1903/images/2.3.1_Compare1.png differ diff --git a/manual1903/images/2.3.1_Compare2.png b/manual1903/images/2.3.1_Compare2.png new file mode 100644 index 0000000000000000000000000000000000000000..826735535b9b075f96cc4af789862679d1cd0b88 Binary files /dev/null and b/manual1903/images/2.3.1_Compare2.png differ diff --git a/manual1903/images/2.3.1_Compare3.png b/manual1903/images/2.3.1_Compare3.png new file mode 100644 index 0000000000000000000000000000000000000000..a47c041da621bccaba68825ed978621216a24e15 Binary files /dev/null and b/manual1903/images/2.3.1_Compare3.png differ diff --git a/manual1903/images/2.3.1_FileSelect.png b/manual1903/images/2.3.1_FileSelect.png new file mode 100644 index 0000000000000000000000000000000000000000..9d048be4d411b47f3557c66972ade41020a61a5b Binary files /dev/null and b/manual1903/images/2.3.1_FileSelect.png differ diff --git a/manual1903/images/2.3.1_FileUpload.png b/manual1903/images/2.3.1_FileUpload.png new file mode 100644 index 0000000000000000000000000000000000000000..721dc93a8f6bdcdf643b12109ec54a041ed982c5 Binary files /dev/null and b/manual1903/images/2.3.1_FileUpload.png differ diff --git a/manual1903/images/2.3.1_NewDirectory.png b/manual1903/images/2.3.1_NewDirectory.png new file mode 100644 index 0000000000000000000000000000000000000000..d48d6ee80ec12fb465774af561405fbfa3999afb Binary files /dev/null and b/manual1903/images/2.3.1_NewDirectory.png differ diff --git a/manual1903/images/2.3.1_Output.png b/manual1903/images/2.3.1_Output.png new file mode 100644 index 0000000000000000000000000000000000000000..1dd8ea0f7e57175ef5c01e1b4bb9e433e4c4b1ca Binary files /dev/null and b/manual1903/images/2.3.1_Output.png differ diff --git a/manual1903/images/2.3.1_chart.png b/manual1903/images/2.3.1_chart.png new file mode 100644 index 0000000000000000000000000000000000000000..894f6e1b85b619c16199f93c163f28428a108558 Binary files /dev/null and b/manual1903/images/2.3.1_chart.png differ diff --git a/manual1903/images/2.3.1_chart2.png b/manual1903/images/2.3.1_chart2.png new file mode 100644 index 0000000000000000000000000000000000000000..1bf2ebe5f2f47e4229883ed7612eff642a27d336 Binary files /dev/null and b/manual1903/images/2.3.1_chart2.png differ diff --git a/manual1903/images/2.3.1_chart3.png b/manual1903/images/2.3.1_chart3.png new file mode 100644 index 0000000000000000000000000000000000000000..6e04340580636524bd2336e463f2eb2958556f26 Binary files /dev/null and b/manual1903/images/2.3.1_chart3.png differ diff --git a/manual1903/images/2.3.1_meta.png b/manual1903/images/2.3.1_meta.png new file mode 100644 index 0000000000000000000000000000000000000000..83d7920ba387ef6038e8e4b016a3c42355a643d8 Binary files /dev/null and b/manual1903/images/2.3.1_meta.png differ diff --git a/manual1903/images/2.3.1_repository.png b/manual1903/images/2.3.1_repository.png new file mode 100644 index 0000000000000000000000000000000000000000..9b0e6c8b6e98566e664e6c439f9871dd058dfad3 Binary files /dev/null and b/manual1903/images/2.3.1_repository.png differ diff --git a/manual1903/images/2.3.1_text.png b/manual1903/images/2.3.1_text.png new file mode 100644 index 0000000000000000000000000000000000000000..667a757ed434e0b4b3b2df4502060773f8f601a1 Binary files /dev/null and b/manual1903/images/2.3.1_text.png differ diff --git a/manual1903/images/2.3.2_monitoring.png b/manual1903/images/2.3.2_monitoring.png new file mode 100644 index 0000000000000000000000000000000000000000..fea3950f597bc07eeba2cc667344f4b353410156 Binary files /dev/null and b/manual1903/images/2.3.2_monitoring.png differ diff --git a/manual1903/images/2.3.2_monitoring_chart.png b/manual1903/images/2.3.2_monitoring_chart.png new file mode 100644 index 0000000000000000000000000000000000000000..9fb65867e2692127a2be27841abf2ec45c65f863 Binary files /dev/null and b/manual1903/images/2.3.2_monitoring_chart.png differ diff --git a/manual1903/images/2.3.2_monitoring_history.png b/manual1903/images/2.3.2_monitoring_history.png new file mode 100644 index 0000000000000000000000000000000000000000..121014ddce49dd826a1dcf74292f6fe165931aab Binary files /dev/null and b/manual1903/images/2.3.2_monitoring_history.png differ diff --git a/manual1903/images/2.3.2_monitoring_log.png b/manual1903/images/2.3.2_monitoring_log.png new file mode 100644 index 0000000000000000000000000000000000000000..c137c675761862a4ee468286b091ac00bbf4b6fd Binary files /dev/null and b/manual1903/images/2.3.2_monitoring_log.png differ diff --git a/manual1903/images/2.3.2_monitoring_text.png b/manual1903/images/2.3.2_monitoring_text.png new file mode 100644 index 0000000000000000000000000000000000000000..daef8ebde70ab8d83cefc40b4c0a13e2a515e623 Binary files /dev/null and b/manual1903/images/2.3.2_monitoring_text.png differ diff --git a/manual1903/images/2.3.2_repository.png b/manual1903/images/2.3.2_repository.png new file mode 100644 index 0000000000000000000000000000000000000000..18ab39602786cdd82edb9cc72492888d0ca20582 Binary files /dev/null and b/manual1903/images/2.3.2_repository.png differ diff --git a/manual1903/images/2.3_Compare1.png b/manual1903/images/2.3_Compare1.png new file mode 100644 index 0000000000000000000000000000000000000000..1d7296f6b248232b0f7e4fa5e259392c327c9af6 Binary files /dev/null and b/manual1903/images/2.3_Compare1.png differ diff --git a/manual1903/images/2.3_Compare2.png b/manual1903/images/2.3_Compare2.png new file mode 100644 index 0000000000000000000000000000000000000000..8c60f725c718b50bfd0f5884f597202841511e11 Binary files /dev/null and b/manual1903/images/2.3_Compare2.png differ diff --git a/manual1903/images/2.3_Compare3.png b/manual1903/images/2.3_Compare3.png new file mode 100644 index 0000000000000000000000000000000000000000..2484a3f2adb85f8db6b280047ab9a01242a461c3 Binary files /dev/null and b/manual1903/images/2.3_Compare3.png differ diff --git a/manual1903/images/2.3_FileUpload.png b/manual1903/images/2.3_FileUpload.png new file mode 100644 index 0000000000000000000000000000000000000000..721dc93a8f6bdcdf643b12109ec54a041ed982c5 Binary files /dev/null and b/manual1903/images/2.3_FileUpload.png differ diff --git a/manual1903/images/2.3_NewDirectory.png b/manual1903/images/2.3_NewDirectory.png new file mode 100644 index 0000000000000000000000000000000000000000..350ee76231c51c650815910d2232e0acc127f6d8 Binary files /dev/null and b/manual1903/images/2.3_NewDirectory.png differ diff --git a/manual1903/images/2.3_Output.png b/manual1903/images/2.3_Output.png new file mode 100644 index 0000000000000000000000000000000000000000..b76548a0d3e8f4aa5ed5146244266c47d3939e70 Binary files /dev/null and b/manual1903/images/2.3_Output.png differ diff --git a/manual1903/images/2.3_Repository1.png b/manual1903/images/2.3_Repository1.png new file mode 100644 index 0000000000000000000000000000000000000000..641ddde9d5bad57445ce55acf3ab7774d0e918d5 Binary files /dev/null and b/manual1903/images/2.3_Repository1.png differ diff --git a/manual1903/images/2.3_Repository2.png b/manual1903/images/2.3_Repository2.png new file mode 100644 index 0000000000000000000000000000000000000000..666c8e3ce7c4a2c89e7b03aa6f6af77e6a61b566 Binary files /dev/null and b/manual1903/images/2.3_Repository2.png differ diff --git a/manual1903/images/2.3_ShowResult.png b/manual1903/images/2.3_ShowResult.png new file mode 100644 index 0000000000000000000000000000000000000000..5a5ae3f7b9f003a129baecf27d1b14ac4aa97c26 Binary files /dev/null and b/manual1903/images/2.3_ShowResult.png differ diff --git a/manual1903/images/2.3_meta.png b/manual1903/images/2.3_meta.png new file mode 100644 index 0000000000000000000000000000000000000000..83d7920ba387ef6038e8e4b016a3c42355a643d8 Binary files /dev/null and b/manual1903/images/2.3_meta.png differ diff --git a/manual1903/images/2.5.10_DataFile.png b/manual1903/images/2.5.10_DataFile.png new file mode 100644 index 0000000000000000000000000000000000000000..4fcc94948a0babf529d47c535aa6e5321c6552a7 Binary files /dev/null and b/manual1903/images/2.5.10_DataFile.png differ diff --git a/manual1903/images/2.5.10_DataRepository.png b/manual1903/images/2.5.10_DataRepository.png new file mode 100755 index 0000000000000000000000000000000000000000..684042d27990aaafb07a05544a31c81db751ecd6 Binary files /dev/null and b/manual1903/images/2.5.10_DataRepository.png differ diff --git a/manual1903/images/2.5.10_modelSave.png b/manual1903/images/2.5.10_modelSave.png new file mode 100644 index 0000000000000000000000000000000000000000..6cb758e8b2b6a986b3566781a5177a6cb95dded9 Binary files /dev/null and b/manual1903/images/2.5.10_modelSave.png differ diff --git a/manual1903/images/2.5.10_monitoring.png b/manual1903/images/2.5.10_monitoring.png new file mode 100644 index 0000000000000000000000000000000000000000..21ec5f8b7ed0fd974dd78adec65f42ce461fe4e2 Binary files /dev/null and b/manual1903/images/2.5.10_monitoring.png differ diff --git a/manual1903/images/2.5.10_monitoring2.png b/manual1903/images/2.5.10_monitoring2.png new file mode 100644 index 0000000000000000000000000000000000000000..36292c64014097e4188fd1bffee059d6bf0b5432 Binary files /dev/null and b/manual1903/images/2.5.10_monitoring2.png differ diff --git a/manual1903/images/2.5.10_monitoring_history.png b/manual1903/images/2.5.10_monitoring_history.png new file mode 100644 index 0000000000000000000000000000000000000000..673a67ad8b58855f2da6f99f892a103456128e51 Binary files /dev/null and b/manual1903/images/2.5.10_monitoring_history.png differ diff --git a/manual1903/images/2.5.10_runTypeSetting.png b/manual1903/images/2.5.10_runTypeSetting.png new file mode 100644 index 0000000000000000000000000000000000000000..5e8dd19e5e417d1eb374da319be1e28c4a6171bf Binary files /dev/null and b/manual1903/images/2.5.10_runTypeSetting.png differ diff --git a/manual1903/images/2.5.10_workflow.png b/manual1903/images/2.5.10_workflow.png new file mode 100644 index 0000000000000000000000000000000000000000..e026df6601644772146752b57087ecb209e700ab Binary files /dev/null and b/manual1903/images/2.5.10_workflow.png differ diff --git a/manual1903/images/2.5.10_workflow_start.png b/manual1903/images/2.5.10_workflow_start.png new file mode 100644 index 0000000000000000000000000000000000000000..f4c6e6aeee5aa607412655aab574cf59388dcf2c Binary files /dev/null and b/manual1903/images/2.5.10_workflow_start.png differ diff --git a/manual1903/images/2.5.11_1_01.png b/manual1903/images/2.5.11_1_01.png new file mode 100644 index 0000000000000000000000000000000000000000..5eb26aae08b008967b15ba431fd17fec5716807f Binary files /dev/null and b/manual1903/images/2.5.11_1_01.png differ diff --git a/manual1903/images/2.5.11_1_02.png b/manual1903/images/2.5.11_1_02.png new file mode 100644 index 0000000000000000000000000000000000000000..1519a2dec1e4a0117a6d56417f3738a05d67eee8 Binary files /dev/null and b/manual1903/images/2.5.11_1_02.png differ diff --git a/manual1903/images/2.5.11_1_03.png b/manual1903/images/2.5.11_1_03.png new file mode 100644 index 0000000000000000000000000000000000000000..849022fa8437119ea03f062f54f008a763c84835 Binary files /dev/null and b/manual1903/images/2.5.11_1_03.png differ diff --git a/manual1903/images/2.5.11_1_04.png b/manual1903/images/2.5.11_1_04.png new file mode 100644 index 0000000000000000000000000000000000000000..8653eca87dfa8254e8ca31522e7815fcf096589e Binary files /dev/null and b/manual1903/images/2.5.11_1_04.png differ diff --git a/manual1903/images/2.5.11_2_01.png b/manual1903/images/2.5.11_2_01.png new file mode 100644 index 0000000000000000000000000000000000000000..80d522e75aaec180df90244997eaacb9209479a0 Binary files /dev/null and b/manual1903/images/2.5.11_2_01.png differ diff --git a/manual1903/images/2.5.11_2_02.png b/manual1903/images/2.5.11_2_02.png new file mode 100644 index 0000000000000000000000000000000000000000..d4f0ef1b87f7d7dafe1edfa8f86260bc9bb7b906 Binary files /dev/null and b/manual1903/images/2.5.11_2_02.png differ diff --git a/manual1903/images/2.5.11_3_01.png b/manual1903/images/2.5.11_3_01.png new file mode 100644 index 0000000000000000000000000000000000000000..30c7e6bb7b59c6d0f638d400bbf7ae1c425a82da Binary files /dev/null and b/manual1903/images/2.5.11_3_01.png differ diff --git a/manual1903/images/2.5.11_3_02.png b/manual1903/images/2.5.11_3_02.png new file mode 100644 index 0000000000000000000000000000000000000000..e1667d517cd0739f486262280d45ef42e1868b10 Binary files /dev/null and b/manual1903/images/2.5.11_3_02.png differ diff --git a/manual1903/images/2.5.11_3_03.png b/manual1903/images/2.5.11_3_03.png new file mode 100644 index 0000000000000000000000000000000000000000..e578fe1a6439bb632e6438a3da19ef0ded19f7e5 Binary files /dev/null and b/manual1903/images/2.5.11_3_03.png differ diff --git a/manual1903/images/2.5.11_3_04.png b/manual1903/images/2.5.11_3_04.png new file mode 100644 index 0000000000000000000000000000000000000000..00bd7c37a95dd136a3d16a003bae085b9ef8e679 Binary files /dev/null and b/manual1903/images/2.5.11_3_04.png differ diff --git a/manual1903/images/2.5.11_4_01.png b/manual1903/images/2.5.11_4_01.png new file mode 100644 index 0000000000000000000000000000000000000000..4cc0f4b49dff463673c5546e0c3323a780067e5a Binary files /dev/null and b/manual1903/images/2.5.11_4_01.png differ diff --git a/manual1903/images/2.5.11_4_02.png b/manual1903/images/2.5.11_4_02.png new file mode 100644 index 0000000000000000000000000000000000000000..c14ff34600cff1170a78f82d1545fe4ec7313d0d Binary files /dev/null and b/manual1903/images/2.5.11_4_02.png differ diff --git a/manual1903/images/2.5.11_4_03.png b/manual1903/images/2.5.11_4_03.png new file mode 100644 index 0000000000000000000000000000000000000000..acc5000094a717df87d0876078f475ad42b1a325 Binary files /dev/null and b/manual1903/images/2.5.11_4_03.png differ diff --git a/manual1903/images/2.5.11_4_04.png b/manual1903/images/2.5.11_4_04.png new file mode 100644 index 0000000000000000000000000000000000000000..2c32ff794bd256f4102d964a0975548d18e80dd4 Binary files /dev/null and b/manual1903/images/2.5.11_4_04.png differ diff --git a/manual1903/images/2.5.12.png b/manual1903/images/2.5.12.png new file mode 100755 index 0000000000000000000000000000000000000000..60b43d85c44064cc5a3cdaf6f914447f15c3c213 Binary files /dev/null and b/manual1903/images/2.5.12.png differ diff --git a/manual1903/images/2.5.12_1_01.png b/manual1903/images/2.5.12_1_01.png new file mode 100644 index 0000000000000000000000000000000000000000..b098f130655b10336b9e6aaa8f556d46ec28eb28 Binary files /dev/null and b/manual1903/images/2.5.12_1_01.png differ diff --git a/manual1903/images/2.5.12_1_02.png b/manual1903/images/2.5.12_1_02.png new file mode 100644 index 0000000000000000000000000000000000000000..1778d33d660c12aab6ebf9104dfd5b9fc0eff0c8 Binary files /dev/null and b/manual1903/images/2.5.12_1_02.png differ diff --git a/manual1903/images/2.5.12_1_03.png b/manual1903/images/2.5.12_1_03.png new file mode 100644 index 0000000000000000000000000000000000000000..abeb9441ca4002ca426eadff1252e931fed53116 Binary files /dev/null and b/manual1903/images/2.5.12_1_03.png differ diff --git a/manual1903/images/2.5.12_1_04.png b/manual1903/images/2.5.12_1_04.png new file mode 100644 index 0000000000000000000000000000000000000000..84e78d159495e68d87519294822e1fed402206af Binary files /dev/null and b/manual1903/images/2.5.12_1_04.png differ diff --git a/manual1903/images/2.5.12_2_01.png b/manual1903/images/2.5.12_2_01.png new file mode 100644 index 0000000000000000000000000000000000000000..47026d2366de5f22b9d285cba56335963f3264be Binary files /dev/null and b/manual1903/images/2.5.12_2_01.png differ diff --git a/manual1903/images/2.5.12_3_01.png b/manual1903/images/2.5.12_3_01.png new file mode 100644 index 0000000000000000000000000000000000000000..161daa6d20b399799d07a1bdd0f74249e7530228 Binary files /dev/null and b/manual1903/images/2.5.12_3_01.png differ diff --git a/manual1903/images/2.5.12_3_02.png b/manual1903/images/2.5.12_3_02.png new file mode 100644 index 0000000000000000000000000000000000000000..bb060aecdf2a04e7a85a64a8a08206ed60dd76c6 Binary files /dev/null and b/manual1903/images/2.5.12_3_02.png differ diff --git a/manual1903/images/2.5.12_3_03.png b/manual1903/images/2.5.12_3_03.png new file mode 100644 index 0000000000000000000000000000000000000000..4e78d1fa9dbc83e673f1bc74f89ad98346445420 Binary files /dev/null and b/manual1903/images/2.5.12_3_03.png differ diff --git a/manual1903/images/2.5.12_4_01.png b/manual1903/images/2.5.12_4_01.png new file mode 100644 index 0000000000000000000000000000000000000000..d8bf0cdf87282b50410bf10229501421e4249b6c Binary files /dev/null and b/manual1903/images/2.5.12_4_01.png differ diff --git a/manual1903/images/2.5.12_4_02.png b/manual1903/images/2.5.12_4_02.png new file mode 100644 index 0000000000000000000000000000000000000000..5848351f997f607e169a8d6492ec668498759f4b Binary files /dev/null and b/manual1903/images/2.5.12_4_02.png differ diff --git a/manual1903/images/2.5.12_4_03.png b/manual1903/images/2.5.12_4_03.png new file mode 100644 index 0000000000000000000000000000000000000000..ca19e0e4a9dd1e1ed2b7ac9aa1079d1bc62cd280 Binary files /dev/null and b/manual1903/images/2.5.12_4_03.png differ diff --git a/manual1903/images/2.5.12_4_04.png b/manual1903/images/2.5.12_4_04.png new file mode 100644 index 0000000000000000000000000000000000000000..744d3cb7f7c62f9a4737e3d35078e968b2fbfaed Binary files /dev/null and b/manual1903/images/2.5.12_4_04.png differ diff --git a/manual1903/images/2.5.12_Finalscreen.png b/manual1903/images/2.5.12_Finalscreen.png new file mode 100755 index 0000000000000000000000000000000000000000..c451e6b2ed3eabffd8670cfbe9c68d9e8405e25b Binary files /dev/null and b/manual1903/images/2.5.12_Finalscreen.png differ diff --git a/manual1903/images/2.5.12_Log.png b/manual1903/images/2.5.12_Log.png new file mode 100755 index 0000000000000000000000000000000000000000..305d54b2e11b4075da1415d19234cc3abeafedb1 Binary files /dev/null and b/manual1903/images/2.5.12_Log.png differ diff --git a/manual1903/images/2.5.12_WorkflowHistory.png b/manual1903/images/2.5.12_WorkflowHistory.png new file mode 100755 index 0000000000000000000000000000000000000000..eb477920c9efddef04733b43ad00ffc97cf59e3b Binary files /dev/null and b/manual1903/images/2.5.12_WorkflowHistory.png differ diff --git a/manual1903/images/2.5.12_consume.png b/manual1903/images/2.5.12_consume.png new file mode 100755 index 0000000000000000000000000000000000000000..fbbb2c3228ee18f036341e488adde9a63dadd1e7 Binary files /dev/null and b/manual1903/images/2.5.12_consume.png differ diff --git a/manual1903/images/2.5.12_finish.png b/manual1903/images/2.5.12_finish.png new file mode 100755 index 0000000000000000000000000000000000000000..49ebab278dcf019d6bad3c7685fb115f59ad578a Binary files /dev/null and b/manual1903/images/2.5.12_finish.png differ diff --git a/manual1903/images/2.5.12_publish.png b/manual1903/images/2.5.12_publish.png new file mode 100755 index 0000000000000000000000000000000000000000..82ca17b748fdd20505cb2033ee86f0bfa5b8f911 Binary files /dev/null and b/manual1903/images/2.5.12_publish.png differ diff --git a/manual1903/images/2.5.12_result.png b/manual1903/images/2.5.12_result.png new file mode 100755 index 0000000000000000000000000000000000000000..60b43d85c44064cc5a3cdaf6f914447f15c3c213 Binary files /dev/null and b/manual1903/images/2.5.12_result.png differ diff --git a/manual1903/images/2.5.12_run.png b/manual1903/images/2.5.12_run.png new file mode 100755 index 0000000000000000000000000000000000000000..eedd112900fff6f4685585904df9a38e3f8e8b8a Binary files /dev/null and b/manual1903/images/2.5.12_run.png differ diff --git a/manual1903/images/2.5.12_status_inprogress.png b/manual1903/images/2.5.12_status_inprogress.png new file mode 100755 index 0000000000000000000000000000000000000000..4732f4da6638f2ad48f6fb5b4bd5845ddf82cade Binary files /dev/null and b/manual1903/images/2.5.12_status_inprogress.png differ diff --git a/manual1903/images/2.5.13_codeUpload.png b/manual1903/images/2.5.13_codeUpload.png new file mode 100644 index 0000000000000000000000000000000000000000..b39c3aa8b0e54c7790fc950c07241d29e62fc050 Binary files /dev/null and b/manual1903/images/2.5.13_codeUpload.png differ diff --git a/manual1903/images/2.5.13_codeUpload2.png b/manual1903/images/2.5.13_codeUpload2.png new file mode 100644 index 0000000000000000000000000000000000000000..9f6cc41a8f8db11f4ad785932debccaffc3b6d58 Binary files /dev/null and b/manual1903/images/2.5.13_codeUpload2.png differ diff --git a/manual1903/images/2.5.13_dockerImage.png b/manual1903/images/2.5.13_dockerImage.png new file mode 100644 index 0000000000000000000000000000000000000000..946a260fbdec54f292447c37e8595e16ab381628 Binary files /dev/null and b/manual1903/images/2.5.13_dockerImage.png differ diff --git a/manual1903/images/2.5.13_dockerTest.png b/manual1903/images/2.5.13_dockerTest.png new file mode 100644 index 0000000000000000000000000000000000000000..2ef7e0fcd010dfc5b36a7010fc2369d58c36b53b Binary files /dev/null and b/manual1903/images/2.5.13_dockerTest.png differ diff --git a/manual1903/images/2.5.13_monitoring.png b/manual1903/images/2.5.13_monitoring.png new file mode 100644 index 0000000000000000000000000000000000000000..7f5af419f1d846906dc5b3d4627b91718c645b42 Binary files /dev/null and b/manual1903/images/2.5.13_monitoring.png differ diff --git a/manual1903/images/2.5.13_monitoring_history.png b/manual1903/images/2.5.13_monitoring_history.png new file mode 100644 index 0000000000000000000000000000000000000000..6bcd4ec88b245b255fca0967bbe23c3c90bc0b61 Binary files /dev/null and b/manual1903/images/2.5.13_monitoring_history.png differ diff --git a/manual1903/images/2.5.13_postmanSetting.png b/manual1903/images/2.5.13_postmanSetting.png new file mode 100644 index 0000000000000000000000000000000000000000..57359124808ae398157321f534e6349f8b092514 Binary files /dev/null and b/manual1903/images/2.5.13_postmanSetting.png differ diff --git a/manual1903/images/2.5.13_servingResult1.png b/manual1903/images/2.5.13_servingResult1.png new file mode 100644 index 0000000000000000000000000000000000000000..6dc1723f8b23e1005d5860215d235c511c1ed396 Binary files /dev/null and b/manual1903/images/2.5.13_servingResult1.png differ diff --git a/manual1903/images/2.5.13_servingResult2.png b/manual1903/images/2.5.13_servingResult2.png new file mode 100644 index 0000000000000000000000000000000000000000..42ffe074e7d2cc4541193d473d5f7b0439d7d67c Binary files /dev/null and b/manual1903/images/2.5.13_servingResult2.png differ diff --git a/manual1903/images/2.5.13_workflow.png b/manual1903/images/2.5.13_workflow.png new file mode 100644 index 0000000000000000000000000000000000000000..d534a6137ddd60fb5c05aafcf7a3fd9bd76f5942 Binary files /dev/null and b/manual1903/images/2.5.13_workflow.png differ diff --git a/manual1903/images/2.5.14.TrafficPeriodicTrainAndK8sServingExample_01.png b/manual1903/images/2.5.14.TrafficPeriodicTrainAndK8sServingExample_01.png new file mode 100644 index 0000000000000000000000000000000000000000..a1d1b966b0c02c082ed1168cf973ffc82bd1b506 Binary files /dev/null and b/manual1903/images/2.5.14.TrafficPeriodicTrainAndK8sServingExample_01.png differ diff --git a/manual1903/images/2.5.14.TrafficPeriodicTrainAndK8sServingExample_02.png b/manual1903/images/2.5.14.TrafficPeriodicTrainAndK8sServingExample_02.png new file mode 100644 index 0000000000000000000000000000000000000000..504b7c86199ff9081f24687d82339f20463362b7 Binary files /dev/null and b/manual1903/images/2.5.14.TrafficPeriodicTrainAndK8sServingExample_02.png differ diff --git a/manual1903/images/2.5.14.TrafficPeriodicTrainAndK8sServingExample_03.png b/manual1903/images/2.5.14.TrafficPeriodicTrainAndK8sServingExample_03.png new file mode 100644 index 0000000000000000000000000000000000000000..7b1ce9811d2dc117bb9cf0fba9aa79d9744026ee Binary files /dev/null and b/manual1903/images/2.5.14.TrafficPeriodicTrainAndK8sServingExample_03.png differ diff --git a/manual1903/images/2.5.14.TrafficPeriodicTrainAndK8sServingExample_04.png b/manual1903/images/2.5.14.TrafficPeriodicTrainAndK8sServingExample_04.png new file mode 100644 index 0000000000000000000000000000000000000000..85fdf6f25f158a3e488bfe03e26075e97fbe1b45 Binary files /dev/null and b/manual1903/images/2.5.14.TrafficPeriodicTrainAndK8sServingExample_04.png differ diff --git a/manual1903/images/2.5.14.TrafficPeriodicTrainAndK8sServingExample_05.png b/manual1903/images/2.5.14.TrafficPeriodicTrainAndK8sServingExample_05.png new file mode 100644 index 0000000000000000000000000000000000000000..0ed713009a66c0a912fca34d7ca3cc48300484a4 Binary files /dev/null and b/manual1903/images/2.5.14.TrafficPeriodicTrainAndK8sServingExample_05.png differ diff --git a/manual1903/images/2.5.14.TrafficPeriodicTrainAndK8sServingExample_06.png b/manual1903/images/2.5.14.TrafficPeriodicTrainAndK8sServingExample_06.png new file mode 100644 index 0000000000000000000000000000000000000000..30d4d5f3f0772030d8587e3fc57340172a21ade7 Binary files /dev/null and b/manual1903/images/2.5.14.TrafficPeriodicTrainAndK8sServingExample_06.png differ diff --git a/manual1903/images/2.5.14.TrafficPeriodicTrainAndK8sServingExample_07.png b/manual1903/images/2.5.14.TrafficPeriodicTrainAndK8sServingExample_07.png new file mode 100644 index 0000000000000000000000000000000000000000..d6f31458f179d3f28b9d1f94ed6ff1f379f9cf17 Binary files /dev/null and b/manual1903/images/2.5.14.TrafficPeriodicTrainAndK8sServingExample_07.png differ diff --git a/manual1903/images/2.5.14.TrafficPeriodicTrainAndK8sServingExample_08.png b/manual1903/images/2.5.14.TrafficPeriodicTrainAndK8sServingExample_08.png new file mode 100644 index 0000000000000000000000000000000000000000..52100a1b792b9bd19179d5e7d11ceabe20777e55 Binary files /dev/null and b/manual1903/images/2.5.14.TrafficPeriodicTrainAndK8sServingExample_08.png differ diff --git a/manual1903/images/2.5.14.TrafficPeriodicTrainAndK8sServingExample_09.png b/manual1903/images/2.5.14.TrafficPeriodicTrainAndK8sServingExample_09.png new file mode 100644 index 0000000000000000000000000000000000000000..a25f82e15630400b80edb6f1e3fce03cb16777fa Binary files /dev/null and b/manual1903/images/2.5.14.TrafficPeriodicTrainAndK8sServingExample_09.png differ diff --git a/manual1903/images/2.5.14.TrafficPeriodicTrainAndK8sServingExample_10.png b/manual1903/images/2.5.14.TrafficPeriodicTrainAndK8sServingExample_10.png new file mode 100644 index 0000000000000000000000000000000000000000..66082f8a63e075aef16d1ca08feb29214779d1db Binary files /dev/null and b/manual1903/images/2.5.14.TrafficPeriodicTrainAndK8sServingExample_10.png differ diff --git a/manual1903/images/2.5.14.TrafficPeriodicTrainAndK8sServingExample_11.png b/manual1903/images/2.5.14.TrafficPeriodicTrainAndK8sServingExample_11.png new file mode 100644 index 0000000000000000000000000000000000000000..153d4ccdc4aa9d2ccc5f6a8292a182ddd65fd57b Binary files /dev/null and b/manual1903/images/2.5.14.TrafficPeriodicTrainAndK8sServingExample_11.png differ diff --git a/manual1903/images/2.5.14.TrafficPeriodicTrainAndK8sServingExample_12.png b/manual1903/images/2.5.14.TrafficPeriodicTrainAndK8sServingExample_12.png new file mode 100644 index 0000000000000000000000000000000000000000..65429db258e29b4b3a1150def1a8a8121329a797 Binary files /dev/null and b/manual1903/images/2.5.14.TrafficPeriodicTrainAndK8sServingExample_12.png differ diff --git a/manual1903/images/2.5.14.TrafficPeriodicTrainAndK8sServingExample_13.png b/manual1903/images/2.5.14.TrafficPeriodicTrainAndK8sServingExample_13.png new file mode 100644 index 0000000000000000000000000000000000000000..528a962d2745e22edb2c085ef7e38a1581535126 Binary files /dev/null and b/manual1903/images/2.5.14.TrafficPeriodicTrainAndK8sServingExample_13.png differ diff --git a/manual1903/images/2.5.14.TrafficPeriodicTrainAndK8sServingExample_14.png b/manual1903/images/2.5.14.TrafficPeriodicTrainAndK8sServingExample_14.png new file mode 100644 index 0000000000000000000000000000000000000000..3b230b4868cc495158136bdfc4ca1545259d9ba0 Binary files /dev/null and b/manual1903/images/2.5.14.TrafficPeriodicTrainAndK8sServingExample_14.png differ diff --git a/manual1903/images/2.5.14.TrafficPeriodicTrainAndK8sServingExample_15.png b/manual1903/images/2.5.14.TrafficPeriodicTrainAndK8sServingExample_15.png new file mode 100644 index 0000000000000000000000000000000000000000..4335a6cd8479322293a6b4b0c8e84b5733dc9070 Binary files /dev/null and b/manual1903/images/2.5.14.TrafficPeriodicTrainAndK8sServingExample_15.png differ diff --git a/manual1903/images/2.5.14.TrafficPeriodicTrainAndK8sServingExample_16.png b/manual1903/images/2.5.14.TrafficPeriodicTrainAndK8sServingExample_16.png new file mode 100644 index 0000000000000000000000000000000000000000..787bfd75d0cfeee4b3ffa30cbd7f1c4fddd2ad9f Binary files /dev/null and b/manual1903/images/2.5.14.TrafficPeriodicTrainAndK8sServingExample_16.png differ diff --git a/manual1903/images/2.5.14.TrafficPeriodicTrainAndK8sServingExample_17.png b/manual1903/images/2.5.14.TrafficPeriodicTrainAndK8sServingExample_17.png new file mode 100644 index 0000000000000000000000000000000000000000..2ebb31ee2693642d4c5550299ea69b86286c18d2 Binary files /dev/null and b/manual1903/images/2.5.14.TrafficPeriodicTrainAndK8sServingExample_17.png differ diff --git a/manual1903/images/2.5.14.TrafficPeriodicTrainAndK8sServingExample_18.png b/manual1903/images/2.5.14.TrafficPeriodicTrainAndK8sServingExample_18.png new file mode 100644 index 0000000000000000000000000000000000000000..f08819bf48ae896b599d4dd29c02fa6e05aeece7 Binary files /dev/null and b/manual1903/images/2.5.14.TrafficPeriodicTrainAndK8sServingExample_18.png differ diff --git a/manual1903/images/2.5.14.TrafficPeriodicTrainAndK8sServingExample_19.png b/manual1903/images/2.5.14.TrafficPeriodicTrainAndK8sServingExample_19.png new file mode 100644 index 0000000000000000000000000000000000000000..04072b7f2073fcbc6186d055da958e45e23daf82 Binary files /dev/null and b/manual1903/images/2.5.14.TrafficPeriodicTrainAndK8sServingExample_19.png differ diff --git a/manual1903/images/2.5.14.TrafficPeriodicTrainAndK8sServingExample_20.png b/manual1903/images/2.5.14.TrafficPeriodicTrainAndK8sServingExample_20.png new file mode 100644 index 0000000000000000000000000000000000000000..3be35fcdfe10d3121f578d7cc96a1581e2581ae5 Binary files /dev/null and b/manual1903/images/2.5.14.TrafficPeriodicTrainAndK8sServingExample_20.png differ diff --git a/manual1903/images/2.5.15.BatchTfTrainInSingleEngine_01.png b/manual1903/images/2.5.15.BatchTfTrainInSingleEngine_01.png new file mode 100755 index 0000000000000000000000000000000000000000..bcc5f91eb361ba597d2cfdaeed32fbc16a982d6c Binary files /dev/null and b/manual1903/images/2.5.15.BatchTfTrainInSingleEngine_01.png differ diff --git a/manual1903/images/2.5.15.BatchTfTrainInSingleEngine_02.png b/manual1903/images/2.5.15.BatchTfTrainInSingleEngine_02.png new file mode 100755 index 0000000000000000000000000000000000000000..45cb8ac31849e99bc9f5696cf8d6eb7ff90441ad Binary files /dev/null and b/manual1903/images/2.5.15.BatchTfTrainInSingleEngine_02.png differ diff --git a/manual1903/images/2.5.15.BatchTfTrainInSingleEngine_03.png b/manual1903/images/2.5.15.BatchTfTrainInSingleEngine_03.png new file mode 100755 index 0000000000000000000000000000000000000000..1a3deb232282e7a64f9481a39147e3b1702343b4 Binary files /dev/null and b/manual1903/images/2.5.15.BatchTfTrainInSingleEngine_03.png differ diff --git a/manual1903/images/2.5.15.BatchTfTrainInSingleEngine_04.png b/manual1903/images/2.5.15.BatchTfTrainInSingleEngine_04.png new file mode 100755 index 0000000000000000000000000000000000000000..879a0ad51eafb311b1ea8613d6690b1d96ac9f96 Binary files /dev/null and b/manual1903/images/2.5.15.BatchTfTrainInSingleEngine_04.png differ diff --git a/manual1903/images/2.5.15.BatchTfTrainInSingleEngine_05.png b/manual1903/images/2.5.15.BatchTfTrainInSingleEngine_05.png new file mode 100755 index 0000000000000000000000000000000000000000..24a16eb1b9fa5b3379673fed5bb03d62aed7ea40 Binary files /dev/null and b/manual1903/images/2.5.15.BatchTfTrainInSingleEngine_05.png differ diff --git a/manual1903/images/2.5.15.BatchTfTrainInSingleEngine_06.png b/manual1903/images/2.5.15.BatchTfTrainInSingleEngine_06.png new file mode 100755 index 0000000000000000000000000000000000000000..ef54b32c6dd7d2e5f27bf9cd18b7137745840afb Binary files /dev/null and b/manual1903/images/2.5.15.BatchTfTrainInSingleEngine_06.png differ diff --git a/manual1903/images/2.5.15_1_01.png b/manual1903/images/2.5.15_1_01.png new file mode 100644 index 0000000000000000000000000000000000000000..045c2139c3d4e2171c0846b2e8e6aabef2aef55b Binary files /dev/null and b/manual1903/images/2.5.15_1_01.png differ diff --git a/manual1903/images/2.5.15_2_01.png b/manual1903/images/2.5.15_2_01.png new file mode 100644 index 0000000000000000000000000000000000000000..ad0fad77e869fad695993a49d9f751387e6610e3 Binary files /dev/null and b/manual1903/images/2.5.15_2_01.png differ diff --git a/manual1903/images/2.5.15_2_02.png b/manual1903/images/2.5.15_2_02.png new file mode 100644 index 0000000000000000000000000000000000000000..c8d394b36072debe12b2e36483c6834d9e1d8758 Binary files /dev/null and b/manual1903/images/2.5.15_2_02.png differ diff --git a/manual1903/images/2.5.15_3_01.png b/manual1903/images/2.5.15_3_01.png new file mode 100644 index 0000000000000000000000000000000000000000..8de6f7aa4941ae434c918f364ecd2bdc7c752c4e Binary files /dev/null and b/manual1903/images/2.5.15_3_01.png differ diff --git a/manual1903/images/2.5.15_3_02.png b/manual1903/images/2.5.15_3_02.png new file mode 100644 index 0000000000000000000000000000000000000000..3f8811f28cbb431f2a5f26f39652c3b58d9710a6 Binary files /dev/null and b/manual1903/images/2.5.15_3_02.png differ diff --git a/manual1903/images/2.5.15_3_03.png b/manual1903/images/2.5.15_3_03.png new file mode 100644 index 0000000000000000000000000000000000000000..2c9901bbe620066d5a3924417b975c3295d13822 Binary files /dev/null and b/manual1903/images/2.5.15_3_03.png differ diff --git a/manual1903/images/2.5.15_4_01.png b/manual1903/images/2.5.15_4_01.png new file mode 100644 index 0000000000000000000000000000000000000000..015db6070f722ad249607d2800ba3f0efb1da1fe Binary files /dev/null and b/manual1903/images/2.5.15_4_01.png differ diff --git a/manual1903/images/2.5.15_4_02.png b/manual1903/images/2.5.15_4_02.png new file mode 100644 index 0000000000000000000000000000000000000000..71c1c64fe0a6d9f0f09bff6f929dcd87b4badf43 Binary files /dev/null and b/manual1903/images/2.5.15_4_02.png differ diff --git a/manual1903/images/2.5.15_4_02.txt b/manual1903/images/2.5.15_4_02.txt new file mode 100644 index 0000000000000000000000000000000000000000..bb17a052b559efe5c7c86272f5cc18fd363a93ab --- /dev/null +++ b/manual1903/images/2.5.15_4_02.txt @@ -0,0 +1,3 @@ +2018-10-22 15:34:09,786 [INFO] [HttpClientWriter] Request target Url: http://10.100.0.121:48082/api/v1/device/5b8756529f8fc2000183fe08/command/5b8752139f8fc2000183fded (HttpClientWriter.scala:139) +2018-10-22 15:34:09,786 [INFO] [HttpClientWriter] Request body: {"id":"2","state":{"on":true,"hue":21845}} (HttpClientWriter.scala:140) + diff --git a/manual1903/images/2.5.1_makeStreamData.png b/manual1903/images/2.5.1_makeStreamData.png new file mode 100755 index 0000000000000000000000000000000000000000..7ed5f6a85fb19759915418247832df77752b279f Binary files /dev/null and b/manual1903/images/2.5.1_makeStreamData.png differ diff --git a/manual1903/images/2.5.1_mongoDB.png b/manual1903/images/2.5.1_mongoDB.png new file mode 100755 index 0000000000000000000000000000000000000000..ccb7ef9237c7184231b72476122b79d23b550ea5 Binary files /dev/null and b/manual1903/images/2.5.1_mongoDB.png differ diff --git a/manual1903/images/2.5.1_mongoDB2.png b/manual1903/images/2.5.1_mongoDB2.png new file mode 100755 index 0000000000000000000000000000000000000000..699b182b4804ae295bc2359dd40c4caca966a550 Binary files /dev/null and b/manual1903/images/2.5.1_mongoDB2.png differ diff --git a/manual1903/images/2.5.1_mongoDB3.png b/manual1903/images/2.5.1_mongoDB3.png new file mode 100755 index 0000000000000000000000000000000000000000..61a9109fbf1756a2c7606558e114c1339a640127 Binary files /dev/null and b/manual1903/images/2.5.1_mongoDB3.png differ diff --git a/manual1903/images/2.5.1_mongoDB4.png b/manual1903/images/2.5.1_mongoDB4.png new file mode 100755 index 0000000000000000000000000000000000000000..91dd22c5428669d40d8d7a2dc707f018104573f6 Binary files /dev/null and b/manual1903/images/2.5.1_mongoDB4.png differ diff --git a/manual1903/images/2.5.1_mongoDB5.png b/manual1903/images/2.5.1_mongoDB5.png new file mode 100755 index 0000000000000000000000000000000000000000..ad8f554af5754043acbaeed852e272b134b4a467 Binary files /dev/null and b/manual1903/images/2.5.1_mongoDB5.png differ diff --git a/manual1903/images/2.5.1_workflow.png b/manual1903/images/2.5.1_workflow.png new file mode 100644 index 0000000000000000000000000000000000000000..2eee44ac9886db0efd6d1eb3aef0e65372228b6d Binary files /dev/null and b/manual1903/images/2.5.1_workflow.png differ diff --git a/manual1903/images/2.5.1_workflowHistory.png b/manual1903/images/2.5.1_workflowHistory.png new file mode 100644 index 0000000000000000000000000000000000000000..4d66b84dadf3bacec516bb50401201d7757feaf7 Binary files /dev/null and b/manual1903/images/2.5.1_workflowHistory.png differ diff --git a/manual1903/images/2.5.1_workflowLoad.png b/manual1903/images/2.5.1_workflowLoad.png new file mode 100644 index 0000000000000000000000000000000000000000..34afc25424b5fb892af4840afc9e6611701e981c Binary files /dev/null and b/manual1903/images/2.5.1_workflowLoad.png differ diff --git a/manual1903/images/2.5.1_workflowLog.png b/manual1903/images/2.5.1_workflowLog.png new file mode 100755 index 0000000000000000000000000000000000000000..73098082ccc53ee9c0ddc9108a01da2989e7ead1 Binary files /dev/null and b/manual1903/images/2.5.1_workflowLog.png differ diff --git a/manual1903/images/2.5.1_workflowMonitoring.png b/manual1903/images/2.5.1_workflowMonitoring.png new file mode 100644 index 0000000000000000000000000000000000000000..3d7433090b5c7b60f15715ae14356bf944e4fb5e Binary files /dev/null and b/manual1903/images/2.5.1_workflowMonitoring.png differ diff --git a/manual1903/images/2.5.1_workflowStart.png b/manual1903/images/2.5.1_workflowStart.png new file mode 100644 index 0000000000000000000000000000000000000000..e8b4e7a2f630d1b539eac43e8653a66d3d2c5226 Binary files /dev/null and b/manual1903/images/2.5.1_workflowStart.png differ diff --git a/manual1903/images/2.5.2_FileUpload.png b/manual1903/images/2.5.2_FileUpload.png new file mode 100755 index 0000000000000000000000000000000000000000..1dbc746bee5bd66bab484c8fab420e118c4d3027 Binary files /dev/null and b/manual1903/images/2.5.2_FileUpload.png differ diff --git a/manual1903/images/2.5.2_Repository.png b/manual1903/images/2.5.2_Repository.png new file mode 100755 index 0000000000000000000000000000000000000000..a22196dffbf92053da950a46c4d55bf121748f4f Binary files /dev/null and b/manual1903/images/2.5.2_Repository.png differ diff --git a/manual1903/images/2.5.2_fileSelection.png b/manual1903/images/2.5.2_fileSelection.png new file mode 100755 index 0000000000000000000000000000000000000000..86b3e5b4aa8c3eba56cf4dbfa7afdb172a9da0db Binary files /dev/null and b/manual1903/images/2.5.2_fileSelection.png differ diff --git a/manual1903/images/2.5.2_monitoring.png b/manual1903/images/2.5.2_monitoring.png new file mode 100755 index 0000000000000000000000000000000000000000..90e898dd3ac980129518c54d2826399af2a2c86d Binary files /dev/null and b/manual1903/images/2.5.2_monitoring.png differ diff --git a/manual1903/images/2.5.2_workflow.png b/manual1903/images/2.5.2_workflow.png new file mode 100755 index 0000000000000000000000000000000000000000..189de2c52fea945b535c824fb369096382fd94db Binary files /dev/null and b/manual1903/images/2.5.2_workflow.png differ diff --git a/manual1903/images/2.5.2_workflowHistory.png b/manual1903/images/2.5.2_workflowHistory.png new file mode 100755 index 0000000000000000000000000000000000000000..9b872bfb0af9008e5dcaf907a1243faf9817946d Binary files /dev/null and b/manual1903/images/2.5.2_workflowHistory.png differ diff --git a/manual1903/images/2.5.2_workflowLog.png b/manual1903/images/2.5.2_workflowLog.png new file mode 100755 index 0000000000000000000000000000000000000000..7a0bdf572d41a2fce3629db83998dd0152943573 Binary files /dev/null and b/manual1903/images/2.5.2_workflowLog.png differ diff --git a/manual1903/images/2.5.2_workflowStart.png b/manual1903/images/2.5.2_workflowStart.png new file mode 100755 index 0000000000000000000000000000000000000000..21e196ec87d4e797e5d4c22bcbd9baca9df20282 Binary files /dev/null and b/manual1903/images/2.5.2_workflowStart.png differ diff --git a/manual1903/images/2.5.3_monitoring.png b/manual1903/images/2.5.3_monitoring.png new file mode 100644 index 0000000000000000000000000000000000000000..330c48b14d8aa3f067ea310a8208ac0da8d60b6c Binary files /dev/null and b/manual1903/images/2.5.3_monitoring.png differ diff --git a/manual1903/images/2.5.3_monitoring_history.png b/manual1903/images/2.5.3_monitoring_history.png new file mode 100644 index 0000000000000000000000000000000000000000..afa1c4415690d4a583f4e28e2c2e5ceeadaf92c0 Binary files /dev/null and b/manual1903/images/2.5.3_monitoring_history.png differ diff --git a/manual1903/images/2.5.3_result.png b/manual1903/images/2.5.3_result.png new file mode 100644 index 0000000000000000000000000000000000000000..b02766e9e053c941ae1a4765967f8593341d53e6 Binary files /dev/null and b/manual1903/images/2.5.3_result.png differ diff --git a/manual1903/images/2.5.3_result2.png b/manual1903/images/2.5.3_result2.png new file mode 100644 index 0000000000000000000000000000000000000000..226b7162173405fa8c58eff769140b4043c45d5c Binary files /dev/null and b/manual1903/images/2.5.3_result2.png differ diff --git a/manual1903/images/2.5.3_workflow.png b/manual1903/images/2.5.3_workflow.png new file mode 100644 index 0000000000000000000000000000000000000000..ade746420276fb68dda1c580b9ddca230ff92688 Binary files /dev/null and b/manual1903/images/2.5.3_workflow.png differ diff --git a/manual1903/images/2.5.4_history.png b/manual1903/images/2.5.4_history.png new file mode 100644 index 0000000000000000000000000000000000000000..00bf62ed80942aacb37c46f91f8234259b9d6d73 Binary files /dev/null and b/manual1903/images/2.5.4_history.png differ diff --git a/manual1903/images/2.5.4_metric.png b/manual1903/images/2.5.4_metric.png new file mode 100644 index 0000000000000000000000000000000000000000..efebd711cd66295880c027cc541689d29641648d Binary files /dev/null and b/manual1903/images/2.5.4_metric.png differ diff --git a/manual1903/images/2.5.4_monitor.png b/manual1903/images/2.5.4_monitor.png new file mode 100644 index 0000000000000000000000000000000000000000..494d37189802b559a0630d59cda16be20d225588 Binary files /dev/null and b/manual1903/images/2.5.4_monitor.png differ diff --git a/manual1903/images/2.5.4_output.png b/manual1903/images/2.5.4_output.png new file mode 100644 index 0000000000000000000000000000000000000000..4ee2c5fd3e863e18dcc29eb4ff8e2c4e372f61bb Binary files /dev/null and b/manual1903/images/2.5.4_output.png differ diff --git a/manual1903/images/2.5.4_read.png b/manual1903/images/2.5.4_read.png new file mode 100644 index 0000000000000000000000000000000000000000..c55d3429056364cfee65bf05aa4dbb631dd5489b Binary files /dev/null and b/manual1903/images/2.5.4_read.png differ diff --git a/manual1903/images/2.5.4_run_workflow.png b/manual1903/images/2.5.4_run_workflow.png new file mode 100644 index 0000000000000000000000000000000000000000..019480aa07a2698629bca1b00f8ce6689d778143 Binary files /dev/null and b/manual1903/images/2.5.4_run_workflow.png differ diff --git a/manual1903/images/2.5.4_spark_args.png b/manual1903/images/2.5.4_spark_args.png new file mode 100644 index 0000000000000000000000000000000000000000..f5efac7b43d74899aeb926e9f09ebdaafb351e6b Binary files /dev/null and b/manual1903/images/2.5.4_spark_args.png differ diff --git a/manual1903/images/2.5.4_workflow.png b/manual1903/images/2.5.4_workflow.png new file mode 100644 index 0000000000000000000000000000000000000000..8a689dbec44dc06662135f4d2976acc56eaf2cb0 Binary files /dev/null and b/manual1903/images/2.5.4_workflow.png differ diff --git a/manual1903/images/2.5.5_history.png b/manual1903/images/2.5.5_history.png new file mode 100644 index 0000000000000000000000000000000000000000..40cfadbb33f2328656c39c06a2e38d1c1a037df1 Binary files /dev/null and b/manual1903/images/2.5.5_history.png differ diff --git a/manual1903/images/2.5.5_metric.png b/manual1903/images/2.5.5_metric.png new file mode 100644 index 0000000000000000000000000000000000000000..4b798d8210d45d7a9b4da64973d4884160868a3f Binary files /dev/null and b/manual1903/images/2.5.5_metric.png differ diff --git a/manual1903/images/2.5.5_monitor.png b/manual1903/images/2.5.5_monitor.png new file mode 100644 index 0000000000000000000000000000000000000000..707818ce8da63a4aeeda41f2534dfe8c3b625a86 Binary files /dev/null and b/manual1903/images/2.5.5_monitor.png differ diff --git a/manual1903/images/2.5.5_output.png b/manual1903/images/2.5.5_output.png new file mode 100644 index 0000000000000000000000000000000000000000..114ce40c4f1b62d7fda693df265b8761a8d9e289 Binary files /dev/null and b/manual1903/images/2.5.5_output.png differ diff --git a/manual1903/images/2.5.5_read.png b/manual1903/images/2.5.5_read.png new file mode 100644 index 0000000000000000000000000000000000000000..22f54a02984515bf3fb2afa69c9d10f20f3559de Binary files /dev/null and b/manual1903/images/2.5.5_read.png differ diff --git a/manual1903/images/2.5.5_run_workflow.png b/manual1903/images/2.5.5_run_workflow.png new file mode 100644 index 0000000000000000000000000000000000000000..3d5f95533af9ba421969f4a153bced55e623cc52 Binary files /dev/null and b/manual1903/images/2.5.5_run_workflow.png differ diff --git a/manual1903/images/2.5.5_spark_args.png b/manual1903/images/2.5.5_spark_args.png new file mode 100644 index 0000000000000000000000000000000000000000..1fcd383a38220ebe02992a81b5aa19219be7774a Binary files /dev/null and b/manual1903/images/2.5.5_spark_args.png differ diff --git a/manual1903/images/2.5.5_workflow.png b/manual1903/images/2.5.5_workflow.png new file mode 100644 index 0000000000000000000000000000000000000000..84e7f1b9e54f20b9db907c7a4b775487d214137e Binary files /dev/null and b/manual1903/images/2.5.5_workflow.png differ diff --git a/manual1903/images/2.5.6_history.png b/manual1903/images/2.5.6_history.png new file mode 100644 index 0000000000000000000000000000000000000000..f280e3844106e3b87c18a9095a4f9431dcffead6 Binary files /dev/null and b/manual1903/images/2.5.6_history.png differ diff --git a/manual1903/images/2.5.6_metric.png b/manual1903/images/2.5.6_metric.png new file mode 100644 index 0000000000000000000000000000000000000000..0f37e5420f15ac97a69671ee9954e4f768398fce Binary files /dev/null and b/manual1903/images/2.5.6_metric.png differ diff --git a/manual1903/images/2.5.6_monitor.png b/manual1903/images/2.5.6_monitor.png new file mode 100644 index 0000000000000000000000000000000000000000..dcab73328e1798a1bd32a0bc71371e57fa89037f Binary files /dev/null and b/manual1903/images/2.5.6_monitor.png differ diff --git a/manual1903/images/2.5.6_output.png b/manual1903/images/2.5.6_output.png new file mode 100644 index 0000000000000000000000000000000000000000..2286776d50ef6013a2b0c248813c40163aabcfdc Binary files /dev/null and b/manual1903/images/2.5.6_output.png differ diff --git a/manual1903/images/2.5.6_read.png b/manual1903/images/2.5.6_read.png new file mode 100644 index 0000000000000000000000000000000000000000..5a066b1a38f9346a376d747c5cf02d453270c394 Binary files /dev/null and b/manual1903/images/2.5.6_read.png differ diff --git a/manual1903/images/2.5.6_run_workflow.png b/manual1903/images/2.5.6_run_workflow.png new file mode 100644 index 0000000000000000000000000000000000000000..ff83712540146c95458699113703e08327fd1fe6 Binary files /dev/null and b/manual1903/images/2.5.6_run_workflow.png differ diff --git a/manual1903/images/2.5.6_spark_args.png b/manual1903/images/2.5.6_spark_args.png new file mode 100644 index 0000000000000000000000000000000000000000..bdac1e6a49105a5caba87a7947b6d4d9b0ee54e3 Binary files /dev/null and b/manual1903/images/2.5.6_spark_args.png differ diff --git a/manual1903/images/2.5.6_workflow.png b/manual1903/images/2.5.6_workflow.png new file mode 100644 index 0000000000000000000000000000000000000000..2711ed446464d27a100071bfd5df091bb48083bf Binary files /dev/null and b/manual1903/images/2.5.6_workflow.png differ diff --git a/manual1903/images/2.5.7_01.png b/manual1903/images/2.5.7_01.png new file mode 100644 index 0000000000000000000000000000000000000000..dcc249f0c3a2b992abaf6108bafcc42b4b7c3f13 Binary files /dev/null and b/manual1903/images/2.5.7_01.png differ diff --git a/manual1903/images/2.5.7_02.png b/manual1903/images/2.5.7_02.png new file mode 100644 index 0000000000000000000000000000000000000000..2052bf8d641ce4faad9c024210ce555d1d93f8ff Binary files /dev/null and b/manual1903/images/2.5.7_02.png differ diff --git a/manual1903/images/2.5.7_03.png b/manual1903/images/2.5.7_03.png new file mode 100644 index 0000000000000000000000000000000000000000..bbaadb8d8c1cee821dab4162e71bdb56ca02e9eb Binary files /dev/null and b/manual1903/images/2.5.7_03.png differ diff --git a/manual1903/images/2.5.7_04.png b/manual1903/images/2.5.7_04.png new file mode 100644 index 0000000000000000000000000000000000000000..bfa9cfccb672327fa0bb0b86fea10d48192d3466 Binary files /dev/null and b/manual1903/images/2.5.7_04.png differ diff --git a/manual1903/images/2.5.7_05.png b/manual1903/images/2.5.7_05.png new file mode 100644 index 0000000000000000000000000000000000000000..de06512b65c09a3d622d2d550a2acc116e57f284 Binary files /dev/null and b/manual1903/images/2.5.7_05.png differ diff --git a/manual1903/images/2.5.7_06.png b/manual1903/images/2.5.7_06.png new file mode 100644 index 0000000000000000000000000000000000000000..671ca893bcad853c58cfb834733452d8ab64be4c Binary files /dev/null and b/manual1903/images/2.5.7_06.png differ diff --git a/manual1903/images/2.5.8_01.png b/manual1903/images/2.5.8_01.png new file mode 100644 index 0000000000000000000000000000000000000000..08057982ab0973a6e68b6f0a34797e7ad07055bb Binary files /dev/null and b/manual1903/images/2.5.8_01.png differ diff --git a/manual1903/images/2.5.8_02.png b/manual1903/images/2.5.8_02.png new file mode 100644 index 0000000000000000000000000000000000000000..7c5fbba82c39c547037c69d482ddd3e8259287cf Binary files /dev/null and b/manual1903/images/2.5.8_02.png differ diff --git a/manual1903/images/2.5.8_03.png b/manual1903/images/2.5.8_03.png new file mode 100644 index 0000000000000000000000000000000000000000..2a4d5f4b3520b1c03dfff92c4c7e50f201b1e758 Binary files /dev/null and b/manual1903/images/2.5.8_03.png differ diff --git a/manual1903/images/2.5.8_04.png b/manual1903/images/2.5.8_04.png new file mode 100644 index 0000000000000000000000000000000000000000..c777d16c2b503c5ddefb728627685482289de9bc Binary files /dev/null and b/manual1903/images/2.5.8_04.png differ diff --git a/manual1903/images/2.5.8_05.png b/manual1903/images/2.5.8_05.png new file mode 100644 index 0000000000000000000000000000000000000000..ecb9dc64740c5d73f3e7686a73187b875b5729ce Binary files /dev/null and b/manual1903/images/2.5.8_05.png differ diff --git a/manual1903/images/2.5.8_06.png b/manual1903/images/2.5.8_06.png new file mode 100644 index 0000000000000000000000000000000000000000..e238d2a26433912d42f4ba75e75545cc307ef41e Binary files /dev/null and b/manual1903/images/2.5.8_06.png differ diff --git a/manual1903/images/2.5.8_07.png b/manual1903/images/2.5.8_07.png new file mode 100644 index 0000000000000000000000000000000000000000..de06512b65c09a3d622d2d550a2acc116e57f284 Binary files /dev/null and b/manual1903/images/2.5.8_07.png differ diff --git a/manual1903/images/2.5.8_08.png b/manual1903/images/2.5.8_08.png new file mode 100644 index 0000000000000000000000000000000000000000..516432cf17a66e3c7ee154ab515c4b1d95018b1d Binary files /dev/null and b/manual1903/images/2.5.8_08.png differ diff --git a/manual1903/images/2.5.9_01.png b/manual1903/images/2.5.9_01.png new file mode 100644 index 0000000000000000000000000000000000000000..d777e8a3f9e13e5fd7e22363ebcd44cce1691463 Binary files /dev/null and b/manual1903/images/2.5.9_01.png differ diff --git a/manual1903/images/2.5.9_02.png b/manual1903/images/2.5.9_02.png new file mode 100644 index 0000000000000000000000000000000000000000..1d83896c55aae7735835a6b334a8c24da1b4d71c Binary files /dev/null and b/manual1903/images/2.5.9_02.png differ diff --git a/manual1903/images/2.5.9_03.png b/manual1903/images/2.5.9_03.png new file mode 100644 index 0000000000000000000000000000000000000000..7175543234920431b55da45360fe364b76816bae Binary files /dev/null and b/manual1903/images/2.5.9_03.png differ diff --git a/manual1903/images/2.5.9_04.png b/manual1903/images/2.5.9_04.png new file mode 100644 index 0000000000000000000000000000000000000000..665150c15eb86f292644828dd3bdbfbf502ccb57 Binary files /dev/null and b/manual1903/images/2.5.9_04.png differ diff --git a/manual1903/images/2.5.9_05.png b/manual1903/images/2.5.9_05.png new file mode 100644 index 0000000000000000000000000000000000000000..490a6ec6f8076e155a69ee43495213e381d1d622 Binary files /dev/null and b/manual1903/images/2.5.9_05.png differ diff --git a/manual1903/images/2.5.9_06.png b/manual1903/images/2.5.9_06.png new file mode 100644 index 0000000000000000000000000000000000000000..f8c0db17b40a7bf473fff2430ed18266dd8aff25 Binary files /dev/null and b/manual1903/images/2.5.9_06.png differ diff --git a/manual1903/images/2.5.9_07.png b/manual1903/images/2.5.9_07.png new file mode 100644 index 0000000000000000000000000000000000000000..de06512b65c09a3d622d2d550a2acc116e57f284 Binary files /dev/null and b/manual1903/images/2.5.9_07.png differ diff --git a/manual1903/images/2.5.9_08.png b/manual1903/images/2.5.9_08.png new file mode 100644 index 0000000000000000000000000000000000000000..972094f6847d3963845aaf4fa05a79a360a8734c Binary files /dev/null and b/manual1903/images/2.5.9_08.png differ diff --git a/manual1903/images/2.6.1_monitoring.png b/manual1903/images/2.6.1_monitoring.png new file mode 100644 index 0000000000000000000000000000000000000000..e23c9fc44232608ba4afda47ea1759a0e03efe9f Binary files /dev/null and b/manual1903/images/2.6.1_monitoring.png differ diff --git a/manual1903/images/2.6.1_monitoring_history.png b/manual1903/images/2.6.1_monitoring_history.png new file mode 100644 index 0000000000000000000000000000000000000000..8f6ace42c3b327e591c410436cbeb9b498872bfe Binary files /dev/null and b/manual1903/images/2.6.1_monitoring_history.png differ diff --git a/manual1903/images/2.6.1_monitoring_log.png b/manual1903/images/2.6.1_monitoring_log.png new file mode 100644 index 0000000000000000000000000000000000000000..6e89032b7be8ff3b84705aab64a2e331774cbda9 Binary files /dev/null and b/manual1903/images/2.6.1_monitoring_log.png differ diff --git a/manual1903/images/2.6.1_resultFile.png b/manual1903/images/2.6.1_resultFile.png new file mode 100644 index 0000000000000000000000000000000000000000..de29fa08eacddcfab1734ad7b682ea8beb8ff9d5 Binary files /dev/null and b/manual1903/images/2.6.1_resultFile.png differ diff --git a/manual1903/images/2.6.1_workflow.png b/manual1903/images/2.6.1_workflow.png new file mode 100644 index 0000000000000000000000000000000000000000..8ca2164135a0431e81029c8b02c4d42bc5907bae Binary files /dev/null and b/manual1903/images/2.6.1_workflow.png differ diff --git a/manual1903/images/2.6.2_codeUpload.png b/manual1903/images/2.6.2_codeUpload.png new file mode 100644 index 0000000000000000000000000000000000000000..3ba758e8d974fd2389d2a02fa97ea40e85f57fd8 Binary files /dev/null and b/manual1903/images/2.6.2_codeUpload.png differ diff --git a/manual1903/images/2.6.2_codeUpload2.png b/manual1903/images/2.6.2_codeUpload2.png new file mode 100644 index 0000000000000000000000000000000000000000..739aa50dc503b1f581ee012e3508545fb562e09b Binary files /dev/null and b/manual1903/images/2.6.2_codeUpload2.png differ diff --git a/manual1903/images/2.6.2_fileUpload.png b/manual1903/images/2.6.2_fileUpload.png new file mode 100644 index 0000000000000000000000000000000000000000..6f0c20a3ab27b1938c20002b948a1fdbae58c8fe Binary files /dev/null and b/manual1903/images/2.6.2_fileUpload.png differ diff --git a/manual1903/images/2.6.2_modelSave.png b/manual1903/images/2.6.2_modelSave.png new file mode 100644 index 0000000000000000000000000000000000000000..0714080a9843717403d349977ccacad820825bcf Binary files /dev/null and b/manual1903/images/2.6.2_modelSave.png differ diff --git a/manual1903/images/2.6.2_monitoring.png b/manual1903/images/2.6.2_monitoring.png new file mode 100644 index 0000000000000000000000000000000000000000..b442f1fd8dd1177e7db866cc2abc0d999e12418c Binary files /dev/null and b/manual1903/images/2.6.2_monitoring.png differ diff --git a/manual1903/images/2.6.2_monitoring_history.png b/manual1903/images/2.6.2_monitoring_history.png new file mode 100644 index 0000000000000000000000000000000000000000..78f9ebd8bf1047c9a91c44b8b9f789000f94f6b5 Binary files /dev/null and b/manual1903/images/2.6.2_monitoring_history.png differ diff --git a/manual1903/images/2.6.2_workflow.png b/manual1903/images/2.6.2_workflow.png new file mode 100644 index 0000000000000000000000000000000000000000..6899492a959e32bf992b99b7b7b979c33ceae575 Binary files /dev/null and b/manual1903/images/2.6.2_workflow.png differ diff --git a/manual1903/images/2.6.3_monitoring.png b/manual1903/images/2.6.3_monitoring.png new file mode 100644 index 0000000000000000000000000000000000000000..90bba444b803cb3ac0dd575f5b77ac3141e255e1 Binary files /dev/null and b/manual1903/images/2.6.3_monitoring.png differ diff --git a/manual1903/images/2.6.3_monitoring_history.png b/manual1903/images/2.6.3_monitoring_history.png new file mode 100644 index 0000000000000000000000000000000000000000..6b9f7e93f793ad6d6c6fc86bd586dcefbf3a7387 Binary files /dev/null and b/manual1903/images/2.6.3_monitoring_history.png differ diff --git a/manual1903/images/2.6.3_postmanSetting.png b/manual1903/images/2.6.3_postmanSetting.png new file mode 100644 index 0000000000000000000000000000000000000000..790a86fe4d85f8ec1621dea22020dbb5b33d657e Binary files /dev/null and b/manual1903/images/2.6.3_postmanSetting.png differ diff --git a/manual1903/images/2.6.3_services.png b/manual1903/images/2.6.3_services.png new file mode 100644 index 0000000000000000000000000000000000000000..28f52480a3e1372f00700535243ecbeaaad4f005 Binary files /dev/null and b/manual1903/images/2.6.3_services.png differ diff --git a/manual1903/images/2.6.3_servingResult1.png b/manual1903/images/2.6.3_servingResult1.png new file mode 100644 index 0000000000000000000000000000000000000000..f811e327a0e5858d70d7b9429f7d1df1e6291971 Binary files /dev/null and b/manual1903/images/2.6.3_servingResult1.png differ diff --git a/manual1903/images/2.6.3_workflow.png b/manual1903/images/2.6.3_workflow.png new file mode 100644 index 0000000000000000000000000000000000000000..8e282dfd9116f68755d19b9a4bef8a170accf015 Binary files /dev/null and b/manual1903/images/2.6.3_workflow.png differ diff --git a/manual1903/images/2.6.4_monitoring.png b/manual1903/images/2.6.4_monitoring.png new file mode 100644 index 0000000000000000000000000000000000000000..142116702bf0ea41323bc407f316376b7393db0d Binary files /dev/null and b/manual1903/images/2.6.4_monitoring.png differ diff --git a/manual1903/images/2.6.4_monitoring_history.png b/manual1903/images/2.6.4_monitoring_history.png new file mode 100644 index 0000000000000000000000000000000000000000..d89eb039a8e47ed780736817d858810de4a1b88e Binary files /dev/null and b/manual1903/images/2.6.4_monitoring_history.png differ diff --git a/manual1903/images/2.6.4_workflow.png b/manual1903/images/2.6.4_workflow.png new file mode 100644 index 0000000000000000000000000000000000000000..87406510e30223173a8df3963d6299cda96d7c6f Binary files /dev/null and b/manual1903/images/2.6.4_workflow.png differ diff --git a/manual1903/images/2.6.5_checkpoint.png b/manual1903/images/2.6.5_checkpoint.png new file mode 100644 index 0000000000000000000000000000000000000000..c7935fd3973cbe79956b357a997e0833c7601319 Binary files /dev/null and b/manual1903/images/2.6.5_checkpoint.png differ diff --git a/manual1903/images/2.6.5_monitoring.png b/manual1903/images/2.6.5_monitoring.png new file mode 100644 index 0000000000000000000000000000000000000000..4c7a6f523e4f4642265b6fe666e526b6bf19c145 Binary files /dev/null and b/manual1903/images/2.6.5_monitoring.png differ diff --git a/manual1903/images/2.6.5_monitoring_history.png b/manual1903/images/2.6.5_monitoring_history.png new file mode 100644 index 0000000000000000000000000000000000000000..0f6aa12f2a64e633af6f4d181cd91c1058781362 Binary files /dev/null and b/manual1903/images/2.6.5_monitoring_history.png differ diff --git a/manual1903/images/2.6.5_workflow.png b/manual1903/images/2.6.5_workflow.png new file mode 100644 index 0000000000000000000000000000000000000000..3ec8026414a16574646a6d90074cba9b08367fba Binary files /dev/null and b/manual1903/images/2.6.5_workflow.png differ diff --git a/manual1903/images/2.6.6_checkpoint.png b/manual1903/images/2.6.6_checkpoint.png new file mode 100644 index 0000000000000000000000000000000000000000..c7935fd3973cbe79956b357a997e0833c7601319 Binary files /dev/null and b/manual1903/images/2.6.6_checkpoint.png differ diff --git a/manual1903/images/2.6.6_modelUpload.png b/manual1903/images/2.6.6_modelUpload.png new file mode 100644 index 0000000000000000000000000000000000000000..5d89e328ce4ef99c57a5d9fc85c1e67da0e94d61 Binary files /dev/null and b/manual1903/images/2.6.6_modelUpload.png differ diff --git a/manual1903/images/2.6.6_modelUpload2.png b/manual1903/images/2.6.6_modelUpload2.png new file mode 100644 index 0000000000000000000000000000000000000000..1ac742398869c5af4a05459d37cd54cea5bbd56b Binary files /dev/null and b/manual1903/images/2.6.6_modelUpload2.png differ diff --git a/manual1903/images/2.6.6_monitoring.png b/manual1903/images/2.6.6_monitoring.png new file mode 100644 index 0000000000000000000000000000000000000000..72e2adf9e68740c3c8e8bdeac11a9d049e287929 Binary files /dev/null and b/manual1903/images/2.6.6_monitoring.png differ diff --git a/manual1903/images/2.6.6_monitoring_history.png b/manual1903/images/2.6.6_monitoring_history.png new file mode 100644 index 0000000000000000000000000000000000000000..61145db093e47efa977929053f7274c5bd8af902 Binary files /dev/null and b/manual1903/images/2.6.6_monitoring_history.png differ diff --git a/manual1903/images/2.6.6_workflow.png b/manual1903/images/2.6.6_workflow.png new file mode 100644 index 0000000000000000000000000000000000000000..0931375e1f38d77c7c8e9815da4b0230fb8c2927 Binary files /dev/null and b/manual1903/images/2.6.6_workflow.png differ diff --git a/manual1903/images/2.6.7_TrafficSenario.png b/manual1903/images/2.6.7_TrafficSenario.png new file mode 100644 index 0000000000000000000000000000000000000000..7338a5e5a6432e4d4ca55c1699f835cb77eea2ab Binary files /dev/null and b/manual1903/images/2.6.7_TrafficSenario.png differ diff --git a/manual1903/images/2.6.7_checkpoint.png b/manual1903/images/2.6.7_checkpoint.png new file mode 100644 index 0000000000000000000000000000000000000000..32ebd402f370fe53bf9dbb8701c213e381857ecd Binary files /dev/null and b/manual1903/images/2.6.7_checkpoint.png differ diff --git a/manual1903/images/2.6.7_modelSave.png b/manual1903/images/2.6.7_modelSave.png new file mode 100644 index 0000000000000000000000000000000000000000..c87322279020c5682b926148f2e0949f806682f6 Binary files /dev/null and b/manual1903/images/2.6.7_modelSave.png differ diff --git a/manual1903/images/2.6.7_monitoring.png b/manual1903/images/2.6.7_monitoring.png new file mode 100644 index 0000000000000000000000000000000000000000..2992b07983d75aec213f1d39b95440398afc37f3 Binary files /dev/null and b/manual1903/images/2.6.7_monitoring.png differ diff --git a/manual1903/images/2.6.7_monitoring2.png b/manual1903/images/2.6.7_monitoring2.png new file mode 100644 index 0000000000000000000000000000000000000000..56ae260b69f595f55472af03ebf3cb55ab15ba9f Binary files /dev/null and b/manual1903/images/2.6.7_monitoring2.png differ diff --git a/manual1903/images/2.6.7_monitoring_history.png b/manual1903/images/2.6.7_monitoring_history.png new file mode 100644 index 0000000000000000000000000000000000000000..dd1bf2d5678791bff425c38a5ac103b0a3a17ef2 Binary files /dev/null and b/manual1903/images/2.6.7_monitoring_history.png differ diff --git a/manual1903/images/2.6.7_runTypeSetting.png b/manual1903/images/2.6.7_runTypeSetting.png new file mode 100644 index 0000000000000000000000000000000000000000..5eaf8bf4c42befc527fc092ac2a1750a98443250 Binary files /dev/null and b/manual1903/images/2.6.7_runTypeSetting.png differ diff --git a/manual1903/images/2.6.7_workflow.png b/manual1903/images/2.6.7_workflow.png new file mode 100644 index 0000000000000000000000000000000000000000..362e22e0e4e9406708e2d35a61284526157c8685 Binary files /dev/null and b/manual1903/images/2.6.7_workflow.png differ diff --git a/manual1903/images/2.6.7_workflowInstances.png b/manual1903/images/2.6.7_workflowInstances.png new file mode 100644 index 0000000000000000000000000000000000000000..d2aa628554c3424aca3abb64e2788f5a59a2d247 Binary files /dev/null and b/manual1903/images/2.6.7_workflowInstances.png differ diff --git a/manual1903/images/2.6.7_workflowLoad.png b/manual1903/images/2.6.7_workflowLoad.png new file mode 100644 index 0000000000000000000000000000000000000000..dc38d341cb0f01179e22f6f5e03e7dd2809c611b Binary files /dev/null and b/manual1903/images/2.6.7_workflowLoad.png differ diff --git a/manual1903/images/2.6_fileUpload.png b/manual1903/images/2.6_fileUpload.png new file mode 100644 index 0000000000000000000000000000000000000000..1b23f286eec33f9e4fd8fd33eb617f8f1913fadc Binary files /dev/null and b/manual1903/images/2.6_fileUpload.png differ diff --git a/manual1903/images/2.6_kafkaInput.png b/manual1903/images/2.6_kafkaInput.png new file mode 100644 index 0000000000000000000000000000000000000000..7409e519214eec2cd261d45c43b4ce7717a3eb85 Binary files /dev/null and b/manual1903/images/2.6_kafkaInput.png differ diff --git a/manual1903/images/2.6_kafkaInput_sorted.png b/manual1903/images/2.6_kafkaInput_sorted.png new file mode 100644 index 0000000000000000000000000000000000000000..185d014e28acd33d557c9b935214477782a0c44e Binary files /dev/null and b/manual1903/images/2.6_kafkaInput_sorted.png differ diff --git a/manual1903/images/2.6_pivotResult.png b/manual1903/images/2.6_pivotResult.png new file mode 100644 index 0000000000000000000000000000000000000000..04e014eb0c9359850a204442ce93815feecd320f Binary files /dev/null and b/manual1903/images/2.6_pivotResult.png differ diff --git a/manual1903/images/2.6_predictResult.png b/manual1903/images/2.6_predictResult.png new file mode 100644 index 0000000000000000000000000000000000000000..82b9f5a40a842070b2599b624f7678b9224645bf Binary files /dev/null and b/manual1903/images/2.6_predictResult.png differ diff --git a/manual1903/images/2.7.2_DLTrainOperator1.png b/manual1903/images/2.7.2_DLTrainOperator1.png new file mode 100644 index 0000000000000000000000000000000000000000..ea2e8ba8e46e3baa5409fc76977b13f6ecf5c4f3 Binary files /dev/null and b/manual1903/images/2.7.2_DLTrainOperator1.png differ diff --git a/manual1903/images/2.7.2_DLTrainOperator2.png b/manual1903/images/2.7.2_DLTrainOperator2.png new file mode 100644 index 0000000000000000000000000000000000000000..609253807b00a152f15e2adca288bfe3f994dbe0 Binary files /dev/null and b/manual1903/images/2.7.2_DLTrainOperator2.png differ diff --git a/manual1903/images/2.7.2_FileReader.png b/manual1903/images/2.7.2_FileReader.png new file mode 100644 index 0000000000000000000000000000000000000000..54f3cd5f56501c1a35ad454369606cd91c7c982f Binary files /dev/null and b/manual1903/images/2.7.2_FileReader.png differ diff --git a/manual1903/images/2.7.2_FileWriter.png b/manual1903/images/2.7.2_FileWriter.png new file mode 100644 index 0000000000000000000000000000000000000000..49f7c9d51a2fa37d5b628e217652acc98ba87826 Binary files /dev/null and b/manual1903/images/2.7.2_FileWriter.png differ diff --git a/manual1903/images/2.7.2_introduction.png b/manual1903/images/2.7.2_introduction.png new file mode 100644 index 0000000000000000000000000000000000000000..f2c7b01158d009939143a1bd45897c8fdba728c0 Binary files /dev/null and b/manual1903/images/2.7.2_introduction.png differ diff --git a/manual1903/images/2.7.3_history.png b/manual1903/images/2.7.3_history.png new file mode 100644 index 0000000000000000000000000000000000000000..223802043ddd062d8c434eba9244f33887ff0eca Binary files /dev/null and b/manual1903/images/2.7.3_history.png differ diff --git a/manual1903/images/2.7.3_monitor.png b/manual1903/images/2.7.3_monitor.png new file mode 100644 index 0000000000000000000000000000000000000000..1ae798cd2a2500d6214b8a448b9898bc396fc0d3 Binary files /dev/null and b/manual1903/images/2.7.3_monitor.png differ diff --git a/manual1903/images/2.7.3_output.png b/manual1903/images/2.7.3_output.png new file mode 100644 index 0000000000000000000000000000000000000000..1372f948b74c7aa6f81a5c7cc255be50cbc252b7 Binary files /dev/null and b/manual1903/images/2.7.3_output.png differ diff --git a/manual1903/images/2.7.3_read.png b/manual1903/images/2.7.3_read.png new file mode 100644 index 0000000000000000000000000000000000000000..18d04acd00750cf291f2271b0170da67da997150 Binary files /dev/null and b/manual1903/images/2.7.3_read.png differ diff --git a/manual1903/images/2.7.3_run_workflow.png b/manual1903/images/2.7.3_run_workflow.png new file mode 100644 index 0000000000000000000000000000000000000000..d0fafe8df8d6269e0037a12727017b53975a5a6f Binary files /dev/null and b/manual1903/images/2.7.3_run_workflow.png differ diff --git a/manual1903/images/2.7.3_workflow.png b/manual1903/images/2.7.3_workflow.png new file mode 100644 index 0000000000000000000000000000000000000000..7dcab522319c6336d427a85d81c4fdeb7a424099 Binary files /dev/null and b/manual1903/images/2.7.3_workflow.png differ diff --git a/manual1903/images/3.1_eclipse_project.png b/manual1903/images/3.1_eclipse_project.png new file mode 100644 index 0000000000000000000000000000000000000000..40985e09bbf0029134085c920475182249fdd0fe Binary files /dev/null and b/manual1903/images/3.1_eclipse_project.png differ diff --git a/manual1903/images/3.1_import_ksb_core_1.png b/manual1903/images/3.1_import_ksb_core_1.png new file mode 100644 index 0000000000000000000000000000000000000000..ee4a033ef4885ef65b93e222f1fd28246daa63bd Binary files /dev/null and b/manual1903/images/3.1_import_ksb_core_1.png differ diff --git a/manual1903/images/3.1_import_ksb_core_2.png b/manual1903/images/3.1_import_ksb_core_2.png new file mode 100644 index 0000000000000000000000000000000000000000..5423d0e7925344f3d465a33a74dd6ab59b836ad1 Binary files /dev/null and b/manual1903/images/3.1_import_ksb_core_2.png differ diff --git a/manual1903/images/3.1_setScala_211.png b/manual1903/images/3.1_setScala_211.png new file mode 100644 index 0000000000000000000000000000000000000000..9441d8b89917d18e658ced12e32e4751bbfd1ab1 Binary files /dev/null and b/manual1903/images/3.1_setScala_211.png differ diff --git a/manual1903/images/3.1_workingSet.png b/manual1903/images/3.1_workingSet.png new file mode 100644 index 0000000000000000000000000000000000000000..7ffee30e1c623276957b5b27ff68ecd81618d3c9 Binary files /dev/null and b/manual1903/images/3.1_workingSet.png differ diff --git a/manual1903/images/3.2.1_protofiles.png b/manual1903/images/3.2.1_protofiles.png new file mode 100644 index 0000000000000000000000000000000000000000..d8af8bab06955e3f8acb731f6cd653110241c452 Binary files /dev/null and b/manual1903/images/3.2.1_protofiles.png differ diff --git a/manual1903/images/3.4.1_component.png b/manual1903/images/3.4.1_component.png new file mode 100644 index 0000000000000000000000000000000000000000..2037bd217b3a4499d15898b176b4065d77206da4 Binary files /dev/null and b/manual1903/images/3.4.1_component.png differ diff --git a/manual1903/images/3.4.1_result.png b/manual1903/images/3.4.1_result.png new file mode 100644 index 0000000000000000000000000000000000000000..17e51caa768398ad495b867616361b9e51e30a41 Binary files /dev/null and b/manual1903/images/3.4.1_result.png differ diff --git a/manual1903/images/3.4.1_result2.png b/manual1903/images/3.4.1_result2.png new file mode 100644 index 0000000000000000000000000000000000000000..6b9c3a9de338e85bcc08bd9b71ccec50123e466f Binary files /dev/null and b/manual1903/images/3.4.1_result2.png differ diff --git a/manual1903/images/3.4.1_revision.png b/manual1903/images/3.4.1_revision.png new file mode 100644 index 0000000000000000000000000000000000000000..7bd7d0f24152e5e90e5c882aabfcd619e7248df1 Binary files /dev/null and b/manual1903/images/3.4.1_revision.png differ diff --git a/manual1903/images/3.4.1_ui.png b/manual1903/images/3.4.1_ui.png new file mode 100644 index 0000000000000000000000000000000000000000..e5df6efff4e2590b9346afacca30a53d064d0316 Binary files /dev/null and b/manual1903/images/3.4.1_ui.png differ diff --git a/manual1903/images/3.4.1_ui_mapping.png b/manual1903/images/3.4.1_ui_mapping.png new file mode 100644 index 0000000000000000000000000000000000000000..41a70de1af502806117f15f1df858f02d5a315b3 Binary files /dev/null and b/manual1903/images/3.4.1_ui_mapping.png differ diff --git a/manual1903/images/3.4.1_ui_mapping2.png b/manual1903/images/3.4.1_ui_mapping2.png new file mode 100644 index 0000000000000000000000000000000000000000..d10bad4947c13e668755ccf6b823cd10f7897771 Binary files /dev/null and b/manual1903/images/3.4.1_ui_mapping2.png differ diff --git a/manual1903/images/3.4.2_component.png b/manual1903/images/3.4.2_component.png new file mode 100644 index 0000000000000000000000000000000000000000..dbd2ed193d151a8cb3fe693d746c3493475eaa45 Binary files /dev/null and b/manual1903/images/3.4.2_component.png differ diff --git a/manual1903/images/3.4.2_component2.png b/manual1903/images/3.4.2_component2.png new file mode 100644 index 0000000000000000000000000000000000000000..4663d336dff9f38711fc712eb657c59325a9a9c1 Binary files /dev/null and b/manual1903/images/3.4.2_component2.png differ diff --git a/manual1903/images/3.4.2_result.png b/manual1903/images/3.4.2_result.png new file mode 100644 index 0000000000000000000000000000000000000000..e5add0ce7475fca7a044c2a7b7431f86db3afafd Binary files /dev/null and b/manual1903/images/3.4.2_result.png differ diff --git a/manual1903/images/3.4.2_result2.png b/manual1903/images/3.4.2_result2.png new file mode 100644 index 0000000000000000000000000000000000000000..d9edc6e006f91696684c8e1adeb0664dc786b82f Binary files /dev/null and b/manual1903/images/3.4.2_result2.png differ diff --git a/manual1903/images/3.4.2_ui.png b/manual1903/images/3.4.2_ui.png new file mode 100644 index 0000000000000000000000000000000000000000..7a8f8faf556475346e3343598ca1039b5391aa37 Binary files /dev/null and b/manual1903/images/3.4.2_ui.png differ diff --git a/manual1903/images/3.4.2_ui_mapping.png b/manual1903/images/3.4.2_ui_mapping.png new file mode 100644 index 0000000000000000000000000000000000000000..93491adc67ee564d54b1cc72b5a115017d5ac03a Binary files /dev/null and b/manual1903/images/3.4.2_ui_mapping.png differ diff --git a/manual1903/images/3.4.2_ui_mapping2.png b/manual1903/images/3.4.2_ui_mapping2.png new file mode 100644 index 0000000000000000000000000000000000000000..8fc2636de008cd7c85cb54a4028830f9f5b4fd18 Binary files /dev/null and b/manual1903/images/3.4.2_ui_mapping2.png differ diff --git a/manual1903/images/3.4_clone.png b/manual1903/images/3.4_clone.png new file mode 100644 index 0000000000000000000000000000000000000000..56862c749099df1e2a388b40c92b40f3baa985f8 Binary files /dev/null and b/manual1903/images/3.4_clone.png differ diff --git a/manual1903/images/3.4_clone2.png b/manual1903/images/3.4_clone2.png new file mode 100644 index 0000000000000000000000000000000000000000..dbf6e378f38d8191d0ed568bd4cb936aebe3bd92 Binary files /dev/null and b/manual1903/images/3.4_clone2.png differ diff --git a/manual1903/images/3.4_component.png b/manual1903/images/3.4_component.png new file mode 100644 index 0000000000000000000000000000000000000000..2a7990259c106d083f14341129a139e0aa91fdfe Binary files /dev/null and b/manual1903/images/3.4_component.png differ diff --git a/manual1903/images/3.4_component2.png b/manual1903/images/3.4_component2.png new file mode 100644 index 0000000000000000000000000000000000000000..c6b76d0ab2493b40ecc5127ab3e168e532cac95c Binary files /dev/null and b/manual1903/images/3.4_component2.png differ diff --git a/manual1903/images/3.4_component3.png b/manual1903/images/3.4_component3.png new file mode 100644 index 0000000000000000000000000000000000000000..998819fb201cc3685c45adbbb4ac12ac7dc12af6 Binary files /dev/null and b/manual1903/images/3.4_component3.png differ diff --git a/manual1903/images/3.4_enum.png b/manual1903/images/3.4_enum.png new file mode 100644 index 0000000000000000000000000000000000000000..b429dcb28ad9c0caa499af5f775c0b77f511e3c5 Binary files /dev/null and b/manual1903/images/3.4_enum.png differ diff --git a/manual1903/images/3.4_enum2.png b/manual1903/images/3.4_enum2.png new file mode 100644 index 0000000000000000000000000000000000000000..6aef7b942adca7c0b082e6f57f3860c16eccbdff Binary files /dev/null and b/manual1903/images/3.4_enum2.png differ diff --git a/manual1903/images/3.4_revision.png b/manual1903/images/3.4_revision.png new file mode 100644 index 0000000000000000000000000000000000000000..16431ea471c4d3013c9c8f433fbee55f9e2e7db1 Binary files /dev/null and b/manual1903/images/3.4_revision.png differ diff --git a/manual1903/images/3.4_ui.png b/manual1903/images/3.4_ui.png new file mode 100644 index 0000000000000000000000000000000000000000..a69ab451e5c1f08475531bf14de9e471f594bbaa Binary files /dev/null and b/manual1903/images/3.4_ui.png differ diff --git a/manual1903/images/3.4_ui_mapping.png b/manual1903/images/3.4_ui_mapping.png new file mode 100644 index 0000000000000000000000000000000000000000..60cb9b008d3bf21b948fcd3343a860d736150a61 Binary files /dev/null and b/manual1903/images/3.4_ui_mapping.png differ diff --git a/manual1903/images/3.4_ui_mapping2.png b/manual1903/images/3.4_ui_mapping2.png new file mode 100644 index 0000000000000000000000000000000000000000..13622a45c50d3a9c14c67d3ea26590c7d7a108d2 Binary files /dev/null and b/manual1903/images/3.4_ui_mapping2.png differ diff --git a/manual1903/images/3_4_engine.png b/manual1903/images/3_4_engine.png new file mode 100755 index 0000000000000000000000000000000000000000..b85ab348fec90ed22e2952fae3366d944d3960c7 Binary files /dev/null and b/manual1903/images/3_4_engine.png differ diff --git a/manual1903/images/3_4_enum.png b/manual1903/images/3_4_enum.png new file mode 100755 index 0000000000000000000000000000000000000000..9c396f2513a7ccd7bc9e1328383306e795f34e6e Binary files /dev/null and b/manual1903/images/3_4_enum.png differ diff --git a/manual1903/images/3_4_msg.png b/manual1903/images/3_4_msg.png new file mode 100755 index 0000000000000000000000000000000000000000..f269d11325f39e9561a15fe1134dcf115fabfa69 Binary files /dev/null and b/manual1903/images/3_4_msg.png differ diff --git a/manual1903/images/3_4_msg2.png b/manual1903/images/3_4_msg2.png new file mode 100755 index 0000000000000000000000000000000000000000..28457043caed650462d77a9d8fd0d1f6a6ba8f2c Binary files /dev/null and b/manual1903/images/3_4_msg2.png differ diff --git a/manual1903/images/3_4_revision.png b/manual1903/images/3_4_revision.png new file mode 100755 index 0000000000000000000000000000000000000000..c6a07ba53ef55edc551d643b957c901bea0cc6b7 Binary files /dev/null and b/manual1903/images/3_4_revision.png differ diff --git a/manual1903/images/3_4_ui.png b/manual1903/images/3_4_ui.png new file mode 100755 index 0000000000000000000000000000000000000000..1b5a342766456aa9123b3d21c57f19b9c0c13e53 Binary files /dev/null and b/manual1903/images/3_4_ui.png differ diff --git a/manual1903/images/3_4_ui2.png b/manual1903/images/3_4_ui2.png new file mode 100755 index 0000000000000000000000000000000000000000..8e0aea01eae4f9784148cad314dad49181e338f2 Binary files /dev/null and b/manual1903/images/3_4_ui2.png differ diff --git a/manual1903/images/3_4_ui_mapping.png b/manual1903/images/3_4_ui_mapping.png new file mode 100755 index 0000000000000000000000000000000000000000..88cebfe4fa7a3ed95dcf824749250815da06827d Binary files /dev/null and b/manual1903/images/3_4_ui_mapping.png differ diff --git a/manual1903/images/3_4_ui_mapping2.png b/manual1903/images/3_4_ui_mapping2.png new file mode 100755 index 0000000000000000000000000000000000000000..65b8ea0b7856fdbab00cd3445677e336c9337a90 Binary files /dev/null and b/manual1903/images/3_4_ui_mapping2.png differ diff --git a/manual1903/images/4.1.1.01.png b/manual1903/images/4.1.1.01.png new file mode 100644 index 0000000000000000000000000000000000000000..26fb34eeb6a6c3c03422180ba2947a4380fc9dc4 Binary files /dev/null and b/manual1903/images/4.1.1.01.png differ diff --git a/manual1903/images/4.1.1.02.png b/manual1903/images/4.1.1.02.png new file mode 100644 index 0000000000000000000000000000000000000000..bfb3a1c5f3751c2fce62e9074173759d3ef5a7b7 Binary files /dev/null and b/manual1903/images/4.1.1.02.png differ diff --git a/manual1903/images/4.1.1.03.png b/manual1903/images/4.1.1.03.png new file mode 100644 index 0000000000000000000000000000000000000000..b71b4f854396a299f3a60ac352229186c7002c2c Binary files /dev/null and b/manual1903/images/4.1.1.03.png differ diff --git a/manual1903/images/4.1.1.04.png b/manual1903/images/4.1.1.04.png new file mode 100644 index 0000000000000000000000000000000000000000..f58bcd2729ab8216882dfe1261877f267afe11bb Binary files /dev/null and b/manual1903/images/4.1.1.04.png differ diff --git a/manual1903/images/4.1.1.05.png b/manual1903/images/4.1.1.05.png new file mode 100644 index 0000000000000000000000000000000000000000..6ae95d3f5cbc1d8755bdd9f761ede857d92bd3b9 Binary files /dev/null and b/manual1903/images/4.1.1.05.png differ diff --git a/manual1903/images/4.1.1.06.png b/manual1903/images/4.1.1.06.png new file mode 100644 index 0000000000000000000000000000000000000000..5d62b9784b58037e91713ac5aea3caf01d0be688 Binary files /dev/null and b/manual1903/images/4.1.1.06.png differ diff --git a/manual1903/images/4.1.1.1.DBSCAN.png b/manual1903/images/4.1.1.1.DBSCAN.png new file mode 100644 index 0000000000000000000000000000000000000000..231fbfa1e504472c4923839ddda7d810fe513060 Binary files /dev/null and b/manual1903/images/4.1.1.1.DBSCAN.png differ diff --git a/manual1903/images/4.1.1.20.Decision_tree.png b/manual1903/images/4.1.1.20.Decision_tree.png new file mode 100644 index 0000000000000000000000000000000000000000..982352884f1e4955c69d10842871b4767ada748c Binary files /dev/null and b/manual1903/images/4.1.1.20.Decision_tree.png differ diff --git a/manual1903/images/4.1.1.23.PCA1.PNG b/manual1903/images/4.1.1.23.PCA1.PNG new file mode 100644 index 0000000000000000000000000000000000000000..f7afb00a8be6273d737310286a85410337e32ca5 Binary files /dev/null and b/manual1903/images/4.1.1.23.PCA1.PNG differ diff --git a/manual1903/images/4.1.1.23.PCA2.PNG b/manual1903/images/4.1.1.23.PCA2.PNG new file mode 100644 index 0000000000000000000000000000000000000000..8c9282bca1ccb6ba3b1570ac13f0fa98f9bef8e7 Binary files /dev/null and b/manual1903/images/4.1.1.23.PCA2.PNG differ diff --git a/manual1903/images/4.1.1.24.randomSampling.png b/manual1903/images/4.1.1.24.randomSampling.png new file mode 100644 index 0000000000000000000000000000000000000000..cefd622b3bfde97f153dcb3db61868fae09bc5ad Binary files /dev/null and b/manual1903/images/4.1.1.24.randomSampling.png differ diff --git a/manual1903/images/4.1.1.25.backward.PNG b/manual1903/images/4.1.1.25.backward.PNG new file mode 100644 index 0000000000000000000000000000000000000000..0b88a9de8506d6ae506752ffcfbb76dfad7571b9 Binary files /dev/null and b/manual1903/images/4.1.1.25.backward.PNG differ diff --git a/manual1903/images/4.1.1.26.forward.PNG b/manual1903/images/4.1.1.26.forward.PNG new file mode 100644 index 0000000000000000000000000000000000000000..dacd8720cc32426e2cd7689ec61db232c714da83 Binary files /dev/null and b/manual1903/images/4.1.1.26.forward.PNG differ diff --git a/manual1903/images/4.1.1.27.Stratified_sampling.PNG b/manual1903/images/4.1.1.27.Stratified_sampling.PNG new file mode 100644 index 0000000000000000000000000000000000000000..5219fe7d2e5a695ffc8a88cb96a96331985037b5 Binary files /dev/null and b/manual1903/images/4.1.1.27.Stratified_sampling.PNG differ diff --git a/manual1903/images/4.1.1.29.interpolation.jpg b/manual1903/images/4.1.1.29.interpolation.jpg new file mode 100644 index 0000000000000000000000000000000000000000..2aa506aa2bf84002100bf26d7167932e632f9eec Binary files /dev/null and b/manual1903/images/4.1.1.29.interpolation.jpg differ diff --git a/manual1903/images/4.1.1.3.Eqaul_depth.png b/manual1903/images/4.1.1.3.Eqaul_depth.png new file mode 100644 index 0000000000000000000000000000000000000000..8a3051f2051082156300e6062f141438e3cae18c Binary files /dev/null and b/manual1903/images/4.1.1.3.Eqaul_depth.png differ diff --git a/manual1903/images/4.1.1.4.kmeans_1.png b/manual1903/images/4.1.1.4.kmeans_1.png new file mode 100644 index 0000000000000000000000000000000000000000..11a3bb2aca7c1245c9929cf369e408d34d8fea66 Binary files /dev/null and b/manual1903/images/4.1.1.4.kmeans_1.png differ diff --git a/manual1903/images/4.1.1.4.kmeans_2.png b/manual1903/images/4.1.1.4.kmeans_2.png new file mode 100644 index 0000000000000000000000000000000000000000..c322283bfb9f38340176856b73066fa1e8ec8046 Binary files /dev/null and b/manual1903/images/4.1.1.4.kmeans_2.png differ diff --git a/manual1903/images/4.1.1.4.kmeans_3.png b/manual1903/images/4.1.1.4.kmeans_3.png new file mode 100644 index 0000000000000000000000000000000000000000..3689bb6ce133d77623b7485419774d51f0bf38c5 Binary files /dev/null and b/manual1903/images/4.1.1.4.kmeans_3.png differ diff --git a/manual1903/images/4.1.1.6.Eqaul_width.png b/manual1903/images/4.1.1.6.Eqaul_width.png new file mode 100644 index 0000000000000000000000000000000000000000..46813e33930a86dbf26908b9ed20cd2b4c11562e Binary files /dev/null and b/manual1903/images/4.1.1.6.Eqaul_width.png differ diff --git a/manual1903/images/4.1.1.7.Linear.png b/manual1903/images/4.1.1.7.Linear.png new file mode 100644 index 0000000000000000000000000000000000000000..4f30f1b0a2c554dd65af4ccf0fcebc11fac20939 Binary files /dev/null and b/manual1903/images/4.1.1.7.Linear.png differ diff --git a/manual1903/images/4.1.1.8.Agglomerative_1.png b/manual1903/images/4.1.1.8.Agglomerative_1.png new file mode 100644 index 0000000000000000000000000000000000000000..210fbd521792baba6a5ef586184102caca4a18e2 Binary files /dev/null and b/manual1903/images/4.1.1.8.Agglomerative_1.png differ diff --git a/manual1903/images/4.1.1.8.Agglomerative_2.png b/manual1903/images/4.1.1.8.Agglomerative_2.png new file mode 100644 index 0000000000000000000000000000000000000000..8df487511ef897f948e3e7a777152759807b600f Binary files /dev/null and b/manual1903/images/4.1.1.8.Agglomerative_2.png differ diff --git a/manual1903/images/4.1.1.8.Agglomerative_3.png b/manual1903/images/4.1.1.8.Agglomerative_3.png new file mode 100644 index 0000000000000000000000000000000000000000..af3c066624b9fd256026aa8be84782482e11a488 Binary files /dev/null and b/manual1903/images/4.1.1.8.Agglomerative_3.png differ diff --git a/manual1903/images/4.1.1.8.Agglomerative_4.png b/manual1903/images/4.1.1.8.Agglomerative_4.png new file mode 100644 index 0000000000000000000000000000000000000000..0ee44bc320a9537b42b7117935772acade4fbf11 Binary files /dev/null and b/manual1903/images/4.1.1.8.Agglomerative_4.png differ diff --git a/manual1903/images/4.1.1.8.Agglomerative_5.png b/manual1903/images/4.1.1.8.Agglomerative_5.png new file mode 100644 index 0000000000000000000000000000000000000000..f4aca226683a03b7ebc0b0882cdf18f7b3c7d9c0 Binary files /dev/null and b/manual1903/images/4.1.1.8.Agglomerative_5.png differ diff --git a/manual1903/images/4.1.1.8.Agglomerative_6.png b/manual1903/images/4.1.1.8.Agglomerative_6.png new file mode 100644 index 0000000000000000000000000000000000000000..a0c279b8691c6c40a5366eb14ad1065463666942 Binary files /dev/null and b/manual1903/images/4.1.1.8.Agglomerative_6.png differ diff --git a/manual1903/images/4.1.1.8.Agglomerative_7.png b/manual1903/images/4.1.1.8.Agglomerative_7.png new file mode 100644 index 0000000000000000000000000000000000000000..dfafe428bc9a49e79828a4b869e7bc33eb1907d0 Binary files /dev/null and b/manual1903/images/4.1.1.8.Agglomerative_7.png differ diff --git a/manual1903/images/Filezilla01.png b/manual1903/images/Filezilla01.png new file mode 100644 index 0000000000000000000000000000000000000000..5540e29e4dc84e2dcde88e370abc411c011be378 Binary files /dev/null and b/manual1903/images/Filezilla01.png differ diff --git a/manual1903/images/Filezilla02.png b/manual1903/images/Filezilla02.png new file mode 100644 index 0000000000000000000000000000000000000000..ddd7aeff3ed4f0fcbc3cf3971248f9143a69a64e Binary files /dev/null and b/manual1903/images/Filezilla02.png differ diff --git a/manual1903/images/jmeter_img1.png b/manual1903/images/jmeter_img1.png new file mode 100644 index 0000000000000000000000000000000000000000..155557a34815d985329152fb368480bc143fe81f Binary files /dev/null and b/manual1903/images/jmeter_img1.png differ diff --git a/manual1903/images/jmeter_img2.png b/manual1903/images/jmeter_img2.png new file mode 100644 index 0000000000000000000000000000000000000000..48ad08aeca15dc102a1fef9da010e84dd5b82e30 Binary files /dev/null and b/manual1903/images/jmeter_img2.png differ diff --git a/manual1903/images/jmeter_img3.png b/manual1903/images/jmeter_img3.png new file mode 100644 index 0000000000000000000000000000000000000000..43490288e15b113585a9d46f5dafed55a9bc5241 Binary files /dev/null and b/manual1903/images/jmeter_img3.png differ diff --git a/manual1903/images/postman_1.png b/manual1903/images/postman_1.png new file mode 100755 index 0000000000000000000000000000000000000000..ca8d13222a9add379518348443688ce568b53255 Binary files /dev/null and b/manual1903/images/postman_1.png differ diff --git a/manual1903/images/postman_2.png b/manual1903/images/postman_2.png new file mode 100755 index 0000000000000000000000000000000000000000..b1f4a68027437bb6c7a89ea3e92a5126a95e247b Binary files /dev/null and b/manual1903/images/postman_2.png differ diff --git a/manual1903/images/postman_3.png b/manual1903/images/postman_3.png new file mode 100755 index 0000000000000000000000000000000000000000..91ccd81b46711c52d573af8470a137b16a6a396e Binary files /dev/null and b/manual1903/images/postman_3.png differ diff --git a/manual1903/images/postman_4.png b/manual1903/images/postman_4.png new file mode 100755 index 0000000000000000000000000000000000000000..fc28f273a672f1004f2b3b835595db65f4b982be Binary files /dev/null and b/manual1903/images/postman_4.png differ diff --git a/manual1903/jmeter.md b/manual1903/jmeter.md new file mode 100644 index 0000000000000000000000000000000000000000..97f8770684d30592d9d0e489de556f5868a496c9 --- /dev/null +++ b/manual1903/jmeter.md @@ -0,0 +1,27 @@ +--- +html: + toc: true + offline: true +export_on_save: + html: true +--- +# Jmeter 설치하기 +--- +KSB 인공지능 프레임워크는 스트림 데이터를 생성하기 위해 Jmeter를 도구로 사용합니다. Jmeter를 설치하는 방법은 아래와 같습니다. + + +- KSB 툴박스 설치의 KSB 툴박스 설치 및 도커 이미지 로딩을 참고하여 생성된 ksb-csle 폴더의 jmeter/bin 폴더로 이동 후, ./jmeter를 실행합니다. +- +```Bash + csle@myHostName:~$ cd /home/csle/ksb-csle/apache-jmeter-3.2/bin + csle@myHostName:~/ksb-csle/apache-jmeter-3.2/bin$ ./jmeter +``` + + - open을 클릭 후, 상위 폴더인 testplan 폴더로 이동하여 HTTP-post-random5.jmx을 선택합니다. +![Jmeter image](./images/jmeter_img1.png) + + - run을 클릭 후, 가상의 온도 센서 데이터를 주기적으로 전송합니다. (default : 2초 간격) +![Jmeter image](./images/jmeter_img2.png) + +- CLI의 진행사항 확인방법과 동일하게 docker 컨테이너의 터미널에서 log를 통해 진행상황을 할 수 있습니다. +![Jmeter image](./images/jmeter_img3.png) diff --git a/manual1903/main.jsp b/manual1903/main.jsp new file mode 100644 index 0000000000000000000000000000000000000000..d8b72bb1f297138f48c1ab760a1c1ee5b1211d52 --- /dev/null +++ b/manual1903/main.jsp @@ -0,0 +1,341 @@ +<%@page import="java.util.Date"%> +<%@ page language="java" contentType="text/html; charset=UTF-8" + pageEncoding="UTF-8"%> +<%@ taglib prefix="c" uri="http://java.sun.com/jsp/jstl/core" %> +<%@ taglib prefix="ui" uri="http://egovframework.gov/ctl/ui" %> +<%@ taglib prefix="fn" uri="http://java.sun.com/jsp/jstl/functions" %> +<%@ taglib prefix="fmt" uri="http://java.sun.com/jsp/jstl/fmt" %> +<%@ taglib prefix="spring" uri="http://www.springframework.org/tags" %> +<%@ taglib prefix="tiles" uri="http://tiles.apache.org/tags-tiles" %> +<%@ taglib prefix="util" uri="/WEB-INF/tlds/gonet-util.tld" %> +<% +response.setHeader("Cache-Control","no-cache"); +response.setHeader("Pragma","no-cache"); +response.setDateHeader("Expires",-1); +%> + + + + + + + + + + + + +KSB 인공지능 프레임워크 + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
                                                                              +
                                                                              + + + + + + + +
                                                                              +
                                                                              +
                                                                              +
                                                                              +

                                                                              KSB 인공지능 프레임워크"비아이"

                                                                              +

                                                                              IoT, 빅데이터, 기계학습 및 도메인 지식을 융합하여 다양한 인공지능 서비스 구축에 필요한 공통 기능을 제공합니다. + 분산병렬 인프라를 기반으로 다양한 데이터 소스로부터 도메인 응용서비스 제공까지의 전주기적 솔루션을 지향합니다.

                                                                              + + +
                                                                              +
                                                                              +
                                                                              +
                                                                              +
                                                                              +

                                                                              공지사항

                                                                              +
                                                                                + + + + + + + +
                                                                              + 더보기 + +
                                                                              +
                                                                              + + +
                                                                              +
                                                                                +
                                                                              • KSB 인공지능 프레임워크 오픈소스 오픈소스 다운로드 바로가기
                                                                              • + <%-- + + + + + + --%> +
                                                                              +
                                                                              +
                                                                              +
                                                                              +
                                                                              +
                                                                              +
                                                                              + KSB 인공지능 프레임워크는 과학기술정보통신부에서 지원하는 국가과학기술연구회 주관의 미래선도형 융합연구단인 KSB융합연구단에서 개발한 결과물입니다. 1.사업명/과제명: 국가과학기술연구회 주관의 미래선도형 융합연구단 사업 / 자가학습형 지식융합 슈퍼브레인 핵심기술 개발  2. 수행기관: KSB융합연구단 (주관기관: 한국전자통신연구원, 협동기관: 한국에너지연구원, 한국원자력연구원, 한국표준과학연구원) +
                                                                              +
                                                                              + + <%-- +
                                                                              +
                                                                              + KSB 인공지능 프레임워크 개요 +
                                                                              +
                                                                              + --%> + <%-- +
                                                                              +
                                                                              +
                                                                              +

                                                                              공지사항

                                                                              +
                                                                                + + + + + + + + <%-- + +
                                                                              • + + + + new + + +
                                                                              • +
                                                                                + + + +
                                                                              • +   +   +
                                                                              • +
                                                                                +
                                                                                + +
                                                                              + 더보기 + <%-- + + + +
                                                                              +
                                                                              + + +
                                                                              +
                                                                                + + + + + +<%--
                                                                              • 자가학습엔진을 위한 Github 프로젝트
                                                                              • +
                                                                              +
                                                                              +
                                                                              +
                                                                              +
                                                                              +
                                                                              +
                                                                              +

                                                                              CSLE 시작하기

                                                                              + Getting started +
                                                                              +
                                                                              + + --%> +
                                                                              +
                                                                              + + + + + +
                                                                              + + diff --git a/manual1903/operator/4.1.1.1.DBSCAN_manual.md b/manual1903/operator/4.1.1.1.DBSCAN_manual.md new file mode 100644 index 0000000000000000000000000000000000000000..6a4bf252ef2fbf61dd133a4a035824edc5767967 --- /dev/null +++ b/manual1903/operator/4.1.1.1.DBSCAN_manual.md @@ -0,0 +1,92 @@ +--- +html: + toc: true + offline: true +export_on_save: + html: true +--- +# DBSCAN Operator +--- +## Operator 설명 +- 주변 데이터들의 밀도를 이용하여 군집을 생성해 나가는 방식이다. +- 밀도가 높은 지역에 있는 data points는 cluster에 할당하고 밀도가 낮은 지역에 있는 data points는 outlier points(noise points)로 본다. +
                                                                              +
                                                                              +- 아래 그림의 경우 최소 포인트가 6일 경우 클러스터 할당 모습이다. Epsilon 만큼 범위를 확대해 나가고 있다. + + - 클러스터에 할당하기 위한 최소 조건이 min point가 6이상이어야 한다 +하지만 z는 이웃이 5개, 2개 이므로 noise 포인트가 된다. +## Operator 파라미터 설명 +- eps: core point로부터 cluster 테두리까지의 반경이며 이웃들의 크기를 정의 (required) +- minPts: eps 거리 내에 있어야만 하는 최소 데이터의 개수 (required) + + +## 작동순서 +1. 입력 DataFrame의 유효성 검사를 진행한다. (Epsilon, min point, Numeric Columns) +2. 변수 초기화를 한다. (visitList, noistList, clusterMap) +3. Row 데이터의 이웃하는 목록을 가져온다. +4. 이웃하는 목록 리스트로 또 다시 이웃하는 목록 리스트를 구해온다. 방문기록을 남긴다. +5. 결과를 클러스터에 할당하거나 noise 기록을 한다 +6. 모든 방문 기록이 완료 될 때까지 3 ~ 5 과정을 반복한다. +7. 출력 DataFrame을 생성한다. +## Operator 모듈 테스트 결과 + +### 입력 데이터 +|index| data1| data2| +:--:|:---:|:--: +| 1| 6.848934849|3.158069218| +| 2|-0.943968337|22.91433149| +| 3|-1.175376171| 23.9929549| +| 4|-0.728804819|23.59998941| +| 5|-0.554106973|23.14728525| +| 6| -0.50858251|23.55578863| +| 7|-0.655966008|24.12991918| +| 8|-0.828753893|23.06295102| +| 9|-0.906446078|23.63442066| +| 10|-1.175471759|23.23088862| +| 11|-0.586424383|23.56802483| +| 12| 6.029774804|3.337247273| +| 13|-1.022162431|23.21138139| +| 14|-0.665984656|23.20667453| +| 15|-0.578946901|23.40512492| +| 16| -0.45042623|23.88963325| +| 17|-0.639808699|23.55207991| +| 18|-0.971141606|23.10933188| +| 19|-0.866241774|22.74841298| + + +### 결과 데이터 + +|index| data1| data2| CLUSTER| +:--:|:---:|:---:|:--: +| 1| 6.848934849|3.158069218| 0| +| 2|-0.943968337|22.91433149| 1| +| 3|-1.175376171| 23.9929549| 0| +| 4|-0.728804819|23.59998941| 1| +| 5|-0.554106973|23.14728525| 1| +| 6| -0.50858251|23.55578863| 1| +| 7|-0.655966008|24.12991918| 0| +| 8|-0.828753893|23.06295102| 1| +| 9|-0.906446078|23.63442066| 1| +| 10|-1.175471759|23.23088862| 1| +| 11|-0.586424383|23.56802483| 1| +| 12| 6.029774804|3.337247273| 0| +| 13|-1.022162431|23.21138139| 1| +| 14|-0.665984656|23.20667453| 1| +| 15|-0.578946901|23.40512492| 1| +| 16| -0.45042623|23.88963325| 1| +| 17|-0.639808699|23.55207991| 1| +| 18|-0.971141606|23.10933188| 1| +| 19|-0.866241774|22.74841298| 1| + +- 결과 데이터의 CLUSTER column에서 각 data들이 할당된 cluster를 보여준다. +- DBSCAN Operator에 의해 data들이 2개의 cluster에 할당 되었음을 알 수 있다. +- parameter는 다음과 같이 설정하였다. + +```scala +val dBSCANInfo = + DBSCANInfo.newBuilder() + .setEps(0.5) + .setMinPts(5) + .build +``` diff --git a/manual1903/operator/4.1.1.10.MissingValueImpute_manual.md b/manual1903/operator/4.1.1.10.MissingValueImpute_manual.md new file mode 100644 index 0000000000000000000000000000000000000000..1fd5c61f00ac458285634e7a4e2451f69b41aae4 --- /dev/null +++ b/manual1903/operator/4.1.1.10.MissingValueImpute_manual.md @@ -0,0 +1,123 @@ +--- +html: + toc: true + offline: true +export_on_save: + html: true +--- +# Missing Value Impute Operator +--- +## Operator 설명 +- 데이터 공백 처리기(MVI)는 사용자가 원하는 범위, MVI method, drop 조건 등을 설정하면, 입력 DataFrame에 대해 데이터 공백을 채우는 동작을 수행한 후, 결과 DataFrame을 생성한다. +## Operator 파라미터 설명 +- scope: missing value imputation을 적용할 범위. Enum(SCOPE_ALL, SCOPE_SELECTED) (required) +- selectedColumnId: Missing Value Imputation을 수행 할 column ID.SCOPE_ALL일 경우 무시 (repeated) +- method: 적용할 방법. Enum(IM, SPECIFIC_VALUE, MEDIAN, MEAN) (required) +- how: 삭제 조건. Enum(HOW_ANY, HOW_ALL) (required) + 'HOW_ANY': null값이 포함된 행이 삭제된다. + 'HOW_ALL': 모든 column이 null인 경우에만 행을 삭제합니다. +- subParam: 특정 값을 채우는 option. (repeated) +Ex: {numeric, 0} + +|filed|value|설명| +|:---:|:---:|:---:| +| subParam.key | numeric | 특정 숫자로 채우는 방법 선택 | +| subParam.value | 0 | missing value를 0의 값으로 채움| + +##작동 순서 +1. 입력 DataFrame 및 Protobuffer 입력 파라미터 유효성 검사를 진행한다. +2. Spark ml 및 DataFrame API를 이용하여 MVI 알고리즘 동작한다. +3. 출력 DataFrame을 생성한다. + +## Operator 모듈 테스트 결과 + +### 입력 데이터 +
                                                                              + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
                                                                              -0.2947324415-0.1463210702 -0.3093645485-0.3841973244-0.3511705686-0.1647157191
                                                                              -0.2683946488-0.1998327759-0.1655518395-0.2826086957-0.3883779264-0.3319397993-0.1730769231
                                                                              -0.2880434783-0.2566889632-0.3850334448-0.3704013378-0.1693143813
                                                                              -0.3131270903-0.2215719064-0.1580267559-0.2408026756-0.3683110368-0.2274247492
                                                                              -0.3152173913-0.1421404682-0.1484113712-0.1605351171-0.3386287625-0.3465719064
                                                                              -0.2683946488-0.1998327759-0.1655518395-0.2826086957-0.3319397993-0.1730769231
                                                                              -0.2880434783-0.2186454849-0.2491638796-0.3850334448-0.1693143813
                                                                              -0.2215719064-0.1580267559-0.2408026756-0.3683110368-0.3837792642
                                                                              -0.3152173913-0.1421404682-0.1484113712-0.1605351171-0.3386287625-0.3465719064-0.1772575251
                                                                              -0.3110367893-0.1906354515-0.2495819398-0.3595317726-0.3298494983-0.1496655518
                                                                              + + + + +### 결과 데이터 + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
                                                                              -0.2947324415-0.14632107020 -0.3093645485-0.3841973244-0.3511705686-0.1647157191
                                                                              -0.2683946488-0.1998327759-0.1655518395-0.2826086957-0.3883779264-0.3319397993-0.1730769231
                                                                              -0.28804347830-0.25668896320-0.3850334448-0.3704013378-0.1693143813
                                                                              -0.3131270903-0.2215719064-0.1580267559-0.2408026756-0.36831103680-0.2274247492
                                                                              -0.3152173913-0.1421404682-0.1484113712-0.1605351171-0.3386287625-0.34657190640
                                                                              -0.2683946488-0.1998327759-0.1655518395-0.28260869570-0.3319397993-0.1730769231
                                                                              -0.2880434783-0.21864548490-0.2491638796-0.38503344480-0.1693143813
                                                                              0-0.2215719064-0.1580267559-0.2408026756-0.3683110368-0.38377926420
                                                                              -0.3152173913-0.1421404682-0.1484113712-0.1605351171-0.3386287625-0.3465719064-0.1772575251
                                                                              -0.3110367893-0.1906354515-0.24958193980-0.3595317726-0.3298494983-0.1496655518
                                                                              + +- DataFrame의 missing value를 원하는 특정 값으로 채울 수 있고 예제에서는 0 값으로 설정하였다. +- 입력 DataFrame에서 missing value(빈 공간)가 결과 DataFrame에서는 0 값으로 채워지는 것을 알 수 있다. +- parameter는 다음과 같이 설정하였다. + +```scala +val mviInfo = MissingValueImputationInfo.newBuilder() + .setScope(MissingValueImputationInfo.Scope.SCOPE_ALL) + .addSelectedColumnId(1) + .setMethod(MissingValueImputationInfo.Method.SPECIFIC_VALUE) + .setHow(MissingValueImputationInfo.How.HOW_ANY) + .addSubParam( + SubParameter.newBuilder + .setKey("numeric") + .setValue("0") + .build + ) + .build +``` diff --git a/manual1903/operator/4.1.1.11.ConcatAndReshape_manual.md b/manual1903/operator/4.1.1.11.ConcatAndReshape_manual.md new file mode 100644 index 0000000000000000000000000000000000000000..389e21eb9ecd0d098274aa0274135edcd495d3f7 --- /dev/null +++ b/manual1903/operator/4.1.1.11.ConcatAndReshape_manual.md @@ -0,0 +1,82 @@ +--- +html: + toc: true + offline: true +export_on_save: + html: true +--- +# Concat And Reshape Operator +--- +## Operator 설명 +- 여러 개의 column을 연결하여 하나의 새로운 column을 생성한다. +## Operator 파라미터 설명 +- selectedColumnId: 선택할 column ID (repeated) +- delimiter: 연결할 column 간의 구분할 구분 기호(required) +- valueColName: 새롭게 생성된 칼럼 이름 (required) +- condition: 연결되는 column의 조건. Enum(KEEP_ORIGINAL_AND_RESULT,REPLACE_SELECTED_WITH_RESULT, REFINEMENT_RESULT_ONLY)(required) +## Operator 모듈 테스트 결과 + +### 입력 데이터 +PRCS_YEAR|PRCS_MON|PRCS_DAY|PRCS_HH|PRCS_MIN| +|:---:|:---:|:---:|:---:|:---:| +2015|09|01|00|00| +2015|09|01|00|00| +2015|09|01|00|00| +2015|09|01|00|00| +2015|09|01|00|00| +2015|09|01|00|00| +2015|09|01|00|00| +2015|09|01|00|00| +2015|09|01|00|00| +2015|09|01|00|00| +2015|09|01|00|05| +2015|09|01|00|05| +2015|09|01|00|05| +2015|09|01|00|05| +2015|09|01|00|05| +2015|09|01|00|05| +2015|09|01|00|05| +2015|09|01|00|05| +2015|09|01|00|05| +2015|09|01|00|05| + +### 결과 데이터 +PRCS_YEAR|PRCS_MON|PRCS_DAY|PRCS_HH|PRCS_MIN|DATE_TIME| +|:---:|:---:|:---:|:---:|:---:|:---:|:---:| +2015|09|01|00|00|2015_09_01_00_00| +2015|09|01|00|00|2015_09_01_00_00| +2015|09|01|00|00|2015_09_01_00_00| +2015|09|01|00|00|2015_09_01_00_00| +2015|09|01|00|00|2015_09_01_00_00| +2015|09|01|00|00|2015_09_01_00_00| +2015|09|01|00|00|2015_09_01_00_00| +2015|09|01|00|00|2015_09_01_00_00| +2015|09|01|00|00|2015_09_01_00_00| +2015|09|01|00|00|2015_09_01_00_00| +2015|09|01|00|05|2015_09_01_00_05| +2015|09|01|00|05|2015_09_01_00_05| +2015|09|01|00|05|2015_09_01_00_05| +2015|09|01|00|05|2015_09_01_00_05| +2015|09|01|00|05|2015_09_01_00_05| +2015|09|01|00|05|2015_09_01_00_05| +2015|09|01|00|05|2015_09_01_00_05| +2015|09|01|00|05|2015_09_01_00_05| +2015|09|01|00|05|2015_09_01_00_05| +2015|09|01|00|05|2015_09_01_00_05| + +- column(0~4)들을 연결하여 하나의 새로운 DATE_TIME column(5)을 갖는 결과 DataFrame을 생성하였다. +- parameter는 다음과 같이 설정하였다. + + +```scala +val concatInfo = ReshapeWithConcatInfo.newBuilder() +.addSelectedColumnId(0) +.addSelectedColumnId(1) +.addSelectedColumnId(2) +.addSelectedColumnId(3) +.addSelectedColumnId(4) +.setDelimiter("_") +.setValColName("DATE_TIME") +.setCondition(KEEP_ORIGINAL_AND_RESULT) +.build +``` diff --git a/manual1903/operator/4.1.1.12.GroupBy_manual.md b/manual1903/operator/4.1.1.12.GroupBy_manual.md new file mode 100644 index 0000000000000000000000000000000000000000..d8fea6daa9ad2aedf07bbb6bf4b1404c338aac9a --- /dev/null +++ b/manual1903/operator/4.1.1.12.GroupBy_manual.md @@ -0,0 +1,55 @@ +--- +html: + toc: true + offline: true +export_on_save: + html: true +--- +# GroupBy Operator +--- +## Operator 설명 +- 주어진 group 조건에 따라 records를 집계하여 DataFrame을 만드는 연산자입니다. +## Operator 파라미터 설명 +- keyColName: key column으로 사용할 column 이름 (required) +- valColName: value column으로 사용할 column 이름 (required) +- groupby: 집계 방법. Enum(SUM, COUNT), (required) + + +## Operator 모듈 테스트 결과 + +### 입력 데이터 +|word| count| +:--:|:--:| +| I| 1| +| am| 1| +| so| 3| +| happy| 4| +| now| 2| +| Are| 3| +| you| 2| +| happy| 6| +| now| 8| +| I| 1| +| I| 3| +| I| 5| + +### 결과 데이터 +|word| count| +:--:|:--:| +|you | 2 | +|now | 10 | +|Are | 3 | +|happy |10 | +|I | 10 | +| so | 3 | +|am | 1 | + +- keyColName('word'),valColName('count'),groupby(SUM)으로 parameter를 설정하였고 코드는 다음과 같다. +```scala +val groupbyInfo = GroupbyInfo.newBuilder() + .setKeyColName("word") + .setValColName("count") + .setGroupby(GroupbyInfo.GroupbyOp.SUM) + .build() +``` +- word와 각 word에 대한 합계를 갖고있는 count column이 존재하는 결과 DataFrame을 확인할 수 있다. diff --git a/manual1903/operator/4.1.1.13.OrderBy_manual.md b/manual1903/operator/4.1.1.13.OrderBy_manual.md new file mode 100644 index 0000000000000000000000000000000000000000..3186f98b45c468109d5679ad7d94a7b851d0c5fc --- /dev/null +++ b/manual1903/operator/4.1.1.13.OrderBy_manual.md @@ -0,0 +1,94 @@ +--- +html: + toc: true + offline: true +export_on_save: + html: true +--- +# OrderBy Operator +--- +## Operator 설명 +- 선택한 column에 대해서 모든 데이터를 오름차순/내림차순으로 정렬한다. +## Operator 파라미터 설명 +- selectedColumnId: 정렬을 수행할 column (required) +- method: 정렬 방법(오름차순, 내림차순). Enum(ASC,DESC) (required) +## Operator 모듈 테스트 결과 + +### 입력 데이터 + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
                                                                              201591001000000100129
                                                                              201591001000000200236
                                                                              201591001000000300355
                                                                              201591001000000400450
                                                                              2015910010000005005109
                                                                              201591001000000600673
                                                                              201591001000000700729
                                                                              201591001000000800826
                                                                              201591001000000900917
                                                                              2015910010000010001021
                                                                              + + + + +### 결과 데이터 + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
                                                                              2015910010000005005109
                                                                              201591001000000600673
                                                                              201591001000000300355
                                                                              201591001000000400450
                                                                              201591001000000200236
                                                                              201591001000000100129
                                                                              201591001000000800826
                                                                              2015910010000010001021
                                                                              201591001000000900917
                                                                              + +- parameter를 다음과 같이 설정하였다. + +```scala +val orderByColInfo = OrderByColumnInfo.newBuilder() + .setSelectedColumnId(7) + .setMethod(OrderByColumnInfo.Method.DESC) + .build() +``` +- 정렬을 할 column을 7번째(마지막) column으로 설정하였다. 결과 DataFrame을 보면 7번째 column에 대해서 내림차순으로 정렬된 것을 확인할 수 있다. diff --git a/manual1903/operator/4.1.1.14.TimeIndexAdd_manual.md b/manual1903/operator/4.1.1.14.TimeIndexAdd_manual.md new file mode 100644 index 0000000000000000000000000000000000000000..ae552d6bbd7a62b6ffa1e3cc5a97a28a7df75a46 --- /dev/null +++ b/manual1903/operator/4.1.1.14.TimeIndexAdd_manual.md @@ -0,0 +1,49 @@ +--- +html: + toc: true + offline: true +export_on_save: + html: true +--- +# Time Index Add Operator +--- +## Operator 설명 +- Unix time stamp pattern의 time index column을 갖는 DataFrame을 생성한다. +## Operator 파라미터 설명 +- userTimeIndexColumnId: Unix time stamp로 변환할 column ID(in seconds) (required) +- userTimeIndexPattern: userTimeIndexColumn의 시간 형식 (required) + +## 작동 순서 +1. 입력 DataFrame 및 Protobuffer 입력 파라미터 유효성 검사를 진행한다. +2. Spark ml 및 DataFrame API를 이용하여 Unix time stamp column을 생성한다. +3. 출력 DataFrame을 생성한다. + +## Operator 모듈 테스트 결과 + +### 입력 데이터 + + +|DATE_TIME| +|:---:| +|2015_09_01_00_00| +|2015_09_01_00_05| +|2015_09_01_00_10| +|2015_09_01_00_15| +|2015_09_01_00_20| +|2015_09_01_00_25| +|2015_09_01_00_30| + + + +### 결과 데이터 +|DATE_TIME|timestamp| +|:---:|:---:| +|2015_09_01_00_00|2015-09-01 00:00:0.0 +|2015_09_01_00_05|2015-09-01 00:05:0.0 +|2015_09_01_00_10|2015-09-01 00:10:0.0 +|2015_09_01_00_15|2015-09-01 00:15:0.0 +|2015_09_01_00_20|2015-09-01 00:20:0.0 +|2015_09_01_00_25|2015-09-01 00:25:0.0 +|2015_09_01_00_30|2015-09-01 00:30:0.0 + +- Unix time stamp pattern을 갖는 새로운 timestamp column이 결과 DataFrame에 생성된 것을 알 수 있다. diff --git a/manual1903/operator/4.1.1.15.VectorAssembleColumnAdd_manual.md b/manual1903/operator/4.1.1.15.VectorAssembleColumnAdd_manual.md new file mode 100644 index 0000000000000000000000000000000000000000..c782d196cebc4178b90ecfaa9849dae5a35a63c3 --- /dev/null +++ b/manual1903/operator/4.1.1.15.VectorAssembleColumnAdd_manual.md @@ -0,0 +1,14 @@ +--- +html: + toc: true + offline: true +export_on_save: + html: true +--- +# Vector Assemble Column Add Operator +--- +## Operator 설명 +* Operator that adds vector assemble column into the input dataframe using a given condition. +* The vector assemble column is used by ML predict. +## Operator 파라미터 설명 +- vectorAssembleColumnName: name of vectorAssembleColumn (required) diff --git a/manual1903/operator/4.1.1.16.Aggregate_manual.md b/manual1903/operator/4.1.1.16.Aggregate_manual.md new file mode 100644 index 0000000000000000000000000000000000000000..4c2722733512ff82960791b64ee35b5275b897fe --- /dev/null +++ b/manual1903/operator/4.1.1.16.Aggregate_manual.md @@ -0,0 +1,79 @@ +--- +html: + toc: true + offline: true +export_on_save: + html: true +--- +# Aggregate Operator +--- +## Operator 설명 +- average, sum, count, concatenation 기능을 수행할 수 있다. +- 그룹을 지정하여 집계를 할 수 있다. +## Operator 파라미터 설명 +- attributes: 집계함수를 적용할 attributes(column)(repeated) +- groupByAttributeName: group으로 만들 column 이름(repeated) + +##작동순서 +1. 입력 DataFrame의 유효성 검사를 진행한다. (AttributesList, GroupByAttributeNameList) +2. Spark DataFrame의 groupBy로 분류 한 후 agg할 각 함수를 실행한다. +3. 출력 DataFrame을 생성한다. +## Operator 모듈 테스트 결과 + +### 입력 데이터 +|play| outlook|temperature|humidity| wind| +|:--:|:---:|:---:|:---:|:---:| +| no| sunny| 85| 85|false| +| no| sunny| 80| 90| true| +| yes|overcast| 83| 78|false| +| yes| rain| 70| 96|false| +| yes| rain| 68| 80|false| +| no| rain| 65| 70| true| +| yes|overcast| 64| 65| true| +| no| sunny| 72| 95|false| +| yes| sunny| 69| 70|false| +| yes| rain| 75| 80|false| +| yes| sunny| 75| 70| true| +| yes|overcast| 72| 90| true| +| yes|overcast| 81| 75|false| +| no| rain| 71| 80| true| + +### 결과 데이터 +|index| outlook|play|temperature_avg|humidity_sum| outlook_concat|temperature_count| +:--:|:---:|:---:|:---:|:---:|:---:|:---:| +| 1|overcast| yes| 75.0| 308|overcast/overcast...| 4| +| 2| rain| no| 68.0| 150| rain/rain| 2| +| 3| rain| yes| 71.0| 256| rain/rain/rain| 3| +| 4| sunny| no| 79.0| 270| sunny/sunny/sunny| 3| +| 5| sunny| yes| 72.0| 140| sunny/sunny| 2| + +- parameter설정은 (“Temperature” : average), (“Humidity” : sum), (“Outlook”, concatenation), (“temperature”, count)로 설정을 하였고 group 설정으로는 Outlook, Play column으로 설정하였다. parameter 설정 코드는 다음과 같다. + +```scala +val aggregateInfo = + AggregateInfo.newBuilder() + .addAttributes( + AttributeEntry.newBuilder() + .setAttributeName("temperature") + .setFunctionType(FunctionType.AVERAGE) + .build()) + .addAttributes( + AttributeEntry.newBuilder() + .setAttributeName("humidity") + .setFunctionType(FunctionType.SUM) + .build()) + .addAttributes( + AttributeEntry.newBuilder() + .setAttributeName("outlook") + .setFunctionType(FunctionType.CONCATENATION) + .build()) + .addAttributes( + AttributeEntry.newBuilder() + .setAttributeName("temperature") + .setFunctionType(FunctionType.COUNT) + .build()) + .addGroupByAttributeName("outlook") + .addGroupByAttributeName("play") + .build +``` +- parameter를 설정한 결과에 대한 DataFrame을 결과 데이터에서 확인할 수 있다. diff --git a/manual1903/operator/4.1.1.17.ChiSquareSelect_manual.md b/manual1903/operator/4.1.1.17.ChiSquareSelect_manual.md new file mode 100644 index 0000000000000000000000000000000000000000..37fb66bda3ecd6666e6da9baac9bf73ee6eca516 --- /dev/null +++ b/manual1903/operator/4.1.1.17.ChiSquareSelect_manual.md @@ -0,0 +1,49 @@ +--- +html: + toc: true + offline: true +export_on_save: + html: true +--- +# Chi Square Select Operator +--- + +## Operator 설명 +- feature와 label간의 독립성을 검정해 볼 수 있다. +- label과 feature의 관계가 독립이라면 해당 feature는 모델링에 적합하지 않다. +## Operator 파라미터 설명 +- labelName: 라벨 이름 (repeated) +- numTopFeatures: 상위 몇개의 feature를 선택할 것인지 (required) + +## Operator 모듈 테스트 결과 + +### 입력 데이터 + +|label| a1| a2| a3| a4| +|:--:|:---:|:---:|:---:|:---:| +| 1.0|0.0|0.0|18.0|1.0| +| 0.0|0.0|1.0|12.0|0.0| +| 0.0|1.0|0.0|15.0|0.1| + + +### 결과 데이터 + + +|index| a3| a4| +|:--:|:---:|:---:| +| 1|18.0|1.0| +| 2|12.0|0.0| +| 3|15.0|0.1| + +- feature들 간의 관계가 독립이라면 모델링에 적합한 것이지만 feature와 label의 관계가 독립이라면 모델링에 적합하지 않은 것이다. +- 위의 예제에서는 label과 feature(a1,a2,a3,a4)들의 관계가 독립이라면 해당 feature는 모델링에 적합하지 않은 것이다. +- NumTopFeatures를 2로 설정했다. Chi Square Select Operator의 결과로 상위 2개 즉, 적합한 feature 2개가 a3, a4 임을 알 수 있다. +- parameter는 다음과 같이 설정하였다. + +```scala +val chiSquareSelectorInfo = + ChiSquareSelectorInfo.newBuilder() + .setLabelName("label") + .setNumTopFeatures(2) + .build +``` diff --git a/manual1903/operator/4.1.1.18.ColumnRemove_manual.md b/manual1903/operator/4.1.1.18.ColumnRemove_manual.md new file mode 100644 index 0000000000000000000000000000000000000000..97212763ac54141e0a3a2c882fe432cb213674d1 --- /dev/null +++ b/manual1903/operator/4.1.1.18.ColumnRemove_manual.md @@ -0,0 +1,66 @@ +--- +html: + toc: true + offline: true +export_on_save: + html: true +--- +# Column Remove Operator +--- +## Operator 설명 +- DataFrame에서 선택한 column을 제거하는 Operator + +## Operator 파라미터 설명 +- selectedColumnId: 제거할 column의 ID (repeated) + +## Operator 모듈 테스트 결과 + +### 입력 데이터 +PRCS_YEAR|PRCS_MON|PRCS_DAY|PRCS_HH|LINK_ID|PRCS_SPD|PRCS_TRV_TIME +|:---:|:---:|:---:|:---:|:---:|:---:|:---:|:---:| +2015|09|01|00|1000000100|1.0|29.0 +2015|09|01|00|1000000200|2.0|36.0 +2015|09|01|00|1000000300|3.0|55.0 +2015|09|01|00|1000000400|4.0|50.0 +2015|09|01|00|1000000500|5.0|109.0 +2015|09|01|00|1000000600|6.0|73.0 +2015|09|01|00|1000000700|7.0|29.0 +2015|09|01|00|1000000800|8.0|26.0 +2015|09|01|00|1000000900|9.0|17.0 +2015|09|01|00|1000001000|10.0|21.0 +2015|09|01|00|1000000100|11.0|29.0 +2015|09|01|00|1000000200|12.0|36.0 +2015|09|01|00|1000000300|13.0|55.0 +2015|09|01|00|1000000400|14.0|50.0 +2015|09|01|00|1000000500|15.0|109.0 +2015|09|01|00|1000000600|16.0|73.0 +2015|09|01|00|1000000700|17.0|29.0 +2015|09|01|00|1000000800|18.0|26.0 +2015|09|01|00|1000000900|19.0|17.0 +2015|09|01|00|1000001000|20.0|21.0 + +### 결과 데이터 +PRCS_YEAR|PRCS_MON|PRCS_DAY|PRCS_HH|LINK_ID|PRCS_SPD| +|:---:|:---:|:---:|:---:|:---:|:---:|:---:| +2015|09|01|00|1000000100|1.0| +2015|09|01|00|1000000200|2.0| +2015|09|01|00|1000000300|3.0| +2015|09|01|00|1000000400|4.0| +2015|09|01|00|1000000500|5.0| +2015|09|01|00|1000000600|6.0| +2015|09|01|00|1000000700|7.0| +2015|09|01|00|1000000800|8.0| +2015|09|01|00|1000000900|9.0| +2015|09|01|00|1000001000|10.0| +2015|09|01|00|1000000100|11.0| +2015|09|01|00|1000000200|12.0| +2015|09|01|00|1000000300|13.0| +2015|09|01|00|1000000400|14.0| +2015|09|01|00|1000000500|15.0| +2015|09|01|00|1000000600|16.0| +2015|09|01|00|1000000700|17.0| +2015|09|01|00|1000000800|18.0| +2015|09|01|00|1000000900|19.0| +2015|09|01|00|1000001000|20.0| +- 입력 데이터의 마지막 column인 PRCS_TRV_TIME을 삭제하도록 설정하였다. +- 위의 결과 DataFrame에서 입력 데이터의 마지막 column인 PRCS_TRV_TIME column이 삭제된 것을 확인할 수 있다. diff --git a/manual1903/operator/4.1.1.19.ColumnSelect_manual.md b/manual1903/operator/4.1.1.19.ColumnSelect_manual.md new file mode 100644 index 0000000000000000000000000000000000000000..fe56cd9939412d5ca0dfab1f80aee0bd58fb498e --- /dev/null +++ b/manual1903/operator/4.1.1.19.ColumnSelect_manual.md @@ -0,0 +1,48 @@ +--- +html: + toc: true + offline: true +export_on_save: + html: true +--- +# Column Select Operator +--- +## Operator 설명 +- 원하는 여러 개의 column들을 선택하여 새로운 DataFrame을 생성한다. + +## Operator 파라미터 설명 +- selectedColumnId: 선택할 column ID (repeated) +- subParam: 선택 option (repeated) Ex: {"order","1000000300,1000000100,1000000200,1000000500"} +- selectedColumnName: 선택할 column 이름 (repeated) + +## Operator 모듈 테스트 결과 + +### 입력 데이터 +Country| City| CustomerID |PostalCode| CustomerName +|:---:|:---:|:---:|:---:|:---:| +Germany|Berlin|1|12209|Alfreds Futterkiste| +|Mexico | México D.F. |2 |05021 | Ana Trujillo Emparedados y helados | +| Mexico | México D.F. | 3 | 05023 | Antonio Moreno Taquería | +| UK | London | 4 |WA1 1DP| Around the Horn | +| Sweden | Luleå |5 | S-958 22 | Berglunds snabbköp| + +### 결과 데이터 +CustomerID| CustomerName| City |PostalCode| Country +|:---:|:---:|:---:|:---:|:---:| +1| Alfreds Futterkiste| Berlin| 12209| Germany +2 |Ana Trujillo Emparedados y helados| México D.F.| 05021| Mexico +3 |Antonio Moreno Taquería| México D.F.| 05023| Mexico +4 |Around the Horn| London| WA1 1DP| UK| +5 |Berglunds snabbköp| Luleå| S-958 22 |Sweden + +- 원하는 column들을 순서대로 선택하여 원하는 결과 DataFrame을 생성할 수 있다. 위의 결과 DataFrame은 입력 DataFrame의 column 2,4,1,3,0을 순서대로 선택한 결과이고 parameter를 설정한 코드는 다음과 같다. + +```scala +val selectedColumnInfo = SelectColumnInfo.newBuilder() +.addSelectedColumnId(2) +.addSelectedColumnId(4) +.addSelectedColumnId(1) +.addSelectedColumnId(3) +.addSelectedColumnId(0) +.build +``` diff --git a/manual1903/operator/4.1.1.2.EMClustering_manual.md b/manual1903/operator/4.1.1.2.EMClustering_manual.md new file mode 100644 index 0000000000000000000000000000000000000000..40e42e28ef3662a04ddc0ab42d2d5a9f97155f22 --- /dev/null +++ b/manual1903/operator/4.1.1.2.EMClustering_manual.md @@ -0,0 +1,75 @@ +--- +html: + toc: true + offline: true +export_on_save: + html: true +--- +# EM Clustering Operator +--- +## Operator 설명 +- k개의 cluster로 분할하기 위해 반복적으로 두 단계(기댓값 단계,최대화 단계)를 수행한다. +- EM 알고리즘은 매개변수에 관한 추정값으로 로그가능도(log likelihood)의 기댓값을 계산하는 기댓값 (E) 단계와 이 기댓값을 최대화하는 변수값을 구하는 최대화 (M) 단계를 번갈아가면서 적용한다. 최대화 단계에서 계산한 변수값은 다음 기댓값 단계의 추정값으로 쓰인다. +## Operator 파라미터 설명 +- k_value: cluster의 개수 (required) +- maxIter: EMClustering을 한번 수행할 때 수행되는 최대 반복 횟수. EMClustering 시도 횟수(required) +## 작동순서 +1. 입력 DataFrame의 유효성 검사를 진행한다. (K값, maxIter, Numeric Columns) +2. 입력 DataFrame을 Vectors로 변환 후 featurs 칼럼에 재생성한다. +3. Spark ml의 GaussianMixture 알고리즘을 사용한다. (expectation maximization 수행) +4. 출력 DataFrame을 생성한다. + +## Operator 모듈 테스트 결과 + +### 입력 데이터 + +|a1| a2| a3| a4| +|:---:|:---:|:---:|:---:| +|5.1|3.5|1.4|0.2| +|4.9|3.0|1.4|0.2| +|4.7|3.2|1.3|0.2| +|4.6|3.1|1.5|0.2| +|5.0|3.6|1.4|0.2| +|5.4|3.9|1.7|0.4| +|4.6|3.4|1.4|0.3| +|5.0|3.4|1.5|0.2| +|4.4|2.9|1.4|0.2| +|4.9|3.1|1.5|0.1| +|5.4|3.7|1.5|0.2| +|4.8|3.4|1.6|0.2| +|4.8|3.0|1.4|0.1| +|4.3|3.0|1.1|0.1| +|5.8|4.0|1.2|0.2| + + + +### 결과 데이터 + +|index| a1| a2| a3| a4|cluster| +|:---:|:---:|:---:|:---:|:---:|:---:| +| 1|5.1|3.5|1.4|0.2| 0| +| 2|4.9|3.0|1.4|0.2| 0| +| 3|4.7|3.2|1.3|0.2| 0| +| 4|4.6|3.1|1.5|0.2| 0| +| 5|5.0|3.6|1.4|0.2| 0| +| 6|5.4|3.9|1.7|0.4| 1| +| 7|4.6|3.4|1.4|0.3| 0| +| 8|5.0|3.4|1.5|0.2| 0| +| 9|4.4|2.9|1.4|0.2| 0| +| 10|4.9|3.1|1.5|0.1| 0| +| 11|5.4|3.7|1.5|0.2| 0| +| 12|4.8|3.4|1.6|0.2| 0| +| 13|4.8|3.0|1.4|0.1| 0| +| 14|4.3|3.0|1.1|0.1| 1| +| 15|5.8|4.0|1.2|0.2| 1| + +- 결과 데이터의 cluster column에서 각 data들이 할당된 cluster를 보여준다. +- K 값을 2로 설정하였으므로 위와 같이 2개의 cluster에 data들이 할당되는 것을 알 수 있다. +- parameter는 다음과 같이 설정하였다. +```scala +val eMClusteringInfo = + EMClusteringInfo.newBuilder() + .setKValue(2) + .setMaxIter(100) + .build +``` diff --git a/manual1903/operator/4.1.1.20.DecisionTreeInduct_manual.md b/manual1903/operator/4.1.1.20.DecisionTreeInduct_manual.md new file mode 100644 index 0000000000000000000000000000000000000000..f4102cc49ec02817caae038030b38f9be3487d6b --- /dev/null +++ b/manual1903/operator/4.1.1.20.DecisionTreeInduct_manual.md @@ -0,0 +1,87 @@ +--- +html: + toc: true + offline: true +export_on_save: + html: true +--- +# Decision Tree Induct Operator +--- +## Operator 설명 +- 한번에 하나씩의 설명변수를 사용하여 예측 가능한 규칙들의 집합을 생성하는 알고리즘이다. +- 입력한 데이터 중 DecisionTree의 결과를 토대로 주요한 column을 추출하는 기능이다. + +
                                                                              + + wikipedia,2018년8월20일,https://ko.wikipedia.org/wiki/결정_트리_학습법 + +- 위의 DecisionTree는 타이타닉호 탑승객의 생존 여부를 나타내는 DecisionTree이다. (“sibsp”는 탑승한 배우자와 자녀의 수를 의미한다.) leaf node 아래의 숫자는 각각 생존 확률과 탑승객이 그 leaf node에 해당될 확률을 의미한다. + +## Operator 파라미터 설명 +- labelName: 라벨 이름 (required) +- maxDepth: Tree node의 최대 깊이 (required) +- minInfoGain: Tree node를 분할 하기 위해 필요한 최소의 정보 획득(순도 증가/불순도 감소=정보획득) (required) +- maxBins: Tree 최대 Bin 개수 (required) +- cacheNodeIds: cache 노드 Ids (required) + - max depth의 값이 클 경우(deep trees) cacheNodeIds를 True로 설정하여 성능을 향상시킬 수 있다. +- checkpointInterval: 체크포인트 간격. Checkpoint interval(>= 1) or disable checkpoint(-1) (required) +- impurityType: 불순도 지표. Enum(GINI, ENTROPY) (required) + +## 작동 순서 +1. 입력 DataFrame의 유효성 검사를 진행한다. (Label Column) +2. 문자 칼럼을 숫자 칼럼으로 바꾸는 작업을 한다. (index_trasformers) +3. 모든 데이터를 Vectors로 변환 후 feature 칼럼으로 생성한다. (assembler) +4. labelIndexer에 라벨 이름을 설정한다. +5. Spark ml의 DecisionTreeClassifier 알고리즘을 설정한다. (Max Depth, gain, impurity 등) - dt +6. IndexToString을 사용하여 나온 예측 결과를 다시 문자로 변환한다. (labelConverter) +7. index_transformers, assembler, labelIndexer, dt, labelConverter를 stage로 설정한 후 Pipeline을 사용하여 모델링한다. +8. Dt를 DecisionTreeClassificationModel로 변환하여 featureImportances를 확인한다. +9. fetureImportances가 0이 아닐 경우에 출력 DataFrame에 포함 되어 생성한다. + +## Operator 모듈 테스트 결과 + +### 입력 데이터 +|play| outlook|temperature|humidity| wind| +:--:|:---:|:---:|:---:|:---:| +| no| sunny| 85| 85|false| +| no| sunny| 80| 90| true| +| yes|overcast| 83| 78|false| +| yes| rain| 70| 96|false| +| yes| rain| 68| 80|false| +| no| rain| 65| 70| true| +| yes|overcast| 64| 65| true| +| no| sunny| 72| 95|false| +| yes| sunny| 69| 70|false| +| yes| rain| 75| 80|false| +| yes| sunny| 75| 70| true| +| yes|overcast| 72| 90| true| +| yes|overcast| 81| 75|false| +| no| rain| 71| 80| true| + +### 결과 데이터 +|outlook|temperature|wind| +:--:|:---:|:--:| +|sunny| 85| false| +|sunny| 80| true| +|overcast| 83| false| +|rain| 70| false| +|rain| 68| false| +|rain| 65| true| +|overcast| 64| true| +|sunny| 72| false| +|sunny| 69| false| +|rain| 75| false| +|sunny| 75| true| +|overcast| 72| true| +|overcast| 81| false| +|rain| 71| true| + +- 구현된 DecisionTreeInduction은 칼럼의 중요도에 따라 결과물을 뽑아내게 된다. (중요도가 0인경우 제외) +- DecisionTree의 column 중요도는 다음과 같다. + +|featureImportances| +:--:| +outlook:0.495348837209302| +temperature:0.3052325581395349 | +wind:0.199418604651163 | +- 중요도를 추출한 결과 Outlook > Temperature > Wind 순서이고 나머지 속성 column은 중요도가 0이므로 결과 DataFrame에 출력이 되지 않았다. diff --git a/manual1903/operator/4.1.1.21.Filter_manual.md b/manual1903/operator/4.1.1.21.Filter_manual.md new file mode 100644 index 0000000000000000000000000000000000000000..795ffc6afdf5986b9201a97bf1b8e008e8e75bb5 --- /dev/null +++ b/manual1903/operator/4.1.1.21.Filter_manual.md @@ -0,0 +1,54 @@ +--- +html: + toc: true + offline: true +export_on_save: + html: true +--- +# Filter Operator +--- +## Operator 설명 +- 선택한 column에 대해 조건에 맞는 row를 선택하여 DataFrame을 생성한다. + +## Operator 파라미터 설명 +- columnName: 필터링 할 column 이름 (required) +- condition: row 선택 조건. Enum(EQUAL,LESS_THAN,LARGE_THAN,LESS_EQUAL,LARGE_EQUAL,EXIST,LIKE) (required) +- value: row를 선택할 때 비교의 기준이 되는 값(optional) +- pattern: DataFrame의 row에 문자열 값과 비교할 문자열 pattern (optional) +## Operator 모듈 테스트 결과 + +### 입력 데이터 + +|word| count| +:--:|:--:| +| I| 1| +| am| 1| +| so| 3| +| happy| 4| +| now| 2| +| are| 3| +| you| 2| +| happy| 6| +| now| 8| +| I| 1| +| I| 3| +| I| 5| + + +### 결과 데이터 + +|word| count| +:--:|:--:| +| I| 1| +| am| 1| +| I| 1| + +- 다음과 같이 parameter를 설정하였다. +```scala +val filterInfo = FilterInfo.newBuilder() + .setColName("count") + .setCondition(FilterInfo.Condition.EQUAL) + .setValue(1) + .build +``` +- count column에서 1과 같은 값을 갖고 있는 row들만 선택하여 DataFrame을 생성하였고 위와 같은 결과 DataFrame을 확인할 수 있다. diff --git a/manual1903/operator/4.1.1.22.FilterUsingSql_manual.md b/manual1903/operator/4.1.1.22.FilterUsingSql_manual.md new file mode 100644 index 0000000000000000000000000000000000000000..42c5cb7475513f2c73d4ea3992fd01671812289a --- /dev/null +++ b/manual1903/operator/4.1.1.22.FilterUsingSql_manual.md @@ -0,0 +1,48 @@ +--- +html: + toc: true + offline: true +export_on_save: + html: true +--- +# Filter Using Sql Operator +--- +## Operator 설명 +- SQL문을 이용하여 원하는 row 또는 column을 선택한 후 DataFrame을 생성한다. + +## Operator 파라미터 설명 +- selectedColumnId: 필터링 할 column ID (required) +- subParam: SQL을 사용하여 필터링 하는 option (repeated) +Ex: {"sql_where", "DATE_TIME < '2015_09_01_00_05' ORDER BY DATE_TIME"} + +|filed|value|설명| +|:---:|:---:|:---:| +|subParam.key| sql_where | 필터의 키값| +|subParam.value| DATE_TIME < '2015_09_01_00_05'ORDER BY DATE_TIME |필터의 조건| +## Operator 모듈 테스트 결과 + +### 입력 데이터 + +|id| name|city|state| zipcode| +:--:|:---:|:---:|:---:|:---:| +| 100| John Smith| Austin| TX|78727| +| 200| Joe Johnson| Dallas| TX|75201| +| 300| Bob Jone| Houston| TX|77028| +| 400| Andy Davis| San Antonio| TX|78227| +| 500| James William| Austin| TX|78727| + +### 결과 데이터 + + +| name|zipcode| +:--:|:--:| +| John Smith| 78727| +| Joe Johnson| 75201| +| Bob Jone| 77028| +| Andy Davis| 78227| +|James William| 78727| + +``` sql +SQL Query:SELECT name,zipcode FROM data_temp WHERE id <'1000' ORDER BY id +``` +- name, zipcode column에서 id <'1000'의 조건을 만족하는 값만 출력되었음을 확인할 수 있다. diff --git a/manual1903/operator/4.1.1.23.PCA_manual.md b/manual1903/operator/4.1.1.23.PCA_manual.md new file mode 100644 index 0000000000000000000000000000000000000000..5f10bcd77561cfd1eb87308e93671abdd57a9727 --- /dev/null +++ b/manual1903/operator/4.1.1.23.PCA_manual.md @@ -0,0 +1,59 @@ +--- +html: + toc: true + offline: true +export_on_save: + html: true +--- +# PCA Operator +--- +## Operator 설명 +- 데이터의 분산(variance)을 최대한 보존하면서 서로 직교하는 새 축을 찾아, 고차원 공간의 표본들을 선형 연관성이 없는 저차원 공간으로 변환하는 기법이다. + + + + + +## Operator 파라미터 설명 +- k_value: components의 개수 (required) +## Operator 모듈 테스트 결과 + +### 입력 데이터 +| data1| data2|data3| data4| +:---:|:---:|:---:|:---:| +|5.1|3.5|1.4| 0.2| +|4.9|3|1.4| 0.2| +|4.7|3.2|1.3|0.2| +|4.6|3.1|1.5|0.2| +|5|3.6|1.4|0.2| +|5.4|3.9|1.7|0.4| +|4.6|3.4|1.4|0.3| +|5|3.4|1.5|0.2| +|4.4|2.9|1.4|0.2| +|4.9|3.1|1.5|0.1| + +### 결과 데이터 + +|index| pc1| pc2| +:---:|:---:|:---:| +| 1| -0.286| 0.0469| +| 2| 0.2059| 0.2269| +| 3| 0.2126|-0.0547| +| 4| 0.3182|-0.0373| +| 5|-0.2908|-0.0879| +| 6|-0.8452|-0.0168| +| 7| 0.1082|-0.2691| +| 8|-0.1639| 0.0524| +| 9| 0.6116|-0.0619| +| 10|0.1292| 0.2017| + +- K값은 추출할 주성분 개수이고 K값을 2로 설정하였다. +- 입력 DataFrame의 data들을 새로운 축 pc1, pc2에 표현 함으로써 4차원에서 2차원으로 차원이 축소 되었음을 확인할 수 있다. +- parameter는 다음과 같이 설정하였다. + +```scala +val principalComponentAnalysisInfo = + PrincipalComponentAnalysisInfo.newBuilder() + .setKValue(2) + .build +``` diff --git a/manual1903/operator/4.1.1.24.RandomSampling_manual.md b/manual1903/operator/4.1.1.24.RandomSampling_manual.md new file mode 100644 index 0000000000000000000000000000000000000000..e1e6bc634be8a02f9a93328c10a2b6ebcd9bf9ad --- /dev/null +++ b/manual1903/operator/4.1.1.24.RandomSampling_manual.md @@ -0,0 +1,87 @@ +--- +html: + toc: true + offline: true +export_on_save: + html: true +--- +# Random Sampling Operator +--- +## Operator 설명 +- 입력 데이터를 분포도(fraction)만큼 무작위로 sampling을 하는 방법이다. +구현 알고리즘은 SSRWR와 SSRWOR가 있으며 Replacement에 따라 sampling을 중복으로 뽑힐지 설정할 수 있다. (withReplacement가 true 면 중복 sampling 가능하다.) + + + + + + + +## Operator 파라미터 설명 +- fractions: sample 사이즈 비율 (required) + - fraction 값이 1이면 결과 dataframe의 크기가 sampling 전 dataframe과 같다. +- withReplacement: 중복 데이터 포함 여부. True 이면 중복 데이터가 포함될 수 있고, False 이면 중복 데이터가 포함될 수 없다. +- seed: random seed 값 (optional) + + + + +## Operator 모듈 테스트 결과 + +### 입력 데이터 +| data1| data2|data3| data4| data5| +|:---:|:---:|:---:|:---:|:---:| +|91.5775| 81.572| 84| 73.2035| 79.5918| +|83.4467| 72.9477| 92| 60.6273| 75.1917| +|47.0239| 51.3076| 31| 25.807| 36.0382| +|69.9559| 61.0005| 76| 76.643| 71.2145| +|57.2462| 53.9258| 79| 65.2266| 66.0508| +|42.8488| 46.1728| 7| 31.9797| 28.3842| +|73.7949| 64.0751|98| 61.2696| 74.4483| +|22.4626| 31.7166| 6| 28.549| 22.0886| + + +### With Replacement 결과 데이터(withReplacement 값이 True) + +| data1| data2|data3| data4| data5| +|:---:|:---:|:---:|:---:|:---:| +|91.5775| 81.572| 84|73.2035|79.5918| +|69.9559|61.0005| 76| 76.643|71.2145| +|22.4626|31.7166| 6| 28.549|22.0886| +|22.4626|31.7166| 6| 28.549|22.0886| + +- fraction값은 0.5로 설정해 주었으므로 입력 DataFrame의 크기의 반인 결과 DataFrame을 얻을 수 있다. +- withReplacement 값이 True이므로 random sampling을 한 결과 중복된 값이 존재 함을 알 수 있다. +- parameter는 다음과 같이 설정하였다. + + +```scala +val sampleSimpleRandomInfo = SampleSimpleRandomInfo.newBuilder() + .setFraction(0.5) + .setWithReplacement(true) + .setSeed(7) + .build +``` + +### Without Replacement 결과 데이터(withReplacement 값이 False) + +| data1| data2|data3| data4| data5| +:---:|:---:|:---:|:---:|:---:| +|83.4467|72.9477| 92|60.6273|75.1917| +|47.0239|51.3076| 31| 25.807|36.0382| +|57.2462|53.9258| 79|65.2266|66.0508| +|42.8488|46.1728| 7|31.9797|28.3842| + + +- fraction값은 0.5로 설정해 주었으므로 입력 DataFrame의 크기의 반인 결과 DataFrame을 얻을 수 있다. +- withReplacement 값이 False이므로 random sampling을 한 결과 중복된 값이 존재하지 않음을 알 수 있다. +- parameter는 다음과 같이 설정하였다. + + +```scala +val sampleSimpleRandomInfo = SampleSimpleRandomInfo.newBuilder() + .setFraction(0.5) + .setWithReplacement(false) + .setSeed(7) + .build +``` diff --git a/manual1903/operator/4.1.1.25.StepwiseBackwardEliminate_manual.md b/manual1903/operator/4.1.1.25.StepwiseBackwardEliminate_manual.md new file mode 100644 index 0000000000000000000000000000000000000000..8f564732d999788ae3de93a61a936268d6f3a40b --- /dev/null +++ b/manual1903/operator/4.1.1.25.StepwiseBackwardEliminate_manual.md @@ -0,0 +1,56 @@ +--- +html: + toc: true + offline: true +export_on_save: + html: true +--- +# Stepwise Backward Eliminate Operator +--- +## Operator 설명 +- 모든 설명 변수를 고려한 모형에서 유의하지 않은 설명 변수를 하나씩 제거하는 방법이다. +Spark ml의 LinearRegeression을 사용하여 P-Value를 구하여 유의성 검증 하게 된다. 입력 받은 기준 P-Value보다 클 경우 적합하지 않은 칼럼으로 제거 처리하도록 구현하였다. + +## Operator 파라미터 설명 +- labelName: 라벨 이름 (required) +- pValue: 귀무가설이 맞다고 가정했을 때 해당 관측치와 그것보다 더 극단적인 관측치가 나올 확률 (required) + +##작동 순서 +1. 입력 DataFrame의 유효성 검사를 진행한다. (P-Value, Label Column, Numeric Column) +2. 가장 적합하지 않은 칼럼을 가져온 후 제거 한다. (LinearRegeression을 사용하여 P-Value 구함) +3. 2번 작업을 제거할 데이터가 없을 때까지 반복한다. +4. 출력 DataFrame을 생성한다. +## Operator 모듈 테스트 결과 + +### 입력 데이터 +|label|a1|a2|a3|a4|a5| +|:---:|:---:|:---:|:---:|:---:|:---:| +|88.01632464| 0.636574028| 8.442168148|2.116099574| 2.771867529| 8.448426549| +|138.7548543| 4.595454155| 4.388041662|4.926093835| 2.682403955| 8.617751819| +|38.28387155| 4.292060076| 0.861090232|9.15798394| 6.607498138| 4.084605081| +|82.14778398| 8.559949469| 3.856237673|1.0381353| 1.687798024| 2.8930632| +|33.79002054| 2.272320698| 1.834078721|6.300620501| 1.93796937| 2.069888374| +|7.38866956| 3.956280442| 0.34429275|4.337370526| 7.563450458| 8.591228627| +|191.4532705| 2.220060635| 7.843024669|6.462687043| 8.731893832| 9.28188111| +|15.34906002| 6.105141656| 1.074919676|1.162823303| 9.241172289| 7.23885872| +|97.40527838| 2.691071171| 3.571957641|7.805965771| 6.843146634| 3.053870888| +|111.4973958| 4.262579387| 7.369277727|0.820670523| 6.687792013| 3.976156809| + + +### 결과 데이터 + +|index| label| a2| +|:---:|:---:|:---:| +| 1|88.01632464|8.442168148| +| 2|138.7548543|4.388041662| +| 3|38.28387155|0.861090232| +| 4|82.14778398|3.856237673| +| 5|33.79002054|1.834078721| +| 6| 7.38866956| 0.34429275| +| 7|191.4532705|7.843024669| +| 8|15.34906002|1.074919676| +| 9|97.40527838|3.571957641| +| 10|111.4973958|7.369277727| + +- p-Value는 0.1로 설정하였다 (1%). +- Stepwise Backward Eliminate Operator는 모든 변수가 있는 상태에서 적합하지 않은 변수를 하나씩 하나씩 제거하는 것이다. 결과 DataFrame을 보면 a2 이외의 column들은 적합하지 않아 제거 되었음을 알 수 있다. diff --git a/manual1903/operator/4.1.1.26.StepwiseForwardSelect_manual.md b/manual1903/operator/4.1.1.26.StepwiseForwardSelect_manual.md new file mode 100644 index 0000000000000000000000000000000000000000..7e093535777ba6372817f98709e6dcfaa5a6ab9f --- /dev/null +++ b/manual1903/operator/4.1.1.26.StepwiseForwardSelect_manual.md @@ -0,0 +1,55 @@ +--- +html: + toc: true + offline: true +export_on_save: + html: true +--- +# Stepwise Forward Select Operator +--- +## Operator 설명 +- 고려된 설명변수 중 설명력이 가장 높고 설명력이 유의한 설명변수를 하나씩 선택하는 방법이다. +Spark ml의 LinearRegeression을 사용하여 P-Value를 구하여 유의성 검증 하게 된다. 입력 받은 기준 P-Value보다 작을 경우 적합한 칼럼으로 선택 처리하도록 구현하였다. + +## Operator 파라미터 설명 +- labelName: 라벨 이름 (required) +- pValue: 귀무가설이 맞다고 가정했을 때 해당 관측치와 그것보다 더 극단적인 관측치가 나올 확률 (required) +##작동 순서 +1. 입력 DataFrame의 유효성 검사를 진행한다. (P-Value, Label Column, Numeric Column) +2. 가장 적합한 칼럼을 추출한다. (LinearRegeression을 사용하여 P-Value 구함) +3. 적합한 칼럼을 포함하여 각 칼럼 별 다시 Regression을 하여 다음으로 적합한 칼럼을 찾아낸다. +4. 2~3번 과정을 적합한 데이터가 없을 때까지 반복하게 된다. +5. 출력 DataFrame을 생성한다. +## Operator 모듈 테스트 결과 + +### 입력 데이터 +|label|a1|a2|a3|a4|a5| +|:---:|:---:|:---:|:---:|:---:|:---:| +|88.01632464| 0.636574028| 8.442168148|2.116099574| 2.771867529| 8.448426549| +|138.7548543| 4.595454155| 4.388041662|4.926093835| 2.682403955| 8.617751819| +|38.28387155| 4.292060076| 0.861090232|9.15798394| 6.607498138| 4.084605081| +|82.14778398| 8.559949469| 3.856237673|1.0381353| 1.687798024| 2.8930632| +|33.79002054| 2.272320698| 1.834078721|6.300620501| 1.93796937| 2.069888374| +|7.38866956| 3.956280442| 0.34429275|4.337370526| 7.563450458| 8.591228627| +|191.4532705| 2.220060635| 7.843024669|6.462687043| 8.731893832| 9.28188111| +|15.34906002| 6.105141656| 1.074919676|1.162823303| 9.241172289| 7.23885872| +|97.40527838| 2.691071171| 3.571957641|7.805965771| 6.843146634| 3.053870888| +|111.4973958| 4.262579387| 7.369277727|0.820670523| 6.687792013| 3.976156809| + + +### 결과 데이터 + +|index| label| a2| +|:---:|:---:|:---:| +| 1|88.01632464|8.442168148| +| 2|138.7548543|4.388041662| +| 3|38.28387155|0.861090232| +| 4|82.14778398|3.856237673| +| 5|33.79002054|1.834078721| +| 6| 7.38866956| 0.34429275| +| 7|191.4532705|7.843024669| +| 8|15.34906002|1.074919676| +| 9|97.40527838|3.571957641| +| 10|111.4973958|7.369277727| +- p-Value는 0.1로 설정하였다(1%). +- Stepwise Forward Select Operator는 한개의 변수로 부터 시작을 하고 적합한 변수를 하나씩 선택해 나가는 것이다. 결과 DataFrame을 보면 a2 이외의 column들은 적합하지 않아 선택되지 않은 것을 알 수 있다. diff --git a/manual1903/operator/4.1.1.27.StratifiedSampling_manual.md b/manual1903/operator/4.1.1.27.StratifiedSampling_manual.md new file mode 100644 index 0000000000000000000000000000000000000000..032509d9ac3abad071816f4f79ebcd23b240d81d --- /dev/null +++ b/manual1903/operator/4.1.1.27.StratifiedSampling_manual.md @@ -0,0 +1,71 @@ +--- +html: + toc: true + offline: true +export_on_save: + html: true +--- +# Stratified Sampling Operator +--- +## Operator 설명 +- 모집단을 먼저 중복되지 않도록 층으로 나눈 다음 각 층에서 표본을 추출하는 방법이다. 층을 나눌 때 층내는 동질적, 층간은 이질적 특성을 가지도록 하면 적은 비용으로 더 정확한 추정을 할 수 있으며, 전체 모집단뿐만 아니라 각 층의 특성에 대한 추정도 할 수 있다는 장점이 있다. + + +      + + slideshare,2018년8월20일,https://www.slideshare.net/Newsjelly/1-50965379 +## Operator 파라미터 설명 +- selectedColumnId: 선택할 column ID (required) +- fractions: sample 사이즈 비율 (required) +- withReplacement: 중복 데이터 포함 여부 (required) +- seed: random seed 값 (optional) + +## 작동순서 +1. 입력 DataFrame의 유효성 검사를 진행한다. (fractionList, selected Columns) +2. Spark RDD의 keyBy로 분류 한 후 sampleByKey 내장 함수를 실행한다. +3. 출력 DataFrame을 생성한다. + +## Operator 모듈 테스트 결과 + +### 입력 데이터 + +|data1|data2| +|:---:|:---:| +| 1| a| +| 1| b| +| 2| c| +| 2| d| +| 2| e| +| 3| f| + + +### 결과 데이터 + +|data1|data2| +|:---:|:---:| +| 1| b| +| 2| c| +| 2| e| + +- (Key, value)는 (“1”, 0.1), (“2”, 0.6)으로 설정을 하였다. +`key: key 이름,value:비율` +- 1번 key는 0.1의 비율로 2번 key는 0.6의 비율로 설정을 하였기 때문에 위와 같은 결과 DataFrame을 얻을 수 있다. +- parameter는 다음과 같이 설정하였다. + +```scala +val sampleStratifiedInfo = SampleStratifiedInfo.newBuilder() + .setSelectedColumnId(0) + .addFractions( + FractionFieldEntry.newBuilder() + .setKey("1") + .setValue(0.1) + .build()) + .addFractions( + FractionFieldEntry.newBuilder() + .setKey("2") + .setValue(0.6) + .build()) + .setWithReplacement(false) + .setSeed(7) + .build +``` diff --git a/manual1903/operator/4.1.1.28.TimeWindowAggregate_manual.md b/manual1903/operator/4.1.1.28.TimeWindowAggregate_manual.md new file mode 100644 index 0000000000000000000000000000000000000000..77d8dbbede29afff86f4aef0be763f79076c4e13 --- /dev/null +++ b/manual1903/operator/4.1.1.28.TimeWindowAggregate_manual.md @@ -0,0 +1,11 @@ +--- +html: + toc: true + offline: true +export_on_save: + html: true +--- +# Time Window Aggregate Operator +--- +## Operator 설명 +- 원하는 column들에 대해 unix time stamp 정보를 이용하여 시간 정보에 따라 row를 aggregation 하여 새로운 DataFrame을 생성한다. diff --git a/manual1903/operator/4.1.1.29.Interpolate_manual.md b/manual1903/operator/4.1.1.29.Interpolate_manual.md new file mode 100644 index 0000000000000000000000000000000000000000..efacf93ff1e9c8cbaa9e66b8b5397011d26ab66b --- /dev/null +++ b/manual1903/operator/4.1.1.29.Interpolate_manual.md @@ -0,0 +1,70 @@ +--- +html: + toc: true + offline: true +export_on_save: + html: true +--- +# Interpolate Operator +--- +## Operator 설명 +- Interpolation(보간)이란 알려진 지점의 값 사이에 위치한 값을 알려진 값으로부터 추정하는 것을 말한다. + - LINEAR: 두 지점 사이의 값을 추정할 때 그 값을 두 지점과의 직선 거리에 따라 선형적으로 결정하는 방법이다. + - NEAREST: 가장 가까운 점의 값을 선택하는 방법이다. + - PREV_COPY: 이전 값을 선택하는 방법이다. + +
                                                                              + + 위키피디아,2018년8월20일,https://ko.wikipedia.org/wiki/선형_보간법 + +- 위의 그림과 같이 p1과 p2 사이에 있는 점 p의 값을 추정하기 위해 LINEAR, NEAREST, PREV_COPY 방법을 사용하여서 값을 결정할 수 있다. +## Operator 파라미터 설명 +- indexColumnName: 인덱스 column의 이름. (required) +- stepSize: 인덱스 범위 간격 (required) +- methodOption: Interpolation(보간) 방법. Enum(LINEAR, NEAREST, PREV_COPY)(required) +- keepColumnType: 원래의 column type을 유지할 것인지 아닌지를 결정. (optional) + Interpolation option 이후 column type은 double type으로 바뀐다. +## Operator 모듈 테스트 결과 + +### 입력 데이터 + +index|value1|value2|value3 +|:---:|:---:|:---:|:---:| +1|8|3|4.8| +2|6|5|1.2| +5|4|6|6.5| +7|4|4|7.8| +8|10|8|5| +10|8|6|9| +12|4|4|16| +15|5|5|5| +17|6|6|4.2| +20|7|7|8| + + +### 결과 데이터 +|index|value1|value2|value3| +|:---:|:---:|:---:|:---:| +1|8.0|3|4.8 +2|6.0|5|1.2 +3|6.0|5|1.2 +4|4.0|6|6.5 +5|4.0|6|6.5 +6|4.0|6|6.5 +7|4.0|4|7.8 +8|10.0|8|5.0 +9|10.0|8|5.0 +10|8.0|6|9.0 +11|8.0|6|9.0 +12|4.0|4|16.0 +13|4.0|4|16.0 +14|5.0|5|5.0 +15|5.0|5|5.0 +16|5.0|5|5.0 +17|6.0|6|4.2 +18|6.0|6|4.2 +19|7.0|7|8.0 +20|7.0|7|8.0 + +- 일정하지 않은 간격의 index를 갖고 있는 입력 데이터의 DataFrame이 Interpolation 후 일정한 간격의 index를 갖고 있는 DataFrame으로 출력됨을 확인할 수 있다. +- 존재하지 않던 index의 value들을 methodOption(LINEAR, NEAREST, PREV_COPY)을 설정하여 원하는 값으로 생성할 수 있다. diff --git a/manual1903/operator/4.1.1.3.EqualDepthBinning_manual.md b/manual1903/operator/4.1.1.3.EqualDepthBinning_manual.md new file mode 100644 index 0000000000000000000000000000000000000000..1bbb61c7cfc2562e9e1c780fa1518945d4bd3aa0 --- /dev/null +++ b/manual1903/operator/4.1.1.3.EqualDepthBinning_manual.md @@ -0,0 +1,71 @@ +--- +html: + toc: true + offline: true +export_on_save: + html: true +--- +# Equal-Depth-Binning Operator +--- +## Operator 설명 +- Equal-Depth-Binning Operator는 데이터를 bins의 개수만큼 그룹으로 나누고 각 그룹에는 대략적으로 동일한 수의 데이터들이 포함된다. + - Data:0, 4, 12, 16, 16, 18, 24, 26, 28이고 Bin의 개수가 3일 경우. + - Bin1: 0, 4, 12 [-,14] + Bin2: 16, 16, 18 [14,21] + Bin3: 24, 26, 28 [21,+] + +## Operator 파라미터 설명 +- selectedColumnId: Equal-depth-binning을 수행 할 column ID (repeated) +- numberOfBins: 생성할 Bins의 개수 (required) +- outputType: 출력할 타입. Enum(NEW_COLUMN, VALUE_CHANGE) (required) + +## 작동순서 +1. 입력 DataFrame의 유효성 검사를 진행한다. (Numeric Columns, Bins 유효성 검사) +2. 입력 DataFrame의 선택된 칼럼을 정렬한다. (asc) +3. Bins 안에 들어가야하는 이상적인 개수를 미리 설정한다. +4. Bins 구간을 설정한다. ((현재 데이터 – 이전데이터) / 2를 하여 구간 간격을 조율함) +5. 선택된 칼럼의 데이터를 범위 형태로 변환을 한다. +6. 출력 DataFrame을 생성한다. + +## Operator 모듈 테스트 결과 + +### 입력 데이터 + +|original_data|index| +|:--:|:---:| +| 0| 0| +| 4| 1| +| 12| 2| +| 16| 3| +| 16| 4| +| 18| 5| +| 24| 6| +| 26| 7| +| 28| 8| + + + +### 결과 데이터 + +|original_data| result| +|:---:|:---:|:---:| +| 0| range1[-Infinity-...| +| 4| range1[-Infinity-...| +| 12| range1[-Infinity-...| +| 16| range2[14.000000-...| +| 16| range2[14.000000-...| +| 18| range2[14.000000-...| +| 24| range3[21.000000-...| +| 26| range3[21.000000-...| +| 28| range3[21.000000-...| + +- 생성할 bins 수는 3개로 설정하였다. +- 결과 DataFrame에서 3개의 bins(range1,range2,range3)에 같은 개수의 data들이 할당 되었음을 알 수 있고 parameter는 다음과 같이 설정하였다. + +```scala +val equalDepthBinningInfo = EqualDepthBinningInfo.newBuilder() + .addSelectedColumnId(0) + .setNumberOfBins(3) + .setOutputType(OutputType.NEW_COLUMN) + .build +``` diff --git a/manual1903/operator/4.1.1.30.MinMaxScaling_manual.md b/manual1903/operator/4.1.1.30.MinMaxScaling_manual.md new file mode 100644 index 0000000000000000000000000000000000000000..e1b528424a1936f917a0e571a710572a78770b81 --- /dev/null +++ b/manual1903/operator/4.1.1.30.MinMaxScaling_manual.md @@ -0,0 +1,54 @@ +--- +html: + toc: true + offline: true +export_on_save: + html: true +--- +# Min Max Scaling Operator +--- +## Operator 설명 +- 최소/최대값을 기준으로 원하는 범위 내의 값으로 스케일링 한 후 새로운 DataFrame을 생성한다. +## Operator 파라미터 설명 +- selectedColumnId: 스케일링을 적용할 column ID (repeated) +- max: 스케일된 최댓값 (required) +- min: 스케일된 최솟값 (required) +- withMinMaxRange: 실제 최소, 최댓값 사용 여부 (required) +- maxRealValue: 실제 데이터의 최댓값 (optional) +- minRealValue: 실제 데이터의 최솟값 (optional) +## Operator 모듈 테스트 결과 + +### 입력 데이터 + +PRCS_YEAR|PRCS_MON|PRCS_DAY|PRCS_HH|PRCS_MIN|LINK_ID|PRCS_SPD +|:---:|:---:|:---:|:---:|:---:|:---:|:---:| +|2015|09|01|00|00|1000000100|**1.0**| +|2015|09|01|00|00|1000000200|**2.0**| +|2015|09|01|00|00|1000000300|**3.0**| +|2015|09|01|00|00|1000000400|**4.0**| +|2015|09|01|00|00|1000000500|**5.0**| + +### 결과 데이터 + +PRCS_YEAR|PRCS_MON|PRCS_DAY|PRCS_HH|PRCS_MIN|LINK_ID|PRCS_SPD| +|:---:|:---:|:---:|:---:|:---:|:---:|:---:| +|2015|09|01|00|00|1000000100|**-1.0**| +|2015|09|01|00|00|1000000200|**-0.5**| +|2015|09|01|00|00|1000000300|**0.0**| +|2015|09|01|00|00|1000000400|**0.5**| +|2015|09|01|00|00|1000000500|**1.0**| + +- 최솟값은 -1 최댓값은 1로 설정을 하였다. +- 결과 DataFrame의 PRCS_SPD column을 보면 최소 -1부터 최대 1까지 scaling이 된 것을 확인할 수 있다. +- parameter는 다음과 같이 설정하였다. + +```scala +val maxMinScalingInfo = MinMaxScalingInfo.newBuilder() + .addSelectedColumnId(0) + .setMax("1") + .setMin("-1") + .setMaxRealValue("1") + .setMinRealValue("-1") + .setWithMinMaxRange(false) + .build +``` diff --git a/manual1903/operator/4.1.1.31.NullReplace_manual.md b/manual1903/operator/4.1.1.31.NullReplace_manual.md new file mode 100644 index 0000000000000000000000000000000000000000..a98a75409060c87acd10d9dbd10198f9ad80b3a7 --- /dev/null +++ b/manual1903/operator/4.1.1.31.NullReplace_manual.md @@ -0,0 +1,14 @@ +--- +html: + toc: true + offline: true +export_on_save: + html: true +--- +# Null Replace Operator +--- +## Operator 설명 +- 빈 문자열 및 0값을 null 값으로 대체하는 연산자입니다. +## Operator 파라미터 설명 +- EmpytStringAsNullReplace: 빈 문자열을 null 값으로 바꿀지 여부를 지정하는 매개 변수(required) +- ZeroAsNullReplace: 0값을 null 값으로 바꿀지 여부를 지정하는 매개 변수(required) diff --git a/manual1903/operator/4.1.1.32.OneHotEncoding_manual.md b/manual1903/operator/4.1.1.32.OneHotEncoding_manual.md new file mode 100644 index 0000000000000000000000000000000000000000..eb571d780190679ed6b2bfd7d2626159bff57c34 --- /dev/null +++ b/manual1903/operator/4.1.1.32.OneHotEncoding_manual.md @@ -0,0 +1,41 @@ + --- +html: + toc: true + offline: true +export_on_save: + html: true +--- +# One Hot Encoding Operator +--- +## Operator 설명 + - 문자형 데이터인 범주형 데이터를 기계가 인식할 수 있는 형태로 바꿔준다. 모든 범주형 변수를 정수인 1과 0의 이진형 벡터로 표시하며 범주형 변수를 열거하여 해당하지 않는 항목은 0으로 해당하는 항목은 1로 표시하는 것이다. + + + +## Operator 파라미터 설명 +- selectedColumnName: 선택할 column ID (required) +## Operator 모듈 테스트 결과 + +### 입력 데이터 + +|data1| data2| +|:---:|:---:| +| 0| apple| +| 1| banana| +| 2|coconut| +| 1| banana| +| 2|coconut| + + + +### 결과 데이터 + +|index|data1| data2|data2Index| data2Vec| +|:---:|:---:|:---:|:---:|:---:| +| 1| 0| apple| 2.0| (2,[],[])| +| 2| 1| banana| 0.0|(2,[0],[1.0])| +| 3| 2|coconut| 1.0|(2,[1],[1.0])| +| 4| 1| banana| 0.0|(2,[0],[1.0])| +| 5| 2|coconut| 1.0|(2,[1],[1.0])| + +- 보류 diff --git a/manual1903/operator/4.1.1.33.Pivot_manual.md b/manual1903/operator/4.1.1.33.Pivot_manual.md new file mode 100644 index 0000000000000000000000000000000000000000..651fc7c19bfeebb6334ab6e8b3134b5652064cd8 --- /dev/null +++ b/manual1903/operator/4.1.1.33.Pivot_manual.md @@ -0,0 +1,52 @@ +--- +html: + toc: true + offline: true +export_on_save: + html: true +--- +# Pivot Operator +--- +## Operator 설명 +- 특정 column의 row 값을 새로운 DataFrame의 column schema 값으로 하고, 원하는 column 및 value로 grouping 한 후 새로운 DataFrame을 생성한다. +## Operator 파라미터 설명 +- selectedColumnName: pivot을 적용할 column ID (required) +- groupByColumn: group by를 적용할 column ID (required) +- valueColumn: value로 사용할 column ID (required) +- method: 적용할 방법. Enum(AVG, SUM) (required) +## Operator 모듈 테스트 결과 + +### 입력 데이터 +PRCS_YEAR|PRCS_MON|PRCS_DAY|PRCS_HH|PRCS_MIN|LINK_ID|PRCS_SPD|DATE_TIME| +|:---:|:---:|:---:|:---:|:---:|:---:|:---:|:---:| +2015|09|01|00|00|1000000100|1.0|2015_09_01_00_00| +2015|09|01|00|00|1000000200|2.0|2015_09_01_00_00| +2015|09|01|00|00|1000000300|3.0|2015_09_01_00_00| +2015|09|01|00|00|1000000400|4.0|2015_09_01_00_00| +2015|09|01|00|00|1000000500|5.0|2015_09_01_00_00| +2015|09|01|00|00|1000000600|6.0|2015_09_01_00_00| +2015|09|01|00|00|1000000100|8.0|2015_09_01_00_05| +2015|09|01|00|00|1000000200|9.0|2015_09_01_00_05| +2015|09|01|00|00|1000000300|10.0|2015_09_01_00_05| +2015|09|01|00|05|1000000400|11.0|2015_09_01_00_05| +2015|09|01|00|05|1000000500|12.0|2015_09_01_00_05| +2015|09|01|00|05|1000000600|13.0|2015_09_01_00_05| + +### 결과 데이터 + +DATE_TIME|1000000100|1000000200|1000000300|1000000400|1000000500|1000000600 +|:---:|:---:|:---:|:---:|:---:|:---:|:---:|:---:| +2015_09_01_00_00|1.0|2.0|3.0|4.0|5.0|6.0| +2015_09_01_00_05|8.0|9.0|10.0|11.0|12.0|13.0| + +- 다음과 같이 parameter를 설정 하였고 위와 같은 결과 DataFrame을 확인할 수 있다. +- pivot 하기위한 column:LINK_ID
                                                                              groupby 하기 위한 column:DATE_TIME
                                                                              value로 사용할 column:PRCS_SPD +```scala +val pivotInfo =PivotInfo.newBuilder() + .selectedColumnName(5)://pivot 하기 위한 column + .setgroupByColumn(7)://groupby 하기 위한 column + .setvalueColumn(6)://value로 사용할 column + .setMethod(PivotInfo.Method.AVG) + .build +} +``` diff --git a/manual1903/operator/4.1.1.34.ReshapeWithTimeWindow_manual.md b/manual1903/operator/4.1.1.34.ReshapeWithTimeWindow_manual.md new file mode 100644 index 0000000000000000000000000000000000000000..1127bc5b435fc83f4ee4f813d7e90cf80f59e9aa --- /dev/null +++ b/manual1903/operator/4.1.1.34.ReshapeWithTimeWindow_manual.md @@ -0,0 +1,13 @@ +--- +html: + toc: true + offline: true +export_on_save: + html: true +--- +# Reshape With Time Window Operator +--- +## Operator 설명 +- Operator that makes the time windowing rows by time window value parameter. +## Operator 파라미터 설명 +- timeWindowValue: Length of rows to be time-windowed (required) diff --git a/manual1903/operator/4.1.1.35.SelectWithTimeWindow_manual.md b/manual1903/operator/4.1.1.35.SelectWithTimeWindow_manual.md new file mode 100644 index 0000000000000000000000000000000000000000..0b40f85b9c0a4f3436ac55170a2f4515dcb713f7 --- /dev/null +++ b/manual1903/operator/4.1.1.35.SelectWithTimeWindow_manual.md @@ -0,0 +1,69 @@ +--- +html: + toc: true + offline: true +export_on_save: + html: true +--- +# Select With Time Window Operator +--- +## Operator 설명 +- Time window 값에 따라 DataFrame의 row를 선택하고 새로운 DataFrame으로 생성한다. +## Operator 파라미터 설명 +- timeWindowValue: 새로운 DataFrame의 row의 길이 (required) +## Operator 모듈 테스트 결과 + +### 입력 데이터 +| Link01| Link02| Link03| Link04| Link05| Link06| Link07| +:---:|:---:|:---:|:---:|:---:|:---:|:---:| +|-0.29473244147157185| -0.1463210702341137|-0.20819397993311034| -0.3093645484949833| -0.3841973244147157|-0.3511705685618729|-0.16471571906354512| +| -0.2683946488294314|-0.19983277591973245|-0.16555183946488294|-0.28260869565217395| -0.3883779264214047|-0.3319397993311036|-0.17307692307692307| +| -0.2880434782608695|-0.21864548494983277|-0.25668896321070234|-0.24916387959866218| -0.3850334448160535|-0.3704013377926421|-0.16931438127090298| +|-0.31312709030100333|-0.22157190635451504|-0.15802675585284282|-0.24080267558528426|-0.36831103678929766|-0.3837792642140468| -0.2274247491638796| +| -0.3152173913043478|-0.14214046822742474|-0.14841137123745818|-0.16053511705685614| -0.338628762541806| -0.346571906354515| -0.177257525083612| +| -0.2683946488294314|-0.19983277591973245|-0.16555183946488294|-0.28260869565217395| -0.3883779264214047| -0.3319397993311036|-0.17307692307692307| +| -0.2880434782608695|-0.21864548494983277|-0.25668896321070234|-0.24916387959866218| -0.3850334448160535| -0.3704013377926421|-0.16931438127090298| +|-0.31312709030100333|-0.22157190635451504|-0.15802675585284282|-0.24080267558528426|-0.36831103678929766| -0.3837792642140468| -0.2274247491638796| +|-0.3152173913043478|-0.14214046822742474|-0.14841137123745818|-0.16053511705685614| -0.338628762541806| -0.346571906354515| -0.177257525083612| +| -0.3110367892976588| -0.1906354515050167|-0.24958193979933108| -0.2541806020066889| -0.3595317725752508|-0.32984949832775917| -0.1496655518394649| +| -0.2880434782608695|-0.21864548494983277|-0.25668896321070234|-0.24916387959866218| -0.3850334448160535| -0.3704013377926421|-0.16931438127090298| +|-0.31312709030100333|-0.22157190635451504|-0.15802675585284282|-0.24080267558528426|-0.36831103678929766| -0.3837792642140468| -0.2274247491638796| +| -0.3152173913043478|-0.14214046822742474|-0.14841137123745818|-0.16053511705685614| -0.338628762541806| -0.346571906354515| -0.177257525083612| +| -0.3110367892976588| -0.1906354515050167|-0.24958193979933108| -0.2541806020066889| -0.3595317725752508|-0.32984949832775917| -0.1496655518394649| +|-0.24163879598662205|-0.20903010033444813|-0.08862876254180602| -0.2391304347826087| -0.3014214046822743|-0.24540133779264212|-0.06730769230769226| + + + +### 결과 데이터 +| Link01| Link02| Link03| Link04| Link05| Link06| Link07| +:---:|:---:|:---:|:---:|:---:|:---:|:---:| +|-0.29473244147157185| -0.1463210702341137|-0.20819397993311034| -0.3093645484949833| -0.3841973244147157|-0.3511705685618729|-0.16471571906354512| +| -0.2683946488294314|-0.19983277591973245|-0.16555183946488294|-0.28260869565217395| -0.3883779264214047|-0.3319397993311036|-0.17307692307692307| +| -0.2880434782608695|-0.21864548494983277|-0.25668896321070234|-0.24916387959866218| -0.3850334448160535|-0.3704013377926421|-0.16931438127090298| +|-0.31312709030100333|-0.22157190635451504|-0.15802675585284282|-0.24080267558528426|-0.36831103678929766|-0.3837792642140468| -0.2274247491638796| +| -0.3152173913043478|-0.14214046822742474|-0.14841137123745818|-0.16053511705685614| -0.338628762541806| -0.346571906354515| -0.177257525083612| + + +| Link01| Link02| Link03| Link04| Link05| Link06| Link07| +:---:|:---:|:---:|:---:|:---:|:---:|:---:| +| -0.2683946488294314|-0.19983277591973245|-0.16555183946488294|-0.28260869565217395| -0.3883779264214047| -0.3319397993311036|-0.17307692307692307| +| -0.2880434782608695|-0.21864548494983277|-0.25668896321070234|-0.24916387959866218| -0.3850334448160535| -0.3704013377926421|-0.16931438127090298| +|-0.31312709030100333|-0.22157190635451504|-0.15802675585284282|-0.24080267558528426|-0.36831103678929766| -0.3837792642140468| -0.2274247491638796| +|-0.3152173913043478|-0.14214046822742474|-0.14841137123745818|-0.16053511705685614| -0.338628762541806| -0.346571906354515| -0.177257525083612| +| -0.3110367892976588| -0.1906354515050167|-0.24958193979933108| -0.2541806020066889| -0.3595317725752508|-0.32984949832775917| -0.1496655518394649| + + +| Link01| Link02| Link03| Link04| Link05| Link06| Link07| +:---:|:---:|:---:|:---:|:---:|:---:|:---:| +| -0.2880434782608695|-0.21864548494983277|-0.25668896321070234|-0.24916387959866218| -0.3850334448160535| -0.3704013377926421|-0.16931438127090298| +|-0.31312709030100333|-0.22157190635451504|-0.15802675585284282|-0.24080267558528426|-0.36831103678929766| -0.3837792642140468| -0.2274247491638796| +| -0.3152173913043478|-0.14214046822742474|-0.14841137123745818|-0.16053511705685614| -0.338628762541806| -0.346571906354515| -0.177257525083612| +| -0.3110367892976588| -0.1906354515050167|-0.24958193979933108| -0.2541806020066889| -0.3595317725752508|-0.32984949832775917| -0.1496655518394649| +|-0.24163879598662205|-0.20903010033444813|-0.08862876254180602| -0.2391304347826087| -0.3014214046822743|-0.24540133779264212|-0.06730769230769226| + +```scala +val selectTimeWindowInfo = SelectTimeWindowRowsInfo.newBuilder() + .setTimeWindowValue(5) + .build() +``` +- 위와 같이 parameter를 설정해 주었고 결과 DataFrame들은 5개의 row를 가진 DataFrame들이 생성 되었음을 알 수 있다. diff --git a/manual1903/operator/4.1.1.36.TimeSynchronize_manual.md b/manual1903/operator/4.1.1.36.TimeSynchronize_manual.md new file mode 100644 index 0000000000000000000000000000000000000000..9842753a1676476bd1a2763aca70da3d55da7e5f --- /dev/null +++ b/manual1903/operator/4.1.1.36.TimeSynchronize_manual.md @@ -0,0 +1,22 @@ +--- +html: + toc: true + offline: true +export_on_save: + html: true +--- +# Time Synchronize Operator +--- +## Operator 설명 +두 개의 테이블 (입력 테이블과 파일에서 읽어들인 테이블)을 시간 간격을 동일하게 값을 보간하여 하나의 테이블로 결합한다. + +입력 테이블에 포함된 timestamp를 기준으로 파일에서 읽어들인 테이블과 시간을 동기화하여 하나의 테이블로 결합한다. 즉 두 개의 테이블 (입력테이블과 파일에서 읽어들인 테이블)을 일정한 시간 간격으로 값을 보간하여, 하나의 테이블로 결합한다. 파일에서 읽어들인 테이블에 시간 delay가 있을 경우 'hasTimeDelay'를 TRUE로 설정하여 시간을 조정할 수 있다. 즉, 'isAutoMode'를 TRUE로 설정하여 두 테이블의 첫번째 행의 시간을 동일하게 조정하거나, 'timeDelay' 값을 초 단위로 입력하여 조정할 수 있다. 보간방법은 3가지(LINEAR, NEAREST, PREV_COPY)를 제공하며 자세한 내용은 'interpolationInfo' 세부내용을 참고한다. 두 개의 테이블 (입력 테이블과 파일에서 읽어들인 테이블)을 시간 간격을 동일하게 값을 보간하여 하나의 테이블로 결합한다. + +## Operator 파라미터 설명 +- hasTimeDelay: 파일에서 읽어들인 테이블에 시간 delay가 있을 경우 TRUE로 설정한다. TRUE로 설정한 경우 'isAutoMode' 또는 'timeDelay' 값을 설정하여 시간을 조정한다. (required) +- isAutoMode: 두 테이블의 첫번째 행의 시간을 자동으로 동일하게 조정하고 싶을 경우 TRUE로 설정한다. (optional) +- timeDelay: 시간 delay를 수동으로 조정하고 싶을 경우 초 단위의 정수값을 입력한다. (optional) +- interpolationInfo: 입력테이블의 보간방법을 설정한다. 'indexColumnName'에 timestamp 칼럼 이름을 입력하고, 'stepSize'는 초 단위의 시간 간격을 입력한다. (required) +- isTimeStampColumn: 시간정보를 포함하는 칼럼의 타입이 timestamp인 경우에 TRUE로 설정한다. FALSE로 설정한 경우 'userTimeStampPattern'을 입력하여 timestamp 타입으로 변경하여야 한다. (required) +- userTimeStampPattern: 시간이 기록된 패턴을 입력한다. (optional) +- joinDataInfo: 파일에서 읽어들일 테이블의 파라미터를 설정한다. (required) diff --git a/manual1903/operator/4.1.1.37.Transpose_manual.md b/manual1903/operator/4.1.1.37.Transpose_manual.md new file mode 100644 index 0000000000000000000000000000000000000000..9eea9dcef50ea181fe82ba4e3de8aff785d3fbe2 --- /dev/null +++ b/manual1903/operator/4.1.1.37.Transpose_manual.md @@ -0,0 +1,36 @@ +--- +html: + toc: true + offline: true +export_on_save: + html: true +--- +# Transpose Operator +--- +## Operator 설명 +- column을 row와 전치하여 새로운 DataFrame을 생성한다. +## Operator 파라미터 설명 +- selectedColumnName: 전치할 column의 이름 (required) +## Operator 모듈 테스트 결과 + +### 입력 데이터 +Data1|Data2 +|:---:|:---:| +|1|11| +|2|12| +|3|13| +|4|14| +|5|15| +|6|16| +|7|17| +|8|18| +|9|19| +|10|20| + +### 결과 데이터 + +| 1| 2| 3| 4| 5| 6| 7| 8| 9| 10| +|:---:|:---:|:---:|:---:|:---:|:---:|:---:|:---:|:---:|:---:| +|11|12|13|14|15|16|17|18|19|20| + +- 입력 DataFrame의 column과 row가 전치된 결과 DataFrame을 확인할 수 있다. diff --git a/manual1903/operator/4.1.1.4.KMeans_manual.md b/manual1903/operator/4.1.1.4.KMeans_manual.md new file mode 100644 index 0000000000000000000000000000000000000000..ee4fd4f7524cff2cdfe9c46bcebd11c1a80912c1 --- /dev/null +++ b/manual1903/operator/4.1.1.4.KMeans_manual.md @@ -0,0 +1,67 @@ +--- +html: + toc: true + offline: true +export_on_save: + html: true +--- +# KMeans Operator +--- +## Operator 설명 +- n개의 data를 k개의 cluster로 나누는 것을 목적으로 하고 있다. +- 입력 데이터 집합의 각 데이터들과 k개의 cluster 중심점과의 거리를 각각 구하고 각 data는 가장 유사도가 높은 중심점에 각 데이터를 할당하게 된다.
                                                                              + +1. 입력 데이터 집합에서 K(3)개의 데이터를 임의로 추출하고 이 데이터를 각 cluster의 중심으로 설정한다. 입력 데이터 집합의 각 데이터 들과 k개의 cluster 중심점과의 거리를 각각 구하고, 가장 유사도가 높은 중심점에 각 데이터를 할당하게 된다. + +2. 모두 할당하였으면 cluster의 중심점을 다시 계산한다. + +3. cluster가 바뀌지 않을 때까지 반복적으로 거리계산 및 cluster 할당 작업을 수행을 하게 된다. +## Operator 파라미터 설명 +- k_value: cluster의 개수 (required) +- maxIterations: k-Means를 한번 수행할 때 수행되는 최대 반복 횟수. KMeans 시도 횟수 (required) +- maxRuns: 최적화된 임의 지점을 찾기 위한 시도 횟수 (optional) +- seed: random seed 값 (optional) + +## 작동순서 +1. 입력 DataFrame의 유효성 검사를 진행한다. (Numeric Columns) +2. DataFrame을 Vectors로 변환한다. +3. Spark ml의 KMeans 알고리즘을 실행한다. +4. 출력 DataFrame을 생성한다. + +## Operator 모듈 테스트 결과 + +### 입력 데이터 +|index| data1| data2| data3| data4| data5| +:--:|:---:|:---:|:---:|:---:|:--: +| 1|91.5775| 81.572| 84|73.2035|79.5918| +| 2|83.4467|72.9477| 92|60.6273|75.1917| +| 3|47.0239|51.3076| 31| 25.807|36.0382| +| 4|69.9559|61.0005| 76| 76.643|71.2145| +| 5|57.2462|53.9258| 79|65.2266|66.0508| +| 6|42.8488|46.1728| 7|31.9797|28.3842| +| 7|73.7949|64.0751| 98|61.2696|74.4483| +| 8|22.4626|31.7166| 6| 28.549|22.0886| + +### 결과 데이터 +|index| data1| data2| data3| data4| data5| CLUSTER| +:--:|:---:|:---:|:---:|:---:|:---:|:--: +| 1|91.5775| 81.572| 84|73.2035|79.5918| 0| +| 2|83.4467|72.9477| 92|60.6273|75.1917| 0| +| 3|47.0239|51.3076| 31| 25.807|36.0382| 1| +| 4|69.9559|61.0005| 76| 76.643|71.2145| 0| +| 5|57.2462|53.9258| 79|65.2266|66.0508| 0| +| 6|42.8488|46.1728| 7|31.9797|28.3842| 1| +| 7|73.7949|64.0751| 98|61.2696|74.4483| 0| +| 8|22.4626|31.7166| 6| 28.549|22.0886| 1| + +- 결과 데이터의 CLUSTER column에서 각 data들이 할당된 cluster를 보여준다. +- K 값을 2로 설정하였으므로 위와 같이 2개의 cluster에 data들이 할당되는 것을 알 수 있다. +- parameter는 다음과 같이 설정 하였다. +```scala +val kMeansInfo = KMeansInfo.newBuilder() + .setKValue(2) + .setMaxIterations(100) + .setMaxRuns(10) + .setSeed(7) + .build +``` diff --git a/manual1903/operator/4.1.1.5.KMedoids_manual.md b/manual1903/operator/4.1.1.5.KMedoids_manual.md new file mode 100644 index 0000000000000000000000000000000000000000..8003fa4bacb12bc63a27d7a74e6d51b9ff65794e --- /dev/null +++ b/manual1903/operator/4.1.1.5.KMedoids_manual.md @@ -0,0 +1,144 @@ +--- +html: + toc: true + offline: true +export_on_save: + html: true +--- +# KMedoids Operator +--- +## Operator 설명 +- n개의 data를 k개의 클러스터로 나누는 것을 목적으로 하고 있다. +- 임의의 medoid 개수(k개)를 지정한다. medoid가 아닌 다른 객체를 임의로 지정하여 본래의 medoid와 임이의 medoid 간의 총 cost를 비교하여 임이의 medoid의 cost가 작으면 medoid를 임이의 medoid로 교체해준다. + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
                                                                              Data objectDistance to
                                                                              IndexXic1= (3,4)c2= (7,4)
                                                                              1(2,6)37
                                                                              2(3,4)04
                                                                              3(3,8)48
                                                                              4(4,7)46
                                                                              5(6,2)53
                                                                              6(6,4)31
                                                                              7(7,3)51
                                                                              8(7,4)40
                                                                              9(8,5)62
                                                                              10(7,6)62
                                                                              Cost119
                                                                              +C1, C2와의 거리 계산 비용이다. X(2, 6)은 C1에 할당하게 된다. 즉 비용이 적으면 근접하다고 판단된다.(거리계산은 Manhattan 측정 방식 사용) + +## Operator 파라미터 설명 +- k_value: cluster의 개수 (required) +- maxIter: KMedoids를 한번 수행할 때 수행되는 최대 반복 횟수. KMedoids 시도 횟수 (required) +- seed: random seed 값 (optional) + +##작동 순서 +1. 입력 DataFrame의 유효성 검사를 진행한다. (K값, Numeric Columns) +2. 임의의 KMedoids 개수를 할당한다. +3. 총 거리 비용으로 메도이드를 결정한다. (거리계산은 Manhattan 측정 방식 사용) +4. 중심을 바꿔가며 계속 찾아나가 근접한 경우(비용이 적은) 메도이드를 변경해준다. +5. 최종 메도이드가 결정되면 메도이드를 중심으로 근접하는 클러스터를 할당한다. +6. 출력 DataFrame을 생성한다. +## Operator 모듈 테스트 결과 + +### 입력 데이터 +| data1| data2| +|:---:|:---:| +| 2| 6| +| 3| 4| +| 3| 8| +| 4| 7| +| 6| 2| +| 6| 4| +| 7| 3| +| 7| 4| +| 8| 5| +| 7| 6| + +### 결과 데이터 +|index| data1| data2| CLUSTER| +:--:|:---:|:---:|:---:| +| 1| 2| 6| 0| +| 2| 3| 4| 0| +| 3| 3| 8| 0| +| 4| 4| 7| 0| +| 5| 6| 2| 1| +| 6| 6| 4| 1| +| 7| 7| 3| 1| +| 8| 7| 4| 1| +| 9| 8| 5| 1| +| 10| 7| 6| 1| + +- 결과 데이터의 CLUSTER column에서 각 data들이 할당된 cluster를 보여준다. +- K 값을 2로 설정하였으므로 위와 같이 2개의 cluster에 data들이 할당되는 것을 알 수 있다. +- parameter는 다음과 같이 설정 하였다. +```scala +val kMedoidsInfo = KMedoidsInfo.newBuilder() + .setKValue(2) + .setMaxIter(100) + .setSeed(7) + .build +``` diff --git a/manual1903/operator/4.1.1.6.EqualWidthBinning_manual.md b/manual1903/operator/4.1.1.6.EqualWidthBinning_manual.md new file mode 100644 index 0000000000000000000000000000000000000000..cbb4a7fa7d306db90e5c9f45809252b59a01ecc0 --- /dev/null +++ b/manual1903/operator/4.1.1.6.EqualWidthBinning_manual.md @@ -0,0 +1,70 @@ +--- +html: + toc: true + offline: true +export_on_save: + html: true +--- +# Equal-Width-Binning Operator +--- +## Operator 설명 +- 동일한 범위의 Bins를 n개 만큼 생성하여 범위에 속하는 각 데이터를 범위형태로 표현하게 된다. +- Data:0, 4, 12, 16, 16, 18, 24, 26, 28이고 Bin의 개수가 3일 경우. + - Bin1: 0, 4 [-,10] + Bin2: 12, 16, 16, 18 [10,20] + Bin3: 24, 26, 28 [20,+] + +## Operator 파라미터 설명 +- selectedColumnId: Equal-width-binning을 수행 할 column ID (repeated) +- numberOfBins: 생성 할 bins의 개수 (required) +- outputType: 수행 후 출력할 타입. Enum(NEW_COLUMN, VALUE_CHANGE) (required) +##작동순서 +1. 입력 DataFrame의 유효성 검사를 진행한다. (Numeric Columns, Bins 유효성 검사) +2. Bins 구간을 설정한다. (Bins 간격을 구하는 방법은 해당 칼럼의 데이터의 (최대값 – 최소값) / Bins의 개수) +3. 선택된 칼럼의 데이터를 범위 형태로 변환을 한다. +4. 출력 DataFrame을 생성한다. + +## Operator 모듈 테스트 결과 + +### 입력 데이터 + +|original_data|index| +:--:|:---:| +| 2| 0| +| 3| 1| +| 4| 2| +| 5| 3| +| 6| 4| +| 7| 5| +| 8| 6| +| 9| 7| +| 10| 8| +| 12| 9| +| 14| 10| + +### 결과 데이터 + +|original_data| result| +|:---:|:---:|:---:| +| 2| range1[-Infinity-...| +| 3| range1[-Infinity-...| +| 4| range1[-Infinity-...| +| 5| range2[5.000000-8...| +| 6| range2[5.000000-8...| +| 7| range2[5.000000-8...| +| 8| range3[8.000000-11...| +| 9| range3[8.000000-11...| +| 10| range3[8.000000-11...| +| 12| range4[11.000000-...| +| 14| range4[11.000000-...| + +- 생성할 Bins 수를 4개로 설정하였다. +- 결과 DataFrame을 보면 동일한 크기의 4개의 bins(range1,range2,range3,range4)에 각 data들이 할당 되었음을 알 수 있고 parameter는 다음과 같이 설정하였다. + +```scala +val equalWidthBinningInfo = EqualWidthBinningInfo.newBuilder() + .addSelectedColumnId(0) + .setNumberOfBins(4) + .setOutputType(OutputType.NEW_COLUMN) + .build +``` diff --git a/manual1903/operator/4.1.1.7.LinearRegression_manual.md b/manual1903/operator/4.1.1.7.LinearRegression_manual.md new file mode 100644 index 0000000000000000000000000000000000000000..0d08837102e1f585cd7d473353d69f182f5b6a65 --- /dev/null +++ b/manual1903/operator/4.1.1.7.LinearRegression_manual.md @@ -0,0 +1,73 @@ +--- +html: + toc: true + offline: true +export_on_save: + html: true +--- +# Linear Regression Operator +--- +## Operator 설명 +- 종속 변수 Y와 하나 이상의 독립 변수 X와의 선형 상관 관계를 모델링하는 방법이다. +- 선형 회귀는 주어진 데이터를 대표하는 하나의 직선을 찾는 것인데 이 선을 함수로 표현하면 y=ax+b가 된다. a를 가중치(weight)라고 말한다. 알고리즘은 Spark ml의 LinearRegression 알고리즘을 사용하여 구현하였다. + + + + +## Operator 파라미터 설명 +- labelName: 라벨 이름 (required) +- regParam: Regularization parameter 설정 (>= 0) (required) +- elasticNetParam: ElasticNet 설정 (required) + - alpha = 0, L2 penalty (ridge penalty와 같다.) + - alpha = 1, L1 penalty (Lasso penalty와 같다.) + - alpha =0과1사이, L1 과 L2의 combination.(elastic net) +- maxIter: LinearRegression을 한번 수행할 때 수행되는 최대 반복 횟수. 최대 시도 횟수 (required) +- tolerance: convergence tolerance 설정 (required) +##작동 순서 +1. 입력 DataFrame의 유효성 검사를 진행한다. (Label column, Numeric Columns) +2. 입력 DataFrame 중 라벨 칼럼을 제외한 나머지 모든 칼럼을 Vectors로 변환하여 features 칼럼으로 만든다. +3. Spark ml의 LinearRegression 알고리즘을 사용한다. (가중치를 구한다.) +4. 출력 DataFrame을 생성한다. + + +## Operator 모듈 테스트 결과 + +### 입력 데이터 +|label|a1|a2|a3|a4|a5| +|:---:|:---:|:---:|:---:|:---:|:---:| +|88.01632464| 0.636574028| 8.442168148|2.116099574| 2.771867529| 8.448426549| +|138.7548543| 4.595454155| 4.388041662|4.926093835| 2.682403955| 8.617751819| +|38.28387155| 4.292060076| 0.861090232|9.15798394| 6.607498138| 4.084605081| +|82.14778398| 8.559949469| 3.856237673|1.0381353| 1.687798024| 2.8930632| +|33.79002054| 2.272320698| 1.834078721|6.300620501| 1.93796937| 2.069888374| +|7.38866956| 3.956280442| 0.34429275|4.337370526| 7.563450458| 8.591228627| +|191.4532705| 2.220060635| 7.843024669|6.462687043| 8.731893832| 9.28188111| +|15.34906002| 6.105141656| 1.074919676|1.162823303| 9.241172289| 7.23885872| +|97.40527838| 2.691071171| 3.571957641|7.805965771| 6.843146634| 3.053870888| +|111.4973958| 4.262579387| 7.369277727|0.820670523| 6.687792013| 3.976156809| + + +### 결과 데이터 + +|index|attribute|weight| +:--:|:---:|:---:| +| 1| a1| 14.876713421499904| +| 2| a2| 22.527385416531974| +| 3| a3| 13.075232570485753| +| 4| a4|0.06384440492653287| +| 5| a5| 4.089080128867606| + +- LinearRegression은 supervised learning이므로 label이 학습 data로 사용된다. label은 y=wx+b에서 y값으로 사용된다. +- 주어진 data들로 학습한 후 각 column(a1~a5)에 대한 weight 값을 얻을 수 있고 원하는 선형모델을 얻을 수 있다. +- parameter 설정은 다음과 같다. + +```scala +val linearRegressionInfo = + LinearRegressionInfo.newBuilder() + .setLabelName("label") + .setRegParam(0.0) + .setElasticNetParam(0.0) + .setMaxIter(100) + .setTolerance(0.05) + .build +``` diff --git a/manual1903/operator/4.1.1.8.AgglomerativeClustering_manual.md b/manual1903/operator/4.1.1.8.AgglomerativeClustering_manual.md new file mode 100644 index 0000000000000000000000000000000000000000..7166bb588680b72075290029c12ab69b3cc3507a --- /dev/null +++ b/manual1903/operator/4.1.1.8.AgglomerativeClustering_manual.md @@ -0,0 +1,73 @@ +--- +html: + toc: true + offline: true +export_on_save: + html: true +--- +# Agglomerative clustering Operator +--- +## Operator 설명 +- 계층적 트리 모양을 이용해 개별 개체들을 순차적, 계층적으로 유사한 개체 그룹과 통합하여 군집화를 수행하는 알고리즘이다.
                                                                              +1. 먼저 거리가 가장 가까운 것을 하나의 클러스터로 묶게 된다. + +2. 그 다음 또 다시 가장 가까운 것을 묶게 된다. + +3. 이런 식으로 모든 데이터가 하나로 묶을 때까지 반복 수행을 하게 된다. + + - 만약 2개의 클러스터로 나누고 싶다면 아래와 같이 할당하면 된다. + + - 거리계산 할 때의 사용된 방법에는 Single link, Complete link, Average link 방식을 사용하게 된다.
                                                                              +Single link 방식은 클러스터 간의 최소 거리로 측정하게 된다. + +Complete link 방식은 클러스터 간의 최대 거리로 측정하게 된다. + +Average link 방식은 모든 점과의 거리를 평균 내 측정하게 된다. + + +## Operator 파라미터 설명 +- numberOfClusters: cluster의 개수 (required) +- link: cluster 사이의 거리 측정 방식. Enum(SINGLE, COMPLETE, AVERAGE), (required) + +## 작동 순서 +1. 입력 DataFrame의 유효성 검사를 진행한다. (cluster 개수, Numeric Columns) +2. 변수 초기화를 한다. (remaining, clusterMap) +3. 가장 거리가 가까운 것을 시작위치로 설정한다. +4. 거리를 계산하여 근접한 cluster는 병합되어 하나의 cluster로 생성이 되어간다. +5. cluster의 개수가 맞을 때까지 반복진행을 한다. +6. 출력 DataFrame을 생성한다. +## Operator 모듈 테스트 결과 + +### 입력 데이터 +| data1| data2|data3| data4| data5| +|:---:|:---:|:---:|:---:|:---:| +|91.5775| 81.572| 84| 73.2035| 79.5918| +|83.4467| 72.9477| 92| 60.6273| 75.1917| +|47.0239| 51.3076| 31| 25.807| 36.0382| +|69.9559| 61.0005| 76| 76.643| 71.2145| +|57.2462| 53.9258| 79| 65.2266| 66.0508| +|42.8488| 46.1728| 7| 31.9797| 28.3842| +|73.7949| 64.0751|98| 61.2696| 74.4483| +|22.4626| 31.7166| 6| 28.549| 22.0886| + + +### 결과 데이터 +| data1| data2|data3| data4| data5|CLUSTER| +|:---:|:---:|:---:|:---:|:---:|:---:| +|91.5775| 81.572| 84| 73.2035| 79.5918|2| +|83.4467| 72.9477| 92| 60.6273| 75.1917|2| +|47.0239| 51.3076| 31| 25.807| 36.0382|0| +|69.9559| 61.0005| 76| 76.643| 71.2145|1| +|57.2462| 53.9258| 79| 65.2266| 66.0508|1| +|42.8488| 46.1728| 7| 31.9797| 28.3842|0| +|73.7949| 64.0751|98| 61.2696| 74.4483|2| +|22.4626| 31.7166| 6| 28.549| 22.0886|0| + +```scala +val agglomerativeClusteringInfo = AgglomerativeClusteringInfo.newBuilder() + .setNumberOfClusters(3) + .setLink(LinkType.SINGLE) + .build +``` +- 거리 측정 방식은 SINGLE 방식(cluster 간의 최소 거리로 측정)으로 설정하였다. +- numberOfClusters를 3개로 설정해 주었으므로 3개의 cluster(0,1,2)에 data들이 할당되었음을 알 수 있다. diff --git a/manual1903/operator/4.1.1.9.GeneralizedLinearRegression_manual.md b/manual1903/operator/4.1.1.9.GeneralizedLinearRegression_manual.md new file mode 100644 index 0000000000000000000000000000000000000000..69e08a019234ffc791f88de0cb53842261aaf9e5 --- /dev/null +++ b/manual1903/operator/4.1.1.9.GeneralizedLinearRegression_manual.md @@ -0,0 +1,73 @@ +--- +html: + toc: true + offline: true +export_on_save: + html: true +--- +# Generalized Linear Regression Operator +--- +## Operator 설명 +- 선형 모형(linear model)에서 종속변수 Y는 연속형 이어야 한다. 실제로는 드물지 않게 종속변수 Y가 이산형인 경우가 있고 연속형이지만 비음(nonnegative)인 경우가 있다. 이런 경우들에서는 선형모형이 적절하지 않으므로 대안 모형이 필요한데, 일차적으로 고려할 수 있는 것이 일반화 선형모형(generalized linear model)이다. +## Operator 파라미터 설명 + - familyType: 종속 변수의 분포에 따른 family 타입. Enum(GAUSSIAN, BINOMIAL, POISSON,GAMMA) (required) + - GAUSSIAN: 종속변수가 정규분포일 경우 사용한다. + - BINOMIAL: 종속변수가 이항분포일 경우 사용한다. + - POISSON: 종속변수가 포아송분포일 경우 사용한다. + - GAMMA: 종속변수가 감마분포일 경우 사용한다. + +|Family|Response Type|supported Links| +|:---:|:---:|:---:| +|GAUSSIAN | Continuous | Identity*, Log, Inverse| +|BINOMIAL| Binary| Logit*, Probit, CLogLog| +|POISSON | Count| Log*, Identity, Sqrt| +|GAMMA| Continuous | Inverse*, Idenity, Log| +` * Canonical Link` +- linkType: 링크 타입. Enum(IDENTITY, LOG,INVERSE, LOGIT, PROBIT, CLOGLOG, SQRT) (required) +- maxIter: GeneralizedLinearRegression을 한번 수행할 때 수행되는 최대 반복 횟수. 최대 시도 횟수 (required) +## 작동 순서 +1. 입력 DataFrame의 유효성 검사를 진행한다. (FamilyType, LinkType, Label/Numeric Columns) +2. 입력 DataFrame 중 라벨 칼럼을 제외한 나머지 모든 칼럼을 Vectors로 변환하여 features 칼럼으로 만든다. +3. Spark ml의 GeneralizedLinearRegression 알고리즘을 사용한다. (가중치를 구한다.) +4. 출력 DataFrame을 생성한다. +## Operator 모듈 테스트 결과 + +### 입력 데이터 +|label|a1|a2|a3|a4|a5| +|:---:|:---:|:---:|:---:|:---:|:---:| +|88.01632| 0.636574| 8.442168|2.1161| 2.771868| 8.448427| +|138.7549| 4.595454| 4.388042|4.926094| 2.682404| 8.617752| +|38.28387| 4.292060| 0.861090|9.15798| 6.607498| 4.084605| +|82.14778| 8.559949| 3.856238|1.0381| 1.687798| 2.893063| +|33.79002| 2.272321| 1.834079|6.300621| 1.937969| 2.069888| +|7.38867| 3.956280| 0.34429|4.337371| 7.56345| 8.591229| +|191.4533| 2.220061| 7.843025|6.462687| 8.731894| 9.281881| +|15.34906| 6.105142| 1.07492|1.162823| 9.241172| 7.238859| +|97.40528| 2.691071| 3.571958|7.805966| 6.843147| 3.053871| +|111.4974| 4.262579| 7.369278|0.820671| 6.687792| 3.976157| +|203.5744|1.363994|9.048509|8.860461|2.572681|1.537978| +|140.7668|6.226224|8.381173|0.351448|3.638945|6.233805| +|259.3807|9.811867|3.941721|5.304835|6.661132|7.118429| + +### 결과 데이터 + +|attribute|weight| +|:---:|:---:| +|a1 | 0.152851 | +|a2 | 0.210339| +|a3 | 0.126515 | +|a4 | 0.0137 | +|a5 | -1.38E-04| + +```scala +val generalizedlinearRegressionInfo = + GeneralizedLinearRegressionInfo.newBuilder() + .setLabelName("label") + .setFamilyType(FamilyType.GAUSSIAN) + .setLinkType(LinkType.LOG) + .setMaxIter(10) + .build +``` +- Generalized Linear Regression은 supervised learning이므로 label이 학습 data로 사용된다. +- 종속 변수의 분포를 고려하여 FamilyType은 gaussian으로 LinkType은 log로 설정하였다. +- 주어진 data들로 학습한 후 각 column(a1~a5)의 weight 값을 얻을 수 있고 원하는 모델을 얻을 수 있다. diff --git a/manual1903/postman.md b/manual1903/postman.md new file mode 100644 index 0000000000000000000000000000000000000000..7f86dbcc2535d41551b96d4ad18e9d813370271f --- /dev/null +++ b/manual1903/postman.md @@ -0,0 +1,104 @@ +--- +html: + toc: true + offline: true +export_on_save: + html: true +--- +# Postman 설치하기 +--- + +KSB 인공지능 프레임워크는 RESTful API를 통해 많은 인터페이스와 서비스를 제공하며, +이러한 기능을 확인하기 위해 Postman 이라는 RESTful 인터페이스 시험 도구를 사용합니다. + +## Postman 관련 정보 +- 다음 링크를 통해 자세한 요구사항 등을 확인할 수 있습니다. [Postman](https://www.getpostman.com/) + +## Postman 설치 하기 + +Postman 은 windows, mac, linux 환경을 모두 지원하며, +여기에서는 리눅스 환경에서의 설치 방법을 설명 합니다. + +설치는 다음과 같이 압축을 해제 하는 것으로 완료 됩니다. + +```sh +$ wget https://dl.pstmn.io/download/latest/linux64 -O postman.tar.gz + +$ sudo tar -xzf postman.tar.gz -C /opt + +$ sudo ln -s /opt/Postman/Postman /usr/bin/postman +``` + +Ubuntu 탐색기에서 검색 및 이용할 수 있도록 다음과 같은 명령을 실행 합니다. + +```sh +cat > ~/.local/share/applications/postman.desktop < + +이미지는 images 폴더를 만들어서 하위디렉토리로 추가합니다. +이미지 제목 또는 md 파일 제목에 공백이 들어가면 링크주소가 깨질수 있습니다. +공백을 사용하지 마세요. +이미지 이름은 앞에 목차번호를 넣고 사용자 마음대로 하세요. +2_2_2_1_test + +이미지에서 사각형 박스나 글을 추가할때는 빨간색으로 합니다. + + + +![워크플로우 완성 화면](./images/RealtimeIngestToServingWithKbInTwoEngines(2).png) +![test image](images/2_2_2_4_running.png) +![test image2](images/2_2_2_5_monitoring.png) + +## 링크를 거는 방법 +링크 주소는 http://csleoss.etri.re.kr:8088/images/contents/manual/html파일명 +입니다 + + +구체적인 사용 방법은 워크플로우 편집 상세 기능 보기를 참조한다. + + + +KSB 웹툴킷 상단의 **Monitoring** 메뉴를 클릭하여 진행내역/상태모니터링 화면으로 이동합니다. **Workflow** 탭에서 작성한 워크플로우가 실행 중 (Inprogress)인 것을 확인할 수 있습니다. 이 화면에서 실행 중인 워크플로우를 종료()하거나, 다시 실행()할 수 있습니다. + +## 편집툴은 Atom 을 사용합니다. +아래 패키지를 설치해 주세요. + +markdown-preview-enhanced, shd101wyy +markdown-writer, zhuochun +tool-bar-markdown-writer, zhuochun